HackerTrans
TopNewTrendsCommentsPastAskShowJobs

garbagepatch

92 karmajoined 3 वर्ष पहले

Submissions

A faithful, native Windows Notepad clone built in Zig using raw Win32 APIs

github.com
1 points·by garbagepatch·5 माह पहले·1 comments

comments

garbagepatch
·कल·discuss
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.
garbagepatch
·पिछला माह·discuss
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.
garbagepatch
·पिछला माह·discuss
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
garbagepatch
·पिछला माह·discuss
I like the terminal aesthetics but please, for accessibility's sake, make input boxes look more like input boxes and buttons look like buttons.
garbagepatch
·पिछला माह·discuss
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.
garbagepatch
·2 माह पहले·discuss
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.
garbagepatch
·2 माह पहले·discuss
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.
garbagepatch
·2 माह पहले·discuss
According to the bun team, it was already vibecoded for months before the Anthropic acquisition.
garbagepatch
·3 माह पहले·discuss
Does it use your tokens when it does this check for malware? or is that part covered by anthropic?
garbagepatch
·3 माह पहले·discuss
I misread that as "current times" and thought it would sing the news.

It does need more streams for other timezones.
garbagepatch
·3 माह पहले·discuss
Drop the AI written story, take me straight to the "Explore Your Record" view. That's more interesting.
garbagepatch
·4 माह पहले·discuss
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.
garbagepatch
·4 माह पहले·discuss
I'm sure plenty Americans are also laughing at this. No hypocrisy here.
garbagepatch
·4 माह पहले·discuss
There's a bunch of steps before prison that do not work.
garbagepatch
·4 माह पहले·discuss
And it's all a meta commentary on 915.
garbagepatch
·7 माह पहले·discuss
All they left was the stopwords.
garbagepatch
·8 माह पहले·discuss
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.
garbagepatch
·8 माह पहले·discuss
React Native is Javascript on top of the native toolkit of the platform. No HTML or CSS here.
garbagepatch
·10 माह पहले·discuss
What's the problem with the mascot? PostgreSQL has an elephant and MySQL a dolphin. Is the bug too detailed for database software?
garbagepatch
·10 माह पहले·discuss
I wonder, does the important_value function get called and the value discarded or never called at all? Looks like a footgun if it has side-effects.