Details
-
AboutDirector of IT, Twitch Streamer and Gamer
-
SkillsCSS3, JavaScript, HTML5, PHP, Phalcon, MySQL, Apache, SSH, Linux, Photoshop, Premiere Pro
-
LocationUnited States
Joined devRant on 3/8/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
-
I promised a friend to have a look over his dads website to add a small blog. No big deal, I've got it on my drive, can reuse it just need to adapt it to the environment.
I take a look at what I'm working with and I see the most terrifying piece of "Please, take my data" code I could possibly imagine (And I've seen passwords, in plain text in a script tag). I quote "function queryDB(mode, val) {
var query=" ";
if(mode==="findProd")
query="Select * from Products where ProdNam=" +val;
... (same shit for different cases)
sendQuery(query) ;
}
He literally built the query on the client side sent it to a php script (without validation) and inserted it into the database.
You could literally call window.sendQuery with any sql query and get the result printed into the console.
And other than the plain text passwords guy that wasn't some kid someone knew, this was a "Webdesign" Agency.
Now I took the entire thing offline, called my friends dad, explained it to him and try to sort this out. I would not charge a good friends father but that hack will get a quite hefty bill since my hourly rate just tripled.
And the worst thing : If I publicly name that asshole or warn the people in his portfolio I can, according to Google, be sued. (But, and I assume thats vague enough not to count as bad mouthing, if anyone of you has a customer from Rheinland-Pfalz, Germany with a preexisting page, please have a look at the database interface)
I will call that agency tomorrow, ask for a detailed explanation for why they apparently let trained monkeys write their code and anonymously warn everyone in their portfolio about those flaws...
I don't know if I'm cursed or if there are just that many bad devs but it seems that once a year I have to stumble over some "mistakes" that make me question my sanity.4 -
Actually just 2 hours ago my boss showed me his "hack" which solved a problem he worked on half of the day.
My eyes suddenly began to itch heavily and I felt a strong urge to quit immediately.
The problem was no big thing and we actually spoke about it at noon and I made a proposition how he could solve it.
Turns out he .... aaaaaahhhh I better do not mention it, as it may summon evil spirits... sorry.5 -
This new intern chose to write CSS instead of LESS/SASS even though I showed him how much time/lines of code were saved using LESS because he was "so used to it". Go ahead.. Enjoy writing 1 million lines of css to accomplish the same task.1
-
Okay. I understand that responsive emails are hard. But that's just nonsense... -.-'
Though I think it's my mail client's fault, bit still.6 -
Sweet mother of butts, I can't believe I forgot about the Windows XP media player. Seeing it again I can't believe it ever existed.6
-
Python rant
Where the hell is Break key?!
Story: I wrote multithreaded python script and went to Lab to test it. Script got stuck (one thread died) and I needed to stop that thing, but how without magic Ctrl+Break?
Damn you Dell with your slim and minimalistic keyboards!10 -
!rant
Microsoft is finally doing something right with Windows.
Coming soon: tabs in Explorer, tabs in Notepad, tabs in Command Prompt, TABS EVERYWHERE24 -
I just remember this short story:
When I was about 7 or 8 (around 1994), my dad had a computer at his office with MSDOS.
There I'd type "carmen.exe" and it would start "Where in the world is Carmen Sandiego?" or "pool.exe" would run a 2D Pool game I don't remember the exact name.
And yet, there was a "dolphin.exe" that I always thought it was a game but I never got it running. Obviously I don't remember what was the exact issue but to this day, 20+ years later it still bugs me to know what was this "dolphin.exe" program.4 -
I get through tough devDays like this:
1. Brew coffee more black than a serial killer's soul in the midst of the Gotthard Base Tunnel without electricity in the midnight during a solar eclipse.
2. Flush the blackness down the throat.
3. Load the Playlist: Mostly Death/Doom Metal
4. Put on over-ear headphones (the ones your coworkers can see from a distance telling them to fuck of with their questions).
5. Code through without pauses (except for releasing piss)
6. If you're paid by the hour: $$$profit$$$8 -
When the client wants an onclick menu, complete with animations and responsiveness, for a menu with only four items.2
-
!rant
I need help, I have a very small attention span and motivation in general, I only do stuff when under pressure. Does anyone have any tangible suggestion on how to improve that, generally but even more so in coding, I'm at the beginning still but I do have a learning appetite but I just can't get myself to do shit!
Share some of that super motivation and learning tips!
Thx!18 -
I use to work with a lot of people from all around the world, so i can say from the very first meeting if you are a good dev or not, and darn ! i hate the self confident devs who think they are the best, especially when they are junior !
I want to tell them : WAKE UP ! YOU ARE NOT THE ONLY ONE IN THE WORLD !!7 -
Totally fucking buying this and having a picture of the “(l)user of the week” or even “(l)user of the minute” on it.
—For the link click cautious, it’s a desk punching bag.
https://bluecrate.com/products/... -
As a frontend dev, i love watching our backend devs sometimes go like "hey come on it's just css I can do it real quick, let me do it this time" and get super frustrated with failure. Buddy, one of the reasons frontend is not so easy is that it can be real fucking annoying. I'm keeping my distance and respect for your side so stay the fuck away from my dance floor.7