Lehmanator

joined 8 months ago
[–] Lehmanator@programming.dev 3 points 3 days ago

This is exactly it. Regex is super simple. The difficulty is maintaining a mental mapping between language/util <-> regex engine <-> engine syntax & character class names. It gets worse when utils also conditionally enable extended syntaxes with flags or options.

The hardest part is remembering whether you need to use \w or [:alnum:].

Way too few utils actually mention which syntax they use too. Most just say something accepts a "regular expression", which is totally ambiguous.

[–] Lehmanator@programming.dev 1 points 3 days ago

This is exactly it. Regex is super simple. The difficulty is maintaining a mental mapping between language/util <-> regex engine <-> engine syntax & character class names. It gets worse when utils also conditionally enable extended syntaxes with flags or options.

The hardest part is remembering whether you need to use \w or [:alnum:].

Way too few utils actually mention which syntax they use too. Most just say something accepts a "regular expression", which is totally ambiguous.

[–] Lehmanator@programming.dev 1 points 3 days ago

This is exactly it. Regex is super simple. The difficulty is maintaining a mental mapping between language/util <-> regex engine <-> engine syntax & character class names. It gets worse when utils also conditionally enable extended syntaxes with flags or options.

The hardest part is remembering whether you need to use \w or [:alnum:].

Way too few utils actually mention which syntax they use too. Most just say something accepts a "regular expression", which is totally ambiguous.

[–] Lehmanator@programming.dev 1 points 3 days ago

This is exactly it. Regex is super simple. The difficulty is maintaining a mental mapping between language/util <-> regex engine <-> engine syntax & character class names. It gets worse when utils also conditionally enable extended syntaxes with flags or options.

The hardest part is remembering whether you need to use \w or [:alnum:].

Way too few utils actually mention which syntax they use too. Most just say something accepts a "regular expression", which is totally ambiguous.

[–] Lehmanator@programming.dev 5 points 8 months ago (1 children)

Depends on what you're doing in your config and what you're changing. My configs are huge and complex because I was a moron when I first started out. Adding packages to your nixosConfigurations is a smell IMO. Most of the time, it would be preferable to add them to a devshell instead.

25 seconds sounds pretty close to my experience, but my machine is beefy and my configs have a lot of bad patterns for eval time.

[–] Lehmanator@programming.dev 9 points 8 months ago

Gamers 😤 For what it's worth, more users, especially on a gaming-related project probably the effort providing basic support faster than it increases contributions.

The network effect is a real problem tho. Hopefully ForgeFed & Gitlab implementing ActivityPub will help with this. Same with OAuth with GitHub as the SSO provider.

Bridging Matrix seems like the best of both, but takes a lot more work.

I'm a purist, so if I see a project uses Discord, I'll immediately start looking for viable alternatives.