Readit News logoReadit News
a2h commented on Elevator Saga: Elevator programming game   play.elevatorsaga.com/... · Posted by u/homarp
a2h · 3 years ago
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 commented on Ask HN: Why isn’t finance a part of the core curriculum at schools?    · Posted by u/JacKTrocinskI
a2h · 5 years ago
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 commented on Timekeeping in Financial Exchanges   lucaspauker.ml/articles/2... · Posted by u/lucaspauker
supernova87a · 5 years ago
I have a different question about timing on stock exchanges. What social good is being served by the ability to trade at microsecond frequency? Are individual investors or non-HFT participants being "fleeced" in every transaction by those who are able to take advantage of timing?

If this is a problem, I had this notion that stock markets (or the clearinghouses or whoever responsible) should slow down the allowed frequency to aggregate all trades within, say, 1 second, and do the clearing/price setting at that frequency. Surely being able to trade at the speed of 1 second is not a big loss of utility -- for the "legitimate" trading going on.

Can't we stop this timing arms race? Or is the problem I'm thinking of not actually a concern? Are millions of us paying half a cent to these HFT trading firms' profits with every trade, just like the old notion of shaving a half a cent interest off of everyone's bank accounts to make some clever criminal rich?

a2h · 5 years ago
Yes, except half a cent per share not per trade.
a2h commented on Dream Vendor "Canna_Bars" Sentenced to Prison   darknetlive.com/post/drea... · Posted by u/a5withtrrs
jonquest · 5 years ago
I challenge to do a google image search for faces of meth and come back and say that again with a straight face. That stuff is a poison that destroys both mind and body. If you think self control is enough to keep that stuff from rotting your face, making your hair fall out and keep yourself from going crazy you are foolish. Comparing it to ADHD medications is plain and simple stupid. If you think meth is the drug you need to focus you already need professional help because there are lots of stimulants out there, even illegal, that have nowhere near the side effects and consequences of meth.
a2h · 5 years ago
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 commented on United Nuclear Scientific Equipment and Supplies   unitednuclear.com/... · Posted by u/apsec112
a2h · 5 years ago
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 commented on The World’s Richest Families 2020   bloomberg.com/features/ri... · Posted by u/pseudolus
H8crilA · 5 years ago
Imagine being Jerome Powell and saying with a straight face to the cameras that the Fed monetary policy has absolutely nothing to do with inequality. Pitchforks get ever closer.

Robin Williams on the topic: https://www.youtube.com/watch?v=etQeFJ2lbbo

a2h · 5 years ago
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 commented on LSD chemist William Pickard to be released from prison   psymposia.com/magazine/wi... · Posted by u/miles
d33 · 5 years ago
What's ET? It's pretty difficult for me to Google this acronym given that it mostly finds "et al" when I couple this with LSD queries. Is it ergotamine from the other subthreads here?
a2h · 5 years ago
Ergotamine Tartrate.

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

a2h commented on Building a $5k ML Workstation with Tiitan RTX and Ryzen ThreadRipper [video]   youtube.com/watch?v=iahQO... · Posted by u/jeffheaton
a2h · 5 years ago
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 commented on Is It Time to Kill the Penny?   npr.org/sections/money/20... · Posted by u/jpkoning
gruez · 5 years ago
>We can thank the Sub-Penny Pricing Rule of Regulation NMS for this feature

Are you sure? I did a quick search and came up with this

>One of the rules in Regulation NMS is a new Sub-Penny Rule: “which establishes a uniform quoting increment of no less than one penny for quotations in NMS stocks equal to or greater than $1.00 per share to promote greater price transparency and consistency. . . . In particular, Rule 612 addresses the practice of “stepping ahead” of displayed limit orders by trivial amounts. It therefore should further encourage the display of limit orders and improve the depth and liquidity of trading in NMS stocks.”

https://www.bloomberg.com/professional/blog/sub-penny-pricin...

which suggests the opposite of what you're claiming. Also, I'm not sure how you'd even make money this way, considering that NBBO requires brokers to execute their customer's trades at the best available price.

https://en.wikipedia.org/wiki/National_best_bid_and_offer

a2h · 5 years ago
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 commented on Is It Time to Kill the Penny?   npr.org/sections/money/20... · Posted by u/jpkoning
bruce511 · 5 years ago
>> $0.01-$0.02 per transaction * millions of transactions per day has got to make some accountants happy.

You'd think, but actually no. That's because it's per transaction, so the accumulated amount is well pennies compared to the turnover.

For example, say you always rounded in favor of the company. That means an average of 2c gain per transaction. If you do 2 million transactions a day that's... 40 grand! yay. Except that if the average transaction is say $50 (which seems kinda low) that means your turnover for the day was $100 million.

So, in short, if you are making a lot from the rounding error, well you're making a lot lot from the actual sales.

a2h · 5 years ago
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.

u/a2h

KarmaCake day199August 29, 2019View Original