HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dbaupp

no profile record

Submissions

A tale of two path separators

alexwlchan.net
66 points·by dbaupp·vor 26 Tagen·37 comments

Open Electricity Dispatch – May 2026

openelectricity.org.au
1 points·by dbaupp·vor 28 Tagen·0 comments

Scaling Sameness

gradientinstitute.org
1 points·by dbaupp·vor 3 Monaten·0 comments

Gell-Mann AImnesia

huonw.github.io
1 points·by dbaupp·vor 3 Monaten·1 comments

Write broken commits for better review

huonw.github.io
2 points·by dbaupp·vor 3 Monaten·2 comments

Great Docs: Beautiful Documentation for Python Packages

opensource.posit.co
1 points·by dbaupp·vor 3 Monaten·0 comments

Why don't multi-column indices help queries on the second column?

huonw.github.io
2 points·by dbaupp·vor 4 Monaten·0 comments

Staying engaged with AI plans: give inline feedback

huonw.github.io
1 points·by dbaupp·vor 5 Monaten·0 comments

Staying engaged with AI plans: give inline feedback

huonw.github.io
1 points·by dbaupp·vor 5 Monaten·0 comments

Exact significance tests for 2 × 2 tables

janhove.github.io
1 points·by dbaupp·vor 6 Monaten·0 comments

Screen Reader HTML Support – Lookup

tetralogical.github.io
3 points·by dbaupp·vor 7 Monaten·0 comments

Recursive Project Search in Emacs

lukeplant.me.uk
36 points·by dbaupp·vor 7 Monaten·0 comments

Magit-insert-worktrees improves status buffers

huonw.github.io
5 points·by dbaupp·vor 7 Monaten·0 comments

Context privateering: debugging custom instructions like a pirate

huonw.github.io
3 points·by dbaupp·vor 8 Monaten·0 comments

Git Rev News

git.github.io
1 points·by dbaupp·vor 8 Monaten·0 comments

Bracket City Builder

builder.bracket.city
4 points·by dbaupp·vor 9 Monaten·0 comments

Is that a deprecation? Or is it just removed?

huonw.github.io
1 points·by dbaupp·vor 10 Monaten·1 comments

comments

dbaupp
·vor 10 Monaten·discuss
UTF-8 encodes each character into a whole number of bytes (8, 16, 24, or 32 bits), and the 10 continuation marker is only at the start of the extra continuation bytes, it is just data when that pattern occurs within a byte.

You are correct that it never occurs at the start of a byte that isn’t a continuation bytes: the first byte in each encoded code point starts with either 0 (ASCII code points) or 11 (non-ASCII).
dbaupp
·vor 11 Jahren·discuss
> Swift is not garbage collected in the slightest. ARC is not garbage collection.

Reference counting and tracing garbage collections are two ends of the spectrum of ways to handle dynamic allocation graphs (aka "garbage collection").

http://www.cs.virginia.edu/~cs415/reading/bacon-garbage.pdf

> In any case, I don't see what garbage collection has to do with safety or the borrow checker.

The borrow checker is what allows Rust to be safe and performant without garbage collection. It's literally the feature that gives Rust that power.

> I think "you just promise the compiler that it's safe" is an accurate summary of that feature.

A lot of programming (not just in Rust) is like this: the programmer promises that the library interface they expose does what they say it does, promise that any use of ctypes (in Python, for instance) won't corrupt the interpreter state, etc.

This isn't much different. The standard library will follow those that guidelines (i.e. something in the standard library implements Sync if and only if it satisfies that definition) and we expect library/application authors to do the same. The rule is to provide the programmer with assistance, it's not just to be annoying. It's your own fault if you shoot your own foot off by disobeying it (hence throwing away the assistance the compiler can provide you).

In any case, Rust has the `unsafe` keyword, a structured mechanism for making promises to the compiler, allowing one to easily see the possible locations that could cause memory corruption/unsafety. Overriding the compilers judgement that a type isn't thread-safe is no different: it requires `unsafe`.

> the higher-cost fruit like multithread safety I don't want. I think those features are Bad (TM).

FWIW, I think the multithreading safety is the really interesting and awesome part of Rust. Pretty much no other industry language attempts to tackle the problem of writing safe, low-level, high-performance, highly-parallel/highly-concurrent programs. Rust's system for this is quite general and flexible.
dbaupp
·vor 12 Jahren·discuss
Any estimates for how much income that would provide?