frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: I modeled the Voynich Manuscript with SBERT to test for structure

https://github.com/brianmg/voynich-nlp-analysis
160•brig90•3h ago•39 comments

Spaced repetition systems have gotten way better

https://domenic.me/fsrs/
477•domenicd•7h ago•337 comments

$30 Homebrew Automated Blinds Opener

https://sifter.org/~simon/journal/20240718.html
56•busymom0•2h ago•20 comments

Ditching Obsidian and building my own

https://amberwilliams.io/blogs/building-my-own-pkms
75•williamsss•2h ago•99 comments

Show HN: Vaev – A browser engine built from scratch (It renders google.com)

https://github.com/skift-org/vaev
19•monax•1h ago•5 comments

Spaced Repetition Memory System

https://notes.andymatuschak.org/Spaced_repetition_memory_system
69•gasull•3h ago•2 comments

O(n) vs. O(n^2) Startups

https://rohan.ga/blog/startup_types/
35•ocean_moist•3d ago•33 comments

Show HN: Buckaroo – Data table UI for Notebooks

https://github.com/paddymul/buckaroo
39•paddy_m•3h ago•5 comments

Emergent social conventions and collective bias in LLM populations

https://www.science.org/doi/10.1126/sciadv.adu9368
22•jbotz•2h ago•2 comments

Show HN: Hardtime.nvim – break bad habits and master Vim motions

https://github.com/m4xshen/hardtime.nvim
124•m4xshen•7h ago•45 comments

Building my childhood dream PC

https://fabiensanglard.net/2168/index.html
54•todsacerdoti•4h ago•24 comments

In Memoriam: John L. Young, Cryptome Co-Founder

https://www.eff.org/deeplinks/2025/05/memoriam-john-l-young-cryptome-co-founder
123•coloneltcb•2d ago•9 comments

How the humble chestnut traced the rise and fall of the Roman Empire

https://www.bbc.com/future/article/20250513-what-chestnuts-reveal-about-the-roman-empire
16•bookofjoe•3d ago•1 comments

An Uplifting Origin of 86 (2001)

https://muse.jhu.edu/article/2832
15•susam•3h ago•3 comments

Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust

https://github.com/MinishLab/model2vec-rs
26•Tananon•4h ago•4 comments

Magic Leap One Bootloader Exploit

https://github.com/EliseZeroTwo/ml1hax
44•mmastrac•3d ago•3 comments

Show HN: A web browser agent in your Chrome side panel

https://github.com/parsaghaffari/browserbee
98•parsabg•7h ago•48 comments

Mystical

https://suberic.net/~dmm/projects/mystical/README.html
329•mmphosis•1d ago•40 comments

AniSora: Open-source anime video generation model

https://komiko.app/video/AniSora
303•PaulineGar•19h ago•165 comments

The RISC OS GUI

https://telcontar.net/Misc/GUI/RISCOS/
28•rbanffy•5h ago•4 comments

Working with Git Patches in Apple Mail (2023)

https://btxx.org/posts/mail/
30•todsacerdoti•6h ago•13 comments

Project Verona: Fearless Concurrency for Python

https://microsoft.github.io/verona/pyrona.html
142•ptx•3d ago•109 comments

Paper Mechanisms

https://cutfoldtemplates.com
49•downboots•8h ago•2 comments

Show HN: Chat with 19 years of HN

https://app.camelai.com/log-in?next=/hn/
83•vercantez•15h ago•47 comments

The Conquest of Hell Gate [pdf]

https://www.nan.usace.army.mil/portals/37/docs/history/hellgate.pdf
43•sklargh•7h ago•10 comments

Lessons from Mixing Rust and Java: Fast, Safe, and Practical

https://medium.com/@greptime/how-to-supercharge-your-java-project-with-rust-a-practical-guide-to-jni-integration-with-a-86f60e9708b8
105•killme2008•3d ago•33 comments

High Available Mosquitto MQTT on Kubernetes

https://raymii.org/s/tutorials/High_Available_Mosquitto_MQTT_Broker_on_Kubernetes.html
42•jandeboevrie•3d ago•18 comments

What Every Programmer Should Know About Enumerative Combinatorics

https://leetarxiv.substack.com/p/counting-integer-compositions
68•muragekibicho•3d ago•35 comments

Measure EEG with Arduino

https://www.instructables.com/Measure-EEG-With-ARduino/
22•Christiangmer•3d ago•11 comments

Show HN: Turn any workflow diagram into compilable, running and stateful code

https://workflows.diagrid.io/
91•yaronsc•4d ago•20 comments
Open in hackernews

High Available Mosquitto MQTT on Kubernetes

https://raymii.org/s/tutorials/High_Available_Mosquitto_MQTT_Broker_on_Kubernetes.html
42•jandeboevrie•3d ago

Comments

oulipo•6h ago
Wouldn't more modern implementations like EMQx be better suited for HA ?
seized•5h ago
VerneMQ also has built in clustering and message replication which would make this easy.
oulipo•5h ago
Have you tried both EMQx and VerneMQ and would you specifically recommend one over the other? I don't have experience with VerneMQ
bo0tzz•5h ago
EMQX just locked HA/clustering behind a paywall: https://www.emqx.com/en/blog/adopting-business-source-licens...
zrail•5h ago
Sigh that's annoying.

Edit: it's not a paywall. It's the standard BSL with a 4 year Apache revert. I personally have zero issue with this.

casper14•4h ago
Oh can you comment on what this means? I'm not too familiar with it. Thanks!
zrail•4h ago
BSL is a source-available license that by default forbids production use. After a certain period after the date of any particular release, not to exceed four years, that release automatically converts to an open source license, typically the Apache license.

Projects can add additional license grants to the base BSL. EMQX, for example, adds a grant for commercial production use of single-node installations, as well as production use for non-commercial applications.

bo0tzz•3h ago
It is a paywall, clustering won't work unless you have a license key.
zrail•1h ago
Yeah I see that now. Ugh.
jandeboevrie•5h ago
Would they work as performant and use the same amount of (less, almost nothing) resources? I've ran mosquito clusters with tens of thousands of connected clients, thousands of messages per second, on 2 cores and 2GB of ram, while mostly idling. (Without retention, using clean sessions and only QoS 0)...
jpgvm•4h ago
I built a high scale MQTT ingestion system by utilising the MQTT protocol handler for Apache Pulsar (https://github.com/streamnative/mop). I ran a forked version and contributed back some of non-proprietary bits.

A lot more work than Mosquitto but obviously HA/distributed and some tradeoffs w.r.t features. Worth it if you want to run Pulsar anyway for other reasons.

oulipo•23m ago
I was going to go for Redpanda, what would be the pro/cons of Pulsar you think?
andrewfromx•4h ago
when dealing with long lasting TCP connections, why add that extra layer of network complexity with k8s? I work for a big IoT company and we have 1.8M connections spread across 15 ec2 c8g.xlarge boxes. Not even using a NLB just round-robin DNS. Wrote our own broker with https://github.com/lesismal/nbio and use a packer .hcl file to make the AMI that each ec2 box boots. Using https://github.com/lesismal/llib/tree/master/std/crypto/tls to make nbio work with TLS.
stackskipton•2h ago
Ops type here who deals with this around Kafka.

It comes down to how much you use Kubernetes. At my company, just about everything is in Kubernetes except for databases which are hosted by Azure. So having random VMs means we need to get Ansible, SSH Keys and SOC2 compliance annoyance. So the workload effort to get VMs running may be higher than Kubernetes even if you have to put in extra hacks.

NewJazz•20m ago
You don't need ansible if it is all packed into the Ami.
avianlyric•12m ago
K8s itself doesn’t introduce any real additional network complexity, at least not vanilla k8s.

At the end of the day, K8s only takes care of scheduling containers, and provides a super basic networking proxy layer for convenience. But there’s absolutely nothing in k8s that requires you use that proxy layer, or any other network overlay.

You can easily setup pods that directly expose their ports on the node they’re running on, and have k8s services just provide the IPs of nodes running associated pods as a list. Then rely on either on clients to handle multiple addresses themselves (by picking an address at random, and failing over to another random address if needed), configure k8s DNS to provide DNS round robin, or put an NLB or something in front of it all.

Everyone uses network overlays with k8s because it makes it easy for services in k8s to talk to other services in k8s. But there’s no requirement to force all your external inbound traffic through that layer. You can just use k8s to handle nodes, and collect needed meta-data for upstream clients to connect directly to services running on nodes with nothing but the container layer between the client and the running service.

zrail•3h ago
To preface, I'm not a Kubernetes or Mosquitto expert by any means.

I'm confused about one point. A k8s Service sends traffic to pods matching the selector that are in "Ready" state, so wouldn't you accomplish HA without the pseudocontroller by just putting both pods in the Service? The Mosquitto bridge mechanism is bi-directional so you're already getting data re-sync no matter where a client writes.

edit: I'm also curious if you could use a headless service and use an init container on the secondary to set up the bridge to the primary by selecting the IP that isn't it's own.

jandeboevrie•2h ago
> so wouldn't you accomplish HA without the pseudocontroller by just putting both pods in the Service?

I'm not sure how fast that would be, the extra controller container is needed for the almost instant failover.

Answering your second question, why not an init container in the secondary, because now we can scale that failover controller up over multiple nodes, if the node where the (fairly stateless) controller runs goes down, we'd still have to wait until k8s schedules another pod instead of almost instantly.