I've configured #emacs to the point it should be usable for me, I'm going to try using it for about a week.
Late yesterday I got around to making a site hosted with github pages.
My first post is on getting into using #Go modules.
I know these were introduced a long time ago, but I still had a hard time starting out with them.
Hopefully this is all accurate, at least good enough for people starting out.
I think you're on the right track with this one. I have some reasoning now using that:
T exists if such a triple exists that
x=as, y=bs, z=cs
Where s (scale) must contain the LCM of a,b,c as a factor.
This is still quite new to me, so I can't be too sure about my reasoning. I don't know either if cases outside this can or can't exist.
@xpil You've probably already tried iterating through lengths and using the Pythagorean theorem to check if the other side is rational.
I haven't gotten far with this other idea, but a little research introduced me to:
(a) Euclid's formula for Pythagorean triples
(b) Heron's formula / Heronian triangles
These are both fairly new ideas to me and I'm not really sure how to apply them to this problem. However, they /might/ make a faster solution?
I come home from maths tutoring and I see this guy sleeping on my bed :)
Every day is caturday now. #cats
Upcoming Instagram changes warn users to accept activity tracking to "Help keep Instagram free of charge" 🙄 #deleteInstagram
Something I learned in my ~3rd year of using git that has saved my ass many times: `git commit -am [commit message]` should be avoided. You inevitably end up auto-adding files you shouldn't, and the CLI encourages short commit messages.
Significantly better to do `git commit -v -a`. This pulls up your default editor and shows you the diff of the changes you are about to commit. You can see if any unwanted files/changes are about to be committed, and easily enter a verbose description.
I like maths, computer science, metal and cats - not necessarily in that order :)
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.