SkillsC, C++, 8086 asm, bash, batch, a bit of JS, Java, GTK, FFTW, systemD, HTML, CSS, C#
Joined devRant on 10/30/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Well I tried and tried again but I can't.
For example, adding complex features that I thought that will take a long time to implement just end up being a simple solution or copy-paste... it works kind of thing.
On the other hand I have a simple customization option having me refactoring hundreds of lines because my original implementation of the function that I'm trying to add features to turns out to be limiting, shitty hack from the past™ or just it has been changed so fucking much that it doesn't work as intended.
anyways, tl:dr; don't be me for the love of god
I've spent two days trying to make a LED control system in my room (basically controlling lights in my room).
The thing consists of an Arduino, a Bluetooth module (which i'm going to rant about), bunch of transistors.... yada, yada... you know the drill.
after getting all the parts necessary I figured out that if the lights are powered by a 9V adapter, and the Arduino Uno can be powered by 9V aswell. Maybe the Nano could do too.... 5 minutes of research shows that I can, just use the Vin pin on the Arduino.
And so I did, I wired everything up (quadruple check if there aren't any undesired connections)
It worked (or so I thought).
But the bluetooth isn't showing up. (I wired it up on the 5V pin, which it says that you SHOULD)
But after dismantling the thing and using a resistance meter I found out that there is 0 Ohms between Vin and 5V.
Now I ended up with a dead component because of some lazy motherducker who works at Arduino.
God why do you hate me so much when I try to do something on my own.
I seriously have no idea who to blame here.8
waiting for validation only to fail on something dumb.......
1) reading the output log of linux compiling
2) fixing the errors (but missing something random i forgot)
3) compiling for 30min
4) goto step 1
or even like this:
1) write build script
2) test it out (that is wait 10min)
3) it works
4) git rebase
5) pull request
6) travis does its thing
7) travis also finds my dumbassery
8) goto step 1
Follow up to: https://devrant.com/rants/996820/...
tl;dr: I decided to switch from ext4 to f2fs on a encrypted volume on my phone, and since my sd card was internal storage as well.... It got destroyed (you can't simply decrypt RSA-2048 keys). All my files gone.
Turns out I didn't have the pictures backed up, and I have lost 4-6 years of photos and personal videos... Wow, am I a fucking retard.2
TIL that even a fucking virtual machine is not a good test environment.
I have glitches/artifacts that I don't have on a real machine.
Can someone care to explain this?
(am using VirtualBox because VMware sucks balls with my current setup)3
You know the E=mc^2 joke probably. (errors = more code^2)
For me it's more like: errors = messy code^2
If you have spare time please do yourself a favour and tidy your code because you may risk falling into a 6 hour debugging session. Like me....
Also related, what do you think of module based code?
As in splitting code into reusable chunks and what not.
Sure, they take more time to write. But copying and pasting the same code multiple times made my code fucking hard to maintain...
And also makes your code base smaller (up to 20%, atleast for me). Which is always good..5
Short story time.
3-4 years ago I was a script kiddie, I have to admit.
But when I looked back at this, I just notice more and more retardation that happened that day.
Was on a vacation in Greece. Returned one day from the beach, we all got sunburns and we decided to relax in our apartments.
But since the apartments were so near eachother, you could hear everything, I MEAN EVERYTHING. Some asshole neighbor decided to play some (in my taste) awful fucking music as loud as he can. And since we tried to make them quiet for a couple of minutes. And since we saw it was playing off of YouTube on a laptop from the balcony of the next apartment, I decided to do something, unusual.... (since I'm the IT guy)
Hack them using my phone that I just got, GENIUS! (this is before I knew Linux was a thing and that Backtrack/Kali existed)
So I search YouTube and I find this app, cSploit, that had pentesting tools and such. Natrually I install it.
> "We take no responsibility with what you do with this app..."
> FUCK YEA, I'VE GOT THIS.
> Try some exploits, but none work since we are on a different network, ends up disabling own network for a minute or two. (BECAUSE IT'S A DIFFERENT BUILDING DUMBASS)
> Learn what MITM and DoS attacks are.
> Try DoS-ing a access point.
> "Select network....."
> hehehehheheheh, I've got the power.
> ends up disabling networks from random people (they didn't notice though)
> found my target
> "No more shitty music for you!"
I was the hero that day.4
I may have an unpopular opinion, but I.......
fucking hate these universal programming languages that try too hard to make cross-platform bullshit easy to develop for. THEY PISS ME OFF SO MUCH...
Like, for example:
STOP FUCKING HAVING 2000 BILLION DEPENDENCIES, LIKE WRITE YOUR OWN ORIGINAL CODE AND TRY NOT TO FUCKING MAKE A MONOLITHIC FUCKING MONSTER OF A CODEBASE. I BET SOMEONE WROTE THE ENTIRETY OF GNU UTILS IN JS, WHAT THE FUCK?!
Yea, let's make a platform that everyone needs a fucking VM for. Sounds great. And also fuck OS GUI guidelines and make our own cancerous looking solaris shit UI, yay.
Microsoft: We will make a UNIVERSAL programming language like C++, but with some stuff from Java.
Microsoft: Universal under Windows platforms that is...
Me: go fuck yourself, you greedy cunt. Atleast Apple has the decency to make Objective-C work on non Apple software, unlike YOU. FUCKING CHEAP BASTARD.
I don't have much against it, but having pip seperate from the package manager on Linux (atleast) is annoying as fuck. And also compiling it into a executable would be "THE FEATURE" and not some 3rd party shitty solution that fucking breaks in a year or two.
Come to think of it, people SHOULD FUCKING STOP TRYING TO MAKE A NO-PORTING UTOPIA SOLUTION, BUT INSTEAD FOCUS ON MAKING IT EASIER TO PORT. A little "#define MYFUCKINGOS" wouldn't fucking hurt, you know. Because at the end if you run a VM, interpreter, have a shit ton of dependencies or just are a fucking monopolistic asshole, you're gonna piss off and divide people.
Image source: https://reddit.com/r/...25
TFW you add both Windows and macOS support in a single commit (200 LoC) on a previously Linux/BSD program.2
3D Pinball, MS Paint (the old one), Sim City 2000 and 4, NFS Most Wanted, Underground, HP2, Hamster ball, Worms Armageddon, FireFox (sub 10 versions), Adobe flash games, HQ YouTube (that never worked), HTML4, no JS crapware, 007 sound system - dreamscape, 10 year olds doing tutorials.....
And best of all a single MBit of internet speed.
Do I need to say more?3
I think @Alice would like Fuchsia OS since it's all pink and stuff.
So the Microsoft rage continues as I tell a story about my father, the company that he works for and that companies whole IT structure.
So my father is forced to use Windows because, get this (he hates W10 with a burning passion, like me).... Office and other crap. Cool cool
Seems like Libreoffice isn't enough for you.... YES IT FUCKING IS. MY DAD GAVE ME EXAMPLE DOCUMENTS FROM HIS WORK AND GUESS WHAT, THEY ALL OPEN WITHOUT A FUCKING PROBLEM. But OK, maybe not all employees are familiar with Libreoffice/Openoffice, JUST KIDDING THEY ARE SOME FUCKTARDS WHO WORK FOR THEIR COMPANY THAT DON'T KNOW HOW TO FILL OUT A FORM IN EXCEL (aka. PROBABLY NEVER USED AN COMPUTER IN THEIR LIFE/OFFICE SPACE AMNISH). Okay, some employees might be incapable, but their infrastructure might be alright.
IT RUNS ON MICROSOFT SQL AND DIVX (YES, FUCKING DIVX, CAUSE THAT MAKES SENSE) FROM..........2008.
At this point I just feel bad for them. Because there were no IT guys at the company (they didn't understand shit that I said half of the time). I've warned them that their infrastructure might have more holes than fucking swiss cheese. I see they value their data since the front door is a 60 kg one (that's 132 lb in retard units). And there's a 1.8 m fence around the building.
And they've told me that the parent company, which hosts the server also hosts for 100+ other companies around the world.
100+, you say. I'm legit scared for them right now.
So naturally, I've asked them if they have backups... they do, thank god.
But still they use 2008 shit in 2018 and expect it to be secure. Fun fact, logging into their server (which is an HTTP running on Windows Server...... 2008 (that hurts to say)) with a browser other than.... not Edge.... but IE, *drum roll* breaks it, since... it runs authetication dll's (YES FUCKING DLLS) on the host system. THOSE POOR MOTHERFUCKERS COULDN'T EVEN SETUP SERVER SIDE AUTHENTICATION. EVEN CHANGING THE PASSWORD REQUIRES A FUCKING SYSADMIN TO BE CONTACTED, OH YEA YOU CAN'T SINCE THERE ARE NONE.
GOOD DAY TO YOU <INSERT COMPANY>, SORRY BUT YOU'LL GET FUCKING OBLIRIATED IF SOMEBODY DECIDES TO HACK YOU.10
I WANT TO POKE OUT MICROSOFTS ASS WITH A FUCKING CHAINSAW. I DIDN'T EVEN DO ANYTHING AND IT KILLS MY FUCKING GRUB, WTF MICROSOFT.
EVERY TIME I BOOT MY PROPRIATERY SHITWARE SYSTEM IT FUCKS WITH MY EFIVARS AND MY EFI BOOTORDER.
So let's calm down for a minute and try to fix that issue:
Replace efivars? Nope, they get wiped.
Replace bootloader? ...nope
Replace bootx64.efi... nope, it gets restored to the M$ one.
Try to change the BCD... nope, permission denied (AS A FUCKING ADMIN)
And also I would like to mention that the event (sorry, I meant to call it "message") structure in WIN32 is a autistic fucking piece of shit that needs to die in a fucking fire. It requires.... IT'S OWN DAMN FUNCTION TO HANDLE INPUT. WTF IS THIS RETARDED FUCKING SHIT.... WHOEVER MADE lpfnWndProc IN WNDCLASS SHOULD DIE IN FUCKING HELL. WHY CAN'T I JUST FUCKING SDL_PollEvent() OR SOME SHIT LIKE THAT, WHAT THE HELL.
ALSO MinGW and VS guys: FUCK POSIX AMIRITE, LET'S MAKE YOUR PORTING EXPERIENCE HARD FOR YOU.
ALSO CygWin guys: FUCK DEBUGGERS AND MEMORY CHECK TOOLS, YOU'RE A FUCKING PUSSY IF YOU USE THEM. (I know there's gdb in the repos but it doesn't fucking work since "cygwin1.dll" makes a crash dump, which is just a fucking register dump you can't do shit with before gdb could track down the breakpoint)
ALSO CygWin: LETS MAKE PULSEAUDIO WORK WITH EVERYTHING EXCEPT YOUR AUDIO OUTPUT.
ALSO MICRO$OFT: LETS MAKE THE SUBSYSTEM APPS WORK ONLY IF YOU USED OUR STORE TO DOWNLOAD THE MULTIPLE GIGABYTE CHROOT JAIL.
Sorry guys, I saw too much retardation in the world of Windows. Not gonna use it anytime soon...22
Is it possible to make an app using WIN32, but it follows the real C syntax, not this Visual Studio bullshit. Porting stuff from Xlib to WIN32.
PS: It's not fucking easy.1
Decided C would be a good idea for a highly object orianted program. Now, I've paid my price, as will be described in the next sentence.
Memory corruptions/leaks, invalid read/writes, valgrind and gdb. Must be fun, isn't it.19
1) When I got to High School
2) When I was in a programming competition
3) When I was visiting a free presentation of random subject (my brother was presenting physics projects, that's why I got there)
Considering where I live, I never considered how lucky I was to find nerdy friends.
systemD bricking UEFI on Lenovo laptops.
The dark times have come....
There is no stopping to Poettering rule, he has full control.