Better HN
topnewbestaskshowjobs
Log inSign up

garbagepatch

117 karma · joined Dec 25, 2023 (2y ago) · 66 submissions

Submissions

comment 2w ago · link · parent

I don't know the size of the statue of liberty's book so I still don't have any idea what size the clock face is, just that they are similar in size.

comment 3w ago · link · parent

The NSA!

comment 1mo ago · link · parent

Writers/editors really, really like Wordpress for some reason, which is like 40% of the Internet, add to that all the other Php stuff. At $DAY_JOB we have a Wordpress instance behind our VPN and use the json API to send the articles to a front-end server written in something else. Forces us to duplicate some of the front-end plugin code (and we try to not use many) but we get peace of mind in exchange.

comment 2mo ago · link · parent

Google getting sued again and losing again and drag their feet to unlock it again while devising a new way to go against the court order again.

comment 2mo ago · link · parent

Matt, you shouldn't have picked a FLOSS license if you didn't intend for the software to be FLOSS in the first place.

comment 2mo ago · link · parent

Here is the whole saga until May 2025: https://gist.github.com/adrienne/aea9dd7ca19c8985157d9c42f7f...

comment 3mo ago · link · parent

Current ooxml/odt formats use a zip file with xml files inside (plus other files like images). I'd guess one way would be to store the xml itself as a blob and another to use a json field, which Sqlite stores in a more efficient format called jsonb: https://sqlite.org/json1.html#jsonb

comment 3mo ago · link · parent

Same here. Luckily you can show two apps at the same time in Android so I just put the password manager above the bank's app.

comment 3mo ago · link · parent

I was expecting to see some cool spy stuff in government's PS1 env vars not slop induced schizophrenia.

comment 4mo ago · link · parent

The people making the video are already making the information public, you are just making it more convenient. This strikes me as similar to downloading public court documents from a government site to make them available outside of their for-profit service.

comment 4mo ago · link · parent

When was this? I've only seen this "anti-rust" vibe in the past few weeks, guess triggered by the Bun rewrite. Zig people usually will tell you to use the right tool for the job over shilling the language or that you don't need to use it yet (if you want a stable language/documentation) the language will be there if you want to check it in a few years.

comment 5mo ago · link · parent

5 years.

The language itself will probably stabilize in maybe 3 years. The last things they'll do is work on the std lib, documentation, spec. That will take time but the language will be ready before then.

comment 5mo ago · link · parent

Most users don't need it. Having it on by default is a feature for malware writers not users.

But to your point, Node has had permission flags for a while[0] but allows everything by default. Npm could use them to increase security even more. I just hope it doesn't take them another 10 years to change the default.

[0] https://nodejs.org/api/permissions.html

comment 5mo ago · link · parent

I like the terminal aesthetics but please, for accessibility's sake, make input boxes look more like input boxes and buttons look like buttons.

comment 5mo ago · link · parent

Removes a barrier of entry if you can look at it from a browser instead of installing a CLI/TUI.

Don't try to make me install a random program if I can view it in my sandboxed browser safely.

Also, browsers have greasemonkey to help me personalize websites easily. TUIs don't.

comment 6mo ago · link · parent

I guess Bun had the better marketing then. I liked how every new feature came with a benchmark against the previous version and node. See this for example: https://xcancel.com/bunjavascript/status/2048228152397459590

I'd love to see a site comparing the 3 of them in a similar way.

comment 6mo ago · link · parent

To me it feels more like the old "this site only supports IE6". Instead of checking which JS engine the user has, check for specific api support and fail gracefully.

comment 6mo ago · link · parent

According to the bun team, it was already vibecoded for months before the Anthropic acquisition.

comment 7mo ago · link · parent

Does it use your tokens when it does this check for malware? or is that part covered by anthropic?

comment 7mo ago · link · parent

I misread that as "current times" and thought it would sing the news.

It does need more streams for other timezones.

comment 7mo ago · link · parent

Drop the AI written story, take me straight to the "Explore Your Record" view. That's more interesting.

comment 8mo ago · link · parent

If they managed to make 3 full movies out of The Hobbit, they'll surely be able to make a movie or 2 out of 6 chapters of LotR.

comment 8mo ago · link · parent

I'm sure plenty Americans are also laughing at this. No hypocrisy here.

comment 8mo ago · link · parent

There's a bunch of steps before prison that do not work.

comment 8mo ago · link · parent

And it's all a meta commentary on 915.

26.

A faithful, native Windows Notepad clone built in Zig using raw Win32 APIs(github.com ↗)

1 points · by garbagepatch · 9mo ago · 1 comment

comment 11mo ago · link · parent

All they left was the stopwords.

comment 1y ago · link · parent

Regarding runtime overhead, I'd assume you would still need an io implementation, it is just showing it to you explicitly instead of it being hidden behind the std lib.

For simple projects where you don't want to pass it around in function parameters, you can create a global object with one implementation and use it from everywhere.

comment 1y ago · link · parent

React Native is Javascript on top of the native toolkit of the platform. No HTML or CSS here.

comment 1y ago · link · parent

What's the problem with the mascot? PostgreSQL has an elephant and MySQL a dolphin. Is the bug too detailed for database software?
123