havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
tabakhase__ is now known as tabakhase
tabakhase has quit [Changing host]
tabakhase has joined #ruby
UKn0Me has quit [Remote host closed the connection]
David_H__ has joined #ruby
kareeoleez has joined #ruby
aep has quit [Ping timeout: 252 seconds]
duckpuppy has joined #ruby
rattatmatt has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 260 seconds]
UKn0Me has joined #ruby
jenrzzz has joined #ruby
kareeoleez has quit [Ping timeout: 252 seconds]
palms has quit [Ping timeout: 252 seconds]
nofxx has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
saneax is now known as saneax_AFK
duckpuppy has quit [Ping timeout: 240 seconds]
jmhmccr has joined #ruby
tjohnson has joined #ruby
skade has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
cd83x has joined #ruby
felipec has quit [Quit: Leaving]
toretore has quit [Ping timeout: 264 seconds]
Azure has joined #ruby
Yiota has joined #ruby
yqt has quit [Ping timeout: 260 seconds]
cd83x has quit [Ping timeout: 260 seconds]
cd83x has joined #ruby
skade has quit [Read error: Connection reset by peer]
skolman__ has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
frem_ has quit [Quit: Connection closed for inactivity]
hahuang65 has joined #ruby
aep has joined #ruby
roamingdog has quit [Remote host closed the connection]
sumobob has quit [Ping timeout: 260 seconds]
sid_fules has joined #ruby
cemerick has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
c355e3b has quit [Quit: Connection closed for inactivity]
sid_fules has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
freerobby has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
flashpoint9 has joined #ruby
N1njturt1e has joined #ruby
certainty has joined #ruby
pawnbox has joined #ruby
djbkd has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
flashpoint9 has quit [Ping timeout: 260 seconds]
certainty has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
r4z3r has quit [Ping timeout: 260 seconds]
N1njturt1e has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
r4z3r has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
Es0teric has quit [Quit: Computer has gone to sleep.]
bmorrison has quit [Quit: bmorrison]
flashpoint9 has joined #ruby
gizmore has joined #ruby
flycast has joined #ruby
bmorrison has joined #ruby
allcentury has joined #ruby
jancel has joined #ruby
<flycast> I am struggling with certificate verify failed (Faraday::SSLError) on a windows 10 machine. I am pretty new to Ruby but not to programming. I have looked for help for days in the evenings and have found one solution over and over that seems to help most people. It does hot help me.
tildes_ has quit [Ping timeout: 240 seconds]
<flycast> The solution is to download a cert and then set an environment variable that points to the cert.
nankyokusei has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
<flycast> Is there someone that can help me get this figured out? Even though I try the solution I get the same result. I have also tried the gem "certified". Got the same result.
<flashpoint9> flycast: im assuming you readin this whole thread? https://github.com/google/google-api-ruby-client/issues/253
<flycast> Reading now. I have read quite a few that are windows specific.
symm- has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
jancel has quit [Ping timeout: 264 seconds]
symm- has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 260 seconds]
sumobob has joined #ruby
finisherr has quit [Quit: finisherr]
nanoz has quit [Ping timeout: 258 seconds]
duckpuppy has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
bruce_lee has quit [Remote host closed the connection]
cemerick has quit [Ping timeout: 260 seconds]
duckpuppy has quit [Ping timeout: 272 seconds]
harai54 has quit [Ping timeout: 260 seconds]
jetpackjoe has joined #ruby
jetpackjoe has quit [Remote host closed the connection]
cd83x has quit [Remote host closed the connection]
sumobob has quit [Ping timeout: 258 seconds]
nofxx has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev2_ has quit []
smathy has joined #ruby
cd83x has joined #ruby
cd83x has quit [Remote host closed the connection]
wazzat has joined #ruby
skolman has joined #ruby
wrkrcoop has joined #ruby
gizless has joined #ruby
gizless has quit [Client Quit]
gizmore has quit [Ping timeout: 276 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
Pupeno has joined #ruby
skolman has quit [Ping timeout: 252 seconds]
smathy has quit [Ping timeout: 276 seconds]
lupine has joined #ruby
finisherr has joined #ruby
buddhabrot has joined #ruby
roamingdog has joined #ruby
David_H__ has quit [Remote host closed the connection]
David_H_Smith has joined #ruby
Pupeno has quit [Remote host closed the connection]
ensyde has joined #ruby
ur5us_ has joined #ruby
buddhabrot has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 240 seconds]
ur5us has quit [Read error: Connection reset by peer]
<flycast> flashpoint9: Yes. I am already running 2.3.0. It seems that the "standard" answer seems to be Get a cert from http://curl.haxx.se/ca/cacert.pem and point the environment variable SSL_CERT_FILE in system settings (Windows 10) to the location of the pem file.
roamingdog has quit [Remote host closed the connection]
crystal77 has joined #ruby
harai54 has joined #ruby
David_H_Smith has joined #ruby
certainty has joined #ruby
buddhabrot has joined #ruby
pawnbox has joined #ruby
<flycast> I tried updating openssl, I was already on the latest version.
buddhabrot has quit [Remote host closed the connection]
certainty has quit [Ping timeout: 244 seconds]
<r_rios> Can I slice an array given an array of numbers define the sizes of the partition
<r_rios> ?
postmodern has quit [Quit: Leaving]
<r_rios> Something like: [1, 2, 3, 4, 5, 6, 7, 8].slice_by[3, 5] # => [[1, 2, 3], [4, 5, 6, 7, 8]]
David_H_Smith has quit [Ping timeout: 272 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
DadoCe has quit [Remote host closed the connection]
buddhabrot has joined #ruby
ramfjord has joined #ruby
Vingador has joined #ruby
David_H_Smith has joined #ruby
cd83x has joined #ruby
SilverKey has joined #ruby
bmorrison has quit [Quit: bmorrison]
Pupeno has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
buddhabrot has quit [Remote host closed the connection]
bmorrison has joined #ruby
flopsec has quit [Quit: https://fnordserver.eu]
illusionmedic has quit [Quit: https://fnordserver.eu]
Pupeno has quit [Ping timeout: 250 seconds]
<wrkrcoop> ive been trying to make this soap request all day
<wrkrcoop> anyone see anything wrong with this: https://gist.github.com/ellismarte/e222c75f141c81565c614de689058176
maletor3 has joined #ruby
freerobby has quit [Quit: Leaving.]
skolman has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
Guest53153 has quit [Quit: https://fnordserver.eu]
ramfjord has quit [Ping timeout: 260 seconds]
z0id has joined #ruby
maletor3 has quit [Ping timeout: 244 seconds]
skolman has quit [Ping timeout: 240 seconds]
sphex has quit [Ping timeout: 260 seconds]
<z0id> Is there a way for Ruby to edit a file without closing it? I wrote a script in Ruby that edits a text file, hexchat needs the ability to read said text file while it's still open in Ruby. Is there a way for Ruby to save changes to a file without closing it?
<z0id> Or do I need to close and open the file every time.
<r_rios> What do you think?
flopsec has joined #ruby
illusionmedic has joined #ruby
sphex has joined #ruby
Pupeno has joined #ruby
duckpuppy has joined #ruby
r_rios has quit [Quit: FUIR]
moei has quit [Quit: Leaving...]
juantelez has joined #ruby
<juantelez> Hi, all.
zel has joined #ruby
zel is now known as Guest24676
duckpuppy has quit [Ping timeout: 252 seconds]
flycast has quit [Quit: Page closed]
Pupeno has quit [Ping timeout: 250 seconds]
<juantelez> I'll be very glad if someone can give it a look. Thanks.
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ljames has quit [Remote host closed the connection]
noobsu has joined #ruby
z0id is now known as zoid
zoid is now known as z0id
sphex has quit [Ping timeout: 246 seconds]
domgetter has joined #ruby
noobsu has quit [Ping timeout: 276 seconds]
bmorrison has quit [Quit: bmorrison]
ljames has joined #ruby
Vingador_ has joined #ruby
wazzat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vingador has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
Coldblackice has quit [Read error: Connection reset by peer]
wrkrcoop has quit [Quit: wrkrcoop]
hahuang65 has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
GinoManWorks has joined #ruby
roamingdog has joined #ruby
certainty has joined #ruby
droptone has quit [Ping timeout: 244 seconds]
olsi has quit [Quit: Connection closed for inactivity]
jancel has joined #ruby
pawnbox has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
sphex has joined #ruby
certainty has quit [Ping timeout: 244 seconds]
roamingdog has quit [Ping timeout: 240 seconds]
N1njturt1e has joined #ruby
lightt has joined #ruby
jancel has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
domgetter has quit [Ping timeout: 244 seconds]
Coldblackice has joined #ruby
N1njturt1e has quit [Ping timeout: 272 seconds]
roamingdog has joined #ruby
bmorrison has joined #ruby
pepee has quit [Quit: bye $IRC]
nankyokusei has joined #ruby
Yiota has joined #ruby
ponga has joined #ruby
bmorrison has quit [Client Quit]
maletor3 has joined #ruby
lightt has quit [Remote host closed the connection]
bmorrison has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
maletor3 has quit [Ping timeout: 264 seconds]
SilverKey has quit [Quit: Cheerio!]
Sammichmaker has joined #ruby
kareeoleez has joined #ruby
Zighuatl has joined #ruby
duckpuppy has joined #ruby
Pupeno has joined #ruby
braincrash has quit [Quit: bye bye]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
Zighuatl has quit [Client Quit]
Zighuatl has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
terlar has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
braincrash has joined #ruby
braincrash is now known as braincras
hahuang65 has joined #ruby
dunpeal has quit [Ping timeout: 260 seconds]
gtsai has joined #ruby
postmodern has joined #ruby
Vingador_ has quit [Ping timeout: 246 seconds]
Pupeno has quit [Ping timeout: 250 seconds]
k3rn31 has joined #ruby
bmorrison has quit [Quit: bmorrison]
allcentury has quit [Ping timeout: 276 seconds]
Vingador has joined #ruby
mistermocha has joined #ruby
allcentury has joined #ruby
pepee has joined #ruby
postmodern has quit [Ping timeout: 272 seconds]
Mia has quit [Read error: Connection reset by peer]
pepee has quit [Read error: Connection reset by peer]
pepee has joined #ruby
beilabs has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby
ksmutthu_ has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
ksmutthu has quit [Ping timeout: 244 seconds]
terlar has quit [Quit: WeeChat 1.5]
mistermo_ has joined #ruby
joneshf-laptop has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
certainty has joined #ruby
mistermo_ has quit [Ping timeout: 246 seconds]
certainty has quit [Ping timeout: 240 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
Madplatypus has joined #ruby
Vingador has quit [Remote host closed the connection]
machinewar has joined #ruby
<machinewar> anyone have idea why minitest doesn't work in tests on rails 3.2
nando293921 has quit [Ping timeout: 250 seconds]
<machinewar> but works with > 3.2?
gix has quit [Ping timeout: 272 seconds]
hahuang65 has quit [Ping timeout: 252 seconds]
Coldblackice has quit []
gix has joined #ruby
beilabs has quit [Remote host closed the connection]
wspider has left #ruby [#ruby]
<z0id> it's quite dead here today.
beilabs has joined #ruby
elifoster has joined #ruby
k3rn31 has joined #ruby
Coldblackice has joined #ruby
maletor3 has joined #ruby
PaulCape_ has joined #ruby
beilabs_ has joined #ruby
PaulCape_ has quit [Client Quit]
allcentury has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
k3rn31 has quit [Client Quit]
PaulCape_ has joined #ruby
hk238 has joined #ruby
PaulCapestany has quit [Ping timeout: 244 seconds]
skweek has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
skweek has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
PaulCape_ has quit [Quit: .]
PaulCapestany has joined #ruby
skweek has joined #ruby
gtsai has quit [Ping timeout: 260 seconds]
roamingdog has quit []
duckpuppy has joined #ruby
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
duckpuppy has quit [Ping timeout: 276 seconds]
allcentury has joined #ruby
karmatr0n has joined #ruby
mleung has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
d0lph1n98 has joined #ruby
nando293921 has joined #ruby
smathy has joined #ruby
N1njturt1e has joined #ruby
machinewar has quit []
nanoz has joined #ruby
allcentury has joined #ruby
blaxter has joined #ruby
beilabs_ has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 272 seconds]
beilabs has joined #ruby
jetpackjoe has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arescorpio has quit [Quit: Leaving.]
hahuang65 has joined #ruby
DeltaHeavy has joined #ruby
<DeltaHeavy> Is there any way I can run 'bundle exec' in a different directory?
kies has quit [Ping timeout: 258 seconds]
domgetter has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
finisherr has quit [Ping timeout: 244 seconds]
jetpackjoe has quit [Remote host closed the connection]
jetpackjoe has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
<eam> DeltaHeavy: describe your issue in a bit more detail perhaps?
<DeltaHeavy> I think I figured it out. As a part of a project I'm using npm for dependancies with I want to run Jekyll out of a 'docs' directory.
k3rn31 has joined #ruby
nando293921 has quit [Ping timeout: 250 seconds]
certainty has joined #ruby
kareeoleez has joined #ruby
kareeoleez has quit [Remote host closed the connection]
N1njturt1e has quit [Remote host closed the connection]
c0mrad3 has joined #ruby
beilabs has quit [Ping timeout: 276 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
certainty has quit [Ping timeout: 258 seconds]
cd83x has quit [Remote host closed the connection]
nando293921 has joined #ruby
diegoaguilar has joined #ruby
finisherr has joined #ruby
finisherr has quit [Client Quit]
diegoaguilar has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
kies has joined #ruby
maletor3 has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
maletor3 has quit [Ping timeout: 244 seconds]
d0lph1n98 has joined #ruby
N1njturt_ has joined #ruby
juantelez has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
diegoaguilar has joined #ruby
dionysus69 has joined #ruby
pawnbox has joined #ruby
beilabs has joined #ruby
duncannz has quit [Remote host closed the connection]
dunpeal has joined #ruby
jerematic has joined #ruby
thejamespinto has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
Pupeno has joined #ruby
thejamespinto has joined #ruby
jancel has joined #ruby
cd83x has joined #ruby
moeabdol has joined #ruby
jancel_ has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
moei has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
thejamespinto has quit [Ping timeout: 264 seconds]
jancel has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
cd83x has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
N1njturt_ has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 250 seconds]
Pupeno has quit [Ping timeout: 250 seconds]
Tempesta_ has joined #ruby
cfillion has quit [Ping timeout: 246 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tempesta has quit [Ping timeout: 276 seconds]
cfillion has joined #ruby
juantelez has joined #ruby
jaguarmagenta has joined #ruby
sid_fules has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
Tempesta has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
Tempesta_ has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
sid_fules has quit [Ping timeout: 276 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tempesta_ has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
David_H_Smith has quit [Remote host closed the connection]
last_staff has joined #ruby
certainty has joined #ruby
David_H_Smith has joined #ruby
Tempesta_ has quit [Client Quit]
dionysus69 has joined #ruby
kareeoleez has joined #ruby
Cohedrin has joined #ruby
Tempesta has quit [Ping timeout: 276 seconds]
certainty has quit [Ping timeout: 240 seconds]
kareeoleez has quit [Ping timeout: 276 seconds]
jancel_ has quit [Remote host closed the connection]
hahuang65 has joined #ruby
CorOne has quit [Ping timeout: 260 seconds]
tildes_ has joined #ruby
Tempesta has joined #ruby
allcentury has joined #ruby
nettoweb has joined #ruby
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
raeoks has joined #ruby
nettoweb has quit [Client Quit]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
diegoaguilar has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
maletor3 has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
mleung has quit [Ping timeout: 240 seconds]
juantelez has quit [Quit: WeeChat 1.0.1]
diegoaguilar has joined #ruby
sumobob has joined #ruby
d0lph1n98 has quit [Ping timeout: 244 seconds]
mleung has joined #ruby
duckpuppy has joined #ruby
cd83x has joined #ruby
RobertBirnie has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
maletor3 has quit [Ping timeout: 250 seconds]
arooni has quit [Quit: Textual IRC Client: www.textualapp.com]
arooni has joined #ruby
cd83x has quit [Ping timeout: 272 seconds]
mleung has quit [Quit: mleung]
domgetter has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
DeltaHeavy has quit [Ping timeout: 260 seconds]
arooni has quit [Client Quit]
bigkevmcd has quit [Quit: Outta here...]
ur5us_ has quit [Remote host closed the connection]
allcentury has joined #ruby
N1njturt1e has joined #ruby
beilabs has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
N1njturt1e has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 276 seconds]
devbug has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
SilverKey has quit [Quit: Halted.]
d0lph1n98 has joined #ruby
sauvin has joined #ruby
allcentury has joined #ruby
djbkd has quit [Quit: My people need me...]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beilabs has joined #ruby
buddhabrot has joined #ruby
zapata has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
certainty has joined #ruby
charliesome has joined #ruby
jetpackjoe has quit [Quit: jetpackjoe]
ruby-lang613 has joined #ruby
beilabs has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 260 seconds]
certainty has quit [Ping timeout: 272 seconds]
d0lph1n98 has joined #ruby
buddhabrot has quit [Remote host closed the connection]
dumdedum has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
moeabdol has quit [Quit: WeeChat 1.4]
sumobob has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
moeabdol has joined #ruby
bkxd_ has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
the_drow has joined #ruby
chipotle has quit [Quit: cheerio]
yfeldblum has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
jerematic has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
cd83x has joined #ruby
jerematic has quit [Ping timeout: 260 seconds]
beilabs has joined #ruby
ur5us_ has quit [Ping timeout: 258 seconds]
blockchan has joined #ruby
maletor3 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
cd83x has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
hahuang65 has joined #ruby
maletor3 has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
kareeoleez has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3rn31 has quit [Quit: Computer has gone to sleep.]
nando293921 has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
blockchan has quit [Ping timeout: 258 seconds]
graft has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
neanderslob has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
sid_fules has joined #ruby
Pupeno has joined #ruby
hahuang65 has quit [Ping timeout: 264 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
sid_fules has quit [Ping timeout: 244 seconds]
dostoyevsky has joined #ruby
wolffles has joined #ruby
kareeole_ has joined #ruby
<dostoyevsky> I've ported some regular expression code (500 loc or regexpes) over to node.js and the code is now 200 times faster... :/
z0id has left #ruby ["Leaving"]
n1x-nz has quit [Quit: Computer says no]
mynameisntroy has joined #ruby
<xybre> Why do you have 500 LOC of Regex? Are you parsing HTML?
kareeoleez has quit [Ping timeout: 252 seconds]
certainty has joined #ruby
<dostoyevsky> xybre: "parsing" wiktionary data dumps
<hanmac> that still does sound more for a job of a xml parser than regexp
Ishido has joined #ruby
<dostoyevsky> hanmac: so your xml parser understands wikimedia commands?
dionysus69 has joined #ruby
firstdayonthejob has joined #ruby
certainty has quit [Ping timeout: 244 seconds]
<hanmac> so you are parsing stuff like "{{template|value}}" stuff? i thought parsing the generated html would be easier
agit0 has quit [Quit: zzzZZZ….]
<hanmac> dostoyevsky: did you checkout this yet? https://github.com/nricciar/wikicloth
blockchan has joined #ruby
<dostoyevsky> hanmac: I haven't... also not sure how fast it would be wiktionary dumps are usually around 3G... wikipedia dumps are like 20G per language
pepee has quit [Read error: Connection reset by peer]
hooli has joined #ruby
pepee has joined #ruby
<xybre> WikiCloth will contain a parser in order to generate HTML, but may not be programmatically accessible, might require digging into the internals.
<xybre> I should say, not designed with a public interface in mind.
<dostoyevsky> the way I envision my design atm is that I parse everything roughly and save everything into a big sqlite db... so if I see parsing bugs later I only need to process those entries where the bugs are, if I can recognized them with an SQL query... and maybe even use wikicloth for certain things
TomyLobo has joined #ruby
blockchan has quit [Quit: blockchan]
blackgoat has quit [Quit: WeeChat 1.5]
hutch34 has joined #ruby
beilabs_ has joined #ruby
n1x-nz has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
d0nn1e has quit [Ping timeout: 258 seconds]
d0nn1e has joined #ruby
duckpuppy has joined #ruby
hahuang65 has joined #ruby
kareeole_ has quit [Remote host closed the connection]
rippa has joined #ruby
ta__ has joined #ruby
maletor3 has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
thisguy123 has joined #ruby
ta__ has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 250 seconds]
<thisguy123> I'm trying to use stock twits API in ruby, but I don't get how to authenticate with stocktwits.com using oauth2.... Can anyone help?
ta_ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
maletor3 has quit [Ping timeout: 258 seconds]
thisguy123 has quit [Client Quit]
the_drow has quit [Quit: This computer has gone to sleep]
hahuang65 has quit [Ping timeout: 250 seconds]
ta_ has quit [Ping timeout: 276 seconds]
beilabs_ has quit [Ping timeout: 260 seconds]
N1njturt1e has joined #ruby
d0lph1n98 has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
pawnbox has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
kgrz has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
Devalo has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
blockchan has joined #ruby
kareeoleez has joined #ruby
kgrz has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
agent_white has joined #ruby
Jet4Fire has joined #ruby
certainty has joined #ruby
beilabs has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
skade has joined #ruby
<dostoyevsky> Does your oauth2 work with google or other more common providers?
certainty has quit [Ping timeout: 272 seconds]
N1njturt1e has quit [Remote host closed the connection]
hahuang65 has joined #ruby
N1njturt_ has joined #ruby
marr has joined #ruby
cd83x has joined #ruby
raeoks has joined #ruby
pawnbox has joined #ruby
nankyokusei has joined #ruby
e4xit has left #ruby [#ruby]
cd83x has quit [Ping timeout: 276 seconds]
ruby-lang095 has joined #ruby
maletor3 has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
jerematic has joined #ruby
tildes_ has quit [Ping timeout: 260 seconds]
ruby-lang095 has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 252 seconds]
jerematic has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 240 seconds]
blockchan has quit [Ping timeout: 240 seconds]
skade has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
ta_ has joined #ruby
cemerick has joined #ruby
mynameisntroy has quit [Ping timeout: 250 seconds]
skade has joined #ruby
minimalism has quit [Quit: minimalism]
agent_white has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
yaewa has joined #ruby
Pupeno has joined #ruby
moei has quit [Ping timeout: 252 seconds]
Vingador has joined #ruby
jaguarmagenta has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
rippa has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
ledestin has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 240 seconds]
sid_fules has quit [Ping timeout: 244 seconds]
hahuang65 has joined #ruby
rippa has quit [Ping timeout: 276 seconds]
certainty has joined #ruby
symm- has joined #ruby
cd83x has joined #ruby
blockchan has joined #ruby
certainty has quit [Ping timeout: 276 seconds]
art-solopov has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
ledestin has joined #ruby
cd83x has quit [Ping timeout: 260 seconds]
N1njturt_ has quit [Remote host closed the connection]
blockchan has quit [Ping timeout: 264 seconds]
blockchan has joined #ruby
graft has quit [Ping timeout: 258 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
maletor3 has joined #ruby
blockchan has quit [Ping timeout: 276 seconds]
SCHAAP137 has joined #ruby
rippa has joined #ruby
flak has joined #ruby
maletor3 has quit [Ping timeout: 250 seconds]
duckpuppy has joined #ruby
rippa has quit [Ping timeout: 258 seconds]
SCHAAP137 has quit [Ping timeout: 276 seconds]
flak has quit [Ping timeout: 240 seconds]
wolffles has quit [Quit: wolffles]
Jackneill has joined #ruby
Snowy has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 is now known as dionysus69
phredus has joined #ruby
Snowy has quit [Remote host closed the connection]
n1x-nz has quit [Quit: Computer says no]
c0mrad3 has quit [Quit: Connection closed for inactivity]
moeabdol1 has joined #ruby
Snowy has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
moeabdol has quit [Ping timeout: 272 seconds]
blockchan has joined #ruby
wolffles has joined #ruby
SCHAAP137 has joined #ruby
goeast has joined #ruby
rippa has joined #ruby
allcentury has joined #ruby
rippa has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 260 seconds]
firstdayonthejob has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
hahuang65 has joined #ruby
symm- has joined #ruby
bnjf has quit [Remote host closed the connection]
sid_fules has joined #ruby
ksmutthu_ has quit [Ping timeout: 260 seconds]
nanoz has quit [Read error: No route to host]
nanoz has joined #ruby
ur5us has joined #ruby
nadir has joined #ruby
rippa has quit [Ping timeout: 276 seconds]
nanoz has quit [Client Quit]
sid_fules has quit [Ping timeout: 240 seconds]
pepee has quit [Quit: bye $IRC]
cd83x has joined #ruby
c355e3b has joined #ruby
rippa has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
cwenner has quit [Remote host closed the connection]
certainty has joined #ruby
cd83x has quit [Ping timeout: 240 seconds]
blockchan1 has joined #ruby
bnjf has joined #ruby
blockchan has quit [Ping timeout: 240 seconds]
certainty has quit [Ping timeout: 246 seconds]
bnjf has quit [Ping timeout: 246 seconds]
beilabs has joined #ruby
pawnbox_ has joined #ruby
bnjf has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
N1njturt1e has joined #ruby
rippa has quit [Ping timeout: 264 seconds]
agent_white has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
bkxd has joined #ruby
beilabs has quit [Ping timeout: 244 seconds]
noobsu__ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
karmatr0n has joined #ruby
N1njturt1e has quit [Ping timeout: 250 seconds]
wolffles has quit [Quit: wolffles]
mdw has joined #ruby
Gasher has joined #ruby
marr has quit [Ping timeout: 252 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
maletor3 has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
toretore has joined #ruby
Mon_Ouie has joined #ruby
jgrevich has quit [Ping timeout: 240 seconds]
jerematic has joined #ruby
jgrevich has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
Azure has quit [Ping timeout: 252 seconds]
agit0 has joined #ruby
maletor3 has quit [Ping timeout: 246 seconds]
k3rn31 has joined #ruby
jerematic has quit [Ping timeout: 246 seconds]
Mia has joined #ruby
kareeoleez has quit [Remote host closed the connection]
phredus has quit [Remote host closed the connection]
scepticulous has joined #ruby
kareeoleez has joined #ruby
sepp2k has joined #ruby
hahuang65 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
kareeoleez has quit [Ping timeout: 276 seconds]
beilabs has joined #ruby
scepticulous has quit [Read error: Connection reset by peer]
agit0 has quit [Quit: zzzZZZ….]
scepticulous has joined #ruby
k3rn31 has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
hahuang65 has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
beilabs has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heinrich5991 has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
blockchan1 has quit [Ping timeout: 260 seconds]
beilabs has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
heinrich5991 has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
cd83x has joined #ruby
scepticulous has quit [Ping timeout: 276 seconds]
shinnya has quit [Quit: ZNC - http://znc.in]
cd83x has quit [Ping timeout: 252 seconds]
shinnya has joined #ruby
hanmac has quit [Ping timeout: 260 seconds]
shinnya has quit [Client Quit]
agit0 has joined #ruby
certainty has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
shinnya has joined #ruby
elementaru has joined #ruby
certainty has quit [Ping timeout: 276 seconds]
agit0 has quit [Quit: zzzZZZ….]
Vingador has quit [Ping timeout: 252 seconds]
hanmac has joined #ruby
hahuang65 has joined #ruby
beilabs has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
mdw has quit [Ping timeout: 264 seconds]
maletor3 has joined #ruby
beilabs has quit [Ping timeout: 250 seconds]
ips|malc has joined #ruby
blockchan has joined #ruby
Snowy has quit [Remote host closed the connection]
maletor3 has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
duckpuppy has joined #ruby
futilegames has joined #ruby
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 264 seconds]
futilegames has quit [Client Quit]
blockchan1 has joined #ruby
rippa has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
karmatr0n has joined #ruby
blockchan has quit [Ping timeout: 264 seconds]
duckpuppy has quit [Ping timeout: 272 seconds]
mdw has joined #ruby
Eiam has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
millerti has joined #ruby
karmatr0n has quit [Ping timeout: 240 seconds]
domgetter has joined #ruby
hutch34 has joined #ruby
goeast has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
agit0 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
cd83x has joined #ruby
cd83x has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
sid_fules has joined #ruby
ur5us has quit [Ping timeout: 258 seconds]
sid_fules has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Madplatypus has quit [Quit: Connection closed for inactivity]
symm- has quit [Ping timeout: 240 seconds]
miqlas-H has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
<miqlas-H> Hi Guys
hahuang65 has quit [Ping timeout: 240 seconds]
cemerick has quit [Ping timeout: 276 seconds]
<shevy> yo miqlas
gregf has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
gregf has joined #ruby
ocbtec has joined #ruby
<agent_white> My brain is failing me. Anyone have a link to Jim Weirich's Ruby solution to the Arc Challenge?
nighttime is now known as robot
mdw has quit [Ping timeout: 250 seconds]
kareeoleez has joined #ruby
maletor3 has joined #ruby
spider-mario has joined #ruby
r_rios has joined #ruby
buddhabrot has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
mdw has joined #ruby
GodFather has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
k3rn31 has joined #ruby
jerematic has quit [Ping timeout: 250 seconds]
GodFather has quit [Remote host closed the connection]
art-solopov has quit [Quit: Konversation terminated!]
tk__ has joined #ruby
GodFather has joined #ruby
alcesleo has joined #ruby
agent_white has quit [Quit: agent_white]
mdw has quit [Ping timeout: 260 seconds]
alcesleo has left #ruby [#ruby]
banister has joined #ruby
mleung has joined #ruby
Guest36675 has quit [Ping timeout: 246 seconds]
noobsu__ has quit [Remote host closed the connection]
sid_fules has joined #ruby
banister has quit [Client Quit]
noobsu has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
Pupeno has quit [Remote host closed the connection]
cd83x has joined #ruby
hahuang65 has joined #ruby
blockchan1 has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby
Yiota has joined #ruby
mdw has joined #ruby
mtaw has joined #ruby
cd83x has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
skade has joined #ruby
blockchan has joined #ruby
araujo_ has joined #ruby
<r_rios> Hello, all. I'm trying to slice an array given a list of the sizes of each partition. This is what I came up with: https://gist.github.com/romariorios/f9b641bc59fd396ade9f89f243a52f4d
Coldblackice has quit [Ping timeout: 240 seconds]
<r_rios> Is there a better approach or this is just fine?
ta_ has joined #ruby
Devalo has joined #ruby
araujo_ has quit [Max SendQ exceeded]
hahuang65 has quit [Ping timeout: 260 seconds]
blockchan1 has joined #ruby
araujo has quit [Ping timeout: 240 seconds]
araujo_ has joined #ruby
imperator has joined #ruby
araujo_ has quit [Max SendQ exceeded]
blockchan has quit [Ping timeout: 258 seconds]
skade has quit [Ping timeout: 258 seconds]
ta_ has quit [Ping timeout: 260 seconds]
Devalo has quit [Ping timeout: 244 seconds]
araujo_ has joined #ruby
araujo_ has quit [Max SendQ exceeded]
araujo_ has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
Yiota has joined #ruby
araujo_ has quit [Max SendQ exceeded]
ocbtec has quit [Quit: leaving]
<Bish> did the GIL discussion of yesterday come to an end?
<toretore> yes
<Bish> what was the result
araujo_ has joined #ruby
<toretore> gil prevents simultaneous execution of ruby code on multiple cores; does not prevent asynchronous i/o
araujo_ has quit [Max SendQ exceeded]
Vingador has joined #ruby
jaguarmagenta has joined #ruby
Yiota has quit [Client Quit]
<Bish> well it cannot "prevent" async IO because ruby itself doesnt deal with it right?
<Bish> more like the os, am i wrong?
araujo_ has joined #ruby
<toretore> it could, but it doesn't
goeast has joined #ruby
<hanmac> r_rios: hm that might work
<hanmac> >> d = *0..10;idx = [2,3,4]; idx.map.with_index {|x,i| d[idx[0...i].sum, x] }
<ruby[bot]> hanmac: # => undefined method `sum' for []:Array (NoMethodError) ...check link for more (https://eval.in/583252)
<hanmac> >> d = *0..10;idx = [2,3,4]; idx.map.with_index {|x,i| d[idx[0...i].inject(:+), x] }
<ruby[bot]> hanmac: # => no implicit conversion from nil to integer (TypeError) ...check link for more (https://eval.in/583253)
<hanmac> >> d = *0..10;idx = [2,3,4]; idx.map.with_index {|x,i| d[idx[0...i].inject(:+, 0), x] }
<ruby[bot]> hanmac: # => 0 is not a symbol nor a string (TypeError) ...check link for more (https://eval.in/583254)
<hanmac> ;/ why does it work local? :/
araujo_ has quit [Max SendQ exceeded]
<hanmac> r_rios: ah get it working:
<hanmac> >> d = *0..10;idx = [2,3,4]; idx.map.with_index {|x,i| d[idx[0...i].inject(0, :+), x] }
<ruby[bot]> hanmac: # => [[0, 1], [2, 3, 4], [5, 6, 7, 8]] (https://eval.in/583255)
skade has joined #ruby
kgrz has joined #ruby
araujo has joined #ruby
Yiota has joined #ruby
<domgetter> hanmac: Rails is the reason: http://apidock.com/rails/Enumerable/sum
CloCkWeRX has quit [Ping timeout: 244 seconds]
<hanmac> domgetter: wrong core ruby has #sum too now
futilegames has quit [Quit: futilegames]
freerobby has quit [Quit: Leaving.]
jaguarmagenta has quit [Ping timeout: 272 seconds]
<Bish> Array#sum is back :D?
<domgetter> Is it on master?
araujo_ has joined #ruby
<Bish> >> [1,2,3].sum
<ruby[bot]> Bish: # => undefined method `sum' for [1, 2, 3]:Array (NoMethodError) ...check link for more (https://eval.in/583257)
<hanmac> it is in trunk but not released yet
araujo_ has quit [Max SendQ exceeded]
<hanmac> do you know what is most fun? "[x, 4].max" does not create an Array in trunk ;P
N1njturt1e has joined #ruby
araujo has quit [Ping timeout: 246 seconds]
<domgetter> hanmac: Is that a recent change? Both my rubies return the value, not an array containing the value
<domgetter> ooh, "create" an array
<domgetter> you meant that it doesn't create an intermediate one
mistermocha has joined #ruby
houhoulis has joined #ruby
<hanmac> yeah ruby noticed that you want to do a minmax value and you are not interested in the array itself
<shevy> ruby is good artificial intelligence
goeast has quit [Ping timeout: 258 seconds]
skade has quit [Ping timeout: 252 seconds]
<domgetter> Did we solve the "Sufficiently smart interpreter" problem??
N1njturt1e has quit [Ping timeout: 250 seconds]
mhib has joined #ruby
<Bish> can somebody tell me how efficient symbol to string conversion is?
<Bish> i like to make more usage like &:sym
<Bish> im on my mobile phone right now, i would read the code, and pry doesnt give me anything
skade has joined #ruby
<Bish> for example i would love to have something like
<jhass> Bish: I have trouble linking your question to the latter two sentences
<jhass> what does how fast it is have to do with symbol to proc?
<hanmac> Bish: newer ruby has GabbageCollection for Symbols too so its not bad anymore to use dynamic Symbols
<jhass> symbol to string, not string to symbol hanmac
<Bish> dynamic nature is not my problem
<Bish> more like performance
<Bish> i hate writing
<jhass> of?
ta_ has joined #ruby
lxsameer has joined #ruby
<Bish> %w(one two three).find { |x| x == 'one' }
<Bish> im on my mobile phone ffs :D cannot type as fast
<Bish> wouldnt it be cool to have something like .find &:eql_test
<jhass> so you wonder whether %i(one two three).find {||x| x.to_s == "one" } is faster than that? surely not
maletor3 has joined #ruby
hahuang65 has joined #ruby
<Bish> nah, look my last msg
<Bish> i want more shortcuts like &:sym
<jhass> >> %w(one two three).find(&"one".method(:==))
<ruby[bot]> jhass: # => "one" (https://eval.in/583258)
<jhass> not that much better
sid_fules has quit [Read error: Connection reset by peer]
<Bish> jesus christ i didnt think of that one
d0lph1n98 has joined #ruby
<shevy> Bish I think the problem is that right now there are no special meanings for any symbol like :eql_test symbol
skade has quit [Client Quit]
CloCkWeRX has joined #ruby
<Bish> yeh i know , that was why i asked that question
<Bish> if i was about to monkey patch symbol
<shevy> wow
<Bish> if that was a really stupid idea
<shevy> now that *is* ugly :-)
sid_fules has joined #ruby
<Bish> yeah that code is really unreadable for someone unexperienced
<shevy> I remember the discussion before the lonely operator
<shevy> so many '?' were used
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
<Bish> how does one overwrite & operator?
lxsameer has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
duckpuppy has joined #ruby
maletor3 has quit [Ping timeout: 240 seconds]
<Bish> or is it something special
<Bish> i didnt even know that .method returns a singleton method ( is that correct? )
<Bish> since there is a relation between the object and the method
<Bish> interesting stuff, thats why i love ruby
cd83x has joined #ruby
<shevy> also ugly
<jhass> Bish: & calls to_proc on it's argument and that's how foo(&:bar) works, it calls Symbol#to_proc which returns a handy proc
<Bish> qq cant click links
<shevy> Bish man! you need to get off your phone :D
<Bish> im in garden, good weather
<shevy> don't the phones have voice-to-code already
<Bish> :D
<Bish> i know & calls to_proc
<shevy> yeah the weather is cool here too... lots of sun without it being too hot
<Bish> but is it an overrideable operator?
<jhass> no
<Bish> or is it like core syntax
<jhass> it is
<Bish> so like.. an syntaxalias
<jhass> else we would just have Symbol#&@ defined, not Symbol#to_proc
<Bish> what about !?
<shevy> you do a lot of snoopy swearing right now
<Bish> i mean !Trueclass ?
<Bish> i like thinking in sunshine :3
<domgetter> I still think we should make Numeric#to_f return the number in Fahrenheit
duckpuppy has quit [Ping timeout: 258 seconds]
jaiks has joined #ruby
<Bish> i wonder if there are devs working like this
Mia has quit [Read error: Connection reset by peer]
howdoi has joined #ruby
<Bish> maybe i should buy a phablet
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<shevy> domgetter lol
<shevy> Bish there are some pictures of how nobu works
<shevy> on some slides
<shevy> he is like a man-machine cyborg with a laptop attached
<jhass> Bish: you can override !
hahuang65 has quit [Ping timeout: 260 seconds]
<jhass> >> class TrueClass; def !; true; end; end; !true
<ruby[bot]> jhass: # => true (https://eval.in/583259)
hahuang65 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
darkxploit has joined #ruby
David27 has joined #ruby
<Bish> im out, enjoying the sun
jaiks has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
kgrz has quit [Ping timeout: 252 seconds]
hahuang65 has quit [Ping timeout: 244 seconds]
Crusty__ has joined #ruby
mistermocha has quit [Remote host closed the connection]
dhk has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
al2o3-cr has quit [Ping timeout: 244 seconds]
ruskie has quit [Excess Flood]
ruskie has joined #ruby
ocbtec has joined #ruby
<Bish> test
<Bish> hm, bt keyboards suck.
mleung has quit [Quit: mleung]
al2o3-cr has joined #ruby
mleung has joined #ruby
nankyokusei has joined #ruby
<shevy> you need a real computer
<Bish> how can i get my real computer in the sun
<Bish> there is no elecricity
goeast has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Bish> somehow i manage to send page up but i dont know how qq
ponga has quit []
yqt has joined #ruby
djbkd has joined #ruby
kgrz has joined #ruby
<r_rios> hanmac: That's pretty clever :D. Thanks
yfeldblum has joined #ruby
<r_rios> >> d = *0..10; idx = [2, 3, 4]; idx.each_with_index.map{|x, i| d[idx[0..i].reduce(0, :+), x] }
<ruby[bot]> r_rios: # => [[2, 3], [5, 6, 7], [9, 10]] (https://eval.in/583261)
<r_rios> What
yfeldblum has quit [Remote host closed the connection]
<r_rios> (My Ruby version still doesn't have map_with_index)
yfeldblum has joined #ruby
machinewar has joined #ruby
<machinewar> anyone know what version of rails minitest was added as dependency over test unit?
moeabdol1 has quit [Quit: WeeChat 1.4]
Zighuatl has quit [Remote host closed the connection]
<shevy> r_rios what is your current ruby version?
Cohedrin has joined #ruby
<r_rios> 1.9.3
<r_rios> Can't update yet
blockchan1 has quit [Ping timeout: 260 seconds]
maletor3 has joined #ruby
machinewar has quit [Remote host closed the connection]
<r_rios> >> d = *0..10; idx = [2, 3, 4]; idx.each_with_index.map{|x, i| r_beg = i == 0 ? 0 : idx[0..i - 1].inject(0, :+); d[r_beg, x] }
<ruby[bot]> r_rios: # => [[0, 1], [2, 3, 4], [5, 6, 7, 8]] (https://eval.in/583262)
<r_rios> Not as pretty, but it works. I still don't know why it works with map_with_index, but not with each_with_index.map. Do ranges have a different behavior inside map_with_index?
beilabs has joined #ruby
maletor3 has quit [Ping timeout: 272 seconds]
segment-fault has joined #ruby
nankyokusei has quit [Remote host closed the connection]
nando293921 has joined #ruby
<al2o3-cr> map_with_index?
hutch34 has quit [Ping timeout: 264 seconds]
kareeole_ has joined #ruby
lxsameer has joined #ruby
<r_rios> al2o3-cr: yes
kareeole_ is now known as kareeoleez_
<al2o3-cr> r_rios: you mean map.with_index maybe?
mleung has quit [Quit: mleung]
harai54 has quit [Ping timeout: 250 seconds]
kareeoleez has quit [Ping timeout: 244 seconds]
<r_rios> >> nums = *1..10; nums.map_with_index{|el, idx| {index: idx, element: el} }
<ruby[bot]> r_rios: # => undefined method `map_with_index' for [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]:Array (NoMethodError) ...check link for more (https://eval.in/583265)
ksmutthu has joined #ruby
<r_rios> Yeah, that
Asher has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
kareeoleez_ is now known as kareeoleez
duoi has quit [Ping timeout: 250 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
<al2o3-cr> >> (1..10).map.with_index { |e, i| {index: i, element: e} }
<ruby[bot]> al2o3-cr: # => [{:index=>0, :element=>1}, {:index=>1, :element=>2}, {:index=>2, :element=>3}, {:index=>3, :element= ...check link for more (https://eval.in/583267)
<r_rios> OH
<r_rios> >> v = *1..0; v[0..0]
<ruby[bot]> r_rios: # => [] (https://eval.in/583268)
<r_rios> >> v = *1..10; v[0..0]
<ruby[bot]> r_rios: # => [1] (https://eval.in/583269)
<r_rios> >> v = *1..10; v[0...0]
<ruby[bot]> r_rios: # => [] (https://eval.in/583270)
duoi has joined #ruby
<r_rios> I feel dumb now. I didn't notice he was using three dots in the range instead of two
<r_rios> Although that's really easy to miss
Asher has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
Lingo has joined #ruby
<al2o3-cr> r_rios: btw, map.with_index takes an optional starting index too
ips|malc has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Lingo> Anyone know a good way to Minitest::Benchmark like assertions with input that is *not* numeric?
darkxploit has quit [Quit: Leaving]
<Lingo> *to make
firstdayonthejob has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
Helheim has joined #ruby
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
mleung has joined #ruby
aries_liuxueyang has quit [Ping timeout: 244 seconds]
thejamespinto has joined #ruby
QORRiE has joined #ruby
ljames has quit []
Lingo has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aries_liuxueyang has joined #ruby
rehat has joined #ruby
lxsameer has joined #ruby
jaguarmagenta has joined #ruby
c0mrad3 has joined #ruby
CloCkWeRX has joined #ruby
m_abdelfattah has joined #ruby
Lingo has joined #ruby
buddhabrot_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
ule has quit [Changing host]
ule has joined #ruby
buddhabrot_ has quit [Remote host closed the connection]
tk__ has quit [Quit: ばいばい]
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lingo has quit [Ping timeout: 264 seconds]
tlaxkit has joined #ruby
Lingo has joined #ruby
dhk has quit [Quit: Leaving]
<shevy> if coding would only be as simple as thinking!
Elvin has joined #ruby
m_abdelfattah has quit [Quit: Textual IRC Client: www.textualapp.com]
gtsai has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
mhib has quit [Ping timeout: 258 seconds]
Crusty__ has left #ruby [#ruby]
maletor3 has joined #ruby
yfeldblum has joined #ruby
jerematic has joined #ruby
r_rios has quit [Ping timeout: 244 seconds]
kgrz has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
ishe_ua has joined #ruby
maletor3 has quit [Ping timeout: 246 seconds]
mleung has quit [Quit: mleung]
jerematic has quit [Ping timeout: 244 seconds]
<kspencer> this is a general question, more than anything, but a command in my bot, at the moment takes '<integer> <boolean> <boolean> <boolean> <boolean>, I myself can turn this into pretty much anything but I was hoping to get a more 'golfish' answer, the less characters to enter, the better
agentmeerkat has quit [Ping timeout: 276 seconds]
<kspencer> like say 120,1111 is an option, but I have so many options I get overwhelmed with my own ideas, so I was hoping for better options than my own
agentmeerkat has joined #ruby
Lingo has quit [Read error: Connection reset by peer]
Lingo_ has joined #ruby
chipotle has quit [Quit: cheerio]
sumobob has joined #ruby
imperator has quit [Quit: Leaving]
mhib has joined #ruby
Lingo_ has quit [Client Quit]
DeltaHeavy has joined #ruby
mleung has joined #ruby
giz|work has joined #ruby
hutch34 has joined #ruby
Elvin has quit [Remote host closed the connection]
Elvin has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
DeltaHeavy has left #ruby ["Textual IRC Client: www.textualapp.com"]
kareeole_ has joined #ruby
sepp2k has quit [Ping timeout: 272 seconds]
Pupeno has joined #ruby
noobsu has quit [Remote host closed the connection]
_aeris_ has quit [Ping timeout: 276 seconds]
ips|malc has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
mtaw has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
_aeris_ has joined #ruby
Vingador has quit [Remote host closed the connection]
Elvin has quit [Remote host closed the connection]
brt has joined #ruby
Elvin has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
CloCkWeRX has quit [Quit: Leaving.]
Pupeno has quit [Remote host closed the connection]
kgrz has joined #ruby
Nahra has quit [Remote host closed the connection]
crystal77 has joined #ruby
lupine has quit [Remote host closed the connection]
Pupeno has joined #ruby
Nahra has joined #ruby
gtsai has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 252 seconds]
noobsu__ has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SteveConner has joined #ruby
SteveConner has quit [Client Quit]
Rasi has quit [Quit: WeeChat 1.5]
Rasi has joined #ruby
crystal77 has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
crystal77 has quit [Client Quit]
blockchan has joined #ruby
lxsameer has joined #ruby
blockchan has quit [Ping timeout: 250 seconds]
blockchan has joined #ruby
segment-fault has quit [Quit: Nest time]
maletor3 has joined #ruby
kareeole_ is now known as kareeoleez
tlaxkit has quit [Quit: ¡Adiós!]
David27 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
tildes_ has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
crystal77 has joined #ruby
banister has joined #ruby
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
houhoulis has quit [Remote host closed the connection]
nando294021 has joined #ruby
noobsu__ has quit [Ping timeout: 250 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
mleung has quit [Quit: mleung]
davedev24 has joined #ruby
mtaw has joined #ruby
tildes_ has quit [Ping timeout: 244 seconds]
gtsai has joined #ruby
mtaw has quit [Quit: Leaving]
mistermocha has joined #ruby
mdw has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gtsai has quit [Ping timeout: 276 seconds]
lxsameer has quit [Ping timeout: 258 seconds]
rehat has quit [Remote host closed the connection]
cemerick has joined #ruby
Sammichmaker has quit [Ping timeout: 240 seconds]
kareeoleez has quit [Remote host closed the connection]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jancel has joined #ruby
kareeoleez has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
lupine_ has joined #ruby
lupine_ has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
sid_fules has joined #ruby
nando294021 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
banister has quit [Client Quit]
kareeoleez has quit [Ping timeout: 260 seconds]
k3rn31 has joined #ruby
tildes_ has joined #ruby
crystal77 has joined #ruby
LoneHerm_ has joined #ruby
crystal77 has quit [Client Quit]
mleung has joined #ruby
mistermocha has quit []
crystal77 has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
yqt has quit [Ping timeout: 276 seconds]
harai54 has joined #ruby
N1njturt1e has joined #ruby
davedev2_ has joined #ruby
davedev24 has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
jancel has quit [Read error: Connection reset by peer]
N1njturt1e has quit [Ping timeout: 250 seconds]
harai54 has quit [Ping timeout: 252 seconds]
karmatr0n has joined #ruby
<sumobob> I have 26 really long conditions and i need the return from the first one that resolves to true, whats the cleanest way to set this up in ruby?
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> sumobob: hard to generalize, on that level of question I'd go for extracting each to its own method and doing a method that's just a long multiline a || b || c
Madplatypus has joined #ruby
<jhass> ?crosspost sumobob
<ruby[bot]> sumobob: Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
hutch34 has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 276 seconds]
<sumobob> jhass: I have it all written in pseudocode right now, and wrote helper methods so alot of the greater than and less than checks are in methods
<sumobob> still seems like its going to be a massive if...elsif statement
johnmilton has quit [Ping timeout: 240 seconds]
<jhass> a || b || c is one alternative, the other is return true if a; return true if b; return true if c; false
maletor3 has joined #ruby
millerti has joined #ruby
jerematic has joined #ruby
nettoweb has joined #ruby
mynameisntroy has joined #ruby
<mynameisntroy> what is the coolest thing built with ruby?
<jhass> mynameisntroy: http://xiki.org/
<kspencer> rails and its frameworks, in my opinion
duckpuppy has joined #ruby
<jhass> mmh crystals compiler was bootstrapped with ruby
youch has joined #ruby
<jhass> kspencer: your question lacks a ton of context, which is why I ignored it
jerematic has quit [Ping timeout: 240 seconds]
<jhass> you basically made up a DSL on the spot, gave an example of using it and ask "how do I write parser for this" without explaining it at all
<jhass> not even really explaining the domain
duckpuppy has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
maletor3 has quit [Ping timeout: 244 seconds]
harai54 has joined #ruby
Pupeno has joined #ruby
youch has quit [Ping timeout: 244 seconds]
cd83x has quit [Remote host closed the connection]
giz|work|2 has joined #ruby
QORRiE has quit [Quit: Leaving]
giz|work has quit [Ping timeout: 252 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
johnmilton has joined #ruby
sid_fules has joined #ruby
flashpoint9 has joined #ruby
Pupeno has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sid_fules has joined #ruby
hangelo has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
hangelo has quit [Client Quit]
jaguarmagenta has quit [Remote host closed the connection]
multi_io has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Read error: No route to host]
crystal77 has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
multi_io has joined #ruby
noobsu has joined #ruby
<kspencer> jhass: all I'm trying to do is parse the top commands arguments into a bit mask but allowing arguments to be left out but still come up with the correct mask, for now I guess, I'll just use <int>.bbbb format for giving the arguments
Rodya_ has joined #ruby
Dimik has joined #ruby
banister has joined #ruby
stansmith has joined #ruby
stansmith has quit [Client Quit]
kirun has joined #ruby
mhib has quit [Ping timeout: 250 seconds]
mleung has quit [Quit: mleung]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
pawnbox has joined #ruby
Coldblackice has joined #ruby
cd83x has joined #ruby
dunpeal has quit [Quit: Lost terminal]
hahuang65 has joined #ruby
lele has quit [Ping timeout: 260 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
cemerick has quit [Ping timeout: 260 seconds]
dumdedum has quit [Read error: Connection reset by peer]
mdw has quit [Quit: Sleeping Zzzzz]
lele has joined #ruby
binaryplease1 has joined #ruby
blaxter has joined #ruby
karmatr0n has joined #ruby
last_staff has joined #ruby
binaryplease has quit [Ping timeout: 244 seconds]
johnmilton has quit [Ping timeout: 240 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crystal77 has joined #ruby
davedev24 has joined #ruby
davedev2_ has quit [Ping timeout: 250 seconds]
crystal77 has quit [Client Quit]
karmatr0n has quit [Ping timeout: 250 seconds]
tjohnson has joined #ruby
mdw has joined #ruby
lupine has joined #ruby
mhib has joined #ruby
crystal77 has joined #ruby
binaryplease1 is now known as binaryplease
skweek has quit [Ping timeout: 260 seconds]
arooni has joined #ruby
maletor3 has joined #ruby
cdg has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
crystal77 has quit [Client Quit]
Pupeno has joined #ruby
hypercube32 has quit [Quit: Ex-Chat]
miqlas-H has joined #ruby
N1njturt1e has joined #ruby
Pupeno has quit [Remote host closed the connection]
weaksauce has quit [Ping timeout: 260 seconds]
ElFerna has joined #ruby
maletor3 has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
arooni has quit [Max SendQ exceeded]
r_rios has joined #ruby
kareeoleez has joined #ruby
arooni has joined #ruby
ElFerna has quit []
ElFerna has joined #ruby
Pupeno has joined #ruby
beilabs has quit [Remote host closed the connection]
arooni has quit [Max SendQ exceeded]
freerobby has quit [Quit: Leaving.]
arooni has joined #ruby
Pupeno has quit [Ping timeout: 260 seconds]
blaxter has quit [Quit: foo]
banister has joined #ruby
blaxter has joined #ruby
duoi has quit [Ping timeout: 250 seconds]
sid_fules has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Ping timeout: 252 seconds]
tildes_ has quit [Ping timeout: 252 seconds]
duoi has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giz|work|2 has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
wldcordeiro has quit [Ping timeout: 260 seconds]
Dimik has quit [Ping timeout: 244 seconds]
nando293921 has joined #ruby
arooni has quit [Ping timeout: 276 seconds]
duoi has quit [Quit: duoi]
kareeoleez has quit [Remote host closed the connection]
duoi has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
ElFerna has quit []
duckpuppy has joined #ruby
ElFerna has joined #ruby
mdw_ has joined #ruby
cemerick has joined #ruby
yqt has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Yiota has joined #ruby
mdw has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
nando293921 has quit [Ping timeout: 264 seconds]
ElFerna has quit [Quit: Leaving]
ElFerna has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
goeast has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
hahuang65 has joined #ruby
cdg has quit [Remote host closed the connection]
matp has quit [Remote host closed the connection]
noobsu has quit [Read error: Connection reset by peer]
Pupeno has quit [Remote host closed the connection]
giz|work|2 has joined #ruby
jerematic has joined #ruby
matp has joined #ruby
karmatr0n has joined #ruby
ruby-lang613 has quit [Quit: Page closed]
banister has joined #ruby
maletor3 has joined #ruby
phredus has joined #ruby
croberts is now known as acidrainfall
jerematic has quit [Ping timeout: 246 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
jackjackdripper has joined #ruby
Mon_Ouie has quit [Ping timeout: 252 seconds]
maletor3 has quit [Ping timeout: 276 seconds]
N1njturt1e has joined #ruby
noobsu has joined #ruby
Pupeno has joined #ruby
lightt has joined #ruby
wldcordeiro has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
Pupeno has quit [Remote host closed the connection]
cemerick has quit [Ping timeout: 250 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
flashpoint9 has joined #ruby
nischay has joined #ruby
Yiota has joined #ruby
sphex has quit [Ping timeout: 260 seconds]
lightt has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
<jokke> hey, how can i set the "context" of a proc? i want certain methods to be available inside it. I want to modify the proc, not change the way how i call it (instance_eval for example)
<jhass> wrap it in a proc that _does_ instance_eval it
<jokke> hm yeah
<jokke> i just thought of that too
SCHAAP137 has quit [Ping timeout: 276 seconds]
Pupeno has quit [Remote host closed the connection]
jancel has joined #ruby
duoi has quit [Ping timeout: 272 seconds]
LoneHerm_ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
<jokke> i'm a bit confused...
<jokke> gives me an ArgumentError: wrong number of arguments (given 1, expected 0)
jaguarma_ has joined #ruby
<jhass> instance_eval does pass self as first argument, use a proc instead of a lambda or instance_exec
<jhass> or not self, the receiver rather
kareeoleez has joined #ruby
<jhass> that's only get rid of that error though
<jokke> ah ok
jancel has quit [Ping timeout: 240 seconds]
<jhass> neither will create an instance for you, they couldn't for a module anyway
<jokke> yeah
<jokke> i need to use module_function
<jokke> or extend self
<jokke> right?
<jhass> that's one way
jaguarmagenta has quit [Ping timeout: 260 seconds]
<jokke> class_eval? :)
<jhass> that only is different to the instance_ ones in how it changes the definee
<jokke> mh no
hahuang65 has joined #ruby
SCHAAP137 has joined #ruby
devgiant has joined #ruby
<jokke> i don't get why rubocop complains about extend self
Rodya_ has quit [Remote host closed the connection]
devgiant has quit [Read error: Connection reset by peer]
<jokke> it's just not feasible to use module_function if you have a lot of methods
<jhass> ?!
<jokke> hm?
<jhass> module_function acts like private, protected and public do
devgiant has joined #ruby
<jokke> ahh
<jokke> ahhhhh
<jokke> i never new :D
Rodya_ has joined #ruby
kareeoleez has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
ksmutthu has quit [Read error: Connection reset by peer]
duoi has joined #ruby
<shevy> yeah
pawnbox_ has joined #ruby
<shevy> it's like your toggle switch
blanca has joined #ruby
<blanca> hello
pawnbox has quit [Ping timeout: 264 seconds]
mdw_ has quit [Quit: Sleeping Zzzzz]
mhib has quit [Remote host closed the connection]
ksmutthu has joined #ruby
Elvin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weaksauce has joined #ruby
hahuang65 has quit [Ping timeout: 244 seconds]
antgel has quit [Ping timeout: 244 seconds]
devgiant has quit [Quit: Leaving]
r_rios has quit [Ping timeout: 244 seconds]
N1njturt1e has quit [Remote host closed the connection]
elementaru has quit [Remote host closed the connection]
mleung has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.5]
blanca has quit [Quit: Leaving.]
jtd has quit [Remote host closed the connection]
harai54 has quit [Ping timeout: 264 seconds]
mleung has quit [Client Quit]
jtd has joined #ruby
hutch34 has joined #ruby
jaguarmagenta has joined #ruby
skolman_ has joined #ruby
jaguarma_ has quit [Ping timeout: 260 seconds]
darkxploit has joined #ruby
al2o3-cr has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
hooli has quit [Quit: hooli]
Pupeno has joined #ruby
skolman_ has quit [Ping timeout: 244 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Elvin has joined #ruby
jaguarma_ has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SCHAAP137 has quit [Ping timeout: 276 seconds]
sid_fules has quit [Read error: Connection reset by peer]
Pupeno has quit [Ping timeout: 250 seconds]
Yiota has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
maletor3 has joined #ruby
antgel has joined #ruby
biberu has joined #ruby
Yiota has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
longfeet has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
pepee has joined #ruby
SCHAAP137 has joined #ruby
nischay has quit [Ping timeout: 272 seconds]
jaguarmagenta has joined #ruby
skweek has joined #ruby
kirun has quit [Quit: Client exiting]
hahuang65 has joined #ruby
jaguarma_ has quit [Ping timeout: 240 seconds]
banister has joined #ruby
Yiota has joined #ruby
hutch34 has joined #ruby
giz|work|2 has quit [Ping timeout: 252 seconds]
jaguarma_ has joined #ruby
<jokke> hmm jhass i guess i still don't get the hang of it.. https://p.jreinert.com/gou/
<jokke> undefined local variable or method `foobar'
N1njturt_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
<jhass> I'm not sure module_function works there as you expect
<jokke> yeah i guess it doesn't
<jhass> Helpers.singleton_class.class_eval
<jokke> mh
<jokke> ok
hahuang65 has quit [Ping timeout: 260 seconds]
Vingador has joined #ruby
sphex has joined #ruby
giz|work|2 has joined #ruby
<jokke> jhass: nope
<jokke> jhass: still getting undefined method
<jhass> well and you actually need to forward the block
<jokke> ah ok
<jhass> yield does not keep class_eval's properities
<jokke> yeah that works
<jokke> great thanks
noobsu has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 276 seconds]
framling has quit [Ping timeout: 260 seconds]
duckpuppy has quit [Ping timeout: 272 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
jaguarma_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
bqscott has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
LoneHermit has quit [Ping timeout: 244 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
hutch34 has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
LoneHerm_ has joined #ruby
N1njturt_ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
sdothum has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
N1njturt1e has joined #ruby
chip__ has joined #ruby
ocbtec has quit [Quit: leaving]
r_rios has joined #ruby
marr has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ksmutthu has quit [Read error: Connection reset by peer]
flashpoint9 has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
ksmutthu has joined #ruby
flashpoint9 has quit [Ping timeout: 260 seconds]
maletor3 has joined #ruby
hutch34 has joined #ruby
maletor3 has quit [Ping timeout: 244 seconds]
eljimador has quit [Read error: Connection reset by peer]
eljimador has joined #ruby
n1x-nz has joined #ruby
arooni has joined #ruby
N1njturt1e has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
Es0teric has joined #ruby
arooni has quit [Max SendQ exceeded]
kareeoleez has joined #ruby
arooni has joined #ruby
Yiota has joined #ruby
ta_ has quit [Quit: Leaving...]
hutch34 has quit [Ping timeout: 260 seconds]
sharkman has joined #ruby
<sharkman> hey awesome people can i ask a question please
N1njturt_ has joined #ruby
<havenwood> yes
<sharkman> nice! okay so...
<sharkman> a = { ["key1", "key2"] => "stuff" }, a[["key1",*]]
<sharkman> s there a way to do that
solocshaw has joined #ruby
duckpuppy has joined #ruby
<sharkman> is that a tricky question
<sharkman> i dont know
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arooni has quit [Max SendQ exceeded]
wldcordeiro has joined #ruby
<shevy> this is a syntax error
duckpuppy has quit [Ping timeout: 260 seconds]
<sharkman> what od you mean
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
millerti has joined #ruby
flashpoint9 has joined #ruby
Elvin_ has joined #ruby
Elvin has quit [Ping timeout: 276 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
scepticulous has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Remote host closed the connection]
brt has quit [Quit: peace]
scepticulous has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
firstdayonthejob has quit [Ping timeout: 264 seconds]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
N1njturt_ has quit [Remote host closed the connection]
Yiota has joined #ruby
r_rios has quit [Ping timeout: 244 seconds]
last_staff has quit [Quit: last_staff]
antgel has quit [Ping timeout: 258 seconds]
Dimik has quit []
jerematic has joined #ruby
jackjackdripper1 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
jackjackdripper has quit [Ping timeout: 260 seconds]
maletor3 has joined #ruby
jerematic has quit [Ping timeout: 244 seconds]
Coldblackice has quit [Ping timeout: 250 seconds]
nadir has joined #ruby
Elvin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has quit [Remote host closed the connection]
mozzarella has quit [Quit: WeeChat 1.4]
maletor3 has quit [Ping timeout: 264 seconds]
pawnbox_ has quit [Remote host closed the connection]
A124 has quit [Quit: '']
mozzarella has joined #ruby
d0nn1e has quit [Ping timeout: 258 seconds]
weemsledeux has joined #ruby
RobertBirnie has joined #ruby
ishe_ua has quit [Remote host closed the connection]
buddhabrot_ has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
Gasher has quit [Quit: Leaving]
N1njturt_ has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
antgel has joined #ruby
A124 has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jackjackdripper1 has quit [Quit: Leaving.]
buddhabrot_ has quit [Ping timeout: 260 seconds]
sharkman has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 252 seconds]
youch has joined #ruby
duckpuppy has joined #ruby
flashpoint9 has joined #ruby
TinkerTyper has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
millerti has joined #ruby
millerti has quit [Client Quit]
LoneHermit has joined #ruby
RobertBirnie has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
youch has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Client Quit]
xxneolithicxx has joined #ruby
biberu has quit [Read error: Connection reset by peer]
N1njturt_ has quit [Remote host closed the connection]
skade has joined #ruby
xxneolithicxx has quit [Client Quit]
xxneolithicxx has joined #ruby
Jackneill has quit [Remote host closed the connection]
xxneolithicxx has quit [Client Quit]
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Client Quit]
xxneolithicxx1 has joined #ruby
skade has quit [Client Quit]
domgetter has quit [Ping timeout: 264 seconds]