HNHacker News
TopNewBestAskShowJobs

NotThe1Pct

27 karma · joined August 23, 2016

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
submissionscomments
NotThe1Pct··on I discovered I'm a tax criminal in 25 countries
Every major creator platform (Substack, ConvertKit, Beehiiv, etc.) uses Stripe exclusively and blocks merchant-of-record alternatives. This creates a systematic trap:

Digital service sales have zero VAT/GST thresholds in most countries One international subscriber = immediate tax liability Platforms offer no country filtering and no compliant alternatives Creators either: (1) unknowingly violate tax law, (2) spend $20k+/year on compliance, or (3) shut down Payment processors and platforms profit from this gap by design

This affects 100k+ U.S. creators with $1B+ in collective tax liability.

NotThe1Pct··on I also do not use exceptions in C++ anymore
The cost of exceptions is a typical server platform is so high that even very small chances of it happening is enough to throw a low latency application off its rails.
NotThe1Pct··on Just how smart is an octopus?
3x smarter than a managing director
NotThe1Pct··on [dead]
Insurance is an imperialist construct of the patriarchal white capitalists. Not a thing for these ideology champions.
NotThe1Pct··on [dead]
If you feed people in a public setting you need a perm, which is fairly easy to get. My guess they didn't even bother to comply with local ordinances.

So lame I think this was made just to trigger a police reaction for political gain and web hits.

NotThe1Pct··on Car allergic to vanilla ice cream (2000)
I read this story 15 years ago and always cite it.

Pleased to see it again

NotThe1Pct··on Tesla Rolling Out Autopilot Software Updates to 1000 Cars
For a good reason - safety
NotThe1Pct··on Tesla Rolling Out Autopilot Software Updates to 1000 Cars
You dont make 'over-the-air' updates on avionics buddy
NotThe1Pct··on Ask HN: Password manager recommendation?
keepassx
NotThe1Pct··on Tesla Rolling Out Autopilot Software Updates to 1000 Cars
BSOD is now literally a scary real possibility

It gives a new meaning to the word "crash"

NotThe1Pct··on The Golden Era of Hedge Funds Draws to a Close with Clients in Revolt
Now that hedge funds ran out of things to manipulate, the swamp drained itself.
NotThe1Pct··on A flight was late because someone named their Wi-Fi hotspot ‘Galaxy Note 7’
So what I was saying is "Allah has more experience"?
NotThe1Pct··on A flight was late because someone named their Wi-Fi hotspot ‘Galaxy Note 7’
And don't shout "Alahu Akhbar" on a plane as well. That tends to upset people for some reason.
NotThe1Pct··on IQ is only a minor factor in success
Willingness to cross the line between crime and honesty appears to be the major factor behind success, to me.

Every successful company has a dark side.

NotThe1Pct··on Single-file C/C++ public-domain/open source libraries with minimal dependencies
I couldnt really find anything useful in there...
NotThe1Pct··on Yes, You Have Been Writing SPSC Queues Wrong
Quite frankly I wrote this more like an exercise. I have never used it in practice other than the github test. I saw people picking up on the other post and didn't really like the indices going unbounded. Then I spent a few minutes thinking how to solve it.

While I think the implementation per se is not that useful (I agree with you), I believe the actual trick can be reused in a different situation or type of container.

Check out the github repo now, I added a choice of allocator. That is nice because the main use of this kind of tool is when you have a slab of mapped memory that you go partitioning.

NotThe1Pct··on Yes, You Have Been Writing SPSC Queues Wrong
You could use the alignas(64) specifier

http://en.cppreference.com/w/cpp/language/alignas

NotThe1Pct··on Yes, You Have Been Writing SPSC Queues Wrong
Yes, it's not meant to be production ready. Still, the padding you added is particular to Intel/AMD CPUs and this article is more about constrained memory/embedded.

On Intel you would not care about the missing slot when you have 256GB memory available.

I've added the atomic<> in the github and updated the article as well.

However with atomic<> it adds an mfence instruction which is not really necessary and might add a ton of latency.

NotThe1Pct··on Yes, You Have Been Writing SPSC Queues Wrong
My $10/mo shared host is already spinning with ycomb+linkedin traffic. I shall upgrade...
NotThe1Pct··on I've been writing ring buffers wrong all these years
Me too, back in 2005 we were already doing all this. Also there is an easy hack that solves the overflow part.
NotThe1Pct··on Ask HN: Senior developers, what would you tell a younger you?
I find that refreshing. But for 50% of liberal arts majors, under and unemployment is a hard reality.

http://www.theatlantic.com/business/archive/2012/04/53-of-re...

The problem is not intrinsically the content of the degrees but the fact that there is probably 2x as much graduates being thrown in the market than there are jobs.

NotThe1Pct··on Ask HN: Senior developers, what would you tell a younger you?
DO NOT TALK TO RECRUITERS.

They hate you because you have skills and they usually failed in their careers (or have a liberal arts degree, which is even worse).

They will record and make public whatever you told in private.

They will blanket spam your CV to every corner of the world.

They will lie to you to make you sign it.

They will make you feel worthless so you can accept a lower package.

NotThe1Pct··on A Taste of Haskell
I tried haskell queues a while ago - under the advice of a friend and compared with a straightforward C++ queue - it was about 100x slower. Abandoned the idea.
NotThe1Pct··on An empirical study on the impact of C++ lambdas and programmer experience
I have used lambdas heavily in the past and then stopped. Getting away from the rabbit hole that are lambdas + SFINAE + variadics increases productivity immensely.