HNHacker News
TopNewBestAskShowJobs

ReactiveJelly

3,665 karma · joined December 28, 2019

Only shows up for threads about gender and Rust.
submissionscomments
ReactiveJelly··on Running a 28.9M parameter LLM on an $8 microcontroller
Finally, an LLM that can run on my i5
ReactiveJelly··on Stolen Buttons
GUI design, just like music and film, peaked when I was about 15.
ReactiveJelly··on Book Corners: Community map of neighborhood book exchange spots
If you see a library that's full, find the worst book, walk a ways, and throw it away.
ReactiveJelly··on How My Images Are Dithered
> Dithering can reduce file size

Yeah, if you're using lossless compression like PNG or GIF, adding a lossy step to reduce the number of colors in the palette can help.

If you're compressing photos, you should use JPEG or WebP.

Anecdotally, JPEG usually beats dithering, and WebP always does.

It's fine to dither images but please please admit that you're doing it for the aesthetic. WebP has very broad browser support and absolutely blows dithering out of the water for compression. You are not going to beat years of research and tuning with "use fewer colors".

I remember a YouTube video about "How we did the impossible and got full-motion video for this Sonic game on a system that couldn't do FMVs", and the answer was like, "Well, we used a low resolution, and then we reduced the color palette, and then we cut the frame rate, and then we did interlacing." None of that's impossible! That's like saying you built the Pyramid at Giza using only a bucket of Lego bricks! It's not the same pyramid! Anyone can use a lower resolution! It takes effort and teamwork to come up with a codec that actually compresses data without artifacts!

ReactiveJelly··on Microsoft has released software updates to plug at least 570 security holes
They should patch that Global Device ID thing

:^)

ReactiveJelly··on Punch yourself in the face with reality
You have coworkers who know what a test is? Hire me! ;)
ReactiveJelly··on Punch yourself in the face with reality
"Nature cannot be fooled"
ReactiveJelly··on How to stop Claude from saying load-bearing
I asked it to remove "honest" from a draft once.

"Why say honest? We're talking to our coworkers. We would always be honest."

I'm going to look for prompts or skills that can train it in technical writing but I'm warning the AI enthusiasts in my company that its first drafts of code and prose are low-quality, you have to hold it to a high standard yourself.

I actually took a single technical writing class in college so I might be the only one who remembers "Omit needless words."

ReactiveJelly··on Show HN: I implemented a neural network in SQL
I'll try it next time I've got Greece vacation money
ReactiveJelly··on Show HN: Bible as RAG Database
> The king profits from the field

For the solution, read Henry George!

ReactiveJelly··on Prompt Injection as Role Confusion
Yeah I've noticed this when role-playing with some LLMs
ReactiveJelly··on Orthodox C++ (2016)
The regular table saw is still in the new workshop, and the new workshop adds a SawStop and another regular table saw.
ReactiveJelly··on Twenty One Zero-Days in FFmpeg
I think Chromium already does sandbox ffmpeg in the renderer process because of their "Rule of Two": https://chromium.googlesource.com/chromium/src/+/HEAD/docs/s...

Thus:

1. Code which processes untrusted input

2. Code written in unsafe languages like C or C++

3. Code that runs without a sandbox

So ffmpeg should be sandboxed, same as the network code and GPU process are sandboxed.

ReactiveJelly··on EV demand up 50% in France and Germany since Iran war
I bought one because I had a feeling that the price of used EVs was about to shoot up
ReactiveJelly··on Hold on there: WPA3 connections fail after 11 hours
I swear John Carmack said somewhere "Time should be a double that starts from 1 billion" or something, for games or VR or something.

Of course when I search on DDG I only get "wow the fast inverse square root"

ReactiveJelly··on Ludum Mortuus Est
Then the repugnant conclusion is not that gaming is dead, but that games are made primarily for teenaged boys and most of us have aged out of the target audience, so games simply aren't made for us anymore.
ReactiveJelly··on A* tricks for videogame path finding
Oh like in path tracing.
ReactiveJelly··on Electric light transmits data faster than Wi-Fi
It might enable security but I wouldn't say it _ensures_ it.

It just means that visible or IR light (What are they using?) won't leak through walls the way Wi-Fi does. Depending on how wide the beam is and exactly how it all works, it _might_ still leak out of windows and under doors. But it's not like someone casually wardriving outside your house will get as much as they would from Wi-Fi, I would think.

ReactiveJelly··on America doesn't know tofu
I agree, seitan is a lot more like meat. I prefer less-realistic replacements so even though I've enjoyed seitan I actually quit buying it. It's too convincing.
ReactiveJelly··on BCHS software stack: BSD, C, httpd, SQLite
https://en.wikipedia.org/wiki/Common_Gateway_Interface

The most primitive version is just launching one process per request, piping the HTTP request into stdin, and piping the response out of stdout.

It works, but you can imagine the startup latency is rough and it takes a lot of resources.

There are faster variations that try to reduce the overhead. Ironically FaaS is sort of a rebirth of CGI

ReactiveJelly··on Black Triangles (2014)
I don't consider it an OS if it needs an OS to run. Something like a "Ship can carry a boat, boat can't carry a ship" rule.
ReactiveJelly··on A cargo plane flew 50 miles with no pilot onboard using a semi-automated system
I think GP meant they could hack it remotely. If an attacker hacks a fly-by-wire plane remotely, I'd rather not be onboard.
ReactiveJelly··on Woman pregnant in each of her two uteruses gives birth to twins
Cool! I kinda want a uterus some day.
ReactiveJelly··on Technical Overview of AV1 Spec
Yeah. And that's why TV stores really like slow-motion shots or static landscapes to show off the TV. Any motion will cause "HDTV blur" as the encoder struggles to describe complex motion with the limited number of bits it's allowed to use.

Stuff like static, film grain, particles like snow or rain, those all suck up bits from the same encoding budget.

"Why Snow and Confetti Ruin YouTube Video Quality" by Tom Scott probably explains it nicer than I can https://www.youtube.com/watch?v=r6Rp-uo6HmI&pp=ygUaYnJlYWtpb...

This could be a problem for video game streaming, and it could affect the artistic decisions a game studio makes - Drawing a billion tiny particles on a local GPU will look crisp and cool, but asking a hardware encoder to encode those for consumer Internet (or phone Internet) might be too much. I think streamers have run into this problem already.

ReactiveJelly··on Technical Overview of AV1 Spec
(For JPEG - Newer codecs may differ) The codec has these "Basis functions", 64 of them, which are used to encode and decode each 8x8 block of pixels. https://en.wikipedia.org/wiki/Discrete_cosine_transform#/med...

Sine and cosine waves have a property that you can approximate a signal by just taking the dot product with these basis functions to get a list of coefficients, and then you multiply those coefficients with the basis functions to get the original signal back. Not all functions are basis functions.

You can see that the upper-left one is all white, that's the "DC" (Direct Current) basis. As you go right and down, they increase in frequency.

So the encoder gets all the coefficients and then it quantizes the high-frequency ones to save bits. That's why JPEGs often have ringing / rippling artifacts where an edge will be sharp but have waves coming out on either side.

If you quantize the coefficients enough, then some of those bottom-right ones end up quantizing to zero. So JPEG encoders run a lossless compression step on the coefficients to squish all the zeroes and small values together. You can crunch a JPEG smaller by replacing this lossless compression with a newer algorithm.

And the decoder just inflates those coefficients and multiplies them by the same basis functions to get the bitmap back.

There's details I don't understand in the middle like loop filters and de-blocking filters to hide the 8x8 block artifacts, but the heart of it is just "take a dot product with these functions to encode, multiply those dots with the same functions to decode".

ReactiveJelly··on Synthesis Methods Explained: What Is FM Synthesis?
For a couple years I've wanted to write a subtractive synth from scratch in software. But I _cannot_ find any source that explains how to write a low-pass filter, in code, without assuming tons of knowledge about calculus and these odd things like Z-transforms?

Like, I understand FFTs and DCTs. But the explanation for how to construct filters in software is pathetic.

I looked at the code for VCVRack but could not understand it. It's already optimized for SIMD, processing 4 signals at once, which didn't help readability. (I'm sure it's very fast though)

ReactiveJelly··on I have interviewed 100s of candidates for software engineering positions
Well, yes. I suppose one could enable caching in Nginx or some other reverse proxy but Mastodon itself is just the app, there'd be no point for it to implement caching or a CDN when the admin can hook that on in front.
ReactiveJelly··on I have interviewed 100s of candidates for software engineering positions
> I'm sure also insulting to actually good candidates

I don't mind it much. I don't have great social skills but I don't mind answering simple questions. If someone is insulted by simple questions, they're probably gonna be a bad mentor to junior devs, right?

ReactiveJelly··on The great cousin decline
If any startups are in this field, I'd pay at least $100 / month to have a substantially better family than I have now
ReactiveJelly··on Show HN: Talk to any ArXiv paper just by changing the URL
It bugs me cause it's kinda true but kinda misleading, I don't know if casual web users realize it's a whole different domain. Sometimes it's not important, sometimes it is.
← PreviousPage 2 of 34Next →