Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes
0 06 Mar 2019 21:36 u/theoldguy in v/programmingComment on: Who says girls can't code?
Gatorade was so 2006.
Comment on: Who says girls can't code?
They'll be watering plants with Gatorade
Monster Energy Drink! Don't you know it's $(CURRENT_YEAR)?
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
persistent pattern of disrespectful communication towards other members of the community.
Respect has to be earned, not given out freely.
Comment on: 10 free tools for journalists to learn how to code
Logic is part of the patriarchy and white privilege.
Comment on: I could really use some C++ help.
The instructions clearly state that a employee salary of 0 is a terminator condition, so there's your exit.
Comment on: Infographic for choosing your first programming language
Let's see you fill in a string array with of the current directory listing with that and let me know how that goes.
Comment on: I just spent 12h in Delphi trying to fix fatal bug. At the end I had to check almost line per line until I removed a '\' character from a string.
Yeah, every few months I can't figure out why
for(int i = 0; i < numrecords; i++);
do_stuff();
doesn't work like I expect. That little finger reaches out and sticks in that semicolon by iteself
Comment on: Linux marketshare doubled since five years ago. From 1% (July 2011) to 2%, July 2016.
And TV's and smart phones and ...
Comment on: Corporate Cucks... and the Language Police who Protect and Serve Them.
Is this supposed to be object oriented or not?
Comment on: The 1.44MB FAT32 floppy disk
What? Windows took 6 or so disks.
Comment on: Is Software testing Necessity or Burden?
I only have to read a few articles this from time to time to keep the facepalm going. They try to spin it so the fails aren't terribly obvious, but that fails as well.
Ah, he deleted it.
Comment on: Is Software testing Necessity or Burden?
So you're a real person? And this is your first submission and post in a 27 minute old account? I'll keep an eye on you!
Comment on: Is Software testing Necessity or Burden?
What's it doing, getting page views for articlesbase?
Comment on: Is Software testing Necessity or Burden?
Seeing as how Microsoft has done so well without software testing, I'd say it's a burden.
Comment on: OpenSSH and the dangers of unused code
Last time I checked (5? years ago) compilers still bitched about syntax even if #defined out.
Comment on: Learn to Code. It's a LOT Harder Than You Think
I'd say programming (and math) are considered difficult by large numbers of people because the "if this, then that" paradigm has so many pitfalls in real life that they can't bring themselves to trust them in math and programming.
Comment on: Inside The Programming Evolution of GPU Computing
Really? I messed with it just a bit five years ago, and at least with Nvidia it was possible to code a binary blob to be uploaded to the video card at runtime, but it was discouraged because of compatibility reasons.
Comment on: Places to go learn assembly?
It makes a difference in speed once in awhile, too. For instance, last time I checked (maybe 8 years ago) the LOOP instruction only took one cycle on AMD but 18 or so cycles on Intel. And Intel is generally significantly faster with floating point.
Comment on: Would it be possible to compare the binaries of IE11 and "Edge" to figure out how much old IE code is in Edge?
All righty then! I demand you come to my house and clean the keyboard and blow my nose for making me laugh while taking a sip of beer!
Comment on: Excuses For Lazy Coders
Having played the Borland 4.0 C++ compiler that came out in a Sam's "Learn C++ in 21 Days" back in the '90's for about a year, I can assure you that specific compilers can be very buggy indeed.
Comment on: Would it be possible to compare the binaries of IE11 and "Edge" to figure out how much old IE code is in Edge?
So you've tried Edge, and can verify that it's not old and slow, or you're just taking MS's word for it?
Comment on: Machine Code Instructions
I'd like to add that the bits in the operand can often be considered as bitfields for which broad range of instructions to use.
For instance, it could easily be that all the "load accumulator" instructions must have the 6th bit set and 7th bit clear, with the remainder of the bits specifying whether it's a memory operand, another register or an immediate.
Comment on: Comparing C to machine language
only the first 4 parameters are passed on as register memories, the fifth is pushed onto the stack.
For the specific compiler, OS and 32 bit vs. 64 bit, that's probably true.
http://www.agner.org/optimize/calling_conventions.pdf
Comment on: KolibriOS Review Free 1 MB Drive/8MB RAM Assembly OS
I fiddled with it for about 3 hours before ragequitting over the weirdness of it all. MS-DOS seems much more functional to me, even without point-n-grunt GUI stuff.
Comment on: Github disables repository for using the word "retard."
So the "For Dummies..." series of books will be targeted soon?
Comment on: Jump Threading: a compiler optimization that turns conditional into unconditional branches on certain paths at the expense of code size
I think they're just talking about loop hoisting, written large.
Comment on: A very basic lossless audio codec using C
I don't see a license, but I'd assume it's free to use by anybody. If you represent a company that wants to "acquire" it, the rest of us assume you want to reserve it for the exclusive use of your company only. In other words, you want to profit off of his labor with no more effort than asking for it. He needs to put a GPL or perhaps a zlib license in there to prevent such asshattery.
Comment on: What are some programming jargon everyone should be aware of?
And to further expand on that, it helps reduce typos. For instance, using M_PI instead of the string 3.141592653589793238 will cause a compiler error if you somehow misspell M_PI. It also makes maintenance easier if the value of pi ever changes! /s
Comment on: What do you listen to while you write code?
Yeah, when I listen to music, I pay full attention to it and it alone, while the hairs on my arms stand at attention.
Comment on: Visual Studio 2015 Final Release - July 20th
Is there a downloadable ISO, or do you have to go through all the download nonsense every time Windows needs to be reinstalled?
Comment on: How to build DOS COM files with GCC
I'm pretty sure that no GCC actually produces a COM (COre iMage) file dating from the 8 bit CP/M days with 8008 cpus, although you can rename an exe file to COM and it'll work.
Comment on: Schneier: If we only use encryption when we're working with important data, then encryption signals that data's importance
I've thought about the possibility of people with bandwidth to spare to send each other binary blobs of intentionally random data for the NSA computers to chew on fruitlessly.
FTFY