Better HN
topnewbestaskshowjobs
Log inSign up

dawidpotocki

627 karma · joined Aug 25, 2019 (7y ago) · 89 submissions

Serwus.

https://dawidpotocki.com

Submissions

comment 1mo ago · link · parent

So that will exclude other partitions mounted which is e.g. completely useless on my storage server. This and having to remember to use flags or I could just use `gdu` which just works.

comment 1mo ago · link · parent

That doesn't match my experience. For example, I recently had Meta scrape robots.txt disallowed paths. On some page they claimed they respect it but they don't. And yes, all the IPs they used to connect to me (they used a different /64 network for each connection) were owned by Meta, it was not someone pretending to be them.

Some other reports of this: https://github.com/TecharoHQ/anubis/issues/1565

I ended up just fully closing connections with no response from these assholes on any URL.

comment 1mo ago · link · parent

It's been going for 5 minutes already… I can't be bothered to let it run longer.

Seems to be wasting a lot of time scanning `/run/user/1000/doc` from Flatpak.

comment 1mo ago · link · parent

I have personally moved to gdu (https://github.com/dundee/gdu) as I found it to be way faster than ncdu (I haven't checked the fork but I don't expect it to improve that much).

1 minute vs 1 second for my entire / which includes mounts to NFS shares (used 1.4 TiB on host SSD, 14 TiB on NFS HDDs and 3 TiB on NFS SSD).

comment 3mo ago · link · parent

VueTorrent is a web client.

I currently use the official Web UI in an isolated Chromium instance and made an automatic log in page so that I don't have to type in the password every single time I open it.

I add torrents to the qBittorrent instance using a Firefox addon. It's all a bit jank.

I started some work to make my own qBittorrent client for desktop; I don't care about mobile that much.

comment 3mo ago · link · parent

As someone that only very recently switched to qBittorrent from Transmission after using it for few years - the lack of non-Web UI remote clients.

comment 3mo ago · link · parent

Tesla does have production in Shanghai.

comment 4mo ago · link · parent

Qobuz always shows me the following message after purchasing (downloads are DRM-free FLACs):

> Certain works may be withdrawn from the service for legal reasons, such as a revocation of rights. The titles purchased will then no longer be available for re-download. Download your purchases quickly.

comment 6mo ago · link · parent

I was annoyed one day and was looking online around for some solutions.

You can find a bit more information here: https://stackoverflow.com/questions/71192605/how-do-i-get-yo...

comment 6mo ago · link · parent

I see people are doing scripts or other things to remove shorts from their feeds, but there is a simpler solution.

Take your RSS URL of a channel, e.g.:

https://www.youtube.com/feeds/videos.xml?channel_id=UCxSGC9B...

Replace the `channel_id` with `playlist_id` and replace `UC` with `UULF`. This prefix will only list normal videos:

https://www.youtube.com/feeds/videos.xml?playlist_id=UULFxSG...

comment 1y ago · link · parent

On the "Space" sidebar I used to have a button list rooms outside of any "Space" and a button to list only DMs.

Now I still have the button to list rooms outside of any "Space" but now instead of a DM button I have "Home" which mixes both DMs and rooms outside of any "Space" so I need to click on that and then the "People" filter (which doesn't save so I can't just click it once and be done) to get rid off the rooms that I already have a dedicated button for.

You sure succeeded in removing duplication. Two buttons that did two different things caused so much duplication!

Now I will have to create a "Space" to add those "space-less" rooms so that they don't show up in Home.

Oh and on upgrade I had no button to view DMs at all as I disabled "Home" before but you didn't force re-enable it for people upgrading.

Message search on Element X Android when?

EDIT: Also the filters hide under another button when your sidebar is too small and if you expand it then it can take up even 6 lines.

EDIT: And now also noticed that favourites don't stay at the top, truly useless, thanks.

EDIT: Why is room sorting method global now… I used to have spaces with different sorting… the location of the button to change the sorting hasn't even changed so it still feels like if it was local to the space. Good UX.

EDIT: Since I ended up complaining so much, might as well say that the sidebar having the same colour as the chat panel is pretty ugly and makes the whole application blend in more when the chat should be the main focus. Also expanding the spaces is still terrible as it expands the space part of the sidebar and it is annoying to have to toggle the sidebar back, I don't want the sidebar to take 1/3 of my screen.

comment 1y ago · link · parent

From what I found in UK banks will let 16 year olds to open an account independently.

You could also mail cash (Mullvad), buy a VPN gift card in a physical store or online or get something like a prepaid Visa/Mastercard or a paysafecard.

Even if that is not an option, it's not like age restrictions have prevented everyone underage from alcohol or smoking, people will find a some shady VPN provider or a friend to buy them one.

And also, the transaction can have a very useless business name.

comment 1y ago · link · parent

Samsung also makes sensors for phones. IIRC some Pixels use their sensors.

comment 2y ago · link · parent

Supply prior art to Cloudflare themselves and win money from Project Jengo.

comment 2y ago · link · parent

GPU video encoding is pretty much always optimised for real-time encoding, meaning that it can't run certain optimisations as it would increase the time to encode.

Compare x264 veryfast and veryslow presets. There is a quality difference at the same bitrate.

Additionally, GPU encoders don't have as many psychovisual options as CPU encoders as they would need to be included in the hardware and adding extra options to CPU encoders is much faster, easier and cheaper.

You could build a non-realtime GPU encoder, but there is not much point.

comment 2y ago · link · parent

I wouldn't even call it a fork, it's just a mirror with a commit that replaces few links in a README.

comment 3y ago · link · parent

You can even go to the point store, get a url of the preview, download it from Steam servers, put it in an appropriate Steam subdirectory and set in Steam settings to be the default.

comment 3y ago · link · parent

You can select "Plain SVG" instead of "Inkscape SVG" in the file saving dialogue.

comment 3y ago · link · parent

Just a small note about it: it's not open-source and their excuse is… pretty poor. They don't give you modification rights at all, so you can't even legally contribute to the project.

The platform support is implemented inside "plugins" and they are under AGPL-3.0, so… can you even distribute the application, considering that the licence of the application and plugins seem to be incompatible at my non-lawyer first glance?

Their excuse for their application licence so that they can legally prevent people from uploading ad-infested versions in Google Play and similar platforms under their name… but that's why MPL 2.0 and Apache 2.0 have trademark exclusion clauses.

comment 3y ago · link · parent

On my laptop alone SponsorBlock has skipped 5225 segments, which equals to 1d 20h. That's a lot of time I would waste by watching all of these.

Also, if you are fine with sponsor spots, you probably would have to also be okay with watching ads, so no adblocking either then.

comment 3y ago · link · parent

It's weird for me to see IMAP with STARTTLS on 143 instead of IMAPS on 993. Not sure why anyone would do this.

comment 3y ago · link · parent

Yep, just some CSS.

I have not cleaned it up for release or anything, so it's a bit messy, but feel free to use it under the licence terms of cgit (GPLv2.0-only) and if you don't mind, put an attribution somewhere, like at least at the top of the CSS file.

EDIT: You will also need this in your <head>, otherwise you won't have a mobile-friendly layout:

    <meta name="viewport" content="width=device-width" />
And also a custom pygments config so it uses the correct variables for colours, like this:

    class BiualStyle(Style):
        background_color = "#000000"
        highlight_color = "#222222"
        default_style = "#cccccc"
        styles = {
            Token:                     "var(--code-cyan)",
            Whitespace:                "",
            Comment:                   "var(--code-blue)",
            Comment.Preproc:           "",
            Comment.Special:           "var(--code-red)",
            Comment.Hashbang:          "var(--code-magenta)",
            Keyword:                   "var(--code-yellow)",
            Keyword.Declaration:       "var(--code-green)",
            Keyword.Namespace:         "var(--code-magenta)",
            Keyword.Pseudo:            "",
            Keyword.Type:              "var(--code-magenta)",
            Operator:                  "var(--code-yellow)",
            Operator.Word:             "var(--code-yellow)",
            Name:                      "",
            Name.Class:                "var(--code-cyan)",
            Name.Builtin:              "var(--magenta)",
            Name.Exception:            "var(--code-green)",
            Name.Variable:             "var(--code-cyan)",
            String:                    "var(--code-red)",
            Number:                    "var(--code-magenta)",
            Generic.Heading:           "var(--code-green)",
            Generic.Subheading:        "var(--code-magenta)",
            Generic.Deleted:           "var(--code-red)",
            Generic.Inserted:          "var(--code-green)",
            Generic.Error:             "var(--code-red)",
            Generic.Emph:              "italic",
            Generic.Strong:            "bold",
            Generic.Prompt:            "bold var(--code-blue)",
            Generic.Output:            "var(--code-gray)",
            Generic.Traceback:         "var(--code-blue)",
            Error:                     "border:var(--code-red)"
        }

comment 3y ago · link · parent

Hmm, just checked and it seems that it doesn't work when I'm connecting through some Mullvad VPN exits, but works when I disconnect. Oh well. I assume you have something like fail2ban.

comment 3y ago · link · parent

Seems to be down.

Here is my mirror, it should have all the commits: https://git.dawidpotocki.com/mirror/re3/

comment 3y ago · link · parent

You can't update the firmware at all and you are still running it.

Librem 5 has very dated hardware that barely runs. It has only Cortex A53 cores @ 1.5 GHz that were released in 2012. You will see it even lag in Purism's videos.

Modern Android phones have better OS, hardware security, battery life and will be useful for longer and cheaper.

Librem 5 now costs 1000 USD, the same price that Google Pixel 8 Pro costs which also has guaranteed 7 years of OS support. Will you want to use Librem 5 in 7 years?

Also let's not forget how Purism took forever to ship the devices and was declining refunds from people that didn't even get sent the device and waited way over a year.

Oh and there are Android phones that can run on mainline kernels.

comment 3y ago · link · parent

Because Purism cheated and just moved the blobs into a chip that you can't update and made it go through a separate processor[1]. FSF-endorsement is meaningless. This is worse than having a loadable blob from a kernel.

[1]: https://puri.sm/posts/librem5-solving-the-first-fsf-ryf-hurd...

comment 3y ago · link · parent

YouTube has already implemented Premium-only quality in a form of 1080p Premium, i.e. higher bitrate 1080p. Though they don't seem to be worried that yt-dlp can download it without a subscription. Maybe they will make 2160p option Premium in the future, the backend is ready.

comment 3y ago · link · parent

Personally, my experience with The Register has been nothing but positive.

When all the websites were reporting on my "discovery" of a security issue, The Register has been the first (by over a week) and one of the few to ask me by email about the details and the only to publish article with correct information. I know they weren't rushing to publish it as they were far from the first. Also they have been fast to respond back.

Some other website that I will not name have made a lot of mistakes in their reporting and when asked for fixing, the reporter replied 3 days later and complained that my article has been too complicated! I also have a small suspision that they copy-pasted it from some much smaller website without mentioning it, as that website published earlier than them and had the same exact mistakes, which were very hard to make, unless you decided to skip random paragraphs and stop in the middle.

All the other websites have copied from that one without ever checking the authoritative source that was my article and I know this because I explicitly had put a warning to clarify the misinformation :).

Some other big website emailed me after all the other ones have published and I answered their questions and I even told them to not put X as a title as that's not what the issue is about as I saw others doing that. Guess what? They did that exact title :).

comment 3y ago · link · parent

Apple has always been an asshole when it comes to codec support.

VP9 on Safari? Sure, on desktop. On mobile? Oh yeah, only via WebRTC(why???).

Want to import FLACs into Apple Music? Nope, only inferior ALAC is supported for lossless.

AV1? Only just added to iPhone 15 Pro series (not in 15 cause old SoC) and still not on Macbooks.

HEVC? Oh yeah, of course we use it as HEIC for photos and support HEVC playback in Safari, how could we not?

123