!Haskell Users Group (unofficial)
So, I created a #Haskell #TUI program using brick. I wanted to have it support cursor keys, as well as vim and Emacs-style cursor movement, but for whatever reason I can't get it to register C-n
and C-p
keypresses. C-f
and C-b
worked fine though.
Anyone have any ideas as to why this might be?
The repository is at: git.fingerprintsoftware.ca/jla…
like this
reshared this
Jonathan Lamothe likes this.
reshared this
𝕕𝕚𝕒𝕟𝕖𝕒 🏳️⚧️🦋 likes this.
like this
Jonathan Lamothe likes this.
I think centralized social media is the reason we fucked up a lot of decentralized social media.
I was thinking earlier about Lemmy, and how when Reddit did their API changes everyone tried to rush to Lemmy. Which would be fine, except everyone tried to just recreate reddit. Everyone tried to make Everything servers. Do we need ten thousand Technology subs? Not really. But people just tried to all make large general purpose instances with all the generic subs. Because they feel like they have to recreate reddit--ALL of them.
Nobody needs to run a Whole Reddit. Something like Lemmy would have been better if 99% of instances were single or limited topic. Keep the scale small, keep the moderation focused and knowledgeable.
I remember checking out Revolt, which is a discord alternative, and I think it has the same scale problem. Discord has three basic levels: channels, servers, and Discord itself which is a collection of servers. Revolt assumes that you don't want to self host a server, you want to self host a Discord. You want to self host All Of Discord. I don't think that's the case for most people! They want to run their one server!
Decentralized social media can't take a centralized approach, you can't try to recreate these horrible giant bloated behemoths but now with less budget and less moderation. You have to relearn to think at a smaller scale, the beauty of decentralization is that we can link all these smaller scale projects together.
reshared this
@Dobody @lori See, that's the thing that I like about the fedi. If I don't like a server's policies, I can migrate to another without being totally cut off from my contacts.
These days I self-host, so I don't have to worry so much about disagreements with my admin though. This also would not be an option elsewhere.
@Eniko | Kitsune Tails out now! I noticed on the official trailer for Kitsune Tails that it's coming for the Nintendo Switch. I have two questions:
1) Is there a planned release date for this? (I couldn't find it in the Nintendo store)
2) Does Nintendo take a less drastic cut than Steam does?
I have a stainless steel travel mug that I have my coffee in (almost) every day. It's supposedly dishwasher safe, but I still usually hand wash it.
A few months after I got it, the paint started peeling. Within a year, it had all completely peeled off... except for the logo, which is painted over top of the said peeling paint and still in pristine condition.
I feel there's a lesson in this story somewhere.
like this
@Celeste Ryder 🐾 🐀🏳️🌈 Apparently, it's because we've gotten a "loyalty discount" for being with them so long.
We actually had this discount with them before, but lost it because they dropped us briefly, and forced us to go with another company.
I love insurance.
reshared this
Jonathan Lamothe likes this.
@Foone🏳️⚧️ I may or may not currently have an ongoing project where I'm designing a CPU from scratch*.
* I am allowing myself the luxury of commercial RAM/ROM chips.
like this
High demand groups must always have an enemy. This enemy must constitute an existential threat to the group (real or imagined). It's what enables the group to make the demands it does of its members. The ends need to seem to justify the means, though actually achieving those ends are unnecessary. In fact it's not even desirable, because once they do, they need to manufacture a new enemy.
This understanding gives interesting context to the Mormon obsession with the quote "there needs be opposition in all things." There literally does.
like this
Jeremy List reshared this.
like this
Coffee (Team CW) reshared this.
Jonathan Lamothe likes this.
Whoops!
Accidentally left my #sourdough starter unattended for just shy of 48 hours. I had intended to refrigerate it.
It got a bit runny and had a bit of a vinegar-ey smell to it but no mould, so I think it's salvagable. Just fed it and we'll see how it fares.
𝕕𝕚𝕒𝕟𝕖𝕒 🏳️⚧️🦋 likes this.
It’ll be fine, I leave mine weeks without feeding sometimes.
Treat it mean, keep it keen.
Jonathan Lamothe likes this.
Adam Hunt likes this.
Pi is an irrational number. This means that its digits continue indefinitely without ever repeating. Every possible finite combination of digits is therefore contained therein. This would technically include a digital representation of every possible copyrighted work.
Does this constitute prior art?
reshared this
I'll bite, but not about the IP part.
Just because an irrational number's digits continue indefinitely without ever repeating, does that necessarily mean that it contains every arbitrary finite sequence of digits?
1/
Is there at least one finite sequence of digits that isn't represented in pi? If so, there are probably an infinite set of finite sequences of arbitrary numbers not represented in pi.
*something something* Cantor's infinite set of infinite sets...
2/
OTOH, if every finite sequence of arbitrary digits is represented in pi, then we should be able to find in pi a representation of, say, Euler's number to any given precision...
3/3 Enough for now. I don't have the math-fu to know if I'm being rational.
@bobjonkman No. Consider 1.0100100010000100001..... This is irrational but it doesn't contain any sequence of digits containing digits other than one or zero.
As for the irrational number pi, I think maybe it is unknown whether it contains all sequences of digits, but I don't know where to quickly check that.
Jonathan Lamothe likes this.
Bob Jonkman reshared this.
@soaproot ...though could it not then be argued that this number contains a binary encoding of all possible sequences?
Edit: actually, not necessarily.
Edit 2: Okay, I see the pattern now. Definitely not.
Bob Jonkman reshared this.
data Foo = Bar { val :: Int } | Baz { val :: Int }
is valid #Haskell. I wouldn't have thought you could define
val
twice like that.
It NEVER fails
Mastodon is the ONLY space where I receive racist comments to my posts
Mastodon, for me, is often indistinguishable from today’s Twitter
And now that Bluesky is fully operational, you can’t use “oh, that’s just the Fedverse” because I posted there at the same time and it’s NOT the same experience at all
Fix this shit or this “thought experiment” will not survive the shifts that’s happening
reshared this
@cmdr_nova I saw this explained in another thread. They're not coming from "racist instances". People just keep signing up for new accounts on big instances to evade suspension, so its a game of whackamole/death of a thousand cuts.
like this
reshared this
I have a messenger bag that I typically carry around with me. Sometimes things go in there and I forget about them.
Katy was looking for something and discovered that for some reason I had put our marriage certificate in there. The last time I needed the physical certificate was years ago, so it must've been sitting in there and I've just been carrying it around with me unknowingly for quite some time.
I imagine I should probably find a better place for it.
I should probably also go through it to see what else I've put in there and forgotten about.
like this
like this
I'm an idiot.
I was trying to install #Haskell on a machine and thought the installer was taking a really long time. In my defense, the last line of text was:
Installation may take a while.
It sat at this stage for over an hour while I did other stuff, because I hadn't bothered to read the previous line:
Press ENTER to proceed or ctrl-c to abort.
Jonathan Lamothe likes this.
hlint
is a great tool for pointing out where your code can be improved, but sometimes its suggestions are... interesting. Case in point, it just recommended changingmap (\(a, b) -> {- ...stuff... -}) $ zip as bs
to
zipWith (curry (\(a, b) -> {- ...stuff... -})) as bs
instead of
zipWith (\a b -> {- ...stuff... -}) as bs
Jonathan Lamothe likes this.
reshared this
reshared this
Jonathan Lamothe likes this.
reshared this
No one is getting fired over this, right?
Correct. HR systems are down too.
😬
Jonathan Lamothe likes this.
reshared this
Jonathan Lamothe likes this.
Jonathan Lamothe reshared this.
Jonathan Lamothe likes this.
reshared this
juliadream
in reply to Jonathan Lamothe • • •Jonathan Lamothe likes this.