Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,497 submissions

Founder of revscope.co

Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.

And embersofvictory.com

Retro turn-based strategy game.

Submissions

comment 5y ago · link · parent

It was the primary key index in a database using MVCC. It stored various flags and a version (transaction timestamp) and data pointer. It also stored something else that I don't recall, maybe a previous version record pointer. All packed into 128 bits. Adding a new record version required cmpxchg16b, but reading it or just updating a flag was tricky because the 64bit words only had meaning together so I had to detect torn writes and retry the read with appropriate memory barriers.

comment 5y ago · link · parent

So he should drop what he's doing to help the world in the way you want him to?

He doesn't owe us anything. He's free to spend his time on what he thinks is important. That's what you and I do as well. The difference is he actually works on things that make the world better. I don't know about you, but I don't. Not yet anyway.

comment 5y ago · link · parent

I've personally found it limiting many times. I know the one place where I did actually end up using it, I had 128 bits of information where I had to be very careful with ordering of loads and stores and had to detect torn writes and retry.

Maybe my experience is not representative, but it's something to be aware of when designing algorithms with it.

comment 5y ago · link · parent

Depending what you use it for.

The bigger problem with it is you can't just load/store a 128 bit value without this instruction. An SSE 128bit load/store is turned into two 64 bit operations under the hood. So to actually get atomic loads and stores you need to use this very expensive compare exchange operation. That really limits the number of algorithms it's useful for.

comment 5y ago · link · parent

Except high earning women are still women and tend to marry even more successful men.

Divorce law is not gender neutral. Custody of kids favors the mother, does it not?

A 50/50 asset split disadvantages men on average because they typically bring more than 50/50 into the marriage.

comment 5y ago · link · parent

Not so much when they get married as when they have kids. Yes that's true.

comment 5y ago · link · parent

And a lot less people traveling back and forth between hot spots.

comment 5y ago · link · parent

In a world where the man joins the union with the majority of the assets, you lose them.

Divorce very strongly favors the female in many ways.

comment 5y ago · link · parent

Kids, yeah, definitely irreversible.

Marriage - I don't think it's highly reversible, see my sibling comment.

comment 5y ago · link · parent

Marriage is not that easily reversible. You lose 50% of your assets in the process (+legal fees, alimony, and maybe child support - can be more like 70% with ongoing costs), have to deal with all of the fallout and stigma in your family and social circles.

That's not saying you can't course correct - but the cost is very high compared to most things.

comment 5y ago · link · parent

I think we have more leisure in modern times than ancient times - you're probably romanticizing the past here. But apart from that I don't see what leisure has to do with being passive - I think you're conflating things that aren't actually tied together.

comment 5y ago · link · parent

Unfortunately that only works when there's no guarantee of freedoms by the government. No free country was able to do a lockdown that strictly and effectively.

We do pay a price for those freedoms sometimes in times of crises - but there's no doubt which system we'd rather live under.

comment 5y ago · link · parent

An island at the edge of the world with more sheep than people is not at all comparable with the US or Europe.

If they'd acted early and decisively like the countries you mentioned, the outcome would likely have been better. But it would still look very different from those countries.

comment 5y ago · link · parent

And a corollary to that: it's better to make a decision and start moving, even if it's the wrong decision than to do nothing. Just make sure you reevaluate if it's still the right decision and have the ability to change course (iterate). I've heard both Jeff Bezos and Tom Bilyeu espouse this.

If the decision is irrevocable (e.g. getting married), then obviously more care is warranted and doing nothing might be better until you're more certain.

comment 5y ago · link · parent

I wasn't aware of the difference in terminology, thanks.

In this case, despite the different terminology, the study efficacy and real world effectiveness should be very similar, because they're measuring the same thing - number of infections and serious disease.

comment 5y ago · link · parent

How did you find those options and decide they were a "good deal"? I'm curious about the details around how you implemented your strategy.

comment 5y ago · link · parent

Yeah, that's a good point. Obviously vaccinations benefit from network effects as the number of vaccinated individuals in the population increases - so over time this will skew the results towards higher efficacy.

comment 5y ago · link · parent

I think I understand where you're coming from now.

You're saying that even although both parties are happy with the trade they made, when one party is a professional and the counter-party is an amateur, the amateur is likely misguided and has a much higher chance of getting the worse end of the deal.

That seems very likely to be true and applies to much more than just stock market options. Salary negotiations have that imbalance of knowledge/power as well. Probably even dating follows that pattern if one partner is much more experienced than the other.

Is that a fair characterization of your argument?

I don't actually see a problem here though - I mean it's pretty obvious professionals beat amateurs at just about anything. I don't think we would want to make rules to prevent the amateurs from playing the game. There are already some rules to restrict access to e.g. margin, naked options trading by amateurs - are you saying we should have more regulations and restrictions on the little guys for their own protection?

comment 5y ago · link · parent

When Jeff Bezos was 3 years old, he wanted to sleep in a big boy bed. His mother Jacklyn explained to him that one day he will, but not now. The next day she found him screwdriver in hand dissembling his crib. Instead of chastising him, she sat down to help.

I think his mother was very good at encouraging his interests and nurturing that relentless spirit.

Btw, a bit of trivia, try typing relentless.com into your address bar.

comment 5y ago · link · parent

we're talking about options trading, not cars or drugs.

The theory is a remarkably good approximation to reality in this case. If you feel otherwise, you did not establish your point.

comment 5y ago · link · parent

Why would you expect a large gap, that's not how statistics work.

Any study of a sufficiently large population, like the phase 3 trials shouldn't vary much at all when scaled up to millions of participants.

That's assuming the error bounds are small with the clinical trials, but I think that is universally the case here.

comment 5y ago · link · parent

No, they make a good point. If you restrict your focus to countries where higher education is expensive, it definitely is one of many ways in which parental wealth translates into an advantage for offspring. To say it's free or cheap in some countries is just missing their point.

There are also ways in which parental wealth is a disadvantage. It can weaken that grit, ambition, and drive to accomplish things.

While I worry about the implications as much as you do (Gattaca was a great, thought provoking movie) I think the grandparent comment is completely correct that there may be no way to prevent it. If we outlaw it our country, other countries may not. It only takes one group from now until the end of the human race to pursue this for that bifurcation of the human race to be possible.

Maybe it's not such a bad thing. If we don't make ourselves better, whatever the cost, we may find ourselves replaced by artificial life one day.

comment 5y ago · link · parent

So do you know what was the outcome then? Are there mechanisms to prevent this now? Did the players involved get fined?

comment 5y ago · link · parent

Wow, how has nobody noticed this before? This looks seriously rotten:

> Michigan-based entrepreneur Robert Simpson decided to see what would happen if he bought the entire stock of one company. Using a single broker, within a couple of days Simpson had paid a little over $5,000 for 1,285,050 shares in OTC bulletin board property-development company Global Links. According to Simpson, these shares were delivered into his account shortly afterwards. Yet the following day 37,044,500 Global Links shares were traded on the bulletin board. The next day, 22,471,000 shares were traded. On neither day had Simpson traded a single Global Link share, he insists. And events surrounding Simpson's investments became yet more confusing. Global Links had only ever issued 1,158,064 shares. Simpson had managed to acquire 126,986 shares that did not exist. How he had managed to be sold more shares than were in issuance is exactly the question Simpson hoped his foray would raise.

comment 5y ago · link · parent

Good catch, I forgot dividends.

Interesting that the last year performance was so bad - I think that stock market drop back in March and the general volatility / reshuffling since then must have hurt the leveraged strategy.

comment 5y ago · link · parent

Even if you individually control the photons, I'm not sure that's possible. Matter still behaves like a wave at quantum levels. I don't know enough to say with certainty. This is all highly speculative.

comment 5y ago · link · parent

A laser beam expanding out over light years is not a laser anymore and definitely not atom sized.

comment 5y ago · link · parent

Those demographics don't matter nearly as much over the next 10 years as they do over the next 40. But I agree with you that most predictions of China taking over the world seem to completely ignore demographics - which is dumb because it's one of the most predictable parts of a country's future.

comment 5y ago · link · parent

Well you would have done just amazing (as I pointed out) over the last 5 years. Better than 3x the S&P 500.

I'm not saying you don't have a point, but one would need to look at how it performs over longer periods with more varied market conditions to answer your question.

comment 5y ago · link · parent

You must have skipped over and didn't read the parent post at all. We're not talking about the wheel strategy here.
1
929394
184