Skip to main content


math

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?

in reply to Jonathan Lamothe

Happy birthday indeed! I'm sorry I only have a crappy salutation and no help for your math problem 😁

Jonathan Lamothe reshared this.


Ontario politics

Sensitive content

reshared this

in reply to Allusion

Ontario politics
@Allusion Seems on-brand for the current provincial government.
in reply to Jonathan Lamothe

Ontario politics

Sensitive content


in reply to PerryM ✅ 🇨🇦 🇲🇽 🇺🇦 🇺🇸

like with most of the GOP agenda, it's never about human rights, it's about a minority of men having the right to control everyone else

Jonathan Lamothe reshared this.


Review of "1984" (4 stars): problematic but relevant


A lot to unpack in this book. The lead character (Winston) has some pretty misogynistic tendencies, and there's not a single female character in the book with any depth whatsoever. This can be explained to some extent by the fact that it was written in the 40s, and that Winston has been subject to psychological manipulation essentially since birth.

Problematic elements aside, this provides an interesting dive into the world of psychological warfare, which remains relevant to this day.

Jonathan Lamothe reshared this.



One of the easiest ways to manipulate someone with propaganda is to start with a person who believes themselves immune to propaganda.

reshared this


Jonathan Lamothe reshared this.


Remember kids:

IRC is free.
IRC is a open standard.
You can run your own IRC server.
IRC doesn't collect data on you and sell it.
You can still moderate your channels via invite, voice, and ban modes.
You can run a server on a 486.
IRC doesn't try to up sell you on "nitro".
IRC doesn't need to make money to make some VC happy.

Unknown parent

mastodon - Link to source
Space Hobo
@me Miserable technology, with basically no moderation tooling whatsoever even compared to IRC.
in reply to Elena ``of Valhalla''

@valhalla @me this problem is mostly due to policy, different clients have different default settings for trusting new devices. We do have an active 100+ members end to end encrypted chat for Prav. Occasionally we get encryption problems, but it mostly work when devices don't change too much in the room. The policy problem is not unfixable, we just have to focus and do it. The big problem I see is people starting with bad unmaintained clients and servers and complaining things break.


Okay, I'll admit it. Using #Haskell to talk to an #SQL database is not my favourite thing.
in reply to Boyd Stephen Smith Jr.

@Boyd Stephen Smith Jr. It's not so much the SQL part that's the irritating bit. It's that it doesn't really mesh super well with "the Haskell way of doing things".
in reply to Jonathan Lamothe

@BoydStephenSmithJr understandable. There's always a tension between "pleasant for the Haskeller" and "pleasant for the DBA" (or general SQL knower). We have the same problem at work (we sacrificed our DBA and used flora.pm/packages/@hackage/hpq… and its eDSL)

Jonathan Lamothe reshared this.


if you're disappointed by zelda not getting a sword in her new game might i suggest giving kitsune tails a look because we have a literal disaster sword lesbian in the main cast: kitsunegames.com/kitsunetails
This entry was edited (10 months ago)

reshared this

in reply to :ms_tarot_sword: Sem :ms_tarot_sword:

@r0br0t we try to represent our fans pretty exactly. one of the people who streamed our demo was a purple haired vtuber named yuzu

Jonathan Lamothe reshared this.


So true 🤬

reshared this

in reply to Rebecca

Where do they ask for $20? Here in Toronto, it's always $2.


Jonathan Lamothe reshared this.


So, I'm nearly half way through Tue book and Winston is... problematic.

I don't know how this escaped me on my first read.

(comment on 1984, p. 130)

Jonathan Lamothe reshared this.



Had an optometrist's appointment today. Got confirmation of something I've known for some time: my depth perception sucks.

Sadly, it's not correctable, but it's been like that for as long as I can remember. I've learned to adapt.


Jonathan Lamothe reshared this.


I've read it before but was in a very different place at the time. Want to see if it hits differently this time around.

(comment on 1984)

Jonathan Lamothe reshared this.


Jonathan Lamothe reshared this.


Jonathan Lamothe finished reading Sourcery

Jonathan Lamothe reshared this.



Not sure, but I think the cat may have developed an intolerance to his super expensive prescription food.

That's neat.


Jonathan Lamothe reshared this.


40k theory: The mechanicus can't create new technology because LLMs were invented during the dark age of technology.

Most of the media created after that point is AI nonsense, so they can't find the actual plans to replicate most of their technology.

The emperor can work with tech because he saved a copy of the wikipedia before it was too late.

reshared this


in reply to J Lam 👩🏻‍💻👩🏻‍🎨

while back we called it bullshit automation, and just recently a scientific paper was published that arguments this distribution nicely.

researchgate.net/publication/3…

Yes I know this is essentially a different class of problem, but the "learning" is done in the same way. And it flows the tradition of garbage in, garbage out.

This entry was edited (10 months ago)

Jonathan Lamothe reshared this.


Ethical, easy-to-use and privacy-conscious alternatives to well-known software


A great resource that makes it quick and easy to find alternatives to Google, Amazon, Microsoft, Adobe and many more.

reshared 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?



nerdy math shower thought

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.

in reply to Jonathan Lamothe

nerdy math shower thought
For those interested, these three videos had enough information between them for me to piece it together:


𝚛𝚊𝚝 reshared this.

in reply to Jonathan Lamothe

nerdy math shower thought
Actually, I don't think that was the last piece...


Haven't checked in on the #minetest server in the past few days because I've been otherwise occupied. Had a look today and to my surprise, there was no immediately apparent spawn griefing.

Jonathan Lamothe reshared this.


😏 🔥
This entry was edited (10 months ago)

reshared this


in reply to Hacker Memes

impressive level of intelligence on display, but ugh the poor guy, just wants to interact with its own species. Should be out in the jungle somewhere, not an urban living room.


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.

in reply to Jonathan Lamothe

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.



pet medical issues, stress

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

in reply to Jonathan Lamothe

pet medical issues, stress
Preliminary test results look good-ish. Fingers crossed. 🤞
in reply to Jonathan Lamothe

pet medical issues, stress
Well, the appetite stimulant is working. He just got his usual level of hangry with me. Now he wants more. Still need to do some follow-up tests, but this removes a tremendous amount of stress.
in reply to Jonathan Lamothe

pet medical issues, stress

Sensitive content



Jonathan Lamothe reshared this.


"LLMs are merely" autocomplete

Sensitive content

reshared this



SQL (sqlite3) question

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.

in reply to Jonathan Lamothe

You can use 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;
in reply to Jonathan Lamothe

SQL (sqlite3) question

Sensitive content



Jonathan Lamothe reshared this.


Email: "Hey, we noticed you were in our store looking at stuff and didn't check out"

Hey, I noticed you do a lot of creepy tracking shit you shouldn't be doing and seem to think that following window shoppers home and yelling WHY DIDN'T YOU BUY at their house is somehow a good business model

reshared this


Jonathan Lamothe reshared this.


the universe is just a ploy by big bang to sell more spacetime

reshared this


Jonathan Lamothe reshared this.


What are you supposed to be?
... I was supposed to be a lot of things. 😬 :oof:
This entry was edited (10 months ago)

reshared this

in reply to CatSalad🐈🥗 (D.Burch)

euuuurgh, so many sad memories of
“you’re a smart kid, but…” from teachers.
I even responded once with “how would you know if I never do the work?”, which I don’t think was appreciated. 😬


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.
in reply to Jonathan Lamothe

You really need to add "probably" to one or the other.. as in "probably mother"
in reply to juliadream

@juliadream In practice, it ends up not being a big deal. I typically message my wife over a private Nextcloud instance that my mother is not on. A message for my mother accidentally going to my wife wouldn't be as big a deal.


Okay, I'm calling uncle.

I've exported the data from the LibreOffice Base database I've been working on to an SQLite file, and I'm just going to write a proper UI for it.

reshared this


Jonathan Lamothe reshared this.


I'm planning a video a few weeks from now talking about "I switched to Linux and enjoy it."

If you've switched to Linux *in the last year*, do you have any uplifting stories you'd like featured to help my viewers?

Message me here, or via email at explainer(at)vkc(dot)sh.

reshared this

in reply to vkc (Veronica Explains)

I am currently doing the switch, started two weeks ago! I had tried dualbooting years ago, but now I'm serious.

I've tried some options a bit, including Kubuntu, Pop_OS! and Ubuntu MATE.
I was impressed with how easy it was to connect a graphic Wacom tablet! I did not like random crashes in system settings, especially with translations.

I have liked Cinnamon DE the most, and will be installing Mint next. I like how it just works, but I can still easily customize it to fit my needs.

in reply to vkc (Veronica Explains)

My wife is literally just switching to Linux. I'll ask her on her thoughts. So far she is mostly confused by the concept of "Free Software" (not "free" but "Free").


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.

in reply to Jonathan Lamothe

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/?

in reply to Ryan Frame

@Ryan Frame Yeah, that was my mistake. I edited the post to reflect that, but Diaspora doesn't support edits.


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.



Today I booked an appointment with my optometrist to get my eyes checked. A few hours later I checked the (postal) mail to find a reminder card from them.

I was shocked at how quick the mail was, only to realize it was just a generic reminder that I was due for an eye exam. It was pure coincidence.



Israel/Palestine

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

Mx. Luna Corbden reshared this.

in reply to Jonathan Lamothe

Israel/Palestine

Sensitive content

Judy Anderson reshared this.

in reply to Jonathan Lamothe

Israel/Palestine

Sensitive content

in reply to Jonathan Lamothe

It wouldn't be difficult if Hamas soldiers were firing machine guns at Israeli children, but this isn't the case.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.