- 0 Posts
- 23 Comments
marzhall@lemmy.worldto
Risa: Your Home Away from Spacedock@lemmy.dbzer0.com•W.W.J.D - What Would Janeway Do?
13·2 months agoEvolve into a weird lizard and have babies or some shit I dunno
Italian Sausage Seasoning (from Penzey’s, even!). It’s part of my pepperoni roll recipe (it goes on the pan the roll cooks on, as well as is brushed on the roll) and really takes things to the next level.
alias cls=clearMy first language was QB, so it makes me chuckle.
Also,
alias cim=vim. If I had a penny…
Someone has calculated the first 100 Trillion digits of pi, so if I understand the equation you’re suggesting they means it is possible to know if pi contains all permutations of all phone numbers.
Yep, it definitely means we’re above the average chance we could find a given 10-digit number in what’s been looked at so far, if we’re up to 14 digits! But here’s the trouble: that calculation gives the “average” chance.
In the same way you could see the number “1” more than once in pi, you could see “11” more than once in pi, and so on for all sizes of patterns, as long as they’re part of a larger not-yet-seen pattern (and as long as mathematicians’ as-of-yet unproven guesses about pi are accurate). So if you’re unlucky, even if pi does turn out to contain all numbers, we still may not have hit exactly your number yet, because larger patterns have been ahead of it that include things that aren’t your number. But the odds are in your favor as far as I know.
Does pi contain my phone number?
We can’t yet answer this because we don’t actually know whether or not Pi contains all permutations of all numbers. It’s conjectured that it does, however.
Didn’t say anything about compression.
You didn’t, but “compression” using pi actually asks the same question you do, iiuc, of " How far do I have to search in order to find a thing of a given length?" And the answer is - if pi truly does contain all permutations of all numbers - probably 10^length /2 - for phone numbers, 10^10 /2, or half the length of all of the permutations of 10-digit phone numbers next to each other.
Which, coincidentally, and the reason I was aware of this, is why indexing into pi doesn’t save you space on average if you’re being a nerd and trying to use it for compression.
If you explore compression using pi - i.e., giving an index and a length of pi as your compression method - what you’ll end up finding is that the length of the data you want to compress is about the same as the length of the index in pi your data is at.
So if you wanted to “compress” five digits by just linking to its index in pi, you would most likely need a five-digit index into pi to find the spot where pi has that number. So, you save nothing on average.
There’s a good blog post that goes into this, but I’m having trouble finding it. The rough explanation I can remember is: if you have every permutation of a given length n in a row with an even distribution, then a random string you choose is likely to be in the middle of that length. Using our numbers 0-9 as our base, that puts you at index 10^n/2. Given our example of 5 digits, that’s 100000/2 - 50000, itself a 5 digit number, saving us no space.
In the mean time, you can use pifs to “store” your data using similar ideas.
marzhall@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
1·9 months agodeleted by creator
marzhall@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
1·9 months agodeleted by creator
tl;dr: price gouging sparked by bird flu. Shame their ticker isn’t $SCAM
marzhall@lemmy.worldto
TenForward: Where Every Vulcan Knows Your Name@lemmy.world•For the glory of the Empire!
6·9 months agoGot off the couch and actually voyaged through the house to my bed for once, where I shall sleep FOR THE GLORY OF THE EMPIRE
marzhall@lemmy.worldto
Asklemmy@lemmy.ml•If "death of the author" applied to every facet of life and not just writing and art, what's the weirdest implication you can think of that would come from it?
3·10 months agoEvery birthday card with your name in it is for you.
marzhall@lemmy.worldto
Linux@lemmy.ml•In 2025, what features do you want in a terminal emulator? (that currently aren't widely available or at all)
4·11 months agoLol, did you know it’s possible to make GUI applications for desktops that don’t use a browser as a platform? It’s a lost art, but at one time, it was how every application worked. Incredible, really
marzhall@lemmy.worldto
Linux@lemmy.ml•In 2025, what features do you want in a terminal emulator? (that currently aren't widely available or at all)
11·11 months agoYou can use bash in jupyter, yep, but I’m one of those nerds who dislikes the idea of using a web app for a shell, and it wouldn’t have the virtual filesystem implementation I mentioned. (This is an old thought for me I’ve just been too lazy to get around to)
marzhall@lemmy.worldto
Linux@lemmy.ml•In 2025, what features do you want in a terminal emulator? (that currently aren't widely available or at all)
231·11 months agoA jupyter-notebook like approach, in which commands and history are kept in previous boxes and show outputs in limited boxes and we stop limiting ourselves to pretending we’re still using teletypes but maintain the power pipes bring to unix. Also, all boxes are given filenames in a virtual fs that makes it easy to reference them or their output and treat them like a file, erasing the need to rerun a command to run something on its output because you forgot to save it.
marzhall@lemmy.worldto
Asklemmy@lemmy.ml•I'm from the Y'all zone. Is it offensive to call trans people y'all?
2·1 year agoNot just the area south - basically all the area in between the two cities. And yeah, it’s basically like saying “once you’re out of the cities, you might as well be in Kentucky.”
Okay, I’ve never even heard of a Dalgona before, and that sounds incredible. Like somewhere basically incredible hot chocolate is the default coffee
Also use it around your co-workers and peers who have children and would recognize it when you want to really get under their skin, it’s skibidi sigma on cap
Nah that’s rizzler shit on God sigma 10k


I invite you to meet the awesome jumping spider, whose eyes are very especially needed set up to be forward-facing for depth perception for their jumps, and who hunt other spiders, as well as the wolf spider, who are also a hunting (as opposed to web) spider.
In fact, you can use the chart of spider eye layouts to pretty much identify whether you’re looking at a spider who builds webs and waits or a spider who hunts:
Anyone with two big forward-facing eyes is probably looking around for their next meal; the rest are building a web, trapdoor, or taking some other approach.