She/They

  • 2 Posts
  • 286 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle

  • My guess? Probably a mix of Google Evil (true), and not understanding you are talking about Pixels.

    I switched to Pixels after the whole Note 7 debacle. I even have the Note 7 t-shirt Best Buy gave out for those of us with pre-orders. It was really really shitty timing as I was traveling a lot for work and I am trying to remember if I even had a backup phone to use. I may have already traded my old phone in at the time, but had something in a drawer I could use.

    Evil Corp be damned, my phone just works. It doesn’t lag. The pictures are awesome. Screen is nice. I just need all of this AI assistant shit to go away. I got it to STFU about it at least and my phone can go back to being a phone. Gemini can rot.





  • I may take a look, but I am doing everything in C#. I have a really hard time paying attention to videos, especially if it is a bunch of content/features/examples where only a small part pertains to what I am doing. I would also have to start and stop constantly to try and take notes and hope the auto caption works. ADHD woes. Hopefully they supply all of the source code and project files.


  • Oh. That is where all the useful information is. I have been struggling with it for weeks and finally managed to get something working. Is it done the right way? Who knows! Their documentation is sometimes rather less than helpful. If their website decides to behave. Sometimes it goes a little wonky, though it has been better the last couple weeks.


  • TL;DR, most people are reasonable and can tell the difference. We cool.

    People where English is not their first language get a pass. There is usually a very telling inflection when someone says “females” and means it in the bad way. I would rather help people with their English and explain that it is best to not say it that way, than get upset over our language being unnecessarily complicated.

    The context of how female is said is even more confusing. Best way I think is if you are referring to a group of people or a specific person as female(s), that is bad. If you are referring to something about our gender, a description, or something impersonal, then that is fine. “Female anatomy.”, “I hate being female.”, “There was a female guard at the station.”

    While it is puts me on edge when I hear it (in that bad context), it isn’t like they called me a cunt or something really foul. It is usually just an immediate red flag that we may be dealing with an incel, but let’s see where this goes. Usually doesn’t take long to get a confirmation on how they really meant it.




  • Sorry, didn’t make it home until today and not sure if you get notifications on edits. You will need a monitor and keyboard hooked up to your server as you will not have ssh access until the network config is “fixed”. I would do the below with the GPU removed, so you know 100% that your networking config is correct before mucking about further.

    Step 1 - Create 99-default.link file

    Add a /etc/systemd/network/99-default.link with the below contents.

    # SPDX-License-Identifier: MIT-0
     #
     # This config file is installed as part of systemd.
     # It may be freely copied and edited (following the MIT No Attribution license).
     #
     # To make local modifications, one of the following methods may be used:
     # 1. add a drop-in file that extends this file by creating the
     #    /etc/systemd/network/99-default.link.d/ directory and creating a
     #    new .conf file there.
     # 2. copy this file into /etc/systemd/network or one of the other paths checked
     #    by systemd-udevd and edit it there.
     # This file should not be edited in place, because it'll be overwritten on upgrades.
    
     [Match]
     OriginalName=*
    
     [Link]
     NamePolicy=mac
     MACAddressPolicy=persistent
    

    Step 2 - Reboot and find new name of NIC that will be based on MAC

    I forget if you have to reboot, but I am going to assume so. At this point, you can get the new name of your nic card and fix your network config.

    1. ip link should list all of your nic devices, both real and virtual. Here is how mine looks like for reference, with the MAC obfuscated:
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: enxAABBCCDDEEFF: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
        link/ether AA:BB:CC:DD:EE:FF brd ff:ff:ff:ff:ff:ff
    3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
        link/ether AA:BB:CC:DD:EE:FF brd ff:ff:ff:ff:ff:ff
    

    Step 3 - Fix your network config and restart network manager

    You will need to edit your /etc/network/interfaces file so the correct card is used.

    1. Make a copy of /etc/network/interfaces, just in case you mess something up.
    2. sudo vim /etc/network/interfaces (or whatever text editor makes you happy) It will need to look something like below. I have to have DHCP turned on for mine, so your config likely uses static. Really all you need to do is change wherever it says enp yada yada to the enxAABBCCDDEEFF you identified above.
     source /etc/network/interfaces.d/*
    
     auto lo
     iface lo inet loopback
    
     iface enxAABBCCDDEEFF inet manual
    
     auto vmbr0
     iface vmbr0 inet dhcp
     #iface vmbr0 inet static
     #address 192.168.5.100/20
     #gateway 192.168.0.1
         bridge-ports enxAABBCCDDEEFF
         bridge-stp off
         bridge-fd 0
    
    1. Restart your networking service. You shouldn’t need to reboot. sudo systemctl restart networking.service

    Step 4 - Profit?

    Hopefully at this point you have nework access again. Check the below, do some ping tests, and if it doesn’t work, double check that you edited the interfaces file correctly.

    1. sudo systemctl status networking.service will show you if anything went wrong and hopefully show that everything is working correctly
    2. ip -br addr show should show that the interface is up now.
    lo               UNKNOWN        127.0.0.1/8 ::1/128
    enxAABBCCDDEEFF  UP
    vmbr0            UP             192.168.5.100/20 
    

    At this point, if all is well, I would reboot anyways, just to make sure. If you add any GPUs, sata drives, other PCI device, disable/enable wifi/bt in the BIOS, or anything else that changes the PCI numbering, you don’t have to worry about your NIC changing.





  • See, when I was in school, they didn’t teach fail fast and if anything they told you not to. Nowadays, we have moved past that nonsense. I gave it a shot about a year ago, and it has made me a better programmer. I am not going to sit there and count braces, but things are a lot easier when you get the error cases over with and out of the way.

    There are always going to be exceptions, but I have personally found a lot of value in using ‘fail fast’, and making more smaller methods that say what they do. I am not always great at that second part, but it is a process. As someone with severe ADHD, it has made it a lot easier to work through problems. Sure, you can end up with more lines of code, but who cares. Compiler should be optimizing most of that shit out anyway.








  • I wish I understood how to use them. I have half written scraps of paper and random text in random text files. Notebooks are about the best I can do. I can’t write very well on a vertical board. It is really really uncomfortable and I end up obsessing on how bad it looks over solving the problem. Sometimes drawing on my iPad instead works, but that is another place to look for things.

    I do like using Markdown + Mermaid. Obsidian is a nice little note taking app once I got it configured. It just takes me forever.