apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
hahuang61 has quit [Ping timeout: 250 seconds]
jcao219 has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
skweek has joined #ruby
blackwind_123 has joined #ruby
jgnagy has quit [Ping timeout: 265 seconds]
mim1k|wo1k has quit [Ping timeout: 258 seconds]
shinnya has joined #ruby
mim1k|work has joined #ruby
<Darmani> Hi everyone! I was trying to implement a word counter as part of the Exercism problems but I'm having a lot of trouble account for apostrophes.
<Darmani> If anyone has any suggestions I would totally appreciate it!
blackwind_123 has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby
gusrub_ has quit [Remote host closed the connection]
smlocal has quit [Remote host closed the connection]
<baweaver> define the split condition as anything not in a set
<baweaver> split takes a regex
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Darmani> As anything not in a set..
<xrlk> haha idk regex lmao
<xrlk> im not THAT smart
<Darmani> I need to find out how to do that.
<baweaver> ^
<xrlk> ill just google a regex generator site
<Darmani> xrlk: It's not hard to pickup really.
<bougyman> just read MRE
<baweaver> ^ is not in a bracket expression
<bougyman> beware for Chapter 6
<Darmani> bougyman: mre...?
<xrlk> what's mre
<bougyman> Mastering Regular Expressions
<bougyman> it's the regex bible
<xrlk> is that part of the CS reading list like SICP
<Darmani> The regex bible lmao
<bougyman> well, it was.
<bougyman> dunno how up-to-date it is.
<Darmani> baweaver: Did the article you linked show how to do that?
<bougyman> last edition I read just had the new python and .Net regex engines.
skweek has quit [Ping timeout: 258 seconds]
<xrlk> I have CLRS but I'm not smart enough to read the math proofs
<baweaver> >> 'abcdefg'.split(/[^abc]/)
<ruby[bot]> baweaver: # => ["abc"] (https://eval.in/675800)
<bougyman> pre-oniguruma
<baweaver> >> 'ab cde fg'.split(/[^a-z]/)
<ruby[bot]> baweaver: # => ["ab", "cde", "fg"] (https://eval.in/675801)
agent_white has quit [Quit: bbl]
<Darmani> not helpful.
* Darmani sighs
* Radar sighs
* baweaver cries
* Darmani dies
agent_white has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
gusrub_ has joined #ruby
CloCkWeRX has quit [Ping timeout: 265 seconds]
gusrub_ has quit [Remote host closed the connection]
nchambers has joined #ruby
blackwind_123 has joined #ruby
aphprentice has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has quit [Ping timeout: 256 seconds]
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub_ has joined #ruby
marxarelli has joined #ruby
e2021 has joined #ruby
rfoust has joined #ruby
snguyen has joined #ruby
nankyokusei has joined #ruby
CloCkWeRX has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
swills has quit [Remote host closed the connection]
<Darmani> I DID IT
<Darmani> I am the king of regex's.
<Darmani> Praise me.
nettoweb has joined #ruby
<vktec> Is it possible to define a method that intercepts undefined method calls?
swills has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
<vktec> Like Python's __getattr__
e2021 has quit [Ping timeout: 246 seconds]
blackwind_123 has joined #ruby
catbusters has quit [Ping timeout: 260 seconds]
<elomatreb> vktec: method_missing is what you want
<vktec> That's the one! Thanks elomatreb
<Radar> Darmani: well done.
nankyokusei has quit [Ping timeout: 256 seconds]
smlocal has joined #ruby
nrd_pxs has quit [Quit: leaving]
blackwind_123 has quit [Ping timeout: 256 seconds]
zapcode has left #ruby [#ruby]
e2021 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
catbusters has joined #ruby
dnicole has joined #ruby
smlocal has quit []
chris2 has joined #ruby
blackwind_123 has joined #ruby
dunpeal has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 268 seconds]
blackwind_123 has joined #ruby
AlexRussia has quit [Ping timeout: 265 seconds]
Ropeney has joined #ruby
kent\n has quit [Remote host closed the connection]
kent\n has joined #ruby
<matheusmoreira> I pray for the day where CFG parsers are as widely available as regular expressions
dunpeal has joined #ruby
<vktec> matheusmoreira: Please don't. That'd be veeeerrry slow :P
blackwind_123 has quit [Ping timeout: 268 seconds]
Lann has quit [Quit: Lann]
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
blackwind_123 has joined #ruby
xcesariox has joined #ruby
Lord_of_Life has quit [Excess Flood]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lord_of_Life has joined #ruby
blackwind_123 has quit [Ping timeout: 268 seconds]
palms has joined #ruby
blackwind_123 has joined #ruby
arescorpio has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
babblebre has quit [Quit: Connection closed for inactivity]
swills has quit [Ping timeout: 256 seconds]
hightower2 has quit [Ping timeout: 268 seconds]
hightower2 has joined #ruby
snguyen has joined #ruby
s2013 has joined #ruby
gusrub_ has quit [Remote host closed the connection]
s2013 has quit [Client Quit]
Jameser has joined #ruby
s2013 has joined #ruby
dnicole has quit [Remote host closed the connection]
splud has quit [Quit: splud]
rapha has quit [Ping timeout: 244 seconds]
dviola has quit [Quit: WeeChat 1.6]
rodfersou has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
babblebre has joined #ruby
tdy has joined #ruby
haylon has joined #ruby
dunpeal has quit [Ping timeout: 260 seconds]
dunpeal has joined #ruby
jcao219 has quit [Ping timeout: 265 seconds]
enterprisey has joined #ruby
gusrub_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
tvw has quit [Ping timeout: 260 seconds]
<matheusmoreira> parsers are plenty fast
<matheusmoreira> they get faster the more limited the grammar is
jcao219 has joined #ruby
Kero has quit [Ping timeout: 260 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
smtudor has joined #ruby
e2021 has quit [Read error: Connection reset by peer]
jhack has quit [Quit: jhack]
creat has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
Channel6 has joined #ruby
dar123 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 250 seconds]
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
railssmi_ has joined #ruby
palms has quit [Ping timeout: 260 seconds]
railssmith has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
Immune has joined #ruby
gusrub_ has quit [Read error: Connection reset by peer]
smtudor has quit [Read error: Connection reset by peer]
jhack has joined #ruby
gusrub_ has joined #ruby
cdg has quit [Remote host closed the connection]
A124 has quit [Ping timeout: 268 seconds]
winfli has joined #ruby
e2021 has joined #ruby
JeanCarl1Machado has joined #ruby
jgt1 has joined #ruby
astrobunny has joined #ruby
e2021 has quit [Client Quit]
jhack has quit [Quit: jhack]
lel has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
gusrub_ has quit [Remote host closed the connection]
lel has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
enterprisey has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 252 seconds]
Snowy has quit [Ping timeout: 245 seconds]
smtudor has joined #ruby
tuxaddicted has quit [Ping timeout: 244 seconds]
harfangk has joined #ruby
d^sh has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
d^sh has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
JeanCarloMachado has quit [Ping timeout: 244 seconds]
JeanCarl1Machado has quit [Ping timeout: 258 seconds]
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
railssmi_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
Felipe__ has joined #ruby
djbkd has quit [Ping timeout: 248 seconds]
haylon has quit [Quit: Bye]
mluts has quit [Ping timeout: 260 seconds]
mluts has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
agent_white has quit [Quit: brb]
hanmac has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
mikhael_k33hl has joined #ruby
XV8 has joined #ruby
<mikhael_k33hl> Why would i need to create a module when I just can define all common methods under a file common.rb and require it in the class that needs them?
kingkong- has quit [Read error: Connection reset by peer]
<xrlk> idk man
<xrlk> modularity is usually good for load time and overhead
<xrlk> recompiling
<xrlk> that's based on my c++ knowledge
<xrlk> if you kept everything in one file in c++ you'd be compiling for hours
<xrlk> makes sense for working in groups to have tasks divided
kingkong- has joined #ruby
lel has quit [Disconnected by services]
<Ropeney> mikhael_k33hl, namespacing
<mikhael_k33hl> Ropeney: would you mind elaborating? I'm quite new to ruby
lel has joined #ruby
<matheusmoreira> because when you want to use something, it's always best to use just that thing, not everything you've ever written in common.rb
<matheusmoreira> don't put math code in your database module
Madplatypus has quit [Quit: Connection closed for inactivity]
chadhs has joined #ruby
hanmac has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
ALVAN has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
chris349 has quit [Ping timeout: 245 seconds]
ciawal has quit [Quit: ZNC - http://znc.in]
CloCkWeRX has quit [Ping timeout: 258 seconds]
govg has quit [Ping timeout: 252 seconds]
tuxaddicted has joined #ruby
from_yashio has joined #ruby
ace05_ has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
cibs has quit [Ping timeout: 268 seconds]
aryaching has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
ixti has quit [Quit: WeeChat 1.6]
cibs has joined #ruby
ALVAN has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ALVAN is now known as Guest80382
rfoust has joined #ruby
gusrub_ has joined #ruby
Immune has joined #ruby
patrick99e99 has joined #ruby
dunpeal has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
hahuang61 has joined #ruby
xrlk has quit [Ping timeout: 258 seconds]
ddffg has quit [Ping timeout: 246 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 245 seconds]
railssmith has joined #ruby
xrlk has joined #ruby
jgnagy has joined #ruby
jmignault has joined #ruby
nankyokusei has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tuxaddicted has quit [Ping timeout: 245 seconds]
hightower3 has quit [Ping timeout: 244 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgnagy has quit [Ping timeout: 260 seconds]
jmignault has quit [Ping timeout: 240 seconds]
JoshS has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 244 seconds]
jdawgaz has joined #ruby
futabachannel has joined #ruby
aupadhye has joined #ruby
gizmore has joined #ruby
Felipe__ has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
palms has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
jgt1 has joined #ruby
biox has quit [Quit: brb servers are ded]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 260 seconds]
dar123 has joined #ruby
xcesariox has quit [Ping timeout: 260 seconds]
govg has joined #ruby
BTRE has joined #ruby
Madplatypus has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
from_yashio has quit []
gix has quit [Ping timeout: 256 seconds]
patrick99e99 has quit [Quit: Lost terminal]
tuxaddicted has joined #ruby
arescorpio has quit [Quit: Leaving.]
gix has joined #ruby
Ropeney has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 265 seconds]
<mikhael_k33hl> Is there a convention where to place modules in a project structure?
igniting has quit [Ping timeout: 246 seconds]
jdawgaz has joined #ruby
hahuang61 has joined #ruby
d3d1rty has joined #ruby
pawnbox has joined #ruby
chadhs has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has quit [Ping timeout: 246 seconds]
CloCkWeRX has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<elomatreb> mikhael_k33hl: Usually the convention is to have all source inside a "lib" directory, with subdirectories representing the (nested) module structure. Files are usually named after the class defined in them
<mikhael_k33hl> So saying I'm planning on creating 4 modules namely config, filemod, notification, and logging. Should I place them under modules/ directory?
<mikhael_k33hl> elomatreb:
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elomatreb> Are you sure you want to create modules, not classes?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
millerti has joined #ruby
<mikhael_k33hl> elomatreb: yeah, these modules will contain common methods that will be used by different classes
izaac has quit [Quit: Lost terminal]
<elomatreb> mikhael_k33hl: This is a little unconventional, but my instinct would be to have files named "config.rb", "filemod.rb", etc. in the top-level lib directory of your project
<mikhael_k33hl> elomatreb: unconventional? isn't that what methods are for? they are used to contain common methods, like in logging, they will contain methods for logging into a file etc. etc. :)
aryaching has joined #ruby
cinderhaze has joined #ruby
agent_white has joined #ruby
<cinderhaze> Hello everyone... I have an odd question
izaac has joined #ruby
<elomatreb> mikhael_k33hl: In Ruby, you normally have such functions defined on classes. So you'd have a class "Logger" you instantiate to use
palms has quit [Ping timeout: 260 seconds]
<mikhael_k33hl> elomatreb: so when do you used modules?
<bougyman> cinderhaze: well, what is it?
<bougyman> mikhael_k33hl: to group shared methods.
<bougyman> or as a namespace.
<bougyman> those are the two ways _I_ use modules.
<elomatreb> Or, more specifically, to group classes
<bougyman> that would be to use as a namespace, elomatreb
<mikhael_k33hl> say I have a method log() { . . . } << this method will be used by different classes. That makes it a share method right?
<elomatreb> Yes, I just wanted to make that explicitely clear
<cinderhaze> bougyman: I'm trying to use https://github.com/puppetlabs/puppetlabs-inventory, where I mount the /opt/puppetlabs volume in another container so I can run puppet inventory in any other pre-existing docker container without modifying the base container
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bougyman> mikhael_k33hl: generally yes.
<cinderhaze> this works fine until I launch a container that doesn't have a compatible version of GLIBC
<mikhael_k33hl> bougyman: So it is best to put it inside a module yes?
<bougyman> mikhael_k33hl: you can reuse it easily if it's in a module, yes.
CloCkWeRX has joined #ruby
<mikhael_k33hl> bougyman: okay, thanks mate
<elomatreb> My instinct would be to use a class, with class-level methods
<cinderhaze> I have tried to use ldd inside the 'true' container that has the packaged version of ruby, copy all of the libraries mentioned into another volume, which I then mount into the other container, then I run LD_LIBRARY_PATH=/mylibs:/opt/puppetlabs/puppet/ruby --version where I get Segmentation fault (core dumped)
<cinderhaze> if I run it without setting the LD_LIBRARY-paTH I get the following error /opt/puppetlabs/puppet/bin/ruby: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /opt/puppetlabs/puppet/lib/libruby.so.2.1)
jrp has joined #ruby
jcao219 has quit [Ping timeout: 248 seconds]
Ropeney has joined #ruby
dar123 has joined #ruby
eclm has joined #ruby
Guest66 has joined #ruby
Guest66 has quit [Client Quit]
futabachannel has quit [Ping timeout: 260 seconds]
Guest66 has joined #ruby
Guest66 has quit [Client Quit]
agent_white has quit [Quit: agent_white]
agent_white has joined #ruby
jrp has quit [Quit: Leaving]
pwnd_nsfw` has joined #ruby
govg has quit [Ping timeout: 246 seconds]
mluts has quit [Ping timeout: 248 seconds]
mluts has joined #ruby
nadir has quit [Ping timeout: 246 seconds]
jrp has joined #ruby
troys_ has quit [Read error: Connection reset by peer]
dnicole has joined #ruby
f0rpaxe has quit [Ping timeout: 260 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
matheusmoreira has quit [Ping timeout: 260 seconds]
futabachannel has joined #ruby
f0rpaxe has joined #ruby
nadir has joined #ruby
matheusmoreira has joined #ruby
aidalgol has quit [Quit: brb, kernel upgrade]
govg has joined #ruby
nankyokusei has joined #ruby
aidalgol has joined #ruby
Kero has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
Channel6 has quit [Quit: Leaving]
mluts has quit [Ping timeout: 260 seconds]
jrp has quit [Quit: Leaving]
mluts has joined #ruby
hahuang61 has joined #ruby
tuxaddicted has quit [Remote host closed the connection]
babblebre has quit [Quit: Connection closed for inactivity]
winfli has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
edwardly has quit [Ping timeout: 250 seconds]
nullfxn has quit [Ping timeout: 250 seconds]
igniting has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
ofkors has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
aryaching has quit [Ping timeout: 250 seconds]
jgnagy has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
JoshS has joined #ruby
solocshaw has joined #ruby
mluts has quit [Ping timeout: 260 seconds]
jgnagy has quit [Ping timeout: 268 seconds]
moei has quit [Quit: Leaving...]
moei has joined #ruby
mluts has joined #ruby
_sfiguser has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 256 seconds]
brent__ has joined #ruby
pawnbox has joined #ruby
hays has quit [Ping timeout: 250 seconds]
Junaos has quit [Quit: ZNC - http://znc.in]
Junaos has joined #ruby
hays has joined #ruby
Junaos has quit [Client Quit]
aryaching has joined #ruby
Junaos has joined #ruby
smtudor has quit [Ping timeout: 260 seconds]
jgt1 has joined #ruby
yardenbar has joined #ruby
_sfiguser has joined #ruby
nullfxn has joined #ruby
jgt1 has quit [Ping timeout: 256 seconds]
zukin has joined #ruby
sarbs has quit [Ping timeout: 256 seconds]
gusrub_ has quit [Remote host closed the connection]
sarbs has joined #ruby
yardenbar has quit [Ping timeout: 246 seconds]
k200 has joined #ruby
<k200> how to count unique items in array?
<k200> ["a","a","b].count should == 2
<Darmani> k200: .uniq
hays has quit [Ping timeout: 246 seconds]
neeraj has joined #ruby
ace05_ has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
<k200> Darmani: thanks.
<Darmani> sure
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hays has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mluts has quit [Quit: leaving]
mluts has joined #ruby
last_staff has joined #ruby
aufi has joined #ruby
hays has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
tomphp has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
mikhael_k33hl has quit [Quit: Page closed]
s2013 has joined #ruby
hays has joined #ruby
andikr has joined #ruby
muelleme has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
Immune has joined #ruby
zukin has quit [Ping timeout: 244 seconds]
zukin has joined #ruby
solocshaw has quit [Ping timeout: 258 seconds]
aupadhye has joined #ruby
boadie_ has joined #ruby
aupadhye is now known as aupadhye|mtg
aupadhye|mtg is now known as aupadhye
amclain has quit [Quit: Leaving]
boadie has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
teclator has quit [Ping timeout: 268 seconds]
polysics has joined #ruby
ta__ has quit [Remote host closed the connection]
rafadc has joined #ruby
nankyokusei has joined #ruby
vuoto has quit [Remote host closed the connection]
sarbs has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 245 seconds]
Darmani has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
sneakerhax has joined #ruby
_sfiguser has quit [Read error: Connection reset by peer]
teclator has joined #ruby
sarbs has joined #ruby
futabachannel has quit [Read error: No route to host]
AlexRussia has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvw has joined #ruby
gusrub_ has joined #ruby
firstdayonthejob has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gusrub_ has quit [Ping timeout: 258 seconds]
aryaching has quit [Ping timeout: 265 seconds]
y2mq37 has joined #ruby
firstdayonthejob has quit [Ping timeout: 245 seconds]
zukin has quit [Ping timeout: 260 seconds]
muelleme has quit [Ping timeout: 256 seconds]
mmasaki has joined #ruby
mmasaki has quit [Client Quit]
zukin has joined #ruby
mmasaki has joined #ruby
zukin has quit [Client Quit]
hays has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 260 seconds]
hays has joined #ruby
quazimodo has quit [Ping timeout: 260 seconds]
bhaak has quit [Ping timeout: 256 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ishido has joined #ruby
govg has joined #ruby
bhaak has joined #ruby
matheusmoreira has quit [Ping timeout: 250 seconds]
sneakerhax has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 245 seconds]
sneakerhax has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lacour has quit [Quit: Leaving]
dar123 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
matheusmoreira has joined #ruby
bocaneri has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.5]
AlexRussia has quit [Ping timeout: 258 seconds]
nixmaniack has joined #ruby
nixmaniack has quit [Changing host]
nixmaniack has joined #ruby
nixmaniack has quit [Client Quit]
aupadhye_ has joined #ruby
nixmaniack has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
Silthias has quit [Quit: Leaving.]
Silthias has joined #ruby
TomyWork has joined #ruby
anisha_ has joined #ruby
yorickpeterse has quit [Ping timeout: 250 seconds]
parabolize has quit [Ping timeout: 240 seconds]
agit0 has quit [Quit: zzzZZZ….]
Kero has quit [Ping timeout: 258 seconds]
Silthias1 has joined #ruby
Kero has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
snguyen has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgt1 has joined #ruby
cyphase has joined #ruby
alexherbo2 has joined #ruby
postmodern has joined #ruby
jaguarmagenta has joined #ruby
claudiuinberlin has joined #ruby
aganov has joined #ruby
dar123 has joined #ruby
ddffg has joined #ruby
quazimodo has joined #ruby
ta_ has joined #ruby
ramfjord has joined #ruby
pokalyis has joined #ruby
doublemalt__ has joined #ruby
agit0 has joined #ruby
djbkd has quit [Quit: My people need me...]
_joes__ has joined #ruby
codfection has quit [Remote host closed the connection]
quazimodo has quit [Read error: Connection reset by peer]
mim1k|wo1k has joined #ruby
djbkd has joined #ruby
mim1k|work has quit [Ping timeout: 246 seconds]
doublemalt__ has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
edwinvdgraaf has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
djbkd has quit [Client Quit]
ramfjord has quit [Ping timeout: 240 seconds]
mluts has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
blaxter has joined #ruby
dionysus69 has joined #ruby
toretore has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
doublemalt__ has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gingray has joined #ruby
blaxter has quit [Quit: foo]
Couch has joined #ruby
Couch has quit [Client Quit]
dionysus69 has quit [Quit: dionysus69]
u0_a27 has quit [Ping timeout: 245 seconds]
Guest7568 is now known as Phage
Phage has quit [Changing host]
Phage has joined #ruby
vondruch has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaxxstorm has joined #ruby
flying has joined #ruby
palms has joined #ruby
mikecmpbll has joined #ruby
ocbtec has joined #ruby
Cohedrin has joined #ruby
ramfjord has joined #ruby
ofkors has quit [Ping timeout: 260 seconds]
grh has joined #ruby
govg has quit [Ping timeout: 246 seconds]
govg has joined #ruby
ebye has joined #ruby
blackmesa has joined #ruby
palms has quit [Ping timeout: 260 seconds]
rafadc has quit [Ping timeout: 248 seconds]
mark_66 has joined #ruby
andikr has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
jsrn_ has joined #ruby
andikr has joined #ruby
aufi_ has joined #ruby
aufi has quit [Read error: Connection reset by peer]
Salih has joined #ruby
Salih has joined #ruby
Salih has quit [Changing host]
blackbombay_ has joined #ruby
c0mrad3 has joined #ruby
biberu has joined #ruby
marr has joined #ruby
KnownSyntax has quit [Ping timeout: 260 seconds]
blackbombay has quit [Ping timeout: 245 seconds]
quazimodo has joined #ruby
Beams has joined #ruby
Guest80382 has quit [Ping timeout: 265 seconds]
manjaro-kde5 has joined #ruby
ALVAN has joined #ruby
ALVAN is now known as Guest94765
agit0 has quit [Ping timeout: 252 seconds]
gingray has quit [Ping timeout: 268 seconds]
koooge has quit [Quit: Leaving...]
grh has quit [Ping timeout: 246 seconds]
postmodern has quit [Remote host closed the connection]
govg has quit [Ping timeout: 265 seconds]
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
creat has quit [Ping timeout: 252 seconds]
swills has joined #ruby
tvw has quit [Remote host closed the connection]
grh has joined #ruby
hahuang61 has joined #ruby
andrewvos has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
grh has quit [Ping timeout: 250 seconds]
mim1k|wo1k has quit [Ping timeout: 244 seconds]
jaruga___ has joined #ruby
FastJack has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
pokalyis has left #ruby ["Textual IRC Client: www.textualapp.com"]
ur5us has quit [Read error: No route to host]
FastJack has joined #ruby
ur5us has joined #ruby
govg has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
futabachannel has joined #ruby
nullfxn has quit [Ping timeout: 244 seconds]
teclator has quit [Ping timeout: 258 seconds]
mim1k|work has joined #ruby
andrewvos has quit [Quit: WeeChat 1.6]
atmosx has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
nahra has quit [Ping timeout: 252 seconds]
agent_white has quit [Quit: brb]
PlasmaStar has joined #ruby
teclator has joined #ruby
FastJack has quit [Read error: Connection reset by peer]
nullfxn has joined #ruby
f4cl3y has joined #ruby
astrobunny has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
m_abdelfattah has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
arnonhongklay has quit [Ping timeout: 256 seconds]
grh has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
FastJack has joined #ruby
quazimodo has quit [Ping timeout: 258 seconds]
nuclearsandwich has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
nuclearsandwich has joined #ruby
nankyokusei has joined #ruby
CloCkWeRX has joined #ruby
nicoulaj has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
johnmccabe has joined #ruby
nettoweb has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neeraj has quit [Ping timeout: 240 seconds]
Dobler has joined #ruby
grh has quit [Ping timeout: 265 seconds]
frmendes has joined #ruby
aupadhye has joined #ruby
aupadhye_ has quit [Read error: Connection reset by peer]
Dobler has quit [Quit: Textual IRC Client: www.textualapp.com]
y2mq37 has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
nicoulaj has quit [Remote host closed the connection]
gingray has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
Jameser_ has joined #ruby
workmad3 has joined #ruby
Fernando-Basso has joined #ruby
jaguarmagenta has joined #ruby
JeanCarloMachado has joined #ruby
ldnunes has joined #ruby
Jameser has quit [Ping timeout: 265 seconds]
Jameser_ has quit [Ping timeout: 265 seconds]
tvw has joined #ruby
LoneHerm_ has joined #ruby
nullfxn has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
Dobler has joined #ruby
neeraj has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jaguarmagenta has quit [Ping timeout: 265 seconds]
JeanCarl1Machado has joined #ruby
JeanCarloMachado has quit [Ping timeout: 252 seconds]
JeanCarloMachado has joined #ruby
nullfxn has joined #ruby
CloCkWeRX has joined #ruby
mluts has joined #ruby
ddffg has quit [Ping timeout: 265 seconds]
LoneHerm_ has quit [Remote host closed the connection]
Snowy_ has joined #ruby
ferr has joined #ruby
Snowy has quit [Ping timeout: 265 seconds]
cyphase has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
tubuliferous_ has joined #ruby
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
E7F3RN4 has joined #ruby
E7F3RN4 has quit [Client Quit]
Madplatypus has joined #ruby
gusrub_ has joined #ruby
Skullclown has joined #ruby
<Skullclown> hi, I'm looking for languages to use for continuous (24/7) web (API) scraping - how does ruby with something like sidekiq hold up against other languages?
gusrub_ has quit [Ping timeout: 260 seconds]
<dminuoso> Skullclown: Ruby is turing complete.
<dminuoso> Does that suffice?
<dminuoso> Skullclown: Jokes aside, sidekiq/redis might not be the ideal approach because it's more job oriented.
<dminuoso> But Ruby can be perfectly fine - it rather depends on how comfortable you are with the language.
Xeago has quit [Ping timeout: 250 seconds]
<mikecmpbll> i'd be surprised if there was a language which wasn't able to to achieve that perfectly well, those aren't very challenging criteria
<mikecmpbll> make web requests, write to a database?
neeraj has left #ruby [#ruby]
Xeago has joined #ruby
<Skullclown> mikecmpbll: yup, JSON API to mongodb or mysql (although most likely mongodb for its fast inserts & JSON)
grh has joined #ruby
<dminuoso> Skullclown: Ruby is fine like any other. Make it dependent on which language you are comfortable with.
<mikecmpbll> well there you go then.
<Skullclown> as one bad example, I know that node.js is pretty bad at web scraping, because it's single threaded and runs a maximum of 10 processes for async jobs :)
<dminuoso> Skullclown: If you are a Python guy and know lots of libraries - use Python.
<mikecmpbll> now you've introduced a new constraint, multithreading
<Skullclown> dminuoso: I'm fine with either language, could also be C, C++, C#, Go, node.js
<dminuoso> Skullclown: Concurrency is a real problem with multithreaded Ruby.
<Skullclown> mikecmpbll: it needs to handle as many requests/s as possible - usually it helps if it's multithreaded but just saying "multithreaded" doesn't always make something faster
<dminuoso> Skullclown: The usal case where multithreading in Ruby can be leveraged is if lots of time is spent sleep()ing (say because of blocking IO)
blackmesa has quit [Ping timeout: 260 seconds]
<Papierkorb> There's always JRuby for real multithreading
<Papierkorb> if that's even needed
<Skullclown> Papierkorb: I'm open to any recommendations :)
<dminuoso> Skullclown: Personally I would do it in Ruby because it's easy to accomplish for me. But that's only because I'm not a big fan of node.js, and C++ is simply the wrong language for the job.
<Papierkorb> Skullclown: JRuby is a Ruby VM on the JVM which can do true multithreading. I'm just questioning if that's even needed, but you didn't give us enough info either
<Skullclown> dminuoso: node.js is the wrong language for the job, considering the limitation of 10 child processess for async
lenwood has joined #ruby
<Skullclown> unless I write it to fork and create as many child processes as I need, with a task queue, but even then I'm making it more complex than I need to
<Papierkorb> Skullclown: we can't help if you don't give us any real info
<Skullclown> Papierkorb: define real info?
<Papierkorb> "as many requests/s as possible" .. what's that?
<dminuoso> Skullclown: Where is most of the time spent? Computing results or IO?
<Papierkorb> Are you trying to poll a HTTP endpoint every tenth of a millisecond?
augcesar has joined #ruby
rohit_ has joined #ruby
<Skullclown> Papierkorb: 150 million requests to be done in as little time as possible, on a machine w/ 900Mbit/s down & 140 Mbit/s up, CPU E3-1245 V2 @ 3.40GHz, 32GB RAM
manjaro-kde5 has quit [Ping timeout: 248 seconds]
<Skullclown> it's currently being done at 40 requests per second, which can definitely be improved (bad current codebase)
<Skullclown> dminuoso: IO
<Papierkorb> Skullclown: does the api even allow for concurrent access?
blackwind_123 has quit [Read error: Connection reset by peer]
<Skullclown> Papierkorb: yes
<mikecmpbll> even with cruby you'll be able to parallelise that a lot.
<Papierkorb> sounds weird though that you need to poll >150M documents from some API
<mikecmpbll> given most of API request is IO wait
hightower3 has joined #ruby
<Papierkorb> Skullclown: How long does a request take to respond?
<Papierkorb> Most likely ruby will do just fine as mikecmpbll says.
blackwind_123 has joined #ruby
<Skullclown> Papierkorb: 0.195s
hightower2 has quit [Ping timeout: 268 seconds]
<Papierkorb> Skullclown: That's ages. Ruby will spend most time sleeping, for this its threading model is perfectly sufficient
<Skullclown> Papierkorb: 0.013s w/o DNS lookup
creat has joined #ruby
dushyant has joined #ruby
aidalgol has quit [Quit: zZzZZZzZzzz]
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 246 seconds]
<Skullclown> mikecmpbll: thanks for the advice, I'm liking ruby for the job :)
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 256 seconds]
rohit__ has joined #ruby
<dminuoso> Skullclown: So it's 150M known documents you need to fetch?
<Skullclown> dminuoso: yes
<Papierkorb> I don't get why you can't literally clone the database then
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
<mikecmpbll> heh, indeed.
<Papierkorb> Or are you scraping a competitor, making it (borderline?) illegal?
virgil has joined #ruby
dunpeal has joined #ruby
<mikecmpbll> against t&cs != illegal :D
<Skullclown> Probably a misunderstanding in the phrasing. By known documents, I understood data that's in a known/expected format. However, the details of the contents are unknown.
<dminuoso> It would just be a breach of contract.
<Skullclown> And no, this is completely legal, and is unrelated to "competitors" :)
<dminuoso> Skullclown: sidekiq/redis sounds like a good idea again now that I heard some details
<Skullclown> Although I'm curious why #ruby would care more about the legal side of a question rather than the technical one ;)
<dminuoso> as essentially you would be queuing up these 150M jobs and then have 10 concurrent workers.
<mikecmpbll> because the technical side isn't interesting.
rohit_ has quit [Ping timeout: 268 seconds]
<dminuoso> Skullclown: I have done my fair share of "grey area" scraping competitors to gain an advantage.
<dminuoso> It's how the world works. :-)
<Skullclown> mikecmpbll: then I suppose people should enter #ruby asking about what is legal and what's not, to keep it interesting for you?
<Papierkorb> I think that sidekiq is already overkill. spawn some threads and have a loop in each downloading the documents
<mikecmpbll> Skullclown : sure, or more interesting ruby problems :)
<dminuoso> Papierkorb: 150M documents is a lot. sidekiq is super simple to set up and will give you persistence over the jobs
<Skullclown> mikecmpbll: we can't always choose the complexity of a project :P
<mikecmpbll> :)
<dminuoso> Papierkorb: And you get all these things such as a UI for free to track how many outstanding jobs are left, how many have been processed, dead jobs
<Skullclown> dminuoso: yup thanks, I'll play around with sidekiq, it was also the first thing that caught my eye
<dminuoso> etc
<dminuoso> Without any code. ;-)
dunpeal has quit [Ping timeout: 265 seconds]
<hanmac> hmmm i currently wonder if it would be faster to ask the server to zip the files for you and doing a zipped batch download ... (depending if you can access the server)
nankyokusei has joined #ruby
<dminuoso> Something tells me he has no control over the server.
<dminuoso> ;-)
<Skullclown> hanmac: depending on the number of individual requests, it is
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
<Skullclown> the API is indeed not mine though :) I'm working with some community devs for an early access game (Battlerite) to implement global Steam statistics
<Skullclown> (store.steampowered.com)
<Papierkorb> would be surprised if they're not rate limiting
<Skullclown> they're not, at least not at the rates I've been going so far (40 - 100/s)
<dminuoso> Skullclown: Then sidekiq is going to be an issue again.
jdawgaz has joined #ruby
<Skullclown> dminuoso: oh?
<dminuoso> Skullclown: All community throttling solutions are shitty at best.
<Skullclown> community throttling?
<dminuoso> Skullclown: sidekiq doesnt come with throttling if you go for the non-enterprise version
<Skullclown> dminuoso: I don't need it to throttle :)
<Papierkorb> Skullclown: eitherway, I'd batch up a thousand or so request into a single job to keep the sidekiq job dispatch overhead low
<dminuoso> Skullclown: Until you do.
<Skullclown> Papierkorb: I'll keep that in mind, thanks
<mikecmpbll> +1
<Skullclown> dminuoso: no, it's a one-time query for Steam's public profile game data, we just need those 150 million done once
nankyokusei has quit [Ping timeout: 256 seconds]
<Skullclown> but we'd prefer to keep costs to whatever server(s) we already have, and not have it take a month to complete
<Papierkorb> This reminds me that it was a good idea to disable public access to my steam profile
<Skullclown> Papierkorb: if you think querying owned games is bad, you must not think of the chinese and russians who have been querying profile data for known identity details, or even matching those with known e-mail accounts and hacked password lists :)
<Papierkorb> Skullclown: I do that everywhere, no reused emails, no reused passwords, generated passwords, etc. Isn't that standard for IT people?
<mikecmpbll> Password123
<mikecmpbll> oops, wrong window.
conta has joined #ruby
<Papierkorb> hunter2*
<apeiros> hunter2?
<apeiros> ^5 Papierkorb :D
<mikecmpbll> :D
<Skullclown> hunter3 here
<Skullclown> to make it unguessable
<apeiros> clever
<dminuoso> I use randon passwords and commit messages.
<Skullclown> I use random passwords as commit messages.
<dminuoso> No honestly I actually have a shell script that automatically commits using a message from http://whatthecommit.com/
Beams has quit [Quit: .]
dionysus69 has joined #ruby
<apeiros> I use 2048 character generated passwords. works great with all those websites which don't allow copy&paste.
<dminuoso> Keeps you on your toes with your ten finger typing.
<Skullclown> apeiros: I had to set up a password generator scheme that didn't use spaces and special characters because it messed up some websites.....
<Skullclown> and I love it when they tell me there's a "30 character limit"
<dminuoso> Skullclown: Or you know - use 1password
<apeiros> Skullclown: yeah. too many websites with silly policies wrt passwords :-S
<dminuoso> ;-)
<apeiros> "max 8 chars" - wtf?
<apeiros> "invalid characters" - wtf?
<Papierkorb> apeiros: Banks!
<dminuoso> apeiros: Or better yet "this password is already in use"
<Papierkorb> 5 chars max
<Skullclown> dminuoso: keepass
<dminuoso> Ive seen this.
<dminuoso> Not kidding.
<apeiros> "copy & paste is disabled" - wtff?
<Papierkorb> holy shit, my steam account is better protected than my bank account
Jameser has joined #ruby
<apeiros> Papierkorb: I think that'd be suable here
<Papierkorb> apeiros: *every* established bank is the same here
<Skullclown> Papierkorb: same here, 4 or 5-char pass
<Skullclown> :(
<apeiros> Papierkorb: aren't you in germany?
<ruurd> Where is here?
<Papierkorb> apeiros: Yes, and all banks I know of have this limitation
<Skullclown> ruurd: if I'd tell you, I'd have to kill you
<ruurd> Hah that must be so easy to crack then
<apeiros> Papierkorb: wouldn't that fit under "grossly mishandling sensitive data"?
<apeiros> i.e. suable via data protection laws
<Skullclown> apeiros: banks sign their logins & transfers with those card readers nowadays
<Skullclown> on top of passwords
<Papierkorb> apeiros: No, because of "insert some stupid reasoning here". IANAL.
<Skullclown> although most of those same banks allow bank transfers without signing to anyone on your "favorites" list... and not all require signing when adding someone to that list...
<apeiros> Skullclown: ok, if there's a reasonably safe 2nd factor + proper delay on multiple tries, then it's not that insane anymore
<Papierkorb> bank transfers yes, that's protected through a TAN (with whatever scheme you use to get the TAN), but it's already really interesting to an attacker which bank accounts you have with how much money each, no?
<apeiros> note: sms are not sane 2nd factor
<apeiros> Papierkorb: so account is only protected by that 5 char pw? then IMO yes, that should fall under data protection laws.
jgnagy has joined #ruby
<mikecmpbll> do any banks support u2f?
<Papierkorb> apeiros: lawl, the "Sparkasse" has a banking app, and a tan app. You can not only put both on the same device, they even then communicate directly! This is intended behaviour!
<apeiros> surprised that this hasn't yet had a legal consequence.
<Papierkorb> That's like 2FA as in "two things you've lost: Your phone, and now your money too"
dunpeal has joined #ruby
<mikecmpbll> :d
c355e3b has joined #ruby
<apeiros> yeah. unbackuppable (is that a word) 2nd FA is disturbing
<apeiros> main reason why I haven't secured all my stuff with 2FA
<mikecmpbll> recovery codes tho'
jgnagy has quit [Ping timeout: 250 seconds]
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mikecmpbll> when we developed a two factor app and had it security audited the auditors recommended preventing the secret being backed up with application data
<mikecmpbll> i guess it makes sense, you don't want the secret being distributed across uncontrollable locations.
<apeiros> mikecmpbll: thanks for that u2f hint. was pondering yubikey for some private project. might be that I'll use u2f instead (can still use a yubi product as they seem to support it)
<mikecmpbll> apeiros : we've been using yubico products for two-factor in our web app for 5+ years and recently switched to supporting U2F
<mikecmpbll> all OTP based two-factor are vulnerable to phishing attacks, which is the big bonus of U2F.
<apeiros> yeah. at some point, the user becomes the weakest link.
govg has joined #ruby
<Papierkorb> Oh, is the U2F stuff openly specified, including protocols?
<mikecmpbll> downside for us is browser support tho, only Chrome and Opera (and Firefox with a plugin)
<apeiros> for my case, I could use client certs. that might reduce phishing issue a lot.
horst has joined #ruby
<apeiros> but it'll increase support requirements :-/
nadir has joined #ruby
<mikecmpbll> Papierkorb : yep. the FIDO spec is being superseded by the more broad Web Auth spec though https://w3c.github.io/webauthn/
<Papierkorb> neat, thanks
interpolate has quit [Quit: interpolate]
<mikecmpbll> Edge folks are working on implementing Web Auth spec, for their Windows Hello identity thing.
byte512 has joined #ruby
Beams has joined #ruby
marr has quit [Ping timeout: 245 seconds]
aupadhye has quit [Ping timeout: 268 seconds]
unforgiven512 has quit [Ping timeout: 256 seconds]
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
toretore has quit [Read error: Connection reset by peer]
frmendes has quit [Quit: cya...]
BTRE has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
govg has quit [Ping timeout: 246 seconds]
dcluna has joined #ruby
mac has joined #ruby
nixmaniack has quit [Remote host closed the connection]
sdothum has joined #ruby
mac has quit [Client Quit]
claudiuinberlin has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
yorickpeterse has joined #ruby
bluOxigen has joined #ruby
hightower2 has joined #ruby
hightower3 has quit [Ping timeout: 252 seconds]
nahra has joined #ruby
roshanavand has joined #ruby
hightower2 has quit [Ping timeout: 268 seconds]
claudiuinberlin has joined #ruby
m_abdelfattah has quit [Quit: Textual IRC Client: www.textualapp.com]
<gizmore> good morning
blackmesa has joined #ruby
anisha_ has quit [Quit: Leaving]
mluts has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
mluts has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
Fernando-Basso has joined #ruby
johnmilton has joined #ruby
tk__ has joined #ruby
nonnatus has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
dcluna has quit [Quit: ERC (IRC client for Emacs 25.1.50.1)]
gusrub_ has joined #ruby
greinbold has joined #ruby
<greinbold> hi
jhack has joined #ruby
<vktec> o/ greinbold
jhack has quit [Client Quit]
lenwood has quit [Ping timeout: 240 seconds]
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rbr has quit [Ping timeout: 256 seconds]
nixmaniack has joined #ruby
claudiuinberlin has quit [Ping timeout: 260 seconds]
gusrub_ has quit [Ping timeout: 252 seconds]
rbr has joined #ruby
nahra has quit [Ping timeout: 245 seconds]
tubuliferous_ has quit [Ping timeout: 265 seconds]
synthroid has joined #ruby
k200 has quit [Quit: leaving]
anisha has quit [Quit: This computer has gone to sleep]
gingray has quit [Ping timeout: 244 seconds]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has joined #ruby
GodFather has joined #ruby
johnmilton has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
rbr has quit [Ping timeout: 256 seconds]
rbr has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
nankyokusei has joined #ruby
kareelee has joined #ruby
Snowy_ has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
<kareelee> do you guys know how can I simulate writing a string and press enter in a terminal app ?
Snowy has joined #ruby
<tobiasvl> pipe "string\n" into it?
<kareelee> I am using open3 for executing an application but the next step is to write a name and press enter
<kareelee> tobiasvl: how ?
SteenJobs has joined #ruby
grh has quit [Ping timeout: 246 seconds]
<kareelee> system("run", "-a") executes the app but then I must fill my name and press enter
nankyokusei has quit [Ping timeout: 260 seconds]
<kareelee> I tried to add another system("myname", "\r") but didn't work
blackwind_123 has joined #ruby
<blackbombay_> what part of open3 are you using?
<mluts> kareelee: popen('run -a', 'w') { |io| io.write(`whoami` + "\r\n") }
<mluts> *IO.popen
<kareelee> blackbombay_: Open3.capture3(stdin, *args)
Snowy has quit [Ping timeout: 250 seconds]
dushyant has quit [Quit: Leaving]
nahra has joined #ruby
<blackbombay_> according to the docs you can pass ":stdin_data => '..'" with that method.
<blackbombay_> capture3 "run -a", stdin_data: "kareelee".
<kareelee> mluts: it doesn't work, it just continues to as me for a value
anisha has quit [Quit: This computer has gone to sleep]
lenwood has joined #ruby
aphprentice has quit [Quit: Connection closed for inactivity]
<blackbombay_> hmm. popen3 could do a better job. it should let you spawn the command then write to stdin and then read from stdout or stderr (it passes those three ios to the block).
blackmesa has quit [Quit: WeeChat 1.5]
<kareelee> blackbombay_: indeed, I just show the docs. I am trying this out
greinbold has left #ruby ["WeeChat 1.0.1"]
f4cl3y has quit [Quit: Leaving]
<blackbombay_> i'm not sure if capture3 will work. i think you want to spawn the command first, and wait for 'run' to ask for input.
nahra has quit [Remote host closed the connection]
<kareelee> blackbombay_: I tried it and didn't work (the popen3)
blackwind_123 has quit [Ping timeout: 245 seconds]
<blackbombay_> what did you try? could you paste the code?
sepp2k has joined #ruby
jaxxstorm has quit [Quit: Textual IRC Client: www.textualapp.com]
<kareelee> IO.popen('run -a', 'w') { |io| io.write(`whoami` + "\r\n") }
jaxxstorm has joined #ruby
<blackbombay_> Open3.popen3.
workmad3 has quit [Ping timeout: 268 seconds]
blackwind_123 has joined #ruby
<blackbombay_> Open3.popen3('run -a') {|stdin,stdout,stderr,thr| stdin.write "kareelee"; ios, _, _ = IO.select [stdout, stderr], nil, nil; p ios.map(&:read) }
<blackbombay_> something like that..
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kareelee> omg
nonnatus has joined #ruby
<kareelee> IO.popen3 doesn't work for sure
<kareelee> I am trying with Open3
tyang has joined #ruby
<blackbombay_> ok
cibs has quit [Ping timeout: 268 seconds]
<kareelee> well with {|stdin,stdout,stderr,thr| stdin.write "myname" }
<kareelee> it returns an integer but I don't know If it works
<blackbombay_> write returns the number of bytes written, so it probably worked fine.
jdawgaz has joined #ruby
cibs has joined #ruby
<kareelee> and what If it asks for yes/no ?
<kareelee> how sould you get the stdout ?
<blackbombay_> stdout is there as second arg to the block but you should check if its readable or not first, IO.select stuff above is for that
tubuliferous_ has joined #ruby
jdawgaz has quit [Client Quit]
hogetaro has quit [Quit: Leaving...]
<blackbombay_> it sounds like you should first check what is written to stdout, if it asks for a username, write to stdin, then check stdout again, and parse whatever it wrote. perhaps a bunch of IO.select calls.
allcentury has joined #ruby
teclator has quit [Ping timeout: 260 seconds]
<blackbombay_> afk. good luck kareelee
fmcgeough has joined #ruby
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d0nn1e has quit [Ping timeout: 256 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
nahra has joined #ruby
greinbold has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
d0nn1e has joined #ruby
<kareelee> blackbombay_: worked ! thanks a lot
claudiuinberlin has joined #ruby
futabachannel has quit [Quit: Leaving...]
zukin has joined #ruby
tvw has quit [Remote host closed the connection]
Snowy has joined #ruby
chwbacca has joined #ruby
ta_ has quit [Remote host closed the connection]
grh has joined #ruby
kn330 has joined #ruby
blackwind_123 has quit [Ping timeout: 265 seconds]
blackwind_123 has joined #ruby
babblebre has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
JeanCarl1Machado has quit [Ping timeout: 256 seconds]
<guardian> hello
mostlybadfly has quit [Quit: Connection closed for inactivity]
<guardian> I'm a bit of a bundler noob, is there a negation operator to forbid a specific version? like I want 1.1.1 or > 1.1.3 (when 1.1.3 is out) but I don't want 1.1.2
workmad3 has joined #ruby
<ljarvis> guardian: gem 'foo', '1.1.1', '> 1.1.3'
chadwtaylor has joined #ruby
<kn330> guardian:
<ljarvis> nice one, was looking for those docs but my fu was failing
<guardian> oh that simple, thanks
Renich has joined #ruby
caral has joined #ruby
gingray has joined #ruby
kareelee has quit []
blackwind_123 has quit [Ping timeout: 265 seconds]
<guardian> thx
zukin has quit [Quit: leaving]
blackwind_123 has joined #ruby
ogotai has quit [Quit: leaving]
ogotai has joined #ruby
roger_rabbit has quit [Ping timeout: 260 seconds]
Salih has quit [Quit: Leaving]
troulouliou_div2 has joined #ruby
rohit__ has quit [Ping timeout: 250 seconds]
frmendes has joined #ruby
rohit__ has joined #ruby
DLSteve has joined #ruby
mluts has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
blackwind_123 has quit [Ping timeout: 265 seconds]
teclator has joined #ruby
ocbtec has quit [Quit: leaving]
mluts has joined #ruby
nettoweb has joined #ruby
hightower2 has joined #ruby
nankyokusei has joined #ruby
justinweiss has quit [Disconnected by services]
Joufflu has joined #ruby
jcao219 has joined #ruby
justinweiss has joined #ruby
shinnya has joined #ruby
d^sh_ has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
vuoto has joined #ruby
Renich has quit [Quit: leaving]
rohit__ has quit [Quit: Leaving]
mistergibson has quit [Ping timeout: 245 seconds]
d^sh has quit [Ping timeout: 265 seconds]
nixmaniack has quit [Remote host closed the connection]
nettoweb has quit [Max SendQ exceeded]
mwlang has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
caral has quit [Quit: caral]
<c0mrad3> how can I change the version of this(https://github.com/asciidoctor/asciidoctor-mallard) from 0.1.0.dev to 0.1.dev ?
<c0mrad3> all I can see is s.version = Asciidoctor::Mallard::VERSION
cibs has quit [Ping timeout: 268 seconds]
csk has joined #ruby
cibs has joined #ruby
<apeiros> modify the constant then?
xrlk has quit [Ping timeout: 260 seconds]
<c0mrad3> apeiros: thanks :)
nettoweb has joined #ruby
<c0mrad3> I tried searching for 0.1.0 but nothing showed up! https://github.com/asciidoctor/asciidoctor-mallard/search?utf8=%E2%9C%93&q=0.1.0&type=Code
<apeiros> full text search has usually quirks
<apeiros> (without those performance would be abysmal)
nettoweb has quit [Max SendQ exceeded]
saslam_ has joined #ruby
nixmaniack has joined #ruby
igniting has quit [Ping timeout: 268 seconds]
mostlybadfly has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
<c0mrad3> ack
ebye has quit [Quit: BitchX-1.2.1 -- just do it.]
nettoweb has joined #ruby
dunpeal has quit [Ping timeout: 246 seconds]
jdawgaz has joined #ruby
Kero has quit [Ping timeout: 260 seconds]
saslam_ has quit [Ping timeout: 248 seconds]
grh has quit [Ping timeout: 265 seconds]
Kero has joined #ruby
hightower3 has joined #ruby
Immune_ has joined #ruby
naprimer_2 has joined #ruby
hightower2 has quit [Ping timeout: 260 seconds]
haylon has joined #ruby
hightower2 has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
<nchambers> should a Gemfile.lock be on a .gitignore or included in the repo?
Immune has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 250 seconds]
naprimer has quit [Ping timeout: 265 seconds]
<apeiros> nchambers: should be in
<nchambers> in the repo?
justinweiss has quit [Ping timeout: 260 seconds]
<apeiros> yes
<apeiros> unless you want to omit the main reason to use bundler in the first place - all devs being on the exact same version.
<nchambers> ahh
<nchambers> I see
theery has joined #ruby
<nchambers> so the .lock file is like a meta of the gems
lenwood has quit [Remote host closed the connection]
lenwood has joined #ruby
<apeiros> it stores the exact version your project is locked to.
<apeiros> hence lock.
<nchambers> that makes sense
<nchambers> thanks
hightower3 has quit [Ping timeout: 248 seconds]
kn330 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
flying has quit []
virgil has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
justinweiss has joined #ruby
csk has quit [Remote host closed the connection]
cyphase has joined #ruby
csk has joined #ruby
pwnd_nsfw has quit [Ping timeout: 260 seconds]
dunpeal has joined #ruby
justinweiss has quit [Ping timeout: 256 seconds]
Kero has quit [Ping timeout: 260 seconds]
jaxxstorm has quit [Ping timeout: 260 seconds]
AlexRussia has joined #ruby
dionysus69 has joined #ruby
Kero has joined #ruby
tk__ has quit [Quit: ばいばい]
jcao219 has quit [Ping timeout: 268 seconds]
last_staff has quit [Quit: last_staff]
i8igmac has quit [Ping timeout: 245 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
jdawgaz has joined #ruby
jhack has joined #ruby
mattn_jp_ has joined #ruby
polishdub has joined #ruby
mattn_jp_ has quit [Client Quit]
johnmccabe has joined #ruby
machinewar has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
toretore has joined #ruby
roflmyeggo has joined #ruby
agent_white has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
JeanCarloMachado has joined #ruby
chris349 has joined #ruby
nicks_85_ has joined #ruby
chadwtaylor has quit [Remote host closed the connection]
chadwtaylor has joined #ruby
<nicks_85_> Hello I am facing problem with solaris 11 ruby version 1.9.1 and 2.1.0, other version have not tried yet , but when I run the fpm its always giving me this error, could someone please help me https://gist.github.com/nicks85/3e3f776d7efbed44a60c0ae43ffe6da2
JeanCarl1Machado has joined #ruby
mark_66 has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<adam12> nicks_85_: Strange territory for most. How did you install Ruby?
<nicks_85_> adam12 I have installed via pkg install ruby
<havenwood> nchambers: Ignore it for gems but commit it for apps.
whiteline has quit [Remote host closed the connection]
hahuang61 has joined #ruby
<adam12> nicks_85_: I'm not sure I can be much help, but in my looking at SmartOS, I believe pkgsrc had a patch for ffi.
whiteline has joined #ruby
chadwtaylor has quit [Ping timeout: 240 seconds]
<nicks_85_> adam12 any example do you have how to patch it as I am quite new in ruby
lenwood has quit [Ping timeout: 260 seconds]
<adam12> nicks_85_: Not off hand :|
<nchambers> thanks havenwood
SteenJobs has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Immune_ has quit [Ping timeout: 260 seconds]
SteenJobs has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lele has quit [Ping timeout: 260 seconds]
jgnagy has joined #ruby
djbkd has joined #ruby
nankyokusei has joined #ruby
lele has joined #ruby
jgnagy has quit [Ping timeout: 245 seconds]
chadwtaylor has joined #ruby
nixmaniack has quit [Remote host closed the connection]
machinewar has quit []
aganov has quit [Quit: Leaving]
a1fa has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
a1fa has joined #ruby
GinoManWorks has joined #ruby
chadwtaylor has quit [Ping timeout: 260 seconds]
cibs has quit [Ping timeout: 268 seconds]
greinbold has quit [Quit: WeeChat 1.0.1]
gnufied has joined #ruby
dunpeal has quit [Ping timeout: 252 seconds]
AlexRussia has quit [Ping timeout: 256 seconds]
cibs has joined #ruby
djbkd has quit []
roflmyeggo has quit [Ping timeout: 260 seconds]
roflmyeggo has joined #ruby
synthroid has quit [Remote host closed the connection]
solocshaw has joined #ruby
nonnatus has joined #ruby
rfoust has joined #ruby
hogetaro has joined #ruby
AlexRussia has joined #ruby
grh has joined #ruby
SteenJobs has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
mluts has quit [Ping timeout: 252 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
dar123 has joined #ruby
[Butch] has joined #ruby
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dar123 has quit [Client Quit]
babblebre has quit [Quit: Connection closed for inactivity]
doublemalt__ has quit [Ping timeout: 260 seconds]
jgnagy has joined #ruby
MichaelK has joined #ruby
frmendes has quit [Quit: Zzzz...]
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 260 seconds]
jespada has joined #ruby
<MichaelK> Hi, is there any guarantee to the precision of `.to_r` for `TimeWithZone`? It seems like it should be fixed precision, but I couldn't find anything about it
solocshaw has quit [Quit: solocshaw]
nunchuck has joined #ruby
amclain has joined #ruby
rbr has quit [Ping timeout: 250 seconds]
pwnd_nsfw has joined #ruby
balazs has joined #ruby
<balazs> Can somebody help out a newbie ? I did "bundle install" and mixlib-cli got installed in ./vendor/bundle. What do I have to set GEM_PATH to so I can 'require "mixlib/cli"' ?
nonnatus has joined #ruby
vuoto has quit [Quit: Lost terminal]
vuoto has joined #ruby
<havenwood> balazs: Bundler uses a silly "remembered" --path flag. Check your bundler config.
igniting has joined #ruby
<havenwood> balazs: bundle config
nunchuck has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
<havenwood> balazs: Or the other possibility is you've set --deployment (also remembered).
nunchuck has joined #ruby
nunchuck has quit [Remote host closed the connection]
<balazs> "path" is "vendor/bundle" indeed
frmendes has joined #ruby
rbr has joined #ruby
gusrub_ has joined #ruby
<balazs> I guess my question is how to make ruby look for the gem there
<havenwood> balazs: bundle config --delete path
nunchuck has joined #ruby
<balazs> then just "bundle install" ?
<havenwood> balazs: yeah, that would install to GEM_HOME
<havenwood> balazs: or you can set GEM_HOME to bundler's path
skweek has joined #ruby
rubyDube has joined #ruby
<balazs> I did export GEM_PATH=/home/balazs/project/vendor/bundle
<balazs> And still cannot be found
<balazs> I'm testing with: ruby -e 'require "mixlib/cli"'
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greinbold has joined #ruby
gusrub_ has quit [Ping timeout: 245 seconds]
<havenwood> err, right - GEM_PATH not GEM_HOME - you're wanting to use it not install to that location
<rubyDube> Is there a way to include all of ruby23's bin inside an exe packaged by ocra?
<havenwood> balazs: Is this in dev?
<balazs> yes, dev
<havenwood> balazs: It's fine to install the bundle to the global gem location. It'll still use the right versions of the right gems from the Gemfile.lock.
greinbold has quit [Client Quit]
JeanCarl1Machado has quit [Ping timeout: 252 seconds]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
<havenwood> rubyDube: See Traveling Ruby, Ocra or Releasy
<balazs> I still don't get what to set GEM_PATH to. Shouldn't this work:
<balazs> export GEM_HOME=/home/balazs/project/vendor/bundle/; ruby -e 'require "mixlib/cli"'
yardenbar has joined #ruby
<havenwood> balazs: that's GEM_HOME
<balazs> That is the directory where mixlib/cli is installed to
<havenwood> balazs: typo?
Fire-Dragon-DoL has quit [Ping timeout: 250 seconds]
<balazs> same results with GEM_PATH
greinbold has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
<rubyDube> oh, so there'
SteenJobs has joined #ruby
<rubyDube> is a irc for ocra
mikecmpbll has quit [Quit: inabit. zz.]
SteenJobs has quit [Client Quit]
SteenJobs has joined #ruby
nunchuck has quit [Remote host closed the connection]
nunchuck has joined #ruby
jsrn_ has quit [Read error: Connection reset by peer]
SteenJobs has quit [Client Quit]
saslam_ has joined #ruby
jackjackdripper has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
synthroid has joined #ruby
nixmaniack has joined #ruby
railssmith has quit [Ping timeout: 252 seconds]
babblebre has joined #ruby
blingrang has quit [Quit: WeeChat 1.3]
claudiuinberlin has quit []
edwinvdgraaf has quit [Ping timeout: 240 seconds]
nixmaniack has quit [Ping timeout: 256 seconds]
gregf_ has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
SteenJobs has joined #ruby
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Snowy has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
cloaked1 has quit [Quit: leaving]
nowhere_man has joined #ruby
meshsmith has joined #ruby
rubyDube has quit [Ping timeout: 260 seconds]
Mia has quit [Ping timeout: 268 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Beams has quit [Quit: .]
swills has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
gingray has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
dionysus69 has quit [Quit: dionysus69]
SCHAAP137 has quit [Ping timeout: 260 seconds]
maximus_dynamo has joined #ruby
codfection has joined #ruby
<maximus_dynamo> Dead chat?
bayed has joined #ruby
<apeiros> just silent
<maximus_dynamo> Ah, okay
<baweaver> that, and you just joined
mikecmpbll has joined #ruby
<vktec> Yeah, don't expect messages within 30s of joining a channel ;)
dunpeal has joined #ruby
nankyokusei has joined #ruby
<maximus_dynamo> Haha, it
<maximus_dynamo> Haha, It's just that a lot of these IRC chats are dead
rbr has quit [Ping timeout: 268 seconds]
cibs has quit [Ping timeout: 268 seconds]
<vktec> Well, yes. Some channels are less active than others
<maximus_dynamo> 'less active' meaning one post a month or less
<maximus_dynamo> Also known as dead :P
cibs has joined #ruby
<vktec> Heh
nixmaniack has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
<nchambers> what http lib would you guys recommend?
<nchambers> does Net:HTTP work fine?
<toretore> maximus_dynamo: the official ruby channels have all moved to slack
<toretore> maximus_dynamo: jk
<toretore> nchambers: yes, it works fine
johnmccabe has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
<nchambers> toretore, thanks
<toretore> nchambers: with most other http libs you will find yourself needing to do something which it doesn't support, but net/http does
<agent_white> nchambers: HTTParty is also worth taking a look at!
nixmaniack has quit [Ping timeout: 260 seconds]
<maximus_dynamo> lol, let us dread the day the ruby community follows wordpressers -._-. toretore
<toretore> i find httparty to be too full of batteries
mluts has joined #ruby
<nchambers> hi agent_white !
<nchambers> ill take a look at that too
<nchambers> toretore, makes sense. thanks
nobitanobi has quit [Remote host closed the connection]
<maximus_dynamo> Isn't Net::HTTP a standard lib?
dar123 has joined #ruby
jhack has quit [Quit: jhack]
<toretore> yes it is
jespada has quit [Quit: WeeChat 1.5-dev]
zotherstupidguy has joined #ruby
polishdub has quit [Ping timeout: 268 seconds]
theery has quit []
Madplatypus has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
miqlas-H has joined #ruby
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dar123> what is equivalent of expect in ruby to send commands and read outputs from a terminal session
<apeiros> I'd say the equivalent of expect is expect
<dar123> what about alternate
<apeiros> alternate?
<apeiros> you mean alternatives?
johnmccabe has joined #ruby
tdy has quit [Ping timeout: 248 seconds]
<toretore> dar123: you should explain in more details what it is you want to do, then you'll get better answers
gusrub_ has joined #ruby
jphase has quit [Remote host closed the connection]
<apeiros> dar123: in case it wasn't clear - ruby has its own expect: http://ruby-doc.org/stdlib-2.3.1/libdoc/expect/rdoc/IO.html#method-i-expect
jphase has joined #ruby
<maximus_dynamo> Why can't ruby see a txt file in the same dir when I put: "x = File.readlines('text.txt')"
<dar123> I am writing a script to configure cisco switches, i need output of a command ' show interface description' to be sent to a file. once i have it in file i can parse it easily
<apeiros> maximus_dynamo: same dir as the script != working dir
<maximus_dynamo> How does one link the file without writing a full path then?
nicks_85_ has quit [Ping timeout: 260 seconds]
<maximus_dynamo> And where is the working dir?
<apeiros> initially, the working dir is from where you start your script
<apeiros> e.g. if you `cd /home/foo; ruby scripts/bar.rb`, then the working dir is /home/foo
<apeiros> and it'll stay that way until your script actively changes the working dir.
johnmccabe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> Dir.getwd returns the current working directory.
<apeiros> and all relative paths are relative to the working directory.
<maximus_dynamo> Oh... that makes a lot of sense o.o
gusrub_ has quit [Ping timeout: 260 seconds]
johnmccabe has joined #ruby
<toretore> maximus_dynamo: depending on your use case, you should probably either 1) always require full path to be given by the user, or 2) assume that the file is static, relative to the location of the script
<apeiros> you can use __FILE__ and __dir__ to construct paths relative to the current code file
creat has quit [Quit: Leaving]
tercenya has quit [Remote host closed the connection]
<apeiros> what to do depends entirely on what you need. there's no generic answer to that question.
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phantompain has joined #ruby
jphase has quit [Ping timeout: 258 seconds]
haylon has quit [Ping timeout: 260 seconds]
<toretore> actually, nm my 1)
dhollinger has quit [Ping timeout: 260 seconds]
tercenya has joined #ruby
<toretore> if i do `ruby script.rb -f file.rb` i expect that to be relative to my cwd
<maximus_dynamo> It's static
dhollinger has joined #ruby
tubuliferous_ has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
<maximus_dynamo> so I could do something like File.readlines(File.dirname(_FILE_)'text.txt)
<maximus_dynamo> *'text.txt'
Skullclown has quit []
rbr has joined #ruby
definity has joined #ruby
hahuang61 has joined #ruby
nonnatus has joined #ruby
lacour has joined #ruby
<maximus_dynamo> Nvm, I got it
<maximus_dynamo> Thanks :)
eljimbo has joined #ruby
mpwin has joined #ruby
symm- has quit [Ping timeout: 252 seconds]
nicoulaj has joined #ruby
atmosx has joined #ruby
nicoulaj has quit [Client Quit]
<definity> Hi, I am trying to learn ruby and I'm reading the documentation but I can't seem to find the methods for the TCPSocket class. Where can I find them?
modin has quit [Ping timeout: 246 seconds]
SCHAAP137 has joined #ruby
nicoulaj has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
nobitanobi has joined #ruby
greinbold has quit [Quit: WeeChat 1.0.1]
parabolize has joined #ruby
modin has joined #ruby
chwbacca has quit [Ping timeout: 250 seconds]
<Papierkorb> definity: socket stuff is in the "sockets" library which is not part of the stdlib, but is part of the standard distribution. That's why you don't find it directly in the stdlib docs
SteenJobs has quit [Quit: SteenJobs]
gizless has joined #ruby
nobitanobi has quit [Remote host closed the connection]
hahuang61 has joined #ruby
djbkd has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
<balazs> Is there a canonical way to make mixlib/cli take a flag multiple times ? Like "command -t t1 -t t2"
<toretore> optparse should support that, but don't ask me how
swills has joined #ruby
<balazs> Currently I'm using a class variable like so: :proc => Proc.new {|t| @x||=[]; @x.push(t)}
swills has quit [Changing host]
swills has joined #ruby
muelleme has joined #ruby
<definity> Okay thanks :) is there a close method?
<atmosx> definity: have you looked the link I gave you?
kirun has joined #ruby
<atmosx> The first code sample features a close method and it's like 6 lines, hard to miss.
aufi_ has quit [Ping timeout: 244 seconds]
<definity> atmosx: yeah.
<toretore> definity: http://www.rubydoc.info/stdlib/socket/TCPSocket shows you which methods are inherited too
workmad3 has quit [Ping timeout: 258 seconds]
<toretore> not including close, apparently..
muelleme has quit [Ping timeout: 248 seconds]
<toretore> probably because it's in IO, which is in core, and rdoc doesn't know anything about that when generating for socket
<definity> Ahhh, I see. Okay thanks :)
allcentury has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
muelleme has joined #ruby
maximus_dynamo has quit [Ping timeout: 256 seconds]
frmendes has quit [Quit: cya...]
nowhere_man has quit [Ping timeout: 258 seconds]
toretore has quit [Quit: Leaving]
toretore has joined #ruby
toretore has quit [Client Quit]
Rodya_ has joined #ruby
nankyokusei has joined #ruby
muelleme has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
dn` has joined #ruby
bin7me has joined #ruby
ruby-lang964 has joined #ruby
<ruby-lang964> hi
<havenwood> ruby-lang964: hi
jetblack has joined #ruby
gusrub_ has joined #ruby
igniting has quit [Ping timeout: 246 seconds]
<ruby-lang964> does anybody know how go get previous pc for this cfp
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
SteenJobs has joined #ruby
MichaelK has quit [Quit: Page closed]
<apeiros> ruby-lang964: should that question make sense?
Asher has quit [Quit: Leaving.]
xrlk has joined #ruby
<ruby-lang964> i need to get calling info for method dispatch
<ruby-lang964> in YARV
<ruby-lang964> so i get cfp for this dispatch and in his father cfp i want to decrement pc and get callinfo
gusrub_ has quit []
firstdayonthejob has joined #ruby
<ruby-lang964> 0063 opt_send_without_block <callinfo!mid:new, argc:1, ARGS_SIMPLE>, <callcache>
<ruby-lang964> something like this
jhack has joined #ruby
gusrub_ has joined #ruby
csk has quit [Quit: Bye]
crdpink has quit [Quit: Konversation terminated!]
<xrlk> how do i fix my var/log from growing uncontrollably
<xrlk> couldnt boot today
<xrlk> turns out /var/log grew to 2tb
maximus_dynamo has joined #ruby
<xrlk> why isnt there some cronjob by default to keep this from happening
<vktec> xrlk: How is this a Ruby issue...?
<baweaver> because linux does not assume things
<baweaver> also that
ramfjord has joined #ruby
<baweaver> this is also why you use partitions
<vktec> ^
<xrlk> it's ruby related because I couldn't run ruby
jhack_ has joined #ruby
<baweaver> It's not
<xrlk> my inability to use irb was tangential
<vktec> I'm sensing a troll here
gnufied has quit [Quit: Leaving]
<baweaver> ?offtopic
<ruby[bot]> this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
threedee has joined #ruby
csk has joined #ruby
jhack has quit [Ping timeout: 252 seconds]
igniting has joined #ruby
ruby-lang964 has left #ruby [#ruby]
<baweaver> There are also Linux support channels. This is not one of them
maximus_dynamo has quit [Ping timeout: 248 seconds]
jmignault has joined #ruby
futilegames has joined #ruby
crdpink has joined #ruby
jhack_ has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
rafadc has joined #ruby
Mia has joined #ruby
KnownSyntax has joined #ruby
jhack_ has joined #ruby
jmignault has quit [Ping timeout: 256 seconds]
Axy has quit [Ping timeout: 248 seconds]
jhack has quit [Ping timeout: 245 seconds]
<nchambers> hey guys! would someone mind reviewing my irc bot for any improvements I can make? Thank you! https://cpy.pt/Pye2mA3U
futilegames has quit [Ping timeout: 260 seconds]
tubuliferous_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
nbrogan has joined #ruby
csk has quit [Quit: Bye]
jhack_ has quit [Ping timeout: 256 seconds]
<baweaver> Seems fairly standard except for the 4 space indentation.
csk has joined #ruby
<nchambers> ok cool
<nchambers> nothing I can do better?
<baweaver> It's fairly simple honestly.
<baweaver> not much to really critique
futilegames has joined #ruby
<nchambers> good point
<havenwood> nchambers: You could use the shorthand: %w[#learnprogramming #lpmc]
<nchambers> oh cool
<havenwood> nchambers: you might want to anchor your regexp
<nchambers> is that like perl's q() thing?
<baweaver> >> %w(one two three)
<ruby[bot]> baweaver: # => ["one", "two", "three"] (https://eval.in/676327)
<baweaver> havenwood: link could be anywhere
<baweaver> that's probably better.
f4 has joined #ruby
nowhere_man has joined #ruby
ruby-lang904 has joined #ruby
csk has quit [Client Quit]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has joined #ruby
nocd has quit [Quit: ZNC - http://znc.in]
jhack has joined #ruby
nocd has joined #ruby
ruby-lang904 has quit [Ping timeout: 260 seconds]
nocd has quit [Client Quit]
ramfjord has quit [Ping timeout: 260 seconds]
gnufied has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.6]
kechja has joined #ruby
firstdayonthejob has joined #ruby
andikr has quit [Remote host closed the connection]
chadwtaylor has joined #ruby
<havenwood> Is ruby-lang964 still around?
flak has joined #ruby
tercenya has quit [Remote host closed the connection]
Miron has joined #ruby
swills has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
tercenya has joined #ruby
jhack has quit [Ping timeout: 258 seconds]
rippa has quit [Ping timeout: 268 seconds]
zeroDi has joined #ruby
<havenwood> I asked ko1 and it seems there's not a link to the decremented program counter. Seaton suggested you'd have to get it from the stack. I don't know.
definity has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
jhack has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
csk has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
pawnbox has joined #ruby
nocd has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 260 seconds]
kbdkode has joined #ruby
aryaching has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
bocaneri has quit [Read error: Connection reset by peer]
jaruga___ has quit [Quit: jaruga___]
dviola has joined #ruby
csk has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Quit: Leaving.]
harai has quit [Ping timeout: 245 seconds]
pawnbox has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 260 seconds]
futilegames has quit [Quit: futilegames]
phantompain has quit [Ping timeout: 265 seconds]
toretore has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
pragmaticus has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
Axy has joined #ruby
harai has joined #ruby
tylerwillingham has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.6]
Mia has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jetblack has quit [Ping timeout: 245 seconds]
nankyokusei has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
<tylerwillingham> Can anyone guide me in the right direction for using FactoryGirl for a PORO when one of the arguments on initialization should fill with a specific factory?. Here’s a rough example. https://gist.github.com/tylerwillingham/c3895b1a3324663b2a91fe3d8a52a0a8
nankyokusei has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
aidalgol has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
maximus_dynamo has joined #ruby
phantompain has joined #ruby
<tylerwillingham> I got it working with `user { FactoryGirl.create :user }`
bluOxigen has quit [Ping timeout: 244 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
tylerwillingham has quit [Quit: tylerwillingham]
maximus_dynamo has quit [Ping timeout: 248 seconds]
rbr has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has quit [Remote host closed the connection]
rbr has joined #ruby
bmurt has quit [Ping timeout: 260 seconds]
ocbtec has joined #ruby
tercenya has quit [Remote host closed the connection]
maximus_dynamo has joined #ruby
tdy has joined #ruby
tercenya has joined #ruby
ajaiswal has quit [Ping timeout: 252 seconds]
ajaiswal has joined #ruby
segy has quit [Ping timeout: 252 seconds]
segy has joined #ruby
snath has joined #ruby
snath has left #ruby [#ruby]
frmendes has joined #ruby
shinnya has joined #ruby
maximus_dynamo has quit [Ping timeout: 268 seconds]
millerti has joined #ruby
mwlang has quit [Quit: mwlang]
doublemalt__ has joined #ruby
cyphase has quit [Ping timeout: 258 seconds]
dunpeal has quit [Ping timeout: 260 seconds]
harai has quit [Ping timeout: 246 seconds]
pragmaticus has quit [Ping timeout: 260 seconds]
cyphase has joined #ruby
ta_ has joined #ruby
dionysus69 has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
GinoManWorks has quit [Quit: Leaving]
csk has joined #ruby
sparch has quit [Ping timeout: 268 seconds]
xrlk has quit [Ping timeout: 245 seconds]
sparch has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
ldnunes has quit [Quit: Leaving]
jcao219 has joined #ruby
aryaching has joined #ruby
sparch has quit [Ping timeout: 260 seconds]
phantompain has quit [Ping timeout: 260 seconds]
AlphaAtom has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
jhack has joined #ruby
roflmyeggo has quit [Ping timeout: 240 seconds]
sp4rrow has joined #ruby
tubuliferous_ has joined #ruby
nowhere_man has joined #ruby
roflmyeggo has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dunpeal has joined #ruby
zzz has joined #ruby
ur5us has joined #ruby
roger_rabbit has joined #ruby
zzz is now known as Guest59758
Guest59758 has quit [Remote host closed the connection]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phantompain has joined #ruby
roflmyeggo has quit [Remote host closed the connection]
roflmyeggo has joined #ruby
tomaw_ has joined #ruby
bmurt has joined #ruby
rafadc has quit [Remote host closed the connection]
xrlk has joined #ruby
tomaw_ has quit [Quit: Quitting]
vuoto has quit [Remote host closed the connection]
rafadc has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
quazimodo has joined #ruby
dmtd has joined #ruby
sp4rrow has quit [Quit: Textual]
sp4rrow has joined #ruby
nankyokusei has quit [Remote host closed the connection]
meshsmith has quit [Remote host closed the connection]
agent_white has quit [Quit: brbrestart]
nankyokusei has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yardenbar has quit [Ping timeout: 256 seconds]
kirun has quit [Quit: Konversation terminated!]
Snowy has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
dar123 has joined #ruby
dar123 has quit [Client Quit]
SuperLag has quit [Ping timeout: 245 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
SuperLag has joined #ruby
ruby-lang964 has joined #ruby
ruby-lang964 has left #ruby [#ruby]
s2013 has quit [Ping timeout: 240 seconds]
ruby-lang964 has joined #ruby
tubuliferous_ has quit [Ping timeout: 248 seconds]
KineticX has quit []
nankyoku_ has joined #ruby
<ruby-lang964> havenwood, can i dm you about this?
nankyokusei has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
bonerwad has joined #ruby
<bonerwad> any recommendations on daemonizing a script? is the Daemons gem the best way to go?
igniting has quit [Quit: Ex-Chat]
<havenwood> ruby-lang964: Yeah, you're welcome to though it might be preferable to ask here since others might better answer.
SteenJobs has quit [Quit: SteenJobs]
<bonerwad> or just Process.daemon
nonnatus has joined #ruby
<havenwood> bonerwad: You might consider trying to avoid doing so, unless your case requires it.
bovis has joined #ruby
dar123 has joined #ruby
jackjackdripper has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<bovis> is there an equivalent of YAML.something to File.foreach where you could reach, say, one hash at a time?
jetblack has joined #ruby
nankyoku_ has quit [Ping timeout: 256 seconds]
matheusmoreira has quit [Ping timeout: 244 seconds]
<ruby-lang964> ok, as i understand i cant get link from cfp on YARV instruction, who called him too?
gingray has joined #ruby
<jyaworski> bovis YAML.load_file('myfile.yml') will turn it into a hash.
csk has quit [Quit: ZZZzzz…]
matheusmoreira has joined #ruby
<bovis> jyaworski: but it will still load the entire file as a whole unit?
<bovis> jyaworski: if I'm correct, foreach reads line by line, which is useless in a YAML
<jyaworski> bovis it will give you a hash of hashes/arrays as is appropriate. You can then use .each, .each_pair, etc.
<bovis> I guess it would just be nice to read unit by unit, like read a hash, stop and wait, read another
<bovis> jyaworski: the load_file is what I have working now
<jyaworski> You can use YAML.load_file('myfile.yml').inspect to see what I mean.
<bovis> loading a whole file works, I'm just curious about an alternative
sp4rrow has joined #ruby
synthroid has quit []
<jyaworski> I'm not aware of a way to partially read a file until you terminate a hash or array. You could get ridiculous with File.seek.
f4 has quit [Ping timeout: 246 seconds]
xaxisx_ has quit [Quit: xaxisx_]
Fire-Dragon-DoL has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<bovis> jyaworski: seek looks fun, but not necessarily what I need; thanks though
agent_white has joined #ruby
angelkryyo[m] has joined #ruby
sonOfRa has quit [Quit: Bye!]
dunpeal has quit [Ping timeout: 244 seconds]
sonOfRa has joined #ruby
<xrlk> i fixed my logs
<xrlk> and can run ruby now
<xrlk> no thanks to you
angelkryyo[m] has left #ruby [#ruby]
<tobiasvl> good job
tubuliferous_ has joined #ruby
<Papierkorb> Took only 2.5h to rm /var/log/**/*.log*
jhack has quit [Ping timeout: 265 seconds]
<bougyman> that doesn't parralelize the rm's at all.
<djellemah> bovis: maybe YAML.load_documents, but it requires --- document separators.
<baweaver> xrlk: last warning: enough.
<baweaver> and for everyone else, #ruby-offtopic.
<xrlk> Papierkorb,
<xrlk> lmao
<xrlk> removing logs
<xrlk> as if
<xrlk> stopping services
<apeiros> !kick xrlk baweaver was clear enough
xrlk was kicked from #ruby by ruby[bot] [baweaver was clear enough]
jhack has joined #ruby
<bovis> djellemah: looks like you still load the whole yaml file, but that will be helpful for future ideas
<bovis> djellemah: maybe the separation of users, tasks, major groupings in a single doc
<bovis> is the xrlk ban permanent?
<bougyman> Papierkorb: how did you remove those, what command?
<baweaver> bovis: feel free to discuss in #ruby-offtopic, but no, kick lasts a minute.
<bovis> baweaver: ty
<Papierkorb> bougyman: what do you mean?
<Papierkorb> Remove what?
<bougyman> 11/11-13:28 < Papierkorb> Took only 2.5h to rm /var/log/**/*.log*
<bougyman> or maybe that was a joke? I don't know the context, can't see backscroll.
<Papierkorb> bougyman: I was joking that it took xrlk so long to figure out the rm invocation I wrote there, which is a legit zsh glob if you're wondering
<bougyman> ok
tyang has quit [Read error: Connection reset by peer]
<bougyman> was just gonna chime in that rsync's --delete is generally much faster than any incantation of rm.
<bougyman> rsync --delete /some_empty_folder /your_folder_with_tons_of_files
<bougyman> er -a --delete
ramfjord_ has joined #ruby
<baweaver> /dev/null?
<djellemah> bovis: I had an idea load_documents used streaming, which is possible because of the document separators. But the code trail heads off into Psych somewhere, so I can't see whether it's actually implemented using streaming or not.
<bovis> djellemah: what do you mean by streaming?
ramfjord has quit [Ping timeout: 268 seconds]
<djellemah> bovis: loading only enough of a potentially large yaml file to yield something sensible.
<havenwood> ruby-lang964: So you want to get at the previous executing instruction from the control frame pointer?
jhack_ has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
ta_ has quit [Remote host closed the connection]
nonnatus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
<havenwood> ruby-lang964: I don't know the answer but hang around and someone else might be able to help.
<bovis> djellemah: would it be ridiculous inefficiency to just separate all parts of file with doc separators, like every hash is between a --- ?
jhack has quit [Ping timeout: 256 seconds]
jhack_ is now known as jhack
<bovis> djellemah: if load_doc works like a stream as you said, that could be a replacement-ish for a similar to File.foreach
<djellemah> bovis: maybe, but I don't have any useful experiences to share on that :-|
<djellemah> gotta go
<bovis> djellemah: seeya
bin7me has quit [Read error: Connection reset by peer]
ta_ has quit [Ping timeout: 250 seconds]
sp4rrow has joined #ruby
jhack has quit [Ping timeout: 268 seconds]
dar123 has quit [Quit: Textual IRC Client: www.textualapp.com]
Ishido has quit [Remote host closed the connection]
Snowy has quit [Read error: Connection reset by peer]
swills has joined #ruby
Ishido has joined #ruby
Snowy has joined #ruby
swills has quit [Remote host closed the connection]
swills has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
swills has quit [Remote host closed the connection]
jscheel has joined #ruby
roflmyeggo has quit [Ping timeout: 246 seconds]
jmignault has joined #ruby
jetblack has quit [Quit: leaving]
xrlk has joined #ruby
<xrlk> XD
roflmyeggo has joined #ruby
jmignault has quit [Ping timeout: 260 seconds]
muelleme has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
roflmyeggo has quit [Ping timeout: 240 seconds]
gusrub_ has quit [Remote host closed the connection]
<ruby-lang964> havenwood: my task is to get call information for each method dispatch, and getting call iseq is the only way i found
gusrub_ has joined #ruby
gusrub_ has quit [Remote host closed the connection]
roflmyeggo has joined #ruby
maximus_dynamo has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
gusrub_ has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
mim1k|work has quit [Ping timeout: 268 seconds]
claudiuinberlin has quit []
shinnya has quit [Ping timeout: 252 seconds]
gusrub_ has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
jhack has joined #ruby
mim1k|work has joined #ruby
roflmyeggo has quit [Quit: Lost terminal]
saslam_ has quit [Ping timeout: 244 seconds]
ramfjord_ has quit [Ping timeout: 246 seconds]
Snowy has quit [Ping timeout: 268 seconds]
nowhere_man has quit [Ping timeout: 260 seconds]
gusrub_ has joined #ruby
gusrub_ has quit [Remote host closed the connection]
gusrub_ has joined #ruby
chadwtaylor has quit [Remote host closed the connection]
gusrub_ has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
gusrub_ has joined #ruby
chadwtaylor has joined #ruby
gusrub_ has quit [Remote host closed the connection]
csk has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
gusrub_ has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
muelleme has quit [Ping timeout: 260 seconds]
chadwtaylor has quit [Ping timeout: 260 seconds]
Darmani has joined #ruby
nowhere_man has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
dunpeal has joined #ruby
maximus_dynamo has quit [Quit: Lost terminal]
nicoulaj has quit [Remote host closed the connection]
djbkd has joined #ruby
DTZUZU has joined #ruby
Renich has joined #ruby
ramfjord_ has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
gingray has quit [Ping timeout: 240 seconds]
hightower2 has joined #ruby
skweek has joined #ruby
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #ruby
tomphp has joined #ruby
chadwtaylor has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
Rodya_ has quit [Remote host closed the connection]
aidalgol has quit [Quit: gtg]
Rodya_ has joined #ruby
Rodya__ has joined #ruby
ramfjord has joined #ruby
chadwtaylor has quit [Remote host closed the connection]
chadwtaylor has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 258 seconds]
Rodya__ has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bovis has quit [Quit: leaving]
alan_w has quit [Quit: WeeChat 1.4]
tomphp has joined #ruby
rafadc has quit [Ping timeout: 250 seconds]
minimalism has quit [Quit: minimalism]
biberu has quit []
swills has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chadwtaylor has quit [Remote host closed the connection]
ruby has joined #ruby
ruby has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
polishdub has quit [Quit: Leaving]
bigkevmcd has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
chadwtaylor has joined #ruby
minimalism has joined #ruby
jgt1 has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: inabit.]
mikecmpbll has joined #ruby
jgt1 has joined #ruby
i8igmac has joined #ruby
csk has quit [Quit: ZZZzzz…]
sp4rrow has quit [Quit: Textual]
cydrobolt has quit [Ping timeout: 256 seconds]
f4 has joined #ruby
aibot has quit [Ping timeout: 250 seconds]
aibot has joined #ruby
Immune has joined #ruby
shiver has quit [Ping timeout: 260 seconds]
cydrobolt has joined #ruby
cydrobolt has quit [Changing host]
cydrobolt has joined #ruby
shiver has joined #ruby
doublemalt__ has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SCHAAP137 has quit [Quit: Leaving]
chadwtaylor has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
SCHAAP137 has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
swills has quit [Remote host closed the connection]
ramfjord has joined #ruby
mpwin has quit [Quit: Leaving...]
firstdayonthejob has quit [Ping timeout: 248 seconds]
jackjackdripper has quit [Quit: Leaving.]
railssmith has joined #ruby
GodFather has joined #ruby
swills has joined #ruby
swills has quit [Remote host closed the connection]
pwnd_nsfw has quit [Read error: Connection reset by peer]
jscheel has quit [Quit: jscheel]
gusrub_ has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
pwnd_nsfw has joined #ruby
sonOfRa has quit [Quit: Bye!]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ocbtec has quit [Quit: leaving]
i8igmac has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
rabbleproof is now known as CrazyEddy
byte512 has quit [Ping timeout: 246 seconds]
augcesar has quit [Quit: Connection closed for inactivity]
gusrub_ has joined #ruby
Rodya_ has joined #ruby
djbkd has quit [Remote host closed the connection]
sonOfRa has joined #ruby
Renich has quit [Quit: leaving]
nettoweb has joined #ruby
bmurt has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
grs has quit [Ping timeout: 244 seconds]