HNHacker News
TopNewBestAskShowJobs

brewmarche

517 karma · joined August 5, 2018

submissionscomments
brewmarche··on Designing a Low Latency 10G Ethernet Core (2023)
Apologies, my post was not precise enough, but I think I got it.

> It wouldn't be practical to make it behave quite like an L2 switch.

What are typical configuration? If you’re allowed to talk about it.

brewmarche··on Designing a Low Latency 10G Ethernet Core (2023)
So, if I know the destination addresses on each port in advance I can program it to behave like an L2 switch (with proper multicast even), and I can use code to reprogram it whenever the traffic pattern changes?
brewmarche··on Incident with Webhooks
Interesting that they went with a custom MIME type and a custom version header. I would have expected the version to be in the MIME type, but I feel like there is a reason behind this.
brewmarche··on Designing a Low Latency 10G Ethernet Core (2023)
Are L1 switches like hubs or repeaters then? Sorry for my confusion.
brewmarche··on Pnpm has a new setting to stave off supply chain attacks
Maybe surprising for days (could also happen with minutes because of leap seconds technically :-) but for months and years this is more apparent due to month ends and leap years.
brewmarche··on Microsoft Python Driver for SQL Server
I have very limited Python experience but I remember using pymssql in the past. Are there any problems with it?
brewmarche··on About the security content of iOS 15.8.5 and iPadOS 15.8.5
I have the same phone but to be fair some websites stopped working (GitHub is among them) and some of my banking apps stopped getting updates as well.

No huge deal breakers _personally_ as I don’t need banking on my phone anyway (I have an iPad at home, and also checked that the banks offer authentication devices like TAN generators if I really need to get out of the iOS/Android ecosystem).

Apple Pay still works fine.

I hope that small phone has a long life ahead of it still :)

brewmarche··on Folks, we have the best π
I don’t think it’s a metric for 0 < p < 1 though.
brewmarche··on macOS Tahoe is certified Unix 03 [pdf]
Note: while the link above points to a newer standard, the quote has already been present in the one for UNIX 03 it seems: < https://pubs.opengroup.org/onlinepubs/009696699/functions/po...>
brewmarche··on The Deletion of Docker.io/Bitnami
That’s the first part, but will the charts work if I override the image name with a non-Bitnami one (e.g. docker.io/library/redis for redis)? Or do they bake in special stuff in their images that their charts rely on?
brewmarche··on The Deletion of Docker.io/Bitnami
Anyone know what happens to their Helm charts? As far as I know they remain available but do they work with non-Bitnami images? Can I use the official redis image instead of bitnami/redis with the Bitnami redis chart for example?
brewmarche··on macOS dotfiles should not go in –/Library/Application Support
That sounds like a good distinction.

What are CLI tools that work under macOS but not under Darwin? Shortcuts like `code` or `pycharm` that open graphical apps? CLI tools that come bundled with macOS? Yeah these could use the latter.

brewmarche··on macOS dotfiles should not go in –/Library/Application Support
As does vim (e.g. $XDG_CONFIG_HOME/vim/vimrc and $XDG_CONFIG_HOME/vim/pack/...)
brewmarche··on Show HN: OS X Mavericks Forever
I often bring this one up when I see missing braces in PRs.
brewmarche··on Show HN: OS X Mavericks Forever
I guess I was also confused about the different recovery modes as pointed out by aspenmayer below.

I used Shift+Option+Command+R (or hold Option and choose WiFi instead of disk) which is internet recovery using the macOS version that came pre-installed (or closest)

Whereas Command+R is local recovery which might be any macOS version that last changed the local recovery environment.

brewmarche··on Show HN: OS X Mavericks Forever
Yeah I remember using BootCamp back then. FreeBSD also works quite well on the MacBook Air mid-2014, but without WiFi.

Edit: I didn’t bother to look into wifibox which is a FreeBSD package that runs a Linux VM for the WiFi driver, that could work. Also didn’t bother to check the webcam. However both WiFi and webcam work under various Linux distributions, but it’s typically a third-party Broadcom driver that has to be added outside of regular package repos.

brewmarche··on Show HN: OS X Mavericks Forever
There is another one, you can hold Option while booting and it will show disks to boot from. But there is also a SSID dropdown to do internet recovery like Shift+Option+Command+R.
brewmarche··on Show HN: OS X Mavericks Forever
Big Sur Recovery mode works for me with Option+Cmd+R, so if needed I can install that. What I meant is that the other goes into Mavericks Recovery mode. And I’m happy about that actually :-)

Edit: if you were referring to Option+Cmd+R anyway, I guess I misread

Edit2: by other one I meant Shift+Option+Cmd+R, just Cmd+R actually goes into Big Sur, you are right!

brewmarche··on Show HN: OS X Mavericks Forever
I don’t know, I’ve performed numerous updates from the pre-installed Mavericks (Yosemite, El Capitan, High Sierra, Big Sur are the ones I remember, might be more), but the default recovery still goes into Mavericks for me
brewmarche··on Show HN: OS X Mavericks Forever
Good to know. Mine is from June 2014 (assembly, since it’s a custom configuration). Sorry for missing your point.
brewmarche··on Show HN: OS X Mavericks Forever
I think it depends on what was the current version when your model came out. Should have said mid-2014 like OP, sorry
brewmarche··on Show HN: OS X Mavericks Forever
The MacBook Air mentioned (2014) will install Mavericks when booted into recovery mode anyway (unless you use Option-Command-R which will give you the newest compatible version which is Big Sur).

I did that a few days ago and I agree, it’s quite snappy! Missing certificates can also be installed manually (e.g. from the curl CA bundle), but even then TLS 1.3 support is lacking in most apps which breaks a lot of stuff without the suggested proxy.

A lot of MacPorts ports also do not build sadly.

The look is so much better than current macOS.

brewmarche··on Why is GitHub UI getting slower?
The broken navigation (back button and issues pagination and more) they introduced with the revamp is so infuriating
brewmarche··on Uv: Running a script with dependencies
Thanks for pointing it out.

Indeed, OpenBSD’s and NetBSD’s `env` does not support `-S`. DragonflyBSD does (as expected).

Solaris as pointed out by the first link doesn’t even support more than one argument in the shebang so no surprise that its `env` does not support it either. Neither does IllumOS (but not sure about the shebang handling)

brewmarche··on Uv: Running a script with dependencies
Should be portable as long as there are no quotes. It’s basically a nop on macOS since in macOS the shebang args are already split by spaces (even when quoted).

Edit: further reading <https://unix.stackexchange.com/a/605761/472781> and <https://unix.stackexchange.com/a/774145/472781> and also note that on older BSDs it also used to be like that

brewmarche··on I was wrong about robots.txt
I wonder whether the path in the robots.txt (or maybe a <link> tag with a bogus rel attribute) would already be enough to make evil bots follow it. That would at least avoid accidental follows due to CSS/ARIA not properly working in weird constellations
brewmarche··on The Windows Subsystem for Linux is now open source
Corporate networking is why I still use WSL1 (I didn’t spend enough time to check why it doesn’t with WSL2, zScaler could be the culprit maybe).

However it’s not perfect, for example I hit this bug when trying to run node a few days ago https://github.com/microsoft/WSL/issues/8219#issuecomment-10... and I don’t think they’re fixing bugs in WSL1 anymore

brewmarche··on Show HN: Hardtime.nvim – break bad habits and master Vim motions
I used to be a big fan of easymotion until I discovered that / is also a motion and that with inline search enabled you can use CTRL-G to cycle through results.

Example: d / foo, first foo will be highlighted, use CTRL-G to select the next one if not correct (repeat if necessary; CTRL-T cycles backwards), ENTER to delete until highlighted section.

Unfortunately CTRL-G is not implemented in IdeaVIM.

brewmarche··on eBPF Mystery: When is IPv4 not IPv4? When it's pretending to be IPv6
You need to be a bit careful with terminology, IPv4-compatible and IPv4-mapped are different, i.e. ::/96 vs. ::ffff:0:0/96.

The former (compatible) are not in use anymore, they were specified in an old tunnelling RFC. The latter (mapped) are used for sockets that bind to both IPv4 and IPv6.

There are even more ways to include IPv4 addresses in IPv6 ones (NAT64, 6to4, ...)

brewmarche··on Stuffed-Na(a)N: stuff your NaNs
You can put diagnostic information about the cause of the NaN in the bits. IEEE754 doesn’t mandate any format though, leaving it up to the implementation. You can check section 6 of IEEE754:2019 (which also talks about the possibility to use it to extend the standard to wider ranges, more infinities or other stuff)
← PreviousPage 4 of 9Next →