Better HN
topnewbestaskshowjobs
Log inSign up

mikedelfino

208 karma · joined Aug 8, 2017 (9y ago) · 126 submissions

Submissions

comment 3mo ago · link · parent

The VM is allocated 2 cores and 4GB of RAM. For my workload, it doesn't feel any slower than running it directly on the host. The few times I've checked memory usage, it wasn't anywhere near full as far as I remember.

comment 3mo ago · link · parent

Since everyone is sharing their setup, here’s my approach, just to give people an idea of how others are doing it, however impractical it might look: I run a full Linux VM (with a GUI) on my Linux host. I connect via virt-viewer to run Claude Desktop, as I’m not a fan of using the terminal for this.

The VM sits on its own libvirt network in a dedicated firewall zone, and specific directories are shared via filesystem passthrough. To keep the agent from accessing anything related to Git, the actual gitdir is stored on a separate path outside the mount point.

I review the git diff manually and commit it from the host.

comment 11mo ago · link · parent

The trick is they'll see it working for themselves. :)

comment 1y ago · link · parent

Either working with PHP for 21 years is not long enough or simply too long. I honestly think these small inconsistencies are irrelevant in the big picture of building something complex. Like you said, programmers should deal with them. It just doesn't sound like a big deal.

comment 1y ago · link · parent

What do you mean developers should deal with functions like those? They're used when necessary, yes, just like any function. And no IDE is required. I'm really puzzled.

comment 1y ago · link · parent

Do you have a Fear Of Missing Out on something otherwise? People coined this expression a while ago.

comment 1y ago · link · parent

Shouldn't each circle be pulling in its own color instead of pushing the other one out? Right now it looks like they're expanding the opposing color, when you'd think they'd be rooting for themselves.

comment 1y ago · link · parent

Never mind, I tried recording it now but could not reproduce it anymore. It was probably something on my phone at the time (Firefox on Android). I tried to remove or edit my previous comment but it seems it's not an option. Sorry for the noise.

comment 1y ago · link · parent

That content scrolls quite slow on my phone. Is there another scrolling effect that makes it slower on purpose or it's a side effect of the glass look?

comment 1y ago · link · parent

I came here to say exactly this. You can even set up build steps using GitHub Actions if you prefer something beyond vanilla JS, or publish the project for free on Cloudflare, even from private repositories. In addition to localStorage, IndexedDB is also very useful. It's easy to export the app’s data as JSON for better persistence, and you could store it on Google Drive or a similar service.

comment 1y ago · link · parent

> It is the friction for paying for the service and the hassle that comes after the payment.

I don't know. Paying for streaming services seems very natural nowadays.

comment 1y ago · link · parent

Thank you for sharing. Do you recommend any courses or books for following that path?

comment 1y ago · link · parent

Most likely for lobbying purposes. You might want to support or block a bill, resolve an issue that affects you, or push for legal changes or permits that benefit your business. It's about influencing decisions that have a direct impact on your interests. And it doesn't even need to be business related; sometimes it's just like calling the building manager when something is annoying you and you're bored.

comment 1y ago · link · parent

The thing is others will eat ice cream faster so very soon there'll be no ice cream for me.

comment 1y ago · link · parent

I'm not sure this is what you're looking for, but these two come to mind:

- Mixx: https://mixxx.org/screenshots/

- darktable: https://www.darktable.org/about/screenshots/

comment 1y ago · link · parent

Do English speakers pronounce .us domains as dot us instead of dot u s?

comment 1y ago · link · parent

The irony is that much of the writing and art have indeed been automated.

comment 1y ago · link · parent

What does it take to land a six-figure coding job? The $10k reward alone is nearly half of my annual income. I have no idea how good you have to be to earn that much.

comment 1y ago · link · parent

I get that they don't care. I was just curious why that would be an intention in itself.

comment 1y ago · link · parent

> The simplest explanation is that this administration wants the US to be hated

Why would they want that?

comment 1y ago · link · parent

Even by your rationale, why wasn’t she simply refused entry and sent back to her country at her own expense?

comment 1y ago · link · parent

Any recommendations?

comment 1y ago · link · parent

I use it to back up my photos and create shared albums during vacations.

comment 1y ago · link · parent

Perhaps it’s so important that you take it for granted, even though it took a great deal of effort from others to make sure you don’t notice the problem in the first place.

comment 1y ago · link · parent

Got it. I thought it had to do with execve() syscall.

comment 1y ago · link · parent

I'm not sure about the other commenter's intentions, but on desktop, I wish every program started in a restricted network namespace. Instead of blocking all incoming and outgoing connections by default, it would request user permission interactively and adjust access accordingly.

comment 1y ago · link · parent

You might find Flatpak interesting if you're not already familiar with it. Properly packaged applications start with limited file system access—for example, when you browse file:/// in Firefox, it can't see all your files. However, using the "Open File" menu acts as a file system portal, granting access to selected files on demand. While this isn't exactly how macOS handles permissions, it does prevent the unrestricted system access you're concerned about.

comment 1y ago · link · parent

Could you please help me understand why exec is required for this touch example? Is it necessary to actually launch the touch binary? Or touch itself exec()s something else?

comment 1y ago · link · parent

Do you mean that you always carry a loaded gun with you and that you would shoot someone who tries to steal your phone?

comment 1y ago · link · parent

Is the implication that, just as all elevator operators have been replaced and are not missed, the same will happen to all programmers?
12345