fuser

joined 2 years ago
MODERATOR OF
[–] [email protected] 1 points 2 years ago

Some mailing lists are membership and/or opt-in only. There are legitimate needs for bulk mailing.

[–] [email protected] 10 points 2 years ago* (last edited 2 years ago) (1 children)

He said "I know you run the show down here, but give the devil his due...

I'll bet a toilet of gold against your soul that I can intimidate you"

[–] [email protected] 8 points 2 years ago

as I remember, serranos do not start turning red until the very end of the season and the plant is almost done.

[–] [email protected] 2 points 2 years ago

With respect to pricing, I've been using SES for maybe 10 years, possibly more - this month is the first time I think I've ever been charged. The free tier used to include a very large number - I think it was 30,000 or or more emails a day that I never exceeded. Now it's 0.10 USD per thousand messages. Which is a pretty big change from free, even though the overall costs are small - and it's still a bargain. As with everything in "the cloud" though, the big players will squeeze the competition out then increase prices. I fully expect SES prices to keep increasing now they've figured out they can extract a few extra dollars from users and how relatively cheap SES is compared to the other overpriced crap. It won't surprise me if they jack this up significantly in the coming years.

Referencing sending quotas - Amazon is very lenient - I was talking about the big providers like gmail. It might be different now that my accounts have a long reputation as trustworthy senders, but when I first started using SES way back when, gmail and yahoo would start rejecting mail if more than something like 200 or so messages were submitted in a single batch, so I had to check the recipient domains and limit the numbers for each hourly iteration to stop them rejecting. I keep the email batches pretty small since I'm only sending out about 5-10K at a time and I stagger the send over several hours.

It's a bit of a minefield but overall pretty happy with SES, mainly because the mail gets delivered. You don't need to originate sending from an EC2 hosts (the pricing is the same, even though they make a distinction in the price list:

Outbound email from EC2 $0.10/1000 emails $0.12 for each GB of attachments you send*

Outbound email from non-EC2 $0.10/1000 emails $0.12 for each GB of attachments you send

*You might incur additional data transfer charges for using EC2 (it seems very likely they will increase the non EC2 price to drive you to a place where they are getting your compute and storage $ as well).

https://aws.amazon.com/ses/pricing/

[–] [email protected] 2 points 2 years ago

maybe not the healthiest, but these are some of my favorites https://quex.cc/c/recipes

[–] [email protected] 4 points 2 years ago (4 children)

SES is indeed the best option if you want reliable delivery for a reasonable cost. The pricing changed just last month so it's no longer effectively free for small users but it's relatively cheap (for now). I looked at the prices you quoted for other services and they seem ridiculously high, but it's fair to say that sending legitimate (non spam) bulk email is not so easy if you do everything yourself - getting your mail accepted is very challenging. For example, even using SES, if you attempt to originate too many emails to one provider in a single call, they may start rejecting everything - I had to put counters into the code to limit how many gmail addresses would be sent with each iteration. SES also rate limits so you need to manage that somehow. It sounds like you're planning to send a LOT of email. You'll also need to be mindful of the bounce rate and complaints (spam / abuse reports from recipients) because SES will shut you down if they go over a certain threshold, which you can see in the dashboard. It sounds like you've already figured a lot of this stuff out though - it's not rocket science but it can be frustrating to work with bulk email delivery for a number of reasons.

[–] [email protected] 2 points 2 years ago (1 children)

I don't blame you re the third party - I wouldn't either. I generally download a transaction file periodically and import it locally using the app. I think you're going to find it difficult to find an API that will allow little people access, even though they are obviously happy to offer that to the big companies. Some of the brokerages have checking accounts and it might be possible to pull the transaction data via the brokers API (maybe), but whichever way you look at it, I suspect the most pragmatic solution is probably going to be a download/import of some kind.

[–] [email protected] 3 points 2 years ago (3 children)

what are you looking to do? I don't know of any consumer bank APIs but most equity and exchange brokerages will let you check account balances and make trades with an API key and credentials. Probably not initiate payments or transfers though. There are too many security risks involved for allowing that via a consumer-level API. There are also tools like Mint that store your credentials and can presumably access your data because they have corporate level agreements with the Financial institutions - I haven't used that and would not normally recommend a corporate-based solution like that personally, but it might work for your needs.

[–] [email protected] 1 points 2 years ago

Yes you understand the suggested approach. I don't know about the mariadb tool and if it looks good, by all means use it, but I would offer that the fastest, simplest way to restore a reasonably small database that I can think of is with a sql dump. Any additional complexity just seems like it's adding potential failure points. You don't want to be messing around with borg or any other tools to replay transactions when all you want to do is get your database rebuilt. Also, if you have an encrypted local copy of the dump, then restoring from borg is the last resort, because most of the time you'll just need the latest backup. I would bring the data local and back it up there if feasible. Then you only need a remote connection to grab the encrypted file and you'll always have a recent local copy if your server goes kaput. Borg will back it up incrementally.

[–] [email protected] 5 points 2 years ago (5 children)

for the database, consider a script that does a "mysqldump" of the entire database that you schedule to run on the system daily/weekly. Also consider using gpg to encrypt the plain text file and delete the original in the same script. This is so you don't leave a copy of the data unencrypted anywhere outside the database. You can then initiate either a copy of the encrypted file to a local folder that you're backing up, or if you've set this up to back up directly on the remote that's fine too - bringing it local gives you a staged copy outside the archive and not on the original host in case you need an immediately available backup of your database.

With respect to the 3 separate repos, I would say keep them separate unless you have a large amount of duplicated data. Borg does not deduplicate over different repos as far as I'm aware. The downside of using a single repo is that the repo is locked during backups and if you're running different scripts from each host, the lock files borg creates can become stale if the script doesn't complete and one day (probably the day you're trying to restore) you'll find that borg hasn't been backing your stuff up because a lock file is holding the backup archive open due to a failed backup that terminated due to an untimely reboot months ago. I don't recall now why this occurs and doesn't self-correct but do remember concluding that if deduplication isn't a major factor, it's easier and safer to keep the borg repos separate by host. Deduplication is the only reason to combine them as far as I can tell.

When it comes to backup scripts, try to keep everything foolproof and use checks where you can to make sure the script is seeing the expected data, completes successfully and so on. Setting up automatic backups isn't a trivial task, although maybe tools like rclone and borgmatic simplify it - I haven't used those, just borg command line and scp/gpg in shell scripts. Have fun!

 

Jacobson argued that Montana’s reliance on climate-damaging extraction is motivated by perceived “sunk costs” — continuing to support fossil fuels because they’ve already invested so much in the system — as well as by bad policy. “If policies were based on economics, there would be no more fossil fuel growth in Montana or in any country,” he said. His delivery, confident and conversational, made the steps required to resolve the climate crisis seem eminently doable. “The main barrier to energy transition is that we need collective willpower,” he said. “That requires individuals, state governments and national governments to work toward this goal.”

In response, the state has argued that nothing the judge can do will help the plaintiffs; that even were the courts to side with the plaintiffs, it would not help solve climate change, as Montana contributes only a small amount of CO2 emissions compared to global emissions, and that there are no local remedies available to resolve the plaintiffs’ hurt. Furthermore, they said the plaintiffs were attempting to circumvent the Montana Legislature, where their concerns ought to be heard and where environmentalists, for over a decade, have been attempting to do so with little success.

 

Copilot is great, but a hundred bucks for what is basically a smart autocomplete seems a bit much - mostly, I hate the fact that the code is constantly transmitted to github (my repos are mostly local) - are there any reasonably convenient options for doing this without github looking over my shoulder all the time? I'm using VSCode but not wedded to it.

 

As seen on kbin.social

Site that shows subreddits mapped to the fediverse

 

DENVER ‒ Smoke descended on New York City, oceans are rising, arctic ice is melting. But one of the most significant and undeniable ways Americans will be impacted by climate change is far less dramatic: Insurance.

Insurance companies across the country are increasingly altering where and how people can live in flood, storm or wildfire-prone areas. State Farm and Allstate have made national headlines recently for their decisions to not offer new homeowner policies in disaster-prone California, and other companies have pulled out of or dramatically raised rates in Louisiana, Florida and Colorado.

In other words, whether or not you believe climate change is a problem, your data-driven insurance company already does — and it's responding, in most cases faster than government regulators. A 2022 report by USA TODAY explored a looming financial catastrophe caused in part by government assurances that people can rebuild where they previously lived, instead of being prompted to relocate somewhere safer.

A recent poll by Ipsos found that 90% of Democrats report being concerned about climate change, compared to 34% of Republicans, many of whom live in disaster-prone states like Florida and Texas.

 

When one of the world’s most developed culturally elite countries, France, tosses in the towel on the IPCC 2°C barrier, it sends a loud and clear message that the global warming fight is losing the battle.

Seriously, France expects 4°C. The country is bracing for 4°C according to Environment Minister Christophe Béchu: “We can’t escape the reality of global warming.” (Source: ‘We Can’t Escape the Reality’: France is Preparing for 4°C of Warming by 2100, Euronews.green, May 22, 2023).

France’s position on global warming is heavily influenced by other countries failing to deliver their targets to keep temperatures within the 1-5°C-2°C range of the Paris Agreement. “Unless countries around the world intensify their efforts to cut emissions further still, we are on track for global warming of between +2.8 and +3.2 degrees on average, which means +4 degrees for France because Europe is warming fast,” Béchu said,” Ibid.

The question going forward will be how to keep the electrical grid functioning as global warming diminishes water resources crucial for nuclear power, and as the aging fleet corrodes (37 years median age). France leads the world in nuclear power at 70% of total electricity generation. Yet, in a strange twist of fate, nuclear power, falsely advertised as clean green energy, is vulnerable to global warming shutdowns.

 

limate change protesters marched and chanted in downtown St. Louis midday Friday in front of the headquarters for Peabody, one of the largest private-sector coal producers in the world.

“Phase out fossil fuels … save our future,” the group of roughly 30 people chanted near the Citygarden Sculpture Park at Eighth and Market streets.

Ken Denson, who lives in Chesterfield, is the co-leader of the 350 STL advocacy group that tackles climate issues. “Everybody knows fossil fuels are going away eventually,” he said. “What we are saying is that they have to go away as soon as possible.

 

Detailed instructions at link (see posts below for RPI 4)

  • Switch OFF USB/LAN IC: If you don't need any USB devices switching off the USB BUS chip off can save more than 100mA of power (!!!)
  • Turn OFF HDMI: it is possible to switch off HDMI output by a simple command. This can save you up to 30mA
  • Throttle CPU:
    we can down clock the core by changing some parameters in the /boot/config.txt file (power savings likely neglible)
  • Disable Wi-Fi & Bluetooth in /boot/config.txt dtoverlay=pi3-disable-wifi dtoverlay=pi3-disable-bt
  • Disable on-board LEDs in /boot/config.txt: dtparam=act_led_trigger=none dtparam=act_led_activelow=on power saving around 30mA.
 

Canadian Fires blanket NYC with smoke

2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Solar panel

Battery

Charge Controller

Assembled and tested OK:

  • This battery does not have a programmable on/off cycle, but there is a different model which does.
  • The problem with that is that the battery will deep cycle if it runs all night and charges during the day, which will shorten the battery life. (Maybe there's a way to have the pi sleep and reduce consumption, or at least minimize CPU cycles when there's no solar.
2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Some hummingbird photos from the pi

view more: ‹ prev next ›