Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
titzer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
811.
▲
by
titzer
3y ago
It's not that they carry diseases, though that's not great for species that get those diseases, it's that this particular species of mosquito (Aedes aegypti) is really just a pest we bring with us. They aren't native to
812.
▲
by
titzer
3y ago
Ok. So just invest in one stock. The market never crashes and businesses never go bankrupt.
813.
▲
by
titzer
3y ago
> But logging done properly is essential for a lot of species. Hard disagree here. These species survived in niches carved out by forest fires and ruminants that keep open grasslands, prairies, and other in-between states from endlessly
814.
▲
by
titzer
3y ago
I see you have not met my friend's dog.
815.
▲
by
titzer
3y ago
I'm pretty sure that a "safety check" for social media companies circa 2008 would look like: "Is this likely to harm society in anyway?" "Uh, no. This is some messages and pictures on a website. Look how much m
816.
▲
by
titzer
3y ago
...and while you're at it, take off that ungainly human suit and show us the exalted being of light you are. This comment is subtractive from the discussion and doesn't belong here. It's just random insults about someone'
817.
▲
by
titzer
3y ago
Lift it where?
818.
▲
by
titzer
3y ago
A conditional move is not guaranteed to be faster than a predictable branch. It varies a lot by microarchitecture. It was just an example. Imagine if you had a store in the else branch. Now optimizing away a store means that load eliminat
819.
▲
by
titzer
3y ago
Yes, I am assuming the OP considered that in their energy calculations. Solid waste recycling is another issue we desperately need to address to be sustainable.
820.
▲
by
titzer
3y ago
Also note that the potential for catastrophic meltdown / contamination is proportional to how much fuel you have on board. If you only have ~3 months fuel for a 20MW reactor, then it's not like a 3-mile-island or Chernobyl situati
821.
▲
by
titzer
3y ago
That's mostly because smaller ships don't need as much power as a sub or carrier. The wattage required for a large container ship is about on par with the reactor for a nuclear sub.
822.
▲
by
titzer
3y ago
Obviously the non-recyclable solids would be counted separately, and considerable. The average American uses more than their weight in plastic every year, and that is about 80% not recycled.
823.
▲
by
titzer
3y ago
> by cheap energy from fossil fuels. Obviously the issue at hand is that use of those fossil fuels has led to a huge unpaid debt (negative externality) in the form of compounding climate change. But even without that, the number of death
824.
▲
by
titzer
3y ago
In the US, spent fuel sits on site in cooling ponds, and has for decades. Spent fuel isn't much, about three cubic meters per year for a big plant. The larger volumes of nuclear waste are from contamination, like accidents, or just thi
825.
▲
by
titzer
3y ago
The US Navy fields dozens of nuclear vessels. Has since 1954. No meltdowns. Only two ships ever lost, and not due to reactor issues. Subs can go for decades without refueling.
826.
▲
by
titzer
3y ago
It just exposes how stupid our software stacks are. Everything is driven by "well, maybe they'd want to customize this and that and that and three hundred irrelevant details". When in reality all we ever wanted was to separat
827.
▲
by
titzer
3y ago
I think I would like the former syntax. Witness one of the several nested matching situations I run into: https://github.com/titzer/wizard-engine/blob/master/src/engi... This would be much, much bet
828.
▲
by
titzer
3y ago
It's not just the direct cost of a branch, it's the downstream costs as well. Removing (or automatically folding branches in a compiler) can lead to optimizations after the branch. E.g. if (foo > 0) { x = 3; } e
829.
▲
by
titzer
3y ago
Nice work! JIT compilers are a multi-dimensional tradeoff space: memory consumption, startup time, and execution time. I've been experimenting with different ways of visualizing these three dimensions in a tradeoff space. I like the it
830.
▲
by
titzer
3y ago
Replace "eat bugs" with "verb thing" and you've pretty much described the entire dynamic of class struggle spanning several centuries. The "verb thing" baseline has just shifted as humanity makes some prog
831.
▲
by
titzer
3y ago
Well said. If anything, the geologic record of Earth's history having wild swings between different climates, and not gradual, shouldn't suggest that it's a "robust system", but rather a fragile, sensitive system
832.
▲
by
titzer
3y ago
Obviously I don't control the PL landscape's decision-making for what level of abstraction they want their compilers to target; that's why I helped create Wasm to put all of that mess into a sandbox so we can move on with a b
833.
▲
by
titzer
3y ago
We're not talking about some survey of self-reported symptoms of nausea with N=113. We're talking about satellite data, glaciers, permafrost, ice cores, tree rings, tide buoys, written historical records, weather stations, geologi
834.
▲
by
titzer
3y ago
Heh, give snark, get snark. Virgil doesn't interoperate with C because ABI is a sticky, ugly, thorny thing. However, I've come to realize that several projects that want to use Wizard, a thing I wrote in Virgil, could do so if Vir
835.
▲
by
titzer
3y ago
It might be unfathomable to you because you didn't use facts or reasoning to get yourself into your current belief system, so facts and reasoning won't get you out. This "narrative" that you've been hearing is the s
836.
▲
by
titzer
3y ago
C++ should be put out to pasture along with asbestos and lead paint. It's unsafe at any speed and should be discouraged in favor of memory-safe alternatives. Evolving the language is a desperate attempt to stay relevant when it should
837.
▲
by
titzer
3y ago
An unstated premise of this article is that most people are self-reflective and introspective. Most people aren't. Being offended is exactly the emotional response we need less of, no matter whether that is coupled with some supposed
838.
▲
by
titzer
3y ago
Thanks. Interesting thought. The current Virgil compiler translates from the AST directly to SSA quite early. Specialization, analysis, data representation choices, and lowering all happen on SSA. Translating directly to machine code from t
839.
▲
by
titzer
3y ago
The syntax-tree driven approach is considerably simpler than Sethi-Ullman, and faster. If you read the blog post, you can see it's based on a 1990 paper that references the 1970 paper that introduced the Sethi-Ullman algorithm. So neit
840.
▲
by
titzer
3y ago
> has to dump the pipeline Modern Intel processors have a "stack engine" (similar to the return stack buffer) that speeds up access through RSP. But regardless, there's no need to dump any pipeline; a call just has an impl
More ›