Skip Navigation
Props to Alpine and Kali for disabling this bullshit out of the box
  • 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.

  • Could someone help me understand the input() function?
  • Yup. You'll see functions wrapped inside other functions all the time. The function on the inside will run first, then the next, etc.

    In the example I gave, the value of nam is a string. But it you need to perform some mathematical function to it, it needs to be interpreted as a number. So once the value is received, int() will convert it into a number. Finally, that final value will be assigned to nam. Wrapping functions inside of functions is a great way to write concise code.

  • Could someone help me understand the input() function?
  • 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?'))

  • Yeah, about that…
  • Agreed. Smart people aren't smart because they simply are. They're smart because they learn how to learn. They learn the recognize that the steps to success involve failure. Being smart is about being willing to feel stupid, since anything new you learn/try you're going to feel overwhelmed.

  • Vaccines don’t cause autism, but the lie won’t die. In fact, it’s getting worse.
  • Agree on the better testing for ASD. According to the CDC, autism rates have doubled from the year 2000(1 in 68, vs 1 in 150).

    The consensus is that ASD is mostly genetic, however, there is some research going into other causes of autism, such environmental/biological causes. Personally, I think growing up with modern technology(kids being raised by YouTube/TikTok) impacts brain development/connections, so there are people with symptoms of ASD that otherwise would be "normal"

    The issue with diagnoses like this is that you arrive to the conclusion by looking at the symptoms. And there's a lot of fucked up things going on right now that could cause more and more people to show symptoms.

    i've worked on building better habits such as exercise, maintaining social connections, and working through my emotions instead of repressing them, and I've noticed that many symptoms that I used to associate with ASD were really depression. Like some sort of coping, catatonic state. I'd imagine that with mental health being what it is, there's probably a lot of people similar to me. Surprise, did you know ASD is far more common in males? 1 in 42, vs 1 in 189, for females.

  • Trump told donors he will crush pro-Palestinian protests, deport demonstrators - The Washington Post (Gifted article, no paywall)
  • Yup. The corruption is blatant, and the worst part is, they don't even hide it... the threat of impending doom keeps the voters subservient. Instead of pointing out the corruption, we equivocate. I'm not a nihilist or a pessimist and most certainly do not want Trump to win. But refusing to acknowledge the blatant corruption puts us right where we started.

    Props to you for actually reading the article. If anyone else who replied to the comment had done the same, there wouldn't be as many "what-about-isms"

  • Hero
  • +1 on the book idea. Sounds like a delightful read. I have a similar philosophy as well that's worked for me. I've never once cared about getting credit or props, I make my boss/team look like geniuses. That naturally tends to reward you as well. Great individual contributors are actually pretty rare. Out of hundreds of engineers I've worked with closely, only a few were brilliant in the way you described.

    If you're looking for related reading, perhaps for inspiration, there's a great book called

    Quiet: The Power of Introverts in a World That Can't Stop Talking, by Susan Cain.

    I highly recommend it.

  • Hero
  • I work as an engineer for a huge financial company, so I relate. I was a scrappy upstart who worked himself through the lowest tiers of my industry towards the top. I'm also neurodivergent.

    I can speak on for days about how bosses don't care who's doing the work as long as it gets done.

    As a top performer, you're likely to feel that people should perform at the standards you set, and your natural first instinct is probably to try to train and educate your coworkers. You soon realize that they either don't give a shit or they're offended that you're giving them advice. No problem, we live in a hierarchical society, so you tell your boss about the problems you face, they'll have your back, right? Wrong. You're rocking the boat, and the boss' job is to keep the boat afloat.

    Now, instead of rocking the boat, you start to wonder if you there's a way you can change the current of the water so the boat goes in the proper direction. That's where wisdom and skill meet. There's an incredible amount of depth involved in influencing people and change. I wish it wasn't the way of the world, but it is. Being brilliant is only half the battle.

  • Trump told donors he will crush pro-Palestinian protests, deport demonstrators - The Washington Post (Gifted article, no paywall)
  • What's mind boggling about it? Bernie Sanders wasn't a prophet. He ran on a platform and we believed in his candidacy. Just because he bent over for Hillary doesn't mean that suddenly now she's a great candidate. If he had to bite down on the rag, I don't fault him for that. But asking people to get on board "just this once" every election is just a carrot on the stick. It's always "but this one is SUPER important, set yourself aside and pick the lesser evil, eventually we can get what we want." There is no "eventually" and there never will be as long as you and others like you show that you're willing to throw your ideals away because of this season's boogieman

  • Trump told donors he will crush pro-Palestinian protests, deport demonstrators - The Washington Post (Gifted article, no paywall)
  • You're missing a lot of context. You're examining the contents of the effect, without looking at the cause.

    The DNC rigged the primaries before any ballots were cast. They conspired against Bernie Sanders to have Hillary as the nominee and worked to sabotage Bernie's run for presidency. Talking about exit poll statistics doesn't really mean much. The corruption was already well underway.

    https://www.politico.com/magazine/story/2017/11/02/clinton-brazile-hacks-2016-215774/

  • What could have been...
  • I think what they're saying is that we subsidize losses for the rich, but for citizens it's rugged individualism. Bootstraps and such. The tax dollars are always there to bail out companies or to fight wars, but not to serve the needs of the people.

  • Trump told donors he will crush pro-Palestinian protests, deport demonstrators - The Washington Post (Gifted article, no paywall)
  • You know there's elections before the primaries right? The Democratic party has shown that it will resort to all means of corruption to give you the "establishment" candidate. And people like you keep voting for the lesser of two evils. Let the Democrats lose more elections they shouldn't lose, eventually they learn they need to uphold the values of democracy to win an election.

    If the Democratic party wasn't corrupt to the core, it would have been Bernie. After that it would have been Andrew Yang. You keep voting these Republicans in Democrat clothing, nothing ever gets solved. Every democrat in history since I was born has promised to do something about immigration, nothing ever gets done. Why? Because it serves their interests to have a variable workforce that they can underpay and demean.

  • There are no guardrails in life
  • 😂 that you couldn't identify the obvious irony kind of makes my point about your shallow observation. Saying religion is an imaginary guardrail discounts all spirituality as well. That you think anyone would care about upvotes on the fediverse is wild

  • Python beginner
  • Your experience may vary but I'm a network engineer who learned Python and I think learning regex and pandas is invaluable. Depends on what you want to build though. As far as learning resources, I've always liked w3schools, it's free and to the point.

    For books, python 101 by Michael Driscoll is very good. I wouldn't spend money on courses. They can be pretty demotivating and expensive.

  • There are no guardrails in life
  • A lot of things are worth doing for the sake of challenging yourself, but then battling your own mind about if something is a wasted effort or not is the real war.

    As a general rule, anything you have to repeatedly do you should master.

  • having difficulties explaining ADHD to loved ones

    Edit

    After reading all the responses below and receiving much helpful advice, I reflected on my hesitance of getting medical help. I realized I didn't want to feel like I "gave up". I come from a poor family of immigrants and my parents sacrificed a lot for me to have an opportunity, so when I'm discussing these mental problems I face with loved ones, there's always a suggestive undertone of being unappreciative(remember your parents slaved away doing manual labor jobs so you could complain about your comfy, well paid office job)

    I now realize my own happiness/fulfillment is my responsibility, public opinion be damned. Thank you all. I will seek help ASAP

    Double edit

    I'm on strattera(atomoxetine) now. It's helped me focus my thoughts a lot more.

    Original:

    Not sure if this is typical or not but it perplexes me to no end. I've always struggled with remembering things, decision paralysis, bad sleeping patterns, interpersonal relationships(appearing distant), mood swings of joy and apathy(high peaks and low valleys), addictive personality traits(coffee/nicotine/alcohol). But on a good day I can do the work of a whole team. I've often spearheaded entire projects solo from concept to design to implementation. Despite a very rough start in my early adult life and after getting tired from most jobs for petty things like disagreements or tardiness, I've been solid for about 7 years. I've learned to communicate effectively without getting emotional, how to manage relationships, how to work around the difficulties of my ADHD, I've turned my skills into a well paying career and can politic with the best of them. My son was diagnosed and I never was because Hispanics don't believe in ADHD("everyone has those problems, you just need to manage xyz better")

    I've tried to explain my patterns to loved ones in hopes of feeling understood but even those closest to me say it's all mental. I feel like no one understands. I've been called brilliant/highly intelligent many times but have been told I need to apply myself. I feel like it's both a strength and a weakness.

    Anyways, I have health coverage now and am scared of prescription medicines. Not sure if I should just keep braving on towards my future without getting some sense of closure. I believe my father is also on the spectrum because he has always embodied all the symptoms (irregular sleep, obsession with pet projects, irregular moods, difficulty managing relationships/being empathetic/sympathetic, etc).

    I hate being told that I'm not trying hard enough when it feels like I need to keep double the pace of everyone else just to be on par. Should I start allowing myself to be disagreeable? Maybe call bs what it is and not dance around it so much? Should I seek treatment? Should I keep quiet and bite down on the rag?

    Sorry for the rant. No one seems to understand.

    30
    back on the saddle

    I have owned a few bikes before but after I was in a hit and run in 2016 I decided the risk wasn't worth it. I owned two bikes after the hit and run but I didn't enjoy it in the same way.

    3 years later from when I sold my last bike, I bought my first new vehicle ever, a 2023 KLRs.

    Stay safe, you can't live your life scared but always be cautious. Super excited for all the adventures ahead.

    10
    what's the highest increase in salary you've had or seen?

    I'm an 8 year data center network engineer who recently broke 100k for the first time. When I got asked my salary requirements I actually only asked for 90k as my highest previous salary was 80k with lots of travel, then I found out they gave me 100k because it was the minimum they could pay someone in my position. I've read before about people making crazy salary increases (150%-300%) and am wondering if I played it incorrectly and how I could play it in the future. I plan to stay with my company for the next few years and upskilling heavily and am eyeing a promotion in my first year as I've already delivered big projects by contributing very early. I've progressed from call center/help desk/engineer etc (no degree, just certs) so my progression has been pretty linear, are people who are seeing massive jumps in pay just overselling their competency and failing forward? Or are there other fields in IT like programming/etc that are more likely to have higher progression scales?

    113
    is Rust really that powerful / intuitive?

    Hello all,

    I am a data center engineer of about 8 years now. I've spent the last 3 years or so slowly learning Python(I say slowly not because of my effort, but because learning Python was actually very difficult for me.) I am not an expert in any way shape or form, I understand the concepts of OOP, inheritance, classes, functions, methods, etc and I have found that the python documentation that can be found within the language is usually enough for me to be able to write the programs that I want to write. Very rarely have I had to write programs that have to bypass the GIL, but occasionally, I have created threadpools for applications that are not I/O intensive. What I'm saying is, for most things that I create, performance is enough with Python.

    However, I have been inspired by how much love Rust is getting from the people who use Rust. I have tried to find some books for using Rust for network automation and unfortunately I have not been able to find any reputable books.

    Most of the "automation" work that I do involves parsing data with regex, restructuring the data, converting the data into a modeled format and transforming something with that data. Does anyone have any common use cases for Rust that might interest me? Has anyone used Rust for network automation tools? With familiarity, can Rust's intuitiveness match Python's "from idea to deployment" speed? Or should I only learn Rust if I intend to create applications that need tight performance?

    34
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TH
    thisisnotgoingwell @programming.dev
    Posts 4
    Comments 250