Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhorie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
lhorie
5y ago
What I was trying to get at is that whether you have to work with JSX or whatever, that doesn't really have much correlation with Deno per se. CRA/Next/Remix give you decent JSX setups out of the box too (for scopes where J
152.
▲
by
lhorie
5y ago
To be clear, IMHO, Deno looks fine for what it is. The features are great. The cons ironically mostly boil down to "it's not node", i.e. ejecting a non-trivial app from CRA into some vite setup is doable with some effort, but
153.
▲
by
lhorie
5y ago
SSR means server-side rendering. String-ness is irrelevant (everything is a string as far as HTTP is concerned). The difference is between serving HTML vs JS for the purposes of generating a DOM tree. The article is using nanossr specifical
154.
▲
by
lhorie
5y ago
Yes, I know what Deno is, and when I say "semi-interesting", I mean I'm trying to find a silver lining to praise Deno for. To clarify, the similarity is that this claims to be a "single file" thing by importing the
155.
▲
by
lhorie
5y ago
Why? Just so you can tell another developer that there's a compiler transpiling non-standard syntax into function calls that concatenate strings at runtime? While the output HTML that the user sees is exactly the same? That's exac
156.
▲
by
lhorie
5y ago
I mean, this is a "single file website" in the sense that `<iframe src=" https://google.com"></iframe> ` is a "search engine implementation in one line of code". The only semi-interes
157.
▲
by
lhorie
5y ago
No offense, but your choice of talking point reads a bit like gatekeeping and ageism. One can just as easily argue that most startups fail therefore "most startup employees aren't suited for startups" either... I'd certa
158.
▲
by
lhorie
5y ago
I agree that conflating errors with stack unwinding is an unfortunate reality of how exceptions work in most languages. I'm not sure if I agree that suspend/resume are good alternatives. Conceptually, they seem most similar to C&#
159.
▲
by
lhorie
5y ago
I would go one step further and question the premises that a) the next google must necessarily be dominant/monopolistic and b) that said dominance must necessarily ride on top of free user economics. What TikTok shows to me is that use
160.
▲
by
lhorie
5y ago
I would definitely put part of the blame on the design of the system. It allows anyone to write stuff like `"lodash": "*"`, which is a perfectly valid range as far as semver goes. And then there's things like yarn r
161.
▲
by
lhorie
5y ago
Yeah I think a lot of people have been settling for that pattern, but it's admittedly not ideal, in the same way that it's generally preferable to work with discrete values in a functional/pure fashion than shuffling values i
162.
▲
by
lhorie
5y ago
> Node is doing the right thing Node does a different thing. It can coalesce two different versions into one if the two things are within a certain semver range, but there's nothing that enforces whether things within a semver ran
163.
▲
by
lhorie
5y ago
The problem is that in other languages, it's common to do this sort of idiom throw new Error("Expected foo, found bar at line " + line) // ...then elsewhere catch (e) { log("In file "
164.
▲
by
lhorie
5y ago
Disk utilization is only one metric. The trade-off for Yarn PNP is that it incurs runtime startup cost. For us (~1000+ package monorepo), that can be a few seconds, which can be a problem if you're doing things like CLI tools. Also, re
165.
▲
by
lhorie
5y ago
That's nim[0], not zig [0] https://nim-lang.org/docs/manual.html#lexical-analysis-ident...
166.
▲
by
lhorie
5y ago
The error thing to me hints more at how people use errors in the wild than anything specifically about Zig per se. The example that comes to mind is propagating parsing errors from a recursive descent parser. Typically one just wants to unw
167.
▲
by
lhorie
5y ago
Honestly, if your hiring criteria involves looking at pedigree, you're probably doing it wrong. FAANG people jump over to the startup side and vice versa all the time. People grow (yes, even those $500k/yr staff folks). Rather tha
168.
▲
by
lhorie
5y ago
Honestly, I doubt it. If you're gonna make predictions, you kinda gotta look at what already exists. People that buy cars to ferry their kids around will look at things like safety ratings. Safety reports for robocars are super hush hu
169.
▲
by
lhorie
5y ago
Why wouldn't it be sustainable? Well-paid professions/roles have existed since forever. Income and wealth inequality have both existed since forever. We're talking all the way back to antiquity. Within what sort of timeframe
170.
▲
by
lhorie
5y ago
I mean, if by value, we mean a "good or a service [someone] would be willing to spend USD on", then yes, all the things I mentioned are things that people have spent money on in one way or another, presumably because they felt tha
171.
▲
by
lhorie
5y ago
My impression has been similar to the comment sibling to yours, that a lot of attempts at crypto-related applications were somewhat hype based. However, despite the huge amount of noise, some do seem - at least in principle - valuable. I ce
172.
▲
by
lhorie
5y ago
I'm curious if this comment is a usual fare of shallow dismissal or if you are aware of current applications of crypto in the wild and consider them to be useless nonetheless. One example that comes to mind is that Docusign offers a pr
173.
▲
by
lhorie
5y ago
This is pretty similar to how we do CI for web at Uber, down to computing changed targets via `bazel query` and generating dynamic pipelines from a version controlled script.
174.
▲
by
lhorie
5y ago
IMHO, the similarity angle is nearly a red herring. "Girl from Rio" by Anitta is unequivocally a copy of "Girl from Ipanema" but it has proper attribution so there's no problem. What really matters is this chain of
175.
▲
by
lhorie
5y ago
Something that doesn't seem to have been discussed from the legal angle is this: if one can make any copyright claim about these datasets qualifying as "prior art", doesn't that then open itself up for trolls to claim th
176.
▲
by
lhorie
5y ago
See this layout[0], for example. Notice how the black soot marks are directly underneath the windows. [0] https://img.koreatimes.co.kr/upload/newsV2/images/202104/301...
177.
▲
by
lhorie
5y ago
Nah, it's definitely the hygiene thing. Pools often forbid food and drinks at the deck for the same reason: if someone dirties the pool water, they basically need to close off the whole pool and recycle the pool water for a few hours,
178.
▲
by
lhorie
5y ago
AFAIK, that's meant for buses, and it's the same rationale as airplane floor lights (i.e. illumination is necessary to avoid falls from tripping in the dark, e.g. if the passenger is going to the toilet, which some buses have).
179.
▲
by
lhorie
5y ago
One thing that is overlooked is historical context. In Korea, there's a type of building called an Ondol[0], which is basically a building w/ underfloor heating (traditionally via smoke from wood fire). There's also a bed var
180.
▲
by
lhorie
5y ago
Yep, white lies. The underlying rationale is that kids do throw up in pools and you don't want to get into a public argument with a kid about how they're not going to throw up, can they go in pretty please. It's like the thin
More ›