yen is building stuff
@weiyen.net
190 followers 270 following 420 posts
I post about databases, web development, software engineering and other nerdy stuff. Sydney 🇦🇺 Website: https://weiyen.net
Posts Media Videos Starter Packs
weiyen.net
Closures are a poor man's object

Objects are a poor man's closure
weiyen.net
I've always maintained that lab-grown meat companies should be giving us forbidden meats like the dodo, instead of $50/kg beef
weiyen.net
I'm scrolling my phone in bed to distract myself from the regrets of things I never did because I'd rather scroll my phone in bed
weiyen.net
The average browser user makes about 20,412 bookmarks per day. Making them confirm every bookmark is just mean.
weiyen.net
There's a funny vicious cycle where the US needs robots to catch up in manufacturing output, but robots are manufactured too...
weiyen.net
Still, I'm fairly certain AI-generated videos will be used for 80% entertainment, 20% disinformation
weiyen.net
Some points I can think of

- the underlying world model can yield interesting results (as the article says)

- cheap, quality educational videos on arbitrary topics could be great. Sora is nowhere able to produce this yet.
weiyen.net
As someone who has found LLMs to be very useful, I cannot see the upside to having AI-generated videos.

What is the strongest steelman case for Sora-like technology being good for society?
weiyen.net
I try to be clear about what form of AI I'm talking about.

I was chatting with someone about their experience with "AI", and then I realised they were referring to Bixby
avengingfemme.bsky.social
wild how often i see antis casually claim their main experience with AI is the Google search AI Overview and then pontificating seriously about the implications for AI in general based on that experience, when literally every single AI user and also the people at Google all hate that specific tool
weiyen.net
Only the elite know this, but there is a secret third direction stocks can go
weiyen.net
The real takeaway from this is that golf courses are really water intensive
weiyen.net
Born too late to invent perceptrons

Born too early to witness AGI

Born just in time to see ChatGPT get a roulette addiction
weiyen.net
It's a research project that went out of hand
weiyen.net
Bluesky Premium accounts
weiyen.net
Tried it. Everything was a hallucination
weiyen.net
I see what you mean, and have experienced this at various companies.

This is a little bit surprising to hear from Uber though, given their entire business model is based on mobile apps.
weiyen.net
Too many arguments out there only work if you believe that the human brain is somehow immune to the laws of physics and computation
weiyen.net
The emotional levers that can be pushed and prodded to override our rational mind are still present in all of us.

All the internet did was to give people direct access to each other's levers.
weiyen.net
It's probably "probably"
weiyen.net
TIL I've been using the Soviet inch all this while 😅
weiyen.net
TIL we have 4 different types of horsepower, including a metric horsepower.
There are many different standards and types of horsepower. Two common definitions used today are the imperial horsepower as in "hp" or "bhp" which is about 745.7 watts, and the metric horsepower also represented as "cv" or "PS" which is approximately 735.5 watts. The electric horsepower "hpE" is exactly 746 watts, while the boiler horsepower is 9809.5 or 9811 watts, depending on the exact year.
weiyen.net
There's nothing more cursed than all-caps Python
weiyen.net
weiyen.net
My favourite piece of Rust-lang trivia: The bit of code in the Rust compiler that unescapes '\n' into the newline character does it by mapping '\n' to itself!

Nowhere in the rust compiler is it explicitly defined that '\n' maps to the newline character 0x0A.

github.com/rust-lang/ru...
fn scan_escape<T: From<char> + From<u8>>(
    chars: &mut Chars<'_>,
    mode: Mode,
) -> Result<T, EscapeError> {
    // Previous character was '\\', unescape what follows.
    let res: char = match chars.next().ok_or(EscapeError::LoneSlash)? {
        '"' => '"',
        'n' => '\n',
        'r' => '\r',
        't' => '\t',
        '\\' => '\\',
        '\'' => '\'',
        '0' => '\0',

...


Screenshot taken from https://github.com/rust-lang/rust/blob/17067e9ac6d7ecb70e50f92c1944e545188d2359/compiler/rustc_lexer/src/unescape.rs#L240