[-] expr@programming.dev 6 points 4 months ago

Many things that work with time series data use calculus all the time. Both derivatives and integrals are very useful in that context: derivatives being the rate of change at some particular time step, and integrals being the sum of the changes across a range of time steps.

There's a pretty wide range of applications.

[-] expr@programming.dev 6 points 4 months ago

Mongodb is not actually faster. Postgres still beats it in any benchmark that matters.

Nothing is ever actually schema-less. There is merely explicit and implicit schemas. If you don't want to bother encoding the schema as proper columns and instead want the schema to remain implicitly encoded in JSON, Postgres' jsonb columns do a better job of that than any NoSQL database does.

[-] expr@programming.dev 6 points 1 year ago

The billionaires are the real problem. Targeting anyone else is just a distraction.

[-] expr@programming.dev 6 points 1 year ago

Paw Patrol is a very fascist show meant to teach fascist ideology to kids, just so you know: https://www.cnn.com/2017/12/22/health/thomas-tank-engine-paw-patrol-fascist-cartoon-strauss/index.html

This isn't a criticism, it's easy to for stuff like this to slip past parents' radar. But I'd strongly recommend switching to a different show.

[-] expr@programming.dev 6 points 1 year ago

I definitely write pseudocode like this, albeit perhaps with some more shorthand. It's commonly taught this way too.

[-] expr@programming.dev 6 points 2 years ago

Oh you mean stuff nobody actually asked for?

[-] expr@programming.dev 6 points 2 years ago

You're just a truly awful person, aren't you?

[-] expr@programming.dev 6 points 2 years ago

It sounds funny but it's not an uncommon phrase.

[-] expr@programming.dev 6 points 2 years ago

I know it's a joke, but just wanted to say that Uranium used for fuel is not something you can actually use for weaponry directly. It requires enrichment to increase the concentration of U-235 to weapons-grade levels.

[-] expr@programming.dev 6 points 2 years ago

The similarities are superficial at best. The only thing similar is that it uses braces for attribute sets (objects) and square brackets for lists. And I guess quotes for strings.

But otherwise it's a full (functional) programming language, with functions, variable bindings, etc.

Flakes aren't perfect, but they are really good for ensuring that you have completely reproducible builds since the version used for every dependency is pinned.

[-] expr@programming.dev 6 points 2 years ago

It's not the case that viruses can't exist on Linux, it's just very improbable through normal usage. The key difference is that the overwhelming majority of software installed on Linux is through a package manager, which is a tool that downloads software from a maintained, trusted, and vetted repository of software. So instead of googling "Firefox download", clicking on (hopefully) the right link (and getting this right gets harder and harder with Google fucking up search results), and downloading the software from the website, you simply execute a command in your terminal like apt install firefox (for Debian-based systems, command can vary by distro you're using) and it pulls the software from a trusted repository. This alone eliminates the most common attack vectors, since usually Windows users get viruses by downloading random executables off the internet.

Generally, the way you get viruses on a Linux system are through finding/exploiting vulnerabilities in software which is very hard to pull off generally and are usually resolved fairly quickly once they're discovered (And of course, Linux is not unique in this respect, any computer can be target of such attacks).

[-] expr@programming.dev 6 points 2 years ago

Huh, my local Walgreens is usually like 1-2 pharmacists, 3-4 techs, and 2-3 people for non-pharmacy.

view more: ‹ prev next ›

expr

joined 2 years ago