• 11 Posts
  • 45 Comments
Joined 3 years ago
cake
Cake day: February 1st, 2023

help-circle



  • edinbruh@feddit.ittoMemes@sopuli.xyz(Laser) Printer go brrrr
    link
    fedilink
    English
    arrow-up
    59
    ·
    2 months ago

    Laser printers are the best. You sacrifice the quality of dense pictures, but gain incomparable speed and reliability. It’s especially worth it if you print less often, because the ink dries up if you don’t print every once in a while and you end up buying new ink even though the cartridge is full, but the toner just sits there indefinitely.


  • “Ternary operator” means “operator that takes three things”, like unary and binary operators take one and two things.

    In C there is an operator for conditional expressions (an ‘if’ that you can put inside expressions) and it looks like this condition ? trueBranch : falseBranch. It takes three expressions, so it’s a ternary operator.

    Except it’s the only ternary operator in C (and most languages, if they have one at all), so instead of calling it something like “conditional operator”, they just call it “the ternary operator”





  • edinbruh@feddit.itOPtolinuxmemes@lemmy.worldEverything is so tiny
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    (after edit)

    I have no issue with the text size, I have an issue with enormous empty space around the text. It’s fine if it’s not perfect on a 21:9 display, but this wouldn’t look good even on a 16:9 display.

    I’m also fine with the text not taking up the entire width, I aggre that it’s less readable. But I think the window (not the text, the window) could utilise the width better.

    I say that the messages could be a little more spread out (i.e. my massages could be a little to the right while other’s a little to the left) and just like the left sidepanel appears and disappears when the window is too thin, more sidebars could appear to the right when the window is very wide.








  • One of my university professors wanted us to program using DrJava, so of course Java 8 it is.

    Why did he want to use that? Because it was similar DrRacket, which he made us use in the previous term to program Scheme (which is just lisp for teachers). Of course that was just us being all modern and such, he himself used DrScheme, the deprecated precursor of DrRacket.

    This guy is so old that my high school Systems teacher had him as her university professor.

    He has a fancy current gen MacBook Pro that he uses for his stuff. Then when it’s lesson time he whips out a windows 95 netbook and a daisy chain of adapters from VGA to thunderbolt.




  • edinbruh@feddit.ittoLinux@lemmy.mllooking for a RDP client
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    3 months ago

    Have you tried gnome connections? It’s more on the “quick and easy” rather than “professional” side, but maybe it does the job.

    Tho I wonder whether it’s more of a windows-side issue… maybe windows 11 requires some kind of online authentication that cannot be implemented by other clients, and maybe this authentication can be turned off. I’m merely speculating here, but I know that remmina works for windows 10 so it’s suspicious.


  • AMD has an nvdec/nvenc equivalent called AMF, on Linux it’s going to be deprecated in months in favour of va-api.

    To my knowledge, it does not have an nvfbc equivalent. Which anyway, Nvidia has deprecated on windows in favour of a windows-native screen capture with a name I don’t remember.

    For what is worth, va-api encoding + kmsgrab works pretty well for me, it does have some latency, but nothing too unacceptable. Probably less than the one caused by the Bluetooth controller. And none of this is vendor specific, you can get it working on Intel, AMD and Nvidia (Nvidia needs a compatibility layer, but it works). Also, it works on Wayland, but sunshine needs some privileges to work.

    Sunshine supposedly supports nvfbc with patched Nvidia drivers, even on Linux, I haven’t tried it, so I don’t know if it works on Wayland. I don’t see why it shouldn’t, as long as you give sunshine privileged permissions (like you need for kmsgrab). Even without nvfbc you can use nvenc, so you don’t need the va-api compatibility layer.

    Supposedly, since this Nvidia driver release nvfbc is used as backend for pipewire screen capture, so it should just work for apps like OBS, I don’t know if sunshine has intention to move to it.

    In general, screen capture on Linux pretty much works, even on Wayland. The general sentiment that it’s broken is actually old news.

    There’s a caveat though. Proprietary apps tend to use outdated stuff (e.g. electron builds from 5 years ago) and thus don’t support screen sharing on Wayland.