cmeerw

joined 1 year ago
[–] cmeerw@programming.dev 14 points 2 months ago

at least you could keep their reviews so users could at least know if the app can be trusted.

You mean, don't trust a flatpak uploaded by a random person, but if there are enough fake reviews, it can be trusted?

 

Anyone else noticing all those broken icons/images on this instance?

e.g. https://programming.dev/pictrs/image/1e947440-0f0d-4768-ba4b-1480551e7cc9.png?format=webp&thumbnail=96 seems to result in something like "Request error: error sending request for url (http://pictrs:8080/image/process.webp?src=1e947440-0f0d-4768-ba4b-1480551e7cc9.png&thumbnail=96): error trying to connect: dns error: failed to lookup address information: Name or service not known"

[–] cmeerw@programming.dev 7 points 8 months ago

Also the location of known Wifi networks.

[–] cmeerw@programming.dev 10 points 9 months ago

Embracing the GC

I never actually liked the GC in D as it didn't seem to fit in with the general direction of the language, and Walter Bright in D at 20: Hits and Misses says:

Miss: Emphasis on GC

[–] cmeerw@programming.dev 1 points 9 months ago

There is also lowendspirit, but in both cases you have to be very careful what you buy - not everything that is advertised there will work as advertised or will work long-term

[–] cmeerw@programming.dev 1 points 9 months ago

where they will double your monthly data limit for free when you comment your order number.

where they use you to spam the forum thread (for giving away something rarely anyone has any use for)

[–] cmeerw@programming.dev 4 points 9 months ago (1 children)

So they actually rewrote The Hurd in Rust.

[–] cmeerw@programming.dev 3 points 9 months ago (4 children)

There is no reason to “hate” Ubuntu but there are better choices.

What are those better choices then (for those who currently use the non-LTS Ubuntu releases and don't want to move to rolling releases or LTS-only releases)?

[–] cmeerw@programming.dev 5 points 9 months ago

I still think Ubuntu is the best option (particularly if you want to use the non-LTS releases)

Having said that I do hate snaps and also dislike flatpaks. So what I do is just use the Firefox deb package from the PPA and the chromium package from Linux Mint. Oh, and I have actually replaced ubuntu-advantage-tools with a no-op dummy package.

[–] cmeerw@programming.dev 3 points 9 months ago

Only issue is they’re stored in my server as belonging to the server user (I assume everything in those directories should belong to root and I can just use chown?) But I also don’t know if they retain the same permissions when backed up.

Not everything will be owned by root, and some of the binaries will be setuid or setgid, some might even have extended attributes (e.g. ping will usually have a security.capability attribute). /var will also have a lot of different owners.

[–] cmeerw@programming.dev 0 points 10 months ago

There is also jabberd2 if you are brave enough to use software that's no longer updated.

[–] cmeerw@programming.dev 58 points 10 months ago (5 children)

"secure alternative"? Others are not secure?

[–] cmeerw@programming.dev 13 points 10 months ago

Pretty much anything that's only available via an app store. The difference with web apps is that I can also use them on a laptop/PC and I have a bit more control about tracking (by using ad/tracking blockers).

 

Not sure what others are doing to use Ubuntu (23.04) without snaps, but this is what I am doing:

  • for Firefox I found a guide here
  • for chromium I am actually using the Linux Mint packages (which work absolutely fine), and I have just set up a small repository I can add to apt:
deb [arch=amd64 allow-insecure=yes] http://snapless.cmeerw.net victoria upstream
  • this just syncs from Linux Mint and only republishes chromium in the Packages file (with downloads redirected to a Linux Mint mirror). BTW, I am not signing these...

What are others doing?

 

Just noticed that on my (low-end) laptop I get fairly high CPU usage from the browser tab for https://programming.dev

So thought I look what it's doing via Chromium's DevTools and there is a constant stream of activity. Looking at the websocket messages, it looks like it's syncing all messages from the server (even for communities I am not subscribed to) to my browser tab (probably every time I reload the page?)

Seriously, that can't be how it's supposed to work - and certainly won't scale? What is going on? Any ideas?

Just one random message from the Websocket (and I am certainly not subscribed to "animals"):

{
  "post_view": {
    "post": {
      "id": 85854,
      "name": "Happy sunday from those two sunshines",
      "url": "https://feddit.de/pictrs/image/af5f9c55-a257-46a5-8f5b-01a19b13239f.jpeg",
      "body": "I will try not to overload this community with pictures of the guinea pig gang, but I can't promise anything.",
      "creator_id": 34228,
      "community_id": 350,
      "removed": false,
      "locked": false,
      "published": "2023-06-18T10:36:43.876949",
      "updated": null,
      "deleted": false,
      "nsfw": false,
      "embed_title": null,
      "embed_description": null,
      "embed_video_url": null,
      "thumbnail_url": "https://beehaw.org/pictrs/image/aaaefb47-ab90-418f-814b-c63086b746f8.jpeg",
      "ap_id": "https://feddit.de/post/908703",
      "local": false,
      "language_id": 0,
      "featured_community": false,
      "featured_local": false
    },
    "creator": {
      "id": 34228,
      "name": "November",
      "display_name": null,
      "avatar": "https://feddit.de/pictrs/image/ad41ccb1-9fb7-4615-bea4-9dafa4a3cc20.jpeg",
      "banned": false,
      "published": "2023-06-12T05:45:00.284014",
      "updated": null,
      "actor_id": "https://feddit.de/u/November",
      "bio": null,
      "local": false,
      "banner": null,
      "deleted": false,
      "inbox_url": "https://feddit.de/u/November/inbox",
      "shared_inbox_url": "https://feddit.de/inbox",
      "matrix_user_id": null,
      "admin": false,
      "bot_account": false,
      "ban_expires": null,
      "instance_id": 6
    },
    "community": {
      "id": 350,
      "name": "animals",
      "title": "Animals and Pets",
      "description": "Pretty self explanatory. Post animals, post pets, post stuff about animals and pets!\n\n---\n\nThis community's icon was made by Aaron Schneider, under the [CC-BY-NC-SA 4.0 license](https://creativecommons.org/licenses/by-nc-sa/4.0/).",
      "removed": false,
      "published": "2023-06-06T23:15:43.737680",
      "updated": "2023-06-16T19:33:12.626731",
      "deleted": false,
      "nsfw": false,
      "actor_id": "https://beehaw.org/c/animals",
      "local": false,
      "icon": "https://beehaw.org/pictrs/image/fc62ef62-657e-4ab8-ae33-b32cc20e4dc0.png",
      "banner": null,
      "hidden": false,
      "posting_restricted_to_mods": false,
      "instance_id": 5
    },
    "creator_banned_from_community": false,
    "counts": {
      "id": 30595,
      "post_id": 85854,
      "comments": 13,
      "score": 64,
      "upvotes": 64,
      "downvotes": 0,
      "published": "2023-06-18T10:36:43.876949",
      "newest_comment_time_necro": "2023-06-18T23:01:59.286120",
      "newest_comment_time": "2023-06-18T23:01:59.286120",
      "featured_community": false,
      "featured_local": false,
      "hot_rank": 34,
      "hot_rank_active": 80
    },
    "subscribed": "NotSubscribed",
    "saved": false,
    "read": false,
    "creator_blocked": false,
    "my_vote": null,
    "unread_comments": 13
  }
}
view more: next ›