frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Agentic Browsers, MCPs and Security: What "Prompt Injection" Means

https://quickchat.ai/post/agentic-browser-mcp-prompt-injection
1•piotrgrudzien•7m ago•0 comments

MRI-Guided Cryoablation System

https://rodgercuddington.substack.com/p/liverpool-hospital-pioneers-mri-guided
1•freespirt•7m ago•0 comments

From 0 to 30K – Numbers

https://www.hypertesto.me/en/blog/2025/11/from-0-to-30k-ep2
1•SpeckToTaste•8m ago•0 comments

My go-to prompt for legacy code exploration

https://leftofthe.dev/2025/11/09/legacy-code-overview-llm
1•unripe_syntax•8m ago•0 comments

Top Ruby on Rails Hosting Providers for Your Apps in 2025

https://www.railscarma.com/blog/top-ruby-on-rails-hosting-providers-for-your-apps/
1•amalinovic•9m ago•0 comments

Installing and using HP-UX 9

https://thejpster.org.uk/blog/blog-2025-11-08/
1•TMWNN•12m ago•1 comments

Foxconn hires humanoid robots to make servers at Nvidia's Texas factory

https://www.theregister.com/2025/11/07/foxconn_humanoid_robots_nvidia_server/
1•pjmlp•13m ago•0 comments

Microsoft's lack of quality control is out of control

https://www.theregister.com/2025/11/08/microsoft_lacks_quality_control/
3•pjmlp•15m ago•0 comments

Disabled hikers find freedom through off-road wheelchairs

https://www.theguardian.com/world/ng-interactive/2025/nov/08/off-road-wheelchair-trackchair-hiking
1•thunderbong•19m ago•0 comments

Garbage In, Garbage Out: The Case for Better Robot Data Understanding

https://huggingface.co/blog/robotdata/gigo
1•machinelearning•30m ago•0 comments

Brussels knifes privacy to feed the AI boom

https://www.politico.eu/article/brussels-knifes-privacy-to-feed-the-ai-boom-gdpr-digital-omnibus/
5•thm•31m ago•0 comments

EU takes aim at plastic pellets to prevent their nightmare cleanup

https://www.yahoo.com/news/articles/eu-takes-aim-plastic-pellets-030314496.html
8•PaulHoule•33m ago•1 comments

Meta's Earns $7B Annually from Fraudulent Ads

https://pluralistic.net/2025/11/08/faecebook/#too-big-to-care
2•Welteneroberer•33m ago•0 comments

Why is Numair faraz a R

1•kwoii•34m ago•0 comments

Jurassic Systems

https://jurassicsystems.com/
1•guytv•34m ago•0 comments

BBC director general and News CEO resign in bias controversy

https://www.bbc.co.uk/news/live/cd9kqz1yyxkt
2•mellosouls•35m ago•2 comments

Show HN: I Accidentally Created a Custom Clothing Brand for Developers

https://giTshirt.com
1•GeorgiMY•36m ago•0 comments

AI Medicine

https://drguide.net/
1•SalmanChishti•36m ago•0 comments

The Drain of Scientific Publishing

https://arxiv.org/abs/2511.04820
1•Hard_Space•38m ago•0 comments

Shell companies and government corruption [pdf]

https://spa.sdsu.edu/_resources/files/documents/shell_companies_and_government_corruption.pdf
2•marysminefnuf•40m ago•0 comments

Java Objects Executor

https://github.com/mbertacca/joe
1•keyle•45m ago•0 comments

NASA Staff Horrified at Plan to Trash Specialized Science Equipment

https://futurism.com/space/nasa-staff-throw-out-science-equipment-garbage
3•dv_dt•46m ago•1 comments

The DuckDuckGo duck changes to Gaquacktus when you search for Galactus

https://duckduckgo.com/?q=galactus
2•Kye•46m ago•1 comments

Self-Replicating Alien Probes Could Be in Our Solar System, New Study Suggests

https://scienceclock.com/are-self-replicating-alien-probes-already-in-our-solar-system-new-study-...
1•ashishgupta2209•48m ago•1 comments

The Linux Kernel Looks to "Bite the Bullet" in Enabling Microsoft C Extensions

https://www.phoronix.com/news/Linux-6.19-Patch-Would-MS-Ext
19•keyle•51m ago•4 comments

Noahpinion – How Ireland got so rich (2023)

https://www.noahpinion.blog/p/how-ireland-got-so-rich
1•gkanai•55m ago•1 comments

The two types of LLM preferences

https://newsletter.danielpaleka.com/p/the-two-types-of-llm-preferences
1•dpaleka•56m ago•0 comments

Dull Days at the Factory

https://mihaiolteanu.me/dull-days-at-the-factory
1•molteanu•56m ago•0 comments

Vectorizing XxHash for Fun and Profit

https://moinakg.wordpress.com/2013/01/19/vectorizing-xxhash-for-fun-and-profit/
1•marklit•59m ago•0 comments

What's new in Easel (Nov 2025)

https://easel.games/blog/2025-nov-update
1•BSTRhino•1h ago•1 comments
Open in hackernews

Ask HN: How can we achieve a full POSIX shell implementation purely client-side?

https://github.com/Stasshe/Pyxis-CodeCanvas
1•Stasshe•1h ago

Comments

Stasshe•1h ago
I'm developing Pyxis (https://github.com/Stasshe/Pyxis-CodeCanvas), a browser-based IDE designed primarily for iPad. *Since WebContainer doesn't work reliably on iPad*, I had to build everything from scratch, including a complete shell system.

*What I've implemented so far:*

Our StreamShell architecture supports: - Pipeline processing with true streaming (`cmd1 | cmd2 | cmd3`) - Full redirection support (`>`, `>>`, `<`, `2>&1`, custom fd like `3>file`) - Control structures (`if/then/else`, `for/while` loops, `break/continue`) - Variable expansion (`$VAR`, `$(command)`, `$((arithmetic))`) - Logical operators (`&&`, `||`) with short-circuit evaluation - Background execution (`cmd &`) - Process abstraction with signal handling - Node.js Stream API for backpressure handling - Most common Unix commands (`ls`, `cat`, `grep`, `head`, `tail`, etc.) - Script execution (`.sh` files with full control flow)

*Technical approach:* - Process abstraction using Node.js PassThrough streams - File descriptor management via Map structures - AST-based command parsing - Per-fd buffering strategy - IndexedDB-based virtual file system - *Pure JavaScript/TypeScript implementation - no WASM, no WebContainer* - Runs entirely in the browser main thread with timeout protection

*Current limitations:* - Some advanced bash features not yet implemented (shell functions, process substitution, heredocs) - No `*` recursive globbing - Simplified job control - Browser environment constraints (no native modules, all async) - Single-threaded execution (no Web Workers for commands)

*My questions:*

1. *Is this approach sufficient for a practical shell environment?* Are there critical POSIX features I'm missing that would make this unsuitable for real-world use on iPad?

2. *Are there fundamental design flaws in my implementation?* Particularly concerned about: - The fd management strategy (Map-based with PassThrough streams) - Stream-based pipeline processing and backpressure handling - Memory efficiency with large data flows - The parser's handling of edge cases and quote processing - Timeout-based protection vs. proper cancellation

3. *What would you prioritize next?* Given the constraints of: - Browser-only environment (no server, no WebContainer) - iPad compatibility requirement - Must work offline - Limited to what IndexedDB + browser APIs can provide

4. *Alternative approaches?* Are there better architectural patterns for implementing a POSIX-like shell in a pure browser environment that I should consider?

The full technical documentation is available here: [SHELL-SYSTEM.md](https://github.com/Stasshe/Pyxis-Client-Side-Code-Editor/blo...)

*Why not WebContainer?* WebContainer is an excellent technology, but it has significant limitations on iPad/iOS Safari - SharedArrayBuffer restrictions, memory constraints, and reliability issues make it unsuitable for our use case. We need a solution that works consistently across all platforms, especially mobile.

I'd appreciate any feedback from those who have experience with shell implementation, browser sandboxing, or building development tools for constrained environments like iPad.

d3Xt3r•1h ago
Cool project! But the name is a bit misleading, I thought you were talking about Ptyxis[1], the new terminal for GNOME.

[1] https://gitlab.gnome.org/chergert/ptyxis

Stasshe•30m ago
thanks!

uh, I didn't know that. that's true. there are so similar naming...

but I have apply to the contest at this name, and I'm in best16, so I can't change it, unfortunately.