Outage Recovery
The machine that this node was running on failed on 2 Jul 2024. A new machine has been acquired and a restore from backup was performed. It'll probably take a couple days for the database to settle as it re-synchronizes with the rest of the network.
Edit: grammar (proofreading fail)
reshared this
I have a cheap multimeter because I do not require one frequently enough to invest in a decent one. I noticed something interesting though: there are a lot of seemingly metallic things in my apartment that are surprisingly good insulators? (e.g.: a (brass?) doorknob)
I thought the multimeter was the problem, but when I measure something like a wire, it seems to be okay. Is this normal?
I'll have to check if I have any spare resistors with known values laying around to better test the meter.
Just checked the mail and a day that I have been dreading is coming to pass. My family doctor is retiring.
There's a new doctor taking on his patients, but my current doctor's records are all on paper and the new one's are digital. I need to have my records digitized (at my own expense) to have them carried over.
It gets even better though. I've been assured that the company that will manage this digital transition is "physician-managed" and my records will be "stored securely". I fully trust my doctor's medical opinion, but as for opsec... well... one of the options is essentially: "please write all your sensitive PII on this request form and email it to us in plaintext." Yes, I can drop the form off in person, but that's rather beside the point.
Justin To #ΠΠ΅ΡΠΠΎΠΉΠ½Π΅ reshared this.
A piece of information that is repeated frequently enough will have a tendency to assert itself as true in the subconscious mind. This is a fact that is frequently exploited by propagandists.
Perhaps reminding people of this frequently enough will help to defend them against the tactic (with the unfortunate side-effect of being really annoying).
like this
reshared this
Oh right, the debate...
I think I'm gonna step away from my feed for a bit. I just don't have the mental bandwidth to deal with it atm.
It's actually annoying in ghci because the warning gets repeated every time you define something.
--pedantic
flag though (which turns warnings into errors).
Trying to wrap my brain around finite fields. I get how one can construct a finite field with an order of a prime number, but I don't get how it works with powers of primes. Everything I try to read on the subject eventually ends up getting into notation that I don't know how to read.
I think I get that a GF(p^n) has something to do with converting the field into a polynomial where all the coefficients are of GF(p), but that's where my understanding starts to fall apart.
Can anyone point me at something that will help me to better understand this?
Katy just got an ad for a "grounding sheet"... It's literally a blanket that plugs into a wall outlet so that you can be grounded while you sleep.
In case you're probe to static buildup in your sleep, I guess? How is this a thing?
So, I learned about Hamming codes a while back. They're pretty neat, but a lot of modern technology uses Reed-Solomon instead. I've wanted to learn about that one, but it involves some pretty heavy math that often goes over my head.
I've found a few different videos on YouTube that try to explain it "simply" but they all tend to gloss certain details over. After watching a few of them, I've noticed that the parts they gloss over are different from each other, and I'm wondering if I can just hunt down enough of them that I can piece the rest together myself.
All things considered, this seems a weirdly fitting way to learn it.
like this
πππ reshared this.
Logged into my online banking to be greeted by a notification about an "unusual transaction". It was today's vet visit.
Yes. It was unusual. It was also entirely legit, but thanks.
like this
As a side note: I sent my parents a text asking if we could borrow $X to hold us over until next pay day. My mother replied by saying that she'd "accidentally" sent $(X + Y) and to spend the extra as we see fit. We have a tiny bit of breathing room again.
She is amazing, and I am so fortunate to have family who are able to help out in an emergency. It's not lost on me that many don't.
Benny (our cat) was under the weather yesterday so we took him to the vet. We went home with some meds and general optimism. He seemed to perk up later in the day.
This morning he's super lethargic and uninterested in his food. Which is super not like him. Have another appointment with the vet in an hour and a half.
Not only am I stressed out about the cat, but I'm also stressed about the added financial burden of two unexpected vet visits (and I feel like an asshole about the latter).
We'll figure it out, but if the universe could cut us some slack for like five minutes, that'd be great.
Edit: typo
like this
I've run into a snag with an sqlite database I've been working on. Below is a simplified example of the problem.
Suppose I have the following table:
CREATE TABLE "prices" (
"id" INTEGER NOT NULL UNIQUE,
"name" TEXT NOT NULL UNIQUE,
"list_price" NUMERIC NOT NULL,
"sale_price" NUMERIC,
"tax_rate" NUMERIC NOT NULL,
PRIMARY KEY("id" AUTOINCREMENT)
);
Is there a way to do something like the following?
SELECT
name,
CASE
WHEN sale_price IS NULL
THEN list_price
ELSE sale_price
END AS price,
price * tax_rate AS tax
FROM prices;
The
tax
column doesn't seem to acknowledge the price
column's existence, presumably because it's a column in the query rather than the source table. I could re-implement the CASE
logic for the tax
field, but that feels inelegant and error-prone.Is there a better way to do this?
Shannon Prickett reshared this.
WITH
to do it in two steps:WITH pre_price AS (
SELECT
name,
CASE WHEN sale_price IS NULL
THEN list_price
ELSE sale_price END
AS price,
tax_rate FROM prices
)
SELECT
name,
price,
price * tax_rate AS tax
FROM pre_price;
A text I just sent to my mother (presented with no context):
It's sometimes tricky that my wife and mother have very similar looking names and are alphabetically right next to eachother in my contacts. It's astonishing that that hasn't led to more embarrassing mistakes.
Katy and I like to watch psychological thrillers from time to time, but I've noticed a recurring trope that confuses me. It goes like this: Psychopath lives in an outwardly normal looking house, but has a secret passage to a secret murder basement.
Who built this? Am I to believe he excavated the earth, poured the concrete, ran the (usually admittedly shoddy) electrical himself? Did no contractor at any point ever think to themselves: "this doesn't seem right. Perhaps I should alert the authorities?"
Edit: typo
Edit: I'm an idiot who confused diameter with circumference for some reason. Embarrassing original post follows.
Was playing around a bit with the OpenWeatherMap API. I wanted to know how precise I needed to be with the latitude & longitude values, so I decided to do some quick calculations.
To get a rough idea, I wanted to determine how much a change of one degree of latitude would move in kilometers. I knew the diameter of the earth was something fairly close to 40,000 km but wanted to verify that factoid. I did a quick duckduckgo search, and the top three results (on seemingly separate web sites) all said 12,756 km. In fact one of them hilariously said 12.756 km.
I assume this is the result of LLMs filling the internet with crap, but it's alarming that if I didn't know any better, I'd have just blindly accepted this as fact.
12.756 km may be a locale difference; if the site wasn't US or UK-based the decimal might be the thousands separator.
the diameter of the earth was something fairly close to 40,000 km
s/diameter/circumference/
?
Fine, I'll watch #wwdc24 to see what everyone's been talking about.
Before a few hours ago, I didn't even realize it was happening.
Okay, I'm just going to say it because amazingly enough, some people don't seem to get this.
Just because I'm critical of Israel bombing hospitals in Palestine doesn't mean I'm pro-Hamas. I'm not.
It frustrates me that this is a thing that even needs to be said.
Edit: typo
like this
Mx. Luna Corbden reshared this.
Decided to learn and use #LibreOffice Base for a thing because I thought it would be an easier way to slap a quick and dirty UI on a database than rolling an app from scratch (which I already knew how to do).
I was wrong, but at this point I'm going full sunk cost fallacy.
like this
like this
Okay, sqlitebrowser (from the #Debian repositories) is actually a pretty decent tool. It provides a nice point-and-click interface that makes working with #sqlite3 databases a little bit nicer. Knowledge of how to write an #SQL query is still a requirement, but it makes creating/editing tables more convenient. Maybe it's well known, but I just discovered it yesterday.
Edit: sqlite browser, not mysqlbrowser
like this
reshared this
So, I get that #KiCad can't have symbols and footprints for every component ever in their default library, but some of the things they've chosen to include can be a little confusing when compared against what they haven't chosen to include. Here's an example:
There are symbols for the TC74HC00 (quad NAND gate) and TC74HC08 (six channel inverter) series of chips, but none for the TC74HC04 (quad AND gate). Sure, the 74HC00 symbol can fairly trivially be edited into a 74HC04, but still... Am I missing something here?
Fortunately, for this particular board I was able to do some boolean magic with a single 74HC00, so it's a moot point.
fedops ππ
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to fedops ππ • •@fedops ππ This is what I was thinking. Also, after a little research, it seems that brass can either a conductor or an insulator depending on the ratio of copper to zinc. Higher concentrations of zinc make for a more durable, but less conductive metal.
TIL metals can be insulators (assuming this random sketchy web site can be trusted).
Source: techiescientist.com/does-brassβ¦
ππππππ π³οΈββ§οΈπ¦
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.
Jonathan Lamothe
in reply to ππππππ π³οΈββ§οΈπ¦ • •@ππππππ π³οΈββ§οΈπ¦ I thought maybe it was some sort of protective coating, but this makes more sense. I also found this potential explanation: techiescientist.com/does-brassβ¦
Perhaps a combination of factors.
Jonathan Lamothe
in reply to Jonathan Lamothe • •ππππππ π³οΈββ§οΈπ¦
in reply to Jonathan Lamothe • • •This is why gold is used in electronics so much. Copper may be a much better conductor than gold, but copper has surface oxidation that can get bad, while a thin plating of gold is... golden!
Aluminum oxidizes within seconds after scraping a fresh layer and why it's so difficult to work with
Jonathan Lamothe likes this.