Better HN
topnewbestaskshowjobs
Log inSign up

gnyeki

349 karma · joined Jul 1, 2024 (2y ago) · 24 submissions

Data and code enthusiast.

https://blog.gabornyeki.com/

Submissions

1.

Pronouncing Things with Amazon's Polly (2018)(cuttlesoft.com ↗)

2 points · by gnyeki · 2mo ago · discuss

2.

PL Education in the Age of AI: Interview with Shriram Krishnamurthi(typetheoryforall.com ↗)

3 points · by gnyeki · 2mo ago · discuss

comment 2mo ago · link · parent

One advantage of Firefox's PDF reader is that it is sandboxed which a dedicated PDF reader typically isn't AFAIK.

4.

Offgrid Electric Car (2025)(joeyh.name ↗)

2 points · by gnyeki · 3mo ago · discuss

5.

NetBSD and my life (2005)(mail-index.netbsd.org ↗)

153 points · by gnyeki · 3mo ago · 51 comments

comment 3mo ago · link · parent

Djot is great, I wrote a web server that uses it natively.[0]

[0] https://github.com/gn0/nvim-web-server

7.

Your analytics are lying to you(ankursethi.com ↗)

2 points · by gnyeki · 4mo ago · discuss

8.

Agentic test processes, LLM benchmarks, and other notes from Galapagos Island(danluu.com ↗)

2 points · by gnyeki · 4mo ago · discuss

9.

SQLite should have (Rust-style) editions(mort.coffee ↗)

366 points · by gnyeki · 4mo ago · 172 comments

10.

Unsolved Problems in MLOps(spawn-queue.acm.org ↗)

52 points · by gnyeki · 4mo ago · 5 comments

11.

My Images Are Dithered(dead.garden ↗)

2 points · by gnyeki · 4mo ago · discuss

12.

One too many words on AT&T's $2k Korn shell and other Usenet topics(blog.gabornyeki.com ↗)

31 points · by gnyeki · 11mo ago · 3 comments

13.

Top-Down Microarchitecture Analysis Method(intel.com ↗)

2 points · by gnyeki · 1y ago · discuss

14.

Storing configuration directly in executable, with no external config (2023)(retrocomputing.stackexchange.com ↗)

1 points · by gnyeki · 1y ago · discuss

comment 1y ago · link · parent

Yes, neither Nginx nor Neovim should be hitting the disk when serving the requests.

One difference I can imagine is context switching due to system calls. If Nginx incurs a context switch when it calls into the kernel for the disk cache, then it suffers a performance penalty. Neovim avoids this because the file contents are loaded into a table. When requests are served, getting the content is done fully in userspace.

I have no idea if this actually accounts for the performance difference though.

16.

Hiding a message in my PyTorch weights(blog.gabornyeki.com ↗)

1 points · by gnyeki · 1y ago · discuss

17.

Borrow Checking, RC, GC, and the Eleven (!) Other Memory Safety Approaches(verdagon.dev ↗)

3 points · by gnyeki · 2y ago · 1 comment

18.

Linus and Dirk on succession, Rust, and more(lwn.net ↗)

5 points · by gnyeki · 2y ago · discuss

19.

Inside STL: The string (2023)(devblogs.microsoft.com ↗)

1 points · by gnyeki · 2y ago · discuss

20.

A Modern Compiler for the French Tax Code (2021)(arxiv.org ↗)

2 points · by gnyeki · 2y ago · discuss

comment 2y ago · link · parent

I'm glad you found it valuable! Both are good questions and I haven't gone far enough mapping the code to Elman's architecture to know the answer to the second.

For your first question, using three hidden layers makes it a little clearer what the network does. Each layer performs one step of the calculation. The first layer collects what is known from the current token and what we knew after the calculation for the previous token. The second layer decides whether the current token looks like program code, by checking if it satisfies the decision rule. The third layer compares the decision with what we decided for previous tokens.

I think that this could be compressed into a single hidden layer, too. A ReLU should be good enough at capturing non-linearities so this should work.

comment 2y ago · link · parent

This area is covered by non-parametric statistics more generally. There are many other methods to non-parametrically estimate functions (that satisfy some regularity conditions). Tree-based methods are one family of such methods, and the consensus still seems to be that they perform better than neural networks on tabular data. For example:

https://arxiv.org/abs/2106.03253

23.

My Python code is a neural network(blog.gabornyeki.com ↗)

331 points · by gnyeki · 2y ago · 67 comments