Details
-
Skillsphp, python, bash, sysop
Joined devRant on 5/1/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
My first task in my current company, a few years ago.
I had to add features to a 10 year old microcontroller-based device written in C.
There was a struct named "global", which held hundreds of other structs that held variables or even more structs.
If one would have printed the structure of this mess it would haven needed several pages.
This "global"-struct was used in every single sourcefile to store and pass data around. Obviously there was no documentation and often useless comments.
Additionally there were a few protocol stacks involved, mainly similar, only differing in one or two protocol layers.
The implementation of the protocol stack was by setting flags in the "global"-struct in every protocol layer and having the application data in a buffer.
The complete telegram with all layer specific data (header, checksums, etc.) was then build at one single point right before sending it, based on the flags and the data buffer.
As there was no chance to reuse protocol layers with this implemenation. Three protocol implementations with special telegram builder existed in parallel, although they were nearly identical.
I needed a fourth variant of the protocol stack, so I had no chance but to make another copy with some minor changes.
But there was a benefit from this task.
As I had to do the software for the successor of this device from scratch I learned for many things how not to do them :-) -
TL;DR: If you make a contest where people get to vote online fucking make it right!
And here's the story: I play in a local coverband to make some cash on the side and because I love making music. We entered a contest hosted by a local radio-station. The first round was determined by judges and now 5 bands remain and of those 5 only 3 get to be voted into the final round. In the final round every bands wins something: 3rd place 250€, 2nd place 750€ and first place 5000€.
Now that stupid dipshit of a web-designer of that radio-station made a website where you can vote and it only fucking sets a cookie. You can delete it and vote again. You don't need no E-Mail and nothing. It doesn't even block multiple votes from one IP. It doesn't do shit.
Even my bandmates (who don't work in IT) where smart enough to figure out that you can just delete the cookies...
I think that now every band except for one is cheating. (we have over 5000 votes and combined all bands have like 4000 FB-Likes and sometimes and Band gets like 400 more votes in an hour) This is such a fucking messup and I don't know what to do. Maybe they'll look into stats but if they're so stupid to make a contest like this in the first place, maybe they won't. And even if they look into the stats it wouldn't be fair to kick out a band with much votes because how the fuck would they know if the band themselves cheated or if it was a fan of the band or even an enemy of the band just to get them kicked out.
I'm afraid of talking to the radio-station as a part of one band because maybe the web-designer there just gets frustrated and bans us from the contest entirely.
This is just fucking frustrating.undefined to cheat or not to cheat contest do it right or don't do it at all delete cookies so pissed.5 -
FUCK YOU SHITTY FUCKING DICK HEAD!!!.. I'M FUCKING TIRED OF YOUR FUCKING BULLSHIT ABOUT "YOU'RE A PROGRAMMER... YOU MUST KNOW HOW TO USE PHOTOSHOP!"... OR "SUCH A SHITTY PROGRAMMER YOU ARE... DON'T YOU KNOW HOW TO FIX MY COMPUTER"... OR "CAN YOU MAKE ME AN APP?... IT'S LIKE OTHER APP BUT BETTER, I CAN'T GIVE YOU MORE DETAILS BECAUSE IT'S CONFIDENCIAL, SO YOU GOT TO DO IT WHIT OUT KNOWING WHAT THE FUCK YOU HAVE TO DO"... GO TO FUCK YOURSELF WITH A TRUCK FULL OF DONKEYS FUCKING IDIOT!!!... STOP TALKING BULLSHIT AND GET AND FUCKING LIFE YOU ASSHOLE!!!... sorry about my english for those who read25
-
"XML is like violence – if it doesn’t solve your problems, you are not using enough of it." - Unknown3
-
I finally got a job at a tech company (although it's not a tech job) with a very good work/life balance.
Therefore, I plan on getting more serious about properly learning how to program in my spare time, also because, being a tech company, programmers are all over the place and are generally willing to talk about code.
I must say that while job hunting, devRant has been very useful to me since it allowed me to understand what kind of environment I'd like to work in. So far, the first few weeks of work have been great.
Ah, and the view from the office is unbeatable.7 -
I recently upgraded my computer to a ryzen 1700x and 16gb 3600mhz memory and an asus rog crosshair hero vi board(From an 8350)
My pc ran soo smooth, games even more so
The games ran great, but my personal performance went down.
I didn't understand why. Im probably just losing my edge.
I trained and tried. But still, it felt off.
Today I realized that with my new motherboard, I got a new mac address. And my friend is a bit of a neat freak with that stuff. He has a whole system for ip addresses.
So i told him, I wont have the correct ip address. Then he started laughing and asked my to browse to a certain site www.privateinternetaccess.com
There at the top it said: "you are protected by pia"
Devices without an ip address bound to their mac address, will automatically use the vpn according to his rules.
My ping improved by 10-15ms upon getting my normal ip address back and my game performance is back.3