purr changed the topic of #elliottcable to: a _better_ cult || topics << 'gamedev'
alexgordon has joined #elliottcable
Sgeo is now known as BillCipher
BillCipher is now known as Sgeo
alexgordon has quit [Quit: Computer has gone to sleep.]
joelteon has quit [Remote host closed the connection]
joelteon has joined #elliottcable
<eligrey>
hey #mac-users, anyone have safari 8?
<eligrey>
i mean this channel pretty much is #mac-users right? :P
<vigs>
basically
<eligrey>
all i want to know is if navigator.hardwareConcurrency is defined in safari 8
<eligrey>
open the console and type that
<vigs>
eligrey: undefined
<eligrey>
vigs: what is your navigator.userAgent
<vigs>
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25"
<eligrey>
ok thanks
<eligrey>
you only copy/pasted navigator.hardwareConcurrency right?
<eligrey>
capital C
<eligrey>
just making sure
<vigs>
no that was useragent
<eligrey>
i mean for
<eligrey>
<vigs> eligrey: undefined
<vigs>
oh yeah
<eligrey>
ok good
<vigs>
oui
eligrey has quit [Quit: Leaving]
oldskirt_ has joined #elliottcable
oldskirt_ has joined #elliottcable
oldskirt has quit [Ping timeout: 244 seconds]
oldskirt_ has quit [Ping timeout: 260 seconds]
oldskirt has joined #elliottcable
alextextual5 has joined #elliottcable
eligrey has joined #elliottcable
alextextual5 is now known as alexgordon
vil has quit [Read error: Connection reset by peer]
vil has joined #elliottcable
eligrey has quit [Quit: Leaving]
eligrey has joined #elliottcable
ec__ has joined #elliottcable
<ec__>
sorry that purr's been down, all
<ec__>
been doing some server shit, and completely forgot that he wasn't configured to start on boot.
ec__ has quit [Ping timeout: 265 seconds]
ec__ has joined #elliottcable
<dskuza>
lol
<dskuza>
purr :(
<joelteon>
if I have a tree whose nodes have 0, 1, or 2 child nodes, and the number of child nodes is randomly generated, how do I figure out what the size of the average tree is?
<joelteon>
wait, wait, no
<joelteon>
it's 0 or 2
<dskuza>
*shudders* trees…
<dskuza>
(height.left + height.right) / totalNodes probably isn't correct is it
<dskuza>
ugh i really need to go over my data structures again :(
<dskuza>
ignore what i said completely cuz i'm stupid
sharkbot has quit [Remote host closed the connection]
sharkbot has joined #elliottcable
<joelteon>
ok it's 50% that it'll be a single node tree
<joelteon>
and I think it's 25% that it'll be one parent and two leaves
<joelteon>
maybe
<dskuza>
oh you meant generically. oops. :P
<joelteon>
right
<joelteon>
i think the distribution of sizes is actually a binary distribution
<joelteon>
that would make sense
<joelteon>
so it's 50% 1, 25% 3, 12.5% 5, and so on
alexgordon has quit [Quit: My iMac has gone to sleep. ZZZzzz…]