frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: Chawan TUI web browser

https://chawan.net/news/chawan-0-2-0.html
44•shiomiru•48m ago•3 comments

Show HN: Canine – A Heroku alternative built on Kubernetes

https://github.com/czhu12/canine
97•czhu12•3h ago•37 comments

Snorting the AGI with Claude Code

https://kadekillary.work/blog/#2025-06-16-snorting-the-agi-with-claude-code
38•beigebrucewayne•10h ago•0 comments

Benzene at 200

https://www.chemistryworld.com/opinion/benzene-at-200/4021504.article
149•Brajeshwar•6h ago•84 comments

Retrobootstrapping Rust for some reason

https://graydon2.dreamwidth.org/317484.html
42•romac•1h ago•8 comments

Breaking Quadratic Barriers: A Non-Attention LLM for Ultra-Long Context Horizons

https://arxiv.org/abs/2506.01963
23•PaulHoule•2h ago•9 comments

Blaze (YC S24) Is Hiring

https://www.ycombinator.com/companies/blaze-2/jobs/dzNmNuw-junior-software-engineer
1•faiyamrahman•36m ago

Working on databases from prison

https://turso.tech/blog/working-on-databases-from-prison
608•dvektor•9h ago•392 comments

OpenTelemetry for Go: Measuring overhead costs

https://coroot.com/blog/opentelemetry-for-go-measuring-the-overhead/
63•openWrangler•6h ago•30 comments

Open-Source RISC-V: Energy Efficiency of Superscalar, Out-of-Order Execution

https://arxiv.org/abs/2505.24363
34•PaulHoule•4h ago•10 comments

Show HN: Zeekstd – Rust Implementation of the ZSTD Seekable Format

https://github.com/rorosen/zeekstd
156•rorosen•1d ago•28 comments

ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development

https://arxiv.org/abs/2506.11016
55•lelanthran•6h ago•38 comments

Show HN: Nexus.js - Fabric.js for 3D

https://punk.cam/lab/nexus
15•ges•1h ago•4 comments

Transparent peer review to be extended to all of Nature's research papers

https://www.nature.com/articles/d41586-025-01880-9
78•rntn•2h ago•21 comments

Nanonets-OCR-s – OCR model that transforms documents into structured markdown

https://huggingface.co/nanonets/Nanonets-OCR-s
252•PixelPanda•15h ago•58 comments

Show HN: dk – A script runner and cross-compiler, written in OCaml

https://diskuv.com/dk/help/latest/
43•beckford•6h ago•4 comments

Adding public transport data to Transitous

https://www.volkerkrause.eu/2025/06/14/transitous-adding-data.html
35•todsacerdoti•2d ago•0 comments

Is gravity just entropy rising? Long-shot idea gets another look

https://www.quantamagazine.org/is-gravity-just-entropy-rising-long-shot-idea-gets-another-look-20250613/
232•pseudolus•21h ago•201 comments

The Renegade Richard Foreman

https://yalereview.org/article/jennifer-krasinski-richard-foreman
11•prismatic•5h ago•5 comments

Darklang Goes Open Source

https://blog.darklang.com/darklang-goes-open-source/
128•stachudotnet•5h ago•56 comments

Start your own Internet Resiliency Club

https://bowshock.nl/irc/
498•todsacerdoti•13h ago•275 comments

Why SSL was renamed to TLS in late 90s (2014)

https://tim.dierks.org/2014/05/security-standards-and-name-changes-in.html
484•Bogdanp•1d ago•217 comments

The Members of the Dull Men's Club

https://www.theguardian.com/society/2025/jun/09/meet-the-members-of-the-dull-mens-club-some-of-them-would-bore-the-ears-off-you
52•herbertl•3h ago•21 comments

Getting free internet on a cruise, saving $170

https://angad.me/blog/2025/getting-free-cruise-internet/
118•humanperhaps•3h ago•167 comments

Maya Blue: Unlocking the Mysteries of an Ancient Pigment

https://www.mexicolore.co.uk/maya/home/maya-blue-unlocking-the-mysteries-of-an-ancient-pigment
61•DanielKehoe•2d ago•16 comments

WhatsApp introduces ads in its app

https://www.nytimes.com/2025/06/16/technology/whatsapp-ads.html
121•greenburger•7h ago•184 comments

Occurences of swearing in the Linux kernel source code over time

https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,damn*,idiot*,retard*,crap*
121•microsoftedging•2d ago•202 comments

Object personification in autism: This paper will be sad if you don't read (2018)

https://pubmed.ncbi.nlm.nih.gov/30101594/
82•oliverkwebb•6h ago•78 comments

Quantum mechanics provide truly random numbers on demand

https://phys.org/news/2025-06-quantum-mechanics-random-demand.html
24•bookofjoe•2d ago•46 comments

Scientists genetically engineer a lethal mosquito STD to combat malaria

https://newatlas.com/biology/genetically-engineered-lethal-mosquito-std-combat-malaria/
33•burnt-resistor•3h ago•25 comments
Open in hackernews

Show HN: dk – A script runner and cross-compiler, written in OCaml

https://diskuv.com/dk/help/latest/
43•beckford•6h ago
I've always found it cool to be in roles where I can help a younger generation learn skills to have a bright future. That role is something I do in a few ways (as a parent, robotics mentor, school board advisor and Sunday school teacher) and I suspect most HN readers share the same role and appreciation. And for developing software skills, it was obvious that both the students and I had to have a productive software environment where we could work together. That theme of experienced/inexperienced engineers working together is the context in which I created `dk` as a scripting tool.

My testing ground has been students with one or two AP CS courses (high school computer science in the US), some of whom interned with me. I had to tackle a few problems:

- The development environment had to be simple to setup and the programming language couldn't be complicated - The recognition that writing small, easily testable units of work (ex. "scripts") has been the only way I've found for very junior programmers to develop a large application - Cheap, locked-down development hardware (ex. school computers with limited RAM and no Administrator privileges) is sometimes used for deployment to cheap hardware targets (ex. hand-me-down Android tablets)

My solution was to write a standalone binary called `dk` that uses scripts as the atom of work, cross-compiles to standalone executables, and downloads the runtimes and sysroots it needs on-demand. It sits roughly in the same space as Python and Go.

`dk` is available for Windows, macOS and Linux/glibc host machines with a growing list of cross-compilation targets. Your `dk` scripts are written in an almost complete subset of OCaml 4: all `dk` scripts are OCaml, but not all OCaml code can run in `dk`. The other differences from conventional OCaml are that `dk` comes with a large library included, and that I treat any feature as buggy if the feature does not work on all supported OS-es.

The above origin of `dk` is admittedly odd (and abbreviated), so I was not expecting that `dk` would now be a general-purpose scripting tool. Yet it is. I can wrap, re-use and organize most of my hand-written software as a set of `dk` scripts.

Fair warning: The cross-compilation support in `dk` has had a recent overhaul and not every bug is closed. The error messages suck (you have to scroll up to see the root cause and resolution) but they will improve. Some progress bars are missing. There are also a few experimental features ... `uv`-style imports and an interactive interpreter are the big ones ... which are purposely under-documented because I am worried about `dk`'s API surface.

But it still works well, and you can see some real applications in the Examples section. I'd love if you could give it a kick in the tires and give `dk` some feedback! The issue list is at <https://github.com/diskuv/dk/issues>.

Comments

tempodox•5h ago
I wouldn't associate having to use `Lwt_main.run` with “a limited background in programming”, but maybe that's just me.
beckford•5h ago
I usually structure teaching the same way done in https://www.writethedocs.org/videos/eu/2017/the-four-kinds-o.... So "the Quick Walkthrough Guide will explain what dk scripts are and give you small examples to run" is simply a learning-oriented tutorial which is mostly about giving students confidence and visual feedback. And simultaneously it an explanation of nothing (the video has a great explanation for why to do that). So, I agree that an explanation of threads + Internet + cross-compilation would quite nuts, but for an experienced developer I'd expect to see a meaty example (take a look at https://ziglang.org/ for comparison).

One concrete action may be to make two distinct Quick Start guides ... one for the experienced and one for the inexperienced students though. Is that your thinking?

filoleg•1h ago
You are totally fine, the grandparent comment is just either needlessly nitpicking (“great is the enemy of the perfect”) or misunderstanding what the tool is supposed to be used for.

P.S. Your idea of having two distinct quick start guides (one that goes into the meaty details and another one that is just “run this command and you are good to go”) is great. But imo it is not necessary/crucial, and not having it doesn’t detract from the value proposition of your tool at all either.

rfl890•1h ago
I'm very confused at first glance. What are "coder scripts"? Why is "std" repeated 3 times in "dk StdStd_Std.Run"? What on earth is "Tr1Stdlib_V414Io"? The entire tool comes off as arbitrary and confusing, at least to me. I would really quite appreciate a brief primer on the language and its design decisions, architecture and syntax. So far, I'm just having assorted bits of information thrown at me with no real structure.

(Note: I have never touched OCaml. Is this some weird OCaml thing?)