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 - "poll"
-
Based on @darksideofyay "poll feature" request I made a simple bot to make them.
Just post this as a comment:
@PollBot Q: <Your question>?
A:
- <Answer 1>
- <Answer 2>
// Up to 10 answers
It will post a comment for each answer, just upvote the one you like (look at the upvotes to see the result of the poll).
P.S. It's not ideal and it's running on a mini PC in my house, so it could fail sometimes. :P36 -
Forgive me devLords, for I have sinned.
Today, I took while() loop and made it true, it was a dirty ordeal, however it's not entirely my fault, you see the api I called doesn't have a webhook of any kind and doesn't return results in real time either, you have to poll for them..... so here I am writing while(true){} to poll for results that could take seconds or even hours to finish.
😟11 -
So, after reading a post I started wondering...
Would you prefer to work in a toxic environment but have a good salary or work in a good environment for minimum wage?
I'm in the second position right now.10 -
I would like to call out the moron who decided to control docker through HTTP when the maximum time the server can take to finish the task is longer than the HTTP timeout.
If you expect things might time out, you don't use a HTTP request. You use a resource and poll it, or Websockets, or possibly SSE.
Shoehorning your API into a frame that obviously doesn't fit doesn't help anyone. Just admit that you don't know what HTTP is and use a regular TCP socket with regular pings.2 -
Why do companies waste serious cash in office parties? I'm talking about those hundred-thousand-dollar extravaganzas that major tech companies seem to be addicted to.
Poll after poll finds that most employees would rather have the cash, so "kissing the collective asses of tech staff so that they won't leave" is not an explanation that holds up.
The "Roman Triumph" explanation also does not make any sense. If rich assholes want to flex their immeasurable riches, why would they invite mere mortals that do not put a lot of effort in being famous or pretty? Couldn't they invite the entire Victoria's Secret catalogue of models and the NE Patriots? Surely it would make for much more impressive photos of decadence.
The "Michael Scott" explanation also falls short. Companies spend serious cash on consultants and professional party planners, that are sure to know a lot of people. Money can and often does buy personality, so no rich asshole is ever a party dud.
Why else do they force most of their own staff into what they perceive as a "do not relax or you may get fired" loud and poorly lit meeting that takes hours to dress up for? What am I missing?5