Elektrine lite

← Feed

Henri Sivonen

hsivonen@mastodon.social

<p>Making Firefox load about:blank correctly</p>

Posts

  • View post

    @paperlesspaper Do you have a firmware mode that turns off the radios (to have no remote attack surface) and allows images to be loaded via USB?

  • View post

    Corporations still occasionally react to press reporting. https://www.theverge.com/tech/970489/lg-mcafee-ads-windows-microsoft-crackdown

  • View post

    RE: https://zirk.us/@impermanen_/116977891606144492 There’s been a lot of “WTF Europe doesn’t have AC” lately, but Europeans have seen and used AC. Ezra Klein’s guest suggested that Americans would choose inductions stoves instead of gas stoves if they had experienced them. Can it be true that Americans who use gas stoves haven’t seen/used an induction one? I’m aware that the U.S. having made a bad voltage decision has effects that surprise Europeans, but it looked to me like gas stoves are a...

  • View post

    Feels weird to write code to support Firefox on ARMv7 Android. I don’t even know what kind of CPUs users run it on in practice: actual ARMv7 CPUs or on ARMv8 CPUs with 32-bit software stack like folks running 32-bit Windows on x86_64 CPUs. I don’t have ARMv7 hardware anymore. I guess I will have to find an old 32-bit Linux distro image that boots on Raspberry Pi 3 to see if my code runs.

  • View post

    TIL: 1) Floating-point to integer cast can be UB in C++. 2) The convener of the C++ committee dismissed this a “benign” UB not worth defending against in the Guidelines Support Library. 3) The UB can cause LLVM to delete a bound check https://github.com/microsoft/GSL/issues/786#issuecomment-5127325234

  • View post

    What’s the deal with notion that American AI data centers are noisy very noisy due to cooling? I’ve walked past Telia’s Helsinki data center in summer time, and it doesn’t make noise, smell, or emit visible fumes. It’s the size of a city block and there’s a regular sidewalk right in front. Just better design and/or regulation or fundamentally different hardware inside? (It’s likely more CDN servers than GPUs, but both require some level of cooling.)

  • View post

    Two things where Rust chooses principle over practicality with SIMD and that annoy me right now: 1. Calling a function annotated with a target_feature from a function not so annotated requires unsafe even if the target_feature is statically enabled. (E.g. sse2 on x86_64.) 2. is_x86_feature_detected! is in std rather than core despite using an instruction and not a syscall. (There is even https://docs.rs/core_detect/ .)

  • View post

    The UTF-8 to UTF-16 and UTF-16 to UTF-8 conversions in the simdutf library use large lookup tables. Mere throughput benchmarks don’t measure how the perf of other stuff is affected by (at least parts of) the tables ending up in L1 cache and evicting something else. I fail to find a blog post characterizing the performance impact in an application context, e.g. in Chromium or WebKit. Does such a blog post exist?

  • View post

    Losing the Google Earth desktop app and getting an image generator in Google Earth does not look like a good trade.

  • View post

    RE: https://mastodon.social/@andrewrk/116889478874166045 Made me look up Thiel Fellowship on Wikipedia: https://en.wikipedia.org/wiki/Thiel_Fellowship

  • View post

    RE: https://mastodon.social/@LukaszOlejnik/116799318435434871 Makes one wonder how much of Open AI eating all RAM, storage, GPUs, and energy is about essential requirements of what’s being computed and how much of all this is about a culture of moving fast and using resources without bound.

  • View post

    What’s going to happen first due to the situation with LLMs and security bug finding: Microsoft issues a patch to Windows 10 even for computers not enrolled into ESU to fix something really bad or a major LTS Linux distro declares kernel patch backporting bankruptcy and rolls the kernel forward instead of backporting?

  • View post

    The RAM shortage is caused by purchases or expressions of intent to purchase between American buyers and American and South Korean sellers. Would the U.S. government have intervened if the buyers / expressers of intent to buy were in China instead of being in the U.S.?

  • View post

    @atpfm Regarding Neoing a display: Similar to what @siracusa said on @gruber’s podcast about how other people didn’t see that Macs had the right-sized pixels at the turn of the 1980s and 1990s, today the need for a site like https://retinadisplays.com/ shows that other people aren’t properly appreciating 218 ppi displays. One might assume that one could buy a 3840 × 2160, 218 ppi display for less money than the non-XDR 5K Studio Display (1st or 2nd gen), but that’s not an available product.

  • View post

    Is there a Linux distro that is set up for running x86 Windows games inside UTM with Virgl on Apple Silicon Macs such that the game is emulated but most of Wine internals and Mesa run as aarch64 code?

  • View post

    @freddy Project Zero reports don’t have a slop reputation, though, and there are takes that see Project Zero reports as hostile demands to do work benefiting Google. (Hence my point about Google’s ffmpeg use likely already being better sandboxed than VLC.)

  • View post

    TIL that with iOS set to fi-FI, in the Contacts app, adding a birthday when a contact does not already have one set always sets a Gregorian birthday. However, setting a second birthday defaults to a Hijri birthday with possibility to switch to Hebrew, Chinese, Korean, or Vietnamese. Now I have questions: Which Hijri calendar variant is this? ICU4C has four variants. What’s the Vietnamese calendar back end? ICU4C doesn’t have one. Does the Vietnamese calendar still have a maintenance authority?

  • View post

    Reminder that Mozilla has been bundling multiple memory-safety bugs under one CVE number for, *checks notes*, a couple of decades. https://www.mozilla.org/en-US/security/advisories/mfsa2006-68/

  • View post

    I’m a bit annoyed when folks use 🦀 to refer to reckless use of LLM agents. 🦀 is for Rust. 🦞is the OpenClaw emoji.

  • View post

    I remember a colleague replying to a question about C++ exceptions not being allowed in Firefox by saying that humans can’t write exception-safe C++. Looking at recent soundness bugs both in the Rust standard library and elsewhere in the crate ecosystem, it appears that humans can’t write unwind-safe unsafe Rust, either. (Rust panics abort in Firefox.)

  • View post

    And, yes, the Anthropic Mythos post fits a previously-seen pattern of “AI” companies marketing by danger, but saying that it’s marketing does not refute what the models that are already generally offered can do. And people act like their own conjecture is more informative than what people from multiple projects that deal with security bug reports say. See e.g. https://mastodon.social/@bagder/116363034479757682 .

  • View post

    Journalists who are impressed by how fast an LLM generates kLOCs clearly haven’t internalized this classic clip from the Triumph of Nerds of Steve Ballmer talking about IBM and kLOCs: https://www.youtube.com/watch?v=kHI7RTKhlz0 (Documentary from 30 years ago discussing time from around 40 years ago.)

  • View post

    The most recent boost does not want to be quote-tooted, so here’s a separate link to llama.cpp’s AGENTS.md: https://github.com/ggml-org/llama.cpp/blob/master/AGENTS.md

  • View post

    RE: https://mathstodon.xyz/@clemens/116327545888885411 It’s April 1st, so I’m checking stuff even more than usual, but this looks like it’s in actual legalese on the actual Microsoft Web site.

  • View post

    What a mess. I found an older CLDR bug: In the 1940s, London has been even at GMT+2 such that tzdb analyzes both GMT+1 and GMT+2 as daylight-saving time. Since CLDR in en-GB has a single daylight-saving time abbreviation for London, both GMT+1 and GMT+2 are formatted as “BST”.

  • View post

    Shortly after learning about the British Columbia time zone change I asked folks from Ontario if BC is actually calling their new time zone “Pacific Time” or if it was a failure to edit out old stuff on Wikipedia. Apparently BC really wants to call the new thing “Pacific Time”. See https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/IEZR4HYQXZTUMGRA7FEZJAKAOGFGOPIP/ for the software implications. (In general, abolishing daylight-saving time by remaining on the old standard time is much...

  • View post

    Today in Web compat: Firefox and Safari are ahead of Chrome in ICU4C version and upsteam ICU4C changed the formatting of zero offset from GMT. This broke birthday date validation for a UK based site for birthdays before 1970 in Firefox and, on 26.x Apple OSs, in Safari, because the site performs a formatting-based check on the time zone of London on the date to be validated and the UK has changed time zone rules along the way.