HNHacker News
TopNewBestAskShowJobs

jakkos

352 karma · joined December 16, 2021

submissionscomments
jakkos··on High-Level Is the Goal
We measure computer performance in the billions and trillions of ops per second. I'm sorry but if it an app takes 200ms to hide some comments, the app or the tech stack it's on is badly made.

> The web has complexity also of client/server with long delays and syncing client/server and DOM state, and http protocol. Desktop apps and game engines don’t have these problems.

Hugely multiplayer games consistently update at under 16ms.

jakkos··on Chromium Has Merged JpegXL
I've been hearing about fights over JpegXL and WebP (and AVIF?) for years, but don't know much about it.

From a quick look at various "benchmarks" JpegXL seems just be flat out better than WebP in both compression speed and size, why has there been such reluctance from Chromium to adopt it? Are there WebP benefits I'm missing?

My only experience with WebP has been downloading what is nominally a `.png` file but then being told "WebP is not supported" by some software when I try to open it.

jakkos··on I'm making a game engine based on dynamic signed distance fields (SDFs) [video]
> You can simply pick the minimum SDF value and get no blending at all.

While this true for traditional SDF rendering (e.g. raymarching), the method of "interpolating cached distances" used here means that you will always get blending between objects.

jakkos··on I dumped Windows 11 for Linux, and you should too
I've used Windows, Ubuntu, and NixOS all for longer than I ever used arch and never had an update leave my computer inoperable.
jakkos··on I dumped Windows 11 for Linux, and you should too
> System updates obviously don't become less risky because of the OS they're updating

The last time I used arch, I ran an update and it broke my bootloader, meaning the next time I restarted it wouldn't boot at all.

Sure I could make a recovery USB and fix it, but at that point I was away from home, and just really needed to do the totally crazy thing of "using my computer to actually do work".

(To be clear, I didn't and I'm not recommending going back to Windows, just a more sane Linux)

jakkos··on “Stop Designing Languages. Write Libraries Instead” (2016)
Have you seen nushell? It lets me one-liner so many things that would have previously taken breaking out a "real" language to do

Contrived example:

  ls | where type == 'file' | sort-by size | take 4  | each {|f| {n: $f.name, s: ($f.size | format filesize MB) }} | to json
outputs

  {
    "n": "clippy.toml",
    "s": "0.000001 MB"
  },
  {
    "n": "README.md",
    "s": "0.000009 MB"
  },
  {
    "n": "rustfmt.toml",
    "s": "0.000052 MB"
  },
  {
    "n": "typos.toml",
    "s": "0.00009 MB"
  }
jakkos··on ADHD drug treatment and risk of negative events and outcomes
My "personal hypothesis" is that the ADHD/Autism/OCD are fundamentally related somehow. The comorbidity between them is much higher than general population incidence, there's large symptom overlap, on a personal level I've found that I relate to and get on along much better with people who have at least one of those conditions, and a good 2/3rds of the people I consider close friends do.
jakkos··on Simulator of the life of a 30-year-old in the UK
27% of Brits think it's acceptable to make jokes about trans people if you aren't trans yourself: https://yougov.co.uk/topics/entertainment/trackers/do-brits-...
jakkos··on ADHD drug treatment and risk of negative events and outcomes
> It seems more like a horoscope to me - everyone can find themselves in the criteria. It’s an observable thing, I’m just not sure I buy its special distinction

Do you think the same about conditions like Autism or OCD?

People often say they "are a little bit" OCD or autistic, but it's the degree to which those traits are experienced which is the differentiation. There is also no objective test, it's all "soft" science.

> People also used to make the claim that the stimulant drugs had special effects (or even opposite effects) on those with ADHD vs. the non ADHD population

This is my experience, but I understand that anecdotes aren't good evidence.

jakkos··on ADHD drug treatment and risk of negative events and outcomes
> a loose umbrella for what are actually disparate problems

For me, the DSM-V & DIVA criteria are eerily accurate. I was diagnosed as an adult and it felt like a cruel cosmic joke reading through the psychiatrist report and realizing that most of my past and present issues were repeatedly-documented commonalities of a single condition. It was as if my life had just been playing out from a predetermined script.

I fully agree that that many distinct conditions are incorrectly swept under the "ADHD umbrella", but ADHD is not in any way a "loose" description of me.

> more helpful than the stimulants

My currently prescribed stimulants have been the only thing to ever make me feel consistently "okay", after having previously given up on medications ever helping. I'm sure they also enable me to write a few more lines of code per day, but I'd still be taking them even if they made me significantly worse at doing so.

jakkos··on ADHD drug treatment and risk of negative events and outcomes
> ADHD is kind of a weakly differentiated diagnosis that could apply to most people

I don't think this hypothesis would survive a look through the literature on google scholar. ADHD is associated with huge increases in risks of suicide, substance abuse, homelessness, accidents, crime, autoimmune disease, etc etc etc. It's not just "damn I find it hard to focus sometimes".

jakkos··on Journaling using Nix, Vim and coreutils
I've gone full NixOS on my laptop and my gaming/homeserver desktop. I love it (even if there are parts I hate) and will never move to anything "less declarative". 100% no regrets.

However, I only recommend it with the caveat that the practical benefits are not worth the time invested and it's only worth it as a fun hobby. I think an immutable desktop like Silverblue/Bazzite is really the sweet spot.

Nix (non-OS) as a way to define dev environments though? Incredible, would recommend it in a heartbeat. Opening a project and knowing you are going to have the exact versions of all dependencies you need is so refreshing, or seeing that a public git repo has a `flake.nix` and being able to `nix run <url>` and download/build the project in one command is truly magic.

jakkos··on Show HN: Use Their ID – Use your local UK MP’s ID for the Online Safety Act
It's a matter of time before the online safety act leads to horrendous data breaches. Once it's normalized to have to show your id to visit sites, any website will be able to pretend it's using a third party verification service but just save your id and sell the data on what you were doing.

The blackmail trade will be incredibly lucrative.

jakkos··on Beyond Meat fights for survival
Same way that I disagree with shooting people, but I can enjoy doing so in video games
jakkos··on Beyond Meat fights for survival
This is only true if you buy the chilled branded stuff, most of the big supermarkets sell generic soy, oat, almond, coconut for £1/litre
jakkos··on Debunking HDR [video]
> Manufacturers want to keep the sales boom that large cheap TVs brought when we moved away from CRTs. That was probably a “golden age” for screen makers.

IMO the difference between LCD and OLED is massive and "worth buying a new tv" over.

I've never tried doing an 8-bit vs 10-bit-per-color "blind" test, but I think I'd be able to see it?

> What really cheeses me on things like this is that TV and monitor manufacturers seem to gate the “blacker blacks” and “whiter whites” behind HDR modes and disable those features for SDR content. That is indefensible.

This 100%. The hackery I have to regularly perform just to get my "HDR" TV to show an 8-bit-per-color "SDR" signal with it's full range of brightness is maddening.

jakkos··on Rust compiler performance
You can: https://github.com/mozilla/sccache
jakkos··on Rust compiler performance
Not that this isn't a problem, it is, target folders currently take up ~100gb on my machine but...

I'd still, by far, prefer a tiny incremental compile speed increase over a substantial storage reduction. I can get a bigger SSD, I can't get my time back :'(

jakkos··on Show HN: Ephe – A minimalist open-source Markdown paper for today
I actually use the fact newline is a pseudo-character pretty often (e.g t-return-d to "delete till newline"). I have the opposite issue where I use Helix most of the time, but sometimes have to compromise with rebinding a "vim mode" and little things like esc-i causing the cursor to move 1 character left drive me up the wall.
jakkos··on Particle Life simulation in browser using WebGPU
> what's the difference between WebGPU, and WebGL

WebGL has a bunch of limitations, but a big one is that you can only use the gpu to move around triangles vertices (vertex shader) and color them in (pixel shader).

If you want to do something like that cool water simulation you have to do some painful hackery to pretend all your data is actually vertices or colors in a texture. Even with hackery, there's still lots of things you simply can't do.

WebGPU supports compute shaders which let you read and write whatever data you want.

jakkos··on Roto: A Compiled Scripting Language for Rust
Funnily enough, I had no idea what "BGP" meant until I saw "Border Gateway Protocol" and then remembered "oh yeah the router thing".

I did a networking course in school, and haven't touched it since.

jakkos··on Koto Programming Language
I really like the idea of rust-script but last time I looked there didn't seem to be a good way to get rust-analyzer to work when writing a script. Maybe I'm a little too reliant on LSPs but I find writing Rust painful without it, has the situation improved at all since?
jakkos··on Koto Programming Language
Would you be able to share examples of these "shot down proposals"?

I personally haven't found Rust that difficult to prototype in, when I need to I just liberally use clone/Arc/RefCell.

I see the main benefit of these scripting languages as being able to write/run code at runtime, e.g. live coding music or mods for video games.

jakkos··on Spotify Shuts Down ‘Unwrapped’ Artist Royalty Calculator with Legal Threats
> I was _very_ turned off to YT Music matching songs in my library with random audio tracks from YT videos. Perhaps they no longer do this

I was also mega turned off by this... initially. At some point it stopped happening to me unintentionally and now it only really happens if I start playing from a YouTube video (which is actually quite help for some obscure songs/remixes). You can also turn off this functionality all together in the settings.

> a true "music locker" service where you could upload songs from your library, no matter the source, and play them anywhere

You can upload your own music and then stream it from any device on YouTube Music now

jakkos··on Spotify Shuts Down ‘Unwrapped’ Artist Royalty Calculator with Legal Threats
I switched to YouTube Music from Spotify years ago, but have friends who refuse to switch, my understanding is:

- The YTM UI just feels worse than Spotify

- YTM has no official desktop app

- Moving all your liked songs and playlists over is annoying

- The whole shutting down Google Play Music just to release Youtube Music did a lot of damage to their "brand mindshare"

- People think it just means watching music videos on YouTube

- Everyone they know uses Spotify and they like seeing what their friends are listening to and it's easier to share links to songs within platform

jakkos··on Ghostty 1.0
> WezTerm (insane config format, config has no business using a full fledged programming language)

Insanely good ;)

Being able to quickly script minor functionality into my terminal emulator is my favorite thing about WezTerm

jakkos··on Why shouldn't you give money to homeless people?
> If you were dying I’d probably let you die and would be happy about it.

This is an insane, sociopathic thing to say in a reasonably civil internet discussion.

> Another dark truth. I think a lot of people are like me.

I think there are far fewer than you believe.

jakkos··on Why Gov.uk's Exit this Page component doesn't use the Escape key
I knew a person who was in abusive relationships where the abuser would keep making ridiculous claims that the person was cheating on them, and made them give up having their own phone as "proof" that they wouldn't cheat.

Of course, the abuser was cheating the whole time.

jakkos··on Canvas is a new way to write and code with ChatGPT
> Try to own them like farm animals.

Jesus christ, I hope you are never in a position of any significant power

jakkos··on Gitlab confirms it's removed Suyu, a fork of Nintendo Switch emulator Yuzu
> How is this a threat to their business?

One reason is that playing the emulated version is a better experience. Why would you play Breath of the Wild at 900p/30fps, when you can play it at 4k/60fps AND have all the customizability of running it on a PC.

Emulators illustrate that Nintendo forces you to buy an outdated tablet to play an intentionally hamstrung version of their game, so that once you are bought in to the hardware, you are more likely to buy more of their games.

← PreviousPage 2 of 4Next →