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

help-circle
  • For those of you who’ve never experienced the joy of PowerBuilder, this could often happen in their IDE due to debug mode actually altering the state of some variables.

    More specifically, if you watched a variable or property then it would be initialised to a default value by the debugger if it didn’t already exist, so any errors that were happening due to null values/references would just magically stop.

    Another fun one that made debugging difficult, “local” scoping is shared between multiple instances of the same event. So if you had, say, a mouse move event that fired ten times as the cursor transited a row and in that event you set something like integer li_current_x = xpos the most recent assignment would quash the value of li_current_x in every instance of that event that was currently executing.


  • There are a few options there.

    As someone else mentioned if you’re using IPv6 then it doesn’t matter, you’re already routing internally even if you’re using the public DNS name, no extra work required.

    All the rest are for IPv4.

    If you’re not behind CGNAT some routers/gateways are also smart enough with their routing to recognise when they need to route back to their own external IP and will loop back locally instead of making any hops out to the internet. Again, if this is the case for you then no additional work is required other than perhaps running a traceroute to confirm.

    Another option is to add a local DNS entry for the name you’re using to resolve to a local IP address instead of your public address. The complexity (or even possibility) of this is going to vary considerably with your setup. If you’re running your own local DNS e.g. pihole or similar then it’s trivial. This is how mine is set up.

    If all your clients are going to be on PCs (or devices you have more than the typical manufacturer allowed modicum of control over) then you can do something kind of like the previous, just with all your local hosts files.

    If none of the above are options, then you’ll unfortunately have to fall back on using a local name/address, which means a slightly different client setup for devices you use exclusively in your home versus ones you might use elsewhere.





  • I’m all for more people switching to linux, but a lot of your windows issues sound less like windows issues and more like your specific installation is messed up somehow issues.

    One thing I will mention though is that Windows does have native per-application volume control, you don’t need to install EarTrumpet. You can right-click the system tray volume icon and open the mixer, or just search for “volume mixer” in the start menu.








  • Yeah, there are different bluetooth audio profiles, one for high quality audio intended for media consumption, and one for bi-directional audio intended for telephony (and some others, but these are the relevant ones here). The “gotcha” is that in general, any attempt to consume the mic feed from a bluetooth headset will switch it to the telephony mode, so if you have them paired to a PC and an application is listening to the mic for any purpose you get stuck with much lower quality 64kbps PCM audio.




  • As it should be, and I agree that those crazy fast 200+ kW chargers are rarely necessary.

    It’s kind of a weird reaction to consumer hesitation and people complaining that they don’t want to wait for charge times as compared to the time it takes to fill a tank. Making charging as fast as possible to address the complaint (while still being one or two orders of magnitude slower at best), because that’s easier than getting people to change their driving habits, or making them realise that they’re always going to start the day with a full charge at home.

    Even if all you have is relatively paltry north american 110V at home you need to drive way more than average per day for that not to keep up.


  • vithigar@lemmy.catoxkcd@lemmy.worldxkcd #2948: Electric vs Gas
    link
    fedilink
    English
    arrow-up
    12
    ·
    3 months ago

    restaurant/charging station combo

    The people providing the charging infrastructure here haven’t figured out this important point yet. Gas stations are a terrible place to put chargers, no one wants to stop at a gas station for fifteen minutes to an hour at a time. Charging stations need to be in places people will be stopping anyway, or at the very least places that provide something to do while waiting. Restaurants, shopping centres, tourist traps, whatever.

    Here it’s exacerbated by the fact that the fastest chargers we have only deliver about 60kW. Not even close to the 200+ some EVs need to get the fast charging times they advertise. But that 60kW would be perfectly fine if I could spend the time in a restaurant instead of standing around at a gas bar in the middle of nowhere.

    Hell, even cheap (or free) “level 2” chargers outside restaurants and shopping malls would be a huge help.




  • Neither of those points invalidate the idea presented.

    Just because it’s not a uniform distribution doesn’t mean the average changes. Most people learning a thing earlier in life doesn’t change the average rate. Even if literally every single person learned a given fact on their ninth birthday, that still averages out to the same rate.

    As for your second point, you’re conflating “things everyone knows” with “knowing everything”. Obviously people who are 80 still don’t know everything, but it’s not unreasonable to assume they share a pool of common knowledge most of which was accumulated in their early life.

    And even if both of those things were valid criticisms, the thing you’re calling out as “inaccurate pseudoscience” is the suggestion that people shouldn’t be ridiculed for not knowing things, rather we should enjoy the opportunity to share knowledge.