AboutI have an unhealthy obsession with computers.
SkillsC. Python. Git. Emacs. Some Lisp. Bash. Linux.
Joined devRant on 3/17/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Yesterday was the first day of an "Advanced" C programming class. I looked at the first homework afterwards and saw this:
NEVER use 'assert'. Real programmers don't use assert in big software projects because it makes your code stop.
Who the... What... How... Why would you...
*sigh* it's going to be a long two months.5
"Why would you make your own when you can just get one for like $30 online?"
One of the single most disheartening things I've heard from a peer.
Seriously, are you really so incompetent and dependent upon other people's work that you can't even come up with a single reason why I would do this?! Don't you dare try to call yourself an engineer. Call yourself a cheat, cause that's the only way you passed that class.
Even after explaining that making it yourself is one of the best ways to learn about/understand it, they still couldn't understand.3
"WiFi is better than Ethernet because the air is bigger so it can hold more internet."
Yes, and horse-drawn carriages are better than cars because they have bigger wheels.13
Dear people who rant about people who rant about windows update,
Now I'm starting to see a lot of *your* rants in addition to the windows update rants. There may be a lot of the latter, but just think: at least they aren't just reposting memes from reddit, right?
I really hate when someone doesn't take the time to read through there rant and check for spelling/grammar errors. Like come on people it only takes like one minute too read back through you're rant and find al the mistake I dont underatan how this can be so hardd antyone with haf a brain could due it9
StackOverflow: let's marginalize your "problem" and focus on the real issue at hand, which is that line 4 doesn't conform to the language standards and thus will lead to undefined behavior on a single kind of 8-bit microcontroller made in 1984 that is no longer in use.5
I don't know what's causing this issue, but my money is on systemd.
All I want is to be able to use my desktop without it randomly forgetting the address of my DNS server. Is that too much to ask? None of the other machines on the LAN have this problem, just the one machine that I interact with most. But of course SOMETHING just had to not work right with that ONE machine.4
Getting a page to serve properly for the first time on a webserver I wrote. It's pretty basic, but it does exactly what I want: it only handles "GET".3
So if @dfox and @trogus are the devs who make devRant... And if they want to rant about dev stuff... Does that mean they could then rant about devRant on devRant?6
Am I the only one who will spend half an hour reading through the "top all-time rants" section of devRant to figure out why they're so popular? I just can't shake that feeling that there's some sort of pattern there that I can optimize...
Guess I must be a developer, given that last statement :D4
I hope devRant doesn't store ++ count as a signed 8-bit integer... Otherwise the next ++ this rant gets sets it to -128!2
When you accidentally run " rm -rf * " in the directory containing ALL you projects, not in the directory of a single project.
That's right. You just encountered THE DEATH STAR.9
Don't tell them to run "rm -rf /" as root. That's too nice. There might be inodes left on the hard drive.
MAKE IT WORSE:
"cat /dev/zero > /dev/sda" as root.
School interferes with programming, programming interferes with school... when will this vicious cycle end?5
- Played with and learned Scratch
- Learned some Python, made some weird little programs
- Learned C, using two good books: K&R C and Zed Shaw's "Learn C the Hard Way" (back when it was still in development and was free to read on the internet)
- Made LOTS of programs in C
- Came back to Python when I wanted to learn network programming
- Learned some Racket/Lisp, Bash scripting along the way
- Now I use all of the above, minus Scratch
Why must it be that school interferes with coding and coding interferes with school? I learn so much more outside school with computers these days, and it's so much more interesting!3
Algorithm: from the Greek "algos" (pain) and rhythmos (repetition), we derive the true meaning of this word: REPEATED PAIN.
That day before spring break starts, when no one is teaching you anything and you can just mess around on your laptop and code all day :D
If Apple computers have cores (in their processors), where are the seeds and stems?
Welp this sounds a lot more stupid after having typed it and read it, but I'm still posting it :D1
When I start a new project in Python after not doing Python for a while:
When I start in C:
After errors: *facepalm* *facepalm* *facepalm* "RRRRGH semicolon."
Heh at least this time I remembered that Python uses print(), not printf()...1
That time when you code up something really cool (to you, that is...) and none of your friends understand.
Me: "Look at this cool thing!"
Them: "Looks like a bunch of numbers."
Me: "But they mean foo, bar, and baz!"
When you see a Java devotee using Python and they're doing something like this:
array = [1, 2, 3, 4]
for n in range(0,len(array)):
At least I get to tell them "hey it doesn't have to be so hard just do it like this:"
array = [1, 2, 3, 4]
for n in array: