Hacker Newsnew | past | comments | ask | show | jobs | submit | lloeki's commentslogin

My workaround was to restore pre-notch behaviour by picking a resolution from the "show all resolutions" list that is conveniently+ exactly screen res height minus notch height.

I theoretically "lose" that much height but gain a) zero notch b) non-rounded top corners and c) a traditionally heighted menubar instead of the giant one that is so big only to cater for the notch.

+ I thought this was thanks to BetterDisplay but it turns out no third party tool is needed and it's all first party probably because someone at Apple is as annoyed by the notch as I was and so that's their solution.


I think it is because they want to send to apps resolution list that includes or excludes the notch area to choose from for full screen modes (eg in games). Selecting "show all resolutions" basically shows this list.

Definitely better now with their new "opensource" driver.

I still ran in a few snags:

- DKMS can break, e.g I had a kernel bump to 6.18 or 6.19 and the nvidia driver wasn't ready yet so the build failed. A mainline driver will always win this one.

- Suspend almost always works, but sometimes fails on lid close which is of course when you can't see it fail and my laptop battery dies unexpectedly. You'd say use hybrid sleep but that reliably always fails with the nvidia driver too. Both work flawlessly with Nouveau.

Since I don't need the extra perf on this laptop I just use Nouveau to drive the the dGPU + the AMD iGPU most of the time which is powerful enough for my non-desk needs.


Agree on both counts. I use debian unstable and is usually 50/50 on whether the machine will reboot on a working display after a kernel upgrade. Very easy to fix if you have a bit of knowledge, but certainly not ready for the general public.

I don't have a laptop with an nvidia card, but I often suspend the linux gaming machine on my living room, and sometimes it doesn't come back from sleep, while my steam deck never failed to.


> Some countries are reaching 100% v6 deployment

World map:

https://www.arcep.fr/cartes-et-donnees/nos-cartes/ipv6/carte...

France is extremely close to 100%:

https://www.arcep.fr/fileadmin/reprise/observatoire/ipv6/Arc...

> some countries with high v6 deployments see services which are v6 only.

IIRC this has already long happened in some countries with smaller IPv4 pools, can't recall where.


> The first one seems to indeed be a real RCE in vim.

Barely, since there is little restriction as to what options modelines can set they should be largely considered equivalent to eval (if unintentionally). And generally they are which is why distros typically disable them by default.

IMHO in this day and age securemodelines should just be the default.

https://www.vim.org/scripts/script.php?script_id=1876


I don't know much about vim, but from the report it sounds like part of the issue was that disabling modelines would not prevent it:

> tabpanel is missing P_MLE Unlike statusline and tabline, tabpanel is not marked with the P_MLE flag. This allows a modeline to inject %{...} expressions even when modelineexpr is disabled.

Edit: Upon re-reading the above I guess disabling modelineexpr is not the same as disabling modelines, and disabling modelines altogether might indeed prevent the issue.


> I've never seen a modeline in the wild that did anything other than

Hence the securemodelines plugin

https://www.vim.org/scripts/script.php?script_id=1876

> if this is a class of bug that can be disabled via vim settings.

    set nomodeline
That is, as parent mentioned, if it's not done already by your distro or OS.

> We asked Claude to find a bug in Vim. It found an RCE. Just open a file, and you’re owned.

Yeah reading the above opening paragraph I was immediately going "oh Claude found out about modelines"

modelines are largely considered a (roundabout) equivalent to flat out eval, There's a reason plugins such as securemodelines exist:

https://www.vim.org/scripts/script.php?script_id=1876


Right. I am surprised to see this considered to be an RCE. Or a "mad bug" worthy of being here on HN. sighs.

Pretty sure a lot of people have spent lots of tokens into finding RCEs in vim and emacs, he is not the first person to do this.


This, although it's not merely "easier/cheaper", it's "impossible" (unless you sacrifice a ton of performance)

Same reason as a) GDDR on dGPUs (I think I read somewhere that GDDR is very much like regular DDR, just with much tighter paths and thus soldered in) and b) Framework Desktop (performance would reportedly halve if RAM were not soldered)

SSD reasons I seem to recall are architectural for security: some parts (controller?) that usually sit on a NVMe SSD are embedded in the SoC next to (or inside?) the secure enclave processor or whatever the equivalent of the T2 thing is in Mx chips, so what you'd swap would be a bank of raw storage chips which don't match the controller.


Apparently upgrading the SSD can be done, but it's a weird form factor and you need another Mac to restore it.

> You like your red wine cold as I do?

Fun fact: "chambrer le vin" i.e getting (usually red) wine from storage temperature to "room temperature" comes from a time where said room temperature was well below 20 degC (more like 13-15 degC), not the comfortable 20+ degC that people like to enjoy these days.


Thanks for the reminder about our traditions. Now, I like to drink it straight from the fridge, i.e. about 6°C :)

Heh, whatever works.

A sommelier friend of mine says that the best way to taste wine is the one you enjoy; if you want to have a glass of chilled powerful Haut-Médoc with some delicate fish, have at it.


> tile windows to equal areas instead of BSP by default

hy3?

https://github.com/outfoxxed/hy3

(I'm an ex i3/now sway user and hy3 is the only way I can bear using hyprland)


Somehow closest concept I imagine is shmup pods.

https://shmup.fandom.com/wiki/Pod


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: