edinbruh

joined 2 years ago
 
[โ€“] edinbruh@feddit.it 0 points 3 days ago

Is that the issues your project is solving?

That's exactly it, and also the fact that git doesn't follow symlinks. Just a word of warning, If you are still inexperienced I suggest you run my tool manually instead of automating it with git hooks, as it is inherently less secure. In the post I linked in the description you can see some of the precautions I took to make it more secure. Still, running it manually is fine.

Feel free to give some feedback if you start using the tool ๐Ÿ™‚

[โ€“] edinbruh@feddit.it 0 points 6 days ago* (last edited 6 days ago)

Yes, that was one of the tools I considered before making this. I do not remember the precise detail on why, but much like gnu stow is only good for versioning user dotfiles and not system config. Etckeeper is good for storing either your system config files or user's dotfiles, but not both at the same time. copicat doesn't care what you use it for because you explicitly tell it all the locations and permissions that you want.

[โ€“] edinbruh@feddit.it 0 points 1 week ago

Yeah, it's cool, people are mostly looking for something like your usecase. I got suggested stow or stow-like tools a lot when exploring this. And when they understood what I wanted, they just suggested ansible... Which would work when starting from scratch, but wasn't right for me. I made copicat mostly because I am actually using it, and then decided to make it public because really I didn't find anything like it.

[โ€“] edinbruh@feddit.it 0 points 1 week ago (2 children)

Say you want to store /etc/ufw/sysctl.conf which is owned by root:adm and has permission 644 in your repo, but also /etc/ntfy/server.yml which is owned by ntfy:ntfy with permissions 664. How do you keep track of this with gnu stow?

[โ€“] edinbruh@feddit.it 0 points 1 week ago

That is a good question. I have considered using gnu stow before building this. But there's a couple of problems with that.

Git doesn't follow symlinks, it stores them as links in the repo, so your only option is to keep the files in the repo, and symlink from the config file location to the repo. This is fine for user config files (like from your .config folder), but if you want to keep system config files (like those from /etc) then the git process needs to run as root to modify those files, because symlinked files share permissions and ownership. And even then, git will always create everything as root because it only tracks permission bits, not ownership, so you will need to constantly fix up ownership of your files.

With this tool instead you explicitly tell it the ownership and permission of files, and it takes care of that for you (it still needs root permissions of course).

[โ€“] edinbruh@feddit.it 0 points 2 weeks ago (2 children)

It places you one year ago before they rebranded in rocq (obviously to stop the puns)

[โ€“] edinbruh@feddit.it 2 points 3 weeks ago

Ok, let me be more specific. Of course it delivers the audio, so you can technically say that i "works", that wasn't up to debate, you can deliver anything, actually. The problem is that it will never be viable. You shouldn't abuse the network, as it is a shared channel, when you use 2kbps to send your audio, no one else's can use it for messages, and viceversa, relaying many messages will limit your bandwidth.

You are trying to fit a square peg in a round hole, while instead there are tools designed for this purpose. It's kind of silly developing a roundabout way to send audio through meshtastic while every other amateur radio ecosystem is already designed for audio.

[โ€“] edinbruh@feddit.it 2 points 3 weeks ago (2 children)

There is no way to make this work. As others told you, hex made it bigger, because hex is like equivalent to base16. Every digit in base64 is 6 bit, while in hex it's 4 bit. Raw bytes would be equivalent to base256.

You will not get a good result with this technology, it just can't handle the bandwidth, and will make it worse for everyone else by consuming their shared bandwidth.

Instead, try to look into midi and sound fonts, that might give you a more sustainable solution.

[โ€“] edinbruh@feddit.it 4 points 3 weeks ago (5 children)

Converting binary to base64 makes the data 33% bigger, you should not do that when you have limited bandwidth

[โ€“] edinbruh@feddit.it 1 points 4 weeks ago

The Ali seller in question should be the official seeed store, so I should be fine

 

I'm curious about trying meshtastic, and I was planning to buy the Wio L1 Tracker once aliexpress sales start. Though, I have read that the antenna isn't quite great, so I was thinking about buying a better one. Also, I'm buying the pro one instead of the oled kit because for 15 extra euros I get both the battery and the assembled case.

The meshtastic website recommends the gizont 10dbi whip antenna for 868 mhz (I'm in europe). The problem is that the antenna comes in sma-male or in rp-sma-male, and I have no idea what connector the tracker has. I know I could just buy an extra ipex connector, but I'd rather keep the original one, rather than spending extra money, considering I'm not even sure to catch any node in my area.

Another question I have is if it's reasonable to use a 10dbi antenna or if it's too high gain, as I see people use ~6dbi antennas for base stations. I'm in an urban area most of the times, but I also plan on using it for hiking, a couple of time in the summer. I know nothing about radios, so I have no idea of how impactful are these numbers.