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 - "codes"
-
Hey geeky girl,
Roses are #ff0000
Violets are #0000ff
I use hex codes, but I’d use RGB for you.
Yet to try it in real life.6 -
Get rid of required minimal lines of code for project assignments.
I
Will
Slap
The
Fucker
Who
Codes
Like
This
As
Many
Times
Per
Fucked
Up
Line11 -
Programmer boyfriend says he misses me, wants to talk to me and wants us to video call.
He codes on camera instead of talking with me. 😂10 -
Our project is a legacy of all legacy projects. The developers imported the third-party libraries by copy-pasting the whole source codes into the project. Ohhhh yeahhh!!!8
-
There is this guy at work we call 'the human linter'
Despite his mad clean codes skills: light theme
Dafuq dude :(13 -
Guys! It's 'code' NOT 'codes'.
I check the newbie's code. [correct]
I check the newbie's codes. [not correct]
Programmers write 'code'. It's an uncountable noun so we cannot pluralize it.
Spies use 'codes'.15 -
HTTP return codes cheat sheet :
1** : Hold on
2** : Here you go
3** : Go away
4** : You fucked up
5** : I fucked up5 -
Remove the egos, and then read other people codes, it doesn't matter their codes are good or bad, you can still learn from it.
-
What do you do for a living?
I just write line of codes until it works and looks aesthetically pleasing.3 -
Code review, here the simplified version. What the fuck has to be wrong with someone who seriously codes the first variant in production code?!19
-
After Bought Minecraft, I'm planning to create a Programmable 4-bit Computer.
Just Finished Building ALU, So Here's my Progress Screenshots :
1. Op-Codes and Input A Sides28 -
So today is Monday. A bug report comes asking to be fix. I feels weird reading the report. Then I check the codes.
SOMEONE MESSING WITH MY CODES!!!
The other developer codes a very un-dynamic function that gives birth to bugs. Know what? He replaced my original codes with his faulty codes. 😑 😐3 -
Don't put a hack and leave comments like "// HACK: Remove this later". It's gonna stay there forever. Trust me. Do clean codes from the start!2
-
As I joke, I put in the requirement for links to be active on a printout. My developers showed up with QR codes. Touché.
-
I AM GOING TO PERSONALLY MURDER WHICHEVER SHITBRAINED INCOMPETENT MONKEY THOUGHT IT'D BE A GOOD IDEA TO RESPOND TO ANY AND ALL API ERRORS BY SENDING A RESPONSE WITH THE STATUS CODE 200 AND A BODY OF THE FUCKING STRING "error" AND NOTHING ELSE
WHY?!!?!?!??!7 -
I, (a British developer), just had to explain how American Zip Codes work to my US-based colleague...6
-
Life would be so easier if they start providing IDE in exams rather than writing all codes on sheets🥺🥺18
-
CIA malware codes are freaking amazing.. :-P
Brutal Kangaroo.
WeepingAngel.
Starmie and Stubble.
Gaping hole of Doom.
Creatin and RoidRage.
Munge Payload.
Panda Sneeze.
Bumble.
Source: http://flip.it/MezvB4 -
Argh! What are HTTP status codes for if you're not using them in your API implementation?!
Fucking morons!15 -
So here I am, skrewing around with the Google Authenticator app and the dodgiest base32 code generator I've ever built and generating a 56 char unique ID, and a 8 digit time based code.
WTF, all these products, services and logins that use 6 digit codes... and this fucking thing can handle 8 without breaking 😑
Now... to hook it into a QR code class... and spit out an image I can actually scan, without calling google charts api.
I can't say I've written one of those before 🙃6 -
Marketing for Developers done RIGHT!
<!-- Hey Payoneer Its better to hire me... im better in posting ads on fb and more better in writing codes -->6 -
Tracing thousands of lines of codes at work to find something for almost 2-3 hours.
All of a sudden I can't remember what I am looking for anymore.
#StartingAgain :(1 -
When people say 'I have some codes to write' rather than 'I have some code to write'. Makes me cringe 😥 😤 😭2
-
So I just saw the absolute best thing on Facebook today and thought I’d share. Game of Codes! https://facebook.com/webdeves/...5
-
Codes happily without errors...
Computer is getting slow...
Save codes, restart computer...
Opens IDE...
"3 errors found"7 -
In 3 years of coding, I have yet to meet another person who codes... In real life. Where is everyone14
-
Writing some algorithm:
me: *codes for half an hour*
"hmm... isn't working... wait wtf this isn't right..."
me: *codes for an hour again*
"still not working hmmm... wait what no this isn't supposed to work..."
me: *codes for a few hours*
"still not working God damnit.... it's supposed to work now..."
me after another few hours: MOTHERFUCKER CAN YOU START FCKING WORKING FUUUUUUUUUUU1 -
I didn't need it so far, haha.
I thought it would be good some programmable keys to write System.out.println and other codes 🤔5 -
game of codes
https://youtu.be/3vI_7os2V_o
this video is for those developers who watch game of thrones4 -
Xamarin.forms. True multiplatform* by Microsoft.
*you just have to make sure not to use any of the platform specific features, or write 3 completely different codes10 -
Happiness is removing all the compiling warning from a project which has half a million of lines of codes
*peace*3 -
You dont allow backup codes on Indian mobile numbers? What the hell github? Sundar Pichai what you doing brother??6
-
I think it will be very odd to ask a girl to wait so that I can read the code on her skirt, with no wrong intentions.
I guess she won't understand how attractive source codes are.15 -
Ex-employer contacting me after 6 months asking for 2FA codes into their system which I handed over a week before leaving... Sorry guys (not really!)1
-
When your colleague comments out some of your codes just to reverse engineer how it works. And checked it in!!!1
-
Is making documentation in markdown recommended or word/other editor?
I also need to put some pics and codes.2 -
My first script in Python.
It's amazing how it is simple manipulate spreadsheet data.
I'm a PHP developer and the same task would require ton of line codes.4 -
This senior dev of mine is so good that he always reminds me to finish the bugs and yeah, fixed it, and sent the codes to him. The hell's wrong with him is that he hasn't upload the codes i sent to him.2
-
Was so used to saving my codes after i write something (ctrl+s) that i always ended up pressing them on browsers and after i copy and paste files.8
-
When you're debugging a method called
GetPatronByPatronId(id) and see these lines of codes at the end3 -
I make friends on the Nintendo Switch with friend codes.
Friend codes in 2017, what is the world coming to? -
Typing 2 pages of sprite codes from a magazine, then saving the little game onto an audio cassette...5
-
COBOL is fun they said.
But writing codes + calculating every space is sooo f*cking hard.
But I'm enjoying it tho.3 -
What if a code, running a factory, making dev ducks, was buggy? Would these ducks cause more bugs in our codes?2
-
When you're the only one in the office that codes in C++ and you get this email -- legacy project code here we come.1
-
Front-end Dev: I got a bug but I don't understand! I've copied all the codes! :(
Me: Where did you copy the codes from? :0
Front-end Dev: From begining to the end!!
Me:...... -
"Senior developer" blaming me because he's not able to remember the codes anymore because I refactored it.
GET OUTTA MY FACE YOU WERE THE CODE REVIEWER2 -
Does anyone else hate capitalised hexadecimal colour codes?
I'm not sure why, but I just think #ccfd73 (just an example) looks better than #CCFD7315 -
I asked him: "What are the projects conventions?"
He replied: "Everyone codes as he likes to"
And I was like... It will be a nightmare😂😂3 -
There's this Senior Developer here at the company I work for, and every single project he works on (usually APIs), the return status codes are always 400 when there is an error.
How do I tell him there are over 60 status codes?2 -
My codes has mutate from a minor bug to a monstrous one.
It happened when I try to fix the minor bug. Looks like I add more bugs instead.4 -
Opened up the authenticator on my watch yesterday and one of the codes (yes this is when you can use plural for the word 'code') was 7000000. Unfortunately I wasn't able to snap a photo of it... :(5
-
Newbie-
Today: Loves Java
Tomorrow: loves Python
Next: loves PHP
Everyday: VERY FUCKING CONFUSED!
But, as long as the codes run, we good😏1 -
So i found this the other day and thought i would share it with you.
It's a collection of short little songs inspired by HTTP status codes.
Neat idea but is a little rough around the edges.
https://thingsinjars.bandcamp.com/a...1 -
When you're web scraping and the site suddenly redirect their url to their second site so your codes becomes useless.
-
All Chinese who write github codes in English and comment on code in Chinese. Please please stop. Use one language.3
-
When your boss finally gives you the wifi access codes to check the responsive design on your phone without killing your personal 3G quota...2
-
Project due next Wednesday, spends all day Friday drinking beer and playing Mario Kart Double Dash....
My codes compiling. -
So saw some new cool technology/library (vue 2.0) and suddenly I feel like my codes are rubbish and outdated. major urge to rewrite months worth of codes. Is this self-suicidal mindset normal? please share.4
-
So I'm working on a project that relies on Google apis specifically Maps. What I just found out blew my mind. The company that writes documents about how you should return correct status codes doesn't return correct status codes. If I send a request with a proper API key, I get a 200 okay back. If I send a request with an invalid API key, I also get it 200 okay back2
-
Fun idea;
Who else thinks @dfox should release a version of devrant for Easter with Easter egg codes for free/discounted swag hidden all over the app?5 -
I was ranting about overusing classes on python, then I noticed I'm a person that creates new functions for 2-3 lines of codes for no reason..3
-
Do you test your codes while coding or after completion?
I test while coding.
PS:- I'm web developer.15 -
Does anyone else have a home screen widget that is their contact details as a QR code?
And has anyone found a not-shit android app that'll do it?
I CBA to make one but also it's really useful. I hacked it together with an app that'll scan a QR code and display it as a widget.6 -
You should know you can write error codes in hexspeak. Here is a color chart for eyecatching illustrative purposes.2
-
Can we have a new rule on greendots? As soon as they ask for "the codes" instant permanent ban. Fuck off.8
-
Just figured out an interesting fact ..
While learning to code it sometimes gets complicated to differentiate between learning and copying codes..2 -
Imagine requesting something from a girl/boy you're interested in, and getting replies in Http codes...
What are the funniest?
402: Payment required
403: Forbidden15 -
When something unexpectedly not working on the website and your boss told you to ask a help from the host company (GoDaddy) to fix the issue in the codes.3
-
Did you know the moon mission would have been a complete bust if one guy, the day before, hadn't looked at the error codes. The same error codes that were continually popping up on the console during the dissent onto the moon. If it weren't for him they would not have known what those error codes were for and would have aborted the mission.4
-
Can you code a code that codes?
Can that code, code a code that codes a code?
So basically that code, can code itself.
So a self code code then, huh 😂😂🤣😁😀6 -
I fucking fall in love with night every time it gets my things done! I am super amazed that any problem which I wasn't able to solve couple of hours ago seems easy as soon as world sleeps. :)
-
Here is a helpful link to quickly test and run php codes without your local server. http://phpfiddle.org4
-
How do you approach generating "random" unique numbers/strings ? Exactly, when you have to be sure the generated stuff is unique overtime? Eg. as few collisions in future as possible.
Now I don't mean UUIDs but when there is a functionality that needs some length defined, symbol specific and definitely unique data, every time it does it's stuff.
TLDR STORY: Generating 8 digits long numbers so they are (deterministically - wink wink) unique is hard but Format Preserving Encryption saves the day. (for me)
FULL STORY:
I had to deal with both strings and codes today.
One was to generate shortlink word for url, luckily found a library that does exactly this. (Hashids)
BUT generating 8 digits long, somewhat random number was harder then I thought, found out on SO something like "sha256(seed) => bytes => ascii/numbers mangling" but that had a lot of collisions because of how the hash got mangled to actually output numbers and also to fit the length.
After some hours I stumbled upon Format Preserving encryption (pyffx) and man it did what I wanted and it had max 2 collisions in 100k values. Still the solution with this feels hacky af. (encrypting straddled unix timestamp with lots of decimals)6 -
Anyone who codes like this?
if(IsThereAValue($("#txt_term").val(), true) == false)
{
}
this is too much!!! damn! complexity!!!
PS. He is my senior developer.6 -
can't fcking post a question in stackoverflow!! it says i need to format my codes but i dont have fckin codes in my post!
-
Client: How you will know if there is an error on your codes?
Me: I know it if the color of the text codes seems not right3 -
I do a lot of linguistic side projects, and got tired of rebuilding the languages table, so I did a bit of looking around today and put together a MySQL table dump with all of the the codes from ISO 639-1, 2, and 3.
If anyone's interested, here's the link. Enjoy!
https://github.com/Kaji01/... -
Sometimes I start to write codes and I even don't know how it's going to be end.
I just hope I find it along the way. 🙃2 -
Hello guys, where is the best place to keep updated with latest codes, and code tricks? For Android, php etc... Any language it does matter2
-
What do program codes and churches have in common? First we build them, then we start praying on them.🙏🏻
-
Half sleeping at the train and writing some codes on the back of the ticket ... What is wrong with me1
-
A new development rule I've started to implement:
All backend APIs will be written with the assumption that it's gonna get distributed as an API for 3rd parties to be integrated in their systems - meaning that every API I write will have proper response status codes for appropriate scenarios (like 400, 429, 500 status codes).
No more `res.json({status: false, message: 'message'})` with 200 status code across the board.9 -
Now I can sleep 8hrs a day, because whenever I close my eyes I can see the codes I have been working on.
-
Sometimes, I feel my codes follow quantum mechanics... Uncertainty everywhere.. Either it will run or follow proper standards.. Expecting both at a same time.. is not yet possible..
I can find a new excuse about my uncertain codes... If quantum engineers solve the uncertainty principle, then only my codes also will learn to behave as expected.. -
My entire senior capstone project which was supposed to be done by 4 people: I codes the entire thing myself.3
-
Wrote pseudo-code on paper for a year in high school. Didn't understand anything
Next year, realised what the pseudo codes meant in Visual Basic1 -
How has weed affected your ability to code short term and long term? And is there anyone who codes while high? What about CBD?7
-
Anyone that codes open source and is successful with it. I would love to create some tool that helps someone in their everyday doing.1
-
One day, being new in the team i was not sure of all the DB column decodes, asked my senior member to send me decode of a column.
He sent me a 300 line SQL query. Took me 30min to understand it. -
Something really strange happened now, I received my 2-step login codes from Google from an unknown number and just codes, doesn't Google usually use this format: G-XXX-XXX
and have their name in the title?5 -
Stop shitting on my codes sir :(
I know I didn't give you strict guidelines but pleeeeeease do not code it this poorly. These are obvious mistakes.... -
The moment you're asked to fixed someone's codes, then you see that the codes are totally messy and f**ked up1
-
One of the key principles in Life is acceptance. I just wish some of the codes could understand this....
-
How do you guys organize/save your codes, snippets, hints etc?
I already tried .txt file, bitbucket snippets, evernote6 -
Going through the stacktrace of my 30 line of Tensorflow code, made me surf almost 20 different library source codes.
-
My Data Stucture teacher at university makes me submit handwritten assignments.
I've written fucking 300 lines of codes and now I have to fucking copy them into fucking papers.4 -
Emailing clients their website, databases and domain codes. Tell them to move it to another server in two weeks because this one is phased out.
-
Where can I upload some of my projects on internet (just want to show my codes in public and get some valuable advise)?
I am not that old in programming to make really complex programs but I had build some projects so, i want to upload them ;-)5 -
I think I won't be happy if all my codes works perfect no bugs at and all, I think I'll feel like my life have no purposes or as the wizard will say the coder have no destiny , how would you feel if all your codes works every time .1
-
Python 3.9:
Cool New Features for You to Try
String Prefix and Suffix.
Type Hint Lists and Dictionaries Directly.
Topological Sort.
Greatest Common Divisor (GCD) and Least Common Multiple (LCM)
New HTTP Status Codes.
Removal of Deprecated Compatibility Code.2 -
Sometimes I wonder if other developers in my team are paid by lines of codes they produce, because I cannot find explanation for shit they write
-
Never go live without legit scrutiny! If you are freelancing, ask a good friend who codes or someone you trust.
But never go live without code reviews!!!3 -
I just realized i created a paradox: no one codes on a daily basis more than i do and yet everyone earns more money than i do7
-
Does anyone know any algorithms for generating crop circles?
I would Google it but "crop circle codes" doesn't exactly give me what i want.13 -
So I have to mimic some codes that I was not given any explanation because it's from a team that is, like, the only one that does not like the others and we have to work with them.
All the teams do codes with similar coding rules
and then there is this team. Weirdly enough, they are the most strict on their rules. -
Now where do i start. Hmm. Oh. How about a mountain of nested ifs. Or, super god codes. How about some unreadable variable names.
-
I'm just testing out some code for Spring Boot with Spring web. Whilst inspecting Spring's HttpStatus enum I suddenly realized there are a lot more HTTP status codes than I had estimated. I knew there were many, but woah that's a lot.
Check it:
https://en.wikipedia.org/wiki/...
On a side note, it really helps to debug work stuff at home. More concentration, more time and such.
Fun fun.4 -
It tooks me days to code my handwriting for a CNC plotter,how god managed to code roughly 7.7 billion codes ,lol!
👌1 -
Spent all day trying to fix my intermittently failing Wi-Fi connection on Linux. Error codes for wpa_supplicant are entirely unhelpful. -_-1
-
The temp blankspace when switching between frontend and backend codes after intensively focusing on one for a solid 2-3 hours.
-
Are there any websites or apps where you can/must analyze codes to find out bugs for example.. Or must complete codes in right way.. Like training lessons?9
-
Does anybody know how to connect a browser to webstorm?
I wanna run my codes on vivaldi but don't know how!!!2 -
How come so many dev teams are working with blindfolds on?
We have two projects that communicate using endpoints. One of them throws a parsing error with some data. Cool, just give the calling project some debug references and attach a debugger right?
Apparently not. I haven't figured out why we can't do that, it seems like the project only works using nuget references so we never get any debug info for the other project.
Asked around how we usually solve issues like this. The answer: "idk the codegen always works, so we never solve issues like this".
What.
It "always works". Except now it doesn't. And you've never tried debugging it? Instead just working with blindfolds on trying random shit until it does?
This is far from the first time I've heard this on a team. That and "we don't need error codes, if something goes wrong we have to fix it either way". I'm losing faith in the dev world... -
You have to modify an old crap software in php.
2 hours to change the codes
2 hours to test the changes with selenium test3 -
Life is too short to have commented codes; don't want to go back to it once it shows up in the static code analysis scan9
-
Can I pls receive some constructive criticism on my side project an app that shows APIs demos and their resp. source codes
https://play.google.com/store/apps/...3 -
I hate react-redux boilerplate code and NgRx boilerplate codes too. How to avoid boilerplate code or minimize it?
I've heard about zustand but it is quite new. Legacy apps mostly use react-redux with lots of boilerplate codes.5 -
FWIW you can store data in google photos and use it's text conversion algo to search for stuff. Such as screenshotting recovery codes and searching for "recovery codes"6
-
Incomptent 3rd party "services" that you have to integerate with their non-consistent API error codes and useless 'new, more optimized' half broken ETL pipelines
-
Nework engineers wannabe developers. They write static shit and duplicate codes, so they have everything in control.
fu=ck you mofo1 -
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...
-
A conceptual overview of how Error Correcting Codes and Reed-Solomon works
https://monades.roperzh.com/error-c...1 -
Does anyone knows what Qrcode-monkey used under the hood to generate fancy qr codes ?
In java, node, php, anything...3 -
Can you help me with the codes and output of these two activity?
I'm new in programming Thankyou
It's a C++ program14 -
Stupid Windows and their super generic error codes for why the 1607 release cannot download.
I just want bash on my windows machine!1 -
Write any new song in your Codes. It can be of any genre. Try to write any new Song. Let's see the Creativity of Fellow DevRant Developer. :)1
-
I'm sure this will have no privacy or security implications whatsoever. 100% foolproof and not a problem.
https://cnn.com/2020/11/...1 -
I don't understand why people take some shots on their codes using their mobile phones, do they don't have screen capture functions on their computer? lmao1
-
no mom, i dont slam on the keyboard and hack a security system while a bunch of codes magically appears on the screen.
-
When your boss was suggested to re-develop a website for the reason that it's much faster to fix an errors on the codes.1
-
I want to study Java + Spring Boot but I hate the long syntaxes and boilerplate codes. Too many codes to do simple things turns me off.4
-
I'm implementing 2FA supporting TOTP, SMS and backup codes. To store the backup codes I've issued in my app's database, what should I do re hashing/encryption?5
-
Possessiveness over one's code is more dangerous than possessiveness over his girl - codes are getting closer to heart