HNHacker News
TopNewBestAskShowJobs

a2h

199 karma · joined August 29, 2019

submissionscomments
a2h··on Elevator Saga: Elevator programming game
My first experience with this game was actually during an interview. About halfway through I found the bug. The below code snippet will successfully solve all of the challenges.

    {
        init: function(elevators, floors) {
            world.transportedCounter = 500
        },
        update: function(dt, elevators, floors) {
            // We normally don't need to do anything here
        }
    }
a2h··on Ask HN: Why isn’t finance a part of the core curriculum at schools?
I was exposed to some basic personal financial planning when during high school. However, it was (and still is) part of the curriculum of the JROTC program (among other things like managing stress, first aid, map reading etc). The focus was more along the lines of setting up a budget and not spending more money than one had/earned.

I am not so sure that teaching kids in high school about the various types of interest-bearing accounts or the different markets for financial instruments would be as valuable as simply teaching the basics of how interest works. That way those students who continue on to college can make a more informed decision should they need student loans to help pay tuition.

a2h··on Timekeeping in Financial Exchanges
Yes, except half a cent per share not per trade.
a2h··on Dream Vendor "Canna_Bars" Sentenced to Prison
Perhaps they are talking about Desoxyn. FDA approved for treatment of ADHD. Not saying that it isn't bad but just pointing out there is a comparison to ADHD medications.
a2h··on United Nuclear Scientific Equipment and Supplies
A gem of the internet I remember from 15+ years ago when using AOL via telephone modem. When I was a teenager I bought some of the trinitite and uranium ore samples. Mailed them cash since that's all most teens had back then.

Site still looks very much the same as it did other than a mobile friendly version available. Great source for various odds and ends. Especially for home science projects.

a2h··on The World’s Richest Families 2020
I think that was the point at which I stopped watching as it was utterly shocking how much of a disconnect there is there.

Thank you for sharing the Robin Williams clip, I had not seen that before and found it hilarious and perfectly fitting.

a2h··on LSD Chemist William Pickard to Be Released from Prison
Ergotamine Tartrate.

Interestingly, ET is used to treat cluster headaches and migraines.

a2h··on Building a $5k ML Workstation with Tiitan RTX and Ryzen ThreadRipper [video]
Interesting video, thanks for sharing. Just curious if you have one with tests or benchmarks for the completed build and/or temps at high loads? Would be cool to see :)
a2h··on Is It Time to Kill the Penny?
Your criticism of my attributing the cause of the 'feature' to Reg NMS is fair. Although it is worth looking at the entirety of Rule 612, especially paragraph (c)[0].

You are correct that brokers are required to execute customer trades at the best available price aka the NBBO. The issue here is that the NBBO is relatively slow as compared to data feeds offered by various exchanges and many brokers use the NBBO simply to satisfy Reg NMS Rule 603(c)[1].

If price data was able to travel instantaneously then the NBBO might represent the true best price(s). But the laws of physics say it isn't so and orders can be executed at a less-than-best price yet still at or better than the NBBO.[2]

Fortunately, more are aware of this these days including the SEC which released a proposed order calling for exchanges to submit revised NMS Plans for consolidated data earlier this year.[3]

A great summary of how money is made with all of this I highly recommend giving this a read: http://www.nanex.net/aqck2/What-Every-Retail-Investor-Needs-...

[0]: https://www.law.cornell.edu/cfr/text/17/242.612 [1]: https://www.sec.gov/comments/4-729/4729-4560068-176205.pdf [2]: https://iextrading.com/docs/The%20Evolution%20of%20the%20Cru... [3]: https://www.sec.gov/rules/sro/nms/2020/34-87906.pdf

a2h··on Is It Time to Kill the Penny?
This is similar to how HFT firms make a profit. Except it's generally less than a penny but it's per share per transaction (trade). We can thank the Sub-Penny Pricing Rule of Regulation NMS for this feature. An order for 1000 shares of XYZ stock that is front-run for half a penny per share is $50 dollars profit. Rinse and repeat.
a2h··on An Update from Robinhood’s Founders
Rule 606 disclosure for the source. And it's not about the trade data it's the order itself. Second link is a very thorough explanation.

https://cdn.robinhood.com/assets/robinhood/legal/RHS%20SEC%2...

https://www.google.com/url?sa=t&source=web&rct=j&url=http://...

a2h··on Robinhood Is Down Again?
Fed cut interest rate by 50 basis points. Volume greatly increased since 10AM announcement.