apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
tkuchiki has joined #ruby
evanjs_ has joined #ruby
<ellisTAA> so when i use the && operator i need to seperate things with parentheses?
<wallerdev> without parentheses it could be parsed as articles.include?(x) && idx > 0 OR it could be parsed as articles.include?(x && idx > 0)
evanjs_ has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 276 seconds]
<ellisTAA> ahhh thank you wallerdev. learn something new everyday :)
Photism has joined #ruby
<ellisTAA> thanks for everyone’s help. ill be sure to give back once i learn ruby
hephaestus_rg has joined #ruby
evanjs has quit [Ping timeout: 244 seconds]
<atmosx> ellisTAA: work out this code, it's very simple https://gist.github.com/atmosx/4bc2dd0a3b94e007b008 and it works apparently as expected. Then you can start compressing by using more advanced expressions. It's what I do when I deal with problems for the first time.
mikepack has quit [Remote host closed the connection]
shime_ has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
leonshalimov has joined #ruby
<wallerdev> +1
delianides has joined #ruby
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has quit [Ping timeout: 272 seconds]
vdamewood has joined #ruby
thatslifeson_ has joined #ruby
agjacome has joined #ruby
<ellisTAA> atmosx: thanks. that looks a bit complicated … is what you wrote considered advanced code?
<ellisTAA> atmosx: ill study it tonight
deric_skibotn has quit [Ping timeout: 244 seconds]
gattie has quit [Quit: Leaving...]
shime has quit [Ping timeout: 245 seconds]
wallerdev has left #ruby [#ruby]
<vandemar> ellisTAA: I think that's considered the basic version, everything explicit without using higher-level features like maps
wallerdev has joined #ruby
<atmosx> ellisTAA: nope. what otertore wrote is considered advanced
jheg has joined #ruby
<ellisTAA> ok cool thanks.
rajeshchawla has quit []
leonshalimov has quit [Ping timeout: 246 seconds]
martinium has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
thatslifeson has quit [Ping timeout: 272 seconds]
ellisTAA has quit [Quit: ellisTAA]
ascarter has joined #ruby
delianid_ has joined #ruby
jheg has left #ruby [#ruby]
delianides has quit [Ping timeout: 245 seconds]
ascarter has quit [Client Quit]
seal has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
startupality has joined #ruby
veduardo has joined #ruby
veduardo has quit [Client Quit]
martinium has quit [Ping timeout: 276 seconds]
veduardo has joined #ruby
freerobby has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
freerobby has quit [Client Quit]
Sawbones_ has joined #ruby
JDiPierro has quit [Ping timeout: 264 seconds]
jgt1 has quit [Read error: Connection reset by peer]
DrShoggoth has quit [Quit: Leaving]
allcentury has quit [Ping timeout: 245 seconds]
Sawbones_ has quit [Remote host closed the connection]
elfuego has joined #ruby
chrisja has quit [Quit: leaving]
jgt1 has joined #ruby
daqo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
freerobby has joined #ruby
_2_cheila has joined #ruby
JDiPierro has joined #ruby
newguise1234 has joined #ruby
baweaver has quit [Remote host closed the connection]
<ByronJohnson> In a module, is it possible to include only the module variables from another module?
Caius has joined #ruby
tokik has joined #ruby
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
happyface has quit [Quit: Connection closed for inactivity]
iamjarvo has joined #ruby
davedev24_ has joined #ruby
Sawbones_ has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
hephaestus_rg has quit [Ping timeout: 265 seconds]
disperso has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
JimmyNeutron has quit [Quit: Leaving]
x77686d has quit [Quit: x77686d]
x77686d has joined #ruby
fenzil has joined #ruby
x77686d has quit [Client Quit]
DadoCe has joined #ruby
francisfish has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n80_ has quit [Quit: n80_]
deric_skibotn has joined #ruby
rbennacer has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sevenseacat has joined #ruby
oo_ has joined #ruby
ghr has joined #ruby
treehug88 has quit []
atom3 has joined #ruby
fryguy91 has quit [Quit: Leaving.]
Sawbones_ has quit [Remote host closed the connection]
Tuxero has quit [Quit: Tuxero]
roshanavand has joined #ruby
scripore has joined #ruby
<roshanavand> hey guys, I have a question, if interpreter reads the code line by line, so how BEGIN and END methods work?
baweaver has joined #ruby
oo__ has joined #ruby
oivoodoo has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
JDiPierro has quit [Remote host closed the connection]
thumpba has quit [Ping timeout: 272 seconds]
oo_ has quit [Ping timeout: 245 seconds]
shivamib has joined #ruby
n80_ has joined #ruby
elfuego has quit [Ping timeout: 256 seconds]
Altonymous has joined #ruby
freerobby has quit [Quit: Leaving.]
tyfighter has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
ascarter has joined #ruby
freerobby has joined #ruby
roshanavand has quit [Quit: roshanavand]
djbkd has quit [Remote host closed the connection]
roshanavand has joined #ruby
<Altonymous> Hey all, I’m using the pg gem to import data into my postgres database. I wrote this method that does most of the work. However, it is extremely slow. I’m wondering if there’s an obvious way to speed it up. https://gist.github.com/304e9926eb7b941f0d2e
chrishough has joined #ruby
evanjs has joined #ruby
juanpablo_ has joined #ruby
djbkd has joined #ruby
<Cat_1> Why don't you just use a CLI import function from a SQL data dump?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
Channel6 has joined #ruby
<Altonymous> because I don’t have permissions to do so
supergiel has joined #ruby
michaeldeol has joined #ruby
shivamib has quit [Ping timeout: 252 seconds]
<Altonymous> Cat_1: Also only part of the file is imported, the first 26 columns.
oivoodoo has quit [Remote host closed the connection]
<Cat_1> Hmmm
<Cat_1> I see.
charliesome has quit [Quit: zzz]
juanpablo_ has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
nunayerBeezwax has joined #ruby
odin22 has quit [Ping timeout: 252 seconds]
martiniu_ has joined #ruby
martiniu_ has joined #ruby
martiniu_ has quit [Changing host]
elfuego has joined #ruby
JimmyNeutron has joined #ruby
conniemj_ has quit [Quit: (null)]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
j0n3 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
alkoma has quit [Ping timeout: 245 seconds]
baweaver has quit [Remote host closed the connection]
jgt2 has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
rbennacer has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
cnj has joined #ruby
shime_ has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
tyfighter has quit [Quit: tyfighter]
evanjs has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
athan has quit [Ping timeout: 244 seconds]
robustus has joined #ruby
fgo has joined #ruby
blizzy has quit [Quit: Leaving]
blizzy has joined #ruby
DivineEntity has quit [Read error: No route to host]
B1n4r10 has joined #ruby
twistedpixels_ has joined #ruby
jgt3 has joined #ruby
B1n4r10 has quit [Max SendQ exceeded]
jgt2 has quit [Ping timeout: 256 seconds]
francisfish has quit [Remote host closed the connection]
MrSamuel has quit [Ping timeout: 255 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
leonshalimov has joined #ruby
Alina-malina has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
supergiel has quit [Quit: Leaving]
tokik has quit [Ping timeout: 264 seconds]
klmlfl has quit [Remote host closed the connection]
leonshalimov has quit [Ping timeout: 276 seconds]
seal has joined #ruby
mrdtt has joined #ruby
ziyadb has joined #ruby
n80_ has quit [Quit: n80_]
n80_ has joined #ruby
mleung has joined #ruby
iamjarvo has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
baweaver has joined #ruby
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
ivanskie has joined #ruby
mleung has quit [Quit: mleung]
blackmesa has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 244 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
mikepack has joined #ruby
nanoyak has joined #ruby
baweaver has quit [Remote host closed the connection]
znst` has joined #ruby
nanoyak has quit [Client Quit]
DadoCe has quit [Remote host closed the connection]
DadoCe has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
nanoyak has joined #ruby
mroach has joined #ruby
twistedpixels_ is now known as twistedpixels
recurrence has quit [Quit: recurrence]
znst` has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
nanoyak has quit [Client Quit]
ali__ has quit [Ping timeout: 246 seconds]
tmtwd has joined #ruby
nanoyak has joined #ruby
ta has quit [Ping timeout: 264 seconds]
DadoCe has quit [Ping timeout: 272 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
ghr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: zzz]
earfin has quit [Ping timeout: 255 seconds]
DadoCe has joined #ruby
mikepack has quit [Remote host closed the connection]
<Altonymous> Hey all, I’m using the pg gem to import data into my postgres database. I wrote this method that does most of the work. However, it is extremely slow. I’m wondering if there’s an obvious way to speed it up. https://gist.github.com/304e9926eb7b941f0d2e
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrdtt has quit [Max SendQ exceeded]
longfeet_ has joined #ruby
djdarkbeat has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
oivoodoo has joined #ruby
mrdtt has joined #ruby
adriancb has joined #ruby
yfeldblum has joined #ruby
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
russt has quit [Quit: russt]
commmmodo has joined #ruby
bashusr has quit [Ping timeout: 240 seconds]
bricker has quit [Quit: leaving]
jenrzzz has joined #ruby
liamkeily has quit [Quit: This computer has gone to sleep]
longfeet has quit [Ping timeout: 264 seconds]
_2_cheila has quit [Quit: WhatsChat IRC Android APP]
charliesome has joined #ruby
nuck has quit [Quit: Computer has gone to sleep.]
Hijiri has joined #ruby
greenbagels has joined #ruby
mikepack has joined #ruby
delianid_ has quit [Ping timeout: 276 seconds]
asteros has quit [Quit: asteros]
tokik has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
mozzarella has quit [Quit: WeeChat 1.0.1]
conniemj_ has joined #ruby
mozzarella has joined #ruby
wodla00_ has joined #ruby
ranjib has quit [Quit: Leaving]
startupality has quit [Quit: startupality]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
x77686d has joined #ruby
oivoodoo has quit [Remote host closed the connection]
doodlehaus has joined #ruby
wodla00 has quit [Ping timeout: 246 seconds]
juanpablo_ has joined #ruby
mloveless has quit [Remote host closed the connection]
x77686d has quit [Client Quit]
rbennacer has joined #ruby
tokik has quit [Ping timeout: 244 seconds]
<wallerdev> Altonymous: what part of your code is running slowly?
<Altonymous> the import itself.
wodla00_ has quit [Ping timeout: 256 seconds]
suy|BNC has joined #ruby
commmmodo has quit [Quit: commmmodo]
<Altonymous> ie put_copy_data call
<wallerdev> you could try removing indexes which should speed up copy significantly with many rows
Hobogrammer_ has joined #ruby
juanpablo_ has quit [Ping timeout: 256 seconds]
dseitz has joined #ruby
checkit has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 245 seconds]
<Altonymous> There are no indexes
<wallerdev> how much data is it
amclain has joined #ruby
<wallerdev> you could try just generating the full file and then run a single copy on it
goleldar has joined #ruby
<goleldar> hello
<wallerdev> hi
<goleldar> anyone know how i can use double condition without having ruby evaluate the second argument if the first returns false
freerobby has joined #ruby
<sevenseacat> huh?
<goleldar> fruit && red
<goleldar> if its not a fruit then don't determine the color
<wallerdev> yup just && and ||
<sevenseacat> thats how it works by default?
<wallerdev> yup by default it short circuits
EasyCo has quit [Quit: Connection closed for inactivity]
nunayerBeezwax has quit []
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TheNet has joined #ruby
oivoodoo has joined #ruby
<goleldar> perfecto
<goleldar> thank you :)
zorak8 has quit [Ping timeout: 246 seconds]
mrmargolis has joined #ruby
daqo has joined #ruby
klmlfl has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
josephndenton has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
DadoCe has quit [Remote host closed the connection]
josephndenton has joined #ruby
bri has quit [Ping timeout: 276 seconds]
ellisTAA has joined #ruby
tangyumeng has quit [Remote host closed the connection]
klmlfl has quit [Ping timeout: 265 seconds]
freerobby has quit [Quit: Leaving.]
goleldar has quit [Remote host closed the connection]
iamjarvo has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
Altonymous has quit [Quit: Altonymous]
davedev24_ has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
dc has quit [Remote host closed the connection]
martiniu_ has quit [Remote host closed the connection]
<ellisTAA> i’m learning programming / ruby on rails. i was wondering what kind of jobs can someone like me get?? how do i go about learning what kind of jobs are out there
<sevenseacat> i thought you were going to be the best ruby programmer ever
josephndenton has joined #ruby
<ellisTAA> yeah that’s what ill strive towards
<ellisTAA> but i’m also going to learn RoR
rbennacer has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
<sevenseacat> :)
josephndenton has quit [Ping timeout: 272 seconds]
<ellisTAA> by the way, matz didnt’ respond to my email
<sevenseacat> not surprised
jeremati_ has joined #ruby
deric_skibotn has quit [Ping timeout: 276 seconds]
fgo has quit [Ping timeout: 255 seconds]
<ellisTAA> ha. hey when i email noam chomsky he gets back to me.
josephndenton has joined #ruby
<ellisTAA> but he is an anarchist and by principle treats ppl as equals
veduardo has quit [Ping timeout: 276 seconds]
<sevenseacat> i see
martinium has joined #ruby
maximski has joined #ruby
evanjs has joined #ruby
snath has joined #ruby
slawrence00 has joined #ruby
jerematic has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
nanoyak has quit [Quit: Computer has gone to sleep.]
tyfighter has joined #ruby
Megtastique has joined #ruby
ellisTAA has left #ruby [#ruby]
einarj has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
djbkd has quit [Quit: My people need me...]
Gue______ has joined #ruby
Gue______ is now known as tims
kapil__ has joined #ruby
c_nick has joined #ruby
<c_nick> how to get the standard stub for a variable in a string in RubyMine
<c_nick> go from @str to #{@str}
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
<c_nick> there was some keyboard shortcut
einarj has quit [Ping timeout: 240 seconds]
Conner__ has joined #ruby
chipotle has quit [Quit: cheerio]
kl__ has quit [Ping timeout: 265 seconds]
kl has quit [Ping timeout: 265 seconds]
giuseppesolinas has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
c_nick has quit [Client Quit]
oivoodoo has quit [Remote host closed the connection]
Aova has joined #ruby
davedev24_ has joined #ruby
thatslifeson_ has quit [Ping timeout: 244 seconds]
<shellox> how would you scrape a website with terrible css, no id or class attributes used in the html and table layout?
pontiki has joined #ruby
giuseppesolinas has quit [Client Quit]
<Xnfu> You could use regexp
<shellox> how so?
<shellox> first i tried to use xpath
<pontiki> hello...
<shellox> the problem is the fields are not the same on each product page
davedev2_ has joined #ruby
<shellox> sometimes it's the first row, sometimes the last
<Xnfu> Just use the body of the page convert it all to text and then use it like data from a file or similar.
<sevenseacat> with great difficulty
<Xnfu> There will be some similarities in all the products, and the data you wish to scrap
<Xnfu> Find that and set up a regexp to extract the data
<shellox> sevenseacat: i try to import ~5000 products from a chinese ecommerce system into shopify. sadly it was written before coding standards were cool lol
leonshalimov has joined #ruby
supergiel has joined #ruby
towski_ has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
reset has quit [Quit: Leaving...]
<pontiki> 1983?
davedev24_ has quit [Ping timeout: 245 seconds]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tmk1108 has joined #ruby
pdoherty has joined #ruby
<shellox> sevenseacat: you usually have suggestions, how would you do it ;)?
vozcelik has joined #ruby
tmk1108 has quit [Quit: Textual IRC Client: www.textualapp.com]
mrmargolis has quit [Remote host closed the connection]
Tamae has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
MrSamuel has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
<sevenseacat> with great difficulty
Obfuscate has quit [Ping timeout: 240 seconds]
<sevenseacat> ive done it before and it didnt work very well
<shellox> how did you do it?
LetErikTry has joined #ruby
<shellox> also convert it to plain text firsts?
<sevenseacat> just using nokogiri to parse the page, and pick out the details very manually, eg. 3rd div with the class foo
juanpablo_ has quit [Ping timeout: 264 seconds]
<shellox> i was thinking about using xpath but the details are not in the same for each product
pdoherty has quit [Ping timeout: 245 seconds]
<shellox> so sometimes it's there and there
try has quit [Ping timeout: 276 seconds]
<shellox> sevenseacat: lol, this site i'm trying to scrape was before divs
<shellox> haha
TheNet has quit [Quit: Leaving...]
tims has quit [Quit: Textual IRC Client: www.textualapp.com]
Obfuscate has joined #ruby
x77686d has joined #ruby
braincra- has joined #ruby
<bradland> if the page layout is inconsistent, the job is much harder
francisfish has joined #ruby
<shellox> bradland: it is :(
<bradland> you either have to identify the variations and write your script to detect and parse accordingly, or you have to develop some smarter method of identifying the data you want
<bradland> sometimes, it's simply impossible
nuck has joined #ruby
<shellox> bradland: the content is also in chinese, so not that easy to identify ;)
<bradland> have you closely examined the structure of many pages?
<bradland> specifically, are you certain they are all completely different, or are there just a number of different vareities?
<shellox> ~30% are the same and i can get them with css selectors using nokogiri
eka has joined #ruby
<shellox> the rest differs and there are no id's or classes used in the text
<shellox> it's all td's and span's
braincrash has quit [Ping timeout: 240 seconds]
<bradland> ok, even without css paths, you could get there by xpath, or by navigating the node tree more or less manually
<bradland> but are the pages at least consistent?
<bradland> or are there sets of consistency
Porfirium has joined #ruby
sleepee has joined #ruby
<bradland> like some pages use this layout, and some use another, but there are groups?
<bradland> sry, that wasn't a question lol
<bradland> not easy, but that's about all you can do
GarbagePailKid has quit [Ping timeout: 246 seconds]
francisfish has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
longfeet_ has quit [Read error: Connection reset by peer]
sleepee has quit [Remote host closed the connection]
bashusr has joined #ruby
<elfuego> is it possible to specify a drive on windows to log to. this is what i’m using now log/production2.log I want to specify a secondary mounted drive
dc has joined #ruby
Megtastique has quit []
Porfirium has quit [Client Quit]
<bradland> elfuego: have you tried passing the full path?
larissa has quit [Quit: Leaving]
klmlfl has joined #ruby
<bradland> also, you haven't really specified what you're passing this path to. rails logger? log4r?
mikepack has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
znst` has joined #ruby
GarbagePailKid has joined #ruby
ikanobori has quit [Ping timeout: 245 seconds]
daxroc has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lepht_ has quit [Read error: Connection reset by peer]
incomprehensibly has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Ping timeout: 272 seconds]
whoojemaflip has quit [Ping timeout: 245 seconds]
klmlfl has quit [Ping timeout: 255 seconds]
Cache_Money has joined #ruby
freerobby has joined #ruby
znst` has quit [Ping timeout: 246 seconds]
kapil__ has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 264 seconds]
arrubin has quit [Read error: Connection reset by peer]
Kharma has quit [Ping timeout: 252 seconds]
cbetta has quit [Ping timeout: 265 seconds]
zipkid has quit [Read error: Connection reset by peer]
mjc_ has quit [Ping timeout: 244 seconds]
mostlybadfly has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby
martinium has quit [Remote host closed the connection]
Sawbones_ has joined #ruby
vikram_ has quit [Read error: Connection reset by peer]
Eiam_ has joined #ruby
shivamib has joined #ruby
odin22 has joined #ruby
echevemaster has joined #ruby
zorak8 has joined #ruby
nanoyak has joined #ruby
tonyhb has joined #ruby
Ankhers has quit [Remote host closed the connection]
martinium has joined #ruby
martinium has joined #ruby
ajaiswal has joined #ruby
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fgo has joined #ruby
rbennacer has joined #ruby
oo__ has quit [Remote host closed the connection]
xxneolithicxx has joined #ruby
arrubin has joined #ruby
zipkid has joined #ruby
jpinnix______ has joined #ruby
bestie has joined #ruby
lepht has joined #ruby
thesheff17 has joined #ruby
kyote has joined #ruby
incomprehensibly has joined #ruby
alekst_ has joined #ruby
frankS2 has joined #ruby
cbetta__ has joined #ruby
mjc_ has joined #ruby
oo_ has joined #ruby
arrubin has quit [Client Quit]
arup_r has joined #ruby
Kharma has joined #ruby
vikram_ has joined #ruby
mostlybadfly has joined #ruby
kapil__ has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
LetErikTry has quit [Changing host]
LetErikTry has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
martinium has quit [Remote host closed the connection]
tokik has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
radic has quit [Ping timeout: 245 seconds]
lepht has quit [Read error: Connection reset by peer]
maximski has quit [Ping timeout: 244 seconds]
ggherdov has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
fandi has joined #ruby
claptor has joined #ruby
vikram_ has quit [Ping timeout: 272 seconds]
jpinnix______ has quit [Ping timeout: 265 seconds]
Sawbones_ has quit [Remote host closed the connection]
frankS2 has quit [Ping timeout: 265 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
maximski has joined #ruby
mjc_ has quit [Ping timeout: 245 seconds]
radic has joined #ruby
Alina-malina has joined #ruby
cbetta__ has quit [Ping timeout: 245 seconds]
alekst_ has quit [Ping timeout: 272 seconds]
Kharma has quit [Read error: Connection reset by peer]
kyote has quit [Ping timeout: 265 seconds]
incomprehensibly has quit [Ping timeout: 276 seconds]
giuseppesolinas has joined #ruby
nanoyak has quit [Remote host closed the connection]
bestie has quit [Ping timeout: 272 seconds]
nanoyak has joined #ruby
maximski has quit [Client Quit]
zipkid has quit [Ping timeout: 265 seconds]
Sawbones_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
mostlybadfly has quit [Ping timeout: 245 seconds]
kapil__ has quit [Ping timeout: 245 seconds]
ggherdov has quit [Ping timeout: 272 seconds]
kl has joined #ruby
_chs_ has quit [Ping timeout: 265 seconds]
SpikeMaster has joined #ruby
agjacome has quit [Quit: leaving]
supergiel has quit [Read error: Connection reset by peer]
hanachin has quit [Remote host closed the connection]
SpikeMaster has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
blackoperat has quit [Remote host closed the connection]
MrSamuel has quit [Ping timeout: 264 seconds]
kl has quit [Ping timeout: 264 seconds]
recurrence has joined #ruby
whoojemaflip has joined #ruby
sleepee has joined #ruby
russt has joined #ruby
tonyhb has quit [Quit: peace]
x77686d has quit [Quit: x77686d]
Tricon has joined #ruby
avr has joined #ruby
braincra- has quit [Quit: bye bye]
tonyhb has joined #ruby
jxf has joined #ruby
jeremati_ has quit [Remote host closed the connection]
daxroc has joined #ruby
lepht has joined #ruby
thesheff17 has joined #ruby
vikram_ has joined #ruby
sleepee has quit [Ping timeout: 245 seconds]
ikanobori has joined #ruby
xxneolithicxx has left #ruby [#ruby]
braincrash has joined #ruby
claptor has quit [Quit: this channel is bakas]
tonyhb has quit [Client Quit]
frankS2 has joined #ruby
thesheff17 has quit [Client Quit]
Kharma has joined #ruby
jgt4 has joined #ruby
Tricon has quit [Ping timeout: 256 seconds]
daxroc has quit [Client Quit]
incomprehensibly has joined #ruby
jpinnix______ has joined #ruby
kyote has joined #ruby
cbetta__ has joined #ruby
oivoodoo_ has joined #ruby
russt has quit [Ping timeout: 246 seconds]
jgt3 has quit [Ping timeout: 264 seconds]
anaeem1_ has joined #ruby
bashusr has quit [Ping timeout: 272 seconds]
bestie has joined #ruby
fgo has joined #ruby
russt has joined #ruby
mjc_ has joined #ruby
bashusr has joined #ruby
gr33n7007h has quit [Ping timeout: 264 seconds]
Lingo has joined #ruby
oivoodoo_ has quit [Ping timeout: 252 seconds]
mostlybadfly has joined #ruby
elfuego has quit [Quit: elfuego]
supergiel has joined #ruby
gz_rain has joined #ruby
astrobunny has joined #ruby
oivoodoo has joined #ruby
baltazore has joined #ruby
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
fgo has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
Lingo has quit [Read error: Connection reset by peer]
fodiw has joined #ruby
zipkid has joined #ruby
seal has quit [Quit: Ex-Chat]
evanjs has quit [Remote host closed the connection]
ascarter has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Axy has joined #ruby
Axy has joined #ruby
Mia has quit [Read error: Connection reset by peer]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
baltazore has quit [Remote host closed the connection]
<fodiw> Hello, I have the following JSON hash and I would like to call a method (insert into db) for each entry (get the key, get the value and do the action). What is the best way to do it?
sleepee has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
giuseppesolinas has joined #ruby
jgt has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
Rayford has joined #ruby
giuseppesolinas has quit [Client Quit]
alekst_ has joined #ruby
dc has quit [Remote host closed the connection]
yfeldblum has joined #ruby
arup_r has quit [Quit: Leaving.]
Tricon has joined #ruby
dc has joined #ruby
yfeldblu_ has joined #ruby
jgt4 has quit [Ping timeout: 276 seconds]
kyb3r_ has joined #ruby
kapil__ has joined #ruby
ggherdov has joined #ruby
giuseppesolinas has joined #ruby
tyfighter has quit [Quit: tyfighter]
<shellox> it opens ff, but nothing happens
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Remote host closed the connection]
dc has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
benlieb has quit [Quit: benlieb]
dfinninger has joined #ruby
dc has joined #ruby
dc has quit [Remote host closed the connection]
baltazore has joined #ruby
baltazore has quit [Remote host closed the connection]
tyfighter has joined #ruby
blizzy has quit [Ping timeout: 245 seconds]
Morrolan has joined #ruby
dfinninger has quit [Remote host closed the connection]
slawrence00 has joined #ruby
<shellox> nevermind, was firefox developer edition not working with it
daxroc has joined #ruby
baltazore has joined #ruby
djbkd has joined #ruby
nuck has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
nuck has joined #ruby
vdamewood has joined #ruby
havenwood has joined #ruby
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
<Rayford> anyone familar with the Omniauth gem for Gitlab?
<Rayford> looking at connecting to gitlab with omniauth but cannot get the provider to work
josephndenton has quit [Ping timeout: 256 seconds]
Sawbones_ has quit [Remote host closed the connection]
<Rayford> instructions are a little rinky dinky
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troubadour has joined #ruby
_chs_ has joined #ruby
Sawbones_ has joined #ruby
thesheff17 has joined #ruby
_chs_ is now known as Guest91472
zdaniel has joined #ruby
martinium has joined #ruby
thumpba_ has joined #ruby
sleepee has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
TinkerTyper has quit [Ping timeout: 256 seconds]
thumpba has quit [Read error: Connection reset by peer]
Tricon has quit [Ping timeout: 276 seconds]
commmmodo has joined #ruby
niftylettuce has joined #ruby
thumpba has joined #ruby
Sawbones_ has quit [Ping timeout: 252 seconds]
recurrence has quit [Quit: recurrence]
martinium has quit [Remote host closed the connection]
zB0hs has joined #ruby
thumpba_ has quit [Ping timeout: 246 seconds]
zB0hs has quit [Client Quit]
bronson has quit [Ping timeout: 244 seconds]
leonshalimov has joined #ruby
juanpablo_ has joined #ruby
SparkMasterTape has quit [Read error: Connection reset by peer]
Vile` has joined #ruby
kl has joined #ruby
kl__ has joined #ruby
dc has joined #ruby
mrmargolis has joined #ruby
josephndenton has joined #ruby
oo_ has joined #ruby
leonshalimov has quit [Ping timeout: 245 seconds]
TinkerTyper has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
russt has quit [Quit: russt]
russt has joined #ruby
kl has quit [Ping timeout: 264 seconds]
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
mrmargolis has quit [Ping timeout: 246 seconds]
kl__ has quit [Ping timeout: 276 seconds]
baroquebobcat has joined #ruby
recurrence has joined #ruby
mloveless has joined #ruby
Tricon has joined #ruby
jerematic has joined #ruby
kt2 has joined #ruby
Sawbones_ has joined #ruby
Obfuscate has quit [Ping timeout: 246 seconds]
pdoherty has joined #ruby
etqqkoiflwhb has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
hmsimha has joined #ruby
fgo has joined #ruby
crack_user has joined #ruby
jerematic has quit [Ping timeout: 245 seconds]
<etqqkoiflwhb> Is there a mailing list for the mail gem https://github.com/mikel/mail?
Channel6 has joined #ruby
TinkerTyper has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
<Radar> etqqkoiflwhb: no
pdoherty has quit [Ping timeout: 245 seconds]
recurrence has quit [Quit: recurrence]
znst` has joined #ruby
<etqqkoiflwhb> Radar: cool, thanks
avahey91 has joined #ruby
fgo has quit [Ping timeout: 255 seconds]
Hobogrammer_ has quit [Ping timeout: 264 seconds]
echevemaster has quit [Remote host closed the connection]
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Sawbones_ has joined #ruby
francisfish has joined #ruby
MasterPiece has joined #ruby
commmmodo has quit [Quit: commmmodo]
larissa has joined #ruby
odin22 has quit [Quit: leaving]
fodiw has quit [Ping timeout: 246 seconds]
twistedpixels is now known as zz_twistedpixels
Sawbones_ has quit [Remote host closed the connection]
zz_twistedpixels is now known as twistedpixels
arescorpio has quit [Excess Flood]
znst` has quit [Ping timeout: 252 seconds]
^wald0 has joined #ruby
francisfish has quit [Ping timeout: 245 seconds]
Obfuscate has joined #ruby
Sawbones_ has joined #ruby
Hobogrammer has joined #ruby
taiansu has joined #ruby
larissa has quit [Quit: Leaving]
tyfighter has quit [Quit: tyfighter]
ikanobori has quit [Read error: Connection reset by peer]
tus has quit []
ikanobori has joined #ruby
josephndenton has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby
thesheff17 has quit []
josephndenton has joined #ruby
thesheff17 has joined #ruby
mrdtt has quit [Quit: Textual IRC Client: www.textualapp.com]
jxf has quit [Ping timeout: 244 seconds]
jxf has joined #ruby
kennym has joined #ruby
josephndenton has quit [Ping timeout: 246 seconds]
cn28h has joined #ruby
kennym is now known as Guest27161
Channel6 has quit [Quit: Leaving]
josephndenton has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
russt has quit [Quit: russt]
recurrence has joined #ruby
TheMoonMaster has quit [Ping timeout: 246 seconds]
smithdown has joined #ruby
cn28h has quit [Ping timeout: 256 seconds]
smithdown has quit [Client Quit]
ndrei has joined #ruby
joel has joined #ruby
joel is now known as smithdown
arrubin has joined #ruby
arrubin has quit [Client Quit]
<ericwood> just go to sleep everyone
<ericwood> it's late
<sevenseacat> it's 1.43pm...?
crodas has joined #ruby
redcodefinal has joined #ruby
<shevy> you live in a weird timezone cat
<redcodefinal> Hello!
<Cat_1> The night is young
<Cat_1> unfortunately I am not
<Cat_1> :)
greenbagels has quit [Read error: Connection reset by peer]
<sevenseacat> shevy: UTC+8 all the way.
<shevy> oh there is more than one cat
<Xnfu> man cat
<Xnfu> man cat
shevy is now known as shevycat
ta has joined #ruby
<shevycat> now we can be alley cats like in aristocats
josephndenton has quit [Ping timeout: 256 seconds]
<Xnfu> One of my all time favorite movies
arrubin has joined #ruby
<shevycat> Xnfu did you see how microsoft calls "cat" in the powershell?
<ericwood> I've been drinking and dicking with zsh and I'm afraid I'm now having an existential crisis
<Xnfu> lol no
tyfighter has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
<Xnfu> Zsh is nice
cn28h has joined #ruby
<shevycat> ericwood I tried to switch to zsh but then suddenly I realized, I am too lazy
<shevycat> only thing I miss in bash is RPROMPT
<Xnfu> type ?
<Xnfu> oh
<Xnfu> Get-Content
<Xnfu> That's ugly :/
<shevycat> :)
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Xnfu> Get-Help, ulgy
<Xnfu> ugly *
<shevycat> Get-Content /tmp
<shevycat> oh wait
<Xnfu> Why do they prepend Get to everything
<shevycat> that would be List-Content I suppose
<Xnfu> Yea
<Xnfu> Get-Content /tmp/file.txt
<shevycat> ack wait
<shevycat> they call it Get-ChildItem
<Xnfu> for dirs
<shevycat> hehe
<ericwood> shevycat: are you saying microsoft cat-calls?
<ericwood> that's not nice
<Xnfu> or gci
TheMoonMaster has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
bluOxigen has joined #ruby
conniemj_ has quit [Quit: (null)]
ndrei has quit [Ping timeout: 264 seconds]
<shevycat> haha
<shevycat> microcat
Axy has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 276 seconds]
Xiti has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
Xiti has joined #ruby
<Xnfu> I didn't even know about pushd popd before heh
thumpba has quit [Remote host closed the connection]
bronson has joined #ruby
enebo has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
<shevycat> well in ruby these would exist I guess
enebo has joined #ruby
freerobby has quit [Quit: Leaving.]
dfinninger has joined #ruby
Xiti has quit [Client Quit]
taiansu has quit [Ping timeout: 264 seconds]
taiansu has joined #ruby
daqo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jusmyth has joined #ruby
ericwood has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
<ericwood> wooohoooooo netsplit
Tricon has quit [Ping timeout: 252 seconds]
<Xnfu> Nah, I think it was just you
<sevenseacat> lol
<ericwood> anyone in NYC?
<Xnfu> 50 Cent and 40 Cal are
troubadour has quit [Quit: troubadour]
fryguy9 has joined #ruby
fryguy9 has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
Guest91472 is now known as _chs_
Cache_Money has quit [Quit: Cache_Money]
oo_ has quit [Remote host closed the connection]
supergiel has quit [Quit: Leaving]
baltazore has quit [Remote host closed the connection]
oo_ has joined #ruby
josephcs has joined #ruby
recurrence has quit [Quit: recurrence]
wpp has joined #ruby
wpp has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oivoodoo has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
oleo__ has quit [Quit: Verlassend]
fenzil has quit [Read error: Connection reset by peer]
<shevycat> Xnfu lol
shevycat is now known as shevy
Joufflu has joined #ruby
fgo has joined #ruby
<redcodefinal> i love this irc
larissa has joined #ruby
<redcodefinal> this is the only programming chat where people actively reference hip-hop
ARCADIVS has quit [Ping timeout: 252 seconds]
ajaiswal has quit [Quit: Leaving]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ivanskie has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
taiansu_ has joined #ruby
taiansu has quit [Read error: Connection reset by peer]
Sawbones_ has quit []
<ericwood> we keep it phresh
ta has joined #ruby
krz has joined #ruby
MrSamuel has joined #ruby
martinium has joined #ruby
x77686d has joined #ruby
jgt has quit [Read error: Connection reset by peer]
smithdown has quit [Quit: WeeChat 0.4.1]
dfinninger has quit [Remote host closed the connection]
otherj has joined #ruby
jgt has joined #ruby
ta has quit [Ping timeout: 265 seconds]
Tricon has joined #ruby
tokik has quit [Quit: leaving]
<shevy> redcodefinal ruby just makes you going \o/
<shevy> after I do a gem upload, I shuffle
nanoyak has quit [Quit: Computer has gone to sleep.]
tokik has joined #ruby
MrSamuel has quit [Ping timeout: 264 seconds]
tokik has quit [Client Quit]
bronson has joined #ruby
apeiros has quit [Remote host closed the connection]
tokik has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby
<arup_r> shevy: someone like you came here shevycat: I thought you changed your name.. :)
<arup_r> How to parse large XML files with Nokogiri in Rails?I would like to parse large (more than 2 GB) XML data files with Nokogiri.If I do normal DOM parsing, surely the system will crash as Nokogiri::XML(file_open).Is there any best strategy for large XML files parsing with Nokogiri?
mostlybadfly has quit [Quit: Connection closed for inactivity]
Beoran__ has joined #ruby
djbkd has quit [Remote host closed the connection]
<shevy> ack XML
<shevy> in cases like that you probably need to iterate over each line
<shevy> and keep some reference to tags open
tyfighter has quit [Quit: tyfighter]
<shevy> sounds like a nightmare
<arup_r> :(
<Beoran__> there are plenty existing XML parsers
<Beoran__> use those unless you have a very good reason
apeiros has quit [Ping timeout: 245 seconds]
St_Marx has quit [Remote host closed the connection]
mleung has joined #ruby
charliesome has quit [Quit: zzz]
<pontiki> you might get more useful answers at the Nokogiri google group if no one here knows (i sure don't)
krzkrz has joined #ruby
St_Marx has joined #ruby
kenneth has joined #ruby
Xiti has joined #ruby
<pontiki> tho that page doesn't exactly inspire confidence
codecop has joined #ruby
codecop_ has joined #ruby
codecop has quit [Remote host closed the connection]
fandi has quit [Ping timeout: 245 seconds]
<shevy> haha
mloveless has quit [Remote host closed the connection]
niftylettuce has quit [Quit: Connection closed for inactivity]
MasterPiece has joined #ruby
josephcs has quit [Ping timeout: 240 seconds]
tobago has joined #ruby
MrSamuel has joined #ruby
leonshalimov has joined #ruby
Trieste has quit [Ping timeout: 276 seconds]
juanpablo_ has joined #ruby
mleung has quit [Ping timeout: 244 seconds]
amclain has quit [Quit: Leaving]
noop has joined #ruby
sandelius has joined #ruby
<arup_r> pontiki: :)
Trieste has joined #ruby
jusmyth has quit [Quit: Leaving.]
taiansu_ has quit [Remote host closed the connection]
krzkrz has quit [Quit: WeeChat 1.0.1]
juanpablo_ has quit [Ping timeout: 240 seconds]
leonshalimov has quit [Ping timeout: 264 seconds]
MrSamuel has quit [Ping timeout: 252 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
taiansu_ has joined #ruby
jschoolcraft has quit [Quit: zzzz]
Sawbones_ has joined #ruby
speaking1ode has joined #ruby
tagrudev has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
<Rayford> I created a gem, uploaded it to ruby gems, then did a bundle install, but i cannot require it
<Rayford> any ideas?
Sawbones_ has quit [Remote host closed the connection]
<Rayford> (it did download during the bundle)
<sevenseacat> you made it wrong?
<pontiki> how did you test it?
seal has joined #ruby
<Rayford> test it?
^wald0 has quit [Quit: ^wald0]
<pontiki> the gem
<Rayford> i just made a few small modifications to a gem that was already working
zdaniel has quit []
<Rayford> did a gem build
<Rayford> thena gem push
Rhainur1 has joined #ruby
apeiros has joined #ruby
oo_ has quit [Remote host closed the connection]
BTRE has quit [Quit: Leaving]
<shevy> Rayford when you use gem install, it will be installed
<Rayford> gem list shows it
<Rayford> but still could not load it
oo_ has joined #ruby
lkba has joined #ruby
<pontiki> Rayford: !code and errors
<helpa> Rayford: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
oo_ has quit [Read error: Connection reset by peer]
sevenseacat has quit [Quit: Leaving.]
taiansu_ has quit [Remote host closed the connection]
oo_ has joined #ruby
MrSamuel has joined #ruby
Rayford has quit [Quit: Rayford]
sevenseacat has joined #ruby
ta has joined #ruby
ascarter has joined #ruby
klmlfl has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
MrSamuel has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 265 seconds]
klmlfl has quit [Ping timeout: 245 seconds]
pdoherty has joined #ruby
fgo has joined #ruby
etqqkoiflwhb has quit [Quit: (null)]
Xeago has joined #ruby
shime has joined #ruby
hvxgr has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
ramfjord has joined #ruby
duncannz has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fgo has quit [Ping timeout: 255 seconds]
bal has joined #ruby
arup_r_ has joined #ruby
nfk has joined #ruby
Joufflu has quit [Ping timeout: 245 seconds]
psy_ has quit [Ping timeout: 246 seconds]
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
arup_r has quit [Ping timeout: 252 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
taiansu has joined #ruby
ErrantEgo has joined #ruby
SmokeyBear has joined #ruby
SmokeyBear has left #ruby [#ruby]
Xeago_ has joined #ruby
arup_r_ has quit [Remote host closed the connection]
arup_r has joined #ruby
psy_ has joined #ruby
YamakasY has quit [Excess Flood]
Xeago has quit [Ping timeout: 264 seconds]
jusmyth has joined #ruby
<pontiki> and there ye have it
Xeago_ is now known as xeago
xeago is now known as Xeago
bashusr has quit [Ping timeout: 264 seconds]
YamakasY has joined #ruby
Porfirium has joined #ruby
nuck has quit [Quit: Computer has gone to sleep.]
bashusr has joined #ruby
ARCADIVS has joined #ruby
_Andres has joined #ruby
YamakasY has quit [Excess Flood]
djbkd has joined #ruby
dfinninger has joined #ruby
YamakasY has joined #ruby
bashusr has quit [Ping timeout: 245 seconds]
iwishiwerearobot has joined #ruby
lampd1 has quit [Remote host closed the connection]
bashusr has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 246 seconds]
andikr has joined #ruby
LouisRoR has joined #ruby
havenwood has quit [Remote host closed the connection]
_Andres has quit [Quit: jazz]
_Andres has joined #ruby
defrang has joined #ruby
kwd has joined #ruby
avahey91 has quit [Quit: Connection closed for inactivity]
poguez has joined #ruby
ta has joined #ruby
anarang has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
bjornar has joined #ruby
x77686d has quit [Quit: x77686d]
mityaz has quit [Quit: Leaving]
Porfirium has quit [Quit: Porfirium]
St_Marx has quit [Remote host closed the connection]
fgo has joined #ruby
Xiti` has joined #ruby
taiansu has quit [Ping timeout: 244 seconds]
Xiti` has quit [Changing host]
Xiti` has joined #ruby
taiansu has joined #ruby
SixiS has joined #ruby
shivamib has quit [Ping timeout: 264 seconds]
rdark has joined #ruby
seal has quit [Quit: Ex-Chat]
ta has quit [Ping timeout: 245 seconds]
kamilc__ has joined #ruby
Xiti has quit [Ping timeout: 244 seconds]
Aswebb_ has joined #ruby
oo_ has quit [Remote host closed the connection]
kitofr has joined #ruby
St_Marx has joined #ruby
Xiti` has quit [Quit: Xiti`]
St_Marx has quit [Client Quit]
oo_ has joined #ruby
arup_r has quit [Remote host closed the connection]
terlar has quit [Quit: WeeChat 1.1]
St_Marx has joined #ruby
oo_ has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
arup_r has joined #ruby
oo_ has joined #ruby
nuck has joined #ruby
vyorkin has joined #ruby
bashusr has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
msgodf has joined #ruby
rbennacer has joined #ruby
last_staff has joined #ruby
livathinos has joined #ruby
ta has joined #ruby
tmtwd has quit [Remote host closed the connection]
krzkrz has joined #ruby
rbennacer has quit [Ping timeout: 245 seconds]
aswen has joined #ruby
livathinos has quit [Client Quit]
ta has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
rdark has quit [Ping timeout: 255 seconds]
unclouded has joined #ruby
rdark has joined #ruby
lolmaus has quit [Ping timeout: 240 seconds]
ubtfxb has joined #ruby
pontiki has quit [Quit: bedtime]
ARCADIVS has quit [Ping timeout: 256 seconds]
St_Marx has quit [Quit: WeeChat 1.0.1]
antgel has joined #ruby
St_Marx has joined #ruby
dmolina has joined #ruby
genpaku has joined #ruby
shime has quit [Ping timeout: 245 seconds]
Tricon has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
astrobunny has quit [Remote host closed the connection]
tesuji has joined #ruby
Photism has quit [Quit: Leaving]
reinaldob has quit [Remote host closed the connection]
alex88 has joined #ruby
otherj has quit [Quit: .]
ak has joined #ruby
leonshalimov has joined #ruby
LouisRoR has quit [Ping timeout: 240 seconds]
juanpablo_ has joined #ruby
rdark has quit [Quit: leaving]
kt2 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
LouisRoR has joined #ruby
rdark has joined #ruby
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
<ak> I'm new to ruby and have built a ruby server on centos7, when I try to do a bundle install I'm seeing errors can someone help? http://ur1.ca/jhjht
jimms has joined #ruby
<avril14th> ak: you have two gems that need different versions of another gem
Porfirium has joined #ruby
<avril14th> ak: you need to update one of them to reconcile and get a version that both can use
terlar has joined #ruby
leonshalimov has quit [Ping timeout: 255 seconds]
Porfirium has quit [Client Quit]
timonv has joined #ruby
LouisRoR has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
juanpablo_ has quit [Ping timeout: 245 seconds]
<ak> ok thanks, that helps
Xiti has joined #ruby
duncannz has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
hs366 has joined #ruby
ARCADIVS has joined #ruby
josephndenton has joined #ruby
JohnBat26 has joined #ruby
nrsk has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
jerematic has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
baltazore has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
_Andres has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
conniemj_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
amundj has quit [Read error: No route to host]
timonv has quit [Ping timeout: 265 seconds]
amundj has joined #ruby
jerematic has quit [Ping timeout: 255 seconds]
arrubin has quit [Quit: Connection closed for inactivity]
rrtbram has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
thumpba has joined #ruby
klmlfl has joined #ruby
ghr has joined #ruby
conniemj_ has quit [Ping timeout: 246 seconds]
LetErikTry has quit [Ping timeout: 272 seconds]
krzkrz has quit [Ping timeout: 246 seconds]
amundj has quit [Ping timeout: 255 seconds]
troulouliou_dev has joined #ruby
LouisRoR has joined #ruby
thumpba has quit [Ping timeout: 246 seconds]
baltazore has quit [Remote host closed the connection]
klmlfl has quit [Ping timeout: 240 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
taiansu has quit [Remote host closed the connection]
fantazo has joined #ruby
amundj has joined #ruby
Tabmow has quit [Ping timeout: 264 seconds]
wookiehangover has quit [Ping timeout: 245 seconds]
kp666 has joined #ruby
soxet has quit [Ping timeout: 245 seconds]
redcodefinal has quit [Quit: Leaving]
taiansu has joined #ruby
arup_r has joined #ruby
giuseppesolinas has joined #ruby
kwd has quit [Quit: kwd]
pdoherty has joined #ruby
wookiehangover has joined #ruby
thatslifeson_ has joined #ruby
Macaveli_ has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
Macaveli_ has quit [Client Quit]
SolarSailor has joined #ruby
AlSquire has joined #ruby
philwantsfish1 has joined #ruby
Macaveli has joined #ruby
garethrees has joined #ruby
francisfish has joined #ruby
chthon has joined #ruby
pdoherty has quit [Ping timeout: 245 seconds]
Conner__ has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 264 seconds]
philwantsfish has quit [Ping timeout: 264 seconds]
Morkel has joined #ruby
olivier_bK has joined #ruby
fjfish has joined #ruby
francisfish has quit [Read error: Connection reset by peer]
fandi has joined #ruby
pardusf has quit []
GarbagePailKid has quit [Ping timeout: 256 seconds]
soxet has joined #ruby
The_Phoenix has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Xeago_ has joined #ruby
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
dc has quit [Remote host closed the connection]
GarbagePailKid has joined #ruby
Xeago has quit [Ping timeout: 255 seconds]
oivoodoo has joined #ruby
<The_Phoenix> I'm looking for a free Ruby+Rails IDE. Something like Eclipse for Java+JEE. I tried Eclipse with Aptana plugin. The plugin won't install. I tried Aptana Studio. It crashes on launch. I tried RedCar but I can't get it to work with Bitnami. Komodo and RubyMine are not free. I don't expect much from an IDE other than a seamless launch/deployment. I'm looking for Linux x64.
Macaveli has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
giuseppesolinas has joined #ruby
trxDraxon has joined #ruby
joonty has joined #ruby
giuseppesolinas has quit [Client Quit]
timgauthier_away is now known as Timgauthier
marr has joined #ruby
decoponio has joined #ruby
Macaveli has joined #ruby
sevenseacat has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
<certainty> shevy: say something nice to me
zorak8 has joined #ruby
giuseppesolinas has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
Oberon4278 has joined #ruby
ItSANgo has quit [Quit: Leaving...]
Xeago has joined #ruby
Fredericks has joined #ruby
<waxjar> The_Phoenix: most people use just a text-editor, ide support is difficult due to ruby's dynamic nature.
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
zwer_b has joined #ruby
ishikawa has quit [Ping timeout: 250 seconds]
zwer has quit [Ping timeout: 250 seconds]
Doow has joined #ruby
taiansu has quit [Read error: Connection reset by peer]
<The_Phoenix> waxjar: Is there's any kinda tool for one-click/one-command deployment?
lkba_ has joined #ruby
taiansu has joined #ruby
liamkeily has joined #ruby
Fredericks has quit [Client Quit]
lolmaus has joined #ruby
ishikawa has joined #ruby
<The_Phoenix> waxjar: I come from a Java/Eclipse background and I'm pretty used to all these tools. Although code completetion would be nice, I mostly want seamless deployment/debugging.
Xeago_ has quit [Ping timeout: 276 seconds]
<The_Phoenix> waxjar: Is there's another tool which can acheive the requirement? I'm new to Ruby/Rails. So, I'm not exactly sure about tools or where to find 'em.
seal has joined #ruby
hanmac1 has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
lkba has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 1.0.1]
ta has joined #ruby
<waxjar> pry is popular for debugging, it drops you in a repl at a point you specify. deployment idk much about, mina seems nice
davidhq has joined #ruby
ferr has joined #ruby
p0wn3d_mhs has joined #ruby
<The_Phoenix> waxjar: Thanks. Hmm.
kl___ has joined #ruby
kl__ has joined #ruby
ponga has quit [Remote host closed the connection]
reinaldob has joined #ruby
ponga has joined #ruby
mroach has quit [Quit: mroach]
ta has quit [Ping timeout: 276 seconds]
<rrtbram> The_Phoenix: I have a similiar background and am new to ruby as well (about 2-3 months in)
sevenseacat has joined #ruby
<rrtbram> and have used netbeans allot in the past
<rrtbram> my sugestion to you is to start learning ruby and use a simple editor
<shevy> certainty still thinking about ur mom
mkaesz has joined #ruby
<certainty> shevy: yeah she has that effect
krzkrz has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
tokik has quit [Ping timeout: 252 seconds]
krzkrz has quit [Client Quit]
Hobogrammer has quit [Ping timeout: 244 seconds]
giuseppesolinas has joined #ruby
ponga has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
withnale__ has joined #ruby
kl___ has quit [Ping timeout: 256 seconds]
kl__ has quit [Ping timeout: 256 seconds]
<atmosx> The_Phoenix: RubyMine?
<rrtbram> he/she wants a free IDE
<atmosx> rrtbram: NetBeans IIRC supports ruby.
kl__ has joined #ruby
<atmosx> KDevelop supports ruby too, but you need to compile it manually and add support, it's not trivial and support might be not full-featured.
kl___ has joined #ruby
georgesmith has joined #ruby
FAMAS has joined #ruby
FAMAS has quit [Max SendQ exceeded]
<atmosx> that said, everyone here uses tmux + vim + guard/rerun + pry/irb etc.
blackmesa has joined #ruby
FAMAS has joined #ruby
<rrtbram> atmosx: NetBeans had droped support for ruby
FAMAS has quit [Max SendQ exceeded]
<rrtbram> it has it in a form of plugin
<rrtbram> of sorts
<rrtbram> tough I moved on to vim
<rrtbram> for better or worse :)
<rrtbram> interesting learing curve
Porfirium has joined #ruby
<rrtbram> am yet to try out tmux as well
<atmosx> rrtbram: do you use macros in vim?
<atmosx> I see.
<rrtbram> no not really
<rrtbram> I started using it aroudn a 2 weeks ago
<atmosx> rrtbram: can you copy and paste easily? :-)
<atmosx> I see
<rrtbram> yeah :)
<rrtbram> I enable that
<atmosx> cool :-)
<rrtbram> I enables that
<rrtbram> the bigest problem to over come is not to start typing
<rrtbram> bofre i press i,o, a etc
<atmosx> a
<rrtbram> and of course hjkl stuff
<atmosx> I see, change between insert/edit mode
<rrtbram> yeah and the swap for : and ; helped
<rrtbram> allot
Porfirium has quit [Remote host closed the connection]
<atmosx> hahaha
Porfirium has joined #ruby
<rrtbram> I try to take from other peoples .vimrc but not everything since most of it I don't know what it is for
<rrtbram> but I managed to create my own colorsheme base upon molokai and some other
troubadour has joined #ruby
<atmosx> rrtbram: yeah vim is a world by itself
<rrtbram> yeah
nuck has quit [Quit: Computer has gone to sleep.]
leafybasil has quit [Remote host closed the connection]
lolmaus has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
arup_r has quit [Remote host closed the connection]
josephcs has joined #ruby
<rrtbram> it is one of those times where procrastinaton from the project at hand was a good ide
<rrtbram> one thing kinda leads to another, i later switched to zsh as well
<atmosx> you're growing a bear too? :-)
<rrtbram> ahaha
<rrtbram> well sort of had it before :P
<atmosx> I take it you're into linux :-)
<rrtbram> the main problem now is that there is so much of everything everywhere that I can't but feel overwhelmed
giuseppesolinas has quit [Quit: This computer has gone to sleep]
arup_r has joined #ruby
<atmosx> rrtbram: yeah tell me about it...
<rrtbram> switched to ubuntu about 2-3 months ago
martinium has quit [Remote host closed the connection]
<rrtbram> since it had rvm etc
<atmosx> rrtbram: cool, rvm rocks yeah
<rrtbram> and noticed that pretty muich every dev for ruby is into linux and max
<rrtbram> *mac
<atmosx> yeap
seal has quit [Quit: Ex-Chat]
<rrtbram> I plunged almost head first into rails
<atmosx> Windows is a rather hostile platform
<atmosx> without prior ruby knowledge?
<rrtbram> mostly
<rrtbram> and I kinda did fine
<rrtbram> I mean i have some previos codeigniter knowledge
<rrtbram> and ruby is kind logical most of the time
<rrtbram> and rails is so specialzed that you pretty much at the n00b level don't even need that much ruby knowledge
jenrzzz has quit [Ping timeout: 256 seconds]
<atmosx> Everytime I try to read about rails I get so bored, I've got a book and gone through half-way. However a managed to create a couple of projects using rails, it's easy becuase I've done sone sinatra apps using MVC and now I'm used to most of it.
<rrtbram> how ever, I could not shake the feeling that I am missing out ALLOT
<atmosx> rrtbram: yes it comes with too many convetions that's true.
<rrtbram> so I "dialed back" to ruby
<rrtbram> and decided to learn ruby the properly
krz has joined #ruby
<atmosx> cool
<atmosx> I'm strill trying to figure out when should I use blocks in my code.
lolmaus has joined #ruby
<atmosx> I don't seem to be able to wrap my hear around them
<rrtbram> yeah that one takes time
<atmosx> not understand them, that's easy okay... but actually find use cases.
<rrtbram> you mush look at allot of code from the repositories
<rrtbram> it ends up being really convnient if anything
<atmosx> which repos you have in mind?
<rrtbram> justy pick pretty much any
<rrtbram> I really can't recall
<atmosx> okay
<atmosx> where u from?
giuseppesolinas has joined #ruby
rodfersou has joined #ruby
<rrtbram> here is a decent guide that can make you think in terms of closures https://rubymonk.com/learning/books/9-practicing-ruby
<rrtbram> I mean I am yet to really accept them and think in terms of them but I am getting there
shime has joined #ruby
<atmosx> cool
<rrtbram> the probem right now for me is the models vs inheritance and when use
<rrtbram> them
Xnfu has joined #ruby
<rrtbram> since I used java mostly I mostly think in terms of inheritance
<rrtbram> and lack the flexiblity
<Xnfu> :/
<rrtbram> :\
<atmosx> you mean modules?
<rrtbram> yeah modules
<atmosx> not modules
<atmosx> err models
<atmosx> oh okay
<rrtbram> srry
kl__ has quit [Ping timeout: 256 seconds]
<rrtbram> also since in ruby (as far as I know) there are no abstraction classes I kinda feel lost
kl___ has quit [Ping timeout: 265 seconds]
<Xnfu> Remind me to never again run a list on this server
<atmosx> rrtbram: that's confusing becuase everone uses modules in a omnipresent way. I mean things that should be done with a class most people (even advanced devs) do it with moduels... becuase in ruby modules act like classes. In theory they should be used to avoid name colisions, monkey_patching, etc.
n008f4g_ has joined #ruby
<atmosx> but now even I use them more than classes...
<rrtbram> hmm makes sence
<rrtbram> not to mention that you can pretty much stick them everywhere
oivoodoo has quit [Remote host closed the connection]
<atmosx> exactly
kl__ has joined #ruby
jonesthedolphin has quit [Remote host closed the connection]
kl___ has joined #ruby
ta has joined #ruby
<rrtbram> also both testing and documentation is not something I have used much before
<atmosx> testing is another pain.
dc has joined #ruby
<rrtbram> and since rspec looks like entier new language I decided to skick with minitest for now
<rrtbram> and yard for doc
<atmosx> I need to read theory on testing... Most of the times I don't know what to test. I don't mean a specific output, I'm talking in a more abstract way.
<rrtbram> which is actually easier than it seemed at first
troubadour has quit [Quit: troubadour]
<rrtbram> hmm
<rrtbram> yeah I have problems with TDD as well
<atmosx> TDD sucks, kills my productivity totally.
<atmosx> I write test afterwards (ssh don't tell anybody)
lkba has joined #ruby
Zai00 has joined #ruby
<rrtbram> for me I kinda mix it up
oivoodoo has joined #ruby
<rrtbram> Box 3.3 When to test
leonshalimov has joined #ruby
<rrtbram> is a good guide line for me
<rrtbram> since I think it terms of code or pictures
<rrtbram> I mostly write tome class skeleton
<rrtbram> and methods
vvivv has joined #ruby
<rrtbram> the moment I have some idea about stuuf I go to unit tests
govg has quit [Ping timeout: 276 seconds]
juanpablo_ has joined #ruby
try has joined #ruby
<rrtbram> I am yet to learn proper integration testing
sevenseacat has quit [Ping timeout: 256 seconds]
taiansu has quit [Remote host closed the connection]
<rrtbram> but honestly both tests and documentation really helps when designing methods
<atmosx> I need a lot more practice on testing
govg has joined #ruby
lkba_ has quit [Ping timeout: 245 seconds]
<rrtbram> although since I am new at this all it is PAINFULY SLOW
taiansu has joined #ruby
JohnBat26 has joined #ruby
<rrtbram> add learing git and vim
<rrtbram> learing good practice with commits, etc
<atmosx> heeh well, don't worry
<atmosx> it will all come around I guess
<rrtbram> I hope :)
<rrtbram> I really like the whole ruby thing
<rrtbram> the community etc
<atmosx> yes it's a nice community
<rrtbram> and would actually want to be a ruby/rails dev
<rrtbram> it is not thatr I don't like java or c#
baltazor_ has joined #ruby
<rrtbram> but even if this feels much harder overal
<rrtbram> I like this better
<gregf_> atmosx: TDD is good if you start with the test ;)
leonshalimov has quit [Ping timeout: 246 seconds]
<rrtbram> I noticed that if I am doing something I know starting with test is easy
<rrtbram> but if I am creating some new app
<rrtbram> then it is a problem
timonv has joined #ruby
<rrtbram> for new rails app is easy since development always follows almost the same rouad
juanpablo_ has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
taiansu has quit [Ping timeout: 246 seconds]
<gregf_> rrtbram: well imho, TDD helps one write robust code. in addition if anything changes in the application which affects some part of the code then the tests failure helps find the fix :)
oivoodoo_ has joined #ruby
withnale__ has quit [Ping timeout: 265 seconds]
jonesthedolphin has joined #ruby
<hanmac1> the only rails i use are in simutrans ;P
<rrtbram> gregf_: I agree wholy
withnale__ has joined #ruby
<rrtbram> and as soon as I can write tests in a new app I do
oivoodoo has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 272 seconds]
<rrtbram> generaly the better you are in ruby (I guess) the easier you find to write test first, same goes for experience
<rrtbram> but when you are just starting it is hard
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
zorak8 has quit [Ping timeout: 256 seconds]
<rrtbram> well i'm off for now
rrtbram has left #ruby ["Konversation terminated!"]
blackmesa has quit [Ping timeout: 272 seconds]
renier_ has joined #ruby
dionysus69 has joined #ruby
jonathan_alban has joined #ruby
<The_Phoenix> rrtbram: Thanks. Will keep that in mind.
<The_Phoenix> atmosx: RubyMine is paid. I seem interested in NetBeans but they seem to have dropped support.
<The_Phoenix> atmosx: I haven't read any books on rails yet. Following Rails Guide but instead of doing their exercises. I fixed my mind on a webapp am personally interested in. Problem oriented learning is the best approach to learn programming imo.
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta has joined #ruby
jenrzzz has joined #ruby
yfeldblum has joined #ruby
FAMAS has joined #ruby
FAMAS has quit [Max SendQ exceeded]
FAMAS has joined #ruby
sevenseacat has joined #ruby
FAMAS has quit [Max SendQ exceeded]
<The_Phoenix> I honestly don't understand why Aptana won't launch properly. It's a packaged application.
dc has quit [Remote host closed the connection]
elfuego has joined #ruby
ldnunes has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
blackmesa has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
rodfersou has quit [Quit: Lost terminal]
ta has quit [Ping timeout: 276 seconds]
rodfersou has joined #ruby
vyorkin has joined #ruby
sprihodko has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
troubadour has joined #ruby
Aswebb_ has joined #ruby
Conner__ has joined #ruby
hmsimha has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
hmsimha has joined #ruby
kp666 has quit [Remote host closed the connection]
leafybasil has joined #ruby
josephcs has quit [Quit: (null)]
thatslifeson_ has quit [Ping timeout: 245 seconds]
fjfish has quit [Read error: Connection reset by peer]
arup_r has quit [Remote host closed the connection]
francisfish has joined #ruby
dANOKELOFF has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
ta has joined #ruby
iLike has joined #ruby
dionysus69 has quit [Remote host closed the connection]
arup_r has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas has joined #ruby
postmodern has quit [Quit: Leaving]
<dANOKELOFF> Hi, I have two array , the first is a = [nil , 8 , 17 , nil ] and the second is b = [nil, nil, 4, nil ] and I want the result is c = [nil , 8 , nil , nil ]. I think I need to use XOR but I dont know how use it, if anyone can help me
<canton7> ok, so "if a nil exists in one, take the other. if both are set, take nil"?
<dANOKELOFF> yes
pdoherty has joined #ruby
<canton7> a.zip(b).map{ |x,y| x.nil? == y.nil? ? nil : x || y }
<dANOKELOFF> thank's man
<canton7> make sure you understand how it works :P
ta has quit [Ping timeout: 245 seconds]
baltazor_ has quit [Remote host closed the connection]
kitofr has quit [Ping timeout: 245 seconds]
baltazore has joined #ruby
<dANOKELOFF> yes , but at the beginning I search an operator like a && b
giuseppesolinas has quit [Quit: This computer has gone to sleep]
pdoherty has quit [Ping timeout: 255 seconds]
Zai00 has quit [Quit: Zai00]
dEPy has joined #ruby
elfuego has quit [Quit: elfuego]
giuseppesolinas has joined #ruby
defrang has quit [Quit: defrang]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
giuseppesolinas has quit [Client Quit]
joonty has quit [Quit: joonty]
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
baltazore has quit [Ping timeout: 240 seconds]
fedalto has joined #ruby
tvw has joined #ruby
arup_r has quit [Remote host closed the connection]
<atmosx> exit
arup_r has joined #ruby
<shevy> atmosx rescue
baltazore has joined #ruby
<certainty> shevy: i hear your mother supports bang methods
<tobiasvl> heyo
dimaursu16 has quit [Ping timeout: 245 seconds]
oivoodoo_ has quit [Remote host closed the connection]
gfawcettpq1 has joined #ruby
giuseppesolinas has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
arup_r_ has joined #ruby
<shevy> certainty yeah, she learned that from ur mom
jschoolcraft has joined #ruby
doodlehaus has joined #ruby
mostlybadfly has joined #ruby
arup_r has quit [Ping timeout: 252 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<kl___> hey guys
<kl___> if you use a certain kind of logger in your application
<kl___> do you tend to dependency inject it through your entire application?
oivoodoo has joined #ruby
sprihodko has quit [Quit: (null)]
<canton7> a logger is one thing I never DI
<kl___> canton7: interesting, why should that be the exception?
<canton7> a logger is really an implementation detail. if you're relying on some IoC framework to inject the correct logger into every class, you've stopped yourself from ever instantiating those classes yourself
mkaesz has quit [Ping timeout: 245 seconds]
oivoodoo has quit [Client Quit]
<canton7> the class doesn't "need" the logger in order to function. you could remove all logging and it would be fine. logging isn't part of the architecture - it's an add-on to provide debug output. the logging should not feature in your architecture at all
<kl___> canton7: that makes sense.
Oberon4278 has quit []
<kl___> canton7: what was that about stopping yourself from ever instantiating things yourself?
<kl___> a consequence of DI itself, you mean?
<canton7> that pain comes from C# w/ IoC frameworks - whether you see the same pain in ruby depends on whether you're using an IoC framework - and most ruby guys don't
<kl___> canton7: I use Dim (by Jim Weirich)
<canton7> but one approach to logging is to get the IoC container to inject a logger instance into all classes that are instantiated by that container. so the container will call some funky stuff to get the correct logger instance to pass in
<canton7> how, if you want to create an instance of that class yourself, without the IoC container, you *should* be able to: just pass in all of its dependencies yourself. if one of those dependencies is a specially taylored and instantiated logger, you're probably not going to be able to create that yourself
<canton7> and you're not going to be able to have it injected into you - you'll have *your* logger injected into you, but not someone else's
baltazore has quit [Remote host closed the connection]
dimaursu16 has joined #ruby
baltazore has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<kl___> canton7: ..perhaps an include MyLogger would just be sufficient
<canton7> how do you mean?
<kl___> well
noop has quit [Quit: Leaving]
<kl___> class MyClass; include MyLogger; end;
<canton7> sure
<canton7> the C# way is to get a logger instance from a static factory
<canton7> ...that logger is taylored to the class requesting it, e.g. provides the class name in its output
<canton7> there are probably cleaner ways in ruby
vyorkin has quit [Ping timeout: 245 seconds]
jonathan_alban has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Remote host closed the connection]
workmad3 has joined #ruby
ferr has quit [Ping timeout: 255 seconds]
roolo has joined #ruby
joonty has joined #ruby
vyorkin has joined #ruby
Zai00 has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
dEPy has quit [Quit: (null)]
jimms_ has joined #ruby
troubadour has quit [Quit: troubadour]
ferr has joined #ruby
The_Phoenix has left #ruby [#ruby]
kitofr has joined #ruby
jimms has quit [Ping timeout: 256 seconds]
TTilus has joined #ruby
sleepee has joined #ruby
jokke has quit [Ping timeout: 265 seconds]
Jamo has joined #ruby
kotk_ has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
saltsa has quit [Ping timeout: 276 seconds]
shime_ has joined #ruby
saltsa has joined #ruby
kotk has quit [Ping timeout: 245 seconds]
livathinos has joined #ruby
newguise1234 has quit [Ping timeout: 246 seconds]
fgo has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
startupality has joined #ruby
n1lo has joined #ruby
jokke has joined #ruby
shime has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby
mroach has joined #ruby
tkuchiki has quit [Remote host closed the connection]
yfeldblum has joined #ruby
tkuchiki has joined #ruby
bronson has quit [Remote host closed the connection]
banister has joined #ruby
ELLIOTTCABLE is now known as ec
leonshalimov has joined #ruby
juanpablo_ has joined #ruby
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby
workmad3 is now known as wm3|away
tkuchiki has quit [Ping timeout: 255 seconds]
defrang has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
ubtfxb has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
kamilc__ has joined #ruby
tosdvf has joined #ruby
leonshalimov has quit [Ping timeout: 264 seconds]
juanpablo_ has quit [Ping timeout: 244 seconds]
pico-pete has joined #ruby
try has quit [Ping timeout: 256 seconds]
shazaum has joined #ruby
ta has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
ItSANgo has joined #ruby
ItSANgo_ has joined #ruby
shazaum has joined #ruby
shazaum has quit [Changing host]
ItSANgo has quit [Client Quit]
wald0 has joined #ruby
ghostbox has joined #ruby
blackmesa has joined #ruby
ta has quit [Ping timeout: 276 seconds]
roolo has quit [Remote host closed the connection]
Azure has joined #ruby
livathinos has quit [Remote host closed the connection]
livathinos has joined #ruby
kp666 has joined #ruby
kp666 has quit [Read error: Connection reset by peer]
n1lo_ has joined #ruby
n1lo has quit [Ping timeout: 240 seconds]
booly-yam-4014 has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
dideler has joined #ruby
parduse has joined #ruby
klmlfl has joined #ruby
try has joined #ruby
tokik has joined #ruby
spyderman4g63 has joined #ruby
CamonZ has joined #ruby
ta has joined #ruby
hiyosi has joined #ruby
spyderma_ has joined #ruby
scripore has quit [Quit: Leaving]
nhhagen has joined #ruby
adriancb has quit [Remote host closed the connection]
tvw has quit []
spyderman4g63 has quit [Ping timeout: 246 seconds]
klmlfl has quit [Ping timeout: 276 seconds]
baltazore has quit [Ping timeout: 255 seconds]
VictorBjelkholm has joined #ruby
baltazore has joined #ruby
mrdtt has joined #ruby
baltazore has quit [Remote host closed the connection]
mrdtt has quit [Max SendQ exceeded]
bayed has joined #ruby
mrdtt has joined #ruby
kl__ has quit [Ping timeout: 244 seconds]
kl___ has quit [Ping timeout: 246 seconds]
mrdtt has quit [Max SendQ exceeded]
doodlehaus has quit [Remote host closed the connection]
mrdtt has joined #ruby
fgo has joined #ruby
mrdtt has quit [Max SendQ exceeded]
iamjarvo_ has joined #ruby
iamjarvo_ has quit [Max SendQ exceeded]
timonv has joined #ruby
iamjarvo_ has joined #ruby
mrdtt has joined #ruby
djbkd has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
mrdtt has quit [Max SendQ exceeded]
Timgauthier is now known as timgauthier_away
mrdtt has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
shazaum_ has joined #ruby
mrdtt has quit [Max SendQ exceeded]
icbm has joined #ruby
mrdtt has joined #ruby
ta has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 264 seconds]
shazaum has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
timgauthier_away is now known as Timgauthier
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
metadave has joined #ruby
avr has quit [Quit: this channel is bakas]
rrtbram has joined #ruby
rrtbram has quit [Client Quit]
ferr has joined #ruby
baltazore has joined #ruby
philwantsfish1 has quit []
Aswebb_ has joined #ruby
ta has joined #ruby
doodlehaus has joined #ruby
GarbagePailKid has quit [Quit: Lost terminal]
baltazore has quit [Remote host closed the connection]
jerematic has joined #ruby
maasha has joined #ruby
mrdtt has quit [Max SendQ exceeded]
<maasha> hi
mrdtt has joined #ruby
defrang has quit [Read error: Connection reset by peer]
defrang has joined #ruby
<maasha> In unit testing is there a good way to omit all tests if say a specific executable version called with `` is not available?
<maasha> I can do omit_if() in each test, but that is not DRY
doodlehaus has quit [Remote host closed the connection]
blackmesa has joined #ruby
elfuego has joined #ruby
ta has quit [Ping timeout: 265 seconds]
mrdtt has quit [Max SendQ exceeded]
brb3 has joined #ruby
mrdtt has joined #ruby
fandi has quit [Quit: Leaving]
francisfish has quit [Read error: Connection reset by peer]
shay- has joined #ruby
tosdvf has quit [Remote host closed the connection]
francisfish has joined #ruby
mrdtt has quit [Max SendQ exceeded]
deuti has joined #ruby
mrdtt has joined #ruby
bronson has joined #ruby
<shay-> Hi, I have a small ruby program which is called several time to validate some user input. It requires some libraries, which take ages to load. Is there a possiblity to load it only once and then hold it in memory or soemthing?
<wm3|away> maasha: very dependent on your test framework
ta has joined #ruby
wm3|away is now known as workmad3
kl__ has joined #ruby
kl has joined #ruby
<avril14th> shay-: why not keeping the ruby program running?
mrdtt has quit [Max SendQ exceeded]
Porfirium has quit [Quit: Porfirium]
aclearman037 has joined #ruby
tonyhb has joined #ruby
mrdtt has joined #ruby
<shay-> avril14th: it is executed with the start parameters which tell it what to validate, sure it can be adjusted but I look for a fast way to improve that
fgo has joined #ruby
elfuego has quit [Quit: elfuego]
maximski has joined #ruby
<workmad3> shay-: there isn't a fast way... you need to adjust the interaction with the program somehow
oivoodoo has joined #ruby
pdoherty has joined #ruby
maximski has quit [Max SendQ exceeded]
<waxjar> or look for lighter libraries
mrdtt has quit [Max SendQ exceeded]
<workmad3> shay-: such as not shelling out to the script and instead exposing it as a library itself that you can load into a larger ruby program, and simply call methods when necessary... or by creating a long-running daemon for the validation part and the command-line client communicates with that (and starts it if it's not running)
bronson has quit [Ping timeout: 245 seconds]
<workmad3> shay-: or as waxjar says, use libraries that don't take so long to load
maximski has joined #ruby
mrdtt has joined #ruby
psy_ has quit [Read error: No route to host]
djdarkbeat has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
<hanmac1> shay-: or check if you really need all of the stuff you do require ... Other Question, do you use Rails for that?
pdoherty has quit [Ping timeout: 264 seconds]
psy_ has quit [Max SendQ exceeded]
<shay-> hammac1: nope no rails. I will adjust it to run as daemon i thnk
baltazore has joined #ruby
psy_ has joined #ruby
wlanboy_ has joined #ruby
ta has quit [Ping timeout: 276 seconds]
mrdtt has quit [Max SendQ exceeded]
<hanmac1> shay- if you might do a gist of your stuff we might check what else you might do to make it better
wlanboy_ is now known as wlanboy
baltazore has quit [Read error: Connection reset by peer]
booly-yam-4014 has quit [Remote host closed the connection]
baltazore has joined #ruby
tvw has joined #ruby
baltazore has quit [Read error: Connection reset by peer]
booly-yam-4014 has joined #ruby
blackoperat has joined #ruby
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
suy|BNC has quit [Ping timeout: 245 seconds]
baltazore has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
oo_ has quit [Remote host closed the connection]
oivoodoo_ has joined #ruby
baltazor_ has joined #ruby
juanpablo_ has joined #ruby
vvivv has quit [Ping timeout: 244 seconds]
oivoodoo has quit [Ping timeout: 245 seconds]
baltazore has quit [Ping timeout: 245 seconds]
dstarh has joined #ruby
gr33n7007h has joined #ruby
troubadour has joined #ruby
troubadour has quit [Remote host closed the connection]
baltazor_ has quit [Remote host closed the connection]
suy|BNC has joined #ruby
juanpablo_ has quit [Ping timeout: 265 seconds]
earfin has joined #ruby
troubadour has joined #ruby
tkuchiki has joined #ruby
<maasha> I am getting a failing test on a new laptop: <"{:SEQ=>\"atcgatcgatcgatcgatcgatcgatcgtacgacgtagct\"}{:SEQ=>\"gtgtgtagctacgatcagctagcgatcgagctatatgttt\"}{:TYPE=>\"H\", :CLUSTER=>0, :SEQ_LEN=>40, :IDENT=>100.0, :STRAND=>\"+\", :CIGAR=>\"40M\", :Q_ID=>\"1\", :S_ID=>\"test1\", :RECORD_TYPE=>\"usearch\"}{:TYPE=>\"N\", :CLUSTER=>0, :SEQ_LEN=>0, :STRAND=>\".\", :CIGAR=>\"*\", :Q_ID=>\"2\", :RECORD_TYPE=>\"usearch\"}{:one=>1, :two=>2, :three=>3
znst has joined #ruby
<maasha> the encoding is strange? UTF-8 vs US-ASCII. I never touched encoding.
lxsameer has quit [Ping timeout: 265 seconds]
baltazore has joined #ruby
<maasha> (and a bit of my paste has gone missing, the last part read: ... :three=>3}">(US-ASCII) )
psy_ has quit [Ping timeout: 240 seconds]
<sevenseacat> IRC does have character limits for messages. we don't like walls of text.
<maasha> sevenseacat: sure
ferr has quit [Ping timeout: 245 seconds]
<Timgauthier> maasha you can gist gist.github.com
<sevenseacat> if you want help with a test failure, you should start with gisting the test and the error.
<Timgauthier> or pastie.org
dANOKELOFF has quit [Quit: Quitte]
<maasha> Timgauthier: I know. it was a limited paste though.
spider-mario has joined #ruby
<Timgauthier> *shrug* i put em all in gists because it is way easier for people to read then a string of text
<canton7> personally I'd ratehr see that nicely formatted in a pastie
<maasha> Here goes: https://gist.github.com/maasha/8638e14e0a7d9f5b8310 - the test is only failing on my new mac. Works on the old one and on a number of linux boxes.
elfuego has joined #ruby
<Timgauthier> holyshit, i can read it lol okay
juanpablo_ has joined #ruby
teddyp1cker has joined #ruby
<Timgauthier> do you have all the same gems (and versions) on your new machine, are you running the same version of ruby
klmlfl has joined #ruby
WillAmes has quit [Remote host closed the connection]
psy_ has joined #ruby
<maasha> I suspect LANG env
WillAmes has joined #ruby
<maasha> LC_CTYPE=UTF-8
arrubin has joined #ruby
ta has joined #ruby
dionysus69 has joined #ruby
nateberkopec has joined #ruby
keen__________38 has joined #ruby
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
Treyt22 has joined #ruby
ebbflowgo has joined #ruby
<sevenseacat> looks like nothing to do with the encoding
<sevenseacat> the data is different
kaspertidemann has joined #ruby
keen__________37 has quit [Ping timeout: 264 seconds]
<sevenseacat> i mean, a H doesnt turn into an N because of encoding
klmlfl has quit [Ping timeout: 244 seconds]
<maasha> Hm, I hate locale settings
yfeldblum has quit [Ping timeout: 265 seconds]
arup_r_ has quit []
jenrzzz has joined #ruby
fgo has joined #ruby
akamel has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
iLike has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/20150108202552]]
freerobby has joined #ruby
commmmodo has joined #ruby
kitofr has quit [Ping timeout: 244 seconds]
leonshalimov has joined #ruby
martinium has joined #ruby
Beoran__ has quit [Ping timeout: 246 seconds]
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
ebbflowgo has left #ruby [#ruby]
banister has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
rebcabin has joined #ruby
Aswebb_ has quit []
dblessing has joined #ruby
taiansu has joined #ruby
leonshalimov has quit [Ping timeout: 255 seconds]
axilla has joined #ruby
taiansu has quit [Client Quit]
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
ta has quit [Ping timeout: 276 seconds]
rrtbram has joined #ruby
<axilla> hi all, i'm working on a recursive function to take a response from an API and convert it to a dynatree formated json data. I'm a bit stumped with adding the children to the array once the parent has already been added.. the api returns the object id and its parents id so i can relate them that way.. can someone point me in the right direction.
<axilla> i have a working example that goes 1 level deep, to show desired format, but i need to go more than 1 level deep.
<axilla> i want to continue until there are no more folders.
<canton7> got an example of the data?
<canton7> boil it down to some sample input that we can use to play with
<axilla> yea one second
jenrzzz has joined #ruby
sleepee has quit [Quit: Leaving]
<axilla> added some sample data to the gist, refresh
<canton7> and desired output?
<canton7> that sample input just has 1 folder - did you mean to add more? or is that not how it works?
ferr has joined #ruby
JDiPierro has joined #ruby
<certainty> sevenseacat: though an H is very close to an N the bar in the middle has just been rotated closwise around he an imaginary center
<certainty> clockwise, even
Darryl___ has joined #ruby
joonty has quit [Quit: joonty]
booly-yam-4014 has quit [Max SendQ exceeded]
<axilla> that's the data available about any given folder.. its going to be exactly the same not sure what more you'd need.
jenrzzz has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
<canton7> something I can paste into irb and work directly with would be nice
Xeago_ has joined #ruby
booly-yam-4014 has joined #ruby
<canton7> it can be cut down - it only needs to contain the relevant stuff. but it saves anyone who wants to help from having to type up a load of dummy data themselves
silkfox has joined #ruby
Joufflu has quit [Quit: Peace]
Xeago has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
jusmyth has quit [Quit: Leaving.]
n1lo_ has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
kappy has joined #ruby
soxet has quit [Read error: Connection reset by peer]
kitofr has joined #ruby
n1lo_ has joined #ruby
joonty has joined #ruby
shime_ has quit [Remote host closed the connection]
AlSquirrel has joined #ruby
Adran has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
oivoodoo_ has quit []
AlSquire has quit [Ping timeout: 245 seconds]
brb3_ has joined #ruby
kaspertidemann has quit []
reinaldob has quit [Remote host closed the connection]
jcutrell has joined #ruby
<jcutrell> ails
<jcutrell> Ah.
brb3 has quit [Read error: Connection reset by peer]
asuka_ is now known as asuka
<jcutrell> Sorry folks. Accidental window.
Xeago has joined #ruby
baltazore has quit [Remote host closed the connection]
mroach has quit [Quit: mroach]
rbennacer has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
sanguisdex has joined #ruby
josephndenton has joined #ruby
ta has joined #ruby
baltazore has joined #ruby
<canton7> axilla, this is one approach: https://eval.in/245649
Porfirium has joined #ruby
geekbri has joined #ruby
devdazed has joined #ruby
jherbst has joined #ruby
reinaldob has joined #ruby
lodgenbd has joined #ruby
ta has quit [Ping timeout: 276 seconds]
ferr has quit [Ping timeout: 245 seconds]
last_staff has quit [Quit: last_staff]
cphrmky has joined #ruby
ferr has joined #ruby
lodgenbd has quit [Client Quit]
mrmargolis has joined #ruby
Zamyatin has joined #ruby
JDiPierro has quit [Remote host closed the connection]
odin22 has joined #ruby
oleo has joined #ruby
happyface has joined #ruby
krz has joined #ruby
booly-yam-4014 has quit [Ping timeout: 265 seconds]
monsieurp has quit [Remote host closed the connection]
vyorkin has quit [Quit: WeeChat 1.0.1]
monsieurp has joined #ruby
monsieurp has quit [Changing host]
monsieurp has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
jimms_ has quit [Remote host closed the connection]
byprdct has joined #ruby
doodlehaus has joined #ruby
werelivinginthef has joined #ruby
devdazed has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
sevenseacat has quit [Remote host closed the connection]
devdazed has joined #ruby
Xeago_ has joined #ruby
thatslifeson_ has joined #ruby
pdoherty has joined #ruby
devdazed has quit [Read error: Connection reset by peer]
leonshalimov has joined #ruby
devdazed has joined #ruby
devdazed has quit [Remote host closed the connection]
fedexo has joined #ruby
allcentury has joined #ruby
devdazed has joined #ruby
Conner__ has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 272 seconds]
yjmsf20 has joined #ruby
yfeldblum has joined #ruby
delianides has joined #ruby
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamninja has joined #ruby
ta has joined #ruby
freerobby has quit [Quit: Leaving.]
ferr has quit [Ping timeout: 265 seconds]
jerius has joined #ruby
adriancb has joined #ruby
ferr has joined #ruby
n80_ has quit [Quit: n80_]
sinkensabe has quit [Read error: Connection reset by peer]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
sinkensabe has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
whoisjake has joined #ruby
booly-yam-4014 has joined #ruby
OrbitalKitten has joined #ruby
pancake-breakfas has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 276 seconds]
n80_ has joined #ruby
mikepack has joined #ruby
fryguy9 has joined #ruby
bashusr has quit [Ping timeout: 240 seconds]
rrtbram has quit [Quit: Konversation terminated!]
triple_b has joined #ruby
nhhagen_ has joined #ruby
<hs366> what is << in ruby ?
aclearma_ has joined #ruby
x77686d has joined #ruby
<tobiasvl> a method
jimms has joined #ruby
evanjs has joined #ruby
Zamyatin has joined #ruby
<hs366> i have it in my code: result = a.each_pair {|k,v| a << "#{k} = #{v}"}
bashusr has joined #ruby
<tobiasvl> hs366: what kind of object is a?
<tobiasvl> what << does depends entirely on the object
<hs366> its a hash
Hobogrammer has joined #ruby
Channel6 has quit [Quit: Leaving]
<tobiasvl> is it really?
<leonshalimov> itll append it
<canton7> are you *sure*?
<leonshalimov> "usually"
<tobiasvl> and you're trying to put a string into that hash?
<tobiasvl> Hash doesn't have << iirc
<canton7> and are you sure 'a' appears both inside and outside that block?
<tobiasvl> so that seems weird
mikepack has quit [Ping timeout: 272 seconds]
<canton7> no, it doesn't
<canton7> and it wouldn't make sense to add that string anyway :P
<hs366> like a = {"ab" => "11", "bc" =>"22",....}
aclearman037 has quit [Ping timeout: 265 seconds]
<canton7> that'll still result in a NoMethodError
klmlfl has joined #ruby
<canton7> ...unless someone's added the << method themselves
<tobiasvl> of course, it could be monkey-patched in
nhhagen has quit [Ping timeout: 265 seconds]
<tobiasvl> hs366: that line works? it doesn't throw a NoMethodError?
dblessing has quit [Ping timeout: 245 seconds]
JDiPierro has joined #ruby
nhhagen_ has quit [Ping timeout: 246 seconds]
<hs366> in irb it works but in my code not working
teddyp1cker has quit [Remote host closed the connection]
<canton7> well in my irb it throws a NoMethodError
<canton7> so something wrong with your irb, or something
<canton7> what ruby version?
<hs366> let me paistbin
<tobiasvl> yes please
oo_ has joined #ruby
Zamyatin has quit [Client Quit]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
geekbri has quit []
klmlfl has quit [Ping timeout: 264 seconds]
it0a has joined #ruby
ta has joined #ruby
jefus has joined #ruby
n008f4g_ has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
Zamyatin has joined #ruby
n1lo_ has quit [Ping timeout: 276 seconds]
tonyhb has quit [Quit: peace]
jmcharnes has joined #ruby
iamjarvo has joined #ruby
ta has quit [Ping timeout: 276 seconds]
klmlfl has joined #ruby
andikr has quit [Remote host closed the connection]
Megtastique has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
<hs366> tobiasvl, pastebin.com/TzxZqtPd
<hs366> thx
<hs366> the irb works with this example
<shevy> and what does not work
<hs366> i just want to know what is <<
<canton7> hs366, in that example, s is a string
<shevy> on a string? append. on an array? append
<canton7> not a hash
<canton7> so look at the ruby-doc page for String, and see what #<< does
Oberon4278 has joined #ruby
Ankhers has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
<hs366> so it's append and concatenate the string
tobago has quit [Remote host closed the connection]
<canton7> it mutates the string, yes
Tricon has joined #ruby
<hs366> so smart !
<shevy> it appends
<shevy> object_id remains the same
<shevy> hs366 in C++ they also use the <<
<shevy> cout << "hello world" << endl;
<hs366> canton7, shevy tobiasvl thx for help!!! :)
<hs366> ooh yess..!!
wodla00 has joined #ruby
klmlfl has quit [Remote host closed the connection]
pancake-breakfas has quit [Read error: Connection reset by peer]
pancake-breakfas has joined #ruby
shazaum_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
hs366 has quit [Quit: Leaving]
lkba_ has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
Timgauthier has quit [Max SendQ exceeded]
uptownhr has joined #ruby
iwishiwerearobot has quit [Ping timeout: 272 seconds]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
crueber has joined #ruby
symbol has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
nhhagen has joined #ruby
hanmac1 has quit [Quit: Leaving.]
ferr has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
krz has quit [Quit: WeeChat 1.1]
nhhagen has quit [Client Quit]
vvivv has joined #ruby
kstuart has quit [Ping timeout: 240 seconds]
kstuart has joined #ruby
Timgauthier has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
vozcelik has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
shazaum__ has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
MasterPiece has quit [Quit: Leaving]
Timgauthier has joined #ruby
symbol has joined #ruby
shazaum_ has quit [Ping timeout: 252 seconds]
seuros has joined #ruby
joast has quit [Quit: Leaving.]
wodla00 has quit [Ping timeout: 252 seconds]
n1lo has joined #ruby
<cout> shevy: I've often wondered whether matz borrowed that from C++ or from some other language
liamkeily has quit [Ping timeout: 246 seconds]
liamkeily1 has joined #ruby
oo_ has quit [Remote host closed the connection]
rajeshchawla has joined #ruby
startupality has quit [Ping timeout: 264 seconds]
Timgauthier has quit [Max SendQ exceeded]
<axilla> thx canton
Zamyatin has joined #ruby
ak has quit [Quit: Page closed]
jcutrell has quit [Quit: jcutrell]
crack_user has quit [Quit: Leaving.]
startupality has joined #ruby
dblessing has joined #ruby
<shevy> not sure
<shevy> I was not there in ruby 1.0
d10n-work has joined #ruby
arrubin has quit [Quit: Connection closed for inactivity]
ferr has quit [Remote host closed the connection]
jcutrell has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
dimaursu16 has quit [Ping timeout: 252 seconds]
mskaesz has joined #ruby
mkaesz has quit [Read error: No route to host]
Macaveli has quit [Ping timeout: 245 seconds]
mskaesz has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fandi has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
pancake-breakfas has quit [Quit: Textual IRC Client: www.textualapp.com]
shime has joined #ruby
bal has quit [Quit: bal]
Timgauthier has joined #ruby
evanjs has quit [Remote host closed the connection]
pdoherty has quit [Remote host closed the connection]
workmad3 has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
Megtastique has quit []
apeiros has quit [Ping timeout: 245 seconds]
jusmyth has joined #ruby
evanjs has joined #ruby
pu22l3r has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
sinkensa_ has joined #ruby
pancake-breakfas has joined #ruby
Timgauthier has joined #ruby
ascarter has joined #ruby
icebourg has joined #ruby
BTRE has joined #ruby
it0a has quit [Quit: WeeChat 1.1]
dimaursu16 has joined #ruby
it0a has joined #ruby
^wald0 has joined #ruby
pdoherty has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
diegoviola has joined #ruby
kitofr has quit [Ping timeout: 255 seconds]
Rollabunna has joined #ruby
Dopagod has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
startupality has quit [Ping timeout: 265 seconds]
maasha has quit [Ping timeout: 246 seconds]
shay- has left #ruby [#ruby]
dseitz has joined #ruby
bronson has joined #ruby
arup_r has joined #ruby
^wald0 has quit [Ping timeout: 256 seconds]
jimms has quit [Remote host closed the connection]
werelivinginthef has joined #ruby
Doow has quit [Read error: Connection reset by peer]
troubadour has quit [Quit: troubadour]
leonshalimov has quit [Ping timeout: 246 seconds]
_maes_ has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
ptrrr has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
livingstn has joined #ruby
ponga has quit [Quit: Leaving...]
startupality has joined #ruby
maletor has joined #ruby
rippa has joined #ruby
klmlfl has joined #ruby
evanjs has quit [Remote host closed the connection]
leonshalimov has joined #ruby
ta has joined #ruby
Timgauthier has joined #ruby
Morkel has quit [Quit: Morkel]
kostitas has joined #ruby
evanjs has joined #ruby
livathin_ has joined #ruby
livathin_ has quit [Client Quit]
silkfox has joined #ruby
fedexo has quit [Ping timeout: 256 seconds]
ta has quit [Ping timeout: 276 seconds]
livathinos has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
defrang has quit [Quit: defrang]
olivier_bK has quit [Ping timeout: 244 seconds]
withnale__ has quit [Ping timeout: 246 seconds]
lmickh has joined #ruby
gattie has joined #ruby
francisfish has quit [Remote host closed the connection]
ziyadb has joined #ruby
<shevy> do you guys often use the hash foo: :bar syntax ?
uptownhr has quit [Ping timeout: 252 seconds]
ta has joined #ruby
<mozzarella> yes
mikepack has joined #ruby
alex88 has quit []
ixti has quit [Quit: WeeChat 1.0.1]
xxneolithicxx has joined #ruby
yfeldblum has joined #ruby
dfinninger has quit [Remote host closed the connection]
apeiros has joined #ruby
dfinninger has joined #ruby
ta has quit [Ping timeout: 276 seconds]
<terrellt> I don't, but I'm rare around here in that I hate 1.9 hash syntax.
<shevy> yea I disliked it too
<shevy> but
dfinninger has quit [Read error: No route to host]
<shevy> there is one advantage it has
<shevy> it saves characters!
dfinninger has joined #ruby
anarang has quit [Quit: Leaving]
<otertore> i wish it wasn't limited to symbols
<shevy> I have been using it for generating html elements with optional entries such as
<otertore> {'string': 1}
<shevy> div('blue', id: 'main')
<shevy> div('blue', :id => 'main')
joast has joined #ruby
<shevy> the second one is more consistent in my opinion but the first one simply is shorter
Megtastique has joined #ruby
ta has joined #ruby
AlexRussia has joined #ruby
SolarSailor has joined #ruby
uptownhr has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leonshalimov has quit [Ping timeout: 245 seconds]
n008f4g_ has quit [Ping timeout: 276 seconds]
Adran has joined #ruby
baltazor_ has joined #ruby
ghostbox has quit []
baltazore has quit [Read error: Connection reset by peer]
uptownhr has quit [Client Quit]
<terrellt> 1.9 syntax saves like two characters and has reduced functionality.
<terrellt> So meh.
ta has quit [Ping timeout: 240 seconds]
<shevy> if you repeat that a lot then that counts!
jarjar_prime has joined #ruby
j2p2 has left #ruby [#ruby]
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
dmolina has quit [Ping timeout: 272 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vozcelik has joined #ruby
reisl has joined #ruby
Adran has quit [Quit: Este é o fim.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenneth has joined #ruby
JDiPierro has quit [Remote host closed the connection]
SolarSailor has joined #ruby
n1lo has quit [Ping timeout: 255 seconds]
Timgauthier has quit [Read error: Connection timed out]
reisl has quit [Client Quit]
wald0 has quit [Quit: Lost terminal]
Hijiri has quit [Ping timeout: 245 seconds]
deuti has quit [Quit: zzZZZzzz..]
deric_skibotn has joined #ruby
Timgauthier has joined #ruby
havenwood has joined #ruby
mikepack has quit [Remote host closed the connection]
manzo has joined #ruby
Adran has joined #ruby
liamkeily1 has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
kyxwlw has joined #ruby
booly-yam-4014 has quit [Ping timeout: 264 seconds]
uptownhr has joined #ruby
<jcutrell> Hey folks! I’d love to run a ruby script and put the output in my menu bar on mac os x. quite simple in practice - anyone know a simple way to achieve this?
mikepack has joined #ruby
Fire-Dragon-DoL has joined #ruby
uptownhr has quit [Client Quit]
Fire-Dragon-DoL has quit [Max SendQ exceeded]
ItSANgo_ has quit [Quit: Leaving...]
yjmsg20_ has joined #ruby
Fire-Dragon-DoL has joined #ruby
martinium has quit [Remote host closed the connection]
kl has quit [Ping timeout: 240 seconds]
klmlfl has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
kl__ has quit [Ping timeout: 240 seconds]
<xxneolithicxx> they let you customize mac os x?
kostitas has quit [Ping timeout: 246 seconds]
yjmsf20 has quit [Ping timeout: 255 seconds]
<wasamasa> only after jumping through a menagerie of burning hoops
<shevy> hmm how to identify a http link? I guess there are only two possibilities or? http:// and https://
teddyp1cker has joined #ruby
OrbitalKitten has joined #ruby
<wasamasa> shevy: there's also the stuff following the protocol specifier
<havenwood> jcutrell: Check out macruby, ala: https://gist.github.com/rubiojr/245402
<wasamasa> shevy: don't you dare forgetting that, how else will you want whether it's valid and where the link ends
klmlfl has joined #ruby
centrx has joined #ruby
<shevy> oh I will generously assume that it is always valid
<wasamasa> and that links are space-separated?
conniemj_ has joined #ruby
<havenwood> jcutrell: macruby ships with os x, you can try it out in macirb.
<shevy> but this is text that will be dumped onto the console; I am wondering which ones to re-write into a clickable link (if that works... I think in gnome-terminal it would)
allcentury has quit [Ping timeout: 272 seconds]
<shevy> I want to do something like "cat links.txt" and then "rf 2" to open the second link that was dumped like that
allcentury has joined #ruby
<jcutrell> havenwood: is that just `macirb` ?
it0a has quit [Quit: WeeChat 1.1]
baroquebobcat has joined #ruby
<havenwood> jcutrell: yup, that'll start the REPL, like `irb`
jimms has joined #ruby
fryguy9 has quit [Quit: Leaving.]
<jcutrell> Hrm.
<jcutrell> Getting command not found.
xxneolithicxx has quit [Quit: Leaving.]
<havenwood> Are they not installing it by default anymore? http://macruby.org/
teddyp1cker has quit [Ping timeout: 252 seconds]
<jcutrell> Looks like that’s possibly the case.
fantazo has quit [Quit: Verlassend]
<jcutrell> the last nightly was in 2013?
rbennacer has quit [Remote host closed the connection]
<havenwood> jcutrell: The MacRuby lead at Apple went on to RubyMotion, which carries it forward: http://www.rubymotion.com/
<havenwood> jcutrell: Instead of MacRuby/RubyMotion, Apple went with Swift. Though a lot of folk still prefer RubyMotion.
Crazy_Atheist has joined #ruby
msgodf has quit [Ping timeout: 245 seconds]
<jcutrell> :/ Okay. I bought RubyMotion, and apparently my purchase has “expired”, so now I have to buy it again. Trying to avoid the complainer sound,
triple_b has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
<havenwood> jcutrell: Do the 30 day trial I suppose. I don't have it.
<havenwood> jcutrell: As far as I know, MacRuby should work well. And it's free.
allcentury has quit [Ping timeout: 264 seconds]
<jcutrell> Alrighty.
<jcutrell> I’ll look into that.
pancake-breakfas has left #ruby ["Textual IRC Client: www.textualapp.com"]
joonty has quit [Quit: joonty]
timonv is now known as timonv_
aswen has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
terlar has quit [Ping timeout: 245 seconds]
chattsm has joined #ruby
yjmsg20_ has quit [Ping timeout: 245 seconds]
troulouliou_dev has quit [Remote host closed the connection]
Timgauthier has quit [Read error: Connection timed out]
timonv_ is now known as timonv
tus has joined #ruby
ItSANgo has joined #ruby
Timgauthier has joined #ruby
sarlalian has quit [Quit: WeeChat 0.4.2]
<chattsm> Are there any alternatives to looping through an Array other than `.drop(1).each`?
sarlalian has joined #ruby
thumpba has joined #ruby
booly-yam-4014 has joined #ruby
rbennacer has joined #ruby
thumpba_ has joined #ruby
fryguy9 has joined #ruby
iamayam has joined #ruby
tubuliferous has joined #ruby
shanlar has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
blandflakes has joined #ruby
nanoyak has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
<havenwood> chattsm: There are multiple ways to iterate over an Array. Why are you dropping the first element of the Array? What do you want another way for?
hmsimha has quit [Ping timeout: 252 seconds]
arrubin has joined #ruby
francisfish has joined #ruby
ellisTAA has joined #ruby
<chattsm> havenwood: I just need to loop through an array of elements after the first element, just wondered if there were any alternatives to using `drop(1)` as a curiosity more than anything.
<havenwood> chattsm: Aha, gotcha. I was just confused with the first question.
klmlfl has quit [Remote host closed the connection]
tyfighter has joined #ruby
uptownhr has joined #ruby
vozcelik has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
jgt has quit [Ping timeout: 272 seconds]
timonv has quit [Ping timeout: 276 seconds]
<havenwood> chattsm: That's a fine way. You can also: array[1..-1].each
baltazor_ has quit [Ping timeout: 276 seconds]
<ellisTAA> i want to create a method called seconds that returns a time of 00:00:00 << they only thing i can think of is Time.new … anyone know another way to get the result of 00:00:00 that doesn’t base it off of the year?
echevemaster has joined #ruby
rebcabin has quit [Quit: Leaving.]
rbennacer has quit [Remote host closed the connection]
<shevy> wat
<shevy> it always returns 00:00:00 ?
<shevy> def seconds; '00:00:00'; end
<shevy> there you go!
Zai00 has quit [Quit: Zai00]
<shevy> I guess you want to convert it into a time object
<chattsm> havenwood: ok, thanks!
<shevy> Time.at -( 60 * 60) # => 1970-01-01 00:00:00 0100
einarj has quit [Remote host closed the connection]
asmodlol has joined #ruby
rbennacer has joined #ruby
Heskie has joined #ruby
athan has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
chattsm has quit [Quit: chattsm]
OrbitalK_ has joined #ruby
ferr has joined #ruby
<ellisTAA> shevy: thanks
Heskie has left #ruby [#ruby]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrbitalKitten has quit [Ping timeout: 265 seconds]
ta has joined #ruby
checkit has joined #ruby
crazydiamond has quit [Ping timeout: 245 seconds]
commmmodo has quit [Quit: commmmodo]
Treyt22 has quit [Remote host closed the connection]
it0a has joined #ruby
juliusH has joined #ruby
Conner__ has joined #ruby
leonshalimov has joined #ruby
Hobogrammer has quit [Ping timeout: 276 seconds]
Timgauthier has quit [Ping timeout: 244 seconds]
manzo has quit [Quit: Leaving]
spyderma_ has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
thatslifeson_ has quit [Ping timeout: 264 seconds]
roshanavand has joined #ruby
anaeem1_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
uptownhr has quit [Quit: uptownhr]
recurrence has joined #ruby
dimaursu16 has quit [Ping timeout: 276 seconds]
dimaursu16 has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
pdoherty has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby
Timgauthier has joined #ruby
allcentury has joined #ruby
anaeem1_ has quit [Ping timeout: 276 seconds]
bricker has joined #ruby
anaeem1_ has joined #ruby
jonesthedolphin has quit [Ping timeout: 246 seconds]
x77686d has quit [Read error: Connection reset by peer]
x77686d has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
Ankhers has quit [Remote host closed the connection]
Timgauthier has joined #ruby
Ankhers has joined #ruby
green-big-frog has joined #ruby
jenrzzz has joined #ruby
<green-big-frog> hi
<green-big-frog> where can I find documentation what else I can put in instead of resp.body?
<green-big-frog> the code part i am looking at: JSON.parse(resp.body)
sinkensa_ has quit [Remote host closed the connection]
uptownhr has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
crack_user has joined #ruby
odin22 has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
thumpba has joined #ruby
Rayford has joined #ruby
<Rayford> I do a gem install of omniauth-gitlab_b
<Rayford> it installs, but when i try to require it, it cannot be found
<Rayford> Gem list shows it
JDiPierro has joined #ruby
flecha has joined #ruby
<Rayford> ideas?
Hijiri has joined #ruby
<havenwood> Rayford: Are you in a project with a Gemfile using Bundler?
thumpba__ has joined #ruby
<Rayford> yes
<cphrmky> Rayford do you have multiple rubies installed?
jack_rabbit has joined #ruby
<Rayford> but also did it manually
<havenwood> Rayford: Did you add the gem to the Gemfile and bundle?
<Rayford> yes
thumpba_ has quit [Ping timeout: 252 seconds]
<workmad3> Rayford: what did you try to require, and what response did you get?
<workmad3> exactly
<Rayford> Sorry phone Call. Be back
anaeem1_ has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 252 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
rajeshchawla has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 244 seconds]
thumpba has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
gccostabr has joined #ruby
wallerdev has joined #ruby
leafybasil has quit [Remote host closed the connection]
leonshalimov has quit [Ping timeout: 272 seconds]
garethrees has quit [Ping timeout: 272 seconds]
x77686d has quit [Read error: Connection reset by peer]
dumdedum has quit [Quit: foo]
Hijiri has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
francisfish has quit [Remote host closed the connection]
jack_rabbit has quit [Ping timeout: 244 seconds]
TL has joined #ruby
pdoherty has joined #ruby
psy_ has quit [Read error: No route to host]
x77686d has joined #ruby
kamilc__ has quit [Ping timeout: 240 seconds]
rajeshchawla has joined #ruby
sinkensabe has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
<ferr> Just to clarify, if I use time.now with rspec and I retry test few times, each time Time.now is reset to present, right?
green-big-frog has left #ruby [#ruby]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Ping timeout: 264 seconds]
leonshalimov has joined #ruby
arup_r has joined #ruby
allcentury has joined #ruby
pietr0 has joined #ruby
ta has quit [Ping timeout: 276 seconds]
fgo has joined #ruby
<wallerdev> yeah
ta has joined #ruby
<wallerdev> Time.now will always return the current time
chthon has quit [Ping timeout: 272 seconds]
teddyp1cker has joined #ruby
jonesthedolphin has joined #ruby
Adran has quit [Remote host closed the connection]
Notte has joined #ruby
LouisRoR has quit [Ping timeout: 256 seconds]
michaeldeol has joined #ruby
frek818 has joined #ruby
ursooperduper has joined #ruby
bronson has joined #ruby
<frek818> Hello
VictorBjelkholm has quit [Quit: Leaving]
<ferr> https://gist.github.com/Fercell/1706a7779e3f143a670a How would I solve this that when date_from is called first time, the value would not change on retry?
fgo has quit [Ping timeout: 264 seconds]
Morkel has joined #ruby
maxsilver has quit [Quit: leaving]
jusmyth has quit [Quit: Leaving.]
anaeem1 has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
fryguy9 has quit [Quit: Leaving.]
towski_ has joined #ruby
djbkd has joined #ruby
<frek818> I’m new to ruby but not new to programming. Can someone explain what’s going on here. Specifically, I’m curious about what’s going on with the ‘&:present?’ part. What is the significane of adding an amperstand to a ‘token’.
flecha has quit [Quit: WeeChat 1.1]
jgt has joined #ruby
<waxjar> it's some syntax sugar for { |o| o.present? }, google for "ruby symbol to proc"
blackmesa has joined #ruby
<waxjar> basically it calls #to_proc on :present, which returns a proc equivalent to proc { |receiver| receiver.send(self) }, where self is the symbol, and passes that as a block
dseitz has joined #ruby
odin22 has joined #ruby
blackmesa has quit [Client Quit]
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
teddyp1cker has quit [Remote host closed the connection]
psy_ has joined #ruby
odin22 has quit [Client Quit]
<symbol> I regret having the name symbol
teddyp1cker has joined #ruby
zB0hs has joined #ruby
<havenwood> >> :abs2.to_proc.call 5
<eval-in_> havenwood => 25 (https://eval.in/245851)
zB0hs has quit [Max SendQ exceeded]
<havenwood> >> 1.upto(5).map &:abs2
<eval-in_> havenwood => [1, 4, 9, 16, 25] (https://eval.in/245852)
<wallerdev> why would you use a method like abs2 lol
fryguy9 has joined #ruby
jgt has quit [Ping timeout: 255 seconds]
<wallerdev> its like the worst named method in ruby, horrible for examples
commmmodo has joined #ruby
yfeldblum has joined #ruby
<eam> wallerdev: wow, you're not kidding
klmlfl has joined #ruby
robbyoconnor has joined #ruby
<havenwood> wallerdev: i'm trying to get the word out that abs2 exists! :P
<wallerdev> lol
jobewan has joined #ruby
Rollabunna has quit [Remote host closed the connection]
<frek818> thany you
<Mon_Ouie> It was probably introduced for complex numbers
teddyp1cker has quit [Ping timeout: 256 seconds]
ta has quit [Ping timeout: 276 seconds]
<frek818> thank you
Rollabunna has joined #ruby
<wallerdev> it was probably introduced because someone wanted to save a few keystrokes
<wallerdev> thats why they gave it such a short and stupid name
<wallerdev> lol
ta has joined #ruby
<eam> sqr is shorter
<havenwood> >> 0.nonzero?.nil?
<eval-in_> havenwood => true (https://eval.in/245858)
jgt has joined #ruby
<wallerdev> just use ** 2
<wallerdev> use x * x
<havenwood> abs2
Sp4rKy has joined #ruby
<wallerdev> but dont use abs2
<wallerdev> lol
<Mon_Ouie> Again, that doesn't work with complex numbers — it doesn't square, it multiplies by the complex conjugate to compute the square of the absolute value
Ankhers` has joined #ruby
<wallerdev> the implementation of abs2 is just x * x
ramfjord has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
<Mon_Ouie> That's the special case for real numbers
<wallerdev> no its the actual implementation
<wallerdev> lol
arup_r1 has joined #ruby
baweaver has joined #ruby
<Mon_Ouie> No, it's implementation for classes that are used to represent real numbers…
jenrzzz has joined #ruby
<wallerdev> okay maybe im missing something :)
snath has quit [Ping timeout: 265 seconds]
<wallerdev> what's an example where it's different?
rajeshchawla has quit [Remote host closed the connection]
ErrantEgo has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mon_Ouie> >> Complex(3, -2).abs2
<eval-in_> Mon_Ouie => 13 (https://eval.in/245859)
<havenwood> wallerdev: Numeric#abs2 versus Complex#abs2
crazydiamond has joined #ruby
<Mon_Ouie> >> Complex(3, -2) * Complex(3, -2)
<eval-in_> Mon_Ouie => (5-12i) (https://eval.in/245860)
ErrantEgo has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
roshanavand1 has joined #ruby
<wallerdev> ah i see
rajeshchawla has joined #ruby
<wallerdev> the docs dont mention for numeric that its taking the square of the abs
arup_r has quit [Ping timeout: 264 seconds]
Ankhers has quit [Ping timeout: 250 seconds]
<eam> why it's a method on Numeric instead of on Complex is a whole other question
roshanavand has quit [Ping timeout: 240 seconds]
<havenwood> www >.>
<Mon_Ouie> That way it works on all numbers, You don't have to explicitly convert everything to Complex to use it
B1n4r10 has joined #ruby
<Mon_Ouie> We also have #angle which look really weird if you only look at what it does on Numeric
<eam> Mon_Ouie: you say that like it's a feature
ta has quit [Ping timeout: 265 seconds]
<wallerdev> lol
aclearma_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GaryOak_ has joined #ruby
<wallerdev> anyway
<wallerdev> abs2 is a bad example method
<Mon_Ouie> It is? Just like you can add integers and floats without converting everything to a single type
alkoma has joined #ruby
<eam> Mon_Ouie: bad example, abs2 is unary
<Crazy_Atheist> question, why would i get this, if anyone knows, i'm kinda drawing a blank
<Crazy_Atheist> /var/lib/gems/2.1.0/gems/net-ssh-2.9.2/lib/net/ssh.rb:181:in `start': undefined method `keys' for 22:Fixnum (NoMethodError)
<wallerdev> you probably passed a number instead of a hash somewhere
<Crazy_Atheist> Net::SSH.start(info["host"], info["user"], info["port"]) do |ssh|
jenrzzz has quit [Ping timeout: 240 seconds]
<Crazy_Atheist> you mean don't do that?
<Mon_Ouie> Okay, so we have Integer#round
<havenwood> >> 88.keys
<eval-in_> havenwood => undefined method `keys' for 88:Fixnum (NoMethodError) ... (https://eval.in/245861)
<wallerdev> the 3rd param is supposed to be a hash
<wallerdev> according to the docs
aclearman037 has joined #ruby
TL has quit [Quit: WeeChat 1.1]
anaeem1 has quit [Ping timeout: 244 seconds]
anaeem___ has joined #ruby
<Crazy_Atheist> nice that fixed it, now to get rid of the extra error checking stuff
<Crazy_Atheist> it was a stupid error, but apparently a needed one
<Crazy_Atheist> thanks guys
jcutrell has quit [Quit: jcutrell]
ta has joined #ruby
<eam> Mon_Ouie: I think Integer#round is silly too :)
kl has joined #ruby
kl__ has joined #ruby
<wallerdev> lol
Adran has joined #ruby
last_staff has quit [Quit: last_staff]
anaeem___ has quit [Remote host closed the connection]
paulfm has joined #ruby
anaeem1 has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
eytanfb has joined #ruby
<waxjar> isn't that just there for duck-typing? just like String#to_s, Integer#to_i, etc?
oo_ has joined #ruby
<shevy> why do ducks type
anaeem1 has quit [Ping timeout: 240 seconds]
<centrx> types like a duck
roshanavand1 has quit [Read error: Connection reset by peer]
LouisRoR has joined #ruby
rajeshchawla has quit [Remote host closed the connection]
nanoyak has joined #ruby
<arrubin> shevy: Birds seem to be confused in general. For instance those chickens and their road crossings.
jcutrell has joined #ruby
ZoanthusR has joined #ruby
baweaver has quit [Remote host closed the connection]
x023 has joined #ruby
oo_ has quit [Ping timeout: 276 seconds]
claymore has joined #ruby
<x023> hey there i am planing a project where a client communicates with rpc server
<x023> but i want only particular clients to be allowed to this
<x023> so i need some key exchange to make sure only clients with a public can submit rpc
rajeshchawla has joined #ruby
<x023> i think password / username combo is too weak
<x023> i need a hint on how to that
werelivinginthef has quit [Remote host closed the connection]
<x023> i duckduckgoed around but nothing gets me in the right direction
ellisTAA has joined #ruby
dfinning_ has joined #ruby
werelivinginthef has joined #ruby
chrishough has joined #ruby
ta has quit [Ping timeout: 272 seconds]
dfinninger has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
<waxjar> drb?
thumpba has joined #ruby
<centrx> BRAINS
paulfm has quit [Quit: Zzzzz...]
thumpba__ has quit [Remote host closed the connection]
joshbamboo1 has joined #ruby
jenrzzz has joined #ruby
zB0hs has joined #ruby
zB0hs has quit [Max SendQ exceeded]
paulfm has joined #ruby
zB0hs has joined #ruby
zB0hs has quit [Max SendQ exceeded]
YamakasY has quit [Excess Flood]
zB0hs has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<benatkin> x023: duckduckdoge
rajeshchawla has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
jimms has quit [Remote host closed the connection]
reset has joined #ruby
Ankhers` is now known as Ankhers
rajeshchawla has joined #ruby
booly-yam-4014 has quit [Ping timeout: 272 seconds]
commmmodo has quit [Quit: commmmodo]
last_staff has joined #ruby
postmodern has joined #ruby
YamakasY has joined #ruby
<d10n-work> Is it possible to make rack listen on multiple ports?
leafybasil has joined #ruby
dc has joined #ruby
commmmodo has joined #ruby
francisfish has joined #ruby
<wallerdev> probably makes more sense to use something like nginx to forward ports
anaeem1 has joined #ruby
<wallerdev> assuming you want it to do the same thing
<wallerdev> on both ports
dc has quit [Remote host closed the connection]
danman has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc has joined #ruby
<d10n-work> I want to be able to change how some code runs depending on what port the service is being accessed through
teddyp1cker has joined #ruby
mloveless has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
dc has quit [Read error: Connection reset by peer]
<cphrmky> d10n-work just run another process that listens on the other port?
<cphrmky> you could use the same code base / application on an alternate branch
dc has joined #ruby
<d10n-work> if that's the only way to do it, OK. It would be nice to be able to listen on multiple ports in the same process though
SolarSailor has quit [Remote host closed the connection]
fgo has joined #ruby
<Senjai> d10n-work: Why? It's not the only way. But the alternative requires a lot more work
startupality has quit [Quit: startupality]
dc has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
joonty has joined #ruby
shime has quit [Ping timeout: 256 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
Harlin has quit [Quit: Leaving]
nanoyak has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
Conner__ is now known as thatslifeson
blackmesa has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
Harlin has joined #ruby
antgel has joined #ruby
Notte has quit []
teddyp1cker has quit [Remote host closed the connection]
Hijiri has joined #ruby
Beoran has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt has quit [Ping timeout: 264 seconds]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby
francisfish has quit [Remote host closed the connection]
kyxwlw has quit [Read error: Connection reset by peer]
SixiS has quit [Quit: SixiS]
snath has joined #ruby
Morkel has quit [Quit: Morkel]
ghostmoth has joined #ruby
patrick99e99 has joined #ruby
doodlehaus has joined #ruby
OrbitalK_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
francisfish has joined #ruby
whoisjake has quit []
n008f4g_ has joined #ruby
anaeem1 has quit [Remote host closed the connection]
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
blackmesa has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
joonty has quit [Quit: joonty]
Obfuscate has quit [Ping timeout: 276 seconds]
anaeem1__ has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
seuros has quit [Ping timeout: 252 seconds]
dc has joined #ruby
tyfighter has quit [Quit: tyfighter]
tyfighter has joined #ruby
dimaursu16 has quit [Quit: Leaving]
dimaursu16 has joined #ruby
Porfirium has quit [Quit: Porfirium]
Porfirium has joined #ruby
Porfirium has quit [Client Quit]
baweaver has joined #ruby
anaeem1_ has joined #ruby
anaeem1__ has quit [Read error: Connection reset by peer]
earfin has quit [Ping timeout: 255 seconds]
OrbitalKitten has joined #ruby
frem has joined #ruby
OrbitalKitten has quit [Client Quit]
tiwillia has joined #ruby
maximski has quit []
blackmesa has joined #ruby
kl__ has quit [Ping timeout: 252 seconds]
kl has quit [Ping timeout: 252 seconds]
tmtwd has joined #ruby
defrang has joined #ruby
conniemj__ has joined #ruby
conniemj_ has quit [Read error: Connection reset by peer]
devdazed has quit [Ping timeout: 240 seconds]
Obfuscate has joined #ruby
tvw has quit []
kenneth has joined #ruby
blizzy has joined #ruby
seuros has joined #ruby
devdazed has joined #ruby
shazaum__ has quit [Quit: Leaving]
mkaesz has joined #ruby
asmodlol has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
ta has joined #ruby
baweaver has quit [Remote host closed the connection]
felixjet has quit [Read error: Connection reset by peer]
j0n3 has joined #ruby
maximski has joined #ruby
earfin has joined #ruby
Macaveli has joined #ruby
jgt has joined #ruby
Spami has joined #ruby
triple_b_ has joined #ruby
<Rayford> When i install omniauth-gitlab_b with gem install it installs, but then i cannot reference it
<Rayford> only 1 version installed
<Rayford> tried with gem install as well as through bundler
OrbitalKitten has joined #ruby
avril14th has quit [Ping timeout: 252 seconds]
anaeem1__ has joined #ruby
eytanfb has quit [Ping timeout: 252 seconds]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anaeem1_ has quit [Read error: Connection reset by peer]
<Rayford> error is: /.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- omniauth-gitlab_b (LoadError)
icbm has quit [Quit: Leaving]
kaspertidemann has joined #ruby
wodla00 has joined #ruby
B1n4r10 has joined #ruby
rodfersou has quit [Quit: leaving]
lolmaus has quit [Ping timeout: 240 seconds]
avril14th has joined #ruby
triple_b has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
dimaursu16 has quit [Ping timeout: 246 seconds]
thumpba has quit [Remote host closed the connection]
thumpba_ has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
rpag has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
frek818 has quit [Ping timeout: 245 seconds]
tyfighter has quit [Quit: tyfighter]
ascarter has quit [Max SendQ exceeded]
anaeem1 has joined #ruby
anaeem1__ has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby
<elfuego> is there a built in way to convert ruby hash to encoded url for a query?
ghr has quit [Ping timeout: 265 seconds]
ascarter has quit [Max SendQ exceeded]
Jackneill has quit [Ping timeout: 276 seconds]
ascarter has joined #ruby
Xiti has quit [Ping timeout: 265 seconds]
<rpag> >> require 'uri'; URI.encode_www_form x:1, y:2
<eval-in_> rpag => "x=1&y=2" (https://eval.in/245917)
tyfighter has joined #ruby
freerobby has quit [Quit: Leaving.]
<rpag> that'll work for a query string, i guess thats what you meant.
rebcabin has joined #ruby
wodla00 has quit [Quit: wodla00 terminated!]
joonty has joined #ruby
wodla00 has joined #ruby
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
jobewan has quit [Ping timeout: 276 seconds]
kirun has joined #ruby
dimaursu16 has joined #ruby
Rayford has quit [Quit: Rayford]
nanoyak has quit [Quit: Computer has gone to sleep.]
Xiti has quit [Client Quit]
zzzbra has joined #ruby
wallerdev has quit [Quit: wallerdev]
zzzbra has left #ruby [#ruby]
fgo has joined #ruby
Ankhers` has joined #ruby
devdazed has quit [Max SendQ exceeded]
Hijiri has quit [Ping timeout: 245 seconds]
thatslifeson_ has joined #ruby
tjohnson has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
Conner__ has joined #ruby
<ellisTAA> does ruby have a method for modular arithmetic?
aswen has joined #ruby
ldnunes has quit [Quit: Leaving]
<centrx> ellisTAA, yes, probably % and/or mod
Conner__ has quit [Client Quit]
x77686d has joined #ruby
<ellisTAA> can’t find it using a google search
Ankhers has quit [Ping timeout: 250 seconds]
7JTAB3JVX is now known as Nowaker_
conniemj___ has joined #ruby
william3 has joined #ruby
gr1zzlybe4r has joined #ruby
<william3> Hi guys
baweaver has joined #ruby
<william3> Anyone know of an efficient way to sort large files with ruby?
<william3> Gems, etc
rebcabin has quit [Quit: Leaving.]
fedalto has quit [Quit: leaving]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
t0nyshier has joined #ruby
<gr1zzlybe4r> why would I be getting an argument error when trying to construct an object who's initialize method has no intake arguments?
fgo has quit [Ping timeout: 245 seconds]
<ellisTAA> how do i define the modulus?
<gr1zzlybe4r> i'm trying to use irb
<william3> @gr1zzlybe4r are you instantiating the object with the wrong name?
thatslifeson has quit [Ping timeout: 264 seconds]
Nowaker_ is now known as Nowaker
<william3> or is there a difference between the filename and the class?
<elfuego> rpag: I’m new to ruby, but essentially what I need is to pass e.g. {:name => ‘hey’, :age => ’23’} to a method to convert it to a query string
<havenwood> william3: How do you want to sort the files?
thatslifeson_ has quit [Ping timeout: 245 seconds]
jonesthedolphin has quit [Ping timeout: 245 seconds]
<gr1zzlybe4r> I don't think so. My class is named LinkedList and I'm calling LinkedList.new
conniemj___ has quit [Read error: Connection reset by peer]
cjim has joined #ruby
<havenwood> gr1zzlybe4r: Show the code?
<gr1zzlybe4r> there is a difference between the file name nad the class
<william3> @havenwood I've been using the linux sort cli atm and it's having some unexpected behaviour
<william3> what I want
<gr1zzlybe4r> should i change that and then try again?
conniemj__ has quit [Ping timeout: 255 seconds]
<william3> make sure that the class is MyClass
arup_r1 has quit [Quit: Leaving.]
rebcabin has joined #ruby
<william3> and the filename is file_name.rb
<william3> and the filename is my_class.rb
<william3> sorry havenwood
<william3> let me explain
<ferr> https://gist.github.com/Fercell/7eef111fca0c8f4d9258 How would I make that for each user corresponding email address would be use within query?
teddyp1cker has joined #ruby
<gr1zzlybe4r> for single name classes, does capitalization matter?
<rpag> elfuego, URI.encode_www_form() will work for that
<william3> I have a file which contains 4 fields/columns: SubscriberId,IgnOn,GPSDateTime,Latitude,Longitude
gfawcettpq1 has quit [Ping timeout: 240 seconds]
<william3> classes should always have a capital letter, yeah
<william3> classes should always be capitalised, yeah
<gr1zzlybe4r> i meant for the file names
<gr1zzlybe4r> sorry
<william3> not capitalized, no
<william3> should be all lower case
<william3> with separate words separated with underscore
<gr1zzlybe4r> that's what i have and it's not working
<gr1zzlybe4r> file name is now linked_list.rb
<william3> when I sort on SubscriberId and then GPSDateTime I am weirdly getting a sort on IgnOn
AlexRussia has quit [Ping timeout: 265 seconds]
<havenwood> william3: like?: sort -t, -k1,1n -k3,3n
ta has quit [Read error: No route to host]
Darryl___ has quit [Quit: Connection closed for inactivity]
<william3> exactly
<william3> that's what I used
<william3> or I tried that version and sort -t, -k1 -k3
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexRussia has joined #ruby
<william3> based on google searches
blackgoat has joined #ruby
<ellisTAA> i’ve got to create a class called Timer that has a method called time_string that returns a value that is modular arithmetic. can anyone offer advice on what i can do: https://gist.github.com/ellisTAA/fe312d84b9d2b4467b27
<gr1zzlybe4r> has anyone looked at that paste pin? still confused as to what's going on
ta has joined #ruby
amdbcg has joined #ruby
Hijiri has joined #ruby
<william3> gr1zzlybe4r I am just looking at it now
shime has joined #ruby
<amdbcg> hello
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gr1zzlybe4r> kk i'm gonna see if there's a little mistake in there too
joonty has quit [Quit: joonty]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
lxsameer has joined #ruby
<william3> hello amdbcg
<atmosx> gr1zzlybe4r: can you share node.rb also?
<gr1zzlybe4r> i can post the node.rb file that i require at the top
<gr1zzlybe4r> yeah one se
<gr1zzlybe4r> sec**
<lxsameer> hey guys, is it possible to write gemspecs base on ruby platform ? I mean jruby or cruby ? is it a good idea ?
<amdbcg> is there a formal way to connect to mysql in ruby ?
<william3> and maybe the error you're getting, though can reproduce
<centrx> amdbcg, mysql2 gem?
triple_b has joined #ruby
fandi has quit [Ping timeout: 265 seconds]
<amdbcg> ah yeah, that's the one, thanks centrx
FooMunki has joined #ruby
<atmosx> gr1zzlybe4r: shit, change requrie './node' to require_relative './node'
<gr1zzlybe4r> is that the only change?
<william3> you don't need setters in Node, either gr1zzlybe4r since you're using attr_accessor for :value, etc
Zamyatin has joined #ruby
<william3> not that that's your problem
ta has quit [Ping timeout: 276 seconds]
<william3> you can just use value= method generated by attr_accessor
x77686d has quit [Read error: Connection reset by peer]
blackgoat has quit [Quit: reboot]
odin22 has joined #ruby
Ankhers` is now known as Ankhers
<gr1zzlybe4r> ok
<gr1zzlybe4r> yeah i read about that about halfway through writing the file
momomomomo has quit [Quit: momomomomo]
ta has joined #ruby
<gr1zzlybe4r> that wouldn't cause the error with the constructor, though, would it?
ellisTAA has left #ruby [#ruby]
joonty has joined #ruby
x77686d has joined #ruby
<atmosx> gr1zzlybe4r: what error are you getting?
<atmosx> show me
kenneth has joined #ruby
blackgoat has joined #ruby
<havenwood> william3: For example: File.read('example.txt').split("\n").sort_by { |line| subscriber, _, gps = line.split ','; [subscriber, gps] }.join("\n")
freerobby has joined #ruby
<gr1zzlybe4r> argument error when trying to construct
jimms has joined #ruby
<atmosx> gr1zzlybe4r: can you give me a terminal output, how you run it and the entire error message
<havenwood> william3: Consider using CSV?
<gr1zzlybe4r> yeah, one sec
<william3> yeah
teddyp1cker has quit [Remote host closed the connection]
<william3> thanks havenwood
tyfighter has quit [Quit: tyfighter]
rpag has quit [Quit: Leaving]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> CSV.parse(File.read 'example.txt').sort_by { |sub, _, gps, _| [sub, gps] } ...
lxsameer has quit [Quit: Leaving]
CountTwo_ has joined #ruby
joonty has quit [Client Quit]
<havenwood> well, rather: CSV.readlines('example.txt')
<havenwood> or whetev
<atmosx> gr1zzlybe4r: it's "initialize" not "initilize"
<atmosx> gr1zzlybe4r: in node.r
<atmosx> b
<CountTwo_> I'm writing ruby c extensions, and would like to store a ruby object in a (c) static variable. Obviously the conservative GC won't pick it up though if I just store it directly. So how do I accomplish this?
<gr1zzlybe4r> o wow
<gr1zzlybe4r> >.<
<havenwood> i wonder how many thousands of hours naming it 'init' would have saved? :P
<atmosx> gr1zzlybe4r: well... don't worry. Vim found out, I rarelly write initialize myself, it's defi-<tab> ctrl+j...
<amdbcg> Can't connect to local MySQL server through socket '/tmp/mysql.sock'
<amdbcg> mysql2 ^
kappy has quit [Quit: leaving]
<atmosx> amdbcg: what OS?
<amdbcg> does this have to be a local database? mac os
<gr1zzlybe4r> i actually still have an argument error
tyfighter has joined #ruby
<scpike> Has anyone hacked delayed_job to fork before each job execution (resque does this)?
<atmosx> amdbcg: how did you install the mysql?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<amdbcg> mamp
<amdbcg> atmosx: ^
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
blackgoat has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
_2_Libster has joined #ruby
<gr1zzlybe4r> got it. something left over from not changing my code after adding an attr_accessor
<gr1zzlybe4r> thanks for the help.
<atmosx> amdbcg: try -> sudo lsof |grep -i sock|grep mysql
<_2_Libster> hello
<_2_Libster> :)
<_2_Libster> hellooo
<amdbcg> " /Applications/MAMP/tmp/mysql/mysql.sock"
blackgoat has joined #ruby
<atmosx> gr1zzlybe4r: in the 2nd file you have also attr_accessor
<amdbcg> what if my db was on an outside server? would I still need the socket?
<atmosx> I'm not sure you need that one there, might as well use attr_reader but I'm not 100% sure what you're be doing there
zzzbra has joined #ruby
<atmosx> amdbcg: there are 2 wyas to connect on a UNIX system through a network connection or through a socket
uptownhr has joined #ruby
<_2_Libster> okay do not know what your saying
<atmosx> amdbcg: your mysql might be listening to 127.0.0.1
voodoofish430 has quit [Ping timeout: 245 seconds]
voodoofish4301 has joined #ruby
baweaver has quit [Remote host closed the connection]
<amdbcg> atmosx: the socket works.
<amdbcg> yay
pdoherty_ has joined #ruby
<_2_Libster> how are you mate?
aef has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
teddyp1cker has joined #ruby
VBlizzard has joined #ruby
<atmosx> amdbcg: oh you pasted the socket, I saw that now... okay cool :-)
<_2_Libster> :D
fandi has joined #ruby
nanoyak has joined #ruby
<amdbcg> atmosx: so I guess if I'm connecting to a db outside my localhost I just ... uh... cross that bridge when I get there :) ?
<_2_Libster> Ajfhfhfjfhfh
<_2_Libster> okay cool
blizzy has quit [Disconnected by services]
<_2_Libster> :D
VBlizzard is now known as blizzy
pdoherty has quit [Ping timeout: 255 seconds]
werelivinginthef has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
anaeem___ has joined #ruby
athan has quit [Ping timeout: 264 seconds]
seuros has quit [Ping timeout: 256 seconds]
C1V0 has joined #ruby
frek818 has joined #ruby
anaeem1 has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
kt2 has joined #ruby
baweaver has joined #ruby
_2_Libster has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
uptownhr has quit [Ping timeout: 256 seconds]
joonty has joined #ruby
martinium has joined #ruby
martinium has joined #ruby
fandi has quit [Excess Flood]
fandi has joined #ruby
gr1zzlybe4r has quit [Ping timeout: 244 seconds]
kt2 has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
<atmosx> amdbcg: why would you wanna connect to an outside database? :-)
thumpba_ has quit [Ping timeout: 256 seconds]
ferr has quit [Ping timeout: 265 seconds]
werelivinginthef has quit [Ping timeout: 276 seconds]
ta has quit [Ping timeout: 244 seconds]
baroquebobcat has joined #ruby
teddyp1cker has quit []
fjfish has joined #ruby
FooMunki__ has joined #ruby
aef has joined #ruby
momomomomo has joined #ruby
Rhainur1 has quit [Ping timeout: 245 seconds]
t0nyshier has quit [Ping timeout: 245 seconds]
krisleech has quit [Ping timeout: 240 seconds]
ta has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
krisleech has joined #ruby
x77686d has joined #ruby
marens has quit [Read error: Connection reset by peer]
FooMunki has quit [Ping timeout: 240 seconds]
francisfish has quit [Ping timeout: 240 seconds]
FooMunki__ is now known as FooMunki
FooMunki is now known as 1JTAAEFQO
dfinning_ has quit [Remote host closed the connection]
marens has joined #ruby
djbkd has quit [Remote host closed the connection]
fandi has quit [Excess Flood]
dfinninger has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
Rennex has quit [Ping timeout: 240 seconds]
dfinninger has quit [Remote host closed the connection]
Rhainur has joined #ruby
fandi has joined #ruby
Rennex has joined #ruby
freerobby has joined #ruby
gr33n7007h has joined #ruby
kt2 has joined #ruby
olivier_bK has joined #ruby
JoshGlzBrk has joined #ruby
<claw_> hey there i want xml rpc to do ssl cert validation
<claw_> cant find anything in the doc
paulfm has quit [Remote host closed the connection]
<claw_> anybody has experience with that ?
tmtwd has quit [Remote host closed the connection]
cjim has quit [Ping timeout: 244 seconds]
seal has joined #ruby
paulfm has joined #ruby
paulfm has quit [Remote host closed the connection]
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
shime has quit [Ping timeout: 240 seconds]
<claw_> oh sorry i am talking about the server
sinkensabe has quit [Remote host closed the connection]
freerobby has quit [Client Quit]
martinium has quit [Remote host closed the connection]
ta has quit [Ping timeout: 276 seconds]
blackmesa has quit [Quit: WeeChat 1.1]
ta has joined #ruby
martinium has joined #ruby
martinium has quit [Changing host]
martinium has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
freerobby has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
william3 has quit []
wallerdev has joined #ruby
ta has quit [Ping timeout: 265 seconds]
lolmaus has joined #ruby
pdoherty_ has quit [Remote host closed the connection]
ta has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
magicien has joined #ruby
AlexRussia has joined #ruby
fgo has joined #ruby
shime has joined #ruby
uptownhr has joined #ruby
blackmesa has joined #ruby
ericawebdev has joined #ruby
Zamyatin has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
crueber has quit [Quit: Leaving.]
yfeldblum has joined #ruby
djbkd has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
metadave_ has joined #ruby
nanoyak has joined #ruby
zzzbra has left #ruby ["WeeChat 1.1"]
joonty has quit [Quit: joonty]
wldcordeiro_ has joined #ruby
rebcabin has quit [Quit: Leaving.]
anaeem___ has quit [Remote host closed the connection]
zzzbra has joined #ruby
metadave has quit [Ping timeout: 265 seconds]
<claw_> nevermind finally found it somewhere
gr1zzlybe4r has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
rapha has joined #ruby
kenneth has joined #ruby
kaspertidemann has quit []
<rapha> hi!
ta has quit [Ping timeout: 246 seconds]
fandi has quit [Ping timeout: 245 seconds]
<jhass> hi
athan has joined #ruby
ta has joined #ruby
patrick99e99 has joined #ruby
<momomomomo> hi
josephndenton has quit [Ping timeout: 255 seconds]
dc has quit [Read error: Connection reset by peer]
dc has joined #ruby
<rapha> How can I evaluate a string like mystring='#{somevar}' to that variable's content but leave it alone if it's mystring='normaltextonly' instead?
<rapha> (Ideally not throwing an error should somevar be nil)
<momomomomo> rapha: !ask
<helpa> rapha: How to ask good questions and get great answers: http://www.mikeash.com/getting_answers.html
<momomomomo> rapha: !code
<helpa> rapha: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
zzzbra has quit [Quit: WeeChat 1.1]
<rapha> huh?
baweaver has quit [Remote host closed the connection]
<rapha> helpa: but I did show you code...
odin22 has quit [Quit: Leaving]
odin22 has joined #ruby
Rayford has joined #ruby
<gr33n7007h> rapha, helpa is a bot :)
kt2 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<wallerdev> what was wrong with his question
<momomomomo> >> my_string = “hello”; my_string = (my_string != “normaltextonly” ? “somevarvalue” : my_string); p my_string
<wallerdev> seemed like he gave all the details to me
<momomomomo> that’s an ugly way to do it
<momomomomo> wallerdev there’s no attempt shown on how to resolve it
<momomomomo> you could map instead
<wallerdev> sometimes you dont know where to start haha
<momomomomo> which would be cleaner
<momomomomo> wallerdev: that’s when you try things
<jhass> wallerdev: thrilled for your answer, I have no clue what it is about
<momomomomo> jhass: my resolution above, or a map would do fine
<wallerdev> it sounds like he has a literal string with #{} in it and wants to interpolate if that exists in the string
<momomomomo> nope waller
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
<momomomomo> if it’s some text, leave it alone
<momomomomo> else set it to some variable value
<wallerdev> alright
ta has quit [Ping timeout: 276 seconds]
* gr33n7007h ducks just in case
<jhass> rapha: you see, at least two people have different interpretations about what your question actually is, try to rephrase it, or yet better describe your goal, not the solution you think you need ;)
upsideofdown has joined #ruby
gr1zzlybe4r has quit [Ping timeout: 246 seconds]
<upsideofdown> Curious if there is a way to set a site-wide sources location? Kind of like how you mange individual users' .gemrc sources location?
<rapha> jhass: okay, i'm sorry, i didn't mean to cause confusion
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<upsideofdown> Google fails me :-/
<rapha> jhass: gr33n7007h: momomomomo: wallerdev: https://gist.github.com/sixtyfive/efafe7b9118af8150198
nanoyak has quit [Read error: Connection reset by peer]
<momomomomo> rapha: see above
<momomomomo> for a solution
baweaver has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
<momomomomo> also, this is why code is needed
nanoyak has joined #ruby
<wallerdev> lol momomomomo your answer doesnt make sense
<wallerdev> and i was right about what he was asking
<wallerdev> gg
patrick99e99 has joined #ruby
<jhass> rapha: uhm, that's about the difference between using single quotes and double quotes
<jhass> rapha: if you want interpolation to happen, use double quotes
<rapha> jhass: but i do *not* want interpolation to happen, that's why i'm using single quotes.
<rapha> jhass: what i do want is to have the interpolation happen at a later time of my choosing.
freerobby has quit [Quit: Leaving.]
<jhass> use format specifiers then, do not use eval
<jhass> >> mystring = "foo: %s"; mystring % ["bar"]
<eval-in_> jhass => "foo: bar" (https://eval.in/246191)
Timgauthier is now known as timgauthier_away
<jhass> those can be named:
<rapha> jhass: you mean as in "%s"?
chipotle has quit [Quit: cheerio]
<jhass> >> mystring = "foo: %(bar)s"; mystring % {bar: "bar"}
<eval-in_> jhass => malformed format string - %( (ArgumentError) ... (https://eval.in/246192)
<upsideofdown> Is anyone aware of how to change the default source in "gem sources" ? I'd like to apply a local repo to all users by default.
<jhass> mmh, or whatever the syntax was
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> eval('"' + mystring + '"')
<wallerdev> problem solved
<wallerdev> lol
<jhass> rapha: ignore wallerdev, he's trolling
<momomomomo> wallerdev: “gg” uses eval
<jhass> >> mystring = "foo: %<bar>s"; mystring % {bar: "bar"}
<eval-in_> jhass => "foo: bar" (https://eval.in/246193)
<jhass> there we go
<wallerdev> my solution works with his input, i dont see the issue
<wallerdev> yours all require him to change his input
einarj has joined #ruby
ta has joined #ruby
<wallerdev> maybe he has no control over it, maybe some api is sending back hello #{world} in a string
<jhass> seriously, stop trolling
momomomomo_ has joined #ruby
sambao21 has joined #ruby
<gr33n7007h> >> foo = "test"; mystring = '#{foo}'; eval('"' + mystring + '"')
<eval-in_> gr33n7007h => "test" (https://eval.in/246214)
<gr33n7007h> seems to work
<jhass> and is dangerous as hell
<gr33n7007h> yep
decoponio has quit [Quit: Leaving...]
<wallerdev> depends on the source of input really
<wallerdev> if its just a personal project you dont have to worry too much about using eval
<jhass> API is a good example of where to not do it
sambao21 has quit [Client Quit]
ghr has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
<momomomomo> >> 0x18 << 3
<eval-in_> momomomomo => 192 (https://eval.in/246228)
patrick99e99 has quit [Remote host closed the connection]
<momomomomo> >> (0x18 << 3) |= 1.to_s(2)
patrick99e99 has joined #ruby
<eval-in_> momomomomo => /tmp/execpad-8dfbf992d3d3/source-8dfbf992d3d3:2: syntax error, unexpected tOP_ASGN, expecting keyword_end ... (https://eval.in/246256)
<upsideofdown> I feel like I have a pretty elementary question. Would be helpful if I could figure out how to set a default system-wide gem sources location. I'm trying to get puppet to install some gems but the puppet user (which doesn't own a /home directory) is using rubygems.org. I can't seem to find where to change this outside of setting a /home dir for the puppet user, which I don't think it would use anywa
<upsideofdown> y...
Zamyatin has joined #ruby
<momomomomo> >> a = (0x18 << 3); a |= 1.to_s(2)
<eval-in_> momomomomo => String can't be coerced into Fixnum (TypeError) ... (https://eval.in/246257)
<momomomomo> >> >> a = (0x18 << 3); (a |= 1).to_s(2)
<eval-in_> momomomomo => /tmp/execpad-6974cd4f5f0e/source-6974cd4f5f0e:2: syntax error, unexpected >> ... (https://eval.in/246260)
<rapha> jhass: well, wallerdev sort of got what i want. the problem with it being dangerous is sort of okay-ish. the bigger problem is that if "bar" does not exist as a variable, then his code will spit out an error.
sambao21 has joined #ruby
freerobby has joined #ruby
<jhass> rapha: what's making my solution unacceptable?
<rapha> jhass: i think i need to play around more with your named formatting codes. that might work somehow.
<momomomomo> upsideofdown: is this a question regarding puppet?
<rapha> jhass: sorry, too slow of a typer...
brb3_ has quit [Quit: ZZZzzz…]
patrick99e99 has quit [Read error: Connection reset by peer]
<upsideofdown> no, it's a ruby question. I guess in other words, can I set a system-wide default for the gem sources location. For instance, if I add a new user to the system, can I dictate their gem sources locaiton in the absence of a /home/USER/.gemrc configuration?
ta has quit [Ping timeout: 276 seconds]
fandi has joined #ruby
<upsideofdown> can I set this in /etc/gemrc or something like that
ghr has quit [Ping timeout: 264 seconds]
<upsideofdown> by default all users without a .gemrc file in their homedir are directed to rubygems.org with they try to install a gem.
brb3 has joined #ruby
cjim has joined #ruby
startupality has joined #ruby
werelivinginthef has joined #ruby
cjim has quit [Read error: Connection reset by peer]
cjim_ has joined #ruby
philwantsfish has joined #ruby
<upsideofdown> alright, guess it is that hard...
<upsideofdown> seems kind of silly to make an install repo so difficult to manage.
<upsideofdown> thanks anyway guys 'n gals
jarjar_prime has quit [Read error: Connection reset by peer]
nicolastarzia has joined #ruby
upsideofdown has left #ruby [#ruby]
nanoyak has quit [Read error: Connection reset by peer]
uptownhr has quit [Quit: uptownhr]
nicolastarzia has quit [Client Quit]
martinium has quit [Read error: Connection reset by peer]
nicolastarzia has joined #ruby
CocoStorm has joined #ruby
<CocoStorm> Hey guys
Hijiri has quit [Ping timeout: 272 seconds]
martinium has joined #ruby
maximski has quit []
<rapha> jhass: got it the way i want now. thank you!!
claw__ has joined #ruby
CocoStorm has quit [Changing host]
CocoStorm has joined #ruby
werelivinginthef has quit [Ping timeout: 264 seconds]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta has joined #ruby
claw_ has quit [Ping timeout: 272 seconds]
aclearman037 has quit [Quit: I'm out!]
cjim_ has quit [Ping timeout: 276 seconds]
jwilson has joined #ruby
nanoyak has joined #ruby
<gr33n7007h> rapha, how did you do it?
Zamyatin has joined #ruby
uptownhr has joined #ruby
<CocoStorm> I need to clone a Ruby project.. I've made a heroku account and installed git.. i'm doing git clone https://git.heroku.com/myproject.git and it asks me for my username/password. I'm using the same email address/password for heroku account but authentication fails?
<CocoStorm> does anyone know why this is?
<rapha> gr33n7007h: i used a generic named format specified ("%{custom_variable}"). if it's not in the string, nothing bad happens, and if it's in the string, i can just put anything i like into it.
<ddv> it's not accepting your key for some reason, or you didn't add your key to heroku
Zamyatin has quit [Max SendQ exceeded]
<jhass> CocoStorm: iirc there's a #heroku channel
<gr33n7007h> rapha, good man :)
<CocoStorm> ddv: what's a key?
<CocoStorm> wait what why do I need a key
<ddv> ssh pub key, CocoStorm
gr1zzlybe4r has joined #ruby
<rapha> gr33n7007h :)
Zamyatin has joined #ruby
<CocoStorm> ddv: what do you mean?
upsideofdown has joined #ruby
<ddv> oh sorry I now see the https
seuros has joined #ruby
<jwilson> What are suggested actions for making ruby start faster on windows? I'm running v2.0.0p451 packaged with Chef, and it's super slow.
<upsideofdown> Hey everyone, I figured out how to set the site-wide default for gem sources. Set a file /etc/gemrc with the content you require there. Thanks for nothing you guys. Perl rulz :-p
tyfighter has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
Ankhers has quit [Write error: Broken pipe]
CpuID has joined #ruby
Ankhers` has joined #ruby
tyfighter has joined #ruby
freerobby has quit [Quit: Leaving.]
claymore has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> perl 4 lyfe
tvw has joined #ruby
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has quit [Ping timeout: 276 seconds]
<CocoStorm> so it says enter password for myemail@address.com@git.heroku.com <- does that look right?
nanoyak has quit [Read error: Connection reset by peer]
CpuID has quit [Client Quit]
<ddv> CocoStorm, ask in #heroku
<Fire-Dragon-DoL> are there any way to write in 2 separated files the stuff that a class contains for instance and in another the stuff that a class contains for class itself? (class methods)
<CocoStorm> nobody is answering
nanoyak has joined #ruby
metadave_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Fire-Dragon-DoL> jwilson: use it in a VM, or use it on linux
timgauthier_away is now known as Timgauthier
<Fire-Dragon-DoL> jwilson: believe me, I worked for a while with windows, there is no way to make it faster
<Fire-Dragon-DoL> jwilson: you can try with JRuby, but from my understanding, it's an issue with filesystem (ntfs) and `stat` command being slow
ta has joined #ruby
blackoperat has quit [Quit: Leaving]
JDiPierro has quit [Remote host closed the connection]
upsideofdown has quit [Quit: leaving]
werelivinginthef has joined #ruby
<Fire-Dragon-DoL> mhhh basically a class in ruby
<Fire-Dragon-DoL> is a singleton factory
<Fire-Dragon-DoL> :O
<jwilson> Fire-Dragon-DoL: I was afraid that would be the case.
<Fire-Dragon-DoL> jwilson: I really worked a lot with ruby under windows (I'm talking about months)
<Fire-Dragon-DoL> couldn't find ANY way to make it faster
<Fire-Dragon-DoL> it's fun how in a VM
<Fire-Dragon-DoL> it was actually faster
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
metadave has joined #ruby
deconfigured has joined #ruby
athan has quit [Ping timeout: 265 seconds]
<jwilson> yes that is interesting. Guess I'll have to look into setting up a chef dev VM for myself.
pdoherty has joined #ruby
sambao21 has joined #ruby
baroquebobcat_ has joined #ruby
<Fire-Dragon-DoL> I have no idea what chef is, except for someone that cooks
<Fire-Dragon-DoL> I used vmware player
thumpba has joined #ruby
Dopagod has quit [Ping timeout: 272 seconds]
<Fire-Dragon-DoL> o.s. run fine, it has some minor performance penalities tough
<vandemar> chef is a config management system, like puppet, in the same problem space as cfengine, salt, etc
baroquebobcat has quit [Ping timeout: 240 seconds]
baroquebobcat_ is now known as baroquebobcat
<Fire-Dragon-DoL> at that point, I started using linux-on-usb: Bought an SSD, put it on usb3
<Fire-Dragon-DoL> and I run native from there
<jwilson> I'm pretty familiar with VMs - was just hoping there was another way.
ta has quit [Ping timeout: 256 seconds]
<Fire-Dragon-DoL> vandemar: lol,oh ok
kirun has quit [Quit: Client exiting]
<Fire-Dragon-DoL> jwilson: yeah I was just telling my experience in a chance you have a better VM for me to try :P
longfeet_ has joined #ruby
<jwilson> Fire-Dragon-DoL: haha I will let you know if I find anything.
longfeet_ is now known as longfeet
dfinninger has joined #ruby
maximski has joined #ruby
thumpba_ has joined #ruby
gr1zzlybe4r has quit [Quit: WeeChat 1.1]
fgo has joined #ruby
Rayford has quit [Quit: Rayford]
amdbcg has quit [Ping timeout: 264 seconds]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
thumpba has quit [Ping timeout: 252 seconds]
delianides has quit [Remote host closed the connection]
sargas has joined #ruby
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
crazydiamond has quit [Ping timeout: 252 seconds]
evanjs has quit [Remote host closed the connection]
Hijiri has joined #ruby
ta has joined #ruby
fjfish has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #ruby
1JTAAEFQO has quit [Quit: 1JTAAEFQO]
cjim has joined #ruby
martinium has quit [Remote host closed the connection]
<d10n-work> Does anybody know of a library that can be used in conjunction with IO.select to remove boilerplate HTTP handling code?
vdamewood has joined #ruby
kaspertidemann has joined #ruby
pu22l3r_ has joined #ruby
nanoyak has quit [Client Quit]
blizzy has quit [Ping timeout: 265 seconds]
Ankhers` has quit [Ping timeout: 250 seconds]
CocoStorm has quit [Quit: CocoStorm]
mkaesz has quit [Remote host closed the connection]
SixiS has joined #ruby
mkaesz has joined #ruby
DadoCe has joined #ruby
sargas has quit [Quit: Leaving]
SixiS has quit [Client Quit]
pu22l3r has quit [Ping timeout: 256 seconds]
mikemccallen has joined #ruby
amdbcg has joined #ruby
havenwood has quit [Remote host closed the connection]
booly-yam-4014 has joined #ruby
<mikemccallen> hi
<mikemccallen> is anyone here?
mikemccallen has quit [Client Quit]
codecop_ has quit [Quit: Išeinu]
maximski has quit [Ping timeout: 264 seconds]
rbennacer has quit [Ping timeout: 256 seconds]
brb3 has quit [Quit: ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
symbol has quit [Ping timeout: 256 seconds]
maximski has joined #ruby
amdbcg has quit [Ping timeout: 252 seconds]
it0a has quit [Quit: WeeChat 1.1]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has joined #ruby
<leonshalimov> LIGHTNING BOLT!
silkfox has quit [Ping timeout: 245 seconds]
nanoyak has joined #ruby
JDiPierro has joined #ruby
jgt1 has joined #ruby
<centrx> KAPOW!
chipotle has joined #ruby
nanoyak has quit [Client Quit]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
jgt has quit [Ping timeout: 265 seconds]
francisfish has joined #ruby
silkfox has joined #ruby
Timgauthier is now known as timgauthier_away
C1V0 has quit []
momomomomo has quit [Quit: momomomomo]
livingstn has quit []
ta has quit [Ping timeout: 272 seconds]
blizzy has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
jefus_ has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
zorak8 has joined #ruby
fenzil has joined #ruby
jcutrell has quit [Quit: jcutrell]
linguini has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
p8952 has joined #ruby
<linguini> klass.ancestors.include?(MyClass) # is there a better way to do this?
jefus has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
<apeiros> linguini: klass < MyClass
ghr has joined #ruby
<linguini> apeiros: perfect! Thanks.
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
DadoCe has quit [Remote host closed the connection]
<apeiros> yw
maximski has quit []
n80_ has quit [Quit: n80_]
booly-yam-4014 has quit [Ping timeout: 272 seconds]
JDiPierro has quit [Remote host closed the connection]
ta has joined #ruby
Xeago_ has quit [Ping timeout: 245 seconds]
frek818 has quit [Ping timeout: 256 seconds]
allcentury has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 245 seconds]
iamninja has quit [Remote host closed the connection]
AlSquire has joined #ruby
djdarkbeat has joined #ruby
odin22 has quit [Read error: Connection reset by peer]
WismerTrashCry has joined #ruby
Hijiri has quit [Ping timeout: 264 seconds]
ta has quit [Ping timeout: 276 seconds]
<WismerTrashCry> how do ruby methods get initialized? Is the Method class used when creating a custom class?
ta has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> WismerTrashCry: no
<apeiros> Method instances are only created on request
B1n4r10 has joined #ruby
B1n4r10 has quit [Remote host closed the connection]
<apeiros> that is: in MRI. any implementation can do that in whatever way it chooses
ta has quit [Ping timeout: 244 seconds]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
crack_user has quit [Quit: Leaving.]
Porfirium has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
asmodlol has quit [Quit: Leaving]
nanoyak has joined #ruby
booly-yam-4014 has joined #ruby
uptownhr has quit [Quit: uptownhr]
defrang has quit [Quit: defrang]
leonshalimov has quit [Ping timeout: 240 seconds]
blizzy has quit [Read error: Connection reset by peer]
ta has joined #ruby
jerius has quit []
leonshalimov has joined #ruby
mrmargolis has quit [Remote host closed the connection]
Rhainur1 has joined #ruby
fryguy9 has quit [Quit: Leaving.]
fenzil has quit [Ping timeout: 240 seconds]
f0ster has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
pen has joined #ruby
mloveless has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
Rhainur has quit [Ping timeout: 256 seconds]
pdoherty has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
<WismerTrashCry> apeiros: so, as in whenever #arity is called, or whatever, then the Method class is used?
<apeiros> WismerTrashCry: when Object#method is used
<WismerTrashCry> ah k
amdbcg has joined #ruby
fgo has joined #ruby
rajeshchawla has quit []
ozialien has quit [Remote host closed the connection]
kaspertidemann has quit []
tcrypt has joined #ruby
nanoyak has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
uptownhr has joined #ruby
zorak8 has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
danman has quit [Quit: danman]
nanoyak has quit [Client Quit]
iamninja has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
AlSquire has joined #ruby
Porfirium has left #ruby [#ruby]
blackmesa has quit [Ping timeout: 264 seconds]
Musashi007 has joined #ruby
jimms has quit [Remote host closed the connection]
Hijiri has joined #ruby
milkohol has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
LouisRoR has quit [Ping timeout: 276 seconds]
milkohol has quit [Client Quit]
vvivv has quit [Quit: Leaving]
nanoyak has joined #ruby
booly-yam-4014 has quit [Ping timeout: 264 seconds]
seal has quit [Quit: Ex-Chat]
booly-yam-4014 has joined #ruby
freerobby has quit [Quit: Leaving.]
olivier_bK has quit [Ping timeout: 276 seconds]
patrick99e99 has quit [Ping timeout: 240 seconds]
silkfox has quit [Ping timeout: 265 seconds]
thumpba_ has quit [Ping timeout: 246 seconds]
patrick99e99 has joined #ruby
deconfigured is now known as athan
sambao21 has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
apeiros has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
apeiros has joined #ruby
CpuID has joined #ruby
klmlfl has quit [Remote host closed the connection]
CpuID has quit [Client Quit]
ptrrr has quit [Quit: ptrrr]
commmmodo has quit [Quit: commmmodo]
Xiti has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
avahey91 has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
juanpablo_ has quit [Quit: (null)]
juanpablo_ has joined #ruby
nicolastarzia has joined #ruby
frek818 has joined #ruby
ishikawa has quit [Remote host closed the connection]
ishikawa has joined #ruby
booly-yam-4014 has quit [Ping timeout: 245 seconds]
hephaestus_rg has joined #ruby
crack_user has joined #ruby
crack_user has quit [Client Quit]
echevemaster has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 276 seconds]
francisfish has quit [Remote host closed the connection]
echevemaster has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
shashin has joined #ruby
ta has joined #ruby
ghr has joined #ruby
iamninja has joined #ruby
einarj has quit [Remote host closed the connection]
CpuID has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
mkaesz has quit [Remote host closed the connection]
juliusH has quit [Quit: juliusH]
charliesome has joined #ruby
Yzguy has joined #ruby
djbkd has quit [Remote host closed the connection]
cphrmky has quit [Read error: Connection reset by peer]
earfin has quit [Ping timeout: 255 seconds]
Xeago has joined #ruby
CpuID2 has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
CpuID2 has quit [Changing host]
CpuID2 has joined #ruby
Dopagod has joined #ruby
CpuID has quit [Ping timeout: 246 seconds]
Hijiri has quit [Ping timeout: 276 seconds]
AlSquire has joined #ruby
djbkd has joined #ruby
lampd1 has joined #ruby
oleo has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleo has joined #ruby
antgel has quit [Ping timeout: 265 seconds]
Sawbones_ has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
jerius has joined #ruby
baweaver has quit [Remote host closed the connection]
cphrmky has joined #ruby
triple_b has joined #ruby