My first big deception with Julia. 😢
julia> 2^62
4611686018427387904
julia> 2^63
-9223372036854775808
julia> 2^64
0
When using Python:
>>> 2**62
4611686018427387904
>>> 2**63
9223372036854775808
>>> 2**64
18446744073709551616
Now you see why the snake won.
This is amazing!
Dark Energy Spectroscopic Instrument (DESI) Creates Largest 3D Map of the Cosmos
https://newscenter.lbl.gov/2022/01/13/dark-energy-spectroscopic-instrument-desi-creates-largest-3d-map-of-the-cosmos/
> It's a sad thing to be unrequitedly in love, I can tell you. The truth is that I love mathematics and mathematics is completely indifferent to me.
> Oh, I can handle the elementary aspects of math alright but as soon as subtle insights are required, she goes in search of someone else.
-- Asimov, Isaac, "Asimov on Numbers", Exclamation Point! (essay), 1965
> These #chocolate #cherry #brownies are insanely fudge like, gooey, and rich. They take less than 10 minutes to prep and less than 30 minutes to bake.
#recipe
Here is the video of yesterdays dive with the **giant** Hawksbill sea turtle at 0:30 and again at 8:00 (the 8:00 is more interesting so watch it all the way through). If there is one video you check out it should be this one, I very rarely see sea turtles anywhere near this size, he must be close to 100 years old.
Video: https://video.qoto.org/videos/watch/8d0a91f0-e1f1-40ef-bdf7-c9634ba93e05
Dive stats:
https://connect.garmin.com/modern/activity/8086147899
#SCUBA #Dive #Diving #Egypt #SharmElSheikh #MiddleEast #Turtle #seaturtle
QT: https://video.qoto.org/videos/watch/8d0a91f0-e1f1-40ef-bdf7-c9634ba93e05
The #Orange #Almond #Cake You Should Make This #Weekend! 😋
https://www.marilenaskitchen.com/2021/12/09/orange-almond-cake/
Astronomers have for the first time imaged the last moments in the life of a red supergiant star.
Symbolic regression is a thing!? Data making programs and math has been around awhile apparently.
#physics #gravitational_waves #nonlinear #parametric_resonance #china #japan #global #future
Breakthrough in the nonlinear generation of primordial gravitational waves
https://phys.org/news/2022-01-breakthrough-nonlinear-primordial-gravitational.html
(as #promised)
2. Generalizing the function for any number of days:
function allgifts2(days)
dg = [] # daily gifts storage
for d in 1:days
d = sum(1:d) # daily gifts from day 1 to days
push!(dg, d) # storing each day gifts
end
print(sum(dg)) # showing total number of gifts in storage
end
Did The Wise Men (Magi) Arrive 12 Days After Jesus’ Birth?
https://reasonsforhopejesus.com/did-the-wise-men-arrive-12-days-after-jesus-birth-or-much-later/
Happy Three Kings Day
"C'est la guerre qui fait fleurir les #mathématiques appliquées dans toutes sortes de domaines et y convertit provisoirement la quasi totalité des #mathématiciens disponibles : ondes de choc, « surface waves in water of variable depth », calculs "hydrodynamiques" pour les bombes atomiques, dynamique des gaz, optimisation statistique des bombardements aériens, tir contre avions, recherche opérationnelle, etc. Certains mathématiciens de l'industrie commencent à dire (Thornton C. Fry, Bell Labs, 1941) que lesmathématiques "pures" ou "supérieures" ne sont, après tout, que des branches des mathématiques appliquées qui n'ont pas encore trouvé un vaste champ d'applications « and hence have not as yet, so to speak, emerged from obscurity » (12).
...
On fait alors appel, pour le Japon, aux services d'une équipe dirigée par un #statisticien de Berkeley, Jerzy Neyman, qui applique à ce problème et à d'autres des méthodes qui le rendront célèbre après la guerre (13). En 1943, Richard Courant, s'appuyant sur la méthode d'approximation qu'il a utilisée en 1928 avec Friedrichs et Lewy pour établir l'existence de solutions d'équations aux dérivées partielles, explique à Hans Bethe, chef de la #physique théorique à Los Alamos, comment calculer numériquement le comportement d'une sphère de #plutonium comprimée par une onde de choc convergente (Nagasaki) ; de cette technique fortement poussée par von Neumann sortira l'intérêt de celui-ci pour le premier #calculateur #électronique qu'il rencontrera l'année suivante , l'#ENIAC; c'est pour ce calcul que l'on a déjà commandé en 1943 des machines IBM à cartes perforées incomparablement moins rapides. ..."
#Science, #technologie, armement by Roger Godement (pdf)
https://rogergodement.com/gallery/extraits%20de%20la%20pr%C3%A9face%20&%20postface%20int%C3%A9grale%20issues%20de%20analyse%20math%C3%A9matique%20(1997).pdf
...
Care for a #nappuccino?
If a plain #nap just isn't doing enough for you, Banks does have another hack up her sleeve, one that will be especially exciting for #coffee enthusiasts.
"One of our team published a paper last year on the 'nappuccino'," she tells ScienceAlert. "It's basically having a coffee before you have a nap."
Why does this work? Along with other physical effects, #caffeine blocks a compound called adenosine from accumulating in our brains. Adenosine reduces the brain's firing rate, and helps us get to sleep; then, once we do sleep, it's whisked away to start the day (or afternoon) afresh.
So, coffee and sleep together makes you wake up even more refreshed than either alone. Banks loves coffee, and sees it as the easiest sleep hack we all have access to.
"It's a little bit boring in terms of a hack, but there are ways to more strategically use caffeine," she says.
"The average person has a big cortisol spike – a stress hormone – in the morning to get us going. That's a very normal thing. So, we actually don't need to have coffee first thing in the morning, but people want to have it because they feel a little bit sluggish."
Instead, having caffeine in the late morning would help you get through the afternoon, without keeping you awake throughout the night.
As with many other variable traits within our species, some people also just get lucky with their genetic sleep lottery.
"There is a big range – some people need more and some need less. There are some people who naturally can get by with a much shorter amount of sleep," says Banks. You can think of it like a spectrum, similar to normal ranges in height or weight.
"Now, those politicians that say they could get by on just a couple of hours sleep, I don't believe them. I think that maybe they're catching up on their sleep through naps or maybe being asleep in Parliament."
Again it all comes down to naps... even while making decisions for the nation.
Of course, getting less sleep and chugging coffee aren't just about maximizing productivity. Some people have insomnia or anxiety around sleep, and knowing that your health is incurring damage without the right number of hours is unlikely to help quieten the voices in one's head.
So it's reassuring to know that once you do get back to a normal sleep schedule, the brain has a surprising ability to bounce back – and many of the problems associated with sleep deprivation do actually get better.
"To follow up all that doom and gloom, when we change our sleep habits and get more sleep again, we also see that some of those mental and physiological effects go away," says Banks.
Edison, for what it's worth, would fall asleep under his desk or in meetings – sometimes he'd just pass out wherever he was. His wife installed a cot in the corner of his office so he'd at least have somewhere to lie down.
So, the next time you feel like a nap might be a waste of time, remember it's just the opposite. If you can get it, there's truly no better productivity hack than a quick nap.
___
The #Science of a Good Nap
https://www.sciencealert.com/the-cult-of-the-sleepless
Holà !
J'aurais besoin de l'avis d'un statisticien.
Est-ce qu'on peut dire que connaître la variance d'une série de valeurs est inutile en tant que telle si on connaît son écart type ?
Je suis entrain de tester la fiabilité de la méthode de génération de nombres aléatoires du langage Rust (pour le fun), et je cherche des valeurs à calculer pour renseigner de l’homogénéité des valeurs générées.
Existe-t-il un calcul à effectuer pour caractériser cette homogénéité ?
@be well, #coding is my hobby and job, and I have more than enough #projects (though a few are indeed #music-related). Playing music on the other hand, despite both being #creative activities, provides a relaxing #antidote to my brain.
I also enjoy #composing, but since it stains my music time with screen time it rarely gets enough attention to produce something of value.
Okay. Just found the #algebra for the #virus #mutations . (You must start by writing correctly the names of the #Greek #letters.)
formula:
ALFA + BETA + GAMA = DELTA
results:
5305 + 2475 + 6595 = 14375
5305 + 2485 + 6595 = 14385
5395 + 2475 + 6505 = 14375
5395 + 2485 + 6505 = 14385
5705 + 2435 + 6595 = 14735
5705 + 2485 + 6595 = 14785
5795 + 2435 + 6505 = 14735
5795 + 2485 + 6505 = 14785
5805 + 2435 + 6595 = 14835
5805 + 2475 + 6595 = 14875
5895 + 2435 + 6505 = 14835
5895 + 2475 + 6505 = 14875
5305 + 6475 + 2595 = 14375
5305 + 6485 + 2595 = 14385
5395 + 6475 + 2505 = 14375
5395 + 6485 + 2505 = 14385
5705 + 6435 + 2595 = 14735
5705 + 6485 + 2595 = 14785
5795 + 6435 + 2505 = 14735
5795 + 6485 + 2505 = 14785
5805 + 6435 + 2595 = 14835
5805 + 6475 + 2595 = 14875
5895 + 6435 + 2505 = 14835
5895 + 6475 + 2505 = 14875
Code a puzzle 4 Xmas
According to the traditional song, on the first day of Christmas (25th December), my true love sent to me:
On the second day of Christmas (26th December), my true love sent to me THREE presents:
On the third day of Christmas (27th December and so on) my true love sent to me SIX presents:
This carries on until the the twelfth day of Christmas, when my true love sends me:
Puzzle Author: Stephen Froggatt
2. Generalizing the function for any number of days:
```
Meanwhile, I invite you all to post in the comments some solution coded in the programming language of your choice
#math #puzzle #invitation #teaser #programmers #programming #code #christmas #days
Joy to the World is one of the most played #Christmas #Carols - if not the most played - during this season for the last 50 years.
Most people when asked can only repeat the first verse of the lyrics. If you ask them who do they think is the #Lord mentioned there you may get some hilarious answers.
Have you ever noticed how profoundly #Christian are those lyrics?
> Joy to the world! the Lord is come;
Let Earth receive her King;
Let every heart prepare him room,
And heaven and nature sing,
And heaven and nature sing,
And heaven, and heaven, and nature sing.
> Joy to the world! the Saviour reigns;
Let men their songs employ;
While fields and floods, rocks, hills, and plains
Repeat the sounding joy,
Repeat the sounding joy,
Repeat, repeat the sounding joy.
> No more let sins and sorrows grow,
Nor thorns infest the ground;
He comes to make His blessings flow
Far as the curse is found,
Far as the curse is found,
Far as, far as, the curse is found.
> He rules the world with truth and grace,
And makes the nations prove
The glories of His righteousness,
And wonders of His love,
And wonders of His love,
And wonders, wonders, of His love.
Describe myself in 5 tag words:
#mathfolk #programmer #reader #traveller #researcher
header: Cobalt Mirror (Lake Louise), photo by Paul Zizka