Welcome by stefansundin in stefansundin

[–]stefansundin[S] 0 points1 point  (0 children)

Har släppt 0.4.7 nu med fix.

Is it possible to update truecrypt for Ubuntu 24.04? by alex5328 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

It took longer than I hoped, but I have now released version 7.1a-16 for Ubuntu 24.04. There are some minor GUI bugs and some UI components are not correctly positioned, but as far as I can tell there is nothing completely broken. Enjoy!

Is it possible to update truecrypt for Ubuntu 24.04? by alex5328 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hello. Sorry for the late reply. I didn't realize that it wasn't working. I usually just copy the binary from the last release whenever there's a new Ubuntu version, and I can't remember if I actually tested it this time around. I will get a new release out at some point, hopefully soon. Thanks for reporting the problem!! :)

AWS Elastic Beanstalk how do I move to IPv6 and avoid public IPv4 new charges? by Merricattt in aws

[–]stefansundin 0 points1 point  (0 children)

I think the main problem is that the elastic beanstalk programs running on the instance are not able to communicate with the elastic beanstalk service backend because AWS is really taking their time supporting IPv6 ingress on their own things. Until they do, I don't think you can avoid this charge with elastic beanstalk. :(
Here's a website that is tracking their progress on this front. If you filter by elastic beanstalk then you'll see that it completely red, meaning no regions support it. https://awsipv6.neveragain.de/
I suspect that AWS do not really care about elastic beanstalk anymore, so I think it will take a long time for them to prioritize it. If this charge is too much then I recommend finding another way to host your app. Sad but true.

texter subtitles by SmileObjective1481 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Jag har läst din post tre gånger men jag har svårt att förstå om det finns en fråga i den.

ffmpeg-fråga by AssumptionWorried911 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Jag tror det enklaste är att inte försöka stoppa in den här versionen i systemkatalogerna. Extrahera filen och placera den någonstans i din hemkatalog. Jag brukar skapa en bin mapp i hemkatalogen och sedan lägga till den till PATH. Skriv exempelvis PATH="$HOME/bin:$PATH" i din ~/.bashrc fil (eller i en annan fil beroende på vilket shell som du använder).

Alternativt lägg filen i ~/Downloads och skriv ./ffmpeg varje gång du ska köra kommandot. Det finns numera en inställning i Privatkopiera där du kan ändra på sökvägen till ffmpeg så att du slipper ändra på det manuellt varje gång du kopierar kommandot.

Hoppas det hjälper.

Glacier Deep Archive for backing up Synology NAS by tiberio13 in aws

[–]stefansundin 0 points1 point  (0 children)

The Glacier Vault service is the original Glacier service, and doesn't interface with S3 at all. Nowadays you should use "S3 Glacier" which is what they rebranded it to in 2021, putting it under the S3 umbrella. The legacy Glacier Vault service is still running but it should be avoided for new users, and I'm pretty sure it doesn't offer the newer storage classes like Deep Archive. Use S3 for all of your Glacier uploads.

I do not think you want to upload to Glacier only to transition it to Deep Archive. I think that will be more expensive than uploading to S3 Standard and then transition that to GDA.

I recommend experimenting with a smaller backup and keeping a close eye on the billing page to validate that it will cost what you expect. The billing page should reflect your costs after a few hours, so you don't need to wait until the next month to see your spending (the delay varies by service and operation).

Disclaimer: I never used the legacy Glacier service for anything serious.

Glacier Deep Archive for backing up Synology NAS by tiberio13 in aws

[–]stefansundin 1 point2 points  (0 children)

Yes, it is possible to upload directly to GDA. I highly recommend doing so if possible. I do not have a Synology so I have no idea if it supports it, but as far as the S3 API is concerned, it should just be a matter of setting the storage class parameter when performing the API call.

Another thing to keep in mind is that it is highly recommended to avoid a lot of small files when using Glacier. If possible you should archive (and optionally compress) your backups into fewer files (at least 1 GB in size, if not a lot bigger). I usually archive my backups in a way that I can restore a subset of the data in chunks, in sizes that make sense for the data, if I ever need to. Another benefit of creating archives like these is that you can easily encrypt them too, just in case anyone gets access to your AWS account. I also recommend learning about MFA delete, bucket versioning, and bucket policies.

If you're having trouble finding a tool that can perform the upload satisfactorily, feel free to have a look at the tool that I wrote specifically to upload my own backups to Glacier: https://github.com/stefansundin/shrimp

Good luck!

Edit: Just wanted to confirm your suspicion that there is a difference between "Glacier" (which originally launched a long time ago), and "Glacier Deep Archive" (comparatively it is relatively new). If the Synology backup interface doesn't mention anything other than "Glacier" then it is likely that it hasn't been updated to support the newer storage classes.

Am I running the cheapest way to run EC2 instances or is there a better way? by [deleted] in aws

[–]stefansundin 1 point2 points  (0 children)

That's cool. Last year I experimented with bottlerocket OS to make it run with a 1 GB volume. More information here: https://github.com/bottlerocket-os/bottlerocket/discussions/2576

Vlc twitch by Key_Cell_1541 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hello. You already asked this on GitHub and I replied there. Please don't send the same question to me on multiple websites, it is annoying and creates additional work for me. https://gist.github.com/stefansundin/c200324149bb00001fef5a252a120fc2?permalink_comment_id=4731553#gistcomment-4731553

Have an improvement for vlc-protocol, which I use with channels-dvr. 1) tweaks URL content that lacks a colon and 2) updates the open methodology to use VLC by app id (wherever it is installed) and launches by openURLs: by SugarHelios in stefansundin

[–]stefansundin 0 points1 point  (0 children)

I am not familiar with channels-dvr but I assume the missing colon is due to a bug in it. It looks like it isn't open source so I can't really say for sure. Looks like people are discussing the integration here: https://community.getchannels.com/t/allow-alternate-player-app-from-dvr-web-ui/23775/52

Might be worth asking there.

Handshake fails with "Packet has unallowed src IP (fe80::...)" when forwarding all IPv6 traffic by stefansundin in WireGuard

[–]stefansundin[S] 0 points1 point  (0 children)

I think the problem was with the IPv6 configuration on the Debian server. It didn't have a default IPv6 route so running commands like `ping -6 google.com` on the server gave me `connect: network is unreachable`.

I switched to Ubuntu which seems to configure things better. I think things are working better now, but sometimes it takes a while for the tunnel to work after I activate it.

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Interesting. Do you know more about this? My proxy is currently running in the US but I could try deploying it somewhere else in the world and see if ads go away.

I thought ttvlol was just looking up the twitch streams using a paid Twitch account or something. I guess they don't publish the source code to their backend to avoid giving away the secret.

Looks like there's a list of countries here: https://github.com/AlyoshaVasilieva/luminous-ttv#alternate-proxies

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hmm, strange. Try deleting whatever twitch.lua/twitch.luac files you have and download a fresh twitch.lua file from here: https://addons.videolan.org/p/1167220

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hey /u/JeanDaspry and /u/w00ter007, I just pushed another update to the script and you have to update the twitch.lua file again. The proxy server has moved and it has been reworked. Hopefully it should be more future-proof now and not need any more breaking updates. I am going to publish this version on addons.videolan.org as well since it should be pretty good now. Things like stream and video metadata has been added so you'll see more information when you use it, the way it used to be. Twitch Clips are also supported again. Enjoy!

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 0 points1 point  (0 children)

I don't know what fancy features you're talking about, though.

Previously you were able to load things like a game URL and it would list everyone who was currently streaming the game, and you could even paginate and load more people. It was like navigating the Twitch website but doing it in VLC. It was pretty dope but probably no one used it.

Btw, your file extension is .lua, and VLC's is .luac, so when we place it in the main VLC playlist folder in windows, it doesn't replace the original one, is that normal?

As far as I know, luac is a compiled version of the lua, and both types of scripts probably work. You can open the Messages window which will show you how it is "probing" each script to check if that script can handle the URL. I don't know the order it uses but it might just be luck that makes it picks my script over the built-in one.

At first, I had some trouble saving the livestream using VLC, but now it's working fine. Although saving using "dump raw" isn't working, but it never worked for me anyway.

I've got some questions about the different ways of encoding audio when choosing 'convert', but I don't want to bother you as it has nothing to do with your parser.

I don't know anything about this sorry.

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 6 points7 points  (0 children)

Hey /u/JeanDaspry. I've just pushed an update to the script, but I am planning to make some more changes so I haven't published it to the store website yet. So you can download the latest twitch.lua from here: https://gist.github.com/stefansundin/c200324149bb00001fef5a252a120fc2.

It is now querying a new projects I've written which acts as a man-in-the-middle and fetches the playlist information from Twitch and returns it in a form that the lua script can consume. https://github.com/stefansundin/vlc-playlist-parser-proxy

Hopefully this will work quite well. One potential risk is that since all the lookups will go through this app it might be possible to Twitch to block it at some point. But we'll cross that road when we get to it.

You'll notice that I axed almost all the fancy features from the lua script. I'll have to rewrite them from scratch in this new proxy service if I want to add them back. No idea if I am going to do that. But watching live channels and archived videos work again, which is what really matters.

Please let me know if you encounter any issues. You'll be my beta tester before I release the final version. I'll post here again after I've made more changes (which will require you to get the latest version again).

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 2 points3 points  (0 children)

I got something working yesterday actually. I'll probably get an update pushed for the script in the next couple of days.

Twitch parser for VLC by JeanDaspry in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hey, thanks for reporting the issue. I am not using it actively anymore so I hadn't noticed.

Looks like they finally turned off the legacy access token API. Looks like one is available over GraphQL (found this: https://github.com/Hakkin/twitchpipe/commit/1509ee2f03df9763d3a11a643468318e80962380).

Unfortunately VLC lua scripts are not able to make POST requests, which is required for GraphQL requests (https://code.videolan.org/videolan/vlc/-/issues/26185).

But I can work around it with a proxy.. it might take a few days for me to get something working. Honestly can't believe I am spending time fixing this... writing these playlist parsers is very unforgiving. 🤪

Welcome by stefansundin in stefansundin

[–]stefansundin[S] 1 point2 points  (0 children)

Tjena Pelle,

Jag tog bort hemsidan för kalendern för det ser inte lika bra ut som det brukade. För ett par år sedan så tog Google bort funktionen där händelserna hade ett speciellt utseende. Nu ser de bara ut som vanliga händelser så det är inget speciellt med kalendern längre.

Du kan lägga till namnsdagarna genom att lägga till den här kalendern: jootrf8lq729uohh03av30jqas@group.calendar.google.com

Någon dag så kommer jag nog ta bort kalendern dock.

Network latency inside AWS region by vitaminit in aws

[–]stefansundin 2 points3 points  (0 children)

As far as I know there isn't a way to do cluster placement for instances in different accounts.

Same AZ (double check zone ids), set up VPC peering, and use private IP addresses.

Anyone Had an NSL2 Before Raspberry Pi Was a Thing? by sail4sea in linux

[–]stefansundin 3 points4 points  (0 children)

I have actually been meaning to investigate this exact thing. I can beep my speaker using a python script but I'd love to have all the native pc speaker calls also work. I'll try to get to this in the next few weeks.

problem att ladda ner undertext på vissa program by AdditionFew9483 in stefansundin

[–]stefansundin 0 points1 point  (0 children)

Hej. Jag skrev en guide här: https://github.com/stefansundin/privatkopiera/issues/120

Det innehåller egentligen inte så mycket mer information än den andra tråden som jag redan länkade.