preview
I see Germany have expanded a bit, Iceland have been taken over by Faeroe Islands, Denmark have gotten a bit of Sweden, Bornholm have been moved to Germany, Bornholm island is nameless and Sweden and Norway no longer exist.
I see Germany have expanded a bit, Iceland have been taken over by Faeroe Islands, Denmark have gotten a bit of Sweden, Bornholm have been moved to Germany, Bornholm island is nameless and Sweden and Norway no longer exist.
preview
preview
cross-posted from: startrek.website/post/33927278
Just after unionisation
In response to a question from CBC News, Leduc-Labelle said the restructuring exercise began “well before the start of the unionization process within the studio in June 2025.”
Yeah and my ass is chicken
cross-posted from: startrek.website/post/33927278
Just after unionisation
In response to a question from CBC News, Leduc-Labelle said the restructuring exercise began “well before the start of the unionization process within the studio in June 2025.”
Yeah and my ass is chicken
preview
I honestly thought they were created just to compete with Pokémon
I honestly thought they were created just to compete with Pokémon
preview
Is there any active halifax or Nova Scotia communities on Lemmy? The ones on .ca were made by an account that seems to have ghosted.
Ideally it would be a community that is already moderated, but I’m willing to help moderate if necessary.
Is there any active halifax or Nova Scotia communities on Lemmy? The ones on .ca were made by an account that seems to have ghosted.
Ideally it would be a community that is already moderated, but I’m willing to help moderate if necessary.
preview
Ok. So admitadely the morning show has a regular thing with the weather guy hating everything that are obviously very popular but he through bike lanes in and man. You don’t even joke about that stuff especially in chicago. The bike community and active transit alliance has had to fight hard for our infrastructure and I don’t think he understands the jar of bees he is opening here. Especially given the claps you hear out of camera from the other hosts. Maybe it will fly under the radar but we will see.
Ok. So admitadely the morning show has a regular thing with the weather guy hating everything that are obviously very popular but he through bike lanes in and man. You don’t even joke about that stuff especially in chicago. The bike community and active transit alliance has had to fight hard for our infrastructure and I don’t think he understands the jar of bees he is opening here. Especially given the claps you hear out of camera from the other hosts. Maybe it will fly under the radar but we will see.
preview
cross-posted from: lemmy.blahaj.zone/post/36713454
cross-posted from: lemmy.blahaj.zone/post/36713215
I don’t even know what else to add to this headline. This is so fucked up and tragic scary and infuriating and it will in no way slow the resistance.
cross-posted from: lemmy.blahaj.zone/post/36713454
cross-posted from: lemmy.blahaj.zone/post/36713215
I don’t even know what else to add to this headline. This is so fucked up and tragic scary and infuriating and it will in no way slow the resistance.
preview
cross-posted from: literature.cafe/post/27640124
Linux hardware vendor TUXEDO Computers unveiled today the 10th generation (Gen10) of their TUXEDO InfinityBook Max 16 Linux-powered laptop with newer NVIDIA GPUs, newer Intel CPU, and a new display.
The highlight of the TUXEDO InfinityBook Max 16 Gen10 laptop is the new OLED display, which takes image quality to the next level with brilliant, high-contrast color reproduction, 2560×1600 pixels resolution, 500 nits of brightness, 100% DCI-P3 color gamut, and up to 300Hz refresh rate for high FPS gaming.
cross-posted from: literature.cafe/post/27640124
Linux hardware vendor TUXEDO Computers unveiled today the 10th generation (Gen10) of their TUXEDO InfinityBook Max 16 Linux-powered laptop with newer NVIDIA GPUs, newer Intel CPU, and a new display.
The highlight of the TUXEDO InfinityBook Max 16 Gen10 laptop is the new OLED display, which takes image quality to the next level with brilliant, high-contrast color reproduction, 2560×1600 pixels resolution, 500 nits of brightness, 100% DCI-P3 color gamut, and up to 300Hz refresh rate for high FPS gaming.
preview
When I’m using Android Auto, my phone will intermittently lose cell signal. It doesn’t happen all the time. Sometimes I’ll go weeks or months without it happening, then other times it will happen several times in a single trip.
There have been a couple times when the phone seemed to be acting up before it completely lost the signal. The only way to recover is to restart the phone.
It has never happened when not using Android Auto.
It happens in my current car, a 2022 Honda Ridgeline with wired android auto support. I recently bought a wireless adapter for the car, and it happens with that as well. It also happens when my phone is plugged into our 2020 Honda Civic.
It happened with my previous phones when I was using Android Auto in my 2011 Honda Ridgeline which only had an aftermarket Bluetooth adapter.
Current phone is a Samsung Galaxy S10. Previous phone was an LG Nexus 5x.
It seems that the only common issue is Android Auto.
Has anyone else experienced this?
When I’m using Android Auto, my phone will intermittently lose cell signal. It doesn’t happen all the time. Sometimes I’ll go weeks or months without it happening, then other times it will happen several times in a single trip.
There have been a couple times when the phone seemed to be acting up before it completely lost the signal. The only way to recover is to restart the phone.
It has never happened when not using Android Auto.
It happens in my current car, a 2022 Honda Ridgeline with wired android auto support. I recently bought a wireless adapter for the car, and it happens with that as well. It also happens when my phone is plugged into our 2020 Honda Civic.
It happened with my previous phones when I was using Android Auto in my 2011 Honda Ridgeline which only had an aftermarket Bluetooth adapter.
Current phone is a Samsung Galaxy S10. Previous phone was an LG Nexus 5x.
It seems that the only common issue is Android Auto.
Has anyone else experienced this?
preview
(Late to the party but it’s still a good meme)
(Late to the party but it’s still a good meme)
preview
preview
preview
Feels like contra-luddite propaganda
Feels like contra-luddite propaganda
preview
I already transferred to Qobuz, but feels weird that they threaten people leaving with losing their libraries.
This would suck for people who only wish to temporarily cancel.
I already transferred to Qobuz, but feels weird that they threaten people leaving with losing their libraries.
This would suck for people who only wish to temporarily cancel.
preview
Physiker entdecken völlig neue Form der kollektiven Quantenreaktion
Edelstein als Pulslaser: Bei Experimenten mit einem Diamanten haben Physiker eine neue Form der Superradianz entdeckt – eine neuartige kollektive Quantenreaktion. Denn der schwarze Diamant gab nach Anregung mit Mikrowellen nicht nur ein einmaliges starkes Leuchten ab, sondern erzeugte eine ganze Serie von kohärenten Lichtpulsen – wie ein Mikrowellen-Pulslaser. Dieses überraschende Phänomen passt zu keiner bestehenden Theorie der Superradianz, lässt sich aber durch unerwartete Interaktionen von Fehlstellen im Diamantgitter erklären, wie das Team in „Nature Physics“ berichtet.
Paper: Self-induced superradiant masing | PDF
Physiker entdecken völlig neue Form der kollektiven Quantenreaktion
Edelstein als Pulslaser: Bei Experimenten mit einem Diamanten haben Physiker eine neue Form der Superradianz entdeckt – eine neuartige kollektive Quantenreaktion. Denn der schwarze Diamant gab nach Anregung mit Mikrowellen nicht nur ein einmaliges starkes Leuchten ab, sondern erzeugte eine ganze Serie von kohärenten Lichtpulsen – wie ein Mikrowellen-Pulslaser. Dieses überraschende Phänomen passt zu keiner bestehenden Theorie der Superradianz, lässt sich aber durch unerwartete Interaktionen von Fehlstellen im Diamantgitter erklären, wie das Team in „Nature Physics“ berichtet.
Paper: Self-induced superradiant masing | PDF
preview
I have a repo that I’ve just uploaded to codeberg. In earlier versions, I had a ton of media files - they have now been removed. However, when I uploaded the repo to codeberg, I’m getting this notification:
Your private repo uses up a large amount of disk storage, while all content should ideally be public and licensed under an OSI- or FSF-approved Free Software licence. Please refer to our ToS and the FAQ about software licenses and private repositories. Thank you for considering to release this repo to the public or reducing your required disk space for this repo.
Turns out, my pushed files are 1 MB, but the .git folder is 279 MB - how do I slim it down?
I have a repo that I’ve just uploaded to codeberg. In earlier versions, I had a ton of media files - they have now been removed. However, when I uploaded the repo to codeberg, I’m getting this notification:
Your private repo uses up a large amount of disk storage, while all content should ideally be public and licensed under an OSI- or FSF-approved Free Software licence. Please refer to our ToS and the FAQ about software licenses and private repositories. Thank you for considering to release this repo to the public or reducing your required disk space for this repo.
Turns out, my pushed files are 1 MB, but the .git folder is 279 MB - how do I slim it down?
preview
!hangover!<
!hangover!<
preview
Photos de @Bad@jlai.lu .
Photos de @Bad@jlai.lu .
preview
cross-posted from: lemmy.bestiver.se/post/847006
cross-posted from: lemmy.bestiver.se/post/847006
preview
Last month saw more cleanup and bug fixes for the development version. We also setup nightly builds which are automatically deployed to voyager.lemmy.ml, as detailled in the 0.19.15 announcement post.
This upcoming month we’ll be working on the existing lemmy-ui 1.0 milestone and lemmy 1.0 milestone issues. Our work should be reflected nightly on voyager.lemmy.ml, so we’d much appreciate anyone helping to find bugs and issues
Here are the major changes from December:
- Enable source maps for lemmy-ui to simplify debugging
- Refactor and simplify cursor pagination logic
- Let admins ban deleted accounts
Full list of changes by user
## flamingos-cant - Let admins ban deleted accounts ## AcesFullOfKings - Round vote percentage ## matc-pub - Use serde for rss feed parameters - Autofocus search input fields only once - Host address environment variable change - Run prettier on a few more files - Enable source maps ## dessalines - Adding search term filters for item type. - Allow searching for content in a persons bio. - Fixing Cargo.toml deps. - Fix inconsistent federation tests. - Fixing renovate, changing to weekends. - Fixing incorrect data -> items for person_x_combined. - Fixing PagedResponse ts-rs export. - Upgrade to postgres v18. - Use jauderho prettier image instead of tmknom. - Disable broken arm release builds. - Adding PostCommentCombinedView - Adding API updates to support PagedResponse. - Remove nightly build block for woodpecker - Disable fastlane changelogs. - Use resources.getString instead of ctx.getString or getString - Use jauderho prettier ## Nutomic - Remove renovate - Fix compiler warnings - Merge count endpoints (fixes #6232) - Remove unnecessary db queries for remove_like (fixes #6103) - Separate struct for PublicOAuthProvider - Remove some unnecessary derive macros - Allow users to view their own removed content - Correct version for nightly builds (fixes #6215) - Fix remote follow in case there is a user with the same name (fixes #6206) - Better logging for activity send error (ref #6212) - Remove community visibility check (fixes #6165) - Rename :dev docker tag to :nightly - Rename PagedResponse.data to items - Merge structs for PostCommentCombinedView (fixes #6167) - Avoid specifying crate features multiple times - Enable nightly builds (ref #6163) - Dont use time delay in api tests (fixes #5925) - Changes for plugin api - Refactoring DB cursor code - Increase cache duration for static assets to one year - Fix ARM build by switching to Debian image (fixes #3682) - Merge unread count endpoints - Add OAuth preset for Github (ref #3285) - Display resolved objects at top of search results (fixes #3656) - Rename :dev docker tag to :nightly - Enable nightly builds
Or see the full list of changes at the links below:
An open source project the size of Lemmy needs constant work to manage the project, implement new features and fix bugs. Dessalines and Nutomic work full-time on these tasks and more. As there is no advertising or tracking, all of our work is funded through donations. Even so there is barely enough time in the day, and no time for a second job. The only available option are user donations.
To keep it viable donations need to reach a minimum of 5000€ per month, resulting in a modest salary of 2500€ per developer. If that goal is reached we can stop worrying about money, and fully focus on improving the software for the benefit of all users and instances. We especially rely on recurring donations to secure the long-term development and make Lemmy the best it can be.
Last month saw more cleanup and bug fixes for the development version. We also setup nightly builds which are automatically deployed to voyager.lemmy.ml, as detailled in the 0.19.15 announcement post.
This upcoming month we’ll be working on the existing lemmy-ui 1.0 milestone and lemmy 1.0 milestone issues. Our work should be reflected nightly on voyager.lemmy.ml, so we’d much appreciate anyone helping to find bugs and issues
Here are the major changes from December:
- Enable source maps for lemmy-ui to simplify debugging
- Refactor and simplify cursor pagination logic
- Let admins ban deleted accounts
Full list of changes by user
## flamingos-cant - Let admins ban deleted accounts ## AcesFullOfKings - Round vote percentage ## matc-pub - Use serde for rss feed parameters - Autofocus search input fields only once - Host address environment variable change - Run prettier on a few more files - Enable source maps ## dessalines - Adding search term filters for item type. - Allow searching for content in a persons bio. - Fixing Cargo.toml deps. - Fix inconsistent federation tests. - Fixing renovate, changing to weekends. - Fixing incorrect data -> items for person_x_combined. - Fixing PagedResponse ts-rs export. - Upgrade to postgres v18. - Use jauderho prettier image instead of tmknom. - Disable broken arm release builds. - Adding PostCommentCombinedView - Adding API updates to support PagedResponse. - Remove nightly build block for woodpecker - Disable fastlane changelogs. - Use resources.getString instead of ctx.getString or getString - Use jauderho prettier ## Nutomic - Remove renovate - Fix compiler warnings - Merge count endpoints (fixes #6232) - Remove unnecessary db queries for remove_like (fixes #6103) - Separate struct for PublicOAuthProvider - Remove some unnecessary derive macros - Allow users to view their own removed content - Correct version for nightly builds (fixes #6215) - Fix remote follow in case there is a user with the same name (fixes #6206) - Better logging for activity send error (ref #6212) - Remove community visibility check (fixes #6165) - Rename :dev docker tag to :nightly - Rename PagedResponse.data to items - Merge structs for PostCommentCombinedView (fixes #6167) - Avoid specifying crate features multiple times - Enable nightly builds (ref #6163) - Dont use time delay in api tests (fixes #5925) - Changes for plugin api - Refactoring DB cursor code - Increase cache duration for static assets to one year - Fix ARM build by switching to Debian image (fixes #3682) - Merge unread count endpoints - Add OAuth preset for Github (ref #3285) - Display resolved objects at top of search results (fixes #3656) - Rename :dev docker tag to :nightly - Enable nightly builds
Or see the full list of changes at the links below:
An open source project the size of Lemmy needs constant work to manage the project, implement new features and fix bugs. Dessalines and Nutomic work full-time on these tasks and more. As there is no advertising or tracking, all of our work is funded through donations. Even so there is barely enough time in the day, and no time for a second job. The only available option are user donations.
To keep it viable donations need to reach a minimum of 5000€ per month, resulting in a modest salary of 2500€ per developer. If that goal is reached we can stop worrying about money, and fully focus on improving the software for the benefit of all users and instances. We especially rely on recurring donations to secure the long-term development and make Lemmy the best it can be.
preview
Looking ahead to 2026, one thing the government won’t be doing is appointing a citizens’ assembly to consider changing the voting system to one that’s more proportional. It was a recommendation made in late November by the Special Committee on Democratic and Electoral Reform.
“We had a commitment with the Green Party to establish a parliamentary committee on democracy,” Eby said. “I think there’s lots of issues for us to talk about about how to strengthen our democracy in the province, and the committee certainly did that.”
The Green Party is particularly interested in having another referendum on proportional representation, he said. If one were held, it would be the fourth in 20 years.
“I personally bear the scars of the last round and have absolutely no appetite to go back to voters one more time,” said Eby, adding he told the Green Party they can use the results from the committee to campaign in the next election and win enough support to move it forward. “I understand that that’s what they’re going to try to do.”
The next election is scheduled for 2028.
Looking ahead to 2026, one thing the government won’t be doing is appointing a citizens’ assembly to consider changing the voting system to one that’s more proportional. It was a recommendation made in late November by the Special Committee on Democratic and Electoral Reform.
“We had a commitment with the Green Party to establish a parliamentary committee on democracy,” Eby said. “I think there’s lots of issues for us to talk about about how to strengthen our democracy in the province, and the committee certainly did that.”
The Green Party is particularly interested in having another referendum on proportional representation, he said. If one were held, it would be the fourth in 20 years.
“I personally bear the scars of the last round and have absolutely no appetite to go back to voters one more time,” said Eby, adding he told the Green Party they can use the results from the committee to campaign in the next election and win enough support to move it forward. “I understand that that’s what they’re going to try to do.”
The next election is scheduled for 2028.
preview
I had this cute piece for 4 years, I left it outside in the cold more than once and learned my lesson the hard way, “if you’re cold they’re cold bring them inside”. I haven’t had the energy to clean it up lol its been 3 weeks
I had this cute piece for 4 years, I left it outside in the cold more than once and learned my lesson the hard way, “if you’re cold they’re cold bring them inside”. I haven’t had the energy to clean it up lol its been 3 weeks
preview
cross-posted from: feddit.uk/post/42270310
A council in Derbyshire is pursuing plans to reintroduce beavers in a bid to boost biodiversity.
Erewash Borough Council’s draft biodiversity strategy could see the Eurasian beaver find a new home in the Erewash Valley.
The move follows work by Derbyshire Wildlife Trust to breed a beaver population at Willington Wetlands nature reserve in 2021, which brought the species back to the county for the first time in 800 years.
cross-posted from: feddit.uk/post/42270310
A council in Derbyshire is pursuing plans to reintroduce beavers in a bid to boost biodiversity.
Erewash Borough Council’s draft biodiversity strategy could see the Eurasian beaver find a new home in the Erewash Valley.
The move follows work by Derbyshire Wildlife Trust to breed a beaver population at Willington Wetlands nature reserve in 2021, which brought the species back to the county for the first time in 800 years.
preview
… um … is that big donate to lemmy banner going to stay on the home page?
If so, I’ll build a ublock rule for it. No big deal. Just trying to figure out whats going on.
I absolutely think its a good idea to donate to lemmy dev, but I don’t want to see the huge banner every time I refresh.
… um … is that big donate to lemmy banner going to stay on the home page?
If so, I’ll build a ublock rule for it. No big deal. Just trying to figure out whats going on.
I absolutely think its a good idea to donate to lemmy dev, but I don’t want to see the huge banner every time I refresh.
preview
Link to Pips: www.nytimes.com/games/pips
Share your result below!
Link to Pips: www.nytimes.com/games/pips
Share your result below!
preview
Interesting choices…
Interesting choices…
preview
Piefed is starting to look more attractive in comparison with lemmy. While it’s missing some features I’d like, it’s also got a lot of new stuff that lemmy doesn’t have, and it’s progressing a lot faster. I know several major lemmy instances have set up a piefed as well, do we have any plans to do so?
Piefed is starting to look more attractive in comparison with lemmy. While it’s missing some features I’d like, it’s also got a lot of new stuff that lemmy doesn’t have, and it’s progressing a lot faster. I know several major lemmy instances have set up a piefed as well, do we have any plans to do so?
preview
Hey all! You asked for it, so here it is. I’ma drop a diagram here and will refer to it throughout the rest of this post:

Our infrastructure
In simple terms, the way it all works is we have our protected servers in the backend.
PERSISTENCE
We run our postgres database defensively with 3 dedicated (metal) servers, the main servers each have 2× 1.92TB enterprise-grade NVMe drives mirrored (RAID-1).
We use patroni + percona postgres to manage the cluster. Each instance has a software watchdog to trip-wire a failure.
Scripts automate promotion to make sure under normal circumstances (healthy cluster) that the main server, our big EPYC 7401P 128GiB DDR4(ECC) i350 NIC is the primary.
We have a second server which is a less-powerful i9-12900K 128Gib DDR4(non-ECC) i219v NIC that acts as a read-only secondary, and gets promoted to primary on failover.
Then there’s the little server that replicates for backups and potential dual-failure disaster scenarios, a meager Ryzen 7 3700X 64GiB DDR4(ECC) i210 NIC and it has 2× 8TB enterprise-grade spinny disks striped (RAID-0), to keep the DB and backups safe.
It will become primary if the other 2 servers cannot.
The database servers are not connected to directly by any of our services, there’s instead a load balancer in front which targets the 3× server’s HAProxy instances that have one port directed at the current primary and another port for the current secondary.
This database infrastructure is the biggest, costliest and most engineered part of our setup (which is very frugal for what it is). It’s taken me through a near catastrauphic situation (double server failure). You can ask Ada… I was freaking the fuck out.
Additionally we have a single Redis instance which runs on a quad CPU ARM (Ampere) 8GiB RAM 80GB SSD.
- Primary server: €83.70/m
- Secondary server: €61.70/m
- Backup server: €40.70/m
- Load balancer: €5.39/m
- Redis: €6.49/m
- Total: €197.98/m (AUD ~$350) for the persistence layer.
APPLICATION
We then have a prometheus/grafana monitoring box at another €6.49/m.
Then we have the services which run just like everyone else on various pieces of hardware, in docker containers for most, but some run standalone on their own hosts. Sharkey €24.49, Lemmy €12.49/m, Synapse €12.49/m, everything else smaller (pyfedi, pixelfed, friendica, photon frontend, various different static frontends, Ada’s latest project of the week) runs on a single dedicated docker host costing €38.70/m.
That brings us to another €101.15/m for the application layer.
EDGE
Then under that we now have the edge nodes, which are completely standalone and do not have internal VPCs etc, it’s TLS in, TLS out for these machines.
Each node is generally around 2× vCPU 1GB RAM 25GB SSD 2TB bandwidth for around €6/m. We have 4, so that’s around €24/m all up.
End user flow
So when you vist the site, you will first typically hit our DNS server. Our DNS server uses the requesting IP, or EDNS client subnet provided to work out which healthy node is closest to your region, and gives you back that IP address.
Side note: It’s important to realise that up until this point, what domain you requested is known to yourself and the DNS provider you used. If you care about privacy, you should install a pihole (you can install it in a docker container, you don’t need a raspberry pi), and set it’s upstream DNS to Quad9 with ECS and DNSSEC enabled (or if you’re really adventurous, install your own unbound server and bypass intermediaries completely).
We run a dual-stack IPv4/IPv6 network all the way through so if you’re on IPv6, you’ll get our v6 IPs, and hopefully enjoy a less NATted, wider MTU’d, packet un-fragmented journey through the internet.
Once you have the IP address from the DNS server, you will connect to the caching caddy server on the closest healthy node to your geographical location and it will terminate your TLS session, decrypting your request.
At this point we’ll see if we have the asset to the request you made cached locally, if so we can send it straight back to you, super quickly!
If not then it will connect to the upstream server in our core location over a (presumably) much larger, less latent and more resilient trunk pipe than most consumer-grade bandwidth will provide. (Unless you run your own redundant-path dark fibre into your house, which I’m not discounting entirely… I know people.)
The returned response will then be evaluated for cacheability and sent back to you.
The build
We wanted to make sure that if one of these endpoints degrade / get attacked / shut down / die, that we can spin up a new one really quick. So the deployment and configuration is completely managed by an Ansible configuration. The deployment of a single node or even a complete replacement of all nodes takes about 10 minutes.
Our nodes run 2 pieces of third party software, and a few scripts to manage things.
DNS
For the DNS resolution we run gdnsd with 2 plugins, http_status and geoip.
The http_status plugin monitors the health of the other nodes to make sure it’s not sending people to nodes that don’t respond.
The geoip plugin uses the requesting IP to determine what region/country you’re from, and select a priority list of nodes closes to that region. The first healthy node in that list is the node that’s selected.
CACHING REVERSE-PROXY
For the web-serving component, we run a custom xcaddy compiled caddy server with a few modules included: cache-handler, otter storage, coraza WAF, ratelimit, layer4, maxmind and crowdsec.
At the moment only the first 3 are in use, but the other 4 are included in case we need to mitigate attacks or other edge cases in the future.
And that’s pretty much it!
If anyone wants any help with setting up their own version of this, or needs more details, let me know. I’d be happy to help.
If a lot of people are interested (which I doubt at this stage, but who knows?) I’d even be willing to create a project or make it dockerisable etc, but I suspect that it’s something that most people would just use Cloudflare et. al. for, if the privacy aspect wasn’t such a concern.
Hey all! You asked for it, so here it is. I’ma drop a diagram here and will refer to it throughout the rest of this post:

Our infrastructure
In simple terms, the way it all works is we have our protected servers in the backend.
PERSISTENCE
We run our postgres database defensively with 3 dedicated (metal) servers, the main servers each have 2× 1.92TB enterprise-grade NVMe drives mirrored (RAID-1).
We use patroni + percona postgres to manage the cluster. Each instance has a software watchdog to trip-wire a failure.
Scripts automate promotion to make sure under normal circumstances (healthy cluster) that the main server, our big EPYC 7401P 128GiB DDR4(ECC) i350 NIC is the primary.
We have a second server which is a less-powerful i9-12900K 128Gib DDR4(non-ECC) i219v NIC that acts as a read-only secondary, and gets promoted to primary on failover.
Then there’s the little server that replicates for backups and potential dual-failure disaster scenarios, a meager Ryzen 7 3700X 64GiB DDR4(ECC) i210 NIC and it has 2× 8TB enterprise-grade spinny disks striped (RAID-0), to keep the DB and backups safe.
It will become primary if the other 2 servers cannot.
The database servers are not connected to directly by any of our services, there’s instead a load balancer in front which targets the 3× server’s HAProxy instances that have one port directed at the current primary and another port for the current secondary.
This database infrastructure is the biggest, costliest and most engineered part of our setup (which is very frugal for what it is). It’s taken me through a near catastrauphic situation (double server failure). You can ask Ada… I was freaking the fuck out.
Additionally we have a single Redis instance which runs on a quad CPU ARM (Ampere) 8GiB RAM 80GB SSD.
- Primary server: €83.70/m
- Secondary server: €61.70/m
- Backup server: €40.70/m
- Load balancer: €5.39/m
- Redis: €6.49/m
- Total: €197.98/m (AUD ~$350) for the persistence layer.
APPLICATION
We then have a prometheus/grafana monitoring box at another €6.49/m.
Then we have the services which run just like everyone else on various pieces of hardware, in docker containers for most, but some run standalone on their own hosts. Sharkey €24.49, Lemmy €12.49/m, Synapse €12.49/m, everything else smaller (pyfedi, pixelfed, friendica, photon frontend, various different static frontends, Ada’s latest project of the week) runs on a single dedicated docker host costing €38.70/m.
That brings us to another €101.15/m for the application layer.
EDGE
Then under that we now have the edge nodes, which are completely standalone and do not have internal VPCs etc, it’s TLS in, TLS out for these machines.
Each node is generally around 2× vCPU 1GB RAM 25GB SSD 2TB bandwidth for around €6/m. We have 4, so that’s around €24/m all up.
End user flow
So when you vist the site, you will first typically hit our DNS server. Our DNS server uses the requesting IP, or EDNS client subnet provided to work out which healthy node is closest to your region, and gives you back that IP address.
Side note: It’s important to realise that up until this point, what domain you requested is known to yourself and the DNS provider you used. If you care about privacy, you should install a pihole (you can install it in a docker container, you don’t need a raspberry pi), and set it’s upstream DNS to Quad9 with ECS and DNSSEC enabled (or if you’re really adventurous, install your own unbound server and bypass intermediaries completely).
We run a dual-stack IPv4/IPv6 network all the way through so if you’re on IPv6, you’ll get our v6 IPs, and hopefully enjoy a less NATted, wider MTU’d, packet un-fragmented journey through the internet.
Once you have the IP address from the DNS server, you will connect to the caching caddy server on the closest healthy node to your geographical location and it will terminate your TLS session, decrypting your request.
At this point we’ll see if we have the asset to the request you made cached locally, if so we can send it straight back to you, super quickly!
If not then it will connect to the upstream server in our core location over a (presumably) much larger, less latent and more resilient trunk pipe than most consumer-grade bandwidth will provide. (Unless you run your own redundant-path dark fibre into your house, which I’m not discounting entirely… I know people.)
The returned response will then be evaluated for cacheability and sent back to you.
The build
We wanted to make sure that if one of these endpoints degrade / get attacked / shut down / die, that we can spin up a new one really quick. So the deployment and configuration is completely managed by an Ansible configuration. The deployment of a single node or even a complete replacement of all nodes takes about 10 minutes.
Our nodes run 2 pieces of third party software, and a few scripts to manage things.
DNS
For the DNS resolution we run gdnsd with 2 plugins, http_status and geoip.
The http_status plugin monitors the health of the other nodes to make sure it’s not sending people to nodes that don’t respond.
The geoip plugin uses the requesting IP to determine what region/country you’re from, and select a priority list of nodes closes to that region. The first healthy node in that list is the node that’s selected.
CACHING REVERSE-PROXY
For the web-serving component, we run a custom xcaddy compiled caddy server with a few modules included: cache-handler, otter storage, coraza WAF, ratelimit, layer4, maxmind and crowdsec.
At the moment only the first 3 are in use, but the other 4 are included in case we need to mitigate attacks or other edge cases in the future.
And that’s pretty much it!
If anyone wants any help with setting up their own version of this, or needs more details, let me know. I’d be happy to help.
If a lot of people are interested (which I doubt at this stage, but who knows?) I’d even be willing to create a project or make it dockerisable etc, but I suspect that it’s something that most people would just use Cloudflare et. al. for, if the privacy aspect wasn’t such a concern.
preview
Sempre que eu tento me comunicar com gente de fora eu esbarro em questões culturais que são bastante das pessoas se ofenderem com o tipo de linguagem que é comum aqui.
Em outro canto do Fediverso vi uma postagem sobre nomes pra gente que lê muito em outros países, e são coisas tipo “traça de livro”, “cavalo de leitura”, “rato de biblioteca”… no Brasil: Cu de Ferro.
Sempre que eu tento me comunicar com gente de fora eu esbarro em questões culturais que são bastante das pessoas se ofenderem com o tipo de linguagem que é comum aqui.
Em outro canto do Fediverso vi uma postagem sobre nomes pra gente que lê muito em outros países, e são coisas tipo “traça de livro”, “cavalo de leitura”, “rato de biblioteca”… no Brasil: Cu de Ferro.
preview
Listen to Book 2 here.
Seriously though, 2 hours of excellent theater nerd prog right here.
Listen to Book 2 here.
Seriously though, 2 hours of excellent theater nerd prog right here.
preview
cross-posted from: lemmy.world/post/41246153
cross-posted from: lemmy.world/post/41246153
preview
Proportional representation supports durable coalitions and long term investment.
That stability is what makes real housing solutions possible.
Proportional representation supports durable coalitions and long term investment.
That stability is what makes real housing solutions possible.