frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Your phone edits all your photos with AI – is it changing your view of reality?

https://www.bbc.com/future/article/20260203-the-ai-that-quietly-edits-all-of-your-photos
1•breve•59s ago•0 comments

DStack, a small Bash tool for managing Docker Compose projects

https://github.com/KyanJeuring/dstack
1•kppjeuring•1m ago•1 comments

Hop – Fast SSH connection manager with TUI dashboard

https://github.com/danmartuszewski/hop
1•danmartuszewski•2m ago•1 comments

Turning books to courses using AI

https://www.book2course.org/
1•syukursyakir•4m ago•0 comments

Top #1 AI Video Agent: Free All in One AI Video and Image Agent by Vidzoo AI

https://vidzoo.ai
1•Evan233•4m ago•1 comments

Ask HN: How would you design an LLM-unfriendly language?

1•sph•5m ago•0 comments

Show HN: MuxPod – A mobile tmux client for monitoring AI agents on the go

https://github.com/moezakura/mux-pod
1•moezakura•6m ago•0 comments

March for Billionaires

https://marchforbillionaires.org/
1•gscott•6m ago•0 comments

Turn Claude Code/OpenClaw into Your Local Lovart – AI Design MCP Server

https://github.com/jau123/MeiGen-Art
1•jaujaujau•7m ago•0 comments

An Nginx Engineer Took over AI's Benchmark Tool

https://github.com/hongzhidao/jsbench/tree/main/docs
1•zhidao9•9m ago•0 comments

Use fn-keys as fn-keys for chosen apps in OS X

https://www.balanci.ng/tools/karabiner-function-key-generator.html
1•thelollies•9m ago•1 comments

Sir/SIEN: A communication protocol for production outages

https://getsimul.com/blog/communicate-outage-to-ceo
1•pingananth•11m ago•1 comments

Show HN: OpenCode for Meetings

https://getscripta.app
1•whitemyrat•11m ago•1 comments

The chaos in the US is affecting open source software and its developers

https://www.osnews.com/story/144348/the-chaos-in-the-us-is-affecting-open-source-software-and-its...
1•pjmlp•13m ago•0 comments

The world heard JD Vance being booed at the Olympics. Except for viewers in USA

https://www.theguardian.com/sport/2026/feb/07/jd-vance-boos-winter-olympics
48•treetalker•15m ago•8 comments

The original vi is a product of its time (and its time has passed)

https://utcc.utoronto.ca/~cks/space/blog/unix/ViIsAProductOfItsTime
1•ingve•22m ago•0 comments

Circumstantial Complexity, LLMs and Large Scale Architecture

https://www.datagubbe.se/aiarch/
1•ingve•29m ago•0 comments

Tech Bro Saga: big tech critique essay series

1•dikobraz•32m ago•0 comments

Show HN: A calculus course with an AI tutor watching the lectures with you

https://calculus.academa.ai/
1•apoogdk•36m ago•0 comments

Show HN: 83K lines of C++ – cryptocurrency written from scratch, not a fork

https://github.com/Kristian5013/flow-protocol
1•kristianXXI•40m ago•0 comments

Show HN: SAA – A minimal shell-as-chat agent using only Bash

https://github.com/moravy-mochi/saa
1•mrvmochi•41m ago•0 comments

Mario Tchou

https://en.wikipedia.org/wiki/Mario_Tchou
1•simonebrunozzi•42m ago•0 comments

Does Anyone Even Know What's Happening in Zim?

https://mayberay.bearblog.dev/does-anyone-even-know-whats-happening-in-zim-right-now/
1•mugamuga•43m ago•0 comments

The last Morse code maritime radio station in North America [video]

https://www.youtube.com/watch?v=GzN-D0yIkGQ
1•austinallegro•45m ago•0 comments

Show HN: Hacker Newspaper – Yet another HN front end optimized for mobile

https://hackernews.paperd.ink/
1•robertlangdon•46m ago•0 comments

OpenClaw Is Changing My Life

https://reorx.com/blog/openclaw-is-changing-my-life/
4•novoreorx•54m ago•0 comments

Everything you need to know about lasers in one photo

https://commons.wikimedia.org/wiki/File:Commercial_laser_lines.svg
2•mahirsaid•56m ago•0 comments

SCOTUS to decide if 1988 video tape privacy law applies to internet uses

https://www.jurist.org/news/2026/01/us-supreme-court-to-decide-if-1988-video-tape-privacy-law-app...
1•voxadam•57m ago•0 comments

Epstein files reveal deeper ties to scientists than previously known

https://www.nature.com/articles/d41586-026-00388-0
3•XzetaU8•1h ago•1 comments

Red teamers arrested conducting a penetration test

https://www.infosecinstitute.com/podcast/red-teamers-arrested-conducting-a-penetration-test/
1•begueradj•1h ago•0 comments
Open in hackernews

Automate all the things with Swift Subprocess

https://blog.jacobstechtavern.com/p/swift-subprocess
40•jakey_bakey•3mo ago

Comments

jbverschoor•3mo ago
Related to using Swift as scripting: https://github.com/jrz/tools (transparent compilation vs interpreting)
jakey_bakey•3mo ago
Sick!
jbverschoor•3mo ago
Thanks. Was scratching my own itch. Got frustrated with startup times for reasonably simple scripts in ruby and applescript. Rewrote some things in swift, but then got annoyed by the startup times of interpreted swift. I'm dogfooding my own tools, so I want both development and usage to be quick.
jakey_bakey•3mo ago
Thanks for sharing! :)
hooch•3mo ago
tldr;

Before:

    let process = Process()
    process.executableURL = URL(fileURLWithPath: "/bin/ls")

    let pipe = Pipe()
    process.standardOutput = pipe

    try! process.run()
    process.waitUntilExit()
    let data = pipe.fileHandleForReading.readDataToEndOfFile()
    if let output = String(data: data, encoding: .utf8) {
        print(output)
    }
After:

    let result = try await run(
        .name("ls"),
        arguments: ["-1"],
        output: .string(limit: 1 << 20)
    )
    print(result.standardOutput ?? "")
fainpul•3mo ago
Why bother with invoking shell programs instead of using built-in ways of the language to do the same task?

  let result = try! FileManager.default.contentsOfDirectory(atPath: "/etc")
  print(result)
Various other FileManager methods are available:

https://developer.apple.com/documentation/foundation/fileman...

w10-1•3mo ago
OP objections to scripting in Swift are (1) requires a build step; and (2) subprocess API requires wrapping for each tool -- both are true.

The Swift team did just release Subprocess, but it doesn't break hugely new ground. Swift has had API's for running system processes, and the best wrapper has been the Shwift library[1] which supports async operations and bash-like syntax for captures.

Wrapping tools with static functions that make convenient choices is helpful, but the real benefit comes with using type-safe API's - e.g., records for git-log output, enumerations for configuration, etc.

For the update-build-and-run dance, there are tools like clutch [2]. It helps most when you have a bunch of scripts that benefit from common (wrapping) libraries - as with builds, processing pipelines, etc. - because the common code doesn't need to be re-built, only the script.

- [1] shwift: https://github.com/GeorgeLyon/Shwift

- [2] clutch: https://github.com/swift-nest/clutch

John23832•3mo ago
I feel like Swift could be such a great language if it was only given the proper care and feeding of open source. Instead it's largely locked in the apple walled garden with tokens given to the outside.
w10-1•3mo ago
> it's largely locked in the apple walled garden with tokens given to the outside

So, the compiler, stdlib and runtime, core libraries, build system ... not enough? What else would you want?

I feel the problem is not what's in open source, but that the open-source community cannot really form, since no outsider can significantly change what the Apple contributors decide. Some of the peripheral projects have relatively free rein, but they can't compete e.g., with server libraries elsewhere.

Also, the Apple people have to track what Apple needs, so they'll put out stuff per schedule that works for them but falls apart on untested code paths. And they don't really deprecate stuff, so you end up with multiple ways to do the same thing. And there seems to be no budget for documentation, which is quite far behind esp. for concurrent programming. And so it goes.

We'll see where they get with ownership and inter-op with C/C++/Java. Concurrency + ownership + legacy + FFI inter-op => combinatoric complexity...

John23832•3mo ago
> So, the compiler, stdlib and runtime, core libraries, build system ... not enough? What else would you want?

First class IDE support (Xcode is not that). Better documentation. The build system only half works. Better packaging. I can keep going.

The swift ecosystem often feels like just enough was done to lock in iOS devs (but not enough to actually provide a good developer experience) and then they stopped because Apple has no incentive to do more than that.

> I feel the problem is not what's in open source, but that the open-source community cannot really form, since no outsider can significantly change what the Apple contributors decide. Some of the peripheral projects have relatively free rein, but they can't compete e.g., with server libraries elsewhere.

So you agree. This is exactly the point I was making.

frumplestlatz•3mo ago
> First class IDE support (Xcode is not that).

The SourceKit LSP server has worked fine for me, although I admit I spend most time in Xcode.

> Better documentation.

What’s the issue here? The documentation seems comprehensive.

> The build system only half works. Better packaging.

What are the issues with SwiftPM?

groundzeros2015•3mo ago
Concurrency has dropped a complexity nuke on this language that it will never recover from.
frumplestlatz•3mo ago
That’s quite an assertion. What specifically do you take issue with?

- `async` being all-or-nothing

- Strict `Serializable`

- ???

fingerlocks•3mo ago
Not OP, but I’ll bite.

The weird open stache {} brackets that are permitted when the last argument of a function is a closure. This is a ridiculous feature, combined with ResultBuilder, made the language worse. And I will assert that both of these awful features increased complexity for the sole purpose of making SwiftUI syntax approachable to JavaScript devs.

On the other hand, I hate react-native and prefer to not live in a world where all my software is glitchy and slow, so I understand Apple’s motivations. React-native is a threat with hip modern syntax. Apple still used the icky MVC with the crusty old CALayers.

I just hope it was worth it!

groundzeros2015•3mo ago
Swift 6:

- async coloring every function - actors coloring every function and type - everything is now in tasks - sendable/non-sendable closure especially when integrating with legacy code

You write any piece of code that touches async and you have to add 4 additional keywords

randomNumber7•3mo ago
I think the problem is that C/C++ interop in practice sucks because they made pointers annoying to use (for ideological reasons. Pointer == Evil).

It's sad because technically they have amazing C/C++ interop, but using s.th. like SDL2 to write some toy game would be way less pain in C++.

You need to link against C libraries as a compiled system language and you just need a lot of pointers to do anything meaningfull in C.

eviks•3mo ago
> The Swift code is compiled and executed, assuming all the corresponding overhead.

Unless it's cashed, of course, then you get the extra overhead on first run, but lower overhead on at the subsequent runs? This is even mentioned in the article, so what's the issue in this specific peculiarity?