News for hackers. Stuff that matters.

guidorice

> Instead, use the black screen screen saver on your server. It uses no CPU.

It also doesn't have all the memory leaks as the 3d pipes screen saver.

Re:Forgoing Implicity and Using Abstractions: Clips on Tuesday April 30, 2024 @02:58PM (#40214815)
Big fan of CLIPS! Rule based expert systems are so ubiquitous in business and scientific codes, yet a lot of devs are not even familiar with pattern matching let alone powerful rules engines like CLIPS.
Re:Ask HN: Does Starlink not have real support? on Thursday January 25, 2024 @12:19PM (#39132003)
> You can't terminate unless the "device is online"

:-O good to know! current subscriber here. yikes indeed.

This is the most technical info to drop so far, and good one watch for all those claiming mojo is all hype. :)
Re:Mojo to adopt Apache 2 license on Tuesday December 05, 2023 @09:19AM (#38531035)
Look at the guy's open-source contributions https://github.com/lattner I am not too concerned about it.
Re:Mojo changelog: Traits have arrived! on Tuesday December 05, 2023 @09:18AM (#38531013)
One of the really neat things about mojo is, as a superset of python, things like static typing, and ownership/moving can be gradually adopted. It encourages value semantics, and is borrow-by-default. So you can literally just write pythonic looking `def` functions, but then gradually opt in to the more performant features, e.g. with `fn` functions.

In my mind this is kinda similar to what TypeScript does as a super-set of JavaScript- except that was not about performance, it was about purely about typing.

national: (adjective)

relating to a nation; common to or characteristic of a whole nation: this policy may have been in the national interest | a national newspaper. • owned, controlled, or financially supported by the federal government: plans for a national art library.

Re:Learning algebra in my 60s on Monday August 08, 2022 @03:57PM (#32390279)
I highly recommend the Ivan Savof books as well. A Statistics title is upcoming.
Re:Zig, Hare, Odin, Vale, V, Jai on Thursday June 02, 2022 @03:27PM (#31599446)
One view from the geospatial, data science, and machine learning world: Python is the most commonly used language, among my peers. However all the heavy lifting is done by C/C++ libraries which Python binds with. NumPy, GDAL, GEOS, Tensorflow, Torch, are all C/C++ libs.

Zig's C-interoperability is actually pretty huge in this context. Not familiar with the other 5 languages the OP listed.

I am really curious how Zig lang eventually does in scientific computing. It's already speedy compiler, language server (zls), and upcoming hot code reloading feature, makes me think that reactive coding and visualization notebooks in Zig should be feasible. Although, Zig has no operator overloading, and no dynamic dispatch though, making it fundamentally pretty different than say, Julia lang. Just as an aside: for my day job, I write Python in a scientific computing (geospatial and ML).
Agree with the OP that it is a dopamine hit to find something that's niche, which also agrees with your sensibility or mental model, or to find the "sweet spot" to use a sport analogy.

For day job I code in high level languages like: javascript/typescript, python, and back in the day: ruby, perl, and php. Never was comfortable in C/C++ but always wanted to get more proficient. And felt like to be honest programmer, I need to know a systems language.

Lately I've been learning Zig https://ziglang.org/ and I'm quite happy with the developer experience, despite it's only at version 0. It's kind of a whole new world I didn't think even possible: C level performance, but with great ergonomics and just basically: it's fun to develop in! Like C, but fun and safe(er).

Re:Tell HN: GitHub Appears to Be Down on Tuesday February 22, 2022 @11:34AM (#30429944)
+1 down in Colorado US
Re:Why static languages suffer from complexity on Wednesday January 19, 2022 @12:44PM (#29997060)
Best.Programmer.Art.Ever
> I wanted something more like Rust’s cargo test that’d find all tests and run them. Maybe Zig does have this but I just didn’t find it?

Try `zig build test`

https://ziglang.org/documentation/master/#Zig-Build-System