Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Swizec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
Swizec
11mo ago
> Why not just write the js yourself? It's really not that complicated. The people who keep pushing for htmx are weird. HTMX is great. We use it as a middle ground for mildly interactive parts of the app. Places where jquery/va
212.
▲
by
Swizec
1y ago
To say, by analogy, that coordinated data fetches are hard and we’ve been working on it for a long time in different contexts. Analogies help me understand stuff and borrow lessons others have learned.
213.
▲
by
Swizec
1y ago
> You're trying to explain request waterfalls So conceptually what's the difference between a request waterfall and an N+1 query issue?
214.
▲
by
Swizec
1y ago
The router is just the most parenty component. It’s the component that takes some input (like a url) and uses what is essentially a giant switch statement to decide what gets rendered.
215.
▲
by
Swizec
1y ago
> How you manage to drag query planners into routers into compilers, how are these chasing one dream or fungible or even barely correlated, I don't even know. Let me expand. In component-based UIs you have components that fetch thei
216.
▲
by
Swizec
1y ago
> Why is a router a thing that needs to be continually rebuilt and tinkered with. Did we not learn ages ago how routers should work? Nyes. The biggest innovation in the past 5 years has been routers that can coordinate loading data becau
217.
▲
by
Swizec
1y ago
> patrons at dive bars love businesspeople walking up and asking you to listen to their startup idea Honestly why 10 years ago in SF I stopped telling people I’m a software engineer when we chat at a bar. It was relentless.
218.
▲
by
Swizec
1y ago
> because the scenery changes so damn slowly around you Have you considered running faster? But seriously though, I’ve gotten pretty decent at running (3h15min marathon PR) and the difference between hiking a trail and running the same t
219.
▲
by
Swizec
1y ago
> My computer in 2010 was achieving basically the same tasks it achieves now - I can browser the web, buy goods online, watch videos, chat with people, play video games, and so on. My computer today is 10-20x more powerful than the 2010
220.
▲
by
Swizec
1y ago
> If anything, as you point out, this seems to be a better way for food manufacturers to bend the rules to avoid the logo and make something seem healthier than it is rather than giving more information to consumers Drinks in particular
221.
▲
by
Swizec
1y ago
> Only putting the warning on drinks with more than 50g of added sugar Wait till you see all the tricks food producers use to avoid the added sugar label. “grape juice concentrate” is not an added sugar if the food is grapes flavored, fo
222.
▲
by
Swizec
1y ago
Yeah I guess it depends on whether we mean practically or technically. EU countries travel to USA on a “visa waiver” so practically there are no restrictions. But technically you are issued a 90 day tourist visa upon arrival. The ESTA par
223.
▲
by
Swizec
1y ago
> it’s [US passport] one of only half a dozen passports that lets you visit the US visa free. That is just false. EU passports can travel to USA Visa free and that’s 27 countries right there. edit: Oh unless you count ESTA as a type of v
224.
▲
by
Swizec
1y ago
> The odd thing is why it would output its own mistakes, instead of internally revising until it's actually satisfied. Happens to me all the time. Sometimes in a fast-paced conversation you have to keep talking while you’re still fi
225.
▲
by
Swizec
1y ago
> we are doomed to repeat mistakes or reinvent the wheel because nobody ever reads the existing research, nobody learns from the past We do. There’s dozens of us! Here’s the thing though, the number of programmers in the world has been d
226.
▲
by
Swizec
1y ago
> as the letter "c" should make the "ch" sound What’s the ch sound? My intuition from German class is that ch represents a throaty hhhh. Somehow that got spoiled into k in most English words. Every c in Pacific Ocean
227.
▲
by
Swizec
1y ago
As the saying goes: don’t write unless you can’t not write. There are so many better ways to spend your time. Pushing a boulder uphill is hard. If it never gets over the hump and starts pulling, find a different boulder!
228.
▲
by
Swizec
1y ago
> But, again, CoL isn't relevant when we're discussing whether a particular job has 'low pay' Well it’s a little relevant when talking specific numbers. It’s hard to know if $number is high or low without some referen
229.
▲
by
Swizec
1y ago
> There are elementary school teachers in San Francisco whose total pay and benefits in 2023 were $150k or more: In 2025 San Francisco we have ads on buses advertising low income housing to people making less than $185k/year. https
230.
▲
by
Swizec
1y ago
> In truth, these festivals are all over Europe. They're just not well advertised, so you have to look for them. Considering how crowded they feel, I’d say the advertising is plenty sufficient. They’re local events with limited spac
231.
▲
by
Swizec
1y ago
> Renaissance fairs don’t really exist in Europe. We have them in Slovenia. In the summer local castles will put on a fair for the tourists and kids. Sometimes multiple! Typically you get a visiting troupe or two from Italy, they like to
232.
▲
by
Swizec
1y ago
Stupid code is fine. Make it work/exist first, you can make it good later.
233.
▲
by
Swizec
1y ago
The nearby contractor who gets all their work through referrals is by definition better than the one who needs to blast TV ads. The best people are basically never on the market.
234.
▲
by
Swizec
1y ago
> street sweeping is either the first and third or second and fourth week of the month for most residential areas On my block we get it 2x/week. I've never seen a street sweeper come by and the street is always dirty, but I sur
235.
▲
by
Swizec
1y ago
> it is complaining in a satirical way about installation readmes, that maybe they could be made easier, that also non developers can follow some simple steps See I missed that context :D Installation readmes are an interesting example –
236.
▲
by
Swizec
1y ago
Most tutorials are not for non-developers, they’re for other developers who are also in the ecosystem. They’re more like academic papers (peer-to-peer communication of new discoveries) than they are like a pop sci book or show meant for a g
237.
▲
by
Swizec
1y ago
> It's reasonable and natural to have a mental model that the control moves the observer. (move a control up to aim your eyes up) > It's also reasonable and natural to have a mental model that the control moves the object. (
238.
▲
by
Swizec
1y ago
> Idk, it sounds like you and your talented friends worked hard to get into Western Europe/US/Canada Yes. Up and left -> You’re an immigrant Down and right -> You’re an expat
239.
▲
by
Swizec
1y ago
> How many people on here can truly say that they were considering between two different countries. That doesn’t happen at scale. /me I started in Slovenia, considered London, actually got an offer in Canada, but ultimately chose Sa
240.
▲
by
Swizec
1y ago
I stand corrected. My memory garbled that. Thanks!
More ›