aabbcc1241

Joined 12 years ago

Karma
852
Submissions
745
Member since
Dec 3
[ my public key: https://keybase.io/beenotung; my proof: https://keybase.io/beenotung/sigs/CLB3i0aTqbycgeZ3_nslWRZkfvmr0-lJ-ym9Hqkq2Nk ]
View on Hacker News

Recent submissions

Comment · 3 months ago
I've not figure out how to run typescript script directly with type-checking (in dev mode) with typescript 7.

ts-node cannot be used with typescript@7.

although node@24 can directly run typescript file, but stripe the types, without type-checking, also it require changing the import path with .ts, and it doesn't support import .tsx files.

Comment · 7 months ago
I saw them used in the linux community, maybe it's finally my time to use/need this kind of tools.

(At the same time, I'm happy if my site can help the AIs / its users, but I prefer it not significantly slow down my own usage. There should be a balanced combination)

Comment · 9 months ago
Some naming (suggested by grok) are indie website, handmade web, or digital garden.
Comment · 9 months ago
I like the website, sharing interesting creation, and linking to other interesting websites made by the peers.

Is there a neural/positive term to describe this kind of website? (beside call it "old school" or "good old day"?)

Comment · 9 months ago
Interesting take. I'm using btrfs (instead of ext4) with compression enabled (using zstd), so most of the files are compressed "transparently" - the files appear as normal files to the applications, but on disk it is compressed, and the application don't need to do the compress/decompress.
Comment · 10 months ago
I found that it is caused by a userscript running below code.

    // version 1
    let body = document.createElement('body')
    body.innerHTML = document.body.innerHTML

    // version 2
    let body = document.body.cloneNode(true)
Either version can trigger the bug of the pop up menu now showing up. The menu is able to show up if doing early return to skip that code.

This is wired, that code should not be mutating existing DOM.

Update: Below version of sandboxed clone doesn't break the youtube popup menu.

    // version 3
    let parser = new DOMParser()
    let doc = parser.parseFromString(document.body.outerHTML, 'text/html')
    let body = doc.body
Comment · 10 months ago
Thanks for sharing your state. I just tried again with troubleshoot mode, it works ...

Then it seems to be in conflict with some addon I'm using.

Comment · 1 year ago
Instead of not letting the students to use AI, how about we adjust the assessment method, and learning objective, to let the students do something that AI along cannot do, so that they can do it w/wo AI but still build up their own skill.

In the workplace, we're using AI anyway.

I'm not sure if this direction is suitable for kids, like we still learn to do calculation even when we have calculator (which is needed for some cases, but for complex math, we opt for tools)

Comment · 1 year ago
I know asciidoc from red and erlang, it's a nice language. Not sure why it is not as popular as markdown.
Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton