Details
-
AboutI learn what I can
-
SkillsPython, Web Development, JavaScript, Linux
-
LocationEarth
-
Github
Joined devRant on 7/31/2019
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
-
A couple times a week my girlfriend tells me that she leaves work. She travels with a motorised vehicle for about 45 minutes. I am responsible of cooking food on those days. The food preparation takes around 7 minutes of cutting vegetables and the cooking takes around 20 minutes. the current time of reading the message is 17:17. She had send the message at 17:08. At what time should I start making food in order to be finished at the time she gets home?
I start to relate more and more to school math questions...
Maybe I should make an app for this or website to calculate automatically.5 -
Best. Fucking. Title.
If you open a PR with such title/description, please consider changing your profession11 -
Oops, i bought a new one - I dont really know what i wanna do with it - but it was on sale so 😅
#4GB-RAM15 -
Somehow I always feel like shit after a party. But not because of the alcohol. I'm not even drinking that much anymore. And it's not because of the party either. I mean it was fun, I got to talk for quite some time with long time friends, we all had a blast... For some reason I'm just sad. Actually not sad. I don't know how to describe it. Like I want to walk down the yellow lit streets of a city at night, alone with a beer in my hand. That sort of feeling. Being alone in an empty city just walking doing the streets. Maybe doing something stupid. I don't know 😔
just thought I'd share 😔5 -
Oh no AI can destroy hummanity in the future! It is like skynet and such... Bad! It will be the end! FEAR THE AI!
Yeah so i cant sleep now so im writting a rant about that.
What a load of bullshit.
AI is just a bunch of if elses, and im not joking, they might not be binary and some architectures of ML are more complex but in general they are a lot of little neurons that decide that to output depending on the input. Even humans work that way. It is complicated to analyse it yes. But it is not going to end humanity. Why? Because by itself it is useless. Just like human without arms and legs.
But but but... internet.... nukes... robots! Yeah... So maybe DONT FUCKING GIVE IT BLOODY WEAPONS?! Would you wire a fucking random number generator to a bomb? If you cant predict actions of a black box dont give it fucking influence over anything! This is why goverment isnt giving away nukes to everybody!
Also if you think that your skynet will take control of the internet remember how flawless our infrastructure is and how that infrastructure is so fast that it will be able to accomodate terabytes per second or more throughput needed by the AI to operate. If you connect it to the internet using USB 2.0 it wont be able to do anything bloody dangerous because it cant overcome laws of physics... If the connection isnt the issue just imagine the AI struggle to hack every possible server without knowing about those 1 000 000 errors and "features" that those servers were equiped with by their master programmers... We cant make them work propely yet alone modify them to do something sinister!
AI is a tool just like a nuclear power. You can use it safely but if you are a idiot then... No matter what is the technology you are going to fuck shit up.
Making a reactor that can go prompt critical? Giving AI weapons or controls over something important? Making nukes without proper antitamper measures? Building a chemical plant without the means to contain potential chemical leak? Just doing something stupid? Yeah that is the cause of the damage, not the technology itself.
And that is true for everything in life not only AI.5 -
Me: Making me work 17 hours without a 8 hour break is illegal.
Manager: You just sit at a damn desk all day and long shifts are required of IT
???????? Do you really think I just sit at my desk twaddling my thumbs?13 -
Saw this this morning lol. The best part is that it requires a knowledge of chess AND programming to get it.
Possibly a repost. I haven't been on DevRant in a while.6 -
!security
(Less a rant; more just annoyance)
The codebase at work has a public-facing admin login page. It isn't linked anywhere, so you must know the url to log in. It doesn't rate-limit you, or prevent attempts after `n` failures.
The passwords aren't stored in cleartext, thankfully. But reality isn't too much better: they're salted with an arbitrary string and MD5'd. The salt is pretty easy to guess. It's literally the company name + "Admin" 🙄
Admin passwords are also stored (hashed) in the seeds.rb file; fortunately on a private repo. (Depressingly, the database creds are stored in plain text in their own config file, but that's another project for another day.)
I'm going to rip out all of the authentication cruft and replace it with a proper bcrypt approach, temporary lockouts, rate limiting, and maybe with some clientside hashing, too, for added transport security.
But it's friday, so I must unfortunately wait. :<13 -
I just don't understand how people can be so careless with security. It's like every other fucking day you about 150 billion email address, SSNs, birth certificates, credit cards, private messages, you pet's medical records, and your personal DNA are fucking leaked and the best we got are "what street did you grow up on" to reset a password.2
-
To all the people who don't know how to yield when merging on the highway...
To all the people who ride my ass when I am trying to pass a slower moving vehicles...
To all the people who try to pass on the right when I am trying to move back into the right lane so I don't break other peoples windshields with rocks by providing enough space...
To all the people who tailgate, then pass me almost causing a head-on, then 200ft later slow down and make me wait for you to turn...
FUCK YOU!5 -
I had a manager who was a complete incompetent idiot (other than a fucking backstabber). He left the company ~3 weeks ago, yet I believe it would take 5 years to get rid of his legacy.
Today I discovered that one of his "genius ideas" led to the loss of months of data. This is already bad, but it's even more upsetting given that the records that have been lost are exactly the ones I needed to prove the validity of my project.
That fucking man keeps fucking with me even when he's not here, YOU DAMN ASSHOLE!!6 -
I hate buying new laptops. HATE IT. The manufacturers are always trying to do something that makes it more complicated to buy a laptop confidently.
Why not name all of the laptops with numbers? Make them really hard to differentiate. Then offer the same model number across multiple years so it is difficult to determine which year the laptop is from.
Oh. And let’s make sure every laptop has a major flaw in the form factor.
Let’a add a numpad that squishes the keyboard to the left in a weird way. Lets do something to the trackpad to make it awkward to use. Maybe the keyboard should have a weird configuration. Maybe we can put 4 spare characters of various colours on the symbol key caps. How about a battery only lasts a few hours. May we add specialized hardware so you are stuck with windows. Maybe we can make it super thick and heavy. Lets have a screen with terrible viewing angles. Since this laptop has no major flaws we should overprice it. No repairs or upgrades on this one because we filled the computer with glue. Lets double the amount of useless media keys.
It is like manufacturers are trying to design laptops like RPG game character classes. The fighter has no magic or stealth. The magician is weak and gets fatigued. The rogue is very stealthy but has poor defence and attack. The cleric can use magic but only to heal so it is useless in battle. The ranger is good at distance but has poor defence and no magic.
The only notebooks sold that are trying to make balanced character classes are MacBooks. Those cost a premium and aren’t reparable.17 -
*Writes email*
*Reads over email*
*Reads over a second time*
*Skims over one last time*
*Sends*
*Goes to outbox*
*Reads what I just sent*
"Hope I didn't miss anything"2 -
I freaking hate slow IDEs, especially ones made in Java.
I used to use an IDE/text editor called geany, and it was great, you could do almost every language in it and it worked great. It was fast, and efficient, it was a no-nonsense editor. That was when I was a kid, but I got in univ and got a job, so I had to start using big boy """""enterprise""""" IDEs like eclipse.
Eclipse, netbeans, and intellij (basically every Java based IDE except BlueJ) are exactly what is wrong with IDEs. They are clunky editors that frankly would be better off gone. They are slow, eat RAM like crazy (like most Java software). You just CANNOT have eclipse open for extended periods of time, because it WILL take up too much resources and get slow as heck. Android Studio (based on intellij) is a nightmare to work with. It just does not want to cooperate with you (I will agree they have improved a lot though).
I cannot believe I am saying this, but even the electron based IDEs like atom and code-oss are better than them. They are very easily expandable, something that Java was supposed to be, but is not. They have tons of plugins. Even if its not there, you can make one without having to spend a lifetime making the plugin! They look good. I never thought that going from IDEs with """""enterprise""""" UIs to something modern like code-oss would feel this great. Its ridiculous, I don't want to create a darn project for every single file that I want to edit, I just want syntax highlighting for a single .sh file that I want to edit right now. A project is just a way to logically define what is one "unit" or a "container for multiple files", you know what else is that? A simple directory.
Also I don't want 9 billion .xml files for the IDE to store its crap. Just make a .vscode like folder to hide your shit.11 -
You know what irks me is whenever people ask me how to do something without Googling it first.
Like ffs whenever I Google the same issue because I don't know the answer either, it's literally the first fucking result. Like damn bruh.
I don't mind helping people at all, but please at least try to be an adult and Google the fucking question first.13 -
If you want to go fast, work alone.
If you want to go far, work in team.
Fuck the team, I'm going fast.5 -
Devs regularly complain that our skills are not valued enough and that people think what we do is easy.
But, we don't really help the cause when we run around casually claiming to be "full stack" and not turning down work that clearly isn't in our area of competence.
We act more like Victorian amateur scientists.
Every seen a "full stack" doctor when you go to hospital? "Brain to feet---I can do it all."
OK, we have general practitioners, but they are really the BAs of the medical world. When it comes to getting into the weed, everyone specializes.
Full stack lawyer? "Hey, you did an excellent job of dealing with my house purchase. I've just been accused of murder. Can you represent me?"
While we continue to say that we can provide a high quality "full stack" experience I think we are signaling that this stuff *is* easy.19