HNHacker News
TopNewBestAskShowJobs

weatherlight

6,148 karma · joined May 1, 2013

[ my public key: https://keybase.io/proletariat; my proof: https://keybase.io/proletariat/sigs/Uv4J7-JLh3FUzOh12m1RmZDS2BCXWC6yuMbNXnlg1nM ]
submissionscomments
weatherlight··on Rust is not about memory safety
ngl, I didn't even notice until you pointed it out.
weatherlight··on (Logic) Prolog, Erlang, Elixir a side-by-side reference sheet
https://www.ericpfahl.com/from-pattern-matching-to-unificati...
weatherlight··on (Logic) Prolog, Erlang, Elixir a side-by-side reference sheet
Here's a good start. https://www.ericpfahl.com/from-pattern-matching-to-unificati...
weatherlight··on Gleam 1.2.0 release – Fault tolerant Gleam
It's type safe, it's important to note that its type system is a Hindley–Milner type system. Same type system family as OCaml, Haskell, Standard ML etc. Its syntax is heavily inspired by Rust. whereas Elixir's syntax is inspired by Ruby and Erlang's inspired by prolog.

https://en.wikipedia.org/wiki/Hindley–Milner_type_system

weatherlight··on LunarML – Standard ML compiler that produces Lua/JavaScript
I've heard good things about this book, I didn't realize the examples were in SML. :)
weatherlight··on Ballerina: Functional programming framework for front end web development
I love FP. but this is way more readable than the above. It doesn't fight the ergonomics of javascript.
weatherlight··on LunarML – Standard ML compiler that produces Lua/JavaScript
I've always loved Standard ML and feel it's never gotten the love that it deserved.

It was my introduction to typed FP concepts via this course (Part A) https://www.coursera.org/learn/programming-languages

weatherlight··on Ballerina: Functional programming framework for front end web development

    export const Child2Animation = 
      Co.Repeat(
        Co.Seq([
          Co.SetState(Child2.Updaters.Core.a(replaceWith(1)).then(
            Child2.Updaters.Core.b(replaceWith("")))),
          Co.Wait(250),
          Co.For(Range(0, 3))(
            _ =>
              Co.Seq([
                Co.SetState(Child2.Updaters.Core.a(_ => _ * 2)),
                Co.Wait(250),
                Co.SetState(Child2.Updaters.Core.b(_ => _ + ".")),
                Co.Wait(250),
              ])
          )
        ])
      );

> Not only is the code pretty self explanatory.

Is it though?

weatherlight··on Comparison of File Systems
thats unfortunate...
weatherlight··on Comparison of File Systems
Why is "Murders your wife" one of the columns and why did Reiser4 and ReiserFS qualify?
weatherlight··on Try Clojure
because lisp and consistency

(some-function-name arg1 arg2)

weatherlight··on Erlang/OTP 27 Highlights
If you use an 96 core machine, or 96 individual machines with single core each, the Erlang code is going to look pretty much the same.
weatherlight··on Squarespace to Go Private in $6.9B All-Cash Transaction with Permira
Private equity will only own about 20% of the company, only 20% of the stock was public to begin with. Why is everyone singing songs of doom and gloom?
weatherlight··on Weaver: An ergonomic CLI parsing library for Roc lang
I don't know Roc at all and but do know Standard ML and some OCaml.

The syntax looks very pretty, and it's very easy on the eyes. I'm excited for this project and its goals.

weatherlight··on Java 23: The New Features Are Officially Announced
Simply inertia. Java is what people know and hire for unfortunately.
weatherlight··on Metaprogramming in Ruby: It's All About the Self (2009)
Sidenote, What editor is it that you use that's written in Ruby? I <3 Ruby and really do lean into its dynamic nature, (it's also one of the reasons I love Elixir as well.)
weatherlight··on Fast, Declarative, Reproduble and Composable Developer Environments Using Nix
I'm sorry that you've been a dev for 25 years and you've never worked anywhere where microservices and distributed systems are the norm, being able to modularly combine and recombine systems can be invaluable for rapid development and testing.
weatherlight··on Show HN: Sonauto – A more controllable AI music creator
yeah, Sounds pretty bloodless to me.
weatherlight··on Barcelona’s Sagrada Familia will be completed in 2026
#notacathedral
weatherlight··on Barcelona’s Sagrada Familia will be completed in 2026
I live here in Barcelona, it's a sight to behold :) It's minor basilica, not a cathedral though,
weatherlight··on Nix is a better Docker image builder than Docker's image builder
I use both Docker and NixOs at work. I've never had any of the problems you seemed to have above. Docker is fine, performance wise it's not great on Macs. I love nix because it's trivial to get something to install and behave the same across different machines.

Nix Doc are horrible but I've found that ChatGPT4 is awesome at troubleshooting Nix issues.

I feel like 90% of the time I run into Nix issues, it's because I decided to do something "Not the Nix way."

weatherlight··on SQL looks like English is a well intentioned error
The authors argument that SQL's english-like syntax is a "well-intentioned error" overlooks the accessibility it provides. SQL, inspired by relational algebra, enables set-based operations, distinct from procedural programming's linear approach.

This is why SQL has endured for so long.

That mathematical base allows for efficient data manipulation across vast datasets.

To his point that no other languages strive to be spoken like, languages like ruby (and python to a degree )have successfully adopted a natural, english-like syntax, enhancing readability and developer productivity.

Emphasizing procedural over declarative concepts misinterprets SQL's core advantage: expressing complex data relationships and manipulations succinctly. Such perspectives miss the broader utility of making programming languages approachable and efficient for diverse tasks and user backgrounds.

Side rant: I just wish SQL was more composable.

weatherlight··on Dada, an experimental new programming language
checkout Gleam.
weatherlight··on Dada, an experimental new programming language
Have you played at all with Gleam?

https://gleam.run/cheatsheets/gleam-for-rust-users/

weatherlight··on Gleam v1.0.0
Further discussion -> https://news.ycombinator.com/item?id=39590246
weatherlight··on Gleam v1.0.0
Looks like Gleam is finally 1.0! Congrats to the Gleam team!
weatherlight··on An empirical study of vulnerabilities in Elixir programs
Using sentiment analysis on keywords in commit messages isn't "empirical," lol.
weatherlight··on Nvidia hits $2T valuation as AI frenzy grips Wall Street
I think you are confusing efficiency and effectiveness. Markets, when regulated, can be an effective way to distribute goods and services.
weatherlight··on Ask HN: Is Python getting too complicated for its own good?
What's the issue? I don't know Python,are these features uncommon?
weatherlight··on Nvidia hits $2T valuation as AI frenzy grips Wall Street
Rationality is binary.

the very occurrence of speculative bubbles, (to be pedantic; where asset prices soar well beyond their intrinsic values and eventually crash) is a strong argument against market efficiency.

← PreviousPage 3 of 33Next →