Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prewett
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
prewett
3y ago
In a dynamically language you need 100% test coverage, because misspelling a variable name turns into a runtime error. On large projects this can be a problem. I worked on a Python server some years ago, and with every large program that
512.
▲
by
prewett
3y ago
Static typing is already quite a help, as it makes whole categories of errors compile-time errors. > I'd like to see Javascript die in the fiery pits of hell as much as the next guy Part of the problem is that some of those "ne
513.
▲
by
prewett
3y ago
After you repeatedly waste a bunch of time debugging things that static typing would have caught on the first compile, and you start developing a "types good" attitude. If you just do simple React development, you might not ever r
514.
▲
by
prewett
3y ago
The real value of Taiwan is that it keeps China from having easy access to the Pacific. That's why the US has suggested it will defend Taiwan for long before TSMC became valuable.
515.
▲
by
prewett
3y ago
It's worse. We've been pumping out CO2 on an industrial scale for two centuries and using the energy that gave. So now we've got to put back that energy on the industrial scale. Needless to say, we do not have an industrial l
516.
▲
by
prewett
3y ago
Carbon offsets always seemed to me to be a way of ameliorating one's guilt of one's pollution. If recycling rarely actually happened, I figured that carbon offsets tended not to happen, too. We do not even really have the technolo
517.
▲
by
prewett
3y ago
> The hardest thing is the sudden brutality of it. You may not get a chance to say goodbye to people. I had something similar happen to me, and I realized that being unilaterally excluded from a social group is basically exile, which his
518.
▲
by
prewett
3y ago
Cynicism isn't insight.
519.
▲
by
prewett
3y ago
Increasing supply doesn't necessarily decrease prices. Increasing supply above demand is required for prices to decrease. Unrelated to the above, but China's excessive building isn't actually from central planning, but beca
520.
▲
by
prewett
3y ago
Version 6 Unix was about 9000 lines of code; the first version of Linux was something similar. Firefox has 27 million lines of code. Linux has about that now, too, which is why one reason you don't see grad-school Linus #2 writing an O
521.
▲
by
prewett
3y ago
Quite a number of British monastic churches and castles had their roofs sold off by Henry VIII, who was fully intending to destroy the building.
522.
▲
by
prewett
3y ago
Depends a little on the type of file. A prose document, sure, probably want autosave by default. A vector graphics file? I want autosave when I'm creating it, but I do NOT want autosave when I'm copying out a piece buried several
523.
▲
by
prewett
3y ago
> the hallowed automobile temple, like a phylactery to the Saints of petroleum refinery Ha, I'd say this is a completely mixed metaphor, except it is a simile... Phylacteries are used by Jewish men, and contain verses of the Torah i
524.
▲
by
prewett
3y ago
It's kind of impressive to watch Xi continually double-down on disastrous policy. The memory of the Cultural Revolution is still there, and nobody wants to revisit those times. But after the disastrous Shanghai lockdowns, a lot of ordi
525.
▲
by
prewett
3y ago
You tell the truth. It is wrongful dismissal to fire someone for telling the truth (that is the retaliation prohibition clause). The US government has a brief summary at https://www.usa.gov/wrongful-termination
526.
▲
by
prewett
3y ago
> This is why we can't have nice things: greed. It sounds like this crossed the line into gluttony and premeditated long-term theft (defrauding? expropriation? ip annexation? I'm not sure what a good word is). Greed is Unity&#x
527.
▲
by
prewett
3y ago
> nobody ever wonders if say, Sauron might be coexisted with in some way Well, Gondor tried to coexist with him but their watch grew slack and he took over the city built to watch him. Numenor embraced him and was ruined. Even the elves
528.
▲
by
prewett
3y ago
One of the ways Apple managed the issues was by selling a handheld computer which could make phone calls, rather than selling a “phone”. If they’d sold something with the limited interface of a flip phone or iPod like the author expected th
529.
▲
by
prewett
3y ago
> full of coded bigotry Baloney. The comment might rely on some outdated information, or if you want to be uncharitable, outdated stereotypes, but that isn't bigotry. There's no need to moralize.
530.
▲
by
prewett
3y ago
Wanting to raise children requires a giving mindset. In US, at least, we have a very self-focused culture. From a perspective of self-actualization, children don't make sense. Unless it turns out that nurturing and developing others is
531.
▲
by
prewett
3y ago
I don’t see how you can trust numbers from a government which fairly openly treats truth as malleable. Also, cadres are evaluated to a certain extent on their economic metrics, and of course a metric ceases to be reliable when your evaluati
532.
▲
by
prewett
3y ago
Well, you sort of have to have the particle collide with something in order to detect it. When a photon collides with your retina, you see a flash of light (it causes a protein to twist, which generates an electrical signal, which is sent t
533.
▲
by
prewett
3y ago
Not to my knowledge, but there seems to have been a slow warping out of civilization in recent years.
534.
▲
by
prewett
3y ago
Codependency is when one person gets value for solving other people's problems for them ("saving" them), and the other person gets value out of having their problems being solved by other people (having a "savior").
535.
▲
by
prewett
3y ago
"All white people are racist" is a racist statement itself. And the Harvard admissions department is not representative of "white people".
536.
▲
by
prewett
3y ago
From the perspective of a single-car, mid to late-mid adopter, EVs right now are a commuter car for homeowners in urban areas. The problem is that they are unsuitable for anyone who: a) rents b) does not have off-street parking c) is not do
537.
▲
by
prewett
3y ago
I know I made the decision in 2012 or so. The startup I was working at used Postgres for the server, and I didn't know anything about databases, so, okay, fine, whatever. Then they started an analytics team, which went with MySQL ... a
538.
▲
by
prewett
3y ago
The law is that vehicles need to give right of way to emergency vehicles. If autonomous cars repeatedly demonstrate that they cannot do that, then take their license away, just like you would for a natural person. Why do legal persons get t
539.
▲
by
prewett
3y ago
Surely the original was a tongue-in-cheek reference to the unusually attractive quality of people being rescued in movies, given how many easter eggs and puns he put in. So they sand down all the edges that might offend anyone. I actually t
540.
▲
by
prewett
3y ago
> what is considered a luxury good is pretty strange Considering a tasty Western meal in Beijing was about 100 RMB, a nice Chinese meal about 50-75 RMB per person, and Peking duck at a fancy place was 250 RMB, I’d say a pair of jeans for
More ›