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 - "fifo"
-
I just mistyped a keyboard shortcut that caused my computer to say «I AM FILO AND EVERYONE LOVES ME» at full volume.
I have no memory of leaving a script attached to some random shortcut, and I can't find the setting anywhere.
Young me was a narcissistic asshole1 -
Since I just bought a mystery bundle of steam games and received codes for games I already own.... and I'm in a good mood ☺️
I will drop the keys into the comments section for anyone who wants to take them.
Games:
- Star Wars - Knights of the old republic 2
- SimCity 4 Deluxe Edition
Leave a comment once you use the code 😏 don't be a dick!18 -
Inspired by @COD4's rant here: https://devrant.com/rants/3080528, I decided to go overboard a bit and catalogue (almost) all my unused Humble Bundle keys.
Given that there was well in excess of 300 of them I decided a more structured distribution mechanism was needed.
If you want to see if any are interesting for you, check the repository here: https://github.com/kwilliams1987/...
I have 5 more months of Humble Monthly to do still but need a break now...16 -
So recently I completed side gig from random freelancing site where I had to shadow troubleshoot performance problems over teams call with random Indian guy on his client's AWS account. Long story short you can autoscale new instances all you want but it's not gonna help if your FIFO sqs has only one message group ID. This architecture is running an online game, which is basically limited to processing ONE event at the same time for ALL players xD
What's even better, basing on naming convention I realized it's a company that I interviewed for like 4 months ago and they told me "we need someone with more experience". Well good luck, thanks for quick cash -
I'm stuck in road traffic and it's giving me headache, i wish every driver knows at least FIFO rule, if it's on a computer the CPU will quit his job because of all those stupid processes :/
-
When you learn in school that a Stack is LIFO and a Queue a FIFO, and then find this:
java.util.Collections.asLifoQueue(arg)3 -
code reviewed a "senior" developers code (guy has been at the companyny since noah and his clay computer tablets), he replied with my comments against it stating he has more experience than i have and that i shouldnt do anything except just sign off the stuff to production, stuff goes to production and breaks a massive financial cluster fuck of a mess, who gets the blame for releasing the code to production ? Junior me !!! gotta love it when management needs scapegoats of FIFO people.2
-
First post yay!
I'm a "tech" lead for my team. The "tech" stands for technically, I can go on a whole different rant there but that's not why we're here today.
So we have a new PM on our side and a new PM on the client side. I've been working on this project longer than any of the devs and PMs have.
One of the tasks that my team does is validate and ingest data. It's pretty straightforward and it's fully automated. It takes minutes, and at most an hour, to complete this task. We get these tasks from users randomly and they don't have any schedule to it. It's FIFO basis and we just add it to our current sprint if we have bandwidth or add it to the next one if we don't. Not a big deal, no users have complained about it before, it's just business as usual. And we have a tracker of when we received it, how big it was and when it's been ingested. Super simple.
So now comes in the new client PM. He's been asking us to come up with timelines for these ingestions. My project's new PM is bending over to him and saying okay we'll come up with it, no problem. Well, there is a problem. We don't know that far in advance for when these tasks are coming in. Even if we did, now we're supposed to create timelines for a 10 min task? It literally is uploading a file and our system handles everything and I've explained that to my pm but he still is like well that's what they want. It takes less effort to do the ingestion than to make these timelines. It just means project managers bothering devs about timelines.
Idk how to deal with this. Thoughts? Any similar experiences?5 -
Devrant got my hopes up when I got on and saw the fancy new website.
Of course, the webapp is the same old interface :(
new site looks great though!!3 -
p r i n t e r s
I was about to print a bigass document. Wanted to save paper, and saw my printer had a two side mode. I try it out. A few pages print, then the driver says PAUSED - RELOAD PAPER. This is normal, as double sided printing is not automatic. Underneath, there is a message:
[Printing - Manual Duplex: Please reinsert pap...]
I try to resize the window to read the message.
THE MOTHERFUCKING WINDOW WAS NOT RESIZEABLE!!!
are these products not fucking tested???
I find a guide saying the paper should be reinserted with no flips, then the "continue" button should be pressed.
The button was not in the driver UI, or on the printer. Further research showed that you are supposed to:
OPEN THE TONER CHANGE DOOR AND CLOSE IT AGAIN TO CONTINUE A PRINT
what fuCKING designer thought this shit through!?#@?#$!
printers
fuckem1 -
I'm trying to waste time reading rants, but don't get half of them because our work wifi network is too slow to load pictures
fml1 -
If anyone is good with dart (or) other single threaded programming languages, i have this small doubt about the inner workings of the event loop and such and i would like an explanation if possible.
If you're too lazy to goto the link:
1. I have a future returned from a http request.
2. a future.then is declared that prints the http result.
3. A separate while(true) loop is declared that runs forever that just prints natural numbers.
4. the while loop also has an await future.delay that waits for 1ms before continuing with the next iteration
My question :
1. There's only one thread so how does the http download code run WHILE my main loop is still executing.
2. my future.then event is not processed unless i await a future.delay separately for 1ms. returning control to the event loop ? i don't get it how does adding an event help it process a prior event? It's FIFO ?
gist :https://gist.github.com/TheAnimatri...
discussion:
https://groups.google.com/a/...5 -
So I spent about a day on this brilliant priority calculation formula just to come to the conclusion that FIFO would be a better approach for now1
-
Anyone know how to fix this efficiently? I'm calculating Realized gains but the output is ~ $120.
Because it's using the avg cost as the sales price of each share.
However what it should do sell the shares using FIFO.
But I can't think of how to efficiently track the purchase prices to use without replaying all the trades and tracking every single share that is bought and sold.
Like:
B1 100
S1 50
B2 100
B3 40
S2 70 (50 B1 20 B2)2