News for hackers. Stuff that matters.
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by rigid on Tuesday May 28, 2024 @03:36AM (#40498352)
https://textualize.io for python isn't bad either. (In case you don't like static builds like me.)
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by pdimitar on Tuesday May 28, 2024 @05:51AM (#40499066)
OK, that is going straight to my "random statement of the day" collection:

"I don't like static builds"

~ rigid@HN

--

Some things really catch me off-guard.

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by withinboredom on Tuesday May 28, 2024 @08:12AM (#40499911)
For people with super-custom kernels, static builds might use a custom syscall thinking its a syscall for a newer kernel. Further, it might not support their kernel version (libc-to-syscall mismatch).

Then there's the fact that I might have compiled libraries with certain options that a static compilation won't get, ever (such as native CPU instructions or other optimizations).

Even worse, static builds mostly use musl as the libc implementation, for which there are many issues (DNS issues, the fact that most openssl library tests don't pass and are disabled). I wouldn't trust musl/alpine/et al in production for "serious" things.

Static builds are __convenient__, but they shouldn't be the default.

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by rigid on Tuesday May 28, 2024 @05:21PM (#40505740)
They suck to maintain.

I love the fact that you can just update one single openssl lib and all installed apps use the updated version after a restart.

Static builds have their legitimate use-cases so maybe change that to "mandatory static builds". (iirc go support for dynamic linking is worked on and will become stable eventually)

Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by kbd on Tuesday May 28, 2024 @12:18PM (#40502373)
More than "not bad", Textual is probably best in class for TUIs atm, but I wish Python had static builds! Even Javascript can build executables now with Bun!
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by oefrha on Tuesday May 28, 2024 @12:31PM (#40502540)
JS executables with deno or bun aren’t terribly different from pyinstaller executables. Of course they’ve been made more convenient by being bundled with the toolchains.
Re:Dlvhdr/gh-dash: A beautiful CLI dashboard for GitHub by rigid on Tuesday May 28, 2024 @05:26PM (#40505786)
> I wish Python had static builds!

while unusual in the "python world", there are more or less well supported ways: https://www.askpython.com/python/examples/compiling-applicat...

i'm sure go will support dynamic linking aswell sooner or later