Comment on: I translated a simple C program to x86_64 and it was slower
0 25 Apr 2020 03:44 u/scandalous-goat in v/programmingComment on: What do you all think of w3schools for learning Python?
Don't use w3school.
Comment on: Rust Actix Has Won The Internets!
The rust community is cancerous as hell, though.
Comment on: Yet another FUCK RICHARD STALLMAN rant, because that communist hijacker still isn't getting as much hate as it deserves!
Are you against making money from your skills? Why give the fruit of your labor for free so your replacements (pajeets, womyn) can pretend to be able to do what they're asked? That's technological marxism.
Comment on: Domino effect - only 10 lines of Python code [Blender 3d]
Put some friction on that surface. It looks odd how the bottom is sliding while the objects start falling.
Comment on: C/C++ inc/decrement operator style
I prefer x += 1 for an incrementation statement, as the intent is, IMO clearer. But I'm sure plenty would disagree with me.
I didn't compare the compiler's output for all three syntax, though.
Comment on: How to connect the programming to the artist work
Please 🐹
Comment on: How to connect the programming to the artist work
Please, add me to your copypasta. ❤️
Comment on: How to connect the programming to the artist work
You are going way too fast. It takes time to learn all of this. It may be quicker to teach you how to build a nuclear reactor.
Comment on: Showerthought: What if SJW-infested github is equally corrupt as reddit and secretly edits code repositories?
They are far more open about their progressive ideology and they feel no remorse banning stuff that they find problematic. In this case, I don't see why they'd need to edit code.
Comment on: How to archive a webpage properly?
Yes, rewrite the CSS as it can link to images and fonts.
For the JS, it can hide in a few places. Read about cross-site scripting to learn more about the issue.
Comment on: How to archive a webpage properly?
Not just CSS, but every resources linked from the HTML document, which includes images and potentially audio and video, if you want to archive them.
For javascript, it would be very hard to do as the code may use XHR, which you can't remove without breaking the code. AFAIK, most archiving service strip the Javascript.
Something more advanced could load the page in a headless "browser" on the server, let the JS run and then archive the result.
Comment on: [Poll] What's your favorite bit?
Success isn't Truth!
test $? -eq 0
The result of the expression is 1, thus True. It will return Success, 0.
Comment on: [Poll] What's your favorite bit?
1, because its presence brings you Truth.
Comment on: [Poll] Do you write hexadecimal numbers in upper- or lowercase?
Upper case, by habit. Also, uppercase letters are closer to the digits in the ASCII table (they're separated by seven symbols) so I feel that they belong together.
Comment on: A Slice of Python in C++
Yay! You may get cents of profits out of your spam in the long run.
Comment on: 10 Best Antivirus Protection your Computer of 2016
I see that. Not a single thought.
Comment on: 10 Best Antivirus Protection your Computer of 2016
techus.com is spam
Comment on: An Introduction to NativeScript
** SPAM **
Comment on: Top 5 Highest Paying Programming Languages of 2016
Burn in hell, spammers.
Comment on: Should this even be done? Please vote. · Issue #1 · mlpoll/machinematch
It's inevitable that's such tools will become available and be used by people who lack the ethics to use them. What can we say? I don't see any way to prevent the harm that will be done.
*sigh*
Comment on: [Why does my code work] I have created a parser in C and if I do not allocate and immediately free an array it breaks.
(Based on the value he gave in its post) First time c is assigned, its value is 48. Since US is 31 and RS is 30, it will go down to the else, line 43, which increments inputBufferLength. It will not call malloc with a size of 0.
Comment on: [Why does my code work] I have created a parser in C and if I do not allocate and immediately free an array it breaks.
No, it loops, while incrementing inputBufferLength, until it finds US and then allocate the memory. US is unit seperator, ASCII 31.
So why write a blog post about it?