HackerTrans
TopNewTrendsCommentsPastAskShowJobs

spooky_deep

no profile record

comments

spooky_deep
·7 bulan yang lalu·discuss
You don’t want a language with non-determinism, arbitrary IO, impure functions etc. for build configuration ideally.

I guess the answer to your question is OCaml has unmanaged side effects.
spooky_deep
·7 bulan yang lalu·discuss
They don’t know how good they really have it :)
spooky_deep
·7 bulan yang lalu·discuss
Horrible. Would’ve been much nicer if they’d reached for Scheme.
spooky_deep
·7 bulan yang lalu·discuss
CMake was never declarative AFAIK?

CMake today is effectively an eso-lang / Turing tarpit with some “modern” declarative conventions that people try to push.
spooky_deep
·7 bulan yang lalu·discuss
You need unbounded recursion no?
spooky_deep
·7 bulan yang lalu·discuss
None of those are close to peak HBO content sorry.
spooky_deep
·7 bulan yang lalu·discuss
They already are?

All popular models have a team working on fine tuning it for sensitive topics. Whatever the companies legal/marketing/governance team agree to is what gets tuned. Then millions of people use the output uncritically.
spooky_deep
·7 bulan yang lalu·discuss
Do the problems get harder each day?
spooky_deep
·7 bulan yang lalu·discuss
Paris is not bike friendly (much better than a decade ago of course)
spooky_deep
·7 bulan yang lalu·discuss
Why the Copenhagenize Index when Copenhagen is not particularly bike friendly by Dutch standards?
spooky_deep
·7 bulan yang lalu·discuss
100%. Only a North American could consider Montreal bike friendly.
spooky_deep
·8 bulan yang lalu·discuss
What’s a good way to include Unison code in a more traditional Git monorepo?
spooky_deep
·8 bulan yang lalu·discuss
I can say why I bounced off of Nix.

Lots of package combinations didn’t work and I was not skilled enough to figure out why.

The error messages are terrible.

They don’t provide enough versions of packages. I want Python 3.10.4 exactly. But Nix packages by default only provide 3.10.something

I would love to use Nix everywhere, but it’s just too cumbersome for me.
spooky_deep
·8 bulan yang lalu·discuss
I’d bet that most PC Windows gamers care a lot more about Steam than they do about Windows. If Microsoft did anything drastic - like blocking Steam like Apple do on iOS - it would hurt Windows severely.
spooky_deep
·8 bulan yang lalu·discuss
You mean PS3 Linux?
spooky_deep
·8 bulan yang lalu·discuss
Google blessed Python at a time when Java didn’t even have lambdas.
spooky_deep
·8 bulan yang lalu·discuss
A good compiler will make the lists disappear in many cases. No runtime overhead. I actually love single linked lists as a way to break down sequences of problem steps.
spooky_deep
·8 bulan yang lalu·discuss
Property based testing is fantastic.

Why is it not more popular?

My theory is that only code written in functional languages has complex properties you can actually test.

In imperative programs, you might have a few utils that are appropriate for property testing - things like to_title_case(str) - but the bulk of program logic can only be tested imperatively with extensive mocking.
spooky_deep
·8 bulan yang lalu·discuss
The irony here is UV is written in Rust.
spooky_deep
·8 bulan yang lalu·discuss
Python is slow due to design decisions in the language. For example operator dispatch is slow without some kind of static analysis. But this is hindered by how dynamic the language is.