Better HN
topnewbestaskshowjobs
Log inSign up

unstruktured

90 karma · joined Apr 18, 2023 (3y ago) · 32 submissions

Submissions

comment 1w ago · link · parent

Mildly surprised that Box::map wasn't there on day one.

comment 5mo ago · link · parent

very cool! maybe make a soccer one for world cup?

comment 9mo ago · link · parent

Technically you are right but too much mutation for my tastes and probably many other ocaml developers.

comment 1y ago · link · parent

18 years ago? Holy crap I feel old. I remember how disruptive the very stable 3 to completely unstable 4 was.

comment 1y ago · link · parent

There is absolutely no reason to use double semicolons in practice. The only place you really should see it is when using the repl.

comment 1y ago · link · parent

Thanks for restoring my sanity. Was quite confused of the value added by the author.

comment 1y ago · link · parent

To F# from what previously?

comment 1y ago · link · parent

"Uh...the answer's not in the box, it's in the band".

comment 1y ago · link · parent

I don't think he touched on whether server side is a more valid use case, but was nice to read someone elses take on using it for a desktop. Thanks for the contribution.

He did find functional programming to be sort of mystic so I don't know if I trust his take on assesing the nix language itself.

TLDR; just stick with ubuntu or arch unless you feel like experimenting

comment 2y ago · link · parent

I wish they would at least rename the company to "ClosedAI" because that's exactly what it is at this point.

comment 2y ago · link · parent

What, to you, is an ultra strong type system? Both OCaml and Haskell are used in plenty of non academic contexts. Do you mean something like Coq or F*?

comment 2y ago · link · parent

Oh that's a solved problem since 1969. It's called "unix". Everything is a file which can be processed as a byte stream. Composition is a breeze- can't be any more general than that!

(I kid, mostly :)).

comment 2y ago · link · parent

I think when people say safest they mean the safest "C like" language with zero cost abstractions.

comment 2y ago · link · parent

Interesting point. I never inferred a strong connection between dependent types and the unification of records and modules. Maybe a real PL theorist around here can provide insights on that subject.

comment 2y ago · link · parent

F* + 1ml (https://people.mpi-sws.org/~rossberg/1ml/) would be the ultimate experience. I was born too early!

comment 2y ago · link · parent

macros can help with this if you can narrow down the traits you want to support.

https://doc.rust-lang.org/reference/macros.html

comment 2y ago · link · parent

If you use Jane street's base, core, and async libraries, you already have most of the tooling you need.

comment 2y ago · link · parent

Like matrix/element chat? https://matrix.org/

comment 2y ago · link · parent

decentralized approaches would be resilient to that.

comment 2y ago · link · parent

To me, implementing an async api using algebraic effects is the end game. Gets rid of the need of an async keyword and no monads required!

comment 2y ago · link · parent

Big fan of kdenlive. I switched to it after one too many openshot bugs.

Admittedly I always want kde apps to be good but in this case it actually is. Openshot was easier to learn though, personally.

comment 2y ago · link · parent

While we are on the subject, there's also neovim-qt: https://github.com/equalsraf/neovim-qt

comment 2y ago · link · parent

Keep up the good work! I love KDE.

comment 2y ago · link · parent

pypy and cpython don't mix well with each other so you have to create a whole new universe of packages for pypy. Interop with c libraries also adds complexity to the transition.

In addition, vanilla python is finally starting to tackle the worst performance problems (like the GIL getting removed for instance), so they might catch up to pypy eventually. There's also several different JITs installable into cpython systems these days too which is less painful than switching to pypy.

Personally, I am saddened pypy didn't replace standard python, but even in my own career I couldn't find a big speed difference in practice because all the heavy lifting utilizes C, C++, or fortran libraries wrapped by thin python apis.

comment 2y ago · link · parent

Not familiar with said regulations, but Ada was a good example of not using C++ for these very reasons in a military context.

comment 3y ago · link · parent

I like both OCaml and Rust, especially OCaml, but even after 2 years of Rust I'm still way more productive in OCaml. Unless it's absolutely essentially, I really don't want to have track the life times of my objects so explicitly.

Thus, Rust for me serves mostly as a C/C++ alternative. I don't plan to ever write anything in C again, and even if it's not my goto language otherwise, for that I'm thankful.

comment 3y ago · link · parent

Been using Kubuntu nearly since it's inception and have always loved it.

For audio players I stubbornly prefer Clementine for it's lighter handed approach, although I guess I should give Elisa a shot now.

Would be curious to know someone who extensively used both Arch and Kubuntu and why they settled on one vs. the other. I recall Arch being the king of KDE integration initially but has that gap been closed?

Finally - any falkon users lurking around here? I use Brave for the most part but occasionally load up falkon to get that 100% kde themed experience.

comment 3y ago · link · parent

You don't need personal reasons to dislike JS.

comment 3y ago · link · parent

The author of that link references the top 25 bugs, one (#12) of which is Null pointer dereferencing- static typing outright eliminates that bug.

Not to mention that range checking is also fixable by using optionals rather than assuming the existence of a value.

comment 3y ago · link · parent

Unfortunately the typed kwargs are NOT composable :(.
12