*Permananently Deleted*
trash

Permananently Deleted

I love how direct and non-patronizing this is. I wouldn’t be surprised if a corporate platform in the same situation just said “Oh no! We had an oopsie :(” or something like that.

Yeah the slow changing of errors and actual information on how things went wrong turning into “uh oh the magic hamsters stopped rolling their wheels” is frustrating.

“Error 404? Too technical. Try something like ‘Oopsie-woopsie! We had a fucky-wucky :(’”

Ephera
84M

Well, you reminded me of this, so you all have to suffer with me:

This is in fact what I was referencing, lmao

@AgreeableLandscape
admin
8
edit-2
4M

I hate the ones that try to error codes poetic or inspiring or something.

If your website errors, chances are I’m at least a little frustrated and in no mood for some quote a motivational speaker wrote. Tell me the error code, describe the error if you want, just keep it professional.

@AgreeableLandscape
admin
7
edit-2
4M

“Are you blocking our malware infested cryptomining ads?! YOU’RE STEALING FOOD RIGHT OUT OF OUR MOUTHS!!!”

poVoq
84M

Is there a browser add-on that automatically whitelists (or what ever the current en vogue term for that is) javascript from FOSS code running websites by comparing the JS files to a hash or something like that?

CodingOtaku
84M

Not perfect, hogs a little too much memory for comfort, sometimes doesn’t even work on the FSF members forum, but LibreJS is what you are looking for.

ooo this is exactly what I’ve been wanting

poVoq
1
edit-2
4M

Yes, I am somewhat aware of this… but I think this needs support on the side of the website code itself, right? I was rather thinking about a pure client-side option. Edit: ok the white listing works client side only, but some sort of automated hash based system that I could install on the browser of my hypothetical grandmother would still be great to have.

that I could install on the browser of my hypothetical grandmother would still be great to have

Just use a decent ad-blocker for that, uBlock origin is the best. Blocking everything by default will just make your grandma confused

CodingOtaku
14M

Or you could just whitelist these sites manually in NoScript.

ufra
24M

libre js is along those lines but I found it very hard to use https://www.gnu.org/software/librejs/index.html

It should be possible to run uBlock origin in hard mode with a custom dynamic filtering allowlist for trusted sites.

poVoq
24M

Sure, but that wouldn’t work on various instances of Peertube running the same javascript code on different domains.

Every instance would need to be added to the list. I don’t know how you would implement such a list otherwise.

poVoq
14M

Why not hash known javascript files and compare them to those offered by the site? That would even work with CDN sources.

This would mean that you’d have to download every piece of javascript, even the ones you will block, so that would mean that pages where JS is blocked don’t benefit from the speed improvement.

It might work by using etags though. I don’t know if add-ons can have access to etags and use them for that.

poVoq
14M

True, although you would still benefit from the speed improvement of not actually executing the javascript if blocked. I would see this rather as an extension to an existing ad-blocker or something like that, so that most known to be bad javascript gets blocked immediately and only the unknown ones get compared by hash.

Would understand their users better if they made it work without JS though.

Default HTML5 Video player for the win.

@BlackCentipede
5
edit-2
4M

Except they still need to implement peer to peer mechanism for that HTML5 video player somehow. It kind of defeat the purpose of PeerTube if it doesn’t implement that mechanism for peering as a network load balancing for the server. I don’t think it’s quite their goal in mind to have server handle all of the network load which isn’t practical on the cloud computing market today and situation that various ISP imposed bandwidth caps for no reason.

@AgreeableLandscape
admin
8
edit-2
4M

Peertube uses P2P? As in your computer uploads parts of the video to other users as you watch it? Actually didn’t wasn’t aware of that since most P2P software tells you that it uses your device for uploading when you first open it.

I mean, I guess that’s why it’s called Peertube?

Kinetix
12M

I know this comment is a couple of months old now, but just getting caught up on this community today. If you haven’t had a chance, I would recommend having a look at https://joinpeertube.org/ and the section “About peer-to-peer broadcasting and watching”. Heck, maybe all the sections? Peertube has a pile of excellent things going on under the hood.

Ephera
54M

I mean, they do show a little overlay which sort of hints at that:

the sharing system used for this video implies that some technical information about your system (such as a public IP address) can be sent to other peers. More information

It does look like a Cookie banner, so you might’ve overlooked it…

I feel like it should straight up tell you that it’s a file sharing program and what is downloaded to your system will be re uploaded. Like how many BitTorrent clients do. That way there’s no ambiguity.

Yup, pretty much, you can find the information here.

PeerTube also relies on existing open technologies like BitTorrent as a streaming transport layer, making people watching your video able to share it while they watch it (and even beyond that provided they have a WebTorrent-compatible torrent daemon). This has the advantage of lowering the load on the server, making it slightly more scalable.
@Niquarl
24M

You can disable p2p stuff to be fair but it is on by default.

@nutomic
mod
admin
14M

When you watch a video, number of connected peers is shown right below. You can also hover to see the data uploaded and downloaded. If you’re worried about copyright, then use a vpn.

@nutomic
mod
admin
14M

Peertube already serves videos as normal mp4 files that can be played in the browser. Just a noscript frontend doesnt exist. And considering that very few people would use it, bandwidth would likely not be a problem.

I always found that this kind of text would gain to be a little bit nicer…

SnowCode
14M

Sure. But for corporate platform that would be a terrible move. Because that would mean they assume to be unsecure.

Why would they be saying that?

I was proposing a simple landing page, something to give the bots a chew on.

I’m not sure a simple scraper could get much out of this page, and that’s really sad for an open source project…

@Niquarl
14M

Honnestly, if JS is a problem then perhaps PeerTube should make an alternative client.

Very few people would actually use it. IMO it’s not worth the effort, they should focus on quality of life features, so that peertube becomes a very good alternative to other video sharing services.

People that don’t like JS can use a third party client. Maintaining 2 clients is a lot of work, and not really motivating if only 3 people use one of them. Also on peertube the JS actually has a purpose that can’t be replicated with JS (P2P video loading).

An anyway the code is OSS, so there’s not really any risk in enabling JS for peertube.

@Niquarl
13M

I’ve seen found out about SimpleerTube and recommended it in that list you linked so that’s one option without using javascript. Of course, I’m thinking also of the possibility that desktop client could do for P2P sharing too. Apparently, there is a project for a Linux client so that’s cool. I don’t have a problem about JS personally and yeah it’s OSS so if somebody wants it maybe they could do something (I’d be up to donate a small amount maybe too). Perhaps Framasoft’s PeerTube team could help boost third party clients in their next fundraiser too? Maybe give a percentage of funds to selected projects but that is of course more work and I’m not sure Framasoft would want to do that either way. They could also just do a series of blogpost and emails about those clients with a message on how to support them (both code contributions, reporting bugs, feature request and donations).

SimpleerTube kinda sucks in terms of UI. If I want to browse peertube without JS I’m more likely to use a desktop client like peertube-viewer or cuttlefish, which are a lot lighter than a web browser, even without JS, and much better looking than SimpleerTube (which could look quite good if some work went into its looks IMO).

Ideally there should be a desktop client that is capable of using webtorrent for viewing, then keeping the videos on disk and continuing seeding them. That way, it would make webtorrent much much more useful, because you could start to have a lot more long term seeders. For the moment, webtorrent only makes sense in the livestreams.

@Niquarl
13M

Yes I agree completely with you. I’m looking forward to Cuttlefish as that seems like the direction they are going.

A free software to take back control of your videos

Peertube is an open, federated alternative to Youtube without advertising or tracking. On this site, you can find a good Peertube instance, with good rules, good moderation and most importantly a friendly community.

https://joinpeertube.org/

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 2 users / month
  • 49 users / 6 months
  • 630 subscribers
  • 59 Posts
  • 215 Comments
  • Modlog