JP
@ciantic
Developer. Rust, TypeScript, C#, .NET...
JavaScript/Node people should be happy about their slim node_modules. Rust people have entirely different level of problem. Rust target directories are *HUGE* single project can easily have tens of gigabytes. 38 GB, 30GB, 19 GB...
I feel like've unlocked some @effect-ts.bsky.social (Effect v4 beta) specific achievement, for figuring out parts of the Bottom type by implementing my own DbFormat type-safe wrapper for it. TypeScript can be sometimes very complicated!
I wonder why brand name in @effect-ts.bsky.social isn't the type of the identifier. Now it is plain string. I think at type-level only way to get the original identifier is to use conditional type to extract the ID. Like T extends Schema.brand<any, infer B> ? B : never;
Valibot has two ways to do a custom actionish thing, one is with brand and check, another is the hard way extending BaseValidation. Now for a library providing multiple different types, I think custom base validation looks more valiboty, because it doesn't steal brand. But it is verbose...
Isn't this like most obvious bug? I wonder why it exists. TypeScript's Object.assign extends objects deeply, but that is not how it works in JavaScript. #Typescript www.typescriptlang.org/play/?ts=6.0...
Like, what the hell happened here. JS Zod statements sprinkled with GraphQL schema. Granted not all of this has to do with query layer, but validation, but. Surely there would be better way! github.com/calcom/cal.d...
Debugging linux with LLMs is kind of fun. I've stored all journalctl entries of my problems. Today I got issue: after wakeup network didn't start. I stored the journalctl, and gave it to DeepSeek 4 PRO. Is this fiction or fact? Who knows! But it is confident.
Does Bluesky's webpage has memory leak when running for long time? It gets sluggish, and I noticed it eats 1.2GB of memory, of which 900MB of JS memory.
You can have two LSP servers working on a single file, and VSCode will annotate both happily. I have Deno and TypeScript Native enabled, they both work hard to add type annotations for each statement. Inline hints are doubled!
I discovered something weird, one can 'strip' out the literals, e.g. boolean literal with a type { valueOf(): boolean } check www.typescriptlang.org/play/#code/C... @arnaud-barre.bsky.social had a puzzle, that lead me to this weirdish discovery.
I kept experimenting, this looks dangerous stuff: Record<string, { valueOf(): boolean } | string> Haven't tested a lot, but it infers and rejects numbers.
I like PI coding agent, because it is a way to build my own. But why does it have a dependency to AWS libraries? Like @aws-sdk/client-bedrock-runtime@3.1014.0. It really bloats the tree. npmgraph.js.org?q=@mariozech...
While there is something awry with Deno's business model, with recent layoffs, amount of code changes they are shipping has increased dramatically. You can see from their GitHub that they now work with Claude and contribution graph looks like this: github.com/denoland/den... @deno.land
I think it is great, but I don't have a much legacy code to be maintained, it doesn't look very smooth transition from 1 to 2. Some weird quirk with refresh types though.
Hello world didn't work, Fedora 43. FYI in Linux the only saneish method is to use Chromium Embedded Framework, not that broken ass GTK webview. Tauri guys are trying to refactor theirs to use Chromium Embedded Framework too: github.com/tauri-apps/c...
Dario Amodei also has a weird worry, his 'messed up world' scenario has existed for a long time now? Capital and growth in tech sector has concentrated in Silicon Valley for decades now, why would it suddenly stop? It would stop only if money would lose its meaning.
I didn't know, Apple App store pages seems to be at least partially done with Svelte. #Svelte @svelte.dev
I wanted to write pure Rust wayland apps (no winit or other crossplatform approaches). I made a small wayapp library to make them simpler. Here is an example of it managing an EGUI within a Wayland Layer shell surface. github.com/Ciantic/waya...
FYI, @nonzeronews.bsky.social Discord link in YT video is not working. Nikita, who probably created that, is not in Bluesky?
First attempt with Comet (Perplexity's AI browser). Open HN frontpage, I type "best three items" and it's answer? "The best three items depend on the context, but for survival situations such as being stranded on a deserted island..." I had to ask it twice to get it done!
That's one heck of a misleading. How would anybody know to hover over "..." to know it was a paid search result? Secondly, I have not looked at Bing lately, but it looks absolutely hideous! Paddings, margins, font sizes, colors... Nothing looks harmonious to me, right on brand with Microsoft.
GPT5 in Copilot VSCode shows pricing model as 1x. Given that GPT4.1, 4o had 0x and they are being deprecated, will GPT 5 also be zero-priced?
Hmm, I think that calls the nested dispose helper twice, once by ending the closure, and then second time by another disposer: www.typescriptlang.org/play/?target...