HNHacker News
TopNewBestAskShowJobs

guidorice

22 karma · joined September 7, 2019

https://ricegeo.dev
submissionscomments
guidorice··on A design flaw in the Windows 3D Pipes screen saver pointed out by a customer
> 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.

guidorice··on Tour of CLIPS (2022)
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.
guidorice··on Ask HN: Does Starlink not have real support?
> You can't terminate unless the "device is online"

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

guidorice··on Mojo – System Programming Language for Heterogenous Computing (LLVM Dev Mtg) [video]
This is the most technical info to drop so far, and good one watch for all those claiming mojo is all hype. :)
guidorice··on Mojo to adopt Apache 2 license
Look at the guy's open-source contributions https://github.com/lattner I am not too concerned about it.
guidorice··on Mojo changelog: Traits have arrived!
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.

guidorice··on NPR quits Twitter after being labeled as 'state-affiliated media'
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.

guidorice··on Learning algebra in my 60s
I highly recommend the Ivan Savof books as well. A Statistics title is upcoming.
guidorice··on Zig, Hare, Odin, Vale, V, Jai
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.

guidorice··on The counterintuitive rise of Python in scientific computing (2020)
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).
guidorice··on Ask HN: Why are you programming your hobby projects in a niche language?
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).

guidorice··on Tell HN: GitHub Appears to Be Down
+1 down in Colorado US
guidorice··on Why static languages suffer from complexity
Best.Programmer.Art.Ever
guidorice··on A Review of the Zig Programming Language (Using Advent of Code 2021)
Correction: https://github.com/ziglang/zig/issues/10018
guidorice··on A Review of the Zig Programming Language (Using Advent of Code 2021)
> 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