merceris_ has quit [Quit: Computer has gone to sleep.]
moritzschaefer has quit [Ping timeout: 255 seconds]
rm_ has joined #ruby
ddv has joined #ruby
d34th4ck3r has joined #ruby
kireevco has quit [Quit: Leaving.]
bthesorceror has joined #ruby
jaygen has joined #ruby
jaygen has quit [Client Quit]
Shidash has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 260 seconds]
acl_ is now known as isxek
apeiros has joined #ruby
linoespinoza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nitr_aka_anty has joined #ruby
* ashleah{K}
is back (gone 00:01:42)
<benzrf>
ashleah{K}: thx for the info
SCommette has quit [Quit: SCommette]
thesheff17 has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 260 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nitr_aka_anty has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
tectonic has quit []
lethjakman has joined #ruby
kilk_ has left #ruby [#ruby]
bmurt has joined #ruby
vikfroberg has quit [Quit: vikfroberg]
oo_ has joined #ruby
sinkensabe has joined #ruby
Sakurazaki has joined #ruby
oo_ has quit [Remote host closed the connection]
zz_karupa is now known as karupa
<Sakurazaki>
Hi, I'm trying to setup a new form like: <%= form_for @user, :url => user_path, html: {class: 'none'} do |f| %> but I keep getting: No route matches {:action=>"show", :controller=>"user"} missing required keys: [:id]
<Sakurazaki>
this form should be POST-ing to /user so a new user is created, so I really don't know what I'm doing wrong
<Sakurazaki>
can someone lend me a tip? thanks
sinkensabe has quit [Ping timeout: 240 seconds]
lethjakman has quit [Ping timeout: 240 seconds]
thesheff17 has joined #ruby
Hanmac1 has quit [Ping timeout: 252 seconds]
feature_creep has joined #ruby
SCommette has joined #ruby
yubrew has joined #ruby
sski has joined #ruby
jamto11 has joined #ruby
Hanmac has joined #ruby
<Sakurazaki>
I figured it out, but now I would accept some help with strong params. Based on the Ruby tutorial / docs I've done my strong params like this:
<poincare101>
Is there some online code editor for Ruby that will let me run code (w/ syntax highlighting)? I'm trying to do a live presentation but I will not have my own machine...
nitr_aka_anty has quit [Ping timeout: 240 seconds]
linoespinoza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<poincare101>
mozzarella: issue w/ that is that the viewing window is very small and there are lots of ads, making it a cluttered interface
<poincare101>
mozzarella: wait a second, it has changed quite a bit since I last used it
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
MatthewsFace has joined #ruby
dayepa has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
renderfu_ has joined #ruby
mary5030 has joined #ruby
charliesome has joined #ruby
yubrew has joined #ruby
lethjakman has quit [Ping timeout: 240 seconds]
renderful has quit [Ping timeout: 252 seconds]
sski has quit [Remote host closed the connection]
Jakey_Cloud___ has joined #ruby
sski has joined #ruby
george2 has joined #ruby
chipotle has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
oo_ has quit [Remote host closed the connection]
Doppp has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
Hanmac has joined #ruby
xcv_ has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 260 seconds]
b1205 has quit [Ping timeout: 252 seconds]
absolutezeroff has quit [Quit: Leaving]
cout has quit [Read error: Connection reset by peer]
pwh has quit []
Hobogrammer_ has joined #ruby
jamto11 has joined #ruby
Stalkr_ has joined #ruby
tylersmith has joined #ruby
Slavox|AFK is now known as Slavox
Hobogrammer has quit [Ping timeout: 240 seconds]
bthesorceror has joined #ruby
r0ast has joined #ruby
serp` has left #ruby [#ruby]
agent_white has quit [Quit: bbl]
tylersmith has quit [Client Quit]
jamto11 has quit [Ping timeout: 245 seconds]
Stalkr_ has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
b1205 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
dc has joined #ruby
TorpedoSkyline has joined #ruby
mercwithamouth has joined #ruby
balazs has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
Hanmac1 has joined #ruby
Slavox is now known as Slavox|AFK
Hanmac has quit [Ping timeout: 264 seconds]
andrewjanssen has joined #ruby
aspires has joined #ruby
gorpon has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
absolutezeroff has joined #ruby
koell has joined #ruby
bthesorceror has quit [Remote host closed the connection]
einarj has joined #ruby
braincrash has quit [Quit: bye bye]
ari-_-e has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
feature_creep has quit [Quit: feature_creep]
hornairs has quit [Quit: hornairs]
mehlah has quit [Quit: Leaving...]
einarj has quit [Ping timeout: 265 seconds]
braincrash has joined #ruby
ari-_-e has joined #ruby
Kricir has joined #ruby
hornairs has joined #ruby
gorpon has quit [Ping timeout: 252 seconds]
dc_ has joined #ruby
Vivekananda has joined #ruby
uTosTan has quit [Ping timeout: 240 seconds]
r0ast has quit [Remote host closed the connection]
Cache_Money has joined #ruby
dc has quit [Ping timeout: 255 seconds]
r0ast_ has joined #ruby
gorpon has joined #ruby
Slavox|AFK is now known as Slavox
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poincare101 has quit [Quit: poincare101]
Mongey has joined #ruby
darkswordchris has joined #ruby
r0ast has joined #ruby
<darkswordchris>
Hello. Has anyone here used Ruby in Visual Studio previously, or know how it is done? I can't seem to get it right.
r0ast has quit [Client Quit]
r0ast_ has quit [Client Quit]
r0ast has joined #ruby
r0ast has quit [Client Quit]
<arrubin>
Why would one wish to do that?
Hanmac1 has quit [Ping timeout: 265 seconds]
St_Marx has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
RaptorJesus has quit [Remote host closed the connection]
sptx00 has quit [Remote host closed the connection]
end_guy has quit [Write error: Broken pipe]
tacos1de has quit [Write error: Connection reset by peer]
Boohbah has quit [Write error: Connection reset by peer]
<darkswordchris>
There is a game creation engine called Unreal Engine XP. It uses RGSS (A custom implementation of Ruby) for scripting. I would like to create my own "wrapper" for the output game, to replace the default one.
GriffinHeart has joined #ruby
<darkswordchris>
To do this, I need to able to use Ruby within C++
Kricir has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
St_Marx has joined #ruby
sski has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
tacos1de has joined #ruby
<darkswordchris>
No one?
Takle has joined #ruby
<benzrf>
darkswordchris: use mruby!
<darkswordchris>
Alright, I'll give it a try, thanks.
Boohbah has joined #ruby
bthesorceror has joined #ruby
aspires has quit []
Hanmac has joined #ruby
Stalkr_ has joined #ruby
r0ast has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
grizzles has joined #ruby
<grizzles>
I have a miscellaneous ruby app with no instructions on how to start it
<grizzles>
it has a Rakefile
darkswordchris has quit [Ping timeout: 240 seconds]
<grizzles>
Im not a ruby man
<grizzles>
is there an standard ./configure;make type incantation I can use?
d34th4ck3r has quit [Quit: zzz]
dhaivat has joined #ruby
Stalkr_ has quit [Ping timeout: 276 seconds]
SBoolean has quit [Remote host closed the connection]
<pontiki>
no, grizzles, ruby doesn
<pontiki>
't work that way
omosoj has joined #ruby
end_guy has joined #ruby
<grizzles>
shoot :/
krz has joined #ruby
armyriad has joined #ruby
r0ast has joined #ruby
except has joined #ruby
Atttwww has quit []
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
omosoj has quit [Quit: Leaving]
r0ast has quit [Ping timeout: 255 seconds]
hermanmunster has quit [Read error: Connection reset by peer]
hermanmunster has joined #ruby
havenwood has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
mzagaja has joined #ruby
mzagaja has left #ruby [#ruby]
oo_ has quit [Remote host closed the connection]
aspires has quit []
nopolitica has joined #ruby
benzrf is now known as benzrf|offline
RaptorJesus has joined #ruby
nopolitica has quit [Client Quit]
Cache_Money has quit [Quit: Cache_Money]
fschuindt has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
anaeem1_ has joined #ruby
fschuindt has quit [Client Quit]
mr_snowf1ake has quit [Ping timeout: 252 seconds]
SCommette has quit [Quit: SCommette]
trhodes_ has joined #ruby
gorpon has quit [Ping timeout: 264 seconds]
xcesariox has joined #ruby
yubrew has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
nitr_aka_anty has joined #ruby
isxek has joined #ruby
danijoo has joined #ruby
sinkensabe has joined #ruby
dingus_khan has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
nitr_aka_anty has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 255 seconds]
dhaivat has quit [Quit: dhaivat]
b1205 has joined #ruby
freerobby has quit [Quit: Leaving.]
Kricir has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
xcv has joined #ruby
rm_ has quit [Remote host closed the connection]
havenwood has joined #ruby
rm_ has joined #ruby
b1205 has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
dhaivat has joined #ruby
aspires has quit []
xcv has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
aspires has joined #ruby
Stalkr_ has joined #ruby
d34th4ck3r has joined #ruby
rm__ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
rm_ has quit [Ping timeout: 260 seconds]
aspires has quit [Client Quit]
hornairs has quit [Quit: hornairs]
oo_ has joined #ruby
hornairs has joined #ruby
bthesorceror has quit [Remote host closed the connection]
Stalkr_ has quit [Ping timeout: 260 seconds]
nopolitica has joined #ruby
kies has quit [Ping timeout: 276 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
jxf has joined #ruby
hornairs has quit [Quit: hornairs]
oo_ has quit [Ping timeout: 276 seconds]
phinfonet has quit []
kireevco has joined #ruby
aspiers_ has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
b1205 has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
x1337807x has joined #ruby
r0ast has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
dhaivat has quit [Quit: dhaivat]
kies has joined #ruby
tkuchiki has quit [Remote host closed the connection]
r0ast has quit [Ping timeout: 240 seconds]
dhaivat has joined #ruby
tkuchiki has joined #ruby
sinkensabe has joined #ruby
absolutezeroff has quit [Read error: Connection reset by peer]
dhaivat has quit [Client Quit]
kireevco has quit [Quit: Leaving.]
aneong has joined #ruby
CodeBunny has quit [Ping timeout: 252 seconds]
Asher has quit [Ping timeout: 264 seconds]
nopolitica has quit [Remote host closed the connection]
dumdedum has joined #ruby
aneong has quit [Ping timeout: 265 seconds]
dhaivat has joined #ruby
Asher has joined #ruby
grizzles has quit [Ping timeout: 240 seconds]
run_kmc has joined #ruby
aganov has joined #ruby
run_kmc is now known as Guest70391
luckyruby has joined #ruby
djbkd has joined #ruby
Guest70391 has quit [Client Quit]
phansch has joined #ruby
KLVTZ has joined #ruby
banjara has joined #ruby
Tentra has joined #ruby
dhaivat has quit [Quit: dhaivat]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
JasmeetQA has joined #ruby
jack_rabbit has quit [Quit: Leaving]
yubrew has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
kies has quit [Ping timeout: 252 seconds]
yakko has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
Wolland has joined #ruby
GriffinHeart has joined #ruby
Tentra has quit []
whyy has joined #ruby
franzip has joined #ruby
Royalb15 has quit [Quit: Leaving]
yubrew has quit [Ping timeout: 252 seconds]
why_away has joined #ruby
tengopreguntas has joined #ruby
tengopreguntas has left #ruby [#ruby]
tengopreguntas has joined #ruby
<tengopreguntas>
does anybody know a way to print all the unicode chracterst that match a unicode character property. let's say all chars that match \p{Latin}
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 260 seconds]
dmarr has quit [Quit: Goodbye]
whyy has quit [Ping timeout: 260 seconds]
rm__ has quit [Remote host closed the connection]
rm_ has joined #ruby
<pontiki>
wouldn't that depend on the font you use as well?
koell has quit [Read error: Connection reset by peer]
koell has joined #ruby
dmarr has joined #ruby
kies has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
qwyeth has quit [Remote host closed the connection]
<tengopreguntas>
ari-_-e: well, i need it in my code, so i can create a translation table
<ari-_-e>
what sort of translation table?
heftig has quit [Quit: Quitting]
<tengopreguntas>
replace all accented letters with the transliterated version,,, let's say Äáà with a
<tengopreguntas>
but only the ones who belong to a certain group, since i found a gem to do this, but it will replace all other chinese characters let's say
rkazak has joined #ruby
JBreit has joined #ruby
<tengopreguntas>
ari-_-e: thank you for the website, it is very usefull
rm_ has quit [Ping timeout: 260 seconds]
armyriad has quit [Ping timeout: 240 seconds]
<ari-_-e>
tengopreguntas: well, if you had programmatic access, how would you implement this?
<tengopreguntas>
what you mean
<tengopreguntas>
by programmatic access
<ari-_-e>
you said you need it in your code
<ari-_-e>
if you had it in your code
<ari-_-e>
how would you do this
oo_ has quit [Remote host closed the connection]
maletor has joined #ruby
r0ast has joined #ruby
JBreit has left #ruby [#ruby]
<tengopreguntas>
well, i will loop through the whole list, print the ascii equivalent,
oo_ has joined #ruby
<ari-_-e>
how would you find the ascii equivalent?
<tengopreguntas>
and running against any string containing any set of characters
<tengopreguntas>
with the transliterate method
<RubyPanther>
tengopreguntas: unicode_utils gem might help
Wayneoween has quit [Ping timeout: 240 seconds]
<tengopreguntas>
i think i am using that one
n0n3 has quit []
Wayneoween has joined #ruby
<tengopreguntas>
RubyPanther: well, i was using that one, but i think i need something else, unidecoder, or Iconv
balazs has quit [Ping timeout: 264 seconds]
<tengopreguntas>
ari-_-e: so, i don't know if i answered your questions,or where you wanted to get with that..
Platini has quit [Remote host closed the connection]
<ari-_-e>
tengopreguntas: so yeah, you'll probably need a gem or something which gives lets you query the unicode data
r0ast has quit [Ping timeout: 276 seconds]
<tengopreguntas>
haha. oh my..
SilverKey has joined #ruby
lethjakman has joined #ruby
<ari-_-e>
I would think that unicode_data could do this...
<ari-_-e>
unicode_utis
<ari-_-e>
unicode_utils
kies has quit [Ping timeout: 265 seconds]
<ari-_-e>
apparently not
tylersmith has joined #ruby
<tengopreguntas>
could do that? print the list or do the transliteration?
<ari-_-e>
I doubt anything you find will be able to get a list, but I would think that you should be able to query the script of a particular character
<ari-_-e>
the data probably isn't organized for getting a list
maletor has quit [Quit: Computer has gone to sleep.]
SilverKey has quit [Quit: Halted.]
bal has joined #ruby
GriffinHeart has joined #ruby
yubrew has joined #ruby
subraminion_ has joined #ruby
subraminion_ has quit [Remote host closed the connection]
subraminion_ has joined #ruby
hermanmunster has quit [Remote host closed the connection]
agjacome has quit [Ping timeout: 240 seconds]
hermanmunster has joined #ruby
subraminion has quit [Ping timeout: 276 seconds]
<ari-_-e>
heh, you could check if /\p{Latin}/ matches that character
yubrew has quit [Ping timeout: 255 seconds]
lethjakman has quit [Ping timeout: 252 seconds]
kiri has joined #ruby
<ari-_-e>
tengopreguntas: ^
Xeago has joined #ruby
<tengopreguntas>
in perl, {Script=Latin} does it.
<tengopreguntas>
ari-_-e: but how can i loop throught the whole set now
relix has joined #ruby
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
gwb3 has joined #ruby
mengu has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
toastynerd has joined #ruby
vikfroberg has quit [Quit: vikfroberg]
<ari-_-e>
tengopreguntas: why do you need to? can't you just transliterate each character which is a latin character?
jprovazn has joined #ruby
kiri_ has joined #ruby
Morkel has joined #ruby
hermanmunster has quit [Remote host closed the connection]
alem0lars has joined #ruby
<ari-_-e>
also, how does it help to transliterate only latin characters? if there are non-latin characters then it will still need to be represented as unicode, right?
hermanmunster has joined #ruby
kiri has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
hermanmunster has quit [Read error: Connection reset by peer]
hermanmunster has joined #ruby
aneong has joined #ruby
banjara1 has joined #ruby
armyriad has joined #ruby
tengopreguntas has quit [Ping timeout: 260 seconds]
banjara has quit [Ping timeout: 252 seconds]
dawkirst has joined #ruby
ta has quit [Remote host closed the connection]
klaut has joined #ruby
subraminion_ has quit [Read error: Connection reset by peer]
subraminion__ has joined #ruby
aneong has quit [Ping timeout: 260 seconds]
amundj has joined #ruby
subraminion___ has joined #ruby
anarang has joined #ruby
subraminion__ has quit [Ping timeout: 240 seconds]
amundj has quit [Ping timeout: 260 seconds]
cout has joined #ruby
dayepa has quit [Quit: dayepa]
lemur has joined #ruby
RaptorJesus has quit [Quit: Leaving]
dawkirst_ has joined #ruby
trhodes_ has quit [Ping timeout: 264 seconds]
thomasxie has joined #ruby
lemur has quit [Remote host closed the connection]
michael_lee has joined #ruby
tectonic has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
JPascal has joined #ruby
tengopreguntas has joined #ruby
jamto11 has joined #ruby
trhodes_ has joined #ruby
KLVTZ has quit [Quit: {K}angaroo {L}eague on a {V}endetta for {T}errifying {Z}ebras]
noop has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
mengu has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
jamto11 has quit [Ping timeout: 260 seconds]
r0ast has joined #ruby
aneong has joined #ruby
subraminion___ has quit [Remote host closed the connection]
andikr has joined #ruby
subraminion___ has joined #ruby
r0ast has quit [Ping timeout: 264 seconds]
ta has joined #ruby
duncannz has joined #ruby
akonny has joined #ruby
fabrice31 has joined #ruby
IceDragon has quit [Quit: Space~~~]
wallerdev has quit [Quit: wallerdev]
aneong has quit [Remote host closed the connection]
wallerdev has joined #ruby
tectonic has quit []
yacks has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
<tengopreguntas>
ari-_-e: how do i do that? sorry, i got disconnected
banister has joined #ruby
isxek has quit [Quit: ChatZilla 0.9.90.1 [Firefox 32.0a1/20140601030204]]
yubrew has quit [Ping timeout: 240 seconds]
ayaz has joined #ruby
claymore has joined #ruby
rkazak has left #ruby [#ruby]
Macaveli has joined #ruby
Hobogrammer_ has quit [Ping timeout: 276 seconds]
yacks has joined #ruby
rghose1 has joined #ruby
ndrei has joined #ruby
Platini has joined #ruby
oo_ has quit [Remote host closed the connection]
ndrei has quit [Remote host closed the connection]
<ari-_-e>
tengopreguntas: just iterate through each character and transliterate it if it's latin?
except has quit [Quit: gn]
franzip has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
franzip has joined #ruby
tengopreguntas has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
franzip has quit [Quit: ...]
subraminion___ has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
lsmola has joined #ruby
ta has quit [Read error: Connection reset by peer]
why_away is now known as whyy
jackneill has joined #ruby
armyriad has quit [Ping timeout: 252 seconds]
armyriad has joined #ruby
Squarepy has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
ta has joined #ruby
zybi1 has quit [Remote host closed the connection]
soasme has joined #ruby
tengopreguntas has joined #ruby
timonv has joined #ruby
mikecmpbll has joined #ruby
likemike has joined #ruby
subraminion___ has joined #ruby
<likemike>
hello what would be the good game for turning some data into a simple xml ?
subraminion___ has quit [Remote host closed the connection]
subraminion___ has joined #ruby
toastynerd has quit [Remote host closed the connection]
<Wolland>
likemike: JSON has to_xml method
mercerist has joined #ruby
<Wolland>
so does Hash
bricker`LA has joined #ruby
pskosinski has joined #ruby
<Hanmac>
Wolland: and where does this to_xml method come from? not from JSON as far as i know ... except you might use rails and addons
timonv has quit [Ping timeout: 252 seconds]
hermanmunster has quit [Remote host closed the connection]
<Wolland>
You are correct. rails :(
<Mon_Ouie>
Nokogiri allows you to build XML
timonv has joined #ruby
r0ast has joined #ruby
kies has joined #ruby
lemur has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
nvrch has joined #ruby
yubrew has joined #ruby
wallerdev has quit [Quit: wallerdev]
r0ast has quit [Ping timeout: 264 seconds]
subraminion____ has joined #ruby
subraminion___ has quit [Read error: Connection reset by peer]
lemur has quit [Ping timeout: 255 seconds]
lemur has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
wm3|away has joined #ruby
Port3M5[Work] has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ra4king has quit [Remote host closed the connection]
r0ast has quit [Read error: Connection reset by peer]
wm3|away is now known as workmad3
r0ast_ has joined #ruby
ra4king has joined #ruby
<etqqkoiflwhb>
ari-_-e: yep, did that, underscore's bind binds a function to an object, value of self remains to whatever it was set to, irrespective of where its called
andrewlio has joined #ruby
<ari-_-e>
etqqkoiflwhb: what I mean is that underscore returns a function which calls the apply method on the given function with the given object
<ari-_-e>
which would be analogous to making a new block in ruby which calls instance_eval/exec
<ari-_-e>
and I guess you can't set the name manually
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kobi_>
hi, I'm trying to join #rails channel but I get some msg "opic for ##namespace is: You've tried to join an unavailable channel. The channel you may be attempting to join may be in a different namespace (try ##channel)"... but I do see nicknames. Any idea how I join rails channel ? ty
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<robert_>
workmad3: I'm trying to do something like that, where you have fragments of ruby segregated into smaller, more manageable files, buuut IT'S NOT WORKING, lol.
<ari-_-e>
robert_: looks like there's something wrong at the top?
<ari-_-e>
something with quotes, looks like
<Wolland>
single ' vs `
<Wolland>
?
lemur has quit [Ping timeout: 240 seconds]
<Wolland>
on line 7?
<ari-_-e>
something like that
<robert_>
no?
<robert_>
that isn't shell.
<ari-_-e>
hm?
<ari-_-e>
do you not see the error?
<robert_>
that's code stand-in for open()'d files on the server this is actually running on.
<robert_>
and the error is incidental
pabloh has joined #ruby
frosgy has joined #ruby
<robert_>
ari-_-e: Services.rb:109:in `block in <class:Services>': undefined method `name=' for Services::Service1:Class (NoMethodError)
<robert_>
that's what I'm trying to debug, lol
sk87 has joined #ruby
<ari-_-e>
robert_: line 109 is end :-/
shredding has joined #ruby
<Wolland>
undefined local variable or method `pathname' for Services:Class (NameError)
<Wolland>
line 84
<Wolland>
you have missing single 's
<canton7>
sIdisLIfd_{k987
<Hanmac1>
robert_: classes has a name method but no name= method
sk87 has quit [Client Quit]
frogssgy has quit [Ping timeout: 240 seconds]
<ari-_-e>
robert_: I think it'd be good if the code you've uploaded doesn't have incidental errors
<canton7>
grr hexchat stealing focus
<ari-_-e>
lets us focus on the real error
<robert_>
ari-_-e: I know, but you can't run the code, because it doesn't exhibit the issues because you can't glob a directory and load rub code on the web, so I have to improvise..
<robert_>
ruby*
Vivekananda has quit [Read error: Connection reset by peer]
nfk has joined #ruby
Squarepy has joined #ruby
yacks has joined #ruby
kyb3r_ has joined #ruby
d34th4ck3r has quit [Quit: zzz]
oo__ has joined #ruby
GriffinHeart has joined #ruby
pskosinski has joined #ruby
blackmesa has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
why_away has joined #ruby
banjara has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banjara1 has quit [Read error: No route to host]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrisseaton has joined #ruby
byteoverfl0w has joined #ruby
banister has joined #ruby
mengu has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 245 seconds]
akonny has quit [Quit: akonny]
yubrew has joined #ruby
k03ll has joined #ruby
yubrew has quit [Ping timeout: 260 seconds]
koell has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
Lutece has joined #ruby
aspiers_ has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
r0ast has joined #ruby
tengopreguntas has joined #ruby
dEPy has joined #ruby
m8 has joined #ruby
Guest51158 has joined #ruby
yenic has joined #ruby
<Guest51158>
Hi,does anyone know RUBY devs in South Africa?
<shwouchk>
Suddenly, I get errors trying to run rake. one of the lines is: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib - does the ruby-2.1.1/lib/ruby/2.1.0 make sense? if not, what could cause it? mixup in PATH? upgrading something I shouldn't have? something else? Also, I see now that I don't even have libyaml-0.2 available on my system, neither
<shwouchk>
in ports nor in brew. what gives?
DaniG2k has quit [Quit: leaving]
<DaniG2k_>
exit
<DaniG2k_>
oops
DaniG2k_ has quit [Quit: leaving]
maximski has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
r0ast has joined #ruby
banisterone has quit [Read error: Connection reset by peer]
doev has joined #ruby
fauzanqadri has joined #ruby
danshultz has quit [Remote host closed the connection]
roadt has joined #ruby
r0ast has quit [Ping timeout: 276 seconds]
danshultz has joined #ruby
tanmay_ has joined #ruby
tanmay__ has joined #ruby
<tanmay_>
how to get current user in custom helper in rails ?
hermanmunster has quit [Remote host closed the connection]
<Lutece>
You mind describing that a little better? tanmay_?
hermanmunster has joined #ruby
maximski has joined #ruby
<tanmay_>
I have written custom helper file and calling one of the method of that helpr from some controller. how to access current user in custom helper?
<Armand_>
Hey. I need Ruby DEVS in Johannesburg. Do you know of anyone?
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
fgo has joined #ruby
<maloik>
You're likely to have better luck on a job board
danshultz has quit [Ping timeout: 255 seconds]
<ari-_-e>
Armand_: I'm thinking of a word that describes what you're doing, do you know the word I'm thinking of?
r0ast has joined #ruby
<tanmay_>
Normaly when we call any helper method from that controller then we get current_user .
<gizmore>
tanmay_: i think current_user should work in helper too
<gizmore>
if not, maybe just pass it as parameter
<tanmay_>
:( its saying undefined current_user
lobstah has quit [Ping timeout: 264 seconds]
<gizmore>
tanmay_: maybe you don´t call it from a controller or view?
vikfroberg has joined #ruby
<fauzanqadri>
you need to included them to the controller tanmay
hermanmunster has quit [Ping timeout: 276 seconds]
<tanmay_>
@fauzanqadri Okay. Trying
paulfm has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
<tanmay_>
@fauzanqadri should I include it inside class ?
JasmeetQA has quit [Read error: Connection reset by peer]
jackneill has quit [Remote host closed the connection]
frobrob has quit [Ping timeout: 264 seconds]
<fauzanqadri>
@tanmay_ yapp, make sure your helper is module
mjsmith2 has joined #ruby
r0ast has quit [Remote host closed the connection]
<ddv>
Armand_: Johannesburg is too unsafe for Ruby developers
<ddv>
ari-_-e: recruiting?
aspiers_ has joined #ruby
<ari-_-e>
ddv: no
paulfm has quit []
<tanmay_>
@fauzanqadri undefined local variable or method `current_user' for a:Module
SBoolean has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
nvrch has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
Soda has joined #ruby
<fauzanqadri>
where did u defined the `current_user` method tanmay_
Soda has quit [Remote host closed the connection]
<Hanmac1>
tanmay_ you defined it as instance method but you called it as class method ... you might need to look for module_function
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
Lutece has quit [Ping timeout: 272 seconds]
AlSquire has quit [Ping timeout: 252 seconds]
mark_locklear has joined #ruby
fabrice31 has quit [Remote host closed the connection]
sumark has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
ponga has quit [Ping timeout: 260 seconds]
yubrew has joined #ruby
tanmay_ has quit [Ping timeout: 240 seconds]
tanmay__ has quit [Ping timeout: 252 seconds]
sumark has joined #ruby
tanmay_ has joined #ruby
tanmay__ has joined #ruby
<Armand_>
Yeah I am recruiting
<Armand_>
Joahnnesburg is not unsafe
moritzschaefer has joined #ruby
<Armand_>
Johannesburg is awesome!!!! I'm white and been living here all my life
<Armand_>
lol
<Armand_>
I'm still alive
<tanmay_>
@fauzanqadri want to access current_user var in A helper within function X. Calling X from Y controller. @Hanmac1 its class method
<tanmay_>
I have defined self.method_name
benzrf|offline is now known as benzrf
paulfm has joined #ruby
timonv has quit [Remote host closed the connection]
whyy has quit [Remote host closed the connection]
soasme has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
paulfm has quit [Client Quit]
whyy has joined #ruby
AlSquire has joined #ruby
<fauzanqadri>
try just `method_name`
sigurding has quit [Quit: sigurding]
phutchins has joined #ruby
nhhagen has quit [Remote host closed the connection]
r0ast has joined #ruby
sambao21 has joined #ruby
bmurt has joined #ruby
why_away has joined #ruby
whyy has quit [Ping timeout: 240 seconds]
malkomalko has joined #ruby
Takle has quit [Remote host closed the connection]
sigurding has joined #ruby
r0ast has quit [Remote host closed the connection]
paulfm has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
blueOxigen has joined #ruby
<rghose1>
any idea how omniauth logouts might work with gitlab?
<rghose1>
it does a DELETE request on resources
nemesit|znc has quit [Ping timeout: 252 seconds]
franzip has joined #ruby
balazs has joined #ruby
<tanmay_>
@fauzanqadri it worked. directly called method
<tanmay_>
thx
<fauzanqadri>
;)
workmad3 is now known as wm3|away
shevy has joined #ruby
freerobby has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
nemesit|znc has joined #ruby
jheg_ has joined #ruby
timonv has joined #ruby
why_away has quit [Remote host closed the connection]
yfeldblum has joined #ruby
whyy has joined #ruby
setra has joined #ruby
robertodecurnex has joined #ruby
maximski has quit []
jamto11 has joined #ruby
lobstah has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whyy has quit [Ping timeout: 252 seconds]
yacks has quit [Ping timeout: 264 seconds]
hornairs has joined #ruby
shevy has quit [Remote host closed the connection]
tesuji has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
whyy has joined #ruby
havenwood has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
feature_creep has quit [Quit: feature_creep]
dblessing has joined #ruby
bluOxigen has joined #ruby
freerobby has quit [Quit: Leaving.]
hornairs has quit [Client Quit]
garndt has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Remote host closed the connection]
r0ast has joined #ruby
yfeldblum has joined #ruby
sepp2k has quit [Quit: Leaving.]
bluOxigen has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 272 seconds]
Armand_ has quit [Ping timeout: 240 seconds]
bluOxigen has joined #ruby
ponga has joined #ruby
danshultz has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
danshultz has quit [Remote host closed the connection]
blacksails has joined #ruby
danshultz has joined #ruby
fabrice31 has joined #ruby
vpretzel has joined #ruby
r0ast has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
hermanmunster has joined #ruby
sambao21 has joined #ruby
mary5030 has joined #ruby
moritzschaefer has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
fgo has joined #ruby
bthesorceror has joined #ruby
andrewjanssen has joined #ruby
etqqkoiflwhb has joined #ruby
<bmurt>
anyone know how to spoof/force an exception for Mechanize's ResponseErrorCode?
ephemerian has quit [Quit: Leaving.]
blacksails has quit [Quit: Computer has gone to sleep.]
hermanmunster has quit [Ping timeout: 240 seconds]
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
oo_ has quit [Remote host closed the connection]
<vosloco>
Has anyone else run into a problem with the restclient gem when using openssl version 1.0.1? I get a "tlsv1 alert protocol version" error when trying to make get requests over https.
Stalkr_ has quit [Quit: Leaving...]
TorpedoSkyline has joined #ruby
tanmay_ has joined #ruby
tanmay__ has joined #ruby
<vosloco>
Seemed to work fine until I updated openssl.
phansch has quit [Quit: WeeChat 0.4.3]
seanewest has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
seanewest has quit [Client Quit]
tjr9898__ has quit [Remote host closed the connection]
dodosan has joined #ruby
stantona has joined #ruby
sinkensabe has quit [Remote host closed the connection]
tjr9898__ has joined #ruby
sinkensabe has joined #ruby
mijicd has joined #ruby
hgl has quit [Ping timeout: 276 seconds]
jds has joined #ruby
aspiers_ has quit [Ping timeout: 252 seconds]
Rainicorn has quit [Read error: Connection reset by peer]
tanmay_ has quit [Ping timeout: 255 seconds]
LadyRainicorn has joined #ruby
tanmay__ has quit [Ping timeout: 264 seconds]
seanewest has joined #ruby
Kricir has joined #ruby
fgo has joined #ruby
<balazs>
hi, can someone please show my an example with "combination" that uses a block of code ?
kaspergrubbe has quit [Remote host closed the connection]
<balazs>
I see, so the variable is one combination
sambao21 has quit [Ping timeout: 245 seconds]
obs has quit [Remote host closed the connection]
<vosloco>
that looks to be a good example.
kaspergrubbe has joined #ruby
blackmesa has joined #ruby
<vosloco>
I just ran it with irb like this [ 'a', 'b', 'c', 'd' ].combination(2) { |n| pp n }
deric_skibotn has joined #ruby
LadyRainicorn has quit [Ping timeout: 252 seconds]
<ramow>
hoelzro: generate random string with utf8 chars
<balazs>
gotcha, thanks.
sigurding has joined #ruby
workmad3 has joined #ruby
<hoelzro>
ramow: well, what kind of characters? letters, numbers, printable?
lethe has quit [Ping timeout: 265 seconds]
Lucky__ has joined #ruby
<ramow>
hoelzro: no matter
doev has quit [Ping timeout: 252 seconds]
<hoelzro>
why not just generate random bytes, then?
<hoelzro>
why Unicode characters?
tanmay__ has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
tanmay_ has quit [Ping timeout: 264 seconds]
lethjakman has joined #ruby
kaspergrubbe has quit [Ping timeout: 265 seconds]
alem0lars has joined #ruby
bluenemo has quit [Remote host closed the connection]
moritzschaefer has quit [Ping timeout: 276 seconds]
Rollabunna has quit [Remote host closed the connection]
xcv has joined #ruby
<ramow>
hoelzro: i need to generate random utf8 strings for a parser's spec
alem0lars has quit [Read error: No route to host]
alem0lars has joined #ruby
anaeem1 has joined #ruby
finster has left #ruby [#ruby]
wallerdev has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
<hoelzro>
so you need sample data? or you are generating the strings each time the test runs?
toastynerd has joined #ruby
timgauthier has joined #ruby
<ramow>
hoelzro: I generate the strings each time the test runs
anaeem1 has quit [Remote host closed the connection]
aneong has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
<hoelzro>
so these strings, are they just sample data for your parser?
maletor has joined #ruby
anaeem1_ has joined #ruby
<hoelzro>
because depending on your parser, you'll almost definitely generate a failing input every time
<hoelzro>
there are a lot of Unicode characters
<ramow>
yep
<ramow>
there are also sample datas but they need to be random
andrewjanssen has joined #ruby
subbyyy has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
mg^ has joined #ruby
bean has quit [Quit: bean]
davedev24_ has quit []
<hoelzro>
well, you could just generate random numbers between 0 and the maximum Unicode codepoint
ringarin has quit [Quit: Leaving]
<hoelzro>
and then check if it's valid, then convert that to a character
<hoelzro>
and build strings out of that
<hoelzro>
still sounds odd to me, though
b1205 has joined #ruby
aneong has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
nhhagen has joined #ruby
nhhagen has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 252 seconds]
Megtastique has joined #ruby
duggiefresh has quit [Remote host closed the connection]
rghose1 has quit [Ping timeout: 252 seconds]
LadyRainicorn has joined #ruby
kaspergrubbe has joined #ruby
jxf has joined #ruby
JPascal has joined #ruby
alvaro_o has joined #ruby
moritzschaefer has joined #ruby
ta has quit [Remote host closed the connection]
ryanleesipes has joined #ruby
dwts has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
maximski has quit []
lyanchih has quit [Ping timeout: 240 seconds]
tacos1de has quit [Remote host closed the connection]
Ankhers has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
tacos1de has joined #ruby
Ankhers has joined #ruby
grizzles has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
blackmesa has joined #ruby
fgo has joined #ruby
pasties has joined #ruby
endash has joined #ruby
Notte has quit [Remote host closed the connection]
postmodern has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
sigurding has quit [Quit: sigurding]
einarj has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 252 seconds]
anaeem1_ has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
SBoolean_ has quit [Ping timeout: 260 seconds]
hermanmunster has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
Notte has joined #ruby
redondos has quit [Excess Flood]
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
jhulten has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
armyriad has quit [Read error: Connection reset by peer]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
timonv has joined #ruby
s3ri0us has joined #ruby
carraroj has joined #ruby
hermanmunster has quit [Ping timeout: 240 seconds]
meatherly has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
ta has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Notte has quit [Ping timeout: 276 seconds]
<vosloco>
Anyone know much about how ruby uses openssl?
stantona has joined #ruby
armyriad has joined #ruby
brandonjmckay has joined #ruby
lolmaus has joined #ruby
<vosloco>
I am having a problem with the restclient gem now that I upgraded to openssl 1.0.1.
j_mcnally has quit [Remote host closed the connection]
kirun has joined #ruby
akonny has joined #ruby
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramow has quit [Quit: Page closed]
s3ri0us has quit [Read error: Connection reset by peer]
vpretzel|optomca has quit [Read error: Connection reset by peer]
meatherl_ has joined #ruby
anaeem1_ has joined #ruby
stantona has quit [Ping timeout: 252 seconds]
ponga has quit [Read error: Connection reset by peer]
<segfalt>
vosloco: What do you mean how? It's linked against your system openssl lib.
ponga has joined #ruby
<vosloco>
I get a "tlsv1 alert protocol version" error when trying to make get requests over https.
rayners has quit [Ping timeout: 276 seconds]
<vosloco>
segfalt: here is the full error. OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version
<rurban_>
Because tlsv1 is too old?
goleldar has joined #ruby
<vosloco>
so why is it trying to use it?
toretore has quit [Read error: Connection reset by peer]
<rurban_>
You are using SSLv3 and the other party is TLSv1 which is too insecure to be used
maximski has joined #ruby
vpretzel|optomca has joined #ruby
<vosloco>
would that show up in the ssl cert info?
shredding has quit [Quit: shredding]
lw has quit [Quit: s]
bean has joined #ruby
klaut has quit [Remote host closed the connection]
<rurban_>
The issue is actually with certain SSLv3 servers that don't understand the TLSv1.1 handshake and are closing the connection. This unfortunately can't be fixed on the client without disabling TLSv1.1, or forcing an SSLv3 connection.
<balazs>
Having a brainfart; what's an elegant way of creating an array with 1 .. 10000 in it ?
<workmad3>
balazs: (1..10000).to_a
duggiefresh has joined #ruby
<balazs>
thanks
GriffinHeart has joined #ruby
<jhass>
depending on your usecase you might be able to avoid the .to_a and thus the allocation even
<workmad3>
balazs: although you might be able to deal with just the range 1..10000, depending on what you need it for ;)
<workmad3>
Qheh
<rurban_>
I was wrong, the SSLv3 is too old for TLS v1.1
robertodecurnex has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
anon_911 has joined #ruby
nszceta has quit []
SilverKey has joined #ruby
<balazs>
workmad3: thanks !
<vosloco>
So it is the other way around. the server I am connecting to is using sslv3 and I am using TLS v1.1
djbkd has joined #ruby
ffranz has joined #ruby
reset has joined #ruby
bthesorceror has quit []
<vosloco>
rurban? is that what you are saying?
Spami has joined #ruby
djbkd has quit [Remote host closed the connection]
rippa has joined #ruby
wallerdev has joined #ruby
djbkd has joined #ruby
JPascal has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
AlSquire has quit [Ping timeout: 252 seconds]
seanewest has quit [Quit: seanewest]
timonv has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
terrell_t has joined #ruby
terrell_t has quit [Read error: Connection reset by peer]
terrell_t has quit [Remote host closed the connection]
dseitz has joined #ruby
terrellt has quit [Ping timeout: 252 seconds]
relix has joined #ruby
terrell_t has joined #ruby
ixti has quit [Ping timeout: 276 seconds]
Azure has quit [Quit: Blue Sky Fish]
tylersmith has joined #ruby
stantona has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
workmad3 is now known as wm3|away
vpretzel_ has joined #ruby
danijoo has joined #ruby
terrell_t has quit [Read error: Connection reset by peer]
St_Marx has joined #ruby
terrellt has joined #ruby
tectonic has joined #ruby
terrellt has quit [Remote host closed the connection]
toretore has joined #ruby
Takle_ has joined #ruby
vpretzel|optomca has quit [Ping timeout: 264 seconds]
alem0lars has quit [Quit: alem0lars]
wm3|away has quit [Ping timeout: 240 seconds]
kilk__ has quit [Quit: Leaving]
chrisseaton has joined #ruby
duggiefresh has quit []
duggiefresh has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
timfoo has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
Takle has quit [Ping timeout: 265 seconds]
paulfm has joined #ruby
vpretzel_ is now known as vpretzel|opto
silkfox has quit [Ping timeout: 264 seconds]
Morkel has quit [Ping timeout: 252 seconds]
Hobogrammer_ has joined #ruby
danshultz has quit [Remote host closed the connection]
datafirm has joined #ruby
norm has joined #ruby
<norm>
is there any reason i can't override / monkeypatch Timeout.timeout?
danshultz has joined #ruby
Morkel has joined #ruby
datafirm has quit [Remote host closed the connection]
danshultz has quit [Read error: Connection reset by peer]
SBoolean has joined #ruby
atmosx has joined #ruby
datafirm has joined #ruby
b1205 has quit [Quit: leaving]
<norm>
nevermind, got it
mikecmpbll has joined #ruby
<jhass>
Note that Timeout.timeout is inherently thread unsafe
<norm>
yeah
happytux has joined #ruby
<happytux>
hi
<happytux>
hi
danshultz has joined #ruby
carlyle has joined #ruby
shevy has joined #ruby
rezzack has quit [Quit: Leaving.]
havenwood has joined #ruby
top4o has quit [Ping timeout: 240 seconds]
predator117 has quit [Ping timeout: 245 seconds]
blueOxigen has joined #ruby
Wolland has joined #ruby
silkfox has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
predator117 has joined #ruby
elaptics is now known as elaptics`away
mrsolo has joined #ruby
Megtastique has quit []
tectonic has quit []
ponga has quit []
davedev24_ has joined #ruby
nanoyak has joined #ruby
mrsolo has left #ruby [#ruby]
timonv has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<shwouchk>
Hello
Takle has joined #ruby
sinkensabe has joined #ruby
setra has joined #ruby
<jhass>
hi
Takle_ has quit [Ping timeout: 252 seconds]
TMM has joined #ruby
Spaceghostc2c is now known as pipework
Ankhers has quit [Remote host closed the connection]
ta has quit [Ping timeout: 245 seconds]
<TMM>
hi! does anyone know of any decent Ruby courses in English in The Netherlands (preferably around Amsterdam)?
vifino has joined #ruby
akonny has quit [Quit: akonny]
brunops_ has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
brunops has quit [Ping timeout: 252 seconds]
seanewest has joined #ruby
elaptics`away is now known as elaptics
carraroj has quit [Ping timeout: 252 seconds]
<dRbiG>
is CSV working for anybody within pry session?
pasties has quit [Ping timeout: 245 seconds]
<jhass>
pretty sure it is
<dRbiG>
i'm getting '(pry) output error: #<NoMethodError: undefined method `table' for #<Object:0x00000001044600>>' while trying CSV.table
<dRbiG>
which works just fine within irb :S
<shwouchk>
In a certain project directory (octopress) , runnint 'rake' gives an error about libyaml and missing psych. part of the error message is as follows: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib -- now, it seems weird that ruby-2.1.1 would have ruby-2.1.0 subdirs - is this normal or did something bad happen with my installation? in
<shwouchk>
addition, why is it looking for libyaml-0.2? I don't have that version (only 0.16) in either of macports or homebrew?
tylersmith has quit []
banjara has joined #ruby
<jhass>
shwouchk: the 2.1.0 in the paths is the ABI version, not the Ruby version
dwts has joined #ruby
meatherl_ has quit [Remote host closed the connection]
<shwouchk>
jhass: ABI?
carlyle has quit [Quit: Leaving...]
nanoyak has quit [Quit: Computer has gone to sleep.]
<jhass>
application binary interface, basically the C API version
fgo has quit [Ping timeout: 264 seconds]
<shwouchk>
aha
<shwouchk>
jhass: ah, ruby changes the C core only in major-minor versions?
nszceta has joined #ruby
Wolland has quit []
<Hanmac1>
shwouchk: ruby stdlib has yaml stuff but it needs libyaml for that ... there is a reason why a recent paket-management is better than osx-shit
<jhass>
shwouchk: I guess only as needed but not in patch releases
ta has joined #ruby
<dRbiG>
jhass: maybe I have some plugin that breaks something somewhere then :S
Megtastique has joined #ruby
<jhass>
yep, would be my guess too
<Hanmac>
dRbiG: ruby version?
<jhass>
dRbiG: anything for `$ CSV` ?
sk87 has joined #ruby
doev has joined #ruby
<eam>
shwouchk: the libyaml version is the SONAME, not the version
<dRbiG>
it's one of the plugins; i've disabled all and now CSV works fine
<Hanmac>
banister: see? pry is breaking csv ;P
<shwouchk>
Hanmac1: well, I'm using the OS I'm using, no point in calling it crap (perhaps it is, but so is windows, together taking >90% of the desktop OS marketshare), since it doesn't get us anywhere
<shwouchk>
jhass: I see
mijicd has quit [Remote host closed the connection]
ari-_-e has quit [Quit: Leaving]
yfeldblum has joined #ruby
sk87 has quit [Client Quit]
<shwouchk>
eam: oh.
terrellt has joined #ruby
Lucky__ has quit [Read error: Connection reset by peer]
<dRbiG>
ok, seems it's a problem with awesome_print
ponga has joined #ruby
<eam>
shwouchk: I imagine brew info libyaml will show you 0.1.6? But it'll be SONAME=libyaml-0.2
yfeldblu_ has joined #ruby
dangerou_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
TMM has left #ruby ["Ex-Chat"]
<shwouchk>
eam: how to check the soname, other than finding the .so files?
<shwouchk>
eam: regardless, I have libyaml installed by ports, although I can't find it where rake claims it should be..
anon_911 has quit [Ping timeout: 240 seconds]
<eam>
shwouchk: I'm a little rough on OSX's dynamic linker, but ultimately there's a linker path where an object asks for an object by name "libyaml-0.2" and it's not finding it
rdark has quit [Quit: leaving]
<eam>
in linux that'd be readelf -d to look at the dynamic bits
x1337807x has joined #ruby
<eam>
probably otool for osx? But I'm not clear on the details
dangerousdave has quit [Ping timeout: 240 seconds]
McFreely has joined #ruby
<eam>
not sure what ldconfig -v
qwyeth has quit [Remote host closed the connection]
<eam>
is on osx, but that may help if you can find it
<shevy>
shwouchk don't worry, Hanmac uses ubuntu, which is even worse than osx
<Hanmac>
shwouchk: i mean an recent package system (i dont know if brew is good enough i used mac-ports) would install all depencies if you like install ruby, it would install yaml in the correct version for you too
carlyle has joined #ruby
ta has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Remote host closed the connection]
<shwouchk>
ok, thanks everyone
blueOxigen has quit [Ping timeout: 252 seconds]
<shwouchk>
turns out I accidentally uninstalled a brew installed libyaml when I thought that nothing depended on it. Then when the error came, I installed the ports version which put it in another place
marr has quit [Ping timeout: 276 seconds]
timonv has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
r0ast has quit [Client Quit]
<shwouchk>
I don't know why ruby didn't just recognize the other version (since the package version and soname are the same), but reinstalling the brew version instead of the ports one fixed the problem
<eam>
shwouchk: I just did some looking, I think OSX may not have search paths at all
<eam>
check out dyld(1) "DYNAMIC LIBRARY LOADING"
ta has joined #ruby
<eam>
apparently every library reference is to a fully qualified path
atmosx has quit [Quit: Lost in trance]
yfeldblu_ has joined #ruby
ikaros has quit [Quit: Ex-Chat]
shevy has quit [Quit: ""]
sambao21 has quit [Quit: Computer has gone to sleep.]
mehlah has joined #ruby
havenwood has quit [Remote host closed the connection]
Ankhers has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
sambao21 has joined #ruby
havenwood has joined #ruby
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
djbkd has quit [Remote host closed the connection]
<shwouchk>
eam: oh, I see...
akonny has quit [Quit: akonny]
ta has quit [Remote host closed the connection]
djbkd has joined #ruby
<shwouchk>
eam: so probably if I installed ruby from homebrew, it has to work with whatever libs from homebrew, and if I built it by hand, it has to work with the same paths forever... Thats why the rake message told me to rebuild it! thanks!
seanewest has quit [Quit: seanewest]
benlieb has joined #ruby
saarinen has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
lkba has joined #ruby
happytux has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
paulfm_ has joined #ruby
dangerousdave has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
nszceta has quit [Read error: Connection reset by peer]
dfinly has joined #ruby
nszceta has joined #ruby
noop has joined #ruby
paulfm has quit [Ping timeout: 276 seconds]
nanoyak has joined #ruby
Arkaniad has joined #ruby
McFreely has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
robbyoconnor has quit [Ping timeout: 260 seconds]
nanoyak has quit [Client Quit]
McFreely has joined #ruby
pietr0 has joined #ruby
nanoyak has joined #ruby
shevy has quit [Client Quit]
pwh has joined #ruby
subbyyy has quit [Ping timeout: 252 seconds]
sheperson has joined #ruby
brunops_ is now known as brunops
wm3|away has joined #ruby
brunops has quit [Changing host]
brunops has joined #ruby
wm3|away has quit [Client Quit]
testcore has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
testcore has quit [Quit: [BX] BitchX is as BitchX does]
andrewjanssen has quit [Ping timeout: 255 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
silkfox has quit [Ping timeout: 240 seconds]
frem_ has joined #ruby
shevy has joined #ruby
<shermablanca>
anyone have experience with sunspot solr
tjr9898_ has quit [Ping timeout: 252 seconds]
maximski has quit [Ping timeout: 252 seconds]
tectonic has joined #ruby
andrewjanssen has joined #ruby
maximski has joined #ruby
jonno11 has joined #ruby
nanoyak has joined #ruby
skane has joined #ruby
Emmanuel_Chanel has joined #ruby
nanoyak has quit [Client Quit]
jackneill has joined #ruby
theman11 has joined #ruby
hermanmunster has joined #ruby
theman11 has left #ruby [#ruby]
sambao21 has quit [Quit: Computer has gone to sleep.]
shevy has quit [Remote host closed the connection]
chrisseaton has quit []
nanoyak has joined #ruby
Squarepy has quit [Quit: Leaving]
Gil has joined #ruby
Gil has quit [Remote host closed the connection]
Gil has joined #ruby
nanoyak has quit [Client Quit]
sambao21 has joined #ruby
treehug88 has quit [Ping timeout: 252 seconds]
treehug8_ has joined #ruby
hermanmunster has quit [Ping timeout: 252 seconds]
brain_shim has joined #ruby
hashbangchris has joined #ruby
saarinen has quit [Quit: saarinen]
moritzschaefer has quit [Ping timeout: 252 seconds]
chrisseaton has joined #ruby
fgo has joined #ruby
heftig has joined #ruby
nanoyak has joined #ruby
vpretzel|opto is now known as vpretzel
fgo has quit [Ping timeout: 255 seconds]
nanoyak has quit [Client Quit]
aneong has left #ruby [#ruby]
jheg_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
dangerousdave has quit [Read error: Connection reset by peer]
ExceptionlCatch has joined #ruby
dangerou_ has joined #ruby
chrisseaton has quit []
dangerou_ has quit [Max SendQ exceeded]
dangerousdave has joined #ruby
x1337807x has joined #ruby
ta has joined #ruby
<ExceptionlCatch>
i'm using ruby's net/imap and its working great, i am just really confused over the idle() method
Rahul_Roy has joined #ruby
<ExceptionlCatch>
i can't seem to call any imap methods from within it
endash has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
endash has joined #ruby
chrisseaton has joined #ruby
GriffinHeart has joined #ruby
wallerdev has joined #ruby
<Morrolan>
Idle will probably block until the server receives a new message.
claymore has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
nszceta has quit []
yfeldblu_ has quit [Remote host closed the connection]
saarinen has joined #ruby
<ExceptionlCatch>
Morrolan: yep i don't mind the blocking, it waits, until a new email arrives and then responds with the messageID, but when i imap.fetch(messageID) then it reports a deadlock
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GriffinHeart has quit [Ping timeout: 240 seconds]
<Morrolan>
Oh, I see.
sinkensabe has joined #ruby
Notte has joined #ruby
nanoyak has joined #ruby
saarinen has quit [Client Quit]
tjr9898_ has joined #ruby
klaut has joined #ruby
<ExceptionlCatch>
and i haven't created any threads in my script, but i'm starting to think that i should pass the messageIDs out of idle
<ExceptionlCatch>
to elsewhere and then process them
nanoyak has quit [Client Quit]
IceDragon has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
LACP has quit [Ping timeout: 240 seconds]
jeregrine_ has joined #ruby
rampert has quit [Remote host closed the connection]
vali has quit [Ping timeout: 240 seconds]
jonno11 has quit [Read error: Connection reset by peer]
dangerousdave has quit [Ping timeout: 240 seconds]
sivoais has quit [Ping timeout: 240 seconds]
stnly has quit [Ping timeout: 252 seconds]
sivoais has joined #ruby
LACP has joined #ruby
jonno11 has joined #ruby
stnly has joined #ruby
sheperson_ has joined #ruby
renderful has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
mary5030 has joined #ruby
Hawk555 has joined #ruby
shermablanca has quit [Remote host closed the connection]
freeone3000 has joined #ruby
danshultz has joined #ruby
ylluminate has joined #ruby
mercerist has quit [Quit: Computer has gone to sleep.]
subbyyy has joined #ruby
tectonic has quit []
neoice has joined #ruby
aspires has quit []
<Hawk555>
is there a channel for the twitter gem?
dfinly has quit [Quit: Farewell]
SilverKey has joined #ruby
<centrx>
system('command', *args)
SJr has joined #ruby
rezzack has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
klaut has quit [Ping timeout: 276 seconds]
<happytux_>
jhass: oh nice
ylluminate has quit [Client Quit]
<happytux_>
thanks
<happytux_>
OK, another issue now
<happytux_>
The CI::Reporter::RSpec formatter uses the deprecated formatter interface not supported directly by RSpec 3. To continue to use this formatter you must install the `rspec-legacy_formatters` gem, which provides support for legacy formatters or upgrade the formatter to a compatible version. Formatter added at: [...]/vendor/bundle/ruby/1.9.1/gems/rspec-core-3.0.0/exe/rspec:4:in `<main>'
<happytux_>
Suddenly I get this nice scary message. All major/minor versions are locked, just the patch version is not locked. I guess they changed something in RSpec between two patch versions which significantly changes behaviour. This shouldn't happen...
Demerzel has joined #ruby
noop has quit [Ping timeout: 252 seconds]
gattuso has quit [Ping timeout: 260 seconds]
<Demerzel>
howdy folks!
<^conner>
I've got an odd rspec issue... I can run bundle exec rspec and it works fine with a single spec, if I add a second spec file, I can run either one directly with bunlde exec rspec <./spec/<filename> but if I run just bundle exec rspec, I get an odd error
<happytux_>
So I added that legacy gem and it is installed, but I still get this damn message and the task fails.
<^conner>
which looks to me like it's striping the leading '.' off one of the spec files cannot load such file -- /spec/hyperctl_sysfs_spec.rb (LoadError)
Notte has quit [Remote host closed the connection]
subbyyy has quit [Ping timeout: 240 seconds]
LnL has joined #ruby
<jhass>
Demerzel: well, what error message do you get?
<^conner>
happytux_, I thought it might have something to do with rspec-core 3, so I downgraded to 2.99 and it still does it... I'm scratching my head
<Demerzel>
@jhass sorry just realized i'd left that out of the gist - added the results of using the class
klaut has quit [Ping timeout: 276 seconds]
mark_locklear has joined #ruby
<jhass>
Demerzel: .dup, by default does a shallow copy
<Demerzel>
@jhass basically if I add two Money objects to give a third, I get the right result in the third but the first Money object gets unexpectedly changed
<Demerzel>
@jhass I've tried it with clone but same result
<Demerzel>
also this is ruby 2.1.2
<jhass>
.clone by default too gives a shallow copy
Squarepy has joined #ruby
<Demerzel>
ah
<Demerzel>
ok
Takle_ has quit [Ping timeout: 264 seconds]
<Demerzel>
that explains it
<jhass>
you can for example implement the initialize_copy method
<DEA7TH>
But apparently, it's part of Rails, rather than just core Ruby
<DEA7TH>
so I require'd a bunch of Rails stuff, including ActiveRecord, but it still doesn't work
JPascal has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shidash has joined #ruby
<DEA7TH>
how do I use it in a standalone .rb script, which isn't otherwise associated with Rails or web applications?
pwh has quit []
shermablanca has joined #ruby
<happytux_>
^conner: you could enforce a task dependency so that the task comes before the fakefs view. Isn't there a more elegant way for the fakefs? Some kind of reference which can be passed to a system invocation instead setting this globally?
sheperson has quit [Ping timeout: 252 seconds]
<freeone3000>
DEA7TH: It looks like it's an Array mixin, you could just add it in.
<Demerzel>
DEA7TH: re-open Array in your script and stick the source of this method there
<jhass>
DEA7TH: it's part of ActiveSupport, active_support/core_ext/array/grouping.rb
locriani has quit [Quit: Leaving...]
toastynerd has joined #ruby
<^conner>
happytux_, that sort of defeats the purpose of mocking the entire filesystem...
<^conner>
happytux_, I'm testing code that messes with sysfs
<jhass>
DEA7TH: do you need the fill with feature though?
bean has joined #ruby
<DEA7TH>
fill with?
<^conner>
happytux_, and I'm trying to use shared_context to setup various different sysfs trees that reflect different (real) hardware states
<jhass>
DEA7TH: look at the docs you linked
freeone3000 has left #ruby ["Konversation terminated!"]
<DEA7TH>
Demerzel: Is there a more elegant way? can I just import it
fgo has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DEA7TH>
jhass: I don't think so. I just need to implement mergesort, so I need to split an array into two equal parts and minimize boilerplate in the process of doing that.
SBoolean has quit [Ping timeout: 260 seconds]
mercerist has joined #ruby
benzrf|offline is now known as benzrf
pwh has joined #ruby
<DEA7TH>
so basically I need: [1,2,3,4,5] -> [[1,2], [3,4,5]]
Hanmac1 has joined #ruby
<jhass>
well, I'd just def split(array); mid = array.size/2; [array[0...mid], array[mid..-1]]; end; and a, b = split array
wallerdev has quit [Quit: wallerdev]
nanoyak has joined #ruby
<DEA7TH>
yeah I know, but I'd like to use the in_groups method if possible
bitsandbooks has joined #ruby
Hanmac has quit [Ping timeout: 260 seconds]
<jhass>
(21:33:50) jhass: DEA7TH: it's part of ActiveSupport, active_support/core_ext/array/grouping.rb then
timonv has joined #ruby
<DEA7TH>
also I did require 'active_support' and it still didn't work
fgo has quit [Ping timeout: 240 seconds]
LnL has joined #ruby
nanoyak has quit [Max SendQ exceeded]
<DEA7TH>
Ah
LnL has left #ruby [#ruby]
<DEA7TH>
I required the full path and now it works! :)
LnL has joined #ruby
<jhass>
note that that method fills with nils by default
<DEA7TH>
yeah, if it doesn't work I'll reimplement it. I mainly wanted to learn how to cope with that category of problem/.
sinkensabe has quit [Remote host closed the connection]
<^conner>
happytux_, it looks like it's a method scoping issue with the shared_contexts being in another file... unless I load fakefs unviersally I seem to be seeing the un-monkeypatch core methods
alem0lars has joined #ruby
setra has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
<^conner>
happytux_, anyways... this is definitely my own doing... not the rspec-core 3.0.0 upgrade
dingus_khan has joined #ruby
lethe has joined #ruby
jhulten_ has joined #ruby
jhulten has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
claymore has quit [Ping timeout: 265 seconds]
danshultz has quit [Remote host closed the connection]
Azure has joined #ruby
danshultz has joined #ruby
claymore has joined #ruby
elaptics is now known as elaptics`away
pixie79 has joined #ruby
yfeldblum has joined #ruby
lethe has quit [Ping timeout: 255 seconds]
tectonic has quit []
eka has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 276 seconds]
shinobi_one has joined #ruby
eka has joined #ruby
<pixie79>
Hi all, I have the following array, ["name", "rm", "ip", "127.0.0.1", "port", "6379", "name", "rz", "ip", "127.0.0.1", "port", "6379"]. What is the best way to change this into an array of hashes, i.e 0=>name='rm', 0=>ip='127.0.0.1', 1=>name='rz'
djbkd has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 252 seconds]
rostam has quit [Remote host closed the connection]
FL1SK has quit [Ping timeout: 276 seconds]
rostam has joined #ruby
Hanmac has joined #ruby
pablo_ has joined #ruby
<eam>
a frequently asked question!
flExxiz has joined #ruby
<pixie79>
I am not sure how to a convert ["name", "rm"] to be a key pair i.e key=name value=rm but also split at name to make each new hash
<pixie79>
i guessed so
<flExxiz>
Dutch people here ?
timonv has quit [Remote host closed the connection]
<pixie79>
i did a google search but could not frame the question right to find the answer i was after
decoponio has quit [Quit: Leaving...]
Hanmac1 has quit [Ping timeout: 245 seconds]
ctp has quit [Ping timeout: 240 seconds]
baroquebobcat has joined #ruby
benlieb has quit [Ping timeout: 255 seconds]
pabloh has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
banjara has joined #ruby
|RicharD| has joined #ruby
<|RicharD|>
hi I have a number like this: => 1.754524762469491e-05
<|RicharD|>
How I can show with the corrects 0 before ?
toastynerd has joined #ruby
carraroj has joined #ruby
akemrir has quit [Quit: WeeChat 0.4.3]
aneong has joined #ruby
Takle has joined #ruby
jonno11 has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
yorik19841 has joined #ruby
banjara has quit [Ping timeout: 240 seconds]
VinDoKi has joined #ruby
bitsandbooks has quit [Quit: My laptop has gone to sleep. Zzzzzz…]
yorik19841 has left #ruby [#ruby]
bitsandbooks has joined #ruby
lemur has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bitsandbooks has quit [Max SendQ exceeded]
cpruitt has joined #ruby
paulfm has quit []
bitsandbooks has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<Demerzel>
i've noticed if i yield(var1, var2) i have to consume them in my block in the reverse order - i want to make sure this is expected behavior and not a side-effect
<Demerzel>
the gist shows this in money.rb#23 for the yield statement and test-money.rb#9 for the usage
<wallerdev>
they should come in order
dhaivat has quit [Quit: dhaivat]
<jhass>
>> def foo; yield :a, :b; end; foo {|a, b| p a, b }
phinfonet has quit [Read error: Connection reset by peer]
<shiggity_>
thats helpful
<shiggity_>
i guess i should use map in places where i was doing each_with_index
<shiggity_>
and then adjusting the array by that index
<shiggity_>
more efficient to map?
bmurt has quit []
TDJACR has joined #ruby
<centrx>
shiggity_, More efficient, but more importantly it's easier to write and easier to read
toertore has joined #ruby
<shiggity_>
right
<shiggity_>
here’s another random question
<shiggity_>
if I have to sort and uniq a collection
<shiggity_>
does order matter?
<shiggity_>
efficiency wise?
<shiggity_>
i guess it depends on how substantial the amount of duplication is eh?
carlyle has quit [Remote host closed the connection]
vpretzel has quit [Quit: Adios!]
mercerist has quit [Client Quit]
<Mon_Ouie>
Efficiency-wise you can implement a sorting algorithm that gets rid of duplicates all at once quite easily (probably not going to be more efficient than Array#sort though)
<Demerzel>
shiggity_: i would think sort first and uniq second since uniq typically requires a sort
<Mon_Ouie>
uniq doesn't require a sort, it creates a Hash table
<Demerzel>
shiggity_: of course that depends on if the built-in sort marks the array as sorted in a way that the built-in uniq can check
mercerist has joined #ruby
<Mon_Ouie>
uniq is O(n), sort is O(n*log(n))
<shiggity_>
i see…
phinfonet has joined #ruby
<Demerzel>
Mon_Ouie: huh that makes sense
armyriad has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
<shiggity_>
would default Array#sort do this default ‘marking as sorted’?
<shiggity_>
Demerzel
sambao21 has quit [Quit: Computer has gone to sleep.]
moritzschaefer has quit [Ping timeout: 265 seconds]
<Mon_Ouie>
Ruby arrays don't have such an annotation
<Demerzel>
shiggity_: Mon_Ouie's answer seems to indicate the uniq doesn't require a sort so you'd like be better off doing a uniq
toretore has quit [Ping timeout: 276 seconds]
<Demerzel>
s/like/likely/
<Mon_Ouie>
Well, *he* wants the final array to be sorted
<Demerzel>
uniq first, sort later
<Demerzel>
right
g0bl1n has quit [Ping timeout: 252 seconds]
<luckyruby>
I'm trying to read the first 4 characters in a file using open('file.txt') {|io| io.gets}[0,4]. The first line in the file is "AUSD06022014212056PCR". The code returns "AUS". I'm expecting "AUSD". I suspect it has something to do with the file. Does there exist some weird character that is invisible to a text editor but is considered a character in ruby?
<Mon_Ouie>
So I'd guess uniq.sort but the best way to know still is to just try it
ctp has joined #ruby
<shiggity_>
Yeah
<shiggity_>
Thanks guys
<luckyruby>
:set invlist in vim doesn't show anything unusual on that part of the file.
sambao21 has joined #ruby
<Mon_Ouie>
io.read(4)
aspires has joined #ruby
FL1SK has joined #ruby
banjara has joined #ruby
<luckyruby>
Mon_Ouie: "\xEF\xBB\xBFA" is what it returns
toastynerd has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
paulfm has quit []
<matled>
% printf "\xEF\xBB\xBFA" | file - => /dev/stdin: UTF-8 Unicode (with BOM) text, with no line terminators
jpierre03 has quit [Read error: Connection reset by peer]
linguini has joined #ruby
<matled>
luckyruby: you probably want to remove the BOM (byte order mark)
sheperson has quit [Quit: sheperson]
<benlieb>
I have an old rails app on 1.8.7 and would like to upgrade soon
<luckyruby>
matled: how do I do taht?
<benlieb>
should I go all the way up to 2?
<luckyruby>
benlieb: yea
<benlieb>
luckyruby: are there known incompatibilities with 1.8.7? Or should it be smooth?
lethjakman has joined #ruby
<Demerzel>
benlieb: i'd recommend moving up to 1.9 and then 2
<matled>
luckyruby: mh, File.read / File.open appears to do that for me already
<shiggity_>
1.9.3 is sturdy as hell
braincrash has joined #ruby
<matled>
luckyruby: what does File.open(...).gets.inspect give you?
<luckyruby>
benlieb: if you use FasterCSV, you'll need to change that to CSV
<matled>
luckyruby: not sure if there is a good way to do this. you can open the file with 'r:bom|utf-8' according to stackoverflow, but it probably expects a bom at that point. you can also just strip the bom if present (e.g. #sub(/\A\xEF\xBB\xBF/, ""))
<ari-_-e>
happytux_: you need to either pass the whole thing as a single string, in which case the shell will be invoked and will tokenize for you, or you need to pass the arguments as separate parameters to system
<Mon_Ouie>
That's going to look for a command called 'php /usr/local/bin/composer', but that command does not exist
<happytux_>
ari-_-e: I would like to pass them separately - how?
<Mon_Ouie>
It's also only going to pass one argument to it, which will be "arg1 arg2 arg3" (which is different from 3 separate arguments)
<ari-_-e>
maybe tokenize is the wrong word - it separates the arguments
<iLeoable>
When I ran it, it said (in /home/gitnovel/www) Sphinx cannot be found on your system. You may need to configure the following settings in your config/sphinx.yml file: * bin_path * searchd_binary_name * indexer_binary_name For more information, read the documentation: http://pat.github.com/ts/en/advanced_config.html rake aborted! ./db/migrate//20130808143416_add_type_and_data_to_web_hooks.rb:6: odd number list for Hash da
<ari-_-e>
happytux_: when you call system like that, it passes those arguments to the program directly
zorak has joined #ruby
<ari-_-e>
if the program were written in ruby, you would access them with ARGV
<iLeoable>
Hello?
cpruitt has quit [Quit: cpruitt]
charliesome has joined #ruby
<iLeoable>
Rake gave me this ./db/migrate//20130808143416_add_type_and_data_to_web_hooks.rb:6: odd number list for Hash data_template = {url: "<URL>"}.to_yaml
yfeldblum has quit [Ping timeout: 240 seconds]
<happytux_>
ari-_-e: thanks
<shiggity_>
Sphinx is a fulltext binary search library isn’t it?
<wallerdev>
yes
<iLeoable>
Yes
jheg has quit [Ping timeout: 252 seconds]
<iLeoable>
It quits the Database migration process....
<havenn>
xybre: So you're okay with tens of thousands of lines of shell and don't want to replace that with Ruby? :O
afast has quit [Remote host closed the connection]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
<xybre>
I don't want to have to install Ruby in order to install Ruby havenn.
<pontiki>
agent_white: you are aware you can put multiple files in a gist?
<agent_white>
pontiki: Eeep! I forgot.
<wu_>
thin --threaded is decent, FWIW
<xybre>
I'm okay with something that gets the job done, and Bash isn't a great language, and I'd rather there was another option, but Bash is readily available on most modern systems.
<havenn>
xybre: Tens of thousands of lines of shell scare me more than bootstrapping Ruby.
<wu_>
ruby is in virtually any distribution's packagemgr
<xybre>
I might prefer Ruby to Bash, but it defeats the purpose.
<havenn>
xybre: or... a simple shell script :)
<xybre>
Cool then I'll use postmodern'ms script.
banjara has joined #ruby
<xybre>
All 4 of them.
<toertore>
xybre: what is it that requires ruby?
<xybre>
toertore: RVM 2
<toertore>
oh
<havenn>
toertore: RVM2 plans to ship with a statically linked precompiled binary to then install any other Rubies (JRuby if binary isn't available for some reason).
<toertore>
yeah they had a steam locomotive and then they strapped some rockets on it to make it better
mjsmith2 has quit [Read error: Connection reset by peer]
<wu_>
it's a complement to compile ruby in ruby, or go in go, but installing ruby with ruby is verboten?
<xybre>
Sorry I'm having a bad day, I'm probably being more compative than usual :/
<frem_>
Ooh. If RVM2 supports jruby, it'll work on Windows.
jpierre03 has joined #ruby
<frem_>
(I realize I'm like the only person who cares about this)
<eam>
havenn: you have to run tens of thousands lf lines of shell to bootstrap ruby, so you can't get around it really :)
armyriad has joined #ruby
<wu_>
what about that 'miniruby' that ruby bootstraps itself with. maybe that's enough?
<havenn>
wu_: mruby
<wu_>
ruby has always compiled on Windows w/ GCC going back to at least 15 years ago, for me.
<eam>
fact of life as long as ruby is built with gnu autotools
<pontiki>
agent_white: what if params.last never matches '\r\n' ?
jhulten_ has quit [Remote host closed the connection]
<xybre>
Problem with shipping a binary (or god forbid JRuby) is that there's a hell of a lot of platforms to support and significantly less than bash supports.
<xybre>
You'd be better off making a repo of all those possible builds and writing a bash script that downloads them. It'd be less effort and less code.
andrewjanssen has joined #ruby
<havenn>
xybre: i think RVM2's goal is beyond RVM1's scope -- setting up an entire environment, not just ruby
<xybre>
Ruby's interpreter boot time is really slow also (Jruby even slower of course) so it will create a discernable delay any time RVM would be used.
banjara has quit [Ping timeout: 255 seconds]
<agent_white>
pontiki: Hmmm... not sure. I'll test that now!
<xybre>
Bash on the other hand has one of the fastest "boot" times of any interpreter I've tested.
<havenn>
xybre: RVM2 would almost always be an MRI binary
rezzack has quit [Quit: Leaving.]
<xybre>
havenn: MRI binary?
<wu_>
matzrubyinterpreter?
toastynerd has joined #ruby
<xybre>
How could RVM2 == MRI?
yfeldblu_ has quit [Remote host closed the connection]
jhulten has joined #ruby
<havenn>
xybre: SM Framework (RVM folk) have been working on statically linked precompiled binaries of MRI. Eventually hopefully shippable by ruby-core.
chipotle has joined #ruby
<wu_>
it's often ash/dash/etc on mingw/boot-CDs/minimal-container-boootstrap-envs etc, not bash
bean has quit [Remote host closed the connection]
chrisseaton has quit [Ping timeout: 260 seconds]
<frem_>
wu_: Ruby *compiles* on Windows, but I've always had to use JRuby to get anything done on Windows. More binary gems seem to have jruby versions than windows-compatible versions.
* havenn
pulls his hair out contemplating dash support
<xybre>
havenn: Just, as opposed to dynamically linked? What does that mean for RVM though?
chrisja_ has joined #ruby
<agent_white>
pontiki: I guess that's something I need to look at, but I'm just getting down the basics for now before moving into dealing with bad http clients :)
<agent_white>
pontiki: Just getting some guidance from #learnprogramming on writing this bugger!
<wu_>
agent_white: any reason you don't want to start with Rack, and an existing threaded server, besides learning expreience?
<havenn>
xybre: RVM is already selectively installing the binaries when you request an available one. The point regarding RVM2 is that you download a single binary (that doesn't need to dynamically link) and it *just works*.
<wu_>
they've churned thru years of minor protocol/API related bugfixes already
<agent_white>
wu_: Nope! Just re-inventing the wheel for learning :)
kilk_ has joined #ruby
<xybre>
havenn: Just works on what? And won't the much larger binary be slower to boot? (maybe faster to execute though..)
<xybre>
what = platform
timonv has joined #ruby
hermanmunster has joined #ruby
<pontiki>
agent_white: my point being that you may have a pseudo-infinite loop there
moritzschaefer has joined #ruby
<xybre>
Is there a companion to chruby that manages gemsets? I don't see anythign about gemsets on the readme.
<agent_white>
pontiki: Yeah I tried it without the "\r\n"'s and it hung forver :)
<agent_white>
pontiki: That's probably the segfault eh? Cause after that I added back in the \r\n's and send a request, and it segfaulted 10 seconds later.
chrisja has quit [Ping timeout: 264 seconds]
<pontiki>
that's kind of what i'm thinking
mijicd has joined #ruby
<agent_white>
Ahhh!
<xybre>
havenn: Thanks. Okay, and then there's an installer too?
agent_white has quit [Remote host closed the connection]
<havenn>
xybre: but you can use ruby-build or compile yourself with chruby too
jhass is now known as jhass|off
agent_white has joined #ruby
feature_creep has joined #ruby
<havenn>
xybre: or RVM even supports installing with chruby as the switcher, see MRVM which ships with RVM (though seldom used I think)
SCommette has quit [Quit: SCommette]
<wu_>
ooh, zsh is supported already
fgo has joined #ruby
<xybre>
I already have ruby-version and ruby-gemset files, right now I can run two commands and have them working, I'm tryign to figure out how many steps I ahve to jump through to get a similar featureset.
<havenn>
xybre: hem, good question
timonv has quit [Ping timeout: 252 seconds]
freezey has joined #ruby
<havenn>
oops, time to fly - later!
havenn has quit []
hermanmunster has quit [Ping timeout: 276 seconds]
<xybre>
I mean worst case scenario, on a fresh system I 1. install RVM 2. tell RVM what Ruby to install 3. tell RVM to switch to the Ruby and gemset specified in a given directory.
<xybre>
And 1 is a single command to copy/paste.
yfeldblum has joined #ruby
dhaivat has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
garndt has quit [Quit: Connection closed for inactivity]
gregf has quit [Quit: WeeChat 0.4.3]
shiggity_ has quit [Quit: shiggity_]
<dont-panic>
someone's trying to get me to learn java over ruby.... should I listen?
<toertore>
do what you want
<RubyPanther>
dont-panic: if you're not sure, then yes, listen
<dont-panic>
One of the projects I want to work on will involve music libraries, haven't really looked into if ruby handles those well
<RubyPanther>
Ruby you have to know to do the right thing, Java tries to make sure you do the right thing. Uncertainly in Ruby almost guarantees you'll write crap.
nanoyak has quit [Quit: Computer has gone to sleep.]
<pontiki>
i've been to several
<dont-panic>
yeah. I've had a few instances while learning where I was completely stumped. One was writing a splat subtraction method on rubymonk.com... Couldn't figure it out for the life of me
<pontiki>
but that's a wat, not a wat?
<RubyPanther>
Hmm, odd that you would use the word that way, then.
nanoyak has joined #ruby
<wu_>
ruby is full of wonkiness like splats. instead of just functions, there's functions, lambdas, procs, methods, blocks
<wu_>
any sane programmer skips right past it to a language with a more sane theoretifcal background - Standard ML, eg
<RubyPanther>
wu_: Wrong. There are no functions, only methods.
<dont-panic>
I like that it has more options, but sometimes that confuses the hell out of me lol
yubrew has quit [Ping timeout: 252 seconds]
carlyle has joined #ruby
<toertore>
any confusion can be corrected with learning
chrisja_ has quit [Quit: leaving]
<dont-panic>
I still have a bunch of crap to do in lua too. too much to do, too little free time
GriffinHeart has joined #ruby
benzrf|offline is now known as benzrf
<banister>
agree that block/lambda/proc distinction is a bit of a clusterfuck tho
<ari-_-e>
there's no such thing as a "block"
<ari-_-e>
"block" is a syntax construct
<ari-_-e>
there is no "block" object
<eam>
well that's a thing
<RubyPanther>
and if you don't know the difference between lambdas procs and blocks, you won't try to make use of the differences, and so you really won't need to know. Just learn what a proc is, and assume the others are the same.
<ari-_-e>
if you objectify a block, you get a Proc
<dont-panic>
{|i| i} <-- block??
<RubyPanther>
ari-_-e: There is no "block object" but there are indeed blocks. When you want a object, you instantiate a Proc
<dont-panic>
->{|i| "#{i} might be a stabby lamda?"}
<toertore>
a block is just syntax sugar for passing a proc
<apeiros>
toertore: nope
<ari-_-e>
RubyPanther: my point is that "block" is not a distinct concept
<pontiki>
"we'll just put a few stabby little lambdas over here"
<apeiros>
but it's similar
sambao21 has quit [Quit: Computer has gone to sleep.]
<ari-_-e>
or is at least not in the same category as proc/lambda
<RubyPanther>
There are real differences between blocks and procs. You just don't need to know about them unless you're doing advanced insanity like optimization. But ignoring the difference isn't the same as believing there to be no difference
geggam has quit [Remote host closed the connection]
<eam>
the syntax for declaring a variable local to a block is confusing -- I know several experienced ruby folks who didn't know how
<apeiros>
eam: ; ?
<eam>
1.times { |x| # but what if I want a local y,z? }
<apeiros>
eam: it actually stopped being necessary the moment it was introduced
g0bl1n has quit [Quit: Ex-Chat]
<wu_>
1.8->1.9 made block local variables work properly
<pontiki>
someone is going to say "there are no variable declarations in ruby" soon
Zenigor_ has quit [Remote host closed the connection]
<crome>
eam: |;x|
<eam>
apeiros: it's still necessary so one doesn't stomp on outer scope
<eam>
crome: right
<apeiros>
wu_: if you don't specify it explicitly, then only arguments, I guess that's what eam's after
carlyle has quit [Ping timeout: 255 seconds]
comma8 has joined #ruby
<RubyPanther>
eam: That is because it is poor design in an OO system to try to shoehorn encapsulation without an object. They "don't know how" because they probably write higher quality code than that...
<wu_>
at least Ruby is fixable. unlike JS's broken scoping ;)
<apeiros>
eam: yeah, but tbh, most common occurrence was arguments passed in. I don't think I've ever needed ;
<eam>
wu_: agree
<toertore>
eam: it's called a closure ;)
<crome>
why is js scoping broken?
<wu_>
crockford says it is, mainly
<RubyPanther>
You can dislike/hate JS, but it sure ain't "broke"
<apeiros>
toertore: your nick is distoerted? :)
<eam>
apeiros: I think the common occurance is people just assume they won't make a mistake and reuse a variable name
<mozzarella>
is the new js's scoping alright?
<mozzarella>
or is it still the same?
<eam>
which is ... mostly true
GriffinHeart has quit [Ping timeout: 265 seconds]
<ari-_-e>
RubyPanther: is def get_proc(&p); p; end a legitimate way to get a Proc from a block?
<toertore>
apeiros: backup, must have been disconnected
<apeiros>
eam: I don't assume! :(
<apeiros>
;-)
amargherio has quit [Remote host closed the connection]
<toertore>
js scoping works fine, as long as you understand how it actually works
<eam>
haha
maroloccio has quit [Quit: WeeChat 0.4.3]
<RubyPanther>
ari-_-e: usually not
<crome>
there is nothing wrong with js scoping, it just gets confusing quickly
<eam>
I really do wish ruby declared variables though
<ari-_-e>
RubyPanther: why not?
akonny has quit [Quit: akonny]
<toertore>
js scoping is actually very simple
<toertore>
and easy to understand
<Mon_Ouie>
def proc(&block); block; end is already in Ruby
<RubyPanther>
ari-_-e: tenderlove has a video about it, anybody remember which one?
<banister>
ari-_-e so what do you call the thing passed to each here?: each { |v| v.to_s }
feature_creep has quit [Quit: feature_creep]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
<banister>
Mon_Ouie have you looked into swift? what's your opinion?
<toretore>
there we go. myself again
<toretore>
I HATE INTERNET EXPLORER SO SO SO SO SO SO MUCH
codabrink has quit [Remote host closed the connection]
<benzrf>
swift looks like scala
<dont-panic>
use linux
<benzrf>
like the scala to objc's java
<benzrf>
p:
<wu_>
ies4linux in WINE
<eam>
ocaml and java's bastard child
<RubyPanther>
ari-_-e: declaring the &block guarantees the worst case performance, there is an optimized way that is much better for the best case where you don't use the block
<benzrf>
dont-panic: i'd just like to interject for a moment
<benzrf>
what you're referring to as 'linux' is actually gnu/linux
<benzrf>
or as i've taken to calling it, gnu plus linux
<wu_>
nah, busybox all the way. no GNUtilities
<benzrf>
:^)
<dont-panic>
or you could go so far as to say unix
shevy has joined #ruby
<dont-panic>
linux,bsd,osx = unix
<ari-_-e>
banister: I call it a syntax which assigns an implicit context to that each call such that "yield" will call the code specified by the block syntax
jobewan has quit [Ping timeout: 260 seconds]
<dont-panic>
osx is pretty much just bsd
<banister>
ari-_-e lol
<banister>
ari-_-e give your brain a rest and just call it a block :)
<RubyPanther>
gnu/linux is a silly name because nobody installs linux, and then GNU tools, people instead install a distro. So it makes more sense to go from "linux" to "fedora/slackware/whatever" than to GNU/Linux
<ari-_-e>
banister: I did call it a block
<ari-_-e>
banister: but it's not an object
<banister>
ari-_-e i dont think anyone said it was an object?
<wu_>
LFS users proabbly DL a GNU CoreUtils tarball
<Mon_Ouie>
Blocks aren't objects, procs are
<banister>
Mon_Ouie i love it when you lay down the knowledge
<RubyPanther>
Why are the CLI tools automatically more important than the desktop environment, too? Doesn't that depend on the user? Why not call it Gnome/Linux or KDE/Linux?
<ari-_-e>
banister: people are conflating the concepts of "block" with the concepts of "proc/lambda/etc"
<ari-_-e>
that's all I'm pointing out
<dont-panic>
blocks don't get asigned to var's, they just kinda happen right
lmickh has joined #ruby
<dont-panic>
its like throw away code that still exists
<shevy>
yeah
<wu_>
call it GnomeGTKGLibXlibGLibCGNU/Linux then, RubyPanther
<shevy>
more like additional arguments to every method dont-panic
<banister>
ari-_-e a block is a lightweight syntax for passing an anonymous function to a method, so long as people know that (which most people do), it's reasonable enough to talk about them in the same breath as lambdas/procs
<toretore>
X/Linux, now that's a cool name
<shevy>
toretore I prefer Fuck/Linux
bhaak has quit [Ping timeout: 245 seconds]
<dont-panic>
or in my case awesome/linux
<eam>
RubyPanther: the idea that linux should be gnu/linux is because of the development toolchain (aka gcc, libc)
<dont-panic>
not ever linux has gcc installed
<shevy>
I hate the name awesome, there is even a wm that has it as its name and it is more like crapsome than awesome
<eam>
those are far more fundamental than a display toolkit (which might not even be used)
<eam>
dont-panic: 100% of linux kernels are compiled on gcc
<shevy>
what about llvm
<eam>
whether it's installed post-build is irrelevant
shiggity_ has joined #ruby
<dont-panic>
shevy: totally disagree. awesome is by far the best wm I've ever used
m8 has quit [Quit: Sto andando via]
<wu_>
clang/llvm/hurd ? shudder
<shevy>
dont-panic sure in 1990
<dont-panic>
eam: doesn't mean you need gcc. go grab puppy linux. that doesn't have gcc by default
<Mon_Ouie>
Does RMS insist on calling BSDs GNU/BSD for the same reason then?
<eam>
dont-panic: doubt it
<dont-panic>
4.2.1 didn't
<eam>
the userland compiler != the compiler you used to build your kernel
<eam>
don't confuse the two
<dont-panic>
the new version might
<shevy>
puppy is for small installations isn't it? like 50MB only
fgo has joined #ruby
<dont-panic>
is 300mb and it stays in ram
<shevy>
wheee that's almost as big as archlinux
SilverKey has quit [Quit: Halted.]
<RubyPanther>
ari-_-e: Proc.new without a block will use the block from the method, but &block causes the block to have a Proc instantiated every time, even if you don't use it. So in def foo(&block) there is already an object wrapping the block but in def foo ; Proc.new if condition end now there is only a wrapper if condition is true
<dont-panic>
its also not built from a specific distro, its built from the ground up
<dont-panic>
I seem to remember trying to use make in puppy only to find out I had to go find a gcc package and bunch of other utils and it was a pain
vpretzel has quit [Ping timeout: 260 seconds]
yakko_ has joined #ruby
<eam>
folks are working on getting the linux kernel building on llvm, I believe that work is unfinished
yakko has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
ehc has joined #ruby
vpretzel has joined #ruby
<RubyPanther>
don't conflate blocks and procs being different with being separate all the time, because they're only separate sometimes. And a block wrapped in a proc... is just a proc, at least if you're using it for anything
blandflakes has quit [Quit: Page closed]
fgo has quit [Ping timeout: 264 seconds]
moritzschaefer has quit [Ping timeout: 265 seconds]
endash has joined #ruby
<RubyPanther>
eam: The development toolchain causing the name to get added would be pretty silly, I've never heard of an application having a different name (VC++/TrueCrypt) when you compile for a different platform
xcv has quit [Remote host closed the connection]
<toretore>
isn't it mostly because most of the tools that come with a linux installation are gnu?
<RubyPanther>
or if you compile emacs with cc, would it be called Intel C++/emacs
coderhs has joined #ruby
benlieb has quit [Quit: benlieb]
VinDoKi has quit [Remote host closed the connection]
Gil has joined #ruby
deepy has quit [Ping timeout: 240 seconds]
<eam>
RubyPanther: silly or not, that's why gnu/linux exists as a term
<RubyPanther>
yeah, the toolchain is the real claim, but for desktops that leaves most users running Gnome/Linux because that is their toolchain. It even has its own stdlib replacement (glib)
<shevy>
long live kde!
<eam>
glib is not a libc replacement
<eam>
glib and glibc are very different
<RubyPanther>
Yes, glib is a stdlib replacement. They are different, yes, I did not claim it was drop-in, just that is used instead
<eam>
it isn't used instead
deepy has joined #ruby
deepy is now known as Guest54253
<RubyPanther>
except... it is? You clearly don't write C that uses it, if you claim that.
<toretore>
RubyPanther: with linux distros' dependence on shitty shell scripts that use gnu tools i think it's a fair claim for most users
jhulten has quit [Remote host closed the connection]
<RubyPanther>
toretore: so then it becomes systemd/linux ;)
<toretore>
hah
<shevy>
man, linux will never leave behind shell scripts
<RubyPanther>
<3 GNU, but sorry lol
<eam>
RubyPanther: one of us is extremely ignorant of what glib is :)
<RubyPanther>
eam: I'm sure you can come up with the counter-argument without my help, since you claim to know so much about it. ;) Tell us why it is besides the point ;)
<toretore>
"look, i can control the terminal transparency and colors so i can see my shitty anime backgrounds while coding"
<shevy>
how comes busybox exists how comes dietlibc exists
ti-wali has quit [Remote host closed the connection]
<eam>
shevy: now dietlibc is a replacement :)
dingus_khan has quit []
<RubyPanther>
shevy: because C didn't come with a stdlib, and the GNU one sucks too bad to use directly
<toretore>
any sufficiently experienced developer will conclude that every single tool sucks
<dont-panic>
I'm still hoping I can find someone who I can send a file containing 'cat /dev/urandom' and have them send me back wallpaper covered in the contents for my office
<toretore>
and will have started rewriting half of them before giving up
jmurray has quit [Quit: jmurray]
<RubyPanther>
toretore: hopefully they suck in different ways, though
<shevy>
toretore first thing I usually do is set my desktop background to black without images, for every desktop environment / wm :(
<agent_white>
shevy: Mine is black as well :( I use i3, so I see no point in having one.
<toretore>
i change my icon pack to something cool like an xmen theme
Squarepy has quit [Quit: Leaving]
<RubyPanther>
eam: If you can only conceive of "replacement" as meaning "drop-in replacement" then that is just a failure of language
<toretore>
x men themed waste basket
<toretore>
so cool
<eam>
RubyPanther: it doesn't replace anything about it at all
<shevy>
agent_white I just am fad up with backgrounds that look cool, but when you want to get real work done, those things all just distract
failshell has quit [Ping timeout: 240 seconds]
<eam>
the functions it provides are complementary
<shevy>
like kde eye candy, that may be super fancy but also it is super useless
<dont-panic>
agent_white: you ever used awesome? if so you like i3 better?
<eam>
RubyPanther: seriously, just stop
<agent_white>
shevy: Oh! I just cannot see my backgrounds at all with tiling wm's... so I see no point.
djbkd has quit [Ping timeout: 260 seconds]
<RubyPanther>
eam: Ah, now you're getting closer! You're attaching "replace" to the wrong thing. The thing being replaced is the library that the application developer is using.
<agent_white>
dont-panic: I switched to i3 after using awesome, actually :) Literally, just for the ability to resize my panes. Besides that, I like awesome a lot more for it's keybindinds. I never configured anything after installing it.
batman___ has joined #ruby
<RubyPanther>
Just like if you replace a car with a bicycle, the car is still a car and the bicycle is still a bicycle, you're just using a different one.
batman___ is now known as Meatchicken
<toretore>
RubyPanther is perhaps the best troll i've ever seen. so subtly annoying to his targets while never going out of character
<toretore>
;)
<eam>
toretore: he's pretty good
<RubyPanther>
Probably means he's not a "troll" and you're just name-calling.
tjr9898_ has quit [Remote host closed the connection]
<toretore>
the best trolls are those that are not intentionally trolling
<dont-panic>
you can resize panes in awesome by using mod+right click, or you can use mod+h or mod+l I think
<eam>
the thing is, if you just stop and let his statements stew in their own absurdity the entire thing is defused
tjr9898_ has joined #ruby
<RubyPanther>
The best trolls are pejoratives, I think you might be mistaken on multiple levels there.
<agent_white>
dont-panic: Wait really? Hm. I'll have to go back to see... but now after tinkering i3 I may have to stick with it for now :)
<Meatchicken>
I can test it by using an actual torrent client
<Meatchicken>
but is there a better way?
<Meatchicken>
Using minitest/testunit
jhulten has joined #ruby
<toretore>
reminds me of a friend of mine, who will argue against you on any conceivable subject
<eam>
toretore: no he won't
<dont-panic>
agent_white: yeah, mod + left click moves windows around, mod + rightclick resizes all windows touching whatever corner you grab
sambao21 has joined #ruby
rezzack has joined #ruby
<agent_white>
dont-panic: If I would've known of the mod+rightclick, I think I would've stuck with it.
<toretore>
"this apple is red" "no it isn't. 'red' is just a name for a certain wavelength and the way our eyes perceive it"
<shevy>
lol
<agent_white>
dont-panic: Cause moving windows around each other is a fucking pain in the ass in i3... it lacks that mod+leftclick I loved.
<RubyPanther>
toretore: How annoying he assumes that knowledge is incomplete! If only he would acknowledge that you've Solved some subjects, then he could just listen to you be wrong and not try to improve on the ideas
<shevy>
toretore that is not very subtle at all
<apeiros>
looking for the proper name of this transformation: I have a value which is within min/max A and transform it to fit within min/max B. E.g. A: 0..255 -> B: 0..1 - example transformations: 0 -> 0, 128 -> 0.5, 255 -> 1
<shiggity_>
”whats up?” “the sky”
<dont-panic>
agent_white: the only real issue I have with awesome is that terminator will shrink or resize really small as soon as you open it and you have to manually resize... not all the time, just sometimes
<toretore>
"your perception of red may be different from mine WOW"
djbkd has joined #ruby
<eam>
toretore: "what is your relative velocity?"
moritzschaefer has joined #ruby
<agent_white>
dont-panic: I noticed that too!! But I just recently switched to xterm for my default console, luckily ;P
wldcordeiro has quit [Quit: Leaving]
<shevy>
apeiros how about ... "binary transform" ... or "yes/no transform" ... or "swiss cheese transform" (poking holes into thingies) ... hmm or ... "RGB-downscale transform"
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
<wallerdev>
why transform when you can transpile
<RubyPanther>
Is red a property of the apple, or of the viewer, that is a traditional philosophical question that is _known_ to not be "solved" to not have a right answer. So he's right; stating an apple "is" red is claiming that this known dispute is solved for one side.
<apeiros>
shevy: I don't think any of those are a fit
djbkd has joined #ruby
<agent_white>
s/thingies/shitters
<toretore>
RubyPanther: it is a property of the apple. it reflects the wavelength that we define as red
mary5030 has joined #ruby
<dont-panic>
agent_white: I would use xterm, but I haven't messed with it much. I like terminator b/c I can turn off the scrollbar and title bar and in awesome that will make my terminal a completely black window with no border
treehug8_ has quit []
<eam>
RubyPanther: The simulacrum is never that which conceals the truth - it is the truth which conceals that there is none. The simulacrum is true.
banjara has joined #ruby
toastynerd has joined #ruby
<eam>
-- Kurt Cobain
ffranz has quit [Quit: Leaving]
<RubyPanther>
toretore: sloppy, sloppy, you claimed it was a property of the apple, but then resorted to your own process of having defined the apple as the evidence; you actually argue that it is a property of your beliefs, not the apple, but you state what you argued wrong
pablo_ has quit [Remote host closed the connection]
<agent_white>
dont-panic: Aye exactly! I just switched after I had minor issues with seeing character sets, etc. And figured I may as well have a terminal that doesn't mess around with stuff. DOwnside is it was a PAIN IN THE ASS to configure.
snath has quit [Ping timeout: 276 seconds]
<toretore>
RubyPanther: is the apple apple-shaped?
<dont-panic>
alright, my car isn't going to move itself, and this splif isn't going to smoke itself. be back later
<agent_white>
;D
<RubyPanther>
toretore: Unknown
<dont-panic>
agent_white: the thing with the ~ when you copy and paste or something?
<dont-panic>
a friend of mine was having that issue
lw has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
<agent_white>
dont-panic: Ah nah not that, I think it was something else with seeing utf-8 characters or something else... I honestly can't remember now. But it was a simple fix I went over-the-top with to recover from :P
<toretore>
RubyPanther: so then nothing is known, unless you can ask every possible observer
<RubyPanther>
toretore: To Plato, the apple is an imperfect reflection of the perfect state of apple-ness, and is only apple-like in shape, perhaps not perfectly apple shaped. I think that is a load of crap, but it is an unsolved dispute.
spider-mario has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
<agent_white>
Why didn't Plato just eat the apple?
<RubyPanther>
Stephenson's book "Anathem" is based on that, and competing, themes
<agent_white>
I would've instead of talking about it.
<toretore>
RubyPanther: but the definition of apple-ness is defined in the context of the projection that we perceive
mary5030 has quit [Ping timeout: 240 seconds]
<toretore>
thus, it is apple-shaped
<RubyPanther>
toretore: The idea that asking each observer would help is a whole different thing; do we in fact create reality from the set of our perceptions of what it is? Some people believe it to be so. It is unsolved, though.
<agent_white>
This is why my buddies who majored in philosophy now work at pizza shops.
Avahey_ has joined #ruby
HoloIRCUser2 is now known as haoke0905
<shiggity_>
bullshit
banjara has quit [Ping timeout: 252 seconds]
<agent_white>
"Why do it while we can just sit and talk about it."
<shiggity_>
philosopohy is awesome
<agent_white>
s/while/when
haoke0905 has quit [Remote host closed the connection]
<RubyPanther>
agent_white: Probably because philosophy is an abstract subject with no modern occupation associated.
<agent_white>
It's cool to think outside the box. But I'm a pragmatist.
<toretore>
RubyPanther: so you think there is a possibility that reality doesn't exist outside of our perceptions?
saarinen has joined #ruby
<toretore>
there's no royal stipend for philosophers?
toastynerd has quit [Ping timeout: 276 seconds]
<shevy>
agent_white lol
<shiggity_>
philosophy majors are among the best performers on the LSAT, like comp sci, physics, math and economics majors
<agent_white>
;D
<shevy>
who
<shevy>
so we should pick philosophy majors rather than math majors?
<RubyPanther>
toretore: Well, who cares what I think? More important to me is the fact that those questions are unanswered; they are known unknowns.
xanandu has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.3]
<shiggity_>
no im saying it has value
<toretore>
shiggity_: that's because you can write whatever the hell you want and nobody can say it's wrong
<agent_white>
RubyPanther: Because it doesn't teach you what to do with the thoughts other than how to think about them.
<shevy>
RubyPanther you sound like Rumsfeld
<shiggity_>
for some, it may be a better choice
arrubin has quit []
<agent_white>
RubyPanther: I think that you need a supplement activity to use your philosophy-brains with.
<shiggity_>
anywho
<agent_white>
In my friends case, making pizza!
<shiggity_>
lol
<shevy>
nothing wrong with pizza
<shevy>
except for those not baked in a real stone oven
<RubyPanther>
shevy: You don't have to like Rumsfeld to appreciate the humor and indeed utility of Rumsfeldian Logic. I know I certainly don't!
<agent_white>
I love pizza. Especially since he's a rebel so it's like anarchy pizza.
<agent_white>
I feel so disobedient when eating it. Like I might even put extra parmesan on it.
<toretore>
RubyPanther: do you know if rumsfeld was actually quoting a work of philosophy when he said that?
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
agent_white but there are so many bad pizzas, lately I had an indian-style pizza, they did not have an oven, just some micro-wave-like thing where they put the dough with some cheese on it
<shiggity_>
Hey Ruby pros, I’m looking for advice to a fledgling ruby developer — how do I make myself hireable?
<RubyPanther>
agent_white: How can you even know what choices you have as to what to do with your thoughts if you do not first understand how to think about them? How could you even approach the problem from that end?
<shevy>
agent_white yeah, that is often required, some pizza just don't have enough cheese or tomato or anything else but the dough
<RubyPanther>
toretore: He was, but I forget who
meatherly has quit [Remote host closed the connection]
<agent_white>
RubyPanther: I don't think unless I do first. Why think before doing? If you don't do you don't know.
<shevy>
eam why have you stopped arguing with RubyPanther :(
dhaivat has quit [Quit: dhaivat]
<RubyPanther>
It is a standard quadrant analysis of knowledge, not anything special
<shiggity_>
Open source contributions? ruby gems? how do you make yourself marketable as a ruby dev?
<shevy>
shiggity_ without rails?
<shevy>
you could compete with the perl/python sysadmin folks
snath has joined #ruby
danman has quit [Quit: danman]
<shiggity_>
shevy: right now i’m a ruby developer. played with rails, but not nearly as comfy as normal ruby.
<agent_white>
shevy: Wtf was it one of those little pizzas you get at the grocery?!
<agent_white>
Or did they fire it up like subway-stylie in that overkill microwave?
<shiggity_>
yeah, sysadmin /devops seems like one angle..
<RubyPanther>
agent_white: That works for breathing, and other autonomous bodily functions, but I'm not convinced you can "do" conscious things without some sort of intent. Mistaken intent works fine, but you need some sort of intent.
Azure has quit [Remote host closed the connection]
<agent_white>
RubyPanther: True. But I think your intent is transformed better once you do.
VinDoKi has joined #ruby
Azure has joined #ruby
<agent_white>
I could think about all the different ways to write some crazy operating system, but it won't matter until I get my hands dirty as fuck.
<toretore>
RubyPanther: looks like it was paraphrasing nassim taleb, author of black swan, which makes sense
<agent_white>
All this philosophy makes me hungry for pizza.
<RubyPanther>
shiggity_: If you want to make yourself marketable, create a non-db interface to arel so that people can use relational algebra to create seaches of arbitrary object relationships
<shiggity_>
right why didnt i think of that
<RubyPanther>
toretore: lol thanks for looking that up, that is awesome
<agent_white>
shiggity_: Hahah :D
<toretore>
RubyPanther: "In his 2007 book The Black Swan: The Impact of the Highly Improbable, Nassim Nicholas Taleb tells of a presentation on uncertainty he was requested to give to the United States Department of Defense shortly before Rumsfeld's speech."
<RubyPanther>
shiggity_: Well, the easy stuff is already done, and projects do NOT WANT contributions unless they're attached to a bug report
yubrew has joined #ruby
<RubyPanther>
toretore: I'm sure the use of quadrant analysis in information theory predates that though
<toretore>
yeah
<toretore>
it does
<agent_white>
RubyPanther: What do you do for a living btw?
<shiggity_>
RubyPanther: I read Nassim taleb’s book ‘fooled by randomness’ it’s awesome.
dhaivat has joined #ruby
maestrojed has joined #ruby
<agent_white>
RubyPanther: Just curious, you seem like a smart cookie if you read that stuff my buddy does.
zybi1 has quit [Remote host closed the connection]
<shiggity_>
RubyPanther: yeah.. Just now starting to learn to use rspec so I’m not the best test maker just yet
<RubyPanther>
agent_white: Mostly database and point of sale consulting
<agent_white>
Ahhhh! Damn.
<shevy>
agent_white hmm no, the little pizzas are usually ok, we have a lot of these groceries from turkiye people (turkish people); that pizza that was awful felt like synthetic cheese warmed up on a dough in some kind of ... open microwave-oven or something; it only had some metal bars on the bottom to warm up the "pizza" thing... it was so awful ... but quite cheap, 7 euro + a pepsi; a real pizza here costs aroun
<shevy>
d 10-14 euro in a restaurant, and only a bit less for take-away
<toretore>
turkiye people
<RubyPanther>
agent_white: I focus on things that are broken most of the time, that I can get paid to support, and then fix so they don't have to call me ;)
<toretore>
like dr oetker
<shevy>
ewww
<shevy>
dr oetker is awful
<agent_white>
RubyPanther: That sounds like fun, I bet you see some interesting stuff :)
<shevy>
all those ready-made pizzas are awful
Megtastique has quit []
<RubyPanther>
shevy: I paid $35 for a pizza 6 months ago, and my wife is still talking about how good it was
predator217 has joined #ruby
<shevy>
wtf
<shevy>
$35
brandonjmckay has quit [Quit: Leaving.]
<toretore>
shevy: depends
<agent_white>
shevy: Jesus... There's a few places around here that have pre-made calzones that are awesome. Made by those goddamned Boulder (Colorado) hippies.
<shevy>
you want a pizza, not a car
<toretore>
some are decent
<shiggity_>
how many downloads would you say makes a gem popular/successful/what-have-you?
<shevy>
shiggity_ +50k
<shiggity_>
interesante
<agent_white>
shiggity_: Why not contribute to some stuff? Like shoes?
<shiggity_>
just released my first gem 2 weeks ago. 1k downloads :)
yubrew has quit [Ping timeout: 260 seconds]
<shevy>
shiggity_ I think what is most useful is people who report back to you or contribute to
<shiggity_>
Good idea. I remember looking at shoes a few times...
mijicd has quit [Remote host closed the connection]
kevind has quit [Quit: kevind]
<toretore>
that is not a pizza
<shevy>
god that is so insanely expensive
<shevy>
you get like a computer for 3x of these pizzas
<RubyPanther>
It is one of the busiest pizza places in town, long wait on friday/saturday
tyfighter has quit [Quit: tyfighter]
<agent_white>
I'm going to make a cheeseburger research institution. "Please send all cheeseburgers to PO BOX 999 for our Q&A dpt. to inspect."
predator117 has quit [Ping timeout: 255 seconds]
seanewest has quit [Quit: seanewest]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
coderhs has quit [Ping timeout: 245 seconds]
<RubyPanther>
I'm a wild mushroom enthusiast, a lot of people will pick some fancy wild mushrooms and bring them in and get a special pizza made with them. Now THAT is pizza research! Also some people will bring in veggies from their garden.
<shevy>
lol
seanewest has joined #ruby
lethe has joined #ruby
dodosan has quit [Remote host closed the connection]
dodosan has joined #ruby
dhaivat has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
iLeoable has quit [Quit: Page closed]
andrewjanssen has quit [Quit: Leaving...]
carlyle has joined #ruby
Arkaniad has quit [Ping timeout: 260 seconds]
<shiggity_>
agent_white: I’ll take a look at that shoes test request, looks like they are using VCR eh? Interesting. I’ve heard about that but haven’t used before.
lethe has quit [Ping timeout: 260 seconds]
frem_ has quit [Ping timeout: 240 seconds]
t0rc has joined #ruby
superscott[8] has joined #ruby
freezey has quit []
|RicharD| has quit [Quit: Sto andando via]
carlyle has quit [Ping timeout: 255 seconds]
mercwithamouth has quit [Ping timeout: 276 seconds]
tyfighter has joined #ruby
klaut_ has quit [Remote host closed the connection]
katlogic is now known as nagger
t0rc has left #ruby ["WeeChat 0.4.3"]
Dingus has quit [Quit: Leaving]
carlyle has joined #ruby
<^conner>
I'm trying to understand the rspec mocks 3.0 replacement for stubs
SCommette has quit [Quit: SCommette]
<^conner>
how do I declare the number of times I expect a stub method to be invoked?
j_mcnally has joined #ruby
l3kn has joined #ruby
Olipro has quit [*.net *.split]
hermanmunster has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<crome>
.should_receive(:stuff).exactly(x).times
coderhs has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
fgo has joined #ruby
cpruitt has quit [Quit: cpruitt]
mercerist has quit [Quit: Computer has gone to sleep.]
<RubyPanther>
shevy: Lazy as in run when needed, or as in, you don't have to do much work?
danman has joined #ruby
happytux has joined #ruby
<happytux>
hi
sleepee has joined #ruby
<happytux>
It is possible and if, how can I list all variables currently available in a ruby/rake script?
<happytux>
I am interested in the topmost variables.
mikecmpbll has quit [Quit: i've nodded off.]
<iLeoable>
Can anybody help me?
<happytux>
iLeoable: hi
<l3kn>
iLeolable: I think the problem is that your ruby version does not support the new hash syntax {key: value}
<iLeoable>
happytux: Hi... I ran rake db:migrate RAILS_ENV=production on my Gitorious installation and It gave me a error
<iLeoable>
I am using ruby 1.8
rm_ has joined #ruby
<iLeoable>
Should I install ruby 1.9?
jonno11 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ari-_-e>
yes
NinoScript has quit [Quit: NinoScript]
<iLeoable>
Ok I do that now
<^conner>
iLeoable, I would suggest that you use a test environment before making changes to production systems.
<^conner>
iLeoable, otherwise, random changes might make the situation worse and/or harder to debug
<^conner>
just my 2cents
Zenigor has quit [Remote host closed the connection]
<iLeoable>
Ok I will do that
alex2 has joined #ruby
<alex2>
Hi
<sleepee>
whats up guys. noobie mcnoobster here. quick question. what's a good way to get documentation for 3rd party gems i install? for example, if anybody's familiar with python's help() function, i'd love to know if something like that is available for ruby.
<shevy>
RubyPanther well both; I want to keep testing to a minimal, so I don't need 100% testing, but I want to test certain components in some of my projects, especially to ensure that they work even after rewrite or refactoring
<alex2>
How list all keywords / method names ?
<shevy>
happytux well there is object.instance_variables
<alex2>
I’m writing syntax file for Kakoune.
<shevy>
happytux, there also is Kernel.local_variables
<ari-_-e>
sleepee: perhaps the ri command?
<^conner>
alex2, #inspect
<ari-_-e>
I don't know how much you'll get about your gems though
<shevy>
alex2 interactively you could get tab-completion for a method name, like: Kernel.<PRESS_TAB_NOW>
dodosan has quit [Remote host closed the connection]
<sleepee>
i'll give it a shot. basically i'm looking for sort of a man page for methods
<shevy>
from ruby itself, I guess you can get it via Kernel.methods.sort ?
<shevy>
sorry
<shevy>
I meant sleepee
<alex2>
not interactively
<ari-_-e>
sleepee: ruby doesn't have an equivalent of help() because it doesn't store documentation strings in objects like python does
<alex2>
^conner: Array.inspect ?
timonv has joined #ruby
<alex2>
for example
<ari-_-e>
sleepee: ri gives you the same stuff you find online
<^conner>
alex2, sorry, #methods
<^conner>
end of the day here... mind is going
<shevy>
catch the mind!
<sleepee>
ahhh.. well.. then how do you guys go about picking up new gems?
<sleepee>
you use ri?
<shevy>
picking up new gems?
<shevy>
you can do gem search
<sleepee>
i mean learning
Authenti1ator has joined #ruby
<shevy>
aha
<shevy>
I always go for the online documentation
<RubyPanther>
sleepee: online API documents
<shevy>
if it has none then I won't use it :)
<ari-_-e>
sleepee: you could look into pry also - it's a better irb that lets you look up source code of methods and stuff
<^conner>
i typically use gem search first
<^conner>
then go to rubygems.org to look for docs
<alex2>
^conner: how list all objects ?
<RubyPanther>
if they're not there, it is probably the wrong gem to use ;)