HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dbaupp

no profile record

Submissions

A tale of two path separators

alexwlchan.net
66 points·by dbaupp·قبل 26 يومًا·37 comments

Open Electricity Dispatch – May 2026

openelectricity.org.au
1 points·by dbaupp·قبل 29 يومًا·0 comments

Scaling Sameness

gradientinstitute.org
1 points·by dbaupp·قبل 3 أشهر·0 comments

Gell-Mann AImnesia

huonw.github.io
1 points·by dbaupp·قبل 3 أشهر·1 comments

Write broken commits for better review

huonw.github.io
2 points·by dbaupp·قبل 3 أشهر·2 comments

Great Docs: Beautiful Documentation for Python Packages

opensource.posit.co
1 points·by dbaupp·قبل 3 أشهر·0 comments

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

huonw.github.io
2 points·by dbaupp·قبل 4 أشهر·0 comments

Staying engaged with AI plans: give inline feedback

huonw.github.io
1 points·by dbaupp·قبل 5 أشهر·0 comments

Staying engaged with AI plans: give inline feedback

huonw.github.io
1 points·by dbaupp·قبل 5 أشهر·0 comments

Exact significance tests for 2 × 2 tables

janhove.github.io
1 points·by dbaupp·قبل 6 أشهر·0 comments

Screen Reader HTML Support – Lookup

tetralogical.github.io
3 points·by dbaupp·قبل 7 أشهر·0 comments

Recursive Project Search in Emacs

lukeplant.me.uk
36 points·by dbaupp·قبل 7 أشهر·0 comments

Magit-insert-worktrees improves status buffers

huonw.github.io
5 points·by dbaupp·قبل 7 أشهر·0 comments

Context privateering: debugging custom instructions like a pirate

huonw.github.io
3 points·by dbaupp·قبل 8 أشهر·0 comments

Git Rev News

git.github.io
1 points·by dbaupp·قبل 8 أشهر·0 comments

Bracket City Builder

builder.bracket.city
4 points·by dbaupp·قبل 9 أشهر·0 comments

Is that a deprecation? Or is it just removed?

huonw.github.io
1 points·by dbaupp·قبل 10 أشهر·1 comments

comments

dbaupp
·قبل 10 أشهر·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
·قبل 11 سنة·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
·قبل 12 سنة·discuss
Any estimates for how much income that would provide?