Daniel Augusto

@spectraldani@sigmoid.social
30 Followers
150 Following
151 Posts
PhD student at UCL. Working on Gaussian Processes. I love everything mathy, videogames, and languages. 🇧🇷
Homepagehttps://spectral.space/
PronounsHe/Ele/Él

C mistakes among the vulnerabilities present in #curl code

(C mistakes are vulnerabilities that were caused by a mistake that "probably would not have been possible" had we not been using C for curl. Manually assessed for each case.)

linkspam!

How core git developers configure git.

https://blog.gitbutler.com/how-git-core-devs-configure-git/

saved 2025-02-25 https://dotat.at/:/11LIJ.html

How Core Git Developers Configure Git

What `git config` settings should be defaults by now? Here are some settings that even the core developers change.

GitButler
"this app could have been a website"
New paper accepted! In which circunstances can we use abundant proxy preferences to quickly learn true preferences? I'm glad to announce our paper explores and proposes a model for one of these cases. Check out more on Yuchen's thread in Bluesky https://bsky.app/profile/zhuyuchen.bsky.social/post/3lo4n2tspys2w . #ICML2025 #ICML
Yuchen Zhu (@zhuyuchen.bsky.social)

New work! 💪🏻💥🤯 When Can Proxies Improve the Sample Complexity of Preference Learning? Our paper is accepted at @icmlconf.bsky.social 2025. Fantastic joint work with @spectral.space, Zhengyan Shi, @meng-yue-yang.bsky.social, @neuralnoise.com, Matt Kusner, @alexdamour.bsky.social. 1/n

Bluesky Social
I designed the 12-bit rainbow palette for use on https://grid.iamkate.com. It consists of twelve colours chosen with consideration for how we perceive luminance, chroma, and hue. The palette uses a 12-bit colour depth, so each colour requires only four characters when specified as a hexadecimal colour code in a CSS or SVG file. For more details, see https://iamkate.com/data/12-bit-rainbow/
National Grid: Live

Shows the live status of Great Britain’s electric power transmission network

Today Melissa Lewis over on BlueSky pointed out that the font used in the infamous "You wouldn't steal a car" anti-piracy campaign was actually designed by Just van Rossum, whose brother, Guido, created the Python programming language (bsky.app/profile/melissa.news/post/3ln7hx5rhcj2v)

She also pointed out that the font had been cloned and released illegally for free under the name "XBAND Rough". Naturally, it would be hilarious if the anti-piracy campaign actually turned out to have used this pirated font, so I went sleuthing and quickly found a PDF from the campaign site with the font embedded (
web.archive.org/web/20051223202935/http://www.piracyisacrime.com:80/press/pdfs/150605_8PP_brochure.pdf).

So I chucked it into FontForge and yep, turns out the campaign used a pirated font the entire time!
Melissa Lewis (@melissa.news)

TIL: The 2000s piracy PSA used a font designed by the fantastic Just van Rossum, whose brother Guido created the Python programming language. https://fontsinuse.com/uses/67480/piracy-it-s-a-crime-psa

Bluesky Social
♂️⬅️♊

Here is a new reasoning principle which I have not encountered before.

Majority Decision Principle:

Given propositions p₁, p₂, p₃ and q, suppose
(1) ¬pᵢ ⇒ ¬q ∨ ¬¬q, for i = 1, 2, 3
(2) pᵢ ⇒ ¬pⱼ, for i ≠ j
Then ¬q ∨ ¬¬q.

The principle is classically valid, but not intuitionistically provable. Nevertheless, it is realized by a program, here's the idea. Suppose we are given three algorithms for the same decision problem, but any one of them might be faulty—producing a wrong answer or no answer at all. Interpreting pᵢ as “the i-th algorithm is faulty,” condition (1) says that a non-faulty algorithm makes the correct decision, and condition (2) ensures that at most one algorithm is faulty. In this situation, we can make the decision by running all three algorithms in parallel and waiting for two of them to agree.

To turn this into a program, we need a model of computation that supports interleaving or parallel execution. So the validity of the principle depends on the computational model. For instance, Turing machines can realize it, since a machine can be constructed that interleaves multiple computations. It should be impossible to realize the principle in λ-calculus, although I don’t have a proof.

You might be tempted to generalize the conclusion to q ∨ ¬ q, but that won't work: if two realizers claim to have realized q, we don't know which one provided a valid realizer for q (realizing q requires evidence, but realizing ¬q does not).

There will be “k out of n” variations. Here's one, as an exercise: give a Majority Decision Principle whose conclusion is ¬q ∨ ¬r where q and r are arbitrary.

This is a great example of why the web rocks. Safari and Chrome disagreed on the spec, so we ended up with a third, better spec. This wouldn't happen if one company controlled everything: https://webkit.org/blog/16587/item-flow-part-1-a-new-unified-concept-for-layout/
Item Flow, Part 1: A new unified concept for layout

CSS Grid and Flexbox brought incredible layout tools to the web, but they don’t yet do everything a designer might want.

WebKit
Typst 0.13 releases today! This update is all about listening to feedback. Read on to find out which of the most highly anticipated changes we made.