Details
Joined devRant on 4/18/2017
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
-
If you're fascinated by compilers and want an easy read, take a look at http://homepage.divms.uiowa.edu/~sl...
It's math light and goes into theory in a casual manner. Was fun reading. Take a look.1 -
HAPPY NEW YEAR 2020 from BG. I'm protecting my cat from the 2 hour barrage of fireworks outside. I wish you all well, I really do!3
-
Interviewer: What is your native language?
Me: Lisp
Interviewer: The programming language?
Me: Yeth5 -
One of my favourite, encryption puzzles is this:
ITuyVT93oUZtLKWyVT5iqPO3nTS0VUEbMKxtp2IyoD==
Answer is plain text string in english. Good luck, post solution in the comments!18 -
Just a quick question: do you think investing in Ruby/on Rails is a good choice? I really like the language, but every time I mention it I feel like an alien.3
-
decided to rebuild my personal website as an emulated terminal... pretty happy with it so far.
(its open source in case anyone wants to check it out: https://github.com/alexdovzhanyn/...)9 -
// Stupid JSON
// Tale of back-end ember api from hell
// Background: I'm an android dev attempting to integrate // with an emberjs / rails back-end
slack conversation:
me 3:51pm: @backend-dev: Is there something of in the documentation for the update call on model x? I formed the payload per the docs like so
{
"valueA": true,
"valueB": false
}
and the call returns success 200 but the data isn't being updated when fetching again.
----------------------------------------------------------------------------------------
backend-dev 4:00pm: the model doesn't look updated for the user are you sure you made the call?
----------------------------------------------------------------------------------------
me 4:01pm: Pretty sure here's my payload and a screen grab of the successful request in postman <screenshot attached>
----------------------------------------------------------------------------------------
backend-dev 4:05pm: well i just created a new user on the website and it worked perfectly your code must be wrong
----------------------------------------------------------------------------------------
me 4:07pm: i can test some more to see if i get any different responses
----------------------------------------------------------------------------------------
backend-dev 4:15pm: ahhhhhh... I think it's expecting the string "true", not true
----------------------------------------------------------------------------------------
me 4:16: but the fetch call returns the json value as a boolean true/false
----------------------------------------------------------------------------------------
backend-dev 4:18pm: thats a feature, the flexible type system allows us to handle all sorts of data transformations. android must be limited and wonky.
----------------------------------------------------------------------------------------
me 4:19pm: java is a statically typed language....
// crickets for ten minutes
me 4:30pm: i'll just write a transform on the model when i send an update call to perform toString() on the boolean values
----------------------------------------------------------------------------------------
backend-dev 4:35: great! told you it wasn't my documentation!
// face palm forever4 -
What fresh hell is this
.replaceAll("(//"?)([^//d]+)(//.?)([^//d]+)(//.?)([//d]{3})(//.?)([^/d]+)(//"?)","$1$2$3$4$5$6$7$8$9")
...who is fucking with me7 -
There is NOTHING more satisfying than having an algorithm suddenly click while you are in the shower.
I got a program for determining Prime Numbers using Extended Euclid Algorithm from ~2 to .28 seconds <35 -
Sometimes I sit in awkward positions while coding. I once stood up at the office, took one step and fell to the floor because my leg was numb. They almost gave me a medal.2
-
The moment...
...you work on a script for over an hour via ssh, want to shutdown your notebook and do 'shutdown -h 0' on the remote machine...7 -
Dear programmers everywhere who keep your blogs running for years after you stop posting: Thank you!5
-
Finally got my new coding buddy! Gilfoyle will hopefully help me to straighten up my miserable code. Praise the dark lord 😀16
-
I know a developer who works for a Mortgage Company, and he is dangerously incompetent. He used to work for my boss before I did and we both told his new boss how unqualified he is, but because he's able to get things "done" they think he does a good job. But I've been in the code and their entire system could any day just completely Fall Apart and they could be in a lot of trouble and we tell them this and they don't listen to us.5