Random Pics, Gifs, and Vids

"Which poll option would make the worst poll?"


  • Total de votantes
    148
  • Encuesta cerrada .
E9XewmJUcAECyjn.jpg
 
Interesting note: there is a maximum number of notifications you can have the counter go up to. If you're ever played old 8-bit games from the NES or Sega master System, this will look familiar.
Ver archivo adjunto 2468999
That's the highest number an unsigned 16 bit integer can hold. Sometimes you might see it as 32767. This is because in CS we sometimes use the first bit (the first 0 or 1) to denote if the following value is positive or negative, which is called a signed integer. If you don't need negative values though (say because you'll never have a negative number of notifications), then it makes more sense to use an unsinged integer, which doesn't use the first bit as a sign and instead to hold values instead.
 
Atrás
Top Abajo