HNHacker News
TopNewBestAskShowJobs

HaoZeke

716 karma · joined November 9, 2014

[ my public key: https://keybase.io/haozeke; my proof: https://keybase.io/haozeke/sigs/Y9om1s-BzSlBCd6hmKRtV8EKf-y4M4U-0hiWUNq7YOY ]

Verifying my Blockstack ID is secured with the address 1N99cmSNnQHLbAuxBcCQqnSRNWZgwxgMc8 https://explorer.blockstack.org/address/1N99cmSNnQHLbAuxBcCQqnSRNWZgwxgMc8

[Verifying my OpenPGP key: openpgp4fpr:74b1f67d8e43a94a755407689ccce36402cb49a6]

Avid amateur security and linux enthusiast. Also into molecular simulations and Quantum Computing. More here: https://rgoswami.me

submissionscomments
HaoZeke··on Reproducible Python with Uv and Pixi
Wrong link, should specifically be https://pydissem.rgoswami.me/python_scripts.html
HaoZeke··on Ask HN: Share your personal website
https://rgoswami.me
HaoZeke··on Lowering resource usage with foot and systemd
Good point, however, window creation times aside, the official project org has some benchmarks (https://codeberg.org/dnkl/foot/src/branch/master/doc/benchma...) demonstrating speed-ups in most / all user metrics (a more nuanced discussion is on the performance page: https://codeberg.org/dnkl/foot/wiki/Performance)
HaoZeke··on Lowering resource usage with foot and systemd
OP here, I guess things have changed? AFAIK there was no pricing when I set it up... I just put the image with the link, certainly wouldn't pay for it :D

EDIT: So the payment is to have a little space on their own website, which they call a "project page" e.g. https://notbyai.fyi/hi/not-by-ai/

They suggest "linking to it for verification", but it really seems both unnecessary and optional

HaoZeke··on Lowering resource usage with foot and systemd
I think the concept of slow is relative here, for a no configuration start (from a fresh install) alacritty is slower by a factor of 4 https://news.ycombinator.com/item?id=40559084

However the absolute times are still probably not noticable unless you often cold-start terminals.

                     | Alacritty | Foot | Foot Client |
  Absolute time (ms) |    99.0   | 37.2 | 22.8        |
HaoZeke··on Lowering resource usage with foot and systemd
That's a valid point. It might be more about using the right tool for the task. For example, using tmux for persistent terminal windows can help. A setup where the main compilation terminal (subFloat) and smaller terminal instances for chat/irssi/nmpc (mS) run within a tmux session ensures persistence even if foot crashes (or is killed for applying configuration updates) as noted in the post ^_^
HaoZeke··on Lowering resource usage with foot and systemd
btop might be measuring the wrong thing here, but alacritty on my box shows 93M using the same interface. I remember benchmarking foot and alacritty (also kitty) pretty extensively a few years ago, and settled on foot.

Though of course, the memory usage on modern machines is really not a major issue, but the configuration update, along with the tmux session death was annoying..

EDIT: Some timing metrics..

  foot -s &
  hyperfine --warmup 8 'alacritty -e true' 'foot -e true' 'footclient -e true'
  Benchmark 1: alacritty -e true
    Time (mean ± σ):      99.0 ms ±  14.2 ms    [User: 58.5 ms, System: 33.4 ms]
    Range (min … max):    82.7 ms … 148.3 ms    32 runs

  Benchmark 2: foot -e true
    Time (mean ± σ):      37.2 ms ±   2.3 ms    [User: 40.3 ms, System: 9.5 ms]
    Range (min … max):    33.8 ms …  43.7 ms    83 runs

  Benchmark 3: footclient -e true
    Time (mean ± σ):      22.8 ms ±   4.3 ms    [User: 0.9 ms, System: 0.8 ms]
    Range (min … max):    18.2 ms …  63.6 ms    133 runs

  Summary
    footclient -e true ran
      1.63 ± 0.32 times faster than foot -e true
      4.35 ± 1.03 times faster than alacritty -e true
HaoZeke··on Lowering resource usage with foot and systemd
Yup, I switched a few years ago from i3 (X11) to sway (Wayland) and use it to replace urxvt.
HaoZeke··on x86 and x86_64 software optimization resources
I should point out that this has been posted [1], but not for the past half decade, long enough to need another PSA :)

[1] https://hn.algolia.com/?q=https%3A%2F%2Fagner.org%2Foptimize...

HaoZeke··on Hotdoc Documentation Framework
It is the framework used by meson which was how I came across it. It's different, for short API documentation the yaml structure probably works better.
HaoZeke··on R Project website and CRAN mirror are down
This is a major PITA. Also quite concerning for the entire R ecosystem. No packages can be installed or submitted, all CI runs will fail as a result.
HaoZeke··on Practical parsing with Flex and Bison (2021)
I have to say though, most compilers courses I've seen have an inordinate emphasis on parsing and little else. Still a great post.
HaoZeke··on Monte Carlo Long-Range Interacting System Simulations
Also the example cases they tested on (Ising model for LR, LJ for short range) are almost too trivial..
HaoZeke··on Modern, Responsive, GitHub Pages Eigen 3.4.x API Documentation
FWIW this was done very much to scratch the itch of the official documentation (at https://eigen.tuxfamily.org/dox/) being unavailable for some reason or the other far too often. Most recently noted here: https://www.tuxfamily.org/en/news/2023070900
HaoZeke··on Tell HN: Edge collects all search history, even on Google/DDG
Because Mozilla has proven time and again to be a false friend to the foss community. Look at thunderbird and xul, not to mention the fact that they basically ended up copying chromium..
HaoZeke··on How to Remember What You Read
I don't understand where advice like finishing the book is optional comes from. Anyone who's ever written anything of some length and gone through the publishing process with copy editors would recognize that stories are told in coherent pieces. If a book isn't meant to be finished it isn't meant to be read. Move on.
HaoZeke··on Why Can’t I Sleep?
That's true, I've heard of more people complaining about seasonal mood swings. It'd be interesting to read something in the "mainstream" which at least acknowledged people in "unnaturally lit" areas though.
HaoZeke··on Why Can’t I Sleep?
Yup, where I live as well. However it's fairly common to see people play outside at around 11pm during the summer which is what I meant. Additionally, from your comment, I wonder if you grew up there. There is of course a difference between moving to a country with "abnormal" lighting and growing up in one.

EDIT: Updated to elide personal information

HaoZeke··on Why Can’t I Sleep?
Every time I read these things I'm surprised at how one sided and narrow minded these are! People in the nordics have existed for centuries with periods of 24 hours of daylight. The concept of natural light and sleeping with the sun is excessively stupid.
HaoZeke··on Lima: Linux-on-Mac
+1000 for the tiling window manager comment! I can't stand the weird nightmare which is macos desktop management with spaces.

iCal is a big draw though, Linux calendars are terrible and since thunderbird choked and left xul Mailmate is attractive too.

HaoZeke··on Zellij – A Terminal Workspace and Multiplexer
This is fantastic! Love the customization. I think for this level of complexity YAML is fine. Are there any plans to incorporate the plug in system which tmux has through tpm?
HaoZeke··on Why My Blog Is Closed-Source
Yes. People do copy. You'd be lucky to even find attribution. This is one of the things which open source contributors need to make peace with. The way I look at it, the original grew out of my own experiences in my head and that can't be copied. As for manifestations... The more pretty / functional code and sites there are, the better!

A tip from over ten years of FOSS : never try to track your FOSS code, nothing good can possibly come of it

HaoZeke··on Arara: the cool TeX automation tool
Can't help but wonder what kind of edge cases necessitated this over the venerable latexmk
HaoZeke··on My Life in E-Ink
Yup, it will.
HaoZeke··on A Brief Visual Exploration of a Dictionary of Typography
Also the making of post is fascinating as well: https://www.c82.net/blog/?id=86
HaoZeke··on My Life in E-Ink
Post author here. I'd still recommend going over to the MobilRead forums; and picking up an older Kobo device (like the Aura HD ^_^). They don't even need any user registration (https://www.mobileread.com/forums/showthread.php?t=223155). There are full firmware dumps, and its super easy to modify. There are even some examples of running full blown Linux on them (https://www.mobileread.com/forums/showthread.php?t=220350). Plus you can bypass Nickel and stick to something really nice like Koreader for reading; or Plato or CoolReader.
HaoZeke··on Koo, India’s free-speech Twitter alternative
Why are all the comments here about Trump, Twitter and miscellaneous debris instead of the actual article?
HaoZeke··on Changes to LastPass Free
It actually restricts the number of items you can sync. It is much cheaper though. Actually; with the new model they do have a sort of ad based system; they have this incredibly dumb popup about how some passwords might be compromised. Oddly even after paying its impossible to kill that banner.
HaoZeke··on Changes to LastPass Free
I'm surprised Enpass doesn't get mentioned more. Though the UI recently took a huge hit because of an asinine pwned password checker.
HaoZeke··on Ask HN: Does Windows purposely degrade experience to coerce an update?
No I can concur. There's definitely something odd about this. I've actually booted up where I don't have network connectivity and it all works well; until it gets news of an update (after I connect to a network).
Page 1 of 5Next →