Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhp123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
jhp123
3y ago
For some reason programmers think that an "abstraction" is the same as just naming something. If I take a bunch of code that will only work given specific, concrete conditions and give it a name like "setup()" then I hav
152.
▲
by
jhp123
3y ago
>Where is this from? to me the quote sounds like a paraphrase of Guy Debord
153.
▲
by
jhp123
3y ago
Broken windows can be a net benefit, for example the london neighborhoods hit by bombs during world war 2 are now far denser and more economically active. The idea that broken windows are always negative is as simplistic as the idea that th
154.
▲
by
jhp123
3y ago
"the rich" and "top income earners" are not at all the same group. Many of the richest people make their money through untaxed capital gains.
155.
▲
by
jhp123
3y ago
we seem to be talking past each other. I think you took my neutral question, "which policy interventions?", to be a statement of denial that there were any lockdowns or other policy interventions anywhere. I tried to clarify this
156.
▲
by
jhp123
3y ago
and wyoming didn't issue a stay at home order....?
157.
▲
by
jhp123
3y ago
what lockdowns? where? Obviously some places (e.g. China) had lockdowns and others (e.g. Wyoming) did not. I'm asking which government's policy, and which specific one, not trying to gaslight you into thinking that there were no p
158.
▲
by
jhp123
3y ago
which policy intervention are you talking about?
159.
▲
by
jhp123
3y ago
I've never understood the analogy. Fences are built to keep people or other animals inside or outside an area, the purpose is almost always fully obvious. They are also not that cheap and require some upkeep, it is almost always easy t
160.
▲
by
jhp123
3y ago
the benefits of esm are not compelling enough to rewrite everything. Browser-native module loading is a niche use case which can never be as performant as bundling (even if per-request overhead is minimized in http2, a chain of dependencies
161.
▲
by
jhp123
3y ago
it's probably a pattern because the city government allowed more housing construction there than anywhere else.
162.
▲
by
jhp123
3y ago
that's interesting, for me interviews feel very similar to the work I do day-to-day, except I need to be on the whole time. If I have a work task like a tight deadline or urgent production issue that requires maximum effort for 5–8 hou
163.
▲
by
jhp123
3y ago
> If you only have seven good hours a day in you, does that mean the rest of the day that you spend with your family, reading, exercising at the gym, or whatever other virtuous activity you would be spending your time on, are all done po
164.
▲
by
jhp123
3y ago
To take the contrary position: give up. Your project will take far longer than you think, and you will get much less from it than you hope (at least in terms of external validation and rewards). You may feel a horrible pressure to finish it
165.
▲
by
jhp123
3y ago
TeX solves the core problem of responsive layout using just a small handful of primitives. No one seems to have noticed that FlexBox is mostly a copy of the TeX boxes and glue model.
166.
▲
by
jhp123
3y ago
It would be political suicide to pass an "inflation reduction act" with like 500 billion in new taxes and increased enforcement? I guess we'll see next year in November...
167.
▲
by
jhp123
3y ago
I mean everything has been around but we're talking about mainstream acceptance. Trump said that the elections were stolen and the violent riots were justified. What major figure from either party supported anti-government violence bef
168.
▲
by
jhp123
3y ago
This doesn't help. Now the implementation depends on another component correctly reading some global state, an undeclared dependency. If I'm reading the upvote button I have no idea that it uses a notification-bar. If I'm rea
169.
▲
by
jhp123
3y ago
if you decided to write C by building a lot of tiny global functions with no local state that called other globals functions, then it would greatly resemble programming with GOTO.
170.
▲
by
jhp123
3y ago
You don't need a framework like React but you should try to implement modules that are explicit about their dependencies and use local state as much as possible. For example the upvote could be implemented like this: function rende
171.
▲
by
jhp123
3y ago
no differerence at all. jQuery functions like $('.foo').on('click', () => $.ajax(... $('.bar').html(result) )) become unmanageable just as quickly.
172.
▲
by
jhp123
3y ago
let's say that you have an upvote button <button hx-post="/upvote" hx-trigger="click" hx-target="#notification-bar" hx-swap="outerHTML" >
173.
▲
by
jhp123
3y ago
My problem with this approach is the same one raised by Dijkstra against the goto statement. These update actions are too unrestricted and don't offer any way to analyze the program's progress systematically, based on the program
174.
▲
by
jhp123
3y ago
I would say that the window has shifted on at least the following topics: * vigilantism and militias - the Jan 6 rioters, George Zimmerman or Kyle Rittenhouse are widely celebrated in right-wing media, I don't think this really happene
175.
▲
by
jhp123
3y ago
I'm inclined to agree that the vibe has shifted a bit. HN users have always shown a lot of hostility towards certain groups, like journalists, politicians and financiers. VCs, founders and tech executives were more often seen as part o
176.
▲
by
jhp123
3y ago
If you click the domain on this submission, you'll see loads of articles from a16z on the topic of generative AI. Click back a couple years and you'll find this page: https://news.ycombinator.com/from?site=a16z.com
177.
▲
by
jhp123
3y ago
This library actually has some pretty unique ideas, like the use of Proxy objects which is not commonplace in javascript frameworks. Even if it didn't, sometimes it's just nice to build your own take on something.
178.
▲
by
jhp123
3y ago
My library https://github.com/jhp/imperative is also under 2kB
179.
▲
Imperative – 1.5kb JavaScript Framework using Generators
(github.com)
2 points
by
jhp123
3y ago
|
0 comments
180.
▲
by
jhp123
3y ago
LLMs also hallucinate during summarization tasks, adding topics that were not in the original
More ›