HNHacker News
TopNewBestAskShowJobs

barchar

138 karma · joined March 12, 2014

submissionscomments
barchar··on We haven't seen the worst of what gambling and prediction markets will do
In that case you limit your upside as well as an insider, and have to deal with liquidity and slippage coming and going.
barchar··on We haven't seen the worst of what gambling and prediction markets will do
Polymarket "odds" I think are just the price of the contract * 100 right?

That's not actually the predicted odds by the market because every single bet is also a bet on interest rates.

A contract that literally 100% always would resolve to "true" in 1 year would have a non-zero price for the "false" side because selling that option (and thus taking the "false" side means you get ~$97 today and then pay $100 in a year.

Polymarket's 4% chance of jesus returning by 2026 actually represents a market consensus of basically a 0% chance.

For trump losing office there might be some bets predicated on his losing office being correlated to a higher interest rate outcome, too.

barchar··on We haven't seen the worst of what gambling and prediction markets will do
In theory this should limit the damage insiders can do, since as the probability of encountering an insider rises the market makers will need to widen the spread.
barchar··on Cockpit is a web-based graphical interface for servers
Uhhh what? If they take control of the server they have control over the box.
barchar··on Cockpit is a web-based graphical interface for servers
Cockpit tends to be less ad-hoc than others ime. Often it'll use dbus on the backend.

It's also socket activated, which is nice.

barchar··on Aliens.gov ~ domain registered 17MAR2026
It's because of the time value of money. Buying no is much like buying a bond.

It doesn't mean there's a 16% chance.

It's probably more attractive to gamblers when presented like this.

barchar·
Mice can do that because they require so little bandwidth. Bluetooth has a latency/bw tradeoff (this is why Bluetooth microphones are so horrible, though the handsfree profile is also neglected generally).
barchar··on AirPods Max 2
If you're using Android there's global eq available (mostly). I use an app called wavelet that lets you search for your headphone model and download a pre-made profile.

iPhone users are kinda out of luck, but the autoeq database can show you how to set Music's equalizer to approximate a flat response

barchar··on AirPods Max 2
There are many. QCY makes a pair for ~$50, I think there are some other Chinese brands too. You really are paying for the brand.
barchar··on IBM Plunges After Anthropic's Latest Update Takes on COBOL
Plus it's not like there aren't cobol environments for more commodity hardware. Hell GCC just got a new cobol frontend last year!
barchar··on Vm.overcommit_memory=2 is the right setting for servers
Yep. If you aren't overcommitting on fork it's quite wasteful, and if you are overcommitting on fork then you've already given up on not having to handle oom conditions after malloc has returned.
barchar··on Vm.overcommit_memory=2 is the right setting for servers
I am aware reserving excess memory doesn't commit said memory. But it does reserve memory, which is what we were talking about. The point was that because you can have a lot of threads and restricting reserved stacks to some small value is annoying all systems overcommit stack. Windows initially commits some memory (reserving space in the page file/ram) for each but will dynamically commit more when you touch the guard. This is overcommit. Linux does similarly.

Idle threads do increase the amount of committed stack. Once their stack grows it stays grown, it's not common to unmap the end and shrink the stacks. In a system without overcommit these stacks will contribute to total reserved phys/swap in the child, though ofc the pages will be cow.

> Windows employs a distinct process/thread design, making the UNIX concept of a process foreign. Threads are the primary construct in Windows and the kernel is highly optimised for thread management rather than processes. Cygwin has outlined significant challenges in supporting fork(2) semantics on Windows and has extensively documented the associated difficulties. However, I am veering off-topic.

The nt kernel actually works similarly to Linux w.r.t. processes and threads. Internally they are the same thing. The userspace is what makes process creation slow. Actually thread creation is also much slower than on Linux, but it's better than processes. Defender also contributes to the problems here.

Windows can do cow mappings, fork might even be implementable with undocumented APIs. Exec is essentially impossible though. You can't change the identity of a process like that without changing the PID and handles.

Fun fact: the clone syscall will let you create a new task that both shares VM and keeps the same stack as the parent. Chaos results, but it is fun. You used to be able to share your PID with the parent too, which also caused much destruction.

barchar··on Performance Hints
This is not always true. Compilers are quite good at register allocation but sometimes they get it wrong and sometimes you can make small changes to code that improve register allocation and thus performance.

Usually the problem is an unfortunately placed spill, so the operation is actually l1d$ traffic, but still.

barchar··on Vm.overcommit_memory=2 is the right setting for servers
Unless you reserve on fork you're still over committing because after the fork writes to basically any page in either process will trigger memory commitment.

Thread stacks come up because reserving them completely ahead of time would incur large amounts of memory usage. Typically they start small and grow when you touch the guards. This is a form of overcommit. Even windows dynamically grows stacks like this

barchar··on Vm.overcommit_memory=2 is the right setting for servers
Fwiw you can use pressure stall information to load shed. This is superior to disabling overcommit and then praying the first allocation to fail is in the process you want to actually respond to the resource starvation.

Fact is that by the time small allocations are failing you are almost no better off handling the null than you would be handling segfaults and the sigterms from the killer.

Often for servers performance will fall off a cliff long before the oom killer is needed, too.

barchar··on Vm.overcommit_memory=2 is the right setting for servers
Even besides the aforementioned fork problems not having overcommit doesn't mean you can handle oom correctly by just handling errors from malloc!
barchar··on Why are 38 percent of Stanford students saying they're disabled?
They really don't, and if they did then would it be so bad if people who didn't "need" them took them?

Obviously if there's safety issues but for stimulants unsafe doses will 100% always decrease performance, because they'll affect sleep.

barchar··on Why are 38 percent of Stanford students saying they're disabled?
I don't see how you spending time in ways that work well with your challenges is different from your job providing accomodations, except that if your employer is willing to work with you then you don't have to randomly roll the dice until you come up with an employer where things happen to work in whatever way you wanted.

It's not like one of the accomodations on the table is "not doing your job"

barchar··on The 'S&P 493' reveals a different U.S. economy
This is probably ok if you consistently sell stuff that exits the top7 and buy stuff that enters, but I kinda doubt it's all that much better. Same as the s&p500 and the Russell 5000 have really similar returns.

You'll be more exposed to screwing things up when companies enter/leave.

barchar··on The 'S&P 493' reveals a different U.S. economy
Probably not well. You'll be consistently betting against the market with very little reason to believe you're really adding information.

Also, cap weighting reduces your need to trade and thus your overhead and tax costs.

barchar··on The 'S&P 493' reveals a different U.S. economy
Them not agreeing isn't a bug. I bet it's pretty historically normal.
barchar··on Credit report shows Meta keeping $27B off its books through advanced geometry
Yes. 21% CIT + 15-20% LTCG for the owners.

RE throws off much income.

It's also difficult to transfer the RE to another entity without realizing gains.

barchar··on Credit report shows Meta keeping $27B off its books through advanced geometry
Yeah, it's very dumb to own real estate like this directly for a c-corp
barchar··on AI is a front for consolidation of resources and power
It's often overlooked that bubbles like this actually validate themselves. It's not like the demand, revenue, or profits are fake or made up.

Investment mechanically _causes_ profits, and if you're as big as big tech is then some of that profit will be yours. In the end stupid investment will end badly, but until it actually plays out it can very much be rational for _everyone_ involved; Even if none of them are lying about anything.

Bubbles probably don't even have to hurt after the fact if the government is willing to support demand when things go south. The real cost is in the things we could have done instead. At least GPUs are genuinely useful (especially with the end of Moore's law), Energy investment is never a bad thing in the end, and those assets have very long useful lives.

barchar··on Labor Department Won't Publish October Unemployment Rate
Yep. That's my impression too.

Post pandemic we had a long period of quite high employment growth, and unemployment is now pretty low, at some point net job growth has to slow down, even if a recession isn't looming.

barchar··on Oracle is underwater on its $300B OpenAI deal
CDs (and I-bonds) are very different instruments than bonds. If "bad things" happen and rates go down the CD will not appreciate in value like the bond will.
barchar··on TurboTax’s 20-year fight to stop Americans from filing taxes for free (2019)
Investing doesn't require people to save money; it causes money to be saved
barchar··on TurboTax’s 20-year fight to stop Americans from filing taxes for free (2019)
It's somewhat easier to administer an income tax. It's (more) counter cyclical due to bracket creep. it might help deal with internal trade imbalances.

And it might be good to try and limit accumulation even if the accumulation doesn't have real economic effects; it can still create resentment or bestow power.

barchar··on TurboTax’s 20-year fight to stop Americans from filing taxes for free (2019)
I always like to comment on these posts that the IRS offers a program called "IRS FreeFile Fillable Forms" that allows any US tax person to file their individual federal tax returns electronically, for free regardless of income or complexity of the return.
barchar··on No science, no startups: The innovation engine we're switching off
1. They don't have to 2. If employees want to be exposed to excess profit (and loss) they can buy shares like everyone else. (Not a super strong argument tbh) 3. It's impossible to measure how much any given employee/department really contributed and they don't want to create a culture of chasing fat bonus checks. 4. To some extent they do tend to. Profit sharing plans and ESOPs aren't that uncommon
← PreviousPage 2 of 5Next →