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 - "response"
-
I just wrote more than 140 char in a tweet, inspect the element and turn Enable = True on Tweet button.
The response was epic.6 -
Got my hands on an interesting API.
Look around on the site.
No documentation. Like, nothing. Not even examples.
Tried calling it.
Response code: 200 OK
Body: Unknown Error.
Well, fuck you too.17 -
*sigh*
Ssh'd into raspberry pi:
$ sudo ip link set dev wlan0 down
*waits 5 minutes for response*
Oh.. Oh yeah..15 -
Me: We should change the http response code to anything but 200 OK in the error response case of our API.
Other dev: No, it's fine.
Me: Why?
Other dev: The client successfully receives an error message.
Me: ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻15 -
RE: Why I punched Dave
In my defense to the accusation against me punching back end developer dave in the face, look at the following response:
HTTP 1.1
status: 200
mesaage: OK
body: {
"success": "false",
"message": "error"
}11 -
A friend bought a new expensive mouse.
I made the mistake of asking how it feels in his hand.
His response was "Heavenly. Like cupping an angel's ballsack".7 -
A customer once wanted a button to sort a table column by name (alphabetically).
We told him, he just needed to click the column once.
The response:
C:"I still want that button!"
Just why...?7 -
My gf was a QA. I told her to read my last devrant story about our colleague from the previous company.
Her response was "you misspelled 'taught' twice".
😢6 -
Response time of different people on Whatsapp:
Best Friend: 5-10 sec
Friend: 1-2 min
Best Friend(Girl): 3-5 min
Girl Friend: 1-2 day 😢
Client(when me solving bug): 0.00005 sec
Client(when me asking payment): *Blocked*
😕😕😕😕😕7 -
Pi Project
It's pinging Google and measuring the response time every three seconds, then graphs the result on the LED SenseHat. It's graphing wifi stability.11 -
Can't ssh to my vps at work; hello new hobby project!
(server hosted on vps, http request -> shell -> http response)
Next up is supporting an interactive shell18 -
This rant just fucked up devRant unofficial for Windows 10.
It causes a JSON syntax error in the API response. 🤣
Thanks @kwilliams! 😁14 -
Not my own rant, but when I see some user asking for refunds on a free app, I just gotta share it. See the developer's heart-warming response.12
-
Finally got a 200 response back from the server! Woo!
I've spent two days trying to get this to work (see my earlier rant). but yay! finally working!
So I log the response body just to revel in its lovely glow.... only to notice an error message saying "INVALID_INPUT".
WHAT THE CRAP.
200 FOR AN ERROR RESPONSE?
COME ON.4 -
Request URL: /api/v1/user/53b49b5a30
Request Method: GET
Expected Response:
Status Code: 404 Not Found (as the user is actually not present in the DB)
Actual Response:
Status Code: 200 Ok
Response Content:
{
"status": "ERROR",
"errorCode": "404",
"errorMsg": "User Not Found. Please provide a valid user ID",
"type": "Error",
"userMsg": "User Not Found. Please provide a valid user ID"
}
#extremefacepalm19 -
That feeling of when you finish a year long project, showing it off to family and getting a "huh that's it?" response. I just poured all being into this, it's okay. 😐3
-
Time spent creating an error response...
Implementing the response: 5%
Choosing the error message: 95%1 -
True story. During meeting, our manager asked us, how the data flow. Our lead programmer response, "PHP will produce Son of Jay output, and read by Javascript".
Our manager; "Hmm... Interesting"5 -
Emailed client asking for access to his Magento storefront.
Client emailed me the following response.
Yes, what is your email?9 -
Kudos to the devrant team for epic response time!
<50min from bug report on Twitter to workaround on prod!2 -
Fun fact: if you send a string as response from a java Servlet to Ajax request. The string isn't null terminated.
wanna know how I found out. I didn't for 2 whole FUCKING days.1 -
When I say I'm a a software developer in public. :/
Return $response[
"Hey can you hack a Facebook account",
"Can you fix my wifi "] ;9 -
Email from business team colleague today :
"Hi Sunny,
Can we please ask the client to clarify the meaning of NULL response?"
Me: *face-palm*6 -
Never begin a freelance project without a down-payment -.- 240+ hours in, an eager sounding client, no response for weeks now! What a waste.4
-
Please do not send me fucking messages saying “hi how are you?“ and then wait for my response before asking me what you actually want.13
-
In response to the picture I posted of my boss's wiring, we got a new switch today and he cleaned it up a bit.27
-
Whenever anyone mentions goats, I feel the need to point out the fact that they scream like humans. And then someone sent me this in response.6
-
To release my boredom I was talking to Siri and the response what I saw is surprising 😄. It's behaving like a girlfriend 🤔
-
MFW searching for a solution to an issue, I find a thread about it and the only response is:
“I don’t have this problem on my end.”2 -
I work for a Fortune 500 company where the proposed "solution" that I almost always hear is, "Let's use an Access Database for that" As a FullStack Dev my response is always the same:6
-
Nice learning experience from Spotify. If a survey response might contain negative feedback, just don't allow it to submit.
Clever Spotify ;)2 -
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 -
fuck me X'D Complained to nowtv that their player wasn't working because apparently it finds 'screen sharing' software running on my mac. This was their response19
-
Got my first response from a company i applied to a few days ago--it was a no without much explanation as to why, but at least they actually responded.3
-
Sorry for two memes a day, but I'm fairly certain we've all experienced a situation where we've wanted to use this response.3
-
So this API i'm integrating with wants me to post XML. Yet it's response comes back in JSON!
What the actual fuck?9 -
Auth Endpoint:
user name and password correct:
- response 200: with session key and profile info
user name and password incorrect:
- response 200: blank
smh -
Coworker: since the last data update this query kinda returns 108k records, so we gotta optimize it.
Me: The api must return a massive json by now.
C: Yeah we gotta overhaul that api.
Me: How big do you think that json response is? I'd say 300Kb
C: I guess 1.2Mb
C: *downloads json response*
Filesize: 298Kb
Me: Hell yeah!
PM: Now start giving estimates this accurate!
Me: 😅😂4 -
The weird feeling you get when you ask a colleague what he recommends as unit testing framework for C# and his first response is: "What do you mean by 'unit testing'?"11
-
My company is looking for a new React FE.
Just got a response to the add...
"I have 10 years experience with react and styled components."9 -
Just debugged an angularjs app for 2 hours to find out that I spelled "response" "reponse" as an http get request success callback function argument. I hate my life.5
-
RIP servers of https://robinsonsmovieworld.com//
I guess he must've gotten fired. It requests for the system time from the server, gets a response, and then displays it on the page.7 -
Finally got my nginx config to work properly (it shouldn't work but it does so I'm not fucking touching it).
Request with curl: check, right http code and getting data back properly.
Request with any browser (with and without incognito): right http code, AND ONLY SEEING DATA WHEN I ECHO ANYTHING BEFORE SENDING THE RESPONSE WITH PHP. When I don't echo whatever before sending the response, the browser doesn't see the data but DOES see the http status code.
HOW?!20 -
How tf do I explain my manager that I simply can't change the damn response coming from a 3rd party API without hurting his fragile ego but while also using crayons.4
-
what is worse on stackoverflow:
1. getting downvoted to oblivion
2. having your question view'd multiple times with no response
?5 -
Found this gem yesterday...
function justNumber(BigDecimal n) {
string negative_sign = "-";
BigDecimal response = BigDecimal.valueOf(n.toString().replace(negative_sign, ""));
return response;
}11 -
I felt uncomfortable reading this response from the server ._. ( response is from a validation library called Joi )7
-
My new favourite response to a bug ticket:
"But do you not remember we tested the implementation and it worked?"
... yes ... then it broke under other circumstances.
... must be terrorists or something2 -
That moment when your project is trending on HackerNews.
Your positive response was a big push, which finally made me post it on hn. Thank you so much, love you all!😃3 -
Just output the web api response like this:
echo "{"
echo " \"key\" = ["
for i in `seq 1 $arrCount`; do
if [ $i -ne 0 ]; then
echo ","
fi
echo "{ \"key1\" = \"${key1[$i]}\","
echo " \"key2\" = \"${key2[$i]}\" }"
done
echo "]}"9 -
Prod was down for 15 minutes due to failed DB connection attempts. Contacted DBA after the fact for an explanation. Response: We don't know, but it was probably temporary.
You think?????5 -
I realized I am a rant grifter...
Somebody makes a good rant. I respond with witty, snarky, or angry response. Then I cash in on them sweet internets points. Rant grifting.8 -
I recently found a vulnerability in a food delivery app where i can add credit to my account. as some of u suggested I decided to report it. Here is their response of me asking (before explaining the bug) if i will be legally prosecuted and if ill be rewarded. this was their response. I feel they were mean. Thoughts ?11
-
Angry email response from rejected interviewee
"Y'all are bogus bullshit company get the <frenchterm > out of Nevada Y'll Yankees oh and suck a dick "3 -
Boss: we have to fix this bug.
Me: It is not a bug ..the server takes more time to send the response which cause the timeout issue . we may need to change the implementation to increase the performance to send the response quickly. It will take some time
Boss: okay can we fix this by today
Me: ya if we increase timeout to 20 seconds the issue is fixed
Boss: No we want the server to send the response quickly and we need the fix now
I worked for the weekend to fix it finally......Guess what ....the change dint go live since the scenario was not valid and will never likely to happen in production -
DigitalOcean released this public message in response to Intels MDS. Definitely worth reading if you run servers at DO. https://blog.digitalocean.com/may-2...1
-
Nooooooooo! My wife told one of her friends that I'm a DBA. The response. "Oh. That's good to know. I've been having this problem with my cell phone." No! Why? Aughhh!
-
Just found this HTTP response.
Status Code:
200 - OK
Body:
{
status: "success",
response:
{
status: "error",
}
}13 -
I love Rest API's that always return 200 and have an "errors" field in the response body that I need to check...5
-
JS Console: user_name is undefined
Señor Dev: can't be the API response has it!
The API response: usre_name8 -
> Hi xx team, we are getting 500 errors from your api. Here's http request and resp.
< hi, we are calling yy team's api http://yy.Com?/api/yyy and it does not respond in 3 minutes, so we treat this as an esockettimeout. Please reach out to yy team
> hi yy team, can you assist us?
< hi, please provide request, url and response you're getting from us
> yy, all this info is in this very mailtrail
< hi, I cannot see request nor response anywhere
> [screenshot w/ highlighted "http://yy.Com?/api/yyy" and "and it does not respond in 3 minutes". Please read through this email thread, it has all the info
< hi, I need request and response to investigate this issue. Esockettimeout is not our error
<wtf are you smoking???>7 -
Just got an email that a bug I submitted to Firefox tracker got resolved! It took meager 7 years to get a response "looks the same in all browsers".1
-
Reported a security bug in Chrome two years ago, got the response now -
Moral - even google products are fucked up.5 -
Ok so to recap, we had shit beginning. We couldn't find client like 3 months and thank god that we agreed that we don't register the firm right away. If we did we would be broke a long time ago.
We found first client and he wanted to build some scrapers with gui. So me being BackEnd developer I created API for scraping (boredom) and my friend created website for that api and I just created gui that displays that site. The project was about 1200$. And since there are 3 of us we splited it into 3x400$.
After that it was again really hard to find clients again. We thought of quitting and just going to uni or something but we really didn't want to and anyways we needed to get money for uni ourselfs if we wanted to go.
So we said that as we are not paying anything and not losing money we will continue as long as we can.
And after we managed to get a hold of it and now we have 2 clients and after we finish them we have 2 more.
So I think the most important thing is that you help your coworkers. My friend who finds clients had a rough time at the beggining as I mentioned. So all 3 of us got together and started spamming people for few weeks. That's how we found our first client.
So now we are running. Not a milion dollar company but we are happy that we are doing what we love and that we have money doing it. We aim higher but we don't want to hurry and screw things up as we are young still.
Also thank you for getting interested after 300 days :)11 -
Honzo, can we make this website responzive?
Looking ito code:
position:absolute; position:absolute; position:absolute; position:absolute; position:absolute; position:absolute; position:absolute; position:absolute;
Response: Sure.
Client: Cost?
Me: Much.4 -
I usually never had like a serious fight with a other dev I have a really good team but occasionally when I do this is my response. 🙂2
-
Was working on a bug with another dev one time. He was hovered over my shoulder pretty closely when someone stopped by the cube and said "What's going on?" His response: "We're bobsled programming".
-
!rant
I am so excited, I just got a response from Voodoo.io on publishing my mobile game. Hopefully it makes a decent amount of money!5 -
Client request: POST /user/login
Server response: "Login working bitches"
Client: if (response === "Login working bitches"){
//sign in
}1 -
Unfortunately, "developer brain" does not respond. You have the following options:
Option A
Refill coffee-mug, drink and keep on waiting for a response.
Option B
Go to sleep.1 -
ChatGPT implementation details leaked !!!
This explains everything:
- slow response typing
- occasional nonsensical answers and factual mistakes
- delays before answering
- sudden and random network errors
- "servers" over-capacity
- responses with an Indian accent6 -
My message to all devs.
If your boss emails you during the festive season, you owe no one a response. It can wait. Again, it can wait. Happy festive season nerds. -
My standard response for any stupid questions. If you haven't tried it already then don't bother me.8
-
I was tricky this time and sent a separate email for the client and my boss about the new release.
Client response: "Its very good, runs flawlessly, could you check x if you have the time? It gives errors simetimes"
Boss response: "[...] urgent fix get working on it right now [...]"
Seems like my boss has been the fucking piece of shit all this time :)1 -
I emailed a client with a question if they want option A or option B for specific feature. I got a one word response. "yes."
Witch one should I implement?15 -
Don't you love it when out of a sudden tests fail because backend guys decided to change JSON response of one of the endpoints used.
aaaaaaah! can't this day just end ASAP!2 -
When you find you should use `$("#id").html(response)` instead of `$("#id").innerHTML = response` and it works just fine out of a sudden.
So, how was your day?4 -
"Free temporary (48h) file hoster. Please use the contact email to the right for info.
We comply strictly with DMCA takedowns but please allow a 48 hour response time."1 -
I really hate api response variable names like this. I mean why type "targetitemid" when "target_item_id" is so much more readable?8
-
HR Interviewer: Where do you see yourself in 5 years?
Interviewee: I have your job and I'm asking the interviewee: "Where do you see yourself in 5 years?" His response?
I have your job and I'm asking the interviewee: "Where do you see yourself in 5 years?" His response... -
Has anyone ever wanted to be ignored? Like talking to an empty void, not wanting a response? Just want to be alone?11
-
Stack overflow bots that will post vulnerable code snippets in the response section of popular questions and then upvote each others code and push it to the top.8
-
Ask fairly technical SEO question on Stack Exchange. Only response is a comment telling me it's be easier to do it differently and use HTML instead of Javascript.6
-
If an http request can't perform the requested operation, should server send 500 error code? Or 200 with status and status message in response?
Isn't 500 used only for unhandled exceptions on server side?11 -
Nothing more depressing than a response like "No, no, no, we can't remove this old code. It doesn't matter that there's 0 references as of 3 years ago"3
-
The response to Unity Tiny seems to be mostly "wow such small". I guess it shows just how bloated software is these days...4
-
How ethical it is to send 1gb email with big picture with word “NO” in response to spam email that wants my agreement ?11
-
What the sh*t is this kind of response?! One of my corporate department's internal API returns THIS.
LOOK AT IT. LOOK. "NULL". What are those malformed closing / ending brackets?!
(request headers have accept: application/json btw)
And, as a final "f*uck you", the "IPG_API_JOBD_NC_RESP_P_COLL" is returned as JSON object if response has one element to return, but will be JSON ARRAY if result has more than one element.
Good luck, you there with strongly typed languages..... Boils my blood 😅4 -
When a client doesn't click "Reply to all" and the other person is out of the office, so you get their response hours later 😌
-
Me: I need a subtitle for the header on my website: “Our Team”
Chatgpt: Sure, here are good subtitles for “Our Team” header on your website:
— Meet the Experts
— Our Skilled Professionals
— Talent at Your Service
…
Me: Make it a little bit lengthier:
Chatgpt: Sure, here is a more detailed subtitle option for the “Our Team” header on your website:
{{was actually expecting 2 to 3 lines but dude proceeds to write a full page long content explaining “Our Team”}}
I feel like this dude gets orgasm when it sees the word “lengthier”.2 -
The amount of times I write response as "reponse" or "repsonse" is too damn high.
Takes ages to debug as well.. 😡1 -
#whenProdBreaks
$data = ["some","predefined","data","set"];
// :/ this suddenly broke
//$response = $this->makeSoapRequest($data);
/**
Due to prod failure, Hot-swap soap for rest - don't ask how we took the same input, spun the shit out of the response and recreated the same data structure that the soap request made, but it works... and that's all you will ever have to know.
**/
$response = $this->makeRestRequest($data);
//process the response
$this->process($response); -
It was my birthday gf and friends got me drunk, so in response i woke up with a hangover. Coding does not mix well with a hangover 😟
-
Trying to work with an API that has no response object (it just returns empty arrays if something breaks) and it's JSON is not key-value.. just a bunch of dynamic nested values. just wow.3
-
I turn into a 2 yrs old whenever I'm editing a 3D model.
From the perspective that I want to throw everything in sight and my response to everything is "No!". 🙄4 -
I've concluded you can't get a job these days unless you're some fucking wizard. It's always the response: "We found better candidates than you".13
-
An update on my rant about that interview I had.
They emailed saying they're sorry I didn't pass etc.
My literal response was: wow. Shocker. No shit I didn't pass 😂 -
When you're reviewing code and you find:
switch(intIn) {
case 1:
serial.println("1");
break;
case 2:
serial.println("2");
break;
case 3:
serial.println("3");
break;
etc
case 123:
serial.println("Correct response ");
break;1 -
> Opened PR on May 2nd
> No response
> Bumped them on August 3rd
> Closed without response 🎉
> Questioned them, no response yet..6 -
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
-
that hardworking developer is the one that writes (request, response) in node.js instead of (req, res).
-
Me : Hey Azure, I have a problem with "this" blade in Azure portal. It's not working
Azure : Disable your adblock
Me : NO
Waiting next response2 -
When you talk for 20minutes and realise that your co-dev was just giving you the default response but wasn't actually listening2
-
Once upon a time there lived an old man who was waiting for his AJAX response, some say he is still waiting to this day.
-
Hired me on Upwork, now the deadline is coming near and he is too busy to answer any of my attempts to get response...1
-
API response.
For a week been working with my project manager remotely.
Then yester night had a tough one.
Me:Please send me the API endpoint so that can test it and see the response.
Him:On my side all is set just consume the response.
Me:As a practice I did first test the API using postman and the response was okay.
Me:As I had already prepared my Retrofit code to consume and parse the response I head to it.
Me:Fast forward 20 minutes into the application I realise getting some unexpected errors thanks to the guy who didn't follow my response format.
Me:I call him asking him to check how he formatted the response .
Him:He claims he formatted it as requested .
Me: Double check my work and am damn right and now raise my voice as I talk to him again and requests him to send me a screenshot of his response and I send mine.
From the screenshots turns out his response is okay as he is working from a damn localhost and my response was coming from the live server.
Feel like strangling him for wasting my previous 30 minutes2 -
Found this in some knowledge base article of a big software company.
I'm gonna use this as my automatic email response for work.3 -
I feel stupid to ask this here
I am getting this error in flask
view didn't return a valid response error. The function either returned None or ended without a return statement.11 -
Me, rueing typescript: "Dammit, Typescript!"
Typescript's cheeky response: Type 'string' is not assignable to type "Dammit"
ಠ_ಠ -
I hate recruiters. Especially those who are being unprofessional.
My response.
P.S. I hope you can read it.5 -
Simple but useful..
Wrote a greasemonkey script to convert url text to hyperlinks..
Reduced lots of time in finding the log url from the error response..
Helping me in debugging faster.. -
Who the hell returns a SOAP response with a CDATA node containing a text string that is a concatenation of XML document?
Someone hates me...5 -
Me: I need some stickers
Devrant: Give some programming jokes
Me:
#Take as many as you want
import requests
# api-endpoint
URL = "http://devrant.com/jokes/"
# sending get request and saving the response as response object
r = requests.get(url = URL, params = "funnyprogrammingjoke")
# extracting data in json format
Joke = r.json()
# printing the output
print(Joke)5 -
That feeling when you are waiting to hear a response for a front end role and all you receive are questions like do you work on Mac or PC...
#givemethejob2 -
Asked to implement a feature in a mobile app that wasn't actually supported by the backend. Feature had 3 possible values in the backend, only 1 and 2 were properly implemented. Below was the backend teams solution to support the third option.
- If the key is missing in API response A, means the user is not allowed access this feature.
- If the key is present in API response A, and missing from API response B, that means it hasn't been set.
- If both are the same value, user has that value.
- It will never be the case that both return option 3.
- If both are different values, one of them being option 3, display option 3.
this ... monstrosity, is in production to this very day. -
When managements' response is repeatedly, "we are working on it" - don't count on it anytime soon.1
-
*Developer working from home*
Dev -- Make me some coffee
Wife -- *no response*
Dev -- sudo make me some coffee
Wife -- It's not gonna work on me !!!4 -
Send 500 loc for review, get "looks good!"
Send 10 loc for review, get 500 words with questions (about the reviewer's preferences).
Sigh. -
Reviewed the code of a dev almost twice my age and asked why they used relative imports for seemingly no reason.
Response: “because I can”
OK, then.7 -
As a mobile developer I get fucking pissed off when I get a ticket on Jira saying: Response code 500
The server fucked up why am I the one to be reached for? Especially that code is displayed when no response body is returned -
Till now, hacktoberfest has been really bad more me.
Why so?
I got 4 PRs for my project, out which 3 were identical.
I reviewed them and commented to fix the bugs. The Unit Tests are failing and they don't bother to send out a correct PR. And they don't even bother to fix them and respond. They just want to make 4 PRs to get the free T-Shirt.
Just finish the PR and make it pushed to the mainline.2 -
A company I work with are reluctant to change their hosting provider until the end of their hosting term. (Which may be a perfect reason as it's paid for)
The website goes down everyday!!!! Not to forget it's a popular magazine website!
Here are the new relic emails at 1 minute intervals:
- HTTP 500 Response Code
- HTTP 508 Response Code
- NetworkError: Read timed out
- Connect to domain:80 failed: connection timed out -
When a tester found a bug that you never think of and you cannot reproduce it. What is your response ? 😄3
-
When I realised ruby on rails doesn't serve requests fast enough. It's response times are in 100s of milliseconds while the corresponding framework in elixir serves requests that are sometimes around 100 microseconds
-
> Ask scrum master question on teams
No response for 45 mins
> Ask colleague on teams
No response for 45 mins
....
Fuck it. Im going to the shitter to take a big fat shit!
*12 shits later*
Come back and see a missed call and 4 new messages from them both
.....
Cant even take a fucking shit properly! Fuck off6 -
Why the fuck does “Delete” also send a response to the sender when we already have 3 responses: Accept, Maybe and Decline!
Fuck Calendar logic! -
What would be a good response when somebody asks what is the best language to learn?
I'm honestly seeing this in all of the newbie forums and they never agree on anything8 -
The most painful thing about job application rejection is the canned response. You would be left scratching your head as to why you were rejected.2
-
!rant
Feature idea:
A way to mark your email message as "doesn't need a response" so you can send a simple "ok, thanks" to the email thread without triggering everyone's Automatic Out of Office Response.1 -
when you get response to AWS command `Credential should be scoped to a valid region.` but your coworkers don't so you have something different to debug on your end
fml1 -
Sending a request to link accounts.
Response: {
errorCode: 200009,
errorMessage: 'Accounts Linked'
}
Wait what? So I checked the docs and this is actually how it is supposed to work... >_<1 -
I'm doing work during the weekend. Just to parse this line of json.
Argh, what drive me nuts is after discovering that json response wasn't proper.
*sample - from what i seen*
{
head= {
data=value,
data=value,
}
}
This is my first time seeing json response with =. Since my assignment is to retrieve the response.
I cheated by calling replace over and over to correct the string of response to correct json format.
That is actually production stuff. Knowing that makes me sick to the stomach.7 -
```js
const app = require('express')()
app.get('/myname', (req, res) => {
res.status(502).send('Bad Gateway.\nUnknown header in brain response: "Hello world!".')
})
app.listen(80)
```2 -
One of our developer told that my code is ugly to our project manager. And my response was 'I know right! By the way your code also sucks. Fair enough.'1
-
> be me, associate dev
> slack mid-level dev 40 lines of code
> I have never written a REST api before
> his response is "lol"3 -
My response, as a gamer and developer, when yet another guy tries to explain how "mercurial is so much easier to use":
Git gud5 -
Calling in all Vue devs here! (Possibly any SPA dev actually)
We're building these fancy live-edit fields for our app. It syncs with the database with every keypress (with a debounce, ofc). Now, we're having a global Vuex module to keep track of the applications sync state. Using this module, we can prevent the user from leaving the page if there is data that hasn't been synced. Though, I think I'm doing something wrong here, and not strictly adhering to the "single source of truth"-principle.
When a user has finished typing, a request is made through Axios. When the response arrives, the field issuing the request updates it's display accoring to the response. However, there is also an Axios interceptor which updates the global state to reflect the latest response. Is this wrong? Should the fields themselves emit the mutation to the store? Or is it okay to use an interceptor since they're running down the same call stack?
I think my biggest worry here is that the interceptor and the field will interpret the response differently...
Help is appreciated :D (and thanks for taking the time)18 -
"Design is a response to a specific problem. You are given a problem to solve, and then you let the problem itself tell you what your solution is." - Chip Kidd
-
Microsoft certsrv is returning UTF-8 on the authorization error page but UTF-16 when logging in via basic auth...
Debugged this for 2 hours today to parse the response correctly. Thanks Microsoft -
How am I supposed to work in an environment where the backend crashes and is unavailable for 20 minutes multiple times a day and when it does work the average response time is 3000ms??1
-
The other week a Comcast tech was out to install some new equipment. He was unsure whether an antenna could be placed outdoors, so he asked on a Comcast tech group chat. Within seconds he received a response from another tech: "Google it". It just amused me slightly that it's not just developers who get this response, and also made me a little bit mad because I know the frustration of being told to Google something even when I am asking in the right place.5
-
Working from home via RDP. The lag kills me at times, you delete something, nothing happens and suddenly it's all gone. It's like I'm communicating in outer space with a super slow response time! Arrghhh!4
-
I'm curious about your opinion and response on using OctoberCMS to build a news & media publishing website like Times, TechCrunch, Mashable, The Verge etc.
I don't wanna ask which stack/tool to use nor I have any tech specific nitty gritty issues yet. However any type of response is warmly welcome.6 -
What would your response be, if somebody out of nowhere gave you a fly swatter and told you to get debugging..3
-
I wonder if everyone on DevRant grouped together and posted bug reports on Xcode, would it generate any positive response at Apple?1
-
Yo @dfox, I think we all know what devRant is missing. Some good old img/gif comments for all our meme response needs5
-
I was adding a new API integration into the product today, half of the API Documentation is written like shit, and has mistakes in them.
Okay, I kind of solved what ever errors there were in the documentation and got the API to give a response.
Tried to simulate an error response and all I get is 'Internal Server Error'.
What fucking pieces of shit wrote an API, which doesn't provide a correct error response.
I had to write to the support team in order to get everything clarified.
The elements that were indicated as optional should be there in the request it seems, if you don't want to enter any data for that, pass an empty string to it.
Atleast they could've given a proper error response / their documentation could've been better!4 -
Email I received today:
"I need Microsoft added to *****'s computer."
Erm... So... I have no response1 -
While waiting for internet to load on crappy bandwidth, the wait can burn you out just as easily. Including response timeouts...
-
When you send out an email on tuesday and in the weekend you receive a response. And have to wait again for a reply..1
-
Phone rings..."Did you get my email?" "Yes I'm typing a response now..." "Well what's your answer?" "Why email and then call!!?" Every. Single. Day.
-
No such thing as a dumb question, but when someone asks a dumb question my go to response:
lmgtfy.com1 -
So im working on a bot. The response of the bot wasn’t correct according to colleague a. So i fixed the response. Now i have a virtual directoy and the response is wrong again. Meanwhile i fixed issue b where the template path wasn’t correct so i fixed that as well. Then i got a merge conflict because i fixed 2 problems in one file in two different branches. So i fixed that. Then feedback came on issue b so we fixed that again. Now my response is fucked completely because the agent isn’t defined i don’t have a clue why. If i ever find out the output probably still isn’t correct either and even if it was i probably get feedback which fucks everything up again.
My god i landed in development hell3 -
That feeling when you type out a hilarious response to someone's rant on DevRant, written with meticulous code styling, and then you realise formatting is ignored!
-
fucking internet explorer asks whether to save the json response sent by my api a bug in it.
can't change the response to text/HTML can lead to xss.
why why do clients have to use ie -
Just first time tried an OpenAI PHP client package and this is what I got as a response on first request ☠️10
-
Alright, WHO WROTE THIS:
/**
* Store a newly created resource in storage.
*
* @return Response
*/
public function putStore()
... This is in UserController.php. It's the function for creating new users. #smh1 -
_"...An army of open source evangelists regularly preaches the Gospel of Saint Linus in response to even the most vaguely related bit of news about other platforms."_
The accuracy of the quote4 -
Got involved into a conversation/debate.
Said something as argument.
Opponent repeat with a 'yea' and plus what I just said as his argument naturally (amazing) and expect my response.
WHAT THE ACTUAL FUCK? -
Why can no-one, not one single solitary fucker, on StackOverflow get it through their thick skull that when I call PHP's http_response_code() or try to get $_SERVER["REDIRECT_STATUS"], I want the response code from Nginx? No, not Apache. No, I don't want to pass a status code FROM PHP TO NGINX, I want the response code. FROM Nginx. TO PHP.
In what fucking universe does PHP know more about the response code than Nginx? It doesn't. Nginx knows the response code, because that's the fucker that redirected to the error page. I want the error. Passed to the page. From Nginx. To PHP.
NO, http_response_code() DOES NOT MAGICALLY FUCKING WORK, IT RETURNS 200 BY DEFAUL- fuck it.7 -
Now why would you set Content-type application/json as a response header if your response is plaintext? 🤔
Have people no respect for http headers anymore?2 -
Why the response to a SOAP request is a HTTP error?
It took me half an hour to find the reason of an empty response.1 -
Irrational Programmer's Response to Problems - "I tried, if I couldn't find a solution to it, then it's impossible."
-
Tried to post on instagram, post failed, got a window with a button "try again" and a network response 400: "debug_info Object { retriable: false, type: "ProcessingFailedError", message: "Request processing failed" }"2
-
someone in my device architecture class: "don't you love that feeling when you get something right and your code works?"
immediate response from everyone: "what feeling?" -
Friend goes to work on snowblower, quits because they don't know what to do.
I ask: RTFM?
Response: I don't RTFM, I TIFU -
So I just got an email asking a quote for "implementing" the attached updated program.pdf into the CMS.... It literally takes longer to write a response O.o1
-
It's been two weeks since I sent my intern application and still no response. Should I poke the HR and the CS?1
-
So many forked processes curling webpages to get response status that I exausted my bandwidth... I need a server with good connection -_-
-
I challenge you to start a process from php.
The following criteria must be fulfilled:
- php-fpm
- the process is started on http request by user
- the response does not wait for the process to be finished
- the process must finish, possibly after the response reached the user
- the running process does not block a fpm thread/worker from handling further requests
Simple, right?8 -
Friday be like: "Remote end closed connection without response."
Fuck-you Friday, I thought we were going to be friends today.2 -
You know you are a fucked up frontend dev when deadline is fast approaching and API call gives messed up response.
-
You know ya listening to too much daft punk when you start calling methods after the song your listening too, SearchDaFunc Func returning to a polling Func, anyway here's Da Funk
https://youtube.com/watch/... -
Can anyone help me in jquery?
I'm doing a loop of trigger which are 13 in count, but every trigger event contains ajax call and what my problem is that it doesn't wait for ajax response and keep hitting trigger until last trigger fires.
so I'm having my ajax response only on last one.
What can I do for this?9 -
My day is basically request methods going to my endpoint '/api/v33/nfwg/WHATDOYOUWANT'
Response '{ "primaryResp":"sorry no fucks were given"} -
What are some of the least documented Open Source Software?
Let me start:
1. VLC
only has Doxygen, and most functions are not documented properly, with poor response from the forum -
I just had the weirdest feeling where the word "response" completely lost all meaning to me.
I googled it, and apparently this is called semantic satiation.
Huh, never happened to me before.. I hope the memory of the word response returns to me because though I'm not sure why I feel like it's important.3 -
(In response to stupid request) "Yes, that's fine."
Translation: "I've come to the conclusion that dying in prison for murdering you, is worth it." -
i usually assign the issue back to the reporter for "clarifications" and then work on a different module. 2 days later i get a response and can solve the problem faster.1
-
If you think laravel is easy, try to modify your json response in a way that's not too nested.
Not all language have built-in null-checking capabilities. We have a hard time in the front-end to do null checking if there are any nested(level 3 or more) JSON Response.2 -
I started using Gmail labs canned response feature. Access it from gear / settings / lab / canned responses. When composing new email or responding its in little dropdown next to trash can icon. Might save you time.
-
Well ... If the server response does not give me the new form data, how am I supposed to display that form without any data???
FML4 -
When the services team asks the mobile team what the response on a request is... And then requests console logging on the app so that they can test their code.
-
I love having to rely on discord or gitter message boards when Im running into blocking issues and the response is about 1-2 days...
Be a solo developer... yay...1 -
Started learning/using graphQL for my personal project and it’s really interesting! It solves my major concern of huge json response5
-
The "It doesn't work" response when you are helping a friend do some stuff on a computer just kills me.1
-
My friend brought up me copy writing my file transferring code and my response was “uh.. I was gonna just throw it on Github”.
So rip that -
Me [posts in community forum for software vendor]: Where can I find docs on X? I tried looking in the Knowledge Center but I couldn’t find it.
Random person replies and writes a two paragraph response about opening a support ticket with the software vendor…that response could really have been reduced to two sentences 😑 -
Why do clients expect that they would get a high quality machine learning model without a properly cleaned dataset? I usually get the response, ‘just scrape data and train it. It shouldn’t take long’3
-
the last several times i reached out to support there were at least 5 days of tumbleweed and cricket noises. fine with that while not accessing personal mails during the week. last time i got a response the next day with request for more information and case closed the other day due to lack of response. well played...
-
Is GPT3 adversarial? And if not, has there been any work to combine GPT3 with GANs, specifically to improve plausibility or "humanness" or otherwise tune the personality or style of response?1
-
Does anybody know if there's a tool for parsing protobuf using live Network capture? I basically want to be able to pass profiles into something like Wireshark and get a live request response cycle1
-
can anyone recommend a source how to implement the alexa apl into my endpoint response? the documentation is not that clear to me and i couldn't find a solution in some hours of searching.
-
Reversed network protocol didn't work, the sent messages weren't acknowledged or denied... basically no response from the server at all.
Turned out, after weeks of cluelessness, that I forgot to append PKCS#7 padding... -
The first rant that I'm going to do here is by writing a reminder note on posting a comment regarding Snap's inability to properly give response to the users on a solution post in Medium.
Here is the reminder:
Everything sucks: Windows, Linux, Mac, Ubuntu, Wine, Snap, Lutris every fucking program they are always fucked up, no fucking program is near to perfection. Let alone leave that fucking Snap response.6 -
I'm shopping around for response formats for my JSON API. They all suck.
What API have you used that's had the most sensibly formatted responses?
I'm leaning towards Slack's + some of JSON:API5 -
Wasted time why my localhost:3000 cant load at all and gives shit explanation about server response just to find out i forgot to turn off vpn6
-
I was given a perl script to help change ubnt airos devices passwords from the command line. I was give no instructions on how to use it and I am not use to working with perl If anyone can give me some help I would really appreciate it. Here is the code.
#!/usr/bin/perluse
FindBin qw($Bin $Script);
use WWW::Mechanize;
die "Syntax: $Script ...Changes the password on 1 or more AirOS units." unless @ARGV >= 6;
my $user = shift @ARGV;
my $op = shift @ARGV;
my $np = shift @ARGV;
my $rouser = shift @ARGV;
my $ropass = shift @ARGV;
my @addresses = @ARGV;
open L, ">>$Bin/$Script.log" or die "Unable to write to $Bin.log: $!";
sub l {
print STDERR @_;
print L @_;
}
for my $a (@addresses) {
l "Changing password on $a\n";
my $mech = WWW::Mechanize->new();
my $entry;
my $start = "http://$a/login.cgi?uri=/system.cgi";
$mech->get($start);
$mech->field('username',$user);
$mech->field('password',$op);
$response = $mech->submit();
# to get login cookie
if (!$response->is_success) {
l $response->status_line, "\n";
}
$mech->get(qq|http://$a/system.cgi|);
$mech->field('NewPassword',$np);
$mech->field('NewPassword2',$np);
$mech->field('OldPassword',$op);
$mech->field('ro_status', "enabled");
$mech->field('rousername', $rouser);
$mech->field('roPassword', $ropass);
$mech->field('hasRoPassword', "true");
$mech->click_button(name => "change");
$response = $mech->submit();
if (!$response->is_success) {
l $response->status_line, "\n";
}
$response = $mech->get(qq|http://$a/apply.cgi|);
if (!$response->is_success) {
l $response->status_line, "\n";
}
}close L;
exit 0;8 -
What is a RESTful API? I didn't come from the web world, and to me every HTTP response with some json as content is RESTful, is that the idea?3
-
To the ranter who posted the picture of he spider, I love you as a fellow ranter but FUCK YOU! I SEE IT, MY PUPILS CONTRACT, I GET ITCHY, AND I SCROLL AWAY!!!
I didn't thumbs down because I kept scrolling away and assuming it would go away! 3 times it got me!! -
From the people here who already got free swag and live outside the US, how did you formatted your address and how long did it took you to get a response?1
-
It is fucking annoying to do changes in someone else js and ts code... Always give some bullshit thing for which you have only one response kiss my piss IDIOT CODE.....
-
To reduce accident related deaths by improving response time in developing countries. IOT is the way to go.
-
Change socket to tcpip and now getting
"recv() failed (104: Connection reset by peer) while reading response header" -
Apple news api - why are you only returning 401s in my c# calls when in my python calls you return a correct response? What small detail am I missing goddamnit!
-
lol rust has no early return from a match statement
continue to skip rest of loop
break to exit a loop
return to exit a function
they put in let Ok(response) = request.send() else { return None };
then you can use response like normal after
but let's say I wanna know what the error was (Ok being a variant of Result::Ok or Result::Err, and the above allowing you to destructure and go on or exit early because can't destructure)
let response = match response.send() {
Ok(response) => response,
Err(err) => {
// log error to file or whatever
eprintln!("{err:#?}");
//????? HOW DO I BREAK OUT OF HERE
return None //whole function shits itself instead of just exiting match
}
}
//does some stuff with response
actually in my case the result will be wrapped in a Ok again so I'm not doing justice to explaining this problem, fux
but basically I need to exit the match without ending the function
come on, match is a loop. let me break, fuckers.17 -
Just cut down registration from 5s api response (because its sending email confirmation) into 70ms using rabbitmq (emails are now delegated in rabbit queue and sent whenever the queue takes place)
But still around 70ms to register which is great and fast (because it also generates jwt token and returns the whole user object + jwt) so its difficult to keep this at 7-9ms response time
Is this normal and is it fine to leave it at 70 or can this be optimized (or should it be)?7 -
One dev at the company I work is developing an API and the response for all the requests are basically the same.
However, for example, if you request a login and your credentials are wrong the response gives you:
{
'foo':[],
'var':[],
'msg':'credentials error'
}
But if the credentials are correct, the response gives you:
{
'foo':[
'stuff1':1,
'stuff2':2,
'stuff3':3
],
'var':[
'var1':1,
'var2':2,
'var3':3
],
'msg':'logged in!'
}
Is that correct? I mean, does that compromises security?5 -
!rant
We have a pre interview video chat with Y Combinator, in response to our application. Just wanted to know if someone has gone through this and what to expect. Would appreciate any help. Thanks!