frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

"Compiled" Specs

https://deepclause.substack.com/p/compiled-specs
1•schmuhblaster•5m ago•0 comments

The Next Big Language (2007) by Steve Yegge

https://steve-yegge.blogspot.com/2007/02/next-big-language.html?2026
1•cryptoz•6m ago•0 comments

Open-Weight Models Are Getting Serious: GLM 4.7 vs. MiniMax M2.1

https://blog.kilo.ai/p/open-weight-models-are-getting-serious
3•ms7892•16m ago•0 comments

Using AI for Code Reviews: What Works, What Doesn't, and Why

https://entelligence.ai/blogs/entelligence-ai-in-cli
3•Arindam1729•16m ago•0 comments

Show HN: Solnix – an early-stage experimental programming language

https://www.solnix-lang.org/
2•maheshbhatiya•16m ago•0 comments

DoNotNotify is now Open Source

https://donotnotify.com/opensource.html
4•awaaz•18m ago•1 comments

The British Empire's Brothels

https://www.historytoday.com/archive/feature/british-empires-brothels
2•pepys•18m ago•0 comments

What rare disease AI teaches us about longitudinal health

https://myaether.live/blog/what-rare-disease-ai-teaches-us-about-longitudinal-health
2•takmak007•23m ago•0 comments

The Brand Savior Complex and the New Age of Self Censorship

https://thesocialjuice.substack.com/p/the-brand-savior-complex-and-the
2•jaskaransainiz•25m ago•0 comments

Show HN: A Prompting Framework for Non-Vibe-Coders

https://github.com/No3371/projex
2•3371•26m ago•0 comments

Kilroy is a local-first "software factory" CLI

https://github.com/danshapiro/kilroy
2•ukuina•36m ago•0 comments

Mathscapes – Jan 2026 [pdf]

https://momath.org/wp-content/uploads/2026/02/1.-Mathscapes-January-2026-with-Solution.pdf
1•vismit2000•38m ago•0 comments

80386 Barrel Shifter

https://nand2mario.github.io/posts/2026/80386_barrel_shifter/
2•jamesbowman•38m ago•0 comments

Training Foundation Models Directly on Human Brain Data

https://arxiv.org/abs/2601.12053
1•helloplanets•39m ago•0 comments

Web Speech API on HN Threads

https://toulas.ch/projects/hn-readaloud/
1•etoulas•41m ago•0 comments

ArtisanForge: Learn Laravel through a gamified RPG adventure – 100% free

https://artisanforge.online/
2•grazulex•42m ago•1 comments

Your phone edits all your photos with AI – is it changing your view of reality?

https://www.bbc.com/future/article/20260203-the-ai-that-quietly-edits-all-of-your-photos
1•breve•43m ago•0 comments

DStack, a small Bash tool for managing Docker Compose projects

https://github.com/KyanJeuring/dstack
2•kppjeuring•44m ago•1 comments

Hop – Fast SSH connection manager with TUI dashboard

https://github.com/danmartuszewski/hop
1•danmartuszewski•44m ago•1 comments

Turning books to courses using AI

https://www.book2course.org/
6•syukursyakir•46m ago•3 comments

Top #1 AI Video Agent: Free All in One AI Video and Image Agent by Vidzoo AI

https://vidzoo.ai
2•Evan233•46m ago•1 comments

Ask HN: How would you design an LLM-unfriendly language?

1•sph•48m ago•0 comments

Show HN: MuxPod – A mobile tmux client for monitoring AI agents on the go

https://github.com/moezakura/mux-pod
1•moezakura•48m ago•0 comments

March for Billionaires

https://marchforbillionaires.org/
1•gscott•48m ago•0 comments

Turn Claude Code/OpenClaw into Your Local Lovart – AI Design MCP Server

https://github.com/jau123/MeiGen-Art
1•jaujaujau•49m ago•0 comments

An Nginx Engineer Took over AI's Benchmark Tool

https://github.com/hongzhidao/jsbench/tree/main/docs
1•zhidao9•51m ago•0 comments

Use fn-keys as fn-keys for chosen apps in OS X

https://www.balanci.ng/tools/karabiner-function-key-generator.html
1•thelollies•52m ago•1 comments

Sir/SIEN: A communication protocol for production outages

https://getsimul.com/blog/communicate-outage-to-ceo
1•pingananth•53m ago•1 comments

Show HN: OpenCode for Meetings

https://getscripta.app
2•whitemyrat•54m ago•1 comments

The chaos in the US is affecting open source software and its developers

https://www.osnews.com/story/144348/the-chaos-in-the-us-is-affecting-open-source-software-and-its...
2•pjmlp•55m ago•0 comments
Open in hackernews

Ultimate-Linux: Userspace for Linux in Pure JavaScript

https://github.com/popovicu/ultimate-linux
102•radeeyate•1mo ago

Comments

kalterdev•1mo ago
It’s never early to prepare for JavaScript complete takeover.
MobiusHorizons•1mo ago
Very cool. Good use of quickjs, although it would have been cool if it somehow didn’t need a libc and just used the syscall interface. Makes me want to give that a try.
tzury•1mo ago
Check out this:

https://bellard.org/jslinux/vm.html?url=alpine-x86.cfg&mem=1...

and

https://bellard.org/jslinux/

By the famous Fabrice Bellard who is the creator of QuickJS, QEMU, FFMPEG and many other brilliant and fascinating tools!

https://bellard.org/

mod50ack•1mo ago
These things are essentially the opposite of one another. Bellard's project is a PC emulator in JavaScript. Compiling things to wasm is pretty trivial now, but jslinux was much more impressive when it came out. It actually still is, for reasons you can see in the technical notes: https://bellard.org/jslinux/tech.html

This project, on the other hand, is the opposite (and kind of a joke): a set of Linux utilities mostly written in JavaScript.

supermdguy•1mo ago
Reading the code, I was surprised to see that cd was implemented by calling out to the os library. I assumed that was something the shell or at least userspace handled. At what level does the concept of a “current directory” exist?
semiquaver•1mo ago
Unix defines a Working Directory that every process has, changed with chdir(2): https://man7.org/linux/man-pages/man2/chdir.2.html
mort96•1mo ago
This doesn't technically answer the question: POSIX doesn't concern itself with the kernel interface, only with the libc. Most POSIX systems have a kernel with a syscall interface that mirrors the libc API so that these libc functions are just syscall wrappers, but nothing technically prevents the current working directory to be a purely userspace concept maintained by the libc where all relative paths passed to filesystem functions are translated into absolute paths by the libc function before being passed to the kernel via syscall.

But yes, in the BSDs, Linux and Windows, the kernel has a concept of a current working directory.

mort96•1mo ago
Is this getting downvoted only because I referred to POSIX rather than UNIX? I'm more familiar with POSIX, but I'm 99% sure the UNIX standard also doesn't say anything about the kernel interface...
lukeh•1mo ago
In the kernel’s process structure. See NOTES - https://man7.org/linux/man-pages/man2/chdir.2.html
creatonez•1mo ago
It's at the kernel level. Each process has its own current working directory. On Linux, these CWD values are exposed at `/proc/[...]/cwd`. This value affects the resolution of relative paths in filesystem operations at a syscall level.
hnlmorg•1mo ago
It’s also generally a shell builtin. Though you do find an executable called cd too for compatibility reasons.
mattstir•1mo ago
Yeah, it's typically a shell built-in since you'd want cd to change the cwd for the shell process itself. Child processes (like commands being executed in the shell) can inherit the parent shell's cwd but AFAIK the opposite isn't true.
jasomill•1mo ago
Interesting. I've been using Unix systems for 30 years and never noticed this.

On my Fedora system, /usr/bin/cd is just a shell script that invokes the shell builtin:

  #!/usr/bin/sh
  builtin cd "$@"
I suppose it could be useful for testing whether a directory exists with search permissions for the current user safely in a multithreaded program that relies on the current directory remaining constant.
creatonez•1mo ago
Wait, how did the `cd` executable used to work in old Unix? Did it instruct the kernel to reassign the CWD of the parent process?
hnlmorg•1mo ago
The original UNIX shell (Thompson Shell) had chdir as a builtin, so I’d wager it’s always been a builtin.

https://en.wikipedia.org/wiki/Thompson_shell

pointlessone•1mo ago
We’re roughly on schedule. https://www.destroyallsoftware.com/talks/the-birth-and-death...
icpmoles•1mo ago
Slightly late according to other predictions

https://xkcd.com/1508/

nxobject•1mo ago
Kernighan and Ritchie wept. (Tears of joy at an awesome hack, or tears of sadness at an awesome hack?)
mos87•1mo ago
A very timely endeavor indeed https://devblogs.microsoft.com/typescript/typescript-native-...
IshKebab•1mo ago
That's about the Typescript compiler performance, not runtime. And this project doesn't even use Typescript does it?
rkeene2•1mo ago
I did something similar with TCL, the basis was using an extension I wrote to handle the UNIX stuff [0]. It operated an On-Premises cloud environment appliance, and `init` was just a TCL script (at one point it was a statically linked binary with the init script embedded, but that turned out to be overkill)

[0] https://chiselapp.com/user/rkeene/repository/tuapi/doc/trunk...

goodpoint•1mo ago
urgh
darkreader•1mo ago
strange motivation and implementation. I mean it real. There are many existing open source projects that run Linux on JS.
andai•1mo ago
See also this post by the author:

Making a micro Linux distro [for RISC-V]

https://popovicu.com/posts/making-a-micro-linux-distro/

hxbdbehd•1mo ago
Many comments here seem to miss the point: this is not running the Linux Kernel in JavaScript

This is the Linux Userland reimplemented in JavaScript

zsoltkacsandi•1mo ago
> tiny project for building a tiny Linux distribution

I am working something similar in Go, and writing an educative blog post series about it: https://serversfor.dev/linux-inside-out/

lioeters•1mo ago
I'm enjoying the articles! I went through the exercise and it was my first time running my own executable on PID 1. That was fun and educational.
anthk•1mo ago
I remember some core Unix utilities reimplemented in Perl, mainly done for Win32 systems back in the day. OFC the performance coudn't compete with the ones written in C, but it was good enough.
stevekemp•1mo ago
You're thinking of the Perl Power Tools:

https://github.com/briandfoy/PerlPowerTools

I guess there are related projects such as busybox which contain a collection of utilities implemented in a single binary. There are others such as toybox, and various alternatives in different languages, or with different licenses to choose from.