News for hackers. Stuff that matters.

unstruktured

Re:Show HN: An 8-bit live gamecast for baseball on Wednesday June 17, 2026 @01:30PM (#48573691)
very cool! maybe make a soccer one for world cup?
Re:My (very) fast zero-allocation webserver using OxCaml on Monday February 02, 2026 @10:18AM (#46856968)
Technically you are right but too much mutation for my tastes and probably many other ocaml developers.
Re:KDE is now my favorite desktop on Thursday September 18, 2025 @04:42PM (#45294759)
18 years ago? Holy crap I feel old. I remember how disruptive the very stable 3 to completely unstable 4 was.
Re:OCaml as my primary language on Wednesday August 13, 2025 @03:34PM (#44892798)
There is absolutely no reason to use double semicolons in practice. The only place you really should see it is when using the repl.
Re:A different take on S-expressions on Wednesday June 18, 2025 @01:40PM (#44311838)
Thanks for restoring my sanity. Was quite confused of the value added by the author.
Re:Darklang Goes Open Source on Monday June 16, 2025 @02:00PM (#44291821)
To F# from what previously?
Re:Peer-to-peer file transfers in the browser on Wednesday March 12, 2025 @10:38AM (#43343756)
"Uh...the answer's not in the box, it's in the band".
Re:Nix – Death by a Thousand Cuts on Saturday January 11, 2025 @04:45PM (#42669169)
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

Re:OpenAI to Become For-Profit Company on Thursday September 26, 2024 @01:59PM (#41661283)
I wish they would at least rename the company to "ClosedAI" because that's exactly what it is at this point.
Re:Types as Interfaces on Tuesday July 23, 2024 @10:00AM (#41046113)
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*?
Re:The Software Crisis on Friday July 05, 2024 @02:40PM (#40885024)
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 :)).

I think when people say safest they mean the safest "C like" language with zero cost abstractions.
Re:F* – A Proof-Oriented Programming Language on Thursday May 16, 2024 @03:36PM (#40382259)
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.
Re:F* – A Proof-Oriented Programming Language on Thursday May 16, 2024 @10:43AM (#40379081)
F* + 1ml (https://people.mpi-sws.org/~rossberg/1ml/) would be the ultimate experience. I was born too early!
Re:Rust: Box Is a Unique Type on Thursday May 02, 2024 @03:27PM (#40240445)
macros can help with this if you can narrow down the traits you want to support.

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

Re:Jane Street is big. Like, big on Thursday May 02, 2024 @11:51AM (#40237624)
If you use Jane street's base, core, and async libraries, you already have most of the tooling you need.
Like matrix/element chat? https://matrix.org/
decentralized approaches would be resilient to that.
Re:Why choose async/await over threads? on Monday March 25, 2024 @11:13AM (#39817334)
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!
Re:Kdenlive 24.02 open source video editor released on Monday March 11, 2024 @06:52PM (#39674120)
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.

While we are on the subject, there's also neovim-qt: https://github.com/equalsraf/neovim-qt
Re:OpenBSD KDE Plasma Desktop on Monday January 08, 2024 @03:43PM (#38917821)
Keep up the good work! I love KDE.
Re:Don't pass structs bigger than 16 bytes on AMD64 on Friday January 05, 2024 @10:21AM (#38879961)
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.

Re:C++ Should Be C++ on Tuesday December 19, 2023 @02:00PM (#38699933)
Not familiar with said regulations, but Ada was a good example of not using C++ for these very reasons in a military context.
Re:OCaml: a Rust developer's first impressions on Saturday November 11, 2023 @09:34PM (#38236699)
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.

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.

Re:Introducing Ruvy on Friday October 20, 2023 @02:46PM (#37959901)
You don't need personal reasons to dislike JS.
Re:Strong typing, a hill I'm willing to die on on Wednesday October 04, 2023 @01:08PM (#37768265)
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.

Re:Python 3.12 on Monday October 02, 2023 @02:46PM (#37742630)
Unfortunately the typed kwargs are NOT composable :(.
Re:Linux interop is maturing fast thanks to a games console on Friday September 29, 2023 @09:15AM (#37703721)
This is the year of the linux desktop! Finally!

Older »