havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
BSaboia has joined #ruby
shum has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
tristanp_ has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
OTORelic2 has joined #ruby
tristanp has quit [Ping timeout: 276 seconds]
tristanp has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
tristanp_ has quit [Ping timeout: 260 seconds]
Moblin has quit [Quit: This computer has gone to sleep]
Moblin has joined #ruby
marxarelli has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
elifoster has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 244 seconds]
blackgoat has quit [Ping timeout: 276 seconds]
CloCkWeRX has joined #ruby
dezull has quit [Quit: Leaving]
malcolmva has quit [Ping timeout: 264 seconds]
tristanp_ has joined #ruby
FernandoBasso has quit [Quit: Leaving]
tristanp has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
tristanp_ has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
al2o3-cr has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
malcolmva has joined #ruby
al2o3-cr has quit [Client Quit]
mikecmpb_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
newjersey has joined #ruby
Matthew_ has quit [Ping timeout: 244 seconds]
zrl_ has quit [Read error: Connection reset by peer]
spastorino has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
tristanp_ has joined #ruby
gmci has quit [Ping timeout: 264 seconds]
troter__________ has quit [Ping timeout: 264 seconds]
olivierjanss has quit [Ping timeout: 264 seconds]
AdamMeghji_ has quit [Ping timeout: 264 seconds]
tristanp has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4]
tristanp_ has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
tildes has joined #ruby
Matthew_ has joined #ruby
Musashi007 has joined #ruby
graphettion has quit [Remote host closed the connection]
william3 has joined #ruby
tristanp has quit []
Matthew_ has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
ur5us has joined #ruby
Dry_Lips has quit [Ping timeout: 244 seconds]
joneshf-laptop has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
IrishGringo has quit [Ping timeout: 244 seconds]
CloCkWeRX has left #ruby [#ruby]
zrl_ has joined #ruby
al2o3-cr has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
troter__________ has joined #ruby
jpterry has joined #ruby
bhorn1|away has joined #ruby
csmb has joined #ruby
bhorn1|away is now known as bhorn1
Musashi007 has quit [Quit: Musashi007]
Matthew_ has joined #ruby
framling has quit [Remote host closed the connection]
al2o3-cr has quit [Client Quit]
s00pcan has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
hxegon is now known as hxegon_AFK
hxegon_AFK has quit [Quit: BRB]
olivierjanss has joined #ruby
ensyde has joined #ruby
Yiota has joined #ruby
csmb has quit [Ping timeout: 265 seconds]
bhorn1 has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
jpterry has quit [Ping timeout: 265 seconds]
stannard has quit [Remote host closed the connection]
GinoMan2440 has joined #ruby
william3 has joined #ruby
Cohedrin_ has joined #ruby
IrishGringo_ has joined #ruby
Cohedrin has quit [Ping timeout: 260 seconds]
william3 has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
hxegon has joined #ruby
ekinmur has joined #ruby
th0m has quit [Read error: Connection reset by peer]
goodroot has joined #ruby
ebookclic has joined #ruby
william3 has joined #ruby
ebookclic has left #ruby [#ruby]
OTORelic2 has quit [Ping timeout: 250 seconds]
spastorino has joined #ruby
DarkBushido has quit [Ping timeout: 250 seconds]
william3 has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
SCHAAP137 has quit [Quit: Exiting...]
sdothum has quit [Read error: Connection reset by peer]
aurum_infide_ has joined #ruby
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
Madplatypus has joined #ruby
CloCkWeRX has joined #ruby
DarkBushido has joined #ruby
DarkBushido has joined #ruby
ensyde has quit [Ping timeout: 250 seconds]
IrishGringo_ has quit [Remote host closed the connection]
nitrix- has quit [Changing host]
nitrix- has joined #ruby
nitrix- is now known as nitrix
jokester has joined #ruby
IrishGringo has joined #ruby
AdamMeghji_ has joined #ruby
shai has joined #ruby
baweaver has joined #ruby
<shai> hi :) I wanted to test if the script is currently running past midnight (even by a fraction of a second) and before 6am (even by a fraction of a second). how can I do that? would "t.hour > 0 && t.hour < 6" suffice for testing this against Time.new ?
<shai> or would that only check against the hour, and not seconds, milliseconds, epoc etc?
danielpclark has quit [Ping timeout: 276 seconds]
A124 has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 276 seconds]
BtcBen has quit [Ping timeout: 276 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
A124 has joined #ruby
Cohedrin has joined #ruby
s1kx has quit [Quit: bai]
Cohedrin_ has quit [Ping timeout: 244 seconds]
flashpoint9 has joined #ruby
glacius has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
zzach has joined #ruby
<havenwood> shai: That'd be 1AM 'till before 5AM.
BrunoSaboia has joined #ruby
zzach1 has quit [Ping timeout: 260 seconds]
danielpclark has joined #ruby
<shai> havenwood, that's my problem. how else would I do it? maybe: "(0..6).cover? t.hour" for testing this against Time.new?
stannard has joined #ruby
arescorpio has joined #ruby
<havenwood> shai: There's a nanosecond at midnight that you'll probably manage better by disregarding. :P
BSaboia has quit [Ping timeout: 250 seconds]
<shai> havenwood, i don't follow ...
sonne has quit [Ping timeout: 260 seconds]
<Radar> shai: t.hour >= 0 ?
<Radar> Because you want it to run between midnight.
<Radar> t.hour > 0 would only work if t.hour is greater than 0, so it'd eval to true at 1am
<havenwood> shai: `t.hour < 6` means anything before 6AM, including the single nanosecond where it's midnight exactly
diegoviola has quit [Ping timeout: 250 seconds]
bklane has joined #ruby
<shai> so: t.hour >= 0 && t.hour < 6 ?
<havenwood> shai: I just mean leave that nanosecond be, since checking for #hour will take that nanosecond.
<havenwood> shai: Drop the first part.
<havenwood> shai: You can't have a negative hour.
<shai> so just: < 6 ?
Channel6 has quit [Quit: Leaving]
<shai> havenwood, Time.new < 6 ?
sonne has joined #ruby
<havenwood> shai: The hour.
<shai> right ..
stannard has quit [Ping timeout: 260 seconds]
<shai> t.hour < 6
<havenwood> shai: That handles 'till 6.
<havenwood> Not including 6AM itself.
<shai> That would catch anything past midnight 'till 6am
<shai> yea, that works.
dumdedum has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
<havenwood> shai: Rails has more helper methods for time.
<shai> and if I later want to change it to 23-6? t.hour >= 23 && t.hour < 6 ?
<shai> havenwood, ^^
<havenwood> shai: yeah, for 11PM exactly to before 6AM
<shai> havenwood, ok .. this is brilliant! you've been super helpful :) you too Radar :)
<shai> i really appreciate it! thanks!
beawesomeinstead has quit [Ping timeout: 244 seconds]
<havenwood> shai: you're welcome, happy coding!
<shai> :)
shai has quit [Quit: Leaving]
beawesomeinstead has joined #ruby
BSab has joined #ruby
gmci has joined #ruby
BrunoSaboia has quit [Ping timeout: 244 seconds]
aurum_infide___ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
dfdnatural has joined #ruby
dfdnatural has quit [Client Quit]
yfeldblu_ has quit [Remote host closed the connection]
aurum_infide_ has quit [Ping timeout: 244 seconds]
altair118 has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
braincra- has joined #ruby
altair118 has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 260 seconds]
duncannz has joined #ruby
duncannz has left #ruby [#ruby]
ropeney has joined #ruby
d3d1rty has joined #ruby
<d3d1rty> hw
Yiota has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
hxegon has quit [Quit: BRB]
d3d1rty has left #ruby [#ruby]
solocshaw has quit [Ping timeout: 264 seconds]
flashpoint9 has quit [Remote host closed the connection]
nanoyak has joined #ruby
nanoyak has quit [Client Quit]
altair118 has joined #ruby
nettoweb has joined #ruby
flashpoint9 has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
flashpoint9 has quit [Remote host closed the connection]
duncannz has joined #ruby
nettoweb has quit [Ping timeout: 244 seconds]
OTORelic2 has joined #ruby
Nawn has quit [Quit: Leaving]
hxegon has joined #ruby
OTORelic2 has quit [Ping timeout: 244 seconds]
elifoster has joined #ruby
braincra- has quit [Quit: bye bye]
LoneHerm_ has joined #ruby
Channel6 has joined #ruby
SilverKey has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has quit [Quit: Leaving]
braincras has joined #ruby
bklane has quit [Remote host closed the connection]
darkf_ has joined #ruby
Yeomra_ has quit [Ping timeout: 250 seconds]
hxegon has quit [Quit: BRB]
darkf has quit [Ping timeout: 276 seconds]
danielpclark has quit [Quit: Leaving]
Amnez777 has quit [Ping timeout: 260 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Alina-malina has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
Trynemjoel has quit [Ping timeout: 244 seconds]
pwnd_nsfw has joined #ruby
pawnbox has joined #ruby
Trynemjoel has joined #ruby
cibs_ has quit [Quit: leaving]
newjersey has quit [Read error: Connection reset by peer]
cibs has joined #ruby
SirCmpwn has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Ping timeout: 250 seconds]
SirCmpwn has joined #ruby
baweaver has quit [Remote host closed the connection]
M-shine has quit [Ping timeout: 264 seconds]
Channel6 has quit [Quit: Leaving]
nettoweb has joined #ruby
dopie has quit [Quit: Lost terminal]
jackjackdripper has joined #ruby
Coldblackice_ has quit [Read error: Connection reset by peer]
M-shine has joined #ruby
diego1 has joined #ruby
Coldblackice_ has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
gix has quit [Ping timeout: 250 seconds]
ruby-lang097 has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
ruby243 has joined #ruby
diegoviola has quit [Ping timeout: 276 seconds]
diego1 is now known as diegoviola
BTRE has quit [Quit: Leaving]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
william3 has joined #ruby
maletor has joined #ruby
A5101 has joined #ruby
ruby-lang097 has quit [Ping timeout: 250 seconds]
toretore has joined #ruby
gix has joined #ruby
baweaver has joined #ruby
ruby243 has quit [Ping timeout: 250 seconds]
bklane has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
darkf_ is now known as darkf
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
decoponio has quit [Quit: Leaving...]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OTORelic2 has joined #ruby
jam__ has quit []
jaguarmagenta has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
SilverKey has quit [Ping timeout: 276 seconds]
ur5us_ has joined #ruby
ur5us has quit [Read error: No route to host]
SilverKey has joined #ruby
<shevy> baweaver lol
<shevy> that dam logs
SilverKey has quit [Client Quit]
kareeoleez has joined #ruby
lxsameer has joined #ruby
yfeldblum has joined #ruby
stannard has joined #ruby
Mon_Ouie has joined #ruby
benlieb has joined #ruby
BTRE has joined #ruby
rfv has quit [Read error: Connection reset by peer]
jhill has quit [Read error: Connection reset by peer]
Olipro_ has joined #ruby
Olipro_ is now known as Guest31609
stannard has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
bronson has joined #ruby
rfv has joined #ruby
jhill has joined #ruby
Amnez777 has joined #ruby
kareeole_ has joined #ruby
rbennace_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
PedramT has joined #ruby
rbennacer has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
Alina-malina has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
bklane has quit [Remote host closed the connection]
ur5us_ has quit [Read error: No route to host]
ur5us has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
tax has joined #ruby
pikajude_ is now known as pikajude
pikajude has joined #ruby
pikajude has quit [Changing host]
maletor has joined #ruby
rrichardsr3 has joined #ruby
hxegon has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
rrichardsr3 has quit [Client Quit]
Moblin has quit [Quit: This computer has gone to sleep]
PedramT has joined #ruby
tubuliferous has joined #ruby
PedramT has quit [Ping timeout: 250 seconds]
bklane has joined #ruby
marcdel has joined #ruby
MagePsycho_ has joined #ruby
aurum_infide___ has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
terlar has joined #ruby
saneax_AFK is now known as saneax
A124 has quit [Ping timeout: 276 seconds]
altair118 has quit [Remote host closed the connection]
zast has quit [Remote host closed the connection]
terlar has quit [Client Quit]
Flaim has joined #ruby
<Flaim> evenin folks
<Radar> Hi.
william3 has quit [Ping timeout: 276 seconds]
<Flaim> i'm getting an error when installing gitlab.. not sure if it's a gitlab error or a ruby error.
<Flaim> Could not find gem 'devise-two-factor (~> 2.0.0)' in any of the gem sources
<Flaim> listed in your Gemfile or available on this machine.
<toretore> Flaim: gist Gemfile
arescorpio has quit [Remote host closed the connection]
navneet has joined #ruby
MagePsycho_ has quit [Quit: MagePsycho_]
<Flaim> i have not used ruby or installed any ruby apps previously (to my knowledge) so I'm not certain where I would find such a thing.
<toretore> how are you installing gitlab?
tjbiddle has quit [Quit: tjbiddle]
<Flaim> ubuntu sources
<Flaim> found it in /usr/share/gitlab
sillytime is now known as nchambers
<toretore> what are you doing when you get the error?
<Flaim> attempting to complete the installation w/ apt-get
<toretore> what does that mean exactly?
<Flaim> it stopped previously to initiate a manual setup of letsencrypt.
kareeole_ is now known as kareeoleez
<Flaim> then i restart it again w/ 'apt-get install gitlab'
<Flaim> which restarts the install script
<toretore> that gemfile probably has 200 gems including dependencies :/ i'd be surprised if everything just worked
djbkd_ has joined #ruby
<Flaim> yeah
<toretore> can you gist the entire output of the apt-get install?
tildes has joined #ruby
<Flaim> sure, standby
<toretore> couldn't you use this instead? http://doc.gitlab.com/omnibus/docker/
<toretore> i find docker to be a much tidier method of packaging large apps with so many dependent components like this
djbkd_ has quit [Client Quit]
<Flaim> I could, yes. that would not however aid me in troubleshooting ruby problems in the future :)
<toretore> device-two-factor exists, so it shouldn't give you that error https://rubygems.org/gems/devise-two-factor
armyriad has quit [Ping timeout: 260 seconds]
<Flaim> yeah
astrobunny has joined #ruby
BtcBen has joined #ruby
<toretore> tbh i wouldn't even bother trying to install something like this directly
<toretore> it's bound to be problematic
<toretore> distributing ruby "apps" is a messy affair
<toretore> and docker solves that
<Flaim> true that
Esya has quit [Ping timeout: 276 seconds]
<toretore> and then you have an extra level on top with apt, so you can't see what's really going on, making it harder to debug
Devalo has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
smathy has joined #ruby
smathy has quit [Client Quit]
smathy has joined #ruby
Esya has joined #ruby
kareeoleez has quit [Remote host closed the connection]
djbkd_ has joined #ruby
altair118 has joined #ruby
smathy has quit [Ping timeout: 276 seconds]
ssiris has quit [Quit: End of Line]
navneet has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
navneet has joined #ruby
madgen has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
aurum_infide has joined #ruby
elifoster has quit [Ping timeout: 276 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
Flaim has left #ruby [#ruby]
agent_white has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
tvw has joined #ruby
madgen has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
A5101 has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
altair118 has quit []
lacrosse has joined #ruby
navneet_ has joined #ruby
yfeldblum has joined #ruby
skweek has joined #ruby
ta__ has quit [Remote host closed the connection]
BtcBen has quit [Read error: Connection reset by peer]
navneet has quit [Ping timeout: 244 seconds]
BtcBen has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
infra-red has joined #ruby
william3 has joined #ruby
mark2 has joined #ruby
mark2 has quit [Client Quit]
jackjackdripper has joined #ruby
mark_66 has joined #ruby
dionysus69 has joined #ruby
Cohedrin_ has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
Cohedrin has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
infra-re_ has joined #ruby
infra-red has quit [Ping timeout: 250 seconds]
Matthew_ is now known as MRB[away]
fedexo has joined #ruby
bklane has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
ta_ has joined #ruby
Devalo has quit [Remote host closed the connection]
tax has quit [Ping timeout: 276 seconds]
noServic1 has joined #ruby
aganov has joined #ruby
marcdel has joined #ruby
stannard has joined #ruby
rbennacer has joined #ruby
ur5us has quit [Remote host closed the connection]
noService has quit [Ping timeout: 260 seconds]
ss_much has joined #ruby
skweek has quit [Remote host closed the connection]
pandaant has joined #ruby
bklane has joined #ruby
skweek has joined #ruby
stannard has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 250 seconds]
rbennacer has quit [Read error: Connection reset by peer]
rbennace_ has joined #ruby
skweek has quit [Remote host closed the connection]
PedramT has joined #ruby
skweek has joined #ruby
<Arcaire> loldocekr
<Arcaire> er
<Arcaire> loldocker
pawnbox has quit [Remote host closed the connection]
dede has joined #ruby
pawnbox has joined #ruby
solars has joined #ruby
benlieb has quit [Quit: benlieb]
TomyLobo has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
bklane has quit [Quit: Leaving...]
ta_ has quit [Read error: Connection reset by peer]
aurum_infide_ has joined #ruby
aurum_infide has quit [Ping timeout: 244 seconds]
<matt_d> Arcaire: lol
william3 has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 276 seconds]
krzkrz has joined #ruby
ta_ has joined #ruby
rbennace_ has quit [Ping timeout: 276 seconds]
noService has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
ur5us has joined #ruby
diegoaguilar has joined #ruby
noServic1 has quit [Ping timeout: 260 seconds]
firstdayonthejob has quit [Ping timeout: 260 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
madgen has joined #ruby
rbennacer has joined #ruby
free_beard has quit [Remote host closed the connection]
tuelz3 has quit [Ping timeout: 260 seconds]
infra-re_ has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Read error: Connection reset by peer]
PedramT has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 260 seconds]
diegoaguilar has joined #ruby
djbkd_ has quit []
navneet_ has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 244 seconds]
diegoaguilar has quit [Read error: Connection reset by peer]
marcdel has quit [Ping timeout: 244 seconds]
diegoaguilar has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
vondruch has quit [Ping timeout: 244 seconds]
hxegon has quit [Quit: BRB]
nofxx has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
Lomex has joined #ruby
william3 has joined #ruby
Lomex has quit [Remote host closed the connection]
Gasher has joined #ruby
codecop has quit [Quit: Išeinu]
biberu has joined #ruby
raeoks has joined #ruby
PedramT_ has joined #ruby
william3 has quit [Ping timeout: 244 seconds]
Gasher^ has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
Gasher has quit [Ping timeout: 244 seconds]
PedramT_ has quit [Ping timeout: 276 seconds]
Gasher^ has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
brunto has joined #ruby
kits has joined #ruby
marxarelli has joined #ruby
Xiti` has quit [Quit: Xiti`]
Xeago has joined #ruby
rbennacer has joined #ruby
Kim^J_ is now known as Kim^J
rbennacer has quit [Ping timeout: 244 seconds]
Couch has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
aurum_infide has joined #ruby
vondruch has joined #ruby
<LadyElusive> hello
<LadyElusive> how does one go about performing a static installation of ruby?
infra-red has joined #ruby
aurum_infide_ has quit [Ping timeout: 244 seconds]
infra-re_ has joined #ruby
infra-red has quit [Ping timeout: 276 seconds]
anisha has joined #ruby
antgel has joined #ruby
tenzan has joined #ruby
al2o3-cr has quit [Ping timeout: 244 seconds]
noService has quit [Read error: Connection reset by peer]
<toretore> LadyElusive: what do you mean by static?
noService has joined #ruby
Coldblackice_ has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
<LadyElusive> meaning non-shared libraries
ferr has joined #ruby
tobiasvl has quit [Quit: turning it off and on again]
dgncn has quit [Excess Flood]
nando293921 has quit [Quit: Lost terminal]
dgncn has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
nando293921 has joined #ruby
bruno- has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
jaruga__ has joined #ruby
krzkrz has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
eatsfoobars has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
Xeago has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
tenzan has quit [Quit: Textual IRC Client: www.textualapp.com]
bruno- has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
aufi has joined #ruby
navneet has joined #ruby
krzkrz has joined #ruby
eatsfoobars` has joined #ruby
baweaver has quit [Remote host closed the connection]
eatsfoobars is now known as Guest70738
Guest70738 has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
eatsfoobars` is now known as eatsfoobars
DoubleMalt has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
BtcBen has quit [Ping timeout: 276 seconds]
rbr has quit [Disconnected by services]
TheHodge has joined #ruby
the_drow has joined #ruby
OTORelic2 has joined #ruby
marr has joined #ruby
rbr has joined #ruby
pawnbox has joined #ruby
tagaulap has joined #ruby
rbr has quit [Disconnected by services]
elaptics`away is now known as elaptics
rbr has joined #ruby
mikecmpbll has joined #ruby
rbr has quit [Client Quit]
OTORelic2 has quit [Ping timeout: 246 seconds]
ICantCook has quit [Ping timeout: 250 seconds]
whiteline has joined #ruby
bry4n has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
tuelz3 has joined #ruby
nobitanobi has joined #ruby
fedexo has quit [Ping timeout: 244 seconds]
tabakhase has quit [Ping timeout: 276 seconds]
bokayio has quit [Ping timeout: 276 seconds]
bokayio has joined #ruby
tabakhase has joined #ruby
terlar has joined #ruby
<manveru> LadyElusive: you mean a static ruby executable?
<LadyElusive> yes
stannard has joined #ruby
<manveru> best to ask some folks that have done embedded ruby... but i think it's only possible with mruby, which isn't fully compatible with MRI :|
rbr has joined #ruby
atmosx_alt is now known as atmosx
<manveru> or https://github.com/phusion/traveling-ruby which simply bundles dependencies...
<jackdaniel> does ruby have an official spec, or MRI is a reference implementation?
<manveru> jackdaniel: there's an ISO standard for some parts of 1.9, afaicr
madgen has quit [Ping timeout: 244 seconds]
<jackdaniel> but it's not what's used?
<manveru> there's also the rubyspec project... but not sure where it is these days
<LadyElusive> wrong chan, sorry
<manveru> LadyElusive: you could always build ruby using nix, to make sure your linked libs are immutable
<jackdaniel> I'm reading right now http://rubinius.com/2014/12/31/matz-s-ruby-developers-don-t-use-rubyspec/ , where author states, that he drops the project due to mri implementation ignoring it (I've just started reading it)
stannard has quit [Ping timeout: 264 seconds]
<LadyElusive> manveru, nix?
<manveru> LadyElusive: http://nixos.org/nix/
<manveru> jackdaniel: ah right, i wasn't around much during that time :)
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
shredding has joined #ruby
drptbl has joined #ruby
<jhass> jackdaniel: https://github.com/ruby/spec it's very active still though
dn`_ has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
<Elysia> Are IDE questions appropriate in this channel?
dn` has quit [Ping timeout: 244 seconds]
dn`_ is now known as dn`
<tobiasvl> Elysia: I'd say "just ask", who knows until we hear the specific question
rbennacer has joined #ruby
william3 has joined #ruby
<Elysia> I've been looking for a tool for ruby that sort of analyses rubydocs, but it seems RubyMine does nothing with comments before a method. In PHPStorm/Intelij you can use /** to have the IDE autocomplete a bit of documentation it knows, but I can't find such function within RubyMine
Pumukel has joined #ruby
karapety_ has joined #ruby
<Elysia> it leads to me inconsisitently documenting my code at the very least, and was wondering if anyone has something like this integrated in their workflow
<jackdaniel> jhass: thanks
<shevy> Elysia don't know if many people use IDEs in ruby; in vim you can sort of enable this quite easily
hk238 has joined #ruby
<shevy> you can get documentation via ri on the commandline; you can also enable this via ruby code, such as: RDoc::RI::Driver.process_args()
rubyaw has quit [Quit: Leaving...]
rbennacer has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
rbennacer has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
rubyaw has joined #ruby
karapety_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<Elysia> ri is nice, but I think what I want is more along the lines of yard
<Elysia> and yeah, I haven't really tried vim's support for ruby yet, I often find the comfort of an IDE nice.
jaguarmagenta has joined #ruby
<shevy> I don't use vim myself, I settled for editors that allow me to be lazy
bruno- has joined #ruby
<Elysia> which are those? Atom? :P
william3 has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
jaguarmagenta has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 268 seconds]
<manveru> shevy: lazier than vim... what universe do you live in? :P
<Elysia> anyhow - as far as RubyMine is concerned, it only completes the tags, but doesn't seem to autogenerate snippets, or hint that documentation is missing
<Elysia> I guess I'll have to do with some hybrid monstrosity of using the terminal with my IDE :P
yeticry has joined #ruby
mdw has joined #ruby
mdw has quit [Client Quit]
rbennacer has joined #ruby
pawnbox has quit [Remote host closed the connection]
sepp2k has joined #ruby
crayfishx has joined #ruby
sepp2k has quit [Client Quit]
<shevy> manveru notepad++!!! sorta
<shevy> Elysia I actually haven't tested atom yet, havenwood seems to like it so that is a plus - havenwood can't be wrong!
<manveru> ...
<shevy> there is also sublime, which I have tested only briefly; jhass likes it so that is a plus
<Elysia> Atom's got some pretty good things going for it
<manveru> why would you use an editor that has trouble opening files larger than 4MB...
<Elysia> but the comfort of an IDE is something I've been preferring for larger projects, I don't know how well text editors do that
rbennacer has quit [Ping timeout: 244 seconds]
<Elysia> manveru: if your code is 4 MB in one file, maybe you've got a problem bigger than your editor :P
<manveru> if all your editor can edit is code, there's some issue :P
<Elysia> well I'm not expecting it to edit images
<manveru> what about xml/json/csv/whatever dumps, log files and the like?
<manveru> editing large files is a solved problem for about 40 years...
<Elysia> if this is about atom in particular, I remember that being horrible in earlier versions of atom
<Elysia> but it's supposedly improved a lot in the stable releases
<manveru> yeah
<manveru> it still won't run in my terminal and it's still in JS though :P
OTORelic2 has joined #ruby
lacrosse has quit [Quit: Connection closed for inactivity]
* Elysia hasn't used Atom a lot lately, considering he still has the Jetbrains family of IDEs at his leisure
<shevy> manveru don't let those XML files grow!!!
<shevy> some weeks ago, I actually found out that you can edit files on github
<shevy> that is a cool feature :)
<Elysia> shevy: sort of, it leads to a lot of bad things though :P
<manveru> at least protect your master branch :)
platzhirsch has joined #ruby
<shevy> Elysia yeah... it's not an IDE after all ;P
<shevy> but in theory, my thinking was like "cool... now I can update ruby-gnome old code in the browser!"
phredus has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 244 seconds]
nofxx has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
Alina-malina has quit [Ping timeout: 276 seconds]
<manveru> i use it mostly to update things like docs and readmes
drptbl_ has joined #ruby
<manveru> since it has the markdown preview, which is nice
<Elysia> yeah, it's good for quick fixes
drptbl has quit [Read error: Connection reset by peer]
<Elysia> I tend to appreciate it less when I see a pull request by some random guy that changes one character in some readme, though
moei has quit [Quit: Leaving...]
bollullera has joined #ruby
madgen has joined #ruby
moei has joined #ruby
bollullera has quit [Excess Flood]
bmf has joined #ruby
Alina-malina has joined #ruby
Amnez777 has joined #ruby
rbennacer has joined #ruby
houhoulis has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
DanyC has joined #ruby
watersoul has quit [Remote host closed the connection]
bmf has quit [Remote host closed the connection]
poerror has joined #ruby
skislak has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
last_staff has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
Chagel has joined #ruby
watersoul has joined #ruby
rbennacer has joined #ruby
poerror has left #ruby ["Textual IRC Client: www.textualapp.com"]
DanyC has quit []
kszarlej has joined #ruby
tobiasvl has quit [Quit: Fedora 22 -> 23]
rbennacer has quit [Ping timeout: 260 seconds]
<kszarlej> hey guys! I use Rails. Is there any possibility to make Rails ActiveRecord log in pure json so I can forward its logs to logstash?
BtcBen has joined #ruby
<kszarlej> I use logstashlogger but still many of the activejob logs are in plaintext
rbr has quit [Disconnected by services]
<kszarlej> not json
<kszarlej> I assume activerecord has its own logger
rbr has joined #ruby
<manveru> ?rails kszarlej
<ruby[bot]> kszarlej: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
neanderslob has joined #ruby
<kszarlej> czy /j #RubyOnRails
<kszarlej> ups
evidex has joined #ruby
postmodern has quit [Quit: Leaving]
navneet has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
shredding has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
pawnbox has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
A124 has joined #ruby
krzkrz has joined #ruby
workmad3 has joined #ruby
astrobunny has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
Xeago has quit [Remote host closed the connection]
nettoweb has joined #ruby
baweaver has joined #ruby
Chagel_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
patrick_star has quit [Quit: Leaving]
Seich has quit [Ping timeout: 250 seconds]
Chagel has quit [Ping timeout: 264 seconds]
Seich has joined #ruby
yfeldblum has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
william3 has quit [Remote host closed the connection]
lightheaded has joined #ruby
ocbtec has joined #ruby
navneet has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
ICantCook has joined #ruby
karapetyan has quit [Remote host closed the connection]
tuelz3 has quit [Ping timeout: 268 seconds]
rippa has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
leftpad has quit [Remote host closed the connection]
bollullera has joined #ruby
pawnbox has quit [Remote host closed the connection]
poerror has joined #ruby
poerror has quit [Client Quit]
bollullera has quit [Excess Flood]
karapetyan has joined #ruby
stannard has joined #ruby
<shevy> Elysia does RubyMine have some terminal embedded btw? geany has it, sorta, with vte embedded. It's not really an IDE though, just a lightweight editor
tuelz3 has joined #ruby
terlar has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
krzkrz has quit [Ping timeout: 250 seconds]
<adaedra> it does
Madplatypus has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
bigkevmcd has joined #ruby
navneet has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
joneshf-laptop has quit [Ping timeout: 260 seconds]
navneet has joined #ruby
unshadow has joined #ruby
LoneHerm_ has joined #ruby
<unshadow> A qustion for you people. I have a class where one methos is looping and waiting for incoming connections. lets call it "server" for our example. When I do server.loop the class will block (ofcurse) which is fine, but, I want the class to respond to server.stop and\or server.reload etc.. how can I tell Kernel.loop to check if there are calls to the class before looping another time ? I also tried to do
<unshadow> fork do; the loop; end but it wont work, the class is still unresponsive
pandaant has quit [Remote host closed the connection]
navneet_ has joined #ruby
navneet has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
<Mon_Ouie> You could set a flag when you call #stop and just check the value of that flag before each iteration
<Mon_Ouie> Don't forget that you need some form of IPC (e.g. pipes) if you need to communicate to the process you created using fork
LoneHerm_ has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
Spondyl has joined #ruby
<unshadow> Mon_Ouie: The flag is a good idea, thanks :)
DoubleMalt has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaguarmagenta has joined #ruby
rodfersou has joined #ruby
navneet_ has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
tuelz3 has quit [Ping timeout: 264 seconds]
mikeiniowa has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 264 seconds]
pandaant has joined #ruby
navneet has quit [Read error: Connection reset by peer]
navneet has joined #ruby
pawnbox has quit [Remote host closed the connection]
PedramT has joined #ruby
platzhirsch has quit [Quit: Leaving.]
pawnbox has joined #ruby
bkxd has joined #ruby
webus has joined #ruby
minimalism has quit [Quit: minimalism]
krzkrz has joined #ruby
navneet_ has joined #ruby
arlek_ has joined #ruby
Chagel_ has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
navneet_ has quit [Read error: Connection reset by peer]
Keltia_ has joined #ruby
navneet_ has joined #ruby
mozzarel1 has joined #ruby
diprotic has joined #ruby
diprotic has joined #ruby
rik has joined #ruby
paulgrmn1 has joined #ruby
rik is now known as Guest70979
acerna_ has joined #ruby
brunto has quit [Ping timeout: 260 seconds]
kapowaz_ has joined #ruby
deeprave_ has joined #ruby
navneet__ has joined #ruby
jpinnix________ has joined #ruby
deepak_ has joined #ruby
jmcc__________ has joined #ruby
navneet has quit [Ping timeout: 244 seconds]
utkarsh has joined #ruby
manveru_ has joined #ruby
Arcaire_ has joined #ruby
fn2187_ has joined #ruby
pelegreno_ has joined #ruby
madgen has quit [Ping timeout: 250 seconds]
audiodude_ has joined #ruby
nwhirschfeld_ has joined #ruby
jtd_ has joined #ruby
tonini_ has joined #ruby
deavidsedice has joined #ruby
stryek has joined #ruby
ltd has joined #ruby
bitemyap1 has joined #ruby
Karunamon|2 has joined #ruby
Sigma01 has joined #ruby
tvsutton_ has joined #ruby
tommylommykins has joined #ruby
valeri_uF0 has joined #ruby
perryh has joined #ruby
perryh has quit [Changing host]
perryh has joined #ruby
drbrain_ has joined #ruby
ec\_ has joined #ruby
code_[BNC] has joined #ruby
janelleb_ has joined #ruby
bakingbread has joined #ruby
brunto has joined #ruby
Rickmast_ has joined #ruby
irick has joined #ruby
hinbody_ has joined #ruby
thomasfedb_ has joined #ruby
xsdg_ has joined #ruby
jterra_ has joined #ruby
bnagy has joined #ruby
dostoyev1ky has joined #ruby
slash_ni1k has joined #ruby
trollface has joined #ruby
swistak35_ has joined #ruby
peterhu_ has joined #ruby
cfloare_ has joined #ruby
droptone_ has joined #ruby
nlsun_ has joined #ruby
_ht_ has joined #ruby
tabakhase__ has joined #ruby
pocketprotector- has joined #ruby
mg^^ has joined #ruby
kloeri__ has joined #ruby
navneet__ has quit [Read error: No route to host]
Edward123 has joined #ruby
lyro` has joined #ruby
atmosx_alt has joined #ruby
arthurnn_ has joined #ruby
navneet has joined #ruby
v1n has joined #ruby
navneet_ has quit [Ping timeout: 268 seconds]
OTORelic2 has joined #ruby
unsymbol_ has joined #ruby
scottschecter_ has joined #ruby
mozzarella has quit [Remote host closed the connection]
ljames has quit [Ping timeout: 260 seconds]
thermistor has quit [Ping timeout: 260 seconds]
code_ has quit [Ping timeout: 260 seconds]
jpinnix_______ has quit [Ping timeout: 260 seconds]
deeprave has quit [Ping timeout: 260 seconds]
tonini has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Ping timeout: 260 seconds]
deepak has quit [Ping timeout: 260 seconds]
mmasaki has quit [Ping timeout: 260 seconds]
audiodude has quit [Ping timeout: 260 seconds]
icedp has quit [Ping timeout: 260 seconds]
yonatankoren has quit [Ping timeout: 260 seconds]
shortdudey123 has quit [Ping timeout: 260 seconds]
M-mistake has quit [Ping timeout: 260 seconds]
braidn has quit [Ping timeout: 260 seconds]
valeri_ufo has quit [Ping timeout: 260 seconds]
irick_ has quit [Ping timeout: 260 seconds]
arthurnn has quit [Ping timeout: 260 seconds]
nlsun has quit [Ping timeout: 260 seconds]
paulgrmn has quit [Read error: Connection reset by peer]
Paradox has quit [Ping timeout: 260 seconds]
jmcc_________ has quit [Ping timeout: 260 seconds]
levifig has quit [Ping timeout: 260 seconds]
yo61 has quit [Ping timeout: 260 seconds]
err_ok has quit [Ping timeout: 260 seconds]
optimaleatscout_ has quit [Ping timeout: 260 seconds]
atmosx has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 260 seconds]
heyimwill has quit [Ping timeout: 260 seconds]
Arcaire has quit [Ping timeout: 260 seconds]
imajes has quit [Ping timeout: 260 seconds]
spectra has quit [Ping timeout: 260 seconds]
callumacrae has quit [Ping timeout: 260 seconds]
tabakhase has quit [Ping timeout: 260 seconds]
DenSchub has quit [Ping timeout: 260 seconds]
Hobbyboy has quit [Ping timeout: 260 seconds]
eggoez has quit [Ping timeout: 260 seconds]
mroth has quit [Ping timeout: 260 seconds]
gf3 has quit [Ping timeout: 260 seconds]
kapowaz has quit [Ping timeout: 260 seconds]
tvsutton has quit [Ping timeout: 260 seconds]
pipework has quit [Ping timeout: 260 seconds]
tommylom1ykins has quit [Ping timeout: 260 seconds]
drbrain has quit [Ping timeout: 260 seconds]
ltd_ has quit [Ping timeout: 260 seconds]
Karunamon has quit [Ping timeout: 260 seconds]
bitemyapp has quit [Ping timeout: 260 seconds]
perry has quit [Ping timeout: 260 seconds]
Cyrus has quit [Ping timeout: 260 seconds]
fn2187 has quit [Ping timeout: 260 seconds]
thomasfedb has quit [Ping timeout: 260 seconds]
Sammichmaker has quit [Ping timeout: 260 seconds]
Morrolan has quit [Ping timeout: 260 seconds]
jabreity_ has quit [Ping timeout: 260 seconds]
acerna has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
krasnus has quit [Ping timeout: 260 seconds]
Bilge has quit [Ping timeout: 260 seconds]
pocketprotector has quit [Ping timeout: 260 seconds]
monoprotic has quit [Ping timeout: 260 seconds]
zlude has quit [Ping timeout: 260 seconds]
swistak35 has quit [Ping timeout: 260 seconds]
EdwardIII has quit [Ping timeout: 260 seconds]
brixen_ has quit [Ping timeout: 260 seconds]
segy has quit [Ping timeout: 260 seconds]
Keltia has quit [Ping timeout: 260 seconds]
riceandbeans has quit [Ping timeout: 260 seconds]
Sigma00 has quit [Ping timeout: 260 seconds]
zenguy_pc has quit [Ping timeout: 260 seconds]
deavid has quit [Ping timeout: 260 seconds]
Caelum has quit [Ping timeout: 260 seconds]
arlek__ has quit [Ping timeout: 260 seconds]
utkarsh_ has quit [Ping timeout: 260 seconds]
_ht has quit [Ping timeout: 260 seconds]
lyro has quit [Ping timeout: 260 seconds]
ec\ has quit [Remote host closed the connection]
janelleb has quit [Remote host closed the connection]
saltsa has quit [Remote host closed the connection]
zapata has quit [Ping timeout: 260 seconds]
unsymbol has quit [Ping timeout: 260 seconds]
speakingcode has quit [Ping timeout: 260 seconds]
bnagy_ has quit [Ping timeout: 260 seconds]
MaienM_ has quit [Ping timeout: 260 seconds]
Guest62432 has quit [Ping timeout: 260 seconds]
v0n has quit [Ping timeout: 260 seconds]
droptone has quit [Ping timeout: 260 seconds]
hinbody has quit [Ping timeout: 260 seconds]
rapha_ has quit [Ping timeout: 260 seconds]
cfloare has quit [Ping timeout: 260 seconds]
nwhirschfeld has quit [Ping timeout: 260 seconds]
scottschecter has quit [Ping timeout: 260 seconds]
stryek_ has quit [Ping timeout: 260 seconds]
xsdg has quit [Ping timeout: 260 seconds]
skakri has quit [Ping timeout: 260 seconds]
dostoyevsky has quit [Ping timeout: 260 seconds]
jterra has quit [Ping timeout: 260 seconds]
kriskropd has quit [Ping timeout: 260 seconds]
mg^ has quit [Ping timeout: 260 seconds]
epitron has joined #ruby
epitron has joined #ruby
j416 has quit [Ping timeout: 260 seconds]
epitron has quit [Ping timeout: 260 seconds]
peterhu has quit [Ping timeout: 260 seconds]
jtd has quit [Ping timeout: 260 seconds]
slash_nick has quit [Ping timeout: 260 seconds]
pelegreno has quit [Read error: Connection reset by peer]
kloeri has quit [Remote host closed the connection]
G has quit [Ping timeout: 260 seconds]
arthurnn_ is now known as arthurnn
drbrain_ is now known as drbrain
valeri_uF0 is now known as valeri_ufo
epitron has quit [Changing host]
jpinnix________ is now known as jpinnix_______
Sigma01 is now known as Sigma00
perryh is now known as perry
eggoez has joined #ruby
imajes has joined #ruby
MaienM_ has joined #ruby
deeprave_ is now known as deeprave
zlude has joined #ruby
j416_ has joined #ruby
Cyrus has joined #ruby
yonatankoren has joined #ruby
brixen has joined #ruby
segy has joined #ruby
tonini_ is now known as tonini
Cyrus is now known as Guest82863
cgfbee has quit [Excess Flood]
helpa-bot has joined #ruby
Edward123 is now known as EdwardIII
helpa has quit [Write error: Broken pipe]
mmasaki has joined #ruby
pocketprotector- has quit [Excess Flood]
rheddry has joined #ruby
j416_ is now known as j416
deepak_ is now known as deepak
pocketprotector has joined #ruby
Arcaire_ is now known as Arcaire
g3funk has joined #ruby
skakri has joined #ruby
pipework has joined #ruby
jabreity_ has joined #ruby
M-mistake has joined #ruby
moss has quit [Quit: QUITTING]
acerna_ is now known as acerna
gf3 has joined #ruby
Bilge has joined #ruby
<Elysia> shevy: yeah, it's got a terminal. But if you're editing on windows, you might as well stab yourself in the knee
cgfbee has joined #ruby
kapowaz_ is now known as kapowaz
<Elysia> so I often just use the git bash
helpa-bot has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
helpa has joined #ruby
unshadow has quit [Quit: leaving]
navneet has quit [Read error: No route to host]
william3 has quit [Remote host closed the connection]
navneet_ has joined #ruby
zenguy_pc has joined #ruby
Fire-Dragon-DoL has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
callumacrae has joined #ruby
riceandbeans has joined #ruby
<Elysia> I am hopeless without `ls' :<
kent\n has quit [Quit: No Ping reply in 180 seconds.]
n008f4g_ has joined #ruby
manveru_ is now known as manveru
<Elysia> it's the first command I use when I boot up my terminal (well, aside from cd), and the last command I use before shutting down!
jzigmund_ has joined #ruby
lsmola has quit [Ping timeout: 260 seconds]
saltsa has joined #ruby
william3 has joined #ruby
Morrolan has joined #ruby
kent\n has joined #ruby
DenSchub has joined #ruby
jzigmund has quit [Ping timeout: 276 seconds]
speakingcode has joined #ruby
G has joined #ruby
dn` has quit [Read error: Connection reset by peer]
optimaleatscout_ has joined #ruby
mroth has joined #ruby
<adaedra> Powershell provides it
GodFather has joined #ruby
shortdudey123 has joined #ruby
err_ok has joined #ruby
william3 has quit [Remote host closed the connection]
Caelum has joined #ruby
vondruch has quit [Quit: Ex-Chat]
karapetyan has joined #ruby
freerobby has joined #ruby
william3 has joined #ruby
spectra has joined #ruby
terlar has joined #ruby
thermistor has joined #ruby
<Elysia> I think it doesn't work on powershell terminals, i've not tried personally
gnufied has joined #ruby
<Elysia> so long as I can use git commands i'll be satisfies
joonty has quit [Ping timeout: 276 seconds]
Weavel has joined #ruby
ljames has joined #ruby
johnmilton has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
waxxy has joined #ruby
william3 has quit [Ping timeout: 268 seconds]
Shidash has quit [Ping timeout: 276 seconds]
Papierkorb has quit [Ping timeout: 276 seconds]
iamvery_ has quit [Ping timeout: 276 seconds]
okdas has quit [Ping timeout: 276 seconds]
Spondyl is now known as Guest28437
Papierkorb has joined #ruby
lsmola has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
Hobbyboy has joined #ruby
gregf has joined #ruby
krasnus has joined #ruby
iamvery has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
yo61_ has joined #ruby
thai_ has quit [Ping timeout: 276 seconds]
ryotarai has quit [Ping timeout: 276 seconds]
norc has joined #ruby
<norc> Hi. I need some ideas.
vondruch has joined #ruby
Shidash has joined #ruby
<norc> One of my projects has both mechanize and savon as a dependency because it pulls in both ntlm-http and rubyntlm, creating bad blood when it comes to version checks.
ryotarai has joined #ruby
<norc> Err. Well *because* of that dependency it requires the latter 2 packages.
thai_ has joined #ruby
<norc> Should I go about and shoot someone to relieve my stress?
pawnbox has quit [Remote host closed the connection]
zapata has joined #ruby
kloeri__ is now known as kloeri
waxxy has quit [Read error: Connection reset by peer]
cj_ is now known as Guest31968
ldnunes has joined #ruby
nettoweb has joined #ruby
rapha_ has joined #ruby
joneshf-laptop has joined #ruby
karapetyan has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
heyimwill has joined #ruby
n008f4g_ has joined #ruby
waxxy has joined #ruby
pawnbox has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
lightheaded has quit []
sdothum has joined #ruby
<shevy> fork!
<shevy> call it mechon
jaruga___ has joined #ruby
jaruga___ has quit [Remote host closed the connection]
karapetyan has joined #ruby
pawnbox has quit [Remote host closed the connection]
jaruga__ has quit [Ping timeout: 244 seconds]
aurum_infide has quit [Ping timeout: 244 seconds]
poerror has joined #ruby
jaruga___ has joined #ruby
rbr has quit [Ping timeout: 264 seconds]
blaxter has joined #ruby
rbr has joined #ruby
dionysus69 has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
vondruch has quit [Quit: Ex-Chat]
Ebok has joined #ruby
NovapaX has joined #ruby
krzkrz has quit [Ping timeout: 276 seconds]
vondruch has joined #ruby
aep_ has quit [Changing host]
aep_ has joined #ruby
aep_ is now known as aep
senayar has quit [Remote host closed the connection]
JakFrist has joined #ruby
senayar has joined #ruby
GinoMan2440_ has joined #ruby
<norc> On a serious note: https://gist.github.com/norc/c01e481ca375782ec6df09a81c39fad8 Requiring gems like this, why does my application A not require C?
poerror has left #ruby ["Textual IRC Client: www.textualapp.com"]
<jhass> because C is probably not not specified in C's gemspec
<jhass> Gemfile's of dependencies are irrelevant
<jhass> in B's gemspec I mean
teoric has joined #ruby
<jhass> mmh and I think A's Bundler.require will only require the direct dependencies of A anyway
<workmad3> ^ was about to add that
GinoMan2440 has quit [Ping timeout: 250 seconds]
<norc> jhass: So the dependency chains only work within gemspec?
<workmad3> `Bundler.require` only automatically pulls in direct dependencies, not transitive dependencies
<jhass> yes
baweaver has joined #ruby
navneet_ has quit [Remote host closed the connection]
<gregf_> telnet localhost 3007
<jhass> and since gemspec's don't support git sources, you'll have to redeclare it in A anyway
<gregf_> oops :/ wrong chat
Mon_Ouie has quit [Ping timeout: 244 seconds]
GinoMan2440_ has quit [Ping timeout: 268 seconds]
<norc> jhass: Okay great, while that is far from being pretty that works for me.
<workmad3> norc: within a gem, a Gemfile is generally only useful for things like setting a git source for a dependency listed in the gemspec so you can do things like prepare support for unreleased gems prior to a full rubygems release
<norc> workmad3: Ah that makes sense.
william3 has joined #ruby
<workmad3> norc: basically, if you have a dependency, list it in the gemspec... if you have a place to get the dependency from, also list it in the Gemfile
navneet has joined #ruby
<jhass> I also see benefit in having reproducable (CI) builds, hence I favor checking in the .lock for my gems too
<norc> workmad3: Or I guess it could be sensible for an application like a rails app when you want to lock specific gems.
<workmad3> jhass: I flip-flop on that front... on the one hand, good for reproducible, on the other hand, it could lead to not noticing breaks in newly installed versions
<norc> In the end the real solution is to fix this obsolete mechanize gem to no longer use a badly outdated gem.
nobitanobi has quit [Remote host closed the connection]
<workmad3> norc: Gemfile in a gem and Gemfile in an app fill different purposes :)
vondruch has quit [Quit: Ex-Chat]
<norc> workmad3: Right.
<norc> But here we go, suddenly mechanize plays nicely again. :)
<jhass> workmad3: yes I reckon that, but then you can cache and use --deployment, so it also gives faster builds
stannard has joined #ruby
<jhass> and since breaking deps wasn't a pain point for me (i also use gemnasium to notify me of updates) I take those advantages
gagrio has quit [Ping timeout: 244 seconds]
baweaver has quit [Ping timeout: 268 seconds]
<workmad3> jhass: yeah, at the moment I'm on a check-in Gemfile.lock at least for internal gems
<workmad3> jhass: I'd probably re-evaluate that if I ever had any public gems :)
<jhass> I only have public ones for now :P
nobitanobi has joined #ruby
<norc> jhass: Though I would really like a way for gemspec being able to use git for gems.
<workmad3> norc: not a responsibility for gemspecs...
navneet has quit [Read error: No route to host]
vondruch has joined #ruby
<jhass> well the core of the issue is that Gemfile and gemspec are still two separate things...
navneet has joined #ruby
gagrio has joined #ruby
<norc> Because one is for bundler, and the other is for building a gem, eh?
<jhass> yes, but the core functionality of bundler is already moving into rubygems
<workmad3> norc: a gemspec simply lists dependencies and versions, it makes no stance on to where a gem should be found
tjvc has quit [Max SendQ exceeded]
tjvc has joined #ruby
tjvc has quit [Changing host]
tjvc has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
tjvc has quit [Max SendQ exceeded]
BrunoSaboia has joined #ruby
szulak_ has joined #ruby
<manveru> in the end, Gemfiles still depend on gemspecs, so you can't really get rid of either :(
tjvc has joined #ruby
tjvc has joined #ruby
tjvc has quit [Changing host]
BSab has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
navneet has quit [Remote host closed the connection]
crameth has joined #ruby
kobain has joined #ruby
teoric has quit [Quit: WeeChat 1.3]
n008f4g_ has joined #ruby
codecop_ has quit [Remote host closed the connection]
OTORelic2 has joined #ruby
IrishGringo has joined #ruby
<jhass> it's rather a question of what you consider the scope of rubygems to be
<shevy> we can merge bundler and gem into ...
<shevy> gundler!
bosnianboy has joined #ruby
joonty has joined #ruby
william3 has quit [Read error: Connection reset by peer]
<jhass> for example supporting building a gem from git (and then git dependencies in turn would be easy)
william3 has joined #ruby
Shashikant86 has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 250 seconds]
shredding has joined #ruby
pawnbox has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
sgambino has joined #ruby
madgen has joined #ruby
siaw has quit [Quit: siaw]
yeticry has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
Xeago has quit [Remote host closed the connection]
Evan_ has quit [Ping timeout: 260 seconds]
saneax is now known as saneax_AFK
aufi has quit [Read error: Connection reset by peer]
Evan_ has joined #ruby
last_staff has quit [Quit: last_staff]
aufi has joined #ruby
Chagel has joined #ruby
eljimmy has joined #ruby
patrick_star has joined #ruby
swills has quit [Ping timeout: 244 seconds]
tuelz3 has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
crameth has quit [Quit: crameth]
myntcake has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gasher has joined #ruby
madgen has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hinbody_ is now known as hinbody
jaguarmagenta has joined #ruby
<bosnianboy> thanks nickjj (with a slight delay) that article helped me a lot :)
bruno- has joined #ruby
<nickjj> bosnianboy, "slight"
<bosnianboy> TTL didn't exceed :D
dick_ has joined #ruby
LadyElusive has quit [Quit: ZNC 1.6.2 - http://znc.in]
jaguarmagenta has quit [Ping timeout: 244 seconds]
elusiveother has joined #ruby
elusiveother has joined #ruby
Xeago has joined #ruby
constantinexvi_ has quit [Ping timeout: 276 seconds]
william3 has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 244 seconds]
dick_ has left #ruby [#ruby]
constantinexvi has joined #ruby
Shashikant86 has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
mikeiniowa has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 244 seconds]
bmn has quit [Ping timeout: 276 seconds]
Rasi has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
yeticry has joined #ruby
bmn has joined #ruby
william3 has joined #ruby
Xeago has joined #ruby
ramortegui has joined #ruby
diegoaguilar has joined #ruby
djbkd_ has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: WeeChat 1.4]
aegis3121 has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
sid_fules has joined #ruby
navneet has joined #ruby
gagrio has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 268 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
stannard has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 244 seconds]
kriskropd has joined #ruby
xue has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
newdan has left #ruby [#ruby]
ChiefAlexander has joined #ruby
Xeago has quit [Remote host closed the connection]
araujo has joined #ruby
Xeago has joined #ruby
ekinmur has joined #ruby
* manveru just wished bundler would go die in a hurry :P
Alina-malina has joined #ruby
Amnez777 has joined #ruby
<norc> manveru: Why the hate for bundler?
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
araujo has quit [Max SendQ exceeded]
<manveru> because trying to get a correct dependency tree with all the groups is a major PITA
araujo has joined #ruby
stannard has joined #ruby
malconis has joined #ruby
<jhass> is that bundler's fault though? What could it do better?
Rasi has joined #ruby
<manveru> why on earth does `Bundler.setup('default', 'production')` try to find a gemspec for a gem in the test group
drptbl_ has quit [Ping timeout: 250 seconds]
<jhass> because you didn't install --without test ?
mustmodify___ has left #ruby [#ruby]
flashpoint9 has joined #ruby
sid_fules has quit [Remote host closed the connection]
<manveru> i never installed the test gems in the first place, and i don't run install on the production machine
<jhass> huh, you don't?
navneet has quit [Remote host closed the connection]
<jhass> you should
sid_fules has joined #ruby
rbennacer has joined #ruby
<manveru> no, i can't
<jhass> don't check in vendor/bundle from a --path run
<manveru> i don't
Snowy has joined #ruby
ludo_ has joined #ruby
djbkd_ has quit [Remote host closed the connection]
<jhass> (nor a --deployment run)
<jhass> if you have no network, that's what bundle package is for
william3 has quit [Remote host closed the connection]
AlexJakeGreen has joined #ruby
drptbl has joined #ruby
<manveru> well, thanks
northrup has joined #ruby
krzkrz has joined #ruby
<manveru> i spent the last week digging around bundler internals to figure out a good way to get the correct url for each source and the group of each non-development dependency
gagrio has joined #ruby
<jhass> I don't want to miss bundlers feature set but I wouldn't miss its codebase, yeah
<jhass> that's why I wish for rubygems to take over its feature set
<manveru> bundler features are fine, but i'm doing immutabel deployments
<manveru> *immutable
<manveru> and it's really not happy in that environment :P
nobitanobi has quit [Remote host closed the connection]
atmosx_alt is now known as atmosx
<manveru> i'm adding gemfile group support to the nix bundlerEnv
nobitanobi has joined #ruby
ludo_ has quit [Quit: Lost terminal]
tax has joined #ruby
<manveru> but apparently the only thing group are good for is reducing startup times a bit
<manveru> you still need those gemspecs around for some reason
PedramT has quit [Remote host closed the connection]
hxegon has joined #ruby
PedramT has joined #ruby
someish has joined #ruby
<manveru> for example we have `metric_fu` as a development dependency, that in turn needs reek -> unparser -> abstract_type
<jhass> mmh, not IME (and I kinda contributed by default optional groups, so I played around a fair bit there)
aegis3121 has joined #ruby
<manveru> and if i try to `ruby -rbundler -e 'Bundler.setup("default")'` it complains about not finding abstract_type in any sources
<jhass> well you do need them for resolving the lock
<manveru> yeah
<jhass> which will always happen unless you --deployment
<jhass> not sure about bundle package there
<manveru> so i tried writing a smaller Gemfile.lock without the dependencies that are in groups i don't need
<manveru> but then bundler starts bitching about having the lock out of sync
<manveru> even with BUNDLER_FROZEN set
<jhass> really? sounds like some bug potential there
<jhass> mh otoh it wouldn't be too unreasonable to do an offline check between the Gemfile and Gemfile.lock
<jhass> so if you patch the .lock by hand you should keep the Gemfile in sync by hand too
<manveru> not by hand
<manveru> i wrote a subclass of Bundler::Dsl for that
<jhass> basically the resolver ignores groups because --with / --without shall not affect the resolution
nando293921 has quit [Ping timeout: 244 seconds]
<jhass> but I can't imagine why you'd need the spec's other than computing a new resolution or installing
<jhass> and if frozen is set computing a new resolution should abort
<jhass> but then it's been some time (a year or so) since I was that deep in the internals
<manveru> heh
<manveru> i guess i'd be happy if people didn't use the Bundler API directly and relied on RUBYLIB instead :P
<manveru> but well, not much i can change ther
<manveru> +e
Xeago_ has joined #ruby
siaw has joined #ruby
Nilium has quit [Ping timeout: 276 seconds]
xMopxShell has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
<jhass> peeking at the changelog, maybe relevant "add --frozen support to bundle package"
sid_fules has quit [Remote host closed the connection]
<jhass> (for 1.12.pre.2)
<manveru> yeah, that's what BUNDLER_FROZEN does
<manveru> or Bundler.settings[:frozen]
Nilium has joined #ruby
GodFather has joined #ruby
<manveru> it's nice so bundler doesn't try to write a new lockfile every time you call it :P
xMopxShell has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
<manveru> also for some reason it always tries to make .bundle/config if you just look at the general direction of bundler ;P
spider-mario has joined #ruby
crank1988 has quit [Ping timeout: 276 seconds]
sgambino has joined #ruby
Waqas has joined #ruby
Snowy has quit [Remote host closed the connection]
rbennacer has quit [Read error: Connection reset by peer]
crank1988 has joined #ruby
tuelz3 has quit [Ping timeout: 246 seconds]
shadeslayer has quit [Ping timeout: 244 seconds]
elusiveother is now known as LadyElusive
infra-re_ has quit [Remote host closed the connection]
Shashikant86 has quit [Ping timeout: 244 seconds]
`tim` has joined #ruby
Aviio has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
Yiota has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Remote host closed the connection]
Waqas has joined #ruby
jokester has quit [Quit: recharge]
shadeslayer has joined #ruby
bruno- has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
infra-red has joined #ruby
Gasher has quit [Quit: Leaving]
gregf has quit [Ping timeout: 244 seconds]
godzillaenlacasa has joined #ruby
ChiefAlexander has joined #ruby
<shevy> bundler loves you!
valeri_ufo has quit [Ping timeout: 268 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saneax_AFK is now known as saneax
gregf has joined #ruby
Chagel has quit [Ping timeout: 250 seconds]
Chagel has joined #ruby
Macaveli has joined #ruby
nitrix has quit [Quit: EOF]
Snowy has joined #ruby
AlexJakeGreen has quit [Quit: Leaving]
Yiota has joined #ruby
wlanboy has quit [Ping timeout: 276 seconds]
SirFunk has quit [Ping timeout: 276 seconds]
kkh is now known as duracrisis
duracrisis is now known as Guest96311
SirFunk has joined #ruby
Gasher has joined #ruby
Kallis has joined #ruby
LoneHerm_ has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
wlanboy has joined #ruby
Mon_Ouie has joined #ruby
aganov has quit [Remote host closed the connection]
karmatr0n has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
\13k has quit [Ping timeout: 276 seconds]
Guest15657 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
centrx has joined #ruby
madgen has quit [Ping timeout: 268 seconds]
nuck has joined #ruby
\13k has joined #ruby
nuck is now known as Guest59517
william3 has quit [Remote host closed the connection]
CloCkWeRX has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 244 seconds]
tuelz3 has joined #ruby
infra-red has quit [Remote host closed the connection]
idletask has quit [Ping timeout: 260 seconds]
idletask has joined #ruby
SilverKey has joined #ruby
infra-red has joined #ruby
valeri_ufo has joined #ruby
tvon has quit [Quit: System is sleeping...]
n008f4g_ has quit [Ping timeout: 268 seconds]
jokester has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
OTORelic2 has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
banister has joined #ruby
djbkd_ has joined #ruby
Xeago has quit [Remote host closed the connection]
joonty has joined #ruby
hxegon has quit [Quit: BRB]
marr has joined #ruby
Regulati_ has quit [Read error: Connection reset by peer]
OTORelic2 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
RegulationD has joined #ruby
djbkd_ has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 260 seconds]
zast has joined #ruby
joonty has quit [Ping timeout: 268 seconds]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
scottschecter_ is now known as scottschecter
rbennacer has joined #ruby
drptbl has joined #ruby
SilverKey has quit [Quit: Halted.]
<dionysus69> help with git please, is this a correct way to pull specific commit from remote >? git fetch someRemoteOrigin master:32e23e5682323d143895e4db98a51ef887de7bd9
tvon has joined #ruby
<norc> dionysus69: Aside from the fact that you hit the wrong channel, yes.
<norc> dionysus69: git fetch origin acbd:refs/remotes/origin/your-commit
Xeago has quit [Remote host closed the connection]
<dionysus69> what is acbd:refs/remote/origin/your-commit?
kareeole_ has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
<dionysus69> I know wrong channel, sorry :) :D
<norc> dionysus69: It fetches the commit acbd and necessary ancestors and storing it as origin/your-commit (as a remote)
SilverKey has joined #ruby
<norc> Although I think there is a newer way/
xaxisx has joined #ruby
kappy has quit [Remote host closed the connection]
kareeoleez has quit [Ping timeout: 260 seconds]
<dionysus69> ugh
rbennacer has quit [Ping timeout: 276 seconds]
<dionysus69> ok I ll go to git channel :D
<norc> dionysus69: There is also git fetch --depth=1 which does something along the way.
rbennacer has joined #ruby
<norc> Yeah better idea. ;)
rbennacer has quit [Remote host closed the connection]
norc has quit [Quit: Page closed]
LiquidInsect has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
darkxploit has joined #ruby
colegatron has joined #ruby
Xeago has joined #ruby
Coldblackice_ has joined #ruby
OTORelic2 has joined #ruby
pawnbox has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
dhollinger has joined #ruby
ahammond has quit [Ping timeout: 260 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
xaxisx has quit [Quit: xaxisx]
saneax is now known as saneax_AFK
Keltia_ is now known as Keltia
rubyaw has quit [Quit: Leaving...]
saneax_AFK is now known as saneax
PedramT has quit [Remote host closed the connection]
guardian has quit [Ping timeout: 276 seconds]
xaxisx has joined #ruby
kareeole_ has quit [Remote host closed the connection]
callen92 has joined #ruby
lkba has joined #ruby
hxegon has joined #ruby
ahammond has joined #ruby
william3 has quit [Remote host closed the connection]
yardenbar has joined #ruby
pawnbox has joined #ruby
karapetyan has quit [Ping timeout: 252 seconds]
jaguarmagenta has joined #ruby
callen92 has quit [Read error: Connection reset by peer]
aupadhye has joined #ruby
CausaMortis has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
callen92 has joined #ruby
yardenbar has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 260 seconds]
heinrich5991 has quit [Ping timeout: 260 seconds]
Chagel has joined #ruby
ropeney has quit [Quit: Leaving]
william3 has joined #ruby
<Bish> does somebody know how to turn of the mail gems openssl certificate check?
shayan has joined #ruby
<Bish> i tried delivery_method nil,openssl_verify_mmode:'none'
pawnbox has quit [Remote host closed the connection]
<Bish> but didn't work :(
pandaant has quit [Remote host closed the connection]
polishdub has joined #ruby
Xeago has joined #ruby
<Bish> >> require 'mail'; Mail.new { to:"hi@ho.de",from:"peter@peter.de" }.deliver
<ruby[bot]> Bish: # => cannot load such file -- mail (LoadError) ...check link for more (https://eval.in/555452)
<Bish> :o
heinrich5991 has joined #ruby
<adaedra> that's a gem, no?
<Bish> yeah it is
pawnbox has joined #ruby
sepp2k has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
<Bish> weird, it worked when using Mail.defaults do ... end, but not doing it in the mail
<Bish> while im doing that all the time
<Bish> weird weird
<jhass> Bish: first of all, let's make sure you understand what you're trying to do, what's the underlying issue?
<ujjain> Can I have a custom error message instead of Execution expired of the ruby timeout gem?
<toretore> you can give it a custom exception (class?)
brent__ has joined #ruby
<Bish> jhass: i set up and self-signed ceritficate for my mail server
Xeago has quit [Remote host closed the connection]
<Bish> which resulted in the mail gem not being able to send, because it doesn't accept the certificate
BrunoSaboia has quit [Quit: Leaving]
<jhass> Bish: why?
<Bish> Mail.defaults do delivery_method nil,openssl_verify_mode:'none' end <= solves the problem
<Bish> Mail.new do ... delivery_method nil,openssl_verify_mode:'none' ... end.deliver <= doesn't
<Bish> jhass: probably because the hostname doesn't fit, but i actually don't care about ssl, because thats local email transmission
Xeago has joined #ruby
<jhass> if you don't care about encryption, just skip it
<Bish> well, people are using the mail server
<Bish> but the ruby code, connects to localhost, so THERE i don't care
<jhass> one more reason to actually care about it
<workmad3> Bish: if you're doing local delivery, you typically have a non-smtp method available
<Bish> well, i certainly have, but the mail gem does want to use ssl
<workmad3> Bish: the mail gem can use a system `sendmail` binary instead of smtp
<jhass> yeah I wouldn't do TLS on localhost anyway, misconfigured mailserver IMO
<Bish> the mailserver is fine with plain connections, the ruby gem wants ssl
jhack has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
<jhass> TLS
chrisarc1nd is now known as chrisarcand
Aviio has quit [Remote host closed the connection]
<Bish> doesn't matter much, does it?
<Bish> i mean, for the matter
<toretore> Mail.new{ delivery_method nil } won't set anything
<Bish> toretore: well, it does
Devalo has joined #ruby
<Bish> well, atleast if nil is "smtp"
<workmad3> toretore: it's `delivery_method nil, openssl_verify_mode: 'none`
<workmad3> (just badly formatted in Bish's example)
<Bish> workmad3: guess he is still right, because Mail.new does create a mail with a certain delivery_method
Xeago has quit [Remote host closed the connection]
<Bish> and Mail.defaults do { ... } does set the defaults for a certain delivery method
<toretore> it's one of those "i want to be both a getter and a setter" methods
<Bish> confusimg imho
treehug88 has joined #ruby
n008f4g_ has joined #ruby
SilverKey has quit [Quit: Cheerio!]
<workmad3> Bish: `delivery_method :sendmail` could work, or `delivery_method :smtp, enable_starttls_auto: false` (and make sure you're connecting to port 25, assuming your SMTP server allows unencrypted connections on 25 but not on 587)
<workmad3> Bish: tbh, almost everything about email gets confusing at some point :)
madgen has joined #ruby
rkazak has joined #ruby
<Bish> yeah smtp is a huge load of .
smathy has joined #ruby
joseph has joined #ruby
lxsameer has joined #ruby
tuelz3 has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
heinrich5991 has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
ssiris has joined #ruby
tuelz3 has joined #ruby
hobodave has joined #ruby
Balzrael has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
karmatr0n has joined #ruby
ljames has quit []
the_drow has joined #ruby
k13nox has joined #ruby
poguez_ has joined #ruby
t-richards has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
<adaedra> HELO
synthroid has quit [Remote host closed the connection]
kareeoleez has joined #ruby
heinrich5991 has joined #ruby
<Bish> EHLO
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<smathy> Pfft... 501 HELO/EHLO argument invalid.
the_drow has quit [Quit: This computer has gone to sleep]
eatsfoobars has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aviio has joined #ruby
* adaedra puts smathy into a postfix queue
elifoster has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NovapaX has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 1.4]
charliesome has joined #ruby
* smathy retries for the next 4 days
lxsameer has quit [Ping timeout: 260 seconds]
Chagel has quit [Ping timeout: 260 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
tabakhase__ is now known as tabakhase
tabakhase has joined #ruby
tabakhase has quit [Changing host]
madgen has quit [Ping timeout: 268 seconds]
rbennace_ has joined #ruby
<adaedra> You need 4 days to readjust a mental map?
bruce_lee has quit [Read error: Connection reset by peer]
charliesome has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
rbennacer has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
charliesome has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.4]
ixti has joined #ruby
Snowy has quit [Remote host closed the connection]
ta_ has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 268 seconds]
<smathy> adaedra, no, just a joke referring to the default delivery failure retry period.
<smathy> ...sheesh, here I was thinking I was talking to an SMTP endpoint.
infra-red has quit [Remote host closed the connection]
<adaedra> Of course, but I found it funny to cross-discuss with #RoR
dionysus69 has joined #ruby
aufi has joined #ruby
ta_ has joined #ruby
symm- has joined #ruby
tuelz3 has quit [Quit: WeeChat 1.3]
madgen has joined #ruby
<smathy> Oh, damnit, I lost track.
* smathy has very tightly defined channel silos
<brent__> inject vs reduce, which si preferred? and why would there be 2 seemingly identical methods
bokayio has quit [Ping timeout: 276 seconds]
csaunders has quit [Ping timeout: 276 seconds]
Guest10044 has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
lxsameer has joined #ruby
bokayio has joined #ruby
<aegis3121> brent__ so people from different backgrounds can more quickly get started, I believe, is at least part of the philosophy behind that
<adaedra> They're the same, brent__, they're aliases
<aegis3121> same reason for #collect/#map, #find/#select.
<aegis3121> select...? that doesn't soudn right
<aegis3121> ya no. #collect and #map are the same, though...
paultreny has joined #ruby
paultreny is now known as Guest10378
hxegon has quit [Quit: BRB]
csaunders has joined #ruby
<brent__> i see
ramfjord has joined #ruby
<brent__> is one preferred?
solocshaw has joined #ruby
elaptics is now known as elaptics`away
<smathy> brent__, no.
greenhat has quit [Ping timeout: 260 seconds]
<aegis3121> " Prefer map over collect, find over detect, select over find_all, reduce over inject and size over length. "
<aegis3121> If you're following Rubocop and its style guide
<shevy> long live the style guide!
greenhat has joined #ruby
<brent__> okay
<brent__> thanks
solocshaw has quit [Remote host closed the connection]
<smathy> brent__, and aliases are usually there to conform to developer expectations - like how `map` is there for the devs coming from Perl and FPs whereas `collect` is from Smalltalk and was also in Prototype.js
kits has quit [Quit: Leaving]
eljimador has quit [Ping timeout: 260 seconds]
eljimador has joined #ruby
<smathy> brent__, I'm sure there is an analogous reason behind inject/reduce I'm just not aware of that one.
solocshaw has joined #ruby
[Butch] has joined #ruby
<chrisarcand> Same reasoning. reduce is the higher order function, inject is from smalltalk.
Yiota has joined #ruby
Shashikant86 has joined #ruby
synthroid has joined #ruby
swills has joined #ruby
<chrisarcand> Wherein Ruby tries to make everyone happy and welcomed from other languages and honestly just makes it more confusing for newcomers, IMO.
raeoks has joined #ruby
<brent__> i found all the aliases a confusing part of initially learnign ruby syntax
<chrisarcand> You and most people, I think ;)
<brent__> i was doing java before ruby and was like "why are they throwing multiple ways to do the same thing at me!"
IrishGringo has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
jackjackdripper has quit [Quit: Leaving.]
SilverKey has quit [Quit: Halted.]
<smathy> Heh :)
jackjackdripper has joined #ruby
Xeago has joined #ruby
<smathy> brent__, hence your "...but please for the love of God tell me which one is preferred?!?!?!" question ;)
william3 has quit [Remote host closed the connection]
<aegis3121> The Style guide usually tells you if one is preferred. If not, use whatever your heart desires.
charliesome has quit [Ping timeout: 268 seconds]
<smathy> I came from Perl, so I'm just happy to have aliases that aren't just punctuation.
<brent__> indeed, i think i found myself using both randomly w/ no rhyme or reason
<smathy> Heh, I came from Perl so, style guide, HA!
jobewan has joined #ruby
<smathy> brent__, oh yeah, *that's* definitely not preferred ;)
<brent__> i figured, just couldn't remember which was preferred
<brent__> i'll remember to look to the style guide
<smathy> :)
charliesome has joined #ruby
william3 has joined #ruby
jobewan has quit [Client Quit]
jobewan has joined #ruby
bradleyprice has joined #ruby
waxxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joseph has quit [Read error: Connection reset by peer]
william3 has quit [Ping timeout: 260 seconds]
charliesome has quit [Ping timeout: 260 seconds]
eatsfoobars has joined #ruby
brunto has quit [Ping timeout: 246 seconds]
tubuliferous has joined #ruby
Cohedrin has joined #ruby
matp has quit [Remote host closed the connection]
SilverKey has joined #ruby
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
rbennace_ has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkf has quit [Quit: Leaving]
freerobby has quit [Read error: Connection reset by peer]
dhollinger has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
freerobby has joined #ruby
szulak_ has quit [Quit: Textual IRC Client: www.textualapp.com]
bigkevmcd has joined #ruby
amclain has joined #ruby
flashpoint9 has joined #ruby
nfk|laptop has joined #ruby
hobodave_ has joined #ruby
bronson has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 244 seconds]
s00pcan has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
etehtsea has joined #ruby
matp has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cohedrin_ has joined #ruby
rubyaw has joined #ruby
hobodave has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
JoshL_ has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
bradleyprice has quit [Remote host closed the connection]
Yiota has joined #ruby
bradleyprice has joined #ruby
karapetyan has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 246 seconds]
pietr0 has joined #ruby
PedramT has joined #ruby
dhollinger has joined #ruby
acidrainfall has joined #ruby
<acidrainfall> Just a quick question. I'm creating an array in a method with Array.new - if I rerun the method, does Array.new also clear it out so it's an empty array again?
rkazak has quit [Ping timeout: 276 seconds]
<adaedra> no, it's a new array
northrup has quit [Ping timeout: 246 seconds]
JoshL has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
mlakewood has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
<adaedra> Also, if you want an empty array, just use `[]`
<acidrainfall> then... the answer is yes?
<acidrainfall> What's the difference between new and empty?
<adaedra> errr.
<adaedra> I misread.
<acidrainfall> oh
<adaedra> Array.new won't touch existing arrays, if it's your question.
<acidrainfall> Right, that's my question.
<acidrainfall> Okay.
<adaedra> But if you've a method with `@array = Array.new`, @array is rewritten at each call.
apeiros has joined #ruby
<acidrainfall> Good to know I'll go look that up
PedramT has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
hxegon is now known as hxegon_AFK
<acidrainfall> Stupid. Google won't search @.
saneax is now known as saneax_AFK
Renich has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigkevmcd has quit [Read error: Connection reset by peer]
<adaedra> @array is an instance variable.
karapetyan has quit [Ping timeout: 260 seconds]
`tim` has joined #ruby
<acidrainfall> yeah I knew that much
andikr has quit [Remote host closed the connection]
hxegon_AFK is now known as hxegon
<acidrainfall> it's aight I just pulled up a scope section this will help
jackjackdripper has quit [Ping timeout: 252 seconds]
IrishGringo has joined #ruby
mlakewood has left #ruby [#ruby]
Log1x has quit [Ping timeout: 260 seconds]
stunder001 has joined #ruby
shredding has quit [Ping timeout: 246 seconds]
dreinull has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
stunder001 has quit [Client Quit]
anisha has quit [Quit: Leaving]
stunder has joined #ruby
davedev24 has joined #ruby
jrafanie has joined #ruby
Log1x has joined #ruby
Log1x has quit [Changing host]
Log1x has joined #ruby
infra-red has joined #ruby
Guest82863 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
ocbtec has quit [Quit: leaving]
bb010g has quit [Quit: Connection closed for inactivity]
SCHAAP137 has joined #ruby
davedev2_ has joined #ruby
joonty has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has joined #ruby
bakingbread has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
solocshaw has quit [Ping timeout: 276 seconds]
saneax_AFK is now known as saneax
cschneid has joined #ruby
<jhass> acidrainfall: Array#clear will empty an existing array
<jhass> Array.new creates a new one
davedev24 has quit [Ping timeout: 250 seconds]
<cschneid> I have an array that I'd like to sort normally, except if it contains "X", I need "X" to bubble to front, and "Y" bubbles to just behind "X", or front if x isn't there. Is there a non-terrible way to write this kind of sort_by{} function? Or is there a smoother way?
karapetyan has joined #ruby
icedp has joined #ruby
<adaedra> It's rather by sort {} here
<adaedra> You can fake the comparaison to always put X as first inside the block, and normal comparaison if no X is in the comparaison
chosen1 has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
<acidrainfall> jhass: is that preferable to array = [] ?
mark_66 has quit [Remote host closed the connection]
<cschneid> thats what I was figuring, but I'd have to account for the priority things in both the first & second key, and it'd end up being a fair bit of if statements
<acidrainfall> I'm completely fine with that
<jhass> acidrainfall: I wouldn't say so, technically equivalent but stylewise [] is preferred to Array.new
<acidrainfall> Oh, I wasn't aware of that second bit
<acidrainfall> Why, out of curiosity?
<workmad3> adaedra: `sort_by { |item| item == "X" ? [2, item] : (item == "Y" ? [1, item] : [0, item]) }`
<jhass> shorter I guess?
<adaedra> Shorter, I'd say.
<workmad3> erro, cschneid even
<adaedra> workmad3: fix your damn tab key.
<jhass> workmad3: mmh, dunno creating a two element array for each item?
evidex has quit [Remote host closed the connection]
Yeomra_ has joined #ruby
<cschneid> oh, sort_by doesn't work like I thought. Man, I use too many languages on a regular basis
bigkevmcd has joined #ruby
<workmad3> jhass: kinda depends on the size of the way, but I'd class it as 'non-terrible' at least :)
<workmad3> *of the array
<workmad3> wtf is wrong with my typing this evening? :/
<cschneid> the list will be short, 10 items or so
IrishGringo has quit [Remote host closed the connection]
<adaedra> cschneid: not the best way, but you could also remove the X, sort the array, unshift the X.
karapetyan has quit [Ping timeout: 276 seconds]
<cschneid> hmm, not terrible. `.delete()` is plenty quick
<smathy> acidrainfall, same reason `foo = ""` is preferred to `foo = String.new` because we're not Java devs ;)
decoponio has joined #ruby
<jhass> dunno, I think I'd ["X", "Y", *arr.sort - ["X", "Y"]] if arr.include? "X"
<jhass> you'd need to branch for the "Y" bit anyway
<jhass> since "Y" shouldn't go to front if there's no "X" if I got it right
<adaedra> ah yes, there are two things to put on top
<workmad3> jhass: it should... 'front if x isn't there'
<cschneid> ideally I'd write this so there can be N things to put up front :)
<jhass> oh, misread that
<workmad3> basically it's X > Y > <normal ordering>
baweaver has quit [Remote host closed the connection]
<cschneid> workmad3: right, and skipping X or Y if they weren't present in the original
<cschneid> which is awkward. I'll go write the generic solution elsewhere, and then use it. Was hoping I could one-liner it, but talking it through, it's complex enough to go do right
<adaedra> cschneid: can there be multiple X or Y?
<cschneid> adaedra: no, the list is unique
<cschneid> items in the list rather
TomyLobo has joined #ruby
bigkevmcd has quit [Ping timeout: 250 seconds]
<adaedra> [X, Y].map { |e| array.delete e }.compact + array.sort
baweaver has joined #ruby
<adaedra> maybe better in two instructions tho, modifying and reading the array in the same instruction is not the best thing to do I think
<cschneid> then `if Y was deleted, unshift` `if X was deleted, unshift`
diegoaguilar has quit [Remote host closed the connection]
<adaedra> no, no need for that
stunder has quit [Ping timeout: 276 seconds]
Yiota has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
<cschneid> oh, I see
<adaedra> in the first part, it will collect X and Y IF it finds the elements, and then eleminate the nils if not found
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> cschneid: the other option would be something like this: https://gist.github.com/workmad3/03caeae0ecfc38adb2ddf66ee830271e
<cschneid> yep, misread :)
<acidrainfall> smathy: Haha that's fair
<acidrainfall> I just saw Array.new in the ruby documentation on the Array type
<acidrainfall> so I used it
mikecmpbll has quit [Ping timeout: 260 seconds]
<adaedra> Literals are often preferred
<acidrainfall> "" being a literal?
lxsameer has quit [Ping timeout: 268 seconds]
<adaedra> {} over Hash.new, [] over Array.new, "" over String.new
<adaedra> yep
<workmad3> (oops, -1 in the right case, updated gist)
colegatron has quit [Read error: Connection reset by peer]
<cschneid> workmad3: right, that's where I started which grows pretty ugly when you add thing #3 or 4 to sort on. This is a UI helper in rails, we want to bubble up known-important things to the front, then let the dynamic stuff just be sorted after
<workmad3> cschneid: hmm... sounds like you're really reaching the point where you want a proper search/indexer that lets you boost values
fmcgeough has joined #ruby
Snowy has joined #ruby
diegoaguilar has joined #ruby
ellimist747 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
Yiota has joined #ruby
<cschneid> not really, this is a one-off. We only have room in our UI for ~7 sorta-dynamic items, we know 2-3 are always relevant, then we want to just show the rest we can.
<cschneid> thanks a ton for helping me think through this - there are a few options here. Now to implement one of them
bigkevmcd has quit [Ping timeout: 252 seconds]
<acidrainfall> Thanks. :)
diprotic is now known as monoprotic
dionysus69 has joined #ruby
bigkevmcd has joined #ruby
joseph has joined #ruby
senayar has quit [Ping timeout: 246 seconds]
Guest38 has joined #ruby
banister has joined #ruby
<workmad3> cschneid: ah ok :) in that case, you could probably adjust the `sort` block so that you had an array of 'important' items, like this: https://gist.github.com/workmad3/03caeae0ecfc38adb2ddf66ee830271e
madgen has quit [Ping timeout: 260 seconds]
<workmad3> (in larger arrays, you could cache the results of the `include?` calls too, so you don't call them up to twice each)
Snowy has quit [Ping timeout: 276 seconds]
<cschneid> workmad3: yep, that's the direction I was going
bradleyprice has joined #ruby
lxsameer has joined #ruby
infra-re_ has joined #ruby
bigkevmcd has quit [Ping timeout: 276 seconds]
jaguarmagenta has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
infra-red has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 276 seconds]
bigkevmcd has joined #ruby
lkba_ has joined #ruby
MagePsycho_ has joined #ruby
MagePsycho_ has quit [Client Quit]
k13nox has quit [Quit: Leaving...]
Cohedrin_ has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
steve has quit [Ping timeout: 260 seconds]
bigkevmcd has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
rbennacer has joined #ruby
ellimist747 has quit [Quit: ellimist747]
terlar has joined #ruby
rbennacer has quit [Remote host closed the connection]
Cohedrin has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
bigkevmcd has joined #ruby
rabbel has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
flashpoint9 has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 244 seconds]
ChiefAlexander has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
bigkevmcd has quit [Ping timeout: 246 seconds]
madgen has joined #ruby
bigkevmcd has joined #ruby
Xeago has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
deavidsedice has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
william3 has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jaruga___ has quit [Quit: jaruga___]
GodFather has quit [Remote host closed the connection]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aegis3121 has joined #ruby
eljimmy has joined #ruby
deavid has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
SilverKey has quit [Quit: Halted.]
tamole has joined #ruby
steve has joined #ruby
LiquidInsect has joined #ruby
william3 has quit [Ping timeout: 250 seconds]
aufi has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
callen92 has quit [Quit: Leaving]
Lomex has joined #ruby
acidrainfall has left #ruby [#ruby]
skislak has quit [Ping timeout: 246 seconds]
bigkevmcd has quit [Ping timeout: 268 seconds]
Lomex has quit [Remote host closed the connection]
EdwardIII has quit [Ping timeout: 276 seconds]
blaxter has quit [Read error: Connection reset by peer]
EdwardIII has joined #ruby
steve has quit [Ping timeout: 265 seconds]
symm- has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
solars has quit [Ping timeout: 250 seconds]
`tim` has joined #ruby
boontdustie has quit [Remote host closed the connection]
Ebok has joined #ruby
blaxter has joined #ruby
printk has joined #ruby
printk has left #ruby [#ruby]
nobitanobi has quit [Remote host closed the connection]
Computergeek01 has joined #ruby
poerror has joined #ruby
tildes has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
nerium has joined #ruby
Gasher has quit [Ping timeout: 250 seconds]
Computergeek01 has quit [Client Quit]
Gasher has joined #ruby
steve has joined #ruby
stunder has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
trollface has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Remote host closed the connection]
mustmodify has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
Paradox has joined #ruby
bigkevmcd has joined #ruby
boontdustie has joined #ruby
Synthead has joined #ruby
<mustmodify> need a sanity check. I'm writing a microservice to receive UDP messages from GPS devices, persist the locations, and to provide a very small http API ( last position for a device, all positions between x and y for a device. ) So I have the UDP part working... now I'm starting to add to the db. I haven't used any ORMs other than ActiveRecord. Should I just bite the bullet and install Rails? Dev time will be much faster... just quickly thinking about it... l
jenrzzz has joined #ruby
jenrzzz has joined #ruby
SilverKey has joined #ruby
<mustmodify> I was initially thinking about sinatra
<mustmodify> and sqlite3
solars has joined #ruby
hk238 has joined #ruby
Xeago has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
<mustmodify> down side to rails is that it takes up a ton of memory and I don't need most of what Rails provides.
<mustmodify> I guess I could use just ActiveRecord...
al2o3-cr has quit [Ping timeout: 260 seconds]
rubyaw has quit [Quit: Leaving...]
rubyaw has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
ramfjord has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
BtcBen has quit [Ping timeout: 276 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<mustmodify> and now that I'm thinking about it, this isn't really relational data. So this might be a good candidate for experimenting with a nosql db.
danielpclark has joined #ruby
<jhass> Sequel & Sinatra are fine and fast to learn for this if you want to keep the relational data
<jhass> s/data/dbms/
<mustmodify> right
_blizzy_ has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> mustmodify: I vote Roda with Sequel. :)
<jhass> as for specialized DBs for that kind... idk possibly RDD? not sure it'd scale well for many devices though
antgel has quit [Ping timeout: 244 seconds]
_blizzy_ has quit [Client Quit]
<havenwood> mustmodify: Or live on the wild side with YDBM :P http://ruby-doc.org/stdlib/libdoc/yaml/rdoc/YAML/DBM.html
baweaver has quit [Ping timeout: 250 seconds]
mostlybadfly has joined #ruby
<jhass> er, RRD I mean, the other way around :P
phpwebdev has joined #ruby
bradleyprice has joined #ruby
boontdus` has joined #ruby
flashpoint9 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
KensoDev has joined #ruby
n008f4g_ has joined #ruby
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
jud has joined #ruby
boontdustie has quit [Ping timeout: 244 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terlar has quit [Quit: WeeChat 1.4]
nanoz has joined #ruby
codecop has joined #ruby
dfockler has joined #ruby
ahammond has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
ChiefAlexander has joined #ruby
nofacade has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
ahammond has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
`tim` has joined #ruby
baweaver has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
Dimik has joined #ruby
jrafanie has joined #ruby
B1n4r10 has joined #ruby
baweaver has quit [Remote host closed the connection]
MagePsycho_ has joined #ruby
bronson has joined #ruby
infra-re_ has quit [Remote host closed the connection]
rcvalle has joined #ruby
DotKite has joined #ruby
SilverKey has quit [Quit: Halted.]
<DotKite> anyone know why [1,1,2,3].permutation(4).to_a would generate duplicates? I get two elements that read [1,1,2,3] in the result.
mdw has joined #ruby
<DotKite> among others
<benzrf> DotKite: i would assume that Array#permutation permutes the array ignoring the specific elements
<benzrf> so there's the identity permutation and the swap-first-two permutation
<benzrf> in this case they happen to produce the same result when applied, but that's not something the method cares about
<DotKite> hmmm
madgen has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
yfeldblum has joined #ruby
bitemyap1 is now known as bitemyapp
aegis3121 has joined #ruby
sid_fules has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
borodin has joined #ruby
<smathy> DotKite, it's a weird place to have that method, permutation *should* be on the Set class, not on Array.
<smathy> ...in which case duplicate members wouldn't be an issue.
<DotKite> thanks smathy, I'll try that out
<borodin> I'm trying to build a yaml lookup function like so: ConfigTools.lookup("system/aws/auth/secret_key") which would load a yaml file and find the value given. This is closest to what I need: http://stackoverflow.com/questions/14829462/search-check-values-in-yaml-document-with-ruby but it assumes you know the keys at runtime. But my function would not know the keys at runtime
<smathy> DotKite, no, it doesn't exist.
<borodin> seems like a function prople have already solved if I ask around
pawnbox has quit [Remote host closed the connection]
<smathy> DotKite, I meant that ruby *should* have Set#permutation not Array#permutation.
<DotKite> smthy, ah i see
d10n-work has joined #ruby
pawnbox has joined #ruby
<borodin> I could receive that string and split it on a delimiter, but then I'd need some way of crawling the tree and keeping track of where I've been, within a loop
TheHodge has quit [Quit: Connection closed for inactivity]
<smathy> DotKite, my point is that the concept of permutation is related to a set, it's not well defined how it should act when applied to an object which can contain duplicate members.
<smathy> ...totally undefined really.
ekinmur has joined #ruby
<DotKite> smathy, then how would you go about generating all permutations of an array of characters?
zast has quit [Remote host closed the connection]
<DotKite> where elements could be identical
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
william3 has quit [Remote host closed the connection]
<dfockler> also a mathematical set doesn't have a specific order
cdg has quit [Remote host closed the connection]
william3 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
tamole has quit [Quit: ...]
karapetyan has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 268 seconds]
tamole has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
<dfockler> also probably why the Set class doesn't have any sort methods either
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
al2o3-cr has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
Waqas has joined #ruby
<smathy> DotKite, honestly, I'd reopen the Set class and add the permutation method there: def permutation *args; to_a.permutation *args; end
sauvin has quit [Read error: Connection reset by peer]
<smathy> I just couldn't live with calling permutation on Array
last_staff has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
tamole has quit [Client Quit]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
<smathy> DotKite, and then: [1,1,2,3].to_set.permutation.to_a # => [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
shayan has quit [Quit: shayan]
Xeago has quit [Remote host closed the connection]
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
wzy has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Waqas has joined #ruby
flashpoint9 has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
szulak has joined #ruby
Waqas has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
d10n-work has quit []
Marsupermammal has joined #ruby
Marsupermammal has quit [Client Quit]
shayan has joined #ruby
Renich has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
wzy has left #ruby ["Leaving"]
Xeago has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 260 seconds]
finisherr has joined #ruby
carlisiacampos has joined #ruby
shayan has quit [Client Quit]
dhollinger has joined #ruby
Xeago has joined #ruby
sid_fules has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
centrx has quit [Quit: centrx]
rubyaw has quit [Ping timeout: 268 seconds]
centrx has joined #ruby
stunder has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
karapetyan has joined #ruby
Blaguvest has joined #ruby
Aviio has quit [Remote host closed the connection]
madgen has joined #ruby
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
ruby-lang352 has joined #ruby
<borodin> anybody know about yaml lookup function that works like so: Module.lookup("system/aws/auth/security_key") or Module.lookup("system::aws::auth::security_key")
<borodin> I think I've figured it out - just strip off the keys from the front one at a time, look to see if the key exists, if it does, create a data structure to hold data within that key, then do it all again until you've found the value
<ruby-lang352> Help on using Faraday gem
tagaulap has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
<centrx> borodin: Like an alias?
bokayio has quit [Ping timeout: 276 seconds]
bokayio has joined #ruby
<ruby-lang352> I have written a code to interact with a SOAP service using Faraday gem and all is working fine except in production
<ruby-lang352> am getting following error
<ruby-lang352> rake aborted! cannot load such file -- faraday
<ruby-lang352> code deployment is done using cap
<centrx> ruby-lang352: Is the faraday gem in your Gemfile?
karapetyan has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<ruby-lang352> yes it is
Blaguvest has quit [Read error: Connection reset by peer]
<jhass> borodin: .split(SEP).inject(hash) {|hash, key| hash[key] || break }
karapetyan has joined #ruby
Renich has quit [Ping timeout: 240 seconds]
<centrx> ruby-lang352: Is there anything else to the error message (use gist)
tax has quit [Ping timeout: 252 seconds]
joseph has quit [Remote host closed the connection]
conta has joined #ruby
PedramT has joined #ruby
n008f4g_ has joined #ruby
<ruby-lang352> No specific error message, details when executed with --trace https://gist.github.com/anonymous/65b65b7c8574fab86bda4af721ee53fc
davedev2_ has quit [Remote host closed the connection]
<jhass> ruby-lang352: try bundle exec rake ...
infra-red has joined #ruby
infra-red has quit [Remote host closed the connection]
infra-red has joined #ruby
Aviio has joined #ruby
sid_fules has joined #ruby
baweaver has quit [Remote host closed the connection]
OTORelic2 has quit [Ping timeout: 276 seconds]
PedramT has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 268 seconds]
SilverKey has quit [Quit: Halted.]
jackjackdripper has joined #ruby
rbennacer has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
rbennacer has joined #ruby
sid_fules has quit [Ping timeout: 268 seconds]
<ruby-lang352> I dont get the with error while using bundle exec rake
nofacade has quit [Ping timeout: 265 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
<ruby-lang352> any specific reason for this behavior?
nanoz has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
MeMoc has joined #ruby
<aegis3121> Your production box presumably has a different version of faraday installed that (I think) meets your specifications but doesn't actually implement feature x that you need or has broken feature x that you're using. Using bundle exec forces the version specified in the Gemfile.lock to be used.
poerror has left #ruby ["Textual IRC Client: www.textualapp.com"]
zapata has quit [Quit: WeeChat 1.4]
<havenwood> ruby-lang352: Prefixing `bundle exec` runs the command "in the context of your Bundle" (meaning with the exact gem versions from your Gemfile.lock file). If you run the same command without `bundle exec` it'll require the latest available gems which may or may not be the same as those specified in the Gemfile.lock.
zapata has joined #ruby
mdw_ has joined #ruby
<havenwood> ruby-lang352: Bundler's Gemfile.lock allows all developers working on the app to be using the exact same gems as are in production.
<jhass> ruby-lang352: also bundler's --path and --deployment options install to a location not found by rubygems without using bundle exec
nofxx has quit [Ping timeout: 244 seconds]
<havenwood> And are confusingly "remembered" options.
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
bosnianboy has quit [Quit: This computer has gone to sleep]
solars has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
banister has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
<havenwood> ruby-lang352: See: bundle help config
poerror has joined #ruby
Blaguvest has joined #ruby
al2o3-cr has joined #ruby
<ruby-lang352> so in my scheduler is it recommended to specify bundle exec rake XXX instead of just rake XXX?
poerror has left #ruby [#ruby]
<jhass> yes, when using bundler better default to bundle exec, that'll save you most headaches
<jhass> locally too
baweaver has joined #ruby
<ruby-lang352> cool, thanks guys for your time and support
acidrainfall has joined #ruby
Devalo has quit [Remote host closed the connection]
minimalism has joined #ruby
bmf has joined #ruby
tildes has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
northrup has joined #ruby
karmatr0n has joined #ruby
northrup has quit [Client Quit]
northrup has joined #ruby
Blaguvest has quit [Read error: Connection reset by peer]
dmr8 has joined #ruby
Madplatypus has joined #ruby
bmf has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
nofxx has quit [Remote host closed the connection]
[Butch] has joined #ruby
solars has joined #ruby
<mustmodify> jhass: You were recommending Sequel & sinatra. I think you were on target with those. But I just realized that I don't need to use a database at all. My input and my deliverable are basically the same. If I just the right filenames I can create my deliverables as soon as I receive input.
jhass has quit [Changing host]
jhass has joined #ruby
Takumo has quit [Ping timeout: 276 seconds]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
<mustmodify> Just append the newest position to the file and have sinatra spit that out.
sp4rrow has joined #ruby
firstdayonthejob has joined #ruby
nobitanobi has joined #ruby
conta has quit [Ping timeout: 244 seconds]
biberu has quit [Ping timeout: 244 seconds]
<borodin> jhass the grey becomes jhass the white!
dionysus69 has quit [Remote host closed the connection]
symm- has joined #ruby
dionysus69 has joined #ruby
bmf has joined #ruby
<baweaver> jhass has been an op for a while now. Now we just gave him the company jacket ;)
Xeago has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
bmf has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Read error: Connection reset by peer]
<shevy> jhass is blue
<baweaver> which client are you all using anyways?
<shevy> still the abandoned xchat!
<al2o3-cr> jhass: is blue
mustmodify has left #ruby [#ruby]
<al2o3-cr> weechat
<baweaver> (NSFW)xchat.com(NSFW) is the wrong site apparently, it's xchat.org
<al2o3-cr> lol
<shevy> lol
<jhass> weechat here too
<banister> baweaver textual
<banister> i've tried out all irc clients for osx and textual is by far the best IMO
stunder has joined #ruby
banister is now known as banisterfiend
<eam> xxxchat
mdw_ has quit [Quit: Sleeping Zzzzz]
jonathanwallace_ has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
webus has joined #ruby
<miah> irssi forever =)
kirun has joined #ruby
PedramT has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
rkazak has joined #ruby
phaza has joined #ruby
platzhirsch has joined #ruby
<baweaver> Still on Limechat for now
davedev24 has joined #ruby
rbennace_ has joined #ruby
rbennace_ has quit [Remote host closed the connection]
Aviio has quit []
PedramT has quit [Ping timeout: 240 seconds]
rbennace_ has joined #ruby
rbennace_ has quit [Remote host closed the connection]
bmf has joined #ruby
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
bmf has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
tom39291 has quit [Ping timeout: 276 seconds]
tom39291 has joined #ruby
<siaw> do i need to require something to use StringIO?
<siaw> if so then what?
<acidrainfall> baweaver: hahahaha that's funny
<acidrainfall> I use pidgin
MagePsycho_ has quit [Quit: MagePsycho_]
Yeomra_ has quit [Quit: WeeChat 1.4]
PedramT has joined #ruby
<Papierkorb> siaw: require 'stringio' # If needed
<siaw> Papierkorb: got it, which turns my class into #<StringIO:0x007f937e41c148>
<siaw> now how do i take the string out of it? any idea?
DotKite has quit [Quit: Page closed]
<baweaver> &ri StringIO
twilizant has joined #ruby
<Papierkorb> siaw: StringIO#string
<Papierkorb> (To be fair, I did expect #to_s to work)
<siaw> hmmm
<siaw> it’s not working
<siaw> i tried this
MRB[away] is now known as Matthew_
<Papierkorb> >> StringIO.new("Foobar").string
<ruby[bot]> Papierkorb: # => "Foobar" (https://eval.in/555692)
<Papierkorb> no wait
<Papierkorb> siaw: what's the point of that line?
MagePsycho_ has joined #ruby
BSaboia has joined #ruby
<Papierkorb> How are a XML reader and StringIO related?
<siaw> then it means i’m doing it completely wrong
sp4rrow has joined #ruby
<Papierkorb> siaw: This would be the moment where you should tell us what you're actually trying to do
<siaw> one minute
twilizant has quit [Ping timeout: 250 seconds]
aufi has joined #ruby
conta has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
nobitanobi has quit [Remote host closed the connection]
danieli has quit [Changing host]
danieli has joined #ruby
barajasfab has joined #ruby
sid_fules has joined #ruby
jenrzzz has joined #ruby
mlakewood has joined #ruby
<Papierkorb> siaw: Why?
<siaw> because i want to render just the svg part of it
mlakewood has quit [Client Quit]
<Papierkorb> siaw: That's an ugly hack and you should reconsider: the_xml_data.gsub(/\A.*?\n/, '') # Untested
<Papierkorb> siaw: That whole thing *is* the SVG
<apeiros> the ? is superfluous. . doesn't match \n
<Papierkorb> And it may or may not work if there's no \n.
<Papierkorb> So, yeah, ugly hack and "don't do it".
<siaw> well if the whole this is svg then it doesn’t render with the xml part of it
<siaw> if i remove the xml tag from the start then i see the image
<adaedra> ?tabs
<ruby[bot]> adaedra: I don't know anything about tabs
<adaedra> mmh.
s1kx has joined #ruby
bronson has joined #ruby
ur5us has joined #ruby
<al2o3-cr> siaw: doc = Nokogiri::XML(data).to_html should remove the xml tag
Devalo has joined #ruby
djbkd_ has joined #ruby
<siaw> al2o3-cr: no it doens't
william3 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
<siaw> al2o3-cr: oops
<siaw> sorry it does
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
benlieb has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
platzhirsch has left #ruby [#ruby]
william3 has joined #ruby
zlude has quit [Quit: Leaving]
<acidrainfall> What's the *best* way to test for an array that may or may not exist?
cdg has joined #ruby
Blaguvest has joined #ruby
<siaw> al2o3-cr: thank you :)
<acidrainfall> if the array hasn't been instantiated, .any? causes an exception
<acidrainfall> Should I reverse the logic and use .nil?
<acidrainfall> The problem is not that it could contain no data but that it could not exist at all.
<al2o3-cr> yw siaw
ruby-lang352 has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
djbkd_ has quit [Ping timeout: 276 seconds]
stunder has quit [Ping timeout: 250 seconds]
biberu has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
william3 has quit [Ping timeout: 244 seconds]
eatsfoobars has quit [Quit: Textual IRC Client: www.textualapp.com]
thai_ has quit [Ping timeout: 260 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stunder has joined #ruby
<jhass> acidrainfall: the *best* way is to not be uncertain about the array being there or not
eljimmy has joined #ruby
mondo has joined #ruby
<jhass> that is trying to find a better default value than "nil"
<mondo> Can anyone point me to the best way to take gems from one server and install them on another? I have a list of gems I need to move from one server to another server that does not have internet access.
dionysus69 has quit [Ping timeout: 276 seconds]
thai_ has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
`tim` has joined #ruby
Snowy has joined #ruby
nobitanobi has joined #ruby
<acidrainfall> jhass: fair
<jhass> ^
Cohedrin_ has joined #ruby
JakFrist has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
Cohedrin_ has quit [Max SendQ exceeded]
anisha has joined #ruby
Cohedrin_ has joined #ruby
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
postmodern has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
<mondo> smathy: thanks, I think that will do the trick.
<smathy> mondo, you're welcome.
Snowy has quit [Ping timeout: 260 seconds]
mlakewood has joined #ruby
mlakewood has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
eatsfoobars has joined #ruby
Balzrael has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
<acidrainfall> jhass: I'll eventually be open sourcing this script, and wanted to leave room for error if people don't format the data properly
<acidrainfall> jhass: but that may just be me babying people
<acidrainfall> because I have to baby people here haha
<acidrainfall> "If I can't trust people I know to do it right, how can I trust joe schmoe on the interwebs?"
<Ox0dea> "Be liberal in what you accept."
<acidrainfall> I like that mentality
jhack_ has joined #ruby
<acidrainfall> But getting into these kinds of data structures... it's just hard.
<jhass> validate your input then
<acidrainfall> That's what I'm doing
<jhass> if you run into NoMethodErrors, I don't think so
centrx has quit [Quit: centrx]
centrx has joined #ruby
pawnbox has joined #ruby
jhack has quit [Ping timeout: 268 seconds]
jhack_ is now known as jhack
<acidrainfall> Yeah I guess that's what it is.
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
<acidrainfall> It's complicated. I don't think there's an easy way to make this script work, because it's a complicated process and it will need to be customized per environment.
<acidrainfall> I'm adding features as I think of them but the admin that wants to use this will have to have half a brain.
<acidrainfall> "have to have half" - freaking english man.
<acidrainfall> "if you have to halve, have half."
<acidrainfall> haha
lxsameer has quit [Quit: Leaving]
anisha has quit [Quit: Leaving]
lemur has joined #ruby
<acidrainfall> Anyway this is complicated because Elasticsearch offers *no* support for rolling restarts on clusters. They also don't specify anything about the environment in which it runs. If I cared enough I could handle all of those, but this script is for us, and I'm opening it as a courtesy because no other workable solutions exist out there.
hyperdrive has quit [Ping timeout: 260 seconds]
alexblom has quit [Ping timeout: 260 seconds]
* acidrainfall shrugs
pawnbox has quit [Ping timeout: 250 seconds]
aufi has quit []
rubyaw has joined #ruby
Balzrael has joined #ruby
hyperdrive has joined #ruby
mhenrixon has quit [Ping timeout: 276 seconds]
alexblom has joined #ruby
tubbo is now known as epicwife
mhenrixon has joined #ruby
solars has quit [Ping timeout: 240 seconds]
swills has quit [Ping timeout: 268 seconds]
lemur has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
bigkevmcd has joined #ruby
carlisiacampos has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
dmr8 has quit [Quit: Leaving]
stunder has quit [Ping timeout: 268 seconds]
auxbuss has joined #ruby
jaguarmagenta has joined #ruby
stunder has joined #ruby
Paradox has quit [Ping timeout: 276 seconds]
dn` has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Paradox has joined #ruby
rubyaw has quit [Quit: Leaving...]
newjersey has joined #ruby
auxbuss_ has joined #ruby
auxbuss_ has quit [Client Quit]
auxbuss has quit [Client Quit]
auxbuss has joined #ruby
bb010g has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
rubyaw has joined #ruby
rubyaw has quit [Client Quit]
snockerton has joined #ruby
MagePsycho_ has quit [Quit: MagePsycho_]
auxbuss has quit [Client Quit]
bkxd has joined #ruby
synthroid has quit []
auxbuss has joined #ruby
nerium has quit [Quit: nerium]
hobodave_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
rkazak has quit [Ping timeout: 246 seconds]
davedev24 has quit [Ping timeout: 276 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eatsfoobars has quit [Quit: Textual IRC Client: www.textualapp.com]
t-richards has quit [Quit: Connection closed for inactivity]
sp4rrow has joined #ruby
joonty has joined #ruby
sepp2k has quit [Quit: Leaving.]
nettoweb has quit [Excess Flood]
brackson has joined #ruby
auxbuss has quit [Quit: I'm gone.]
hxegon is now known as hxegon_AFK
shinymcshine has joined #ruby
constantinexvi has quit [Ping timeout: 260 seconds]
nobitanobi has quit [Remote host closed the connection]
skweek has joined #ruby
jobewan is now known as jobewan_away
constantinexvi has joined #ruby
CausaMortis has joined #ruby
nobitanobi has joined #ruby
Blaguvest has quit [Remote host closed the connection]
eljimmy has joined #ruby
nobitanobi has quit [Remote host closed the connection]
binaryplease1 has joined #ruby
tax has joined #ruby
sid_fules has joined #ruby
binaryplease has quit [Ping timeout: 250 seconds]
shinymcshine has quit [Ping timeout: 250 seconds]
<A124> Umm.. if I want to have Parser to be equivalent to JSON.parse method, what should I do?
<A124> In a sense i just want to call Parser instead JSON.parse
<jhass> "call parser"?
mesamoo has joined #ruby
<jhass> you want a method named Parser? just define it
william3 has quit [Remote host closed the connection]
pawnbox has joined #ruby
<A124> Yeah, method named parser, but that method would be identical to JSON.parse.
ldnunes has quit [Quit: Leaving]
<baweaver> Why though?
code_[BNC] has quit [Ping timeout: 260 seconds]
dcope has quit [Ping timeout: 260 seconds]
<A124> The thing is there are multiple options and once I select that option, I want simple way to call it.
loincloth has joined #ruby
<adaedra> def parser(*args); JSON.parse(*args); end
edwinvdgraaf has joined #ruby
<baweaver> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<A124> baweaver I told you why.
<A124> adaedra Yeah, but that would mean writing tons of def blocks. Plus one more method call.
sepp2k has joined #ruby
dcope has joined #ruby
<adaedra> Then I didn't understand what you want, hence the ?xy.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hxegon_AFK is now known as hxegon
<A124> I want Parser to be substitute for JSON.parse
<jhass> my guess is you actually want something like parsers = {json: ->(doc) { JSON.parse(doc) }, yaml: ->(doc) { YAML.load(doc)}, ...}; parser = parsers[chosen_parser]
binaryplease1 is now known as binaryplease
<A124> In my case it is multiple JSON parsers.
<jhass> are you reimplementing the multi_json gem?
Cohedrin has joined #ruby
<baweaver> hence the xy
<baweaver> anyways, coffee time for me.
<jhass> yeah, fully appropriate
Xiti has joined #ruby
baweaver has quit [Remote host closed the connection]
<A124> Not fully.
<A124> Can I just make Parser refer to same object?
pawnbox has quit [Ping timeout: 276 seconds]
<adaedra> what object
<A124> JSON.parse
<adaedra> that's a method
x77686d has joined #ruby
epicwife is now known as tubbo
code_ has joined #ruby
<adaedra> and in Ruby, methods are not first-class citizens
Cohedrin_ has quit [Ping timeout: 250 seconds]
<A124> Ok, can I make Parse refer to it?
eatsfoobars has joined #ruby
<A124> Aka, doing the same, without the onion method wrap.
<adaedra> yes, by calling the method you want, like demonstrated above
flashpoint9 has quit [Remote host closed the connection]
<adaedra> If your problem is doing ifs to choose which one to call, and if all classes use the same interface, you can store the choosen class in a variable like @engine, then do @engine.parse
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
<A124> They use different, else I would do exactly that.
<A124> I never understood Lambdas, gotta try, thank you
ekinmur has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
flashpoint9 has joined #ruby
william3 has joined #ruby
BSaboia has quit [Ping timeout: 246 seconds]
infra-red has quit [Ping timeout: 268 seconds]
<adaedra> On these words, g'night all.
<A124> Night
tubuliferous has joined #ruby
jobewan_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennace_ has quit [Ping timeout: 244 seconds]
dopie has joined #ruby
biberu has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
kirun has quit [Quit: Client exiting]
solocshaw has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
<cschneid> What's the right syntax to override #initialize, not use the arguments, and then call super with the same list passed in? `def initialize(*); @thing = 1; super; end`?
<jhass> should work
william3 has quit [Ping timeout: 260 seconds]
<cschneid> cool, that's a surprisingly hard thing to google for :)
<cschneid> also I just tried it in irb, which I should have done rather than typing out that whole line.
<smathy> :)
R\w\C has joined #ruby
<R\w\C> hey guys anyone got huginn experience ?
Devalo has quit [Ping timeout: 260 seconds]
<jhass> ?anyone
<ruby[bot]> Just ask your question, if anyone has or can, they will respond.
<R\w\C> I am trying to setup gmail sending e-mails.. and I am editing the .env file
<R\w\C> do i need to rebuild my app or will it update automatically ?
jobewan has joined #ruby
skweek has quit [Ping timeout: 268 seconds]
mozzarel1 is now known as mozzarella
aupadhye has quit [Quit: Leaving]
ensyde has joined #ruby
<A124> jhass Thanks for the lambda example, would like to find where it is explained, though I get the syntax of the example. Got lot more to thing around now.
Drakevr_ is now known as Drakevr
<jhass> A124: I can imagine Proc, Kernel#proc and Kernel#lambda has some on it
Drakevr has quit [Changing host]
Drakevr has joined #ruby
* A124 will look
<jhass> and stabby lambda is briefly mentioned in http://ruby-doc.org/core-2.3.0/doc/syntax/literals_rdoc.html#label-Procs
<A124> Now I completely get it, thank you :)
<A124> About XY problem, a thing I did not mention and not completely related: Would like to read HTTP line by line. If there are any recommendations, would be glad.
BSaboia has joined #ruby
<A124> Else I would just open socket, send hand made request, and use .gets on socket.
<jhass> well, use TCPSocket / TCPServer
<jhass> possible the ssl variants
<A124> Hmm... Any way to get HTTP headers made by the HTTP class or should I just hand craft them?
<jhass> uh, if anything it's on Net::HTTP::Request
<A124> Already going there :)
<jhass> btw if you're fine with the lambda approach, Object#method / Method might give you a shortcut
<jhass> for some at least
flashpoint9 has quit [Remote host closed the connection]
joneshf-laptop has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Remote host closed the connection]
swills has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
<jhass> http://devdocs.io/ruby~2.3/net/httpgenericrequest#method-i-write_header private method but I guess you're on a weird trip already anyhow :P
bokayio has quit [Ping timeout: 276 seconds]
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
bokayio has joined #ruby
Yiota has quit [Ping timeout: 260 seconds]
wilsonc91 has joined #ruby
yohle has joined #ruby
<A124> Yeah, not a pro dev, doing OSS. So weird trip for experience and somewhere along also code.
<A124> This actually looks really nice, except it means calling it.
<A124> Someone did provide me with example in python all it needs is:
<A124> r = requests.get('http://127.0.0.1/index.html', stream=True)
PedramT has quit [Remote host closed the connection]
<A124> l = r.raw.readline
Yiota has joined #ruby
<jhass> so you just want an IO for the body?
<A124> yes.
nfk|laptop has quit [Ping timeout: 240 seconds]
<A124> But it is streaming, and chunked.
joneshf-laptop has joined #ruby
<A124> Returning json object per line.
BrunoSaboia has joined #ruby
David27 has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
BSab has joined #ruby
acidrainfall has quit [Quit: Leaving.]
kies has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
elifoster has quit [Ping timeout: 250 seconds]
IrishGringo has joined #ruby
borodin has quit [Ping timeout: 250 seconds]
kies has joined #ruby
loincloth has quit []
<A124> Yes, I tried to do that, but those fragments could have line splits. So would have to wrap it in conditions detecting newlines and << into string.
<jhass> or you can .instance_variable_get(:@socket) I guess...
BSaboia has quit [Ping timeout: 244 seconds]
<A124> Or array and join, but those object are actually small usually so the error appeared overnight.
codecop has quit [Remote host closed the connection]
yohle has quit [Quit: Textual IRC Client: www.textualapp.com]
<A124> Aaah... that is what I was looking for and could not find (I should have read the source better) Going at it, Thank you very much.
TomyLobo has quit [Ping timeout: 252 seconds]
BrunoSaboia has quit [Ping timeout: 244 seconds]
<jhass> A124: note that's raw stuff, chunked, possibly gzipped
yohle has joined #ruby
BrunoSaboia has joined #ruby
<A124> Well, its socket, so .readline is not a problem. The API is not using compression, but Gzip reader would not be a problem :)
<A124> Just have to figure out how to call the HTTP and where (moment) to hook it.
SCHAAP137 has quit [Quit: Exiting...]
yohle has quit [Client Quit]
<jhass> where you had read_body previously I'd guess
ramfjord_ has joined #ruby
BSab has quit [Ping timeout: 268 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stunder has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Ping timeout: 246 seconds]
<A124> NoMethodError: private method `gets' called for #<Net::BufferedIO io=#<TCPSocket:0x000000018ef9d0>>
<A124> Going to look into that.
ramfjord has quit [Ping timeout: 268 seconds]
[Butch] has quit [Quit: I'm out . . .]
ensyde has quit [Ping timeout: 250 seconds]
sid_fules has quit [Read error: Connection reset by peer]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sid_fules has joined #ruby
wilsonc91 is now known as wilson
wilson is now known as w1lson
`tim` has joined #ruby
kies has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
kies has joined #ruby
eatsfoobars has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
<A124> So it did not work, calling private gets just stalls, so I tried .start .send_request, but gets (eventhough now public), stalls again.
<A124> So I guess Ruby cannot do that itself. Either handling the chunks, which does not happen in fast C, or making the request by hand. So depending on use case.
<jhass> how about looking into other http client libs?
Ebok has quit [Quit: This computer has gone to sleep]
<A124> Or using other gem/library, if there is one that does it, or finding something that takes socket and spits outs lines.
Gasher has quit [Quit: Leaving]
vishwa has joined #ruby
GodFather has joined #ruby
<vishwa> Hey guys, given an array, how do I generate all pairs from it?
<A124> I already did which led me to look at other, even rare still programming languges and doing evented IO. But that was different usecase, though those projects are siblings.
william3 has joined #ruby
<A124> vishwa What is a pair in array?
<vishwa> like [1,2,3 ] => [(1,2),(2,3),1,3)]
<vishwa> pairs of elements A124
<A124> .slice I think.
CausaMortis has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
<vishwa> A124: slices let you pick out a part of the array, how would I use that to generate pairs?
zeroDivisible has quit [Quit: WeeChat 1.4]
Devalo has joined #ruby
<vishwa> A124: array.combination is the way to go
<A124> vishwa [1,2,3 ]
<A124> [1,2,3,4].each_slice(2).to_a
<vishwa> Ahh, cool, thanks
<al2o3-cr> >> [1,2,3].combination(2).to_a
<ruby[bot]> al2o3-cr: # => [[1, 2], [1, 3], [2, 3]] (https://eval.in/555802)
<smathy> Yeah, each_slice doesn't work.
william3 has quit [Ping timeout: 260 seconds]
johnmilton has joined #ruby
<A124> Doesn't?
R\w\C has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<A124> My bad, I was blind, vishwa
* A124 needs rest
dhollinger has quit [Quit: WeeChat 1.4]
w1lson has quit [Quit: Textual IRC Client: www.textualapp.com]
w1lson has joined #ruby
R\w\C has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
IrishGringo has quit [Ping timeout: 250 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
someish has quit [Quit: someish]
zenlot6 has joined #ruby
centrx has quit [Quit: centrx]
lemur has joined #ruby
zenlot has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
rbennace_ has joined #ruby
R\w\C has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LadyElusive has quit [Ping timeout: 260 seconds]
joonty has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
lemur has quit [Ping timeout: 276 seconds]
elusiveother has joined #ruby
elusiveother has quit [Changing host]
elusiveother has joined #ruby
blackwell has quit [Max SendQ exceeded]
blackwell has joined #ruby
guardian has joined #ruby
polishdub has quit [Quit: Leaving]
<brent__> trying to do a regex to confirm that an iput matches the format of '0, 2' where those two digits can be 0..2, would it be \[0-2], [0-2]\.matches(input)?
Canar has quit [Quit: WeeChat 1.4]
Canar has joined #ruby
MeMoc has quit [Quit: Connection closed for inactivity]
jaguarmagenta has joined #ruby
Canar has quit [Client Quit]
last_staff has quit [Quit: last_staff]
<baweaver> ?try
<ruby[bot]> Why don't you try it and see for yourself?
<ramfjord_> brent__: yes, and to validate that, try using http://rubular.com/
Canar has joined #ruby
vishwa has quit [Ping timeout: 250 seconds]
sarbs has joined #ruby
<darix> brent__: maybe if you replace the \ with /?
<brent__> yeah, i saw taht misatke darix
jaguarmagenta has quit [Ping timeout: 252 seconds]
<brent__> it looks like it works that way. ramfjord: i'm not getting matchign w/ rubular, though ti appears to be the correc tway
jobewan has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
<brent__> nvm, got it to work, cool website, thanks
ChiefAlexander has quit [Remote host closed the connection]
BSab has joined #ruby
cdg has quit [Remote host closed the connection]
greg_ has joined #ruby
cdg has joined #ruby
sp4rrow_ has joined #ruby
greg_ has quit [Client Quit]
`tim` has quit [Ping timeout: 252 seconds]
BrunoSaboia has quit [Ping timeout: 244 seconds]
jschoolcraft has joined #ruby
sp4rrow has quit [Ping timeout: 240 seconds]
RegulationD has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
cdg has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
blaxter has quit [Quit: KTHXBYE]
cschneid has quit [Remote host closed the connection]
solocshaw1 has joined #ruby
SilverKey has joined #ruby
stannard has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 268 seconds]
solocshaw1 is now known as solocshaw
SilverKey has quit [Client Quit]
madgen has quit [Ping timeout: 240 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
Rasi has quit [Ping timeout: 252 seconds]
Dimik has quit [Ping timeout: 244 seconds]
GinoMan2440 has joined #ruby
GinoMan2440 has quit [Client Quit]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snockerton has quit [Quit: Leaving.]
ss_much has joined #ruby
jhack has quit [Quit: jhack]
A124 has quit [Ping timeout: 276 seconds]
banister has joined #ruby
GinoMan2440 has joined #ruby
vishwa has joined #ruby
baweaver has joined #ruby
_WWW-BUKOLAY-COM has joined #ruby
krzkrz has quit [Ping timeout: 276 seconds]
ruby-lang147 has joined #ruby
Rasi has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
_WWW-BUKOLAY-COM has quit [Excess Flood]
edwinvdgraaf has quit [Remote host closed the connection]
Kallis has quit [Quit: Leaving]
bosnianboy has joined #ruby
joneshf-laptop has quit [Ping timeout: 276 seconds]
vishwa has quit [Ping timeout: 260 seconds]
BSab has quit [Quit: Leaving]
sid_fules has quit [Remote host closed the connection]
ruby-lang147 has quit [Ping timeout: 250 seconds]
vishwa has joined #ruby
_WWW-BUKOLAY-COM has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has joined #ruby
centrx has joined #ruby
centrx has quit [Client Quit]
A124 has joined #ruby
Rasi has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
jamesbrink has joined #ruby
x77686d has quit [Quit: x77686d]
edv4rd0 has joined #ruby
mwlang has joined #ruby
spider-mario has quit [Remote host closed the connection]
Rasi has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
skweek has joined #ruby
diegoaguilar has joined #ruby
Yiota has joined #ruby
Snowy has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
darkf has joined #ruby
A124 has quit [Ping timeout: 276 seconds]
A124 has joined #ruby
Snowy has quit [Ping timeout: 244 seconds]
stunder has joined #ruby
sp4rrow_ has quit [Quit: The Internet needs a break and I need a cookie]
sp4rrow has joined #ruby
yfeldblum has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
johnmilton has quit [Remote host closed the connection]
stunder has quit [Ping timeout: 240 seconds]
myntcake has quit [Ping timeout: 244 seconds]
<jhass> brent__: note that allows stuff like 'foo0, 2bar' too, if you don't want that add \A at the beginning and \z at the end