[-] FizzyOrange@programming.dev 16 points 7 hours ago

Generally a bad idea to use in-band signalling like that. They won't do anything weird but consider what happens if the actual data contains them.

[-] FizzyOrange@programming.dev 1 points 7 hours ago

Well I'm no fan of Python either but it doesn't describe itself as a scripting language (and neither does Ruby) so I think you're way off there.

And I dunno about Ruby being a better Python. It looks way worse to me. In particular the story for static type annotation seems pretty dire. The syntax is worse, it's less popular, and even slower!

I can believe the tooling is better though. Python's is abysmal (unless they officially adopt uv - ray of hope there but I have zero faith the Python Devs would make such an obvious decision).

[-] FizzyOrange@programming.dev 1 points 1 day ago* (last edited 1 day ago)

Good luck with this approach on a server.

Indeed, obviously I'm talking about desktops here.

If by ‘suspend’ you mean that the process will just halt, then: Which processes? All of them? Good luck displaying a message then.

You could use some kind of heuristic to suspend ones using the most memory/CPU. Or just suspend them all. Obviously you would exclude the processes needed to display the message.

If by ‘suspend’ you mean moving the memory to disk

No I meant just pausing their execution. I'm pretty sure ctrl-alt-del does something like this on Windows.

[-] FizzyOrange@programming.dev 1 points 1 day ago

Ah maybe. I'm still on RHEL8. Even so, "it hangs a bit and kills a random process" is still shit! What it should do is suspend processes, and show you a GUI saying "you're running low on memory, here are your running programs and how much they are using" and allow you to choose which processes to kill, or whatever.

That would be far too user friendly for Linux though. I don't think the kernel/Wayland Devs could really comprehend that tbh. They'll say something along the lines of "users shouldn't be doing that".

[-] FizzyOrange@programming.dev 1 points 1 day ago

Not in my experience. Mostly it just hard-reboots. Occasionally a random process that is using lots of memory is killed (not necessarily the one you want). That only works about 5% of the time though.

[-] FizzyOrange@programming.dev 4 points 2 days ago

Don't hard-reboot when memory runs out.

[-] FizzyOrange@programming.dev -5 points 2 days ago

You basically shouldn't until you are forced to move. Almost all of the improvements so far are in the internal architecture.

You might notice some tiny differences if you switch, like logging in doesn't show a black screen at any point, and window choosers when screen sharing show a (totally broken) grid of previews instead of a plain list of window titles.

Hopefully when X is fully dead (give it another 10 years) we'll see some actual improvements, e.g. RDP-style remote desktop, good support for multi-monitor, HDR, HiDPI, etc.

[-] FizzyOrange@programming.dev 2 points 3 days ago

Huge speed-ups for the will-it-scale tlb_flush2_threads test - presumably not very representative!

I wonder how much effect it has on real world workloads.

[-] FizzyOrange@programming.dev 2 points 3 days ago

Funny because Rails is often touted as the main reason to use Ruby!

[-] FizzyOrange@programming.dev 2 points 4 days ago

Definitely true for a minority. Not the way most of these articles are presented though (including this one).

[-] FizzyOrange@programming.dev 5 points 5 days ago

I don't see why. You can be interested in Linux and like some aspects of it but still get annoyed at the blinkered zealots claiming that there's no reason to use Windows.

[-] FizzyOrange@programming.dev 4 points 5 days ago

Pornhub's audience is 75% male, and Linux users are almost all male too (and ... no offence guys but probably more likely to rely on porn), so I wouldn't take that as a representative global figure.

Statcounter gives 1.4% which is much more likely to be unbiased (and sounds way more plausible based on my experience of real life).

17

Does anyone know of a website that will show you a graph of open/closed issues and PRs for a GitHub repo? This seems like such an obvious basic feature but GitHub only has a useless "insights" page which doesn't really show you anything.

view more: next ›

FizzyOrange

joined 1 year ago