News for hackers. Stuff that matters.

epogrebnyak

Re:Notes on Mathematics for Engineers (1959) [pdf] on Sunday November 15, 2026 @03:49PM (#50510581)
Maybe he trying looking at cache like some flow problem... Perhaps useful for the cache size, not the misses, it seems
Re:Cartoon Network Flash Games on Saturday May 09, 2026 @05:02AM (#48073345)
Really wish [Miguzi Splashback](https://www.gamezhero.com/games/miguzisplashback) was there too! The game used to be posted elewhere but not I cannot find a working version.
Re:Three Inverse Laws of AI on Wednesday May 06, 2026 @02:34AM (#48032993)
Does this make any problem that two of the three laws are formulated as negation - not to do something? If not antropomorphising then what, without 'not'? I like third law formation better because there is no 'not'.
Re:Monad Tutorials Timeline on Friday May 01, 2026 @12:19PM (#47976548)
Some tutorials seem to predate introduction of monad itself, it seemed... )
Ahhh I get it the moment I asked, there are usually no votes on comments
Wonder why median votes count is 0, seems every post is getting at least a few votes - maybe this was not the case in the past
Re:Ask HN: What Are You Working On? (March 2026) on Monday March 09, 2026 @10:37AM (#47309717)
I just released an update to a command line utility that inspects PATH environment variable. It's in Python, switched to uv from poetry, added new color scheme with rich and made some change to the logic how symlinks are processed.

https://github.com/epogrebnyak/justpath

Also wrote a small clone in Rust, just to try the language: https://github.com/epogrebnyak/justpath.rs

So far Python is easier for me, but I transferred some code organisation ideas from Rust to Python.

Extra benefit of Rust is that you can get a runnable binary, in Python, well there is a lot you are installing even for a simple utility.

Someone made a PR on brew installer for the Python utility, but it seems fully claude code and I'm not sure it is the best way to package brew.

Re:Minimal Accounting Library in Python on Saturday October 26, 2024 @02:17PM (#41956622)
The core of the library in under 350 lines of code, and it enables to create a chart of accounts, open a ledger, and post entries to ledger, as well as to close ledger properly at accounting period end.

The resulting reports are income statment and balance sheet. Trial balance can be shown at any time.

Best effort made to document library usage in an end-to-end example in README - needs just Chart, Book and Entry classes to perform. List of simplifications and assumptions used also in README.

Re:MLMY: Machine Learning My Way – A List of Topics on Friday March 29, 2024 @03:31PM (#39868064)
I was reviewing my previous work - a website called Econometrics Navigator that provides some links to open source textbooks and blogs and felt I wanted to put together a list of topics in econometrics, machine learning and deep learning in a perspective. Can think of it as a review checklist or perhaps a (self) study guide. So far nothing beyond the titles, but will appreciate the comment on structure, additions or changes.
Re:Justpath to explore PATH environment variable quickly on Tuesday February 27, 2024 @03:43PM (#39529622)
Thanks for explaining, looks very clever. Is this syntax part of bash?
Re:Justpath to explore PATH environment variable quickly on Tuesday February 27, 2024 @05:09AM (#39522290)
Actually funny enough does not do that - cool possible feature

Should it be `justpath --contains .`?

Opened issue here: https://github.com/epogrebnyak/justpath/issues/10

Re:Justpath to explore PATH environment variable quickly on Monday February 26, 2024 @02:14PM (#39515626)
How does (N[-1]) get resolved?
Re:Justpath to explore PATH environment variable quickly on Monday February 26, 2024 @02:09PM (#39515569)
For me the use case was trying to understand what directories should I clean from path and if there where duplicates. Just something to help understand if my PATH on Windows was repetitive or not.
Re:Justpath to explore PATH environment variable quickly on Monday February 26, 2024 @02:07PM (#39515532)
Thanks! Indeed an itch that was both on Linux and Windows - so a tool that I could use in either environment