Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sheept
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
sheept
4mo ago
probably intended to be a signature for the preface, since Christian is the repo owner's name, that turned into a list because of markdown syntax
92.
▲
by
sheept
4mo ago
Context? Without it, it would be like starting a new session for each follow-up prompt
93.
▲
by
sheept
4mo ago
I'm curious about that "magic doc" feature. Is that meant to go in CLAUDE.md or a project file? Does the file need to be mentioned during the session or does Claude automatically search for all mentions of the "magic doc
94.
▲
by
sheept
4mo ago
It's an option that individual channels can disable. Granted, it's opt-out, but YouTube emailed creators several times about it well before: > Effective today, you can turn off automatic dubbing for your entire channel in your
95.
▲
by
sheept
4mo ago
Why does it need plugins/skills for a code review? Claude will just "review it" if you ask it to, and if you have particular preferences, they can go in CLAUDE.md
96.
▲
by
sheept
4mo ago
WhatsApp is not universally used. Line, WeChat, and KakaoTalk are more common in East Asia
97.
▲
by
sheept
5mo ago
I think you got it backwards: JavaScript has the coloring problem while other languages don't. "Red functions are more painful to call" alludes to async functions. Every await yields back to the event loop, which adds overhea
98.
▲
by
sheept
5mo ago
Painfulness isn't the main issue with colored functions, it only explains why we don't make every function red (async). The main issue is that sync functions can't call async functions, but in Python, you can bypass that rest
99.
▲
by
sheept
5mo ago
#3 is not satisfied, as you noted in #2. You can call `throws` methods from non-`throws` methods by wrapping the call in a try catch, and `throws` methods can call non-`throws`. There isn't an exclusivity asymmetry like there is for Ja
100.
▲
by
sheept
5mo ago
The Photoshop comparison doesn't make sense. Co-Authored-By doesn't show up in the final product, just as we don't say an image was exported from Photoshop. Would you consider the .psd and .indd file extensions to be advertis
101.
▲
by
sheept
5mo ago
Find and replace behaves the same in most IDEs, but for large changes, the specific LLM can affect the generated code for the same prompt
102.
▲
by
sheept
5mo ago
It could be more helpful for comparing model performance than just vibes or benchmarks. For example, you could run analyses to compare average line count per change or revert rate by model. Perhaps there will be a paper out in the near futu
103.
▲
by
sheept
5mo ago
My pixel font of choice is Sans Nouveaux[0] (requires Flash). It's MIT licensed too. [0]: https://emehmedovic.com/sans_nouveaux/
104.
▲
by
sheept
5mo ago
Why would there be paranoia when writing blocking code with async? The downside of goroutines is that you have no control when the goroutine context switches, so naively accessing a global value can lead to race conditions (which the langua
105.
▲
by
sheept
5mo ago
Rust unsafe functions aren't a good example of colored functions because it doesn't exhibit the main issue brought up in the article, that one color can call the other but not the other way around. In Rust, unsafe code can call sa
106.
▲
by
sheept
5mo ago
At least in JavaScript, it's nice to be able to see explicitly where you can expect the function to yield, so it's clear when race conditions can occur, or if you're calling it in a loop, whether you should consider running t
107.
▲
by
sheept
5mo ago
It could probably be helped a bit by enabling auto hyphenation, but ultimately browsers aren't optimized for typesetting narrow columns of text
108.
▲
by
sheept
5mo ago
In my experience, Rust is only mildly unpleasant to review, if only because the GitHub PR review interface is not an IDE. It can be hard to tell why .as_ref()s and whatnot had to be used without being able to hover over a variable to see it
109.
▲
by
sheept
5mo ago
I'm not sure if that's a great example. What kind of errors could ShouldBindQuery return? I would assume Axum returns a bad request error for you when query parsing fails, but if you do want more control over how the error is hand
110.
▲
by
sheept
5mo ago
A Rust library likely wouldn't be returning an opaque Box<dyn Error> to begin with. Errors are part of a library's API—it's what allows consumers to handle them—so you'd define an enum of possible errors your libra
111.
▲
by
sheept
5mo ago
Wouldn't it also work just to render the visible text as an image/path, then put invisible text objects over it? I've heard suggestions like having white/invisible text in resumes for tricking applicant tracking systems,
112.
▲
by
sheept
5mo ago
It seems like if you wrap both in a record then it should be possible: public record Left<T>(T Value); public record Right<T>(T Value); public union Either<L, R>(Left<L>, Right<R>);
113.
▲
by
sheept
5mo ago
The recent npm supply chain attacks relied on lifecycle scripts, which Deno doesn't run by default, but neither do pnpm or Bun. While Deno, like npm, supports a minimum release age, it doesn't enable it by default.
114.
▲
by
sheept
5mo ago
Deno's goal was to address Node's design weaknesses, while Bun came out with the promise of faster performance. Especially if you're coming from Node or migrating an existing project, it's easier to justify switching to
115.
▲
by
sheept
5mo ago
At one point we had UMD[0], which effectively provided runtime-agnostic interface, but ES modules were incompatible with that. Deno and Bun have decent Node compatibility, so couldn't Node APIs be used as the generic runtime interface?
116.
▲
by
sheept
5mo ago
Deno's LLM contributions have been smaller in scope, so they're more likely to be reviewed by a human, and the codebase remains understood by its contributors. Can the same be said of Bun, which switched to an entirely different l
117.
▲
by
sheept
5mo ago
For websites like Gmail when you open an email
118.
▲
by
sheept
5mo ago
It can[0] but I'm not sure if it's using that for the comparison. [0]: https://developer.mozilla.org/en-US/docs/Web/API/Event/isTru...
119.
▲
by
sheept
5mo ago
Just a quick search through the docs, it's garbage collected and has no means of directly manipulating memory, so it seems to be memory safe
120.
▲
by
sheept
5mo ago
Deno supports import maps, which are the mapping outside of the source files. But yes, URL imports have a variety of other issues (duplicated dependencies, no resource integrity), though Deno solved them in later versions (npm registry supp
More ›