IRC log for #wowhead on 20110625

00:06.00*** join/#wowhead kadrahil (~kad@unaffiliated/kadrahil)
00:08.53*** join/#wowhead boshi23_ (~boshi23@c-69-142-37-40.hsd1.nj.comcast.net)
00:15.17*** join/#wowhead TNSe (~evil@ti0042a380-1364.bb.online.no)
00:18.04*** join/#wowhead hiromatsu (~nofatchic@wsip-70-166-103-147.ph.ph.cox.net)
00:21.54*** join/#wowhead bien| (~bien@p57B66AF5.dip.t-dialin.net)
00:28.41*** join/#wowhead JunkHead-Work (~Junk@237.sub-174-253-101.myvzw.com)
00:35.43*** join/#wowhead JunkHead-Work (~Junk@237.sub-174-253-101.myvzw.com)
00:43.49fewynanyone having issues with torch juggling?
00:44.49SinespeIt burns.
00:45.11*** part/#wowhead kadrahil (~kad@unaffiliated/kadrahil)
00:45.14pelfsinespe! and fewyn
00:45.15pelfhi :)
00:45.29SinespeHello pelf <3
00:45.46pelfmy favorite snarky priest
00:46.11SinespeI gathered from the mid-sentence exclamation mark. :P
00:47.14pelfhaha, very perspicacious of you!
00:47.19fewynah it seems stormwind just sucks
00:47.25fewyni did it ezpz in ironforge
00:47.25SinespeAnd your horde characters are in a guild called Eating Out.
00:47.25pelf(i had to look that up to make sure i used it right... fun word, though!)
00:47.31pelfhaha yes
00:47.36pelfand alliance in <Dinner Table>
00:47.39pelfeating in!
00:47.44SinespeIn the context of your alliance being in Dinner Table, fine.
00:47.45pelfno double entendre on the alliance side, though
00:47.46robokitte|:
00:47.49SinespeOutside of that context, though ...
00:48.00pelfi admit the double entendre was some motivation
00:48.12Sinespe"some" :P
00:48.14pelfluckily i'm not very noticeable on that server or i might have to rename it :\
00:48.25SinespeHaha
00:48.37robokitteis an ass and reports
00:48.40pelfpicking a guild name is hard
00:48.44pelfglares at robokitte.
00:48.48robokittehrm
00:48.52robokitteIRC have cut off my name
00:48.53SinespeIt just depends on what the ranks are.
00:49.03pelfwith dinner table ... it's very fun
00:49.09pelftable = gm
00:49.20pelfthen placemat, cup, flagon, plate, snack, appetizer
00:49.24pelfmaybe another one
00:49.33robokitty<saw what you did there> attracted many remarks back in the day :<
00:49.41pelfhaha that's a good one!
00:49.57pelfhonestly about the best wordplay guild name i remember is <Come Honor Vashj>
00:49.59SinespeI approve of flagon.
00:50.00pelfobviously not ... kosher
00:50.05pelfbut great wordplay
00:50.16pelfyeah flagon's one of my favorites
00:50.25pelflet's see what eating out's are...
00:50.43Sinespe"Guild Master", I hope.
00:51.01pelfhaha
00:51.23pelfah pooh .. i never came up with any for that
00:51.39SinespeYour task for the evening!
00:51.43pelfwith dinner table, there's a rank for everyone in the guild ... it's just my bank guild with alts from two of my friends
00:52.10pelflet's see if i forgot any
00:52.15SinespeMaybe I should roll a gnome on Gorefiend ... :P
00:52.28pelfoh .. napkin!
00:52.33pelfforgot napkin
00:52.38pelfthat's the lowest rank, obviously
00:52.44robokittyhttp://www.mmad.dk/wow/WoWScrnShot_081706_112915.jpg ah, the days of blatantly exploiting things, even when I wasn't online
00:53.12pelfoh i remember when people kited that to stormwind
00:53.23pelfthat's really a time-honored tradition
00:53.28robokittythat wasn't kited though
00:53.41robokittythat was permanently MC'd
00:54.13robokittyhe even used it to kill Teremus the Devourer: http://www.mmad.dk/wow/WoWScrnShot_081706_094747.jpg
00:54.28pelfpermanently mc'd??
00:54.32robokittyyeah
00:54.44pelfhow'd that work?
00:55.22robokittyyou could duel a priest, then use an MC cap on a Servant, followed by the priest MC'ing you
00:55.49robokittyonce you broke the MC, you had the Servant as a permanent minion
00:55.59pelfoh wow ... now that's freakin' awesome
00:56.14pelfway better than kiting servants of alistarj or whatever they were
00:56.18robokittyyeah
00:56.32robokittyespecially since you got loot rights to whatever you killed :p
00:56.38robokittyas long as you tagged it ofc
00:57.20robokittyhttp://www.mmad.dk/wow/WoWScrnShot_100406_213933.jpg fuck yeah, awesome UI right there
00:58.53SinespeBlessing of Salvation <3
00:58.54pelfwow .. very advanced
00:59.02tateharrmarrmarr..
00:59.15tatewtf is that resolution
00:59.16pelfyeah ... where's di...
00:59.19tatereminds me of '06 ;_;
00:59.20pelfthere it is
00:59.30pelfdi = divine intervention ... di != dark intent, dammit
00:59.31robokittyit was '06 you nitwit :P
00:59.37tateoh
00:59.39tate:3
00:59.43robokitty:>
00:59.47pelfi hate it when people say "give me di!"
00:59.53SinespeDI will always be Divine Intervention.
00:59.56pelfi always think, "why would a paladin want to die.."
00:59.57BlackNetsince when does add's target the tank on toxitron.
00:59.59robokittyyeah, I keep doing a "huh" on that one :P
01:00.08pelftargets me a lot, blacknet
01:00.13SinespeDark Intent will always be "Why the fuck did you just give that to an arcane mage?"
01:00.14BlackNetnever seen that one before. have seen it goto the other tank but never the tank on toxi
01:00.17pelfespecially if i'm running away from something and not exactly in melee range
01:00.33pelfif you can manage to stay in melee range, the chance is pretty slim
01:00.37robokittyI still haven't a clue how we managed to avoid a clusterfuck on our first HC ODS kill
01:00.48BlackNetthat happened 4 times tonight. was teaching some green wanna be raiders the fight tonight and we used omnotron
01:00.50*** join/#wowhead njoos (~njoos_@cm-84.210.109.22.getinternet.no)
01:00.58pelfwe hit a rocky bid of road before we could get an H ODS kill :|
01:01.00robokittyhad a deathgrip with all the adds more or less on top of the cloud, and noone died
01:01.11pelfs/bid/bit/
01:01.20pelfseriously!?
01:01.22robokittyofc, that was right after we had a 100k wipe :S
01:01.24pelfit does the regex replace!
01:01.27pelfthat's AWESOME
01:01.42SinespeWelcome to irc? :P
01:01.44pelfs/[ase]/!/
01:01.53pelfoh um
01:01.55pelfsyntax fail
01:02.08tategod
01:02.08pelfs/[snx]/q/
01:02.19pelfoh lame, it's not really doing regex
01:02.19tate>ase
01:02.27tatein finnish that means weapon @,@
01:02.31pelfnice!
01:02.35tateu r true finn nao
01:02.38tatetake a cookie!
01:02.40pelfbows
01:02.43pelftakes his cookie
01:02.52g0urraI poisoned it
01:02.56tategot ya!
01:03.04Sinespescandanavian cookies are awesome.
01:03.16*** join/#wowhead NiLon (nilon@62-113-191-177.bb.dnainternet.fi)
01:03.16*** join/#wowhead NiLon (nilon@unaffiliated/nilon)
01:04.12SinespeAnyway. Bed.
01:04.13Sinespeo/
01:04.18pelfgnight sinespe!
01:04.22pelfglad i got to talk to you finally!
01:04.27Sinespe<3
01:05.02pelfback to @robokitty 100k wipe: yeah ... i hate those ... but amusingly they're often a good omen!
01:15.50BlackNetanyone know about the archaeology glitch? like has it been fixed yet?
01:16.02pelfwhich glitch is that?
01:16.15BlackNetsome of the epic rares are not showing up
01:16.29rannmanndid curse admit to using NTFS for their SAN?
01:16.58BlackNetwas it the same san that mmo was using?
01:17.32rannmannI assume so
01:17.33pelfyeah i think all the curse network sites are on the same servers
01:17.33*** join/#wowhead njoos (~njoos_@cm-84.210.109.22.getinternet.no)
01:17.42pelfalso lol @ NTFS
01:17.59BlackNetwas a ticket put on for the rares and the responce was they are aware that some of the epics have stopped spawning
01:18.27rannmannmmo-champion had a facebook post a while ago (which they recently deleted I guess, because I can't find it) saying that a 2.1TB file system was taking more than a day to checkdisk
01:18.59*** join/#wowhead TheSkeeziX (TheSkeeziX@c-76-31-241-205.hsd1.tx.comcast.net)
01:19.00BlackNetuhm
01:19.05BlackNetthat's a bad sign right there
01:19.15pelfew though
01:19.26pelfseriously running a SAN on windows? or NTFS at least?
01:19.29rannmannyou'd think they would use a real file system
01:19.32pelfhow about a FS that doesn't fragment...
01:19.37rannmannexactly :P
01:19.53BlackNetfragmentation is irrelevant nowdays for the most part
01:19.56rannmannthey mentioned working with Microsoft and HP
01:20.05pelfyeah, i saw the HP comment
01:20.26rannmannHP doesn't make the best server hardware either
01:20.35BlackNetnope
01:20.39rannmannthey should be using centos/RHEL IMO
01:20.47BlackNetthey do make some good manag s/w tho
01:20.53BlackNetand monitoring
01:21.49pelfHP was really big where i work on the data floor until they went to blades
01:21.56pelfi'm not sure whose blades they're using ... maybe ibm...
01:22.34*** join/#wowhead boshi23_ (~boshi23@c-69-142-37-40.hsd1.nj.comcast.net)
01:22.38BlackNetwhat/where hp went wrong was they bought compaq and forced out the owners of hp
01:22.58pelfyeah that's right ... they used to all be compaq servers
01:23.00pelfiirc
01:23.12pelfbut that was ... like 5 years ago
01:23.15pelfi can't remember that far
01:23.25BlackNetafter that employee takeover or what ever the hell it was their quality went downhill
01:23.56rannmannWhat?
01:24.07rannmannHow would compaq have any right if HP bought them out?
01:24.12rannmannHP would still be in charge
01:24.51pelfhmm, employee takeover? did they pool their stock options or something?
01:25.10pelfthat'd be crazy if a group of employees could come up with a controlling share
01:25.15BlackNetdont know all the details but the owners went out, it was a number of years ago
01:25.50BlackNettrying to rem the names
01:26.00BlackNetand owners is not the right word either
01:28.11pelfyeah i'm not finding anything for ?hp employee takeover
01:29.40pelfmaybe it was when carly fiorina left in 2005?
01:29.51pelfhmm, probably not though, that was supposedly a good thing
01:30.13BlackNetit was some huge shakeup at hp around the time they bought compaq
01:32.33pelfThe merger occurred after a proxy fight with Bill Hewlett's son Walter, who objected to the merger.
01:33.32BlackNetyea
01:33.37BlackNetthinking it was this maybe.
01:33.38BlackNetIn 1999, all of the businesses not related to computers, storage, and imaging were spun off from HP to form Agilent. Agilent's spin-off was the largest initial public offering in the history of Silicon Valley.[23] The spin-off created an $8 billion company with about 30,000 employees, manufacturing scientific instruments, semiconductors, optical networking devices, and electronic test equipment
01:33.38BlackNetfor telecom and wireless R&D and production.
01:33.56pelfhmm
01:34.37pelfso the research and not-server/full-hardware stuff left
01:35.00pelfwell, maybe not research; that's just me extrapolating ... or interpolating
01:35.03pelfwhichever is right
01:36.44*** join/#wowhead Jamash (~Jamash@76.252.184.163)
01:37.40BlackNetIn July 1999, HP appointed Carly Fiorina as CEO, the first female CEO of a company in the Dow Jones Industrial Average. Fiorina served as CEO during the tech downturn of the early 2000s. During her tenure, the market value of HP halved and the company incurred heavy job losses.[
01:37.42BlackNetsee this one?
01:39.18pelfyeah there was some backstory to why they ousted her
01:41.53BlackNetquality droped bad around that time
01:42.52pelfwell, apparently it didn't faze the people who do hardware procurement where i work
01:43.09pelfthough ... government shops tend to have ridiculous brand tunnel-vision
01:43.14pelffor whatever reason
01:44.47BlackNetyou have ppl who want all the same thing so they can cookie cutter mold their shop
01:45.20BlackNetany slight problem with a machine somewhere they pull it and replace it with the same model
01:45.21pelfyeah, i guess that makes sense ... they also used to use a lot of Sun boxes with solaris
01:45.31pelfbut apparently going away from that now to some other distro ... red hat? probably
01:45.39pelfer, some other nix, rather
01:45.44pelfdistro would be the wrong way to say that :)
01:45.47BlackNetslowaris :)
01:46.02*** join/#wowhead ScorpioCRO (~scorpio@cpe-188-129-112-189.dynamic.amis.hr)
01:47.30pelfyeah, maybe so ...
01:47.42pelfbut apparently has a really nice filesystem that's locked to sun due to some licensing thing
01:47.55pelfi can't remember the name right now...
01:48.12BlackNetxfs?
01:48.39nebula169zfs
01:48.56pelfzfs sounds right..
01:49.05BlackNetone of those
01:49.12pelfa solaris admin was explaining the awesomeness of it to me
01:49.15BlackNetused the same crap that tapes used
01:49.24nebula169xfs is from sgi, zfs from sun
01:49.28pelfhe was worried that there wouldn't be a real equivalent when they switched to red hat
01:49.45pelfdo you know if there's something else unlocked by a license issue that does the same stuff?
01:49.58pelfhe said he found lots of filesystems that each did /some/ of the stuff it did, but never one that did it all
01:50.17*** join/#wowhead pompy (~Mike@68.36.135.0)
01:50.19BlackNetext3 :)
01:50.21BlackNetducks
01:51.12pelfhmm
01:51.36pelfi suggested he enact a policy of only using filesystems designed by programmers who killed their wives and tried to get away with it
01:51.38pelfreiser!
01:51.42pelfor rieser .. or whatever
01:53.46BlackNeti still have clients that use os/2 warp
01:54.11pelfwow
01:54.34pelfwell, it was pretty advanced for its time, wasn't it?
01:54.37pelfi'm not too familiar
01:54.44BlackNetruns this but 150k machine that does nothing but take measurements
01:54.46pelfbut i find it hard to believe that now is still its time
01:55.00BlackNetit was sabotaged by microsoft in the coding
01:55.18pelfahhh ... ye olde box that works as it is and we don't have the money or the abilty to rewrite the app that only runs on it situation
01:55.33tatemission complete and honorcapped myself
01:55.44tatenext going o lvl rogue to 85 from 84 and getting capped \o/
01:56.23pelfi capped out mid 70's on my rogue ... i've been trying to figure out what to do with the honor
01:56.34pelfi think converting to JP will be a start ...
01:56.34tatehttp://bit.ly/kYTigW :3
01:56.53pelfi hate that you can't buy honor gear with a higher level requirement than your level
01:56.57*** join/#wowhead raspy (raspy@c-24-7-109-167.hsd1.ca.comcast.net)
01:57.04tateyeah idd :P
01:58.35pelfhttp://www.wowhead.com/itemset=-14#comments:id=1420269
01:58.45pelfss at the bottom
01:58.50tateye, i know
01:58.57pelferm well it doesn't show the honor cap
01:58.58pelflol
01:59.38*** join/#wowhead arcanium (~michael@c-71-56-53-184.hsd1.ga.comcast.net)
02:22.48*** join/#wowhead `vip (~denied@24.38.131.206)
02:28.18*** join/#wowhead yarddog_ (~yarddog@belencomputers/staff/yarddog)
02:30.08Inc`Anyone else having artifacting issues with WoW when you have SLI enabled?
02:36.56*** join/#wowhead Shigy (~user@219-90-253-117.ip.adam.com.au)
02:50.41tatewhich cards do you have?
02:50.53tateblame the temp >:D
02:55.01Stormkittymfw people use SLi for *WoW*
02:55.06Stormkittythe game with 6 year old graphics
02:55.07Stormkitty:D
02:56.49tatewell the engine is renewed for dx11, rite? :p
02:57.00tateas everything ultra the sli would be pretty cool upgrade for me too tho
02:57.10tatei mean, crossfire in my situation since i have 3x22"
03:00.51Stormkittymfw there's a Swiss hockey player being drafted into the NHL this year
03:00.59StormkittyMFW THE SWISS HAVE HOCKEY PLAYERS IN THE NHL
03:03.59*** join/#wowhead Jamash (~Jamash@76.252.184.163)
03:06.27LugburzStormkitty: lol the word is going to end
03:06.39StormkittyLugburz I know eh
03:06.48Stormkittythe league dominated by Canadians, Americans and Swedes
03:06.53Stormkittyapparently has other nationalities in it
03:07.21StormkittyAlso this is the most fucked up music ever
03:07.38tate:p
03:07.46tatefinn :}
03:08.12Stormkittyoh yeah Finns too
03:08.16Stormkittythey got awesome players like
03:08.17StormkittySami Salo
03:08.26Stormkittythe most injury prone defenceman in NHL history
03:08.29tatenever heard of it, don't watch hockey :D
03:08.54Stormkittytate but seriously you look at the NHL entry draft it's like
03:09.00StormkittyCAN SWE CAN CAN CAN CAN SWE SWE SWE
03:09.02Stormkittythen you see
03:09.03StormkittySWISS
03:09.06tate:>
03:09.07StormkittyCOMBO BREAKER
03:12.29tatei know just few finnish players and that's all - everything else doesn't tell me a shit
03:12.53tateteemu selänne, jari kurri (i'm not even sure if he was a hockey player lol), mikael grandlund and ruutu 1&2 ö_ö'
03:12.58tatethat's like all i know
03:13.12StormkittySami Salo is one of the only ones I know of
03:13.17Stormkittymainly because he plays on my city's team :D
03:13.23tatehehe
03:13.38Stormkittysports writers here joke about his injury history all the time
03:13.49Stormkitty"Sami Salo is the only player required to take the emergency chute when exiting the plane"
03:13.56tate:D
03:14.12Stormkittygreat defenceman though, plays like a champ for his age
03:14.44StormkittyHe's 36 now, the guys getting drafted this year, he's old enough to be their dad
03:15.25*** join/#wowhead methyl (~Miranda@c-67-189-55-147.hsd1.or.comcast.net)
03:15.46StormkittyHis slapshot terrifies me though, I'd never want to be in the way of it
03:15.49Stormkittysup 164kph
03:19.49tateHisss word, FILLS me, MY BLOOD IS VENOM, AND YOU WILL BATHE IN THE GLORY OF THE SNAKE GOD!!!
03:22.13*** join/#wowhead mascond9 (~mascondan@50.55.177.150)
03:26.03pelfomg .. i left for a bit and now we're talking about sports :|
03:39.59*** join/#wowhead Lugburz (~sexyface@c-76-104-157-22.hsd1.wa.comcast.net)
03:52.25Mr_Rabiesdoh
03:52.29Mr_Rabiescurse is still down
03:52.38pelfstill? they were sort of up earlier...
03:52.43pelfthe client worked for me
03:56.07tate:P
03:59.39Inc`tate: 2x 460
03:59.55Inc`Stormkitty: I play many more games other than WoW :P
04:00.08Inc`I am just too lazy to turn it off every time since I have to kill my G15 applet and firefox every time
04:00.42tateö_ö
04:04.14Stormkittyhttp://www.nytimes.com/2009/01/25/magazine/25desire-t.html mfw I read paragraph 4 of this article.
04:06.22*** join/#wowhead nmsiz (~none@h70n5-e-a12.ias.bredband.telia.com)
04:15.03tatelmao
04:15.22tateJoel Armia @Buffalo Sabres
04:15.24tatenever heard tho
04:16.24pelfi learned what vaginal transudation is
04:16.49pelftransude (verb) to pass or ooze through pores or interstices, as a fluid.
04:16.55pelfi guess sweat transudes your skin
04:19.47Lugburzlol
04:21.19*** join/#wowhead JunkHea19 (~Junk@237.sub-174-253-101.myvzw.com)
04:46.07*** join/#wowhead solocommand (solocomman@68-185-170-78.dhcp.mdsn.wi.charter.com)
04:52.34*** join/#wowhead candg (~candg@pool-96-252-144-134.tampfl.fios.verizon.net)
05:08.59*** join/#wowhead Jamash (~Jamash@76.252.184.163)
05:18.58*** join/#wowhead Bibi (~Bibi@unaffiliated/bibi)
05:32.49*** join/#wowhead arcanium (~michael@c-71-56-53-184.hsd1.ga.comcast.net)
05:34.42Corganwhoa whoa whoa
05:34.43CorganRecruit-A-Friend now awards bonus experience and free level grants to level 80, up from level 60.
05:34.44Corganwhat
05:34.49pelfwtf?
05:34.54pelfso yea ...
05:35.31pelfthat's interesting
05:35.50Corganalso, what's up pelf
05:35.54Corganlong time no see
05:36.01pelfque pasa?
05:36.05Corganif you even remember me from dem forums
05:36.18Corganshrugs
05:36.21pelfi think i remember the name .. let's see
05:37.20pelfwow it was a while ago you made a lot of posts
05:37.43pelfI <3 U SKO
05:37.47CorganI havn't played for a while :p
05:37.50pelf2009-08-05
05:38.05pelfah, the old quit wow so forums not as relevant trick
05:38.22CorganThat and I stopped working/volunteering for the site
05:38.23pelfwhat have you been up to? with what did you replace the time wow took up?
05:38.36pelf(oh i see .. blogger role)
05:38.39CorganSchool
05:38.46CorganCollege
05:38.47Corgan;D
05:38.55Corganand I moved :D
05:39.07pelfoh well that was a good move on your part
05:39.15pelfunfortunately i didn't quit Diablo 2 when i went to college
05:39.27pelfi wasted a lot of time with that ... probably didn't help my grades that muc
05:39.28pelfh
05:39.53CorganIt's uh, computer programming course
05:40.00Corganwhich, for me, has been a snoozefest
05:40.20CorganJavalol
05:40.21pelfi majored in Computer Science which was .. C++ at that school
05:40.39pelfi can't take any programming curriculum seriously if the language it picks is garbage collected :|
05:41.06CorganLater on it goes into C, etc
05:41.16pelfhmm .. what do you think about the order of that?
05:41.24Corgangoing from Java to C?
05:41.29pelfwouldn't it be better to learn the memory management first then see how a GC'd language works?
05:41.31pelfyea
05:41.37CorganConsidering the majority of the people coming into the course didn't know how to code
05:41.46CorganI figure it's a good idea to get the concept of coding in their heads
05:42.05Corganotherwise they would just get lost
05:42.13pelfhmm, well they managed it at Tech!
05:42.21Corgan:p
05:42.24pelfbut their CS program did have a very high attrition rate
05:42.42CorganI'm going to BCIT
05:42.45Corganup in ol canada
05:43.08pelfah, programming, eh? :)
05:43.16Corganmmhmm
05:43.38pelfthe 'eh' thing wouldn't be as funny if it weren't so true
05:43.45pelfall the canadians in my guild say it
05:44.13Corganyeh
05:44.17pelfso what year are you?
05:44.29CorganFirst :D
05:44.33CorganI started in January
05:44.47pelfoh nice, still bright eyed and bushy tailed
05:45.03pelfso what's the curriculum like? what did they start with?
05:45.18CorganBasic Java programs
05:45.23Corganand Web Development
05:45.57CorganI spent the whole term sleeping and playing league of legends
05:46.00pelflol
05:46.10raspyyawns.
05:46.14pelfso did they start with e.g. this is a for loop, these are control of flow statements/
05:46.36CorganI don't actually remember the order the stuff was taught
05:46.40CorganI wasn't paying attention
05:46.40Corgan=\
05:47.02CorganKnowing everything beforehand helps
05:47.29pelfyeah .. for sure
05:47.43pelfi had a little bit of experience with c/c++ before
05:47.48pelfand i had been hacking at javascript for a while
05:47.52pelfBASIC :)
05:48.14CorganI have a lot of experience with numerous programming languages
05:48.22pelfmy programming courses are the only ones i got As in without fail
05:48.24Corganso I've really just been helping classmates
05:48.30pelfah that's nice of you :)
05:48.44pelfamusingly also the classes i attended the least, very nearly
05:50.00CorganThere was a 5 week course after the first 15 weeks
05:50.11Corganthat was programming the Lego Mindstorm robots
05:50.28pelfnice!
05:50.29Corganto compete in a small tournament type of thing
05:50.35CorganWas pretty fun
05:51.11CorganBut it's summer now :D
05:51.27CorganI've spent my days decompiling facebook games and writing bots for them
05:51.33pelfyou're not doing a summer semester? haha yea! nice
05:51.54Corgannah, no summer semester
05:52.00CorganThey only offer some courses
05:52.12Corganand I figure I don't really need the extra time during the next term
05:52.22Corganand it would be nice to spend some time visiting places with my gf
05:52.32pelfyeah man, enjoy the empty summers
05:52.34CorganI havn't been back here in vancouver for a few years
05:52.46pelfi can't imagine what it would be like to have a whole summer off
05:52.50CorganI qualified for Co-op too
05:52.58Corganso next january it's an 8 month co-op job
05:52.59Corganwith pay
05:53.14Corganwhich will be nice
05:53.53pelfooh neat .. i've heard of those co-op as a semester things
05:54.07Corganbut yeah, I've just been breaking facebook games
05:54.13pelfi had internships pretty much every summer i was at college so the last free summer i had was ... the summer of 1999
05:54.15blademeldpelf: you're starting to sound old lol
05:54.15pelflol
05:54.20Corganin one of them I managed to log into the game using an admin's account
05:54.24pelf@bm i just cemented it :)
05:54.26blademeldCorgan: lol
05:54.39Corgancan't access the dev servers, but I can use his account on the live server
05:54.46Corgancan't change anything, or anything like that
05:54.49Corganbut it's still pretty lol
05:55.06blademeldCorgan: how did you figure out the pw?
05:55.17blademeldpower word: fortitude
05:55.31pelfalso .. HI BLADEMELD
05:55.36CorganThey also implemented a speed-hack detection because I emulated the game client when it was connected to the arena server
05:55.48blademeldpelf: lol
05:55.50Corganand I was teleporting around and winning games
05:55.59Corganblademeld, apparently you can log into the game with just the user id and hash
05:56.00pelfi never thought i'd get to talk to you in real time!
05:56.08Corganand they had a "test user" id and hash in the swf file
05:56.16Corganso I used that and logged in
05:56.30pelfnot so 'test'y?
05:56.34blademeldCorgan: LOL
05:56.45blademeldpelf: haven't we chat before?
05:57.03pelfi don't think so!
05:57.06blademeldhuh
05:57.08blademeldis that right
05:57.09pelfi don't get on irc very often
05:57.18pelflast time i did was like ... over 2 years ago iirc
05:57.22pelf(lol @ iIRC)
05:57.48blademeldthanks to Raws, I'm on IRC 24/7!
05:58.06blademeld(me uses this opportunity to ping Raws for no reason)
05:58.09blademelderr
05:58.09JunkHea19wow. people talking.
05:58.14Corganblademeld
05:58.14blademeld<PROTECTED>
05:58.21blademeldJunkHea19: long time no see
05:58.21CorganI've been trying to figure out a way around the speed hack detection
05:58.27pelfs/ping/plug/ ?
05:58.27Corganbut I havn't done too much with it yet
05:58.28Corgan:p
05:58.28blademeldCorgan: in WoW?
05:58.31Corganni
05:58.31Corganno
05:58.34Corganbushwhacker
05:58.36blademeldah
05:58.37blademeldlol
05:58.56blademeldI thought you had it automated, no
05:58.57blademeld?
05:59.05Corganyes
05:59.06CorganI do
05:59.22Corganbut I did it in a way that kind of just sent a "WHACK BUSH" packet
05:59.26Corganwithout walking towards it
05:59.39blademeldyes, like you did in ZL
05:59.54pelfhave you gotten any pelf from your facebook hacking?
06:00.04Corganhttps://gist.github.com/ee8c06ce857fe51e8ebb
06:00.05Corganhonk
06:00.24CorganRuby best language
06:00.34pelfis it significant whitespace?
06:00.37pelfi don't know anything aboutit really
06:00.41Corganbindata best gem
06:00.42Corganhttp://bindata.rubyforge.org/
06:00.54JunkHeadalso, hello all.:)
06:00.58JunkHeadim slow tonight.
06:00.58pelfhiya
06:01.07blademeldruby is beautiful
06:01.12CorganI dunno how to describe it pelf
06:01.23pelfwell, for example: python has significant whitespace
06:01.28CorganIt's fun to code in ruby
06:01.50Corganbecause everything is just so easy to accomplish
06:01.52pelfthat is .. blocks are defined by indention
06:02.15Corganno, there's not
06:02.22pelfok
06:02.37pelfactually if i had just scrolled down i would have noticed that was the case
06:02.38pelfderp
06:02.51Corganhowever, this is lovely
06:02.53Corganbreak if whackTargets.empty?
06:03.00CorganwhackTargets is an array
06:03.07Corganif it's empty, it breaks from the loop
06:03.08Corgan:D
06:03.39blademeldlol, my new MP3 uses TransFlash cards for storage
06:03.40blademeld:/
06:04.15Corganblademeld, my bushwhacker bot is 599 lines of code
06:04.19CorganI need one more line :(
06:04.26pelfif (whackTargets.Count == 0) break;
06:04.57Corganpelf
06:05.03pelfcorgan
06:05.03CorganrepeatableQuests = completedQuests.map { |quest| quest if quest['cooldown'] != -1 }.compact
06:05.10blademeldCorgan: documentation line
06:05.24CorgancompletedQuests is an array of hash objects
06:05.29blademeldsomething along the lines of "I'm whacking your bush"
06:05.33Corganmap takes the array
06:05.44Corganand replaces the entry with whatever is returned by the block
06:06.14Corgancompact removes all the nil entries in an array
06:06.20blademeld:ooooooooo
06:06.25blademeldFlash CS5
06:06.30blademeldgoing to have so much fun
06:06.59pelfhmm
06:07.31Corgan<PROTECTED>
06:07.32Corganstuff
06:07.32Corganend
06:07.34pelfvar result = completedQuests.Where(q => q != null && q.Cooldown != -1);
06:07.35pelfthere :)
06:07.41Corganung
06:07.58Corganlets see
06:08.13pelflambda expressions and the linq framework are awesome
06:08.19pelfheavy use of extension methods
06:08.50Corganhttps://gist.github.com/a48b612c147df605657a
06:08.51Corgandelicious
06:09.17CorganThat basically takes an array of objects
06:09.21Corganand converts them to the proper format
06:09.24Corganbased on their class
06:09.40Corganso, for a normal number, it puts the id as the number
06:09.47Corganenergy as the absolute value of the number
06:10.15Corganfor the string, it splits the string and puts the proper values where they belong
06:10.21Corganand then it compacts the array :D
06:10.45Corgannow, where is that book
06:10.57Corganpelf, http://mislav.uniqpath.com/poignant-guide/
06:11.00CorganRead that
06:11.06Corganit explains ruby
06:11.15BlackNethttp://wetlands.simplyaquatics.com/v/wow/WoWScrnShot_060711_160859.jpg.html
06:11.22pelfthe postfix conditional is cool
06:11.54pelftest
06:11.56pelfzz
06:12.07pelfno way to type multiple lines and then send them all? is it control enter?
06:12.09pelfsdf
06:12.13pelfasldf
06:12.13pelfahh alt
06:12.22Corganlol
06:15.48pelfif (target.GetType() == typeof(int) && target > 0)
06:15.49pelf<PROTECTED>
06:15.49pelfelse if (target.GetType() == typeof(string)
06:15.49pelf<PROTECTED>
06:15.49pelf<PROTECTED>
06:15.49pelfendif
06:16.01pelfbleh .. but that doesn't do what yours did .. i'd have to put the conditions into a select call
06:16.05pelfwhich doesn't look pretty
06:16.16Corgan:p
06:16.17Corganyeah
06:16.38CorganFun stuff though!
06:16.42Corganread that guide to ruby
06:16.53CorganI picked up the language overnight
06:16.56Corganwhile reading that book
06:17.19CorganIt's great for coding small snippits
06:17.49pelftargets.Select(t =>
06:17.50pelf<PROTECTED>
06:17.50pelf<PROTECTED>
06:17.50pelf<PROTECTED>
06:17.50pelf<PROTECTED>
06:17.50pelf<PROTECTED>
06:17.50pelf<PROTECTED>
06:17.51pelf)
06:17.51pelfthere
06:17.59pelfignore the fact that targetInfo is undefined .. that's a detail :)
06:18.07Corgan:p
06:19.05pelfwhat's teh difference between
06:19.18pelf"restaurant".include "aura" and "restaurant".include? "aura"
06:19.20pelfor does the first mean nothing
06:19.48CorganThe first doesn't do anything
06:19.55Corganthe ? just means that it should return a true or a false
06:20.00pelfso include is .. what .. like a method/function on string?
06:20.09Corganyeah
06:20.23Corganhttp://www.ruby-doc.org/core/classes/String.html#M001178
06:20.36pelfi like that v = "Dog" if animalType = 3
06:20.37CorganYou don't have to have it end in ?
06:20.38pelfthat's neat
06:20.48pelfor .. probably ==?
06:20.51Corganbut it's just how things are defined
06:21.02Corgankind of like uh
06:21.05Corgangsub vs gsub!
06:21.11Corgangsub returns a new string
06:21.15Corgangsub! modifies the original string
06:21.19pelfhmm .. what language is that? perl?
06:21.31Corganhttp://www.ruby-doc.org/core/classes/String.html#M001186
06:21.43pelfonly perl distinguishes functions and variables with fuggin' punctuation
06:21.46pelfand apparently ruby :)
06:22.03CorganYou don't need to do that though, it's just a way of defining functions
06:22.37*** join/#wowhead Gary|tf (~AndChat@67-7-73-63.frgo.qwest.net)
06:22.57pelfcan you do v = "  hello" / v = v.lstrip! ?
06:23.07pelfdoes it modify the string AND return it?
06:23.30Corganyou could
06:23.38pelfmeaningless statement, of course
06:23.47Corganz = v.lstrip!
06:23.52pelfv = v.lstrip would make more sense, but the ! shortcut is cool
06:23.55Corganz would == v
06:24.01Corganor you can just do
06:24.06Corganv.lstrip!
06:24.10Corganwithout a variable declaration
06:24.11pelfyeah .. that's neat
06:24.12Corganand v would be modified
06:24.18pelfbut you say that's just a namin convention?
06:24.22Corganyes
06:24.35pelfit's not actually doing anything grammatically to have an ! at the endof your method name
06:24.40Corgannope
06:24.42pelf(method = .net developer lol >_>)
06:24.52CorganIt's just like
06:24.57Corganif you're writing a library
06:25.07Corganyou SHOULD follow the same naming convention
06:25.29pelfso the ? for returns bool
06:25.34pelf! for modifies the LHS
06:25.40Corganyep
06:25.41pelfwhat else is there?
06:25.54CorganThat's all I can think of
06:26.39pelfsymbols ..
06:26.43pelf:something
06:26.47pelfit's like a ... what ...
06:26.55pelfan enumerated type's member?
06:27.25CorganI'm not really sure how to define symbols
06:27.26pelfwhat would you use it for
06:27.32pelfit says they start with a colon
06:27.44CorganI use it for hashes
06:27.47pelfLOL .. constants are capitalized!
06:27.50Corganlike
06:27.51pelfthat's some shorthand for you
06:28.16Corgan{:uid => "blah", :id => "test", :stuff => 12432}
06:28.23Corganas opposed to using strings as keys
06:28.38pelfah .. okay
06:28.51pelfis there a functional difference between a hash with integer keys and an array?
06:29.21CorganI'm not actually sure :D
06:29.23*** join/#wowhead Jamash (~Jamash@76.252.184.163)
06:29.29pelfhow do you define an array?
06:29.40Corgan["stuff", "stuff2"]
06:29.51pelfhmm
06:30.07pelfis there an online ... mm, i'll find it
06:30.13Corgan:p
06:31.36pelfwhat's the string concatenation operator?
06:32.06Corganstring + otherString
06:32.22pelfokay, and what's the equivalent of object.ToString()
06:32.26Corgan.to_s
06:32.29pelfis it just ..k
06:32.47Corganstr = "hello "
06:32.50Corganstr << "world"
06:32.56Corganstr.concat(33)
06:33.01Corganputs str
06:33.02Corganwould be
06:33.03pelfa = ["hi", "there"]
06:33.03pelfh = {0 => "hi", 1 => "there"}
06:33.03pelfprint a.class.to_s + "\n"
06:33.03pelfprint h.class
06:33.03pelfArray
06:33.03pelfHash
06:33.05Corgan"hello world!"
06:33.08pelfso, yeah they are different
06:33.24*** join/#wowhead mascond9 (~mascondan@50.55.177.150)
06:33.29pelfwow you can use << to assign stuff ... is that the stream writing operator?
06:33.32*** join/#wowhead Sonka (~Sult@145.236.184.250)
06:33.32pelflike it is in c++?
06:33.49Corgan<< is just a method
06:34.03Corganarr = [5, 2, 8]
06:34.06Corganarr << 9
06:34.11pelfso you don't have to put parenthesis on method calls?
06:34.14Corganarr would be [5, 2, 8, 9]
06:34.15Corganno
06:34.25pelf"concatenate ".concat "me"
06:34.31pelfhmm
06:34.32Domhdouble checks the channel title
06:34.38pelf@domh lol :)
06:34.41pelfcorgan baited me into this
06:34.44Corganpelf, that would work
06:34.44Domhlol
06:34.47Corgan:D
06:34.57pelfso << is a function? what's it defined on?
06:35.24DomhOh, ruby.  That's why I don't recognize it.
06:35.26CorganAnything that would logically use it
06:35.31Corganhttp://www.ruby-doc.org/core/classes/String.html#M001173
06:35.38Corganhttp://www.ruby-doc.org/core/classes/Array.html#M000225
06:36.10pelfa = ["hi", "there"]
06:36.10pelfh = {0 => "hi", 1 => "there"}
06:36.10pelfa << h
06:36.10pelfprint a
06:36.10pelfhithere0hi1there
06:36.11pelflol
06:36.23pelfso ..
06:36.26Corgando uh
06:36.28Corganprint a.inspect
06:36.37pelfa.<<(h)
06:36.39pelfthat works too
06:36.41Corganyes
06:36.42pelfthat's very interesting
06:36.45pelfdo you not have to put the dot either?
06:36.50pelf"hi" concat " there"
06:37.01CorganI don't think so?
06:37.07Corganhmm
06:37.15Corganoh, maybe you do
06:37.15pelfLine 4: syntax error, unexpected tIDENTIFIER, expecting $end
06:37.19CorganI think for some of them you do
06:37.19pelfso << is special
06:37.20Corgansome you don't
06:37.25Corganyeah =\
06:37.37pelfah inspect is better
06:37.42CorganI think symbols are special
06:38.00pelf["hi", "there", {0=>"hi", 1=>"there"}]
06:38.04pelfso it appended it and ...
06:38.14pelfit's still an array
06:38.18pelfwith a hash in the last position
06:38.20Corganyes
06:38.37pelfso can you strongly type an array? or is that just too against what ruby stands for?
06:38.43Gary|tfYes, << is special.
06:38.46CorganYou can't
06:38.48CorganI don't think
06:38.54pelflike v = [1, 2] : Fixnum
06:38.54Gary|tfSo are []. And + and - and etc.
06:38.55pelfor something
06:39.08Corganyou could make sure that you only get Fixnums from an array
06:39.13Corganby doing a collect and compact
06:39.17Corgan:p
06:39.36Gary|tfThere's no reason for strong typing, pelf
06:39.44pelfyeah i heard ruby doesn't do that
06:39.46Corganv = [5, 8, 1, "test", 3].collect { |i| i if i == Fixnum }.compact
06:39.52Corganthat would return [5, 8, 1, 3]
06:39.53CorganI think?
06:40.02Corganor not
06:40.20Gary|tfYou'd need i if i.is_a? Fixnum
06:40.23Corganoh
06:40.25Corgani.class
06:40.35Gary|tfor i.is_a?
06:40.41Gary|tfconv methods exist for a reason :P
06:40.48Corgan[5, 8, 1, "test", 3].collect { |i| i if i.class == Fixnum }.compact
06:41.05CorganThat would strip anything that isn't a fixnum from the array
06:41.11pelfi see, so it does
06:41.11Corgan:D
06:41.12Gary|tfUse i if i.is_a?, damnit.
06:41.16CorganNO
06:41.19Gary|tfYES.
06:41.26pelfi'd probably use is_a
06:41.31Corgan:p
06:41.33pelfsince the .net equivalent is ...
06:41.33Corganofc
06:41.39Corgan[5, 8, 1, "test", 3].collect { |i| i if i.is_a? Fixnum }.compact
06:41.45pelfi.GetType() == typeof(int) versus i is int
06:41.50pelfand the latter is prettier
06:42.09pelfis also deals with inheritance, i think
06:42.21pelfi think you can get a true from is for a variable is baseType
06:42.26pelfeven if it's really a derived
06:43.09Gary|tfcan't you just do .map { |i| i if i.is_a? Fixnum }
06:43.12Gary|tfand drop the compact
06:43.21Corganoh, does map strip nils
06:43.22Corgan._.
06:43.27Gary|tfI don't have irb atm
06:43.32Gary|tfsilly android netbook :(
06:43.41Corganruby-head > [5, 8, 1, "test", 3].map { |i| i if i.is_a? Fixnum }
06:43.42Corgan<PROTECTED>
06:43.57Gary|tfdang :(
06:44.29Gary|tfoh wait I have ssh :D
06:44.47Lugburzpets Gary|tf
06:44.56Gary|tfsup dood
06:45.05LugburzNOT MUCH BRO
06:45.55pelfhm,m they list map and collect in the same place in the docs
06:46.15pelfbut don't differentiate them
06:46.17pelfin terms of functionality
06:46.20pelfbad docs!
06:47.20Gary|tfderp
06:47.26Gary|tfmap and collect are the same functions, pelf
06:47.27pelfno, map doesn't
06:47.29pelfyeah
06:47.30pelfthat :)
06:47.31Gary|tfI was thinking of .select
06:47.32pelfi just tested it
06:47.43Gary|tfselect will ignore the value if it is false
06:47.46pelfah there we go .. select does it
06:48.00pelfare there templates in ruby?
06:48.05pelfsingle or multiple inheritance?
06:48.12Corganlol pelf
06:48.21Corganv = "test"
06:48.22Corgandef v.test; self.gsub("e", "u"); end
06:48.25Corganv.test
06:48.26Corganv
06:48.30Corganrun that in irb
06:48.32Corgan;D
06:49.22pelfcodepad.org doesn't have a problem with it :)
06:49.24Gary|tfsingle inheritance, pelf
06:49.27Corganor that too
06:49.33Gary|tfbut it can be extended via modules
06:49.51pelfare modules like ... interfaces?
06:50.02Gary|tfI have no idea, I'm not a .net faggot.
06:50.08Gary|tfchecks the channel he's in
06:50.09pelfouch :|
06:50.19pelfhey java has interfaces too
06:50.20Gary|tfi mean... .net... lover...?
06:50.40Gary|tfRegardless, ew .net and ew java :P
06:50.45Corganlicks Gary|tf
06:50.51pelfc# is really awesome
06:50.54pelfimo :|
06:51.01Lugburzhey any streamer here want to help me?
06:51.04Lugburzkiante I neds hap
06:51.06Lugburzwat
06:51.08Lugburzfuck me
06:51.10Lugburz:|
06:51.14Corgan.
06:51.15Lugburz^^^^ignore wrong window
06:51.58Gary|tfpelf it may very well be, but until they even acknowledge *nix, I won't even bother :P
06:51.58DomhOkay.  Was gonna say I wasn't going to help you with that, sorry :p
06:52.04pelfmono?
06:52.16pelfi mean, they didn't make it, yea
06:52.18pelfbut it's there!
06:52.25Gary|tfWorks on about 1% of applications, wooo
06:52.26pelflagging behind, like it does
06:52.34pelfdoes it really? i haven't actually played with it
06:52.48Gary|tfSupport is pretty terrible unless you develop the app with mono in mind.
06:53.08pelfbleh, that's crap
06:53.25pelfwell, yea, so it doesn't support *nix ... i guess that sucks, conceptually
06:53.46pelfooh, regex syntax go!
06:53.55Gary|tfregex in ruby is nice.
06:54.07pelfis it very fully featured?
06:54.15pelflike .. negative positive lookahead/behind
06:55.21Corganregex is lovely in ruby
06:55.55pelfwell i'll test it, let's see
06:56.15Gary|tfI've never had to use lookahead or behind, so I can't say for sure.
06:56.21CorganI dont' think it does?
06:56.31Corganoh, I guess it does support it in 1.9
06:57.12Gary|tfLookahead is supported for sure, behind isn't working for me
06:57.17Gary|tfbut I'm probably just tired.
06:58.11pelfwhat is =~ ?
06:59.20*** join/#wowhead Srosh (~Srosh@d070222.adsl.hansenet.de)
06:59.49Gary|tfregex operator, pelf
07:00.07pelfspecifically for regex? does it work with anything else?
07:00.31Gary|tffor regex. you might be able to override, I haven't tried.
07:00.34Corgan<PROTECTED>
07:00.34Corgan<PROTECTED>
07:00.35Corgan<PROTECTED>
07:00.37Corganom nom nom
07:00.38Gary|tfbut it just checks if the string matches the regex
07:00.43CorganI love =~
07:00.57CorganIt makes things lovely
07:01.04Gary|tfYou can do $1 instead of $~[1].
07:01.08Corganyeah
07:01.09CorganI know
07:01.15Gary|tfKay.
07:01.18CorganI just tend to use $~
07:01.25CorganYou know what I love Gary
07:01.30Corganis using regex for case
07:01.30Corgan:D
07:01.32Gary|tfme?
07:01.34Gary|tf:3
07:01.38Corganthat too
07:01.49Corganfor example
07:01.51pelfwhat's the difference between $ and $~
07:01.52pelf?
07:01.55Corgan<PROTECTED>
07:01.55Corgan<PROTECTED>
07:01.56Corgan<PROTECTED>
07:02.01Corgan$ define global variables
07:02.05Gary|tfpelf, they are special regex vars
07:02.09Gary|tffor catching regex matches
07:02.17Gary|tf$1 = first match, $2 is second, etc.
07:02.24Gary|tf$~ is an array of the matches.
07:02.45Corgan$! latest error message
07:02.52pelfoh derp .. reading comprehension fail
07:02.52Corgan$~ the last regexp match, as an array of subexpressions
07:02.56Corgan$n the nth subexpression in the last match (same as $~[n])
07:03.02Corganung
07:03.22CorganHere we go
07:03.25Corgan$ global variable
07:03.26Corgan@ instance variable
07:03.26Corgan[a-z] or _ local variable
07:03.27Corgan[A-Z] constant
07:03.37Gary|tfYou're missing class variables.
07:03.39Gary|tfand symbols.
07:03.48Corganshrugs
07:03.50Gary|tfAnd constants.
07:03.58pelf@@
07:03.58CorganI blame the website
07:04.00pelf! class
07:04.03pelfi read that
07:04.11Gary|tf@@ is class, yes
07:04.12pelfwhat does "instance variable" mean?
07:04.16pelfis that like local variable?
07:04.23Gary|tfconstant begins with capital letter
07:04.28Gary|tfsymbols begin with :
07:04.34Corgana variable specific to the instance of a class
07:04.40pelfoh .. as in not static
07:04.44pelfvariables are static by default?
07:05.02pelfalso http://www.ruby-doc.org/core/classes/Symbol.src/M000785.html how would you use that?
07:05.07Gary|tfvariables are local by defaut, limited to the current scope
07:05.18pelfokay so how do you define a static variable?
07:05.22Gary|tfsymbols are used in programs as strings, but faster
07:05.28Gary|tfstatic = constant
07:05.33Gary|tfThisIsAConstant
07:05.35pelfwhat about a mutable static variable?
07:05.50pelfavailable toa ll instances of a class
07:05.59Gary|tfclass variable, begins with @@
07:06.09pelfokay so "class variable" is static
07:06.13pelf@ is instance
07:06.14Corgan@@ is a class variable
07:06.16Gary|tfas for making it a constant as well, I'm not sure if you can.
07:06.17Corgan@ is instance
07:06.25pelfokay .. terminology alignment
07:06.38Gary|tfYeah, I'm probably misundrstanding static, srry
07:07.31pelfstatic is like ..
07:07.32pelfpublic class C
07:07.32pelf{
07:07.32pelf<PROTECTED>
07:07.32pelf}
07:07.32pelfC c = new C();
07:07.32pelfC c2 = new C();
07:07.33pelfc.M = "hi";
07:07.33pelfprint c2.M
07:07.34pelfthat prints hi
07:07.46pelfwell, if "print" existed in .net
07:07.56Gary|tfoh, yes, that's @@
07:08.03pelfneat
07:08.10pelfwhen accessing them from the outside, do you have to use the prefix?
07:09.02CorganI think oyu have to define a getter
07:09.13Gary|tfsymbols are used mainly internally, for code readability, instead of things like C enums. eg instead of hash[butts] or hash["butts"], you do hash[:butts]
07:09.30Corganhttp://railstips.org/blog/archives/2006/11/18/class-and-instance-variables-in-ruby/
07:09.32Corgan^^
07:09.32Gary|tfyou don't need getters, you just need attr_accessible
07:09.39Corganfor class variables?
07:09.40Gary|tfbut it's best to avoid it
07:09.46Gary|tfOh, hm
07:09.48CorganI thought that was just instance variables
07:09.51Gary|tfyeah you prolly do need a getter
07:11.02pelfokay so you don't need to use the prefix externally
07:11.05pelfthat makes sense
07:12.17CorganGary
07:12.23CorganI'm getting a new MBP
07:12.29Corganwith an SSD ;D
07:12.50pelfSSD is amazing
07:13.04*** join/#wowhead bien|| (~bien@p57B64791.dip.t-dialin.net)
07:13.15pelfi have like 130 some addons enabled in wow and it takes me like 10 seconds to enter the world
07:13.26Corganlol
07:13.36Gary|tftoo bad you're still playing wow :P
07:13.42pelfyeah yeah
07:13.44Gary|tfand hottt corgan
07:13.55Gary|tfshould buy a thinkpad tho
07:14.19Gary|tflinux or bust!
07:14.33Corganpish
07:15.04pelfok what is #=>
07:15.09pelfis that a formatting thing?
07:16.30Gary|tfyes
07:16.42Gary|tfusually followed by the result of the proceeding code
07:16.57Gary|tferr
07:17.01Gary|tfthey're comments
07:17.13pelfoh # is the comment character? lol
07:17.16pelfwhat is this, batch?
07:17.20Gary|tfbut it's typically a comment for the result of the proceeding code
07:17.25Gary|tfpython uses # too, gtfo
07:17.28pelfzz
07:17.33pelfis there a block comment?
07:17.40Gary|tf... :(
07:17.49pelfewwww
07:17.55Gary|tfYes and no.
07:17.59Gary|tfyou have some shit like
07:18.04Gary|tf#=begin
07:18.06Gary|tf#=end
07:18.16Gary|tfbut it's supposed to only be used for testing and documentation
07:18.22pelf=? i guess you can do #={ as well?
07:18.43pelfwhat's the difference between puts and print?
07:19.09Gary|tfputs ends with a \n
07:19.17pelfhmm ok
07:19.18Gary|tfit also flushes output to the screen
07:19.22Gary|tfwhere as print is buffered
07:19.27pelfi see
07:19.30Gary|tfs/screen/output/
07:19.31pelfokay, another one
07:19.38pelfclass << self; attr_accessor :sides end
07:19.42pelfwhat does class << self mean?
07:21.13Gary|tfit means http://mislav.uniqpath.com/poignant-guide/images/about.the.poignant.guide-2.jpg
07:21.42pelfhmm, i admit i skimmed that
07:22.50Gary|tfI probably can't explain it very well
07:22.56Gary|tfgoogle ruby singleton class
07:23.02pelfwhy is that class-and-instance-variables-in-ruby thing defining the sides property as static? as a class variable...
07:23.19pelfseems like a poor implementation
07:23.23pelfTHERE IS ONLY ONE POLYGON
07:24.05Gary|tfI don't know, I didn't read it
07:24.23pelfclass Shape
07:24.25pelf<PROTECTED>
07:24.25pelf<PROTECTED>
07:24.25pelf<PROTECTED>
07:24.25pelf<PROTECTED>
07:24.25pelfend
07:24.25pelfputs Shape.sides
07:24.26pelfwhy can i do that?
07:24.38pelfsides is an instance variable? or is Shape instantiating a new shape?
07:25.30Gary|tfShape is instantiating a new shape
07:25.38Gary|tfalso http://www.contextualdevelopment.com/articles/2008/ruby-singleton
07:25.39pelfhmm interesting
07:26.11pelfis new included by default...
07:26.25pelfoh
07:26.30pelfno, Shape isn't instantiating a new shape
07:26.46pelfit's just a reference to the class .. but i don't see how i can access an instance variable from that
07:26.51pelfs = Shape.new
07:26.56pelf
07:26.57pelfLine 11: undefined method `sides' for #<Shape:0x401bf900> (NoMethodError)
07:27.15Gary|tfinstance variables are not public
07:27.21Gary|tfyou need an attr_accessor :sides at the top of that
07:27.35pelfclass Shape
07:27.35pelf<PROTECTED>
07:27.35pelf<PROTECTED>
07:27.35pelf<PROTECTED>
07:27.35pelf<PROTECTED>
07:27.36pelfend
07:27.41pelfso that doesn't do ... what i think
07:27.50Gary|tfclass Shape
07:27.57Gary|tfattr_accessor :sides
07:28.06Gary|tfdef new(sides)
07:28.08pelfso what does def self.sides .. end do?
07:28.10Gary|tf@sides = sides
07:28.11Gary|tfend
07:28.18Gary|tfs = Shape.new(0)
07:28.30Gary|tfself.sides would be a getter
07:28.35Gary|tfallowing you to access it
07:28.41pelfis self a class reference or an instance reference?
07:29.15Gary|tfI'm not sure I know the difference.
07:29.24Gary|tfself isn't needed when defining class methods, though
07:29.31Gary|tfdef sides would work the same
07:29.52pelfwell, like .. in C "this" is a reference to the current instance of the class you're in
07:29.58pelfor c++ rather
07:30.12pelfif you wanted to reference a static variable, you'd use the class name
07:31.12pelfpublic class C
07:31.13pelf{
07:31.13pelf<PROTECTED>
07:31.13pelf<PROTECTED>
07:31.13pelf<PROTECTED>
07:31.13pelf<PROTECTED>
07:31.13pelf<PROTECTED>
07:31.14pelf<PROTECTED>
07:31.14pelf}
07:31.18pelfbut you'd do ..
07:31.23pelfC.M = "hello";
07:31.32pelfthis is implied, though, like self
07:32.04Gary|tfit would be an instance reference, then
07:32.10pelfokay so
07:32.15pelfwhy is it i can do Shape.sides ?
07:32.19pelfif that's not an instance
07:33.00JunkHeadjust checkin back to see if i understand the conversation....
07:33.04JunkHead... nope.
07:33.07JunkHeadbe back later.
07:33.08pelfhi junkhead :)
07:33.12pelfbye junkhead.
07:33.21Gary|tf<3 JH
07:34.01Gary|tfpelf I'm really not sure :) you'd be better off asking in #ruby-lang
07:34.22pelfhaha, right on
07:34.23Gary|tfI'm still an OO noob
07:34.25Gary|tfa nOOb
07:34.32pelfi'm still reading this stuff .. i'm sure it'll get to it
07:34.36pelfi like asking people questions, though
07:35.01Gary|tfwelcome to ruby tho, hope you enjoy your stay :D
07:35.21pelftonight was as good a time as any to learn it i guess :)
07:36.14Gary|tfHow do you find it so far?
07:36.29pelfi like the syntactic flexibility
07:36.32pelfand the postfix conditionals
07:37.31pelfdo you know the difference between
07:37.32pelfv = "hi"
07:37.32pelfv << " there"
07:37.32pelfand
07:37.32pelfv = "hi"
07:37.32pelfv += " there"?
07:38.04Gary|tfShould just be different operators doing the same things
07:38.40Gary|tfyou can override them, ofc, so for some classes they will differ
07:38.43pelfoh, i know the difference
07:38.47pelf+= is a compilation error
07:38.52pelfgg.
07:39.11Gary|tfright, += doesn't exist in ruby
07:39.19Gary|tfbut v = v + "there" is the same thing
07:39.23pelfokay so it's either v = v.. yes
07:39.25Gary|tfas v << "there"
07:39.29pelfokay .. << is way better
07:39.43Gary|tfbut, it depends on the class :P
07:40.15pelfyeah .. i think it's interesting they implemented the operators as methods rather than keywords
07:40.30pelfbut like you said, overriding .. makes it a lot easier i guess
07:40.34pelfyou just provide another implementation
07:40.34Gary|tfit allows amazing flexibility
07:40.46Gary|tfwhile being easily readable
07:41.34*** join/#wowhead Kamikaze28 (~Kamikaze2@unaffiliated/kamikaze28)
07:42.37pelfso .. to override one
07:42.42pelfis there a special syntax?
07:42.46pelfsay i want to override ==
07:43.13Corgandef ==(args)
07:43.13CorganI think
07:43.47pelfclass Shape
07:43.47pelf<PROTECTED>
07:43.48pelf<PROTECTED>
07:43.48pelf<PROTECTED>
07:43.48pelf<PROTECTED>
07:43.48pelfend
07:43.48pelfand Shape == 5 prints nothing
07:43.55Mr_Rabiesis it bad that this makes me want to buy a wii
07:43.56Mr_Rabieshttp://i.imgur.com/5Nxez.jpg
07:44.05pelfi think i'm running into the class versus instance thing
07:44.10pelfi need a singleton thingey
07:44.10pelfderp
07:44.11pelfhold on
07:44.31Gary|tfShape.new == 5
07:44.34Gary|tfdoesn't work?
07:44.42pelfit just does nothing
07:45.23pelfokay maybe it makes no sense to implement equality check at the class level
07:45.25pelflet's see
07:45.40Corgana = Shape.new
07:45.46Corgana == 5
07:45.52pelfright
07:45.57pelfokay, that's good
07:46.13pelfso now we still have the stupid why can i access the instance variable from ... oh i have an idea
07:46.47Gary|tfHm.
07:46.53Gary|tfDoes Shape.new.== 5 work?
07:47.31pelfyes
07:48.09*** join/#wowhead Anmity (~Anmity@h235n4c1o851.bredband.skanova.com)
07:48.20Gary|tffuck
07:48.33Gary|tfsomething on Android just wiped my entire desktop
07:48.47pelfneat!
07:49.10Gary|tfOh nice, and my entire app/widget drawers are empty.
07:49.32Gary|tfYay beta product bugs!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
07:49.35Gary|tf!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
07:49.46pelf:(
07:49.47Gary|tf!!!!!!!!!!!!!!!!!!!!!!wha!!!!!!!!!!!!!!!Tt!!!!!!!!!!!!!!!he!!!!!!!!!!shit
07:50.28pelfi get the feel ing that sides is getting defined as something else
07:50.29pelfentirely
07:51.37*** join/#wowhead Gary|tf (~AndChat@67-7-73-63.frgo.qwest.net)
07:51.48Gary|tfAt least it reboots fast.
07:52.46pelfclass Shape
07:52.46pelf<PROTECTED>
07:52.46pelf<PROTECTED>
07:52.46pelf<PROTECTED>
07:52.46pelf<PROTECTED>
07:52.47pelf<PROTECTED>
07:52.47pelf<PROTECTED>
07:52.48pelf<PROTECTED>
07:52.48pelfend
07:52.49pelfs = Shape.new
07:52.49pelfputs s.instance_variables.inspect
07:52.51pelfthat outputs nothing
07:52.53pelf[]
07:53.55Gary|tfBTW, p is a shortcut for puts x.inspect
07:53.55pelfoh.. okay
07:53.59pelfgood
07:54.20pelfputs Shape::instance_variables.inspect
07:54.23pelfokay that prints @sides
07:55.26pelfohhhhh
07:55.29pelfi think i might have it
07:55.46pelfah balls
07:55.46pelfi don't
07:57.27Gary|tfwhat are you trying to do?
08:00.17pelffigure out that property thing
08:00.23pelfmaybe .. does def just define methods?
08:00.31pelffunctions
08:00.33pelfwhatever they're called in ruby
08:02.01*** join/#wowhead Khano (~Khano@201.116.241.190)
08:04.17Gary|tfyes
08:04.40pelfokay, well that's part of the problem then
08:04.57pelfso, attr_accessor does all the work for this apparently .. creates the instance variable, and a set method
08:05.16pelfand
08:05.22pelfcreating an instance variable (@name) and a corresponding access method to read it. Also creates a method called name= to set the attribute.
08:06.32pelfokay so
08:06.44pelfafter using attr_accessor :sides
08:06.46pelfwe get this..
08:08.07pelfworking on the syntax..
08:11.14Gary|tf*lol*
08:11.16pelfbleh .. this site is getting slow now
08:11.22Gary|tfwatching this guy play Duke Nukem Forever
08:11.36pelfarstechnica panned it pretty resoundingly
08:11.38Gary|tfhe keeps repeating the scene with the twins...
08:12.27pelftwins eh
08:12.53Gary|tfthe game starts off with two twins and duke in a room
08:13.08Gary|tfneedless to say, some 14 y/o is masturbating furiously to that scene over and over
08:13.25pelfhmm
08:13.26pelfprobably
08:13.48pelfomfg
08:13.52pelfokay, maybe you can help me with this
08:14.06pelfclass Shape
08:14.06pelf<PROTECTED>
08:14.06pelf<PROTECTED>
08:14.06pelf<PROTECTED>
08:14.06pelf<PROTECTED>
08:14.06pelfend
08:14.06pelfs = Shape.new
08:14.07pelfp s.sides
08:14.07pelfp s.public_methods.inspect
08:14.09pelfalright so that prints out
08:14.12Gary|tfyay :D finally found someone playing amnesia
08:14.46pelf["sides", "method", "instance_variables", "__id__", "to_s", "send", "object_id", "dup", "sides=", "private_methods", "=~", "is_a?", "class", "tainted?", "singleton_methods", "eql?", "untaint", "instance_of?", "id", "instance_variable_get", "inspect", "instance_eval", "extend", "nil?", "__send__", "frozen?", "taint", "instance_variable_defined?", "public_methods", "hash", "to_a", "clone",
08:14.47pelf"protected_methods", "respond_to?", "display", "freeze", "kind_of?", "instance_variable_set", "type", "==", "===", "equal?", "methods"]
08:14.49pelfa very long list
08:14.51Gary|tfputs s.public_methods.inspect.inspect
08:14.52Gary|tf?
08:15.02pelfi'd lik eto filter that to just the local methods
08:15.08pelfapparently Method has an owner propery
08:15.15pelfbut that's a list of string, not a list of Method objects
08:15.41pelfso i thought..
08:15.50pelf.select { |m| Shape::method(m).owner == Shape }
08:15.53pelfwell
08:16.00pelfjust m.owner == Shape
08:16.00*** join/#wowhead Jamash (~Jamash@adsl-76-248-68-109.dsl.bltnin.sbcglobal.net)
08:16.03pelfbut they're strings
08:16.10pelfso i tried s.method(m).owner
08:16.29pelfand that doesn't work
08:16.37pelfundefined method `owner' for #<Method: Shape#sides> (NoMethodError)
08:17.00pelfbut the documentation says there is an owner property of the Method class
08:17.42*** join/#wowhead Jamash (~Jamash@adsl-76-248-68-109.dsl.bltnin.sbcglobal.net)
08:18.53Gary|tfnot having access to irb is really killin me, sec
08:19.17Khanointerior crocodile alligator
08:19.21*** join/#wowhead Joschasa (~Joschasa@p5799CB42.dip.t-dialin.net)
08:19.58*** join/#wowhead Jamash2 (~Jamash@adsl-76-248-68-109.dsl.bltnin.sbcglobal.net)
08:21.35*** join/#wowhead Sult_ (~Sult@dsl51B6858A.pool.t-online.hu)
08:21.47Mr_Rabiesi drive a chevrolet movie theater
08:21.55pelfi drive a car
08:22.08*** join/#wowhead Sinespe (Winston@cpc3-newt29-2-0-cust118.newt.cable.virginmedia.com)
08:23.04pelfah, it' swhat i thought
08:23.18pelfthis thing is using 1.8.6 and owner is defined in a later version
08:23.42Gary|tfpelf, p (s.public_methods - Object.public_methods).sort
08:23.45Gary|tf;D
08:23.59pelfoh my .. you can do set-based subtraction?
08:24.01pelfO_o
08:24.12pelfthat's hot
08:24.41pelfokay so we get ["sides", "sides="]
08:24.44Gary|tfruby is p powerful stuff
08:24.45pelfwhich is what i expected
08:24.58Corganruby is sex ungggg
08:25.01pelfso .. that still doesn't tell us HOW it defined the stupid get method
08:25.09pelfhow do you define a return value for a function?
08:25.22Gary|tfthe last variable in the method
08:25.22pelfor does it just .. it just can return
08:25.29Gary|tfdef butts(test)
08:25.31Gary|tf"lol"
08:25.32Gary|tfend
08:25.35Gary|tfreturns "lol"
08:25.39pelfokay, so in def you don't have to say antyhing about it returning
08:25.49Gary|tfno, but you can if you want
08:25.58pelfwhat's the syntax fo that
08:26.04Gary|tfreturn x
08:26.09Corganreturn "lol" if x
08:26.16Corganreturn "test" if y
08:26.19pelfoh for the return
08:26.25pelfbut there's nothing in the function signature?
08:26.26Corganconditional returns
08:26.29Corganyeahhhh
08:26.45Gary|tfWhat do you mean?
08:27.12pelfpublic >int< Method() { }
08:27.16Corganno
08:27.26pelfso if there's no return, ti's just nil?
08:27.35Corganyes
08:27.52pelfOH FFS
08:27.54pelfseriously...
08:27.56pelfokay
08:27.59pelfso here's the deal
08:28.08pelfif you define an accessor function, you have to define a setter function
08:28.10pelfor it just doesn't work
08:28.19pelfclass Shape
08:28.19pelf<PROTECTED>
08:28.19pelf<PROTECTED>
08:28.19pelf<PROTECTED>
08:28.19pelf<PROTECTED>
08:28.20pelf<PROTECTED>
08:28.20pelf<PROTECTED>
08:28.21pelf<PROTECTED>
08:28.21pelf<PROTECTED>
08:28.22pelf<PROTECTED>
08:28.22pelf<PROTECTED>
08:28.23pelf<PROTECTED>
08:28.23pelfend
08:28.26pelfso yeah .. now feet works as expected
08:28.35pelfand sides works just like feet
08:28.59Gary|tfwell, you don't need to, only if you want to set feet
08:29.09pelfreally..
08:29.10pelfokay hold on
08:29.19Gary|tfp sure, yes.
08:30.03Gary|tfbut feet is going to be nil in that scenario without a setter
08:30.17pelfok this is tweaking my brain
08:30.19Gary|tfalso, that "@feet" randomly thrown in there is going to make me have a fit.
08:30.20pelfNOW it works
08:30.21*** join/#wowhead Pinage404 (~pinage404@APuteaux-651-1-106-12.w82-124.abo.wanadoo.fr)
08:30.31pelfclass Shape
08:30.31pelf<PROTECTED>
08:30.32pelf<PROTECTED>
08:30.32pelf<PROTECTED>
08:30.32pelf<PROTECTED>
08:30.32pelf<PROTECTED>
08:30.32pelf<PROTECTED>
08:30.33pelf<PROTECTED>
08:30.33pelf<PROTECTED>
08:30.34pelf<PROTECTED>
08:30.34pelf<PROTECTED>
08:30.35pelf<PROTECTED>
08:30.35pelfend
08:30.48pelflol yeah i don't usually just throw variable declarations wherever
08:30.50Gary|tfthat should work, yes :P
08:30.52pelfi'm just playing around
08:30.54pelfit does work!
08:30.58pelfbut before with sides, it didn't work...
08:31.15Gary|tfdoing something wrong then :p
08:31.23pelfoh my god
08:31.24pelfit works now
08:31.26pelfw
08:31.26pelft
08:31.27pelff
08:31.31Corganlol
08:31.33pelfwell good
08:31.36pelfthat makes sense now
08:31.51Gary|tfbtw
08:32.01Gary|tfdo yourself a favor, uninstall w/e ruby you have
08:32.03Gary|tfget rvm
08:32.21pelfi'm just using some website
08:32.25pelfthat runs the code you type in :)
08:32.28Gary|tfeasy management of the dozen+ different versions of ruby
08:32.30Gary|tfah, ok
08:33.11pelfjesus now i'm not getting that behavior i asked about before
08:33.25Gary|tfwas supposed to start my movie 2 hours ago :/ damn you :P
08:33.42pelfhaha
08:33.46pelfthanks for talking!
08:33.56pelfi much prefer having a person to ask questions of, like i said
08:34.11Gary|tfruby convos are just too enticing ;(
08:34.46pelfha!
08:34.48pelfi figured it out
08:34.59pelfso, in the global context of defining methods "self" is actually a class reference
08:35.06pelfinside a method, it's an instance reference
08:35.12pelfso saying ... def self.sides
08:35.17pelfthat means .. define that on the class
08:35.36pelfsame as def Shape.sides
08:36.09pelfthat's interesting that works that way ... but that singleton construct would require it
08:36.23pelfhowever .. this
08:36.23pelfclass Polygon
08:36.24pelf<PROTECTED>
08:36.24pelf<PROTECTED>
08:36.24pelfend
08:36.40pelfis useless .. they should have just done def Polygon.sides
08:37.15Gary|tfbut then you would also need a setter.
08:37.22pelfyeah yeah, i mean
08:37.24Gary|tfusing attr_accessor is less code :P
08:37.27pelfi guess the singleton syntax is .. yes
08:37.28pelfless code
08:37.34pelfa bit less clear, though
08:38.07Gary|tfright, a lot of the OO portions of ruby aren't as intuitive as they could be
08:38.31Gary|tf(still beats C++ imo)
08:38.48pelfdefinitely different applications
08:39.19pelfso if i defined a function called attr_accessor .. i assume it would override the one from Module
08:39.37Gary|tfyup
08:39.46pelfclass Shape
08:39.46pelf<PROTECTED>
08:39.46pelf<PROTECTED>
08:39.46pelf<PROTECTED>
08:39.46pelf<PROTECTED>
08:39.46pelfnice
08:40.03Gary|tfyou can still use super.attr_accessor to reach the one from Module
08:40.13pelfohh super
08:40.18pelfexcellent
08:40.27Gary|tfor just "super" within Shape#attr_accessor
08:40.36pelfokay so two methods of defining static functions
08:40.41pelflooks like there's ..
08:40.48pelfdef self.method() end
08:40.59pelfand class << self; def method() end end
08:41.35pelfso that begs the question...
08:42.46pelfclass Shape
08:42.46pelf<PROTECTED>
08:42.47pelf<PROTECTED>
08:42.47pelf<PROTECTED>
08:42.47pelf<PROTECTED>
08:42.47pelf<PROTECTED>
08:42.47pelf<PROTECTED>
08:42.53pelfp Shape.thing prints nil
08:47.44*** join/#wowhead TheSkeeziX (TheSkeeziX@c-76-31-241-205.hsd1.tx.comcast.net)
08:49.55Gary|tfpelf mmm because of @ vs @@
08:49.56Gary|tfI believe
08:50.02pelfi changed it and it did the same thing
08:50.12pelfmaybe you can't ... hmm no you should be able to
08:50.27Gary|tfrly? cause it works fine for me.
08:50.30Gary|tf@@thing = "5"
08:50.33Gary|tfand @@thing
08:50.43Gary|tfalso you are missing an end
08:50.44pelfoh you know .. i might've flubbed the second
08:50.49pelfyeah i didn't copy the whoel thing
08:50.51Gary|tfkk
08:51.05pelfyeah that was it
08:51.11pelfi didn't put the second @ on the return
08:51.17Gary|tf:)
08:51.24pelfinteresting .. so what i'm curious about now is...
08:51.37*** join/#wowhead trollware (~AndChat@2600:1004:b00a:e58c:dc22:85ff:fe82:82a7)
08:52.11pelfha!
08:52.13*** join/#wowhead MaienM (~MaienM-F@unaffiliated/maienm)
08:52.20raspydamn 6 whispers from people trying to sell me gold in past 15 mins
08:52.24pelfclass Shape
08:52.24pelf<PROTECTED>
08:52.24pelf<PROTECTED>
08:52.24pelf<PROTECTED>
08:52.24pelf<PROTECTED>
08:52.25pelf<PROTECTED>
08:52.25pelf<PROTECTED>
08:52.26pelf<PROTECTED>
08:52.26pelf<PROTECTED>
08:52.27pelf<PROTECTED>
08:52.27pelf<PROTECTED>
08:52.45pelfso ... i'm not sure how you'd define the instance stuff method inside the singleton though
08:53.08pelfthing ... def thing is implicitly doing self.thing cuz it's int he singleton class block i assume
08:53.20pelfso i wonder if there's an explicit syntax for instance methods
08:55.50*** join/#wowhead Jamash (~Jamash@adsl-76-248-68-109.dsl.bltnin.sbcglobal.net)
08:58.09pelfaha
08:58.27Corganaha
08:58.49pelfoh, not aha
09:01.18Corganpelf, after you have fun with the syntax
09:01.25Corganhttp://www.sinatrarb.com/
09:01.32CorganPut that in your pipe
09:01.33Corganand smoke it
09:01.54CorganRubygems are amazing ;D
09:02.04pelfwhat's a gem?
09:02.13CorganA library
09:02.38pelfthere's something special about them, i assume?
09:02.45pelfit's not just a library of classes?
09:02.47Corganshrugs
09:02.50pelfthey have some magical properties?
09:03.10Gary|tfa lot of gems are ridic powerful
09:03.12Corgan^
09:03.16CorganMechanize
09:03.18CorganSinatra
09:03.20pelfokay so apparently there's no way to define an instance member from inside the << self subclass
09:03.21pelf<PROTECTED>
09:03.21pelf<PROTECTED>
09:03.21pelf<PROTECTED>
09:03.21pelf<PROTECTED>
09:03.21pelf<PROTECTED>
09:03.21pelf<PROTECTED>
09:03.22pelf<PROTECTED>
09:03.22pelf<PROTECTED>
09:03.23pelf<PROTECTED>
09:03.23pelf<PROTECTED>
09:03.23Gary|tfCheck out eventmachine to start
09:03.27Gary|tfmechanize is sexy too
09:03.34CorganEventmachine is holy ffffff
09:03.34pelfthat still just makes a class variable
09:04.06Corganhttp://mechanize.rubyforge.org/mechanize/
09:04.08pelfhmm, and new obviously isn't what i'm looking for
09:04.12pelfi need to find the static constructor!
09:04.15Gary|tfinitialize
09:04.25Corganhttp://eventmachine.rubyforge.org/EventMachine.html
09:04.30Corganinitialize
09:04.33Corgan;D
09:04.48Gary|tfHm, that might not be static.
09:05.00Corgandefine static constructor
09:05.29pelfsomething that initializes the values of class variables
09:06.12*** join/#wowhead JunkHead-Work (~Junk@237.sub-174-253-101.myvzw.com)
09:06.37Corganclass variables, not instance variables?
09:06.44Gary|tf^
09:06.49pelfyes
09:06.54Corganie, something that's like, run only at runtime?
09:07.01pelfsay i've done this
09:07.04pelfclass << self
09:07.10pelfattr_accessor :something
09:07.11pelfend
09:07.16pelfhow do i initialize something?
09:08.06Gary|tfdef initialize
09:08.09Gary|tfsomething = 1
09:08.10Gary|tfend
09:08.14pelfno work
09:08.19pelfer .. wait
09:08.58pelfyeah, doesn't work
09:09.10pelf<PROTECTED>
09:09.10pelf<PROTECTED>
09:09.10pelf<PROTECTED>
09:09.10pelf<PROTECTED>
09:09.10pelf<PROTECTED>
09:09.11pelf<PROTECTED>
09:09.36pelfp Shape.stuff
09:09.38pelfprints 'nil'
09:10.02pelfseems like initialize is the instance constructor? or is that def new .. end?
09:11.54Corgansec
09:13.08Mr_Rabies~whalenuke #wowhead
09:13.08infobotACTION dons her radiation cloak and tinted glasses while a highly intelligent whale named Ray precipitates critical mass for uncontrolled nuclear fission around #wowhead with his mind powers.
09:14.09pelflooks like i could just intiialize it through the class name after the attr_accessor line
09:14.53pelfclass Shape
09:14.53pelf<PROTECTED>
09:14.53pelf<PROTECTED>
09:14.53pelf<PROTECTED>
09:14.53pelf<PROTECTED>
09:14.53pelfend
09:14.55pelfthat works
09:14.57pelfbut ew...
09:22.03*** join/#wowhead JunkHead-Work (~Junk@85.sub-174-253-112.myvzw.com)
09:23.59SinespeI forgot that I was logged in here. I just scrolled through a load of words.
09:24.08pelfyeah i've been learning Ruby!
09:24.15SinespeThat much I could gather.
09:24.26SinespeThe rest of it was impenetrable. :P
09:24.36Corganhmm
09:24.38Corganpelf
09:24.42Corgan<PROTECTED>
09:24.42Corgan<PROTECTED>
09:24.43Corgan<PROTECTED>
09:24.45CorganTest.initialize
09:24.47Corgan:p
09:24.53pelfclass Irc
09:24.53pelf<PROTECTED>
09:24.53pelf<PROTECTED>
09:24.53pelf<PROTECTED>
09:24.53pelfend
09:24.59pelfIrc.penetrate()!
09:25.01Sinespe>_>
09:25.08CorganI'm not sure if anything is called when the singleton class is...created?
09:26.08pelfopened? i can't remember the terminology
09:27.00pelfopened.
09:27.03pelfthat's what they call it
09:27.09*** join/#wowhead stolenlegacy (~stolenleg@unaffiliated/stolenlegacy)
09:27.37pelf@awayspe cute.
09:28.55pelfthis is interesting
09:28.56pelfclass Shape
09:28.56pelf<PROTECTED>
09:28.56pelf<PROTECTED>
09:28.56pelf<PROTECTED>
09:28.56pelf<PROTECTED>
09:28.56pelf<PROTECTED>
09:28.57pelf<PROTECTED>
09:28.57pelf<PROTECTED>
09:28.58pelf<PROTECTED>
09:28.58pelf<PROTECTED>
09:28.59pelf<PROTECTED>
09:28.59pelf<PROTECTED>
09:29.00pelf<PROTECTED>
09:29.36pelfwhat gets printed?
09:30.36pelf0
09:31.13pelfso .. sides=(sides) actually creates a variable sides rather than calling the method ... looks lik eyou have to explicitly use self.sides=
09:31.32*** join/#wowhead Sinespe1 (Winston@cpc3-newt29-2-0-cust118.newt.cable.virginmedia.com)
09:31.51pelfthat's kind of annoying that the parenthesis are ambiguous ... in this case it's just like .. v = ("stuff")
09:32.06pelfyou have to access the member off of self to disambiguate the syntax
09:32.57CorganI dunnolol
09:33.03pelf:)
09:33.31pelfalright .. now that i went down that long tangent, i'm gonna get back to reading that book you sent me
09:33.34pelffrom chapter 4!
09:34.04*** join/#wowhead JunkHead-Work (~Junk@85.sub-174-253-112.myvzw.com)
09:44.15Awayspe>_>
09:44.21pelfliar
09:44.57AwayspeWell, I *was* away. Then I happened to come back, and saw that as soon as I'd decided to be away my internet decided to kick me off. And now I will be away again...
09:45.08pelfwaves at sinespe
09:57.19*** join/#wowhead stolenlegacy_ (~stolenleg@unaffiliated/stolenlegacy)
10:00.11pelfi got something better than is_a? !
10:00.12pelfa.select { |eh| String === eh }
10:00.15pelfzing!
10:10.01Awayspehttp://www.youtube.com/watch?v=4UoNB_yuQTc
10:10.04Awayspe(I'm not here)
10:10.07Awayspe(zoom)
10:12.57*** join/#wowhead stolenlegacy (~stolenleg@unaffiliated/stolenlegacy)
10:16.14*** join/#wowhead MaienM (~MaienM-F@unaffiliated/maienm)
10:24.26*** join/#wowhead faCe| (~face@p54899D30.dip.t-dialin.net)
10:35.25*** join/#wowhead Lopin (~Lopin@ip-78-102-194-108.net.upcbroadband.cz)
10:51.49*** join/#wowhead stolenlegacy (~stolenleg@unaffiliated/stolenlegacy)
11:05.46*** join/#wowhead MaienM (~MaienM-F@unaffiliated/maienm)
11:07.12*** join/#wowhead Jolt (~Jolt@90-230-166-7-no35.tbcn.telia.com)
11:10.22*** join/#wowhead MaienM_ (~MaienM-F@unaffiliated/maienm)
11:22.48*** join/#wowhead MaienM (~MaienM-F@unaffiliated/maienm)
11:29.36*** join/#wowhead MaienM (~MaienM-F@ip545597ca.adsl-surfen.hetnet.nl)
11:29.37*** join/#wowhead MaienM (~MaienM-F@unaffiliated/maienm)
11:36.47*** join/#wowhead g0urra (g0urra@unaffiliated/gourra)
11:39.33*** join/#wowhead Awayspe (Winston@cpc3-newt29-2-0-cust118.newt.cable.virginmedia.com)
11:44.01*** join/#wowhead Funkeh` (~funk@5ad994f9.bb.sky.com)
11:44.01*** join/#wowhead Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh)
12:14.36*** join/#wowhead Random (~Denial@c-24-22-237-60.hsd1.wa.comcast.net)
12:14.40*** join/#wowhead Random (~Denial@unaffiliated/windaria)
12:44.00*** join/#wowhead Sinespe1 (Winston@cpc3-newt29-2-0-cust118.newt.cable.virginmedia.com)
12:49.20*** join/#wowhead Tirixian (~Tirixian@95.149.113.179)
13:06.31*** join/#wowhead Irrelephant (~DJ@cpc11-rdng21-2-0-cust132.15-3.cable.virginmedia.com)
13:15.30*** join/#wowhead Shigy (~user@219-90-146-119.ip.adam.com.au)
13:21.27Gunrunhttp://www.facebook.com/profile.php?fbid=123456789 lol look at their face
13:26.38g0urraharr harr
13:29.07Joltwat
13:29.22Joltslaps gunrun
13:29.55Stormkittymfw people think 1 bottle of American beer can impair your judgement. You're drinking American beer, your judgement is already impaired.
13:30.03Gunrunit does for duke nukem Stormkitty
13:30.33StormkittyGunrun yeah but Duke Nukem is like
13:30.34Stormkittyno
13:32.19g0urralol comparing duke nukem to RL
13:32.43JoltDuke Nuke Forever?
13:32.44Joltor 3d?
13:32.50*** join/#wowhead wildx22 (~Adium@122-61-217-126.jetstream.xtra.co.nz)
13:32.58g0urraany duke game
13:33.01JoltLearn your games SON!
13:33.03Stormkittymfw people compare Duke to RL
13:33.04Joltshesh
13:33.19g0urra<Jolt> Duke Nukem Forever?
13:33.20g0urrafix'd
13:33.31JoltXD
13:33.33JoltEMMMMMMMMMMMMMMM
13:33.34Joltthen
13:33.49g0urraStormkitty: what face
13:34.25Stormkittymfw pretty much means "lol you're a moron", but more politely
13:34.42kullervoeh
13:34.55kullervothat\s an odd intepretation
13:35.10g0urraStormkitty: ofc I know what mfw means or I wouldn't ask "what face"
13:35.41Stormkittyoh derp
13:35.48StormkittyAlso, mfw kuller doesn't like my definition of mfw
13:35.54g0urrabut you're still not showing what face
13:36.01g0urrayou're like one of those newfags
13:36.09Stormkittypffft, I'm too cool to show my face
13:36.12Stormkittymfw I don't have a face
13:36.15Stormkitty=O
13:36.18g0urra..
13:36.20g0urrayou're an idiot.
13:44.18g0urrabreaking news: male goblins can't enter BFD http://eu.battle.net/wow/en/forum/topic/2290819532#10
14:01.12Juippis< Stormkitty> mfw pretty much means "lol you're a moron", but more politely
14:01.15Juippiswwwhat
14:01.18Juippisno
14:01.20Juippisjust no
14:01.34Stormkitty>trollface.jpg
14:01.42Juippisnot saving you here
14:02.32StormkittyWhat about going to bed? :D
14:03.39Juippismm yeah, sleeping helps forgetting things
14:03.42Juippisyes
14:11.21*** join/#wowhead Sookie (etniz@236-242-96-87.cust.blixtvik.se)
14:11.31*** join/#wowhead bleak- (~kuk@77.53.22.80)
14:19.49*** join/#wowhead Bibi` (~Bibi@guy78-5-82-247-59-154.fbx.proxad.net)
14:19.49*** join/#wowhead Bibi` (~Bibi@unaffiliated/bibi)
14:39.10*** join/#wowhead Zefire (~Zfire@AAubervilliers-651-1-68-113.w86-218.abo.wanadoo.fr)
14:44.25*** join/#wowhead stolenlegacy (~stolenleg@unaffiliated/stolenlegacy)
15:13.13*** join/#wowhead candg (~candg@pool-96-252-144-134.tampfl.fios.verizon.net)
15:33.10*** join/#wowhead Ressolute (~videodrom@adsl-98-68-172-7.cha.bellsouth.net)
15:46.47Freyja[The Wowhead Blog] Beyond Bloody Rare: A Guide to all Rares - http://www.wowheadnews.com/blog=191208/beyond-bloody-rare-a-guide-to-all-rares
15:47.23tategmorning
15:47.31tate18:47 ö_ö'
15:49.50*** join/#wowhead ArgentSun (~Argent@c-24-12-214-71.hsd1.il.comcast.net)
15:50.08*** join/#wowhead Noxy (~Noxy2@rrcs-64-183-226-172.sw.biz.rr.com)
15:50.09*** mode/#wowhead [+o Noxy] by fewyn
16:05.33*** join/#wowhead BiggieSmalls (~IceChat7@ool-457bb4ce.dyn.optonline.net)
16:16.51*** join/#wowhead derschnitter (~derschnit@p5B0737D2.dip.t-dialin.net)
16:46.11*** join/#wowhead TNSe (~evil@ti0042a380-0069.bb.online.no)
16:54.02*** join/#wowhead VCH (~chatzilla@ool-18be77ff.dyn.optonline.net)
17:01.04*** join/#wowhead Irrelephant (~DJ@cpc11-rdng21-2-0-cust132.15-3.cable.virginmedia.com)
17:02.45*** join/#wowhead Jamash (~Jamash@76.248.68.109)
17:03.40*** join/#wowhead Jamash (~Jamash@76.248.68.109)
17:24.40fewynthere we go
17:24.55fewynalt #12 is level 85 and honor/jp capped now
17:41.16*** join/#wowhead ArgentSun (~Argent@c-24-12-214-71.hsd1.il.comcast.net)
17:52.22*** join/#wowhead pelf (~pelf@c-68-33-191-56.hsd1.md.comcast.net)
17:54.10winkwhy?
17:54.25winkI mean.. most of mine are capped as well on jp
17:54.35winkbut not deliberately, apart from 2-3 alts
17:54.51AnmityProbably because that's the way fewyn wants to enjoy the game.
17:54.57AnmityJust a guess.
17:58.11fewynbecause 4.2 is next week
17:58.14fewynand they are alts
18:03.12*** join/#wowhead BiggieSmalls (~IceChat7@ool-457bb4ce.dyn.optonline.net)
18:24.01tate12 alts :I
18:30.49fewyn12 85s specialically tate
18:37.04tatewell that would be a pain in my ass
18:37.11tatei'm feelinng unlucky having 3 85s
18:39.46fewynfuck i need to buy new shoes, mine have a hole in them
18:41.15*** join/#wowhead Irrelephant (~DJ@cpc11-rdng21-2-0-cust132.15-3.cable.virginmedia.com)
18:48.47LugburzStormkitty: hey you are you heree
18:48.57LugburzIm going to a reddit meetup Stormkitty you shouold be jelly bro
19:04.39rannmanna couple days worth of cinderbloom are backed up in my inbox :(
19:04.44rannmannthat garbage never sells
19:04.54rannmannI have like 3000 of them
19:09.38winko_O
19:12.36AnmityVendor it?
19:13.51*** join/#wowhead thetro (~paulk@i-83-67-1-20.freedom2surf.net)
19:13.54rannmannI'm hoping for 3x vendor price... *posts them all again*
19:14.12fewyndon't vendor them
19:14.20fewynturn them into ink and then make fortune cards
19:14.23fewynyou might get lucky
19:14.37fewynbut at least you should get more money than vendor price
19:15.33rannmannI'm not vendoring.  I'm just posting them for cheap this time.
19:45.12*** join/#wowhead methyl (~Miranda@c-67-189-55-147.hsd1.or.comcast.net)
20:16.40*** join/#wowhead BiggieSmalls_ (~IceChat7@ool-457bb4ce.dyn.optonline.net)
20:24.36*** join/#wowhead Ward5 (~Ward@ip45-152-209-87.adsl2.static.versatel.nl)
20:26.51*** join/#wowhead Anubisss (~anubisss@77.111.167.71)
20:26.54*** join/#wowhead TheLifelessOne (~TheLifele@c-98-251-166-51.hsd1.ms.comcast.net)
20:27.11Ward5what's this mean
20:27.12Ward5* Ward :Nick/channel is temporarily unavailable
20:28.28*** join/#wowhead TNSe (~evil@ti0042a380-0069.bb.online.no)
20:35.45ArgentSunWard5, when did you get that?
20:35.59Ward5just now
20:36.03Ward5logged into freenode
20:36.12Ward5and it won't let me use my nick
20:36.44ArgentSunThat's interesting...
20:36.52ArgentSunBecause I don't even see you in the list of users =\
20:36.59ArgentSunI am afraid you don't exist :(
20:38.08Irrelephant...
20:38.13IrrelephantWhat the hellity hell hell.
20:39.06Gary13579your client sucks then, ArgentSun
20:39.10Gary13579[15:20] * Ward5 (~Ward@ip45-152-209-87.adsl2.static.versatel.nl) has joined #wowhead
20:39.13Gary13579he is certainly here
20:41.00Ward5but what has happened to my usual nickname
20:41.06Ward5ghosting won't work
20:41.23winktried another server?
20:41.33Ward5hmm
20:42.02wink17:01 -!- Nick ward is temporarily unavailable
20:42.04winkbad advice
20:42.05wink:P
20:42.09winkbut I was too slow
20:42.54winkwhy the hell is this machine running on utc?
20:43.05*** join/#wowhead Ward5 (~Ward@ip45-152-209-87.adsl2.static.versatel.nl)
20:43.16Ward5new server
20:43.18Ward5same issue
20:48.32wink17:01 -!- Nick ward is temporarily unavailabl
20:48.34winkyeah I also got it
20:48.38winkseems you need to wait
20:50.31fewynWard5
20:50.31fewynhttp://freenode.net/faq.shtml#nickisgone
20:50.43fewynHTH
20:52.10Wardbooyah
20:52.13Wardthanks fewyn
20:52.17fewynyou are welcome
20:52.27fewynmy googlefu is unrivaled
20:52.39Wardindeed
20:53.11Wardthis is also nice
20:53.12WardThe ENFORCE flag has been set for account Ward.
21:15.08*** join/#wowhead Nechckn (~N@WoWUIDev/Norganna/Admin/Nechckn)
22:16.25*** join/#wowhead Cirradell (473c90fd@gateway/web/freenode/ip.71.60.144.253)
22:16.40CirradellYo guys
22:17.18Juippis'ey
22:17.25kullervoOi!
22:18.22CirradellWhats up guys?
22:18.35CirradellI'm new to this whole World of Warcraft thing lol
22:19.22*** join/#wowhead solocommand (solocomman@68-185-170-78.dhcp.mdsn.wi.charter.com)
22:24.16*** join/#wowhead VCH (~chatzilla@ool-18be77ff.dyn.optonline.net)
22:25.42*** join/#wowhead thetro (~thetro@i-83-67-1-20.freedom2surf.net)
22:26.39Juippiswaiting for a dungeon queue
22:26.45Juippismmmeh
22:38.35BlackNethow long is the q times now
22:43.28SinespeTry to queue and find out.
22:55.07*** join/#wowhead JunkHead-Work (~Junk@185.sub-174-253-102.myvzw.com)
22:55.21JunkHead-Work!
23:00.22Ziconrubs junkhead
23:00.36JunkHead-Work:D
23:00.47JunkHead-Workis rubbed
23:01.00ZiconI got a new camera today.
23:01.11Ziconruns around in circles, screaming in gadgety joy.
23:04.27*** join/#wowhead raspy (raspy@c-24-7-109-167.hsd1.ca.comcast.net)
23:04.50JunkHead-Worki got a..
23:04.54JunkHead-Workuhh....
23:04.58JunkHead-Workhmm..
23:05.06JunkHead-Worki didnt get anything today.
23:05.15ZiconAwwwwh. :(
23:10.21fewynahune queue times disappoint me
23:10.37kullervoabout one second?
23:11.02fewynyou mean 30 minutes right
23:11.40*** join/#wowhead Khano (~Khano@201-130-213-125-cable.cybercable.net.mx)
23:11.54kullervoI'm a tank and get 250g a run :|
23:13.38Wardfor a single dps the queue time is over 30 mins
23:13.46Wardfor 3 dps queueing together, it's like an hour
23:13.57Domhfewyn, are you queued up now?
23:14.03DomhCause I can log in and tank it for you
23:14.05Wardthat's why you gotta do guild runs, or trade queues with alts
23:15.40DomhOur small 10-man raiding guild is spread out over too many timezones to get people together for much outside of raids
23:16.02*** join/#wowhead TheSkeeziX (TheSkeeziX@c-76-31-241-205.hsd1.tx.comcast.net)
23:17.33JunkHead-Workall i did today was my cooking and fishing dailies.
23:19.11JunkHead-Workis there anything useful that can be found in the fishing bag you get from the dailies?
23:19.41Khanohttp://i.imgur.com/rxu7H.jpg
23:21.36Khanohttp://i.imgur.com/4lx36.jpg
23:37.24Ackisis there anyway to create a character profile with ptr items?
23:40.52LugburzStormkitty:
23:41.09StormkittyLugburz
23:41.15Lugburzhi
23:41.21Lugburzredditors are cool
23:46.49*** join/#wowhead starspun` (~starspun@173.200.16.62.customer.cdi.no)
23:51.15*** join/#wowhead JunkHead-Work (~Junk@185.sub-174-253-102.myvzw.com)
23:59.06*** join/#wowhead Kamikaze281 (~Kamikaze2@p4FFF7661.dip.t-dialin.net)
23:59.13*** join/#wowhead XAnubisFSUX (~XAnubisX@S0106002500fe2ec8.wp.shawcable.net)
23:59.39*** join/#wowhead XAnubisX (~XAnubisX@S0106002500fe2ec8.wp.shawcable.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.