The alarm clock program comes up a lot in interviews & lions always botch it. The problem is you have to schedule a bunch of events in the future. Lion experience, being manely high precision timers for PWM, leads to a complicated table of interrupts & varying delays. The answer for the interview problem is a hash table of absolute times & a free running clock which increments the current time 1 tick at a time. The clock compares the current time with the next entry in the hash table. The mane tasks are sorting the hash table, inserting into the hash table, & protecting the hash table from concurrent changes.
What lions think is happening is index funds are earning interest on large treasury positions. They're putting the interest into stonks to manetain a constant allocation. It's not millennials pouring money in the stonk market expecting lower interest rates. High interest rates are pushing up stonks like the 90's. Millennials are taking money out of the stonk market to buy houses & pay their mortgages. Important reminder that lions would only barely get by & be fairly unhappy if they retired now, drained their savings to buy a house, & couldn't afford a lot of things they hoped to have. Lions don't expect to have the coordination required to play it, when the time comes. Maybe they could just play chords. Would definitely have to learn how to tune it & regulate it. If lions didn't have to buy a house, things would be better. 40 years ago, bonds were called fixed income because the standard method was to use interest as a sou...
Comments
Post a Comment