- 37 Posts
- 206 Comments
Windows has something called the ShutdownBlockReasonCreate API which enables apps with long running operations to prevent a shutdown to avoid corruption or losing work.
Is there an equivalent for Linux? When used appropriately, it makes shut downs even more graceful.
deleted by creator
chaospatterns@lemmy.worldto
Programming@programming.dev•Software craftsmanship is deadEnglish
2·5 months agoYou’re describing what agile should be, but Agile™ is the variant you get in toxic companies where they say they are agile, but it’s just a mechanism to micromanage developers with bad managers asking why you’re not burning down enough points or why you haven’t met the estimated date you thought before you realized there was more technical debt than a bankrupt business.
Maybe you’ve avoided it but I’ve seen it first hand.
chaospatterns@lemmy.worldto
Programming@programming.dev•Building a React App with Formally Verified StateEnglish
1·5 months agoPretty cool. I played around with Dafny at work for some security-related software and I was pondering if Dafny could be effective for other problems like complex web-app state management or even more standard services.
chaospatterns@lemmy.worldto
Programmer Humor@programming.dev•You can do anything at ZombocomEnglish
2·6 months agoI developed my own scraping system using browser automation frameworks. I also developed a secure storage mechanism to keep my data protected.
Yeah there is some security, but ultimately if they expose it to me via a username and password, I can use that same information to scrape it. Its helpful that I know my own credentials and have access to all 2FA mechanisms and am not brute forcing lots of logins so it looks normal.
Some providers protect it their websites with bot detection systems which are hard to bypass, but I’ve closed accounts with places that made it too difficult to do the analysis I need to do.
chaospatterns@lemmy.worldto
Programmer Humor@programming.dev•You can do anything at ZombocomEnglish
8·6 months agoI scrape my own bank and financial aggregator to have a self hosted financial tool. I scrape my health insurance to pull in data to track for my HSA. I scrape Strava to build my own health reports.
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•Anubis is awesome and I want to talk about itEnglish
1·7 months agoIf the app is just a WebView wrapper around the application, then the challenge page would load and try to be evaluated.
If it’s a native Android/iOS app, then it probably wouldn’t work because the app would try to make HTTP API calls and get back something unexpected.
chaospatterns@lemmy.worldto
No Stupid Questions@lemmy.world•How does "DNS" work on the dark web?English
25·7 months agoOn Tor dark web domains, you use the .onion domain. Tor is configured as a SOCKS proxy, so it doesn’t perform a DNS query. Instead, Tor itself sees you’re trying to connect to an onion domain name. Then it takes the URL and translates that into a public key that it knows how to find in its own hidden service directory.
Only the actual hidden service has a valid private key corresponding to that public key in the URL so cryptography (and the assumption that quantum computers don’t exist) ensures you’re talking to the right server.
Tl;dr effectively no DNS for onion hidden services
chaospatterns@lemmy.worldto
Ask Lemmy@lemmy.world•Do you think standard batteries like A, AA, AAA, C, and D, 9V etc will eventually become obsolete?English
5·7 months agoPutting the charger circuit inside the battery takes away battery capacity, so I still buy the external chargers
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•DFRobot router board with a CM4English
3·7 months agoUnless you’re running VLANs, in which case the inter VLAN is normally handled by the router. I also expose my home lab services over BGP so all my traffic hits the router then comes back to my lab services.
chaospatterns@lemmy.worldto
Technology@lemmy.world•It's your fault my laptop knows where I amEnglish
10·7 months agoEvery WiFi router and network has something called an SSID and a BSSID. The SSID is the friendly name that you use to show off your puns to your neighbors. The BSSID is a 6 byte MAC address. All devices use the BSSID when connecting and communicating.
With a non hidden SSID, your router broadcasts the SSID and BSSID.
The BSSID doesn’t change even if you change your SSID (Though APs with support for multiple SSID create a different BSSID per network) and it’s what is actually used for geo location.
When it’s hidden, it doesn’t send the SSID out, but sends out packets with the BSSID. Clients then scream out to the void “anybody know the SSID ‘My Secret SSID??’” Then it’ll respond.
So basically hidden networks still send out the unique identifying address and then when you take your phone with you, you’re just telling everybody what your home WiFi is called.
Hidden SSIDs are not that useful.
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•PSA syncthing-fork has changed ownersEnglish
26·7 months agohttps://forum.syncthing.net/t/discontinuing-syncthing-android/23002
According to this post, it was partly that and lack of maintainers. Given there’s maintainers for a fork, I’m curious why they didn’t bring them into the main project.
Reason is a combination of Google making Play publishing something between hard and impossible and no active maintenance. The app saw no significant development for a long time and without Play releases I do no longer see enough benefit and/or have enough motivation to keep up the ongoing maintenance an app requires even without doing much, if any, changes.
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•PSA syncthing-fork has changed ownersEnglish
42·7 months agoWe’re sort of in this situation because the official project decided not to continue providing an official Android app, yet people want to use it on Android forcing unofficial versions to be created and maintained.
I get that they don’t want to deal with Google Play anymore, but somebody has to deal with it and them not owning the app is putting users at risk.
I tried that with my KeePass database and then I ended up with different conflict versions if a device didn’t sync to my server before I updated on another device. Then I ended up with the conflict versions and old versions I had manually resolve. The Android Syncthing app could get auto killed by the Android OS for memory/battery saving, so I had to go back to OneDrive style syncing where the KeePass Android app would internally merge and resolve conflicts. It couldn’t do that using the Syncthing style syncing.
chaospatterns@lemmy.worldto
Jellyfin: The Free Software Media System@lemmy.ml•Jellyfin 10.11 keeps my hdd awake (10.10.7 didn't)English
0·7 months agoIf you check the folder in the HDD, are there any other files like the database backup or log files?
If not, then
strace -e file -p pidis my best friend for figuring out what files a process is touching.
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•Google flags Immich sites as dangerousEnglish
1·8 months agoHow would that work? The use case is for previews for pull requests. Somebody submits a change to the website. This creates a preview domain that reviewers and authors can see their proposed changes in a clean environment.
CloudFlare pages gives this behavior out of the box.
chaospatterns@lemmy.worldto
Selfhosted@lemmy.world•Google flags Immich sites as dangerousEnglish
101·8 months agoIt is for pull requests. A user makes a change to the documentation, they want to be able to see the changes on a web page.
If you don’t have them on the open web, developers and pull request authors can’t see the previews.
The issue they had was being marked as phishing, not the SSL certificate warning page.
chaospatterns@lemmy.worldto
No Stupid Questions@lemmy.world•Why do so many put their resources in AWS us-east-1 when that's the only one (that I'm aware of) that has ever gone down?English
8·8 months agoSome people are asking why other regions seem to be affected when us-east-1 goes down. Why aren’t they separated out? I used to work in AWS, but will speak generally.
First, it’s important to understand the concept of a control plane vs a data plane. Amazon and other big scale companies often talk in terms of control plane/data plane separation because those two concepts have wildly different scale and requirements.
A control plane is the side of your service that handles the administrative functions of a service. For example, AWS S3 service would separate out bucket creation and deletion work from the file create/edit. In Route 53, this would be creating and editing zones. In IAM, it’s the creation of AWS access keys for IAM users. IAM Roles, IIRC, work differently and can function more in the data plane.
A data plane is the side of the service that handles the main meat and potatoes of a service. For example, AWS S3 any object key creates, edits, deletes would all be part of the data plane. In Route 53, these would be any DNS record query. I don’t know if updating a record was considered a data plane call or not.
These are separated out because data plane generally massively dwarf the number of calls for administrative APIs. It’s also done because control plane calls often times have some extra complexities. Like in Route 53, to create a zone means you need to go find n different name servers that can handle a given domain name without overlapping with another customer, you need to tell them that they should now handle calls, you need to get the records to those servers running all over the world.
The fact is Route 53 is globally replicated and they need to have a source of truth and engineering culture pushes Amazon towards a pull based approach. If a user creates a zone in eu-west-1, they still expect it to be on servers all over the world, so how do you get it there? Well, AWS takes the approach that certain services can have a single region dependency for their control plane in the case that it’s infeasible technically or to the business to avoid one, however the data plane of the service can’t have that dependency.
chaospatterns@lemmy.worldto
No Stupid Questions@lemmy.world•Why do so many put their resources in AWS us-east-1 when that's the only one (that I'm aware of) that has ever gone down?English
1·8 months agoN. California as a region can’t grow and it’s priced accordingly. Instead, compare US East (Ohio) or US West (Oregon) for a region that’s price competitive. A lot of Amazon internal stuff was starting to move to US East (Ohio) because it was geographically close, but a lot less problematic.




















Home Assistant and local, cloud-free protocols and devices are great