Live data from Hacker News

Transmission v4.0

github.com

51–60 of 175 posts

Re: Transmission v4.0

#51
post #4

> The entire codebase has been migrated from C to C++. In the process, we've removed thousands of lines of custom code and used standard C++ tools instead. The core's code has shrunk by 18%. The core codebase has been extensively refactored to be more testable and maintainable. I love negative-LOC commits! They warm my heart. As do the people who take the time to make them.

> I love negative-LOC commits! They warm my heart. As do the people who take the time to make them. Agreed, but only if there's adequate test coverage and it's pretty clear how everything should work. Otherwise it's a very stressful experience, working with a seemingly brittle and puzzling codebase.

Brittleness isn't really a property of having tests IMO, more about designing it to reduce unexpected dependencies and interaction-at-a-distance between components. (Part of it is also understanding how the system works. If you are new to a code base, virtually all dependencies are unexpected)

Tests can help reveal when those types of dependencies break, but even so, I would argue that is brittle code held together with cling wrap. The fundamental problem is still there.

Re: Transmission v4.0

#52
post #12

Earlier quoted context omitted.

I use torrents heavily despite subscribing to 4 different streaming services because I live in Canada and we don't yet have Hulu or HBO Max. Plus I also like watching some older movies via 2160p bluray rips and torrents are just the easiest option to do so. That plus it has everything. I use Transmission for torrents and then https://airflow.app/ to cast movies from my Macbook to my Firestick/Chromecast, which I find…

If you want quicker speeds, look into usenet. Have to pay for a decent news hosting and indexer, but after some tweaking you can download new releases so much quicker without worrying about vpns and ratios. At this point I have Plex and Overseer hooked up to Prowlarr, Sonarr, Lidarr and Radarr, with Prowlarr connected to my nzb client and server (it was easy to cut over from transmission, using the secure ports to ta…

Which indexers do you use?

Re: Transmission v4.0

#53
post #33

Earlier quoted context omitted.

If you want quicker speeds, look into usenet. Have to pay for a decent news hosting and indexer, but after some tweaking you can download new releases so much quicker without worrying about vpns and ratios. At this point I have Plex and Overseer hooked up to Prowlarr, Sonarr, Lidarr and Radarr, with Prowlarr connected to my nzb client and server (it was easy to cut over from transmission, using the secure ports to ta…

I don't think I've ever found torrent download speed a limiting problem. I've much more often had problems finding peers to enable downloading 100% of the file at all, because most of what I download is stuff that's old enough (in time since the torrent was created) that mostly the torrent isn't being actively seeded any more. How long do files generally "stick around" on Usenet?

Theoretically, for ever.

In practice most servers offer over 2000 or 3000 days of retention (and growing). It used to be a problem many years ago because shortage wasn’t as cheap as now, but it feels like Usenet will also keep things forever now.

Re: Transmission v4.0

#54

Earlier quoted context omitted.

If you want quicker speeds, look into usenet. Have to pay for a decent news hosting and indexer, but after some tweaking you can download new releases so much quicker without worrying about vpns and ratios. At this point I have Plex and Overseer hooked up to Prowlarr, Sonarr, Lidarr and Radarr, with Prowlarr connected to my nzb client and server (it was easy to cut over from transmission, using the secure ports to ta…

is there something for books and audiobooks in particular? i am hoping for a audible-like experience which can easily be created using booksonic and other servers but the retrieval part is the most troublesome imo. movies and tv shows have the best experience

There is: https://lazylibrarian.gitlab.io/

Libgen has almost everything I need and when it doesn’t I can usually find it in #bookz on undernet. If all else fails, bookfinder.com usually knows about used copies. I don’t have the luxury of an English speaking public library where I live.

Re: Transmission v4.0

#56
post #8

I don't remember why or how I ever picked up uTorrent, but that's the client I've always used. Thinking about torrenting just now, I realize I used to download torrents much more often than I do these days. I guess that's due to greater availability of video content on the streaming platforms and music on Spotify, etc.? What else do people use torrents for from a consumer perspective? Is there a wider everyday use ca…

Well, it can be used to transfer any large files amongst a bunch of people. I like the protocol in theory. If n people want the same resource, it seems better if they get that in a sort of distributed way rather than all of them connecting to a central server to get that resource. Can be useful if you're on a slow network. I wonder if existing routers along the way make this efficient regardless. Some Linux distros n…

Torrenting is not banned in Germany. You are just easily sued if you distribute copyrighted material. Not just isp warnings and the like

Re: Transmission v4.0

#57
post #39

Earlier quoted context omitted.

At a glance, it seems like a issue Apple needs to fix. What could the developers do to fix it here?

It's not Apple's issue to fix, I don't know what that person is talking about. On macOS the scroll bar is hidden and only shown when you scroll, over the window's content and gets wider if you mouse over it. It has worked this way since 2011 and it's not going to change. There's a setting to disable it system-wide but 1) I'm not going to enable something that permanently takes away 1% of my screen space systemwide ju…

It seems one of the "Collaborators" already replied to that with the following:

> If we move the buttons away, then it will negatively impact the UI for the users in Automatic (depending on their mouse) or Always configuration.

https://github.com/transmission/transmission/issues/261#issu...

If you think you have a solution ("move the buttons anyways"), maybe reply in the issue and help solve a problem for FOSS that seems to annoy some of you.

Edit: for even more context, it seems they did try to solve it but didn't reach optimal solution for it: https://github.com/transmission/transmission/pull/1

Re: Transmission v4.0

#58

Earlier quoted context omitted.

> I love negative-LOC commits! They warm my heart. As do the people who take the time to make them. Agreed, but only if there's adequate test coverage and it's pretty clear how everything should work. Otherwise it's a very stressful experience, working with a seemingly brittle and puzzling codebase.

Brittleness isn't really a property of having tests IMO, more about designing it to reduce unexpected dependencies and interaction-at-a-distance between components. (Part of it is also understanding how the system works. If you are new to a code base, virtually all dependencies are unexpected) Tests can help reveal when those types of dependencies break, but even so, I would argue that is brittle code held together w…

> Tests can help reveal when those types of dependencies break, but even so, I would argue that is brittle code held together with cling wrap. The fundamental problem is still there.

Sure, however tests failing after refactoring or removing seemingly unused bits of code will be a great way to figure out when one's assumptions about how everything works are mistaken, or to discover bits of code that one wasn't even aware of.

Along the lines of: "Oh hey, our tests caught that removing this seemingly unused dependency from pom.xml will break PDF export logic, because for some reason it loads classes dynamically and needs that package" or maybe "The tests revealed that our latest refactoring breaks JSON serialization of dates, because while we should be able to use these annotations for our Dtos properly, the underlying framework gets confused because of our serialization library."

The worst cases are where you don't have the tests and things break in ways that might not be immediately obvious. Such codebases will make any attempts at refactoring unsafe and inherently stressful, that's what I meant with brittle - you'll never be able to change anything whilst having confidence that things won't break all over the place.

Re: Transmission v4.0

#59

Why not rewritten in rust? (someone had to do this)

Rust evangelist strikeforce strikes again...

No seriously, I am a rustacean too, but please stop telling everyone to Rewrite everything in Rust (even if its only a joke), its becoming slightly annoying

Re: Transmission v4.0

#60

Earlier quoted context omitted.

At a glance, it seems like a issue Apple needs to fix. What could the developers do to fix it here?

Put some padding on the UI. I had a quick look and I couldn’t find any app that had UI in the space the scroll bar shows in. Apple is clearly never changing this as they and every other app developer puts a 10px padding in and it looks better while not having a scroll bar obscure anything.

> Put some padding on the UI. I had a quick look and I couldn’t find any app that had UI in the space the scroll bar shows in.

What about Xcode? According to the PR where they tried to solve it (https://github.com/transmission/transmission/pull/1), it seems it suffers from the same problem.

Post reply on HN