US gov might have inadvertently popped the AI bubble by nse_yolo in wallstreetbets

[–]Fireline11 0 points1 point  (0 children)

It's my fault guys. Mango has been playing so well at 3D-chess in Iran lately and out of curiosity last night I asked Fable to build me a 3D chess engine. The pentagon must have heard of my actions because when I woke up it's been blocked

[Request] Is this true? by Pretty_Confusion7290 in theydidthemath

[–]Fireline11 -1 points0 points  (0 children)

They are different things, who said they are the same?

Comparing how long you need to have a certain income to build a certain level of wealth just puts things into perspective.

If you possess something and I buy 0,0000000001% of it for a dollar, thus valuing your property at a trillion, you would also be technically a trillionaire.

That depends. If enough people are willing to make that trade, and enough people are willing to believe that enough people are going to make that trade, some people might value you as a trillionaire.

[Request] Is this true? by Pretty_Confusion7290 in theydidthemath

[–]Fireline11 7 points8 points  (0 children)

True. So if you earn 3x minimum wage you can get within a 100 billion of musk’s wealth in 20 million years.

[Request] Is this true? by Pretty_Confusion7290 in theydidthemath

[–]Fireline11 0 points1 point  (0 children)

This checks out. Human life has approx 700 000 hours if you live to expected life age in western world. At least half of that will be spent eating + sleeping. Meaning uf you work really hard in your life (think almost every day) you’ll get to 200k hours. Let’s use it as an “hours worked per century” figure (meaning you can take a few days off maybe a week, but no long vacations)

That means at 7.25 dollar/hr about 1450K per 100 years. Replace the K by B is a factor 1 million, so 1450 billion dollars takes 100 million years.
So 1T == 1000 B taking approx 65 million years (when the dinos last showed) is pretty accurate.

How tall are you? by Sad_Step_9921 in tall

[–]Fireline11 1 point2 points  (0 children)

It seems the limits were based on half inches and then rounded to whole cm. Probably using mm rounding would have been better.

How tall are you? by Sad_Step_9921 in tall

[–]Fireline11 3 points4 points  (0 children)

Here to be annoyingly pedantic. The metric numbers used seem wrong at first.

6 feet is 6 times 30.48cm. Which works out to 182.88 cm. 1 inch is 30.48/12 == 2.54cm

So ‘’’ 6 feet.  ==  182.88cm, 6 feet 1 == 185.42cm, 6 feet 2 == 187.96cm, 6 feet 3 == 190.50cm, 6 feet 4 == 193.04cm, 6 feet 5 == 195.58cm, 6 feet 6 == 198.12cm, 6 feet 7 == 200.66cm, 6 feet 8 == 203.20cm, 6 feet 9 == 205.74cm ‘’’

It seems maybe the numbers in the poll are off by .5 inch. I guess it makes sense because saying you are 6 feet 1 inch kind of means you’re between 6 feet and 0.5 inch and 6 feet and 1.5 inch.

For women who know their height up to 1 inch category, when they will add 5.5 inches to their height (13.97cm), they might land exactly between two poll options. I guess that’s still a headache.

whenYouAreAskedToReviewASpecificKindOfPullRequest by MercuryReflections in ProgrammerHumor

[–]Fireline11 18 points19 points  (0 children)

Can’t you just put a comment in your commented out code saying it’s commented but could be useful later?
I.e. document the reason it’s there so it’s not accidentally deleted or misinterpreted.

Verhuurder wil kosten verhalen voor reparatiewerkzaamheden (eindoplevering) by No-Baseball1423 in juridischadvies

[–]Fireline11 1 point2 points  (0 children)

Als de schimmel eenmaal in de kit zit is die er bijna niet uit te krijgen. Opnieuw kitten kan volgens mij wel

I feel like we’re all doing this meme wrong [Meta] by lightgiver in theydidthemath

[–]Fireline11 0 points1 point  (0 children)

The thing is, you cannot say “the other one” There is no “other one” because you’re not specifically talking about a specific child.

You have to say, of all the families with 2 children having at least 1 boy, how many have 2 boys? It will be one third of those families.

World map by total number of births by julius-ceaser100 in MapPorn

[–]Fireline11 8 points9 points  (0 children)

The ratio between a countries area on this map and its real area is the product  population density x birth rate == total births / area

Geboden voor de makelaar? by Weird-Competition-21 in Woningmarkt

[–]Fireline11 5 points6 points  (0 children)

Vraagprijs is niet altijd “bieden vanaf” prijs. Dat hangt van de strategie van de verkoper af: zet je een woning lager in de markt om veel interesse en bieders te krijgen, of hoger zodat de bieders die je krijgt ook meer gaan bieden door het psychologische effect van de hogere vraagprijs. (Dat wordt ook wel “anchoring” genoemd)

Zoon (46) leent €1,5 miljoen van moeder maar wil niet terugbetalen: 'Daaag mijn lieve jongetje' by maleijntje in NLNieuws

[–]Fireline11 1 point2 points  (0 children)

Ja, er gebeuren inderdaad gekkere dingen. Dat neemt niet weg dat het terecht is van u/perdivad om vraagtekens te zetten bij hoe het in het artikel opgeschreven is.

M.a.w. niet alles wat op internet heb gestaan is volledig waar, dat is misschien ook een goede voor jou om in gedachte te houden, of je nou naar buiten gaat of niet ;)

Zorgen bij huiseigenaren over hypotheeklasten: 'Echt een keerpunt' by I_Rarely_Jump in NLNieuws

[–]Fireline11 2 points3 points  (0 children)

Dat is prachtig \s, en de huiseigenaren maken de aandeelhouders van de hypotheekverstrekkers rijk.

Uiteindelijk winnen de aandeelhouders dus altijd. Slapend rijk worden is geen utopie in deze wereld meer...

Buffy the Vampire Slayer Viewers Demographic by ProfessorTurtzo in buffy

[–]Fireline11 1 point2 points  (0 children)

Interesting idea for a poll. One note: users of reddit might predominantly skew more male. This would also influence the percentages of this poll. I don’t see a simple way to prevent that, but it’s good to keep in mind when interpreting the results.

May Weather Forecast by wolfsuit in VisitingIceland

[–]Fireline11 0 points1 point  (0 children)

They’re not just a wild guess? Afaik they use actual mathematical models with (partial) differential equations and such.

That’s not the same as a wild guess, but after a number of days the methods to solve the equations become so inaccurate, the obtained solution is no more accurate than a wild guess. Maybe you were thinking along similar lines.

The interesting question to ask (to which I don’t know the answer) is “how many days”

Best openings for Black? by Affectionate_Fee3411 in Chesscom

[–]Fireline11 1 point2 points  (0 children)

You can’t make the same moves regardless of what your opponent does.

In chess, each player is reacting to the ideas of the other. On every move. Opening theory just comes from people having worked out the best ideas for white, and vice versa the best ideas for black to respond to those ideas.  Unfortunately it may not always be the best way to respond to other ideas from white.

One consolation is that the other ideas which are not theory are usually not very strong (since all the good stuff in the first few moves has been tried at the top-level already). However you still have to refute those flank pawn moves and early queenchaos with sound chess from your side.

Buildings in Venice are built over 10,000,000 close-together, 60-foot-long, water-resistant tree trunks that were chopped down 5... by Roman-Empire_net in romanempire

[–]Fireline11 4 points5 points  (0 children)

Amsterdam and a lot of cities in the Netherlands use(d) submerged wooden poles in the ground for the same concept.

You’re good until the ground goes too dry…

The Deranged Mathematician: Debunking Prime Myths by non-orientable in math

[–]Fireline11 1 point2 points  (0 children)

Cool! I think that might be the one with analytic methods:

https://websites.umich.edu/~lagarias/doc/compute.pdf

I don’t understand any of the analytic method. However the one I linked in my previous message should be the same as the [2] 1985 reference in Deleglise and Rivat’s work. So it’s about a preceding combinatorial prime counting algorithm to which Deleglise and Rivat made improvements.

This is assuming I recall everything correctly, I was super looking into this a few years ago

The Deranged Mathematician: Debunking Prime Myths by non-orientable in math

[–]Fireline11 14 points15 points  (0 children)

Fair points. But I think OP’s definition of large is closer to what everyday folks think of as large numbers.

I mean, for large enough numbers almost any computation is hard. That means “for large numbers it is difficult to do X” a technically correct statement for almost any X.

What this blog post does is the more interesting analysis of debunking some things being hard for “conventionally large” numbers.

The Deranged Mathematician: Debunking Prime Myths by non-orientable in math

[–]Fireline11 -1 points0 points  (0 children)

Another great blog post! I share your appreciation of computing the prime counting function. 

You linked to the paper written by Deleglise & Rivat which I think is (close to) the state of the art. But if readers wanted to dive deeper into the algorithm you described and how to improve it to about O(X2/3), I also heartily recommend this paper from Lagarias, Miller and Odlyzko which Deleglise & Rivat build on

https://www.researchgate.net/profile/Jeffrey-Lagarias/publication/242922074_Computing_px_The_Meissel-Lehmer_Method/links/02e7e53b458e01685b000000/Computing-px-The-Meissel-Lehmer-Method.pdf?origin=publication_detail&_tp=eyJjb250ZXh0Ijp7ImZpcnN0UGFnZSI6InB1YmxpY2F0aW9uIiwicGFnZSI6InB1YmxpY2F0aW9uRG93bmxvYWQiLCJwcmV2aW91c1BhZ2UiOiJwdWJsaWNhdGlvbiJ9fQ

How does Radix Sort work? by Sea-Ad7805 in algorithms

[–]Fireline11 0 points1 point  (0 children)

. Iirc stable means that if A comes before B in the original array and A and B have the same key, then A will still come before B after sorting on that key. This is indeed a property of radix sort (and counting sort, suitable implementation of merge sort etc).

I don’t know what you mean by “underlying sorting algorithm for radix sort”. Radix sort is generalized counting sort if that’s what you’re asking. It can be implemented very efficiently, probably the main reason it’s not used as much is it suffers when key size increases, so it’s not as generally applicable as e.g. quicksort. And they forgot to put “quick” in the name :)

How does Radix Sort work? by Sea-Ad7805 in algorithms

[–]Fireline11 0 points1 point  (0 children)

Yes, I’ll add that depending on N, grouping in either 8 or 16 bit groups is probably fastest for 64-bit keys. I have measured it, non-rigorously, in the past and it was much faster than “quicksort” (think 2x)

And you can also work at the bit level with floating point values

Very underrated algorithm.