• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle

  • 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 mean, that’s basically the option. Set up a domain, set up dynamic DNS, and safely do the right port forwarding and IP reservations in your router.

    Unfortunately this is not easy for a lot of people, and the overall picture of home automation requires a combination of skills that not everyone has. Then they basically get two choices: pay for a company to maintain the system, or use someone else’s cloud. A lot of people will pick option 2.

    Unlike a lot of DIY tasks, it’s not even one that I would suggest to someone who is hesitant. It’s not a “oh just try planting tomatoes this year, see how it turns out.” Someone who messes up their port forwarding rules could potentially open their home network to a lot of trouble.


  • I mean, I agree, but the target market of a lot of this stuff couldn’t care less. They want their hot tub synced up to their Outlook calendar or whatever, and can afford a monthly maintenance contract to keep that working.

    For the rest of us, there’s this sort of odd limbo. Most people expect some kind of remote control app as part of their smart stuff, which means either going through an outside cloud service, or running your own server and contending with the fact that most of us don’t have a static IP. Of course there are services like no-ip, but again, you’re stuck using someone else’s cloud service, just for a much smaller part of the overall task.

    My point at the end though is that I don’t necessarily want “all in one” control, whether open source or proprietary. I’ve seen what well-implemented smarthome looks like, and it does not (to me) seem worth the money or time. I’ll take the ecobee, maybe the security cameras, and I’ll even go though their commercial cloud to get that remote connectivity, but I’d rather keep my services separate, than go all-in on one hardware/provider/app.


  • I know someone living in a really high-end “smart” home. We’re talking about a ton of hardware and proprietary software controlling practically everything in the house. From one app in a phone or iPad, you can control everything from the security cameras to the heater to the pool.

    It’s basically the pinnacle of what all this technology intends to achieve, and tbh, it’s all a bit of a pain.

    Diagnosing anything in the house has an extra layer of work. Is it the pool heater not working? Oh, no, it’s the app not working. Security alert from the house? A fly walked across the camera lens. Everything acting weird all the sudden? Guess the shitty monopoly broadband cable provider in the city is having issues again.

    The system only stays afloat because of a 24/7 service contract with a company that specializes in these houses. Give a few months without that support, and things will start falling apart.

    I get that this is a different class from the products from Google and Amazon, or even the various open source products, but tbh, I’ll take fragmented over monolithic and overarching.



  • 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.



  • 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.



  • Depends on your country and employer. In some situations, your job description could be a big deal. For example if you’re in a union, you are probably required to only do the specific tasks as described in the job description.

    Some countries may also have laws about your work contract. If that applies to you, then it’s probably important on your employer’s part to have the right description for your job.

    But in many places, it really doesn’t matter: your job description vs what you actually do, as long as you aren’t being asked to do something that needs licensure or other regulations. Many job descriptions will have a catch-all like “… And other duties as directed” to fill in the gap.