Skip to main content


So, I recently switched from an #AMD64 #VPS to an #ARM one, and I'm trying to gradually bring all the services I was running back up on the new server. It has generally been pretty easy since most of the actual hosting is being done on a local machine and the VPS is serving as more of a router, but I am having some trouble with my #Owncast server.

I can just reinstall it, but I don't know how to carry over the federation information (and associated keys). I have a backup copy of the owncast directory from the old server, but given that it contains AMD64 binaries, I can't just copy the whole directory and call it a day. Is ther eany way I can copy this data out of the old directory and import it into a fresh installation?

#AskFedi


Celeste Ryder 🐾 🐀🏳️‍🌈 reshared this.


Any #Plan9 gurus on the fedi?

I've managed to break my profile causing me to be unable to connect to my account. It disconnects me upon running the profile script. drawterm -c is not an option because it executes the profile disconnecting me before even running the command. drawterm -G's a no-go as well.

Is there a way I can mount my remote home directory into my local (Debian 12) filesystem so that I can fix the profile without running rcpu?

#AskFedi

Content warning: scary compiler error

You need at least openssl1.1 this seems like you only have 1.0 which has not been supported for 3 years and counting.
@m00dy if you can bring up a plan9 instance in qemu (or other vm) you can import your fs (see 9fs).
@moody That's surprising. Stuff in Debian's repositories is often out of date, but not usually that out of date.
Yeah, something does seem a bit fishy, sorry that it doesn't work out for you. I'll get a debian VM going in a bit and figure out whats up. In terms of booting a 9front VM, you should be able to use the live CD for connecting, you don't need to do a full install first. For what that's worth.

@moody Such is the nature of compiling C code. I really wish it had some sort of automatic dependency management, but what can you expect from a language that old?

When the bootcamp is over, I actually want to get into writing software for Plan9, because despite being very C-centric, it seems a nice system to develop for.

Edit: autocorrupt

This entry was edited (4 months ago)

I figured out the issue, it was somehow related to the ordering of passing the -l flags to cc (ugh!), if you pull the latest code from sr.ht it should build fine on debian stable now. You will need both libssl-dev and pkg-config. I've added debian to the CI builds for this now so this shouldn't slip by again without me noticing. Thanks for the bug report.

Plan 9 C thankfully has none of this insanity, as you've noticed.

@moody So I ran:
./tlsclient -u jlamothe -h 9p.sdf.org -a 9p.sdf.org -p 17019 rm /usr/jlamothe/lib/profile
...but my profile still seems to exist. It's giving me the same error about line 7 when I connect using drawterm.
You need -R to make tlslcient act like rcpu, by default it works closer to tlsclient on 9front. If you choose to just remove the file don't forget to re-run /sys/lib/newuser to generate a new default.

Cool, so now you can do something like:

tlsclient -R -h 9p.sdf.org -a 9p.sdf.org rc -i

Then edit profile with either ed or sam -d.

@moody oh my god, I have a prompt!

Thank you!!

Edit: I was clearly too happy here to be bothered with proper spelling.

This entry was edited (4 months ago)


Can anyone recommend a #VNC server for #Windows? The one that keeps coming up is RealVNC, but it seems to force you to create an account and run everything through their servers. I don't want any of that garbage, especially since VNC is not an encrypted protocol, and could easily be eavesdropped upon and/or MitM'd.

This is to do remote tech support on my father's PC. I've already got him on my private VPN, so there's no need to worry about dynamic IP or NAT issues. I thought about Windows' native Remote Desktop software, but in Microsoft's infinite wisdom that's not available on his particular version of Windows.

#AskFedi

we use Tightvnc which is completely standalone.

You absolutely need to put a VPN in front of it though; don't just open it to the interwebs.

I'm not sure about windows. I use Spice to access the VM's on my servers.

https://pve.proxmox.com/wiki/SPICE



Does anyone happen to know if there's a way to configure a #WireGuard #VPN to only handle #UDP traffic, leaving #TCP traffic to run over the regular network?
#AskFedi
ok. thank you for answering 😀
@♻ Citoyen Candide ☮ FWIW, this post more or less describes what the problem was. I ended up just upgrading the VPS and running it on the VPS itself as I did originally.

🇺🇦 haxadecimal reshared this.


Dear #LazyWeb:

Is there a tool that I can use in a #bash script to sanitize a string for inclusion into a URL parameter (e.g.: "foo bar" becomes "foo+bar" or "foo%20bar")?

#AskFedi

Sasha reshared this.

perl -MURI::Encode=uri_encode -E'say uri_encode shift' 'foo bar'
This entry was edited (6 months ago)
I ended up just doing it in Python.


Does there exist a #FOSS tool that allows me to analyze the dominant frequencies in a portion of an #audio file and to apply a filter to remove all but a specific frequency? #AskFedi

rwbaskette reshared this.

Depending on how automated you want this to be, sox may be useful - it can certainly do the filtering, and can at least generate a spectrogram from which you can decide where to filter.

Csound can do this sort of thing more capably but using it will involve coding to define exactly what you mean.

@Matthew Skala It doesn't need to be super automated. Doing things manually is fine.
@Matthew Skala The application here, FWIW, is to extract Morse code from an audio file, because I'm not good at Morse code, and can decode it more easily visually than by sound.
https://www.sonicvisualiser.org/ is pretty powerful and might do the job.
Sonic Visualizer screenshot.

Jeff MacKinnon reshared this.


This is extremely frustrating.

I host a piece of software on my server for my father. He connects to it via #SSH (using #PuTTY ). He just got a new computer, and wanted me to set it up so that he could connect, just like I did with his previous computer. No problem right?

I show up, generate the key, and authorize it on the server, but for whatever reason PuTTY refuses to acknowledge the existence of this key. I know it's not even trying, because it doesn't even ask for the passphrase to decrypt it.

Has something changed in the latest version of PuTTY that I just don't know about? Do I need to do something the enable public key authentication beyond simply specifying the path to the key?

#AskFedi

Oh Glad you figured it out. Your initial thoughts and frustrations seems pretty normal. What won the day was your persistent to search several paths -- run PuTTY via Wine -- goodness. Hope your dad was pleased. Cheers, -Randy

Justin To #НетВойне reshared this.


Hey fedi,

Does anyone know how I can subscribe to a #kbin magazine from a non-kbin fedi account? I assume there is some way to do this.

#AskFedi

SparkIT reshared this.

Hi there! @science - that handle should work. Alternatively, try using the search engine at "@science@kbin.social".
@ernest Interestingly enough, it works from Mastodon, but not Friendica. I shall have to inform support.

Coffee (CW all the things) reshared this.


Question for the #AVR crowd of the fediverse: What kind of ISP programmer do y'all recommend (for people using #Linux ) these days? An old tutorial recommended the USBtinyISP, but it appears to be out of stock (and possibly outdated?) everywhere I look. #AskFedi

reshared this

It was also fun to assemble.

@savanni hey, just to mention that you may also build your own #AVR programmer probably even cheaper (but more DIY) with the
#VUSBtiny project:

https://github.com/goncalor/vusbtiny

I've had mine for ~8 years and still use it. You can see it in the background on this post.

https://infosec.exchange/@goncalor/111015206229493477

#electronics


Bob Jonkman reshared this.


To all the #sourdough enthusiasts of the fediverse: I'm working on getting a viable starter going. Can anyone recommend a beginner-friendly bread recipe. Given how much trouble I'm having just with the starter, I probably need something relatively easy.
#AskFedi
I used the instructions from King Arthur Flour. Starter prep took 7 days. Very easy. I've now had the same starter going for two years, replenishing/feeding only every 2-3 weeks (4 weeks max) since I don't bake alot.
https://www.kingarthurbaking.com/recipes/sourdough-starter-recipe
Started a fresh batch with some of the feedback I got. This is roughly 10 hours after the first feeding. This is similar to the result I got on previous attempts, except that it nearly wouldn't rise at all on subsequent feedings.

The recipe called for the second feeding to be 24 hours after the first, and then every 12 hours thereafter.

I'm going to try at the 12 hour mark though, since I think the problem was that it had starved by the 24h mark. I'm also using bread flour this time instead of all purpose. I started with whole wheat, because it's what I had on hand, and my wife might murder me if I tell her I need to get yet another variety of flour. 🙃

Is this common for a first feeding? My apartment tends to be quite warm, FWIW.

#sourdough
photo of a glass jar nearly overflowing with rising sourdough starter; the jar has a hinged lid which is closed but not latched, and covered with plastic wrap
@Jonathan Lamothe well, you need a better jar, but nah, that doesn't seem unreasonable
@silverwizard Yeah, if nothing else, a larger one. This is actually a step up from the one I started with, but I still didn't quite go big enough.
It depends on how lively your starter is and the ambient temperature. If you’re feeding regularly it should be very quick to double, if it’s been more than a few days you might need a couple of feeds before it’s ready to bake with. My starter lives in the fridge, I take it out the night before I plan to bake and feed it. The day of the bake I take out 100g of starter and put the jar of remains back in the fridge where it stays for 3-4 days until my next bake.
Just gave it its second feeding at the 12 hour mark. Guess we'll see of that helps.

Bob Jonkman reshared this.

Well, I'm definitely no longer having issues getting my #sourdough starter to rise. I have invested in a larger jar into which I will transfer it on the next feeding.
photo of a glass jar of sourdough starter significantly overflowing the jar

Bob Jonkman reshared this.

@me comes home after running some errands downtown only to find #Sourdough starter oozing out of all the outwardly burst doors and windows of his home 😆
Very young starters (1/2 weeks old) usually have a crazy activity, but it is driven mostly by bacteria that you don't really want to bake with. With more time, the good yeasts will take over, and that's when it becomes mature (~3 weeks in). So don't be surprised if it slows down in the next couple of weeks, that's normal: it is finding its own healthy and long-term microbial community. You might also notice a change from a sharp sour smell (bacteria) to a smoother yogurty one (yeasts).
I maintain mine in a 500 mL jar (2 cups). During the week, I refresh it every day with a spoonful of the old starter (usually not even a spoonful, just what is left on the sides of the jar), 15 g of flour (about 1/8 cup) and 15 mL of water (about 1/16 cup). The day before a baking day, I use 3 to 4 times that, and this still fits in the 500 mL jar. If I am not baking, I pour the starter into a skillet and I add some raisins: it makes a nice snack and allows to keep my amount of starter low.
I stand corrected. My #sourdough starter was very active for about 24h after the first feeding, but it's gone back to being relatively inert. It's been a week since I started this batch and it's barely rising at all any more.

I've started keeping it in an insulated bag after feeding, but only since the last two feedings. I'm wondering if it's possibly due to the fact that instead of putting it back in the same glass jar, I put it in a freshly washed one after every feeding (because I tend to spill starter all over the jar making a mess of it when I measure it out).

The proportions I'm using to feed it are: 113g of starter, 1 cup of bread flour, 1/2 cup of warm water. I do this every 12 hours (+/-15 minutes or so).

The recipe says it should be good to go after 5 or 6 days, but I've heard of people needing up to three weeks to get a viable starter going.

#AskFedi
I grew 3 or 4 starters from scratch and it always happened exactly like you describe. Keep feeding it regularly and wait, as long as it doesn't grow mold (or gets weird smells or colors) you are good. If by 3 weeks it doesn't at least double in 12 hours, then there is a problem with flour or water. It works in 3 days or 3 wks depending on the flour, the microorganisms that are in it or on your hands, whether there is already a starter living around, etc. I am sure it will work for you too 😀
@Virgile Andreani Good to know. I guess my recipe was just a bit over-prescriptive with the timeline.

Susan ✶✶✶✶ reshared this.


Content warning: PeerTube woes, weighing channel migration options

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.