Skip Navigation
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/)IP
its_pizza @sopuli.xyz
Posts 0
Comments 22
What are your programming hot takes?
  • If the method does a long thing, the keep it long. I do a lot of data analysis and simulation, and so often people who came before had this urge to shorten methods, so we get:

    def do_calculation(N, X, y, z, a, b, c):
        # Setup stuff
        for i in range(N):
            calclation(X[i], y, z, a, b, c)`
    

    Sometimes there's a place for that, like if calculation could be swapped for a different function, or if calculation is used all over the program. It's a pretty good clue that something is up though when the signatures are almost identical. Of course, that has just led to people writing:

    def do_calculation(big_struct):
        read_data(big_struct)
        calculate(big_struct)
        write_data(big_struct)
    
  • I have an itch to learn more and research. PhD is an option, but comes with either a financial or physical/emotional burden. Should I pursue a PhD, or scratch the itch in some other way?
  • Yes and no. I would say for the field OP is in, a lot of jobs will have B.S. or M.S. as the "required" education, and then M.S. or Ph.D. as "preferred". The U.S. just dumped $280B into the CHIPS act, so now is a pretty good time to be in semiconductor R&D. The folks I work with seems to have little trouble popping back and forth between industry, academia, and government.

  • *Permanently Deleted*
  • Depends on the job, and how good your read is of the situation. My experience has been that managers guilt trip or do other emotional games when they're out of other options. In that case, it may be a safe bet to stand up to them.

    Other places you're more replaceable, or the manager doesn't care and has an axe to grind. Then it's trickier.

  • *Permanently Deleted*
  • Every (US) job description I've had save one had a line to the effect of "... and other duties as required by management." Not to follow would be considered insubordination and could lead to termination with cause. Job description in this case is just a broad-stroke outline of what the job is supposed to entail.

    The "save one" was a job with a strong union presence. In that case, going outside my job description could lead to me and my manager being in trouble.

  • Studios Advertise $1 Million AI Jobs While Hollywood Writers Remain on Strike
  • The $1M salary is really typical of California tech job postings, and it is essentially meaningless. Under the new transparency law, employers have to list the salary range on job advertisements. For many of these speculative or open-application type roles, it's common to list $90k-$900k as the range.

    It makes great headlines, but nobody in that job is actually going to make 900k.

  • Alabama wants to be the 1st state to execute a prisoner by making him breathe only nitrogen
  • The 3 drug cocktail worked, but it was often a minimally-trained technician charged with placing the actual IV lines. I know most of us have had an IV sometime in our life with relatively little pain, but that seems not to be the case for some inmates. Anxiety, old age, obesity, dehydration, and myriad other reasons can make it more challenging to place a catheter.

  • *Permanently Deleted*
  • Look how many jobs in the private sector also require a security clearance. Most things in aerospace, but also a lot of enterprise/cloud/telecom computing will have a "federal" arm, and they need cleared workers for that. Amazon, Google, AT&T, Verizon, Microsoft and many other big names have divisions that do classified work. They pay a premium over regular positions because the clearance is a PITA for everyone involved.

  • [AskEurope] Fellow Europeans, what is the aspect of USA lifestyle that surprises you the most?
  • No stores, markets, and services also translates to a low availability of jobs.

    As a high schooler, you almost inevitably need some kind of "boost" to get out on your own. Maybe college, but at least a car or help signing for an apartment. Without at least some kind of help, it's easy to get literally "stuck" at age 18 or 19. No money for a car or apartment, but no close access to employment without one of those tools.

    I see parents moving to the suburbs to give a safe life for their kids away from "bad things" in the city. Meanwhile, parents may not be home until 6 or 7 pm due to leaving the city in traffic, and bored suburban teens can get into just as much trouble as their urban counterparts. Unless the parents are also able to commit some serious money to other involvement for their teenagers, the suburban life may not play out well for them.

    Something that really struck me, particularly in Northern Europe, was that the young adults seemed to be a lot more self assured. There are probably a lot of reasons for this that I do not notice, but I wonder how much results from having a practical path to an independent and productive life. This in turn opens up so many other doors socially.

  • ‘I was never into politics’. Monologue of a Russian draftee who fled Donbas and became a deserter
  • Putin took some steps to strategically wreck any semblance of politics in Russia. One of his advisors, Vladislav Surkov, secretly funded a variety of opposition parties, ranging from "green" environmental parties to openly Nazi groups. They let these groups grow in an organic way before "leaking" the information that they were all funded by the state/FSB.

    This type of move, and similar actions, have made true political engagement very difficult. That march, protest, Facebook group, or underground newspaper? One has no idea whether it's legitimate grassroots movement, or purely astroturfed campaign. Unless you have significant time and resources to study the issue, it is impossible to tell.

    This was the exact objective: to basically make politics inaccessible for 99% of people. Sure there will be 1% who do have a good picture of what's going on and who try to create movements, but their voices are drowned in the confusion. The average person may simply find that it's too difficult to participate in a meaningful way. Even someone with full intentions to learn and participate may find themselves sidelined into a fake movement and essentially neutralized from a political perspective.

  • Age-standardized suicide rate by country (2019).
  • Reminder that "suicide" has a lot of gray areas, and when less stigmatizing labels exist, officials may choose to apply those instead.

    On one hand, we have deaths such as by overdose or auto accident that may be labelled as accidental, but were in fact a suicide.

    On the other hand, there are deaths which may be quickly closed as a suicide, but where the details suggest some other kind of foul play.

    All this to say, that any comparison between to between countries is to be taken with a margin of error, because specific interpretations and data-collection methods may differ.

  • Exemployees of a company, what was your "fuck this shit I'm out moment"?
  • That's pretty normal for meh-tier kind of jobs in the US, though usually you "graduate" to two weeks sooner, like after a year.

    In many workplaces there's a culture of taking as little as possible of the allowed vacation time. Sometimes it can lead to a small bonus when those days get "paid out" at the year end. Other times, the only encouragement is just pressure from the boss or coworkers. Note that there is neither a legal minimum for vacation days, not a requirement that employees actually use the days they have.

  • *Permanently Deleted*
  • Not just East Germany. If you dig enough, you will find mental health abuse in every country on earth, whether historical or ongoing. Of course in the USSR as you mentioned, also in China, the USA, and elsewhere.

    "Abusive" in this case can mean abusive treatments, or treatments against things that are not diseases, such as homosexuality, promiscuity, or unfavorable political ideas.

    In the US, read about the published papers of the mkultra project, and look as well into the ongoing existence of centers such as Elan school (now closed) and the Judge Rottenberg center (still in practice).

    In my experience, having friends go through mental crises, the modern US system is hard enough to navigate even when one desperately needs and wants care. Try finding yourself a therapist when in such a depression that you can hardly get out of bed, much less search out who takes your insurance, has openings in their availability, and is a good match for your personality. Meanwhile true inpatient care seems reserved for either the fully disabled, or those who have already attempted suicide. Can you imagine if a profession like dentistry made care this difficult to access?

    But for people who are either marginalized or truly mentally disabled, this is a harsh system that can make one suspicious, especially when the history of lobotomies, electroshocks, hydrotherapy, and other abuses are within living memory.

  • Movies vs life
  • I've felt this way about twice in my life, and it's when I had a really well crafted Jupyter notebook running in VSCode.

    It's definitely the kind of thing you want to pop open when boss is showing some new sponsors/customers around.

  • Whopping 91% of Fox News Viewers Believe Trump Has Not Committed Federal Crimes, But Only 42% Support Him In The Primary
  • This really hit me hard once I had a kid.

    The degree to which those small early lessons will stick in their mind, much less something that's ingrained in their heads every single day.

    I think I get it now - if kids are hearing this stuff day in and out from the moment they can talk - that they absolutely could be convinced that Trump or Putin or Xi are some kind of divinity. Even when they later learn otherwise, there will be some kernel of that propaganda remaining in their head.

    Some people reach a phase where they're really ready to question these things, but I met plenty of people in college for whom that dissonance was just too unexpected and painful. They simply retreated into what they already identified with.

  • How do I get rid of the hard particulate matter embedded within my window screen
  • You probably can, just need to find out how the screen is attached. Usually it's a rubber "bead'" that has been pressed into a notch to hold the screen. Just make sure to replace the bead too when you replace the screen.

  • How do I get rid of the hard particulate matter embedded within my window screen
  • The screen should come off from the window frame - it is mounted in its own frame made of lightweight metal.

    It's like $20 in tools and new screen to replace. Best to start on a smaller window for practice, but once you've done one, they go easy.