812
Life Hack (lemmy.ml)
top 50 comments
sorted by: hot top controversial new old
[-] Hupf@feddit.org 2 points 15 hours ago
[-] stebo02@lemmy.dbzer0.com 72 points 1 day ago* (last edited 1 day ago)

you can trucate it and it still only a slightly worse approximation:

987/123 = 8.024

98/12 = 8.167

9/1 = 9.000

The last one is pretty bad you should probably not use it

[-] JackbyDev@programming.dev 32 points 1 day ago
[-] OutlierBlue@lemmy.ca 35 points 1 day ago

9/1 is approximately 8, for extremely large values of 8.

[-] toynbee@lemmy.world 4 points 1 day ago

Hello, fellow old nerd.

[-] humanspiral@lemmy.ca 4 points 1 day ago

16/2 is an almost exact replacement for 8. OP's name includes Fermat, and so he's probably smarter than me though.

[-] pacology@lemmy.world 12 points 1 day ago

Have you considered running for Indiana governor? You have the right mindset.

https://en.wikipedia.org/wiki/Indiana_pi_bill

[-] Neverclear@lemmy.dbzer0.com 7 points 1 day ago

Nah, the engineer probably designed it with a safety factor. You could probably even go 9/0 and be perfectly safe ;)

[-] stebo02@lemmy.dbzer0.com 2 points 1 day ago

what about 8/1 would that be save?

Don't cut corners

[-] somedev@aussie.zone 17 points 1 day ago

For that last one, how bad are we talking? I need to know soon, I have some important banking software I need to develop.

[-] stebo02@lemmy.dbzer0.com 13 points 1 day ago

I wouldn't use it for precise calculations at NASA, but for banking stuff I think it would be fine :)

[-] prole 3 points 1 day ago

It depends on the scale of the thing you're using it for.

[-] stebo02@lemmy.dbzer0.com 8 points 1 day ago* (last edited 1 day ago)

By the way guys, a very similar approximation for 8, which also starts at 9.000 for n=1, but quickly gets much closer to 8 for increasing n, is:

exp{-2(n-1)} + 8

It approaches 8 about as fast as the above method but this one has a simple formula that is usable in python etc.

[-] FooBarrington@lemmy.world 10 points 1 day ago

You may call it an approxim8ion

[-] BodilessGaze@sh.itjust.works 2 points 1 day ago

gr8 m8, I r8 8/8

[-] Robust_Mirror@aussie.zone 21 points 1 day ago

987654312÷123456789

Change the 21 at the end of the first number to 12 and its perfect. It was only ever 9 away.

[-] shekau@lemmy.today 12 points 1 day ago
[-] edgemaster72@lemmy.world 9 points 1 day ago* (last edited 1 day ago)

Witch! Begone foul demon, and take your dark sorcery with you!

[-] grrgyle@slrpnk.net 68 points 2 days ago

Shit like this makes me realise why people become mathematicians. You just play around with numbers and find funny facts about them.

[-] GraniteM@lemmy.world 14 points 1 day ago

I myself once learned 380 digits of π, when I was a crazy high-school kid. My never-attained ambition was to reach the spot, 762 digits out in the decimal expansion, where it goes "999999", so that I could recite it out loud, come to those six 9s, and then impishly say, "and so on!"

—Douglas Hofstadter

[-] grrgyle@slrpnk.net 5 points 1 day ago

That would be an amazing party trick.

[-] grrgyle@slrpnk.net 4 points 1 day ago

Actually come to think of it, even more amazing in the age of smart phones, when it's possible to easily verify to numbers you're reciting.

load more comments (5 replies)
[-] driving_crooner@lemmy.eco.br 47 points 1 day ago* (last edited 1 day ago)

So, years ago in college in Linear Algebra our professor said to us to study about idempotent matrices. So I checked out that wiki page and saw the example for 2x2 matrix, that are composed by the numbers 3, -6, 1 and -2. And I was like wait a second, 3×-2=-6 there's no way they are not relationship there, so I started trying other numbers, and found and proved (using induction) that any n, -n(n-1), 1, -(n-1) is an idempotent matrix. At the test there were no questions about that, and I was short of 0.5 poits to pass the class without having to present a final exam and I told my professor that I spent a lot of time learning that and that even discovered something and proved he pass me the chart and asked me to proved it, after that he gave the missing points. Was really good.

Then you try to figure out why they do be like that

[-] dxdydz@slrpnk.net 3 points 1 day ago

I mean, mathematics are an invention. A useful one, sure, but the whole thing is just made up by people playing around with numbers and going “what if we had a new, different kind of numbers…”

[-] baines@lemmy.cafe 2 points 1 day ago* (last edited 1 day ago)

if we play around with it and find out we can better describe how reality works it is not strictly made up

some of it anyway and maybe all with a better understanding

[-] dxdydz@slrpnk.net 2 points 1 day ago

That’s when it stops being maths and becomes science

[-] baines@lemmy.cafe 1 points 1 day ago

sure but if the discovery was done in pure math and only later was the relevance found?

[-] grrgyle@slrpnk.net 3 points 1 day ago

This reminds me of a friend who said "I like to think of dividing by zero as giving zero instead of infinity, because it means you can keep doing math on it" and I just thought that was so pure.

[-] baines@lemmy.cafe 3 points 1 day ago

there are number systems that work differently

[-] match@pawb.social 43 points 2 days ago

gonna need this in every base

I'll start with base 2:

1/1 = 1

[-] mattd@programming.dev 14 points 1 day ago

Base 3:

21 / 12 = 1.1012101210121012

[-] MelodiousFunk@slrpnk.net 10 points 1 day ago

gonna need this in every base

...all of them?

[-] match@pawb.social 3 points 1 day ago

for great justice

load more comments (5 replies)
[-] Hjalamanger@feddit.nu 13 points 1 day ago

9876543210987654321 / 1234567890123456789 = 8,0000000729000

[-] PattyMcB@lemmy.world 19 points 1 day ago

The funniest part is that some people will never understand the absolute crusade that some mathematicians might fight over this one day

[-] thedeadwalking4242@lemmy.world 4 points 1 day ago* (last edited 1 day ago)

It contains the number 8 though. So how is that useful

[-] Opisek@lemmy.world 4 points 1 day ago

Well, simple. Jest substitute that 8 with the above approximation.

[-] Neverclear@lemmy.dbzer0.com 2 points 1 day ago

It contains the numbers 8x10^7 and 8x10^1, but not 8x10^0

[-] deegeese@sopuli.xyz 14 points 2 days ago

I wonder if there’s a related infinite sequence which converges on 8?

[-] moonlight@fedia.io 18 points 2 days ago

This sequence approximates an integer to arbitrary precision, not 8 specifically though, and never perfectly.

I tried it out using other bases, and the rule seems to be that doing this in base n results in n-2 with remainder n-1. So it doesn't ever actually converge, but the remainder becomes small very fast.

[-] match@pawb.social 10 points 2 days ago

never perfectly

eyes you in binary

[-] deegeese@sopuli.xyz 10 points 1 day ago

The sequence in base 2 is only 1/1.

Wonder how close base-16 gets.

FEDCBA987654321 / 123456789ABCDEF

[-] moonlight@fedia.io 9 points 1 day ago

Off by '1.82959E–16' !

load more comments (1 replies)
[-] Rusty@lemmy.ca 4 points 1 day ago

(n * 8 + 1) / n

load more comments
view more: next ›
this post was submitted on 27 Apr 2025
812 points (100.0% liked)

Funny

9288 readers
1060 users here now

General rules:

Exceptions may be made at the discretion of the mods.

founded 2 years ago
MODERATORS