frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: MBCompass – Android Compass App

https://github.com/MubarakNative/MBCompass
22•nativeforks•1h ago•2 comments

The Princeton INTERCAL Compiler's source code

https://esoteric.codes/blog/published-for-the-first-time-the-original-intercal72-compiler-code
45•surprisetalk•3h ago•6 comments

The Visual World of 'Samurai Jack'

https://animationobsessive.substack.com/p/the-visual-world-of-samurai-jack
231•ani_obsessive•7h ago•41 comments

Root shell on a credit card terminal

https://stefan-gloor.ch/yomani-hack
614•stgl•15h ago•177 comments

I made a chair

https://milofultz.com/2025-05-27-i-made-a-chair.html
73•surprisetalk•1d ago•25 comments

LibriVox

https://librivox.org/
119•bookofjoe•8h ago•32 comments

TPDE: A Fast Adaptable Compiler Back-End Framework

https://arxiv.org/abs/2505.22610
15•npalli•3h ago•3 comments

How Can AI Researchers Save Energy? By Going Backward

https://www.quantamagazine.org/how-can-ai-researchers-save-energy-by-going-backward-20250530/
17•pseudolus•2h ago•10 comments

Cinematography of “Andor”

https://www.pushing-pixels.org/2025/05/20/cinematography-of-andor-interview-with-christophe-nuyens.html
347•rcarmo•19h ago•331 comments

HeidiSQL Available Also for Linux

https://www.heidisql.com/forum.php?t=44068
54•Daril•3d ago•11 comments

LFSR CPU Running Forth

https://github.com/howerj/lfsr-vhdl
7•izabera•1h ago•0 comments

The Zach Attack Scratch 'N Solve Puzzle Pack

https://coincidence.games/zach-attack/
9•GauntletWizard•3d ago•0 comments

What works (and doesn't) selling formal methods

https://www.galois.com/articles/what-works-and-doesnt-selling-formal-methods
49•azhenley•3d ago•12 comments

Writing your own C++ standard library part 2

https://nibblestew.blogspot.com/2025/05/writing-your-own-c-standard-library.html
16•signa11•1d ago•9 comments

Nitrogen Triiodide (2016)

https://www.fourmilab.ch/documents/chemistry/NI3/
71•keepamovin•3d ago•38 comments

A new generation of Tailscale access controls

https://tailscale.com/blog/grants-ga
179•ingve•3d ago•48 comments

Estimating Logarithms

https://obrhubr.org/logarithm-estimation
74•surprisetalk•1d ago•18 comments

How Generative Engine Optimization (GEO) rewrites the rules of search

https://a16z.com/geo-over-seo/
45•eutropheon•2d ago•34 comments

Progressive JSON

https://overreacted.io/progressive-json/
478•kacesensitive•1d ago•198 comments

When Fine-Tuning Makes Sense: A Developer's Guide

https://getkiln.ai/blog/why_fine_tune_LLM_models_and_how_to_get_started
124•scosman•3d ago•48 comments

Show HN: Moon Phase Algorithms for C, Lua, Awk, JavaScript, etc.

https://github.com/oliverkwebb/moonphase
14•oliverkwebb•5h ago•5 comments

Atari Means Business with the Mega ST

https://www.goto10retro.com/p/atari-means-business-with-the-mega
141•rbanffy•18h ago•103 comments

How I like to install NixOS (declaratively)

https://michael.stapelberg.ch/posts/2025-06-01-nixos-installation-declarative/
126•secure•22h ago•119 comments

The Rise of Judgement over Technical Skill

https://notsocommonthoughts.com/blog/ai-and-judgement/
18•kohlhofer•8h ago•1 comments

Google AI Edge – On-device cross-platform AI deployment

https://ai.google.dev/edge
189•nreece•22h ago•36 comments

Making maps with noise functions (2022)

https://www.redblobgames.com/maps/terrain-from-noise/
27•benbreen•4d ago•2 comments

RenderFormer: Neural rendering of triangle meshes with global illumination

https://microsoft.github.io/renderformer/
251•klavinski•1d ago•50 comments

Show HN: Agno – A full-stack framework for building Multi-Agent Systems

https://github.com/agno-agi/agno
7•bediashpreet•3h ago•0 comments

M8.2 solar flare, Strong G4 geomagnetic storm watch

https://www.spaceweatherlive.com/en/news/view/581/20250531-m8-2-solar-flare-strong-g4-geomagnetic-storm-watch.html
176•sva_•12h ago•44 comments

Codex CLI is going native

https://github.com/openai/codex/discussions/1174
108•bundie•17h ago•97 comments
Open in hackernews

Using Ed(1) as My Static Site Generator

https://aartaka.me/this-post-is-ed.html
89•BoingBoomTschak•1d ago

Comments

BoingBoomTschak•1d ago
The quite cool journey of a hacker trying to find his favourite SSG itch scratching position.

What inspired me to post it is that I cobbled a fun HTML preprocessor using cpp to someone today: https://git.sr.ht/~q3cpma/html-cpp (I use a Common Lisp contraption for myself).

WD-42•1d ago
Fantastic. The Unix hackers are alive and well. Keep it real.
Rendello•1d ago
I did my resume in groff once, formatted like a man page. It didn't look half-bad either.
fiddlerwoaroof•1d ago
This is a great idea
DaSHacka•1d ago
100%, I'd love to see the template if GP ever makes a blog post about it
qartis•1d ago
I’m not GP but I also ported my resume from latex to groff a few years ago for fun: https://github.com/qartis/groff_resume/

I’m not experienced with groff so the code isn’t great but I was quite happy with the typesetting (and the compile times!)

Rendello•1d ago
I'll see if I can find it. I checked archive.org but it didn't save a copy (it saved the PDF version though, apparently that was good enough to save).

It wasn't the craziest resume I did. I applied for a company that made this UI tool for enterprises. It was a half-WHSIWYG, half-Lua tool. I downloaded the demo and spent a week building my resume as a UI, then sent it to the team. I got an interview with the top level guys and a team of programmers, and they excitedly asked me questions about how I made it and how I figured out certain features (like this image passthrough functionality that "none of their clients could figure out"). It was all very exciting but I wasn't ultimately hired (they were being acquired at the time, perhaps that had something to do with it). I have the video on the UI and the making of it, perhaps I'll post it one day once I anonymize the company's name in the video.

snackbroken•1d ago
> But then, ed is so simple and more or less standard

More or less? ED IS THE STANDARD TEXT EDITOR! [1]

[1] https://www.gnu.org/fun/jokes/ed-msg.html

01HNNWZ0MV43FF•1d ago
More? Less? Why are we talking about pagers? Who's on first?
fredoralive•1d ago
who on first? I don’t think you can use who as init.
Henchman21•1d ago
Not with that attitude!
staplung•1d ago
""" When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a “viitor”. Not a “emacsitor”. Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!! """
strogonoff•23h ago
> Of course, on the system I administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!
wtetzner•1d ago
> Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity.
adamors•1d ago
Was hoping to see this here, still makes me laugh after discovering it 20 years ago.
EuAndreh•16h ago
Besides being the stardand, it also has a standard:

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/e...

tincholio•15h ago
?
sgt•1d ago
I once used m4 to generate my blog. Worked like a charm!
smlavine•1d ago
I once used m4 to generate my blog. Hated it. Escaping was a nightmare and I was always afraid I'd quote something wrong.
PhilipRoman•1d ago
I use m4 with -P option and m4_changequote({{,}})

Personally I find it quite reasonable for code that you don't plan on changing any time soon.

kragen•1d ago
Those seem like they would make it bearable. Also GNU m4 has an extension to standard m4 which doesn't replace builtin macro names that take arguments if you omit the (). Without that, every unquoted occurrence of words like format, index, join, quote, builtin, define, copy, or capitalize silently vanishes. It's a nightmare. You can also avoid this problem with changeword or -P.
somat•1d ago
Oh man massive nostalgia hit.

When I was younger I was trying to learn the traditional unix tools, so I sat down with a copy of openbsd and made a wiki using only what was found in the base system, and perl was cheating. The templating engine was m4, web server in shell, page history in rcs, a really neat back reference system in awk(when you square linked to another page, it would put a link back in the backreference section of that other page, inspired by everything2) ...

Now I am trying to see if I have any of the code saved... It was probably one huge pile of injection vectors... but they were my injection vectors.

Hah, found it, Apologies for inflicting it on everyone, But I was having too much fun trying to figure out what past me was on.

https://nl1.outband.net/fossil/gami/dir?ci=tip&type=tree

djoldman•1d ago
> Should You Use ed As Site Generator?

> No, not at all.

Well, it (totxt.ed) looks pretty inscrutable to me:

  H
  !# Include proxy title
  !# Insert fallback values
  ?<head>?a
  <SUBTITLE></SUBTITLE>
  <DESCRIPTION></DESCRIPTION>
  <IMAGE></IMAGE>
  <IMAGE_ALT></IMAGE_ALT>
  .
  w
  !# Include the template files via script
  g/\(<!--\)*[<#]include \(file=\)*"*\([^">]*\)"* *-*\/*>*/s//&\
  \/[<#]include\/d\
  -1r \3\
  wq\
  /
  g/[<#]include "*\([^">]*\)"*\/*>*/d\
  .,+3w !ed %
  E
  !# Repeat the second time for recursive includes
  g/\(<!--\)*[<#]include \(file=\)*"*\([^">]*\)"* *-*\/*>*/s//&\
  \/[<#]include\/d\
  -1r \3\
  wq\
  /
rahen•1d ago
It still looks a lot more legible than a TECO script. ed was a big improvement in ergonomics.
kragen•1d ago
Huh, I didn't know you could do that in ed. It doesn't look inscrutable to me, just confusing.
regus•1d ago
I really like the idea of ed. I tried using it recently but having to constantly reprint the block of code you are editing was really tedious.
skydhash•1d ago
I think the idea of ed is to embrace the edit-compile-cycle. So the error tell you the specific line to go to. Then after the obvious errors are out, you do a full printout to handle logic errors.
cardiffspaceman•1d ago
It’s always fun to figure out the path through the error messages that changes the error line numbers the least, so you don’t have to search or recompile.
Avshalom•1d ago
The idea of Ed is that you have a large spool of paper and you make little editing marks on the printout until you decide you've reached some threshold and then print out a fresh up-to-date copy
susam•1d ago
Impressive! Only three leaps away from using butterflies as static site generator!
xelxebar•1d ago
Nice! Another tantalizing rabbit hole.

I go full in on ed sporadically. It requires a bit of a brain rewire, but tye UX is closer to pencil and paper, which is hard to beat for encouraging deeper thought, IMHO.

Also, check out edbrowse for a line-oriented browser:

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

It's developed by a blind coder and has a nice core following.

kevin_thibedeau•1d ago
> It has no file inclusion, for one. So C Preprocessor's #include is no longer accessible. I manage without it

m4 is always there with better macros than CPP.

tonymet•12h ago
I love how much utility 60+ year old Unix commands have. Very powerful, requiring only a few kB of ram, and even 20+ years later, I’m still discovering new utilities.

I did something similar for https://isgithubipv6.web.app/ . Most static site generators are huge ( I was aiming for < 5mb docker container) . I went with `envsubst` , env vars and a simple HTML template.