Inviz
Re:Denial of service and source code exposure in React Server Components
on Thursday December 11, 2025 @05:40PM (#46238327)
have you seen the code of next.js? its completely impenetrable, and the packages have legacy versions of the same files coexisting, it's like huge hairball
Re:Should CSS be a constraint system instead?
on Wednesday December 10, 2025 @06:21PM (#46225461)
If I am to provide a summary of why layout shouldnt be linear constraints, is that it can't faithfully represent content overflowing onto multiple lines. I.e. it's inherently one dimensional. I.e. you can't really have a layout that adaprts to the screen size without creating a lot of separate breakpoints. This is a big limitation, that for example flexbox doesnt have. When I left Grid i immediately went and reproduced a lot of stuff we've been doing in (new then) flexbox layout engine, and i was like: Oh my god, this is so much more powerful.
Re:Should CSS be a constraint system instead?
on Wednesday December 10, 2025 @06:18PM (#46225432)
Hello Jon! This is Yarik. Cool to see you doing all this machine learning work these days.
Re:Claude 4.5 Opus' Soul Document
on Tuesday December 02, 2025 @06:16PM (#46128264)
Is there a consensus about "Dont do it" negative prompts vs "Do it this way" positive prompts? So it's negative when there's a hard line, and positive when it's being nudged towards something?
Re:The CRDT Dictionary: A Field Guide to Conflict-Free Replicated Data...
on Tuesday December 02, 2025 @01:11AM (#46118155)
Well, OT has its CAP-like theorem, which says that you can make some sacrifices to get some qualities. Excluding time component from the OT and removing the "first edit wins" rules, allows for very flexible OTs with deterministic tie breakers (i.e. when two people are writing a word in one place, sort words alphanumerically to brea the tie). But in order for this to work for P2P environments, the list of actions can't be collapsed/optimized until all parties rebased their changes against all other parties. In centralized systems, peers can throw away the log of ops that happened before the server's last acknowledged state
Re:The CRDT Dictionary: A Field Guide to Conflict-Free Replicated Data...
on Sunday November 30, 2025 @07:24PM (#46101960)
is there a modern operational transformation implementation that would work in P2P environment? i've had my own, but it had some convergence issues in complex fuzzied scenarios, couldnt fix before my enthusiasm ran out. I still feel like OT is more elegant and easier to integrate than CRDT. But i'm not finding good lightweight implementations.
Re:Tell HN: Happy Thanksgiving
on Thursday November 27, 2025 @06:22PM (#46074075)
In these 15 years, HN was a website that shaped me and my worldview. It's a social circle that inspires me and broadens my perspective.
Re:Waiting for SQL:202y: Group by All
on Sunday November 16, 2025 @06:57PM (#45949645)
What's wrong with GROUP BY 1,2,3?
Re:JSON River – Parse JSON incrementally as it streams in
on Tuesday October 14, 2025 @09:48PM (#45587180)
Please consider it a feature request
Re:JSON River – Parse JSON incrementally as it streams in
on Monday October 13, 2025 @07:48PM (#45574602)
I want to ditch stream-json so hard (needs polyfills in browser, cumbersome to use), but I need only one feature: invoke callback by path (e.g. `user.posts` need to invoke for each post in array) only for complete objects. Is this something that json river can support?
Re:Structured Outputs in LLMs
on Tuesday September 30, 2025 @02:44AM (#45422620)
yes but you can put it on nested objects. Each type: object can have its own propertyOrdering, so you control whole tree
Re:Nobel Laureate John Jumper: AI Is Revolutionizing Scientific Discov...
on Monday September 29, 2025 @08:34PM (#45420624)
I have a mildly psychotic friend who think that he uncovered the secrets to everything with AI. Quantum theory and Jungian archetypes, together with 4 dimensions - great mix
Re:Structured Outputs in LLMs
on Friday September 26, 2025 @08:38AM (#45385806)
nested field have their own propertyOrdering
Re:Structured Outputs in LLMs
on Tuesday September 23, 2025 @10:20AM (#45347419)
gemini api has propertyOrdering field for that
Re:The attr() function in CSS now supports types
on Thursday August 21, 2025 @10:48PM (#44980549)
hmm... where to start?
- Variables cascade and cause restyle of whole sub-tree.
- Attributes often are already on the html element, e.g. title, aria, data attributes, so dont need inline styles
- Not mixing data with presentation
Just to name a few
Re:The new shape of Mixxx 3.0 – Open Source DJing
on Wednesday August 06, 2025 @08:43PM (#44819476)
I wish this had youtube video mixing support. This is something i cant find in other software.
Re:Cerebras Launches Qwen3-235B, Achieving 1,500 Tokens per Second
on Wednesday July 23, 2025 @10:22AM (#44659556)
I contacted their sales team before, cerebras started at $1500 a month at that time, and the limits were soooooo small. Did it get better?
Edit: Looks like it did. They both introduced pay as you go, and have prepaid limits too at $1500. I wonder if they have any limitations on parallel execution for pay as you go...
Re:Show HN: Context Rot Technical Report – How Input Length Impacts LL...
on Monday July 14, 2025 @09:50PM (#44567138)
Cursor lifted "Start a new chat" limitation on gemini and i'm actually now enjoying keeping longer sessions within one window, becuase it's still very reasonable at recall, but doesnt need to restate everything each time
Re:A job queue in two lines of JavaScript
on Monday July 14, 2025 @09:46PM (#44567117)
I wonder if people who are claiming its not the case ever tried to use promises in hardcore ways like this, chaining 10s of thousands of calls. You often hit some bullshit, i.e. Promise.race is a big cause of issues.
Even if you are doing `then().then()`, something _else_ in the code base could retain the promise somehow and then your whole chain isn't GCable!
For example https://github.com/rxaviers/async-pool library that implements concurrency for async iterators (and uses promise.race) subtly creates GC pressure which you dont see until you make a whole lot of calls and suddenly its slow
Re:A job queue in two lines of JavaScript
on Monday July 14, 2025 @06:33AM (#44558414)
yeah but it creates closure as well, which typically references some objects that isn't easy to GC. So if you have long-living promise with some data captured in closure, it will not be cleared. So doing then().then().then() may not release objects referenced in callbacks that resolved time ago.
Re:Show HN: Refine – A Local Alternative to Grammarly
on Monday July 14, 2025 @04:06AM (#44557546)
Couldnt make it to show suggestions in vscode/cursor. I would like to use the tool, but i'd expect it to work consistently across all widgets in the system (i.e. like superwhisper). Is there a technical limitation here or my misconfiguration of things?
Re:A job queue in two lines of JavaScript
on Sunday July 13, 2025 @11:02PM (#44556038)
Chaining promises like this is not a good idea for high throughput cases (creates gc pressure), but perfectly valid for regular cases.
Re:The Two Towers MUD
on Tuesday July 08, 2025 @02:44AM (#44497684)
Is there some youtube channel covering some interesting stories from MUDs? From dev, player POV and everything in between. Craving for some emergent storytelling of MUDs to listen to while falling asleep
Re:Self-Adapting Language Models
on Sunday June 15, 2025 @01:18AM (#44280709)
Evolving prompts seems to fit the "modify without changing" bill, does it?
Re:Liquid Glass – WWDC25 [video]
on Saturday June 14, 2025 @01:08AM (#44274318)
I think the fact that it supports colored glass, and it has 2 variants, and it promotes dimming layer - says that current implementation is probably not the end of the story
Re:Builder.ai did not "fake AI with 700 engineers"
on Friday June 13, 2025 @02:56AM (#44266297)
One good thing that came out of that disjointedness is temporal.io, which is an ultimate microservice gluecode tool
Re:A deep dive into self-improving AI and the Darwin-Gödel Machine
on Wednesday June 04, 2025 @07:38AM (#44179593)
We'll soon migrate to AI web, and it is us who will be the aliens. There perhaps facts dont carry as much value.
Re:Show HN: Vaev – A browser engine built from scratch (It renders goo...
on Sunday May 18, 2025 @10:17PM (#44026019)
Cat is out of the bag. nobody wants their CSS without flexbox anymore. It has to include that.
Re:Migrating to Postgres
on Wednesday May 14, 2025 @08:29PM (#43990613)
WHERE CONDITION AND 1=1 results in scanning whole table? I dont think so...
Re:Jellyfin as a Spotify Alternative
on Wednesday April 16, 2025 @09:21PM (#43712131)
What do we do about Lightroom? Capture one? How about sharing galleries?