News for hackers. Stuff that matters.

NoThisIsMe

> sat fat matter more to blood cholesterol than food cholesterol

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

Re:Making Libcurl Work in WebAssembly on Wednesday July 30, 2025 @10:50AM (#44734964)
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.

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_...

> 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.

Re:The Fairphone (Gen. 6) on Wednesday June 25, 2025 @10:03AM (#44377469)
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.
It's distributed in the Play Store, so Google controls the update servers, no?

Edit: or Apple, whathaveyou

Re:Coffee for people who don't like coffee on Wednesday May 14, 2025 @12:22AM (#43980775)
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.
Re:Are you cleaning your water bottle enough? on Monday March 17, 2025 @02:23PM (#43391325)
Is there an advantage to borosilicate glass over food-grade stainless steel?
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).

Re:Frank Lloyd Wright's mile high skyscraper proposal (2021) on Thursday February 06, 2025 @07:43PM (#42968064)
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.

Re:Timeshift: System Restore Tool for Linux on Monday July 22, 2024 @10:19PM (#41041909)
What are you talking about? Nixpkgs is one of the largest and most up-to-date distro package repos out there.
> but your cutesy coding style makes that a non-starter

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

Re:Automate Project Environments with Devbox and Direnv on Wednesday July 10, 2024 @10:43AM (#40927455)
Yep that too
Re:Automate Project Environments with Devbox and Direnv on Wednesday July 10, 2024 @10:20AM (#40927206)
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`

Re:Cities Need More Trees on Sunday July 07, 2024 @12:42PM (#40898713)
> 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

Re:Larry Ellison Owns 98% of Lanai Island, Hawaii on Thursday June 06, 2024 @09:38AM (#40597284)
Sad but not surprising. [Private] property is theft, as they say.
Invented their own database? They use Cassandra IIRC
There is stop scroll support in GTK4
Re:Apache Superset on Monday February 26, 2024 @11:58PM (#39520340)
Clojure is not particularly obscure
You can get all of that with just Emacs tho
This is not an issue with Emacs though, GUI or otherwise, because everything's just a buffer
That's not the question. The question is: If there are no marbles in a bag, are all marbles in the bag black?
Looks much closer to Grain [1] than AssemblyScript

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

That's not how the term is used in programming. Side effects may be intentional.
Re:Crafting container images without Dockerfiles on Monday February 06, 2023 @07:43PM (#34686873)
> 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?

Re:Ask HN: How to encrypt data in a SQL database? on Thursday February 02, 2023 @07:41PM (#34635546)
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.
Re:Ask HN: How to encrypt data in a SQL database? on Thursday February 02, 2023 @07:36PM (#34635502)
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.
Re:Gödel's Solution to Einstein's Field Equations (1949) on Tuesday January 31, 2023 @10:38PM (#34606034)
Could you expand on this, or provide a source? I don't see how physics could yield a pure math result like that.
Re:Ask HN: How do you test SQL? on Tuesday January 31, 2023 @07:06PM (#34604266)
This is testing the code that emits the SQL code, not the SQL code itself. Sometimes that's what you want, but it's not what OP asked for.

Older »