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
I think I have a programming disease: Premature refactoring. Sometimes I refactor the refactor that I'm doing.1
Suppossing that you're a very capable professional my advice is to NOT UNDERESTIMATE YOU. There are a lot of crappy programmers that feels like an expert because they did a hello world.
Mac keyboard and mouse.
Fuck no right mouse button.
Fuck that prolapsed ass key. Why not ctrl or shift instead like any other system?23
-Dream with code.
-Compulsion to start coding every no profitable projects that I imagine.
-Buy a lot of programming books.
-Want to have the source code of my favorite DOS games.
-Hate business people.
-Love language wars like a viking.
-Hate every non programmers.
Am I the only person in this world that hate package managers?
I can live perfectly without any of them1
Some stupid assholes on my company have adquired the idiotic habit to call me to supervise some videoconferences using Skype, Hangouts or other fucking systems that i never heard about. I hate it because is a big fat waste of time.You don't need a engineer to handle your stupid password mismatch, your "why this is so slow? can you fix the internet". Or why the sound is so crappy or why don't you have a better microphone. This are your fucking computers, and your fucking calls. what the next? sending your emails? Wipe your asses? is not my fucking role.
Next time I will put your notebooks inside your assholes. Your crap will be better transmitted for sure.
In one of my previous jobs. There are some scripts programmed by people that seems to don't know what a function is. It was a fractal of replicated if else code. Every half of the code is almost identical to the other one except for a simple things. Then if you see each half you can see the same pattern again and so on. Files like that are about 50.000 lines long. If you blame it, you see mostly the usernames of current managers. If that is not enough, it was written in perl
boss: What the fuck guys! Why didn't you go to the meeting this morning? Have you checked your google calendar?
me: But, but it is scheduled to tomorrow, google calendar says that.
boss: Who put that date?
boss:And fo you double checked it?
me: What do you mean?
boss: Double check! Check if what is in the google calendar is correct!
me: But that doesn't make any sense.
boss: No excuses!! Next time you must double check!10
rant.author != this
Christ people. This is just sh*t.
The conflict I get is due to stupid new gcc header file crap. But what
makes me upset is that the crap is for completely bogus reasons.
This is the old code in net/ipv6/ip6_output.c:
mtu -= hlen + sizeof(struct frag_hdr);
and this is the new "improved" code that uses fancy stuff that wants
magical built-in compiler support and has silly wrapper functions for
when it doesn't exist:
if (overflow_usub(mtu, hlen + sizeof(struct frag_hdr), &mtu) ||
mtu <= 7)
and anybody who thinks that the above is
(b) efficient (even with the magical compiler support)
(c) particularly safe
is just incompetent and out to lunch.
The above code is sh*t, and it generates shit code. It looks bad, and
there's no reason for it.
The code could *easily* have been done with just a single and
understandable conditional, and the compiler would actually have
generated better code, and the code would look better and more
understandable. Why is this not
if (mtu < hlen + sizeof(struct frag_hdr) + 8)
mtu -= hlen + sizeof(struct frag_hdr);
which is the same number of lines, doesn't use crazy helper functions
that nobody knows what they do, and is much more obvious what it
I guarantee that the second more obvious version is easier to read and
understand. Does anybody really want to dispute this?
Really. Give me *one* reason why it was written in that idiotic way
with two different conditionals, and a shiny new nonstandard function
that wants particular compiler support to generate even half-way sane
code, and even then generates worse code? A shiny function that we
have never ever needed anywhere else, and that is just
And yes, you still could have overflow issues if the whole "hlen +
xyz" expression overflows, but quite frankly, the "overflow_usub()"
code had that too. So if you worry about that, then you damn well
didn't do the right thing to begin with.
So I really see no reason for this kind of complete idiotic crap.
Tell me why. Because I'm not pulling this kind of completely insane
stuff that generates conflicts at rc7 time, and that seems to have
absolutely no reason for being anm idiotic unreadable mess.
The code seems *designed* to use that new "overflow_usub()" code. It
seems to be an excuse to use that function.
And it's a f*cking bad excuse for that braindamage.
I'm sorry, but we don't add idiotic new interfaces like this for
idiotic new code like that.
Yes, yes, if this had stayed inside the network layer I would never
have noticed. But since I *did* notice, I really don't want to pull
this. In fact, I want to make it clear to *everybody* that code like
this is completely unacceptable. Anybody who thinks that code like
this is "safe" and "secure" because it uses fancy overflow detection
functions is so far out to lunch that it's not even funny. All this
kind of crap does is to make the code a unreadable mess with code that
no sane person will ever really understand what it actually does.
Get rid of it. And I don't *ever* want to see that shit again.
Other: I need a computer with a very good graphics card because I do a lot of powerpoint presentations and excel charts.
Me: Sure, go on!6
Do you have a spare usb phone cable?
I have but I'm using it to charge my phone
Do you have a spare laser pointer for my presentation?
Sorry, I don't
Do you have a spare mouse?
Sometimes things become a little weird
Do you have a spare keyboard?
No sorry. :/
Do you have a spare monitor?
Do you have a spare computer?
Do you have a spare mac?
Do you have two spare computers and one printer for each? Would be nice for the conference that we are going to hold tomorrow if someone need to print.
What's wrong with you people. I'm just a developer, not a fucking warehouse9
I hope computing heavens have:
-One brand of hardware
-No closed source software
-One monitor aspect ratio
-One fucking programming language with a fucking big standard library.
-Phones are just the same exactly the same OS as in computer, not stupid adaptations.
-All pages are only HTML/CSS, without JS.
-Due there is one browser and one OS, when you need a dynamic page, you can display a desktop app in the browser downloading its binary.
-There are one fucking brand on printer with standard drivers which are included in the OS.
We are so far from heaven16
//Just want to rant in my native language
lang = 'es';
Otro: Hola, no recuerdo la contraseña de la red, ¿me podrías decir cuál es?
Yo: No hay problema, la contraseña es 'PASS'.
Otro: Esa es la que recordaba pero no me ha funcionado.
Yo: Intenta nuevamente quizás te equivocaste en escribir una letra.
Otro: Lo intente nuevamente y sigue sin funcionar.
Yo: Ok, voy hacia allá.
Yo: Aquí estoy. Muestrame como estás ingresando a la red.
Otro: Bueno, selecciono la red de la empresa y aparece la ventana que me pide la contraseña. Acá pongo la contraseña y apreto enter.
Misteriosamente el computador se conecta a la red.
Otro: Juro que no funcionaba, lo había intentado miles de veces pero nada daba resultado.
Yo en mis pensamientos: Quizás tienes los dedos atrofiados tanto que te los metes en el culo3
vim: because best editor ever
tmux: split windows and copy/paste in console only systems like servers, although i use it on my pc also.
fossil: much better than git, easier to manage1
C++ standard commitee please give us compile time strings and reflection. Why are you taking so much time?9
I hate when some programmers say that goto should NEVER be used. It's clear that in common cases is not needed but there are situations where goto is the best solution10