HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mihaelm

no profile record

Submissions

[untitled]

3 points·by mihaelm·4개월 전·0 comments

comments

mihaelm
·지난달·discuss
Do you maybe know some Rust? I'm also not that experienced with FP languages, but Gleam felt familiar enough, due to some Rust-isms, to allow me to focus more on the concepts rather than the syntax. Granted, I spent a few afternoons with it, but if I were to pick a FP language again to wrestle my brain into submission, I'd probably go with Gleam due to familiarity.
mihaelm
·지난달·discuss
Less mosquitoes, more bees please :)
mihaelm
·지난달·discuss
More generally, it's known as the sterile insect technique and you'll find plenty of campaigns with some googling.
mihaelm
·지난달·discuss
Microsoft's recent track record with Windows 11 seems to have kickstarted another Win -> Linux migration wave.
mihaelm
·지난달·discuss
`pnpm` also has that and it's on by default since `v11`:

https://pnpm.io/settings#minimumreleaseage
mihaelm
·지난달·discuss
I just use `pnpm` and set up a liberal `minimumReleaseAge`: https://pnpm.io/settings#minimumreleaseage

Thankfully, it's on by default since v11.
mihaelm
·지난달·discuss
They're probably refering to their strict "No LLM / No AI" policy: https://codeberg.org/ziglang/zig/src/branch/master/README.md...

which applies to contributing to the Zig project.

The "contributor poker" blog post should probably be a required reading to understand where it comes from: https://kristoff.it/blog/contributor-poker-and-ai/

"Anti-AI stance" is painting it with too broad of a brush. You're definitely not breaching any CoC or whatever by using AI for your Zig projects.
mihaelm
·2개월 전·discuss
I always wanted my car to feel like a plane pilot cabin.
mihaelm
·2개월 전·discuss
Dunno, people hate the all-touch trend so much (I've never come across someone who likes it), it surprised me it took them so long to reverse course.
mihaelm
·2개월 전·discuss
I read it as finding a happy medium between analog and digital i.e. people will love the big screen if they still have physical buttons for all the functions they use often while driving. If you force them to fiddle around with touch screen for everything, they'll hate the big screen alltogether because the experience frustrates them.
mihaelm
·3개월 전·discuss
It's more the hope that he can bring the culture embedded in the hardware division over to software, which hopefully results in better software.
mihaelm
·3개월 전·discuss
Small countries are already doing this through the Internet since so much of the consumed content is in English.
mihaelm
·3개월 전·discuss
Sure, this is the issue tracking the work: https://codeberg.org/ziglang/zig/issues/30677

The idea is to offer some kind of CLI parsing in the std. It says minimal, but the discussion also veers into some more advanced options.

The discussion resulted in two PRs (that I know of):

- Type-driven: https://codeberg.org/ziglang/zig/issues/30677

@dotcarmen extracted it into a package (https://codeberg.org/dotcarmen/clip) so people could more easily try it out.

- Composition-based: https://codeberg.org/ziglang/zig/pulls/31620

If you're familiar with Rust's clap, it's a bit like derive vs builder API.

You can also see how each approach would look in practice if you inspect the diff for the "tools" directory on the PRs.
mihaelm
·3개월 전·discuss
I didn't understand him that way. It's more that it helps if people can more easily pick up a foreign language, or solidify their skills, along the way through media. Doubly so when it's a lingua franca like English.

Though for you, I understand you might have been peeved if people kept switching to English when you just wanted to practice Dutch.
mihaelm
·3개월 전·discuss
Subtitles all the way. Only advantages of dubbing I can see is accessibility for vision impaired and employment opportunities for local VA talent.

But dubbed live action media is such a horrid experience for me.
mihaelm
·3개월 전·discuss
The approach feels like a natural extension of Zig's philosophy about explicitness around low-level operations (no hidden control flow, no hidden memory allocations, etc.). Your function can be blocking? Communicate that through the function signature! Very in style for the language.
mihaelm
·3개월 전·discuss
Obviously, I/O as an interface is the headliner here, but there are lots of other goodies to pay attention to, such as the "juicy main".

Small integers auto coercing into floats is a nice gift to game devs. It's nice that game dev is acknowledged as one of the niches Zig can target as I believe it could really thrive there due to how easily it can integrate with C & C++. Or, rather, more easily than the alternatives.
mihaelm
·3개월 전·discuss
It's the dark horse of this release as CLI parsing can also be more easily built on top of it. There's a couple of proposals floating around now, so I hope we get something soon-ish (maybe in 0.18 since a short cyle is planned for 0.17).
mihaelm
·4개월 전·discuss
It doesn't necessarily mean they're going to migrate from C, building a C project is just so much nicer with Zig than fiddling around with CMake. You got people using it as a build system even for Go projects, especially if they're relying on CGo.

However, if you were entertaining the idea of slowly switching to Zig, the build system would be the place to start. Moving away from CMake is worth it even if you don't push it further.

But yeah, the C-Zig interop story is so good it's a no brainer if you want to "modernize" your C codebase, and you can do so incrementally instead of stopping the world for a rewrite.
mihaelm
·4개월 전·discuss
It's a lower-level component in so much stuff we're not even aware of.