this post was submitted on 29 Jul 2023
23 points (100.0% liked)

Programmer Humor

32495 readers
923 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 28 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (2 children)
[–] [email protected] 2 points 1 year ago (1 children)

“You write fast, efficient and safe code”

I don’t think any of that is possible on a blockchain.

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

With blockchain? Pick one.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

"Hardcore Coding Bro Ready To Crush Some Code"

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (3 children)

Here's an article about it: https://dev.to/maggiecodes_/how-i-applied-to-a-tech-job-using-a-post-request-193d

The thing that annoys me is the response. It should return status 201 created and the id of the new resource for future delete/update operations. Instead it returns 200 ok and some clear text. Wouldn't want to work with such an API.

[–] [email protected] 10 points 1 year ago (1 children)

/serious Well, yes, most APIs are meant for system-to-system interaction, that's kind of a given. But since this particular API is clearly meant for human-to-system interaction, returning a human-readable response is adequate. Yes, a better design would probably allow the client to specify additional parameters about the desired response.

/back-to-jokes Yeah, well this kind of sums up most of my job applications. I send an application and the recruiting people are all like "OK".

[–] [email protected] 6 points 1 year ago (1 children)

At least you do get a response.

[–] [email protected] 1 points 1 year ago

Highly understated comment

[–] [email protected] 1 points 1 year ago (1 children)

That's hilarious. Probably the lovechild of some clueless HR dude that thought he was a genius.

[–] [email protected] 2 points 1 year ago

The cringe term "code ninja" supports your theory.

[–] [email protected] -1 points 1 year ago

That's better than some I've seen. Like 200 for everything and the text could even be "error".

Or 500 with the text "invalid input"

[–] [email protected] 2 points 1 year ago

Is it just me, or does their sample request use invalid JSON? The keys should be in quotes, comments aren't in spec (but commonly supported), and trailing commas are invalid as well (but commonly supported).

[–] [email protected] 1 points 1 year ago

Cute but I mean... You just copy paste it into postman and fill in the blanks. It doesn't really show anything, it's just novel.

I'm not gonna be as cynical as the other people on here saying that it's because they just want to have a machine/AI process your application. But at the same time I'm gonna be even more cynical, because if they think that machines/AI aren't already processing your PDF resumes, then you're crazy lol

[–] [email protected] 1 points 1 year ago (2 children)

You can book this as a service for only $499/$999 per month from a dodgy website with no company adress but bold claims about time savings. Lol. Source: https://applybyapi.com/#pricing

But the best thing is: you can't send your open jobs by API. You need to use a rich text editor:

Post your job Upload your logo and use our easy rich text editor to make your posting shine. Unlimited job postings are included with every plan.

[–] [email protected] 2 points 1 year ago (1 children)

…this is literally something an intern could write in a single afternoon.

[–] [email protected] 1 points 1 year ago

Single Responsibility Companies are best practice.

[–] [email protected] 1 points 1 year ago

I can write an API like this in like 2 hours, this is really not complicated.

[–] [email protected] 1 points 1 year ago

I like it, but it's a dick move to require that the resume be hosted at a remote URL. Lots of developers don't have their CV on a website, and one of the strongest devs I've met doesn't even have a LinkedIn profile.

Support a file upload or just Base64-encoded data and you've got something here though.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

Twitter is even worse. I don't have twitter, I don't want twitter, I don't need twitter and neither does anybody else. On top of that, twitter is dead.

[–] [email protected] 1 points 1 year ago

But have your heard of x? *wink"

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)
  • Needless hoop to jump though - red flag 1
  • Having not switched to GraphQL - red flag 2 /s
[–] [email protected] 0 points 1 year ago (1 children)

Front end developer must have rage quit 😁

[–] [email protected] 0 points 1 year ago (1 children)

Who sends API requests if not frontend developers?

[–] [email protected] 1 points 1 year ago

Obviously the backend developer trying to test the API. Then creating an openapi spec and the frontend developer importing that to not writing the client by hand.

Besides that, that has to be the lamest DTO possible. They could have added some kind of skills array or an embedded address field to make it more than a flat object.

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago)

It has a built-in filter for the poor folks that use these proprietary services like Twitter X, Microsoft GitHub, and Discord Username.

I wouldn’t apply anywhere asking exclusively for these platforms instead of something generic like: instant messaging, public code forge(s), weblog/microblog(s). I would encourage you, reader, to ask around & make sure your org isn’t hiring based on proprietary service usage. Heaven forbid your applicant is from a place under US sanctions & literally couldn’t use the services even if they wanted …or like your candidate has any values about privacy.