Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
titzer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
421.
▲
by
titzer
1y ago
> Also it seems that it requires locking? That's not very good given that locks often need syscalls. AFAIU in most STMs all the fast paths are implemented using lock-free algorithms with just barriers.
422.
▲
by
titzer
1y ago
> And by the way if you know more methods or ideas please share them! Use a transaction manager (HTM or STM). The STM is going to boil down to lockfree synchronization, logging, and retry. Transactions can fail and retry. But ultimately,
423.
▲
by
titzer
1y ago
Thanks for the detailed writeup, that must have been a lot of work. I think you guys should check out Verona ( https://www.microsoft.com/en-us/research/project/project-ver... ).
424.
▲
by
titzer
1y ago
Whoosh. No, chemotherapy is not the same as holding your breath, and no, most cancer drugs don't have anything to do with oxygen, except the (unwanted) side effect that they can lower red blood cell count, causing anemia and low oxygen
425.
▲
by
titzer
1y ago
Right. Like one thing that cancer needs is oxygen. So if we stop breathing (instead of laboriously stopping smoking--that's hard), then we can slow down cancer.
426.
▲
by
titzer
1y ago
This is why science communicators need to master the art of to-scale visualizations, animated diagrams, and put working code into slides and presentations. Shit shovellevers are marked by a smokescreen of words and hand waving and pictures
427.
▲
by
titzer
1y ago
Attention is a shit economy and people who spend their time trying to acquire it inevitably become covered in and completely full of...shit.
428.
▲
by
titzer
1y ago
Ransomware attacks against hospitals and a dark extortion economy churning tens if not hundreds of billions of dollars a year in losses and waste. What would the "sky falling" look like to you? If you're expecting dramatic mo
429.
▲
by
titzer
1y ago
Moral hazard here. The rest of us, and all of society, now rests on a huge pile of code written by incorrigible misers who imagined themselves able to write perfect, bug-free code that would go infinitely fast because bad things never happe
430.
▲
by
titzer
1y ago
> It is also true that loops mess up your stack traces No, because an indirect tail-call eliminates the calling frame. After, it looks like the caller of that function called a function it did not call . In fact, with tail-calls a whole
431.
▲
by
titzer
1y ago
Unaccountable corrupt authorities are shit no matter what -ism is on the end.
432.
▲
by
titzer
1y ago
Oh yes, some good ole black and white thinking will help the dialogue.
433.
▲
by
titzer
1y ago
> in the capitalist countries Again, you mean the countries that didn't have authoritarian, unaccountable governments, where citizens have not only a history of free expression, but they constitutionally guaranteed rights. Whereas
434.
▲
by
titzer
1y ago
> Communism has nothing to do with environmentalism. No one claimed it does. Basically all of what you wrote above is because of pursuit of economic growth regardless of the -ism. Environmental destruction is the inevitable result of g
435.
▲
by
titzer
1y ago
> The best system The best system for growth . It's important to point out that Capitalism won because it grew faster. But nothing can grow forever--certainly not exponentially--so we're now finding out how poorly late stage C
436.
▲
by
titzer
1y ago
10 bit bytes would be awesome! Think of 20 bit microcontrollers and 40 bit workstations. 40 bits makes 5 byte words, that'd be rad. Also, CPUs could support "legacy" 32 bit integers and use a full 8 bits for tags, which are u
437.
▲
by
titzer
1y ago
Last I chatted with Tobias Wrigstad, work is still happening on Verona.
438.
▲
by
titzer
1y ago
Biodiversity, biomass, and ecosystem robustness are all objective measures. Human settlement has a tendency to reduce all of them. The story here isn't that reintroducing wolves established some kind of human-centric value system, it&#
439.
▲
by
titzer
1y ago
ISO 8601 is the way .
440.
▲
by
titzer
1y ago
I'm surprised they didn't just add a fast path of 1 and 2 byte LEBs to the hard-won assembly they generated. These fast paths are absolutely worth it. E.g. Wizard's Wasm interpreter uses a 3 instruction fastpath to decode 1-b
441.
▲
by
titzer
1y ago
It all comes back to growthism. When you're a MegaCorp, you can't make 20% more YoY revenue growth by making better products, charging more, or cutting costs. The only option is to get hundreds of millions or billions of new eyeba
442.
▲
by
titzer
1y ago
I have three levels: 1. An issue tracker, even if it's just a text file for some projects. These are things that need to get done over the long term. 2. TODOs. These are actually bugs or incomplete things. The code is not actually done
443.
▲
by
titzer
1y ago
Money has no inherent value; it is just a currency, an indirection, a promise. The economy must always bottom out at a physical good or service. You can keep trading promises of goods and services in various forms, but ultimately you end up
444.
▲
by
titzer
1y ago
> When you convert from int to float, the number stays accurate to however many digits The point of the article is that this "however many digits" actually implies rounding many numbers that aren't that big. A single preci
445.
▲
by
titzer
1y ago
> We should be vetting who we allow into our country, and using their speech is one way to vet them. Who is this "we" and what rules govern these "we"? What are the consequences for this "we" just up and v
446.
▲
by
titzer
1y ago
> Better to structure your code so that you do the pointer manipulation (and allocation) in Go code instead, and leave assembly only for what is absolutely necessary for performance (usually things like bulk operations, special instructi
447.
▲
by
titzer
1y ago
For Virgil I went through three different compile-time interpreters. The first walked a tree-like IR that predated SSA. Then, after SSA, I designed a linked-list-like representation specifically for interpretation speed. After dozens of lit
448.
▲
by
titzer
1y ago
Zig has some interesting ideas, and I thought the article was going to be more on the low-level optimizations, but it turned out to be "comptime and whole program compilation are great". And I agree. Virgil has had the full langua
449.
▲
by
titzer
1y ago
All this interview proves is that Chomsky has fallen far, far behind how AI systems work today and is retreating to scoff at all the progress machine learning has achieved. Machine learning has given rise to AI now. It can't explain
450.
▲
by
titzer
1y ago
Yes, except "law" enforcement. In scare quotes because there will be no law.
More ›