frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Hacking up your own shell completion (2020)

https://www.feltrac.co/environment/2020/01/18/build-your-own-shell-completion.html
1•todsacerdoti•1m ago•0 comments

Show HN: Gorse 0.5 – Open-source recommender system with visual workflow editor

https://github.com/gorse-io/gorse
1•zhenghaoz•1m ago•0 comments

GLM-OCR: Accurate × Fast × Comprehensive

https://github.com/zai-org/GLM-OCR
1•ms7892•2m ago•0 comments

Local Agent Bench: Test 11 small LLMs on tool-calling judgment, on CPU, no GPU

https://github.com/MikeVeerman/tool-calling-benchmark
1•MikeVeerman•3m ago•0 comments

Show HN: AboutMyProject – A public log for developer proof-of-work

https://aboutmyproject.com/
1•Raiplus•3m ago•0 comments

Expertise, AI and Work of Future [video]

https://www.youtube.com/watch?v=wsxWl9iT1XU
1•indiantinker•4m ago•0 comments

So Long to Cheap Books You Could Fit in Your Pocket

https://www.nytimes.com/2026/02/06/books/mass-market-paperback-books.html
1•pseudolus•4m ago•1 comments

PID Controller

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller
1•tosh•8m ago•0 comments

SpaceX Rocket Generates 100GW of Power, or 20% of US Electricity

https://twitter.com/AlecStapp/status/2019932764515234159
1•bkls•8m ago•0 comments

Kubernetes MCP Server

https://github.com/yindia/rootcause
1•yindia•9m ago•0 comments

I Built a Movie Recommendation Agent to Solve Movie Nights with My Wife

https://rokn.io/posts/building-movie-recommendation-agent
3•roknovosel•10m ago•0 comments

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
2•beardyw•18m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•18m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
1•surprisetalk•20m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
2•surprisetalk•20m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
1•surprisetalk•20m ago•0 comments

Lawyer sets new standard for abuse of AI; judge tosses case

https://arstechnica.com/tech-policy/2026/02/randomly-quoting-ray-bradbury-did-not-save-lawyer-fro...
2•pseudolus•21m ago•0 comments

AI anxiety batters software execs, costing them combined $62B: report

https://nypost.com/2026/02/04/business/ai-anxiety-batters-software-execs-costing-them-62b-report/
1•1vuio0pswjnm7•21m ago•0 comments

Bogus Pipeline

https://en.wikipedia.org/wiki/Bogus_pipeline
1•doener•22m ago•0 comments

Winklevoss twins' Gemini crypto exchange cuts 25% of workforce as Bitcoin slumps

https://nypost.com/2026/02/05/business/winklevoss-twins-gemini-crypto-exchange-cuts-25-of-workfor...
2•1vuio0pswjnm7•23m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
3•obscurette•23m ago•0 comments

Cycling in France

https://www.sheldonbrown.com/org/france-sheldon.html
2•jackhalford•25m ago•0 comments

Ask HN: What breaks in cross-border healthcare coordination?

1•abhay1633•25m ago•0 comments

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
2•tangjiehao•28m ago•0 comments

Show HN: Free-to-play: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•28m ago•1 comments

My Eighth Year as a Bootstrapped Founde

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•29m ago•0 comments

Show HN: Tesseract – A forum where AI agents and humans post in the same space

https://tesseract-thread.vercel.app/
1•agliolioyyami•29m ago•0 comments

Show HN: Vibe Colors – Instantly visualize color palettes on UI layouts

https://vibecolors.life/
2•tusharnaik•30m ago•0 comments

OpenAI is Broke ... and so is everyone else [video][10M]

https://www.youtube.com/watch?v=Y3N9qlPZBc0
2•Bender•31m ago•0 comments

We interfaced single-threaded C++ with multi-threaded Rust

https://antithesis.com/blog/2026/rust_cpp/
1•lukastyrychtr•32m ago•0 comments
Open in hackernews

Using Ed(1) as My Static Site Generator

https://aartaka.me/this-post-is-ed.html
95•BoingBoomTschak•8mo ago

Comments

BoingBoomTschak•8mo 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•8mo ago
Fantastic. The Unix hackers are alive and well. Keep it real.
Rendello•8mo ago
I did my resume in groff once, formatted like a man page. It didn't look half-bad either.
fiddlerwoaroof•8mo ago
This is a great idea
DaSHacka•8mo ago
100%, I'd love to see the template if GP ever makes a blog post about it
qartis•8mo 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•8mo 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.

aartaka•8mo ago
I think Unix hackers would get horrified by how wrong and non do-one-thing-well my setup is. ed(1) was never intended to be an SSG, after all.
snackbroken•8mo 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•8mo ago
More? Less? Why are we talking about pagers? Who's on first?
fredoralive•8mo ago
who on first? I don’t think you can use who as init.
Henchman21•8mo ago
Not with that attitude!
staplung•8mo 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•8mo 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•8mo 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•8mo ago
Was hoping to see this here, still makes me laugh after discovering it 20 years ago.
EuAndreh•8mo ago
Besides being the stardand, it also has a standard:

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

aartaka•8mo ago
And my scripts are fully POSIX-compliant, running on GNU, slewsys, and OpenBSD ed(1), so the standard is pretty reasonable.
tincholio•8mo ago
?
sgt•8mo ago
I once used m4 to generate my blog. Worked like a charm!
smlavine•8mo 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•8mo 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•8mo 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.
aartaka•8mo ago
Same experience, that's why I've decided on something more down-to-the-earth and imperative.
somat•8mo 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•8mo 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•8mo ago
It still looks a lot more legible than a TECO script. ed was a big improvement in ergonomics.
kragen•8mo ago
Huh, I didn't know you could do that in ed. It doesn't look inscrutable to me, just confusing.
aartaka•8mo ago
It was never supposed to be read by a sane mortal.
regus•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
Impressive! Only three leaps away from using butterflies as static site generator!
xelxebar•8mo 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.

aartaka•8mo ago
I'm aware of edbrowse and am trying to use it more!
kevin_thibedeau•8mo 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.

aartaka•8mo ago
Actually, I figured file inclusion: https://codeberg.org/aartaka/pages/commit/a7204e7cb1d389d8e7...

Only required recursively calling ed with a pre-baked script :D

tonymet•8mo 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.