pgt

Joined 12 years ago

Karma
3,659
Submissions
938
Member since
Mar 5
Petrus G. Theron

BEng Electrical Engineering w/Comp. Sci (Stellenbosch, 2010). Former CTO of CloudAfrica, weFix.

Making software professionally for 20+ years, ideally with Clojure, Electric Clojure & Datomic. Based in Cape Town, South Africa.

Links:

- EACL is a situated ReBAC Authorization inspired by SpiceDB, built in Clojure & backed by Datomic Pro, Datahike or DataScript: https://github.com/theronic/eacl

- Twitter / X: https://twitter.com/BraaiEngineer

- Top 2% on StackOverflow: https://stackoverflow.com/users/198927/petrus-theron (they hide rankings now)

- Grug's Guide to Sound (I used to sell high-fidelity amplifiers): https://petrustheron.com/posts/2024-12-12-grug-guide-to-sound.html

- ExplainGame: The Party Explanation Game (explaingame.com) (mobile-friendly, built in Electric Clojure)

- BraaiSim: Braai Simulator (braaisim.com) (mobile-only, Electric Clojure)

- Essays: http://petrustheron.com/

- GitHub: https://github.com/theronic

- Wallfly Smart Volume Control — https://wallfly.webflow.io/

- Music: http://theronic.com/

(Old HN account was @FreshCode)

View on Hacker News

Recent submissions

Comment · 1 month ago
Jev will continue to do well because people don't actually want to host their own models. The average customer just want an always-on pay-per-use API that has social proof.
Comment · 1 month ago
This is great, but why did it have to be YAML?
Comment · 1 month ago
https://github.com/theronic/eacl – EACL: Enterprise Access ControL is a situated ReBAC authorization library inspired by SpiceDB, built in Clojure and backed by Datomic Pro, Datahike, Datalevin or DataScript.

"Situated" here means that permissions are just data that co-exist with your application data. This has several advantages: reduced network latency, strong local consistency and opportunities for real-time view maintenance.

- EACL Performance Demo: https://demo.eacl.dev/ (1M permissioned entities, 3.8M Relationships)

- A toy Google Drive clone (runs in-browser): https://drive.eacl.dev/ (4-minute screen recording here: https://x.com/BraaiEngineer/status/2099284919532896675?s=20)

- Rationale: https://eacl.dev/#rationale

EACL V8 RC was released to Clojars on 12 September 2026: https://clojars.org/dev.eacl/eacl

EACL handles authorization in the Datahike HTTP Server: https://github.com/replikativ/datahike/blob/1ea8972a980e2e3b...

Comment · 1 month ago
Does anybody have a link where I don't need to download a PDF and zoom and it's still messed up for reading? I just want HTML, mannn.
Comment · 1 month ago
This is suicide for Gmail.
Comment · 2 months ago
Pre-October 2025, maybe yes. But now? Couldn't disagree more. There is no insight in this post.
Comment · 2 months ago
Most Ketamine users are unaware that even occasional usage causes untreatable ulcerative cystitis, a.k.a. Ketamine Bladder Syndrome. Ketamine thins the urothelium while increasing the collagen to smooth muscle ratio and exacerbating interstitial fibrosis. The syndrome is untreatable and causes serious problems down the line.

So, for anyone thinking of using Ketamine on the regular or even monthly, there is good evidence that EGCG (epigallocatechin gallate) administered 30 minutes before prevents KBS (Ketamine Bladder Syndrome), in rats: https://www.sciencedirect.com/science/article/pii/S187952261...

This promising rat study from 2015 shows that EGCG extracted from green tea has a protective effect on the bladder, reversing ketamine-induced damage to control levels. So if you are taking ketamine for major depression or recreationally, taking EGCG before may prevent long-term bladder damage.

Summary from the study:

# Objective

To investigate the protective effect of green tea epigallocatechin gallate (EGCG) on long-term ketamine-induced ulcerative cystitis (KIC) using a ketamine addiction rat model.

# Materials and methods

Thirty Sprague-Dawley rats were divided into three groups which received saline, ketamine (25 mg/kg/d), or ketamine combined with EGCG (10 μM/kg) for a period of 28 days. In each group, cystometry and a metabolic cage micturition pattern study were performed weekly. Masson's trichrome study was done to evaluate the morphologic changes. Western blot analyses were carried out to examine the expressions of inflammatory protein [transforming growth factor-β (TGF-β)] and fibrosis proteins (fibronectin and type I collagen) in bladder tissues.

# Results

Chronic ketamine treatment resulted in bladder hyperactivity with a significant increase in micturition frequency and a decrease in bladder compliance. These alterations in micturition pattern were accompanied by increases in the expressions of inflammatory and fibrosis markers, TGF-β, fibronectin, and type I collagen after long-term ketamine treatment. Masson's trichrome stain showed that ketamine treatment decreased urothelium thickness while increasing the collagen to smooth muscle ratio and exacerbating interstitial fibrosis. By contrast, simultaneous EGCG and ketamine treatment reversed ketamine-induced damage to almost control levels, showing the protective effect of EGCG.

Comment · 2 months ago
hmm, I suspect distributed systems can be modelled with a form of probabilistic borrow-checking as long as you have control all the connected systems.
Comment · 3 months ago
It matters because it means that lab could not train that model without distilling another frontier model, and their progress would slow once they get properly cut-off. If I funded that lab, I would want to know that.
Comment · 3 months ago
Comment · 3 months ago
This is helpful, because practically many functions in the wild have assert-like checks at the top of the function, e.g.

`(if-not key1 (throw (Exception ...))`

...and pre-conditions, e.g. `:pre [condition1 condition2]` do not run when `assert` is off.

Comment · 4 months ago
Previously: https://news.ycombinator.com/item?id=40248231

tldr; Starlink doesn't work in South Africa, Elon's home country, because the ANC and its lawfare arm ICASA demands they hand over 30% to the State because of BEE laws.

Comment · 4 months ago
Very cool! Idea: show the definition of the word when you find it, so you can learn new words.

(edit: ah, I see they are shown later)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton