• 1 Post
  • 7 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle
  • Basically because every time this happens the burden of debt is passed towards the tax payers. They just built a long toll lane in my city in what was a 2 lane highway. Adding another lane or two would have alleviated traffic immensely. The company that built it owns all profits for approx 50 years. What could have been a 5 lane highway is still two except now you have the option of paying a ridiculous amount of money to not have to deal with the traffic. This is money that could have been spent on improving the city’s other methods of transportation, trains, bicycles, etc.

    It doesn’t affect me personally. I ride a motorcycle every day. It’s just painful to see how private interests are almost never in line with what’s best for constituents


  • As a data center engineer of 10+ years, I struggled to understand this at first. In my world, the hardware does a POST before the OS boots and has an inventory of what hardware components are available, so it shouldn’t matter in what order they are discovered, since the interface names should make a correlation between the interface and the pcie slot that NIC exists in.

    Where the water gets muddled is in virtualized servers. The NICs no longer have a correlation to a specific hardware component, and you may need to configure different interfaces in the virtualized OS for different networks. I think in trying to create a methodology that is agnostic to bare metal/virtualized OSs, it was decided that the naming convention should be uniform.

    Probably seems like bloat to the average admin who is unconcerned with whether these NICs are physical or virtual, they just want to configure their server.



  • I think you need to look into string concatenation, the easiest and best of which is f strings. You could do something like;

    print(f’welcome, {nam}')

    You could also “add” the strings together.

    print('welcome, ’ + nam)

    Another thing, when assigning the output of something to a variable, you can think of it as “the result of the code right of the equals sign is the value of the variable”.

    The input function assumes that the value should be interpreted as a string, but what if want it to be a number? You can just wrap another function around your input

    user_number = int(input(‘what’s the number?’))



  • There’s a documentary on YouTube called “The internet’s own boy”, if you want to learn more. Basically, he was offered a 6 month plea, but he would be a convicted felon, and basic logic/morality tells you that you shouldn’t plead guilty to a crime that you didn’t commit. However, the justice system is very imperfect, and often people plead guilty for reduced sentencing even if they’re not guilty. He stood on principle until his legs gave out. they were already in millions spent in attorney fees. Not a shred of justice can be found in how Aaron’s story ended.