frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Reverse engineering Codex CLI to get GPT-5-Codex-Mini to draw me a pelican

https://simonwillison.net/2025/Nov/9/gpt-5-codex-mini/
32•simonw•3h ago

Comments

f311a•1h ago
Installing Rust projects is usually as simple as calling `cargo install`. No need to wait for 5-30 minutes until LLM figures this out.

People are delegating way too much to LLMs. In turn, this makes your own research or problem-solving skills less sharp.

Retr0id•1h ago
Figuring out how to build a project in an unfamiliar language/build system is my least favourite activity, mainly because all the people who are familiar with those tools think it's "as simple as" and don't bother to write it down anywhere. I don't plan on learning every build system ever.
heddycrow•1h ago
I did not know how to do X so I Y.

It would be interesting to know what kinds of responses humans offer across different values of Y such as:

1) looked on stack overflow 2) googled it 3) consulted the manual 4) asked an LLM 5) asked a friend

For each of these, does the learner somehow learn something more or better?

Is there some means of learning that doesn't degrade us as human beings according to those in the know?

I ask as someone who listens to audiobooks and answers yes when someone asks me if I've read the book. And that's hardly the extent of my transgressions.

hrimfaxi•1h ago
At least if you're copy/pasting from stack overflow you presumably glanced at the change you are copying if only to ensure you select the correct text.
heddycrow•1h ago
Good point. We also sometimes leave comments in code noting the thread we referenced.
simonw•53m ago
Quoting my article:

> This is a useful starting point for a project like this—in figuring out the compile step the coding agent gets seeded with a little bit of relevant information about the project, and if it can compile that means it can later partially test the code it is writing while it works.

"Figure out how to build this" is a shortcut for getting a coding agent primed for future work. If you look at the transcript you can see what it did: https://gistpreview.github.io/?ddabbff092bdd658e06d8a2e8f142...

  • Ran ls
    └ AGENTS.md
      CHANGELOG.md
        +13 lines
      scripts
      sdk
  
  • Ran cat README.md
    └ <p align="center"><code>npm i -g @openai/codex</code><br />or <code>brew
      install --cask codex</code></p>
  
        +105 lines
  
      This repository is licensed under the [Apache-2.0 License](LICENSE).
  
  • Ran rg -n "rust" -n docs/install.md
    └ 23:curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
      25:rustup component add rustfmt
      26:rustup component add clippy
  
  • Ran sed -n '1,200p' docs/install.md
    └ ## Install & build
  
        +36 lines
      cargo test
      ```
  
  • I’m gathering the build steps for the Rust tool, focusing on running cargo
    build inside the codex-rs directory. I'll check dependencies and confirm
    the instructions before actually building, aiming to provide a clear summary
    afterward.
  
  • Ran cargo build
    └     Updating git repository `https://github.com/nornagon/crossterm`
          Updating git repository `https://github.com/nornagon/ratatui`
        +825 lines
         Compiling codex-cli v0.0.0 (/Users/simon/Dropbox/dev/codex/codex-rs/cli)
          Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
  
  • Ran ls target/debug | head
    └ apply_patch
      apply_patch.d
        +6 lines
      codex-execpolicy
That's a decent starting point on seeding the context with information that's relevant to making and then testing the modifications I'm about to ask for.
adastra22•9m ago
What useful context is in there? How to call “cargo build”? It already knows that.
simonw•4m ago
The README files that it looked at, and the directory structure it explored.

It now knows what the project is, what dependencies it uses, how it's laid out and the set of binaries that it generates.

caymanjim•48m ago
I would have done the same thing. I know how to build software in a dozen or more languages. I've done it manually, from scratch, in all of them. I don't know Rust. I have no immediate plan to learn Rust. I vaguely know that Cargo is something in the Rust toolbox. I don't have it installed. I don't particularly want to learn anything about it. It's a whole lot easier for me to tell the LLM to figure that out.

I might learn Rust some day. At the moment, I don't need the mental clutter.

adastra22•8m ago
Well, fyi because it is really simple: if you have rust installed, you have cargo installed too. And to run a project you type “cargo run” from the base directory. That is all.
djmips•1h ago
How long before large language models are specifically trained on drawing pelicans riding a bicycle. ( ͡° ͜ʖ ͡°)
heddycrow•1h ago
And where on the web has someone shared a human effort at doing the same?
hrimfaxi•57m ago
Where on the web do hallucinations come from?
heddycrow•2m ago
I think it's some part of the Dark Web, or I wish it was.
djmips•54m ago
you could literally hire a human to do that, not everything needs to be on the web.
NitpickLawyer•10m ago
Previous discussions about "pelican on a bicycle" always mention this, but it's not something they can do without being blatantly obvious. You can always do other x riding y tests. A juggler riding a barrel. A bear riding a unicycle. An anteater riding a horse, etc.
cyrusradfar•42m ago
Was a fun idea and fun read. Thank you.

Did you consider expanding the number of models by getting all calls through open router?

simonw•31m ago
I haven't tried it myself yet, but it looks like OpenRouter is a supported feature of Codex already: https://github.com/openai/codex/blob/a47181e471b6efe55e95f98...
NitpickLawyer•7m ago
You can already do that through the config file, you can define custom endpoints for any openai compatible API. So you can get openrouter, or even local models via vLLM or alternatives. I think someone even tried to get cheaper API pay-as-you-go usage by hitting their "bulk" API, for tasks that run over night (so no need for immediate responses).

Tabloid: The Clickbait Headline Programming Language

https://tabloid.vercel.app/
151•sadeshmukh•4h ago•22 comments

Ironclad – formally verified, real-time capable, Unix-like OS kernel

https://ironclad-os.org/
202•vitalnodo•8h ago•40 comments

Reverse engineering Codex CLI to get GPT-5-Codex-Mini to draw me a pelican

https://simonwillison.net/2025/Nov/9/gpt-5-codex-mini/
33•simonw•3h ago•19 comments

Largest cargo sailboat completes first Atlantic crossing

https://www.marineinsight.com/shipping-news/worlds-largest-cargo-sailboat-completes-historic-firs...
196•defrost•11h ago•120 comments

Marko – A declarative, HTML‑based language

https://markojs.com/
255•ulrischa•12h ago•123 comments

Show HN: Hephaestus – Autonomous Multi-Agent Orchestration Framework

https://github.com/Ido-Levi/Hephaestus
29•idolevi•5d ago•1 comments

Study identifies weaknesses in how AI systems are evaluated

https://www.oii.ox.ac.uk/news-events/study-identifies-weaknesses-in-how-ai-systems-are-evaluated/
332•pseudolus•16h ago•169 comments

Open-source communications by bouncing signals off the Moon

https://open.space/
127•fortran77•6d ago•32 comments

Defeating Kaslr by Doing Nothing at All

https://googleprojectzero.blogspot.com/2025/11/defeating-kaslr-by-doing-nothing-at-all.html
7•aa_is_op•4d ago•0 comments

Control structures in programming languages: from goto to algebraic effects

http://xavierleroy.org/control-structures/
125•SchwKatze•5d ago•12 comments

Syntax and Semantics of Programming Languages (1995)

https://homepage.cs.uiowa.edu/~slonnegr/plf/Book/
23•nill0•4h ago•14 comments

Debugging BeagleBoard USB boot with a sniffer: fixing omap_loader on modern PCs

https://www.downtowndougbrown.com/2025/11/debugging-beagleboard-usb-boot-with-a-sniffer-fixing-om...
65•todsacerdoti•8h ago•0 comments

WriterdeckOS

https://writerdeckos.com
163•surprisetalk•12h ago•88 comments

Forth – is it still relevant?

https://github.com/chochain/eforth
8•lioeters•2h ago•1 comments

How Airbus Took Off

https://worksinprogress.co/issue/how-airbus-took-off/
26•JumpCrisscross•5h ago•13 comments

Show HN: Geofenced chat communities anyone can create

https://vicinity.social/
21•clarencehoward•4h ago•13 comments

Avería: The Average Font (2011)

http://iotic.com/averia/
150•JoshTriplett•11h ago•29 comments

How to build your own VPN, or: the history of WARP

https://blog.cloudflare.com/how-to-build-your-own-vpn-or-the-history-of-warp/
30•yla92•5d ago•7 comments

IRIX Introduction

http://www.sgistuff.net/software/irixintro/index.html
16•naves•5h ago•4 comments

Show HN: PingStalker – A a macOS tool for network engineers

https://www.pingstalker.com/?hn
16•n1sni•4d ago•3 comments

Under 40s Declining Memory

https://onepercentrule.substack.com/p/under-40s-declining-memory
4•drcwpl•2h ago•0 comments

Judge denies request to exempt Flock footage from Public Records Act

https://www.goskagit.com/news/local_news/court-denies-request-that-it-find-flock-safety-camera-da...
116•p_ing•6h ago•32 comments

Runc breaks pods when CPU requests aren't multiples of 10

https://github.com/opencontainers/runc/issues/4982
5•dropbox_miner•2h ago•0 comments

Cloudflare scrubs Aisuru botnet from top domains list

https://krebsonsecurity.com/2025/11/cloudflare-scrubs-aisuru-botnet-from-top-domains-list/
127•jtbayly•14h ago•27 comments

Valdi – A cross-platform UI framework that delivers native performance

https://github.com/Snapchat/Valdi
481•yehiaabdelm•1d ago•198 comments

My first fifteen compilers (2019)

https://blog.sigplan.org/2019/07/09/my-first-fifteen-compilers/
56•azhenley•1w ago•4 comments

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
506•vitalnodo•1d ago•448 comments

IP blocking the UK is not enough to comply with the Online Safety Act

https://prestonbyrne.com/2025/11/06/the-ofcom-files-part-2-ip-blocking-the-uk-is-not-enough-to-co...
235•pinkahd•8h ago•290 comments

Opencloud – An alternative to Nextcloud written in Go

https://github.com/opencloud-eu/opencloud
86•todsacerdoti•14h ago•21 comments

Humanity's Endgame

https://www.noemamag.com/humanitys-endgame/
30•marojejian•7h ago•20 comments