HNHacker News
TopNewBestAskShowJobs

figmert

1,008 karma · joined July 10, 2023

submissionscomments
figmert··on Android CLI: Build Android apps 3x faster using any agent
Aah! Yes absolutely right! Using `exec command android-cli` would work I believe
figmert··on Android CLI: Build Android apps 3x faster using any agent
Create a wrapping binary instead

    mkdir -p ~/.local/bin
    printf '#!/usr/bin/env sh\nexec android-cli --no-metrics "$@"' > ~/.local/bin/android-cli
    echo 'PATH="$HOME/.local/bin:$PATH"' >> ~/.zshenv
figmert··on Anna's Archive loses $322M Spotify piracy case without a fight
I think it was 15 minutes? Or maybe it was upped to 15 mins? But yes, it was super annoying when part n of something was missing.
figmert··on Google Gemma 4 Runs Natively on iPhone with Full Offline AI Inference
> :v

I guess I found the millennial. I haven't seen that in so long!

figmert··on Someone bought 30 WordPress plugins and planted a backdoor in all of them
Obligatory: https://xkcd.com/538/
figmert··on How the Trivy supply chain attack harvested credentials from secrets managers
Leaving aside the fact that this is an ad thinly veiled as an article, OneCli does the same, and recently NanoClaw made OneCli setup their default.
figmert··on Sonnet 4.6 Elevated Rate of Errors
I'm on the max 20 plan, and yes, it's the same for me. The week before last it used to last all week for me, but now it's Wednesday and it's already at 40% usage.
figmert··on Run Linux containers on Android, no root required
Android kernel has the relevant kernel parameters disabled. It is entirely possible to run containers directly on android, but it requires enabled the relevant parameter (iirc no recompilation need, just a cmdline change). But this of course requires root.
figmert··on Tell HN: Anthropic no longer allowing Claude Code subscriptions to use OpenClaw
Can they actually realistically do this? Nothing technical can stop a client from masquerading as another, and with the right level of dedication, this wouldn't be very hard to do. And since they're mostly targeting power users, seems like they're barking up the wrong tree. Have I missed something?
figmert··on Run Linux containers on Android, no root required
This can probably be upstreamed into podman. Podman already has supports using a VM using podman machine (uses different tech under the hood depending on the OS). This seems like it can be yet another backend for it.
figmert··on Show HN: Home Maker: Declare Your Dev Tools in a Makefile
Mise supports lock files but also validates checksums when possible.
figmert··on Axios compromised on NPM – Malicious versions drop remote access trojan
Fairly sure every single one has a repo level config that you can add these settings to. Others have pointed out the pnpm and npm, and I bunfig can also be repo level.
figmert··on OpenAI closes funding round at an $852B valuation
Probably again cancelled or significantly reduced in the near future when all the current investors inevitably cash out.
figmert··on People inside Microsoft are fighting to drop mandatory Microsoft Account
> don't know much about MacOS but the same isn't really true of [desktop] Linux. Most of its flaws are not easily fixed in the same way and are much deeper architectural/social issues that require a lot of work to fix.

I'm not sure where you got this, but I've been a fulltime Linux user for near 2 decades, and I promise you almost everything is fixable. The biggest issues are drivers, but even then you're bound to find someone who has developed some drivers or if not, you can develop your own if you have the skill or pay someone if you don't.

figmert··on People inside Microsoft are fighting to drop mandatory Microsoft Account
Exactly! And this was a huge reason why I switched to Linux as my primary OS. For a while the only problem for me was gaming, but that's less of an issue now because of Valve but more so because I kinda stopped playing games.
figmert··on People inside Microsoft are fighting to drop mandatory Microsoft Account
I dunno, you say you prefer Windows over macOS, but it sounds to me like you're fighting your OS.

MacOS has a lot of flaws, but at least I'm not fighting it. If I say to do something, it does it. It doesn't suddenly revert your decision.

figmert··on Go hard on agents, not on your filesystem
Docker containers use cgroups and namespaces etc (the usual kernel level isolation)

Docker sandboxes use microvms (i.e. hardware level isolation)

Bubblewrap uses the same technology as containers

I am unsure about seatbelt.

figmert··on A Faster Alternative to Jq
I totally agree, it did take me a while to come to terms with the syntax of assigning variables specifically due to that pipe at the end. I guess sometimes we just have to know the quirks of the relevant tooling we use. I used to use PHP heavily in the 4 and 5 days, and kinda got used to all the quirks it had. So during reviews, I would pick up a lot of issues some of my colleagues did not.

Interestingly some things do use a semicolon in jq, specifically while, until, reduce and some others I can't remember right now.

figmert··on A Faster Alternative to Jq
You can use sponge for that.
figmert··on A Faster Alternative to Jq
Here's an easier to understand query for what you're trying to do (at least it's easier to understand for me):

    cat input.json | jq -r '(first | keys) as $cols | $cols, (.[] | [.[$cols[]]]) | @tsv'
That whole map and from entries throws it off. It's not a good use for what you're doing. tsv expects a bunch of arrays, whereas you're getting a bunch of objects (with the header also being one) and then converting them to arrays. That is an unnecessary step and makes it a little harder to understand.
figmert··on Shell Tricks That Make Life Easier (and Save Your Sanity)
> Be careful working CTRL + W into muscle memory though, I've lost count of how many browser tabs I've closed by accident...

This hurts.

Also, for the shell, if you do C+w, you can "paste" it back using C+y. Assuming you have not removed that configuration.

figmert··on Wine 11 rewrites how Linux runs Windows games at kernel with massive speed gains
Meanwhile I've been impressed with Wine since I discovered it. One of the few things that was keeping me from moving to Linux was MS Office suite. I struggled to get used to OpenOffice. And wine was able to run it. Sure I had to faff around with it, but I was just so impressed. I was telling all my family, but they just didn't get it.

Anyway, I later stopped using it because Google Docs and then later libreoffice was good enough. I still followed it, and I continued to be impressed by all the announcements.

figmert··on MoD sources warn Palantir role at heart of government is threat to UK security
- Palantir built ICE's surveillance infrastructure. The technology concentrates power, and with the current government have zero oversight means this is a dangerous game that is being played. [0]

- Thiel has literally said that freedom and democracy are not compatible. [1]

- He has suggested conservatives should stage a military coup. [1]

- Secretly funded Hulk Hogan’s lawsuit against Gawker Media, thereby all but destroying it.

- He still believes and pushes the debunked race science.

There's probably many other things I'm missing, but overall he's seems like a not so nice person as far as people go. Overall there is zero reason to trust anything that he has his hands on. Especially not things that matter in a national security context. This applied to all countries, including America.

[0] https://www.americanimmigrationcouncil.org/blog/ice-immigrat...

[1] https://www.rollingstone.com/politics/politics-features/owne...

[2] https://www.theguardian.com/media/2016/may/26/paypal-co-foun...

[3] https://bylinetimes.com/2025/09/18/peter-thiels-race-science...

figmert··on Your phone is an entire computer
I'd love to know your experience with the Xreal. I have seen a lot of videos on YouTube, but something throws me off. It just seems like they're all shilling.
figmert··on Your phone is an entire computer
One reason I got the Samsung S24 Ultra a couple of years ago is to run a full Linux desktop environment (via Termux), something you really can do. I even say it up, but I struggled to really get into it. Mostly because I banked on Nexdock, but it's trackpad is impossible.

That is to say, yes. And with that you can also run windows applications, e.g. through Winlator.

I was able to run Intellij IDEA, but of course ymmv as the application really has to be available for Android arm64.

figmert··on Nvidia backs AI data center startup Nscale as it hits $14.6B valuation
> africa is africa

Jeez what a way to dismiss the second largest continent and the second most populous landmass in the world.

I'd argue Africa is the best place to start such a thing. Cheap labour, plenty of renewable energy. The biggest issue it probably has is how little bandwidth it has, and might require additional sea cables.

But "africa is africa" is not a way reason to dismiss the continent.

figmert··on Cancel ChatGPT AI boycott surges after OpenAI pentagon military deal
According to QuitGPT[0], as of now, 2.5 million people have done so, which they base on "website signatures, share counts on social media, and credible app usage data". I don't know how accurate this is, but seems a bit of a high number.

[0] https://quitgpt.org/

figmert··on What does " 2>&1 " mean?
One of my use-cases previously has been enforcing ultimate or fully trust of a gpg signature.

    tmpfifo="$(mktemp -u -t gpgverifyXXXXXXXXX)"
    gpg --status-fd 3 --verify checksums.txt.sig checksums.txt 3>$tmpfifo
    grep -Eq '^\[GNUPG:] TRUST_(ULTIMATE|FULLY)' $tmpfifo
It was a while ago since I implemented this, but iirc the reason for that was to validate that the key that has signed this is actually trusted, and the signature isn't just cryptographically valid.

You can also redirect specific file descriptors into other commands:

    gpg --status-fd 3 --verify checksums.txt.sig checksums.txt 3>(grep -Eq '^\[GNUPG:] TRUST_(ULTIMATE|FULLY)')
figmert··on Show HN: Better Hub – A better GitHub experience
> It just wants me to sign-up and provide a bunch of permissions without first selling itself to me.

Yes, and including admin access to all your orgs :)

figmert··on New accounts on HN more likely to use em-dashes
Anecdotally I've noticed a lot of articles lately having a heading that says "why this matters". It's weird how it's become so prevalent lately.
← PreviousPage 4 of 11Next →