HN user

moogly

2,916 karma
Posts6
Comments1,382
View on HN

Does MINI make their own software? I thought it was the same as BMWs with another skin. My BMW gets quarterly updates. Only once in the past year I've had it did I notice anything new (new voice assistant), otherwise it just resets my driver screen and sets my interior lighting on full blast every time it updates.

If Android Auto stopped working I'd also be livid because I don't use the built in crap.

Vite+ Beta 20 days ago

Sure. No need for --(experimental)-strip-types since I-forget-which-version, but I use Node.js 24.17 here.

  // ---- dev-ts-resolve.js
  export async function resolve(specifier, context, nextResolve) {
    try {
      return await nextResolve(specifier, context);
    } catch (err) {
      const isRelative = specifier.startsWith('./')
        || specifier.startsWith('../')
        || specifier.startsWith('/')
        || specifier.startsWith('file:');
      if (err?.code === 'ERR_MODULE_NOT_FOUND' && isRelative && specifier.endsWith('.js')) {
        return nextResolve(`${specifier.slice(0, -3)}.ts`, context);
      }
  
      throw err;
    }
  }
  // ---- dev-loader.js
  import { register } from 'node:module';
  
  register('./dev-ts-resolve.js', import.meta.url);
  // ----
usage:
  node --import ./dev-loader.js --watch-path=./src
Vite+ Beta 20 days ago

I transpile for prod, but use --strip-types when running in dev, and all I had to do was to make a 10-line ESM register hook that rewrites .js to .ts if the .js import fails, and then a one-liner import register trampoline script. Not sure I'd do that in prod, but works fine in dev at least.

This way I could just use node --watch instead of tsx or nodemon.

Hmm, is this a thing for enterprise accounts too? My employer has gone all-in on Claude, but if I get a pop-up that requires me to give my ugly mug to a literal cardinal enemy of the human race Peter Thiel, then I will have to seriously consider switching jobs, because I have some of them silly principles.

Deno Desktop 1 month ago

Targeting and building Tauri apps for Wayland, specifically, is a massive headache due to assorted webkitgtk bundling/incompatibility madness.

The demand just isn't there, which is one of the reasons SpaceX is pretending they will generate more demand with their cosmic wizard spires.

There are three options:

1. Israel is doing this in an outsized way compared to everyone else

2. Israel is extremely poor at doing it because it keeps getting caught

3. All the reporting is controlled by the antisemitic media conglomerates ruled by a shadowy council funded by Qatari money

I expect you to deny 1, 2 is an impossibility to you, 3 is the most likely I'd hear even though it's highly reminiscent of something...

Looking forward to option 4. I hope it's something more original than shouting "blood libel!".

The staunchest antizionists tend to be Jews. Pretty sure there are more self-professed Christian zionists living in America than Jewish zionists too.

It behooves everyone to stop equating antizionism with antisemitism, because doing that actually breeds the latter.