Over a few days I wrote a bunch of #C++, #Rust, #Haskell, and #Python. Something I don’t get is that while I might say that Python has the most extensive ecosystem, it seems to have the worst tooling in terms of package management and LSP features (clangd, rust-analyzer, hls, and pylsp). How does that happen? Why don’t the economics that plow programmer hours into Python libraries raise the level of its tooling?
@natecull#ocaml, #rust and #Haskell all have specific packages in #Fedora and #Debian to deal with #endianness so it seems to matter. Also add that according to utfcheck Debian package description UTF-16 can be encoded in big or little-endian
@musicman I know #django moved to LiberaChat, but #python is still debating it. #haskell is moving also. I also checked #nim, but I did not see any discussion about moving.
Neither Evan nor Alex have expressed an opinion about moving #pump.io, so I suspect it will remain on Freenode. I checked #hubzilla, but there doesn’t appear to have been any discussion about it. I left #friendica after someone set up a really noisy bridgebot, so I don’t know whether they’re moving. I also left #mastodon
Freenode is the official IRC host for the GNU project, so a lot of GNU software is awaiting a decision from GNU.
(All hashtags above are names of Freenode IRC channels / rooms, some of which are in the process of moving to Libera.Chat or OFTC.)
Correction: #Pijul ... it is a #dvcs / #scm system written in #Rust, and an evolution of some of the ideas behind #Haskell's #Darcs, including fleshing out the theoretical basis and solving a couple of major bugs.
A little easier to understand than “... a monad in X is just a monoid in the category of endofunctors of X ...” for those of us without sufficient category theory background.
@amic Good to see that self-learning continues, even if you don't always like what you learn about yourself. While you're at it, you may also decide to Learn You a #Haskell for Great Good! ( http://learnyouahaskell.com/ ). Or not, if monadicism scares you.
Ok, I made some changes, and it does the first part in a 0.1s now, and the second part in 7s. However the code looks very much like an imperative language now. There is a loop over a list inside which we do things, and use the State Monad to change things.
The result is still slower than Python and less readable now.
This is a nice explanation of the State Monad https://wiki.haskell.org/State_Monad #Haskell I've basically cut and paste the example more than once before to solve problems.
kat (boneidol@indy.im)'s status on Tuesday, 16-Apr-2019 14:00:03 UTC
katI've just done (part of) Advent of Code 2018 q9 in #Haskell. My first attempt, I thought was elegant and readable, but consumed all RAM in the universe. My second attempt, was more nuanced, throwing away all the things the solution did not really need, and this at least completed, however it takes 11 min to run.
The second part of the question expands the problem size by a factor of 100.