HNHacker News
TopNewBestAskShowJobs

Inviz

187 karma · joined April 25, 2010

submissionscomments
Inviz··on Hacking the Postgres wire protocol
Json schema layer support sounds interesting. Truth be told I didn’t immediately figure out how your project works
Inviz··on SpacetimeDB
Async io?
Inviz··on The Cassowary Linear Arithmetic Constraint Solving Algorithm [pdf] (2002)
I programmed that gss thing. Fundamentally the issue is that cassowary can’t do 2d constraints and can’t do li e wraps. It’s dumb.
Inviz··on Cursor told me I should learn coding instead of asking it to generate it
I am unable to acquire knowledge from the books since 35 years ago. Had to get by with self-directed learning. The result is patchy understanding, but lot of faith in myself
Inviz··on Introducing command And commandfor In HTML
Oh, it's coming back!

Called for it: https://news.ycombinator.com/item?id=40888664

Inviz··on Replace OCR with Vision Language Models
Service doesnt inspire confidence. Openai-compatible api doesnt work (expects `content.str` in message to be a string - ???). Getting 500s on non-openai compatible endpoint - seems like timeouts(?). When it did work it missed a lot, and hallucinated a lot too on custom documents/schemas.
Inviz··on Run structured extraction on documents/images locally with Ollama and Pydantic
What are the most promising ways to extract information from picture like this, if the domain has strict time constraints? What's the second best way that is still fast?
Inviz··on Bypass DeepSeek censorship by speaking in hex
there's a bit of censorship locally. abliterated model makes it easy to bypass
Inviz··on Cheating Is All You Need
I'm trying to use Cursor for full time building of applications for my personal need ( years of experience in the field). It can be rough, but you see the glimpses of the future. In the early weeks, I am constantly having to think of new ways to minimize surprise. Prompt-injection via dotfile (collection of Dos and Donts), forcing LLM to write itself jsdoc @instructions in problematic files, coming up with project overviews that states goals and responsibilities of different parts. It's all very flaky, but there's a promise. I think it is a good time to try mastering the LLM as a helper, and to figure out how to play your best game using this ultra sharp tool.

My 2c is that engineer will be needed in the loop to build anything meaningful. It's really hard to shape the play-dough of the codebase having to give up so much control. I see other people who can't validate the LLM BS get themselves into the hole really quickly when using multi-file editing capabilities like the Composer feature.

One thing that kinda blew me away even though it's embarrasingly predictable is "parallel edit" workflow, where LLM can edit multiple files at the same time using a shared strategy. It almost never works currently for anything non-trivial, so the agent almost never uses it unless you ask it to (Run typescript check and use parallel edit to fix the bugs). It's also dumb, using the same auto-completion model that doesnt have access to Composer context, it feels like. But this shows how we can absorb the tax of waiting for LLM to respond, is by doing multiple things at once to many files.

And tests. Lots of tests. There's no way about it, LLM can spice things up really subtly and without tests on a big project it's impossible to fix. LLMS dont have the same fear of old files from previous ages, they can start hacking what's not broken. Cursor has a capable "code review" system with checkpoints and quick rollbacks. At this point in time we have to review most of what LLM is spewing out. On the upside, LLM can write decent tests, extract failing cases, etc. There's no excuse not to use tests. However extra care needs to be taken with LLM-generated tests, as to review their legitimacy in asserts.

I tried to write a popular table game engine without understanding game rules personally, and i had a bunch of reference material. It was difficult when I couldnt validate the assertions. I think I failed the experiment and had to learn game rules by debugging failing tests one by one. And in many cases the culprit was the fixture generated by LLM. We can used combined workflows to make smarter models like o1-pro to validate the fixtures, that typically works on well known concepts and games

Inviz··on Ask HN: A friend has brain cancer: any bio hacks that worked?
My friend got fully recovered from stage 4 melanoma with immune therapy in Italy. Good luck
Inviz··on Show HN: Llama 3.3 70B Sparse Autoencoders with API access
The app keeps logging me out after first click. The tech seems to be intriguiging for me as a software engineer looking to get into custom llm stuff
Inviz··on Escaping Google's manual reputation penalty and resuming business as usual
My newish e-commerce website was removed from google.crawling is fine, no penalties. Then google removed website link from my business profile, because it’s not in search results. Any tips what to do next?
Inviz··on Rendering "modern" Winamp skins in the browser
SoundJam? Or windows media player?
Inviz··on Everyone is wrong about that Slack flowchart
This specific problem is better solved by decomposing the logic into rules that tell when not to send a message. I refactored this diagram once that way, so it becomes absolutely straightforward.
Inviz··on M4 MacBook Pro
I have M3 Max with 128GB of ram, it's really liberating.
Inviz··on GeForce RTX 5090
Craving for imac 32" leak. Googling every week!
Inviz··on Mathematicians discover new class of shape seen throughout nature
I wonder if tesselated concave octagon shape is seen anywhere in nature. (https://robertlovespi.net/wp-content/uploads/2016/01/tessoct...)

I built my brand on this shape

Inviz··on CSSnano
Yeah though within context of a single rule keeping that prop is pure overhead
Inviz··on CSSnano
Why keep background-position, if background overrides it anyway?
Inviz··on Is My Blue Your Blue?
If sRGB has severly limited green, what would you say about CMYK?
Inviz··on Can you convert a video to pure CSS?
Animating timeline via css variable causes restyle cascade for all descendant elements. Maybe it is fine for shallow structure but generally it’s much more performant to change transformation directly. Of course that makes it less convenient as computation would have to be duplicated in js
Inviz··on Hundred Rabbits is a small collective exploring the failability of modern tech
In my opinion mid-level STM32F4 or high level STM34H7 would be pretty great machines for people who'd like to self-constrain themselves. Very capable, and with a lot of freedom to improvise unorthodox solutions. There're so many modes of operations, sub-systems (i.e. creative use of DMA to emulate extra UARTs), ability to drive LCD if needed, all the GPIOs, ability to add external RAM, etc.

In fact i've been working on and off on implementing operating system that uses CANOpen framework (a higher-level system based on CAN bus) for super-reliable wired networking. I want to follow similar path of travelling on expedition truck and doing programming for the truck sub-systems on the go.

Inviz··on Hundred Rabbits is a small collective exploring the failability of modern tech
A single 1$ STM32 blue pill (or one 4$ STM32F4, or god forbid esp32) could do so much more than a NES at lower energy consumption.
Inviz··on HTML5 Differences from HTML4 (2014)
Anybody remembers <command>?
Inviz··on SEQUEL: A Structured English Query Language (1974)
care to share that one special trick?
Inviz··on SEQUEL: A Structured English Query Language (1974)
There is a recent asianometry video on history of sql
Inviz··on CSS Text Box Trim
This is currently technically possible by customizing font face definition, right?
Inviz··on Hardest problem in computer science: centering things
Simply dont use justify-content in that case. https://codepen.io/inviz/pen/XWQxaOp
Inviz··on Old CSS, new CSS (2020)
Yes, it's another technique. I can't find it right now (it's old masters technique). It's different from spritesheet or border radius, in a way that it requires image to be pre-proceed in photoshop via Filter->Offset, that basically acts as negative background position. This is to shift top-left pointer of an original image to its center. After that in CSS, you can use negative background-position to negate the image manipulation. Effectively it helps creating the right edge of a flexible element, which was difficult before background-position could be anchored to the right.

You'd still need multiple elements, but you'd have a single image (which is better for http latency/compression).

Inviz··on Hardest problem in computer science: centering things
CSS goes away from left/right in general. See inline-* and block-* family of properties. This is to support RTL and vertical writing modes easier.
← PreviousPage 2 of 6Next →