Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
seniorsassycat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
seniorsassycat
22d ago
This project isn't very complicated, doesn't require extra power source, and doesn't beep every time you change the settings.
2.
▲
by
seniorsassycat
5mo ago
I tried Claude code designing a snap fit, vase mode printed box. Ultimately didn't work out, it couldn't get the tolerances right and kept designing features that wouldn't print in vase mode. Scad needs unit tests. It would b
3.
▲
by
seniorsassycat
7mo ago
Not sure about faster, but you could do something with overrides, especially pnpm overrides since they can be configured with plugins. Build a list of packages that can be replaced with modern stubs. It couldn't inine them, but it coul
4.
▲
by
seniorsassycat
7mo ago
Just switch to the +1 standard time. WA can switch to MST, which is equivalent to PDT. It still requires federal approval, but from Sec Transit instead of Congress
5.
▲
by
seniorsassycat
9mo ago
What if I've already fixed the format issue (but not staged it). The pre-commit hook will pass, but it's not doing what the author intended (preventing unformated code from being committed). What if I've only staged one part
6.
▲
by
seniorsassycat
10mo ago
Node.js uses the same JavaScript engine as chrome and chrome dev tools can be connected to node to debug and profile. node --inspect chrome://inspector
7.
▲
by
seniorsassycat
10mo ago
I tend to agree but think npms post install hook is a degree worse. Triggering during install, silently because npm didn't like someone using the feature to ask for donations, is worse than requiring you to load and run the package cod
8.
▲
by
seniorsassycat
10mo ago
I really want something like this to be built into the language or runtime, I don't want to juggle configuration for 4 different libraries. Log4j and tracing seem to be well established without being built in, but it feels too late for
9.
▲
by
seniorsassycat
10mo ago
Fork, and normal worker threads always enter a script, there's clearly no shared lexical scope. This spawn method executes a function, but that fn can't interact with the scope outside
10.
▲
by
seniorsassycat
11mo ago
Feels like the next step will be improving llm lsp integration, so tool use discovery becomes lsp auto complete calls. This is a problem coding agents already need to solve to work effectively with your code base and dependencies. So we don
11.
▲
by
seniorsassycat
11mo ago
Signature taste if Oreos
12.
▲
by
seniorsassycat
1y ago
That doesn't cast or change compile time type right?
13.
▲
by
seniorsassycat
1y ago
I'm curious what effects the system prompt has - randomize a and b, maybe there's a preference for answering a, or first option. - how do references to training data or roles affect the responses? Limiting the response to a/
14.
▲
by
seniorsassycat
1y ago
Do you have an example of the first?
15.
▲
by
seniorsassycat
1y ago
This can obviously be expanded to top to bottom programming, and there's a related principle of reorder / relocation. If/else if fails the relocation principal across many languages, since the first must be if, and middles el
16.
▲
by
seniorsassycat
1y ago
> by replacing inline types with whitespace, Node.js can run TypeScript code without the need for source maps. This is a really neat idea and I hope typescript adds this as a compiler option.
17.
▲
by
seniorsassycat
1y ago
Anecdotally Ive noticed a lot of packages failing to build when updating from node 20 to 22.18.0 that weren't failing with earlier node 22 versions. .18 unflagged typescript support. These are packages using ts-node or tsx to run types
18.
▲
by
seniorsassycat
1y ago
I've found that a lot of logging frameworks and patterns will not include cause which can absolutely fuck debugging
19.
▲
by
seniorsassycat
1y ago
Yeah, this felt like a gap in the article. You'd have to wait for every package to update from the bottom up before you could update you top levels to remove a risk (or you could patch in place, or override) But what if all the package
20.
▲
by
seniorsassycat
1y ago
It's wild that that's not what the section is about. Extending error is not new at-all.
21.
▲
by
seniorsassycat
1y ago
Which typescript features are improving runtime validation?
22.
▲
by
seniorsassycat
2y ago
Java has the java.util.logging classes.
23.
▲
by
seniorsassycat
2y ago
IMO until the abstract logging interface is built into the language, or standard library, we'll keep building different log libraries and adapters between them, and shipping libraries without logging. It makes me actively disinterested
24.
▲
by
seniorsassycat
2y ago
I don't see anything wrong with this and hope that countries and manufacturers start to cut power or refuse to exceed limits. At the very least within cities and towns. New modes of transit have geofenced speed govenors, I don't t
25.
▲
by
seniorsassycat
2y ago
Id love it of npm added support for additional artifacts — separate tarballs for source, code, binaries, source maps, docs etc
26.
▲
by
seniorsassycat
2y ago
The article suggests that you ship typescript so the app would compile down to esm or cjs. Node 22 has an experimental flag that supports requiring esm as long as there's no top-level await
27.
▲
by
seniorsassycat
2y ago
The blog doesn't explain how to take advantage of isolated modules without using JSR, or how JSR transforms published packages. How would a project configure node and typescript to use a npm module that has exported .ts files?
28.
▲
by
seniorsassycat
2y ago
But it's not Either / Result because there no error information on null
29.
▲
by
seniorsassycat
3y ago
In development, or on publish?
30.
▲
by
seniorsassycat
3y ago
I know .is can be emitted as an ast transformation, but I'm surprised by d.ts files. Even inferred types?
More ›