ericjmorey

joined 2 years ago
[–] ericjmorey@programming.dev 3 points 3 weeks ago

This seems too black and white a prognosis. I think it's not a popular method of funding development because the sponsorship/patronage method seems like it already does a better job of providing stability without making a transactional relationship.

[–] ericjmorey@programming.dev 0 points 1 month ago (1 children)

These suggestions are essentially the same as other privacy and libre focused recommendations.

 

The blog post is the author's impressions of Gleam after it released version 1.4.0. Gleam is an upcoming language that is getting a lot of highly-ranked articles.

It runs on the Erlang virtual machine (BEAM), making it great for distributed programs and a competitor to Elixir and Erlang (the language). It also compiles to JavaScript, making it a competitor to TypeScript.

But unlike Elixir, Erlang, and TypeScript, it's strongly typed (not just gradually typed). It has "functional" concepts like algebraic data types, immutable values, and first-class functions. The syntax is modeled after Rust and its tutorial is modeled after Go's. Lastly, it has a very large community.

 

Isaac Harris-Holt writes:

Modern software engineering can be a bit of a nightmare. You've got all these different third-party services to keep track of, and often many first-party microservices too! As it turns out, things can be made more simple using Gleam. Let me show you how.

 

Louis Pilfold, the creator of the Gleam Programming Language, has been maintaining a Youtube Playlist of Gleam videos.

 

2024-02-29 | Christopher Gadzinski writes:

Physics likes optimization! Subject to its boundary conditions, the time evolution of a physical system is a critical point for a quantity called an action. This point of view sets the stage for Noether's principle, a remarkable correspondence between continuous invariances of the action and conservation laws of the system.

In machine learning, we often deal with discrete "processes" whose control parameters are chosen to minimize some quantity. For example, we can see a deep residual network as a process where the role of "time" is played by depth. We may ask:

  1. Does Noether's theorem apply to these processes?
  2. Can we find meaningful conserved quantities?

Our answers: "yes," and "not sure!"

 

Itamar Turner-Trauring writes:

These sort of problems are one of the many reasons you want to “pin” your application’s dependencies: make sure you only install a specific, fixed set of dependencies. Without reproducible dependencies, as soon as NumPy 2 comes out your application might break when it gets installed with new dependencies.

The really short version is that you have two sets of dependency configurations:

  • A direct dependency list: A list of libraries you directly import in your code, loosely restricted. This is the list of dependencies you put in pyproject.toml or setup.py.
  • A lock file: A list of all dependencies you rely on, direct or indirect (dependencies of dependencies), pinned to specific versions. This might be a requirements.txt, or some other file dependencies on which tool you’re using.

At appropriate intervals you update the lock file based on the direct dependency list.

I’ve written multiple articles on the topic, in case you’re not familiar with the relevant tools:

Read NumPy 2 is coming: preventing breakage, updating your code

[–] ericjmorey@programming.dev 1 points 1 year ago (1 children)

nearly every person that creates a lemmy account, is active

This is false. There's about a 10:1 ratio of Lemmy accounts registered to lemmy accounts posting comments.

[–] ericjmorey@programming.dev 0 points 2 years ago (1 children)

I also did not create this.

[–] ericjmorey@programming.dev 0 points 2 years ago (3 children)

Randall Monroe has provided me with weekly nibbles of entertainment for nearly 2 decades. But this was inspired by his style, not created by him.

 

Update: !ios_dev@programming.dev has been created, temporarily managed by @Ategon@programming.dev until some mods volunteer for it

view more: next ›