I wrote another blog post on several ways to declare an interface in #Haskell
https://marcosh.github.io/post/2025/07/22/four-ways-of-declaring-interfaces-in-haskell.html

I wrote another blog post on several ways to declare an interface in #Haskell
https://marcosh.github.io/post/2025/07/22/four-ways-of-declaring-interfaces-in-haskell.html
**3D printing bicycle handles**
The old bicycle handles became sticky (some kind of silicone rubber?) so I had to replace them. I could bought them, but then I would miss the opportunity to learn some more FreeCad.
Here is the final result: one pair of smooth and one pair of rigged handles printed with orange TPU:
There is 1 main part (for the smooth handle) or 11 main parts (for the rigged handle):
Steps:
12. Import .stl to Ultimaker Cura Slicer
13. 3D print settings:
Send to Octoprint, wait 2 hrs, take timelapse meanwhile, done. Here’s the timelapse of the smaller, smooth handle:
Tags: #3dprinting #tpu #functional
I know I CAN DO IT. I can have a purely #functional language WITH MUTATION and without having to resort to #monads.
And it's AWESOME and I'm *completely* alone in my enthusiasm.
Why OH WHYYYYYY the rest of my fellow humans are barren to this beauty?
(For the technically curious: I'm using uniqueness typing and a bit of syntactic sugar to maintain referential transparency).
There could even be a way to implement safe pointers.
@lil5 how awesome you want to dive deeper into purely #functional #programming I think even if you don't plan to use #haskell for a great good, this is a great mind expanding experience. I would suggest to try to build something real with the language as you go, for me it is the best way to learn. This book is awesome, I also bought it btw. I think everyone struggles mostly with function composition (my fav) and the laziness, and of course do notation (monadic), but it will click, trust me.
'Causal Effect of Functional Treatment', by Ruoxu Tan, Wei Huang, Zheng Zhang, Guosheng Yin.
http://jmlr.org/papers/v26/23-0381.html
#functional #propensity #electroencephalography
I am using one tool implemented in Haskell. Cost: my #ArchLinux updates about 100 #Haskell packages every 2 days on average. Seriously? I am starting to think that even though I am a #functional programmer, programming in Haskell would not be for me - and not for the ferocious purity and laziness, but for the stability of the environment!
Disclaimer: I know nothing about the Haskell ecosystem. It may well be that these updates are just as innocuous as they are irritating.
#ITByte: #Functional #Interfaces were added in Java 8 with #Lambda expressions and Method references in order to make code more readable, clean, and straightforward.
A functional interface is an interface that contains exactly one abstract method. This means that a functional interface can be implemented by a lambda expression, which is a concise way to write a function.
https://knowledgezone.co.in/posts/Java-Functional-Interface-6667ef356c5002135faafb50
Me: "I don't need no elitist #functional programming, I'll mutate my data structures in place! YOLO!"
Also me: "Why are there items missing from candidatesTo? Let me spend two hours debugging this "
Seven Ways to Turn Your #Entryway Into a More #Functional Space
https://lifehacker.com/home/seven-ways-to-make-your-home-entryway-more-functional
Preprint of the longest paper I ever contributed to: https://arxiv.org/abs/2505.08906 - it is a qualitative and quantitative comparison of various #functional #array languages, with a significant #gpgpu element.
I am #LookingForAJob
Web developer with 20+ years experience.
#JavaScript / #TypeScript 15 years, #React 10 years.
Love #Linux and #functional programming, dabble in maker stuff.
Would be happiest to work on #FreeSoftware, #OpenSource or with an NGO.
#Vilnius, #Lithuania, Europe. Hybrid or remote.
#Space is a far more logical, sensible place to do #fusion, because that’s where it wants to happen anyway. In
2027, we’re going to send a small part of #Sunbird in #orbit. The first #functional Sunbird will be ready four to five years later. Sunbird could deliver #cargo to #Mars
in under six months https://edition.cnn.com/science/nuclear-powered-rocket-pulsar-space-spc/index.html
We're live this Friday with the first episode looking at functional programming, and so I thought I'd put together a collection of the material I've created over the years on the topic, in the form of presentations, documents and blog posts, in case you want to dive in before the first episode. Share & enjoy!
https://qmacro.org/blog/posts/2025/03/24/functional-programming-resources/
I'm looking for interesting new ways to bend (or break) my brain. Is there a #functional (first) #programming language that compiles down to single binaries?
I have some experience with F#, but it's been ages since I used it and I don't really like whatever "self-contained" .Net binaries are.
Haven't tried Elm or Haskell yet.
Any recommendations?
Today I probably implemented the most useless #php class I could think of
https://github.com/marcosh/lamphpda/blob/master/src/Unit.php
To all people nix, and particularly the nerdy ones, can you explain this sentence to me? (excerpted from the Nix PhD thesis)
I am #LookingForAJob
Web developer with 20+ years experience.
#JavaScript / #TypeScript 15 years, #React 10 years.
Love #Linux and #functional programming, dabble in maker stuff.
Would be happiest to work on #FreeSoftware, #OpenSource or with an NGO.
#Vilnius, #Lithuania, Europe. Hybrid or remote.
CV: https://emilis.codeberg.page/cv2025.html
Please boost
I'm back to blogging after a fairly long time with a blog post on how to combine effects using natural transformations
https://marcosh.github.io/post/2025/03/10/combining-monads.html
Really interested to know what people think of it
GNU Guix: Revolutionizing Software Deployment with Functional Package Management
GNU Guix is an innovative package manager and operating system that rethinks software deployment by adopting a purely functional approach. Unlike traditional package managers, Guix manages software in a way that guarantees reproducibility, transactional upgrades, and precise dependency tracking.
Read More: https://machaddr.substack.com/p/gnu-guix-revolutionizing-software
any(x == 'Erik' for x in ['Erik', 'John', 'Jane', 'Jim'])
#clojure is taking over my python code. I did not know that this is possible . I really like this syntax