Pinned post

I made a regex to match all multiples of 7, but it was >10,000 characters so grep couldn't handle it.

Pinned post

I wanted to write a prime generator, but all the popular languages already have optimised ones I can't compete with.

++[>++<[->>+>+<<<]>>>[-<<<+>>>]<<[->->+<<]>>[-<<+>>]<[[>[->+>+>+<<<]>>>[-<<<+>>>]<[<->[-<->]]<+[<<<[->>+>>+<<<<]>>>>[-<<<<+>>>>]<-]<<->-<]>[->+>+>+<<<]>>>[-<<<+>>>]<[<->[-<->]]<+[<<<[-]<[->+>+<<]>>[-<<+>>]<->>>>-<-]<[-]<<+<[->>+>+<<<]>>>[-<<<+>>>]<<[->->+<<]>>[-<<+>>]<]<[-]>>>>+[<<<<<.>>>>>-]<<<<<+]

commented version: gist.github.com/olligobber/044

olligobber boosted

One overlooked #mastodon feature I enjoy is knowing that reading a toot or opening an image isn't contributing to some advertising algorithm's dataset on me and my purchasing preferences.

I kinda want to set up a mastodon account for my cat. Does anyone know of an instance specialising in pets?

Ugh, stream ended when I lost internet connection, but still, it was good that it worked as long as it did.

Found some more:
Total ordering: x < y or x == y or x > y
Negatives: x - x == 0
More associativity: x * (y * z) == (x * y) * z
Inverses: 1/x * x == 1
Distributivity: x*(y+z) == x*y + x*z

Show thread

Rules I've found that floating point numbers disobey:
substitution: x == y => f(x) == f(y)
reflexivity: x == x
associativity: (x + y) + z == x + (y + z)

olligobber boosted

Idea for a web extension: [[epithet]]. It replaces the name of corporations online with a crowdsourced/user set description of the company.

olligobber boosted

What's your primary OS?

Boosts appreciated for sample size :)

olligobber boosted

On the "Mozilla" subject. Let's face it, we don't have a mature and truly open browser nowadays. Despite the fact that Mozilla exist as foundation they're on the quest for revenue. And this is the main problem.
We need an open browser which is not driven by revenue, backed by foundation, and truly Open Source. And it must be just a browser, no bloatware, no tracking, no commercialization at all.
The web is a public place and we need a browser for public.

#mozilla #browser #opensource

olligobber boosted

All browser prompts need a "Lie" function in addition to Allow and Block.

<Website> wants to:
* Know your location
* Use your camera
[ Allow ] [ Block ] [ Lie ]

Since when was it spelled quaternion instead of quaRternion?

olligobber boosted
olligobber boosted
Show older
Mathstodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!