• 18 Posts
  • 282 Comments
Joined 1 year ago
cake
Cake day: September 13th, 2024

help-circle




  • My dog chewed a plastic bag containing the special proprietary cables for a computer display/input switch. I think she just wanted the bag and the cables were collateral damage, because she’s never chewed cables on their own before or since.

    They refuse to sell the cables separately so it made the device itself useless unless I buy another one for like $100. Ended up not bothering and giving up on having a peripheral switch because I refuse to give them that much money again just because a $10 set of cables broke and reward their shitty business practices. I just manually switch the actual display and USB cables when I want to control another computer.

    Also blew my mind just how strong a bite force even a small breed dog has. She totally crushed the metal casing surrounding the plug and shattered the plastic molding in the less than one minute she had it. I can’t even do that with my teeth (then again I’ve never tried).









  • I need something I can easily instruct them on how to install, and has good cross-platform support so that a basic programming lesson will work on whatever OS the attendees are running. Remember they are non-technical so may need more guidance on installation, so it should be something that is easy to explain.

    Honestly, as much as I personally despise it as a language and as much as you probably shouldn’t use it for large applications, JavaScript.

    If ease of setup and platform compatibility are your absolute top priorities, nothing beats it. Every mainstream OS runs JavaScript, and it’s already pre-installed in the form of a web browser. On any desktop system (and even mobile systems with some effort) you can use any text editor to write an HTML file with inline JavaScript and run it by just clicking it.

    Python, the next best option IMO, still requires knowledge of how to use the command line, and on Windows, requires installation that is slightly more involved than installing a regular program (adding it to your PATH, etc). Python for beginners are also limited mostly to console apps, and making a GUI is much more difficult especially for new programmers. Again, you’d first have to teach them what a console even is and how it’s actually still used by developers and is not a relic of the DOS days (something I’ve noticed non technical people tend to assume, they think GUIs made consoles obsolete). JS on the other hand is literally made to create GUIs on the web, meaning they will be able to create the kinds of software they’re already used to interacting with, which is both easier for them to wrap their minds around and also more enticing. Someone with no technical experience might wrongly assume that a text only interface is like “training wheels” and what they’re learning doesn’t apply to “real” software.

    More importantly, they will be able to show off what they built to their friends, without needing them to install anything or send source code or executables which can get blocked by social media filters. Services like Netlify will host your static pages for free, making sharing their work as simple as posting a link. Having a GUI is even more important in this regard, so they don’t have to walk their friends through how to use a console app when they barely understand it themselves.

    JS in the browser also has the benefit of being in a sandbox, meaning they can’t easily interact with other parts of their computer like files or system configurations. This may seem like a disadvantage but for someone just learning what programming is, it’s reassuring that they can’t accidentally kill their OS or delete their files.

    However, keep in mind that JS is pretty infamous for teaching bad habits that will have to be un-learned when switching to other programming languages (and so does Python TBH, though to a much lesser extent). It really depends on what kind of developers you want them to be by the end of this. For people just looking to casually make some interesting software they can show off to their friends, JS is probably the easiest way to do it. If this is meant to be the start of a path toward becoming actual professional developers, Yogthos’s suggestion of Clojure or Scheme is probably better because those languages will teach much more rigorous programming and software design practices from day one.


  • I’m not a parent either so take this with a grain of salt, but these seem to be the most common complaints I’ve read from people with siblings.

    Don’t blindly accept “he did it/she did it” when one of them messes up. It shows them that, for one, their siblings are fall-persons that can be framed to avoid punishment, and potentially, that one of them is presumed the troublemaker if you’re more inclined to blame them in the absense of evidence.

    Also don’t punish both for something unless you have proof they both did it. That’s how you make them resent each other.

    Give each of them autonomy from their siblings and allow them to do their own things by themselves. Don’t force them to let their sibling tag along when they clearly don’t want to, they deserve time to be their own person. Again, this fuels resentment as opposed to making them friends with each other, because forcing siblings to do everything together makes them think they’re only half a person in your eyes.

    Encourage sharing, but don’t force them to share everything they own, especially if they’re the ones that worked hard to obtain it. Obviously sharing is important and anything you buy for any of your kids should ideally be shared equally, but don’t be the parent who watches their oldest kid save up for something they really want and the instant their younger siblings want it, pry it away from them in a misguided attempt to show the importance of sharing. Again, it makes them feel like half a person. Foster an environment where they feel comfortable sharing their stuff, and they’ll do it by themselves. Forcing them to share only makes them see sharing as a burden and not a virtue. And when they do share and the younger sibling breaks it, don’t dismiss it as “they don’t know any better.” Teach the younger sibling to respect other people’s stuff that’s being shared with them and to take responsibility and apologize when they break it.

    Don’t turn the older sibling into a full time babysitter for the younger ones. Occasionally having them babysit is fine, but if you’re, for example, denying your teenager their social life by making them watch their siblings every single weekend while you go out with your friends, they’re not going to like you or their siblings. You’re the parent who should be making sacrifices for your kids, that’s your responsibility and not something you should be imposing on your oldest kids.

    Don’t say things like “this is the good one” or “this is the rowdy one” to your friends within your kids’ earshot, even in jest. Kids will internalize remarks like that from their parents and you will very likely manifest it just by saying it. Also don’t twist one sibling’s achievement into “why can’t you be like that” for everyone else. The kid who achieved something will feel like nothing they do will get them your attention and their other siblings will resent the person they’re being compared to.





  • HiddenLayer555@lemmy.mltoAsklemmy@lemmy.mlWhat christmas tradition do you uphold?
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    15 days ago

    Christmas tree and lights. Though the LED ones have ruined it for me, I can see the half wave rectified 60hz and it gives me a headache. That pisses me off so much because I was once super excited about LED Christmas lights consuming a fraction of the energy, but every company seems to think they can get away with literally just replacing incandescent bulbs with LEDs without the proper circuitry to drive them which would have cost, what? A dollar more? Hell a full bridge rectifier probably costs literally a penny when bought in bulk and though it’s still not a “proper” LED driver, it would have doubled the frequency and most people wouldn’t see it anymore.

    Does anyone know any Christmas lights with a proper power supply that drives them at low voltage DC? I imagine it would be a lot safer too wrapped around a flammable plastic tree.



  • HiddenLayer555@lemmy.mltoAsklemmy@lemmy.mlWhats your take on stand up comedy?
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    edit-2
    16 days ago

    As I mature, I find myself thinking very lowly of standup in general despite watching a lot of it when I was an edgy 18/19 year old. When I try to get back into it now I just see the various ethical problems with their jokes and that makes it not funny for me.

    White standup comics get free reign to drop racist dog whistles and if you criticize them on it they get all snippy with you. The most popular “genre” of white stand up comedy still seems to be “I went to a [insert culture here] restaurant and here are my disrespectful and stereotype enforcing hijinks” or even “I went to [insert COUNTRY here] and will now proceed to joke about how their culture is different from us.” I can only hope the whole thing is made up and they’re not that atrocious in real life, though the vast majority of service staff seem to have stories about famous comics treating them like shit so I wouldn’t be surprised.

    Even a lot of ethnic standup comics portray themselves as the victims of racism in one joke but then have no problems using stereotypes of another ethnicity in the very next joke.

    Also standup definitely seems to have an air of being attended by older generations who find insulting the younger generations funny. Things like participation trophies (which was a boomer idea by the way, the kids aren’t planning school competitions or buying the prizes) or terms like “snowflake” seems to have gotten into boomer rethoric partly because of standup. Reactionary takes about progressive social movements like veganism or car-free living are also the norm because I assume they know most of the people who watch them are the type to get mad at how other people choose to live their lives. Standup in general seems to have a “let’s make fun of anything people are doing that’s different from how it was before because we don’t want to do it that way and need validation that we’re not assholes on the wrong side of history” attitude. Or they’ll just make fun of random people living their lives, I remember watching a comic on YouTube doing a whole segment making fun of people who swim laps in hotel pools because it annoys him, like bro mind your own damn business.

    Occasionally a comic will try to earn brownie points by saying the most superficial shit about a major societal problem and then act like they singlehandedly solved it. Bonus points if they’re talking about another country’s problems which the West fucking caused.

    I’m not saying all standup is like this or all standup comics are racist or reactionary, but I am saying there are very few long running standup shows/podcasts with none of these problems.