[-] cecilkorik@lemmy.ca 9 points 4 months ago

You can also automate this with autossh which is designed for exactly this kind of persistent tunnel. Although a simple "while" loop might seem like the intuitive way to keep it running, autossh is very reliable and takes care of all the corner cases for you.

[-] cecilkorik@lemmy.ca 7 points 5 months ago

Keep the gray plastic. Remove black clip around the vertical wheel post in the gray plastic. Remove wheel and wheel post. Buy new wheel. Installl new wheel. It will be easier to find a new wheel once you have the old wheel out so you can take measurements. but it's likely something pretty standard, off-the-shelf. Wheels are something that companies buy, they rarely build them themselves. They typically come as a castoring assembly with wheel, axle, spindle, and attachment post in a variety of common sizes and with a dizzying variety of actual wheels.

[-] cecilkorik@lemmy.ca 7 points 5 months ago

Clearly Russia has no idea how to censor different things in different ways to create a specific narrative for people to buy into. They've never done anything like that before, they aren't masters of the craft of disinformation or anything.

Totally unrelated joke, how do you know if a Russian is lying? You don't, sometimes he could be telling the truth just to trick you.

And I'll throw in one of my favourite exchanges between two characters:

"Of all the stories you told me, which ones were true and which ones weren't?" "My dear Doctor, they're all true." "Even the lies?" "Especially the lies."

Trusting something coming out of Russia to be true is foolish, just as foolish is trusting it to be false. Nothing that say is reliable in the slightest or should be used to make any useful conclusion about the real world.

[-] cecilkorik@lemmy.ca 8 points 6 months ago

Never had a single functional problem with Nextcloud, other than the fact that it's oppressively slow with the amount of files I've shoved into it. Mind you I also don't use MySQL/MariaDB which I consider a garbage-tier DB. Despite Postgres not being the "Recommended DB" for Nextcloud it works perfectly for me. Maybe that's the difference.

[-] cecilkorik@lemmy.ca 6 points 6 months ago

Kerbal Space Program getting bought by Take-Two Interactive was sad. Knew they would run it into the ground eventually, but still a bit surprised at how quickly they've managed it.

[-] cecilkorik@lemmy.ca 9 points 8 months ago

That's kind of like seeing a story where a car crashed into someone's living room and saying "I don't see the benefit of having houses" even though:

  • This is very rare
  • Not all sites have equal risk of this happening
  • The alternatives you would likely propose have even bigger risks.
[-] cecilkorik@lemmy.ca 8 points 8 months ago

I used to work for a company that outsourced most of its developers to Infosys. I managed a few of them. They were lovely people, treated like shit by my company and by Infosys. I did my best with the little power available to me to give them reasonable projects and maintain reasonable expectations, they said I was the best manager they ever had. After I got laid off, they all quit too and most I think ended up working for Oracle somehow, I don't know how they're doing these days but Oracle sounds like it's probably a fate worse than death, unfortunately.

[-] cecilkorik@lemmy.ca 7 points 8 months ago

CANDU is one of the best reactor designs currently running, in my opinion. The problem is that it's expensive to build, and requires expensive maintenance, and in a world that loves to cut corners and find efficiencies that is not popular. But it is solid, it is safe, and I support many more of them being refurbished, maintained and built in this country despite the cost.

Advanced CANDU on the other hand, had little in common with CANDU despite the name, and bowed to all of the previously mentioned pressure to cut corners and find efficiencies resulting in a dangerous and ultimately non-viable design that basically killed Canada's nuclear industry. It was a classic boondoggle, and while I was and am infuriated with the way Harper killed it and put it out of its misery, the real mistake had been pursuing it down that path in the first place which was a decision that came well before his time and was based on global circumstances that made it simply impossible to justify.

I would love to see even more advanced reactors being researched, designed and built here, modular, pebble bed, sodium, thorium, all of it. But sadly I think that is mostly unrealistic given the current state of our nuclear industry. CANDU is however at least one proven technology that we can and should continue to take advantage of. Even if we will probably never be nuclear leaders again thanks to the mismanagement and sabotage of our nuclear industry, at least we can cling to its legacy.

[-] cecilkorik@lemmy.ca 7 points 8 months ago* (last edited 8 months ago)

A Dockerfile is basically just a script that starts a container image (ranging from standard Linux OS installs like ubuntu or debian or alpine to the very specialized pre-made containers with every piece of software you want already installed and configured and everything unnecessary stripped away) and then does various stuff to it (copies files/dirs from local, runs commands, configures networking). It's all very straightforward, and if you know how to write a bash script or even just a basic batch file that's pretty much all its doing, and the end result is a container, which is basically a miniature Linux virtual machine (that is supposed to be "single purpose" but there's no technical limitation forcing it to be)

The simplest way to create a container is to use a standard OS container as I mentioned and install the software you want exactly as you normally would in that OS, using the OS package manager if you want, following tutorials for that OS or installing manually using the instructions from the software itself. Either way should work fine. Again, it's basically not much different from having a virtual machine running that OS. You can even start up a root bash prompt and install it that way if you prefer, or even connect over ssh by running an sshd server on it (although that's totally uneccessary and requires extra work).

For basic Dockerfile syntax, look at other people's Dockerfiles and realize you probably don't need 90% of the more complex ones. There are millions of them out there, you should be able to find some simple straightforward ones and just mimic those. Will you run into "gotchas"? Sure you will, Docker is full of them, and when you do your Dockerfile will get a little more complex as you find a way to deal with the problem Docker has created for you. Here's a pretty simple tutorial example of a Dockerfile that just installs a bunch of packages from Debian and doesn't even run any specific services, or alternatively here's a Dockerfile that does nothing but run and configure an ssh server like I mentioned above (again that's totally unnecessary normally but the point is you can certainly do it if you want to!)

[-] cecilkorik@lemmy.ca 7 points 11 months ago

It does not need to go to earth. Take a 1.5v alkaline battery, connect one end of the battery to the other end -- a large amount of current flows, no earth involved. The electric charge that a neuron can produce is basically like tiny cells of a biochemical battery. The problem is unlike a useful battery, the voltage difference between all the individual cells is not (and realistically cannot be) carefully organized in a series or parallel path from positive to negative, instead all the positive and negative connections are jumbled together into a complex network, meaning there's no way of getting billions of volts out of it. It's just not wired that way.

Theoretically if you carefully constructed a series of hundreds of billions of neurons connected end-to-end-to-end in the right pattern you might end up with billions of volts (although end-to-end it would probably be the size of the solar system, so the billions of volts potential wouldn't seem so impressive anymore on an astronomical scale) and you probably can't pack it your neural-battery into a small space without the neuron's insulator (myelin sheath) from breaking down and shorting out that voltage. Also it wouldn't really be a brain anymore at that point. The complex maze of connections are what makes the thinking happen. If you make them all single-connected you've basically just got a really big, low capacity and relatively inefficient battery compared to better chemistries.

Flowing all that current at once will certainly create a lot of heat though, you're right about that. That heat is normally heatsinked by the intracranial fluids and conducted away by the relatively rapid bloodflow through around the brain to be dissipated in the skin and lungs. The brain is basically liquid-cooled and it's a very efficient and tightly regulated system that rarely has issues. Such a high neutral output would probably overwhelm even the relatively robust cooling that bloodflow provides, though, leading to a condition called brain hyperthermia, which is part of the reason drugs like methamphetamine can be dangerous or fatal, as it can result in cell death, and in this case, probably brain death and overall death.

[-] cecilkorik@lemmy.ca 7 points 11 months ago

The problem is you have no safe way to connect them without building a totally separate electrical system, since they have to be separated from your grid connection. Let me suggest an alternative "alternative energy": LiFePo battery packs/banks are available in a wide variety of sizes, they require no outdoor connections and don't have to be interconnected with each other as they can operate independently and standalone. What you can do is charge them from the grid at low-power-usage times (typically overnight, when the wind farms are spinning, dams are flowing, and nuclear is nuclearing with nobody to use it). Then unplug them during the day and run stuff in your house off battery power, potentially all day long if they're big enough. Technically this is only energy storage, not energy production, but it's an important part of the alternative energy landscape, as energy is very hard to store and renewables like wind and solar depend on the grid's ability to do so, which you will be helping it to do.

They are sometimes sold as battery "generators" for RV/camping as the modestly sized ones can fill a portable role similar to small gasoline generators. Many of them include charging ports for solar too, so you can add solar modules on as well if you want to go that direction, to further increase runtime during the day and provide backup power if you ever need it. They get big and expensive really quickly though, so you can either get lots of small independent ones or a few big ones, but either way you're going to be spending many thousands of dollars.

If we ever end up replacing the supermajority of our power generation with solar, we would need the extra storage at night instead of during the day, but that's likely a long way off and requires a LOT of other load shifting like EVs charging overnight, electric heating at night, etc.

view more: ‹ prev next ›

cecilkorik

joined 1 year ago