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 - "empty"
-
Heard a conversation between my colleague and the boss
Boss: (saw my colleague's messy desk) hey, could you organize your desk? It's not nice to see when clients come in. You know what they say, messy desk represents a messy brain..
Colleague: (glanced over to the boss' empty desk) and what does an empty desk say for the brain?12 -
*click "Empty Recycle Bin"*
*removing 134.389 files. Time remaining: about 15 minutes*
Me: What the fuck is happening?!
*open Recycle Bin*
*see there is 3 node_modules folder*
Me: oh, okay sorry. Thats pretty normal.16 -
Not that much dev-related, but still...
I wish I had a way of decompiling the code of my life, correcting it and then compiling it. I was diagnosed with Depression yesterday and it has turned me absolutely empty. The kind of empty where you feel like you're a void.
I'll survive. I know that much. I also know that it's going to be even harder than it was before.
Just for lighting the mood. This is also my struggle.50 -
Wife: I got a Roomba for Christmas!
Dev Husband: oh.
Dev Husband *hours later* : Did you know it has an MQTT interface accessible over IP? I already wrote a NodeJS app to track if we need to empty the bin.14 -
Our programming teacher showed us some parts if his code the other day. When I asked him why he got an empty if-block in there he responded with "cause I only need the else-block"13
-
Dev: why should I develop windows phone apps. Almost nobody uses this kind of shit.
Customer: Why should I use a fucking windows phone. The windows app store is as empty as a ghost town.31 -
Friend: I wiped this drive, and then I open it in my Hex viewer app, and it's all zeros!
Me: yeah?
Friend: Why isn't it empty?
Me: uh well a drive must have its bits set to some value and can't just nothingness so zeros is just a default meaningless value that resolves to nothing..
Friend: No, but why is it full of zeros? why it isn't empty?
...
I attempted several times and then exploded. rip self14 -
So, in my Country there are people actually selling 40 empty folders for about 3 dollars... As a gift they also send an empty .doc file... And people are buying it!!!29
-
A programmer puts two glasses on his bedside table before going to sleep. A full one, in case he gets thirsty and an empty one, in case he doesn't.4
-
"I don't like the people in this town, they're so empty."
"I don't have a girlfriend, all the girls in here are so empty."
"I prefer reading over scrolling down through Facebook feeds, because books teach you something."
This time those words didn't come from me.. as it so happens that the guy who recently moved into the apartment next door is an aerospace engineer, also diagnosed with autism (I suspect Asperger) and apparently a curious brainiac as well. Guess I've just found myself a new friend.. right next door 😋30 -
!rant
Deployed my first website to production yesterday and the world isn't burning, the error logs have been empty and my (non-tech) colleagues think it is amazing.
I'm somewhat proud of myself.8 -
So sick of my colleague who keeps writing:
if (something) {
doWork();
} else {
}
He insists that it is the best code style to include the empty else clause. WRONG YOU #!*&@!14 -
Fucking printers are made by satan himself.
My printer apparently needs cyan, yellow and magenta for printing grayscale.
So suddenly my colours are empty
Bullshit but whatever, I used ducktape to tape of the little glas place where it checks inkt levels.
My printer thinks they are full and prints again. Booyah.
About 200 pages further it says they are empty again.
BULL FUCKING SHIT
The satan spawn that made my printer must have made the cartridges with a chip that has a maximum of pages. So even if the cartridge is FULL, the chip says its empty and so the printer thinks that as well
If i find the demon spawn that programmed the printers, I will make you program in brainfuck or whitespace for the rest of your life!!!!!!9 -
Manager asked intern to bring coffee during meeting
Intern came back with an empty cup and his mouth full of coffee which he emptied into the cup
Since then, I have not seen the Intern at office.7 -
Fuckin hell!!
Code works everywhere except at one client. Ok, I check logs & see something missing.. I go check the code that handles excel files.. try catch and do nothing.. great.. :/ ok let's log this shit to see what is not ok...
Insert logs, build, update, run.. now it freakin works o.O11 -
My dev superpower would be the power to magically refill anything.
Out of hot coffee? Refill your thermos!
Bank account running low? Refill with money!
Battery empty? Refill with charge!
Going bald like me? Refill your head with hair!
Bed empty? Refill with beautiful women!
Clients / managers annoying you? Refill their bladders!
The possibilites are limitless!6 -
Today I asked my client to do "ctrl+f5" to empty browser cache he literally did "ctrl+f+5" and said "it did nothing"6
-
Just found this precious gem in the legacy code I am maintaining! How do you check if a string is empty :-D ?5
-
A programmer puts two glasses on his bedside table before going to sleep. A full one, in case he gets thirsty, and an empty one, in case he doesn’t.10
-
A programmer puts two glasses on his bedside table before going to sleep. A full one, in case he gets thirsty, and an empty one, in case he doesn't.3
-
Pessimistic people: the glass is half empty
Optimistic people: the glass is half full
Engineering people: the glass was not manufactured to the correct specifications5 -
Stack overflow is the only place you don't return empty handed, either you get answers or you get downvotes!5
-
friendsList.getBest().getHelp()
doesn't work.. I thought getBest() returns null.. but it turns out that friendsList is empty..
*cries in whatever language2 -
Windows xp manual really helped me today...
Because I needed some expendable paper and couldn't find an empty notebook -
*Creates empty node web project in visual studio*
Let's have a look at the default configuration... Oh look the default port is 1337... Microsoft... Please stop trying to meme... Please1 -
Fuck you stupid cunt!!!! If your fucking project depends on empty folder structure just put a fucking gitignore file on it so I don't have to waste all fucking day debugging your tasteless spaghetti to figure out that you download files to an empty folder that git clone doesn't create.3
-
I sometimes remember the time when I wrote a Email-inbox-exporter-PHP-script-type of application that collects all the emails from an inbox, "copied" it to a database with the attachements and stuff and moves it to a folder..
I just started at the company for like a couple of months, had no privileges to create mailboxes and such and I didn't want to interrupt our programmer to do this for me, so... I decided.. to save time and resources.. to test run it on our global, live 'support' mailbox.. :D Well.. You might guess what happened.. Apparently I mistyped the name of the move-destination folder (because imap-weird-things) that resulted in a completly empty mailbox and an empty database because the inserts failed due to bad encoding and mime-type issues..
The moment I refreshed my Outlook and noticed that all our mails where gone.. I swear, I can't describe that feeling of fear, cold sweat, intense heartbeat... I just stood up, asked if anyone wanted coffee, and just walked out of the office.. When in the hallway, I heard my collegues ask to one another "do you have any issues with outlook, all my mails are gone?". Everyone was stressing out, the chief was stressing out "what happened?!", nobody knew what happened.. :D
They could partially resolve it via one collegue who hadn't refreshed the mailbox and he could forward all the mails back to our support mailbox..
I dropped the project idea and learned to work with dev environments :D A couple of months later, I accidentially forgot a where condition in my SQL UPDATE statement, but that was the last time I seriously f*cked up.. :D Got to learn the hard way I guess.. Now everything I do runs in dev environments, I test everything before publishing,.. When I look back.. I don't even recognize the (inexperienced) guy I was back then ! :D
Ps. No one still knows what happened that day and they blamed it on server issues :Dundefined learned from my mistakes sorry collegues fucked up live testing fml inexperienced empty mailbox3 -
Taking a dump and showering are my number one non dev activities. They help to clear your head and when your head is empty you will get the best ideas and solutions.4
-
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 -
A Java, Python, and C++ programmer are shown a glass that is half-full.
Java programmer - This glass is half-full.
Python programmer - This glass is half-empty.
C++ programmer - This glass is twice as large as necessary.11 -
College student.
Had Computer Graphics project to complete with OpenGL and C🙄
Night before submission * eyes are drooping*
How to stop the transition of the character?
Solution: Write an empty function.
😎 Problem solved.7 -
When I was wading through some ancient scripts of my company forefathers, I found the empty shells of long forgotten codes, forever trapped in the bowels of this system.
Sometimes they are called, but nothing ever happens. pretty spooky3 -
Biggest? I want to create a full epic single player RPG that connects the players to the characters and leaves them with that empty feeling after they’ve finished it because the game was that damn good.3
-
Some guy in my programming class just made a bunch of commits with only empty lines and a picture of Kim Jong-un...3
-
Who the hell decided to put 'null' in JavaScript when there is already an 'undefined'
...😤😡...
Like one empty value isn't enough24 -
That empty feeling when a project is about to be completed...like you have to give away a pet you've grown attached to...7
-
When you have to take a rest cause you're tired & exhausted after a day of coding..
..but your code is not done and you feel empty and you feel like a failure..3 -
It's Friday folks and my huge bag of enthusiasm for work has just been found empty. Have a great day
-
My headphones just died because the battery is empty!
Not a good start!
I forgot the cable at home!
Bye bye peace, productivity, and focus6 -
what was the first Rant in devrant? 🤔
I mean, how the first user(s) was convinced to use devrant if he opens it and finds the timeline empty?11 -
Better late than never. 3 monitors for my pc, 1 for the Mac mini.
@localhost I finally cleaned up the empty beer bottles and soda cans, so... lol8 -
tar -zvcf folder just gave me the error message:
"tar: Cowardly refusing to create an empty archive"2 -
I once saw this comment inside two embedded empty loop :
// WHY, OH GOD WHY!
Turns out somebody deleted the content but not the loop. The next dev added the comment but kept the loop. -
Sweet mother of unlogical fucking gods.
How does this even make sense
😩🔫
<aura:if isTrue=“{!not(empty(v.errorMessage))}”>
<div>{!v.errorMessage}</div>
</aura:if>
Ps: the ! Does not mean “not” 🤪1 -
My face when some kid on the tram sits right next to you, although 90% of the seats are empty, and then begins to excessively stalk your phone whilst surfing on Facebook and devrant.
Get off, kiddo 😐3 -
So apparently, when you wipe the empty space on your hard drive under windows it fucking deletes the grub from that disk as well.
Thank you CCleaner you can go fuck yourself!5 -
I'll never ever understand how my boss always ends up doing this kind of bullshit
This is production code, there won't ever be anything in there, NEVER9 -
"Why is the production database empty?"
Obviously, we had backups, but using the situation to make my employer shit his pants were funny. And yes, I'm still there5 -
I'm currently traveling to Austria for 11 hours, my laptops battery is empty and this godforsaken train has no power source whatsoever.
I have to finish a project
fml5 -
Well i was between jobs at the time, looking for something, anything to fill in the black hole being created in my wallet.
I applied online though this company’s website and within 20 minutes was on a phone interview setting up a face to face, this was Monday afternoon.
I went in on the Wednesday morning with the manager, no cv, no resume, no examples of work, we talked, did a couple of brain teaser questions and Friday morning I had the job 😂
I have never put so little effort into getting a job before but it was all a sham, the workload and requirements this job constantly sets out to kill me with are godly.
3 years later I’m still alive ( somehow ), and no blood has been shed.... yet. -
Really now?
AWS, #1 cloud provider with their #1 cloud database DynamoDB, all shiny, highly dynamic NoSQL, your data schema could change any second...
then DynamoDB errors out when one of your values is an empty string? {"foo":""} is impossible to store?
Like nobody ever saw or used empty strings a a value or what? There are tons of upvotes to fix this.
I just have to imagine the Product owner standing there: "No,no,no. They are just using it wrong if their data has empty strings as value. Won't fix!"4 -
He took everything home that he took from home to create a workplace form himself... man the office was empty when he was done...1
-
try {
boolean isOk = meetTheGirl("Anna");
if (isOk) {
kiss();
goHomeAndProgram();
}
else {
cry();
goHomeAndProgram();
nextDay();
pickUpAGirl();
}
} catch (Exception e) {
//I don't know. My life is so empty
}7 -
I once spotted this in our PHP code:
if (!empty("literal string")) { ... }
How did that even passed the code review process still remains a mystery.1 -
Had to integrate legacy code into the new framework.
Me: Where does the virtual sensor come from?
Colleague: It's in the docs.
Me: That step is not in the docs.
Colleague: It is, look into the file $FILE.
Me: Yeah, it's empty :D
Colleague: Nope, it's not.
Me: See, empty (pointing to laptop screen)
Colleague: Why is it empty? (keyboard typing...) Damnit, too many git remotes in my repo :D -
Sitting 10 min+ to understand why the pagination comes up empty when results per page is increased...
Then in the url i relises that "...?page=2" ☺️
Happy Monday everyone! -
Previous intern had a bad habit of living empty catch blocks...
It's like he had some mommy issues.
It's like handing an empty first aid box to guy.
"You know what I am gonna do, leave empty catch every where just to fuck with the next guy...Ha...Ha..."1 -
Got the stikers today, and realized that most of the space in my laptop is empty. How can i get some more stickers to fill the voids.7
-
Roses are red
Exceptions are blue
Empty catch blocks are going to hurt you!
try
{ somethingVeryDangerous() }
catch { // No Op
}
finally { SaveFile() }1 -
Instructions on how to become suicidal:
- Create an API controller for the /file/ path
- Add an empty endpoint for POST /file/upload (will write it later!)
- Forget about this endpoint at some point
- Later, create a page for /file/upload
- GET /file/upload returns page
- POST /file/upload returns empty 200
Pure psychological horror for like an hour Googling why the fuck my razor page is returning empty responses and my breakpoint on OnPost is not fucking hitting even if I copy and paste example code from the ms website
Oh yeah, that controller.5 -
Great... Now I'm beginning to get empty Facebook notifications. Time to uninstall I guess, because this is fucking annoying!6
-
My senior just created this beauty of an API...
Mixing undefined/null values with empty strings & random hyphens for other variables. And the phone number not following standarised notation (we are a telephone provider)6 -
In our databases lesson, we are going to use Microsoft SQL Server throughout the year.
This shit's setup fails at random, doesn't even start (empty error box??????) on some machines, and when it, uh, works, kinda, it's a convoluted mess.
Help.9 -
Today, I was so certain that all the functionalities were implemented to handle some webhook calls from a third-party service. It's a script I wrote that has been running for 2+ years uninterrupted or without any issues.
We got some "complaints/notices" today that some "special" actions weren't registered, so I thought that the third-party service just didn't send those actions via their webhook. After some research I found a part where they explained that those actions trigger the webhook like any other action etc. So..
First thought: "okay, maybe they implemented that at a later stage" (was not the case)
Second thought: "maybe this is not what the client meant" (it was)
Third thought: "Then it should have been implemented" (it wasn't)
Okay, time to look at the code to see where this could get handled but apparently isn't. All the actions look good, nice, clean handeling etc, nicely documented code (gave the 'past-me' mentally a high-five)..
I scroll further down to that specific action and it was quiet obvious why it didn't work.. I just see an empty function with the comment:
"//TODO: maybe handle this action one day. don't know what this does atm, probably unused.. Will take a look at it next week.."
.. :D
I took my 'high-five' back..I just needed to copy-paste some other code and change 1-2 parameters..1 -
Messing with HTML/CSS for the first time. Gonna have a dropdown menu where it's empty in the header. JS(Jquery) will be used.7
-
I wrote a program to check if there are empty rooms and email me when the room I want is empty.
So I ran it, and I got the email, But by the time I went to the info desk, that room was taken.
I don’t know why I wrote that program wasting except to waste my time.3 -
This is the funniest fucking IT meme I’ve ever seen. It’s on par with that meme where anon gets hired to Pulseaudio, and the whole dialog is just empty speech bubbles2
-
dev goals? get shit done!
I have this common illness among devs:
I start projects and never really finish them.
Hate that. Feels so empty.
So this year I finally want to get shit done.4 -
NullDeveloperException : When the coffee pot is empty and developer is not set to an instance of an object anymore.
Productivity.dispose();3 -
A project at work which is based on blindly copying other projects, empty catch clauses, a static class for global variables, and incompetence.1
-
A piece of code someone just pushed:
In pseudocode
------------------------
Function foo()
Result = GetFoo()
If result != null
DoStuff()
Return result
Else
Result = null
--------------------------
Ffs.
It's written in a strongly typed language, and the whole function is in a try with an empty catch and inside yet another try with an empty catch. Guess he wanted to be sure no error got away....
Oh, and he has 9 years of experience, and since all paths don't return something it does not compile12 -
well it's now 24 hours I didn't touch my PC.. not touching keyboard for this long.. it feels so empty..1
-
To be fair, it's not really unprofessional. But two weeks ago we recorded a theme song for our company in an empty office room. Though I shouldn't complain, I love doing those kinda things :)1
-
i nearly had a panic attack when 3 tables contaning transactions shows empty,. then i reconnected dbeaver and it turns out it was fine,. damn my shitty internet!
-
Had a guy put in a pull request with an empty file diff. He comes by two weeks later and asks when am I going to have time to review it.
-
there's a special place for people who write empty catch blocks INTENTIONALLY ..
try{
... do something that may produce NPE;
} catch {Exception fuckYou){
// go die in a fire
}3 -
Has anyone ever wanted to be ignored? Like talking to an empty void, not wanting a response? Just want to be alone?11
-
ATT: Stinking maggot who's trying to break into my website!
There are no users on my website. Not even an administrator. wp_admin is empty. Best of luck!19 -
Uh yeah, the internet connection was dropped for a second while saving an edit of a comment. So I know why it "Whoops"'d.
Android 7.1.2.1 -
Trying to work with an API that has no response object (it just returns empty arrays if something breaks) and it's JSON is not key-value.. just a bunch of dynamic nested values. just wow.3
-
I won a Site of the day award on css winner today. I was happy for a minut and now i feel like shit. Acheving goals makes me feel empty. I hate my brain.5
-
I drink a lot and of water so I always have two glasses by my bedside -
A full one in case I get thirsty and an empty one in case I don't... -
"Your disk is almost full..." Hmmm... I can't deal with this right now - so I search for npm_modules and just delete all of those folders... 5 minutes later - trash is empty... and the disk is not almost full.1
-
I was just removing empty folders from my MOTO X (Devs sometimes get time to kill).
Saw an empty folder "/storage/emulated/0/"
...DELETED...
~Everything has gone from my gallery, music and I felt like sinking~
Sometimes I think, it is good not being an Android Developer...(Unfortunately I'am)
The positive part of the story:
>>fastboot OEM unlock
I rooted my phone and did too many crazy things I could do with a rooted phone.2 -
I spend so much time debugging because the previous developer has empty catch blocks everywhere in the code base.
-
~# mkdir certs
~# openssl req -newkey.......
*checked certs dir*
hmm.. empty?
*generated certs again*
Certs dir still empty. Reverted to Google for answers. None found. I was using FileZilla to check the Certs directory.
15 minutes and a million tries late, I realized that I forgot to CD into the Certs directory...............2 -
"There is nothing to dismiss!" - modal error message after clicking "dismiss all notifications" button over an empty notification list.4
-
PSA: If you need to make dummy commits to trigger a pipeline for test purposes, please just use --allow-empty and make an empty one. Don't just add random newlines back and forth in stupid places.6
-
At the office at 7am when no one is around. It's huge, open, and empty, with that classic morning peace-and-quiet vibe. Lasts about 2 hours
-
My setup, featuring multiple empty mountain dew bottles and an overabundance of Chrome extensions. Luckily I'll be upgrading to a Mac in only 5 days!
(I'm a college student; all I can afford is simplicity)6 -
Something I came across recently
"Without requirements or design, programming is the art of adding bugs to an empty text file." -- Louis Srygley1 -
Why does a "senior" developer have a git repo for a critical application that makes our company money, never push to it? I checked it today and it's empty.4
-
I've converted an empty bedroom in my house into an office and close the door when i code. when i finally leave my dungeon, my dogs are always laying down in front of the door, tails all a'waggin.2
-
My friend starts every program by adding some¹ empty lines in the Main function, 'couse "I need space where I can work". I can't understand him.
¹ = At least 30 extra lines.5 -
To the people who empty the coffee pots in the break room without remaking, may you get an extra nasty defect for each time you commit this heinous crime.
-
Totally didn't know today's a bank holiday . No one's in... Today 😅 ooops
What fun can you have in a huge empty building 🤔10 -
Latex, can you for once be nice and not fuck up my images, please?
Can you stop pushing this image which you clearly have enough space for to the next page and leave the previous page completely empty??9 -
Initialize List ✔️
Initialize and hydrate DTO ✔️
Forget to add DTO to List and wonder why my list is returning empty?
Every fucking time!2 -
Well Argos, you now know what bad developers + Java can bring you. An out of bounds on an empty array -.^
Good job guys. Really, well done! -
so now they've got me taking aptitude tests
like a little lab rat 🐁
🤡
tune in next week to find out my next foray in the idiotic hiring slop world of death3 -
When you are italian but you want a laptop with a US keyboard....
... all the shop online (with less than 10€ of shipping cost) become empty.
Fuck.10 -
Huh? GitHub just added an empty column to my project with an empty item I can't remove, reloading doesn't fix it.
( ་ − ་ ) 'You can't see this item'6 -
Opened my PC today...found my local disk empty...170gigs of data lost...
Feel like crying...hope Recuva works3 -
You know how a normal developer will start writing a program, and then take the big pieces and split/refactor it; move hard coded things into functions that take arguments, and cleaning up along the way?
Our manager makes a tons of empty files, and empty directories, with how he thinks he wants to build something, and checks them all in. Tons of .gitkeep files in empty directories, blank Jenkinsfile, Dockerfile that doesn't build.
When he makes wiki documentation, there are tons of subsections, all of which are links to pages with "TODO" in them.
Dear god stop it you asshat! Stop making tons of empty files and pages. Write the thing in one chunk and then split it as needed like someone who actually knows how to engineer software!1 -
Why do text editors have to add an empty line at the end of files? It is making me and my C++ programs confused!7
-
When you give your self a mini heart attack by knocking over an empty water cup while coding.
I can't count how many times I have done this over the years.2 -
Open folder in Windows Explorer.
Right click empty space, then click "Open with Code."
Awesome!
VS Code keeps amazing me.3 -
Can someone please read this article and sanity check me that it makes sense outside of my head and I’m not actively putting garbage out into the world?
https://amyshackles.codes/why-is-em...
I would greatly appreciate it.15 -
When you've found an old empty method with a comment on top of it specifying by a previous fellow that will be great to actually do it...2
-
A programmer puts two glasses on his bedside table before going to sleep. A full one, in case he gets thirsty, and an empty one, in case he doesn’t.5
-
As a programmer, I puts two glasses on my bedside table before going to sleep. A full one, in case I gets thirsty, and an empty one, in case I don’t.
-
Nothing beats beeing allowed to pick when i come in for work. Also today is pretty chill. Building is halv empty and i only have to write a lil documentation for kubernetes :D
-
After 30 minutes of trying to figure out why a guid is empty, I realize it's because it is initialized, but not assigned.
I'm not ready for Monday. -
you know that you have a second chance in your life,
when a redbull can fall on your keyboard😫 but the can is empty😥.
saving ~150$2 -
Why is Google so annoying? Download the latest version of Android Studio,, create an empty application from their template, build the empty APK and try to upload it to Google Play. Turns out the template for new app in Android Studio is set to use Experimental SDK, not accepted by Play Console.
Am I the only one who thinks this is dumb and left hand needs to talk to right hand?3 -
Since my ISP doesn't allow port forwards on that port, does anyone want to open their port 445 (if not otherwise occupied by Microsoft-DS) and have netcat reply an empty string or so any request (such as an empty string) sent over TCP (or has anyone already done so)? It would help me out a lot with testing out some networks full port range (since portquiz.net's hoster blocks that port) and would take close to no bandwidth for you.6
-
16 files (!) to create a rest endpoint that does nothing (returns an empty wrapper message).
WTF spryker? are you fucking kidding me?5 -
man, those hours.... some god, please kill the bastard responsible for this shit...
(
in the picture is like:
weight: beautician
occupation: "" --empty string
)1 -
A programmer puts two glasses on their bedside table before going to sleep. A full one, in case they gets thirsty, and an empty one, in case they don’t.2
-
!rant
How do you find inspiration for hobby projects? I'd really love to do more programming in my spare time. My head is empty for ideas and hungry for problems to solve.13 -
TFW you learn that trim(null) equals empty string in PHP.
I´m starting to understand why people seem to dislike PHP.6 -
I saw multiple attempts to convert an int to a String by concatenating it with an empty String...
String s = someInt +"";
(I'm guessing the compiler uses a StringBuilder here which still ends up calling Integer.toString())2 -
Oh Shit! Here we go again!
print(request_permissions)
>> [ ]
if request_permissions:
//some if shit
else:
raise 404
It was supposed to raise 404 for empty array, but continue to exit if.
Me: What the fuck?
**printing request POST data**
**empty, nothing wrong here**
**double checked print statement output**
** still printing [ ] **
**restart server and again checking print statement**
**still same**
Getting mad over myself, for failing to debug simple if else.
Wait....
print(type(request_permissions))
>> <class 'str'>
Me: What the actual fuck??
Fucker literally dumped empty array to JSON causing array to convert into string "[ ]" and still using if else based on array instead of string length.
Thanks to our Product Manager who approved our request to revamp this part of code and also revamping the whole shitty project developed by 3rd party in upcoming quarter.22 -
Please give us back the simple linefeed.
There is a huge difference between just starting the next sentence on a new line and having it seperated by an empty line.1 -
Cocktail recipes list:
1. "Google's Ethics"
Take an empty glass
Add nothing
Cocktail is ready!
This cocktail is also known as "CPP – The Good Part", "Jumble Function Security" and "The Profit of Unit Testing".6 -
Oops! I did it again. Shredded the brain trying to debug my code. Now, my head is empty with a totally unrelated issue I need an answer to. What happens when one travels faster than light? Uuuurgh!2
-
Google cloud servers got knocked out and now snapchat died too because they depend on goovle cloud servers
I hVe never felt so empty and lonely without snapchat
☠️☠️☠️14 -
People who use ambiguous date formats should be left alone in an almost empty sewage tanker with a horny orangutan.3
-
Always remember to "git submodule update", I spent ages debugging a build today because the build system's submodule directory was empty.
-
Imagine an annual $50k+ enterprise software package that didn't distinguish between a null and an empty string in valuing critical data. Not noticed for years - wtf?3
-
For everyone who is having a busy week, just remember the few moments you get with an empty to do folder7
-
I am fucking dumb, why I've created an empty project to implement the new feature instead of making a fucking local branch. Now I need to merge this shit manually. fuck fuck fuck5
-
$arr_x = null;
if((!empty($str_x)) AND ((is_array($str_x) OR is_numeric($str_x)) {
$arr_x = (((is_array($str_x)) ? $str_x : explode('|', $str_x));
}15 -
So my computer crashed while I was coding in eclipse. I turn it on and the class I was working on is absolutely empty, only one empty line
It wasn't a big class, but that still hurts2 -
Without requirements or design, programming is the art of adding bugs to an empty text file ;)......!
-
My manager committed an empty Jenkinsfile on his project (he loves committing empty files or docs with words "TODO" in them). I decided to add the project to Jenkins so at least he sees a red X and failed build on ever branch .... green check? An empty Jenkinsfile is a valid Jenkinsfile?! Damn it Jenkins!2
-
Few years ago I was looking at legacy code that was developed by offshore team (what could go wrong,right) and I see small utility method that looks like this:
public boolean isEmptyNotEmpty(String s) {
boolean empty=false;
If(s==null) {
empty =true;
}
If(s.equals("")) {
empty = true;
}
return empty;
}
Thinking in myself: was he/she paid per line the line of code??!?!
Up to this date that was the worst part of the code that I encountered....2 -
If you don't have an empty can of fizzy water or a half-empty company water bottle next to you, are you really in the zone?3
-
When I was making 3d floor planner I needed to cut holes in walls to make doorways. I couldn’t use 3d model of hole cause there isn’t 3d model of empty space and the hole itself required to be with adjustable size so I hacked backend model of door to add some data with empty 3d model and stored all of the positions instead to load that and cut those holes on walls manually.
So it become door without door model. Doorway.
It worked like a charm. -
Last rant update:
I won't have to take a leave after all and won't have to force myself to a wasted day full of useless awkward interactions or roaming around in a park.
Phew! -
"Microsoft Excel interprets a blank cell as zero, and not as empty or blank."
blank != blank
official: https://support.microsoft.com/en-us...
Thanks MS2 -
I just noticed that when my wife fills the dishwasher, she always leaves empty the space between the border and the first support for the dishes.
I'm starting to be afraid that she might also believe that arrays start at 1...1 -
Hi guys, here you are a link to a spotify list named devRant, it´s colaborative, right now it´s empty so we can full it of songs that make coding ez.
https://open.spotify.com/user/...2 -
I just found a 4-level nested switch case in our code base.
and the best part .. they are all empty!! -
Cup Noodles, they are a saviour when you want to finish something but are unable to since your stomach is empty
-
Having a method that is only called at one place is ok, if you want to tidy your code (except that that hope is long lost in this project). But if that method usually returns an array, except if it's an empty array, then it returns null, but at the only call location you handle that null case specifically to act just like it would if you just had returned that empty array in the first place, then I ask myself: Why separate that?2
-
/dev/null is like a black hole. You know it exists, but you cannot communicate with it. It has no output, only input. It swallows all data it can possibly get and nobody knows what it looks inside.4
-
An optimist says: "the glass is half full."
A pessimist says: "the glass is half empty."
A programmer says: "the glass is twice as large as necessary."10 -
when that time comes, and I have an empty queue, I'll spend the day on desktop doing: right click - refresh..
it's been a while since checked what my background looks like!1 -
when i brought the vive home the wife was all, meah😒, at first then, 😲 oh my goodness this is the halo deck, our future is an empty room with vr goggles.
-
My manager put "Architecture Diagram" onto my list of tasks. "Do you have a diagram"? came up in our last call.
No, I don't have a diagram like your useless block diagram that shows nothing of what we've done. Instead I have a ton of wiki pages, real documentation, READMEs in each git repo that are detailed and complete, unless you're repos of empty directories, `.keep` files, empty READMEs and blank "TODO" wiki pages!6 -
Working for the wrong manager in the wrong company at the wrong time;
This shit will rip off all your energy to code, no matter how crazy you are about it.
I did, and I am empty now.3 -
One of ur staff writes email body as subject and the body is always empty or her signature. Give a reason why I shouldn't kill myself.1
-
in other news, i'm in a group of like 5 devs out of a thousand who actually have something to show for this hacking project that's been going on for two weeks now
most "project" links lead to empty github repos, half assed repos, or cloned repo templates / empty / useless READMEs
wouldn't be surprised if i see a fork of bitcoin submitted soon
oh wait that's litecoin
but, fake it till you make right?
🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡🤡 -
ERRORS: HAIR JAM. COLOR-SAFE CONDITIONER CARTRIDGE RUNNING LOW. LEGAL-SIZE HAIR TRAY EMPTY, USING LETTER-SIZE HAIR ONLY.
-
When you spend a couple days cleaning up and refactoring a bunch of classes, then someone else comes in and places needless and empty return's at the end of every method 😒🔫
-
Did some webdesign, not sure yet of how I want to continue, navbar is done & responsive, so that's something. The hero banner looks kinda empty though... What do you folks think of it ?5
-
Been to the CeBIT.
Its so sad to see what happened to this event.
In the past it was crowded with people.
Now many halls are empty.
I think they will give up in some years.9 -
I feel dirty for putting an empty .ts file just so VSCode would stop complaining about my tsconfig file that I created so Vetur would stop complaining about not having one. I didn't need any of that.6
-
Ticket: implement compression algorithm to crypto object x
Details: object to big, we must devise a way to compress it. A deflate algorithm should be added here, yada yada yada we did not have the time Yara yada...
Go see crypto provider's documentation... It has compression options... -_-
You lazy fucking stack overflow copy question dimwits!!! Jesus fucking Christ! This reached production like this shit, I've got clients complaining of the size of the payload because you are a bunch of lazy fucks who can't even read simple documentation!!!
I want to kill someone for wasting my time and patience... Don't call me for this kind of crap... I have better things to do!
I mean, the time it took you to write the ticket should suffice... -
I just nuked my LinkedIn profile... Now it's an empty dessert.
That should keep the recruiters away!
Shoulda thought of that before I changed my email to a thruway one though...11 -
I displayed "score: 0" on the dashboard and on the review list, tester noted it as a bug stating; it should have been "score: 0.0" and not "score: 0" because the score is precision based.
You can say this is a half cup full and half cup empty scenario but I will call this silly cup full and brain cup empty!3 -
That moment when your laptop is empty and ugly and your trying to get stickers. Well... here im am asking for likes to get those awesome devrant stickers! 😃1
-
Why the response to a SOAP request is a HTTP error?
It took me half an hour to find the reason of an empty response.1 -
does devrant app on Android have some issue with images?
I see empty block on each image, and I have really good internet connection9 -
Staring at a dozen cognito errors, spending two days sifting through AWS, only to find that the test DB is fucking empty...1
-
Having an argument about "empty" function in php.
someone told me that we shouldn't use this function because this is deprecated and doesn't work on php 5.3.
He has this opinion because once we took a site live and there few conditions broke. And they were like this " if ( empty($this->input->post())"
While I was trying to tell basically it wasn't empty fault I used it wrong, because the docs says nor its deprecated neither it'll break if we just use variables in it and not functions.
Argument ends up in "not getting any reply" :/ -
I need to know, supposing where you work has an empty remote position, will your company hire devs from Iran?30
-
When the previous dev's function returns null instead of an empty list when no results were found. Why?!
-
This guy keeps insisting there’s a bug in my code, on a specific line. The stack trace shows that a NPE is thrown in his code, before that line is reached, but he won’t be persuaded by this argument and won’t send me the class.
Somehow he’s certain that Java would throw a NPE on trying to iterate through an empty list, as if his code was even returning an empty list. Can you imagine the chaos.1 -
Comment introduced by a commit 3 years ago before an empty function:
```
%% TODO determine if there needs to be something here or if this can be removed
```4 -
Where to start, maybe from string.
Empty string conditions and string comparison.
if “”: - python
“” == false - javascript
.equals() - java1 -
Unpopular Opinion Time: I actually prefer the "empty" colored dot for an avatar over the customized profile characters. Anyone else?3
-
Coding sunday morning => NO
Thought nearly 10 minutes why page is Empty. HAHAHHAHAHAH
Threw an NotYetCoffeeException
ViewBag.ImageSize = 368;
switch (Sitecore.Context.Device.DisplayName)
{
case "Tablet":
ViewBag.ImageSize = 343;
return;
} -
What RSS feeds are you guys subscribed to? My reader is so damn empty all the time. Preferrably CyberSec and Linux related (English or German).
I'm currently subscribed to Heise Security (German), Hacker News, NixCraft and Linux Journal2 -
Open file with Atom on remote server via FTP.
Edit at will, hit save and BOOM. Now you have an empty file. -
Beware of Open XChange web mail client! It's so utterly buggy that when you empty the deleted mail folder, you lose all newly created folders as well...along with any of their content. INCREDIBLE CRAP!2
-
Stop going to the bathroom to chill and use your phone for hours and let the people that actually have to drop a deuce in! Had to go floor to floor to actually find a friggen empty stall!1
-
Remember fellow web developers, always use an empty object as the first argument with Object.assign(). Totally forgot that tidbit and caused myself a quite qvoidable yet well deserved headache 😳😢
-
Trying to delete a text field in a WYSIWYG Low-/No-Code Page Builder for WordPress...
"Notice: You cant' save an empty text field." - only Button: "Ok fine!"
Parody? Usability?3 -
For a moment I thought devrant went down or the DB got wiped. Opened the app fine, but the feeds and notification tabs were empty... For like 5s2
-
Internationalization be like:
Yo dawg, look, you can use mutliple languages now!
Suddenly gettext won't find any language files and every string is empty ;_;
WHY HAVE YOU FORSAKEN ME GNU?!1 -
Metatrader 5 mql editor idiots. I have made changes, saved file and it is empty. I can only undo changes, which makes it become as it was before changes. Fucking idiots.
Later I see when I open the file from windows browser in notepad++ - tthe changes exists. What a fuck bullshit. So at least they exists but idiots show same file in metaeditor with old changes after undo or empty if not undo. -
I thought the ReadMe file on git was for how to use someone's source code. why I find most of them empty!! 👊 😉 others jst have -----###2
-
How my family thinks websites are made:
"I need a website with a good theme with a community and blog system".
Reality:
PHP Warning: Creating default object from empty value in ...
PHP Fatal error: Call to undefined method stdClass::bar() in ...2 -
This is pretty cool. IDK when this was changed, but if you disable all toolbars in Visual Studio, the Send Feedback button won't take up an empty line anymore.3
-
At workplace we work on other branches than master and I hate my empty contribution graph on Github :(
-
When your car got empty battery and won't start in a mall parking lot. This is life. I will buy an extra battery next time and study on how to install it myself.
-
Git starts merging changes to your private personal repository is scarier than seeing someone else in the mirror in the empty room
-
I hacked Youtube. Here is all source code:
views = 0
if user.launch_youtubebe == True:
while user.internet=="connected" and user.battery != "empty":
user.exit_youtube_permission = "deny"
if user.clicked.on_a_video:
views +=1
play_video()
next=recommend_another_20(on_a_video)
if video.end==True:
play(next)4 -
When you've been handling multiple production defects and software PMR tickets for the last couple of months and the morning of a new sprint your JIRA/SCRUM/Kanban/task/whatever board is empty under your name. Feels good man.
-
excel just apply my formula to rows without empty data
yes i know there's over 100 thousand rows
pls1 -
Rendering a html page which if fully populated with code and markup....fire up dev server, navigate to route and dang.....page is empty and can't see WTF!!! is wrong7
-
I found a empty space (placeholder for foobar) while searching on Google :/ was expecting to get real one, refreshed it multiple times inspected elements tried to just display:block it but no luck.
I want to go to Google :'(5 -
Just wondering any of you has seen automated tests in a CI machine? Theyre not reliable enough to be running all the time because many times its just an empty error amd its tedious to investigate and wastes lots of time2
-
I’m so fucking bored..
we know there’s lots of requirements coming at some point and we’ll be as busy as it can get, but right now, we’re just sitting on our arses trying to find anything to do..
And working from home is not helping with the boredness.. -
what kind of amazes me is rather than force the world to be better someone has been actively forcing the world to be worse and more empty and evil.10
-
@dfox on the iOS app, when you're done editing your profile, it fails to reload the page, displaying an empty page as a result.1
-
My understand of null
0,empty = values explicitly set
Null = variable exists but it's still virgin.
Undefined = variable doesnot exists9 -
Why is my Spark Dataframe getting written as empty in the database table when deleting records? There’s no problem when inserting records, and I I have verified that my Spark Dataframe is not empty when trying to rewrite using Overwrite method. Then why is my whole table data getting deleted when I’m just trying to remove a few records using left_anti join?1
-
so.
i had a stupid idea that'd let me do a project i had planned and abandoned a while back after getting experience with the new project.
problem: detect and manage empty space in a massive file, allow adding data to those empty spaces from files, and fill in a table in a designated empty space with where dynamically-loaded things are. In Python.
I tried JUST detecting empty space, and Python would break out of loops for no reason at all just at random. "run bottom to top through this file until a non-00h byte is found" would either break out of the loop way earlier than should be possible (8 or 9 bytes into a 32KB empty file) or run way into non-zerofill areas before breaking the loop.
Am I just retarded? Is this more Python conditional fuckery? i'm so lost that it's just on hold for now (and i think i lost that script too) -
So I've been waiting for almost a year to find a root method for galaxy s8 g950u (snapdragon) that doesnt have terrible limitations like only 80% battery life and others. I love Samsung but I miss root :(
-
"Do you think advertisement can sell if nobody can read it? You cannot save souls in an empty church." - David Ogilvy1
-
The amount of meetings i had today is insane. We are discussing which text should be a label and which should be a header.
The good news is that i didn’t have competely empty batteries in my headset! -
Maybe if I try to have a conversation with someone I won’t immediately regret it
You know just for something to keep me busy or something new ., sort of
They’re pretty boring creepy and empty headed -
The only commit in a repo without revision is the firt one!
And that one adds a barely empty README file!!1 -
"Thirty spokes meet in the hub,
but the empty space between them
is the essence of the wheel." - Lao Tse -
You know a good place to get stickers for my laptop?
Stickers like ubuntu, kubuntu, PHP, CSS, python and so on4 -
tmw you reach page 20 on Google just to find out how to make a fucking tar without this stupid "./" appended to the front of every file (and without that retarded empty dir that's literally just called ".")
-
<quote>
EmptyCollection
struct EmptyCollection<Element>
A collection whose element type is Element but that is always empty.
</quote>
SwiftDoc.org is pure gold.