HN user

rofrol

141 karma
Posts4
Comments158
View on HN

App works great. Parkeeter TDT V3 not so much. I speak Polish and it detects Russian. Also there is no possibility to force language:

unfortuntately parakeet-v3 model doesn;t recieve or output language id https://github.com/NVIDIA-NeMo/Speech/issues/14799#issuecomm...

Also this:

If you are using Parakeet for English only then you should be using V2. V3 is for several languages and is worse at English only. https://news.ycombinator.com/item?id=48897908

How about this https://community.frame.work/t/palm-rejection/40069/23?page=...

For Linux libinput “Disable While Typing” (DWT) problems, this page claims libinput will only use the DWT setting if the keyboard and touchpad are either both identified as internal devices, or are both identified as the same device.

sudo nano /etc/libinput/local-overrides.quirks

[Framework Touchpad Fix] MatchName=* MatchUdevType=touchpad AttrKeyboardIntegration=internal

I have found this old comment:

* Battery life is a lie, especially since it drains almost as much battery closed as it does open.

...

Overall, I think I am probably going to switch back to a macbook after this, not being able to go a day without charging and your laptop always being on low battery is a bit anxiety inducing.

https://news.ycombinator.com/item?id=38206173

Mine roast:

- Spends so much time talking about Zig that even their keyboard autocorrects 'big' to 'zig' - Has probably spent more time configuring Nix than actually using the software installed with it - Could write a PhD thesis on build systems but still can't build a consistent sleep schedule

:D

kristoff wrote the same about performance

More generally, RAII is a feature that exists in tension with the approach of operating on items in batches, which is an essential technique when writing performance-oriented software.

And it doesn’t end here: operating in batches by using memory arenas, for example, is also a way to reduce memory ownership complexity, since you are turning orchestration of N lifetimes into 1.

In this video Casey Muratori describes how going from thinking about individual allocations to thinking in batches is a natural form of progression for a programmer.

Extremely popular talk on the advantages of looking at problems as data transformation pipelines, where Mike Acton shows how common approaches in C++ (RAII being one of them) are antithetical to the goal of creating performant code.

https://kristoff.it/blog/raii-rust-linux/

Maybe because I used nix, gentoo, exherbo, slackware etc.

Also drawbacks for me when using nix:

- I needed to greatly increase boot partiton, because nix stores there linux kernels. Whith dual-booting Windows, I created 2GB partiton at the end of disk. Thankfulluly Windows reused it.

- vscode was having strange laggines on nix.

- nix language is quite strange but also imo taught poorly. This was my attempt to demistify it https://github.com/rofrol/nix-for-javascript-developers.

btw. nice remark about nix beeing declarative but beneath is Linux not-declarative. It is like functional programming, but you still have some internal state of components that can clash with your functional top-down approach.

GUI you say. So I have upgraded ubuntu 20.04 to ubuntu 24.04:

`sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list`

https://askubuntu.com/questions/91815/how-to-install-softwar...

update /etc/environment

`GSK_RENDERER=gl`

and restart.

https://askubuntu.com/questions/1511575/ubuntu-24-04-screen-...

`echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT initcall_blacklist=simpledrm_platform_driver_init"' | sudo tee /etc/default/grub.d/99_disable_simpledrm.cfg && sudo update-grub`

https://askubuntu.com/questions/1509661/could-not-switch-the...

Zig Goals 2 years ago

ad.2 defer in go is function-scoped, but in zig block-scoped, so you can create block in zig to defer earlier?