Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn 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 asshole2
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.
- 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...17
When you learn in school that a Stack is LIFO and a Queue a FIFO, and then find this:
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 :/
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!?#@?#$!
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
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
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
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 ?
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.
S2 70 (50 B1 20 B2)2