Badabinski

joined 1 year ago
[–] Badabinski@kbin.social 7 points 4 months ago* (last edited 4 months ago) (1 children)

I think you may be mixing up Project Orion (let's chuck bombs out of the back to make us go zoom) with NERVA (a nuclear thermal rocket engine where the heat from chemical reactions is replaced with heat from a nuclear reactor to generate gas expansion out of a nozzle). Something like NERVA is actually a great idea. Let me tell you why!

  • It's completely clean (unlike Orion and fission-fragment rockets)

    • the reactor and fuel never touch, the fuel goes through a heat exchanger and is not radioactive
  • it provides extremely high efficiency

    • chemical rockets top out at ~400-500 isp in vacuum
    • NERVA tests in 1978 gave a vacuum isp of 841
    • ion thrusters like NEXT has an isp of 4170
  • it provides lots of thrust

    • NERVA had 246kN of thrust
    • NEXT (which was used on the DART mission) is 237 millinewtons
    • That's 6 orders of magnitude more thrust!
  • No oxidizer is needed

    • All you need is reaction mass, just like ion thrusters

For automated probes, the extreme efficiency and low thrust of ion thrusters makes perfect sense. If we ever want to send squishy humans further afield, we need something with more thrust so we can have shorter transit times (radiation is a bastard). Musk is supposedly going to Mars with Starship, and the Raptor engine is a marvel of engineering. I don't like the man and I'm not confident that he'll actually follow through with his plan, but the engineers at SpaceX are doing some crazy shit that might make it happen.

Just think though, if the engine was literally twice as efficient and they didn't need to lug around a tank of oxidizer, how much time could they shave off their transit? How much more could they send to Mars? Plus, they could potentially reduce the number of big-ass rockets they have to launch from Earth to refuel. If you can ISRU methane, then I imagine you could probably get hydrogen.

There are problems that still need to be resolved (the first that comes to mind is how to deal with cryogenic hydrogen boiling off), but like, the US had a nuclear thermal engine in the 70s. It was approved for use in space, but congress cut funding after the space race concluded so it never flew.

I'm happy to see that NASA is once again researching nuclear thermal rockets. Maybe we'll get somewhere this time.

[–] Badabinski@kbin.social 5 points 4 months ago (1 children)

There are many of these where I live. The lights are usually timed so that you just go straight through without having to stop. They're much better than the traditional intersections that came before.

I will absolutely concede that they're shitty for pedestrians or cyclists, however.

[–] Badabinski@kbin.social 4 points 4 months ago* (last edited 4 months ago)

People who eat Dayton-style pizza are like the city of Dayton itself—smelly inside and bereft of true purpose. Those of us in the US who haven't been so psychically damaged wouldn't eat that shit.

(I'm only just learning about the disgusting gutter pizza. I don't like Dayton because my last company was slowly destroyed over several years by a company that was headquartered in Dayton. I associate the city with the asshole who was CEO. Fuck you, Chris! I've heard Dayton is, at worst, not great, so take my comment as the joke it is.)

[–] Badabinski@kbin.social 1 points 5 months ago* (last edited 5 months ago)

I just kinda vaguely name them after what they do and how big they are:

smol: my tiny little 2 bay Synology NAS that I'm no longer using
medium: my R620 with 4x 18TB drives that is my current NAS (medium, because it's larger than my previous NAS). Is also a k3s worker and provides NFS PVCs.
big: my old full-tower gaming rig that's a k3s worker and runs my Home Assistant VM
molecule: my current mini-ITX gaming rig and primary computer, also serves as the k3s master node and runs a lot of my home automation stuff. I think I picked molecule because it's REALLY tiny (it's in a Dan Cases A4v2, I think?) and it has a bunch of small stuff running on it (containers and pods)
monolith: my old T440p laptop. It's a large, black, featureless slab that doesn't do much
slab: my new Framework 13 laptop. I just kinda looked at it and said, "that's a nice slab of metal"

All of the above running Linux. I tinkered with Ubuntu for the NAS (because I heard Ubuntu was good at ZFS), but I still absolutely hate Ubuntu, so it's all Arch Linux.

[–] Badabinski@kbin.social 2 points 5 months ago* (last edited 5 months ago)

As others have said, the inner child is an incredibly useful metaphor for trauma/therapy. The way your brain reacts to trauma is to basically create a bookmark of you at that time. If you manage to live through the trauma, then clearly, the emotions you felt and the actions you took worked perfectly!

Well, that was probably true in prehistory, but nowadays it's a big fucking stupid liability. Like, for example, say I'm doing my adult job at $company and my coworker Todd Fuckwit (esq.) says something shitty about suicide that reminds my brain of an old bookmark. All of the sudden, my emotional state is transported back to when Young Badabinski saw the results of a parental suicide attempt and thought it was entirely their fault and Badabinski deserved it (Important note, this is not regular PTSD with vivid hallucinations/flashbacks, this is more about emotions). Now I'm freaking out in the meeting room and abruptly leave because I feel like a 12 year old who has just had their world ended, and escaping us what I did back then.

The way you heal this is to try to create a connection with that bookmark of yourself and then give yourself what you needed back then. Over many therapy sessions, I was able to help young Badabinski realize that none of that was their fault, that they didn't deserve to see that, and that they should have had the warm and loving care of both of their parents. And you know what? It really fucking worked.

For more chronic cases (like a lot of emotional neglect), your inner child is just kinda... There? Like, the bookmark part of the metaphor breaks down a bit. Your inner child represents the tender emotions that were left unhandled and childhood needs that were left unmet. A lot of my therapy nowadays is helping my inner child feel less deprived and more loved on a day-to-day basis, because if I don't take care of myself enough in the ways I need, then my brain will pull up the chronic inner child and I'll be miserable for days/weeks/months. In contrast, the parts of my life where I've permanently changed my day-to-day behavior feel so much more fulfilling and wonderful. It's not just about avoiding the negatives, you end up focusing more on achieving the positive.

I personally like describing it as a metaphor. I was a bit of an angry skeptic when I was younger (due to the aforementioned parent moving to a bunch of new-age crystal healing shit after their recovery and then trying to push it on me when I absolutely did not believe in the validity of those methods), so I didn't like how metaphysical and "touchy-feely" an inner child felt. I'm no longer skeptical of this idea am a much more emotionally liberated person. I often think of my inner child as if it were an active presence in my mind (it feels more effective to do so for me). It took a lot of time time for me to reach that place. I believe that explaining it as a metaphor will get through to people who would otherwise spurn the concept. Metaphor or not, I still want to help the little human that is past me, and I'd love to be able to drink a potion that would let me talk to that twelve year old.

[–] Badabinski@kbin.social 1 points 5 months ago

I'm glad that my grumpy migraine ramblings brought someone some joy!

[–] Badabinski@kbin.social 1 points 5 months ago (1 children)

:( I'm sorry to hear that. Well, for Android there's MaterialFiles, which is fully FLOSS and supports FTP, SFTP, and SMB. Not sure about iOS, but I imagine there are options there.

I hope that your journey through life becomes a little less rocky.

[–] Badabinski@kbin.social 1 points 5 months ago* (last edited 5 months ago) (3 children)

There are definitely a lot of good options out there. What are you using right now for regular old FTP? The odds are actually pretty good that it already supports SFTP. A lot of file management applications do both and lump them together, even though they're completely different protocols (sftp is from the late nineties).

If it doesn't, then I don't know what OS you're using, so I'll just recommend options for the big 3. For Windows, there's WinSCP. For MacOS there's Cyberduck. Most file managers on Linux distros let you just type sftp://me@wherever in the navigation bar, meaning you get a totally seamless experience with the rest of your FS.

EDIT: or, you can use sshfs-win on Windows and have your remote filesystem show up as a regular ol' drive, just like SMB. MacOS and Linux have sshfs, and I know there are GUIs wrapping sshfs on those platforms. I personally use sshfs at home and it's great (although no GUI wrapper, I'm a weirdo who doesn't use a graphical file manager at all).

[–] Badabinski@kbin.social 1 points 5 months ago* (last edited 5 months ago) (5 children)

You should be able to just use ssh/sftp. There are lots of great clients, and you can absolutely still use usernames and passwords, no public/private key stuff required. You can even use ssh and scp right from powershell on Windows boxen if you're so inclined. There's winscp, and if you want filesystem mounting, there's this: https://github.com/winfsp/sshfs-win
For macos and Linux, the options are far more plentiful.

Edit: there's also file pizza, which is a file transfer thingy with no middle man that's open source, although it's not copyleft AFAICT: https://github.com/kern/filepizza
and similar tools. Not really what you're after, I just think it's neat.

[–] Badabinski@kbin.social 7 points 5 months ago* (last edited 5 months ago) (19 children)

PART 4.

You expect a file transfer program to reliably and faithfully transfer your files, byte-for-byte, from one system to another. FTP spits in your face and shits on your chest. You know how Linux uses LF (i.e. \n) for newlines and Windows uses CRLF (i.e. \r\n) for newlines? Pretty annoying, right? Well, FTP's ASCII mode will automatically rip off those \r characters for you! Sounds pretty sweet, right? Fuck no it's not. All of the sudden, your file checksums have changed. If you pass the same file back to a Windows user with a different and more sane file transfer system, then they get a broken file because FTP didn't mind its own fucking business. If you have a CRLF file and need an LF file, just explicitly use dos2unix. Wanna go the other way? unix2dos. The tool has been around since 1989 and it's great.

Now, what if you're not transferring text, but instead are transferring a picture of a cute cat? What if your binary data happens to have 0x0D0x0A somewhere in it? Well, ASCII mode will happily translate that to 0x0A and fucking ruin your adorable cat picture that you were going to share with your depressed significant other in an attempt to cheer them up. Now the ruined JPEG will remind them of the futility of their situation and they'll slide even deeper into cold emptiness. Thanks, FTP.

You can tell your client to use binary mode and this problem goes away! In fact, modern clients do this automatically so your SO gets to see the adorable fuzzy cat picture. But let's just stop and think about this. Why use a protocol that is dangerous by default? Why use a protocol that supports no form of security (unless you're using fucking godawful FTPS or FTP over SSH)? Why use a protocol that is so broken by design that small business hardware has been designed to try to unfuck it? Is it faster? I mean, not really. SFTP has encryption/decryption overhead, but your CPU is so fast that you'd need to transfer at 25+ Gb/s to notice it. Is it easier? Fuck no it's not easier, look at all of the stupid footguns I've just mentioned. Is it simpler? The line protocol is simple, but so is HTTP, and HTTP has a much simpler control flow path (merging the data and control planes is objectively the right thing to do in this context). And shit, you want a simple protocol for cases where you don't have a lot of CPU power? Use fucking TFTP. It's dogshit, but it was intentionally designed to be dogshit so that a fucking potato could receive data with it.

There is no task that is currently being done with FTP that couldn't be done more easily, more securely, and more quickly with some other protocol (like fucking SSH and SFTP, which is now built into fucking Windows for god's sake). Fuck FTP.

[–] Badabinski@kbin.social 6 points 5 months ago* (last edited 5 months ago) (20 children)

PART 3.
They made their STUPID MODEMS FUCK WITH THE FTP PACKETS. I have personally experienced this with Comcast Business. The stupid piece of shit DOCSIS modem they provide intercepts the FTP packet from your server saying "oh, connect to this address: x.x.x.x:44010" and they rewrite the fucking address to the public IP. There is no way to turn just this horse piss off. Now, for average business customers, this probably saved Comcast a bunch of money in support calls. However, if you're using the so-called bridge mode on that degenerate piece of shit-wrapped-silicon (where rather than allowing the modem to give you a DHCP address, you just configure your system to have one of the addresses in the /29 space and the modem detects that and says oh okay don't NAT traffic when it's going to this address, just rewrite the MAC and shunt it over the right interface), then something funny happens. The modem still rewrites the contents of the packet, but it uses the wrong fucking IP address! Because the public IP that your server is running on is no longer available to the modem, the modem just chooses another fucking address. Then, the client tries to connect to 1.2.3.5 instead of 1.2.3.4 where your server is listening, the modem says "hey I'm 1.2.3.5 and you can fuck off, I'm dropping your SYN for port 44010", and I get an angry call from the client asking why they can't download their files using this worthless protocol. I remember having a conversation like this:

Me: "Just use SFTP on port 22!"
Client: "No! FTP is faster/more secure/good enough for my grandfather good enough for me/corporate won't allow port 22."
Me: "Comcast is fucking me right now. What if we lied and served SFTP over port 21?"
# we try it
Client: "It's not working! I can't even connect!"

I couldn't connect either. I couldn't connect to anything. Trying to do SFTP over port 21 caused the stupid fucking modem to CRASH.

Are you starting to see what the problem is? It's like Microsoft preserving bugs in Windows APIs so that shitty software doesn't break, and then they end up doing crazy gymnastics to accomodate old shit like the Windows 8 -> Windows 10 thing where they couldn't use "Windows 9" because that would confuse software into thinking it was running "Windows 95" or "Windows 98". FTP has some bugfuck crazy design decisions that we've collectively decided to just "work around," and it leads to fucking gymnastics.

Speaking of bugfuck crazy design decisions, FTP's default file transfer mode intentionally mangles data!

Continued in part 4.

[–] Badabinski@kbin.social 7 points 5 months ago* (last edited 5 months ago) (21 children)

PART 2.

NAT, much like the city of Phoenix, is a monument to man's arrogance. Fuck NAT and fuck FTP. If your FTP server is listening directly on a public IP address hooked up directly to a proper router, then none of this applies. If you're anything like me, the last company I worked for (a small startup), or my current company (many many thousands of employees making software you know and may or may not hate, making many billions of dollars a year), then the majority of your servers are living in RFC1918 space. Traffic from the internet is making it to them via NAT (or NAT with extra steps, i.e. L4 load balancers).

A request comes in for $PUBLIC_IP TCP port 21 and is forwarded to your failure of a boxen at 10.0.54.187. Your FTP server is a big stupid idiot and doesn't know this. It thinks that it's king shit and has its own public IP address. Therefore, when it's deciding what ADDR:PORT it's going to tell the stupid FTP client to connect to, it just looks at one of the adapters on the box and says "oh, I'll tell this client on the internet to connect to 10.0.54.187:44007" and then I fucking cry. The FTP client is an idiot, but the IP stack on the client's home/business router is not and says "oh, that's an address living in RFC1918 space, I shouldn't send that out over the internet" and they don't get the results of their LIST.

So, how do you fix this? Well, you fix it by not using FTP. Use SFTP USE SFTP USE SFTP FOR GOD'S SAKE. But since this world is a shit fucking place, you have two options. The best option is to configure your FTP server to lie about its IP address. Rather than being honest about what a fool it is, you can tell it to send your public IP address to the client rather than the network adapter IP address. Does your public IP address change? Fuck you, you get to write a daemon that checks for that shit, rewrites your FTP server config, and HUPs the bastard (or SIGTERMs it if your server sucks and can't do a live config reload).

Let's say that you don't want to do that. Let's say you work at a small company with a small business internet plan that gives you static IPs but a shitty modem. Let's say that you don't know what FTP is or how it works and your boss told you to get it set up ASAP and it's not working (because the client over in Bendoverville Arkansas is being told to connect to a 10.x.x.x address) and it surely must be your ISP's fault. So you call up Comcast Business/AT&T/Verizon/Whoeverthefuck and you complain at their technicians for hours and hours, and eventually you get connected to a human that knows what the problem is and tells you how to configure your stupid FTP server to lie like a little sinner. The big telco megacorps don't like that. They don't want to waste all those hours, and they don't want to hire too many people who can figure that shit out because it's expensive. You wanna know what those fucking asshole companies did?

Continued in part 3.

view more: next ›