Show newer

@trinsec It's apparently some kind of homeopathy reference. It goes on like this for almost 2000 pages. Maybe it's a prop to convince the mark that there's science involved?

Most languages:

true is a boolean
2 is an integer
2.0 is a double
2L is a long integer

:

TRUE is a logical
2 is a double
2.0 is a double
2L is an integer

For added fun, the last three are displayed the same way (2).

Wat.

Interviewer: Why did you decide to open an Italian restaurant?

Limp Bizkit: 🎵 I did it all for the gnocchi! 🎵

If you're posting a poll on Mastodon, you can make a "choose one" poll or a "choose one or more" poll.

On the website interface, you can switch types by clicking on the voting buttons when you're posting the poll. When they are circles it will be a "choose one" poll, when they are squares it's "one or more".

The official apps don't (yet) support changing this, some of the third party apps may support it though.

#MastoTips #Mastodon #FediTips #Polls

version 4.2.0 is "Vigorous Calisthenics", which sounds an awful lot like "Furious Handwaving".

(Also, make your own 420 joke.)

Wat.

> x <- sqrt(2) ^ 2
> x
[1] 2
> x == 2
[1] FALSE
> x - 2
[1] 4.440892e-16

I recognize that floating point error is an issue, but printing a float as its approximate integer value seems ... perilous.

(Example from Wickham & Grolemund, R for Data Science.)

Tech kvetch 

I've got 20 years of personal photos in Google Photos, which is associated with my work email account. Photos is being deactivated for this account at the end of the month, so I need to download them.

Google has a process for downloading all of your photos:

techadvisor.com/article/743371

(Scroll down to "How to download all Google Photos at once to PC or hard drive".)

I initiated it and am waiting for the email that my archive is ready. The site says they're still working on it.

It's been four days.

@goeland86 That doesn't sound right, but you may know something I don't. In Java, if I say

b = a

then I *expect* them to be the same object. Modifying one *should* modify the other.

@goeland86 I don't know if it happens at a different level (e.g., GC), but within the language, I can't see a parallel to:

b = a
b == a -> true
a.x++
b == a -> false

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.