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

help-circle
  • Coal plant burns coal to heat water, makes steam, and the steam powers a turbine to produce electricity. A nuclear power plant uses nuclear fuel to heat water and produce steam similar to a coal plant. It may do this indirectly (e.g. second loop between the nuclear fuel and water loop to prevent the water becoming radioactive). This means that to build a nuclear plant you essentially need to build a coal plant, and then also the nuclear reactor and safety stuff, which makes them more expensive. Since coal plants are being turned off anyways, it might be more cost effective to just retrofit old coal plants so the only cost is the nuclear reactor side of things (plus any necessary maintenance and upgrades)


  • Also if you want a domain but dont care about the actual address, a .xyz domain composed entirely of numbers with less than 10 digits is $1-2 + same as renewal fee per year. $1.22 for me on porkbun

    Just be sure to redact the whois information bc you will get a call from scammers trying to get you to register your domain on some “internet map” for a small fee acting as if its some step in your setup process you havent done yet





  • What kind of emails are you sending to what kind of people, and how frequently that AI increases your productivity? I don’t think I ever have emails that AI could do better or faster, since it’d probably take longer to explain to the AI what I need it to write than to type it out myself. Then again I’m in an engineering setting and it’s pretty much just numbers, confirmations, basic requests, and issue descriptions, IT tickets, mostly



  • jjagaimo@lemmy.catoSoftware Gore@lemmy.worldGood clock!
    link
    fedilink
    English
    arrow-up
    25
    ·
    5 months ago

    In was looking for a small space heater for the bathroom because it gets so cold in the morning. There was one that was a plug in into the outlet kinda like a night light, and had a temperature display. There was a one star review along the lines of

    This thing is garbage! It just keeps saying nonsense like 9L! Needs better instructions!

    I flipped the photo upside down and…









  • Solder is a low melting point metal used to join two metals, where the solder fills the gap and bonds to both metals. This is commonly used in electronics to bond components to the board. For a good solder joint, the solder must be brought up to the proper temperature, and the pads on the PCB (metal 1) and leads of the component (metal 2) need to be heated enough. Additionally, flux is added to the solder to remove oxides on the component leads and PCB pads to allow the solder to bond to the metal; oxides can prevent the solder from sticking.

    A cold solder joint is one that does not reach the proper temperature and/or does not have enough flux, leading to the solder not bonding to the joint, having a scaly/bubbly/matte appearance, and a weaker more brittle joint. Flux also doesnt do as good a job at lower temperatures so it’s important for the joint to get hot enough, and to heat the pads/component leads too



  • It depends on if the problem is recursive or iterative, and how much it needs to be optimized.

    For example, you may use a for loop for a simple find and replace scheme for characters in a string, where you check each character one by one until you find one which matches the target, and then substitute that.

    There are certainly recursive ways to do string replacement in strings which might be faster than an iterative search depending on implementation, but that’s more optimization than I might need 99.9999% of the time

    A recursive problem that’s difficult to solve iteratively is browsing all the files in a folder and it’s subfolders. Each folder may have several subfolders, which you then need to search, but then each of those folders can have subfolders. This problem can be solved fairly easily recursively but not as easily iteratively.

    That’s not to say it can’t be solved that way, but the implementation may be easier to write

    Recursive code, however, is more frequently prone to bugs which causes infinite recursion leading to crashes, as it is not a tool which is often used and requires several more fences to prevent issues. For example, in the folder example, if one were to encounter a shortcut to another folder and implement code to follow that shortcut as if it were a directory as well, then placing a shortcut to a folder within itself might cause the code to recurse infinitely without having a maximum recursion depth and or checking for previously seen folders.


  • I have been playing CS since 1.6. I know a cheater when I see one and I know wallbangs can happen. You mean the guy with 100% headshot rate, shoots exclusively at people thorough walls before seeing them, and puts their face into a wall to stare at the enemy and track them walking through the map on 1v1 is playing legitimately? Unless I’ve done something to tank my trust factor and it hasn’t changed in something like 5 years, then there’s no reason for me to have low trust factor.

    The cheater problem was not like this before and has been getting steadily worse. Just because you don’t see them doesn’t mean they don’t exist. Besides that wallbangs are nothing like in 1.6.