mbirth
@mbirth@lemmy.ml
- Comment on Stack overflow is almost dead 3 hours ago:
Why do you prefer Discord? What do I miss?
I’ve had a discussion with someone about this. Apparently, there are people that enjoy the social contact. Some seem to like sitting in a Discord chat all day long and answering the same questions over and over again. Others like to “just ask” someone instead of looking for a solution themselves.
That there’s no clear structure of all the solutions provided via Discord and thus people have to ask the same things, nor a proper way of backing everything up in case Discord goes rogue seems to be blissfully ignored.
It’s probably part of the same phenomenon that, nowadays, people seem unable to write or read a few lines of documentation and instead create/watch 20 minutes on YouTube.
- Comment on Deal with EU will make food cheaper and add £9bn to UK economy, says No 10 5 hours ago:
At least in Germany you vote for parties. These parties then create coalitions which water down most of the reasons why they were elected in the first place.
The guy in the EU council is supposed to be the highest leader of each country. In Germany that’s the Chancellor. Which is elected by those parties/coalitions. You as a normal person have no say in who it’s going to be.
Same for the EU commission. You have no real influence on who’s going.
Then those parties/coalitions create lists of candidates for becoming MEPs. You vote for those lists. There’s no way to vote for specific people to go to the EU parliament. And those lists are basically suggestions as people can be crossed out or exchanged on those lists even after the elections are over.
- Comment on Deal with EU will make food cheaper and add £9bn to UK economy, says No 10 7 hours ago:
Nobody voted for the people sitting in lovely Brussels and making decisions that impact all member countries in all their different situations. It was good when it was still the EEC and meant to improve trading between member countries. And trading only. How we ended up with this monster of EU trying to dictate things like you can’t sell cucumbers which are curved more than X degrees, or banning incandescent and halogen light bulbs, and stuff like that… I don’t know. But I don’t like it.
- Comment on Deal with EU will make food cheaper and add £9bn to UK economy, says No 10 9 hours ago:
Central to the agreement is the new agrifoods deal, known as an SPS agreement, which removes red tape on food and drink exports, removing some routine checks on animal and plant products completely. In return, the UK will accept some dynamic alignment on EU food standards and a role for the European court of justice in policing the deal.
- Comment on Deal with EU will make food cheaper and add £9bn to UK economy, says No 10 9 hours ago:
Yeah but we’re not exactly living in the utopian society that we were promised. If anything brexit has proven to be as disastrous as everyone who opposed it predicted.
Have you looked at other European countries lately? They’re no utopian societies either. And things like the EU probably going to demand 34 billion Euros from Germany for not quite reaching the arbitrary climate goals the EU made up… make me very happy that the UK isn’t a part of those shenanigans anymore.
- Comment on Simple NAS hardware for home use? 1 day ago:
Which Pi did you try? Since the Pi4/CM4 (can even work with SAS drives) and especially with the Pi5 you can build some nicely performing NASes.
- Comment on Simple NAS hardware for home use? 1 day ago:
There are some passively cooled (i.e. no spinning fan) SFF Desktops (HP, DELL, etc.) or you could get a Raspberry Pi 5 and stick it into a Geekworm case. Power consumption with these devices should hover around 5W, maybe slightly higher under load. The Desktops most probably support WoL. The Raspberry Pi doesn’t.
- Comment on Self Hosted Network Analyzer? 1 week ago:
The version I had played around with about 10 years ago could.
- Comment on Self Hosted Network Analyzer? 1 week ago:
- Comment on Spottarr: A modern spotnet client and index for your *arr apps. 1 week ago:
I’m running SpotWeb to browse spots. It’s kind of a curated list of NZBs. So, most things you can find a spot for, are still actually available to download.
It was heavily used by the Dutch to distribute movies with baked-in (“ingebakken”) Dutch subtitles for older media players.
- Comment on Self hosted place check-ins 2 weeks ago:
If you like to checkin manually to places, there’s PrivateSquare which will query places around you from Foursquare (so, 4sq will still see whereabout you are), but store the actual checkin in a local database.
If you want some automated tracking, I’m mostly happy with OwnTracks which logs to my DaWarIch instance. (I’ve previously used Traccar and php-owntracks-recorder.
While I don’t see any battery usage from OwnTracks, my only gripe is that it can’t increase the amount of points logged when it detects movement because of Apple iOS limitations.
(For iOS, there’s also Geory which will log into a local database and CAN increase the logging by spawning a Live Activity. It gives me the most accurate logs so far. But they have to be exported manually to be stored elsewhere and the author wants to keep the app simple and doesn’t want to implement logging to external systems.)
- Comment on CrowdSec vs Fail2Ban - What to use? 2 weeks ago:
I let CrowdSec determine that. I’m seeing
/13
,/12
and even/10
in my decisions list. All seem to be Amazon AWS ranges. - Comment on CrowdSec vs Fail2Ban - What to use? 2 weeks ago:
In the Traefik static configuration (usually
traefik.yml
), add this to load the CrowdSec plugin:experimental: plugins: crowdsec-bouncer-traefik-plugin: moduleName: "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin" version: "v1.4.2"
(The name for the plugin is defined here as
crowdsec-bouncer-traefik-plugin
.)Then, in your dynamic configuration, add this (I’ve used a separate file
dynamic_conf/050-plugin-crowdsec-bouncer.yml
):http: middlewares: crowdsec-bouncer: plugin: crowdsec-bouncer-traefik-plugin: CrowdsecLapiKey: "...YOUR CROWDSEC LAPI KEY HERE..." Enabled: true
(The name for this new middleware defined here is
crowdsec-bouncer
. It uses thecrowdsec-bouncer-traefik-plugin
defined in the previous step. Make sure these names match.)You can get the LAPI key by registering a new bouncer in CrowdSec.
And, finally, make sure all incoming traffic routes through the bouncer plugin. You can do this individually, or in general via the static config:
entryPoints: websecure: address: :443 http: middlewares: - crowdsec-bouncer@file - secure-headers@file
The middlewares are processed top to bottom.
- Comment on CrowdSec vs Fail2Ban - What to use? 2 weeks ago:
I’ve recently enabled banning whole subnets if more than 3 malicious actors from that subnet are on the blocklist. This is great for all those DigitalOcean droplets and other cheap hosters used by those people…
- Comment on CrowdSec vs Fail2Ban - What to use? 2 weeks ago:
I had fail2ban running for several years before switching to CrowdSec late last year. They both work in a similar fashion and watch your logfiles for break in attempts. With the small difference that CrowdSec also lets you use blocklists from the “crowd” to block malicious actors before they even get to try their luck on your machine(s).
I’m using CrowdSec with Traefik and nftables. But there are some bouncer plugins for nginx and OpnSense, too.
I just followed their example configurations for Docker, Docker Compose and then started tinkering with the config until everything worked as desired.
- Comment on 20th-Anniversary iPhone Will Reportedly Feature an All-Screen Design 2 weeks ago:
Well, some people in the “inner circle” might have some idea about the direction they want to take. But I very much doubt that anyone outside of that circle knows anything substantial. And in the end, that website is called MacRumors for a reason. They splurt out various things to keep people speculating and engaging with their site - which earns them money. But that’s about it. I’ve removed them from my feed reader ages ago.
- Comment on 20th-Anniversary iPhone Will Reportedly Feature an All-Screen Design 2 weeks ago:
It’s a rumour. Nothing else. Not even Apple knows what they’ll release in 2 years.
- Comment on Google Wallet lets UK users turn their passport into digital IDs 2 weeks ago:
these digital IDs are not a replacement for the original physical ones
So, it’s basically the same as taking a photo of your passport and keeping that on your phone.
- Comment on Vaultwarden selfhosting, or bitwarden service? 2 weeks ago:
The Bitwarden clients cache your data locally. So even if your Vaultwarden goes down, you’ll still be able to access your passwords. Just not sync new ones or make changes.
- Comment on Vaultwarden selfhosting, or bitwarden service? 2 weeks ago:
I’d throw in option 3: use a KeePass2 database, sync it using whatever sync tool you like (SyncThing, iCloud, NextCloud, WebDAV, …) and use compatible apps (KeepassXC, Strongbox, etc.)
- Comment on I use Zip Bombs to Protect my Server 2 weeks ago:
And if you want some customisation, e.g. some repeating string over and over, you can use something like this:
yes "b0M" | tr -d '\n' | head -c 10G | gzip -c > 10GB.gz
yes
repeats the given string (followed by a line feed) indefinitely - originally meant to type “yes” + ENTER into prompts.tr
then removes the line breaks again andhead
makes sure to only take 10GB and not have it run indefinitely.If you want to be really fancy, you can even add some HTML header and footer to some files like
header
andfooter
and then run it like this:yes "b0M" | tr -d '\n' | head -c 10G | cat header - footer | gzip -c > 10GB.gz
- Comment on eSIM reccomendations (IOT - UK) 3 weeks ago:
I was going by this thread and this comment. Those other websites are mostly selling SIMs for industrial IoT or CCTV stuff and are either acting as a MVNO (where I don’t know how much influence they have on the network configuration) or probably selling foreign cards with free roaming or something like that.
- Comment on eSIM reccomendations (IOT - UK) 3 weeks ago:
Fixed IP might be a problem as basically all carriers use CGNAT. From what I could
gathergoogle, Three seems to be the only one where you can manually change the APN to3internet
to get assigned a proper IP address. - Comment on Does anyone know what happened to Babylon/GPAtHand/eMed? 3 weeks ago:
You should now use the NHS App for viewing your medical records, viewing test results and documents, and requesting repeat prescriptions. Appointments can be booked using our website. We are no longer using the eMed app.
- Comment on Thoughts on lightweight platforms like gotosocial? 4 weeks ago:
Ohh, SQLite isn’t “one” db. SQLite is file-based. I.e. a database in e.g. PostgreSQL (containing several tables, views, indexes, etc.) would translate to one SQLite file (e.g.
mydatabase.db3
ormyappdata.sqlite
). And each app has its own file/database. If the file corrupts, then it’s only affecting that specific app. (However, SQLite is pretty robust.) And since these are just files, you can backup them together with the application. No need to export data or shutdown the database first. - Comment on Attacking My Landlord's Boiler - videah's blog 4 weeks ago:
There are smart valves. You can just unscrew/unclip the existing dumb ones and replace them with smart ones. They usually even report the temperature (well, near the radiator - so you might want to get extra temp sensors for the other end of the room).
- Comment on Attacking My Landlord's Boiler - videah's blog 4 weeks ago:
Unless you share the boiler’s output with someone, I’d be surprised if you didn’t have access.
But still, if you don’t want to mess with the electrical connections, manipulating the radio waves works just fine. :)
- Comment on Thoughts on lightweight platforms like gotosocial? 4 weeks ago:
Whenever it is supported, yes. I’m a huge fan of SQLite.
- Comment on Thoughts on lightweight platforms like gotosocial? 4 weeks ago:
Very happy with it. I’m running it with an SQLite database, so no extra database server is needed. And I’m using Elk as a frontend for when I don’t feel like using an app.
- Comment on Attacking My Landlord's Boiler - videah's blog 4 weeks ago:
On the receiving end of this controller, there’s probably just a relay shorting 2 wires from the boiler together - like the Honeywell BDR91.
So, you could just replace that by some Shelly switch and wouldn’t have to use the proprietary radio protocol.
On a sidenote: Those room controllers usually “learn” how long it takes to reach the target temperature (as this can be vastly different between summer and winter) and move the starting time accordingly. So they reach the target temperature at the programmed time. At least the more expensive ones do. You’d have to do something similar in your automation if you want that comfort. (Unless HA already has some code for that…)