Skip Navigation
User banner
clehaxze

C++ developer. Decided to switch to Lemmy after the Reddit API fiasco.

Posts 7
Comments 13
Apart from “life is short”, what other lines do you use before making bad decisions?
  • "why not" "Fuck it" "Am I going to regret this? Not 80%? Do it" "Because I'm bored"

  • How do I run Windows Unity game (VRChat) on ARM SBC. Both DXVK and WineD3D fails.
  • Is there a way to get the closed source driver running? Or does the closed source one not supporting Linux?

  • How do I run Windows Unity game (VRChat) on ARM SBC. Both DXVK and WineD3D fails.

    I know this is a long stretch. But somehow I really want to try and see if I can run VRChat on my SBC (Orange Pi5, RK3588). So far I got the basic setup working (game starts executing) and what I did is as follows. But it always fail to initialize Direct3D 11:

    1. Download and install Proton and VRChat on my Linux PC
    2. SCP the entire steam folder to the SBC
    3. Install box64
    4. Try starting the game by running
    5. It crash due to the driver not supporting Vulkan. Thus DXVK fails. (see attached image)

    I have tried to use WineD3D and follows the Notes about Unity game emulation section on box64. But in the console it shows D3D11 fails to init then Unity exits.

    Is there any way I can get around this besides using llvmpipe?

    Kernel: Linux 5.10 CPU: RK3588 GPU: Mali G610 GPU Driver: Panfork (Mesa 23) OS: Ubuntu 22.04

    6

    Need recommendation of SSH client with host management

    I’ve been working on a project that I need constant access (and executing commands) among at least 3 hosts in work. I’ve been using SSH’s Host function to manage which host I’m connecting to. However, I find it increasingly annoying that I can’t see which host I’m connected to via the tab on my terminal emulator (I’m using Windows Terminal on Windows and Konsole on Linux).

    Is there a good SSH GUI client that can show which host a session is connected to? I’ve tried Termius. But $10 per month is too expensive to me for what I’m doing (and I don’t need most of the paid feature).

    15

    e-reader or tablet for reading academic paper

    I'm reading a lot papers after I switched positions in my job. I felt reading on my display annoying. I can't draw on the PDF easily nor able to read while I code (not without switching windows). And printing papers is annoying too. I can't search and the physical paper pile up quickly.

    Is an e-reader a good choice for me? Or should I get a tablet instead?

    35
    FYI - my Samsung 970EVO Pro died after 4 months of use. Spare capacity at 0
  • I haven't. There's a official Samsung repair center next to my workplace . I gone there expecting a faster turnaround.But was informed they only process phones and earbuds. I had to mail the SSD instead.

    Going to do that in the weekend. Also bought a new SSD from Kingston since is is also my work machine. Can't have it down for too long.

  • FYI - my Samsung 970EVO Pro died after 4 months of use. Spare capacity at 0
  • Yeah, 970 Pro my bad.

    I ran smartctl -a /dev/<nvme_device>

  • FYI - my Samsung 970EVO Pro died after 4 months of use. Spare capacity at 0

    I got my new PC for about 3 or 4 months. Today, I was using my PC as usual and suddenly everything stopped reacting. Rebooting just boots be into the UEFI interface. Which is very concerning.

    Then I got a liveusb to look into what's happening. Upon using smartctl. It shows that my SSD have 0% spare capacity despite only writing 15TB to it.

    So far, I knew that Samsung's EVO 980 and 990 SSDs have a firmware bug that can cause this. But this is the 1st time I know of 970 Pros having this issue.

    I know there's a lot of servers using consumer drives for their system. Be careful and check if you are using a 970. If so, check the spare capacity RIGHT NOW and decided if to upgrade the firmware or RMA the product.

    4
    **this seems to be the theme of the season mateys**
  • Maybe it's my culture. I think of master as the "master of kung-fu/art/sword/". Something or someone that have earned respect and is at the core of it's field.

  • **this seems to be the theme of the season mateys**
  • Just like "master" in git. WTH is wrong with it. I feed "master" as "the master of kung-fu" is much better then "main".

  • Writing laws like we write RFC - why can't this be done?

    I have a weird distaste of how law is written for a long time. Laws are difficult to understand and follow. For example, definitions are often unclear and depends on past rulings. Meaning the law itself is not suffice to decide if an action is legal or not. This really irritated me. The fact that I can't know with 100% certainty if my actions will be considered legal prior to acting makes me feel uneasy.

    Why can't we just write laws like we write RFCs? With clear SHOULD, SHOULD NOT, MUST and MUST NOT? And with clear reference to other sections such that any uncertainty would be discovered and solved.

    Also why didn't this happen? I feel it would bring much more efficiency to the society. And less lawyer arguing over details that the even the law makers proposing said law didn't know about.

    0
    What Intrusion Detection Systems are you using?
  • Not professional sysadmin. I run my homelab and handles a few servers at work. I don't use IDS. So may be irrelevant.

    • WAF to stop HTTP parameter pollution and request smuggling
    • Fail2ban on SSH and move ssh away from port 22
    • Setup LAN recursive resolver and disallowed outbound raw DNS

    For me, a lot more emphasis is on defending the application

    • Setup systemd unit hardening
    • Use Landlock LSM to whitelist directories (modifying source needed). Stops directory traversal and command execution
    • TLS or stunnel between application and database
    • Point DNS to local resolver
    • LD_PRELOAD hardened allocator

    I'm currently looking into the Linux port of pledge to further reduce post exploit attack surface. But the project is not mature enough for production, yet.

  • [HN] Google is about to make life more difficult for custom ROM fans
  • Sold their motto to the devil for money

  • How do people disconnect from work when they enjoy solving technical work problems?
  • For me the saying "work on your passion and you won't work a day" is very true. Why would I not experiment with crazy code in the product when I don't have time in the day. Or trying out new cryptography and see how it absolutely beats current protocols.

    With that said. It's also important to have time with you family/boy/grilfriends. They are also important

  • BSD users, under what condition would you recommend BSDs?

    So I'm about to get a new laptop (likely 13th gen intel) since my current one is breaking down. Currently I run Arch Linux on my device and is looking into FreeBSD or OpenBSD as the OS. Mainly because once I tried to look into the Linux kernel and can't believe the amount of spaghetti in it. I've read a little bit of Free and OpenBSD kernels. They look a lot nicer. And I travel a bit with my laptop to visit a few infosec conferences. I hear the BSDs have a more solid kernel then Linux (I know BSDs are OSs).

    I'm use my laptop to browse the internet, remote into my boxes to code and email. And I tried to use both in VM and feels ok with them.

    Can experienced BSD users share some pitfalls and why or why not to use BSD?

    6
    Lemmy is confusing
  • That's the exact point. reddthat.com or lemmy.world servers can blow up into pieces and none of users living on other servers would be affected. Unlike Reddit, where a single company can decide they want to do something stupid and everyone had to obey.

  • I made a high level C++ wrapper for GNUnet

    github.com GitHub - marty1885/gnunetpp: Experimental high level C++ wrapper for GNUnet

    Experimental high level C++ wrapper for GNUnet. Contribute to marty1885/gnunetpp development by creating an account on GitHub.

    GitHub - marty1885/gnunetpp: Experimental high level C++ wrapper for GNUnet

    Just wanna share something I built. Easy to use API for GNUnet in C++.

    0