HNHacker News
TopNewBestAskShowJobs

9029

73 karma · joined April 11, 2023

submissionscomments
9029··on More random home lab things I've recently learned
Used Intel 8th gen based mini PCs seem like a pretty good value. 100-150 bucks for a pc from a somewhat reputable brand (lenovo, dell, hp) with slightly better multi core than N150 and ~6W idle if you manage to get it to stay in C10. Some of them have a low profile pcie slot, like M720q and M920q. Also the CPU is socketed so you could technically upgrade it to e.g. i9-9900K, at least the M920q is known to take one as long as you use a powerful enough PSU. Few of them (at least M920q) also support coreboot due to an Intel Boot Guard vuln which could be fun, I'm planning to look into whether it could be ported to my M720q as well.
9029··on Firefox is the best mobile browser
The difference is that unlike Brave and Vanadium, Firefox doesn't come with an ad blocker. You will have to install uBO. If you want to also trim tracking query params, you will have to enable a non-default filter list. Modifications like these will make you stand out from the average Firefox user. It's the reason why installing more extensions and messing with settings is not recommended when using Tor browser or Mullvad browser. The GrapheneOS project also discourages it (https://grapheneos.org/usage#web-browsing).

But you are still right, I don't have data for this or even a measure for uniqueness, it's just a guess.

9029··on Firefox is the best mobile browser
While I still use Firefox on desktop, on Android I recently switched from Firefox mobile to Brave out of security concerns and frustrations with performance. It has built-in tracker, query param and ad blocking, and is recommended by the GrapheneOS people as a decent alternative to their Vanadium browser [0]. Additionally, I have a gut feeling a Brave user blends in a bit better with its default ad blocking vs say a Firefox user with extensions and filter lists of their choice, but this might be negligible.

On the other hand the affiliate, crypto and AI shit in Brave are quite disgusting tbh, but at least they can be disabled. I also miss Firefox sync a bit.

[0] https://grapheneos.social/@GrapheneOS/111966258971400137

9029··on A macOS terminal command that tells you if your USB-C cable is bad
I have been planning to get either Witrn K2 or Power-Z KM003C. If just cable testing is enough, the Treedix one is probably good.

Related: If you are looking for cables, this guy has tested a bunch (mainly for charging capabilities) https://www.allthingsoneplace.com/usb-cables-1

9029··on Building an IoT Notification Device from Scratch
Very cool project, I feel inspired to try something like this myself!

I noticed there seems to be a use-after-return with the creds returned from CredentialManager::retrieveCredentials (C-arrays can't be passed/returned by value). One solution could be to return Arduino Strings instead

9029··on Traefik's 10-year anniversary
LLM rizzmaxxing is crazy
9029··on KDE is now my favorite desktop
I don't know how to feel about that. To me it sounds like an awful direction for the desktop experience on macOS, but on the other hand iPads are currently held back by iPadOS
9029··on A new experimental Google app for Windows
I very much enjoy Everything whenever I use Windows. I wonder what's the equivalent for Linux, plocate?
9029··on Show HN: Omarchy on CachyOS
Fwiw this has been my setup for ~10 years now and I don't really see an issue with it. Screen locker crashing would have been a concern back in the Xorg days but I don't think it's an issue nowadays with the ext-session-lock-v1 Wayland protocol. I value startup speed and simplicity of my setup and have no use for features provided by a DM, so this has always felt like a no-brainer to me.
9029··on GrapheneOS and forensic extraction of data (2024)
Where does it say the app comes with Graphene???
9029··on Tell HN: Use "-f**k" to kill Google AI Overview
It sounds good but I feel little uneasy about them paying Yandex
9029··on The MiniPC Revolution
Something like this? https://rog.asus.com/us/desktops/mini-pc/rog-nuc-2025/ No idea about the noise though, and personally I despise the design.
9029··on Partially Matching Zig Enums
Nope, this is not relying on optimization, it's just how compile time evaluation works. The language guarantees "folding" here regardless of optimization level in use. The inline keyword used in the original post is not an optimization hint, it does a specific thing. It forces the switch prong to be evaluated for all possible values. This makes the value comptime, which makes it possible to have a comptime unreachable prong when switching on it.

There are similarities here to C++ if constexpr and static_assert, if those are familiar to you.

9029··on Microsoft is open sourcing Windows 11's UI framework
The talk in question showcases a widget in the start menu that's using react native. Apart from the meme itself, I have not found indication of the start menu being a react native app. Every time this comes up it seems to always lead back to that meme.
9029··on Microsoft is open sourcing Windows 11's UI framework
So the source is a twitter meme?
9029··on Microsoft is open sourcing Windows 11's UI framework
> The Start Menu is apparently a React Native app

What's the source for this?

9029··on Copyparty – Turn almost any device into a file server
I wonder if cosmopolitan libc[0] could be leveraged to create an actually portable executable™ without a rewrite, looks like someone has figured out compiling python 3.11.4 with it[1]

[0] https://github.com/jart/cosmopolitan

[1] https://ahgamut.github.io/2021/07/13/ape-python/

9029··on I hacked my washing machine
I should probably look into filtering out the LLM stuff with uBlock Origin rules or something.
9029··on Cozy video games can quell stress and anxiety
balatro
9029··on The reality of working in tech: We're not hired to write code (2023)
I'm having kind of a hard time imagining how such position would look like. Only working on greenfield projects, moving onto the next project once the codebase gets intolerable?
9029··on Writing a simple pool allocator in C
Today I learned, thanks
9029··on Writing a simple pool allocator in C
Another (admittedly less portable) way to solve the resizing problem is to reserve a large virtual memory space using linux mmap with the PROT_NONE flag and then commit pages as needed using mprotect with PROT_READ|PROT_WRITE flags. I believe windows' VirtualAlloc/VirtualProtect also allows this
9029··on ESET recommends Linux if your unsupported Windows 11 PC can't update from 10
I have always wondered why MX Linux is at the top on distrowatch, it does not seem that popular outside the site
9029··on Advent of Code 2024
The numbers are so small that you can also just use a big array
9029··on Advent of Code 2024
I have used Stylus for CSS tweaks: https://addons.mozilla.org/firefox/addon/styl-us/
9029··on New Windows driver signature bypass allows kernel rootkit installs
Well the demo is showing a crossing of something that ms has defined to not be a real security boundary: "Administrative processes and users are considered part of the Trusted Computing Base (TCB) for Windows and are therefore not strong isolated from the kernel boundary." [0]

Another recent case: https://arstechnica.com/security/2024/03/hackers-exploited-w...

[0] https://www.microsoft.com/en-us/msrc/windows-security-servic...

9029··on Things you should know about Windows Input, but would rather not
I'm not aware of any studies on this, Nvidia did do a study on the effect of sensitivity on aiming [0] but I'm afraid it didn't cover acceleration. Imo it very well could be given how many top aimers and pro players have successfully used configurable mouse acceleration solutions like RawAccel, InterAccel, Povohat's and Quake built-in acceleration. I feel like aiming with acceleration has a steeper learning curve though especially with steeper acceleration curves without an offset, so perhaps I still wouldn't slap default windows acceleration at newer players.

[0] https://research.nvidia.com/publication/2022-08_mouse-sensit...

9029··on Microsoft says 8.5M Windows devices were affected by CrowdStrike outage
What if I told you the cause was a failure of a dependency running CrowdStrike
9029··on I'm funding Ladybird because I can't fund Firefox
What's the context for #2?
9029··on Imhex: A hex editor for reverse engineers
they probably just picked the opengl renderer for imgui
← PreviousPage 2 of 3Next →