borar (@Savlambda) profile picture
Joined July 2016
Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)
Huge themes of my personal state of software engineerig art: * (pure) FP in back-end and front-end * the Onion architecture * REST
2
27
It became more like Halogen, as I expected.
I briefly looked at Foldkit out of curiosity about how it compared to Halogen. It is interesting what will become of this.
2
102
I briefly looked at Foldkit out of curiosity about how it compared to Halogen. It is interesting what will become of this.
You all are not ready for @EffectTS_ UI Literally solves every gripe I had with Foldkit (there weren’t many) Plus it’s more concise, more performant, and host agnostic
1
9
605
He left Microsoft research for Epic Games. So I'd suspect his primary focus is on Verse. Which, frankly, is where I'd want it, since Haskell seems to have been thoroughly captured by people who want to keep it strictly a research language, rather than facilitating industry adoption.
2
1
96
At the time, he explicitly said that he was not "leaving Haskell".
1
25
It is somewhat confusing and easily abused, but the motto actually means Avoid (success at all costs) and not (Avoid success) at all costs. People ahould have better grasp of right-associativity 😜
This quoted post is unavailable.
2
124
built with iris-lang.com btw For the longest time I wanted to make a budgeting app that accommodated my keyboard-first workflow, so I built Budget by Affine! The concept is simple: you type out your transactions for the week instead of clicking through a date selector, an account selector, a payee selector, etc. mon 20 Jeepney Cash # to work mon 20 Jeepney Cash # back home This is an early launch and the app is still rough around the edges, especially the demo and user guides!
3
3
11
595
Like @josecalderon said, it’s weird to be in a position where all the esoteric type theory and PL research I’ve done lets me understand world-famous frontier developments better than most but here we are
Replying to @krismicinski
Yeah. That something built like an LLM has proved the Riemann Hypothesis is, of course, an extraordinary claim. But a Lean proof is also extraordinary evidence; fewer people understand that.
2
1
24
829
No wonder, this is what education gives you.
56
there are two camps, those who care about product and those who care about outcomes. those who care about outcomes are *really* enjoying the new agentic engineering wave. those who care about the details of the product are not (understandably)
Huh. I thought everybody understood this by now. Okay, I'll explain why Huang Jensen is an open source proponent in detail. People don't buy products, they buy outcomes. Like, unless you're a car collector, what's your actually buying with the car is the ability to get places you want to go. It's part of a service stack that includes gasoline, mechanics and so forth. One of the things you have to do as a business strategist is understand what service stacks you are part of. And one of the rules of making more money is, you want every part of your service stack other than you to be as cheap as possible. Cars get used and valued more when gasoline is cheap. Demand for the services of mechanics goes up as cars become more affordable. This is true of every good that is substitutable for more expensive goods. Back around 2002 I realized this this means one of the laws of business strategy is "commoditize your co-factors". I never wrote a paper about this but I talked about it in my roadshow. Later, other people wrote papers. The phrase that seems to have stuck is "commoditize your complements". Huang Jensen understands that he will sell more GPUs if the other co-factors in his value stack get less expensive. He wants all *other* computer hardware to be dirt cheap. And, he wants access to AI to be dirt cheap and available locally so people will buy their own GPUs to get it. This is why Jensen supports open-source AI. It undermines all attempts by the would-be monopoly providers to keep a high price floor under AI services. It increases demand for his product by making people want to buy lots of GPUs for their local compute. The man is not in business for his health. He doesn't open-source CUDA because he thinks he can extract more rent from its secrecy then he can gain from opening it up and spreading the development costs and improving it faster. He is almost certainly wrong about this, but it's a normal and non-insane way to be wrong.
2
11
508
We can argue that those who care about the product also care about the outcomes, perhaps even more so.
1
53
RIP `hspec-discover-discover`, a hail mary shim to keep our test build fast while transitioning to buck2 build system and granular tests the things you run into in a 2Mloc Haskell codebase! hackage.haskell.org/package/…
2
1
7
693
I haven't heard from the .NET crowd for a while now. I used to see some of them pop up on my X feed every now and then. Are they also clanker-pilled? Like whats happenin over there?
5
23
1,151
union data type in .NET 11
1
1
103
Nah, it's been there since .NET Framework
1
38
borar retweeted
I sometimes forget that there are people who use LLMs with non-dependently typed languages. Like, how do you know the thing it built works, do you just take the clanker's word for it???
14
5
1
91
6,265
Auto-increment IDs in public URLs let anyone count how many users or orders you have by changing a number. Competitors have done exactly that to startups
6
4
28
849
Only if there is no proper tenant isolation.
33
I've always been sceptical and "functional core, imperative shell". Basically, it's only useful in specifically FP-first languages and nowhere else. In non-FP languages functional core is very weak. In pure FP languages no one wants or needs imperative shell.
There are a number of useful paradigms. OOP and FP both have merit. True OOP was lost from C++ onward. Consider: "Functional Core, Imperative Shell" "Strategic Monoliths and Microservices: Driving Innovation Using Purposeful Architecture" See Ch8 & 9. informit.com/store/strategic…
2
1
6
573
No. FCIS is extremely useful (esp. for local reasoning and testing) regardless of language. Here in JS/TS:
Replying to @jussisaur
Have a look at my gists, good sir. (Looking for remote work, btw). backend: gist.github.com/redbar0n/af5… frontend: gist.github.com/redbar0n/079…
1
19
Given the (partially wrong) LLM-generated notes in your gists, we are not really disagreeing. However, local reasoning requires guarantees that everything behaves nicely. But it is very easy to break purity in JS/TS, by the very paradigm of these languages.
9
Why code still matters? 1. I need to be able to look at it, understand it, and sometimes tweak it 2. Agents need to be able to write it React fills both those roles better than something that *resembles* React, but is different. I'm not sure there's a path for a new library.
In @uisdk, you don't wrap components. You import a primitive (with behaviors) and create its parts in your framework, with your own tags and names. The same code works in React, Vue, Svelte, Solid and Web Components. Ask your agent to build you a component library.
3
4
587
I wanna try @foldkit at some point. Looks promising for agents. It’s Elm’s architecture essentially
1
1
40
If you don't need to stay strictly within TS, PureScript with Halogen is similar and arguably much more clean.
1
1
48
What I don't understand about people like this is that they would never be able to do what Ken Thompson and Dennis Ritchie did in the 70s and 80s. They created Unix, and Ritchie developed C, laying the foundations of modern computing. And now this guy is talking shit. He probably couldn't even turn on a PC.
Co-creator of Haskell on why C is a dangerous language Simon: In C, you program by mutation. So it's unsafe in the sense that any function can mutate any variable at any time. It has a lot. You pass pointers around a lot, and functions mutate the memory pointed to by those pointers. And moreover, typically they can mutate it anywhere. There's no array bounds checks or anything. So it's kind of like super unsafe. And in fact, and this is demonstrated by the fact, can you imagine all of these exploits that we get every day, right, that Mythos is discovering in huge numbers? But why is the Internet so insecure? Primarily because all of our software infrastructure is written in unsafe languages. If we'd written all of our Internet software and operating systems in Haskell or maybe in OCaml or ML, 99% of all these exploits would be removed by construction. It's like we've built a boat out of paperclips and we're surprised that it's leaky. You shouldn't build boats out of paperclips, right, because they have holes in them. You should build it out of a secure substance, right? But then it's too late. So we spend incredible amounts of human ingenuity and effort patching the holes in our boat built of paperclips. It's tragic.
29
12
3
247
20,949
You are not informed enough.
5
270
i feel like "functional core, imperative shell" and "push I/O to the edges" are such obviously true incontrovertible maxims about good software design and NO-ONE IN THE HISTORY OF THE WORLD has ever done it
61
17
18
1,202
124,270
I think the more key split is dividing the operational layer of the system where imperative is fine from your domain modeling where it becomes a problem. By the same logic the side effects that are truly problematic are domain side effects.
1
2
25
Yes, for example as per the Onion architecture.
1
20
Looking at Haskell, there are definitely some ideas that work in certain applications, but I think I will always prefer a multi-paradigm language over a functional programming focused one.
6
3
19
483
I assume you are a FP fan?
1
24
And a long-time (non-hobby) practitioner.
1
1
9
Okay coders! Regardless of your overall feelings for various languages, do you prefer having '=' as the assignment operator and '==' the equality operator, or ':=' for assignment and '=' for equality? Or maybe you prefer using '=' for both?
81%=, ==
2%=:, =
6%=, =
11%Other...
85 votes • Final results
16
1
1
7
820
Equality always '=', the rest does not matter much.
1
7
Checking out Ocaml. I know this isn't the most "idiomatic" Ocaml code. I am still finding functional programming confusing as a paradigm. For me, a lot of functional programming concepts are things that were good to do in procedural programming and object oriented programming any ways, and recursion versus loops is very much a situational thing.
5
9
239
I did say I was struggling with the concepts.
1
1
8
I am all for the struggle while learning 🫡
1
6