Details
-
AboutI've left devRant once, now I'm back. Hobby dev, not doing that as a job. I'm currently working as media designer.
-
SkillsA little C++, more C#, Java, Kotlin and Python.
Joined devRant on 2/3/2018
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
-
Having to use BlueJ makes me want to jump off a bridge. :)
Stupid fucking editor tells me I have errors in my code, even though it compiles without problems using the Java command.1 -
There's this insurance chain in the US that says its goal is to save America $500 million, so for their ads they ask a bunch of kids what they'd do with $500 million. What they neglect to mention...14
-
aaAAaaAaaAaaAaAAAAAaAaaa floating points!
I debugged my algorithm for quite a while, wondering why it sometimes gives out "Circle(Point({1.7976931348623157E308,1.7976931348623157E308}),1.7976931348623157E308)" as the smallest circle around a group of points.
Figured out that it sometimes just never found any circle defined by two or three of the points which included all points (which is mathematically impossible).
Then finally I made it print out the points it thought were not inside the circle:
"1,7,8: Circle(Point({0.6636411126185259,0.535709780023259}),0.4985310690982777)
skip, 1 not inside"
So it defined the circle with 1 being on the edge, but then thought 1 was outside. Thank you, floating point Math.
For anyone wondering about the notation: That way I can directly copy/paste it into Geogebra to have a visualisation.7 -
When I was in 11th class, my school got a new setup for the school PCs. Instead of just resetting them every time they are shut down (to a state in which it contained a virus, great) and having shared files on a network drive (where everyone could delete anything), they used iServ. Apparently many schools started using that around that time, I heard many bad things about it, not only from my school.
Since school is sh*t and I had nothing better to do in computer class (they never taught us anything new anyway), I experimented with it. My main target was the storage limit. Logins on the school PCs were made with domain accounts, which also logged you in with the iServ account, then the user folder was synchronised with the iServ server. The storage limit there was given as 200MB or something of that order. To have some dummy files, I downloaded every program from portableapps.com, that was an easy way to get a lot of data without much manual effort. Then I copied that folder, which was located on the desktop, and pasted it onto the desktop. Then I took all of that and duplicated it again. And again and again and again... I watched the amount increate, 170MB, 180, 190, 200, I got a mail saying that my storage is full, 210, 220, 230, ... It just kept filling up with absolutely zero consequences.
At some point I started using the web interface to copy the files, which had even more interesting side effects: Apparently, while the server was copying huge amounts of files to itself, nobody in the entire iServ system could log in, neither on the web interface, nor on the PCs. But I didn't notice that at first, I thought just my account was busy and of course I didn't expect it to be this badly programmed that a single copy operation could lock the entire system. I was told later, but at that point the headmaster had already called in someone from the actual police, because they thought I had hacked into whatever. He basically said "don't do again pls" and left again. In the meantime, a teacher had told me to delete the files until a certain date, but he locked my account way earlier so that I couldn't even do it.
Btw, I now own a Minecraft account of which I can never change the security questions or reset the password, because the mail address doesn't exist anymore and I have no more contact to the person who gave it to me. I got that account as a price because I made the best program in a project week about Java, which greatly showed how much the computer classes helped the students learn programming: Of the ~20 students, only one other person actually had a program at the end of the challenge and it was something like hello world. I had translated a TI Basic program for approximating fractions from decimal numbers to Java.
The big irony about sending the police to me as the 1337_h4x0r: A classmate actually tried to hack into the server. He even managed to make it send a mail from someone else's account, as far as I know. And he found a way to put a file into any account, which he shortly considered to use to put a shutdown command into autostart. But of course, I must be the great hacker.3 -
People:
Hell yeah we need to DECENTRALIZE THE INTERNET
Same people:
*host their own project at aws*58 -
Does someone here have experience with "freelancing"? I heard about it and the little I was able to find sounded promising, but I have no idea where to start, if it's good, how to get more information, etc.5
-
WINDOWS!!! Why, just why would you think that choosing frigging "Enter" as the copy key in cmd was a good idea?!?
At least for pasting, Ctrl+Shift+V works, it just jumps through some menus first, for whatever reason. But Ctrl+Shift+C doesn't work.
In general, after using a Linux console a lot recently, everything about the Windows console seems stupid to me.11 -
Msvcr100.dll you sack of shit, how many different exes to repair the 2010 c++ redistributable do I have to try just so I can install some bloody software.
Windows 10 ,Microsoft pls1 -
RIP my laptop 2016-2018. This fucking shit just won't charge anymore. Battery holds, laptop works when I take out battery, but it just won't charge...I read somewhere that it is fucked up motherboard so if it is true, RIP lol.6
-
I just ran a batch rename script in the console. What's so bad about this? I forgot that I had closed the previous console, which caused Win+4 to open a new one at the default location. Which is my home folder.
"Desktop"? Nah, you mean "file4.png". "Downloads"? No, that's "file6.png". "rclonesync-V2-master"? That's "file19.png" now.
Luckily I was able to restore it all, except for one folder, containing unreadable files with names like "data_0". I hope I didn't need that. And luckily it skipped all hidden files and folders.3 -
Have defective supermicro server, but the ipmi is working and could tell me what's going on.
Only problem is, I don't have access to it since the last owner didn't provide it to me.
So I thought let's try metasploit.
Setup local network with a second server, connect to local* address.
"Welcome to intel integrated BMC web console"
What? Its a Supermicro, did the owner reflash the ipmi? What the heck.
Msf: scan adress ....
ipmi found bla bla bla.
Msf: zero cipher scan.
... Voulnerable to zero cipher.
Was pretty happy but the doubt kept creeping in.
On my WS that isn't connected to the ipmi of my server, I go to that ip address.
Bam
"Welcome to intel BMC ......"
MOTHERFUCKER.
What are the odds that some fucker has his ipmi open to the public on that exact same address that my board was configured to.
Well, actually pretty high I guess.
Fuck. Shit.
That didn't go as planned. -
Oh boy, my stuff got delivered. Can't wait to get home from school, too bad I still have 3 hours left...16
-
Good fucking job you stupid fucking nutjobs of representives!
Go suck on the music corporations tiny veiny dirty cock and choke to death!1 -
[technical problem]
"Please give more details, like OS, hardware, …"
"you see i'm working on pc."
Oh, alright, so I have to start at the very beginning... *starts explaining that more than one OS exists and that you can do different things with your computer*3 -
It has happened again. The EU has passed article 11 and 13 which has now doomed the internet for all EU Citizens.
After GDPR passed, tons of people became more aware that the EU parliament has that much control over everyday life things. Thus there was much more scrutiny over what else they may pass.
Despite expert testimony on why the articles are bad, they rejected all amendments and passed it as is.
It is no longer worth it to serve EU customers. I’m sorry guys, but I’m out.
https://kutt.it/Ngqg9u6 -
New forum post! "Here are some useful links:"
- useful link
- semi-useful link
- link to some random URL, hosting a PDF of the print view of a Wikipedia article, from 2007(???)5 -
It's interesting that the most capable developers I have met have a harder time getting a job than the incapable ones.
All things equal, but skill, it's annoying to see.6 -
every new smartphone these days seems to be like one of those scify movie aliens with weird eyes (dual camera lenses) .
I mean, pixel phones clearly shows that having a top-notch software for single camera is already at par with dual cam setups .
And yet huawei is slaying them all .
New huawei flagship phone : awesome specs , ai beautify , blah blah lens , blah blah block chain 16 mp AND "2MP " dual camera setup .
they are like yeah surely we give them dual cameras, but why bother because no one will read after the word "DUAL"
xD10 -
WHILE DOING SOME PROCESS, SOMETHING HAPPENED THAT INTERRUPTED MY PROCESS AND HAD ME EXPRESS AN EMOTION OF ANGER! DO YOU ALSO EXPERIENCE INTERRUPTIONS THAT CAUSE ANGER, FELLOW HUMANS?10
-
Well, I only worked with two designers so far. The first one was incredibly competent and a nice guy. The second one however...not so much.
He wanted me to change the background of his website to a specific pattern. It was a pattern that easily could have been used as repeated background.
So I asked for a single pattern in PNG format.
Guy refuses to give it to me and forces me to use a 4k image as background.
BOI WHAT
PAGESPEED LITERALLY RATES THE SITE 30/100 BECAUSE THE IMAGE TAKES SO FUCKING LONG TO LOAD
WHAT IS WRONG WITH YOU2 -
How have I not seen this in the "timezones" tag here yet? It sums up perfectly why timezones are absolute madness: https://youtube.com/watch/...
-
Now, I am very shy and introverted.
I have always been that way.
I really hate having to socialize.
I've recently forced myself to talk more to people and it seems to work pretty well.
I may still love my computer more, but slowly I am getting better.4 -
My new task: Improve performance of an archiving algorithm.
"We don't know what the cause of the performance issues is." I can tell you: Because it's overengineered bullshit! This is spaghetti inside spaghetti on top of spaghetti!
And it doesn't help that they don't want to know about different archiving algorithms, because I offered multiple alternatives, one 80% smaller than the other, but the other is 80% faster.
At least I'm instructed to throw it all away and rewrite it and not add even more to the garbage pile. I'm very happy about that. -
It's a good intention if you want to separate your code in logical units and split it into multiple methods, but could you please stop handing the control flow through about 20 methods before even really starting with the actual logic? This mess is 10 times as long as it needs to be, because someone decided to make everything go through 10 "validate one little thing" methods for every method with actual logic!
Edit: DevRant didn't allow me to post first, now I've analysed the code a bit more and the control flow actually goes out of a specialised class into a generalised class and back (not by returning, but by calling the specialised class from the general one) and the parameter that says what specialised class to call gets written into a class variable, then read from there and passed as a method argument, then back into another class variable, then the code changes it up a bit as a local variable, then passses it as a method parameter again... First it seemed like it knew what class to call using black magic, but no, it actually just hid the fact really well that it did in fact pass the class reference through in multiple forms from beginning to end.