Did not know libreoffice had an online option, interesting.
Adventurer in Haskell, Scala, Rust, and similar. Erstwhile computational biologist.
<a rel=“me” href=“https://mastodon.sdf.org/@bbarker”>Mastodon</a>
Did not know libreoffice had an online option, interesting.
The tool is Nix, coupled with direnv, not “devenv” (to be clear).
At least in the US, a lot of these HPFs are subsidized in some form (or at least the ingredients are). So they end up being cheaper than they really ought to be. If only vegetables and organic/sustainable products were subsidized.
I love hypothes.is, and a few years ago, did a small project using it. It seems like something that could be federated (or at least, distributed), and may be of interested to Fediverse users.
But who will use it?
Would’ve been nice if references were included, though I’ve read elsewhere it can help with blood sugar control. But not lipid metabolism.
Very nice, thanks!
I have to admit I’m somewhat looking forward to revisiting this post on HKTs in Rust, but agree with the author that monad transformers are best avoided when possible.
Yeah, not that this is really even necessary in my view, but if you were extremely hell bent on this, you would normally hire a consultancy with the relevant expertise, rather than diverting resources that could be better spent elsewhere.
I doubt I’ll ever be able to manage that many on a daily basis, as I eat other nuts as well.
Also, although growing almonds consumes a lot of water, I suspect it is still a far better use of resources than many of the foods the American food system outputs.
If anyone ends up working on this as an open source project, please post here, maybe we can find some contributors. I was thinking of using Lemmy for this purpose at work, which would help me get more familiar with it in general.
Sorry - I didn’t realize your original link was to the video and not the project. After watching it (good talk!), I found the clip in question. It seems like he is just saying that 96% of the codebase is functions (of any sort), not that 96% of the functions in the code are pure.
I wonder how many of these will be Scala developers. Apparently he had Python developers from Tesla come over to review Scala code. So much wisdom.
Not exactly what you are looking for perhaps, but I’ve been using getpocket.com (from Mozilla) as a way to collect, tag, and read pages. It isn’t perfect, but for my purposes, it is pretty good. It has great support on mobile and in all major browsers, and there is an API for it (though I’ve not used it).
and 96% of it is pure functions
Thanks - I was just wondering how this somewhat precise statistic was obtained.
Otherwise, all that makes sense generally, though I tend to model logging as an effect in statically typed languages with effect systems. But I agree that it isn’t the most important thing!
I generally take your point, though I believe FP can be applied to most domains with some benefit - it is just that existing, prevalent FP languages may not always be well suited for the job. In HPC for instance, there are a few interesting options:
For both games and HPC, Futhark may be of interest: “Futhark is a small programming language designed to be compiled to efficient parallel code. It is a statically typed, data-parallel, and purely functional array language in the ML family, and comes with a heavily optimising ahead-of-time compiler that presently generates either GPU code via CUDA and OpenCL, or multi-threaded CPU code.”
Sadly I can’t find it right now, but there was research language designed with the idea of separating the implementation from the specification, in such a way that the implementation could still be verified to conform to the specification; the specification was much more than a typical function signature as I recall. Basically you would write the function specification in a functional style, and then be able to have multiple implementations (e.g. for different hardware) conforming to that specification. I want to say this was from Standford but may be wrong about that.
As an FP-fan interested in Clojure, how does one track if functions are pure in Clojure? I had assumed this was not possible, due to it not being statically typed (although I gather there is 3rd-party support for gradual typing).
Great idea! I like the idea of being able to return “items” (files or directories).
Hah, well I don’t doubt that you do get more alert if you feed your brain sugar via carbs (unless you’re in a state of ketosis, and even then it would probably be a boost). For me, the cons still outweigh the pros.