Better HN
topnewbestaskshowjobs
Log inSign up

NoThisIsMe

193 karma · joined Dec 8, 2020 (5y ago) · 101 submissions

Submissions

comment 1y ago · link · parent

> sat fat matter more to blood cholesterol than food cholesterol

Can you expand on this? I don't understand.

comment 1y ago · link · parent

From the article

> What this code does is read an index file that contains the list of R packages from CRAN, and subsequently download the description files of the first 200 packages to the user home directory (which is actually a virtual filesystem in WebR [1]). > [1] https://docs.r-wasm.org/webr/latest/mounting.html

So I think it's a virtual filesystem in browser memory.

comment 1y ago · link · parent

You're thinking of memoization, which is related to but distinct from DP. Memoization is "top down", DP is "bottom up". DP generally has better space complexity (memory requirements). For example, for a function that computers the Fibonacci sequence, space complexity with memoization is O(n), vs O(1) with DP.

https://en.wikipedia.org/wiki/Dynamic_programming#Fibonacci_...

comment 1y ago · link · parent

> no difference between man/womnan

For the record, nobody says or believes this. We believe one should be free to change their gender, eg a woman should be free to live as a (trans) man. That's an entirely different thing than saying the man/woman dichotomy doesn't exist.

comment 1y ago · link · parent

I also wish there were more compact options, but the Pixel 8 is 71mm wide and you can unlock the bootloader. And if you're gonna run a custom ROM, the Pixel 5 is still a decent option.

comment 1y ago · link · parent

It's distributed in the Play Store, so Google controls the update servers, no?

Edit: or Apple, whathaveyou

comment 1y ago · link · parent

This! Whenever I mention that to me fancy light roasts taste sour, the response is almost always puzzlement, even from those who prefer dark roasts. Nice to know it's not just me.

comment 1y ago · link · parent

Is there an advantage to borosilicate glass over food-grade stainless steel?

comment 1y ago · link · parent

It's a deliriant, not a disassociative. Worth mentioning the trip is said to be deeply unpleasant, and also the plant is poisonous.

But yeah I too find it interesting how a drug can seemingly yield the same specific hallucination in different people. See also spiders and DPH (another deliriant).

comment 1y ago · link · parent

Alexander doesn't like sky scrapers, but he absolutely does not advocate for suburbia, at least not the the car-dependent hellscape you presumably have in mind.

You can archive considerable density without skyscrapers. In fact we've been building vibrant, walkable cities without skyscrapers for most of history.

comment 2y ago · link · parent

What are you talking about? Nixpkgs is one of the largest and most up-to-date distro package repos out there.

comment 2y ago · link · parent

> but your cutesy coding style makes that a non-starter

I don't think this is fair. The code looks pretty readable to me.

comment 2y ago · link · parent

Yep that too

comment 2y ago · link · parent

It is absolutely not an anti pattern to check Direnv's `.envrc` in to source control, and if you don't then you're passing up on much of Direnv's value proposition.

Obviously don't put secrets in there. For secrets and overrides you can use separate a `.env` file which is not checked in, and source it in `.envrc` with `dotenv_if_exists`

comment 2y ago · link · parent

> This is dumb. The same way wrapping cars in bubble wrap would be dumb but also make the cars safer.

I doubt that would work, but if it did, why exactly would it be "dumb"?

> Most of the ideas in that channel are just insane emotional propaganda

Nah, most the ideas in that channel are the output of decades of empirical research on road/street safety by Dutch government agencies.

This video [1] from another channel describes how Dutch legal reforms in the early 90's enabled this evidence-based planning by correcting incentives and dramatically simplifying the regulatory framework.

1. https://youtu.be/b4ya3V-s4I0

comment 2y ago · link · parent

Sad but not surprising. [Private] property is theft, as they say.

comment 2y ago · link · parent

Invented their own database? They use Cassandra IIRC

comment 2y ago · link · parent

There is stop scroll support in GTK4

comment 2y ago · link · parent

Clojure is not particularly obscure

comment 2y ago · link · parent

You can get all of that with just Emacs tho

comment 2y ago · link · parent

This is not an issue with Emacs though, GUI or otherwise, because everything's just a buffer

comment 3y ago · link · parent

Yes

comment 3y ago · link · parent

That's not the question. The question is: If there are no marbles in a bag, are all marbles in the bag black?

comment 3y ago · link · parent

Looks much closer to Grain [1] than AssemblyScript

1. https://grain-lang.org/

comment 3y ago · link · parent

That's not how the term is used in programming. Side effects may be intentional.

"Effects" (without the "side") usually means the effect is modeled as a type/value that is returned by the function.

comment 3y ago · link · parent

> Which allows you to create images using the command line to build them up step-by-step.

I mean.. you can also do this with the Docker CLI right?

comment 3y ago · link · parent

This would be an atypical use case for Vault AFAIK. My understanding is it's intended for sensitive config-like data, not sensitive app data.

comment 3y ago · link · parent

No, that's fine. I'd shy away from third party libs though, would probably use what Node.js provides out of the box. Or possibly something in the database, but I've never looked into that. Just don't roll your own crypto _library_, obviously.
1234