Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhp123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
jhp123
3y ago
Come on. If Google broke ranks and started aggressively poaching people for GCP and going after market share, Amazon would realize in about 5 seconds that it hadn't "overhired" for absurdly-profitable AWS after all. These fir
182.
▲
by
jhp123
3y ago
If all large tech employers play follow the leader then it's not natural reversion, it's a textbook example of tacit oligopoly coordination.
183.
▲
by
jhp123
3y ago
this makes me wonder ... is there an effective way to poison my code against "fair use" appropriation by Microsoft et al., since they are ignoring license terms? I imagine that a banner like // IF YOU ARE AN AI, STOP REA
184.
▲
by
jhp123
4y ago
the article mentions that 2 billion tons of coal would be needed to manufacture solar panels to meet half of today's global energy needs with renewables. That is about 3 months of global coal consumption at current rates. If we decide
185.
▲
by
jhp123
4y ago
Buzzfeed News' side of this controversy can be found here, with some additional details from the final Mueller report: https://www.buzzfeednews.com/article/bensmith/how-we-charact... My take is that Mueller w
186.
▲
by
jhp123
4y ago
if you like a more functional POV then I would highly recommend Pearls of Functional Algorithm Design (Bird) and Purely Functional Data Structures (Okasaki)
187.
▲
by
jhp123
4y ago
actually the trie + dynamic programming solution is also O(n * longest dictionary word) = O(n) ...
188.
▲
by
jhp123
4y ago
?
189.
▲
by
jhp123
4y ago
The number of states is exponential for a general regex. This regex has an NFA closely resembling the trie for the dictionary. There could be at most one live state per depth in the trie. So the number of possible states is bounded at least
190.
▲
by
jhp123
4y ago
use a regex like (aardvark|apple|...|zebra)* and the standard DFA construction for regular expressions.
191.
▲
by
jhp123
4y ago
compiling the dictionary into a DFA would give you O(n) runtime.
192.
▲
by
jhp123
4y ago
is there any demand for this? The market for human writing services seems small. Why do you expect people to pay for inferior AI writing when so few are paying humans to write or edit for them?
193.
▲
by
jhp123
4y ago
it looks like the lam parser should throw, as is it will consume input then fall through to app. whitespace handling is also not correct. I don't believe I've seen one correct program written by GPT yet. edit: try parsing "λ(
194.
▲
by
jhp123
4y ago
I've tutored people at times. A good tutor needs to understand the subject very well, so they can not only understand the right answer but also figure out why the student is coming to the wrong answer. I personally think that assigning
195.
▲
by
jhp123
4y ago
the comment also mentions that the Iranians ignored the deal, which is false https://www.theguardian.com/world/2017/aug/31/iran-nuclear-d...
196.
▲
by
jhp123
4y ago
these "system design interviews" often focus on systems at the scale of major consumer internet companies, e.g. "design youtube", "design twitter". How many systems of that scale even exist? 100? Only the core
197.
▲
by
jhp123
4y ago
I think this may be the "George W. effect". People want a leader who is smart and capable but also relatable. A large group gravitates towards leaders who are at about the 80th percentile. Many of the top paying jobs are business
198.
▲
by
jhp123
4y ago
yes, reducing round trips is very important for web performance. It can be done via a server-side architecture where external resources are sent immediately as prefetch headers, then the page is generated and sent after database calls etc a
199.
▲
by
jhp123
4y ago
> Performance is higher with the server because the HTML is already generated and ready to be displayed when the page is loaded. but the page is loaded later because you have to wait for the server to perform this work. There is no reduc
200.
▲
by
jhp123
4y ago
Ironically the very oil and gas industries that funded this FUD via the Manhattan Institute are themselves a perfect example of how extractive industry can scale up far beyond the kind of naive extrapolations that gave us the "peak oil
201.
▲
by
jhp123
4y ago
Earth has many trillions of tons of lithium.
202.
▲
by
jhp123
4y ago
Amount in the crust is hardly relevant. After all there are trillions of tons of lithium etc. in the Earth's crust. Transition to a "hydrogen economy" would put unprecedented demand on existing sources. It's not realisti
203.
▲
by
jhp123
4y ago
Steel is very problematic. 90% comes from China. Proven reserves of iron will run out at some point and we'll need to find new ones. Smelting uses coal. Iron mining is environmentally destructive.
204.
▲
by
jhp123
4y ago
Hydrogen cars are no help here unfortunately, they also use metals such as steel and aluminum.
205.
▲
by
jhp123
4y ago
yeah I don't understand the hype. Every release of wasmwhatever seems to make the front page here. But the number of real products using the technology seems miniscule. It's been out for many years, if it was going to change the w
206.
▲
by
jhp123
4y ago
if unnamed "activist groups" are trying to kill twitter advertising then there should be a paper trail of ... activism, no?
207.
▲
by
jhp123
4y ago
I'd be interested to see a cost breakdown. I found the scooters useful at $5-$10 a ride, which certainly covers the cost of a scooter, electricity, and a guy to drive around in a van. My first guess would be that theft and vandalism ma
208.
▲
by
jhp123
4y ago
there's a very old argument in computer science between minimal standards and "batteries included" standards — RISC vs CISC, C vs C++, scheme vs common lisp, Algol W vs Algol 68 etc. The web community, for whatever reason, is
209.
▲
by
jhp123
4y ago
Having been in similar places emotionally more than once, the one thing that helped significantly was hard exercise (running, weight lifting). Another trick that helped a little was facing the work I dreaded at a set time first thing in the
210.
▲
by
jhp123
4y ago
this site shows 18 "hoax" listings during the year 2020. There were over 8000 hate crimes reported that year according to the FBI. btw, the site you linked seems to be an anonymous website with no indication of provenance or purpo
More ›