HN user

iFreilicht

241 karma
Posts1
Comments150
View on HN
MacBook Neo 5 months ago

100% agree. The mac mini was offered with 8GB for some time as well, and when my dad needed a new desktop, I thought that would be a good option. It was basically unusable. Even when you only have a few finder windows and a few (less than 5) tabs in safari open, you can feel the swap slowing down the system; just opening a folder or a new tab is noticeably slow, opening safari itself takes multiple seconds, and with just that basic usage you can run into the out-of-memory dialogue, something I had never seen before in macOS.

I have no idea how apple can believe that the neo won't damage their brand reputation. They must have optimized something to make 8GB viable.

This is fascinating. I scrolled through that page and immediately felt like something was marketed to me. I actively hated reading this because it felt so much like the tech company's buzzword-filled landing pages that I have come to despise over the course of my career.

But giving the paper to Claude and having a dialogue about it was a very pleasant experience because I could ask questions to focus on the parts that seemed most interesting to me.

Are they? I couldn't find any info about this and my past perception has been that Anthropic has a stronger moral codex than other AI companies, so I would be genuinely interested in where you got this information from.

You clearly didn't read the whole article. He specifically explains multiple options for how you can get any software onto the system you want.

The goal of this project is to provide a platform that regular developers can write apps for and that regular users can understand and be productive on with minimum friction.

There is no loss of freedom here.

Could you explain what you like about it? I feel like I'm missing something. I've listened to half an hour now and there have been a like five minutes of substance, the rest is self-references and jarring editing.

If I listen to a podcast I want to learn something, gain a new perspective, listen to a well-moderated conversation or at least laugh.

This podcast does none of those things. Literally doing nothing and letting my thoughts wander is more interesting than listening to this.

Vibe engineering 10 months ago

It is a pity but people do not read much these days.

This is a common belief, but it's just not true. The book industry is healthier than ever.

How is that relevant? A few examples do not disprove anything. It's pretty common knowledge that the more successful/rich etc. your parents were, the more likely you'll be successful/rich etc.

This does not directly prove the theory your parent comment posits, being that better circumstances during a child's development improve the development of that child's brain. That would require success being a good predictor of brain development, which I'm somewhat uncertain about.

This makes me curious; have there ever been security exploits that utilized the font rendering as an actual attack vector? To me it feels like font rendering should be pure (in the functional sense) and thus have no side-effects, but of course that doesn't mean anything in practice.

I have been dreaming of creating a mixed hardware/cloud service that would make this possible again in today's internet. Basically, you can open an account and get your own domain and nextcloud + mastodon + wordpress instance. You pay based on how much storage you use. If you want, you can get your entire cloud shipped to your home, attach it to a router there, and then you only pay for my service to be the gateway to the server you have at home. All the data is at home, you have full control.

Of course, the defaults would have to be basically zero-management. But people would be able to choose how much control over their own data they want versus how convenient they want it to be. Right now, it's pretty much all or nothing.

Those broad rules were proposed and rejected on the basis of being too broad. That is exactly what the mentions of "concern trolling" are about, and as that is an effective way of preventing any change to the structure that would allow to drive those people out, this cycle has continued for months, if not years.

I posted this somewhere else, but I feel it's important to note here:

Forking Nix would take an immense amount of effort, and the maintainers are already overworked. There would absolutely be a community split, which means that there would be even more work required than before to just maintain both of the forks and keeping them in sync. The nix language itself has no spec right now, meaning the behavior is defined by the singular existing implementation. Forking Nix itself will very likely introduce incompatibilities that are impossible to remedy. A lot of the power of nix comes from nixpkgs (where the entirety of NixOS is maintained as well), its build system hydra and the binary cache, the servers, CDNs and agents for which are sponsored by external companies (we're talking 0€ cost for something that would normally cost 10s of thousands every year). Forking would lose all of that, it's pretty much impossible financially.

I think it really warrants saying it without sugarcoating... this is exactly what a terrorist does.

What about this situation made you think it warrants saying that? What is your definition of a terrorist? I thought a terrorist was a person that spread terror by acts of violence. Which is not what's happening here.

This answer by the developer of Rufus clears up this common misconception amongst Linux users; copying an .iso file to a USB drive with dd is the correct way to create a bootable drive and has the same result as burning the .iso to a physical disk.

TL:DR; This works with basically all Linux Distros, but only because of a hack/software called isohybrid.

Testcontainers 2 years ago

One specific case that I encountered recently was implementing "integration" tests, where I needed to test some behavior that relies on the global state of a database. All other tests before were easily parallelized, and this meant our whole service could be fully tested within 10-30 seconds (dev machine vs. pipeline).

However, the new tests could not be run in parallel with the existing ones, as the changes in global state in the database caused flaky failures. I know there will be other tests like them in the future, so I want a robust way of writing these kinds of "global" tests without too much manual labor.

Spinning up a new postgres instance for each of these specific tests would be one solution.

I would like to instead go for running the tests inside of transactions, but that comes with its own sorts of issues.

That's neat. But it still got fooled by them:

Best Splurge: Molekule Air Pro

This high-end purifier uses PECO technology to destroy airborne pollutants, including pet hair, dander, and viruses. It's also effective at removing odors and VOCs. While it's one of the most expensive options on the list, it's a good choice for those with severe allergies or asthma.

This brand was specifically called out by the main article for being overpriced junk by a company currently in a lawsuit regarding false advertising.

In a few central european countries, Galaxus is a good alternative. I'm a little afraid to mention it here, because more users means more incentive for sellers to buy fake reviews, and currently one of the best parts about it is that I can trust the reviews. Many of them are well written, too.

But they do quite a few other things I like: If you choose that delivery is not urgent, they will wait for all articles to be available and send them as one package. You can pay a little extra to have the carbon footprint of your order offset. They have their own paid staff that answers questions on products in addition to the community. They pay their own writers to review products and write guides for selecting the correct product in a category, and they seem very genuine, it doesn't read like marketing BS.

So generally, I feel quite good about shopping there. And it seems their style fosters a community of buyers that care about buying the correct product for their needs, and wanting to inform others about their experience.

C++ Should Be C++ 3 years ago

That actually seems unrealistic to me. Of course, people will always become better at doing the things they do, and we can always try harder, but many of these issues take time to consider and find during code reviews, and a few just slip by. That's why tools like Coverity exist, but you have to spend time and money to set those up, meaning it's only done when absolutely necessary (or one dedicated person is really pushing for it). Choosing a different language is basically free in the beginning, and it will impact which sort of bugs will be caught by default and which won't. C++ is also massively hurt in this regard by not having a package manager. JS is a very risky language by default, but a few tools just with their default settings will already help massively. I guess Nix could be considered the missing package manager for C and C++, but it's still niche and definitely not a "default" like pip, npm or cargo.

HTML First 3 years ago

Interesting example. Why would you say VSCode is a mess? I feel like it's not in line with the current UX Zeitgeist I assume you're referring to (touch-first, wasteful whitespace, manipulative patterns, reduced functionality) at all. It provides multiple layers of access to functionality that allow the user to choose their trade-off between discoverability and speed. The UI is compact with very little padding and shows a lot of information at once. No affordances to touch input are made either.

Another powerful tool that is built on modern UX principles would be Fusion 360. In my experience, it makes me as a user much more powerful and actually provides more functionality in a more productive manner than its competitors and predecessor. Would be interested in you explaining how that UI is a mess as well.

Every function has to pop all its inputs from and push its output to the stack. the duplicate (or .) function pops one input and pushes it twice.

That is a little surprising, but making stack operations special in that they don't need to pop their arguments might be a worse option.

I've seen "wild guessing" quite a bit when people don't actually understand the problem they're solving. Mostly students, but it happens in professional contexts as well.

I'm not sure why, maybe people are missing knowledge that would allow them to understand, so they just try random things in the hope that it works? It surprises me every time it happens.

So this is possible, but there are a lot of caveats. First, the installer itself explicitly says:

```

# Please don't change this. We don't support it, because the

# default shell profile that comes with Nix doesn't support it.

readonly NIX_ROOT="/nix"

```

I haven't seen any configurations where the entire /nix is relocated, but nix _does_ support relocating the store with the environment variable `NIX_STORE_DIR`.[1]

However, this means that you can no longer use the the binary cache and *everything* you install has to be compiled from scratch, including glibc. The reason is that nix usually patches paths like `/bin/myprogram` to `/nix/store/1238f...-myprogram-1.2.3/bin/myprogram` in everything that depends on `myprogram` during build time to isolate the build outputs from the system. If you change your store, all those paths will now be invalid, including the hash part.

So using a nix store that isn't `/nix/store` is possible, but I don't think anyone is actually doing it except in a few select scenarios.

You can also compile nix itself with a different root. That will work as expected, but you still have the issue that you need to compile everything you install yourself.

[1] https://nixos.org/manual/nix/stable/command-ref/env-common.h... (you can also relocate most other directories. The `prefix` in the paths is `/nix`)

Yeah, that's a long-running and pretty much unfixable issue as macOS updates overwrite /etc/zshrc. AFAIK, the determinate systems installer does somewhat resolve this as you can just run it again and it will fix the issue.

The default installer is not idempotent yet (and my work on trying to resolve that has stalled, unfortunately, see https://github.com/NixOS/nix/pull/7603), so trying to run it again to fix this issue will result in errors.