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
Search - "is this it?"
-
Not writing unit tests.
Everyone reading this is guilty of it.
Anyone who says otherwise is lying.23 -
Friend : This is our logo for the site you are building for us.
Me: Wtf!! This is just a picture with text on it, do you have copyright of this picture?
Friend : who cares, we found it on google and we liked it.
Me: It may create trouble later
Friend: nothing...Just us it, we don’t have $150 for logo design
Me:🧐
After few weeks
Friend: Hey best, we have problem with logo, there is this guy who keep emailing us about copyright, any advice
Me: you know the solution the $1501 -
THEY DID IT!!!! THEY FINALLY DID IT!!!!
GITHUB FINALLY ADDED THIS FUCKING BUTTON!!!
I CAN'T BELIEVE THIS IS HAPPENING 😱😱😱😱27 -
Gavin: "Christina, so how bad is this? Be honest. Is this windows Vista bad? It is not iPhone 4 bad, is it? Fuck, don't tell me this is Zune bad."
Christina: "Sorry Gavin. It is Apple Maps bad."12 -
Me: code quality is important
Everyone: <no shit given>
Director: code quality is important
Everyone: yes, it is very important, hurray!
Fast forward few weeks/months...
Me: why this function accepts 14 arguments?
ShitDev: yhm, you know, we need to fix it... maybe
Me: why this exception is swallowed?
ShitDev: oh, really? yhm, yhm
Me: why this function is copy-pasted and repeated (20 LoCs)?
ShitDev: yeah, true, but we wanted to make it fast.
Me: Dear director, this project sux and its quality is shit.
Director: you're exaggerating, it can't be that bad, it works, right?
Me: <polishing CV>
ShitDev: got praised for delivery14 -
Hey, Root? How do you test your slow query ticket, again? I didn't bother reading the giant green "Testing notes:" box on the ticket. Yeah, could you explain it while I don't bother to listen and talk over you? Thanks.
And later:
Hey Root. I'm the DBA. Could you explain exactly what you're doing in this ticket, because i can't understand it. What are these new columns? Where is the new query? What are you doing? And why? Oh, the ticket? Yeah, I didn't bother to read it. There was too much text filled with things like implementation details, query optimization findings, overall benchmarking results, the purpose of the new columns, and i just couldn't care enough to read any of that. Yeah, I also don't know how to find the query it's running now. Yep, have complete access to the console and DB and query log. Still can't figure it out.
And later:
Hey Root. We pulled your urgent fix ticket from the release. You know, the one that SysOps and Data and even execs have been demanding? The one you finished three months ago? Yep, the problem is still taking down production every week or so, but we just can't verify that your fix is good enough. Even though the changes are pretty minimal, you've said it's 8x faster, and provided benchmark findings, we just ... don't know how to get the query it's running out of the code. or how check the query logs to find it. So. we just don't know if it's good enough.
Also, we goofed up when deploying and the testing database is gone, so now we can't test it since there are no records. Nevermind that you provided snippets to remedy exactly scenario in the ticket description you wrote three months ago.
And later:
Hey Root: Why did you take so long on this ticket? It has sat for so long now that someone else filed a ticket for it, with investigation findings. You know it's bringing down production, and it's kind of urgent. Maybe you should have prioritized it more, or written up better notes. You really need to communicate better. This is why we can't trust you to get things out.
*twitchy smile*rant useless people you suck because we are incompetent what's a query log? it's all your fault this is super urgent let's defer it ticket notes too long; didn't read21 -
Just finished reading this gem from start to end. It is over 20 years old and it is crazy how it is still up to date and applicable. Great work.8
-
Updated my PC this morning, now it thinks I have 7 monitors (I have 3 and only 1 is working now). This is going to be a fun morning...9
-
This is not a joke. This is not something I wrote to be funny. This is not found randomly off the internet. This is a real part of the project I inherited: a function that not only is more cumbersome to use than the simple <Array>.contains that it wraps, but rather than returning the boolean result from the function, sends it through an if statement and returns hardcoded true and false values for... Good luck? I guess?47
-
This is getting infectious now.. It is spreading to human languages.. We have to do something real quick..56
-
Hide yo' wives and yo' onanism, the haxors are cumin... i mean, coming for you!
Found on Reddit :D10 -
This is a funny one:
I found this gem in SO.
Why is it funny? Well, PDVSA is the state-owned company for oil production of my country (Petróleos De Venezuela).
This little intern decided that it was a good idea to publish in SO an answer with actual code, showing database and tables names to everyone.
Priceless.8 -
Anyone know what this is?
Is it a bomb? (lol)
It was in front of one of the apartments i live in.24 -
Customer calls since they got problem x
C: Hey its xyz we got a problem
Me: hey what's it About?
C: <explains problem pretty poorly>
Me: uuuuuh.. I've written it down and look to fix it as soon as possible
C: why? Just TURN OFF the problem
No. This is not how it works. This is not how any of this works.5 -
«But... why man??? Let's call it "person-in-the-middle", so that it is fairer!»
All this fucking politically correctness is killing us.14 -
Why is it formatted like this? Cant they just do a \n on a capital Letter? This looks so terrible😢9
-
Me (refactoring bosses code):
Is this worth it?
let me work it...
I'll put this thing down, flip it, and reverse it
Boss:
did you just Missy Eliot my code?
Me:
Ti esrever dna ti pilf nwod gniht ym tup I1 -
These clowns make my blood boil.
fullStackClown: Hey I need some info on that specific color you want for this design
managerClowns: Yes it should look like this <<sends screenshot>>
fullStackClown: That is not a color, it is a screenshot
managerClowns: Yes it should look like this
fullStackClown: Do you know what hex code that is for that color? Can you ask the design team what color from our corporate identity they used?
managerClowns: Yes it should look like this
fullStackClown: Not helping... okay fine I used the eyedropper and I see the hex code is not used anywhere else in our app, so what color should I use?
managerClowns: Yes it should look like this
fullStackClown: ...22 -
When you think php is pure garbage but this third party tool that you really need is fully written on it and you have to use it.10
-
I've read so many stuff in english that it feels really weird to read something in my native language(german). Especially when they're using german words in their code:
public Nahrung mittagessen;
public Gast()
{
mittagessen = new Gericht("Wiener Schnitzel");
}
are you fucking kidding me?!10 -
I'm kind of in love with Flutter. This is not Gmail, this is an UI I built with it in just a couple of hours to mimic that of Gmail, my friends are already using it for pranks 😅16
-
Overheard this conversation today:
1: look at this! My shiny new iPhone can measure stuff!
2: how accurate is it?
1: not very, it is pretty buggy.
2: how did the bugs get in there?
3: it is an apple so4 -
12 - 1pm is lunch time. What the hell is it with this team and arranging meetings for this time, does nobody eat?
*Propose new time*
Justification: ... i'm fucking hungry4 -
This is 2017 but someone still think that Java and Javascript are the same language.
And this person is an IT student.6 -
Found this in my dad's house.
Looks as if he didn't used it.
Any one know how to install this somehow? (Even though it is impossible, probably)37 -
Root gets ignored.
I've been working on this monster ticket for a week and a half now (five days plus other tickets). It involves removing all foreign keys from mass assignment (create, update, save, ...), which breaks 1780 specs.
For those of you who don't know, this is part of how rails works. If you create a Page object, you specify the book_id of its parent Book so they're linked. (If you don't, they're orphans.) Example: `Page.create(text: params[:text], book_id: params[:book_id], ...)` or more simply: `Page.create(params)`
Obviously removing the ability to do this is problematic. The "solution" is to create the object without the book_id, save it, then set the book_id and save it again. Two roundtrips. bad.
I came up with a solution early last week that, while it doesn't resolve the security warnings, it does fix the actual security issue: whitelisting what params users are allowed to send, and validating them. (StrongParams + validation). I had a 1:1 with my boss today about this ticket, and I told him about that solution. He sort of hand-waved it away and said it wouldn't work because <lots of unrelated things>. huh.
He worked through a failed spec to see what the ticket was about, and eventually (20 minutes later) ran into the same issues Idid, and said "there's no way around this" (meaning what security wants won't actually help).
I remembered that Ruby has a `taint` state tracking, and realized I could use that to write a super elegant drop-in solution: some Rack middleware or a StrongParams monkeypatch to mark all foreign keys from user-input as tainted (so devs can validate and un-taint them), and also monkeypatch ACtiveRecord's create/save/update/etc. to raise an exception when seeing tainted data. I brought this up, and he searched for it. we discovered someone had already build this (not surprising), but also that Ruby2.7 deprecates the `taint` mechanism literally "because nobody uses it." joy. Boss also somehow thought I came up with it because I saw the other person's implementation, despite us searching for it because I brought it up? 🤨
Foregoing that, we looked up more possibilities, and he saw the whitelist+validation pattern quite a few more times, which he quickly dimissed as bad, and eventually decided that we "need to noodle on it for awhile" and come up with something else.
Shortly (seriously 3-5 minutes) after the call, he said that the StrongParams (whitelist) plus validation makes the most sense and is the approach we should use.
ffs.
I came up with that last week and he said no.
I brought it up multiple times during our call and he said it was bad or simply talked over me. He saw lots of examples in the wild and said it was bad. I came up with a better, more elegant solution, and he credited someone else. then he decided after the call that the StrongParams idea he came up with (?!) was better.
jfc i'm getting pissy again.9 -
Github Inc. (Feel good inc. parody)
=========================
Ha-ha-ha-ha-ha-ha-ha-ha-ha-ha-ha-ha-ha.
Github.
Fetch it, fetch it, fetch it, Github.
Fetch it, fetch it, fetch it, Github.
Fetch it, fetch it, fetch it, Github.
Fetch it, fetch it, fetch it, Github.
Fetch it, fetch it, fetch it, Github.
Fetch it, fetch it, fetch it, Github.
(change) Fetch it (change), Fetch it (change), Fetch it (change), Github
(change) fetch it (change), fetch it (change), fetch it (change), Github
Repos breaking down on pull request
Juniors have to go cause they don't know wack
So while you filling the commits and showing branch trees
You won't get paid cause it's all damn free
You set a new linter and a new phenomenal style
Hoping the new code will make you smile
But all you wanna have is a nice long sleep.
But your screams they'll keep you awake cause you don't get no sleep no.
git-blame, git-blame on this line
What the f*ck is wrong with that
Take it all and recompile
It is taking too lonnng
This code is better. This code is free
Let's clone this repo you and me.
git-blame, git-blame on this line
Is everybody in?
Laughing at the class past, fast CRUD
Testing them up for test cracks.
Star the repos at the start
It's my portfolio falling apart.
Shit, I'm forking in the code of this here.
Compile, breaking up this shit this y*er.
Watch me as I navigate.
Ha-ha-ha-ha-ha-ha.
Yo, this repo is Ghost Town
It's pulled down
With no clowns
You're in the sh*t
Gon' bite the dust
Can't nag with us
With no push
You kill the git
So don't stop, git it, git it, git it
Until you're the maintainers
And watch me criticize you now
Ha-ha-ha-ha-ha.
Break it, break it, break it, Github.
Break it, break it, break it, Github.
Break it, break it, break it, Github.
Break it, break it, break it, Github.
git-blame, git-blame on this line
What the f*ck is wrong with that
Take it all and recompile
It is taking too lonnng
This code is better. This code is free
Let's clone this repo you and me.
git-blame, git-blame on this line
Is everybody in?
Don't stop, shit it, git it.
See how your team updates it
Steady, watch me navigate
Aha-ha-ha-ha-ha.
Don't stop, shit it, git it.
Peep at updates and reconvert it
Steady, watch me git reset now
Aha-ha-ha-ha-ha.
Github.
Push it, push it, push it, Github.
Push it, push it, push it, Github.
Push it, push it, push it, Github.
Push it, push it, push it, Github.2 -
The best part about solving problems in code is there is no one right answer.
Except for this. This is clearly the wrong way. This is garbage and you are a garbage person for writing it. This code you wrote is the reason your own children will never love you.1 -
!rant
I opened devRant and closed it immediately. This is what happened.
Is this related to the Android system or to the devRant app?17 -
- Hey I have to add new field, but this class is autogenerated, I do not know what tool generates it"
- Your fingers
- But this class has over 20k lines of codes and the header says it is autogenerated.
- It is a inside joke, it was generated by hand6 -
Let an expert consultant write your code, they say. It will be all right, they say.
Found this today in a legacy codebase.3 -
Is it just me or does this shirt make no sense? If your coffee was empty, then it would return true and you would keep coding. If it was not empty you would fill it.
Plus it's not a while loop, so unless this is some sort of recursion you wouldn't keep going....4 -
Believe it or not… This means shit is doing what it is supposed to…
EDIT: Sorry for length web client users .-.15 -
Fuck Swift is garbage. 😡
How did such a promising language turn into such a steaming 💩??
This may be controversial but I think open-sourcing it may have been a huge mistake.undefined it's worse than java it can't fucking do anything i want i'm at my wit's end how tf is this supposed to replace obj-c?19 -
Javascript! What a fucking horrible language it is.
I just wonder why this fucking language became this popular nowadays just performance is not a good reason to use this fucking language everywhere.13 -
Front end dev be like:
Me:
This is greatest design concept ever!
Why isn't it working? It was working yesterday.
This is the stupidest design concept ever.
It works! It works! The client is going to love this as much as I do. It's exactly what they asked for!
Client:
Actually, can you do something completely different?5 -
Signed up for a coding contest that starts at 9am. I’m bad at timed code challenges, but I’ll never get better if I don’t push myself.
Woke up in a panic, thinking I’d overslept... 1.5 hours after falling asleep.
This is definitely not going to help matters. Thanks, brain.10 -
Yeah.. it's a shame C# doesn't have a type to hold this (4) and then you have to resort to using var.. I am so disappointed, I've heard C# is crap, but this.. THIS!! It doesn't even have a type for normal integers!! FFS!!! I thought it was better than this!!
Oh, wait.. it's not C# who is 'weird'!! It's my super duper cool ex coworker who made a mess of the simple code again... I admit, this is not such a huge deal.. BUT... It doesn't end here.. o.O40 -
So I've been applying to jobs. I, purposely, have been putting down that I am female (since they all harp on diversity, I'd like to see if they even bother reaching out to me. Also anything to get my resume past the bots).
Spoiler alert - getting similar ratios to male counterparts, 100+ applications sent, maybe 4 phone interviews. No offers yet. Still made to do code challenges.
Well, I just found out where all that diversity hiring went to. Buddy of mine who works at a mid tier company said that they have a special program that onboards women into tech.
Specifically, women who have literally zero background in computers.
Teachers, social workers, etc. They get a week or so of some coding bootcamp and then get full time positions over more skilled applicants.
This infuriates me. I literally would be in a better situation to be hired had I not have had any technical background, taken this particular bootcamp and finally net the elusive entry level position I need.
And guess what? That move has antagonized the existing male employees who see that they have zero interest and zero competency instead of having an integrated workplace.
10/10 for incredible bullshit.6 -
Bought this a while ago thinking i would read, never ended up doing it. Now i am actually trying to learn it, and this shit is out of date8
-
This is the last straw. I am so done with Chrome.
…
I woke up AGAIN this morning to my MacBook shining away brightly, having not gone to sleep the ENTIRE night. I did some better research this time and discovered it's actually Chrome that is causing this.
Yes Chrome is deciding whether my MacBook goes to sleep or not.
I am not ok with this. Worse, it doesn't even have any ability to change this behavior. It's basically a hidden "feature" of Chrome: it wastes your hydro too!
This is not the first time this has happened either. Last time my MacBook wasn't properly plugged in and it completely drained the battery, shutting it right off. I ranted about that already.
But I am just SO fucking livid about this right now. What on EARTH is going through google's mind that they think this is in any way even REMOTELY acceptable?
I've already filed a bug report but I think this is the last straw. I am just sick to death of Chrome. This bug is literally costing me money and damaging my property.
Shove it right up your fucking ass, Google. Right up there and twist it around.
I'm switching back to a real browser.32 -
This code is so bad,
If it were a bridge it would kill hunderds of people.
If it were an electric grid it would, plunge thousands of households into darkness
It is so bad,
If it were an operationsystem it would be WINDOWS2 -
I often get this question:
"I have this old computer. Can you fix it?"
My brother is a helicopter pilot, and he will probably never get this question:
"I have this old helicopter, that is literally falling apart. Will you fly it for me?"8 -
When you create your CV in HTML/CSS print as PDF and attach that to the job application, because word is annoying you with its lack of layout abilities.
I just wanted this bit of text over there --->
but no, I have to go make a text box, position that thing in an "absolute" way and have it still be wrong when exporting as PDF.
Really how hard is it to let me build a nice layout 😒10 -
Fuck.
Fuck this shit
Fuck. What the hell is this?
What the fuck????
Fuck this place.
How the hell is it even possible??
Fuck all. M leaving.
.
.
.
.
A snapshot of my workday nowadays.7 -
So apparently some genius motherfucker managed to allow Androids that are missing or have a bad/inaccurate/busted gyro to run VR apps as long as they have a magnetic sensor (compass) and an accelerometer, using both to spoof the gyro. It requires root, but goddamn is that smart... It's even potentially more accurate than a gyro in quite a few situations, since it uses the compass and can even be used to override the ACTUAL gyro, so if the gyro is busted, drifts like a motherfucker, is inaccurate, etc. it can alleviate the issue!
and google's always like "well this shit is impossible to do" then the community comes along a month later and does it7 -
Me: "Hey, the IP binding on this page is broken"
My boss: "u broke it!"
Bish I haven't touched this project in 24 hours and it was working this morning. You're the only person that has access to it other than me.3 -
Why is it so hard to read a 15 pages paper or article? I read hundreds of fiction pages or news in a day, but reading 100 lines of a scientific paper is a pain in the arse and I lose concentration by line 3.
Fak.9 -
I Googled "png to svg converter", this is the output of the first online tool I tried.
This dev literally just a base64 encoded copy of my origin image wrapped in an svg... the most infuriating thing about it is that technically it did 'convert' it to svg - just not in the way I had anticipated.
Whoever wrote this is a lazy genius (and a dickhead).8 -
I wrote this and wonder if it is actually useful. This is a function that eliminates the need for document.getElementById. In the HTML you just set an attribute (jsv) to some value and this scoops that up and puts it in the global scope for you to use.
Neat or shit?12 -
When you switch a regular keyboard to an emoji one on an iPhone, the keyboard becomes a several pixels shorter. It’s barely noticeable but when you notice it, you can’t unsee it.
“This is it. This is what matters. How a product make someone feel”
– Apple7 -
There is this abstract class with a single public method in it.
Above it a comment, change back to protected ASAP.
That comment is from 20131 -
Coding style influence:
Me: Did it work?
-looks like it worked-
Me: THIS IS THE WAY!
Someone else: Yeah but that -
Me: THIS IS THE WAY!1 -
Created 'GET STARTED' section in our application in English. It will guide new user to Highlight some App features.
End User started Posting screenshot of it in our feedbacks service : What this is?
Implemented 'GET STARTED' in local languages.
End user started posting screenshot of Language Drop Down, what this is?
Implemented 'GET STARTED' on Location based Language.
End User : I am here in Banglore seeing it in Different Language, my other Partners in Hyderabad are seeing it in different language. What this is?
Removed 'GET STARTED'.
End User : It was a nice feature. Why you removed it? What this is?
May be i over reacted but i am not bringing it back.8 -
Client writes a bug report: This and that doesn't work.
Me: This functionality never was implemented. Please open a feature request.
Client: But this is a bug. Without this feature, the service won't work as we expect.
Me: But this wasn't in the requirements for release. So you have to contact the PM for a feature request.
Client: THIS IS A BUG! FIX IT!
Me: GO FUCK YOURSELF! THIS IS A NEW FEATURE AND YOU HAVE TO PAY FOR IT!
Unfortunately, I never sent the mail. But I kept it in the drafts. Maybe someday...1 -
This is a Revolution !!!
Like really, this toaster is named "Revolution"
It as a touchscreen and can warm 34 type of bread, amazing!!!
And it cost 400$ by the way.
A Revolution!!!14 -
This kid in my software development class comes up to me and says, "this class is the best class to get hungry in. Because it is all about the bytes"2
-
Is it normal for seniors to talk to juniors with disrespect if they made something wrong in code?
this is my first time job ever and I feel like this behavior is so weird honestly.13 -
This is a rant that doesn't end, it goes on and on my friends.
Some people, started reading it not knowing what it was, and they continued reading it forever just because.....
https://devrant.com/rants/4411805/...9 -
Is it so hard to comment your code?
I work on collab projects here and there and both the comments and documentation are both awful, nearly always, there are some exceptions.
This is a plea to all those who teach anyone to program. "This performs a loop" is not a helpful comment, nor is "This sets variable x to 1" where the line below is "let x = 1".
The last piece of code brings me on to my next point meaningful variable names. If x is a variable that stores the age of a machine call it ageOfMachine or age_of_machine. Not aom, not x but what it actually is, modern IDEs and text editors will fill this out for you.
Finally documentation, a good friend of mine sent me this quote a while back, I can't find the image but "Documentation is like sex, when it's good, it's great. But when it's bad it's better than nothing." Your documentation should be good, a good pattern to follow is the Node.js documentation, it tells the function, what it does and what parameters it takes.
Anyway rant over; and I'm sure that this applies to people outside of this community only.5 -
Overconfidence is striking again. Some companies are really begging for it... Found this cup in the kitchen of a client. And it is the slogan of an external contractor. It says: this network is unavailable for hackers. I think this is worth at least a triple facepalm1
-
It's almost midnight here and I just realized something. I just realized that none of my college friends have contacted me in almost a year now... Like none of them. They hang out every weekend near the college I cannot coz im working and it has never occurred to them that "hey there's this guy that we we were together for four years with , I wonder what he's doing how's he holding up" and I wasn't even an asshole or a douchebag or something I guess I just vaporizer from their memories like a volatile liquid.
I also feel like my boss gives me nearly impossible tasks so that I fail like "design these two complete web applications in three months while you do your actual job of teaching people java for 8 hrs a day"
And now here I am at midnight sitting curled up in the corner of my bed like a paranoid chipmunk that drank a pot full of dark coffee, trying to talk to this random bunch of people from random places in the world who are doing random shit right now. And the worst part is I chose this ... I wanted this I wanted to make a difference. I didn't want to be just a cog in a machine.
If I die right now how many people would cry? I ask myself that a lot it's never more than ten. This is probably creeping u out right now so I'll probably end this.
Rest assured six hrs from now I will put my mask back on. a mask of a happy, mildly funny, averagely successfully geek, until my next date with sadness3 -
6 Months later...
Me: Oh God! This code is horrible! Who wrote this crap?
Also Me: Shit, it was me.1 -
In C# using "this."
WHY? It doesn't help with readability. It just clutters up the code and adds nothing.
It should never be a required prefix.
What makes it worse is, Visual Studio greys it out because its not required!
Then there is stylecop. This got enabled on our project which generated 3000 build errors because of missing "this."9 -
This Safari Bug is sooo bad, really hard to find it. (It initializes new variables with the element where id and variable name is the same, why?)10
-
Everyone argues about the perfect date, so I searched and found it using complex machine learning, a lot of trial and error, and too much alcohol:
'#76ab%Y%Y@98:%M%D%h@()%m&%m%Y%D%Y€¥$¢%M%h+%s-%s%%'
Where:
- %Y stands for one number of the last year
- %M stands for one number of the following month
- %D stands for one number (09 are two numbers for example) of SQRT((CURRENT_DAY^7)/3)
- %h stands for one number of the hour next evening(12h system)
- %% stands for either 7 or 3, 7 means that the hour(%h) is a.m., 3 means that the hour is p.m.
- %m stands for the minute the next solar eclipse will happen
- %s stands for one number of the second you will hate yourself to have this system implemented.
How to use it im 3 simple steps:
1. Implement it using ???
2. ?????
3. Profit? -
What is it with this sudden surge in shitty memes? Is it normal around this time?
Might just filter out the random category completely if this holds on. Ironic.8 -
"Everyone is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid."
This is good to remember this one once in a while...3 -
It appears my website is under attack. This truly sucks! I can’t login to it to update. Someone is attacking it and now I feel like an idiot and am very upset.13
-
React is so goddamn complicated please tell me all of this is actually worth it once you scale it up9
-
Have you ever wondered why !important is even working? Imagine this:
element {
color: #FF0000 !important;
}
It literally means the red color is NOT IMPORTANT. And this overwrites previous CSS rules such as in this example, previous element.color. Like seriously, where is the logic here? :D10 -
How hard can it be to make a calculator app. Apparently Microsoft cannot get it right. You might say hey, but it works already. No it does not. See in math 1-(-1)=2 because the double minus sign cancel each other and turn into a plus. Well the w10 calculator app, just does 1-1=0 and show that this is the result. Yes this is the result of one minus one. This is not the result of one minus minus one. This is basic math .... Stop focusing on the interface and code the base right Microsoft.15
-
Remember kids: the more space a compression algorithm saves, the slower it is to deflate/inflate!
(imho this is why xzip isn't as mainstream as it is)5 -
Literally came across the third line of code and made this meme.
To top it off, the if statement looked like this:
if ([that ugly code])
{ //it is
...
}
This is coding at its finest....2 -
Well. I'm simply SO UNFUCKINGBELIEVABLE PISSED RIGHT NOW!! {>,,,<}
I'm implementing a monolithic frontend that embeds different projects which I don't want to alter if not really necessary. So I put them all into iframes, already handled all the security and auth stuff with proxies and so on and now I just want to access the body.scrollHeight property. Which is not even the probelm at all.
The fucking Problem is, that I just can't find a way to hook into any event which fires when all content is loaded and the final scrollHeight is set. Instead it just returns some default value that is set when the iframe element is loaded, but not something that is actually based on it's damn ass-fucking contents!!
Iframes are fucking pricks and I know I'll gonna go to hell for abusing them like this :Srant i'm feeling bad about it this is so wrong i hate iframes i hate cross-site-scripting just pissed as fuck2 -
Aye, I almost fight with everybody at work(they always think it is funny). I'm not good at listening to others when it comes to dev convo (like related to coding or some logic stuff).
So it is like someone is explaining to me that this should be like this and in between, I ask 100questions like "why like this? why not like this?","but what if I just skip it?" etc
and they always go like, "Someone is going to kill you so badly".
That's it. -
Can you make me this page please.
Me: its done its 100% like the psd you send me
She: yes but this component is bigger then this one
Me: its the same here the css proof
She: can you change it ?
Me: ( this will change the hole component and douin the same shit ) yes i will do it for you.
She: again this is not the same size
Me: ( what the fuck i said to shut is mouths ) ............. Fml -
just read this, wanted to share it:
Jesus at Last Supper:
(breaks bread and gives it to them) Take, this is my body.
(pours wine) Drink, this is my body.
(opens a jar of mayo)...
Judas: I'm gonna stop you right there1 -
This is just a sweet little harmless block of code, why should I unit test it?
3 months later...
Bug in production : This is why. -
This is crazy I actually bough a phone just for devrant total worth it, this morning I read a rant from someone thinking about wearing a tin foil to avoid NSA from spying on H ,your not alone, FYI this is how it looks like
-
It seems google index this link: https://devrant.com/search/...
for that query:
The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. -
This is not even funny anymore. This Windows get dumber with every release? Nothing about what it does.. or how is the progress..3
-
aagh fuck college subjects. over my last 4 years and 7 sems in college, i must have said this many times : fuck college subjects. But Later i realize that if not anything, they are useful in government/private exams and interviews.
But Human computer Interaction? WHAT THE FUCK IS WRONG WITH THIS SUBJECT???
This has a human in it, a comp in it, and interaction in it: sounds like a cool subject to gain some robotics/ai designing info. But its syllabus, and the info available on the net , is worse than that weird alienoid hentai porn you watched one night( I know you did).
Like, here is a para from the research paper am reading, try to figure out even if its english is correct or not:
============================
Looking back over the history of HCI publications, we can see how our community has broadened intellectually from its original roots in engineering research and, later, cognitive science. The official title of
the central conference in HCI is “Conference on Human Factors in Computing Systems” even though we usually call it “CHI”. Human factors for interaction originated in the desire to evaluate whether pilots
could make error-free use of the increasingly complex control systems of their planes under normal conditions and under conditions of stress. It was, in origin, a-theoretic and entirely pragmatic. The conference and field still reflects these roots not only in its name but also in the occasional use of simple performance metrics.
However, as Grudin (2005) documents, CHI is more dominated by a second wave brought by the cognitive revolution. HCI adopted its own amalgam of cognitive science ideas centrally captured in Card, Moran & Newell (1983), oriented around the idea that human information processing is deeply analogous to computational signal processing, and that the primary computer-human interaction task is enabling communication between the machine and the person. This cognitive-revolution-influenced approach to humans and technology is what we usually think of when we refer to the HCI field, and particularly that represented at the CHI conference. As we will argue below, this central idea has deeply informed the ways our field conceives of design and evaluation.
The value of the space opened up by these two paradigms is undeniable. Yet one consequence of the dominance of these two paradigms is the difficulty of addressing the phenomena that these paradigms mark as marginal.
=============================7 -
Snapchat?
Is it just me, or, is this a super simple app (that makes millions, aarg)
Do you really need to steal the code?
Is it the scale (number of users) that would potentially make it complicated?
My apps may get thousands of visitors / day, but that's about it... not millions. Php/mysql is just fine for that. So I have no experience with this and I'm curious. Thanks.4 -
Is it just me, or does everybody regularly have to hit F5 on YouTube after the first 3-6 seconds when it stops playing? I have this in one out of 4 videos I think. hugely annoying
The weird thing about it is that I remember YouTube having this bug for a few months back in 2013 or so (hence the 'is it just me'? )1 -
I'm studying a mix of computer science and engineering. This semester we were tasked with hacking a "smart-production"-production-machine.... And OMFG it's shit!
This is a product by a major company and it's version 4... How the fuck is it this bad?
Like, using the same 5-letter password on all the PLC's FOR THE ROOT USER!!! WTF!!! AND open, unencrypted Telnet.....
This is a million dollar machine and, as soon as a hacker is on the same network it is done for! wtf.... I just can't believe how easy it was to get in and reek havoc.6 -
My most recent side project is meant to be a lighthearted thing with a dynamic subdomain where anyone can type [whatever-subdomain-they-want].is.obviously.best or [whatever-subdomain-they-want].are.obviously.best or [whatever-subdomain-they-want].is.not.obviously.best or [whatever-subdomain-they-want].are.not.obviously.best.
I have a list of political terms and people that route to an HTML page that says “[subdomain] has been flagged as political. The creator of this site intended this domain to be used to spread joy and merriment and feels that pushing political agendas undermines that intent.”
I have sentiment analysis in combination with a disallow list on is/are (positive, rather than is.not and are.not) routes that if the subdomain is flagged as negative by sentiment analysis or matches a term in the disallow list, it serves an HTML page that says “[subdomain] is/are NOT obviously best. What the hell is your problem?”
Sentiment analysis only goes so far and it’s hard for it to catch a lot of things (since it’s a small amount of input) and I’m not confident that I’ll think of all of the possible things that really shouldn’t resolve to is/are OBVIOUSLY best.
Is there anything you guys can think of that should be on the disallow list?
If it helps, the disallow list so far is https://raw.githubusercontent.com/A...16 -
Finding an awesome new library / framework then finding the documentation is all "this is what it is" rather than "this is how you use it" *sigh*2
-
My states of learning Flutter:
Oh, this looks easy!
Hm, this example is very complicated.
Aw yeah, I'll never need Android Studio again!
How much is a iOS dev account?
Oh for fuck's sake, why is everything working except displaying a webpage in non-fullscreen dynamically and implementing it in my widget tree? It is unusable for me if this doesn't work but I want to use it! >:(2 -
So I bought a new phone, I was super excited getting it, I even got to open it at work with my colleagues watching. It was really nice, the S8 is an attractive phone... Until it started crashing very very regularly. I want to go back to my old phone, that's how bad it is. Turns out this is a common experience, how can this be at the top of all the review lists if it has this problem? Is the assumption that you are going to install stock android as soon as you get it? Or is someone paying for reviews?4
-
"Can you make this quick change?"
"Yeah, but I'll need to change every page this thing is on and you told me this other project I'm working on is high-priority. Are you sure you want me to do this?" (Also this is a change you're capable of making yourself...)
"It shouldn't take too long, we need this done."
...if I thought it wouldn't take long, I wouldn't have brought it up. -
Alright! So this is my issue. It’s supposed to do this but it does that. Alright, see. Firstly I do this, then that. Afterwards I have this loop though ... ohhhh now I get it.
*fixes three lines of code*
Thanks! -
I would rant about my life right now i i know people wouldnt understand the problem that Im facing right know.
"Nah. Post it we wanna help, it cant be that bad" - nope i just say nope -
Are the pixelated avatars devRant's April's Fools joke for this year? Is it a bug? Is it a feature?7
-
Is anyone using Slack? I just downloaded it in order to use it with Laravel notifications. How is your experience with this?3
-
ok, but this is cool. it’s an image that renders differently on apple and non-apple devices. not sure if devRant will process it so it doesn’t work, but this is cool. also a huge vulnerability for apple, but cool.9
-
So remember when we said 1.1 would be the last release, and then we said that 1.2 would be the absolute last we promise this time release?
Well buckle up buckaroos because 1.3 will be the last release. -
Why this keyboard is called gaming keyboard it is same as my previous keyboard with just some highlighted buttons.
By the way I brought this combo for mouse only as it was cheap.7 -
Oh... You maybe remember this rant: https://devrant.com/rants/5509306
I completely forgot about it, it is still running and alive.
I now have 1.123.954 rows in this database :) and it is nearly 80MiB in size.
https://dr.03j.de/%21score_diff.txt
In this file you can see who gained most/least points in the timespan of collection.
Congrats to @kiki @Demolishun @fullstackclown (top 3)10 -
Is it even possible to buy music anymore? This "Music" / iTunes store... is a total fucking mystery now.14
-
Rant - When data loading stops and your manager's "preventive" solution is to "watch it so it doesn't happen again". I guess this is my role now...
-
Saw this quote and I felt like maybe it is not just me that needs to see this today :)
“Don't let perfection become procrastination. Do it now.” - Danielle LaPorte1 -
QA: This email don't pass validation ( $%^&*&^%$@m.c)
Me: Yes, that's right, where is the problem ?
QA: We allow special characters in email field, so it should be valid, fix it.
Me: "Searching some info about top-level domains"
Me: Look, this is why this email is bad.
QA: So this email is valid ?
Me: No.
QA: Why ?
Me: O_O
QA: O_O
(╯°□°)╯︵ ┻━┻3 -
[semi-rant, kinda-story]
Day two: Managed to persuade IntelliJ IDEA into, uh, functioning.
Although it still does funky stuff like trying to force JDK v6 for bytecode compiled from Kotlin (the project's not even legacy spaghetti and JDK v6 isn't even installed).
Still had a few problems while setting up the rest of the local dev environment of the project I'm assigned to (which has been caused by documentation accidentally being followed in the wrong order, which I updated in turn, in order to prevent other people from doing the same mistake), but now I can finally work on tickets!
I love that not all tickets are marked as urgent or important, only a few!
Now the fun begins 😎2 -
Facing my biggest challenge this Friday already failed at it 4 times and this time is the one make it or break it2
-
This is my keyboard. There are many like it, but this one is mine. My keyboard is my best friend. It is my life. I must master it as I must master my life. Without me, my keyboard is useless. Without my keyboard, I am useless.
I can't believe how long I've had this one keyboard. I started my software developer career with it (went to my first coding interview with it), bought it before I had even had sex... Best investment of my life so far :D16 -
This is not a rant!
Has anyone use whonix before? If you have how is it? Is it better than tails?
For those who don't know what whonix is here's a link.: https://www.whonix.org/1 -
Is it possible to record the time a thread spends processing only it's code?
E.g. capture sys.ms in thread A -> A is sliced and thread B runs -> B is sliced -> A comes back and captures current sys.ms. The resulting delta of Anow - Ainit includes the time that B spent on the machine.
Is it possible to account for this and get just the time A spent processing?
Is this doable on any other languages?
If it is or isn't, any documentation or papers explain why is appreciated. Google is flooded with "how to time" questions so I'm not seeing any answer for this.7 -
"Can you do the job without this colleague?"
"No! It is system-relevant."
"why?!"
"cause, he is cooking coffee..."1 -
I have a Lenovo IdeaPad 330s and it shows the battery percentage remaining when we press any key on the keyboard while the laptop is switched off. This is a really handy feature. Does anyone know how it is implemented or how could it be implemented (on other laptops) ?
Don't just ++, favorite this post, pin it (so, you can comment on it if you find the way later) and please, mention it in the comments if you know it.4 -
Well this weekly rant topic comes a few weeks to soon....
Ah what the hell, my most successful dev project is hopefully this: https://codeglass.io
Why: well that is why this topic comes to soon, I can't disclose anymore than there is on the website for now, release will hopefully be this month.
It is pretty awesome. It deserves to be called next generation. -
.light, .dark {
background-color: white;
}
I wish this was as bad as it got, the styling of this app is all over the place, but I can understand how it got this way. The app is very large and old, multiple people work/ have worked on it and add to it—not worrying about cleaning up after themselves.3 -
Overestimating the solution, trying it, failing, underestimating it, errors, "this is impossible", quitting...😔
-
I'm an alien.
I've never told anyone this before, so please keep it a secret.
This is why I'm so fucking great when it comes to programming.4 -
The bug: Some string values for an identifier property in the data objects are being sent from our frontend prefixed with a '0'. Sometimes. When it happens, it usually gets stripped away again by the time it's passed to our backend. But not always.
This 0 is never explicitly set anywhere. I even searched for a few variants of " = 0" in both the frontend and backend projects without receiving any results. You might already be suspecting where this is going.
So it turns out.
The data object which holds this value is being initialized in the aspnet (don't ask) backend and passed to the frontend, which then hydrates it. This value is always an integer number, albeit incidentally so which is why string is used as the actual type. When this object is initialized, it's hardcoded with an anonymous type where this property is set as int because I guess someone figured "it's always an int though". Being a typed language, primitive scalars can't be null objects which means the property's value becomes the concrete int 0.
Okay weird. I can think of better ways of doing this but let's just set it to string as I can't start overhauling things right now. Let's just go find where this value is somehow concatenated into the incoming parameter.
You see, this happens because at the point where the frontend sets this value, it may be an int or string depending on where it came from, and I guess someone figured that in order to cast it to string you just go prop += arg seeing as the prop is empty string and all. Because explicitly casting it or - as much as I get a rash whenever I see it - going prop = "" + arg would be too verbose and unoriginal.
Bonus round: How come the 0 only sometimes made it all the way to our backend? The thing is that this bug has been fixed before. The fix is that because this string is "always" an int, you can parse it to int before passing it to the backend in case it has leading zeroes. This path is only taken in certain views because someone forgot to copypaste their fix into all the places this is repeated.
Sometimes you find a bug and you are just somehow more grumpy after fixing it.1 -
what kind of sorcery is this? how am i suppose to call this class( or whatever it is)'s functions?4
-
got employed as web developer, had to make an app for test, so i made simple PWA, you can search videos and you have related videos on the side, basically search videos and watch them with simple list of related videos on the side.
idk how i ended up being tester and bug hunter in this huge ass pile of spaghetti extravaganza.
all i do is wasting my talent on hunting and resolving bugs on a legacy-code apps, don't remember when was last time i actually wrote some feature, oh yeah i do, last month but that was refactoring/fixing.
so i am stuck on weird tech stack someone build with shovel, feels like they were having that famous golden hammer.
what interests me is something i will never do at this company and still i am trying to help them to fix the app to have better product.
It is hard when you feel like you are third and last person in whole company that cares about actual product, rest of devs just fixing things with quick workarounds, hacks and lousy patches.
I really tried, I did, I was excited as I saw opportunity to one up the product but got stuck with the rest of the devs fixing bugs instead of fixing the whole codebase, I tried to introduced improvements but we don't have time cause fixing bugs means happy customers, better codebase takes more time and means impatient customers are unhappy!
I think it is time to sail away.
So folks, any thoughts or feelings?1 -
Love this app.. SkyView..
You point it at stars/palette and it shows you what it is.
Edit: sorry not a rant..1 -
Is GraphQL worth it? It promisses to keep some load away from backend programmers but what about this scenario:
There's a list of items with scroll load/infinite scroll. There can be several filters as well as the Option to change the ordering of the list items.
With "traditional" REST, I'll hit the DB with one request, get the data in the right order to the backend, might itterate over it once to add additional information, cache the result in Redis/Memcache and send it off.
Using GraphQL, the frontend has to load all entries first, sort them in JS (which probably is slow on mobile devices), and then display it. No matter how "expensive" the query is, there's no caching.
Is that about it? Did I get something backwards?2 -
Basic story on what this is:
This function when applied a @SideOnly(Side.CLIENT) shouldn't complain that it must be applied on a Side.SERVER.. but IDEA is being a troll and justs complains that this is an issue and must be applied on a Side.SERVER .. but it compiles so eh... i will just let it be... -
My build is failing on the CI server
you are the DevOps engineer please fix it
this is not how this works, this is not how any of this works -
So I’m not having too much trouble with my project. Does that mean I’m doing something too easy or have I actually just absorbed the knowledge I’ve been reading?
I’ve never actually used EF Core before and I thought this would be harder, and more time consuming.2 -
So I'm sitting here trying to bodge my way through a member system. These fucknuts really made a bad system..
The task: Export a list of users and their info.
Is there an API available? No, who the fuck would need that shit, even tho the system is built upon Odoo, which has an API!
But it has an export function, you just have to log in and press the right sequence of buttons, because you need the running ID...
Here I discovered the first of many security flaws... "What happens if I post the wrong ID?"... Well, I get access to a file that has nothing to do with me or my users.... What?
Well after some fiddling It works, but holy fuck I found a lot of bugs. And this is a system that is launching in 7 days for us.. Some users have been on it for a year....
How can they ship this bad a product? There's absolute no documentation only a 15-page manual. Guess they don't want developers to develop shit that works in junction with theirs.1 -
Is it me or is this code seem unnecessarily complicated?
This is a queue I have used myself:
https://github.com/Demolishun/...
This is a queue I ran across:
https://github.com/cameron314/...
I understand the second link shows a queue that does a LOT more than the first example. It supports multiple produce/consumers for instance. It is also lock free. However, it seems really complicated to me. I was always under the impression that the more code you write the harder it is to maintain.2 -
Started my internship last month. It's been alright although quite disappointing. I expected to be developing more but they have me doing website management using their CMS. I know it's needed for websites and all but is this really it?
Hope my workload picks up soon..3 -
Me: God damn why don't some of these save to the DB or others do it intermittently.... is this a network issue or-
API (if it could talk): Yeah mean I don't get, it I mean this is what I sent to the DB.
Me: Wait ... "what you sent!?!?!"2 -
I don't know if this is just YouTube or this is a feature, but there is a time bug with YouTube. Every video that is >1 week old (and younger than 2 weeks) will still using the format "... days ago" instead of "1 week ago" like how it is intended.
For example, this video is >1 week old, which means that it should show the "1 week ago", but instead, it still shows "12 days ago".9 -
Hey folks,
Is anyone using a Dell XPS 13 (9370)? This is the 2018/2019 model.
Is anyone of you also facing the thing that is gets extreme hot, when charging? And I really mean only when charging. Not hitting it with a Max load.
Mine gets as hot as it can possibly be and it starts thermal throttling.
On battery, everything is fine and the laptop is cool as ice.
Both situations are under normal load. Nothing heavy ... CPU mostly idle - rarely over 25% utilisation / thread.
I run Linux on it. Not Shure if it is a compatibly thing, this is why I am interested if others are having this issue.8 -
ping REST API that is written in rust
it has specs. it will return json with result or error in it.
it's just returning result: null and no error
this is written in rust. how are you writing me responses with null objects in them? rust doesn't have null! how broken is this thing.
SAFE23 -
Yes but you see this function everywhere so why is it so hard for us to implement?
Next time i’m gonna say that this function is everywhere, but why is it so difficult to design? -
Writting some documentation and asked for feedback, soon I felt cheated since "suggestions" were:
1 - Hey, this isn't implemented yet! I'm cutting it out...
2 - Hey! You shouldn't say this is how it works, we were in meeting and discussed that this is how it's gonna be, you need to change it...
Single reviewers, please consider consistency, thank you very much, bye -
Is anybody using Onesignal. It is free but their privacy statement is scary. Just read it and now I think I should stop using this service for my app.
-
What is this fucked up fucking bullshit?? Yesterday I preloaded tw warhammer 2 to play it when I get home today, now I'm waiting since two hours for it to install.. what is this shitty steam doing?2
-
7am, JARRED AWAKE BY PHONE VIBRATING nonstop. Stupid fucking AMBER alert. Why the fuck is this even a thing in the US, why the f*** is it on by default on this FUCK IS THIS SHIT ON MY SMARTPHONE? FUCK THIS POS DON'T FUCKING CARE5
-
class CircularBuffer
{
public:
CircularBuffer();
void insert(int circularArgument);
};
Déjà vu? Have we discussed this before? I think the old horse we beat is still laying on the floor.
I really really wanted this to be funnier that it is. It is not. This feels like the moment in Office Space when they tell the old guy that his invention is the worst idea anyone has ever had.1 -
Finding out this morning that Firepath is not showing xpath nodes anymore. Why?? Is it me or last update screwed what it was a really good tool?