havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3; 2.2.6; 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/
<zacts> I'm thinking I'm leaning towards Padrino maybe
<adam12> zacts: What do you mean? Padrino should get you as functional as you would be in Rails
<adam12> aside from ActionCable, as mentioned.
<zacts> ah ok
<zacts> yeah, so I think I will definitely consider this Padrino
<zacts> It sounds awesome
mikecmpbll has quit [Quit: inabit. zz.]
<adam12> It is.
<adam12> ;)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zacts> thanks adam12
<zacts> ok, /me idles for a bit
FastJack has joined #ruby
cdg has quit [Remote host closed the connection]
raul782 has joined #ruby
raul782 has quit [Read error: Connection reset by peer]
kies has quit [Ping timeout: 268 seconds]
arescorpio has joined #ruby
charliesome has joined #ruby
toretore has quit [Ping timeout: 245 seconds]
x77686d has joined #ruby
Ropeney has joined #ruby
nankyokusei has joined #ruby
x77686d has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 258 seconds]
tau has joined #ruby
charliesome has joined #ruby
SpiffTR has joined #ruby
vqrs has joined #ruby
ryan_notabot has joined #ruby
sp4rrow has joined #ruby
sp4rrow has quit [Read error: Connection reset by peer]
sp4rrow_ has joined #ruby
SpiffTR has quit [Ping timeout: 264 seconds]
shakes has joined #ruby
shakes has quit [Client Quit]
bturker has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
ncthom91 has joined #ruby
ascarter has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
_whitelogger has joined #ruby
enterprisey has joined #ruby
hutch34 has joined #ruby
raul782 has joined #ruby
A_Drone has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 265 seconds]
raul782 has quit []
GodFather has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
reverberations has quit [Read error: Connection reset by peer]
reverberations has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
Anonymoose2 has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
reverberations has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
Anonymoose2 has quit [Ping timeout: 265 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Ping timeout: 268 seconds]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 250 seconds]
reverberations has joined #ruby
brendan- has joined #ruby
Coldblackice has joined #ruby
frozengeek____ has quit [Quit: frozengeek____]
SpiffTR has joined #ruby
PaulCapestany has joined #ruby
armyriad has joined #ruby
SpiffTR has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
ascarter has joined #ruby
Coldblackice has quit [Ping timeout: 246 seconds]
dopamean_ has quit [Read error: Connection reset by peer]
dopamean_ has joined #ruby
doublemalt_ has joined #ruby
OTORelic4 has joined #ruby
DoubleMalt has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
hinbody has joined #ruby
Coldblackice has joined #ruby
montanonic has quit [Ping timeout: 268 seconds]
r3vDev has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
ncthom91 has joined #ruby
Coldblackice has quit [Excess Flood]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
Coldblackice has joined #ruby
ncthom91 has quit [Client Quit]
Jameser has joined #ruby
ascarter has joined #ruby
r3vDev has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
kies has joined #ruby
postmodern has joined #ruby
FreshDumbledore has left #ruby ["Leaving"]
tau has quit [Remote host closed the connection]
montanonic has joined #ruby
reverberations has quit [Ping timeout: 268 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
lupine has quit [Ping timeout: 245 seconds]
reverberations has joined #ruby
bturker has joined #ruby
awc has joined #ruby
d^sh has quit [Ping timeout: 248 seconds]
astrobunny has joined #ruby
lupine has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
d^sh has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
awc has quit [Client Quit]
dmarr has joined #ruby
skweek has joined #ruby
aaronwedd has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
dmarr has quit [Remote host closed the connection]
dmarr has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
MrBusiness2 has quit [Quit: https://www.youtube.com/watch?v=xIIqYqtR1lY -- Suicide is Painless - Johnny Mandel]
SpiffTR has joined #ruby
pawnbox has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiffTR has quit [Ping timeout: 248 seconds]
Immune_ is now known as immune
tofutoon has joined #ruby
<tofutoon> Can someone suggest a framework-independent api testing tool where tests can be written in Ruby?
<tofutoon> I'm looking for other tools like airborne (https://github.com/brooklynDev/airborne).
<zenspider> I hate that "api" now means "http stuff"...
<tofutoon> havenwood: That only works for Rack apps. I'm looking for tools that can test apis written in any language. In other words, testing by doing the equivalent of making curl requests and analyzing the responses.
triangles2 has joined #ruby
<tofutoon> havenwood: 'framework-independent api' was probably misleading... I meant an api written in any language.
optiz0r has quit [Ping timeout: 246 seconds]
zapata has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
OTORelic4 has quit [Ping timeout: 268 seconds]
triangles has quit [Ping timeout: 268 seconds]
<tofutoon> zenspider: What term would you prefer for http apis?
libastral has quit [Ping timeout: 250 seconds]
OTORelic4 has joined #ruby
aryaching_ has joined #ruby
Asher has quit [Ping timeout: 244 seconds]
Asher has joined #ruby
aryaching has quit [Ping timeout: 258 seconds]
A_Drone has quit [Remote host closed the connection]
libastral has joined #ruby
A_Drone has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
montanonic has joined #ruby
armyriad has quit [Quit: Leaving]
armyriad has joined #ruby
SteenJobs has joined #ruby
zapata has joined #ruby
LoneHermit has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Coldblackice has quit [Ping timeout: 246 seconds]
yeticry has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
hahuang62 has quit [Ping timeout: 258 seconds]
SteenJobs has quit [Quit: peaceee]
LoneHerm_ has joined #ruby
bradleyprice has joined #ruby
ascarter has joined #ruby
gbgdev_ has joined #ruby
yeticry has joined #ruby
bradleyprice has quit [Ping timeout: 258 seconds]
gbgdev has quit [Ping timeout: 250 seconds]
<z64> probbably that you just be more specific lol - "http api", or "REST api".. etc.
aryaching has joined #ruby
aryaching_ has quit [Ping timeout: 264 seconds]
montanonic has quit [Ping timeout: 240 seconds]
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver_away is now known as baweaver
dmarr has quit [Remote host closed the connection]
bradleyprice has joined #ruby
hanmac has quit [Ping timeout: 245 seconds]
StoBrendo has quit [Ping timeout: 245 seconds]
mscs has joined #ruby
SpiffTR has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpiffTR has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 250 seconds]
ascarter has joined #ruby
boon_ has joined #ruby
beilabs has joined #ruby
ryan_notabot has quit [Remote host closed the connection]
hanmac has joined #ruby
z64 has quit [Ping timeout: 260 seconds]
Yzguy has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
arescorpio has quit [Quit: Leaving.]
LoneHerm_ has joined #ruby
OTORelic4 has quit [Ping timeout: 258 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
osieln has joined #ruby
NeverTired has quit [Quit: Connection closed for inactivity]
hutch34 has joined #ruby
roger_rabbit has quit [Ping timeout: 246 seconds]
matp has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 250 seconds]
matp has joined #ruby
A_Drone has joined #ruby
ReK2 has quit [Remote host closed the connection]
ReK2 has joined #ruby
bturker has joined #ruby
hutch34 has quit [Ping timeout: 265 seconds]
A_Drone has quit [Ping timeout: 258 seconds]
yeticry has quit [Read error: Connection reset by peer]
triangles2 has quit [Quit: Leaving]
antoniobeyah has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Remote host closed the connection]
yeticry has joined #ruby
chouhoulis has joined #ruby
hahuang62 has joined #ruby
jphase has joined #ruby
saneax-_-|AFK is now known as saneax
optiz0r has joined #ruby
<hays> anyone messed with serial comms? looks like there is a gem.. i wonder how hard it would be to replace minicom with a ruby script
chouhoulis has quit [Ping timeout: 250 seconds]
harai_ has joined #ruby
nankyokusei has joined #ruby
jphase has quit [Read error: Connection reset by peer]
jphase has joined #ruby
pawnbox has quit [Remote host closed the connection]
gusrub has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 268 seconds]
iMadper has joined #ruby
ascarter has joined #ruby
SpiffTR has joined #ruby
pawnbox has joined #ruby
nadir is now known as comradenadir
SpiffTR has quit [Ping timeout: 265 seconds]
comradenadir is now known as nadir
pawnbox has quit [Remote host closed the connection]
kies has quit [Ping timeout: 250 seconds]
gusrub has joined #ruby
madsa_ has quit [Ping timeout: 250 seconds]
madsa has joined #ruby
charliesome has joined #ruby
pawnbox has joined #ruby
reverberations has quit [Ping timeout: 268 seconds]
hahuang62 has quit [Ping timeout: 245 seconds]
gix has quit [Ping timeout: 258 seconds]
aryaching has joined #ruby
_sfiguser has quit [Remote host closed the connection]
voucher has joined #ruby
kies has joined #ruby
gix has joined #ruby
voucher has quit [Client Quit]
jtdoncas_ has quit [Quit: WeeChat 1.5]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
jphase has quit []
jphase has joined #ruby
sp4rrow_ has quit [Quit: The Internet needs a break and I need a cookie]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
yeticry has quit [Ping timeout: 245 seconds]
beilabs has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
pawnbox has quit [Remote host closed the connection]
SpiffTR has joined #ruby
aryaching has quit [Ping timeout: 258 seconds]
beilabs has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
beilabs has quit [Read error: No route to host]
beilabs has joined #ruby
SpiffTR has quit [Ping timeout: 258 seconds]
axisys has quit [Quit: leaving]
axisys has joined #ruby
A_Drone has joined #ruby
Rutix has quit []
preyalone has joined #ruby
aryaching has joined #ruby
hahuang62 has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
pawnbox has joined #ruby
charliesome has joined #ruby
sharms has quit [Ping timeout: 250 seconds]
chopin has joined #ruby
mooe has joined #ruby
ta_ has quit [Remote host closed the connection]
bturker has joined #ruby
chopin has quit [Remote host closed the connection]
chopin has joined #ruby
johnny56_ has quit [Ping timeout: 246 seconds]
bturker has quit [Ping timeout: 256 seconds]
jaguarmagenta has quit [Remote host closed the connection]
brent__ has quit [Quit: Connection closed for inactivity]
blackwind_123 has quit [Ping timeout: 250 seconds]
johnny56_ has joined #ruby
jaguarmagenta has joined #ruby
tofutoon has left #ruby [#ruby]
chopin has quit [Ping timeout: 248 seconds]
blackwind_123 has joined #ruby
hahuang62 has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
charliesome has joined #ruby
pawnbox has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has joined #ruby
johnny56_ has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
Xiti has quit [Ping timeout: 258 seconds]
fenre has joined #ruby
SpiffTR has joined #ruby
johnny56_ has joined #ruby
muelleme has joined #ruby
SpiffTR has quit [Ping timeout: 250 seconds]
s2013 has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
agent_white has joined #ruby
muelleme has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
enterprisey has quit [Remote host closed the connection]
al2o3-cr_ is now known as al2o3-cr
jenrzzz has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
Yzguy has quit [Quit: Zzz...]
beilabs has joined #ruby
Yzguy has joined #ruby
benlieb has quit [Quit: benlieb]
reginvld has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Yzguy has quit [Ping timeout: 240 seconds]
cyclonis has joined #ruby
pandaant has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.6]
blackwind_123 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
al2o3-cr has joined #ruby
lubekpl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mentalx has joined #ruby
mentalx has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sp4rrow has joined #ruby
hahuang62 has joined #ruby
hahuang62 has quit [Ping timeout: 258 seconds]
conta has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
osieln has quit [Quit: leaving]
dionysus69 has joined #ruby
ta_ has joined #ruby
SpiffTR has joined #ruby
lubekpl has joined #ruby
pawnbox has quit [Remote host closed the connection]
frozengeek____ has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
Madplatypus has joined #ruby
threh has quit [Quit: 'Til next time]
blaxter has joined #ruby
andikr has joined #ruby
blaxter has quit [Client Quit]
bigkevmcd has quit [Ping timeout: 250 seconds]
aganov has joined #ruby
conta has quit [Read error: Connection reset by peer]
conta1 has joined #ruby
conta1 is now known as conta
bigkevmcd has joined #ruby
agent_white has quit [Quit: brb]
pandaant has quit [Remote host closed the connection]
Macaveli has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Salih has joined #ruby
JaReAx has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
bocaneri has quit [Ping timeout: 250 seconds]
d0nn1e has quit [Ping timeout: 248 seconds]
bocaneri has joined #ruby
d0nn1e has joined #ruby
hutch34 has joined #ruby
jcao219 has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
biberu has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
bturker has joined #ruby
frozengeek____ has quit [Quit: frozengeek____]
harai_ has quit [Ping timeout: 250 seconds]
vondruch_ has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
Ropeney has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
SesMan has joined #ruby
dionysus69 has joined #ruby
mark_66 has joined #ruby
claudiuinberlin has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
graywolf has joined #ruby
<graywolf> Greetings :) I've found XMLRPC::Server class, looks cool and simple to use, but how can I add authentification to such a think? Just want to add password/username to it.. documentation mentions password/username for XMLRPC::Client, but not for server. It's just not possible or did I miss something?
<zenspider> I would think that usually you'd set up auth on a regular web server and have this server behind it
aufi has joined #ruby
nankyokusei has joined #ruby
<graywolf> hm, sounds like a pita.. I guess I just get by without auth all togerther
<graywolf> thanks anyway :)
nankyokusei has quit [Ping timeout: 245 seconds]
SpiffTR has quit [Quit: Leaving.]
QoQOoO has joined #ruby
aupadhye has joined #ruby
r3vDev has joined #ruby
vondruch_ has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
astrobunny has quit [Remote host closed the connection]
cocomo has joined #ruby
<cocomo> ruby has an absolute garbage package management system, i am trying to run a program written in this hipster language and its like i need to take a course on Ruby
<zenspider> cocomo: thanks for sharing! wow!
codfection has joined #ruby
<zenspider> cocomo: did you want to figure out your problem or did you just want to rant?
astrobunny has joined #ruby
frozengeek____ has joined #ruby
<cocomo> when i run jekyll serv it tells me that I am using wrong package version... well i didn't install that damn package ruby did. its not my fault.
<cocomo> i am trying to run github pages website offline
Humdai has joined #ruby
<zenspider> I doubt it said package...
<zenspider> what did the error actually say?
OS-18137 has left #ruby [#ruby]
<cocomo> "you have already activated colorator 1.1.0, but your Gemfile require colorator 0.1. Prepending `bundle exec` to your command may solve this."
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<zenspider> how are you running it?
<cocomo> i did that bundle exec jekyll serv and it says `fatal: 'jekyll serv' could not be found. You may need to install the jekyll-serv gem or a related gem to abe able to use this subcommand'
<zenspider> different problem entirely... almost like it has nothing to do with versions
<cocomo> zenspider: ./vendor/bundle/ruby/2.3.0/bin/jekyll serv
frozengeek____ has quit [Remote host closed the connection]
<cocomo> zenspider: so what am i doing wrong.
<zenspider> just guessing... but it is spelled "serve"
StoBrendo has joined #ruby
Snickers has joined #ruby
<zenspider> based on lib/jekyll/commands/serve.rb
CloCkWeRX has joined #ruby
<zenspider> that should/could be made smarter... like you can do "gem i" instead of "gem install"
blaxter has joined #ruby
frozengeek____ has joined #ruby
frozengeek____ has quit [Remote host closed the connection]
<cocomo> zenspider: oh my word "serve" is write i misspelled it
<zenspider> "right", even
<cocomo> right*
vondruch_ is now known as vondruch
<cocomo> english isn't my first language
<zenspider> it's fine... glad you're back on track
maattdd has joined #ruby
SpiffTR has joined #ruby
emilkarl has joined #ruby
salut has joined #ruby
etehtsea has joined #ruby
wugy has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
QoQOoO_ has joined #ruby
nofxx has quit [Ping timeout: 256 seconds]
lenwood has joined #ruby
teclator has quit [Remote host closed the connection]
frozengeek____ has joined #ruby
QoQOoO has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<zenspider> cocomo: have fun enjoying our hipster language!
Burgestrand has joined #ruby
jsrn_ has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 268 seconds]
nettoweb has joined #ruby
hahuang62 has joined #ruby
SpiffTR has quit [Quit: Leaving.]
mikecmpbll has joined #ruby
hahuang62 has quit [Ping timeout: 260 seconds]
eightbitraptor has joined #ruby
iMadper has quit [Ping timeout: 265 seconds]
iMadper has joined #ruby
djbkd has quit [Quit: My people need me...]
SesMan has joined #ruby
teclator has joined #ruby
andikr has quit [Remote host closed the connection]
bayed has joined #ruby
postmodern has quit [Remote host closed the connection]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
ferr1 has joined #ruby
astrobunny has quit [Remote host closed the connection]
montanonic has joined #ruby
NeverTired has joined #ruby
awc has joined #ruby
QoQOoO has joined #ruby
Burgestrand has joined #ruby
Olipro has quit [Ping timeout: 246 seconds]
aryaching_ has joined #ruby
QoQOoO_ has quit [Ping timeout: 258 seconds]
aryaching has quit [Ping timeout: 240 seconds]
SpiffTR has joined #ruby
e1z0 has joined #ruby
emilkarl has quit [Read error: Connection reset by peer]
emilkarl has joined #ruby
awc has quit [Quit: Mutter: www.mutterirc.com]
nadir has quit [Quit: Connection closed for inactivity]
e1z0 has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
pawnbox has quit [Remote host closed the connection]
emilkarl has quit [Client Quit]
emilkarl has joined #ruby
harai_ has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
marr has joined #ruby
ddffg has joined #ruby
gbgdev has joined #ruby
djbkd has joined #ruby
TomyWork has joined #ruby
sdothum has joined #ruby
<TomyWork> hi
<TomyWork> is there some way to evaluate the performance of a regex in ruby?
<TomyWork> regex101.com has this "steps" count for pcre and a few others, but not for ruby
<TomyWork> rubular.com supports ruby regexes, but has no step count or any other performance measure
hutch34 has joined #ruby
<dminuoso> &ri Benchmark#measure TomyWork
<TomyWork> dminuoso ooh, warmup included?
andikr has joined #ruby
<dminuoso> TomyWork: What warmup are we talking about?
<zenspider> I'd suggest you use the benchmark-ips gem instead
<dminuoso> ^- listen to zenspider
GodFather has joined #ruby
<zenspider> neither will tell you steps taken. that can usually be reasoned by learning what regexps are and what they do under the hood, basic shape at least... until then, benchmark-ips is really easy
SpiffTR has quit [Quit: Leaving.]
<zenspider> TomyWork: how bad is the regexp?
Dimik has quit [Ping timeout: 258 seconds]
hutch34 has quit [Ping timeout: 265 seconds]
unshadow has joined #ruby
Olipro has joined #ruby
<TomyWork> zenspider well i have an existing regex, it shouldn't backtrack more than one character
tsunamie has quit [Ping timeout: 256 seconds]
<TomyWork> so not too bad
<TomyWork> but i want to add a negative lookahead part to it
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
<TomyWork> right now it's like blahblah[[:space:]]*.*?[[:space:]]* and i want to make sure that .* part doesnt contain a certain string, so i want to change it to blahblah[[:space:]]*(?!.*?a certain string).*?[[:space:]]*
djbkd has quit [Remote host closed the connection]
<tobiasvl> .*?
<TomyWork> yes
<TomyWork> lazy matching
cjk101010 has quit [Quit: ZNC - http://znc.sourceforge.net]
<tobiasvl> why not just blahblah[[:space:]]*.*(?!a certain string).*?[[:space:]]*
<TomyWork> tobiasvl because that's not how look-ahead works
<tobiasvl> hm, ok
neanderslob has joined #ruby
<TomyWork> it'd still be perfectly happy to match any and all strings
<zenspider> TomyWork: and is there no delimiter that might terminate where this certain string might be?
<tobiasvl> ah yeah, you're right. but what's .*? - an optional group of zero or more characters?
<zenspider> spaces, for example
<zenspider> no, a non-greedy group
<TomyWork> tobiasvl see http://rubular.com/r/dcB81tUOfQ
A_Drone has quit []
Chair has joined #ruby
jcao219 has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
<TomyWork> zenspider well there may be (and usually are) spaces within that string and i still want to remove trailing spaces
<zenspider> that first .* is capturing the "a certain string"
<TomyWork> yep
<TomyWork> which is why i'm using blahblah[[:space:]]*(?!.*?a certain string).*?[[:space:]]* :)
<zenspider> *nod* that should work
QoQOoO_ has joined #ruby
<TomyWork> zenspider rubyxp.com seems to have expired
<TomyWork> you're linking to it
cjk101010 has joined #ruby
<zenspider> that quickref at the bottom of rubular is useless
<zenspider> ew... clickbait. thanks
<TomyWork> i'd never refer to that anyway
QoQOoO__ has joined #ruby
workmad3 has joined #ruby
QoQOoO has quit [Read error: Connection reset by peer]
<TomyWork> much better to go right to the manual :)
<TomyWork> or just knowing this stuff and going to the manual for the corner cases :)
sdwrage has joined #ruby
<zenspider> fixed...
<zenspider> thanks
cigarzh has joined #ruby
cigarzh has left #ruby [#ruby]
nankyokusei has joined #ruby
koooge has quit [Quit: Leaving...]
<zenspider> reminds me that I need to add new oniguruma features to the quickref
<TomyWork> zenspider some dialects have "??" btw... non-greedy 0 or 1
QoQOoO_ has quit [Ping timeout: 258 seconds]
tsunamie has joined #ruby
<TomyWork> not sure if ruby has it
blaxter has quit [Quit: foo]
<zenspider> yeah. looking now so I can get the right doco version
<TomyWork> anyway, the strings are like 200-300 characters at most... i'm sure it's not the bottleneck anyway
<TomyWork> and i dont really have an optimization option that wont destroy maintainability anyway
<TomyWork> so i'll just leave it that way :)
braincrash has joined #ruby
<TomyWork> <- lunch
nankyokusei has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
toretore has joined #ruby
treaki has joined #ruby
harai_ has quit [Ping timeout: 260 seconds]
e1z0 has joined #ruby
<zenspider> holy crap... I'm so behind on this... rubular has WAY more
<zenspider> >> "ff42"[/\h+/]
<ruby[bot]> zenspider: # => "ff42" (https://eval.in/695414)
<zenspider> fantastic!
unshadow has quit [Quit: leaving]
e1z0 has quit [Ping timeout: 248 seconds]
ponga has quit []
bturker has joined #ruby
jcao219 has joined #ruby
pawnbox has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
Silox| has joined #ruby
minimalism has quit [Quit: minimalism]
symm- has quit [Ping timeout: 248 seconds]
rodferso1 has joined #ruby
QoQOoO__ has quit [Read error: Connection reset by peer]
QoQOoO has joined #ruby
jenrzzz has joined #ruby
QoQOoO has quit [Client Quit]
rodfersou has quit [Ping timeout: 264 seconds]
platzhirsch has joined #ruby
SpiffTR has joined #ruby
LambdaSi1 is now known as LambdaSix
tsunamie has quit [Ping timeout: 256 seconds]
mooe has quit [Quit: Connection closed for inactivity]
jenrzzz has quit [Ping timeout: 264 seconds]
blackbom1 has quit [Ping timeout: 250 seconds]
Rabbit_ has quit [Ping timeout: 250 seconds]
Flonk has quit [Ping timeout: 260 seconds]
montanonic has quit [Ping timeout: 258 seconds]
Rabbit has joined #ruby
yonatankoren_ has quit [Ping timeout: 265 seconds]
rodfersou has joined #ruby
jaruga___ has joined #ruby
yonatankoren has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
Flonk has joined #ruby
Beams has quit [Client Quit]
rodferso1 has quit [Ping timeout: 260 seconds]
tsunamie has joined #ruby
Beams has joined #ruby
emilkarl has quit [Read error: Connection reset by peer]
emilkarl has joined #ruby
jaruga___ has quit [Quit: jaruga___]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<guardian> given an array of strings, is there a more efficient way than .join(' ').scan(/\w+/).uniq to get back a list of words?
<guardian> (hello)
<zenspider> are you having problems with its performance?
<guardian> for real no :) still I'm curious
hahuang62 has joined #ruby
<zenspider> I wouldn't worry about it then
<TomyWork> how about .map{|x| x.scan(/\w+/)}.flatten.uniq
<guardian> yeah that's the other options
LoneHerm_ has joined #ruby
<zenspider> might as well use flatmap
<TomyWork> that's the saner approach anyway
<guardian> scanning sub strings before joining
<guardian> because ultimately I need a string of terms
<TomyWork> flat_map? oh, nice
<zenspider> from what data source?
<TomyWork> rebooting
TomyWork has quit [Remote host closed the connection]
<zenspider> guardian: ^^ what data?
<guardian> array of hashes: e.g. [ { text: "Foo Bar", url: "..." }, ... ]
<guardian> so I first use map to get i[:text]
<zenspider> why do you need to get a list of unique words out of it? where does the data come from?
<guardian> building a search index for lunrjs
hahuang62 has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
blackbom1 has joined #ruby
<zenspider> for how many documents?
LoneHerm_ has quit [Ping timeout: 264 seconds]
<guardian> lots
r3vDev has quit [Ping timeout: 258 seconds]
<guardian> will headings.map{ |h| h[:text].scan(/\w+/) }.flat_map{ |w| w }.uniq be faster than headings.map{ |h| h[:text].scan(/\w+/) }.flatten.uniq ?
<zenspider> can't be that many if join+scan work for you
<guardian> currently works in a proof of concept
<zenspider> guardian: write your own benchmarks and answer it yourself with real data
<guardian> which all in all doesn't void my curiosity about which impl I should lend towards
<guardian> s/lend/lean/
<zenspider> doing neither will be faster. if you want to do "lots", dealing with all the data at once is a mistake
<zenspider> don't use map. use each. don't flatten. don't uniq.
<zenspider> store words into a set
<zenspider> but really... until you measure, you have no problem and code that works is Good Enough.
pawnbox has joined #ruby
<guardian> sure
TomyWork has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
e1z0 has joined #ruby
Macaveli has joined #ruby
r3vDev has joined #ruby
fenre has quit []
pawnbox has quit [Remote host closed the connection]
<zenspider> something like
<zenspider> headings.each { |h| h[:text].scan(/\w+/).each { |w| words << w } }
* zenspider goes to bed
<guardian> o/
Snowy has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
Snowy is now known as FredWest
e1z0 has quit [Ping timeout: 258 seconds]
aaronwedd has quit [Ping timeout: 250 seconds]
h1fuelcell has joined #ruby
<apeiros> if words is a set, iirc you can do words.add(h[:text].scan(/\w+/))
reginvld has quit [Read error: Connection reset by peer]
<apeiros> it'll internally probably do the same
<apeiros> oh, add is only a single member
<apeiros> merge instead of add
maattdd has quit [Ping timeout: 258 seconds]
loy_ has joined #ruby
beilabs has joined #ruby
h1fuelce_ has joined #ruby
p0p0pr37_ has joined #ruby
ta__ has joined #ruby
Axy has quit [Read error: Connection reset by peer]
ta_ has quit [Read error: Connection reset by peer]
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37_ is now known as p0p0pr37
lenwood has quit [Ping timeout: 264 seconds]
mim1k|wo1k has joined #ruby
Mia has joined #ruby
h1fuelcell has quit [Ping timeout: 250 seconds]
mim1k|work has quit [Read error: Connection reset by peer]
symm- has joined #ruby
fenre has joined #ruby
bkutil has quit [Quit: leaving]
charliesome has joined #ruby
beilabs has quit [Read error: No route to host]
beilabs has joined #ruby
mim1k|wo1k has quit [Ping timeout: 246 seconds]
mim1k|work has joined #ruby
s2013 has joined #ruby
FredWest_ has joined #ruby
mim1k|work has quit [Read error: Connection reset by peer]
prestorium has joined #ruby
FredWest has quit [Ping timeout: 245 seconds]
SpiffTR has quit [Quit: Leaving.]
mim1k|work has joined #ruby
jaguarmagenta has joined #ruby
aaronwed1 has joined #ruby
psychicist__ has joined #ruby
jaguarmagenta has quit [Ping timeout: 246 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
gregf_ has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
elastix has joined #ruby
lenwood has joined #ruby
SesMan has joined #ruby
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
cocomo has quit [Ping timeout: 265 seconds]
hutch34 has quit [Ping timeout: 264 seconds]
bturker has quit [Ping timeout: 256 seconds]
cocomo has joined #ruby
frozengeek____ has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
BLuEGoD has joined #ruby
frozengeek____ has joined #ruby
tk__ has joined #ruby
LoneHerm_ has joined #ruby
reverberations has joined #ruby
tvw has joined #ruby
armin has quit [Quit: relate to the matter as i drop the bomb]
LoneHerm_ has quit [Ping timeout: 258 seconds]
e1z0 has joined #ruby
d0lph1n98 has joined #ruby
brendan- has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<loy_> /join #lisp
nankyokusei has joined #ruby
r3vDev has quit [Ping timeout: 258 seconds]
yaw has joined #ruby
julian is now known as alamar
Burgestrand has joined #ruby
<yaw> hello good people
armin has joined #ruby
<yaw> is it possible to do something when a module has been required?
e1z0 has quit [Ping timeout: 268 seconds]
saneax is now known as saneax-_-|AFK
<yaw> something along the lines of `included` that allows you to react to a modules inclusion
<yaw> thanks :)
blackbom1 has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
<manveru> yaw: there is included already...
djellemah has quit [Remote host closed the connection]
<yaw> manveru: does it take care of `require` too?
<manveru> require doesn't include anything
djellemah has joined #ruby
AustinMatherne has quit [Ping timeout: 250 seconds]
<manveru> require may lead to included modules, but so may any eval
AustinMatherne has joined #ruby
djellemah has quit [Remote host closed the connection]
<dminuoso> yaw: Yess there is, you just dump code inside the file.
Emmanuel_Chanel has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
<dminuoso> yaw: All require does is execute code, which means "do something when xxx has been required" is solved by just writing code in xxx.
platzhirsch has quit [Quit: WeeChat 1.4]
claudiuinberlin has quit [Ping timeout: 258 seconds]
cyclonis_ has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackbom1 has joined #ruby
<yaw> ok. thanks dminuoso and manveru :D
symm- has quit [Ping timeout: 256 seconds]
d0lph1n98 has quit [Quit: leaving]
cyclonis has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby
colstrom has quit []
colstrom has joined #ruby
nadir has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Iacobus__ has quit []
Iacobus__ has joined #ruby
djellemah has joined #ruby
maattdd has joined #ruby
vayan has quit []
kuSuSE has joined #ruby
vayan has joined #ruby
aaronwed1 has quit [Ping timeout: 258 seconds]
esc4rg0t has joined #ruby
<esc4rg0t> Is there a way to keep carriage returns when using "File.open(...).each_line do |line| ..."? It seems that the 'linefeed' is kept in the string, 'carriagereturn' is not there anymore,...
<dminuoso> esc4rg0t: You can control this through encodings.
<esc4rg0t> dminuoso: interesting. My file is UTF-8, I read the file in UTF-8,...what am I missing?oO
<dminuoso> esc4rg0t: String#encode accepts crlf_newline: value and universal_newline: value
dmnd has quit []
<apeiros> esc4rg0t: \r\n remains for me. are you on windows?
dmnd has joined #ruby
<esc4rg0t> apeiros: Yes indeed, Windows...because I have to ;-)
<apeiros> welcome to window's insanity of text vs. binary mode
<dminuoso> apeiros: It's settings
<dminuoso> sec
Burgestrand has joined #ruby
<esc4rg0t> dminuoso: Hm,...
<dminuoso> esc4rg0t: are you opening the file in binary mode?
amitchellbullard has quit []
Macaveli has joined #ruby
<apeiros> esc4rg0t: iirc text mode (default) will strip the \r out
amitchellbullard has joined #ruby
<apeiros> IMO use binary mode always on windows
<dminuoso> apeiros: It shouldn't. Only binary removes it.
<dminuoso> or..
<apeiros> dminuoso: pretty sure you got that wrong way round ;-p
<dminuoso> you may be right apeiros
<dminuoso> Yeah
<dminuoso> All my windows development uses vagrant... :P
blackbom1 has quit [Ping timeout: 258 seconds]
<esc4rg0t> apeiros: Very nice! Thanks for that, you just safed me many hours of try and error :-D
ryan_notabot has joined #ruby
<esc4rg0t> apeiros: although I don't really understand what Windows is doing here,...but yeah, changing to binary fixed it. I will have to read up on that,...
herbmillerjr has joined #ruby
<dminuoso> apeiros: Honestly the whole topic of locales creates too many problems anyway.
<dminuoso> esc4rg0t: Note that this forces the encoding to ASCII-8BIT though.
<apeiros> environment based interpretation of data is problematic
<apeiros> and honestly I don't understand how anybody ever considered it to be a good idea
<dminuoso> apeiros: Things such as "time" or "location" are inherently environment based. I dont think you can ever get around the issue entirely.
<esc4rg0t> dminuoso: Well, I can live with that I guess.
<apeiros> dminuoso: you can have windows' binary mode without binary encoding iirc
<apeiros> can't test, though, as I don't have a windows :)
<dminuoso> apeiros: geographic coordinates are a pure nightmare if not everything is WGS 84.
<dminuoso> apeiros: mmm
johnmilton has joined #ruby
<apeiros> 3/5/11
<apeiros> is that: 3rd may 2011? 5th march 2011? 11th may 2003? something else?
<dminuoso> At least for that we have ISO.
<apeiros> praise the iso
<dminuoso> apeiros: Though it gets more disgusting when you think about issues such as leap seconds.
<dminuoso> The whole concept of "time" as humans use it is just deeply flawed.
gbgdev_ has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
<dminuoso> Life would be much easier if you used Minkowski spacetime diagrams instead of calendars.
gbgdev has quit [Ping timeout: 250 seconds]
<dminuoso> Clearly.
<apeiros> life would be easier if we were 1 dimensional beings. no space, no time.
<dminuoso> apeiros: There's sufficient evidence to indicate that our universe is two dimensional rather than three dimensional in terms of space dimensions.
<dminuoso> Enough to be considered a theory.
<apeiros> timecubed evidence?
<dminuoso> apeiros: Huh?
* apeiros remembers 4d with options to 11d or 13d…
<apeiros> first time I hear it was really 2d?
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
z64 has joined #ruby
<dminuoso> apeiros: No that's about something else. It's a principle based on blackhole thermodynamics. Essentially it suggests that very much like a hologram, the universe is two-dimensional in nature - with the third being just an appearance.
<dminuoso> (Stricly talking about space dimensions only)
rodfersou is now known as rodfersou|afk
Macaveli has quit [Ping timeout: 265 seconds]
fredlinhares1 has joined #ruby
fredlinhares1 has quit [Client Quit]
jaruga___ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
<dminuoso> apeiros: Leonard Susskind and Gerard 't Hooft are responsible for the so-called holographic principle in case you care to do some research on thet opic.
synthroid has joined #ruby
<apeiros> won't have the time
<apeiros> also I have a hard time imagining how we don't fall apart having a "hole" through our whole body. something tells me that an appearance wouldn't suffice to keep us together.
<dminuoso> apeiros: One of the core things that inspired the idea was that a black holes entropy increases with its area rather than its volume - suggesting that there's something really weird.
<dminuoso> Based on this the holographic principle was created to resolve the black hole information paradox.
blackbom1 has joined #ruby
Lildirt has quit [Ping timeout: 246 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ishigoya- has joined #ruby
elastix has quit [Quit: Leaving]
troter__________ has quit []
troter__________ has joined #ruby
Lildirt has joined #ruby
psychicist__ has quit [Ping timeout: 256 seconds]
c355e3b has joined #ruby
blackbom1 has quit [Ping timeout: 268 seconds]
hutch34 has joined #ruby
Macaveli has joined #ruby
pawnbox has joined #ruby
hahuang62 has joined #ruby
e1z0 has joined #ruby
r3vDev has joined #ruby
LoneHermit has joined #ruby
konsolebox has joined #ruby
hahuang62 has quit [Ping timeout: 240 seconds]
e1z0 has quit [Ping timeout: 250 seconds]
LoneHermit has quit [Ping timeout: 268 seconds]
brendan- has joined #ruby
Cymew has quit [Remote host closed the connection]
blackmesa has joined #ruby
gmci has quit []
gmci has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
fmcgeough has joined #ruby
psychicist__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uranellus has quit [Quit: ZNC 1.6.1 - http://znc.in]
claudiuinberlin has joined #ruby
workmad3 has joined #ruby
brendan- has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
frozengeek____ has quit [Quit: frozengeek____]
frozengeek____ has joined #ruby
Emmanuel_Chanel has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubiesnperls has joined #ruby
gnufied has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackmesa has quit [Quit: WeeChat 1.5]
symm- has joined #ruby
<jokke> hey
<rubiesnperls> i have a syntax issue. and i've no idea what's wrong. methodName( :symbol, hashKey: :symbol2 ) /error unexpected :, expecting )
<jokke> is it possible to exclude parts of a file from line count for rubocop?
charliesome has joined #ruby
<jokke> i'm writing a sinatra api and use swagger blocks for documentation. they tend to use up alot of lines but aren't code per-se
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
emilkarl has quit [Quit: emilkarl]
jaguarmagenta has joined #ruby
Lildirt has quit [Ping timeout: 256 seconds]
bturker has joined #ruby
<z64> jokke: so, you want the line length cop, but want to ignore things like comments?
<jokke> yes, but it's not comments
<jokke> it's a dsl
<jokke> for writing docs
<z64> ah ok, thought you meant something like yard or whatnot
CloCkWeRX has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<z64> anyway, looks like you may try the special rubocop comments as mentioned here: http://stackoverflow.com/questions/26342570/rubocop-linelength-how-to-ignore-lines-with-comments
<jokke> comments are ignored by default afaik
<jokke> oooh
<jokke> nice
_2easy has quit [Remote host closed the connection]
howdoi has joined #ruby
hightower2 has quit [Ping timeout: 245 seconds]
hightower3 has joined #ruby
last_staff has quit [Quit: last_staff]
NeverTired has quit [Quit: Connection closed for inactivity]
maattdd has quit [Ping timeout: 252 seconds]
<jokke> hm nah doesn't seem to work for Metrics/ClassLength
lubekpl has quit [Read error: Connection reset by peer]
Derderderd has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
the-eat-scout has quit []
olivierjanss has quit []
cdg has joined #ruby
the-eat-scout has joined #ruby
olivierjanss has joined #ruby
<z64> i see
<jokke> i'd rather not move the docs out of the class
<z64> right.
<jokke> i guess i'll just have to disable the cop for the whole class
ramortegui has joined #ruby
Cymew has joined #ruby
saneax-_-|AFK is now known as saneax
hays_ has joined #ruby
malconis has joined #ruby
jacksinn has quit [Ping timeout: 260 seconds]
tomphp_ has joined #ruby
e1z0 has joined #ruby
<Zarthus> it might be possible to write your own cop
beilabs has quit [Remote host closed the connection]
trampi has quit [Ping timeout: 260 seconds]
jacksinn has joined #ruby
pandaant has joined #ruby
tomphp has quit [Ping timeout: 260 seconds]
WhiteKIBA has quit [Ping timeout: 260 seconds]
tabakhase has quit [Ping timeout: 260 seconds]
marahin has quit [Ping timeout: 260 seconds]
rlex has quit [Ping timeout: 260 seconds]
sonne has quit [Ping timeout: 260 seconds]
tyang has joined #ruby
optiz0r has quit [Ping timeout: 260 seconds]
foxxx0 has quit [Ping timeout: 260 seconds]
hays has quit [Ping timeout: 260 seconds]
bauruine has quit [Ping timeout: 260 seconds]
obiwahn has quit [Ping timeout: 260 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
Silex has quit [Ping timeout: 260 seconds]
quarcu has quit [Ping timeout: 260 seconds]
oblique has quit [Ping timeout: 260 seconds]
davic has quit [Ping timeout: 260 seconds]
Derderderd has joined #ruby
emilkarl has joined #ruby
Helheim has quit [Ping timeout: 246 seconds]
optiz0r has joined #ruby
maattdd has joined #ruby
eightbitraptor has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Remote host closed the connection]
e1z0 has quit [Ping timeout: 256 seconds]
dopamean_ has quit [Ping timeout: 246 seconds]
kuSuSE has quit [Quit: Konversation terminated!]
rlex has joined #ruby
tk__ has quit [Quit: ばいばい]
sonne has joined #ruby
dminuoso has joined #ruby
oblique has joined #ruby
tabakhase has joined #ruby
CloCkWeRX has joined #ruby
quarcu has joined #ruby
foxxx0 has joined #ruby
WhiteKIBA has joined #ruby
obiwahn has joined #ruby
marahin has joined #ruby
marahin is now known as Guest66815
davic has joined #ruby
brendan- has joined #ruby
Silex has joined #ruby
rodfersou|afk is now known as rodfersou|lunch
bauruine has joined #ruby
eightbitraptor has joined #ruby
aryaching_ has quit [Ping timeout: 265 seconds]
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
bturker has quit [Ping timeout: 256 seconds]
fenre has quit [Remote host closed the connection]
faces has joined #ruby
<dminuoso> ?books
<dminuoso> !books
nankyokusei has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
face has quit [Ping timeout: 244 seconds]
<sonOfRa> boos:(
dopamean_ has joined #ruby
minimalism has joined #ruby
<apeiros> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
<apeiros> o0
nankyokusei has quit [Ping timeout: 240 seconds]
<apeiros> I really have to take a bit of time to fix that
chouhoulis has joined #ruby
DLSteve has joined #ruby
etehtsea has quit [Ping timeout: 250 seconds]
Helheim has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
psychicist__ has quit [Ping timeout: 268 seconds]
tdump has joined #ruby
gbgdev has joined #ruby
gbgdev_ has quit [Ping timeout: 246 seconds]
Lildirt has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 258 seconds]
synthroi_ has joined #ruby
jaguarmagenta has joined #ruby
tdump_ has joined #ruby
psychicist__ has joined #ruby
tdump_ has quit [Client Quit]
tdump has left #ruby ["Textual IRC Client: www.textualapp.com"]
synthroid has quit [Ping timeout: 264 seconds]
polishdub has joined #ruby
cyclonis_ has quit [Ping timeout: 258 seconds]
Burgestrand has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
r3vDev has quit [Ping timeout: 268 seconds]
sdwrage has quit [Quit: Leaving]
manjaro-kde5- has joined #ruby
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
griffindy has joined #ruby
sharms has joined #ruby
Sammichmaker has joined #ruby
braincrash has quit [Ping timeout: 258 seconds]
lenwood has quit [Ping timeout: 268 seconds]
synthroi_ has quit [Ping timeout: 258 seconds]
beilabs has joined #ruby
rippa has joined #ruby
Toledo is now known as croberts
Lildirt has quit [Ping timeout: 250 seconds]
codfection has quit [Remote host closed the connection]
loy_ has quit [Quit: 离开]
rodfersou|lunch is now known as rodfersou
r3vDev has joined #ruby
maattdd has quit [Ping timeout: 268 seconds]
madsa_ has joined #ruby
Snickers has quit [Ping timeout: 240 seconds]
KiderSpiel has joined #ruby
agent_white has joined #ruby
<KiderSpiel> What’s up, rubyists?
<KiderSpiel> Does anyone know a way to remote log on heroku?
shynoob has joined #ruby
<KiderSpiel> I wanted to run a script there, but the filesystem will wipe out the logs in one day
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
OTORelic4 has joined #ruby
yaw has quit [Ping timeout: 268 seconds]
Lildirt has joined #ruby
fenre has joined #ruby
frozengeek____ has quit [Quit: frozengeek____]
bradleyprice has quit [Remote host closed the connection]
saneax is now known as saneax-_-|AFK
saslam has joined #ruby
eightbitraptor has quit [Ping timeout: 252 seconds]
LoneHerm_ has joined #ruby
frozengeek____ has joined #ruby
e1z0 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Derderderd has quit [Ping timeout: 258 seconds]
codextremist has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
maattdd has joined #ruby
codfection has joined #ruby
LoneHerm_ has quit [Ping timeout: 268 seconds]
e1z0 has quit [Ping timeout: 258 seconds]
ta__ has quit [Remote host closed the connection]
etehtsea has joined #ruby
LoneHermit has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
eightbitraptor has joined #ruby
madsa_ has quit [Quit: Textual IRC Client: www.textualapp.com]
ferr1 has quit [Quit: WeeChat 1.6]
synthroid has quit [Remote host closed the connection]
hahuang62 has joined #ruby
Semtex-H has joined #ruby
etehtsea has quit [Ping timeout: 245 seconds]
raul782 has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
SpiffTR has joined #ruby
millerti has joined #ruby
hahuang62 has quit [Ping timeout: 246 seconds]
BLuEGoD has quit [Quit: WeeChat 1.5]
etehtsea has joined #ruby
aufi has quit [Quit: Leaving]
saneax-_-|AFK is now known as saneax
LoneHermit has quit [Remote host closed the connection]
Lildirt has quit [Ping timeout: 265 seconds]
symm- has quit [Ping timeout: 246 seconds]
eightbitraptor has quit [Ping timeout: 258 seconds]
braincrash has joined #ruby
<KiderSpiel> anyone here?
<apeiros> no
aryaching has joined #ruby
mark_66 has quit [Remote host closed the connection]
cyclonis has joined #ruby
Fernando-Basso has joined #ruby
iMadper is now known as iMadper|afk
<KiderSpiel> Do you even lift, bro?
eightbitraptor has joined #ruby
mark_66 has joined #ruby
teclator has joined #ruby
<apeiros> bro? why are you insulting me?
<KiderSpiel> Holy shit!
wugy has quit []
<KiderSpiel> Asking a question about Ruby, nobody drops a char
<tobiasvl> it's not a question about ruby, it's a question about heroku :P
<maloik> KiderSpiel there are quite a few logging addons for Heroku, look into them
Lildirt has joined #ruby
<KiderSpiel> tobiasvl smart idiot
<apeiros> KiderSpiel: so yeah, nobody had an answer when you asked. big deal. happens.
<maloik> (although Heroku has logging of its own, they don't get wiped at all)
<apeiros> !kick KiderSpiel don't be rude
KiderSpiel was kicked from #ruby by ruby[bot] [don't be rude]
<tobiasvl> hehe
<maloik> :D
Guest66815 is now known as marahin
cyclonis has quit [Ping timeout: 265 seconds]
marahin has quit [Changing host]
marahin has joined #ruby
maattdd has quit [Ping timeout: 258 seconds]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lildirt has quit [Ping timeout: 250 seconds]
emilkarl has quit [Quit: emilkarl]
nettoweb has joined #ruby
antoniobeyah has joined #ruby
antoniobeyah has quit [Client Quit]
chouhoulis has joined #ruby
maattdd has joined #ruby
bradleyprice has joined #ruby
saneax is now known as saneax-_-|AFK
aganov has quit [Remote host closed the connection]
antoniobeyah has joined #ruby
Ishido has joined #ruby
Guest12386 has joined #ruby
bradleyprice has quit [Ping timeout: 264 seconds]
<shynoob> I am new to Ruby and Rails framework, where can I find a learning process structured in a way that helps me build a website as well teaches me simultaneously?
e1z0 has joined #ruby
M-travis has joined #ruby
emilkarl has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
madsa_ has joined #ruby
splud has joined #ruby
bradleyprice has joined #ruby
dionysus69 has joined #ruby
<z64> imo, starting with 'vanilla' ruby is a good idea. you might try these:
bradleyp_ has joined #ruby
[reed] has quit [Ping timeout: 250 seconds]
e1z0 has quit [Ping timeout: 265 seconds]
Devalo has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
swills has quit [Quit: Leaving]
bradleyprice has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 248 seconds]
bradleyprice has joined #ruby
gener1c has joined #ruby
bradleyp_ has quit [Ping timeout: 260 seconds]
<gener1c> hey , if i use net/ftp is there a way to add a callback when there is a disconnect due to timeout?
jhass has quit [Ping timeout: 268 seconds]
saneax-_-|AFK is now known as saneax
bradleyp_ has joined #ruby
Derderderd has joined #ruby
[reed] has joined #ruby
[reed] has quit [Changing host]
[reed] has joined #ruby
Trynemjoel has quit [Ping timeout: 246 seconds]
<ddffg> hi, after the last update does not work chruby
bradleyprice has quit [Ping timeout: 258 seconds]
<ddffg> need to point out explicity "chruby 2.3.1"
jhass has joined #ruby
Lildirt has joined #ruby
bradleyprice has joined #ruby
bradley__ has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
bradleyp_ has quit [Ping timeout: 260 seconds]
yaw has joined #ruby
Derderderd has quit [Ping timeout: 246 seconds]
swills has joined #ruby
<OTORelic4> ^
<OTORelic4> exit
Trynemjoel has joined #ruby
OTORelic4 has quit [Quit: WeeChat 1.4]
moufl has quit [Quit: fuck it.]
Gravious has joined #ruby
<Gravious> Hello there seem to be a plethora of libraries that provide cli stuff
<Gravious> Any suggestions?
moufl has joined #ruby
<Gravious> by cli stuff, I means tools for putting together a standard cli app
h1fuelce_ has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
Devalo has quit [Remote host closed the connection]
konsolebox has joined #ruby
tsunamie has quit [Ping timeout: 256 seconds]
SpiffTR has quit [Ping timeout: 250 seconds]
iMadper|afk has quit [Remote host closed the connection]
iMadper|afk has joined #ruby
newdan has joined #ruby
r3vDev has quit [Ping timeout: 240 seconds]
<newdan> Anyone know of a good form validator/builder that isn't tied to Rails? I'm doing a Sinatra app. I *could* write it out by hand, just curious if there's a tool I should be using
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
* Gravious picks commander at random
tsunamie has joined #ruby
<baweaver> Gravious: Thor / Highline / OptParser (built in) tend to be the common ones I see
synthroid has joined #ruby
<baweaver> newdan: not offhand, I'd have to look one up :/
<Gravious> baweaver, Oh, I'll take a look at those then, thanks :)
Macaveli has joined #ruby
nankyokusei has joined #ruby
* canton7 used to like Trollop
<baweaver> Though googling 'Sinatra Form Builder' looks like it has some decent content.
antoniobeyah has quit [Quit: antoniobeyah]
<newdan> baweaver: I'm already doing that so no worries :) Mostly just curious if anyone did know one offhand
LoneHerm_ has joined #ruby
<baweaver> Immediate idea was to look into Padrino and what it was doing, but didn't find anything there worth mentioning.
pulgolino has joined #ruby
KiderSpiel has joined #ruby
KiderSpiel has quit [Client Quit]
preyalone has joined #ruby
emilkarl has quit [Quit: emilkarl]
<shynoob> hi, what is ruby awesome at?
SpiffTR has joined #ruby
<baweaver> what are you wanting to do?
nankyokusei has quit [Ping timeout: 258 seconds]
Hyuk has joined #ruby
Lildirt has quit [Ping timeout: 248 seconds]
<shynoob> I want to know the answers from those who use more than 1 language & are not fixated at ruby itself!
jahmalz has joined #ruby
<shynoob> just for iknowledge purposes
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> It tends to live around Security, System Administration, and Web Development.
LoneHerm_ has quit [Ping timeout: 248 seconds]
<baweaver> Though with JRuby it can sneak into a few more areas.
Lildirt has joined #ruby
<newdan> shynoob: I also really like rake as a make replacement, even on otherwise non-Ruby projects
<shynoob> ok
<Gravious> baweaver, Thor's real nice, thanks!
djbkd__ has quit [Read error: Connection reset by peer]
<sts> hello folks. how can I influnce the load path of bundler? I'd like to ship my dependencies in a certain directory and put an executable into /usr/bin/myapp, which loads libraries via bundler.
djbkd has joined #ruby
<baweaver> gem_name.gemspec
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradley__ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<LyndsySimon> Is this usage of `Struct.new(...)` idiomatic? Is there any reason not to use this in preference to a more typical class definition? https://github.com/collectiveidea/delayed_job/tree/v4.1.2#custom-jobs
SesMan has joined #ruby
<baweaver> I'd say it's more of a matter of preference there
<baweaver> I see no real issue with using it like that considering the small size of the classes
<sts> baweaver: was this related to my question?
claw has quit [Read error: Connection reset by peer]
bradleyp_ has joined #ruby
<havenwood> LyndsySimon: The way you linked to is nice because you don't end up with an anonymous class in your ancestry.
<baweaver> sts: the gemspec one, yeah
<baweaver> specifically bindir, executables, and require_paths
prestorium has quit [Remote host closed the connection]
<LyndsySimon> havenwood: K, thx. It seems more compact and easy to read, but I wanted to be sure there wasn't some impact I wasn't aware of.
<havenwood> LyndsySimon: Nope, it's good!
cyclonis has joined #ruby
bradleyprice has quit [Ping timeout: 258 seconds]
<sts> baweaver: not sure whether I miss something, but I don't want to install the dependencies as gems or anyhow else system wide, but ship them in a specific directory.
<sts> baweaver: the problem is the entrence point, where I usually call require 'bundler/setup', is outside the directory of the Gemfile & Gemfile.lock.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sts> baweaver: /usr/share/myapp/Gemfile, /usr/share/myapp/vendor; And then I've got a /usr/bin/myapp
TomyWork has quit [Remote host closed the connection]
antoniobeyah has joined #ruby
Devalo has joined #ruby
Lildirt has quit [Ping timeout: 248 seconds]
Mrgoose has quit [Ping timeout: 248 seconds]
cyclonis has quit [Ping timeout: 250 seconds]
<baweaver> be back in a bit, meetings.
<LyndsySimon> I've implemented a new auth system for a Rails app, and I want to test it in sandbox and later production without relying on it yet. Is there a way to run a method for a given period of time, but to terminate it and continue to return the response if it takes too long?
<LyndsySimon> I'd just split it off into a delayed_job, but I need to be able to set a cookie on the response if at all possible.
Snickers has joined #ruby
aufi has joined #ruby
<Gravious> dumb question: if it's save to / in paths on ruby for all platforms then why is there a File.join method?
beilabs has quit [Remote host closed the connection]
<Gravious> *safe
conta has joined #ruby
claw has joined #ruby
<havenwood> >> File.join 'x/', '/y'
<ruby[bot]> havenwood: # => "x/y" (https://eval.in/695778)
claw has quit [Read error: Connection reset by peer]
manjaro-kde5- has quit [Ping timeout: 250 seconds]
<havenwood> Gravious: A nice "x/y" instead of "x///y" in that ^ case, but yeah you can certainly do without it.
dn` has quit [Quit: dn`]
claw has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
<Gravious> ahh I see
<Gravious> cool
e1z0 has joined #ruby
dn` has joined #ruby
Lildirt has joined #ruby
marxarelli has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Devalo has quit [Remote host closed the connection]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has quit [Ping timeout: 268 seconds]
benlieb has joined #ruby
amclain has joined #ruby
jsrn_ has quit [Quit: Leaving]
<codextremist> exit
codextremist has quit [Quit: leaving]
symm- has joined #ruby
e1z0 has quit [Ping timeout: 264 seconds]
cibs has joined #ruby
dcluna_ has quit [Ping timeout: 250 seconds]
saneax is now known as saneax-_-|AFK
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has quit [Client Quit]
pandaant has quit [Remote host closed the connection]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
Derderderd has joined #ruby
manjaro-kde5- has joined #ruby
bradleyp_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
tomphp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
canton7 has quit [Quit: ZNC - http://znc.in]
canton7 has joined #ruby
Devalo has joined #ruby
frmendes has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
bradleyprice has quit [Ping timeout: 258 seconds]
bradleyprice has joined #ruby
Devalo has quit [Remote host closed the connection]
conta has quit [Ping timeout: 250 seconds]
checkit has joined #ruby
checkit has quit [Client Quit]
malconis has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
Snickers has quit [Quit: Snickers]
lacour has joined #ruby
bradleyprice has quit [Ping timeout: 246 seconds]
SpiffTR has quit [Quit: Leaving.]
Chair has quit [Ping timeout: 258 seconds]
blackbom1 has joined #ruby
Devalo has joined #ruby
splud has quit [Quit: splud]
hahuang62 has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
aupadhye has quit [Quit: Leaving]
e1z0 has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
railssmith has quit [Ping timeout: 245 seconds]
rikkipitt has joined #ruby
hahuang62 has quit [Ping timeout: 258 seconds]
ledestin has joined #ruby
tdy has joined #ruby
synthroi_ has joined #ruby
djbkd has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
johnzorn has quit [Ping timeout: 248 seconds]
e1z0 has quit [Client Quit]
frozengeek____ has quit [Read error: Connection reset by peer]
frozengeek____ has joined #ruby
millerti has joined #ruby
synthroid has quit [Ping timeout: 252 seconds]
Lildirt has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
nikivi has joined #ruby
LoneHerm_ has joined #ruby
FredWest_ has quit [Remote host closed the connection]
FredWest has joined #ruby
chopin has joined #ruby
Lildirt has joined #ruby
eightbitraptor has quit [Ping timeout: 258 seconds]
shynoob has quit [Quit: Leaving]
LoneHerm_ has quit [Ping timeout: 248 seconds]
jcao219 has quit [Ping timeout: 248 seconds]
FredWest has quit [Ping timeout: 252 seconds]
fenre has quit [Remote host closed the connection]
dionysus69 has quit [Read error: Connection reset by peer]
tomlynn[m] has left #ruby ["User left"]
dionysus69 has joined #ruby
Snickers has joined #ruby
Dimik has joined #ruby
saladus has joined #ruby
Definity2 has joined #ruby
rikkipitt has quit [Quit: Leaving...]
maattdd has quit [Ping timeout: 245 seconds]
Definity has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
Snickers has quit [Client Quit]
cyclonis has joined #ruby
j416 has joined #ruby
j416 has left #ruby ["Palaver https://palaverapp.com/"]
centrx has quit []
Lildirt has quit [Ping timeout: 260 seconds]
dopamean_ has quit [Ping timeout: 245 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gusrub has quit [Quit: Leaving]
sdothum has joined #ruby
splud has joined #ruby
hutch34 has joined #ruby
salut has quit [Quit: salut]
cyclonis has quit [Ping timeout: 258 seconds]
pwnd_nsfw has joined #ruby
Asher1 has joined #ruby
yaw has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 258 seconds]
Lildirt has joined #ruby
Lord_of_Life has quit [Excess Flood]
Anonymoose2 has joined #ruby
rakm has joined #ruby
Asher1 has quit [Client Quit]
Asher has joined #ruby
Lord_of_Life has joined #ruby
andikr has quit [Remote host closed the connection]
Beams has quit [Quit: .]
reverberations has quit [Ping timeout: 240 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
psychicist__ has quit [Ping timeout: 265 seconds]
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
aufi has quit [Quit: Leaving]
jahmalz has quit [Quit: Leaving]
AgentVenom has quit [Quit: Textual IRC Client: www.textualapp.com]
SeepingN has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
Snickers has joined #ruby
whathappens has joined #ruby
tdy has quit [Ping timeout: 252 seconds]
Humdai has quit [Quit: Leaving]
bocaneri has quit [Read error: Connection reset by peer]
Snickers has quit [Quit: Snickers]
hutch34 has joined #ruby
bmurt has joined #ruby
claudiuinberlin has quit []
MrBusiness2 has joined #ruby
muelleme has joined #ruby
Guest12386 has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 256 seconds]
Lildirt has quit [Ping timeout: 252 seconds]
dopamean1 has joined #ruby
hahuang62 has joined #ruby
frmendes has quit [Quit: Textual IRC Client: www.textualapp.com]
saladus has quit [Quit: WeeChat 1.4]
muelleme has quit [Ping timeout: 252 seconds]
bradleyprice has joined #ruby
_djbkd has joined #ruby
Salih has quit [Quit: Leaving]
bradleyprice has quit [Ping timeout: 252 seconds]
Guest37120 has joined #ruby
muelleme has joined #ruby
sp4rrow has joined #ruby
mark_66 has quit [Remote host closed the connection]
centrx has joined #ruby
rysiek|pl has joined #ruby
<rysiek|pl> hi all
frozengeek____ has quit [Quit: frozengeek____]
<rysiek|pl> a ruby newbie here
Lildirt has joined #ruby
<havenwood> rysiek|pl: welcome
Derderderd has quit [Ping timeout: 245 seconds]
conta has joined #ruby
<rysiek|pl> I'd like to test out rails and omniauth (I actually need too understand omniauth for a thing I'm doing), what would be the easiest way to get set-up with them and start hacking?
SpiffTR has joined #ruby
nankyokusei has joined #ruby
Ax has joined #ruby
Snickers has joined #ruby
newdan has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
LoneHermit has joined #ruby
Ax has quit [Read error: Connection reset by peer]
marr has quit [Read error: Connection reset by peer]
<Papierkorb> rysiek|pl: There's #RubyOnRails for rails questions
bradleyprice has joined #ruby
<rysiek|pl> ah, thanks!
nankyokusei has quit [Ping timeout: 258 seconds]
rysiek|pl has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
tvw has quit []
dopamean1 has quit [Ping timeout: 252 seconds]
Azure has quit [Read error: Connection reset by peer]
Derderderd has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: No route to host]
LoneHermit has quit [Ping timeout: 246 seconds]
Guest37120 has quit [Remote host closed the connection]
dopamean1 has joined #ruby
dopamean1 has quit [Client Quit]
Azure has joined #ruby
manjaro-kde5- has quit [Ping timeout: 250 seconds]
preyalone has quit [Quit: Connection closed for inactivity]
tdy has joined #ruby
havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3 & 2.2.6 (2.4.0-rc1): https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
muelleme has quit [Ping timeout: 250 seconds]
<havenwood> Try 2.4.0-rc1 and report any bugs! https://www.ruby-lang.org/en/news/2016/12/12/ruby-2-4-0-rc1-released/
conta has quit [Ping timeout: 258 seconds]
cyclonis has joined #ruby
<havenwood> `ruby-install --latest ruby-2.4.0-rc1` or `rvm get head && rvm install ruby-2.4.0-rc1` or your flavour of choice!
bradleyprice has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
pwnd_nsfw` has joined #ruby
* baweaver installs on production system
claudiuinberlin has joined #ruby
<baweaver> havenwood: it broke everything!
<havenwood> Ship it!
cyclonis has quit [Ping timeout: 256 seconds]
<baweaver> Ops problem
<baweaver> wait
<baweaver> I am ops
<baweaver> ...
<miah> doh
<baweaver> havenwood: Many new worthwhile features?
d0lph1n98 has joined #ruby
<baweaver> Binding#irb. Huh.
<havenwood> Yeah, that's pretty handy for when you can't use Pry for whatever reason. :-)
pwnd_nsfw has quit [Ping timeout: 258 seconds]
<baweaver> I love how it's all of 7 lines
<havenwood> I like Thread#report_on_exception (seems like that'd be a nice thing to default to true).
<havenwood> hah, yup
Lildirt has quit [Ping timeout: 252 seconds]
<havenwood> I like the unicode upper/lower case support. I had Elixir/Clojure envy in that regard.
<dminuoso> havenwood, make changes that break compatibility in Ruby?
<dminuoso> Never.
<havenwood> ;-)
<havenwood> baweaver: The sped up instance variable access reminds me of our talking about Puma ThreadPool internals.
<baweaver> Ah those shenanigans
<baweaver> good times
<baweaver> min/max perf improvements as well
<havenwood> and good hash internal changes, maybe more on the way (but not in 2.4 since feature-frozen)
tvw has joined #ruby
<havenwood> I thought this was interesting: https://bugs.ruby-lang.org/issues/13017
Snickers has quit [Quit: Snickers]
pawnbox_ has quit [Remote host closed the connection]
gry has quit [Quit: restarting...]
Lord_of_Life has quit [Excess Flood]
railssmith has joined #ruby
Lord_of_Life has joined #ruby
madsa_ has quit [Ping timeout: 265 seconds]
<dminuoso> havenwood, we only get micro patches that change Ruby syntax instead.
<dminuoso> Much more fun this way.
<dminuoso> Keeps you on your feet.
boon_ has left #ruby [#ruby]
<baweaver> Just bracing for the 2/3 divide
<dminuoso> 2/3 divide?
Lildirt has joined #ruby
<miah> when 2 goes to 3, and people are using 2 still
<miah> like the python world
<dminuoso> Seems to have been working pretty great for C++
Ax has joined #ruby
<baweaver> We just have to not screw up puts and we should be good ;)
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doberman has joined #ruby
<doberman> good morning (UGM)
roger_rabbit has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
<Gravious> i've said it before
<Gravious> but i'm loving this language
<centrx> It's the best
Ax has quit [Quit: Ax]
yeticry has quit [Ping timeout: 258 seconds]
Gravious has quit [Quit: Lost terminal]
<doberman> currently working on packaging ruby into rpm, and I'm facing little issue with build system, nothing i can't solve by patching or monkey code: ruby build system ignores archprefixdir for shared libs (libruby.so*) and places it into LIBPREFIX/ARCH. so question why ruby configure does not allow to set archlibdir, is there a reason for it?
yeticry has joined #ruby
Tanfrieze has joined #ruby
<doberman> welp here goes my hope for patching up configure.in - SL 6 autoconfig is < .67 version and I'm not permitted to fix/upgrade it
laudiacay has left #ruby ["WeeChat 1.5"]
tvw has quit []
workmad3 has quit [Ping timeout: 248 seconds]
muelleme has joined #ruby
reverberations has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
yeticry has quit [Ping timeout: 256 seconds]
jaruga___ has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
yeticry has joined #ruby
bturker has joined #ruby
Anonymoose2 has quit [Ping timeout: 268 seconds]
bradleyprice has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
d0lph1n98 has quit [Quit: leaving]
bradleyp_ has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
hutch34 has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
raul782 has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
nofxx has joined #ruby
emilkarl has joined #ruby
shakes has joined #ruby
shakes has quit [Client Quit]
cdg has quit [Remote host closed the connection]
LoneHermit has joined #ruby
ta_ has joined #ruby
marxarelli is now known as marxarelli|afk
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
marsjaninzmarsa has joined #ruby
LoneHermit has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
djbkd_ has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Remote host closed the connection]
benlieb has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
pwnd_nsfw has joined #ruby
emilkarl has quit [Quit: emilkarl]
cyclonis has joined #ruby
awc has joined #ruby
benlieb has quit [Client Quit]
cyclonis has quit [Ping timeout: 246 seconds]
machinewar has joined #ruby
<machinewar> are pessimistic constraints the favored approach for handling gem version contraints
awc has quit [Quit: Mutter: www.mutterirc.com]
<machinewar> I know my app will use Gemfile.lock for source of truth, but this is more for updating gems
dminuoso has quit [Changing host]
dminuoso has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
awc has joined #ruby
chouhoul_ has joined #ruby
chouhou__ has joined #ruby
<dminuoso> machinewar, yes.
<dminuoso> machinewar, there may be special cases as usual - but generally every gem should have a pessimistic constraint to it.
<machinewar> dminuoso: thanks, and another question, does bundler use this when resolving version requirement issues for dependencies
awc has quit [Client Quit]
<machinewar> i.e. will it automatically update a gem if a later version is requried by another gem and it falls within your constraint
<machinewar> hopefully that question makes sense
<dminuoso> machinewar, think about it for a second.
chouhoulis has quit [Ping timeout: 245 seconds]
<machinewar> my intuition says yes
<dminuoso> machinewar, if the Gemfile.lock did not forcibly pin a version it would be quite worthless.
<machinewar> thats the whole point
<dminuoso> machinewar, you can quickly experiment this thoguh.
chouhoul_ has quit [Ping timeout: 245 seconds]
cocomo has quit [Quit: leaving]
johnmilton has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
marxarelli|afk is now known as marxarelli
<dminuoso> machinewar, first add a gem rack with version '= 1.4.7', bundle install and then add sinatra '~> 1.4.7' and watch what happens if you run bundle install sinatra
|RicharD| has joined #ruby
<machinewar> kk willl give it a go
splud_ has joined #ruby
splud has quit [Ping timeout: 256 seconds]
splud_ is now known as splud
rodfersou has quit [Quit: leaving]
sparch has quit [Ping timeout: 268 seconds]
<machinewar> ahh so it says you have to manually update it
<machinewar> because its locked at a specific version
claudiuinberlin has quit [Remote host closed the connection]
chouhou__ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
claudiuinberlin has joined #ruby
<dminuoso> machinewar, I'm not sure from the top off my head what a generic "bundle install" would do though. I think it should revisit all dependency to satisify the dependencies of all gems.
<dminuoso> But that's just a feeling./
<dminuoso> machinewar, if you would test me and let me know that would be great.
<machinewar> dminuoso: okay yea I just tried it on a pretty large legacy app lol I'm sure if I deleted my gemfile lock it would resolve them as you're saying
hi-from-velope-o has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
<hi-from-velope-o> a maximally painful life and a maximally painful death to those involved in censoring child porn or enforcing cp laws.
<dminuoso> machinewar, no need to delete the gemfile lock. bundle update should probably take care of it
ldnunes has quit [Quit: Leaving]
symm- has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
Definity2 has quit [Ping timeout: 245 seconds]
roychri has joined #ruby
|RicharD| has quit [Ping timeout: 250 seconds]
armin has quit [Ping timeout: 248 seconds]
|RicharD| has joined #ruby
Cohedrin has joined #ruby
<miah> i am in the hell of self signed certs, self hosted gem repository (sonatype nexus), and ruby ssl verification errors
<miah> i'm praying to matz
cippaciong has joined #ruby
<dminuoso> miah, you probably forgot the honorary mention of nobu in the beginning of your prayer.
<dminuoso> Common mistake.
benlieb has joined #ruby
<miah> ah yes, of course
Snickers has joined #ruby
OTORelic has joined #ruby
b0nn has quit [Ping timeout: 260 seconds]
schemanic has joined #ruby
<schemanic> hi. using the DateTime library and DateTime.now, how would I check if my now is the nth of a month?
<dminuoso> &ri Date#day schemanic
Macrobiotic has joined #ruby
nankyokusei has joined #ruby
mooe has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
<miah> that prayer worked. i am humbled by matz and nobu
Snickers has quit [Quit: Snickers]
nankyokusei has quit [Ping timeout: 268 seconds]
<dminuoso> miah, told you.
Devalo has quit [Remote host closed the connection]
<dminuoso> Only quality advice in here.
Devalo has joined #ruby
symm- has joined #ruby
<cippaciong> Hello. I have a quite complex (to me at least) question, I don't even think is 100% ruby related but I'm writing my software in ruby so I thought of asking here. I'm developing a Telegram bot whose task is to download incoming audio files, convert them to another format, send the converted file to an external service using their api and send a reply to the user based on the external service api. Now, since
<cippaciong> conversion and elaboration from the external service may take some time I'd like to perform those tasks in an asynchronous way. How would you do that?
futilegames has joined #ruby
<cippaciong> Just to give some context, this is not production code and I'm just a student. The main reason I'm doing this is to learn new things so I won't mind if solution would be a bit over architected
gbgdev_ has joined #ruby
<cippaciong> Actually, I'd rather go for the over architected solution but, knowing that is over architected :)
gbgdev has quit [Ping timeout: 245 seconds]
<dminuoso> cippaciong, for simplicity I would use a single sidekiq job for the entire thing.
Devalo has quit [Ping timeout: 240 seconds]
<dminuoso> (This allows me to not worry about synchronization and ease error handling)
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<doberman> cippaciong, perform tasks async? Simple way - threads, more complex - subprocesses, alternative - Eventmachine, if load is super big and require scaling i would use sidekiq/Resque
<cippaciong> So far I have been looking at resque/sidekiq, sucker punch and wisper (for pub/sub)
<dminuoso> cippaciong, if you need something stable for production I would go straight for redis - there's just too many free goodies that come with it.
<dminuoso> (regardless of whether you use resque/sidekiq)
<dminuoso> sidekiq/rescue is also stupidly easy to implement and scales really well - at the small cost of introducing an extra service you need to manage somehow.
<dminuoso> (eventmachine, threading, processes - all of them require you actually writing code to make it work)
<doberman> am i visible here? just checking, because my question was successfully ignored...
<dminuoso> doberman, no.
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<dminuoso> :o)
<cippaciong> My main dubt is this. With a structure similar to this one: https://github.com/atipugin/telegram-bot-ruby#usage with all the code inside the block and using long polling instead of webhooks, can I implement that?
<dminuoso> cippaciong, is the API under your control?
ryan_notabot has quit [Quit: Leaving]
ddffg has quit [Quit: Leaving]
ryan_notabot has joined #ruby
<cippaciong> what do you mean?
<doberman> yes you can, just need write process
lxsameer has quit [Quit: WeeChat 1.6]
cyclonis has joined #ruby
<cippaciong> doberman: do you have any reference for implementing something like this using threads?
<dminuoso> cippaciong, you can do it both ways. though webhooks should be preferrable.
<dminuoso> polling is so 1993 when there was no websockets.
<doberman> 1993 was good year though
<cippaciong> yeah, I know it's bad, in fact I have another bot set up with webkooks.
<cippaciong> I just don't get how I can start a thread from the block, and get back there once it has finished
<doberman> but how to write multi-threaded there are a lot of sources in the web
<dminuoso> cippaciong, you think about it the wrong way.
<doberman> ^
millerti has joined #ruby
<cippaciong> enlighten me :)
Fernando-Basso has quit [Quit: WeeChat 1.6]
conta has joined #ruby
<cippaciong> I suspected I was getting it wrong..
cyclonis has quit [Ping timeout: 260 seconds]
diego_k has quit [Ping timeout: 258 seconds]
<cippaciong> Do you mean I should spawn multiple threads running a bot instance?
diegok has joined #ruby
tristanp has joined #ruby
preyalone has joined #ruby
clebrun has joined #ruby
conta has quit [Ping timeout: 264 seconds]
<clebrun> have a question, why doesn't this work?
<clebrun> >> def foo; { block: &block }; end
<dminuoso> clebrun, can you explain what you mean by "doesn't this work?
Guest43 has joined #ruby
<dminuoso> Ah
<clebrun> sorry dminuoso, it throws a syntax error on the &
whathappens has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
Guest43 has joined #ruby
Guest43 has quit [Changing host]
<doberman> cippaciong, lets think about it for second. got answer few questions for yourself: do you care about reliability? scaling?
Guest43 is now known as Rufus
<doberman> cippaciong: if answer is yes to one of them - go with sidekiq/rescue
<dminuoso> clebrun, I'm staring at this. Will let you know when I have an answer.
whathappens has joined #ruby
<doberman> cippaciong: if both "no" - and you don't wanna deal with threads go with eventmachine
<cippaciong> doberman: at the moment: not.
<clebrun> dminuoso: I feel like it should work, but I found a way to do it:
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
<clebrun> >> def foo(&block); { block: block }; end
<dminuoso> clebrun, you can't bind a block to an object inside the body, only inside the params list
<havenwood> clebrun: You can't have a block argument (&block) as the value in a Hash. You can use the proc representing the block `block` or the return value `block.call`.
<cippaciong> doberman: I care more about understanding why I was thinking about it in the wrong way.
<dminuoso> clebrun, the reason is that unless you specify it as &block in params, there is no object for you to refer to.
nofxx has quit [Read error: Connection reset by peer]
<dminuoso> i.e. there is no such thing as "block"
<cippaciong> because thtat's what I'm missing
<dminuoso> clebrun, though I feel like what you wrote should be a thing.
<dminuoso> i.e. you might want to do something like if block_given?; foo = &block; do_stuff_with(foo); end
sp4rrow has quit [Read error: Connection reset by peer]
<dminuoso> What do you think havenwood?
<havenwood> dminuoso: When you want a block to be a thing to pass around, proc.
<doberman> def x(&block); {block: block}; ends; x { |e| puts e}[:block].call("test")
<doberman> clebrun: ^
<dminuoso> havenwood, My point is I think it would be cool to be able to bind a block to a proc/lambda explicitly.
<dminuoso> In code.
sp4rrow has joined #ruby
<dminuoso> Not in a params list.
<cippaciong> doberman: let's say I decide to go with threads. What should I put in a single thread? A whole instance of the bot with its block?
nikivi has quit [Quit: irc]
marr has joined #ruby
<havenwood> dminuoso: mm, yeah there's some sugar in there that might be a little bitter tasting
<doberman> cippaciong: obviously processing
dcluna has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
<dminuoso> clebrun, interestingly you got me so confused - what you wrote felt so natural and made immediate sense to me that I did not even question the validity of it.
last_staff has joined #ruby
mikeXsh has joined #ruby
cdg has joined #ruby
centrx has quit []
<doberman> cippaciong: simple way - Sinatra app to handle web-hooks, received '/do-your-work' with file x -> start thread(x) that going to encode file(x), result = submit output(x'), submit user result (result);
symm- has joined #ruby
<doberman> cippaciong: if its make sense, I'm not best at explaining myself :)
<cippaciong> doberman: I don't understand, I'm sorry. If I move the conversion and elaboration on another thread (I know how to do that) how can I send back the reply to the bot block? Because I can send replies only from there
<cippaciong> doberman: yes, that's make sense
<cippaciong> probably I should just go with webhooks and stop bothering about long polling, would make things easier
chouhoulis has joined #ruby
<doberman> cippaciong: long pulling a bit more complex
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<doberman> for long pulling use ready to go solution like rescue/sidekiq - would make your life easy :)
<cippaciong> got it :)
<dminuoso> It kind of depends on what you do though. I have several places where I do long-polling because the overhead of introducing websockets here or event-based messaging there can easily amount to too much effort.
chouhoul_ has joined #ruby
<dminuoso> It's a toss-up either way usually.
<doberman> orrr
<doberman> you can go fancy
<doberman> and use websockets :)
fxa90id has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
<dminuoso> doberman, effort. I would like something usuable for rails and don't get me started on ActionCable.
pookie_ has quit [Quit: All for nothing]
chouhoul_ has joined #ruby
<cippaciong> doberman: unfortunately Telegrams offers only long polling and webhooks :)
<cippaciong> anyway, you gave me a lot to think about, you have been very helpful. Thanks doberman dminuoso
<doberman> you are very welcome
<doberman> < works on very complex workflows for video processing for cable company, and we where on drugs, i guess, to choose ruby for that :)
<doberman> *were
benlieb has quit [Quit: benlieb]
<dminuoso> doberman, do you regret the choice?
chouhoulis has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
<doberman> sometimes, but later i began to exploit c ext where I need speed stuff out
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<doberman> don't get me wrong I love ruby, my private stuff is almost excessively on ruby, but ruby is resource hungry and a bit slow (i like improvements made in =>2.0)
last_staff has quit [Quit: last_staff]
LoneHermit has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
kies has quit [Ping timeout: 258 seconds]
machinewar has quit []
bturker has joined #ruby
<antoniobeyah> doberman: are you running cruby or jruby?
<doberman> cruby
<antoniobeyah> ah, ic
blackpajamas has joined #ruby
<antoniobeyah> i’ve had good results with jruby
<antoniobeyah> don’t think I would attempt to run mri in prod
<doberman> why not?
GodFather has quit [Ping timeout: 260 seconds]
<antoniobeyah> speed, debugability. jvm is an understood platform
<antoniobeyah> a bit of a strawman there, but point remains
<doberman> never been big fun girl of java, and leadership here would kill me even for suggesting java :)
bturker has quit [Ping timeout: 256 seconds]
fmcgeough has quit [Quit: fmcgeough]
<antoniobeyah> i use mri for the stuff that runs in jenkins though
<antoniobeyah> short lived stuff
<dminuoso> antoniobeyah, I don't know about you - but LLVM and GDB / valgrind are about some of the most mature debuggers out there. There's not many Java tools that get even close.
<antoniobeyah> i don’t even think I can find one person on my floor that knows how to use gdb
<antoniobeyah> visualvm on the other hand...
<clebrun> dminuoso: That's what I felt. I've been learning FP languages, and it's kind of got me frustrated with how inconsistent ruby is with first class functions
claudiuinberlin has quit []
<doberman> <- knows how to use gdb, LLDB, big c background :)
montanonic has joined #ruby
<doberman> java on other hand, idk how to debug :)
<antoniobeyah> last time I had to use gdb was to get a core dump to extract a heap dump for a stuck jvm
<clebrun> JAVA - "Wolf fence and pray and chill?"
<antoniobeyah> before that was really just ollydbg
jaruga___ has quit [Quit: jaruga___]
<antoniobeyah> windows ;)
johnmilton has joined #ruby
<antoniobeyah> how do you handle symbols / the vm for ruby with gdb?
d0nn1e has quit [Ping timeout: 258 seconds]
nofxx has joined #ruby
<antoniobeyah> have a collection of macros you use or something?
kies has joined #ruby
d0nn1e has joined #ruby
last_staff has joined #ruby
whathappens has quit [Remote host closed the connection]
<doberman> honestly, i have not had change to use c debuggers on ruby processes yet
<doberman> but good question, i would probably look into it sooner or later
last_staff has quit [Client Quit]
<dminuoso> antoniobeyah, stuck jvm. I would like my CPU to get stuck
johnmilton has quit [Remote host closed the connection]
<dminuoso> *hint*
whathappens has joined #ruby
yeticry has quit [Ping timeout: 258 seconds]
<dminuoso> antoniobeyah, what kind of symbols are you talking about?
<antoniobeyah> debugging symbols
<dminuoso> Ruby has these.
<dminuoso> or are you talking about debugging the ruby vm?
gloscombe has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
<antoniobeyah> yeah, the ruby vm
<antoniobeyah> you would have to compile ruby with special flags for it to work properly right?
yeticry has joined #ruby
<antoniobeyah> (i’m just curious more than anything, I don’t actually need to do it)
<antoniobeyah> and I would think it would get even hairier when native extension are in play
<antoniobeyah> its starting to sound like a fun weekend project the more I talk about it ;)
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
scootaloo has joined #ruby
cyclonis has joined #ruby
<dminuoso> antoniobeyah, yes.
sp4rrow has joined #ruby
gbgdev has joined #ruby
<dminuoso> antoniobeyah, most of the time debugging the VM is only useful for the developers of Ruby itself - so it's not really a matter for debuggability for the user.
<antoniobeyah> gotcha, i thought you would have needed to do something special to get the calls to the c function names to align up with the ruby function names
<antoniobeyah> since function calls boil down to a few c functions (assuming mri)
bradleyp_ has quit [Remote host closed the connection]
<antoniobeyah> and that you would have to do something special to get accurate backtraces
<dminuoso> antoniobeyah, no. There's basically a function that lets you bind c functions to ruby methods. It all happens at compile time.
gbgdev_ has quit [Ping timeout: 240 seconds]
bradleyprice has joined #ruby
<antoniobeyah> ah, i must be out of date
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<dminuoso> antoniobeyah, errr it happens at runtime.. but based on code that is mostly compiled in Ruby itself.
<dminuoso> this is what it looks like for example
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
cyclonis has quit [Ping timeout: 264 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
tyang__ has joined #ruby
<doberman> im not sure about ruby release process, but do i have time to prepare patches before .4 release? I would like to patch up configure :)
<dminuoso> doberman, historically they have always appeared around christmas eve
<doberman> yes, i know, i just no cue if code base freeze happened already :)
<doberman> *clue
schemanic has quit [Remote host closed the connection]
tyang has quit [Ping timeout: 250 seconds]
dnicole has joined #ruby
dnicole has quit [Remote host closed the connection]
dnicole has joined #ruby
tyang__ has quit [Ping timeout: 252 seconds]
dnicole has quit [Remote host closed the connection]
dnicole has joined #ruby
bmurt has joined #ruby
harai_ has joined #ruby
dnicole has quit [Ping timeout: 264 seconds]
gbgdev has quit [Remote host closed the connection]
dnicole has joined #ruby
GodFather has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
teclator_ has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
benlieb has joined #ruby
raul782 has joined #ruby
LoneHerm_ has joined #ruby
clebrun has quit [Quit: leaving]
OTORelic has quit [Ping timeout: 260 seconds]
CrazyEddy has quit [Ping timeout: 260 seconds]
OTORelic has joined #ruby
konsolebox has quit [Quit: Leaving]
LoneHerm_ has quit [Ping timeout: 264 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
strass_ has joined #ruby
<strass_> I can't compile Ruby on Deb sid because of OpenSSL issues (I think). I've tried rbenv, rvm installing all the libraries they suggest
blackpajamas has quit [Quit: WeeChat 1.6]
<doberman> strass_: lets start with version :)
<strass_> I've tried 2.3.0 and 2.3.3 so far
<dminuoso> and maybe compiler errors.
<doberman> also yes ^
<strass_> here's the error: http://slexy.org/raw/s2OqseLecs
<strass_> well the openssl part
<strass_> I can do the whole thing if you want
<strass_> but I think the error is here
SpiffTR has quit [Quit: Leaving.]
<strass_> rbenv says something about openssl on debian being bad so they have patches except the patch is for 1.9.3
<strass_> well the code they list at least
<strass_> "OpenSSL bindings on Debian
<strass_> Because of OpenSSL incompatibility in Debian (7.5 and above), Ruby might fail to compile without patching it first:"
codfection has quit [Remote host closed the connection]
<dminuoso> strass_, the code went upstream into the versions listed.
Zamyatin has joined #ruby
<strass_> sorry I don't understand what that means dminuoso
<dminuoso> strass_, the error you describe seems to be talked about in the RVM world.
xrlk has quit [Ping timeout: 252 seconds]
<dminuoso> strass_, it means you don't have to apply the patch. Ruby has that patch in 2.3.0 and 2.3.3 (among others)
tildes has joined #ruby
ramortegui has quit [Remote host closed the connection]
<doberman> ops
<strass_> ok, so antoher issue then?
<doberman> im too late
nankyokusei has joined #ruby
polishdub has quit [Quit: Leaving]
chee is now known as horse
horse is now known as chee
<dminuoso> doberman, no you actually nailed it on the head.
raul782 has quit [Remote host closed the connection]
<dminuoso> Far more qualified than my link.
biberu has quit []
<strass_> alright
<strass_> apt install libssl1.0-dev got it
<strass_> thanks so much. I searched for hours last week
<doberman> strass_: \m/
nankyokusei has quit [Ping timeout: 240 seconds]
CrazyEddy has joined #ruby
tildes has quit [Ping timeout: 258 seconds]
jcao219 has joined #ruby
<strass_> oh damn... did I do something wrong? It compiled but says I don't have permissions to install gems. This is my first time using on debian rather than installing on osx via brew
<doberman> try sudo
<strass_> I installed using rbenv. is this my system ruby?
<strass_> I thought you weren't uspposed to use sudo for gems
jaguarmagenta has quit [Remote host closed the connection]
saslam has quit [Read error: Connection reset by peer]
<doberman> then, gem install --user-install gem_name
<headius> doberman: JRuby isn't Java, it's Ruby :-P
<doberman> headius: but it require jvm ,does not it? I get my head off just by saying java :P
rwb has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snath has joined #ruby
<c-c> lol we get like 2 questions about openssl libraries on #debian every 10 minutes
<strass_> that was gonna be my next stop -.-
<doberman> c-c: we need bot on ruby that will detect words openssl and debian and replay with links:)
<c-c> lets have a look
bmurt has joined #ruby
<dminuoso> headius, about that.. if you can make the JVM warmup disappear I'll become a loyal JRuby extremist.
<headius> dminuoso: yeah I know
<c-c> strass_: so
<strass_> c-c, fixed it with `apt install libssl1.0-dev`
<c-c> strass_: which version of openssl do you have? ($ dpkg --list libssl-dev)
<c-c> ah
<c-c> so thats done
<strass_> yes I think I'm all set!
OTORelic has quit [Ping timeout: 268 seconds]
<strass_> thanks very much doberman, dminuoso, c-c
bradleyprice has quit [Remote host closed the connection]
<doberman> okay now my holywars, Still building rpm package for ruby 2.3.3, now time to split gems into sub package, that raises question - do gems consider to be sharable between ruby versions/implementations, i know that RVM separate them per ruby, what about general opinion, I need it to know where to place them correctly
bradleyprice has joined #ruby
<doberman> strass_: welcome
<c-c> gl!
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<havenwood> doberman: If it's the same Ruby engine and ABI gems can be shared.
<c-c> doberman: well, you can install system wide or home
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
postmodern has joined #ruby
<c-c> doberman: I wonder if you actually want chruby or rvm or rbenv
cyclonis has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoul_ has quit []
Cohedrin has joined #ruby
<doberman> havenwood: ruby engine/ABI can change in future.
<havenwood> doberman: Though the default is --no-env-shebang so gem binaries will be hard-linked against the Ruby that installed them.
<havenwood> doberman: You can set `gem: "env-shebang"` in your .gemrc if you want.
<havenwood> doberman: The Engine is like CRuby or JRuby, just implementations. The ABI changes with MINOR versions.
<havenwood> but not with TEENY
chouhoulis has joined #ruby
|RicharD| has quit [Quit: Sto andando via]
synthroi_ has quit []
<doberman> c-c: idea is go get away from rvm, we package our software into rpms, so wanna have fixed versioning
<c-c> heh doesn't rvm enable fixed versions...
<c-c> lol I don't even want to think about that right now
bradleyprice has quit [Ping timeout: 268 seconds]
<doberman> havenwood: im pondering about %{_datadir}/rubygems/{major.minor} - /usr/share/rubygems/2.3/
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt has joined #ruby
cyclonis has quit [Ping timeout: 258 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
joanftt[m] has joined #ruby
friday has quit [Ping timeout: 252 seconds]
<doberman> c-c: its long story, i feel you all will fall into sleep before i finish typing it, but very short we wanna do system wide ruby across hosts and use package manager, so we do automated deployments of our code (sh*t tons of projects) and also solve project deps
<c-c> sounds like would be easier to use a vm image or docker or lxc or such
kith has quit [Quit: kith]
<dminuoso> docker, configuration management like puppet, orchestration like ansible..
<dminuoso> there's quite a few industry-grade duct tape solutions.
friday has joined #ruby
bradleyprice has joined #ruby
<doberman> that is kinda our plan: reproducible vm images, puppet+ansible and projects packaged into rpms :)
kinduff has joined #ruby
<c-c> everybodys plan
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<doberman> we also want lock developers into use limited set of gems/versions, that security team approved, to avoid problems with mim replacement during deployment
<strass_> Your user account isn't allowed to install to the system Rubygems. You can cancel this installation and run: bundle install --path vendor/bundle to install the gems into ./vendor/bundle/, or you can enter your password and install the bundled gems to Rubygems using sudo.
<strass_> what would you recommend?
<doberman> did you install ruby systemwide?
<doberman> strass_: ^
<strass_> Not sure I just used rbenv install 2.3.3
<strass_> not as sudo or anything
<strass_> when I do rbenv versions I see * 2.3.3 (set by /home/strass/.rbenv/version)
tercenya has quit [Remote host closed the connection]
<doberman> strass_: please do which ruby, which gem, gem env
tercenya has joined #ruby
<doberman> and link results
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
cyclonis has joined #ruby
Derderderd has quit [Ping timeout: 258 seconds]
<strass_> which ruby: /home/strass/.rbenv/shims/ruby
<strass_> which gem: /home/strass/.rbenv/shims/gem
<c-c> strass_: do collect all such info in one pastie or gist
<strass_> oh I missed an rvm line
<strass_> wonder if thats it
<doberman> rvm?
<strass_> hmm, that line is commented out in my zshrc... wonder where it's coming from
<strass_> ruby version manager, rbenv alternative
<doberman> you got choose between rvm and rubyenv
<strass_> yeah I thought I got all the references
<havenwood> the correct choice between rbenv and rvm is chruby :-P
<doberman> havenwood: lol
<workmad3> doberman: sounds like you'll want to be running your own private gem server for approved gems
<strass_> hmm not sure where that last shell path is coming from though. the line is commented out in my zshrc
<doberman> try open new session
<doberman> or do source ~/.zshrc
<doberman> oh wait it want unset
<doberman> start new session and try
<strass_> ok brb
strass_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
strass_ has joined #ruby
<strass_> alright new session cleared it. whoops ;)
yeticry has quit [Quit: leaving]
<strass_> and now I seem to be able to install gems correctly
<strass_> guess I never restarted last week
<doberman> yay to all mighty new session
friday has quit [Changing host]
friday has joined #ruby
<strass_> new problem: Your bundle is locked to activesupport (3.2.22.2), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of activesupport (3.2.22.2) has removed it. You'll need to update your bundle to a different version of activesupport (3.2.22.2) that hasn't been removed in order to install.
<strass_> Run `bundle install` to install missing gems
<doberman> bundle updatew
<strass_> can I just take the version # away from gemfile?
<doberman> *bundle update
z64 has quit [Quit: can i go home now?]
<strass_> ok now I get: Your bundle is locked to execjs (2.7.0), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of execjs (2.7.0) has removed it. You'll need to update your bundle to a different version of execjs (2.7.0) that hasn't been removed in order to install.
<doberman> what source?
<doberman> ^ in gem file
<doberman> *gemfile
LoneHermit has quit [Ping timeout: 258 seconds]
bturker has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
xrlk has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
jcao219 has quit [Ping timeout: 265 seconds]
<doberman> try manually install it
<doberman> also bundler --version please
raul782 has joined #ruby
<doberman> strass_: ^x2
bturker has quit [Ping timeout: 256 seconds]
<strass_> 1.13.6 bundler version
Derderderd has joined #ruby
raul782 has quit [Remote host closed the connection]
Ropeney has joined #ruby
raul782 has joined #ruby
<doberman> strass_: also its odd a bit, just ran 1.13.6 with your gemfile, seems to be working for me, try purge lock file and run bundle install
Rufus has quit [Quit: Textual IRC Client: www.textualapp.com]
cyclonis has quit [Ping timeout: 268 seconds]
<strass_> ok
<doberman> like all mighty arnold said once up on in time "I'll be back"
snath has left #ruby ["Leaving"]
ryan_notabot has quit [Ping timeout: 268 seconds]
<strass_> so I tried to purge gemfile.lock, now I get Tilt errors...
Sh4D0wD_ has joined #ruby
<Sh4D0wD_> <-aka doberman
doberman has quit [Quit: Page closed]
chouhoulis has quit [Ping timeout: 258 seconds]
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
<strass_> /home/strass/.gem/ruby/2.3.0/gems/serve-1.5.2/lib/serve/handlers/dynamic_handler.rb:8:in `extensions': undefined method `mappings' for Tilt:Module (NoMethodError)
bturker has joined #ruby
Macrobiotic has quit [Quit: Connection closed for inactivity]
shayan has joined #ruby
bmurt has joined #ruby
kinduff has quit [Quit: Textual IRC Client: www.textualapp.com]
guacamole has quit [Quit: Lost terminal]
koooge has joined #ruby
jamiejackson has joined #ruby
bturker has quit [Ping timeout: 256 seconds]
<jamiejackson> i'm trying to test a function with minitest. i'm new to ruby. how do i get an instance of the file under test so i can call a method on it?
fmcgeough has joined #ruby
<Sh4D0wD_> How did we get here from OpenSSL to debugging gem, I'm no familiar with serve and away from desktop to check
<Sh4D0wD_> jamiejackson: file? Do you mean File as class File?
gbgdev has joined #ruby
<c-c> strass_: so, perhaps some lib is missing
<havenwood> jamiejackson: Inside a `def setup` or `before do` (depending on spec or test style) you can set `@thing = Thing.new`
pulgolino has quit [Remote host closed the connection]
<Sh4D0wD_> In any case you can do def setup; @thing= Thing.new; end
<Sh4D0wD_> And use @thing inside your tests methods
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jamiejackson> the file starts with "module ApplicationHelper", fwiw.
<jamiejackson> (the file under test)
<Sh4D0wD_> You lost me there right now
<Sh4D0wD_> But I guess you need require your file
<c-c> jamiejackson: to make things simple for you and others..
<c-c> jamiejackson: make a simple pastie or gist, with your problem scenario presented
<strass_> Sh4D0wD_, dunno this is the next error. this repo worked on OS X with no issues but now I get all these gem errors...
<c-c> strass_: do you use bundler?
charliesome has joined #ruby
Zamyatin has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
<Sh4D0wD_> We figured bundler now he had problem somewhere inside gem, from him gemfile I can only assume he got servo from somewhere else (git link) and later changed to gem name, version
<Sh4D0wD_> And one from git and that one version matched
<Sh4D0wD_> But had different code
<jamiejackson> okay, here's what i have. i was trying to unit test in the rails way (for the first time), but i couldn't get it to skip all the db generation stuff. i don't need that since this function under test has no db dependencies. anyway, so no i'm trying minitest directly:
<jamiejackson> *now