Vodik_VDK,

I feel like people could benefit from what I know about Butt Stuff™.

Caboose12000,

please, go on

murmelade,

He would, but it’s trademarked.

Caesium,

Rhythm games, 100%. I am a fair bit obsessed with them but I have yet to find a friend who truly Gets It. They either only like music, or they like games. Somehow never the marriage of the two.

flubba86,

I like music, and I like games. But I loathe rhythm games. I’m so bad at them. I have pretty good rhythm in general, but those games kick my arse and frustrate the heck out of me.

funnystuff97,

You know, the more I think about it, the more I realize that osu! was the beginning of things starting to go downhill for me…

Hamartiogonic,
@Hamartiogonic@sopuli.xyz avatar

NA and NULL values.

In R (programming language) they have some interesting differences. You can think of a vector as a train with many cars, and each can hold a number. Let’s say I have train with three cars and I store the number 2, 3 and 5 in them. That would be a normal well behaved vector (2, 3, 5).

I could take away one of those numbers and leave that seat vacant. It could look like this (2, NA, 5).

If I tell you to find the third number in that vector, that’s easy. It’s 5. If I tell you to find the ninth one, that just doesn’t make sense and the answer would be NULL.

So in other words, NA is a vacant seat with no number sitting in it. NULL is a place where there is no seat to begin with.

Acters,

I personally think if you are writing code and you reference outside your memory space, then you should receive an error. I guess a null is already considered an error value, but I think notifying why you got a null would be great.

NA is not applicable or?
I don’t like this approach

Hamartiogonic,
@Hamartiogonic@sopuli.xyz avatar

The best thing about R is that it was written by statisticians. The worst thing about R is that it was written by statisticians.

I guess this NULL thing would be one of those cases.

NA would not be applicable, because it’s a placeholder for a missing value. In data analysis, you tend to have have lots of NA-values, and dealing with them is super common. Every function needs to be able to handle them gracefully. For instance mean(someValues, na.rm=TRUE) would be a command for calculating the mean of a particular vector while igrnoring all NA-values. Super handy. Excel handles these missing values in a very annoying manner, but that’s a topic for another rant.

NULL can be considered an error value, but obviously it’s not very helpful because it doesn’t tell you what went wrong. Obviously, R does have all sorts of error messages, but in this case it just says NULL instead. If you find that some variable has NULL in it, you can be pretty sure something went wrong and it’s most likely due to going outside the space of a particular variable. Likewise interger(0), character(0) or logical(0) are the results you get when you’re searching for something that doesn’t exist. Not really my favorite type of error.

dth,
@dth@lemmy.world avatar

EAS scenario (emergency alert system) videos. love them, don’t know anyone irl who actually like it or even know that it exists.

tbblake,

Zabbix

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines