• 1 Post
  • 30 Comments
Joined 1Y ago
cake
Cake day: Jun 25, 2023

help-circle
rss

I’ve used a number of different Linux distros (including Debian) on laptops over the years. Although most recently my XPS 15 was running Arch.


As a compiler developer this speaks to me on a deep level lol


ARM, but Apple has the most advanced ARM chips and macOS /The AS Platform has the best amd64 to arm64 translation layer.


I mean at that point you’re basically running macOS 😉


I couldn’t imagine buying any laptop other than a Mac because the performance to battery life ratio on everything else is awful. Plus if you want a UNIX system, it’s an easy buy.

After owning an Apple ARM laptop I’d never go back to anything else.


Might be worth asking in !selfhosted@lemmy.world


The situation in Niger is directly contrary to US interests given that there are moves towards asking the US to leave alongside the French + the coup government contacted Wagner/is already aligned with Wagner-backed regimes. The US does a lot of fucked up stuff in the world but it would make no sense for them to be involved here.


True, you’re correct. I’m just not sure how you did it without corrupting the sled db. Maybe I’m just unlucky


Interesting, when I tried a while back it broke all images (not visible on the website due to service worker caching but visible if you put any pictrs url into postman or something)


I wrote a patch for Lemmy a week or so ago if you want to skip the caching: https://github.com/LemmyNet/lemmy/pull/3897


I think deleting images from the pictrs storage can corrupt the pictrs sled db so I would not advise it, you should go via the purge endpoint on the pictrs API.


Just a note that my PR there doesn’t disable pictrs for your own instance’s users. It just disables the caching of remote content.


The Lemmy instance I’m speaking from right now is running in my k8s cluster.


I ran this query:

select distinct thumbnail_url as url from post where not local and thumbnail_url like 'https://campfyre.nickwebster.dev/pictrs%'

(replace with your instance’s url)

I then sent delete requests to /internal/purge on pictrs to delete all of those old thumbnails, which cleared out a lot of space. After deleting the thumbnails I ran an UPDATE query to set all of those old thumbnail URLs to null in the DB. I also patched the version of lemmy that I run to stop caching thumbnails in the future. Hope this helps!



WebAssembly is sandboxed and deterministic. Any impure code has to be triggered via message passing with the host language.


I feel like shitty sites getting too good at SEO has largely made google useless. That’s why you had to append “Reddit” to get any useful info that wasn’t from some SEO scamsite.


You don’t need to do anything when you get a security advisory if you’re not impacted or the risk is acceptable. They’re just there to advise you.


Honestly that cake looks really tasty


I think you do if your IDE is doing JSDoc-based autocompletion 😉

It’s just likely built into your IDE.


The IDE support based on JSDoc is typescript (at least it is in all the ones I know about). They’re just using TypeScript’s JSDoc annotation support under the hood.

I’m not sure what you mean about the “heavy JS env” though, it’s just calling tsc in your package.json or whatever build script you’re using (or even if none, it’s one command).



I have a few but my main one is https://nick.geek.nz followed by https://nickwebster.dev which currently just had a redirect, some email stuff, and this Lemmy instance.


You only pull down stuff when a member of your instance subscribes/visits another instance via yours.


Whatever you do, I’d recommend using Typescript to give you some type safety with your JS.


Honestly, the web app (and hopefully Sync when it arrives)


They’ve already made the “new” reddit web view unusable for any sub marked NSFW. I feel sorry for the web devs at Reddit that spent all this time making a responsive site that works on mobile, then to be forced to artificially block access to push app usage.



Wouldn’t it be better if they federated so it doesn’t become a walled garden in there? It means we can stay on our own instances but aren’t cut off from their large userbase.


I think fighting this will be a mistake. Instances ran by the likes of Tumblr and Meta can only bring more people into the fediverse, and when they’re in it will be easier for them to move around.

The great thing about AcitivityPub is it lets the people who want to be in larger more centralised servers connect to those who don’t fairly seamlessly.


Yeah, that’s largely what happened with email too. It’s a decentralised network but most people just pick a big provider and stick with that (which is absolutely fine)