Editing Talk:221: Random Number

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
Looks like Java to me too.{{unsigned ip|139.216.242.254}}
 
Looks like Java to me too.{{unsigned ip|139.216.242.254}}
 
:Java code for this would be something like "public static int fin(){}" or just "public int fin(){}". I think the code would still compile though without the public/private part. {{unsigned ip|188.114.106.41}}
 
:Java code for this would be something like "public static int fin(){}" or just "public int fin(){}". I think the code would still compile though without the public/private part. {{unsigned ip|188.114.106.41}}
::I know this comment is from several years ago, but I'll add this just for posterity. The "default" access modifier exists in java and is somewhere in between "private" and "protected". You can only use it by otherwise unspecifying the access modifier.[[Special:Contributions/108.162.215.187|108.162.215.187]] 16:40, 18 July 2016 (UTC)
 
:::To keep up with the tradition to answer year old posts, the method would be "package visible", i.e. all classes in the same package can see and access this method.[[User:Kimmerin|Kimmerin]] ([[User talk:Kimmerin|talk]]) 15:18, 27 January 2022 (UTC)
 
 
:How can Java come to mind when it is pure C syntax, which predates Java by several years and is arguably better known. A feature of most languages is that they have a "C-like syntax". See, a whole page on Wikipedia - http://en.wikipedia.org/wiki/List_of_C-based_programming_languages [[Special:Contributions/122.161.20.238|122.161.20.238]] 19:53, 22 August 2013 (UTC)
 
:How can Java come to mind when it is pure C syntax, which predates Java by several years and is arguably better known. A feature of most languages is that they have a "C-like syntax". See, a whole page on Wikipedia - http://en.wikipedia.org/wiki/List_of_C-based_programming_languages [[Special:Contributions/122.161.20.238|122.161.20.238]] 19:53, 22 August 2013 (UTC)
 
::"C-like syntax" is the best explain, this covers all. Even when I disagree that it's better known than Java these days.--[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 21:04, 22 August 2013 (UTC)
 
::"C-like syntax" is the best explain, this covers all. Even when I disagree that it's better known than Java these days.--[[User:Dgbrt|Dgbrt]] ([[User talk:Dgbrt|talk]]) 21:04, 22 August 2013 (UTC)
 
:::Just to be particularly pedantic, the double slash for the comment (which is generally utilised in object oriented C-style languages) should be avoided in C to retain backwards compatibility with C89, although it's a valid construct in C99. I'd offer, too, that the lack of library inclusion suggests this isn't necessarily Java, though it's been a couple years since I've had the opportunity to code in it. [[User:Thokling|Thokling]] ([[User talk:Thokling|talk]]) 15:35, 20 September 2013 (UTC)
 
:::Just to be particularly pedantic, the double slash for the comment (which is generally utilised in object oriented C-style languages) should be avoided in C to retain backwards compatibility with C89, although it's a valid construct in C99. I'd offer, too, that the lack of library inclusion suggests this isn't necessarily Java, though it's been a couple years since I've had the opportunity to code in it. [[User:Thokling|Thokling]] ([[User talk:Thokling|talk]]) 15:35, 20 September 2013 (UTC)
::::Not really worth putting effort in backward compatibility for stuff a simple regex can fix:<br><code>$ perl -pi.bak -e 's!//(.*)$!/\*$1\*/!' *.c</code> [[Special:Contributions/108.162.229.210|108.162.229.210]] 03:23, 5 August 2015 (UTC)
 
  
 
As a proof of good joke, RFC 1149 was successfully implemented several times. -- [[User:Hkmaly|Hkmaly]] ([[User talk:Hkmaly|talk]]) 08:55, 11 May 2013 (UTC)
 
As a proof of good joke, RFC 1149 was successfully implemented several times. -- [[User:Hkmaly|Hkmaly]] ([[User talk:Hkmaly|talk]]) 08:55, 11 May 2013 (UTC)
Line 22: Line 19:
  
 
:The comic is from February 9, 2007.  The 3.55 firmware was released December 7, 2010. {{unsigned ip|173.245.50.144}}
 
:The comic is from February 9, 2007.  The 3.55 firmware was released December 7, 2010. {{unsigned ip|173.245.50.144}}
 
::Maybe the 3.55 firmware implemented RFC 1149.5 --[[Special:Contributions/172.70.130.109|172.70.130.109]] 20:13, 17 August 2021 (UTC)
 
 
This seems to have turned up in [http://www.smbc-comics.com/comic/set-theory SMBC].  [[User:.42|.42]] ([[User talk:.42|talk]]) 20:00, 18 July 2016 (UTC)
 
 
Possibly turned up in Gravity Falls. Journal 3 (book edition) states that the Infinity-Sided Die can theoretically result in any outcome, but "you'd be surprised how often you'd roll a 4." [[Special:Contributions/141.101.76.46|141.101.76.46]] 04:18, 19 October 2018 (UTC)
 
 
Rewatching Futurama again, I just noticed the season 2 episode "When Aliens Attack" (airdate 7 November 1999) has a throwaway line said by a news anchor: "Once again, today's winning lotto number was four." Wonder if this inspired Randall, or if 4 really is ''the'' standard random integer of our universe. [[Special:Contributions/108.162.245.15|108.162.245.15]] 19:54, 2 July 2022 (UTC)
 
 
--
 
 
Unknowingly or not, this could very well be related to the gif spec. https://www.w3.org/Graphics/GIF/spec-gif89a.txt
 
 
In the graphic control extension part of gif89A, a block size is allowed to be specified. And well... I'll just let the spec speak for itself:
 
 
            iii) Block Size - Number of bytes in the block, after the Block
 
            Size field and up to but not including the Block Terminator.  This
 
            field contains the fixed value 4.
 
 
me: rolls a die
 
 
die: 4 [[User:An user who has no account yet|An user who has no account yet]] ([[User talk:An user who has no account yet|talk]]) 13:36, 5 September 2023 (UTC)
 
 
i have a game that i've played once where i repeatedly open a random xkcd comic until i get one i've already seen because xkcd apparently really, REALLY likes showing me comics i've already seen 3 seconds after i've seen them. anyway, my chromebook almost crashed when i did because it decided to spice up its game a little and give me no dupicate comments, thank you [[User:Certified_nqh|Me]]<sup>&#91;[[285: Wikipedian Protester|''citation needed'']]&#93;[[Category:Pages using the "citation needed" template]]</sup> 06:18, 9 October 2023 (UTC)
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)

Template used on this page: