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 - "checks"
-
My 9 year old son checks out the source code of every website he visits. If he finds something he doesn't understand, he bounces it off me. I love the snot outta that kid ❤️❤️❤️.20
-
Had to debug an issue,
*ssh user@domain*
"some wild network connection issue"
*hmm weird.. *
*checks everything again*
*hmm seems alright.. *
*tries again*
*same damn error*
*ssh -v user@domain*
*syntax error thingy on the -v part*
😮
*messages co-worker asking what the fuck could be giving on*
"ey mate check your aliases 😂"
*alias"
"alias ssh="echo {insert network connection issue"*
*loud laughing from the co-worker I messaged*
MOTHERFUCKER 😆15 -
Was doing some work on a server today and removing loads of stuff.
rm -rf file1
Etc
Etc
Etc
Went into another directory with very important data. Wanted to do ls -la but my fingers went:
rm -rf ./
.
.
*1 milisecond later*
😶
FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
*VIGOROUSLY CHECKS FILES*
Everything still there 😅29 -
CS teacher tip of the day:
server side input checks and sanitization are always useless. because nowdays all browsers have javascript enabled by default and nobody disables it. so client-side checks are safe.
me: ***WTF!?!***11 -
*random person stars my repo on Github*
Me: Fuck yes give me those stars!
*checks user's profile, has starred 40k repositories*
Me: Take that star back you whore.9 -
Client: you never sent an email!! What am i paying you for!!
Me: *checks freshsales, sees he's ACTUALLY OPENED THE EMAIL* sir we're sure we've sent you an email.
*Argumen goes on for a while*
Me: *pissed, sends freshsales screenshot that he's opened it* have you or have you not opened this email on your account ****@**.com?
Client: oh on that account? Ok.3 -
The typical devRanter
1. Uses dark theme of IDE and devRant app
2. Hates his/her clients
3. Likes Arch based distros
4. Checks his/her ++'s count or notifications after publishing a rant
5. Hates facebook
6. Associate the morning with a cup of coffee
7. Can't do any job when there are no headphones
8. iPhone vs Android? - fuck, they both are good/bad
9. Every time googles git command to remove a local branch
10. The best VCS is git, but I never used any other VCS22 -
passionately making love on Friday morning.
Cellphone buzzes for WhatsApp notification, ignored.
Call ignored, SMS ignored, again call, ignored.
She : whose that bitch calling you?
Me : it's no one important.
She : Checks WhatsApp, message from CTO, server crashed.
Me : Umm, darling, I need to fix this.
It's been 2 days she hasn't answered my call after she left.15 -
So in Telegram there is this funny little game called Lumberjack where you need to click left and right to cut the branches. My and my fellow students played this in the group. Then I got bored for like 30 minutes and decided to write a little bot which checks where the branches are with pixel detection and sends a left/right click to the window. Imagine my friends faces when all of sudden my score was 500+ and the character ran through this like a fucking jackhammer :D
#justmebeingaprogrammer17 -
Is it just me or am I the only one who gets pissed if someone checks the expected result of a variable first?
For example:
if(true === $var)
Instead of:
if($var === true)19 -
*someone ++'d your rant*
devRanter: "meh"
*someone commented on your rant*
devRanter: *Stops everything and checks*7 -
A guy who doesn't work on our project anymore, but still checks on us regularly just did this:
- reported a bug
- started explaining what's causing the issue
- realised the problem was in a piece of code written by him before
- fixed his own mistake, committed it and created a pull request
We all had a good laugh.6 -
On the first class of cryptography professor says, "Hackers are people who dropped out of school, didn't obey their parents and turned to drugs and alcohol and steal money from people by hacking their facebook."
Then goes on to say, "People tend to keep their birthdate as their debit card's PIN so hacker checks their facebook account, finds their birthdate and goes to ATM machine and hacks their bank account."
I was speechless.7 -
*spends 40 minutes modifying and remodifying algorithm*
*gets the same output*
....
*checks print statement*
print localVariable
*throws keyboard out the window*4 -
one of our computers at work suddenly shut down. our boss panicked like it was the end of the world cause he knew we couldnt buy a new one and we desperately need the computer. when i came in he started telling me he's gonna pay me extra if i fix the computer
me: *checks cpu and finds out it was unplugged* u sure bout that?
him: hell yea, id rather pay u that buy a new one
*30 mins later*
me: *plugs it back in and pushes power button* its done
>> guess who's got extra money without any extra efforts yay11 -
me: Better check my phone for texts from friends
me: *checks phone*
me: Better get some friends
* Few seconds later *
me: Better go back to terminal2 -
Here is my debugging buddy. Checks my code, and lands on the part of the screen where the error is. I'll feel bad when I kill him10
-
WTF your function takes in 12 parameters!!! Then it checks one and pass the rest to another function!!12
-
Me: ok fuck it, if the Mac mini gets refreshed I'm selling my desktop and getting one...
*Checks news and sees they got a refresh*
*Looks at cost to specs*
Me: ha... Ha... Ha... Nope...34 -
->Be me
-> Learns computer science
-> Be like above average in class
->"Let's take this to the next level"
->Joins hacker rank
->does the beginners problems.
->hmm that was easy af
->Checks the "easy" problems
->Go to a corner & cry. ;__;4 -
*starts coding by 7pm in the evening.
*remembers that he would soon have to go fetch something to eat but keeps on coding.
*tells himself he would get food by 10pm.
*checks the time - it's past 12am.
*codes all night long on an empty belly but doesn't care.10 -
* Updates and adds unit tests *
* Runs unit tests *
* All tests pass *
What the fuck? I'm not THAT good to write tests that pass on the first iteration.
* Runs unit tests *
* All tests pass *
Someting's not right here.
* Checks terminal *
FUCK I'm in the wrong project folder2 -
Pointy Haired Boss: "There's an issue with this simple bit of that service, could you take a look?"
Me: "Sure, give me a minute to investigate"
*A minute later*
Me: "No wonder there's a problem, this code is horrendous! What idiot wrote this unmaintainable crap?"
PHB: "Doesn't matter, just fix it, test it and release it."
Me: "I just want to check who did it, so they never touch our code again."
*Checks SVN log*
Me: "Well, I guess I can never touch our code again."2 -
Angry Client: All the data from this account is missing. I can't work like this with the app loosing data.
Me: Checks logs, see that client pressed the reset all data button and after that the confirmation button.
Me: As polite as possible informing the client what he did.
Client: Ooh yeah I did that.
It's sad that it has come to the point where you need logs on pressing buttons because they try to blame everything on the app.9 -
Manager: "Pls deploy the changes ASAP."
Me: "Right away."
Me: *creates pull request*
... 5min later ...
GitHub: "Some checks haven't completed yet."
... 45min later ...
GitHub: "Some checks haven't completed yet."
Me: *looks into delay*
CircleCI: "Partial System Outage"
——
(╯°□°)╯︵ ┻━┻2 -
*creates table in database*
*writes query to retrieve data*
*gets error and Google's problem for 2 hours but no luck*
*in frustration, takes a half hour break*
*checks database for set up issues*
*realizes that the database is the wrong fucking database*
*face palm & quits fucking life*
I make dumb fucking mistakes like this way too much5 -
"Please add a feature to check the user's internet connection before the application starts."
-- THIS IS A GOD DAMN WEB APPLICATION, YOU DUMB MORONS! Maybe I should add a feature next that checks for the user's computer being turned on or what? How about making sure the application isn't run when the power is out?!
Jesus fuck.14 -
Working on a funny/new api/service (will be a public one) and I'm only now realizing how important good security is but especially:
The amount of time that goes into securing an api/application is too goddamn high, I'm spending about 90 percent of my time on writing security checks 😅
Very much fun but the damn.31 -
!rant
*opens devRant*
*checks the profile*
*sees an 8digit number in ++*
*HOLY SHIT DUDE, DID I CROSS linuxxx ?*
*checks his profile*
*sad realisation that ++ are now binary*9 -
(I'm using Sennheiser bluetooth headphones)
Me: What device is that music coming from?
*checks desktop, nope*
*checks laptop, also nope*
*checks for phone, can't find phone*
*checks living room*
*checks bedroom*
*notices phone is in hand with google play music open*
Wireless headphones are weird. -
Was running tests on a big project I'm doing which still contains a fair amount of bugs but I was sure that all thresholds would succeed and the test wouldn't fire an alert.
Ran the test: alert received any fucking way.
FUCK.
*checks rule*
*waaaait a second, I've set the threshold differently by accident...*
HOLY SHIT THIS MEANS IT WORKS 😵
*pats project* - "good project 😊"1 -
Client: "I did not receive the email that should be send after that event. Please fix."
Me:
* Checks code - ok
* Tests feature in locally - ok
* Tests feature in production - ok
* checks values in database - ok
* 2 hours wasted - ok
"Please help me dear CTO, idk what else I could check or how I should even respond to this."
CTO: "hmm, the clients account uses a adminstrative email address for testing. Let me just check if it is in the mailbox."
*checks* "Yeah, that's the email you're looking for, right?"
Me: *experiences relief, anger, blood lust and disappointment at the same time* "Could you please respond to the client for me, I need a break. Thanks"3 -
*production is down*
Ops: At 5pm? On a Friday? *checks deploy history* God! Who did the deploy
Dev: It was a small patch, a tiny patch. It shouldn't have....
Ops: Deploy on a Friday evening?
Colleague: I didn't think it would...
Ops (on the outside) : *takes a deep breath* Its okay Dev, we can fix this. Don't worry
Me(in my mind) : for fuck sakes! Are you fucking kidding me?*** **** *** god damn it! *****9 -
Pretty new at the job still.
-”Hey, best practice to do X?”
”Just check how we did it in previous code”
*checks whole bloody project, everything done in 500 different ways by 20 people*
*selects what seems as the best solution already used*
”Ya, you should have done X like this instead”
😒6 -
Me: Enters SQL class
Prof: We will draw ERD diagram on awwapp
Me: (In my head - I hate ERD diagrams) start drawing the first ERD diagram
Prof: That diagram is wrong
Prof: opens SQL Activities_Solution.pdf on his PC
Me: Tried to change the file name on aws to get solution file - fail
Copy SQL Activities.pdf file url (https://url/courses/6429/...). Adds 1 to 1100726 = 1100727 and downloads SQL Activities_Solution.pdf
Open PDF in one tab and awwapp on another and just draw the solution
Prof: Are you sure this diagram is corect?
Me: (In my head - I copied the solution so yes) ...
Prof: Let me check the question
Me: (In my head - seriously? you don't know the answer)
Prof: Checks the correct answer on his PC and then checks the answer on my PC
Me: (In my head - completed another boring uni class) pack up and go home8 -
fuckpress.Pi
Yep, thata right. Fuck Wordpress Raspberry Pi. Thanks to my inability to interact with proton mail filtering I just made a script that checks for a new email and if it contains words "wordpress", "help", " hack", "build" and it is not from whitelisted contact, the email is moved to the Fuckpress folder and automatic reply is sent back that I AM NOT FUCKING DOING YOUR GAYPRESS FUCKING SHIT FOR YOUR 5$ CUNT.
rant over4 -
Running a script to do some checks on a list of Git repos.
One repo is taking ages to clone.
Take a look at the repo…
A 8 FUCKING GB VAGRANT DISK IMAGE IN IT.13 -
*dad's w10 computer running super slow*
*checks task manager*
100% disk usage
*checks whatever-the-advanced-system-monitor-is-called*
*Compattelrunner.exe is at the top of the list in disk usage*
*searches online to find what the hell that is*
"Compattelrunner.exe collects program telemetry information if opted in to the Microsoft EatASackOfDicks Customer Experience Fuckup"
Telemetry is supposed to be disabled on this computer.
What the fuck Microsoft, if you want to straight out lie to my face as a customer at least try to not be so obvious that you basically lock down my computer with your telemetry shit.3 -
UI/UX Team: "We're using a new piece of software; all you developers can install it, its going to revolutionise our workflow and collaboration"
Me: *checks download page* ... "Only supports MacOS... FFFUUUU"
Where is all the linux love these days -_-9 -
Today:
Me: I need to reimage my Hard Drive
IT (Professional):we need to check the disk for errors.
Me: no, I need reimage my HD
IT: we shouldn't do that if the disk is bad
Me: the disk is fine we just need to reimage my HD
IT:let's check it anyways to be safe
Me: :/
Three hours later................
HDD: Pass
All checks: Pass
IT: maybe we should reimage the hard drive.
Me: Great Idea
ME: 😵🔫1 -
Simplicity is a prerequisite for reliability.
I put those words on the wall in giant vinyl letters, and I point to them every time someone asks me "can you add a frontend button which checks this external API and stores the correlation between the amount of rain and the sales numbers of purple buttplugs inside the user profiles?"
People always ask for one more column in a table, one more paragraph under an image — they never ask for replacement or removal of items.
So I force them. Want a feature? Fine, if you point at something of equal or greater complexity to delete.2 -
Tech startups, an analogy:
After 18 years going from help desk teams to NOC teams, telecom engineering and all manner of startups in between I have concluded the following:
Imagine wanting to start an aerospace company because you know how to fold a paper airplane, but not how to actually design and engineer an actual craft that will pass basic air worthiness checks.
That’s 99% of “tech” companies.
Discuss. I’ll make drinks.9 -
Teacher: Write a program to print fibonacci series up to 8 terms
Me: *hardcodes 0,1,1,2,3,5,8,13*
Teacher: *runs the programs*
Me: *relieved*
Teacher: *checks the code*
Me:5 -
Started testing out the concept of a new application I'm developing (nothing special)
I always seem to play games instead of coding, so I'm developing a trainer which monitors for any open games and checks whether I have coded enough in a day to play games.
If I haven't coded for long enough, it will force close the game and warn me.
Further development to happen.27 -
*Working on android app life is good, but iMac suddenly became slow*
Me: Wonder what I have open
*After checking and found only Android studio and FF Developer edition*
*Checks RAM: 654MB remaining*
*Closes Android Studio*
RAM: 4.83GB remaining
T_T5 -
Me:
- Few days ago: Orders thinkpad
- Now: Checks email
- Sees shipping email from lenovo
*YES! Earlier than expected ship date by a full week*
- Opens email
- Package only contains the additional charger that I had ordered, I can't even use it without the laptop
*facepalm*4 -
Oh my fucking god... I am looking at this code written by a previous developer and he put the passwords in plain in an array in a PHP file, like WHAT WHERE YOU THINKING? (btw that's also how he checks the password, just check whether it's in the array)
c'mon pls14 -
Me: *opens up a test script*
> only http response code is checked
Me: hey, coleague from qa, why didn't you also write response body checks?
Col: I had then implemented but removed them later.
Me: ?? Why??
Col: because tests were failing
Crickets: *chirp chirp* .... *awkward pause* [in high pitched crickety voice] what the fuck?!?!3 -
Was coding on a project at home and suddenly i got the feeling that i had forgotten something...
*Checks the time*
06.30AM
Oh... yeah...sleep...
Hello coffee my old friend...
Time to head off to work then :)
How often does this happen to you?4 -
Let me explain a tiny corner of some awful code I read earlier today, in layman’s terms.
It’s a method to see if the user is in a secure session — not to set up the session, just to see if it exists. The method ends with a question mark, so it’s basically a question. It should look up the info (without changing anything) and should always give a clear yes/no answer. Makes sense, right?
Let’s say the question is “am I in school right now?”
The code… well.
If there isn’t a student, the answer it gives is null, not yes or no. Null is a fancy word for no, pretty much, so that’s kinda fine, but it really should be a simple no.
It then checks to see if the school is open today. If it is open, it then checks to see if I made my lunch, if I took my backpack, and if I rode the bus — and makes these things happen if they didn’t. Forgot my backpack? Just ask “am I in school today?” And poof! There’s my backpack! … but only if the school is open.
It then, finally, checks to see if I’m actually in the school, and gives that answer.
It could just see if I’m in the school — I mean, I could be in school without a backpack, or walked there on the weekend, right? Ha! You and your silly logic have no place here.
So, by asking if the user is in a secure session, we change the answer: they weren’t before, but the act of asking makes it so. This isn’t profound or anything: I don’t work with Schrödinger. My coworkers are just idiots.
And no, the rest of the code isn’t any better…7 -
I just made a shell script that checks the ratings of movies that I have locally in IMDB and plays the one with highest score. #justsaying7
-
So there is a ransomware that after infecting a device checks its geolocation. If the device is in Russia it does not encrypt anything and is harmless.
I wonder which country is this malware from...9 -
*Goes hiking in the woods* *Finds Bigfoot asleep* *Slowly takes out phone* *Turns it on* *Checks DevRant for rates*5
-
Was a co-lead on the first project to add image recognition to ATMs for depositing checks. Turns out, it was a pretty OK idea and people liked it.3
-
just found out that one of my users replies to himself with blank email with a subject "checked" every time he checks his emails... and then he ticks it as "completed"... He has created chains with hundreds of replies long crashing his brand new xps15 every time he clicks on the chain...2
-
For all the Dutch people on here, I'd like to organize another meetup!
I made a quick form (please only use it if you're dutch, I can't check that easily and I also can't check if you're username checks out so please no abuse, I've gotta go on good faith here)
https://linu.xxx
It's just a simple form I put together in half an hour so don't judge 😅41 -
!dev && rant
*Checks mailbox*
"To the energy consumer of this residence"
This better be something official, even though electricity is provided by solar panels here, and that as well as water and gas are part of the rent.
*Opens letter*
"AD: GET A CHEAPER ENERGY CONTRACT!!!"
Fuck you. If only you addressed it properly, you would've known that I pay exactly €0 for energy. Try and beat that, will you?!
Anyway, that's one way to avoid liability for sending crap to people who explicitly mention "no unaddressed spam" on their mailbox I guess... Pieces of shit.5 -
Dev lead on another team: Ok we can build that API for the mobile apps, we'll generate everything, generate printable images for the labels, persist it all and do all the relevant lookups and checks. Do you need an SLA?
Director: Yes, 9ms
*silence*
Lead: Sorry .... 9ms?
Director: yeah, its a must have
Lead: ... the speed of light wouldn't even let us transmit it that fast18 -
That feeling when someone sees your rant, upvotes it and then checks out and upvotes other rants of yours.6
-
The saga of requirements changed after the feature is done continues:
Manager: “I have reopened your ticket cause it doesn’t fit the requirements”
*checks for requirements changes*
“Updated 2 mins ago”
You fucking piece of10 -
Someone: Be grateful that you aren’t laid off, and received all your pay checks in time.
Me: Be grateful that I haven’t severed you head and eaten noodles in your skull yet.
Of course I say it out loud in my head.1 -
Am I the only one who keeps adding articles to pocket and seldom checks it
Procrastination..
I mean literally.4 -
Pretty simple oversight in a SQL pull led someone to run about 3,300 background checks that had already been run. Somebody told me we spend $25 per check, which would have totaled around $84,000. It ended up being much less, but for a good 40 minutes I assumed I'd be looking for other work the next day.1
-
> creates new PR for open source project
> runs tests locally before pushing
> pushes
> waits 8h (not kidding) for appveyor checks to complete
> tests failed
MOTHERF- -
Less rant, more mildly interesting Java trivia.
Integer i0 = 3; Integer i1 = 3;
Integer i2 = 300; Integer i3 = 300;
i0 == i1 is true as expected
i2 == i3 is actually false
Java caches -128 to 127 Integer objects for faster perf so when you're inside that range, the objects are indeed the same, but because == checks object equality, the Integer outside of the range is not cached and had to be initialized, so i2 and i3 are two different objects.
You can totally break some tests this way :)9 -
*tries to shrink an NTFS volume in preparation for a new BTRFS volume*
(shameless ad: check out https://github.com/maharmstone/...! BTRFS on Windows, how cool is that?)
Windows Disk Management: ah surely, I can do that for you.
*clicks "shrink"*
…
Well that disk calculation process is taking a long time...
*checks Task Manager*
*notices a pretty disk-intensive defrag process*
… Yeah.. defragging. Seems reasonable. Guess I'll just let it finish its defragmentation process. After that it should just be able to shrink the NTFS filesystem and modify the partition table without any issues. After all, I've done this manually in Linux before, and after defragging (to relocate the files on the leftmost sectors of the disk) it finished in no time.
*defrag finishes*
Alright, time to shrink!
….
Taking a shitton of time...
*checks Task Manager again*
System taking a lot of disk this time.. not even a defrag? How long can this shit take at 40MB/s simultaneous read and write?
…
*many minutes passed, finished that episode of Elfen Lied, still ongoing...*
Fucking piece of Microshit. Are you really copying over the entire 1.3TB that that disk is storing?! Inefficient piece of crap.. living up to the premise of Shitware indeed!!!15 -
Omg so I've been stuck on this function I'm writing that checks if a certain array value is so many characters long and well, it just wasnt returning false when outside the conditions..
I tried taking it step by step, echoing out every line and it all made sense to me and there were no syntax errors.
Time goes by and inside the configuration file I was testing.. I was changing the value of a DIFFERENT array property than what I was using in my condition. They looked really similar.. fml xD2 -
The project tech lead asks me to add some Docker configuration files sent by the client to a project. He gives me a zip file and I unzip it and add the files to Git. Job done.
Later he checks the commit and starts bitching because I unzipped the file and it should have been added as a zip. After much debate trying to explain to him that Docker wouldn't open the zip file to search for the Dockerfile he just says "Can you just do it? I double checked with the client!". I give up after giving him all the arguments why he is wrong and do it.
The next day the client checks the commit and comments bitching that I included the zip file and not the contents of it.4 -
They added a javascript that checks the login info. Worst part an if statement was the only thing keeping you from logging in without the correct password
-
TPM decide to upgrade all our servers at once Friday night and didn’t bother with any smoke checks. This is what our APIs looked like Monday morning.4
-
PM: Hey listen, client sent us his feedback about the app that we need to fix, they wont take time.
Me: Sure no problem.
5 Minutes later:
*Receives email*
*checks email*
15 easy tasks that take not time to finish BUT they are put inside ONE FUCKING TASK ON JIRA! WHAT THE ACTUAL FUCK IS THIS SHIT! 15 IN ONE YOU DUMB FUCK!
MOVE YOUR LAZY ASS AND WRITE EACH IN ITS OWN MOTHERFUCKING TASK!
Another reason on why I hate humans -_-1 -
Dev blog writer: "I'm a polygot developer, check out my Github..."
Checks Github, only finds JS and 1 HTML repos...
Thanks for making me feel better about my employment chances mate!2 -
> Young dev apprentice me pair programming with another developer
> Dude checks bug report of a customer, saying something about a "Blind SQL Injection"
> Young me asking what that "Blind" part means
> "Dunno man, maybe u gotta close your eyes when hacking this"
Guess what, the issue was never fixed -
- Let's write some code to check for memory leaks
- Oh shit, memory is leaking like crazy
- In fact the program crashes within 10 minutes
*Some hours of debugging and not finding the cause later*
- Starts thinking about the worse
- Hell yeah, the memory leak is caused by the code that checks for memory leaks. But fucking how
- Finds out the leak is caused by the implementation of the std C lib
- In the fucking printf() function
- Proceeds to cry5 -
Certified Enganeers: 0, Internet Connectivity Issues: 1
Those idiots couldn't even understand why I'd connected a second router (a DLink DIR 816) for better WiFi than their default garbage modem/router. And one of them told me that he'd login to the router by "putting the address in Google" (and proceeded to type 192.168.1.251 in the search bar, after I explained to him that Firefox was a browser too, just like Chrome -.-)
And they didn't even fix the problem, which is most probably on their end since everything checks out here. Brilliant. More shitty 3G/4G for me.
YOU CERTIFIED PIECES OF CRAP4 -
Finish programming assignment.
Jump right into 10 page paper with auto correct/spell/grammar check turned off (technical paper, office tries to correct issues that aren't issues).
Finish paper, turn checks back on.
Realize ended all sentences with semicolons.
FML.5 -
When residual +1's trickle in from an old rant of mine, I feel like a rockstar from the 80's who still gets royalty checks from that one hit they recorded...1
-
GUYS I BUILT A FUCKING URL BAR AND IT EXISTS, IT'S ALIGNED, AND IT FUCKING WORKS
It doesn't have a very good check for what is a valid url tho, it is currently working checking for subreddits like /r/<whatever> and it checks if the link begins with http:// or https://. At some point in the near future I want to clean it up a bit, maybe write some regex (oh god kill me now) that'll actually check for a valid url7 -
So this JUST happened.
I do what I've been doing since its release, that is go through devRant in my spare time.
My girlfriend is right here working on her project and notices me looking intently into my phone, unaware of what I'm up to and literally snatches my phone asking me which girl i was messaging and checks it to see devRant open! The look on her face after that was priceless :D
EVEN NOW as I type this Rant she looked at me and asked "Who is that you're messaging? Your 'girlfriend'?" xD
God bless devRant xD2 -
This rings true even if the customer is internal. Built a feature and provided documentation on how to use it and one of the end users still used it wrong.
It was a simple validation process too. Input the member ID then click validate, the app then checks if the person is in the system and fills in some other fields and does some other backend stuff. How could you get that wrong?! 🤔7 -
I was writing simple neural net program which checks if given passenger would survive the Titanic accident and Chuck Norris indeed would survive :D5
-
Grandma: so how do I scan that thingy in order to comnect to the wifi?
Me: I already told you that's something that you have to do only once. Just turn on wifi and it'll connect automatically
G: But I already turned it on and it's not connecting. Now tell me how to scan that again
Me: Are you sure that you did?
G: Yes
*Checks*
Me: It's disabled...
*enables wifi*
G: Oh, thanks, it's working now.
Literally every time she wants her phone to connect to the wifi.2 -
I know, I know, "OMG ppl are wrong the internet."
Even so, I don't think I'll ever fully get past the continuously lowering barrier to entry on sites like medium and free code camp, and at times even alligator.io. The information routinely ranges from wildly inaccurate to dangerously wrong with few checks and no peer review can't be good for the industry in the long run.
Starting to yearn for the old days when the biggest risk was skilled plagiarism.3 -
Was office SharePoint bitch at one point. This guy wanted me to build a workflow for him that would enforce insane checks on his (peer) colleagues. Asked if his manager approved and obviously they hadn't. So this guy started telling me he would build his own application from scratch and host it on his home server if I didn't help him. Pointing out the business might object to their confidential data being put on his home server didn't put him off. Getting laid off a few months later for gross incompetence did however.3
-
Why the fuck is it, that American online companies ONLY ACCEPT CREDIT CARDS
WHY NOT JUST DEMAND FUCKING CHECKS FOR PAYMENT54 -
*Randomly using laptop to serialize data
*Only 8:53, already at 47%
*Checks bag for laptop cord
*Sees its not there
Oh god what have I done1 -
Why I love Salesforce 👀
- Run a test method
- failure: no field found
- checks test, queries field
- checks field security (access permissions) visible to user
- runs test again
- failure: no field found
- adds debug log of queried field
- runs test again
- succes
Thanks, thanks for fucking with me today 🥲6 -
Dev1: "How did you wrote this code? It causes bug on production."
Me: *checks on gitlens*
"Dev1... 3 months ago"1 -
In an application that everyone in production floor used... I made some "improvements"... Next I know I get tons of tickets because is really slow... Like 20 minutes waiting and it doesn't load... I try with my user in their computers and it loads instantly... Puzzled... After trying in many computers my user loads instantly... Oops... I left a if(user = "me") skip all active directory checks 🙄... Made all production floor lose about 3 hours 😆 because I didn't believe 😛2
-
git push origin stupid-long-feature-name
git pull origin develop
*Checks through all changes. No major conflicts. Accepts changes.*
npm test
*4 failing tests, none of them in pieces that I touched for my feature.*
*That's funny. QA was loaded from the develop branch, and everything works.*
*Actual data has dates from today. Expected data has dates from a week ago.*
*examines tests*
Why are all these expected dates hard-coded‽
tl;dr The external development team committed 4 tests that would only ever pass on the day they were written.5 -
James: Your windows dev machine is setup and now ready.
Me: Checks if something is missing...
Me: [ installs notepad++] ... it’s perfect now!!!4 -
Be us
Be pair devs
Be doing PHP
Be explaining code to each other to find bug.
Be confused. Code checks out.
Be laughing asses off
Be realise the filename had a m instead of n
@TheCapeGreek -
<IT Support Feature Request>
"Developer Mode"
- reduce condescending support agent chat level to 1.
- remove unnecessary checks for "have you turned it off and on again" & "please ensure your machine is plugged in".
- instantly be put through to second line support as a minimum level.
Cons - none
Pros - reduced developer anger, reduced developer time wastage, reduced developer hatred for people less technical6 -
One of our juniors was adding a feature and made a small mistake in one of their (copy-pasted) unit tests by forgetting to cast a return value of a mock
So he spent a ton of time changing the main code to do type checks, try/catching and error handling.
Poor soul realized the mistake in code review one day later2 -
The moment when NVIDIA realise they just compared there too of the line laptop chip to what is essentially a mid range device... I mean... The math checks out but you know... You compare nano to vim and you know what that looks like8
-
Problem: Someone isn't receiving emails.
Me: Finds that someone else set up their account without an email address.
Me: Man what kinda person would let you turn on email alerts without a valid email address .....
-Checks-
Me: You know anyone could have made that mistake, I'll just fix it up right here .... -
[random article] - interesting TITLE.
Click.
checks scroll bar - not much
Quick read.
read
read
read..
hmmm
read
read
read
hmm seems forever that i'm reading.
something's not right
check
check
chek m**F8d8fd , it loading a freaking 3000 words article with ajax.3 -
User: This web page form is too hard to use and is prone to have wrong data filled out.
Me: Uh...ok. Here is a redesign. You literally fill out one text field and a date picker.
User: Oh this is great, thanks.
*checks the database and the very first entry they created had the wrong date.*
Fuck me.6 -
How many here know surge.sh? it seems each time I mention it somewhere, nobody knows it, checks it out and thanks me. It basically allows you to host a static webpage on their servers - for free and with custom domain if you wish. They are also the creators of Cordova/Phonegap.3
-
Fulfillment company: the order you put in our system is wrong, the hours we needed to correct this will be charged to you (Red: or rather my employer)
Me: *Checks logs and our server - finds out the order was made in their own webform/webapp*
Me: hey how come I can put in values in your webform that should not pass sanity checks, thats weird (in this case it was a product w/ a quantity of 0)
Fulfillment company: we don't do sanity checks or validation, we just find out when shit crashes and burns, nothing weird about that
Me: WTF1 -
Fun issue
Swedish client is unable to enter a currency conversion rate in a field and submit. 'Not a float' well we can clearly see that it is a float when he does it (0.5 for example), not an issue for us though.
Reproducing was a nightmare, eventually it boiled down to the fact that the framework we were using had automatic locale checks. Now because our numeric fields are actually weird text fields (front end nonsense), it was converting the period to be a comma (Swedish people would write 0,5 normally). And if you actually entered 0,5 the range check (0.01-1000) failed because it couldn't parse the comma (no locale check on that one)
Godamn facepalm. Really confused the hell out of us when we saw the error, had to go diving through library code. To top this off, locale checks are supposed to be disabled as of about 2 years ago
In revenge against our oppressor :PHP: on slack is now an alias for the shit emoji5 -
Learning neural network algorithms and feeling very accomplished........
.......then checks out OpenCV and flips desk.4 -
...5 minutes ago per ssh on the productivity server...
"ok, let's delete this old test directory ..."
*types rm -r www*
....*thinking* ...*realising* ... "FUUUUUCK!!11"
*quickly types git clone gitadress"
*checks website* "phew!"1 -
Me: *joins devRant once again*
"Wow this community is surely active! Better check frequently to keep up!"
*checks two times in 6 hours*
"Yea it was weekend. Probs everyone is getting their hands in a dirty pile of compileable code or a spaghetti of jQuery."
So, how is your day/night so far?25 -
3 time sheets: One for the company I work for, one for the parent company staffing us to clients, one for the client.
All three have to be handed in at different times, have different rules, are on different systems and have to fit hourwise.
A waste of hours per week.
And add an offshore team that checks all 3 to this.
Also once in a while they complain about something in it. (Audits, reviews,etc.) Forward to boss, he has to argue with them.
Waste of so much time.3 -
adding feature and came across some code that looks quite efficient.
really wanted to tell the guy that he did a great job. checks revision history, and the author was me, 2 days ago...2 -
Me: *pulls down the quick settings drawer and taps Bluetooth*
phone: *forgets everything about having multiple CPU cores and threads - the process responsible for all user input and drawing the ui grinds to a halt*
me: *sighs* oh, fuck, not this shit again *sets phone down*
*several minutes pass*
*watchdog decides that the UI is stuck and kills it, forcing the phone to soft-reboot*
phone: *boots up after a minute of loading*
me: *checks if Bluetooth is on*
*Bluetooth still off*
me: *tries to tap Bluetooth again*
*the procedure repeats*11 -
*has a test in school on html and javascript*
*Studies a lot and checks to see if code works*
*it works*
*goes into test confident*
*None of the Javascript works* (legit nothing)
Kill me6 -
me: alright let me print this now.
*goes downstairs*
printer: *on the display* ... Printing ...
printer: *on the display* ... Printing ...
printer: *on the display* ... Printing ...
*no paper to be seen*
me: why isn't this working?
*checks computer upstairs.*
computer: *popup* We have an update scheduled for 17:40, we can install it then or, if you like, now.
me: oh, ok.1 -
Client: Please add feature x in "here"
Me: Adds feature x in "here"
Fast forward to QA
QA: Test for feature x failed. Feature was added in "here" but is not in "there"
Me: There was no request to add x in "there"
Client: Feature x was already supposed to be in "there", you might have removed it.
Me: *Checks file where feature would be added.
* Git blame show no changes since received we the project (one major release back)
Lying cunt. I'm sick of your literally incomprehensible tasks giving government fucks, speak human language not overhead driven bureaucracy-jargon3 -
Just merged a PR, all checks were green and it was reviewed and approved by me and another dev.
Had a great big ‘do not merge’ label on it...
fml whoops -
Boss: The numbers on the report don't look right. Can you check?
Me: <checks> Yep! I verified the numbers against all external data sources and they match perfectly.
Boss: OK well we need to take a deeper look because they don't look right.
Me: ... I don't follow?
Boss: The numbers... don't... feel right.3 -
It's a tie between 3 things for me.
1. md5 hashed passwords
2. post variable concatenated into sql with no checks
3. admin login over http
sad thing is that all 3 was one website I redid a few years ago8 -
We have a long standing, transient, occasional error in our system that we haven't quite been able to (or have had the time to) pin down.
I was thinking out loud with our project lead what the cause could be, which - before I realized it - segwayed seamlessy into me being tasked with hotfixing it in order to unblock some other tasks that people expect to start working on tomorrow.
I think I'm starting to see why people use inanimate objects for rubber ducking instead of other devs. Here's hoping my theory checks out.2 -
"We need to have a meeting to clarify your role"
My head: Just give me a raise and then leave me alone
My mouth: Yea, sure. When works for you
Context:
My job is a little confusing.
My title on paper is support technician and I'm on the DevOps team but I have my own project to automate health checks. So most the accurate title for me would actually be Automation Developer Attached To [department name] DevOps1 -
Got asked: Could you add more columns to this Word document?
Me: *Checks* *Sees it's all tabbed, not a table* Um. No. -
Trying to debug why there's NaN% instead of 15% (project in JS).
Later realises isNaN(Val) literally checks for NaN datatype rather than Val is a number or not.
*shit*
Ctrl Shift F - isNaN in Atom (searches entire project), rethinks logic, refactors code
Looks around *no ones there*
Silently pushes the changes along with another major commit. -
The feel when you remember you have left any vulnerability in your code.
a wired wave arise in your body.1 -
When you spend hours doing cross browser capability checks on your PC workstation at work and your web app looks like trash on Safari on your Mac at home.3
-
*Gets a call*
*Gets phone out of pocket, phone goes silent*
*Checks who called... PM*
*Calls back PM*
*No answer*
Pm comes in 2 minutes later, I asked her why she called me and said:
"Oh I didn't manage to use my badge to enter the building, I was calling you but suddenly the badge worked"
FG_FGDFDLFMVDLöGPçT"*R"*¨23r*WMLSC;S2 -
opens a youtube video
a minute of ads
checks adblocker
reloads youtube
youtube: adblockers violate our terms of service
turns off adblocker
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
0 seconds of ads13 -
sr: XML is difficult format parse PDF instead.
me: (-_-)ゞ゛
checks code...
foo.fooBar = element
.match("<XMLELement>(.*)</XMLElement>")[1]
?.trim();
me: (☉_☉)7 -
After hours of development, updated code on server, closed ide, out of habbit oppened browser, went to http://localhost/, just to check how api is responding... No response. Restarted server. No response. 30 minutes of random tests/checks, no result at all. 30 nervous minutes later, realized that server was working fine... it's just me who freaking tried to access it via localhost. ffs 0_0
-
Sysadmin's nemesis: a DBA. Especially an oracle DBA. There's no other kind of tech worker I've seen who's more opposed to best practices.
How about for devs?4 -
Do any of you have two browser instances for personal and work things? I do at least, and it's so annoying when I click a link and it opens in my personal browser instead of my work one.
So I made a script that I set as default browser that checks the link and opens the correct browser. Oh boy do I love Linux :D13 -
Got a senior dev at work.
The guy is good at his job, no doubt, but his insecurity drives me up the wall.
- Constantly double checks work done by non-seniors.
- Setup a policy where only seniors can code review.
- Tells non-seniors not to give out advice as they don't know what they're talking about.
- Edits pull requests for you.
- Demands unobtainable quality for insignificant pieces of work.
- Patronising teams messages on the regular.
We're all just trying to get work done and he's always acting like we haven't got enough stripes on the badge.11 -
I can’t understand why every time I work for a multimillionaire company that sells their product to thousands of companies, when I start to debug this fucking product it crashes because of the absence of simple input checks... wtf
“Can’t divide by zero”
“Null everywhere”3 -
That feeling when you hace your first talk with new lead QA, all the way from Microsoft:
QA (sitting at her new desk & PC): "How do I get the log in screen?"
Me (trying to be helpful): "Have you checked the machine is on?"
<QA checks>
QA: "How do I turn it on?"rant stupidfuckingtesters iswearitstrue flipsdesk whothefuckhiredthisimbecile tbiscompanyisaaocialexperimemtgonewrong5 -
php's type hints are completely broken.
Why is strict mode not the default? Why does it completely break down for arrays? (You have to abuse phpdocs to get any meaningful hints but you still lose any runtime checks.) What's with union types? (I know, php8 now has them but what took you so long.)2 -
First dev job is my current one.
I'm a software engineer in test, writing automated UI tests for web and mobile apps.
Its pretty great. I work from home with flexible hours. I have a boss but he doesnt manage my dev team, he just checks in to make sure I'm getting support, training and have all my questions answered. My dev team is myself and 2 other people, both of which are cool, and all the work is dev-driven.
Might just stay here until retirement, that sounds easy.2 -
all documentation points to an Invalid auth token being code 400 (ignore the fact that this is a code in the JSON response and not HTTP)
Me: here iz credential. Plz send datas
API: haha fock off and die mate, then credentials you got there aren’t workin’
API: code 998 invalid auth token
Me: *speechless* so that’s why it took me longer than it did to find that error, because YOUR CODE WAS MISSING ALL MY CHECKS FOR CODE 400.
Why can’t people design apis properly.2 -
My face when PM checks the project day before the deadline and list down time consuming changes that needs to be completed the next day (Deadline day) before 10:00AM.2
-
In modern applications it's media files that take up so much space, code files are relatively s-
*checks size of Rust project* -> 4GB wtf?
Turns out Rust Language Server generated fucking 3.6 gigabytes of "code analysis"!
Hey, I like what they're doing with RLS but seriously, 3.6 GB? I'm on an SSD, people. Every byte counts.
Rust is still 😍 though -
Going through the conversation for xxxxth time with my business partner, why we will not launch a new product on top of pre-made PHP script / plugin.
Just got our company into TDD, and automated QA via CI server & code checks etc, PLEASE stop trying to drag us back into the land of spaghetti code & bug legions in production. That's all thxbye. -
Ok so apparently somebody at Google gcp thought it would be a great idea to be able to select more than one instance at a time and select something like delete and it goes ahead and deletes it without any sanity checks.
3 days down the tube5 -
I was thinking about how I implement login functionality, and realised I have no clue how I came up with it so decided to ask if it was a good way to do things.
Basically, client logs in, username/email and pass are sent to server.
Server salts and hashes password and checks it against the one in the database for that user.
If its correct, send the client the user ID and the user token. (User id could be username, or a number, it depends)
When that client makes a request, the request must contain the ID and token.
The server checks that the ID and token combo are correct, and because the ID is linked to the user we know who it is and can complete the request.
Usually I make the token a random string of 16 or 32 chars, each account has their own token, and it may be stored in the browser so they stay logged in. I also normally add a "log out everywhere" button, which essentially just generates a new token to overrides the current one, making any previously saved tokens invalid.8 -
Write an app or design a toilet that checks consistency of my poop and tells me what to eat
Suggestions are welcome on what to call it11 -
When some one else checks in code by merging a class you wrote, but now they've broken the build .. And some how it's now my problem 😳
-
I've been working for two days (after work) on my blog idea...
Man I forgot how fun it is to work on your own projects, and the stuff I learn at the moment... It is insane!
I am currently a very happy developer, hopefully I can keep this up.
I still have to look into automated unit testing and code formatting checks with github though, cant wait! -
Ran the build today 4:30 and found out our grunt file is missing some pretty critical error checks without even logging a warning. A dependency was unavailable and it was pushed to production. The site was down for 30+ minutes.1
-
Why is American culture so money-centric?
Instead of “he's not believing me” they say “he's not buying it”. Also, “put your money where your mouth is” and “don't let your mouth write checks your ass can't cash.”22 -
Most of my time coding in Javascript goes to handling null checks and fixing crashes caused due to missed null checks.
`"abc" is undefined` is an error which I must have seen more number of times than any other bug in console and even in real life.2 -
Phone meeting with the makers of a program the company uses regularly:
Me: "so I believe you received the list of problems we have run into recently, can you walk us through how to make the changes necessary to fix them?"
them: "we see none of these errors"
me: "that's impossible, we had all of them yesterday, they crashed a few servers"
*checks version number on program, it's different*
me: "hold on one second"
*checks computer log, they were logged in this morning before I came in*
I figured out they received the list, fixed it, and then turned to us and said we didn't know what we were talking about because none of the errors were there, because they wanted to look superior.
Fuck those guys. -
So these same mother fuckers that think 8:00 is reasonable time for a meeting, have decided that the health checks need tk be done by 7:00
But no, I must just be grateful to have work2 -
Heads-up, stop using email as a user-id in your systems. netikras@gmail.com and net.ikras@gmail.com are the same recipient. And noone really checks for that dot when validating a new user in our systems, do we? :)9
-
I've just received an urgent bug report email saying something like:
Stop sending [item] to destination. This should have been taken care of in the initial work, but we forgot to say so.
... The work they requested was that [item] gets sent to destination if the user checks a checkbox. If I wasn't supposed to build this, then what did they want me to build in the first place?!1 -
Android, the development side.
First it was cool to put stuff together and then i wanted to actually use the phone hardware and realized that the api is terrible and abstracted away in the worst way possible.
Like every java dev would make something like new Camera().photo("penis.jpg") and let the gc take care of the rest but nooooooooo you need persisted objects and datastreams and special permission checks.4 -
Question: is it common for test guys to ask you for data that requires you to explicitly break your software? I mean literally remove safety checks from the software to generate such data? Cuz our test guys seem hell bent on breaking our system, even if it means supplying data that is illegal.8
-
Me: I'm quite good at C programming language
Also me: Checks man page for library functions' information6 -
In a helper for a testing environment there was a flag called CheckLayoutConf. The documentation stated: if set checks if the layout configuration is valid and fixes it. I was curious about the validation and fixing mechanisms, so I looked into the code. But if the flag is set, then the layout configuration is just deleted, so in the next start of the program a new default layout configuration is created. Nice "validation" and "fixing" you for there, I thought to myself.
-
Me: "Oh right I still had to fix that"
Me: *fixes thing*
Me: *checks on staging to make sure it all works*
Thing: *works absolutely fine*
Me: "Cool, let's promote it"
Me: *updates production stack*
Me: *checks on production to make sure it works*
Thing: *still broken*
dsfhjh dsaghdsaupot nvhudfot vnhgue6 -
Tl;dr: I'm a shitty PHP programmer, but even a shittier JS programmer.
I made a whole image upload system which has an elaborate login/sign up facility, checks the dimensions of an image, it's size, checks if it's broken, compares it to previous uploads to prevent duplicates, take comments, sorts them per user and stores it efficiently in a db and accesses it using PDO, not mySQL, displays it as a gallery, and even lets the users transfer images amongst them.
But I can't make a simple shopping cart in js.
Why? Just, why?3 -
Golangs error handling is really annoying. I'm writing a cli that does a bunch of stuff, and a lot of that could cause an error. Now I have to either explicitly ignore the errors everywhere or write an abundant if, that simply checks if the error exists and print it to console. So I either won't see any errors when something goes wrong, or I will have ugly bloated code... wtf, I want "throw" back8
-
Just when i somehow accepted that Austrian part of team is naming theirs methods in Deutch, i almost got heart attack when i saw this. They're combining english with deutch, for example isOffen(), isLoeschenAllowed(), isEinsichtHinzufuegenAllowed() and so on... And most of the time these assholes even dont add javadoc, but when they do it something like: "Checks if *curentClass* is offen". Thanks a fucking ton.3
-
- Implemented oauth1 - no body hashing
- URL contains credentials in plain text
- Used Azure API management feature as a proxy of the our API, however the documentation was on the our API, thus exposing the API URL with no management to developers.
- easy resource DDoSing because each trial user got a DB, the registration process did not have bot checks. You could literally freeze the db instance by spamming registration requests. -
Visiting a webshop and ordering what you need? Wack.
Visiting a webshop, seeing that what you need has to be ordered, assuming it costs extra money (it doesnt), calling your son on the other fucking side of the country, telling him to buy the exact same thing there and when he checks the local webshop what says he has to order it too, saying 'no it has to be available there'? Woke.
Thanks mom very cool.1 -
I mean, seriously? Skipping over the line that disables certificates checks... Did you forget where the button to run the build is?2
-
The year is 2035 and HR checks your rants to see what kind of employee you will be :D lord save us.1
-
Whoever put the hundreds of static_cast<T *>(p) followed by nullptr-checks in the code I am working on: Someday I will find you and then I beat you to death with a hardcover version of "C++ for dummies"!1
-
Customer: You say you connect to XYZ service, but my data is not getting synced!
*checks their account*
Me: I see you have not integrated your two accounts. Go to Settings > Integrations > Connect to XYZ.
C: Why? But you already connect XYZ! You should already know all of my data!3 -
Background: Process issue in the plant that the workers said was a software problem. I’m a Software Dev Manager
Exec: This is broken and it is a software problem. We just noticed it this week.
Me: Couldn’t have been us, relevant code was changed this time last year. Sounds like a process issue.
Exec: Can you give me an exact date it was changed last year?
Me: (Seriously, WTF?... checks git...) It was changed on December 2nd, 2016. Couldn’t have been us.
Exec: Can you detail that change for us?
Me: (GTFO) No, not my problem, stop trying to make it my problem.1 -
When a company reaches the point where ya need to do welfare checks and send out a link to a crisis helpline at Christmas, y'all gone fucked up so many times you're putting a band aid on a broken arm.7
-
There's very little good use cases for mongo, change my mind.
Prototyping maybe? Rails can prototype, create/update/destroy db schemas really quickly anyways.
If you're doing a web app, there's tons of libs that let you have a store in your app, even a fake mongo on the browser.
Are the reads fast? When I need that, use with redis.
Can it be an actual replacement for an app's db? No. Safety mechanisms that relational dbs have are pretty much must haves for a production level app.
Data type checks, null checks, foreign key checks, query checks.
All this robustness, this safety is something critical to maintain the data of an app sane.
Screw ups in the app layer affecting the data are a lot less visible and don't get noticed immediately (things like this can happen with relational dbs but are a lot less likely)
Let's not even get into mutating structures. Once you pick a structure with mongo, you're pretty much set.
Redoing a structure is manual, and you better have checks afterwards.
But at the same time, this is kind of a pro for mongo, since if there's variable data, as in some fields that are not always present, you don't need to create column for them, they just go into the data.
But you can have json columns in postgres too!
Is it easier to migrate than relational dbs? yes, but docker makes everything easy also.11 -
Wrote a set of beautiful Swift functions. Runs Xcode, nothing. Checks code...looks good...clean build, delete app, re-install, rebuild...nothing. Checks documentation, watches three videos, re-writes code...nothing. Stares at screen for an hour...realizes I never actually called the functions. Closes laptop, checks self into pysch ward.3
-
Do you guys know the feeling when your opening PR on side project late at night..
The CI takes forever to make all the analyses and checks and you almost fall asleep because your so fucking tired? -
A year ago i made a binary which very quickly checks all stuff we normally check on customers PCs manually via a few WMI queries.
It worked well on 3 dev machines, so i went to my department lead, told him to execute it and the fucking thing just spews WMI errors left and right.
Even though it showed us that some very low level stuff in his Windows installation was broken it was just embarrassing as hell.
Shortly after I had all checks fitted with a secondary method in case WMI fails.5 -
Just published my first composer package :) It's no big deal most likely but had to let go my excitement somewhere...
It's a package to jumpstart PHP projects wanting to use Gitlab CI by adding some defaults, and adding automated on commit formatting checks.
Main reason I created it, is because i was tired of doing the same config over and over again for my projects...
Anyhow if anyone were to be interested, here it is => https://packagist.org/packages/...
Oh and by the way, yes, it's PHP, and yes I actually do like working with it :)3 -
Service status pages that poorly reflect actual service status are so annoying. Ex. GitHub is having a lot of latency issues with processing updates and like 5 people in my office noticed it while their status page still says everything is fine.
This isn't to explicitly call out GitHub since many service status pages behave like this, but it definitely shows a general weakness in these health checks. I've seen similar issues with tons of services, web hosts, etc. Monitoring is definitely hard but will hopefully keep getting better.1 -
*working on a small project at home*
Uk its been few hours lets have dinner
*checks time*
2:30 AM
Fuck -
On call with customer
Cstmr: What version is this?
Me: Can I see the build number plz?
Cstmr: Yeah
Me: *checks against internal doc*
Me: It's version X
Cstmr: Are you sure?
Me: Um...I'm pretty sure
Cstmr: I'm gonna check
Cstmr: *mutes me and spends 10mins finding public version of the doc*
Cstmr: Ah, it's update X
Me: *................* yes2 -
Well, look at that, I fixed the bug and it's the end of my shift. Alright then, let's PR this shit and clock out!
CHECKS FAILED
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHSDJAGSJAGJR -
Why are OSS maintainers so fucking incompetent and cocky? A documentation clearly says to use "use_parent_assets: true" when creating a child theme. Yet not a single fucking line of code actually checks that value. The fix is literary a single if(value) assets = deepMerge(parentAssets, assets). But because some contributor somewhere didn't write that line to the maintainer's liking, it's been hanging in the air for months.
Take your head of of your ass, there's thousands of people paying for support & addons for your product, and you can't add one fucking line to fix a rather critical bug.6 -
1. Sets up Airbnb listing for Mom
2. Domain check
3. Email check
4. Okay let’s setup a simple one-pager that we can share
*Uses html5 broilerplate and embeds Airbnb listing - simple*
Checks page, it comes up blank...
WTF!!!??? WHY!? *Checks Console: 1 million errors screaming about Content Security Policy*
Sigh, I can deal with logic errors in backend code. WebDev is just so full of esoterics and gotchas that have nothing to do with you business logic. They make really simple and trivial shit way more painful and harder than they need to be... Ugh3 -
There is this thing we were able to take at college to get extra UCAS points.
At first I was like "fuck yeah might as well, doesn't seem too hard and its something I like so I wont be distracted"
Long story short, the website was badly designed. I got distracted. And I found out how to get admin rights over my marks (and rest of my project), and perform an xss injection.
Currently waiting for them to reply to my email asking about a bug bounty program.
Seriously guys, make sure you do proper server side checks. -
That feeling when you’re writing in C and it takes you hours to realize the reason you’re seg faulting is that you neglected a couple of null checks. *facepalm*
-
wow, I have to say, tail recursion, slices, iterator transformers and shadowing are great building blocks for parsers. I'm actually way faster at defining and modifying procedural parsers with Rust's tools than I am with Chumsky. I actually understand which of my checks are greedy and lazy now!
-
Some interesting reads I came across yesterday:
- Github got DDOSd with 1.35Tbps via memcached
-- https://githubengineering.com/ddos-...
- Troy Hunt, the creator of https://haveibeenpwned.com/ released "Pwned Passwords" V2 and talks about his partnership with cloudflare, how he handles traffic, why he chose SHA1 for the passwords, how he together with a cloudflare engineer thought of a solution to anonymize password checks and more
-- https://troyhunt.com/ive-just-launc...1 -
What the fuck is going on ???
How the "intermediate" c# developers can't do a simple null safe average of even numbers in an array ?!
Why they still write loops and shit (without any nul checks ofc) while it can be done in 1 line :
array?.Where(x => x % 2 == 0).DefaultIfEmpty(0).Average() ?? 0
WHY ? Even Junior c# dev is supposed to know that shit4 -
to add a bit of fancyness i print the scripts name and 'by' my 'artists name' whenever scripts are executed. today i got a call 'it says error on line 1, what did i do wrong?' i am still laughing tears. did not consider this programmers joke to have an impact irl.1
-
When you keep telling your boss that you remade one of their sites so that it has BCrypt(currently use SHA-512),CSRF checks, stricter Auth/Cookie encryption and that we should swap it and all he says we will get to it.
wot n tarnation-_-1 -
> Client: Could you check for me where did they[code authors] put logic for this and that
> Sure!
> okey, api endpoint here, hmm
> oh sure here is the database access
> where tf is some logic....
> fml, am I blind, lets check frontend
> FUCK
> it's there
> it's on frontend
> and backend just puts it into database, no checks
> FU0!@#% )(#*%)H )F+#+!!@!
> *to client* We need to talk about future of this project. -
QA guy: Your app crashed on this Samsung.
Me: Checks Firebse logs and finds out that phone was rooted and tells QA guy.
QA guy: You must consider all use cases.
Fuck you dude!2 -
Some Java code I looked through to figure out how to accurately rework a mapping of value intervals to status colors:
• 16 levels of indentation
• Calls an instance method one line before a null-check
• Assigns that same value to a new variable and null-checks it again
• Insistently loops over existing HashMaps' entry sets to find a value by key
• Stringifies a Gson object, parses back the string and then null-checks the result.
• Mixes up the 'leq' and 'geq' comparison operators twice, which is why I went to check the implementation in the first place.
And this wasn't even legacy code. It's from last year.1 -
My coolest project is my Facebook - to - email adapter 😜
An interface that takes emails from an inbox (mailing list) and posts it to a Facebook group, if it is a new mail. If it is an answer, it finds the original post and posts the new mail as a comment.
Once every hour it checks Facebook for comments on the posts it made, creates a list and sends it the the mailling list 😀 -
So my friend had an idea for a game and asked me if I could help him develop it. Now, he understands how the code works and can even write quite a bit himself. On several occasions (including today) this happened:
*writes code*
*tests code*
Me: Hmm... this isn't working like it's supposed to
Friend: It looks pretty good, maybe check to see if everything is in the right order
*checks code*
*tries alternative solution*
*checks again*
Me and friend: Well this is even worse than before
*presses ctrl+z a lot to go back to the original*
*opens new project*
*writes new code for same purpose*
*checks code*
Both of us: IT WORKS!!!
*checks again just to be sure*
Both of us: IT STILL WORKS!!!
*compares new code to original code*
Me: It's the exact same code with different variable names!!! Why did this not work before?
Friend: No idea
*puts new code into main program*
*it still doesn't work*
Reasons Java makes me cry sometimes4 -
Visual Studio - Release: Oh looks like this works.
Visual Studio - Debug: It seems you have an error:
"MVP = P*V*M;"
Quickly checks release... wait..
"
MVP=P*V;
MVP=MVP*M;
"
Compiles Debug version... Hey it works!!! Closes application window.... Error _free_dbg(block...
WTF...
Tries again, closes the cmd window, rather than win32 window. No errors.
TL;DR Screw windows for debugging C/C++ -
Client:' I think that one email account is sending some spam emails. Can you make some checks?'
Server:'Queued emails:730511...please kill me'3 -
An app I wrote in react native broke. It just checks for new episodes and opens the actual download link so this all the ads. The URL seems to have changed from www to www1.... So the Find/Replace broke.
I don't think I will be using RN though because I can't access all features like root commands, that can be done from Android SDK. And probably easier to access all Android's features?
So should I try to fix the RN code (prolly 1 line) or port the whole project to use Android SDK?11 -
One of the founders of my startup does not write tests....
Me: we have to all write tests. I explain unit tests, integration, etc.
Him: I do... I have a test that checks if the app crashes or not.
Me: that is not what I meant (writes test because he won’t) 🙄1 -
How is it to work on an open source project?
Can anybody add something and who checks if the added feature works correctly?2 -
*npm run dev*
Why aren't my CSS changes showing up?
*make selector changes*
*npm run dev*
Oh, c'mon!
*make more specific selector changes*
*npm run dev*
It's not even showing up-- wait...
*checks code*
*SASS file not included in the main app.scss*
Oh. I'm stupid.1 -
Javascript in a nutshell:
Function in a teaching example for a framework, checks for validity of input, dev returns null instead of false when it isn't. In another place, uses !variable to check if variable is 0.
fucking follow the semantics of the code you write cunt why do you have to do this why is it so hard to write variable !== 0
I'm sorry, this really triggers me.
https://media.giphy.com/media/... -
I just found out, there is a GCC flag that prevents you from using integers in a bool context in C.
Like wtf?!
Not only is this the original "bool" implementation of C, but it's also a widespread concept for use in NULL checks and the likes.5 -
Just realized that it’s been a long time since I had to deal with collections that contain values of different types and that ugly type checks that come with it when you need to do something with the values.
Sum types are really a blessing. -
In a e-commerce project my client asked for tax calculation with static some x value all the time.
Me: As promised your site is live and please check it.
Client: Checks everything. I want this tax to be dynamic.
Me: That was not mentioned earlier. Now I need to redo the design which takes much time.
Client: You will just change the addition at the end then what's with the design change.
Me: ( I killed him already in my mind)
Truestory 🍻2 -
Co-worker: My local Weblogic instance doesn't work when my IP changes :c
Me: Lemme help you with that.
Me: *tries bunch of stuff and nothing* Weird...
Me: *checks his hosts file, localhost is mapped to old IP* KILL YOURSELF OR I WILL.1 -
Searching for a good PHP, webdev IDE... Suggestions?
Ideally free software with debugging and code syntax checks.11 -
User: your python script is giving me error, <insert stack trace indicating a missing directory on the system path>
Me: Did you add the directory to the path
User: yes
Walks over to desk checks path, finds a space after the semicolon separator before the directory.
Removes space, problem fixed
Why Windows, why can't you just strip the white space.
Returns to desk, hides underneath and waits out the end of the day 😿 -
My company comms are so secure, so managed, that people started communicating on 3rd party apps with company code and communication coz dealing with the layers of "identity checks" within managed-VPN is a hassle lmao
People find it easier to just whatsapp-group-msg from their phones than Teams msg that's only accessible from work laptop2 -
Currently running Kubuntu and want to switch to Antegros.
Installed UNetBootin.
Downloaded Antegros Live ISO from Antegros website.
Format USB to FAT32.
Used UNetBootin to make Antegros bootable USB.
Shutdown computer.
Restarted/boot from USB.
Computer checks drives.
Beeps, says no bootable options found, shutdown button pops up.
Shutdown and turn back on.
Kubuntu running.
Really fucking frustrating. Please help.4 -
Fuck you Redis
Goes in a docker container, calls bgrewriteaof, get success, checks info - no pending writes, last write success.
Tries to scp to remote, fails - Unexpected AOF
Decides to shut down the local redis to be able to port, in case it's blocking it
Calls redis-cli shudown (expect to just shut redis down rigth)
It fucking deleted all my data, now I see the docs
"Flush the Append Only File if AOF is enabled."
Why the fuck? Fuck you redis, fuck you1 -
Fuck I hate when my brain remembers the wrong keyword! Just spent way too long trying to figure out why my regex wasn’t working! I remember RegEx.check(str) tests for a match and returns a Boolean. The docs say RegEx.test(str) checks for a match and returns a Boolean! Dammed cinnamons! English is my native language I swear.2
-
PHP: "Full functionality changes? It's okay bro, just save me - I'm ready to rock and roll!"
Reload page: Beautiful.
ASP: "Changed the width of my div? Please recompile my entire solution. Thank you."
Compile.
ASP: "Hold on! There were build errors, compile anyway?"
Yes.
ASP: "Great! We're good to go and everything checks out!"
Reload page: Error. Stack Trace.3 -
Only found this out after the fact, but an almost total lack of authorisation checks in an exposed API has got to be up there.
-
I'm currently in a bit of a predicament.
Here's the deal:
I want to separate my back-end from my front-end code a bit more (currently PHP code is mixed up with all the HTML, Javascript etc.. basically: front-end and back-end are one).
The question here is: how should I go about this?
In my current project, I have written some javascript code with jQuery that checks whether the user is logged in or not (checks for an auth token and UID to be present in the cookies).
However, this results in the page (in this case a dashboard that only logged in users should see) being visible for a moment before the user is redirected to the login page...
How could I go better about this (No, I won't use AngularJS for this)?7 -
You know my best productivity hack was about my university hack was about food!!
We should reserve food 2days before the day we want
When time pass we should wait for someone else to cancel his/her,then reserve that one.
So my script checks canceled food list every 800ms and pick and reserve the best one for me asap. 😎😎2 -
me: yes..hurray I fixed 5 of 25 critical bugs. Its turning out to be a great day.....
...checks the bug list....
"There are 29 critical bugs in the list"1 -
Microsoft has released Visual Studio 2019 version 16.6 with a new IntelliSense Linter to help C++ developers efficiently clean up code.
The tool IntelliSense checks code on the go, using squiggly lines to highlight problems and Lightbulb actions for suggested fixes.
The feature can be enabled in Visual Studio 2019 version 16.6 from the Preview Features within the Tools > Options menu.
Source : https://devblogs.microsoft.com/cppb...1 -
Ok, I'm starting with C++, I want to do a couple of things without reinventing the wheel
I want to parse flags passed to my soft… — Use Boost
Ok, now I want to do some checks about filepa… — Use Boost
What about getting a file size without having to pull my hair out ? BOOST
Alright, Boost is actually the jQuery of C++, right ?8 -
Coworker : Hey can you check out why all the links in the project don't work ?
Me : hmmm *checks one of the links, which works* yeah yeah, all of the links -
Today i fucked up trying to generate stats from sales and forgetting to check if sale state was completed or cleared.
Causing sales and revenue on the report l to be inflated by sales that’s failed 3DS checks, bails, bank rejects and other failure states.
Go on have a cheap laugh at my silly incompetence 😂 -
I was terminated last year from BigTech. Will I ever get another job in another BigTech company?
Not a layoff. Terminated for moonlighting. Lack of judgment on my part. Trying to move past this but the events still haunt me till this day.
Not looking for sympathy. Rather, advice on how to approach job search and background checks in the future. I have big ambitions and don’t want to be an IC forever. I’m hoping this doesn’t prevent me from becoming a manager —> Director in the future.3 -
Found a bug today that made me groan in frustration.
It appears that the official elasticsearch debian package checks if the system's init daemon is systemd by... Checking if systemctl binary is available.
Issue is... Systems might contain that binary while using a different init, as the binary is part of the "systemd" package.
To actually switch to systemd however, the package systemd-sysv has to be installed, which creates a link from /bin/init to systemd's main executable.
What happens when your system doesnt use systemd then? The postinstall/preremove scripts fail as systemctl fails to talk to the system bus, and thus, the installation is marked as failed!
Oversights like this are exactly the reason behind my systemd dislike. We never wanted the systemd package, but another key package suddenly added it as a dependency one day...
Now to see if this is reported as a bug already, and if not, to report it myself...
(also, who checks for init by looking for the init's management utility?! Its like I checked if sysvinit is installed by checking if update-rc.d is installed!
And not like figuring out the system's init daemon is hard anyway! Just check /bin/init, or, better yet, check for process with pid 0!)1 -
Today I wrote my first small python application as an exercise:
Scraping all post EuroJackpot draws from a website, save them in a database, sort them, some checks and do some combinations. Everything quite clean in classes and functions.
And the "application" is just 100 lines big. I love it so far how much can be accomplished with just a few lines. -
* Left leave work a bit earlier, because I had driving lessons.
* Finished the issues I was working on and headed straight for to the school.
* Checks notifications
Coworker on that Merge Request I labled as ready: Did you forget to push?
I'm so sorry for being such a bad person 😅😭
At least it's nothing of priority 😔1 -
Hey look at these awesome features we offer in the new version!
*carefully upgrades servers*
*app runs smoothly for few hours*
(Docker container exited with code 137) x 100
OutOfHeapMemory errror
Another dev: "I can't see the data flowing through the pipeline"
Boss: "Hmm, why did we upgrade again?"
*checks jira issue for the software*
Bug Report #125 fixed in the next version.
Aha!
Fuck this shit!1 -
Fri-damn-day is here in next 4 hours, prototype is to be delivered before 5 pm, 3 big core functionalities are yet to be made , all code is hanging by the null checks due to leaking firebase callbacks and all comes down to this intern who has been giving 19 hours every day to this project for last full week.
Well, bring it on!! I am about to gloriously fail (unless i code some miraculous code that i don't even know how), but i have never been this much motivated to work or received this much support by seniors ;)2 -
I just had to drill an error reporter through the entire Orchid codebase for multiple fatal error reporting. The caller constructs a reporter and passes it into the interpreter, various internal interpreter functions put errors into it and return meaningless but valid substitute values, then the caller checks the reporter for recorded errors and avoids using the return value if there were any.
I have recreated ERRNO in a high level language. -
Dear intellij,
Please create a pop up that checks if there is some other process running on port (8080). I have to spend one CMD instance worth of time just to kill that damn process.
I would have laughed at some other rant by saving this time. :(1 -
I feel like most of the problems people are ranting about would never happen if they worked in a proper environment with lint checks, unit tests, e2e tests etc.
It's worth the effort to get it!4 -
Loading preview images from a websites articles into thw cache for later use. What could go wrong?
*26 images (80x60) images in my cache folder, most of the corrupted.
"Ok... let's look at the size of this folder"
Size: 112MB
WTF How could this happen!
I'm litterally writing a from a URLConnection to a file.
*Checks data usage
Jup, that amount has been downloaded. Why!?
My dear monthly data ¿_¿ -
A backdoor means an open port so...
If anybody in including the admin checks the open port he will definitely notify the port and probably will close that port so...
Maintaining access means nothing?8 -
Start coding a project for version 7.x, everything works in tests. Deploy it on the server and it doesn't work. Checks version and turns out it is 6.x, ask my manager why didn't he tell me before, he goes like so what, do it for all versions.
I go wtf -
*Frustrated user noises* Whyyyy, Grafana, why don't you implement any actual query forgery checks?!
So long as a user has access to the Grafana frontend, they can happily forge the requests going off to the backend, and modify them to return *whatever* data they want from the datasource.
No matter that they're a read-only user. That only stops them from modifying the dashboard definitions on the frontend, but doesn't enforce any sort of immutability on the BE...
If anyone had any tips on how to further secure it, I'm curious...5 -
What do you guys think of forced linters (checkStyle) on java assignments?
At this University we have a submission system that checks for your code where if a line didn't match the coding specification then it's an instant zero.
Being experienced in programming before going to a university, this somewhat surprised me, it also has unit tests implemented in it where it checks against input and output.
Would love to hear your thoughts on this. Is it too much for people who unlike me never seen code before? Or let them have hell and understand how to deal with it? I personally think it's too much for beginners.3 -
Can JS events bubble in trees of objects other than DOM nodes? If so, what properties do I need?
I tried to read this: https://dom.spec.whatwg.org//... but it's stupid long, references a bunch of other functions and I got lost in between the variables.
I'm kinda confused because it often uses type checks (i.e. if target is a Node or a Window object), which goes against the very point of duck typing.
I could technically make my nodes into DOM nodes, but I'd rather have them inherit from Worker.1 -
Working on an ongoing task of speeding up one of our applications. Our TFS server sends a message to a Slack channel with the check-in comment each time someone checks in. Amusing myself by using a recurring theme of "The Tortoise and the Hare" fable to explain what I fixed by including the :rabbit2: and :turtle: tags in my TFS check-in comment.
-
my APAP's SD card died and I had a generic 2GB one kicking around unused
>formats as FAT16
>inserts
UNAUTHORIZED CARD
>hmm
>zeroes drive
>forgets to reformat
>inserts
Formatting SD Card... done.
Space available: 1.8GB
Set as Primary Log Storage
>:megathink:
>checks format
>FAT16
>reinserts
UNAUTHORIZED CARD
>wipes MBR/PT
Formatting SD Card... done.
Space available: 1.8GB
Set as Primary Log Storage
and that's the story of how i managed to not need to spend $200 on a proprietary SD card for my APAP2 -
I love the Halloween GitHub's squares and Google's cat.
*checks Microsoft, Apple and Bing*
"Do your best work", "This is 7." uhm, sure....3 -
Telegram or Signal? Got essentially blocked from Messenger because I was stupid enough to fold to peer pressure to get it for robotics and since I enabled it with a GV number they stopped allowing its use for specifically security checks while allowing it even to reset a password, and I somehow got a security check triggered, with no customer support and no ability to call with code, so I'm looking to switch. Even if I get Facebook back, I want to move to something at least that doesn't randomly trigger security checks and then has no customer support.rant messaging apps messenger fuck telegram mistake signal facebook no customer support why did i move all my chats there peer pressure i'm stupid12
-
I used alot of if checks to convert category name to category ids for sql query. For eg.
/Index.php?cat=venue
And I handled it like
If($cat=='venue')
{
$cat =1;
}
And so on.1 -
I've just been terribly disappointed by Arch and Manjaro: their official websites still use SHA-1 checksums and pgp signatures for integrity checks on their official images.
An algorithm that has been now broken for quite a while: https://sha-mbles.github.io/
Kinda disappointing for an OS that aims to be at the bleeding edge of performance and security.13 -
Why is my test not failing? The actual and the expected json is completely different? What the fuck!?!
It says:
static::assertJson($expected, $actual);
right there.
Oh wait.
Nevermind.
`static::assertJson` only checks for any VALID json string that I always provided in with my own expectation m)
Use `assertJsonStringEqualsJsonString` instead.
What.
Who needs meaningful defaults.
(I would claim that `assertJson` should be defaulft for string equalness, and assertValidJson should be for any Json validation. But you are free to disagree.)4 -
Couple months ago I mentioned that the product group needed to involve engineering when making promises to the business. Otherwise they were going to write checks our asses can't cash.
Welp, now the situation has happened and I pointed out that a lot of things have been promised for delivery that we haven't planned for or even seen in engineering. And things that I have been harping on haven't even been accounted for and, unlike business promises, these are legal requirements. Now I'm the asshole because I pointed this shit out in front of the whole team.1 -
How to deal with micromanagment?
I just lose it when the team leader checks on issues on a hourly base, And dont get me started on the scrum master who checks the sprint status twice a day.
I can't quit this work but I'm losing mind here.
H-O-W T-H-E F-U-C-K do i deal with this idiotism??5 -
When the good programer in you tries hard to repro a NPE but ends up adding a bunch of 'null' checks 😔4
-
Something on my computer corrupted and now windows explorer crashes when I try to create or rename files. I did integrity checks and got nothing, so now I'm doing disk checks. It has been at 26% for over an hour.10
-
Typescript is my new favorite and my grudge is the stupid scoping of type assertions. I have an async function that checks whether a variable is set and awaits a change event if it's undefined. This function is working javascript but invalid according to typescript, because it relies on the exact type changing while the function is running. I had to convert it to a mess of promises to bypass this because (and this is the best) the callback-based syntax of identical meaning will reset all type assertions, even locals that are never written after the callback's creation.8
-
Happened today on the way home
---
*Doesn't feel keys in usual pocket*
Shit, where are my keys?
*Checks other pockets*
Oh, I put them where I usually put my wallet.
...
Shit, where is my wallet? (I forgot it on my desk 🤦♂️) -
*me trying to fix the preview issue by editing layout file*
*issue gets fixed by clean build*
*me implementing a new feature as per plan*
*suddenly another issue occurs with the items in recycler view*
*tries SO, no related question and me too scared to ask one*
*trying different names, keywords, ids and methods to get atleast some output*
*checks json and recycler adapter, all fine but still the error*
*hello darkness my old friend*
*checks the item layout again with a microscopic look and encounters a 0 added to layout width which makes 95dp to 950dp and hence no output somehow*
*2 hours and sunday mood wasted* -
What do you use for performance monitoring on your infrastructure?
My company uses zabbix, OpenNMS and Nagios to monitor different parts of our infrastructure (from shared web hosting to OCCAS to IPTV to FutureVoice to Atlassian servers) but has no real-time performance checks.
I’ve set netdata master with prometheus backlog and grafana dashboards to monitor different metrics, however I am not sure whether any better approach could be done. Any suggestions?2 -
Me: removed appsettings.development.json from git index, because every time we pull, we have to correct the files of 8 api's, just to be able to build that ducktape solution
Other devs: we can't build anymore, our appsettings.development.json are gone!!!!!
Manager: (total silence on my 'good morning') you broke our application!!!!
Me: checks 8 appsettings.development.json in
Almost everybody HAPPY3 -
I hate my Scrum Master. Normally he doesn't even checks pull requests, and when you need his help, 80% of the time he's missing. Now that our boss is the new Product Owner of the application, the SM is bugging us A LOT
So fuck him, go away to do whatever the fuck you did before. Stop pretending you "work" -
class post
{
public string type = "question";
public string info =
"I made a Notification Drawer for pc. It checks a file every 0.01 second. If that file contains a specific line of code, the notification drawer shows a notification. This way I can make other programs to be able to send notifications.";
public string question = "Is there an easier / better way to make 2 or more programs communicate?"
}8 -
Checker checks my pull request in git... says there's an error but in my laptop my codes are working fine... something must have been wrong there...
-
Put in 2 weeks of dev, it passes QA, guy that is presenting to customer checks it against the spec and after all of that half an hour before end of work day the day before guy is going to the client to present this he finds an error (I misinterpreted the spec)... Nope, not gonna code the changes all night so it's implemented properly for the presentation.
-
So for wrok i need a js lib that can parse and extract elements from a HTML response.
Been thinking about it in the back of my mind for a few days now and just realized the answer has been in front of me all along...
This is an app wrote for myself a few months ago that checks a site for updates... its built with React Native...2 -
Anybody know how I could make an RxJS observable without RxJS?
I'm working on a library and I need it to be small (So including RxJS isn't really viable), run in the browser (IDK if Browserify will work for RxJS), and be fast. I need a way for a given element to 'listen' (or in RxJS terms, 'subscribe') to a value and update its text content whenever the value changes.
My current implementation is just a interval loop that checks if the previous value is the same as the current one, and if it isn't, it modifies the DOM.6 -
Dev goals for 2019:
At least one substantial tech blog post per month (no rain-checks allowed)
Do whatever it takes to have Elixir as the focus of my day job instead of .Net -
rust attributes should really have docs...
tf is "no_mangle"
and now everyone and their mother checks 12 books and 3 AIs to guess what it means because it has no docs
also all of macros is frankly confusing4 -
Assert ref != NULL rather than conditional check it more often.
Silently returning / ignoring is way worse if object was meant to be valid.
The caller should deal with it. (As abstract as possible preferably...)
Obviously there's places where conditional is necessary.. but silent null checks can cause more pain than good. -
How would you java spring guys write a JUnit test for a login controller? My controller works as followin: It checks the username and password values from the model and then either redirects to the home page or redirects to the login page with an error code. How am I supposed to test that behavior, when MvcMock can't capture the redirects?1
-
*not a rant*
I'm building a dashboard/control panel that checks on the status of a couple of dbs/apis/websites and need a cool name for it. Let's see how creative devrant can be?14 -
One user could report that the data they saw didn't make sense. Turns out there was a one-off hardcoded caching detail for one of our services that cached based on a search query (yes, the entire query was the key) and before any auth checks. The system would return the results owned by whoever asked first, no matter who asked after that point.
There's "Oh dear but we all make mistakes" and there's surrender cobra. This is what PRs are for.1 -
So today I started in Cambridge, went to Birmingham then Manchester now I'm in Sunderland and back to Cambridge tomorrow. I don't mind driving but almost every motorway I went on had like 20 miles of average speed checks at 50 due to "road works"
-
Context: data warehouse
A colleague gets notified that his historisation produces duplicates. He checks the tables, sees that something has gone wrong ... and asks me for help.
I'm so sorry but I had to laugh so hard. Turns out everything crashed cause the value to be historised had changed back to an earlier version (which can happen). And now I'm here wondering how someone who calls himself a senior dev can create a historisation without taking care of gaps and islands. Seriously, how can you not think about that?4 -
WordPress Pods "introduced new Access Rights checks and comprehensive functionality to assist you in limiting how your content types can be used by other users."
In other words, they have just introduced a breaking change that hides CMS content elements that were expected to be visible publicly to everyone. -
Slight behaviour change request. If you hit reply to someone then their id is added to the message. If you go back to view the thread, and hit reply again then another copy of their id is added.
A simple clear won't work as someone may be mid rant reply, but perhaps if the app checks if the id is already in the message window before adding in another copy.
@dfox1 -
TypeScript is bullshit. Change My Mind:
I am a student and I started learning typescript as an advanced project at the recommendation of my teachers because I am a bit ahead of where my software development course is.
I started by testing the logic of types, and then I encountered type: unknown.
According to the TS handbook:
"If you have a variable with an unknown type, you can narrow it to something more specific by doing typeof checks, comparison checks, or more advanced type guards that will be discussed in a later chapter:"
So according to what this says, if you check a variable of type unknown, to equal a certain object type, typescript will allow you to assign that unknown value a I tested this out with a data type - objects and typescript freaks out.
Also, if create object with a property assigned to a function, it won't even show you that property when you console.log the object
ALSO, you can't post urls in this website, so this website is also pretty trash.12 -
What's harder than trying to name a variable is to think of a memorable but easy to type password to a system that resets expires every 3 months with history checks.2
-
Last 2 days went as following:
This is a mess I've got to fix it before we can't actually do work.
Today: fixed finally now let's run
Wtf styles all messed up.
(Check source code)
Third party source changed wtf.
Can it be fixed:
Checks over whole page. Noooo even html wrong. Typescript wrong.
Solution:
Rewrite 3 months worth of work in 2 days -
Was asked to look at another teams repo to see how they use Cassandra. In that repo, I found a function that creates a map[int]bool populated with a handful of numbers all with true as the value. The function then checks the existence of an int in that map and return a true if it exists.