frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built a CLI to use devcontainers without VS Code

https://github.com/UPwith-me/Container-Maker
2•DEVINHE111•1h ago
Hey HN, author here.

I built Container-Make (cm) because I was tired of maintaining both a Makefile (for terminal users) and a .devcontainer folder (for VS Code users) in my projects. I wanted devcontainer.json to be the single source of truth, but I didn't want to be forced to use VS Code.

The Problem: Running dev containers from the CLI manually is painful. You have to handle docker run flags, volume mounts, port forwarding, and worst of all—file permissions on Linux.

How cm solves it: It parses your standard devcontainer.json and spins up ephemeral containers to run commands. It acts like make, but everything runs inside the container defined by your config.

Technical Details (for the curious):

Language: Written in Go (1.25+) using the official Docker SDK.

Permission Handling: This was the hardest part. I implemented a dynamic entrypoint script that checks the uid/gid of your workspace and creates a matching user inside the container on-the-fly using adduser/su-exec. This solves the "files owned by root" issue on Linux host mounts.

TTY & Signals: It puts the terminal in raw mode and forwards signals (SIGINT/SIGTERM) correctly, so interactive tools like htop or vim work seamlessly.

Performance: It leverages Docker BuildKit for caching.

Current Status: It supports image, build.dockerfile, forwardPorts, postCreateCommand hooks, and environment variables. "Features" support is currently being worked on.

Repo: https://github.com/UPwith-me/Container-Maker.git

I’d love to hear your feedback on the implementation, specifically around the signal handling logic!

Human brains are preconfigured with instructions for understanding the world

https://news.ucsc.edu/2025/11/sharf-preconfigured-brain/
1•XzetaU8•32s ago•0 comments

Chasing the Algorithm

https://marketoonist.com/2025/11/chasing-the-algorithm.html
1•taubek•1m ago•0 comments

Rust for Linux Kernel Co-Maintainer Formally Steps Down

https://www.phoronix.com/news/Alex-Gaynor-Rust-Maintainer
1•bluebirdfirewin•1m ago•0 comments

Skip Fuse is now free for Indie Developers: SwiftUI via Swift SDK for Android

https://skip.tools/blog/skip-fuse-free-for-indies/
1•wahnfrieden•3m ago•0 comments

Instructions for generating AI porn posted on .gov website

https://bakersfieldnow.com/news/local/nude-ai-deepfake-instructions-posted-on-local-air-quality-d...
1•OhMeadhbh•6m ago•0 comments

The Tune of Things: Is Consciousness God?

https://harpers.org/archive/2025/12/the-tune-of-things-christian-wiman-consciousness-god/
1•Hooke•6m ago•0 comments

Show HN: Lenscraft – Shoot Photos from Google Street

https://d01.dailyaiship.com/
1•bosschow•9m ago•0 comments

NASA and Boeing Scale Back Starliner Missions After Fumbled Astronaut Flight

https://www.wsj.com/science/space-astronomy/nasa-and-boeing-scale-back-starliner-missions-after-f...
1•JumpCrisscross•13m ago•0 comments

Building a WebRTC benchmark for voice AI agents (Pipecat vs. LiveKit)

https://github.com/kstonekuan/voice-rtc-bench
1•kstonekuan•14m ago•1 comments

RL Control of Exercise-Strengthened Biohybrid Robots in Simulation

https://arxiv.org/abs/2408.16069
1•PaulHoule•20m ago•1 comments

Show HN: The Wiki Game - reach target Wikipedia page by clicking hyperlinks only

https://apps.apple.com/us/app/the-wiki-game-wikipedia-game/id6755500017
2•frayo44•22m ago•1 comments

Jakarta Is Now the Biggest City in the World

https://www.axios.com/2025/11/24/jakarta-tokyo-worlds-biggest-city-population
2•skx001•22m ago•0 comments

I created a platform to help people find developer partners for their app

https://devteambase.com
1•Nikos_•24m ago•0 comments

Why I (Still) Love Linux ?

https://it-notes.dragas.net/2025/11/24/why-i-still-love-linux/
2•signa11•24m ago•0 comments

Show HN: uvlink – A CLI to keep .venv in a centralized cache for uv

https://github.com/c0rychu/uvlink
2•corychu•25m ago•0 comments

Show HN: Get an Amazon Giftcard to Test Premium Features on Remotelygood.us

https://remotelygood.us
1•Theresa_i_a•27m ago•0 comments

Can Transformers Do Everything, and Undo It Too?

https://astro-eric.github.io/blogs/surjective/
1•nekofneko•28m ago•0 comments

Ytmnd

https://en.wikipedia.org/wiki/YTMND
3•halflife•31m ago•0 comments

People as Intelligence vs. People as Biology. Thoughts?

1•marksun130•32m ago•1 comments

How to Deal with Difficult People at Work: 4 Secrets from Experts

https://bakadesuyo.com/2025/11/difficult-people/
1•austinallegro•37m ago•0 comments

Locking in WebKit (2016)

https://webkit.org/blog/6161/locking-in-webkit/
2•pdubroy•51m ago•1 comments

Windows GUI – Good, Bad and Pretty Ugly (2023)

https://creolened.com/windows-gui-good-bad-and-pretty-ugly-ranked/
4•phendrenad2•58m ago•1 comments

NZ's draft science curriculum favours rote learning over critical thinking

https://theconversation.com/nzs-draft-science-curriculum-favours-rote-learning-over-critical-thin...
4•billybuckwheat•1h ago•1 comments

U-turn: Google wants to bring JPEG XL back to Chrome

https://www.heise.de/en/news/U-turn-Google-wants-to-bring-JPEG-XL-back-to-Chrome-11089880.html
2•peterwyatt-pdfa•1h ago•2 comments

Jeff Dean on Important AI Trends [video]

https://www.youtube.com/watch?v=AnTw_t21ayE
1•todsacerdoti•1h ago•0 comments

What a CTO should know about tech

https://deadsimpletech.com/blog/cto_tech_capabilities
2•mirawelner•1h ago•0 comments

A Software Engineer's Guide to Agentic Software Development

https://brittanyellich.com/agentic-software-development/
1•overcommitted•1h ago•0 comments

Alphabet in Motion: An ABC Pop-Up Book about Typography

https://www.kellianderson.com/books/alphabetinmotion.html
2•bhattisatish•1h ago•1 comments

The Druridge Bay Ruin [video]

https://www.youtube.com/watch?v=mCceufLwJxU
2•DoreenMichele•1h ago•0 comments

Memories of .us

https://computer.rip/2025-11-11-dot-us.html
2•todsacerdoti•1h ago•0 comments