HNHacker News
TopNewBestAskShowJobs

mrcode007

737 karma · joined August 1, 2017

mrcode _at_ hackingrun.com
submissionscomments
mrcode007··on Melatonin impairs morning cognition in healthy young adults (2023)
I can Google very well. The smallest dosages I found were 0.5 and 0.25 for kids (against AAP advice!)

The discussion was about 0.1 for finer grained control and implied ability to experiment with dosages rather than stick with third party selected dosage regardless of needs.

mrcode007··on Melatonin impairs morning cognition in healthy young adults (2023)
Share a link to 0.1 dose product please
mrcode007··on Data centers have hiked electricity prices on the public by $23B
Imagine a mortgage rate raising by 4%. Still unimpressive ?
mrcode007··on Ask HN: Does anyone use codex to review Claude's code? What're your experiences?
I do it all the time. It finds errors CC doesn’t. Especially in math formulas. I ping pong reviews between the two agents until they converge on no errors.
mrcode007··on Austin’s surge of new housing construction drove down rents
This 1000x. Folks don’t get that the primary market != secondary market. Same as pre-IPO stock holder != IPO time buyer.
mrcode007··on Wind power slashed 4.6B euros off electricity bills in Spain last year
Solar prevents sun from hitting the ground causing death of the plants preventing photosynthesis and suffocating life on earth. Did I get it right?
mrcode007··on US will ban Wall Street investors from buying single-family homes
It’s not gobbledygook. I think for most people it’s hard to grasp the scale of the entire industries outside of their area of professional expertise so you can look at some numbers here:

https://www.milliman.com/en/insight/mortgage-market-and-hous...

https://www.sifma.org/issues/market-structure/housing-financ...

mrcode007··on I've been writing ring buffers wrong all these years (2016)
In fact this a crux of the problem in low latency code and there are ways to combat this.

I know there is an academic wait-free and lock-free definition but folks use those often incorrectly as a slogan that something is magically better because it’s „lockfree”.

Imagine how _you_ would implement a read-modify-write atomic in the CPU and why E stands for exclusive (sort of like exclusive in a mutex)

mrcode007··on I've been writing ring buffers wrong all these years (2016)
Yes. [1] has background, [2] has the implementation (fig 2. pseudocode). Since you understood my comment I trust you can figure out the rest :) it’s a very neat trick.

[1]https://www.microsoft.com/en-us/research/publication/concurr... [2]https://arxiv.org/pdf/1012.1824

mrcode007··on I've been writing ring buffers wrong all these years (2016)
There is one more way that is truly lock free. Most lock free implementations relying on atomic compare and swap instructions are not lock free afaik; they have a lock on the cache line in the CPU (in a way you go away from global lock to many distributed locks).

There is one more mechanism that allows implementing ring buffers without having to compare head and tail buffers at all (and doesn’t rely on counters or empty/full flags etc) that piggybacks on the cache consistency protocol

mrcode007··on Australia begins enforcing world-first teen social media ban
Imagine having to show your ID demonstrating you’re not subject to the law punishing you for driving a car without a driving license.
mrcode007··on io_uring is faster than mmap
happens frequently in fact when training neural nets on modern hw
mrcode007··on IRS head says free Direct File tax service is 'gone'
The workaround is for everyone to coordinate , print and mail physical returns. Let IRS have fun with scanning and processing :) enough people do this, IRS would open up digital filing again
mrcode007··on Lisp project of the day
(format t "x = ~6d~%y = ~.8E~%" x y)
mrcode007··on Jane Street barred from Indian markets as regulator freezes $566M
it’s a known effect. Without going into details here, you can calculate first crossing time of a barrier in a stochastic process and observe that often the first crossing time decreases as the volatility increases. From there you can set one barrier at 0 (default) and draw your own conclusion.
mrcode007··on Analytic Combinatorics – A Worked Example
Thanks!
mrcode007··on Trump is making Europe great again
Planes, finance, military equipment, video games, pharmaceuticals (ever heard of ozempic?)
mrcode007··on Trump is making Europe great again
You’re forgetting prime brokers financing most of the US financial players on wall street Societe generale BNP paribas UBS+Credit Suisse Deutsche bank

Lets also not forget Ubisoft (French company) making assassins creed etc games

And airbus making planes ?

mrcode007··on Trump is making Europe great again
I think you’re basically wrong?

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

mrcode007··on White House Says Gold Reserves May Be Used to Purchase Bitcoin
Yep. It’s a classic grift; it even has a name „control fraud”…

Described in depth in „lying for money”

mrcode007··on White House Says Gold Reserves May Be Used to Purchase Bitcoin
Now we know that it is indeed possible to rob Fort Knox ! Brilliant plan.
mrcode007··on Mice perform 'first aid' to revive their stricken companions
I think it’s a different paper?

An innate drive to save a life https://www.science.org/doi/10.1126/science.adv3731?url_ver=...

mrcode007··on Tesla sales crash continues in Europe, with Germany down 70%
first, folks need to exit/reduce their positions stealthily without disrupting the market. this takes time; for big positions it is not unusual to be exiting it for more than 6 months
mrcode007··on Ask HN: Are you a 40-year old software engineer without a job for > 1 year?
The new OS that doesn’t exist yet. Linux is starting to show its age, dominated by special interest groups and with the upcoming C+Rust contention it’s a perfect breeding ground for the competitor to enter the scene. Best idea likely not to come from corporate
mrcode007··on Ask HN: Are you a 40-year old software engineer without a job for > 1 year?
Multiple possibilities exist but everything depends on context and the skill set.

One option is to start a consulting business with a group of engineers (essentially a market equivalent of a union but with more legal protections) and start charging very high market rates and nickel-and-dime the client hedge fund style with pass-through fees for everything. Use the knowledge of former jobs’ contracts and undercut on price.

If the skill set is very niche and highly specialized you could even attempt cornering the market by recruiting people away that are still employed and sell back their services through the consulting gig (offer profit share as a sweetener, etc.)

mrcode007··on Carlos Slim cancels his collaboration with Elon Musk's Starlink
How did you draw the connection between being babysat and drugs?
mrcode007··on SpaceX engineers brought on at FAA after probationary employees were fired
I’d say that in the top 10 US is an outlier. Let’s hope we don’t regress to the mean

https://en.m.wikipedia.org/wiki/Estimated_number_of_civilian...

mrcode007··on Meta claims torrenting pirated books isn't illegal without proof of seeding
A right adversarial move would be to support this and watch the GDP without the entertainment business as part of it. Check what happens next.
mrcode007··on SpaceX engineers brought on at FAA after probationary employees were fired
We have a 28 year blueprint of how bad it can get and it starts in 1997 Russia

One thing people don’t anticipate is that the government can step in and nationalize enterprises. US hasn’t done that in a while but I’d be watching for hostile political takeovers at some point in the future. Last time it happened was with General Motors in 2008 but it’s a tool that exists and can be used in a different direction.

mrcode007··on Meta claims torrenting pirated books isn't illegal without proof of seeding
I’m waiting for this precedent to be set in favor of META and then enjoying all the movie torrents I can get my hands on. Without seeding of course.
Page 1 of 10Next →