frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

"I closed MPEG on 2 Jun '20 when I left because obscure forces had hijacked it."

https://leonardo.chiariglione.org/
75•eggspurt•1h ago•26 comments

New AI Coding Teammate: Gemini CLI GitHub Actions

https://blog.google/technology/developers/introducing-gemini-cli-github-actions/
29•michael-sumner•2h ago•12 comments

We replaced passwords with something worse

https://blog.danielh.cc/blog/passwords
386•max__dev•9h ago•306 comments

About AI

https://priver.dev/blog/ai/about-ai/
26•emil_priver•2h ago•8 comments

Cracking the Vault: How we found zero-day flaws in HashiCorp Vault

https://cyata.ai/blog/cracking-the-vault-how-we-found-zero-day-flaws-in-authentication-identity-and-authorization-in-hashicorp-vault/
113•nihsy•4h ago•45 comments

Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs

https://www.baseten.co/blog/sota-performance-for-gpt-oss-120b-on-nvidia-gpus/
178•philipkiely•9h ago•95 comments

Claude Code IDE integration for Emacs

https://github.com/manzaltu/claude-code-ide.el
675•kgwgk•22h ago•229 comments

Debounce

https://developer.mozilla.org/en-US/docs/Glossary/Debounce
64•aanthonymax•2d ago•35 comments

Project Hyperion: Interstellar ship design competition

https://www.projecthyperion.org
283•codeulike•14h ago•213 comments

Rules by which a great empire may be reduced to a small one (1773)

https://founders.archives.gov/documents/Franklin/01-20-02-0213
182•freediver•12h ago•117 comments

A candidate giant planet imaged in the habitable zone of α Cen A

https://arxiv.org/abs/2508.03814
87•pinewurst•9h ago•28 comments

Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

https://github.com/KittenML/KittenTTS
867•divamgupta•1d ago•333 comments

Children's movie leads art historian to long-lost Hungarian masterpiece (2014)

https://www.theguardian.com/world/2014/nov/27/stuart-little-art-historian-long-lost-hungarian-masterpiece
12•how-about-this•3d ago•0 comments

Litestar is worth a look

https://www.b-list.org/weblog/2025/aug/06/litestar/
289•todsacerdoti•15h ago•78 comments

Jules, our asynchronous coding agent

https://blog.google/technology/google-labs/jules-now-available/
301•meetpateltech•19h ago•200 comments

Herbie detects inaccurate expressions and finds more accurate replacements

https://herbie.uwplse.org/
67•bwidlar•3d ago•6 comments

Writing a Rust GPU kernel driver: a brief introduction on how GPU drivers work

https://www.collabora.com/news-and-blog/blog/2025/08/06/writing-a-rust-gpu-kernel-driver-a-brief-introduction-on-how-gpu-drivers-work/
272•losgehts•19h ago•33 comments

Did Craigslist decimate newspapers? Legend meets reality

https://www.poynter.org/business-work/2025/did-craigslist-kill-newspapers-poynter-50/
18•zdw•3d ago•7 comments

Splatshop: Efficiently Editing Large Gaussian Splat Models

https://momentsingraphics.de/HPG2025.html
6•ibobev•3d ago•0 comments

We'd be better off with 9-bit bytes

https://pavpanchekha.com/blog/9bit.html
156•luu•15h ago•275 comments

Gaybreaking

https://twitter.com/AlexReibman/status/1953229500973740058
26•miohtama•30m ago•7 comments

A fast, growable array with stable pointers in C

https://danielchasehooper.com/posts/segment_array/
197•ibobev•17h ago•72 comments

The Bluesky Dictionary

https://www.avibagla.com/blueskydictionary/
172•gaws•14h ago•51 comments

40 Years of the Amiga

https://www.goto10retro.com/p/40-years-of-the-amiga-from-commodore
55•rbanffy•3h ago•20 comments

What is the average length of a queue of cars? (2023)

https://e-dorigatti.github.io/math/2023/11/01/queue-length.html
24•alexmolas•3d ago•8 comments

Scientists have recreated the Universe's first molecule

https://www.sciencedaily.com/releases/2025/08/250803011840.htm
16•LAsteNERD•2d ago•8 comments

Mac history echoes in current Mac operating systems

http://tenfourfox.blogspot.com/2025/08/mac-history-echoes-in-mac-operating.html
122•classichasclass•9h ago•39 comments

Automerge 3.0

https://automerge.org/blog/automerge-3/
323•surprisetalk•3d ago•29 comments

Multics

https://www.multicians.org/multics.html
123•unleaded•18h ago•28 comments

Comptime.ts: compile-time expressions for TypeScript

https://comptime.js.org/
137•excalo•3d ago•29 comments
Open in hackernews

Show HN: Sinkzone DNS – Forwarder that blocks everything except your allowlist

https://github.com/berbyte/sinkzone
80•dominis•19h ago
Most site blockers work by blacklisting distractions. That never worked for me, the internet is too big, and there’s always something new to waste time on.

I wanted the opposite: allowlist‑only browsing. Block everything by default, and explicitly allow only what I need.

So I built Sinkzone: a local DNS forwarder with two modes:

Monitor mode: lets all traffic through, but logs every domain so you can decide what to allow.

Focus mode: only allowlisted domains resolve; everything else is blocked (NXDOMAIN).

It’s open source, written in Go, and runs locally on macOS, Linux, and Windows. Works a bit like Pi‑hole, but instead of blocking ads, it blocks everything unless you say otherwise.

I’m curious if this would be useful in your workflow. If you try it, please let me know what breaks, what works well, and what you’d improve.

Comments

artooro•19h ago
How is this better than using Pi-hole to do the same? It can also run in an allow only mode as I understand.
daft_pink•19h ago
I think the idea is that it blocks everything on your machine instead of causing the whole network to go offline as piholes are generally applied to the entire home network.

Your mileage might vary, but in my home, causing my smarthome plus my wife and children’s internet to go offline might cause a bigger distraction to my focus. Also you couldn’t use a pi-hole at work for instance.

dominis•18h ago
I wanted to build my tool because eventually I want to support multi-tenancy. Custom allowlists and schedules for all family members.
mikehotel•18h ago
- single binary file deployment

- TUI based configuration

- API endpoints

pluto_modadic•17h ago
"can run" / "can be configured to run" / "is not documented but can" != "is purpose built for allowlisting workflow as simple as possible"
dominis•17h ago
<3
eszpee•19h ago
Sounds interesting! The Pomodoro app I'm using for focus times has this feature built in (I wrote about it here: https://peterszasz.com/finding-focus-through-intention-and-a... ), but before finding that, I would've definitely tried this.

Improvement idea: Integrate with Apple Shortcuts, so the user could automate switching focus mode on and off, tied to changing Apple Focus mode.

dominis•18h ago
Hey Eszpee, Thanks for checking Sinkzone out. I'm thinking about building custom schedules in the next iteration, that would support some basic pomodoro style scheduling for sure.
buzicsotto•18h ago
This sounds awesome - I wish I could run it on my iphone, because otherwise it's not even gonna put a dent in my infinite capacity for slacking off....
dominis•18h ago
It's on my list :)
zikduruqe•14h ago
Run Tailscale/Wireguard on your iPhone, back to your RPi at home. Use your RPi as your DNS server. Something, something, profit.
pozsi•18h ago
Will this work when I'm connected to the company vpn? We have a private DNS zone set up for our private network, and this would probably mess up my DNS config. It would be awesome if it worked though!
dominis•18h ago
You can configure your upstream resolvers in the config, so I think Sinkzone can be placed in front of your VPN's resolver. I never tested this to be honest.
fasouto•18h ago
Interesting approach... Initially I thought it was bit overkill but I found myself picking my phone when I have a site blocked on my laptop.

Happen more than I'm willing to admit, so I guess I will give a try

dominis•18h ago
I'm planning to address the issue for phones as well in the future.
mlhpdx•16h ago
I built a DNS resolver on Proxylity[1] as a demo but it didn’t occur to me that block by default was a use case. I might have to add that.

My suggestion: Allow by ASN would be a clean (simple) way to get all of Google, etc., allowed at once.

[1] https://github.com/proxylity/examples/tree/main/dns-filter

minkzilla•12h ago
nextdns lets you set times when domains are blocked. Originally I had it just for my computer but soon realized I needed it for my phone as well.
lpman•18h ago
I usually edit my hosts file and point unwanted domains to localhost. This seems more elegant
dominis•18h ago
I've used https://github.com/StevenBlack/hosts myself for a few years, I think this is a fantastic collection for hosts based blocking.
q2dg•17h ago
AdGuardHome fills the same gap, doesn't it?
dominis•17h ago
I'm not familiar with this project, just checked their GitHub Readme and if I understand correctly they block what you want them to block. Sinkzone does the opposite, it allows what you want to allow, and blocks everything else.
q2dg•17h ago
Well, you can block everything using a wildcard blocking rule (for that, go to "Filters → DNS blocklists" and add this custom rule: ||*^ ) and then you can allow the domain (and subdomains, if needed, for instance "everything.ycombinator.com"; for that, go to "Filters → Allowlist" and add this: @@||ycombinator.com^ )
ameshkov•16h ago
Alternatively, you can do something like this: *$denyallow=example.org|example.com

Blocks everything except example.org and example.com.

Works in AdGuard Home, AdGuard DNS or any other AG product with DNS filtering capabilities: https://adguard-dns.io/kb/general/dns-filtering-syntax/

muppetman•9h ago
Sort of, but it's not really designed to be "block first" though you can configure it to do that.
Duchambe_Double•17h ago
Yeap yeap - exactly what I needed! When on iOS?!??
rookderby•17h ago
I like this tool a lot and think it's superior to my own automation tools to generate giant host file blocklists. So, I'll be looking into switching to sinkzone. That said, my understanding is that applications can still make direct connections where an application connects using an IP address (without looking it up via DNS). I guess I use firewalls for that but haven't gotten around to adjusting anything from the defaults. Also could use a reverse proxy but haven't taken the time to set one of those up yet either. Does anyone have recommendations for a 'second step' on the network security path? Setup a PF router?
a022311•17h ago
Looks really streamlined!

Currently, when I need to focus, I use a separate device configured to block everything except 2-3 domains I really need to minimize distractions. What really makes Sinkzone interesting is the scheduling with focus mode which can be incredible useful. My current firewall, OpenSnitch only lets you toggle all rules at once, so Sinkzone could be useful for allowing just the focus domains.

I think a useful feature to consider is having different profiles which would essentially be collections of domains to allow. So you could have "focus", but also "work" or "kids" as well allowing for more flexibility.

As I previously mentioned, I'm currently using OpenSnitch [1] as a system-level firewall that has a similar allowlist-only functionality. While the popups to allow/reject a connection initially disturb your workflow, after a short period of usage, you end up with a small collection of rules and you'll pretty much only see them again when browsing new websites. The advantage over DNS-level blocking is that you also get to block per process and not just device (or network). Since it uses eBPF, processes can't get around it by using a different DNS server or something. I'm really missing profiles and scheduling though, so I hope you can build a viable alternative to switch to!

[1]: https://github.com/evilsocket/opensnitch

mlhpdx•16h ago
No DoH support? The browser seems like the source of distractions.
dominis•16h ago
Thank you for the idea, I've created an issue: https://github.com/berbyte/sinkzone/issues/1
cr125rider•15h ago
What does DoH mean?
mlhpdx•15h ago
DNS over HTTPS, which is something that browsers (optionally) use to keep DNS traffic in an encrypted channel.
suchoudh•4h ago
exactly my expection as well..
doodlebugging•15h ago
I see it has a Windows installer. I might have to try that on my old Win7 Pro system.

I will likely move on to Win10 now that it is ending support later this year so I might try there too. Windows support is best consumed in small chunks so once they deep-six Win10 it will be ready for consumption since the only "updates" it is likely to get are those strictly related to protecting it from malware.

Years ago there was a software firewall called SyGate that allowed a user to block everything and then set allow rules as they needed so that the only applications that could get out were those explicitly allowed by the user. The internet was young and there were fewer bad actors so it was way ahead of its time on the consumer side. You could install the free version or pay for a premium version. It was bought out in the late 90's I think by Norton or one of those other big units (Symantec?) who used all the good parts in their own "improved" firewalls, for a lot of money though.

I like this idea of blocking everything except the things you know you need.

57FkMytWjyFu•15h ago
https://github.com/henrypp/simplewall
mfro•15h ago
For application level firewalling like you describe I use:

https://github.com/tnodir/fort

SturgeonsLaw•12h ago
While we're throwing out recommendations for Windows software firewalls, I've previously used and liked Portmaster. Nice UI and its open source

https://safing.io/portmaster/

cagenut•15h ago
real devops pro contrarian move "what if I broke DNS so hard it actually made me better at my job"
suchoudh•4h ago
expected it to work on browser as well. but can use /etc/hosts file instead of allowlist which could also work
mountainplus•1h ago
How would you handle export / import functionality?

I really like the inversion of block to allow I think it makes sense.

In my use-case I would allow different lists for different profiles

(on the other hand I have blacklisted domains that I block regardless of using work / private / family profiles)