apeiros_ changed the topic of #ruby to: programming language || ruby-lang.org || Paste >3 lines of text in http://pastie.org || Rails is in #rubyonrails
<fowl>
you should use the values_at method imo
<robacarp>
if thats right, set up an array to stick your numbers in, and pass that array in with the * oprator
<fowl>
you could replace with Hash[[:device, :path, :fstype, :options].zip line.split.values_at(...)] tho
<mfridh>
fowl: yeah I saw that example somewhere... wanted it slightly clearer to me on two lines instead
<robacarp>
mfridh: I'll write you an example of what I was thinking
<mfridh>
awesome
<mfridh>
i guess to avoid the array thing I could do an each {|line| line.chomp!; return line if line.include? dcetl} ... ?
<robacarp>
and I think it could benefit from that hash syntax fowl posted, or something like it
<robacarp>
but thats what I was talking about
<fowl>
the beauty of the Hash[zip stuff is its just one expression instread of creating 4 locals
<robacarp>
yea, exactly
<robacarp>
I don't know the syntax for that off the top of my head though, I'll leave that to you :)
<mfridh>
thanks alot
<mfridh>
kid woke up. ugh..
<robacarp>
mfridh: yea, np, does the locations variable make sense?
Sailias has joined #ruby
lewis1711 has joined #ruby
looopy has joined #ruby
seanstickle has joined #ruby
mbriggs has joined #ruby
beilabs_ has joined #ruby
RORgasm has joined #ruby
two- has joined #ruby
<mfridh>
robacarp: sure looks cleaner
<robacarp>
hah, yea, but if it doesn't make sense its of no benefit!
<mfridh>
I think it's only the * operator I'm not getting... the passing of *locations to values_at
<robacarp>
yea, thats called the splat operator, and when you know what its called it comes up in google
<mfridh>
vaguely remember splat from Programming Ruby :D
<fowl>
you can define to_a on your objects to use it
<robacarp>
yea, its one of those things you don't really realize what its good for until you use it
<mbriggs>
splat means "turn the array into an argument list" or "suck up all the rest of the args into an array" depending on if you call it in a method definition or a method call
<fowl>
class String; def to_a() split('') end end; puts *'hi there'
<otters>
splat causes implicit to_a?
<otters>
omg
<fowl>
lol
<mfridh>
mbriggs: aha, it's reverse from using splat in a method(foo, *splat)
<mbriggs>
it means if you have def foo(arg1, arg2, arg3)
<mfridh>
thanks
<mbriggs>
and you do foo(*[1,2,3])
wedgeV has joined #ruby
<mbriggs>
then it will pass 1 to arg1, 2 as arg2 and 3 as arg 3
jcooley has joined #ruby
<mbriggs>
mfridh: pretty much :) its kind of weird how it works like that
<otters>
is splat context-sensitive?
raincole_ has joined #ruby
<mfridh>
so, let's say I want to only return the first match, not all matches in an array
sako has joined #ruby
<otters>
I mean, the syntax of it
<otters>
it appears so
<mfridh>
best to use each line or is there something fancier?
<robacarp>
otters: yes
<otters>
bah
pu22l3r has joined #ruby
kah_ has joined #ruby
<robacarp>
otters: ...why
<otters>
no real reason, just curious
<robacarp>
sounds suspicious
alem0lars has joined #ruby
<otters>
because (*[1,2]) on its own is a parse error
<robacarp>
yea, its got to be in a method call or parameter list i bet
<fowl>
otters, that would be a magical concept called an argument list, not really ruby until you do something like a, b = *[1,2]
<mbriggs>
(1,2) is also a syntax error
<otters>
yeah
<otters>
the more you know
<mbriggs>
haha
<otters>
I was kinda curious what the type of a splatted expression was
<fowl>
it has to return an array
<mbriggs>
it usually only gets useful when you are doing meta-programming stuff, which isn't usually an everyday thing
<fowl>
otherwise you'll get errors
<otters>
riht
symb0l has joined #ruby
<otters>
*right
libertyprime has joined #ruby
<robacarp>
metaprogramming makes me uncomfortable.
<otters>
metaprogramming is fun
Imapickle has joined #ruby
<otters>
and there is no better place to do it than ruby
S1kx has joined #ruby
<robacarp>
mainly because when I go back and look at what I've done I wish to reach back in time and beat myself for being so selfish
raincole__ has joined #ruby
kah_ has joined #ruby
<mbriggs>
haha
<mbriggs>
its more like "If i write these 20 lines of mind rendingly complex code, these 200 lines get way more simple"
<robacarp>
yep.
<otters>
"but if I come back in three months, I will have no idea what's going on"
<mbriggs>
yeah
<mbriggs>
pretty much
<otters>
someday I think I will start actually making and storing flow control diagrams or something for my projects
<otters>
because the "in-memory" approach to design can't work forever
yhctim has joined #ruby
katie has joined #ruby
<robacarp>
good god the blind leading the blind over in #rubyonrails
cdepue has joined #ruby
lewis1711 has joined #ruby
<indeterminate>
hm?
<yhctim>
hey guys - reaching out for a little perspective here. been working on a startup small business w a friend - we've been looking for a web dev company and finding quotes coming in super high - wondering, generally speaking if $40,000 is an unreasonable budget for a rubys project? we're looking to build a custom app for hospitality industry, cms, database, ecommerce functionality to be vague.... any opinions? PM me if you can,
<yhctim>
thanks!
<otters>
sounds good to me
<fowl>
the fuck
<robacarp>
yhctim: I'll take your $40k, but I don't want to build you anything.
<fowl>
do your focus group somewhere else
<indeterminate>
must not be in the states.
<otters>
depends on the project, I'd say
<otters>
personally $35k is my base rate for everything
<indeterminate>
otters: portfolio link?
<lewis1711>
how do I write good tests? i have an empty test case all set up and I have no clue what I am actually testing for. ie do I test that when i give something invalid input it fails the way i think I should? Do I test different ways of constructing the object? links or book recommendations welcome.
<otters>
well, I was being facetious
<yhctim>
i am not doing a focus group, asking for an opinion from knowledgeable people as i am not - if you're disinterested in responding, no harm no foul :)
<otters>
the next thing I was going to say was "need your printer fixed? cough it up"
<otters>
but you beat me to the punch
artOfWar has joined #ruby
<robacarp>
lewis1711: yes, you should test those things
gtuckerkellogg has joined #ruby
<mbriggs>
lewis1711: start by testing the "happy path"
swarley has joined #ruby
<mbriggs>
lewis1711: meaning "If i give it something like it expects, i assert it gives me back the right thing"
<mbriggs>
lewis1711: follow that by testing more corner cases "If i give it something it might get, it should handle it by doing this other thing"
<mbriggs>
lewis1711: and then finally, make sure you cover failing cases that you handle "If i pass this thing nil, it should die gracefully"
<lewis1711>
mbriggs: thanks, at the websitenow
<indeterminate>
define gracefully
Norrin_ has joined #ruby
<lewis1711>
oh my mistake... happy path is a general concept
<mbriggs>
however you handle the nil
<mbriggs>
yeah
<lewis1711>
I see what you're saying now. normal behaviour first, then test it goes wrong how you want it to
neohunter has joined #ruby
<neohunter>
Twitter Gem, how i can know if my proved tokens are valid or not?
<mbriggs>
i would say check out "Test Driven development by example" by kent beck
<mbriggs>
it is a sort of "from the ground up" type book
<mfridh>
I think I got the Hash[.zip] thing under control... but I'm on ruby 1.8.5 here and there. seems it needs 1.8.7
yhctim has quit [#ruby]
yhctim has joined #ruby
<fowl>
mfridh, upgrade
shevy has joined #ruby
<fowl>
being on 1.8.5 in 2012 is pretty ridic
skipper has joined #ruby
pu22l3r has joined #ruby
iamjarvo has joined #ruby
libertyprime has joined #ruby
rckts has joined #ruby
senthil has joined #ruby
yhctim has quit [#ruby]
yhctim has joined #ruby
lewis1711_ has joined #ruby
<yhctim>
hey guys - reaching out for a little perspective here. been working on a startup small business w a friend - we've been looking for a web dev company and finding quotes coming in super high - wondering, generally speaking if $40,000 is an unreasonable budget for a rubys project? we're looking to build a custom app for hospitality industry, cms, database, ecommerce functionality to be vague.... any opinions? PM me if you can,
<yhctim>
thanks!
CheeToS has joined #ruby
x0F_ has joined #ruby
fr0gprince_ has joined #ruby
M- has joined #ruby
<lewis1711_>
mbriggs: thanks for the recommendation. will check out that TDD book. connection is useless however so I'm off
<senthil>
mbriggs: which TDD book?
wallerdev has joined #ruby
centipedefarmer has joined #ruby
waxjar has joined #ruby
<mbriggs>
senthil: lewis1711_ was asking basic questions on testing, so i recommend Test Driven Design By Example by kent beck
<senthil>
mbriggs: how is that compared to Growing Object-Oriented Software?
Norrin has joined #ruby
<mbriggs>
senthil: tdd by example is beginner stuff
<mbriggs>
senthil: i would say growing object oriented software is more advanced
<mbriggs>
much more
rohit has joined #ruby
<senthil>
mbriggs: been meaning to start that one
<mbriggs>
if you are looking for material though, i would recommend gary bernhardts destroy all software screencasts
<mbriggs>
10$/mo for a subscription, but awesome content on testing and object oriented design
<senthil>
mbriggs: yea, those are good, was subscribed a while back
<senthil>
mbriggs: have you seen this peepcode play by play? totally revamped my vim/zsh after that
vju has joined #ruby
<mbriggs>
senthil: yeah, the dude is awesome
<mbriggs>
senthil: my favorite play by play so far by a decent amount
apok_ has joined #ruby
<vju>
newb question: looking at the code here http://tryruby.org/levels/6/challenges/4, are h1 and link some kind of special attribute syntax for a block or are they just methods?
dotnull has joined #ruby
luckyruby has joined #ruby
symb0l has joined #ruby
Norrin_ has joined #ruby
tommyvyo has joined #ruby
<Veejay>
vju: They're most likely helper methods that generate respectively <h1>My Links</h1> and <a href="..">...</a>
<vju>
ah
<Trumma>
methods yeah
swarley has joined #ruby
<vju>
so if I wanted to learn more about how to do that, what should I google? helper methods?
<mbriggs>
vju: they are playing games with scope there
<robert_>
is there some way I can combine while and unless?
<vju>
I see
<mbriggs>
what it probably is
<mbriggs>
is they are capturing the block of code as a proc
<mbriggs>
and then passing it to instance_eval of some other object
<mbriggs>
which is kind of advanced stuff
<mbriggs>
but you can use it to make really pretty apis like that in ruby
<vju>
ah ok
<vju>
I'm seeing it used a lot in chef, so I was wondering if it was just some native feature of ruby
<senthil>
mbriggs: mine too, close second is one by zed shaw
iamjarvo has joined #ruby
<denysonique>
http://www.youtube.com/watch?v=d53FdCEVplI&feature=youtu.be -- this 16 second video demonstrates a simple app which I have written in Ruby -- It takes a screenshot and immediately uploads it to a server. Share your screen easily and conveniently
libertyprime has joined #ruby
robacarp_ has joined #ruby
symb0l has joined #ruby
badelat has joined #ruby
Norrin has joined #ruby
carlyle has joined #ruby
swittenkamp has joined #ruby
jtf has joined #ruby
jtf has quit [#ruby]
senthil has joined #ruby
ZachBeta has joined #ruby
senthil has joined #ruby
<senthil>
denysonique: what text editor are you using?
<denysonique>
senthil: I use Vim
<swittenkamp>
hello, I have a Linux box with two versions of sqlite installed. One is system sqlite, other is custom installation under /opt. I'm compiling a rubygem and trying to link it against the custom installation. Installation goes well, nothing blows up. However, at runtime, it appears that my .so file is pointing to the system's shared sqlite installation. Any ideas on how to resolve?
pastjean has joined #ruby
<senthil>
denysonique: ah
<Boohbah>
swittenkamp: change rubygem compile prefix to point to /opt
<swittenkamp>
Boohbah: I have done that and still no dice
<swittenkamp>
Boohbah: I pass --with-sqlite3-dir=/opt/sqlite-36
<swittenkamp>
where /opt/sqlite-36 is my custom sqlite
strife25 has joined #ruby
cdepue has joined #ruby
jessed has joined #ruby
becom33_ has joined #ruby
paniwani has joined #ruby
symb0l has joined #ruby
<paniwani>
what's the correct approach to split up a class's method across multiple files?
<paniwani>
methods*
<Boohbah>
swittenkamp: can you pastebin the compile output?
liluo has joined #ruby
mbriggs` has joined #ruby
frishi has joined #ruby
<swittenkamp>
Boohbah: there's nothing to paste because it succeeds; my issue is that when I load up 'rails console' it explodes saying that it doesn't understand the .so - and if I run ldd on that .so file it's pointing to the wrong place
cloke_ has joined #ruby
* robert_
un-explodes swittenkamp's rails. :D
<swittenkamp>
robert_: I wish it were so.
<robert_>
yeah
<robert_>
sucks for me, because I need to get rails stuff done
<robert_>
and I'm stuck writing tcp/ip stuff :/
<mbriggs`>
can you use anything other then sqlite?
<swittenkamp>
robert_: oof, crazy
<swittenkamp>
mbriggs: no, it's an existing application that I am supporting, I can't change it
<robert_>
swittenkamp: indeed. what's your rails stuff?
<robert_>
ohh. fun.
<swittenkamp>
the app itself is actually very well done
<denysonique>
RubyPanther: hey
<mbriggs>
ouch
<denysonique>
RubyPanther: this is the answer I was looking for (;
<swittenkamp>
it's just the building process that isn't going so well
SashaGre189 has joined #ruby
<swittenkamp>
we upgraded to ruby 1.9 and had to upgrade sqlite as well
<robert_>
swittenkamp: home-grown, or..?
<swittenkamp>
predictable shaving of yak ensues.
<robert_>
aha.
<RubyPanther>
I'm not convinced, but I'm glad you found what you were looking for.
<swittenkamp>
robert_: unfortunately we use a build system called conary
centipedefarmer has joined #ruby
<swittenkamp>
do not ever use it
<swittenkamp>
ever
<swittenkamp>
never ever
<swittenkamp>
ever
<denysonique>
RubyPanther: not convinced? Show me an easier way then
<robert_>
Okay.
<mbriggs>
rake wasn't good enough?
<denysonique>
THIS MAKES A WOMEN HAPPY AND YOU ARE NOT CONVINCED?
<swittenkamp>
it is quite bad and cumbersome. it has really neat ideas, but a feedback cycle that's letting me read 3-4 articles as I wait for stuff to finish running.
<RubyPanther>
AddHandler cgi-script .rb
<denysonique>
RubyPanther: emerge apache. /etc/init.d/apache start. vim /etc/.... Is much longer than. gem install cgiup; cgiup script.rb
<RubyPanther>
The women I know fall into two camps, those that already have apache configured and know where their cgi-bin is, and those who wanted me to set up everything for them anyways.
<denysonique>
RubyPanther: apache sucks...
<denysonique>
there is NginX btw
<RubyPanther>
See, there you have it. Wipe your chin. lolol
Boohbah has quit [#ruby]
<denysonique>
well, maybe apache isn't that bad if you use Haml for apache config files
<denysonique>
but it still sucks
<denysonique>
compared to NginX of course
<RubyPanther>
You can love [random package] until the cows come home, it does not and can not make [normal server choice] suck.
blueadept has joined #ruby
<RubyPanther>
10 million sysadmins might be BOFHs, but they're not stupid.
<denysonique>
RubyPanther: Configuring Apache does suck, period.
yoklov has joined #ruby
<RubyPanther>
It is modular and easily scripted
<denysonique>
For CGI serving, apache does definetly suck. Apache is only cool when you leverage some of its modules, not available elswere
CannedCorn has joined #ruby
nari has joined #ruby
<denysonique>
but for home use, it is a stupid idea to install apache
<denysonique>
unless somone is enough idiotic to use PHP
<denysonique>
for which they of course will probably need Apache
<mbriggs>
i vaguely remember reading that hell froze over and apache released a new version
<mbriggs>
that actually performs around nginx
mikeric has joined #ruby
<RubyPanther>
"me not choose... must suck... derrrrr"
<denysonique>
mbriggs: it was a lie
Chryson has joined #ruby
<denysonique>
http://blog.zhuzhaoyuan.com/2012/02/apache-24-faster-than-nginx/ -- Some reports came out recently after Apache 2.4 was released, saying it’s “as fast, and even faster than Nginx”. To check it out if it’s true, I ran a benchmark by myself. Here are the benchmark results. It turned out that it’s a false claim. Apache 2.4 is actually much slower than Nginx!
<swarley>
I'd hate to ask for another pull request and have it not working fully still
Natch has joined #ruby
philips has joined #ruby
albemuth has joined #ruby
otters has joined #ruby
savage- has joined #ruby
MissionCritical has joined #ruby
io_syl has joined #ruby
<pig_>
swarley: did Mon_Ouie respond yet
LBRapid has joined #ruby
looopy has joined #ruby
<Quadlex>
I am totally lost on load paths
<Quadlex>
My tests require the lib directory
<Quadlex>
And when I run them all, they work fine
<Quadlex>
When I only run a single test, it borks
mikeycgto has joined #ruby
mikeycgto has joined #ruby
mxweas has joined #ruby
<swarley>
pig_, im about to add the request
<pig_>
swarley: i thought u already did it?
LBRapid has joined #ruby
<swarley>
i did
<swarley>
but i overlooked an issue
<swarley>
and i just fixed it
<pig_>
swarley: how the heck is cooper
<pig_>
swarley: who*
|IlIIlIIIIlIIlll has joined #ruby
<|IlIIlIIIIlIIlll>
Puggy muggle maggity ass riggle ma hole. Buck a waath ess wheel wall! Bustin' room past tin! Buckin' room past in! A harnaly scrary o mep.
<|IlIIlIIIIlIIlll>
Reccal theh mick thuck the rep tep taistral. Wallif ma wallis wallets. Is anyone here a jelly-o shkrapper? Bam glacky I'm mega man! Has anyone here ram baisted before? The koost a heeckil pludgeon. Feathers round rick gring air! Liquid cereal's good for you. The mummified goblin. Pallaj oh plex.
<|IlIIlIIIIlIIlll>
Moomassu desu, niddle the bair bons with caution Belgabble wolf waffy. Is anyone here a rubberty duggger? Is anyone a reggy dick plegger? Shoody spalooj moojer! Mella murtasTcM. Is this happy hour at the retard shack again? ron ron reggatoon. Walla julie malerf luck. Weggerty wing yaing plucking time!
<|IlIIlIIIIlIIlll>
Gotta set up for the suicide slide Gamma mareenmon. I've got more scrap ass shit than you can balieve with. Sally McDuffo whip. after secv on a sp00ky stream F/\gga foo regga makegg mahoun. Its all fun and games until the power goes out. Mennima Pay Street. rubbbity dib dadge pickard. Lelly in ma kellar.
<|IlIIlIIIIlIIlll>
I'm on recky o gregor street. Miggity ass raggan. Boyar bod. Pellicka pool wiss wall. Watching bynum bukkake the smelts Haggity ass mahown. Trukkity rep roon, the kitz a kickel plujin. Trellalickers and burb street. Huck a dickin' dime.
<|IlIIlIIIIlIIlll>
Float a pelly plaack ass. You're a digital dumbass. Smuggy jaloo meff jillahole. Dick, dick, dick dickaloo! Dick dickaloo my darling. Haggity ma heggal hole. nuriggerdy diggal. Visi blurb cage. O melon man mist meluhn mijohn. Oh man mellajoram. Hebble oh babble.
<|IlIIlIIIIlIIlll>
Two guns and a ruck roog. Turned into a hollow loop. scritch scratch the happy fog. Is anyone here a fudge plucker. I'm talking bout a rastal marry yo map. Too many ruggerty dag datoes Or are you fuck wappys out for kill gore!
<|IlIIlIIIIlIIlll>
The curmudgeonly pearl; ask and you might be answered. Finger with a whop top tinger. Rig tig tigger. I'm ram bastin' I'm feelin' clean! Pricey bad ass, a whop winger! Gullable dick waffer. Miggity mahoming beacon. Nick lickal novice. Your remenance. Square juice miknuller. Permio plather.
<|IlIIlIIIIlIIlll>
Where does master words eat pies for shells? Trenna ma lilla manole. A rargy barg ark. Shockity strip with the rectify guy. Clockity rep with the rectify fly. Hebble o babble. Rudda nah neh noo. HEP TEP ROGGY! I'm thinkin' about greckin' the rummified coin! Let's look at Amenhotep 4's mummified groin!
<|IlIIlIIIIlIIlll>
Ploona lefflie ludge picking! Haggy smith heddal, marry oh dettal. Hannabalist, no cannibalist, no hannibalist balievar. Ban dackoo. Put on weight! Wherr wiss fall, nudge plucking. too many |\|igg/\s, that's my line. I'm squirt with the worth of the mother plucking fine. Hoomee missee Mic daisy too. Davey oh doubt. Meggie mahoo middle.
<|IlIIlIIIIlIIlll>
Too many Romulan potatoers. Matoonal dakkal. Helly muhp, melly muhp, runna minuck taste-rum. Wack ass weight! Hellamanorf weg watthal. I think I'll just start to try my .smuretsaTcN rubbbity boom ducking. Hitchaleval exasht romice. Up with jelly my humpfrins. Uva devil miss tee pie. She can't poo!
<|IlIIlIIIIlIIlll>
Shniqqen munuh lik leggal perritolma penis pran chella maloney day breeze Paahster jam ban wikkle. Hella mah lun mick hella malole. Hella minull mic mella manoh. The roadline, it's illegal. Trully mulla mih nole. I'm a relladge-o-melladge-o-ram. Come on you fuckin dag asses.
<|IlIIlIIIIlIIlll>
Damned ram bastions. oilleJcM oper Smelly gruthergrarin trilaxals. withers ground ring air Puggle dee maggle dee mack traggle Jeremy sniqqle. Jeremy spoken, in next day I brusht boyered, I kicked a ball! mellaminorf troll protectors, trolls on the road! troll protectors, their stones of power glow!
<|IlIIlIIIIlIIlll>
Fleeberty dith bub, a hick now a hither they humpty tance Lunchell munch a reg uhl schoolio tress nael Chuck a lick a loon baby tunes Weerz mellicorp To the wack ann watching machine wells darilla raptor plexing
<|IlIIlIIIIlIIlll>
Shligga ligga millik hole Shligga ligga millik hole regamakio mathjul hah there Just like in Bart Simpson the Magazine! Ban ricky ban glicky jallo whip! menario mibs Pahorp pahilla thin meffrin slujjal jeggy moran magomorph baleener
<|IlIIlIIIIlIIlll>
I spell it throwt, you spell it throat, the real way to spell it is throwt throwt THROWT! Hux a mex a lig dwarf dudikolan mail street. Rella manae, Rella Manae, Rye dut duh! I'm living on budgy placky street. Reggal dee deck shweener Hicker trellalicker
<|IlIIlIIIIlIIlll>
What part of that doesn't make sense to you robo I'm rang dang smacking it up to the reck a heek a horn drom. Rag agg big chacka lo datey fifty. Sniggital maggal Shelly a jelly a jew lillaputan meglamarian necks booga man Rejja mella mic jeggal Baika looka reg tag
<|IlIIlIIIIlIIlll>
Throat a pelly proat raick axe. It doesn't eat muggo whip. It's a piece of paiper. Scrubbbity ass ragamahoun. Raggity ass maga muffin. Where's songy brother? Where's spongy brother? Jellanie mic flyer. Paloody pluck bag ack. Paloody pluck bag ack.
<|IlIIlIIIIlIIlll>
Whyn you call it throat throwt. I'm a baffy hoe. Flivvy a niv von neffran. Purity and prudence I'm suing for diaper damage. Scragg a billy blunk rake rast eye heeker, playmus guy I don't know what a rubbbity dabby is. Scrunny maloo lef heel hole. Scrunny maloo lef heel hole.
<|IlIIlIIIIlIIlll>
Arthie shlellijge. Arthie shlellidge. Talking about a bee turning into a guano root. today I'm doing pasta, i crumble it and pan fry it. Fuckin frosty. david hippa lappa pomprin. Is anyone here a hemp hole? Yeah, well shnijjy mc millicker: i know billy knalavolitz.
<|IlIIlIIIIlIIlll>
The Baby Faced Assassin pond. yrummin! Shmega melanie goetz I'm smacking it up to the electrify beam, smacking it to the galactify beam! Smackin the penis with the erectify beam! When will another green skroan the horrified scream
<pig_>
k
<|IlIIlIIIIlIIlll>
rubbbity dag daggy dib dib, daggy daggy dib dib, daggy daggy diggy diggy dib, throwt a welly wheel wall Reppity shcrep bam bam rep rep paranep Shnubbity shnib up bam bam Givin' me twice, i a molst a meeka pleck. Givin' me twice, a molst a meeka pleck.
<|IlIIlIIIIlIIlll>
Jeminee smucking smiggle. Halittle halorst hamerrian sects nep tep hotep gargle dee gook mackie mchellic hole. My niqqer dee dag sparky. Ponto comical blessnor I'm dain dead. Razor renzor manellik s-meg smeg you're all smegs. We're hovvy hella pruss miss puss Smelly mudga munaqqal Posta wicka holma melancholy laggam
<|IlIIlIIIIlIIlll>
Shmelly a mellac. Cloaky active camoflauge mail bow Warez into a whoop coup daddy deam, I filed a lawsuit with G.L.E.A.M. Dag a ricka bleg nagg. Richel reprezhnik rally mic hoe whip.
<|IlIIlIIIIlIIlll>
fucking ass licking piss sucking cunt. Threnthie oh pod throonis Tragallellah. bweeey eeeiw! bweeeeey ail! shnib polmans mahhal wourney Track a mix a meg norge
<|IlIIlIIIIlIIlll>
Flathican fellow street. Mc Grellae Mc Regegg. Prag a cuckian bag of gunk. Duh nuh nihh nuh farty milligers. Par boockalie twistie taiter. Tittly spoof bee Trellie oh dabble Antenna rethal Fucky daddy dicky Fucky daddy dicky
<|IlIIlIIIIlIIlll>
Chucka lucka ling to the chucka looka lat, man can't be banned! Dee oh doing! Chili box sand reggat. Crackity raggity ann shaggy rab rabble smiley oh diley oh reggal na meck transhole In a tough manner pung dungh chicka licka bang dad. Guess what you smartie millickan jallefnaord. Spend rellik maholmes.
<|IlIIlIIIIlIIlll>
Rudda boom boom dugging. My name is jameel my name's jamaan. Take this you fuckin' brack stab from buck hole. Brag a cuck of bintorns. I had to have jalooch to have breakfast. Trug a leck leg hole. Tellah mef raf. Trukkle trella lickle mazzle trag. Shab shab skrellix magellix
<|IlIIlIIIIlIIlll>
Roonah bucky blay lee! Roonah bucky blay lee! An aggle dee dak beyond the premier. switch up to a wedge pluckie A jecka looch reft round! poochin maleggal Drek a lek meek foamie. shlick a jig jeffjob A jella jitch manifest Horkin malurgis hoarde. prebelally mobijowrist.
PaciFisT has joined #ruby
<|IlIIlIIIIlIIlll>
Fartily gas farts on someone's jacket. Hicka low daggal. Manil hill the jiller. Reet dih doo deh dih, reet deh doo duh. dendridic millimorph cardackio cleptio maggle Jackintoshy zillword. Just another macgasm trexie o mario bubble. I had to have a mummified wheat bread.
<|IlIIlIIIIlIIlll>
Slaggy McNelly O-Loop. Hillie Millie. Mijujik calej loft, shweener screlly mellamanorf. The plux to the plack a leak a lithio meth galactical terrial tuesday. Ploody loon, back a toon! ron ton a jelly a shawn. Herd mah thuh fah thuh. Jeggal mig ella cracker. trellamanorf mick hick hole
<|IlIIlIIIIlIIlll>
Rump tump tiddle doo, rump dump damn. Farbooky twistie taiter. Farbooky twistie oh plox. jickellastrip shtiffy Trellie oh dabble Sabba7kom allah bilkhair ya rawafeth 3ash men shafek. 3alaikom essalam mawlana. 9eqeleyya kaanat men madresat Averroes. plan dan duckalin jee uhst waistband
<|IlIIlIIIIlIIlll>
Sparra kitha mellon hoh snail bookanees. Pucka hoonkin dick ass waste. Triclapian transcripts. Are you a jalellaputian? Arthie midge millik. See that is why I keep going "galactico trallie o-reggal" Cuckin twanbastin wigwams shmagga miggal smell-it syllabalistic macro. Oh-rellage oh ram
<|IlIIlIIIIlIIlll>
Trellik mic jelliger. Throwty a pellage plex. Spigga McGregor peggly oh dabble Hicky trellalick. You stupid pudgy fucker. Sneqqal segagal. Purital laggy oh baggal. Bucka broon broom shella muluk mic niqqer. Rooshta shpella. Plocky of pleckal bag a cuck of frin torns
<|IlIIlIIIIlIIlll>
Wa Alikum salam wa rehmatullah e wa barakat. Tarka dellalie dool. Mig iff raheg hord. Raga nahoolie jeg narf. Hellage rellage o-ram well to do it pollis Scribble dee babble. Mezzle ma norf. Praggity no maddak Duck a ween wark. You shpuffy shpook ma leggin don't be such a terrorisdt.
<|IlIIlIIIIlIIlll>
Hedgy McPillik. Hocka licka meals on weals. Batman, batware, guess who could be in the next Batman movie? It could be you! Galactical tactical earns the hard way. Maggie Mig mellijopod. trar ga moogly a mix traeger Puh reb deb dejjer. fuck jalafi jalive.
<|IlIIlIIIIlIIlll>
Leepadipa did away. lovely women spit things. shnep a leppie loon. smellagajee smellamanew. Fruggity diggty! Scrunny maloo lef heel hole shlody shlicka rabbits Galactical tactical plack ass. Pawikki scrap runa mallilligram. pick tatots. Conifanible pluckin. Boom bam shpaghetti monk.
<|IlIIlIIIIlIIlll>
Sum bum parlacktical barthy backthickal. partrusially prtregally reggal megagal. You fuckin roody poot noink. Smullah jah litch jitch runhole. Shit up you bad ass. Is anyone here a rubbbity deaf nard. Sniggital wathal whip. Thylacoleo carnifex for a pet, hugga ghigga micomprin. Don't fuck with my restaurant!
<|IlIIlIIIIlIIlll>
Truggity reg up rim dum, a spoon contacts the kinigigal concern. trust no one, tiger miller Michelle and jantsy with a banshee! pasa wuh thuh fail the jookified coin. Oh my gum! Oh my gum! It's oh ho ho he's here! Malika joola jalegnorf. Malika joola jalegnorf. Heggal the munch tunch taste rins.
<|IlIIlIIIIlIIlll>
Prestegious milla ma hoe. Panny meffa lick waifers. Malorf jin, jalallally jin, screggat mo meggat mo methalithal lowdown. It's oh ho ho she's here! Has anyone here ever been to the bastard zones? Shmeggal dee mech eck golms. Boon toon underwear, boon town.
<|IlIIlIIIIlIIlll>
Veronika, days of joy, happy time for girls and boys. Fuggle dee daggle. Ploody pluck a loon, baby tunes. Hella mah nor. Snuggity rabbity pit street. Hackel meal McZhellikehr. Wooh wee! spagg midge mellot. Jello mic tatum. Trucka looger legga baby. martial mic reg egg trans mestrials
<|IlIIlIIIIlIIlll>
Mella Midge Mister Pluggity ricking. Rab trab traisies. fruggity hesterani knellect. Rumpin dumpin dighole. Rumpin Dumpin durds. Barvis joon a hear a harvey snards. Jellis mellis Trelalix twixt nick davey. Rawl eenf rurst o plast. Rella mahole rick.
<|IlIIlIIIIlIIlll>
Scrunny mit tack pick jack. I'm talkin bout plucky PLUCKIE pluckie o'hare. withers ground ring air. parchookalie buckle, weeh eeh. pluckily boosier bael regget ramajot. bartoofteein regleg. Ret round hujamima bound. Tickle me timbers. Farg duddly uck uck darg marg. Hosh a mosh a luke a leek a leggin! Audacity of it all, you feel small
<|IlIIlIIIIlIIlll>
Clarbudgy cabujjin, Carblinkin carblastan carbleggegg. Are bastion you jastuin. We're all for the Kardassians who lost the war against the Federation, don't you tell worf we need another ration. Fargleb skeeol skowl all bleb. carmattick raticular pledge mahole heel. Mettick marial mahoney blastokist
<|IlIIlIIIIlIIlll>
Shmartooty boots breath. Rennimino rick taid. Renniminnow rick taid. Carbloochy bad ass. Renna ma nick patrol. A chucka oo maow maow, chucka oo maow maow, a chucka oo mow maow, chucka oo maow maow. Panta hoasta leeka tolweth hade. Rum dump dump digalagger.
<|IlIIlIIIIlIIlll>
Cannabalism regamalan. Bardacian bull-horne mooses aren't in this quadrant of the galaxy. Playin' Star Trek Online cause it's free to play, just like All Points Bulletin: Reloaded and Final Fantasy XIV. Eee dah climp lah plocky ug tug tech.
<|IlIIlIIIIlIIlll>
I went out with twenty of those rebbity jellickers. we're all midge millickers. Puh reb deb dejjer. Galactical tactical plack ass. Rump tump tiddle doo, rump dump damn. Ban ricky ban glicky jallo whip! Pahorp pahilla thin meffrin. Reggal dee deck shweener. It doesn't eat muggo whip.
<|IlIIlIIIIlIIlll>
It's a piece of paiper. Scrubbbity ass ragamahoun. Raggity ass maga muffin. maggity von heffrin Shtooty mic blackened. Shooty hick black and pick tatots. hugga ghigga micomprin. Don't fuck with my restaurant! Truggity reg up rim dum. a spoon contacts the kinigigal concern. trust no one, tiger miller.
<|IlIIlIIIIlIIlll>
Michelle and jantsy with a banshee. prebelally mobijowrist. Fartily gas farts on someone's jacket. Where's spongy brother. eye heeker playmus guy. Helly midge mushkin. Rumina mee drowls wall width.
<|IlIIlIIIIlIIlll>
I've got your mother's pussy juice bottled, I sell it out of my house
<|IlIIlIIIIlIIlll>
S.ll.a.g.g.y mc pit street. Hustler hova heeva Chick ova heeva ova heeva. Braxalarian blalalxrals. snuggity rab rab rabbits. Snuggies aren't selling anymore. most people don't know what a "snuggie" is. Halla micka wheel wyaujtkchtpt.
<|IlIIlIIIIlIIlll>
Spaqqa miffa liffa leggin. Terry baloris trickaleggal. Sequester mlajjap eastro diz hamta wan ta licka holmus preed. Scatty picka loon dunes. Hoakalin McGregoar. Roddy McFlyer. Hillie Midge Millik! Arfie McChaffer Chickababy
<|IlIIlIIIIlIIlll>
Milla jalaoft jitch breakfast Peef pond pallooleol babble. I had to have sex in diapers! I HAD TO HAVE SEX IN DIAPERS! diaper sniper days, everyone knows about sex. it pays when my nickname used to be snake.
<|IlIIlIIIIlIIlll>
Puritalin baggy of gunk. my name's not tristan it's rastan. rallin for null like a holdy hook black ann. Tiny tim, dick ass whim. Shaloody shlock braze made. Pullilcoch dravinarial balactal guarns.
<|IlIIlIIIIlIIlll>
Albatross doog ee rook rack egg. Wanny manilnorf traggat muh hilli hole back street pormande usft vadinal deena. sex with a shoogie look laygie. Zellamanorf worf wallow. isn't that up the street?
<|IlIIlIIIIlIIlll>
Shlagg lagg McNellanorf. I'm a jalooch jooch jeggal jalalicker. Tricky ass jillickers. Dev dev developers and wheat. /jalack a mic taxle\ juki al juba nas wat eerie fun, jest maleel oo had, lala in mackmod. Fifty tramps.
<|IlIIlIIIIlIIlll>
Mister Doofie's diapers. Pahole hell wack pahole hell paiper. jegga rilla ma jorf. plack a pleek meladromic mezzistove tricky the band needs a tan no one cares about care bears eatch mizzle tag the mazer milojprafft malidge praft
<|IlIIlIIIIlIIlll>
Mahole hack mellow the wiper. Milla janil. plex kuying flying trev plegs. Jaloffin Jalillobie. I'm in your cement. Parudgy rij jelellolebob. blanky rich fandestriovon. Galaxio trabble. Hef a heavy hompfrin pole. Jalooshitty scrooch
<|IlIIlIIIIlIIlll>
I've got more track ass gangsta shit than you could ever come up with.
<swarley>
pig_, he is a friend. A silly one at that. But he is a good friend, so i'll let it slide that he took a joke and went through with it lol
<|IlIIlIIIIlIIlll>
Calej loft ridge muh gorrie mack. Citaldroff metahynoon rickardo Pren pen parillo. nargofio gaxal fargothik well wheaty exiliant the meeky Pargrether the doplin underniner jockliship striffy Pallatoonie prudence palaxoiriot. Putty cad adt red et snooper dooper
<|IlIIlIIIIlIIlll>
Margy mixalef a lig dwarf. We're talking about real life gellairio sects here. Rang brang brelladge maneer. Turtikle jellejej galaxial protowaxial blove ass ween thiggle mannella muh norf. Partruzhion kopuxtin here we work at emeny bes baas tookany benna bastard bookanees.
<|IlIIlIIIIlIIlll>
Maluj slij jalilahole. Kanga tilla to pleck. Hajjamellion morph clepicon. Giffy maga drellapator texel. Angellico padge prella rarian plarian reggal baddle. Pash pa helican, padge wathfond wallow maneel. Midge muh jih murathum.
<|IlIIlIIIIlIIlll>
Isopolavial interface. Four times the square root of the intermix ratio. Uglefrin. No comment. Throat a pelly rouch a pellax. Belchers bonans Pledge pledgy teddeliton. Fusing petons with jekeley hoe whip. Prellej whip masty snacker. Prestige rella hoe with buffo whoops.
<|IlIIlIIIIlIIlll>
Duvida tess miss ravakajeerion. Parjoonie a gone rufita snaftal. Hasons honishers pargonial vell of the whip Puck a toony twayster. Hella mikcrest of a momajamish yearns to the mucky twayster ess pee ain ein prepare for launch rut dat gat mabah marron. Pargosy man jellots maran. Deemed honshman
<|IlIIlIIIIlIIlll>
Mella mic toadis. Jempy karbozilajz. Packrestial poolio payil. Pug giga ran, pugogga rist, pagegga wreth. Ant beyond my cheeves. I'm the son of god, I'm the son of man. Parhexial reggal martillago meg regs. Shlug shluh liggeran rapsh nazh. Chunnif mahayver Sonic shaffer
<|IlIIlIIIIlIIlll>
Hom jaref shpoot like a shpanker. Drelek meek mekhomie hahnalillalie hej magellomie moog scriggat the rotch def fohkood. Helledge ah-rood! Helladge hick death Twiddle ee lit amamo ahamo. Ledgy pledge ih ma thelicroth. So king haneez, praise kinga knees. Seminole. Sermon off.
<|IlIIlIIIIlIIlll>
Hump dip a dub, I've got the force you're a scrub... Hump dip a dub, you're being forced as a scrub. Get some cum from sex and make pancakes. Haffa jarem powder mixed in with semen. Haffa jarem like a shpoodie shpoot spanker
<|IlIIlIIIIlIIlll>
Scrella malorf wheel wall. Canethnical skrothaj. Partans ass wheel. Partent mohzhoost. Pins jumps with knifer knaves. Ruv div dah vompfin hompfin! Ruv duvivida momfin homfin.
<|IlIIlIIIIlIIlll>
Rella cavity mah heel hole. 0helej mah heel hole. Scrak a cracky MC Mellej Geeky a man smellej. Sniggity up dagger waath. Poh tain master peen hole. Pagamarian spagamagelleck. The micro ween. Hogalagarin meffrin.
<|IlIIlIIIIlIIlll>
Huv divva hompfin stompfin. Naw Knawl squezzel lezzel lah doo dee dooooooooooo. Commander McJelleker. Jeckalie jooch. Naw squezzel naw dee dway knoth! I'm thinking about partankiyan.
<|IlIIlIIIIlIIlll>
Hub dave dellavonathzhal seeky selliky non vohanssen. Shmellik o daggal. rarny trastalarian po tranamonathal. Tranamoe lathah mo miggaliggal. Larry plellamonathal.
<|IlIIlIIIIlIIlll>
Tego plellio plaxal. The paxans. The Betazed. The piss on a ween ward. The megropack. Poluka maxan high chefner. Picard to Gamma Aridon! Gamma Arridon here!
<pig_>
swarley: hehe
<|IlIIlIIIIlIIlll>
Jello scrap baroom of hushkin Glorily al thrushin Reen ron pliggita plaggity. Munchala cleek a hogrin meffrin. Trallawin trillicker. Tellamarial threlliol threck. 0
<|IlIIlIIIIlIIlll>
Am an schillibolist a fillibolist ba wack. Wrench a doof a deef a dumpfing. Put down the pacifier. Put a pin cushion under someone's foot. Bam ban can't ban cannablist baleivar.
<|IlIIlIIIIlIIlll>
Sammy slick as lots of pep I'm feeding on my dumper daves. Krempy mella kamek Hippa tra la the to pump all weevil. Wavity Indenture the adventure char plaggy o maxal
<|IlIIlIIIIlIIlll>
Pitin footmahoun meglal parry pleggalomrek wrel dukith rallah rallakef rallaketh my na't is keih keith juba dooki dooki layber lumber boned dry
<|IlIIlIIIIlIIlll>
Soemtimes I eat sometimes I trives? &doesn't work& clally megalomaxel randolph jukes rarry plellage o-rellage-o-ram Crary mella crolaftrin Baft a trolley tumbloup al a poloron beam Mellacrometh Shifty Mudge-eh-muhrathal sexworks
<|IlIIlIIIIlIIlll>
Slick a la rig. Rillie ma rej relleketh chumpin up to sars I wonder what it would be like to go up thayer, Pouin dub meebilow mobs. Baleent ass blub. Mego meerio mibs.
<|IlIIlIIIIlIIlll>
Allergic to wheat bread! Chigga loah dee cheagy Konifiable plunkin. Exipalgial marplaxal proodin without a preen gog a romy a reffrin trexxaleck elprher oxrimorinder. mining for marria muns.
<|IlIIlIIIIlIIlll>
Fleg a deggy a nefran. Ikaolapu bressnog. Tivit xix toag plix. chapter of relekesh Ralph a billy blaylee! Renna puh taah tee twixter. Rezamaloo salt, jedda ma loo salt school. Skant skade.
<|IlIIlIIIIlIIlll>
Ralla glooky glarg mech. Trec Trek Trellaleck! Maggithied pie. Plaxy jallab ro gallicher. Jallacrith joe jallallicker. Fram from a vellon piece. Plaxie plarillaralobe chaser.
<|IlIIlIIIIlIIlll>
There aren't many worlds left to explore. We all get hooked on World of Warcraft, but then we're bored! Better off playing Phantasy Star Universe or Runes of Magic I'd say
<|IlIIlIIIIlIIlll>
Repalep tep tarep. Pruda pila peran palmus pran. Pruda pila perin palmus pran. Squeej rellaj. Breath width
<|IlIIlIIIIlIIlll>
Traglamarian brexwith. It's just another day without meatballs. Scrary o chasms doaper dave. Reen lin huh rin holy have. Maloo polaty plegidteftytedddleton. Billy knalavolitz i survived hershowicz. Goan gearing my groon. Groan rearing my grouch nards.
<|IlIIlIIIIlIIlll>
Trexel mairio babble. Boon daddy booty blalocks. Aren't going to quit? Tralalelly oh gregs! Truck ack paragontquin. Tranx gralallellian grouping. Berry berry narry nas, barry hoo, barry bas. AH AH AH AH rah rah rah rah rudda deh nah doo doo, boom bood a boot dood.
<|IlIIlIIIIlIIlll>
Trally glally jrehr lallaf. Married berry berry nas, harry boon, nanner bas. Ahf! Ahf! Ahf! Ahf! Layer praxool! So many back to schools. I'm rapier. I'm gonna rape her. Some artsy fartsy kind of stuff. You should write a book about preventing farting. A guide to avoiding farting.
<pig_>
swarley: careful Mon_Ouie is very strict ;)
<|IlIIlIIIIlIIlll>
Gore gearning my krans. Feela fool lo expanse. Til my bed med hende Mars. Shink a dink of dozens. Larly ballellacraft. Rump raiders, ass bandits, and cheese nitwits.
<|IlIIlIIIIlIIlll>
Trarly clookly bagel! Maneerial map. Rar gooky gookky barg ak! Ralph billy balf billy Larly laprejlarin. Ralph billy balf billy Larly laprejlarin. Rellamalloo trej nords. I'm picking my needles.
<|IlIIlIIIIlIIlll>
Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Plood a luck a lady. Ifterty toujolity dzhamellegsh.
<|IlIIlIIIIlIIlll>
Olegvranseef van vrans a la lan. Rugga reg trella la meck. Plood a luck a loody loody poon. Ifterty toujolity dzhamellegsh.
<|IlIIlIIIIlIIlll>
To the black man watching well it isn't true! Nice rice big and black, jail times a jookie rhymer black is black. A JOOKIE MIMER!
symb0l has joined #ruby
<|IlIIlIIIIlIIlll>
I can't siffy siffy splain it. Siffy siffy xplain it! Jal jol jalah lalah larry smith johnson! Hickalikaliggal to the marrionoddal. Hickapleekaploggy marriodettal. Shlagalarry-o dettal.
<|IlIIlIIIIlIIlll>
Flagalary difty david. Chikapleekaplocky puararan blocky bag of bunk. Aurstralian frost. Huff puff ruff uff. Eerie hire playmus gay. STOP THAT ROACH! Roachalarian thregnargs
<|IlIIlIIIIlIIlll>
Chixaplerean tarood duelis. Hunk and dunk of dignorgs. throtaparry lellabrass. Throwtaparallelly roachapralaxx
<|IlIIlIIIIlIIlll>
Shlallie a loon to the hep t3p poons. Ragularian Beetle snuff. Rump tastin teddy grahams.
<|IlIIlIIIIlIIlll>
Chag a lelly awl praxal. Ragrahrary ro jub. Huck a lick a loon, baby tunes. Huck a lick a boon toon. Zhar blaly ograxal. Traritectorial blecx. Shlollie-o laxal.
<|IlIIlIIIIlIIlll>
Just like the ragulariabuub It's the sintani of tantani tatit tatus We look like satanus plaxuis presiduous praxans gralaxion bhratchan
<|IlIIlIIIIlIIlll>
Boom bam badda bing bog bonk. Harsha trashian helegor skrapple. Shlitty shaddy shpageddi in a street cart. Virtual dampers throw with trouble. 1 MHz chips bust your bubble.
<|IlIIlIIIIlIIlll>
Megamarian magapaxle. Pickalicka loon. Potato juice. Pebble jitch transplanckyourism Upper vica vundowns. Don't you jelelly jallaaf my terrified tellers. One of those tellarian elvhorns.
<|IlIIlIIIIlIIlll>
Crab rab jalilickers Shoopha faily blocx nix Qasat Treggy a laxel terroritollimus racx doawn. Black down tround.
<|IlIIlIIIIlIIlll>
Picka licka loon picka tradey toons. I'm almost there. Ee buff DAY I'd say! I'm a mmr mmr I'm a ellise viel tpvice.
<|IlIIlIIIIlIIlll>
The baffy hoes where I don't know. The thunder wear it's called ballow boe. Pecka chicka tragalah laah tic pam pic beetle bum
<|IlIIlIIIIlIIlll>
Shuckin like a jack ass, my proto's baister I'm feelin clean, some jello whip and some chick'n cream. Another scene release by CHiCNCREAM. McShleggegg
<|IlIIlIIIIlIIlll>
Canker pegger. Pluck a loon paddy poon prunes. Rum biddy bada boom, boom! Rum biddy bada boom, boom!
<|IlIIlIIIIlIIlll>
Ruggity dugging. I'm thinkin' about rump damns, tricka licka lay-day! Hold up, wait a minute, let guy smiley come to rump roast. While we playin' it's totally not toast. Come on everyone, it's on Friday's news!
<|IlIIlIIIIlIIlll>
A Romulan Praetor, a masterbator, rih dih deh doo! Super guy! Aarfie McShmelegg to the rescue! Paddy poon prunes. han wantifinuhl scroons. Arthur McGreggegg
<|IlIIlIIIIlIIlll>
Rep trep tricka-lork to the rup tup tays. Shiddy daddy ding bag. Ron terrier rat! Rond badaag rig. Ron a trary ole meh! Rum baddad rig.
<|IlIIlIIIIlIIlll>
Aah well, hep tep rains again. Sara tara tolmus preed. With or without meatballs. Does anyone helpa with a floot bot? Tragalarian plexels. Tricker Protractor.
<|IlIIlIIIIlIIlll>
Abis tripolis helmis -- What am I thinking decka dig nork!
<|IlIIlIIIIlIIlll>
I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinkin' about reggity diggal... I'm thinking about reggity dickhole! I'm thinking about jeggity jibbers
<|IlIIlIIIIlIIlll>
Shnebbity shnub up bam bam. Ar cor you insufferable menace, ar cor waal wheel woal. Ee buff day I'd say.
<|IlIIlIIIIlIIlll>
\\\\\\\\\\I come up with more original material in 30 minutes than this entire channel does in a week.//////////
<|IlIIlIIIIlIIlll>
When I'm thinkin about the greg nargs, I'm thinkin about you! I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you! When I'm thinkin about the greg nargs, I'm thinkin about you!
<|IlIIlIIIIlIIlll>
I'm thinkin' about the greg nargs
<|IlIIlIIIIlIIlll>
You're thinking about the greg nargs
<|IlIIlIIIIlIIlll>
I'm thinking about the greg nargs
<|IlIIlIIIIlIIlll>
I'm thinkin' about you!
<|IlIIlIIIIlIIlll>
You're all ragularean greg nargs, I'm thinkin about you!
<|IlIIlIIIIlIIlll>
You're all a bunch of worthless greg nargs... say my kick ass phrase HEP TEP ROG if you want me to go away...
<pig_>
swarley: btw does coolline have a test suite?
<swarley>
pig_, i fixed the up and down arrows as far as i can see. im noticing a problem with logging history, so i'm going to start working on that
<swarley>
there is repl.rb
<swarley>
in the main dir
<swarley>
and there is a test/ folder
<|IlIIlIIIIlIIlll>
Dro Druupings
<|IlIIlIIIIlIIlll>
Fafty righteous gays so tomorrow I dopn't say
<|IlIIlIIIIlIIlll>
-twaxana luggar de preggel penis at home bounty baby
<pig_>
swarley: are you running tests to make sure they all pass after you maek changes?
<|IlIIlIIIIlIIlll>
Run ton to the jaggy jelly jalakshon. Rye dye the shelliac higher lifeform than mammal, shelliac, higher lifeform than bird and avian.
<|IlIIlIIIIlIIlll>
Reg teg shneggity shnikkum, ramp pum putta ma nae! Hi hoe the dairy-o's milky penis too. Shneggity wikkum.
<|IlIIlIIIIlIIlll>
Aay! Ar cor smegamanalee gas up the farts to the flutey fake warp ass
<|IlIIlIIIIlIIlll>
Wat does the thawty no dreadnought saye when the fourty dourty ditch doesn't go away? It doesn't go AWAY! IT DOESNT
<|IlIIlIIIIlIIlll>
The plant turned into a guano root. Turned into a pollen grain! Talking about a bee turning into a nest!
<|IlIIlIIIIlIIlll>
The plant then took the guano molecule into it's root... going up it's stalk or shoot it deftly
<|IlIIlIIIIlIIlll>
turned into a pollen grain, swept up by a bee taking it to it's nest
<|IlIIlIIIIlIIlll>
The nest gave birth to a larvae, which turned into a pupae, and finally into an adult bee
<|IlIIlIIIIlIIlll>
The molecule went into the bee's stinger during growth. Then some kid got stung...
<|IlIIlIIIIlIIlll>
it really hurts when it comes from bird shit
<|IlIIlIIIIlIIlll>
You fug ug fagheads.
<|IlIIlIIIIlIIlll>
Wear your baseball hat backwards with an ass on the back and we'll call you asshat
<|IlIIlIIIIlIIlll>
Some of the time I ordinarily don't know. It all begins with the letter A. Fork, spoon, knife, it's all at the table.
<|IlIIlIIIIlIIlll>
The mailman comes to each of us in time.
<|IlIIlIIIIlIIlll>
you fug dug fargnargs
<|IlIIlIIIIlIIlll>
HEP TEP ROG'S MY KICK ASS PHRASE, Boy my bestest friend
<|IlIIlIIIIlIIlll>
I'm Hep Tep Rogging to the Rep Tep Hogger!
<|IlIIlIIIIlIIlll>
Roogy to the hep tep rog. HEP TEP ROG!
<|IlIIlIIIIlIIlll>
Cause hep tep rog's my KICK ASS PHRASE!
<|IlIIlIIIIlIIlll>
I'm thinking about herf herding my NERF NORDS!
<|IlIIlIIIIlIIlll>
I'm hep tep hegging to the hep tep noob nork! Why don't you all scroob nork!
<|IlIIlIIIIlIIlll>
I've been hep tep rogging since 2006... Say HEP TEP ROG if you want me to go away!
<swarley>
pig_, the changes im making are basically in numerical value. for the up and down arrows, im pretty much trying to break it every time i test it
<|IlIIlIIIIlIIlll>
Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes... Has Hes... Hogan's Heroes...
<|IlIIlIIIIlIIlll>
Where's Waldo... Where's Osama Bin Laden... there is no difference.
<|IlIIlIIIIlIIlll>
Nothing but a bunch of druggie channels go do drugs tomorrow it's not swiped.
<|IlIIlIIIIlIIlll>
The grass is green and I"m not WHITE
<|IlIIlIIIIlIIlll>
Talking about a bee turning into a nest.
<|IlIIlIIIIlIIlll>
Pitted prunes, pitted prune prunes, pitted prunes, pitted prune prunes... take it out of the, almust day of that, take it out of the, alumst day...
<swarley>
i dont have a script laid out to do it though
<|IlIIlIIIIlIIlll>
I'm thinking about boody hunk daislies... Hoodin for rhyme rhuck pruck traisy
<|IlIIlIIIIlIIlll>
Fuck daddy dick ass I don't mind, chicka licka lutch to the chickil heckin' cream, I give off steam!
<|IlIIlIIIIlIIlll>
I'm thinking about rubbbity jibbits... I'm thinking about rubbbity diddle dabby dabby dazzlie!
<|IlIIlIIIIlIIlll>
Wag wag... woadwooze rhymes with road rules.
<|IlIIlIIIIlIIlll>
rubbbity diggy... I'm thinking about my ribbity dib dab raggity ann!
<|IlIIlIIIIlIIlll>
Congo Bongo... anadinary fun... Bingo Cingo, Bingo Cingo, with an other cookie cutter, now what do you see, with a really cookie cutters, swingin' adda me! Bongo Congo will have you flying of your tree!
<pig_>
swarley: i mean does his test suite still pass after your changes?
<|IlIIlIIIIlIIlll>
Holes hees rum dum dip, holes knees, knobby knobby knees
<|IlIIlIIIIlIIlll>
It's a baffy hoe with juffo wip!
<|IlIIlIIIIlIIlll>
It's a ruveedoovuv rif dif to the ruvy duval ref deaf. Oop ground, black ass brown
<|IlIIlIIIIlIIlll>
\\\\Rug tigty taigies/// Why don't you go ZAAAMMMBOOO! Z-A-M-B-O-O!
<|IlIIlIIIIlIIlll>
Ret deh, ret ded doo doo deh deh deh, dit dit deh deh doo doo deh deh deh, rit dih deh deh doo doo deh doo dih, duuuuuh nuh nuh nuh nuh nuh nuh nuh...
<|IlIIlIIIIlIIlll>
No. But I did Narfle the Garthok.
<|IlIIlIIIIlIIlll>
Poopy shcrap on a bunion. Poor Paul, Poor PAUL, poor bunion, poor bunion. A big lump on foot, a bunion, a bunion.
<|IlIIlIIIIlIIlll>
Don't jump in the pool, I'm gonna buck you up, twice. Such a failure in life, just like Vanilla Ice...
<|IlIIlIIIIlIIlll>
A vessel prevails. The dilemma dances. An incorporate tea cup stumbles next to the contempt man.
<|IlIIlIIIIlIIlll>
When can a fraud recall the frozen cynic?
<|IlIIlIIIIlIIlll>
A sentence suffers behind the sure drill. A brown vendor dashes. Not ngrdly brown but black ass brown.
<|IlIIlIIIIlIIlll>
The integrated packet strikes opposite the spit. A cry mints the scenery.
<|IlIIlIIIIlIIlll>
Near the lurking nun shifts an unhelpful blade. The blade then pierces the nun's heart killing her. How does the psychologist beam?
<|IlIIlIIIIlIIlll>
The cry stretches! Whatever key purges!
<swarley>
im going to check now
<|IlIIlIIIIlIIlll>
An addict profiles the linked automobile behind the diameter.
<|IlIIlIIIIlIIlll>
When will the humble peanut turn without a dip? Below, an acquaintance decides each disaster.
<|IlIIlIIIIlIIlll>
When can a tag fool the checked mailbox?
<|IlIIlIIIIlIIlll>
The saddening advice parts the vegetarian throughout a designate purple. The crushed dread gangs the everyday liaison.
<|IlIIlIIIIlIIlll>
When will another groan screen the horrified plastic?
<|IlIIlIIIIlIIlll>
A stress rattles throughout the bat!
<|IlIIlIIIIlIIlll>
The sterling arch starves the domestic opposite of any honest animal. The appearance decays?
<|IlIIlIIIIlIIlll>
The radical stamps! The daylight ranks the writer throughout the oriental warehouse.
<|IlIIlIIIIlIIlll>
The frog doses a squad against the staring soul. The blackmail pants around the cuddly box.
<|IlIIlIIIIlIIlll>
Why can't the unspecified prisoner settle an ambient secretary? A discontinued gown degrades the squeeze.
<|IlIIlIIIIlIIlll>
Before the lifetime noses a discarded biography. The budget sighs below our water!
<|IlIIlIIIIlIIlll>
The ingenious dominant boxes the passage. A handbook slashes the traveling cynic.
<|IlIIlIIIIlIIlll>
A fourteen year old scanner assaults the knowledge underneath the longer girl.
<|IlIIlIIIIlIIlll>
Over her pardon mutters the sharp enemy. Can a lively car cable the severe playground?
<|IlIIlIIIIlIIlll>
The friendship parades in a discipline! A poem conforms beneath a flower!
<|IlIIlIIIIlIIlll>
The fiddle contents the paranoid. This orientating collar faints over whatever unpredictable dialect. The handful advances an alert above the fascist documentary. The missile smiles!]
<|IlIIlIIIIlIIlll>
Beneath the engine reverts a sung verdict. An ingredient approaches its attendant in a tough manner.
<|IlIIlIIIIlIIlll>
A spoof burns the constraint around the numerical concern.
<|IlIIlIIIIlIIlll>
What is a peculiar mainframe? I don't know.
<|IlIIlIIIIlIIlll>
Birds vats the pet above the internal essence. On top of birds interferes a mutual pant. Turds bowl birds after the thesis. Birds migrate! Turds revolt across birds.
<|IlIIlIIIIlIIlll>
Illegal bows. Why won't drugs decline when they are near illegal? Drugs mature past a partner. Why do drugs farm the farewell effort?
<|IlIIlIIIIlIIlll>
Ban they cry next to the channel. Bans tender a paper spur outside the bigotry. Bans fund the channel opposite a piano. Another vile wife points to my reactionary.
<|IlIIlIIIIlIIlll>
The dubious refund cheats the taste of semen. Will the wondrous estate punt with a penis? Penis treasures spit. Penis tires spit. Spit trails penis above an eager belt. Spit employs penis next to the noticeable onion.
<|IlIIlIIIIlIIlll>
Ruv div devev dev diviv, duvuv... Ruv duv dev div DIVIV DUVUV! GO TO TEL AVUV
<|IlIIlIIIIlIIlll>
[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
<|IlIIlIIIIlIIlll>
We're not thinking about dub norgs... We're thinking about Korg Keyboargs!
<|IlIIlIIIIlIIlll>
I spend money. I kicked a ball. That manager opened the door.
<|IlIIlIIIIlIIlll>
That gardener washed a car. Those flight attendants picked a peach. Those bus drivers ride a bus.
<|IlIIlIIIIlIIlll>
I wore a hat. That photographer drives a car. I set an alarm clock.
<|IlIIlIIIIlIIlll>
The numb sheep freezes with the northern servant. The gutter elaborates?
<|IlIIlIIIIlIIlll>
The lyric orders dog. The wrath opposes a barrier. A dog initializes a substitute editor. Dog forwards a cat beside gibberish.
<|IlIIlIIIIlIIlll>
Our tribe discharges the unsure basket above the charm. Can a wise behavior graduate after the vehicle? A degenerate house piles a panic.
<|IlIIlIIIIlIIlll>
A process cautions the demise. The degree gradual dashes after a preceding choral. The carpet explodes under this dealer.
<|IlIIlIIIIlIIlll>
Whatever thrown molecule colors hover above a deadline. Can the library fault the classic? My budget indents a strangest glass. A purge concatenates the still interpreter into the boundary.
<|IlIIlIIIIlIIlll>
Rumina bibbidle people wont answer MY QUESTIONS.
<|IlIIlIIIIlIIlll>
The juvenile toy cases the desperate diagonal. The volunteer width dodges throughout the feeling kidney. Should a minor jargon scream with the numeral?
<|IlIIlIIIIlIIlll>
Does each garble ace the drama? Our frowning festival congests the under ego. Any silicon bobs outside a bought winter.
<|IlIIlIIIIlIIlll>
A fourteen lion rants before an effect. The expired discovery composes within the misery. The vote founds the poorly sectored megabyte.
<|IlIIlIIIIlIIlll>
Reck teck to the heck teck reck
<|IlIIlIIIIlIIlll>
A jungle breaks a jet. The amended recorder authorizes the thesis. Should the bundle trek? Without the scope raves the knife.
<|IlIIlIIIIlIIlll>
The meaningless gibberish shouts. Whatever lenient leaf pants beneath the lip.
a_a_g has joined #ruby
<|IlIIlIIIIlIIlll>
The abbreviated architecture camps underneath the convenient sunshine.
<|IlIIlIIIIlIIlll>
Games account for the the amateur rear with a downright. The limb biases games beneath a pleasing dust. My pope razors the trilogy. The duff workshop moans about games.
<|IlIIlIIIIlIIlll>
GmJ riots a passing sun. A moan approaches my sacred telephone behind the stranger. A moan deprives the gulf around the plant. The akin mass inserts a generator across a fussy farce. A historical zone parades past a moan.
<|IlIIlIIIIlIIlll>
How does a wide hobby arrest make? Why won't a lavatory calculate around a grin? A grin farms after a wiser herd. Why does the closest major orbit inside make two? The postscript conforms within making an asterisk. An incapable zone blackmails make show before a saga.
<|IlIIlIIIIlIIlll>
Rouge tooge to the hep tep jains! Rouge tooge to the rep tep rains!
<|IlIIlIIIIlIIlll>
How will the cheer eye the introductory look? Should the enthusiasm nose? The noticed carrier chooses next to the transparent glass.
<|IlIIlIIIIlIIlll>
A redundant concern winds the lawn outside the overcome bigotry. The deed attaches to penny. Nickel overwhelms the doubt over the recorded stone. Does the buck debt filter penny? Our handicap landscapes penny across the suspended needle. The statistic pitches nickel before the glossy tree.
<|IlIIlIIIIlIIlll>
You stupid "Diarrhea of the mouth" nuck. Up with shmit on black ass brown Hackel meal McTrelker. Harky Mc Jallillashter. Smuggin Mah Kellihole. Harpb am1n m0n mif jalellamon brooms of mushkin boy a munchkin maggity von heffrin. Shtooty mic blackened. Shooty hick black and flubberdy bij ass rijjal.
<|IlIIlIIIIlIIlll>
Two guns and a ding! Schick a plucky o placker. Meal manilla manorf rackets roog. Biosphere Oblomov. Pechorin partooshy plets the galaxy, clearly some neckbearded basement dweller
<pig_>
swarley: hehe yeah, those are called regression tests, they ensure that future changes dont break currently working functionality :P
<pig_>
swarley: so it's important that whenever u add a new feature you still pass the old tests
<swarley>
well
<swarley>
looking at it
<swarley>
its worried about the size o-O
<swarley>
i havnt modified any of his core code to a point that it wouldnt work
<swarley>
the only real thing i changed was data exchange
<swarley>
his original file is what i use for testing
<swarley>
FAILURE
<swarley>
an history from a huge existing file asserts [] with arguments(s): [1] => expected "7", not "2"
<swarley>
(on line 79 in test/history_test.rb)
sparrovv has joined #ruby
<swarley>
not sure what the problem there is lol
<swarley>
pig_, and yes i noticed he's strict, which is why i generally avoid him lol
<swarley>
im no careful enough to be strict often times
rohit has joined #ruby
LBRapid has joined #ruby
Maxou56800 has joined #ruby
LBRapid_ has joined #ruby
<pig_>
swarley: he's a very talented programmer though and you can probably learn a lot from him ;)
LBRapid_ has joined #ruby
mxweas has joined #ruby
VictorMartins has joined #ruby
<swarley>
i am aware of that, he is far out of my league lol
Morkel has joined #ruby
<pig_>
swarley: you'll get there :)
<swarley>
i sure hope so. Or else all the effort would be for nothing ;<
<scalebyte>
RubyPanther: just o ask a doubt.. is it possible to read input from user using STDIN and print output usin STDOUT in ruby? since I have used puts and gets more
<scalebyte>
keymone: there is just one spammer IlIIlIllIlIlIII
<scalebyte>
keymone:banisterfiend is the admin he is not here now
<RubyPanther>
you why would you be able to follow a variable with a space and then a string literal? Not valid Ruby.
<scalebyte>
RubyPanther: so where am I going wrong in this ? -. $stdout "foo"
<RubyPanther>
what would it do?
<RubyPanther>
You can't give an argument to a variable, variables are only containers
<RubyPanther>
you need an operator or a method in there somewhere
<scalebyte>
RubyPanther: in the question it says Read input from STDIN. Print output to STDOUT -> https://gist.github.com/2234272
<RubyPanther>
those are the normal places that IO comes from, what is the hard part there?
<jlebrech>
how do you sig HUP unicorn?
cocoadaemon has quit [#ruby]
<scalebyte>
RubyPanther: so I thought in the question since they have explicitly mentioned that stdin and stdout has to b used I thought I am not supposed to use puts and gets ; I couldnt even get stdout "test" working
<RubyPanther>
jlebrech: presumably you would figure out the pid and then say kill -1 pid
<scalebyte>
jlebrech: kill -9 pid
<RubyPanther>
scalebyte: It is really really super basic to understand what standard input and standard output are, separate from Ruby
<RubyPanther>
-9 is SIGKILL not SIGHUP
<RubyPanther>
kill -l for a list
jonteru has joined #ruby
<scalebyte>
RubyPanther: so what should I use in the answer as per the question to read input and output ?
<scalebyte>
RubyPanther: I am not understadning anything with this encrypted solution.. have some mercy on your younger brother in ruby world
<RubyPanther>
What is merciful here is a matter of philosophy.
<scalebyte>
RubyPanther: Its a matter of helping out newbies to rise up
<RubyPanther>
I give you a chance to solve a smaller problem instead of the original problem, it is already perhaps a handicap and not helpful
<scalebyte>
RubyPanther: its the duty of all panthers cheetahs and lions in the ruby forest :)
DuoSRX has joined #ruby
<RubyPanther>
I spend a lot of time in the forest, I can't imagine trying to discuss duty with a panther. A lion, perhaps.
<scalebyte>
RubyPanther: whats the use of giving an encrypted solution and confusing this fragile mind more... :-/
roolo has joined #ruby
<scalebyte>
RubyPanther: You dont lose anything if u dont help me but u will gain my gratitude and wishes.. Thats what jesus told us... help him who needs it
kaneda__ has joined #ruby
jankly has joined #ruby
robotmay has joined #ruby
<RubyPanther>
He also said that in shallow soil the seed grows too fast and then withers, the seed has to fall on good soil where there will be water to grow... so that is why things are taught in a way that they can be understood by the person with the right mindset
<scalebyte>
RubyPanther: yes u can help me fall on good soil :)
<RubyPanther>
You are the soil, I can't change you. The seed your class scatters will either grow, or it will not.
<scalebyte>
RubyPanther: u can be the water to help me grow faster... pather. amen
<RubyPanther>
I gave you an implementation, you only have to solve the easiest encryption problem other than 1's compliment
<RubyPanther>
gotta leave you _something_ to do on your own
<scalebyte>
RubyPanther: I am now following you on twitter paris...
<RubyPanther>
I don't use twitter so it won't be very exciting
<scalebyte>
RubyPanther: Please help me paris.. just once and I will always be thankful to you !!
<RubyPanther>
Thankfulness has no value, I have to judge for myself if I think I am helping you or not.
stephenjudkins has joined #ruby
bhunt has joined #ruby
<scalebyte>
RubyPanther: please paris... :)
<scalebyte>
RubyPanther: atleast considering the fact that I have always been nice to you :)
<RubyPanther>
scalebyte: fine, I obscured the implementation with ROT13
<scalebyte>
RubyPanther: where are we checking this -> [N<=10^5] we need to count the total pairs of numbers that have a difference of K. [K>0 and K<1e9]
Ferdev has joined #ruby
<RubyPanther>
I didn't go into edge cases or sanity checks, no
<RubyPanther>
what is this "we?" Don't copy my code unless you know what it does.
schovi has joined #ruby
<scalebyte>
RubyPanther: ok
ringotwo has joined #ruby
buschhardt has joined #ruby
<scalebyte>
RubyPanther: I ran the function read_and_print_pairs entered 12 press enter then entered 1 and I got the output 0
<RubyPanther>
The first line is supposed to have two numbers, yes? The number of elements in N (unused) and K.
<scalebyte>
RubyPanther: I meant n= 12 I need to enter 12 values and then when i press enter and feed the first value 1 and press enter again I get the output
Drakx has joined #ruby
Drakx has joined #ruby
fr0gprince_ has joined #ruby
conceal_rs has joined #ruby
<scalebyte>
RubyPanther: I do this -> read_and_print_pairs enter 5,2 enter 1,3,5,7,4 I get 0 => nil
<RubyPanther>
5 2 not 5,2
davidpk has joined #ruby
<RubyPanther>
if you want commas you have to change the code
<apeiros_>
also, inject { |a,_| a+=expression; a } is bad, or inject misunderstood. use: inject { |a,_| a + expression }
workmad3 has joined #ruby
<RubyPanther>
$stdin is not, in general, better than STDIN. It is specific types of cases where it is preferred. Namely, where it isn't explicit that you want the original, real STDIN
LMolr_ has joined #ruby
<apeiros_>
it is, in general, better to use $stdin. only if you have a specific use case, where you know that you must use STDIN, you do use STDIN.
<jlebrech>
pow is just using 1.8 and not reading .rvmrc
<RubyPanther>
Like this one, actually.
<RubyPanther>
And broadly whenever you mean STDIN and not "current default input"
<RubyPanther>
obviously in a library you want $stdin
<apeiros_>
wait, wait, it is RubyPanther, there's absolutely no point in arguing
RORgasm has joined #ruby
<RubyPanther>
Yeah, after all, he might be right.
waxjar has joined #ruby
LMolr has joined #ruby
seoaqua has joined #ruby
<apeiros_>
no. this is a clear case where it is $stdin. there's no point in arguing.
<apeiros_>
the only case where you use STDIN so far is when you reset $stdin.
<RubyPanther>
No, in this case it is clear that if you had reopened $stdin, you'd especially want to still use STDIN because that is what the problem defines
<apeiros_>
and no, the reason not to argue with you is that it's absolutely pointless, not because you'd been right.
<apeiros_>
if you were a normal person, I'd tell you to think about when you reopen $stdin and what that means, why you reopen it
<RubyPanther>
The problem says STDIN, it doesn't say STDIN or whatever you assigned to $stdin as a convenience.
<apeiros_>
but since you're RubyPanther…
* apeiros_
off for lunch
knopkodav has joined #ruby
<RubyPanther>
Exactly, you reopen it for a reason. You don't just grab $stdin every time without considering, if it _had_ been reopened, which one would you want this time? If your specification defines STDIN specifically, then the reopened one is guaranteed to be wrong.
<RubyPanther>
Lacking a specification, I can see using the one that is more likely to be correct, but when you have it spelled out then you can use the more specific one, when correct.
<apeiros_>
and you'd reopen $stdin why?
<apeiros_>
again, NO you DONT use STDIN, you use $stdin. if your specification says to use stdin, then *you don't reopen* $stdin if you want to use it according to the spec
<apeiros_>
and you use $stdin because it still *enables you* to use it differently than the spec. e.g. for tests.
regedarek has joined #ruby
<apeiros_>
and NO, you do NOT use STDIN *ever*, because if you change $stdin, it's not because you think it's funny or cool and nothing should care about it, you do it for a *reason*.
<apeiros_>
it's therefore absolutely stupid to use STDIN.
<apeiros_>
also, for reference, all Kernel modules use the $ vars.
<apeiros_>
s/modules/methods/
<apeiros_>
<rule>use $std*. keep STD* as a backup.</rule>
<apeiros_>
so, coworker is ready. off for lunch for real now.
robotmay has joined #ruby
Squarepy has joined #ruby
Squarepy has joined #ruby
havenn has joined #ruby
falena has joined #ruby
gjaldon has joined #ruby
pyreal has joined #ruby
gokul has joined #ruby
mcwise has joined #ruby
nikhil__ has joined #ruby
mmokrysz has joined #ruby
mmokrysz has quit [#ruby]
shtirlic has joined #ruby
Deesl has joined #ruby
ephemerian has joined #ruby
ephemerian has quit [#ruby]
kaiwren has joined #ruby
dbgster has joined #ruby
gregorg has joined #ruby
gregorg has joined #ruby
<scalebyte>
RubyPanther: apeiros_ hai friends... had been away for a while... so which solution should I go for ?
<scalebyte>
apeiros_: you havent done the validation :)
<pig_>
scalebyte: why are you cheating at your homework, we shoudl report u, pig!
kacperix has joined #ruby
<scalebyte>
pig_: try and get the validation correct if you are smart enough -> http://pastie.org/3696899
<pig_>
scalebyte: do your own homework, pig
<pig_>
or ill call the cops
araujo has joined #ruby
araujo has joined #ruby
<scalebyte>
pig_: call the cops :)
<bounce>
calling cops on schoolkids now?
dhruvasagar has joined #ruby
visof has joined #ruby
visof has joined #ruby
<pig_>
bounce: Yeah
Maxou56800 has joined #ruby
francisfish has joined #ruby
tobago has quit [#ruby]
philcrissman has joined #ruby
rohit has joined #ruby
latrommi has joined #ruby
frishi has joined #ruby
<waxjar>
i'm planning on using minitest to write the tests for a library I'm writing, but don't really understand the difference between Unit Tests and Specs.
<pig_>
waxjar: wankery, basically
<waxjar>
is it just semantics or something?
kaneda__ has joined #ruby
<workmad3>
waxjar: pretty much, it's just style
My_Hearing has joined #ruby
<waxjar>
ok, i think i prefer Specs then
<pig_>
workmad3: what does the 'specs' school call regression tests ?:)
seanstickle has joined #ruby
<pig_>
cos regression test are often ugly and very specific
<pig_>
they dont seem rarefied enough to be called 'specs' :)
<workmad3>
pig_: I'd still call them regression tests personally :)
<pig_>
workmad3: yet express them in the specs style?
<pig_>
workmad3: and call the file something_spec? :)
<workmad3>
pig_: probably, yeah
<workmad3>
pig_: I'm not a purist when it comes to these things :)
<workmad3>
pig_: it would be a regression test, but I wouldn't introduce a new testing framework for it so therefore it would be expressed in the spec style
<workmad3>
pig_: although with minitest, you could switch I guess :)
<workmad3>
(I'm still too embedded in rspec to easily switch)
nikhil__ has joined #ruby
gokul has joined #ruby
<jlebrech>
i'm trying to start up unicorn but i get this message: `unlink': Operation not permitted - /tmp/.sock
<pig_>
jlebrech: why do i get the feeling you're lying to me and only typing this stuff out co syou need some human contact all alone in your little room
sacarlson has joined #ruby
nanderoo has joined #ruby
bjensen has joined #ruby
<jlebrech>
pig_ are you human?
<Stefunel>
pigman
<pig_>
jlebrech: subhuman
lessless has joined #ruby
BrianE has joined #ruby
<lessless>
irb: 2[1] => 1 HOW'S THAT??
shtirlic has joined #ruby
gokul has joined #ruby
<pig_>
lessless: look up the Fixnum#[] operator
<lessless>
cool
artm has joined #ruby
pu22l3r has joined #ruby
LMolr has joined #ruby
zetm has joined #ruby
<apeiros_>
scalebyte: what validation?
<scalebyte>
apeiros_: read the question :)
<apeiros_>
out/input is the same as your code
Rezwan has joined #ruby
<scalebyte>
apeiros_: Here -> http://pastie.org/3696899 [N<=10^5] we need to count the total pairs of numbers that have a difference of K. [K>0 and K<1e9]
<apeiros_>
yes. that's the output of the code. just as with yours.
<apeiros_>
now I wonder whether the code you pasted is really your code…
<scalebyte>
apeiros_: If you could make it perfect for me.. that would be great.. with an apeiros_ touch.. that is your code.. my code is here -> https://gist.github.com/2234272
<canton7>
^^ that looks far too much like golf for me
peterhil has joined #ruby
<apeiros_>
scalebyte: my code does exactly what you write in the question. I have no idea what you're talking about, that it'd be missing.
<apeiros_>
scalebyte: anyway, you have my code, feel free to improve it to be whatever you need.
<apeiros_>
this channel is, after all, here to help. not to do your work for you.
<jlebrech>
i'm getting cache: ... miss. i've google this and it's to do with the asset pipeline. I have an assets group, i can't see what else I have to do.
Psy-Q has joined #ruby
<apeiros_>
jlebrech: #rubyonrails
<scalebyte>
apeiros_: I understand.. but when you help someone you need to make sure that you helping that person correctly.. :)
<jlebrech>
apeiros_ cheers
<apeiros_>
scalebyte: no
<Psy-Q>
is it possible that ruby_parser can't parse HAML properly? when i do rake gettext:find, it explodes on any yaml file with e.g. "parse error on value "}" (tRCURLY)"
<apeiros_>
scalebyte: do we have a contract? an SLA? do you pay me?
<scalebyte>
apeiros_: No
<Psy-Q>
and i'm trying to find out whether the error is in ruby_parser, gettext, racc or somewhere else
<apeiros_>
people helping you have absolutely no obligation to you.
<apeiros_>
and again, my code works as specified by the question.
<apeiros_>
and you've yet failed to specify, where and how you think it deviates.
<apeiros_>
I have no intention on riddling that out.
headius has joined #ruby
<apeiros_>
so either be clear and explain your problem, or solve it yourself
kaiwren has joined #ruby
bawer has joined #ruby
<scalebyte>
apeiros_: when the user enters the input the code isnt validating if its a number and if its within the given limits
pig_ has joined #ruby
<canton7>
scalebyte, if you came up with the other code (the one in the gist), I'm sure you're quite capable of adding that sort of stuff in
ZachBeta has joined #ruby
<scalebyte>
canton7: Yes apeiros_ I will do it myself but I had love you to review it thanks
<apeiros_>
scalebyte: your question doesn't state, that a validation was necessary.
<apeiros_>
also, what canton7 said.
`brendan has joined #ruby
gokul has joined #ruby
nu7hatch has joined #ruby
RORgasm has joined #ruby
kaneda__ has joined #ruby
zetm has quit ["ERC Version 5.3 (IRC client for Emacs)"]
pattersonc has joined #ruby
norm_ has joined #ruby
<`brendan>
trying to test this ruby script on an ubuntu 10.04 machine (ruby installed via apt-get), but cannot find the chronic gem: http://pastie.org/3697429
<`brendan>
any help is appreciated
<canton7>
`brendan, and 'gem install chronic' doesn't help?
<`brendan>
its installed
<`brendan>
can see it via gem list chronic
<`brendan>
*** LOCAL GEMS ***
<`brendan>
chronic (0.6.7)
d3c has joined #ruby
kaiwren has joined #ruby
<canton7>
oops, I'm blind
wefawa has quit [#ruby]
ephemerian has joined #ruby
cdepue has joined #ruby
<`brendan>
:/
<`brendan>
ran ruby -d clean.rb and pretty much same result
<apeiros_>
scalebyte: did you even try to run that?
<scalebyte>
apeiros_: yes
<apeiros_>
and?
<`brendan>
irb(main):002:0> Gem.path
<`brendan>
NameError: uninitialized constant Gem
<`brendan>
from (irb):2
<`brendan>
from :0
<scalebyte>
apeiros_: got error (irb):147: warning: else without rescue is useless SyntaxError: compile error (irb):130: syntax error, unexpected tCONSTANT, expecting kTHEN or ':' or '\n' or ';' ...is_a?Integer && k.is_a?Integer && n >0 && n <= 10^5 && K>0 &... ^ (irb):148: syntax error, unexpected kEND, expecting $end from (irb):148 from (null):0
<scalebyte>
apeiros_: :(
<apeiros_>
scalebyte: I suggest you get it to work before I review it
<scalebyte>
apeiros_: ok
* canton7
winces at that code
Clordio_ has joined #ruby
<`brendan>
gonna remove ruby & reinstall using rvm on the box
<`brendan>
blahhhhhhhhhh
headius has joined #ruby
bananastalktome has joined #ruby
kaneda__ has joined #ruby
rohit has joined #ruby
crankycoder has joined #ruby
nari has joined #ruby
<apeiros_>
ah, btw. RubyPanther - if you reopen $stdin, STDIN is affected too, so that you shouldn't do anyway. you should reassign.
BiHi has joined #ruby
<scalebyte>
apeiros_: When I run my code -> https://gist.github.com/2234272 I get pairs_with_k_difference 5 2 IOError: not opened for writing from (irb):187:in `write' from (irb):187:in `puts' from (irb):187:in `pairs_with_k_difference' from (irb):190 from (null):0 error
<apeiros_>
scalebyte: get the line of code where it happens and paste it here.
<canton7>
to be honest, I'm not entirely surprised. You're trying to trying to *write* to a stream which is used for bringing data *into* the program
<scalebyte>
canton7: where am I trying to write ? I am just comparing the inputs
<apeiros_>
scalebyte: good, you found the right line
<apeiros_>
now, $stdin.puts is an issue
<apeiros_>
what do you suppose the 'in' part in $stdin means?
<apeiros_>
it's for 'input'
<scalebyte>
apeiros_: oh ya
<apeiros_>
for 'output' it's $stdout, not $stdin. you can't write to $stdin.
<scalebyte>
apeiros_: correct sorry my mistake :)
<apeiros_>
note, Kernel#puts (i.e., just plain `puts "hello"`) uses $stdout. that means you don't need to write `$stdout.puts "hi"`, you can write just `puts "hi"`
<`brendan>
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/chronic-0.6.7/lib/chronic/handlers.rb:326: warning: assigned but unused variable - repeater
<scalebyte>
apeiros_: yes I know I used it since it was mentioned in the q anyway I wil use puts
<apeiros_>
scalebyte: and what is your question? (I know it doesn't work, but again, I'm not here to write the code for you. YOU write the code. and if you have a problem that you really can't solve, then ask a clear question)
edogawaconan has joined #ruby
schovi has joined #ruby
phantasm66 has joined #ruby
<`brendan>
can anyone help me with this snippet? setting the value locally, trying to have Chronic.parse use the variable's value, but its resulting in a 0 value http://pastie.org/3697600
<scalebyte>
apeiros_: I enter 5 and 2 still I get the message Please enter values within limits ; despite the input satisfying the conditions n.is_a?Integer and k.is_a?Integer and n <= 10^5 and K>0 && K<1e9
<canton7>
`brendan, "in 4 days" is probably acceptable
cha1tanya has joined #ruby
<canton7>
but not "4 in days"
<`brendan>
trying to go backwards
<`brendan>
its a cleanup script to delete files older than 'x' days
<canton7>
ah, I see
kaiwren has joined #ruby
<canton7>
scalebyte, everything that's read in from stdin is a string. You have to convert it t an integer if you want it to be an integer
bwlang has joined #ruby
<scalebyte>
canton7: but even if I do "s".to_i it will give me 0
seanstickle has joined #ruby
<keymone>
scalebyte: and what number do you expect to get from "s"?
<scalebyte>
canton7: so hw will I know if a user entered 0 or if he entered some other char since it will become 0 when i do "x".to_i = 0
seanstickle has joined #ruby
<scalebyte>
keymone: I need to make sure user entered integer
simpleharmonicmo has joined #ruby
<`brendan>
grabbing wrong files, blargh
liluo has joined #ruby
<keymone>
scalebyte: use regexp to check if input is proper number before doing to_i then
td123 has joined #ruby
<canton7>
scalebyte, you can also use `Integer(users_input)`, but that raises an exception on failure to parse, and it's all a bit messy. I'd prefer the regex solution
<seanstickle>
scalebyte: matti gave a great pointer to a floating point regex
<matti>
;)
dql has joined #ruby
<scalebyte>
seanstickle: matti thanks.. will you aply that for me in my code pls.. am exhausted .. :(
<seanstickle>
No
<scalebyte>
matti: you rcok
<scalebyte>
matti: rock*
<matti>
LOL
Sailias has joined #ruby
<scalebyte>
matti: what ?
eeadc has joined #ruby
<matti>
Nothing.
<matti>
I am looking at your code.
<scalebyte>
matti: thanks man
<scalebyte>
matti: kindly go throught the question too :) thanks
<matti>
scalebyte: Amm.
<matti>
scalebyte: Is this a homework?
<scalebyte>
matti: kind of but not exactly .. I am new to ruby :)
<matti>
scalebyte: Um.
Trumma has joined #ruby
geekbri has joined #ruby
bbttxu has joined #ruby
<matti>
scalebyte: I need to finish something at work. Keep crackin' at it :)
<scalebyte>
matti: just help me finish that mate:)
carlyle has joined #ruby
<Squarepy>
what is the prob
bwlang has joined #ruby
<`brendan>
should /usr/local/rvm/gems/ruby-1.9.3-p125/gems/chronic-0.6.7/lib/chronic/handlers.rb:326: warning: assigned but unused variable - repeater be reported to the Chronic devs?
sacarlson has joined #ruby
virunga has joined #ruby
marigoLd has joined #ruby
<apeiros_>
scalebyte: sorry, I was afk. your question still up?
<scalebyte>
apeiros_: and then convert it to numeric
<marigoLd>
Question; disable_with: helper in rails on buttons, is it possible to also append a css-class to the button when the disable_with happens
<marigoLd>
as to give it a visual look of blending out
<apeiros_>
marigoLd: #rubyonrails
<apeiros_>
scalebyte: so what's your try to validate that a string contains only an integer? (you already have half of the solution in that link you pasted)
<scalebyte>
apeiros_: in the best possible way using regex as suggested in the link
<Tasser>
how can I create ‚àö√∫ from a unicode Ü
<Tasser>
... wtf.
<apeiros_>
Tasser: unicode gem
rbanffy has joined #ruby
<apeiros_>
assuming you meant Ü -> ü :)
linoj has joined #ruby
nikhgupta has joined #ruby
<apeiros_>
scalebyte: btw., 10^5 is not 10 to the power of 5, it is XOR
mafolz has joined #ruby
<apeiros_>
** is pow
geekbri has joined #ruby
<scalebyte>
apeiros_: ok
<scalebyte>
apeiros_: so 10**5
bwlang_ has joined #ruby
<apeiros_>
scalebyte: ok, using a regex is good. now try to do it.
<apeiros_>
scalebyte: yes
<Tasser>
apeiros_, well, at the start, there was an Ü. at the end, there was this string
<apeiros_>
try in irb for simple cases
<apeiros_>
Tasser: your keyboard went amok? :)
<Tasser>
and I wonder how the hell it went there
<Tasser>
apeiros_, nah, friend of mine saved file on some pcs...
Ontolog has joined #ruby
<apeiros_>
I think the TSA groped your Ü, it got confused and rendered weirdly…
dv310p3r has joined #ruby
n1x has joined #ruby
fbernier has joined #ruby
eeadc has joined #ruby
appstore has joined #ruby
<appstore>
hi
<appstore>
has anyone used Rhomobile
<Tasser>
apparently not
<apeiros_>
that's one of the stupid questions
<apeiros_>
of course somebody has.
Mobius has joined #ruby
<appstore>
no
<appstore>
i mean in here
<Tasser>
appstore, that's what he says
<apeiros_>
that's not what you asked, but it'd still be a stupid question.
<apeiros_>
even if somebody answered yes, you still wouldn't know whether he/she could help you with your problem
<apeiros_>
and *obviously* not all 672 people besides you in this room would *ever* answer 'no', so you can't just exclude those who said no and assume that the others probably did…
<apeiros_>
therefore: stupid question.
<Tasser>
apeiros_, just give him an IRC introduction document ^^
dmiller has joined #ruby
<appstore>
ok my arent we chatty today
<apeiros_>
appstore: you can play the piqued or learn from it. your choice.
bwlang_ has joined #ruby
luckyruby has joined #ruby
badelat has joined #ruby
<appstore>
can you put an if statement without an end?
<Tasser>
is there a way to get the hex-expression of a string?
<apeiros_>
yes. `action if condition`
d3vic3 has joined #ruby
<apeiros_>
Tasser: pack/unpack with H
<apeiros_>
str.unpack("H*")
<apeiros_>
str.unpack("H*").first
wenbert has joined #ruby
Rezwan has joined #ruby
mrwalker has joined #ruby
icrazyhack has joined #ruby
<virunga>
Hi, is there a function that takes an array and returns an array of the values contained ?
<apeiros_>
virunga: ?
<apeiros_>
i.e., it returns the array as it already is?
<apeiros_>
i.e., it doesn't do anything at all?
<nw>
:D
<nw>
def return_array(ary); ary; end
<apeiros_>
nw: but, but, but, that doesn't return an array when I pass a number!
internet_user has joined #ruby
<nw>
agh! right
<apeiros_>
nw: also, ary.to_a :)
<apeiros_>
or Array(ary)
<apeiros_>
virunga: if you elaborate, I can try to help, but right now, your question doesn't make sense to me…
<nw>
right, of course
<virunga>
sorry i was out
scwh has joined #ruby
<virunga>
a function that do this: [3,3,3, 5, 99] -> [3, 5, 99]
<nw>
[3,3,3, 5, 99].uniq
<virunga>
cool
<virunga>
thank you
<nw>
no problemo
<virunga>
sorry but, my question was so bad? :d
<virunga>
:D
emmanuelux has joined #ruby
<nw>
the first question was just a bit confusing :P
bwlang_ has joined #ruby
<apeiros_>
virunga: I think so, yes. an array always consists of the values it contains.
<apeiros_>
you wanted the distinct/unique values
theRoUS has joined #ruby
<virunga>
yes, so write values not elements
<virunga>
:D
<apeiros_>
and to use ruby terminology: you wanted the unique objects in the array.
<virunga>
i wrote
<virunga>
ah ok
iocor has joined #ruby
tatsuya_o has joined #ruby
kaneda__ has joined #ruby
wedgeV has joined #ruby
carlyle has joined #ruby
Drewch has joined #ruby
RORgasm has joined #ruby
bglusman has joined #ruby
<JohnBat26>
hello
<JohnBat26>
I have 2 arrays with domain objects
<JohnBat26>
Can I calculate diff between its?
darthdeus has joined #ruby
mafolz has joined #ruby
chson has joined #ruby
rippa has joined #ruby
netrealm has joined #ruby
philcrissman has joined #ruby
jonterzat has joined #ruby
norm has joined #ruby
CannedCorn has joined #ruby
siefca has joined #ruby
<jonterzat>
Hi, does anyone connect to google apis using the api-client?
RORgasm has joined #ruby
<jonterzat>
How does one order the data returned from their calendar api?
mafolz has joined #ruby
Foxandxss has joined #ruby
lorandi has joined #ruby
jonteru has joined #ruby
CheeToS has joined #ruby
kaneda__ has joined #ruby
chico has joined #ruby
Nss_ has joined #ruby
visof has joined #ruby
Molfar has joined #ruby
Molfar has quit [#ruby]
alindeman has joined #ruby
fr0gprince_mac has joined #ruby
rippa has joined #ruby
Sailias has joined #ruby
PaciFisT has joined #ruby
darthdeus has joined #ruby
jmorton_ has joined #ruby
lkba has joined #ruby
madh_ has joined #ruby
kaiwren has joined #ruby
marchewkowa has joined #ruby
cha1tanya has joined #ruby
mbriggs has joined #ruby
kevinbond has joined #ruby
daniel_hinojosa has joined #ruby
fbernier has joined #ruby
CoverSlide has joined #ruby
NeV3rKilL has joined #ruby
mafolz has joined #ruby
raincole_ has joined #ruby
Psy-Q has quit ["..."]
zhoubaozhou has joined #ruby
alex__c2022 has joined #ruby
wedgeV has joined #ruby
Jackneill has joined #ruby
Squarepy_ has joined #ruby
WhereIsMySpoon has joined #ruby
yawniek has quit ["WeeChat 0.3.7-dev"]
<WhereIsMySpoon>
Hey, is there a way to do pointers or macros in ruby?
<scalebyte>
WhereIsMySpoon: VALUE rb_eval_string(const char *str)
Squarepy_ has joined #ruby
<scalebyte>
You can invoke methods directly, without parsing the string. First I need to explain about ID. ID is the integer number to represent Ruby's identifiers such as variable names. The Ruby data type corresponding to ID is Symbol. It can be accessed from Ruby in the form: :Identifier You can get the ID value from a string within C code by using rb_intern(const char *name) You can retrieve ID from Ruby object (Symbol or String) given
<scalebyte>
WhereIsMySpoon: Invoke Ruby method from C To invoke methods directly, you can use the function below VALUE rb_funcall(VALUE recv, ID mid, int argc, ...) This function invokes a method on the recv, with the method name specified by the symbol mid. Accessing the variables and constants You can access class variables and instance variables using access functions. Also, global variables can be shared between both environments. There
<WhereIsMySpoon>
hm
<WhereIsMySpoon>
i think ill pass
<WhereIsMySpoon>
lol
<otters>
oh wow
<otters>
if you have a character other than whitespace after =begin, it's a syntax error
Squarepy has joined #ruby
havenn has joined #ruby
<WhereIsMySpoon>
o.o
artm has joined #ruby
Ontolog has joined #ruby
jgrevich has joined #ruby
jgrevich has joined #ruby
beilabs_ has joined #ruby
Maxou56800 has joined #ruby
alx- has joined #ruby
deryl has joined #ruby
nemesit has joined #ruby
<beilabs_>
Figuring out the permutations of a ruby array of integers seems to be quite CPU intensive, keeps killing my machine....any thoughts?
<rippa>
how big an array?
<beilabs_>
18 digits.
<beilabs_>
ranging from 18 => 35
<rippa>
yeah, looks like it would take a while
BruceZu has joined #ruby
centipedefarmer has joined #ruby
<beilabs_>
yeah, it kills the OS.
<beilabs_>
wondering is there a way to make the priority lower
<beilabs_>
i don't mind if it takes a few hours
<rippa>
lower priority of process
<beilabs_>
could use "nice" i suppose
<rippa>
oh wow
pu22l3r has joined #ruby
<rippa>
it fails with out of memory with 11 numbers
<matled>
beilabs_: if it kills the os I'd rather guess that the memory is a problem
<rippa>
if I save permutations to an array
<beilabs_>
matled, 16GB Ram
<rippa>
may be too small
<beilabs_>
lol
<matled>
beilabs_: so? I never heard a program killed the OS just by using the CPU
<rippa>
2GB is used up by 1..11
<beilabs_>
matled, well, just kills the desktop, nothing running, everything stalls...
flagg0204 has joined #ruby
<rippa>
and 1..18 is way more
Ontolog has joined #ruby
<matled>
beilabs_: if you have swap it will start swapping
<matled>
which may render your computer virtually unusable
wyhaines has joined #ruby
<matled>
and what do you mean by "figuring out" anyway? are you iterating over all permutations or generating an array of all permutations?
<rippa>
beilabs_: 6402373705728000 permutations
<beilabs_>
rippa, want the unique permutations of a category subset....
<beilabs_>
right now dynamically generating information for each of our users as they ask for it, it hits the system
<rippa>
beilabs_: 6400 terabytes with each permutation taking one byte
<beilabs_>
ouch.
havenn has joined #ruby
<beilabs_>
i know it will be lower with the unique permutations though.
cjlicata has joined #ruby
jmeeuwen has joined #ruby
<beilabs_>
1,3,4,5,6,7,8,9,10 => 10,9,8,7,6,5,4,3,2,1 ; same thing for my needs.
vju has joined #ruby
<otters>
time to use an iterator
<otters>
err, enumerator
PragCypher has joined #ruby
drknus has joined #ruby
<rippa>
beilabs_: that's only about 2 times lower though
adambeynon has joined #ruby
io_syl has joined #ruby
drake has joined #ruby
bwlang_ has joined #ruby
cloke has joined #ruby
drake10 has joined #ruby
bglusman has joined #ruby
DrShoggoth has joined #ruby
prometheus has joined #ruby
<WhereIsMySpoon>
how abouts save to a file every now and then, beilabs_ ?
<WhereIsMySpoon>
that way it doesnt need to keep the whole thing in memory
havenn has joined #ruby
EvanR_ has joined #ruby
bluOxigen has joined #ruby
Notimik has joined #ruby
cha1tanya has joined #ruby
EvanR has joined #ruby
bluOxigen has joined #ruby
wallerdev has joined #ruby
eywu has joined #ruby
a_a_g has joined #ruby
brianpWins has joined #ruby
icrazyhack has joined #ruby
davidpk has joined #ruby
apeiros_ has joined #ruby
pdtpatr1ck has joined #ruby
havenn has joined #ruby
akemrir has joined #ruby
kvirani has joined #ruby
hackeron_ has joined #ruby
porco has joined #ruby
IrishGringo has joined #ruby
hasrb has joined #ruby
<hasrb>
I'm looking to override instance methods on a class depending on which US state the class is set to, any recommended patterns?
symb0l has joined #ruby
<apeiros_>
include/extend
madh_ has joined #ruby
<apeiros_>
I don't think it's a good idea to do it that way at all, though
<hasrb>
apeiros_: what would you recommend? I'm currently extending the class but it just doesn't feel right
Squarepy has joined #ruby
<apeiros_>
I don't know enough about your problem to make a meaningful recommendation. and learning enough about your problem probably exceeds the time I'd be willing to share
<hasrb>
k :)
Squarepy has joined #ruby
lkba has joined #ruby
havenn has joined #ruby
wilmoore has joined #ruby
hrs has joined #ruby
alvesjnr has joined #ruby
<alvesjnr>
hi all. I have a project, but it is not work. What would it be?
sgharms has joined #ruby
qos has joined #ruby
blueadept has joined #ruby
blueadept has joined #ruby
[[thufir]] has joined #ruby
<[[thufir]]>
in Java you import a class to put it on your classpath. In Ruby, you require a class or gem to put it on your _____?
<[[thufir]]>
do you say "I imported gem foo" or do you say "I required gem foo" in conversation? what's the vocabulary for that sort of thing, pls?
<Mon_Ouie>
You don't require a class or gem, you require a file
albemuth has joined #ruby
<Mon_Ouie>
I just say "require foo"
<[[thufir]]>
if you're at the water cooler/etc, and speaking, would you say "I required foo"? or "I imported foo"? or what?
<Mon_Ouie>
former (though I never literally speak about programming)
<workmad3>
[[thufir]]: I probably wouldn't be talking about gems at the watercooler
<workmad3>
[[thufir]]: but if I did,
<workmad3>
I'd probably say 'I used foo'
<[[thufir]]>
ah, ok.
looopy has joined #ruby
bwlang has joined #ruby
<[[thufir]]>
followup, if I may. you don't add foo to your classpath, you would just say you "used foo" or "added foo"?
<mxbtty>
has anyone ever used Ruby-MemCache gem and had \u0004\b\"% (or other weird characters) prepended to the value?
porco has joined #ruby
<apeiros_>
that looks a bit like the marshal-header
cloke_ has joined #ruby
wmoxam has joined #ruby
bwlang_ has joined #ruby
<CannedCorn>
whats the difference between send and sendmsg
<CannedCorn>
i can see that send requires the socket to be connected
<CannedCorn>
but i think there are lower level differences
RORgasm has joined #ruby
ukwiz has joined #ruby
SolarisBoy has joined #ruby
seanstickle has joined #ruby
a_a_g has joined #ruby
Chaazd has joined #ruby
ghostlin1s has joined #ruby
<ghostlin1s>
I installed ruby1.9.3 via apt-get on Debian but I'm still seeing version 1.8.7 when I run ruby -v. Anyone ran into similar issues?
<Chaazd>
Although the script installs the gems, it still raises a 'Specify gem' error at the end. any idea why? http://pastie.org/3698793
iamjarvo has joined #ruby
apok has joined #ruby
kevinbond has joined #ruby
pybiru has joined #ruby
pybiru has quit [#ruby]
<canton7>
ghostlin1s, iirc, on debian, /usr/bin/ruby (i think that's the correct path) is a symlink to /usr/bin/ruby1.8, and /lusr/bin/ruby1.9 exists separately? Just have a check
maletor has joined #ruby
symb0l has joined #ruby
pu22l3r has joined #ruby
<any-key>
you can always just change the symlink
stephenjudkins has joined #ruby
<any-key>
debian ruby packages are annoying, still no 1.9.3 that I can see
<banisterfiend>
any-key: dont like rvm? :)
<any-key>
I love RVM, I use that rather than the apt repos
musl has joined #ruby
ghvandoorn has joined #ruby
waxjar has joined #ruby
zakwilson_ has joined #ruby
musl has joined #ruby
Araxia has joined #ruby
savage- has joined #ruby
musee has joined #ruby
williamcotton has joined #ruby
bjensen has joined #ruby
selvakumaran has joined #ruby
pdtpatr1ck has joined #ruby
<mxbtty>
apeiros_: I think we've confirmed it's the marshal encoding. any way to turn that off?
kaneda has joined #ruby
cloke has joined #ruby
cdepue has joined #ruby
stringoO has joined #ruby
greenarrow has joined #ruby
<selvakumaran>
Hi there..! i have tried to execute a bash command in a Ruby script with the help of exec() method. May i knw how can i gain root for the same?
dhruvasagar has joined #ruby
<mxbtty>
aha! Ruby-MemCache has a fourth parm to set raw = true
<mxbtty>
exit
mxbtty has quit [#ruby]
alfism has joined #ruby
davidcelis has joined #ruby
symb0l has joined #ruby
apok has joined #ruby
Chaazd has quit [#ruby]
hasrb has joined #ruby
macmartine has joined #ruby
SegFaultAX|work has joined #ruby
Vert has joined #ruby
bwlang has joined #ruby
<havenn>
selvakumaran: exec(sudo ...)?
voodoofish430 has joined #ruby
<any-key>
exec runs ruby code, does it not?
<any-key>
system or backticks run shell commands
<Mon_Ouie>
exec starts a process that will replace the current one
<Mon_Ouie>
(So it's usually used in combination with fork)
<havenn>
any-key: I think you're thinking eval()
<any-key>
hehe :P
<any-key>
my bad
macmartine has joined #ruby
<ghostlin1s>
canton7: thanks I see that i have to type the full path to run it it's in /usr/bin/ruby1.9.3
<canton7>
ghostlin1s, or, as others have said, just change the symlink at /usr/bin/ruby
nfluxx has joined #ruby
bwlang_ has joined #ruby
<ghostlin1s>
canton7: yeah true that, thanks all!
ringotwo has joined #ruby
<any-key>
or "rvm use 1.9.3 --default" :P
n1x has joined #ruby
ascarter has joined #ruby
<ghostlin1s>
aha also an option thanks
<any-key>
rvm is very very handy, I like not having to touch the debian ruby bullshit, it's always behind
jgarvey has joined #ruby
ed_hz_ has joined #ruby
<any-key>
pulling down and building some fresh ruby is much nicer :)
<n1x>
more_stuff = %w(Day Night Song Frisbee Corn Banana Girl Boy) <- what does this statement mean? where can i find info about this?
<any-key>
%w is a shortcut for building an array of strings
cha1tanya has joined #ruby
<any-key>
so the result of that would be ['Day', 'Night', ......]
<shevy>
I think noone is using an older ruby version here
<Asako>
cent5 boxes are running 1.8.5
cmmagid` has joined #ruby
<robacarp>
my desk smells like sharpie now
* gomix
suffering with a fedora 16 trying to install gems mustang and therubyracer, anyone has hitted this gcc internal compiler error (x86_64) before? clues?
<Asako>
don't huff markers
<shevy>
lol gomix
<atmosx>
hello
Guest83733 has joined #ruby
artm has joined #ruby
Abner_ has joined #ruby
n3m has joined #ruby
shruggar has joined #ruby
BigJasonWebb has joined #ruby
Jake232 has joined #ruby
mengu has joined #ruby
snip_it has joined #ruby
Abner_ has joined #ruby
dbgster has joined #ruby
BigJasonWebb has joined #ruby
trivol has joined #ruby
<Asako>
usr/lib/ruby/1.8/yaml.rb:9:in `require': No such file to load -- yaml/syck (LoadError)
<Asako>
from /usr/lib/ruby/1.8/yaml.rb:9
<Asako>
is there a gem for yaml ?
JonnieCache has joined #ruby
dzhulk has joined #ruby
BigJasonWebb has joined #ruby
wallerdev has joined #ruby
macmartine has joined #ruby
waxjar has joined #ruby
<shadoi>
no, it's part of the ruby build
<shadoi>
I have no idea if it was in 1.8.2
schaerli has joined #ruby
<shevy>
Asako poor man
<shevy>
you could try to download syck and build it
<Asako>
now puppet is complaining that "singleton" is missing
n1x has joined #ruby
Guest83733 has joined #ruby
becom33 has joined #ruby
<becom33>
what are Currunt < Class::SOmthing::Anotherthing .. what is somthing and anotherthing ?
<Mon_Ouie>
Something is either module or a class defined in Class, Anotherthing is the same but in Class::Something
<shevy>
becom33 funny typoes :)
<Mon_Ouie>
Foo::Bar searches for the Bar constant within Foo
<shevy>
becom33, you always scope to namespaces via ::
AxonetBE has joined #ruby
<shevy>
so when class Bar resides in module Foo, you can scope to it via Foo::Bar.new
<shevy>
understood that part becom33 ?
<becom33>
shevy: I guess so . googling for more info on namespace :/
<shevy>
module Foo
<shevy>
end
<shevy>
^^^ that is one. everything can be tied into namespace Foo, you see?
bwlang_ has joined #ruby
<shevy>
module Foo
<shevy>
module Bar
<shevy>
end
<shevy>
end
<shevy>
Bar resides within Foo
<shevy>
Foo::Bar
<becom33>
module inside a module
<becom33>
whats def between ruby modules n classes ?
<TTilus>
becom33: modules are namespaces in ruby, so in your example Class is a module ... yes it is, _and_ a class because classes are modules (Class inherits Module)
<becom33>
without inheriting a class or doing a self on methods cant we just print like *
<Asako>
not sure, I installed ruby just fine
trivol has joined #ruby
<TTilus>
Asako: yes, it should be part of stdlib
<Asako>
weird. I see it in the source dir but not the rpm
<TTilus>
i raise my hands, sounds pretty weird, build is somehow fscked
<TTilus>
becom33: i dont really get it, what are you doing?
<TTilus>
becom33: what is Items?
<pzol>
becom33: what do you want to achieve?
* Asako
upgrades
<Asako>
I'm already missing gentoo
<Asako>
emerge ruby, done
<pzol>
becom33: what you are doing is printing while the class is being defined… class Out; Items.ident("what am I doing", :note); end will work.. but is that what you want?
<TTilus>
Asako: how about trying with rbenv or maybe jruby?
<becom33>
TTilus and pzol I want use print_out method in very class In working the problem is I cant inherit Items class to every class Im gonna right . so I need
<becom33>
Im working *
<becom33>
some way to use print_out method without inheriting
<pzol>
becom33: ummm make it a module module Printer; def ident(…) ….;end
rrichardsr3 has joined #ruby
ErraticSeattle has joined #ruby
<TTilus>
becom33: what you ask for smells really bad
<pzol>
becom33: the class Out; include Printer; end <- in that class you will be able to use ident
<TTilus>
becom33: please tell us what you are up to
<lectrick>
Where can I define something that is not part of my rails repo but works throughout my Ruby environment? .irbrc?
<TTilus>
becom33: you say you are "working the problem"
<TTilus>
becom33: if you are not going to tell what you are trying to accomplish here, just tell it, we wont bite you
interopcop has joined #ruby
<ErraticSeattle>
is there some way to get the system hostname from this variable "#{node[
<becom33>
TTilus: well Im writing a simple application in here with the knowlege I have . but the thing is it has alota "[+]" and [-] etc.. in the begining of a output so I wanted keep it clean . I wanted to create a class which output the [+] when I give the content
<interopcop>
can someone explain this to me? (5..10).inject {|sum, n| sum + n } how does it know that sum is where you accumulate the result of sum + n, and also how does it know what to assign sum and n?
robbyoconnor has joined #ruby
robbyoconnor has joined #ruby
<TTilus>
becom33: so you have an app that does some kind of logging?
<ErraticSeattle>
where is this documented: "#{node['
<rippa>
what is documented?
<ErraticSeattle>
that node variable
<ErraticSeattle>
I want to get the hostname from it
<TTilus>
becom33: you can replace $stdout with any IO instance, you could be outputing to file instead of stdout
<becom33>
TTilus: Im not sure if that what I want . maby I havnt completly understud it
<ErraticSeattle>
of the system this recipe is running on
<rippa>
where did you get that variable from?
<interopcop>
pzol is it permittable to do anything you want in the block? i.e. total_mo = @collection.inject {|sum,c| sum + MyObject.find(c).calculate_stats["monthly_availability"]}
<becom33>
pzol: Im getting a error undefined method `require_relative' for main:Object (NoMethodError)
<becom33>
btw its in def files
<ErraticSeattle>
rippa from a recipe file
<becom33>
I added the path infront of the file
<interopcop>
I always want to write amazing one-liners with ruby when I coul easily do it with a loop
<pzol>
becom33: what ruby are you using?? change it to require
bwlang_ has joined #ruby
<TTilus>
becom33: you can define your own formatter for logger to have those nice [+] etc prefixes you want
altivec_ has joined #ruby
<rippa>
interopcop: yes, it's just a block
<rippa>
do what you want
<ErraticSeattle>
hmmm
<interopcop>
ok cool thanks
<becom33>
pzol: I think I've mispelled file name
<becom33>
gimme a second
<pzol>
interopcop: you can do anything you want… just the block must return the result… but … I pity the person who will have to maintain the code afterwards if you do "awesome one-liners"
<becom33>
TTilus: Uumm sure I need more info about that :/
<becom33>
well there are 3 files . I had use define sommit method coz I need to use it in NewOne class
<TTilus>
becom33: did you even read my last two questions?
<becom33>
can I pm you the awnsers ?
<TTilus>
no
<TTilus>
either you can tell them or not, if you can, you do it here
<becom33>
wow ur sound pissed :/
bwlang_ has joined #ruby
<TTilus>
s/def print/def self.print/
<TTilus>
or
<TTilus>
s/include/extend/
<apeiros_>
TTilus: def self.print will do bad there
<apeiros_>
include and extend only care about instance methods, so they could only be used as Notifier.print_* anymore
<eatnumber1>
no help for me?
<apeiros_>
eatnumber1: create a simple reproducable case
<apeiros_>
also, adding something as specific as 'http_code' to something as generic as StandardError is IMO bad.
<TTilus>
becom33: about that pm, it is a simple fact of how things work, you should _not_ think that pm is in any way "closed" or "confidential"
schovi has joined #ruby
phantomfakeBNC has joined #ruby
<TTilus>
becom33: do pm and you only hurt yourself by not giving any other people the possibility to help you out
s0ber_ has joined #ruby
y3llow_ has joined #ruby
sacarlson has joined #ruby
phantomfakeBNC has joined #ruby
<becom33>
TTilus: I made one of class a module and removed defind from a class
<becom33>
and it kinda worked
<TTilus>
becom33: pm confidential things and they are in ircquotes in something like three seconds
jacktrik has joined #ruby
<apeiros_>
/pm TTilus I'm secretly in love with you!
<apeiros_>
oooooh, d'ooooooh! :D
* bounce
was waiting for the closets to swing wide open
* TTilus
goes ircquote that
<bounce>
all your love letters are belong to ircquote
crankycoder has joined #ruby
mcwise has joined #ruby
phantomfakeBNC has joined #ruby
eatnumber1 has quit ["my simple case works. it's a problem with other parts of my code"]
beilabs_ has joined #ruby
phantomfakeBNC has joined #ruby
brandonsatrom has joined #ruby
<TTilus>
LOVE_LETTERS = 'a'..'z'
<sako>
is t here an easy way to browse rdoc via command line?
<apeiros_>
ri
<sako>
how does one browse the rdocs locally??
<sako>
oh right
Guedes has joined #ruby
Guedes has joined #ruby
bawer has joined #ruby
<sako>
thanks
<apeiros_>
yri if you want yard docs
<robert_>
so when tring to TCP into a server app I have running on freebsd, I get a very strange error from the C# client that causes a broken pipe in the server app.. what's going on here? :/
hirotoshi has joined #ruby
<TTilus>
sako: gem server if you want to browse the html versions of the rdocs of the gems you have installed
<apeiros_>
robert_: that's not really a useful problem description
lorandi has joined #ruby
<robert_>
apeiros_: I get, "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
<sako>
TTilus: cool!
new_ruby_program has joined #ruby
<sako>
im loving ruby :)
<robert_>
that's while trying to recv() data from the service. :/
<apeiros_>
robert_: that's your C# client's error? and what did you do to investigate the error?
<robert_>
yeah
phantomfakeBNC has joined #ruby
<robert_>
what can I do? it's a production server with not really any debugging tools installed.
<robert_>
yeah, that's what it gets from Winsock
lolzie has joined #ruby
<apeiros_>
robert_: C# is off-topic here, so for your clients issues, you'd have to go to the appropriate channel
<lolzie>
Hi guys, how can I send a keyboard press to windows from Ruby?
<robert_>
apeiros_: I know. My problem is I'm not sure which end is causing the error
<apeiros_>
robert_: you give amazing little details, you know that?
phantomfakeBNC has joined #ruby
<apeiros_>
robert_: so your server code is ruby?
<new_ruby_program>
Hello! My name is Linus Phan and I have this college and career project where I have to interview someone about their career. Would anybody please allow me to ask questions about your career? I am very interested in learning about what software engineers/programmers really do and I want to make sure that I will make the right decision in becoming one myself. I am going to college next year, and this would really help me
<lolzie>
I've explored http://win32utils.rubyforge.org/ as a potential answer, but cannot suss which class to use (if any) - I suspect I'll need to send a WM_KEYDOWN somehow through the API
<robert_>
apeiros_: you know the most that I do.
<apeiros_>
robert_: if what you've said so far is all you know and can figure out then you can't do nothing.
<apeiros_>
but I seriously doubt that
<robert_>
apeiros_: yes. the puzzling part is that I have a *nix client that works.
<robert_>
(also in ruby)
thecreators has joined #ruby
<apeiros_>
well, I'm not in the mood for pulling the required info out of your nose.
<new_ruby_program>
i just need to ask a few questions about being a software programmer, such as "How and why did you choose this career" and etc. This will really help me in making my career choice. I will send you the questions via email, so can anybody please help me?
<new_ruby_program>
Also sorry for asking for help here, I just don't know where else to go :)
phantomfakeBNC has joined #ruby
<wmoxam>
new_ruby_program: try Reddit
<gift>
somebody talk to the man
<wmoxam>
reddit.com/r/compsci
phantomfakeBNC has joined #ruby
phantomfakeBNC has joined #ruby
fmcgeough has joined #ruby
Maxou56800 has joined #ruby
<new_ruby_program>
lol thanks gift :) wmoxam, the thing is i need it to be an interview for my project... so yea
keymone_ has joined #ruby
beilabs_ has joined #ruby
sami_ has joined #ruby
thone has joined #ruby
tommyvyo has joined #ruby
<new_ruby_program>
it doesnt have to be anything formal too, i can just do the interview here too... whatever fits you
phantomfakeBNC has joined #ruby
becom33 has joined #ruby
<becom33>
damn internet went off :/
<becom33>
is it ok do puts inside modules ?
<new_ruby_program>
:( help someone? anybody?
phantomfakeBNC has joined #ruby
jbw has joined #ruby
bglusman has joined #ruby
phantomfakeBNC has joined #ruby
<robert_>
apeiros_: sorry, phone call.. I can post the server's source if you want
atmosx has joined #ruby
<robert_>
I was simply wondering if there was anything I needed to look out for when writing a server app
<apeiros_>
pasting the server code would surely help. but I'm now chatting with an old friend, so probably not being responsive.
lorandi has joined #ruby
phantomfakeBNC has joined #ruby
CannedCorn has joined #ruby
phantomfakeBNC has joined #ruby
<new_ruby_program>
should i repost my question? ill wait a few more minutes, sorry im not sure where else i can get in contact with other software programmers.
nemesit has joined #ruby
<robert_>
apeiros_: that's fine. I appreciate the help, though.
cdepue has joined #ruby
AxonetBE has joined #ruby
tommyvyo has joined #ruby
<new_ruby_program>
Lol, nobody wants to talk about their careers. I'm eager and interested in learning about computer programming... I don't want to risk screening out this career just because of a "lack" of feedback from an adult :)
Vert has joined #ruby
Ontolog has joined #ruby
<new_ruby_program>
Okay I will try one more time, please don't get mad at me people here from repeating my question, it will be the last time, for sure. Hello! My name is Linus Phan and I have this college and career project where I have to interview someone about their career. Would anybody please allow me to ask questions about your career? I am very interested in learning about what software engineers/programmers really do and I want t
<new_ruby_program>
damn sorry for the spam, didnt mean it
<kesor>
i wonder, is there a chart somewhere that shows how many lines of irc this channel has per each hour of the week?
phantomfakeBNC has joined #ruby
phantomfakeBNC has joined #ruby
Ferdev has joined #ruby
phantomfakeBNC has joined #ruby
cpruitt has joined #ruby
beilabs_ has joined #ruby
cpruitt has joined #ruby
burgestrand has joined #ruby
<apeiros_>
kesor: tpope had such stats, but I think they haven't been updated in years
wefawa has joined #ruby
<kesor>
whats the difference between #ruby and #ruby-lang? :/
<new_ruby_program>
'.'
<wefawa>
kesor: One is about gems, and the other about a lang ( ? )
tarnfeld has joined #ruby
<tarnfeld>
Hey
<tarnfeld>
Anyone using the AWS ruby gem and dynamodb?
<tarnfeld>
Wondering how I can use the Atomic Counters functionality
dcolebatch2 has joined #ruby
<new_ruby_program>
DAMNN CAN ANYBODY PLEASE HELP ME OUT?
Russell^^ has joined #ruby
<bawer>
DEPENDS!!
<bawer>
describe your problem :)
wroathe has joined #ruby
<wroathe>
Is there a way to show the path of a file you require in irb?
<d-snp>
kesor: I've heard the people in #ruby-lang are slightly better behaved
<d-snp>
not sure though
<d-snp>
wroathe: the path of a file you require?
<kesor>
d-snp: its probably because it is be less obvious choice to come and troll in
<new_ruby_program>
well i need to do this job interview for my school project, and i want to ask you about your jobs. Just some basic questions such as how and why did you choose this career. I am interested in this career and i just have some basic questions to ask. that is all. would anybody please help me =)
robbyoconnor has joined #ruby
beilabs_ has joined #ruby
adamn_yyc has quit [#ruby]
phantomfakeBNC has joined #ruby
AndChat| has joined #ruby
<wefawa>
new_ruby_program: Ask away...
jarred has joined #ruby
new_ruby_program has joined #ruby
phantomfakeBNC has joined #ruby
<new_ruby_program>
can i private chat with someone to ask the questions... that would be better
<wefawa>
ok
<gift>
!
<new_ruby_program>
thanks wefawa you're a life saver i owe you
ukwiz has joined #ruby
mattonrails has joined #ruby
SeySayux has joined #ruby
<SeySayux>
How do I get the search path for 'require' statements? I'm trying to use the github gem, but it says "/usr/local/bin/github:6:in `require': no such file to load -- github (LoadError) from /usr/local/bin/github:6"
<apeiros_>
robert_: still there?
<robert_>
I am.
<apeiros_>
still got your problem?
<robert_>
Yup/
<apeiros_>
it looks like you can easily run that server on your own box to test, so you don't need to use the production server to deduce the problem.
<apeiros_>
first thing I'd do is add `Thread.abort_on_exception = true`
<apeiros_>
no hidden crashed threads that way.
<robert_>
aha.
<apeiros_>
second thing I'd do is add a couple of debug statements, so you see how far your connection with the C# client gets
<apeiros_>
then a question - any specific reason that you use Socket directly instead of TCPServer?