Software developer, Linux sysadmin, amateur analog photographer. (And pointy cheese monster) I may write in English, German, or Russian, but make no mistake: my mother tongue is Sarcasm.
Public Key
npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2
Profile Code
nprofile1qqsf37jrsnphp3sk2z0eqjff23avds6suq8qt33u0tw8rk4kqx7umpcpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dsus4hlk
Author Public Key
npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Show more details
Published at
2023-06-14T00:22:21+02:00 Event JSON
{
"id": "4426c45ee48ebcad159e72a13e84848cc033b27e49ddf302e332a7818a410c87" ,
"pubkey": "98fa4384c370c616509f904929547ac6c350e00e05c63c7adc71dab601bdcd87" ,
"created_at": 1686694941 ,
"kind": 0 ,
"tags": [
[
"mostr",
"https://mastodon.tekdmn.me/users/tek_dmn"
]
],
"content": "{\"name\":\"Teknikal_Domain\",\"about\":\"Software developer, Linux sysadmin, amateur analog photographer.\\n\\n(And pointy cheese monster)\\n\\nI may write in English, German, or Russian, but make no mistake: my mother tongue is Sarcasm.\",\"picture\":\"https://mastodon.tekdmn.me/system/accounts/avatars/106/951/254/346/563/915/original/a0c1b431a5cdc961.png\",\"banner\":\"https://mastodon.tekdmn.me/system/accounts/headers/106/951/254/346/563/915/original/4b626df3ad494d4a.png\",\"nip05\":\"[email protected] \"}" ,
"sig": "10effdcf23fda5737aacbf758c11b0e4da2f5144f646bc58d79266b3290e6c081fb968267a77a82a15abedbd5ac80bf25ab81623ffb840afa94cce7595bea8e8"
}
Last Notes npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain Hey #linux people, weird question: How much would I subtly break my system by having one Arch based distro and one Debian based distro both sharing a common /home partition? :taz_laugh: npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 There is no "a" on the end of that word, so help me god do not let my eyesight fail. (too late, it took me reading it 4 times) npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 do I have one? No. Am I capable of setting up a VPS for you? Absolutely. 32 GB disk, two core, 4 GB RAM sound fine? npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 TL;DR it's the exact branch path. Your first commit is 1.1 then 1.2, then 1.3, the. 1.4. let's assume now you branch off a different line of changes. That branch is named 1.4.1, and the first commit is 1.4.1.1. the. 1.4.1.2. the. 1.4.1.3. if you made a second branch off 1.4, that's 1.4.2.1. if you branched off 1.4.1.3, that's 1.4.3.1.1. An odd number of numbers is a branch name. An even number of numbers (x).y is commit number y on branch x. I hate it. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 svn's revision ID is a monotonically increasing int. The first checkin is rev0. After that, rev1. rev2, rev3, and so on. Unlike how Git used hashes (an idea taken from Monotone), or CVS does... 1.4.1.3.2.1.5.29.2 npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 subversion be like npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain Okay, #AmateurRadio math time. Anyone know roughly how far a UHF (440) signal can travel, 40W of power, end-fed half-wave vertical mounted above the metal roof of a 1-story house? We're on the city limits so there's not much obstruction. I'm not looking for exact answers, I'm just trying to calculate if 40-50 watts of power is enough to reach the neighboring (30 miles) city. For bonus points: assume I'm on a 5W HT. You think there's enough rx gain to even hear an HT 30 miles away? Or would I have to bounce through the 50W tx in my car as an amplifier to even try that. #HamRadio npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 It's a nice idea but it's good to have concrete values on something, like the original geek code, instead of you having to estimate percentages. I could say "g4 b0 u5 a4 s1 r2 n1" but that's also subjective enough as an opinion to not really convey the exact same meanings that I might intend. #LinuxGeekCode, neat concept, just maybe a touch vague? I don't know, I'm just like, a single opinion here. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1trd…ussx @npub1l3g…vu48 Exactly. BSD has had this concept for longer than Linux has. Take a process, or processes, and the isolate them from the rest of the processes on the system... That's it npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 This is why stacks and docker-compose exist. You give it a YAML file detailing what containers, what images, what networking, what <everything> configuration, and tell it to start that, and it handles organizing the containers for you.. and if you set it up right, I think that even has some scalability too. But this is why I say a Docker container is not a VM-lite, it's an app in a sandbox. Compared to what I'm normally using, LXC containers, which *are* meant to act as a full Linux system, Docker containers are meant to just draw boundaries around a single process in regards to it's filesystem access, environment, and maybe memory and CPU. @npub1trd…ussx npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1trd…ussx @npub1l3g…vu48 Personally I think FlatPak makes more sense, I don't think AppImage has the same sort of sandboxing which is the entire point of containers. Unfortunately this comparison breaks down when you consider that Docker expects a sort of one-container-per-app topology, using stacks to link everything up. So a single application can be made of half a dozen containers, one for the app, one for the database, one for the frontend... All communicating on a loopback bridge network together. Updating these can be fun sometimes. Also your understanding is good but misses some details, Docker (and the ContainerD runtime and system it uses) is doing basically all the work, the OS isn't doing anything besides cgroup separation. (And don't get me started on how Docker does storage and filesystems) npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 To add, and address a separate point: you're trusting them to not only update their app in the container image, but every underlying utility and library used. Most projects that I can think of, building container images usually is part of the CI/CD pipeline, and those images usually start their build with a number of apt / dnf / yum / apk / pkg / etc. invocations to pull the libs, meaning that every application update is, within a day or two, an image update, and usually a library update since it's in effect firing up a very lightweight VM, running a bunch of package installations, and then copying its own files in. Some places even build the app in the container with the libraries to make sure it's all set up correctly for the environment, and then have a second build stage, so you're not holding all the build-time dev dependencies that it needs, but that's getting a bit besides the point. @npub1trd…ussx npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 Like, okay, you *can* (and usually do) build a Docker image from some base OS, but that's really only just to give your program the support it needs to exist. A Docker container is not, fundamentally, supposed to be a VM. It's an application running in a sandbox. There is no real OS around it, besides the libraries and support files it would need to run. There are no processes besides whatever is in the CMD line when building the image + whatever else that starts up. This removes like 90% of the OS from the OS, and not many OS updates are going to really have any effect besides major version changes or urgent fixes. (And even for urgent fixes, you *can* modify and rebuild the image yourself just by changing the FROM line) @npub1trd…ussx npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 > Even then, how much behind regular OS updates will the software contained in the image be Standard Docker, basically irrelevant most of the time @npub1trd…ussx npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I mean it's not *that* bad if you have some experience. Then again, that's why VPS providers exist. Most of my experience is in self-hostable though, I'm not one to trust data like my finances to some other company or provider that could go bankrupt overnight (ironic I know) npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I wonder if anything in the awesome selfhosted list works? I assume you already checked though. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 Like 99% of that could be Firefly III (https://www.firefly-iii.org), self-hosted, web-based, complete with mobile app on F-Droid, just no auto reconcilliation and check printing. Let me poke around. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 8 hours left. 6 of those are going to be sleep. Let's see if I've retained everything npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I'm already routinely getting 47/50. Exam in 23 hours. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 No, I requested it literally the day I got my Tech license. That's why I want to do this, because that means I'll have Extra within 18 days of getting Tech. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I did/will do each one at a time, Tech two weeks ago, General a week ago, Extra next Monday... Meaning I've only had like a week of study time for each Kinda hoping I'll get Extra before the FCC even officially activates my vanity call, hah. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I mean you may be correct here. But my initial assertion of "it's digital lol" seems to be provable on paper the more I think about it. I don't know if this conversation is proof that I need to get my extra or proof that I need to be barred from ever taking that exam 😆 npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 I was thinking you'd need either quaternary, or pairing up bits to symbols, but no. The carrier is a binary on or off. We don't care about it's level. We care solely about it's timing. Therefore the only information you need is "was the carrier present at this time" because if you have enough timing samples you can decode the pattern. So no it could be a flat bitstream. You sample at a constant rate, outputting a 1 for carrier presence and 0 for carrier absence. As long as the sending WPM isn't too high for your sample rate, Morse is encodable as a binary stream. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 as a pure bitstream you'd... Wait. As a pure bitstream you just represent carrier presence with the bits sampled at a constant rate. 0000001110000111000011110000000000011111111000111111111001111111110000000000111110000111100001111000000000000 With a little fuzzy logic you could decode that into a symbol stream. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain @npub1l3g…vu48 4 symbols can be represented with just one bit. If you count dit-spacw and dah-space as framing (which they basically are), you can use the timing of NO-CARRIER to differentiate one or the other, meaning they're bitless symbols that only exist in timing information. It's not something you could serialize into a bitstream and write on paper because the timing is important here, whereas for most binary / digital encoding and transfer schemes it isn't besides knowing when to sample for a good read. npub1nray8pxrwrrpv5yljpyjj4r6cmp4pcqwqhrrc7kuw8dtvqdaekrsnezxf2 Teknikal_Domain Morse is just variable length digital using pulse width instead of pulse level to code for logic high or logic low Here, I thought it, you suffer it. CC: @npub1l3g…vu48