HackerTrans
TopNewTrendsCommentsPastAskShowJobs

aabbcc1241

no profile record

Submissions

Ask HN: AI companies' bots are making my server slow, what do you do?

3 points·by aabbcc1241·4 miesiące temu·4 comments

Show HN: Workaround for YouTube's "Save to Watch Later" Broken in Firefox

gist.github.com
2 points·by aabbcc1241·7 miesięcy temu·3 comments

comments

aabbcc1241
·3 miesiące temu·discuss
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)
aabbcc1241
·5 miesięcy temu·discuss
Some naming (suggested by grok) are indie website, handmade web, or digital garden.
aabbcc1241
·6 miesięcy temu·discuss
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"?)
aabbcc1241
·6 miesięcy temu·discuss
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.
aabbcc1241
·6 miesięcy temu·discuss
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
aabbcc1241
·6 miesięcy temu·discuss
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.
aabbcc1241
·10 miesięcy temu·discuss
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)
aabbcc1241
·3 lata temu·discuss
I built a starter template "create-rpc" [1] to help my freelancer friends to easily setup RPC API for Typescript projects.

The core is powered by meta-programming, aka code that further generates code.

It auto generate typed client SDK with named types for API input and output. And it comes with JWT integrated out of the box.

Compared to traditional untyped restful API over http, it helps developer to prototype and evolve the application with inferred type hint.

Upcoming improvement will be runtime type checking with cast.ts [2] or ts-type-check [3]

[1] https://www.npmjs.com/package/create-rpc

[2] https://www.npmjs.com/package/cast.ts

[3] https://www.npmjs.com/package/ts-type-check
aabbcc1241
·3 lata temu·discuss
I am not saying either party is better than another but I do not wish to live in a world that people are order of magnitude less willing to donate to FOSS developers than people posting sexy photos online.

Edit: maybe I used wrong comparison. Most of the income of the photo publishers should be from sales (to unlock paywall of exclusive content), not many will donation.
aabbcc1241
·5 lat temu·discuss
would be better if my votes only affect my search result
aabbcc1241
·5 lat temu·discuss
How about you just host for your own content? Then you can delete or edit them as you wish.
aabbcc1241
·6 lat temu·discuss
Similar to intercooler.js and LiveView?