Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcparkyn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
jcparkyn
3y ago
Probably Peano numbers. https://wiki.haskell.org/Peano_numbers
62.
▲
by
jcparkyn
3y ago
The very first line of the linked article: "San Francisco rents continue to drop, and they probably haven’t hit bottom."
63.
▲
by
jcparkyn
3y ago
If you know what modifications you need to make (hopefully the library author does), you only need to clone the relevant parts of the object (e.g. with spreading). Deep cloning still isn't usually necessary unless you're doing wie
64.
▲
by
jcparkyn
3y ago
You should check out immer for that use case ("modifying" an immutable object with imperative code).
65.
▲
by
jcparkyn
3y ago
Earnings per laid off employee seems like an odd metric. It makes the decision sound more "rational" the more employees are laid off (which is clearly backwards), and would give ridiculous numbers for companies with very few or ze
66.
▲
by
jcparkyn
3y ago
I would think that a fairly reliable fix would be "only render markdown links that appear verbatim in the retrieved HTML", perhaps with an additional whitelist for known safe image hosts. The signifiant majority of legitimate imag
67.
▲
by
jcparkyn
3y ago
https://github.com/Jcparkyn/scrobburl A scrabble-esque word game to play with my friend, and try out some modified game rules. Built with Elm.
68.
▲
by
jcparkyn
3y ago
> by "producers"... Yes, that's how I interpreted it - no disagreement here. > "wages catch up," I probably should have clarified my wording a bit. I think it's clear that _total_ nominal earnings will in
69.
▲
by
jcparkyn
3y ago
[Not the person you're replying to] Vscode has a built-in (and quite good) 3-way merge editor, and an excellent editable diff view. GitLens also makes it easy to diff any two refs within vscode.
70.
▲
by
jcparkyn
3y ago
Agreed, but my comment was more specifically about inflation being "permanently embedded in prices". Also, retirees with savings don't tend to have all of it in cash (I hope?), but even if they do, the higher cash rate will s
71.
▲
by
jcparkyn
3y ago
But surely you'd agree that most of those things are ultimately caused by external factors, not just some sort of long-term build up from inflation over the years? > society's lifestyles have slowly shifted in response to the f
72.
▲
by
jcparkyn
3y ago
I won't pretend to be an expert on the matter, but I'm not very convinced by your argument. > [...] wages do not increase as a result of high inflation Not in the short term, sure. But if the cause of the inflation isn't s
73.
▲
by
jcparkyn
3y ago
But in the long run, wages will increase to catch up (unless there is an external force keeping them lower than they once were). Put another way, we don't suddenly have 6% fewer goods and services for the rest of eternity just because
74.
▲
by
jcparkyn
3y ago
> those that can afford to invest made a lot of money, but everyday workers are no better off According to those graphs, even the bottom quartile saw a substantial increase in net worth during the pandemic [1]. Sure, this is much less in
75.
▲
by
jcparkyn
3y ago
I really meant "without third-party monorepo tooling", but SDK-style csproj files can absolutely be edited by hand (I never use the GUI for them, even in VS). Solution files, while an abomination, are mostly optional if you'r
76.
▲
by
jcparkyn
3y ago
Have you tried GitLens? It's the first extension I install after I install vscode, and it expands the built-in functionality by about an order of magnitude (although I'm not super happy about the shift to paid features in recent y
77.
▲
by
jcparkyn
3y ago
I'm no git CLI expert, but I would humbly disagree with that. I keep a "git changes" view open most of the time in vscode, so most common operations are literally either one click or one hotkey away. Complicated options are r
78.
▲
by
jcparkyn
3y ago
C# is also much better than most languages about being able to split code into separately compilable projects with references between them, and multiple applications referencing the same shared library. Trying to do the same in TS or python
79.
▲
by
jcparkyn
3y ago
Is that really a contradiction? What about complex numbers?
80.
▲
by
jcparkyn
3y ago
Another alternative to this that seems quite promising is mutable value semantics (e.g. https://research.google/pubs/pub51426/ ).
81.
▲
by
jcparkyn
3y ago
That's a very specific form of "hiding information". Hiding information about why or how much you want a good/service is absolutely not fraud, morally or legally (IANAL). On the other hand, giving misleading info about s
82.
▲
by
jcparkyn
3y ago
I'm pretty sure they were talking about AsyncLocal<T>, which is not quite the same as ThreadLocal (values are persisted even when an async flow transitions across).
83.
▲
by
jcparkyn
3y ago
You might be confusing it with another part of ASP.NET Core like web APIs, which are generally super fast. Performance has never been a strong point for Blazor, except for the recent AOT support which has its own issues.
84.
▲
by
jcparkyn
3y ago
I'll take this opportunity to plug one of my personal projects, a graphical (node-based) regex editor written Blazor WASM: https://github.com/jcparkyn/nodexr
85.
▲
by
jcparkyn
3y ago
You can still use git with typst, if you use the offline (open-source) compiler instead of the web app.
86.
▲
by
jcparkyn
3y ago
That's done by the PnP solver, but yes it's essentially looking at the size of the aruco markers on the screen. This is implicit in the equation the PnP solver is trying to solve: "find the pose (position and orientation) tha
87.
▲
by
jcparkyn
3y ago
I agree, all the examples in TFA feel lifeless compared to the originals (except the circle). I could see the utility if they went for "proper" vector shapes, but here it feels like the worst of both worlds.
88.
▲
by
jcparkyn
3y ago
That depends what you consider "occasional", but for most definitions the answer would be no. I'm sure there are better ways to handle the inertial measurements than what I did, but even so, double integration drift causes er
89.
▲
by
jcparkyn
3y ago
I'll chime in and say that OpenXR integration is a good suggestion, just not something I had the time/effort to implement (this is a university project, after all, and was focused more on the core tracking tech). I think people ju
90.
▲
by
jcparkyn
3y ago
Yes (or something like that, I don't know all the details), but they use infra-red light which requires a dedicated camera. I think they might also require more than one camera (although it is possible to do monocular IR tracking).
More ›