havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.2; 2.2.6; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
yupvr has joined #ruby
nettoweb has joined #ruby
tau has joined #ruby
paradisaeidae has joined #ruby
blackwind_123 has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
jstimm has joined #ruby
jhack_ has quit [Quit: jhack_]
sepp2k has quit [Quit: Leaving.]
SteenJobs has quit [Quit: SteenJobs]
yupvr has quit [Ping timeout: 256 seconds]
toretore has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ramfjord_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
SteenJobs has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
ged__ is now known as ged
MrBusiness has joined #ruby
MrBusiness is now known as Guest48386
allcentury has quit [Ping timeout: 260 seconds]
SCHAAP137 has quit [Quit: Leaving]
Lewix has quit [Quit: Connection closed for inactivity]
TheWhip has joined #ruby
saslam has joined #ruby
raul782 has quit [Remote host closed the connection]
Felipe__ has joined #ruby
augcesar has quit [Quit: Connection closed for inactivity]
malconis has quit [Read error: Connection reset by peer]
Madplatypus has quit [Quit: Connection closed for inactivity]
CloCkWeRX has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
Fernando-Basso has quit [Quit: WeeChat 1.4]
TheWhip has quit [Ping timeout: 252 seconds]
hightower3 has joined #ruby
symm- has quit [Quit: Leaving...]
hightower2 has quit [Ping timeout: 245 seconds]
hightower2 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jaguarmagenta has quit [Remote host closed the connection]
allcentury has joined #ruby
csk has quit [Quit: ZZZzzz…]
hightower3 has quit [Ping timeout: 260 seconds]
saslam has quit [Ping timeout: 240 seconds]
UserOO7 has joined #ruby
Jardayn has joined #ruby
chopin has quit [Remote host closed the connection]
chopin has joined #ruby
enterprisey has joined #ruby
ICantCook has joined #ruby
<pilne> who terra
<pilne> whups lol
<pilne> just trying to see if they are still here
<pilne> sorry about the rake mis-info
d3d1rty has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
fwallace has joined #ruby
<pilne> anyone messed around using Opal for node.js stuff?
shayan_ has joined #ruby
blackbom1 has joined #ruby
<pilne> (legitimately, if i can find a way to do it in Ruby without making it horribad... i'll do it, lol)
User458764 has joined #ruby
blackbombay has quit [Ping timeout: 250 seconds]
<fwallace> forrest chang’s blog has some resources here: http://funkworks.blogspot.com/
<fwallace> For Opal and legacy javascript
<fwallace> I’ve met him, he’s done a ton of stuff with it
<pilne> awesome :) tyvm
<fwallace> Anyone know any resources for Ruby and Amazon Mechanical Turk?
JeanCarloMachado has quit [Ping timeout: 268 seconds]
<fwallace> Docs are kind of thin, Python Boto seems to be the main action there
rwb has quit [Ping timeout: 256 seconds]
Renich has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: 5oClockPrayers]
<baweaver> Ruby AWS SDK is sparse in general
<baweaver> you might try and go to their Gitter channel and ask there
definity has quit [Ping timeout: 250 seconds]
cdg has quit [Remote host closed the connection]
<baweaver> Normally Trevor Rowe or another dev is watching it
tuxaddicted has joined #ruby
<fwallace> Thanks I’ll give it a go
<baweaver> Bonus points if you update the docs with what you find
TheWhip has joined #ruby
ddffg has joined #ruby
blackbom1 has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 240 seconds]
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fwallace has quit [Quit: fwallace]
Jameser_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackbom1 has joined #ruby
TheWhip has quit [Ping timeout: 250 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
ur5us has quit [Read error: Connection reset by peer]
sarbs has quit [Ping timeout: 250 seconds]
twodayslate has quit [Read error: Connection reset by peer]
twodayslate has joined #ruby
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
sarbs has joined #ruby
helpa has quit [Remote host closed the connection]
Vile` has joined #ruby
helpa has joined #ruby
JeanCarloMachado has joined #ruby
watersoul_ has quit [Read error: Connection reset by peer]
watersoul has joined #ruby
phwelo has quit [Quit: Leaving]
Vile` has quit [Changing host]
Vile` has joined #ruby
helpa has quit [Changing host]
helpa has joined #ruby
agent_white has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<agent_white> Evenin' folks
raeoks has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Channel6 has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
ur5us has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
Ropeney has joined #ruby
tau has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
Jameser has joined #ruby
ged_ has joined #ruby
Jameser has quit [Client Quit]
aegis3121 has joined #ruby
bikram has joined #ruby
raul782 has joined #ruby
ged has quit [Ping timeout: 265 seconds]
ged_ is now known as ged
mikecmpbll has quit [Quit: inabit. zz.]
TheWhip has joined #ruby
centrx has joined #ruby
chopin has quit [Read error: Connection reset by peer]
whathappens has quit [Remote host closed the connection]
peteykun has quit [Ping timeout: 260 seconds]
chopin has joined #ruby
whathappens has joined #ruby
Jardayn_two has joined #ruby
quazimodo has quit [Ping timeout: 245 seconds]
centrx has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 258 seconds]
TheWhip has quit [Ping timeout: 245 seconds]
JeanCarloMachado has quit [Ping timeout: 245 seconds]
skweek has joined #ruby
Jameser has joined #ruby
quazimodo has joined #ruby
Renich has quit [Quit: leaving]
Jardayn has quit [Ping timeout: 260 seconds]
whathappens has quit [Ping timeout: 250 seconds]
blackbombay has joined #ruby
finisherr has quit [Quit: finisherr]
blackbom1 has quit [Ping timeout: 250 seconds]
Jardayn_two is now known as Jardayn
skweek has quit [Ping timeout: 258 seconds]
chris34928 has joined #ruby
enterprisey has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
chris3492 has quit [Ping timeout: 258 seconds]
vali has quit [Ping timeout: 240 seconds]
Bounga has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
Bounga has quit [Ping timeout: 260 seconds]
peteykun has joined #ruby
marr has quit [Ping timeout: 250 seconds]
chopin has quit [Ping timeout: 256 seconds]
paradisaeidae has left #ruby [#ruby]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Read error: Connection reset by peer]
JoshS has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
nankyokusei has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
hahuang65 has joined #ruby
shayan_ has quit [Quit: shayan_]
nankyokusei has quit [Ping timeout: 248 seconds]
_sfiguser has quit [Quit: Leaving]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
weaksauce has joined #ruby
jblack has quit [Ping timeout: 265 seconds]
kbdkode has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
redpants has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
shayan_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
UserOO7 has quit [Remote host closed the connection]
ur5us has joined #ruby
domgetter has joined #ruby
byte512 has quit [Quit: WeeChat 1.6]
byte512 has joined #ruby
mipesom has quit [Ping timeout: 252 seconds]
mipesom has joined #ruby
gusrub has quit [Read error: Connection reset by peer]
davidt has quit []
gusrub has joined #ruby
domgetter has quit [Read error: Connection reset by peer]
chrisja has quit [Quit: leaving]
domgetter has joined #ruby
JoshS has quit [Ping timeout: 248 seconds]
bovis has joined #ruby
_djbkd has quit [Quit: My people need me...]
ur5us has quit [Remote host closed the connection]
pilne has quit [Quit: Quitting!]
smlocal has quit [Remote host closed the connection]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 260 seconds]
paradisaeidae has joined #ruby
enterprisey has joined #ruby
jaguarmagenta has joined #ruby
ramfjord_ has quit [Ping timeout: 265 seconds]
shayan_ has quit [Quit: shayan_]
d^sh has quit [Ping timeout: 240 seconds]
splud has quit [Quit: splud]
centrx has joined #ruby
jaguarmagenta has quit [Ping timeout: 256 seconds]
d^sh has joined #ruby
shayan__ has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
TheWhip has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
dkphenom has joined #ruby
jhack_ has joined #ruby
jhack has quit []
jhack_ is now known as jhack
ur5us has joined #ruby
ramfjord has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
TheWhip has quit [Ping timeout: 244 seconds]
enterprisey has quit [Quit: Leaving]
jaguarmagenta has joined #ruby
raul782 has quit [Remote host closed the connection]
benlieb has joined #ruby
raul782 has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
ReK2 has quit [Remote host closed the connection]
matp_ has joined #ruby
jhack has quit [Quit: jhack]
hightower2 has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
matp has quit [Ping timeout: 250 seconds]
jhack has joined #ruby
optiz0r has quit [Ping timeout: 244 seconds]
sczizzo has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
raul782_ has joined #ruby
raul782 has quit [Ping timeout: 256 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 256 seconds]
sczizzo has quit [Ping timeout: 245 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
railssmith has quit [Ping timeout: 240 seconds]
ReK2 has quit [Remote host closed the connection]
bikram__ has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
whathappens has joined #ruby
bikram has quit [Ping timeout: 250 seconds]
TheWhip has joined #ruby
csk has joined #ruby
hanmac has joined #ruby
astrobunny has joined #ruby
SteenJobs has joined #ruby
centrx has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
jhack has joined #ruby
whathappens has quit [Quit: Leaving...]
Jameser has joined #ruby
bmurt has joined #ruby
pia has joined #ruby
centrx has joined #ruby
redpants has quit [Ping timeout: 258 seconds]
rwb has joined #ruby
vali has joined #ruby
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jhack has quit [Quit: jhack]
harai_ has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
brianpWins_ has joined #ruby
UserOO7 has joined #ruby
Bounga has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
UserOO7 has quit [Remote host closed the connection]
UserOO7 has joined #ruby
brianpWins has quit [Ping timeout: 260 seconds]
brianpWins_ is now known as brianpWins
UserOO7 has quit [Remote host closed the connection]
UserOO7 has joined #ruby
UserOO7 has quit [Remote host closed the connection]
UserOO7 has joined #ruby
UserOO7 has quit [Remote host closed the connection]
Bounga has quit [Ping timeout: 260 seconds]
sneakerhax has joined #ruby
harai_ has joined #ruby
<quazimodo> hi
quazimodo has quit [Quit: leaving]
centrx has quit [Remote host closed the connection]
pia has quit [Quit: hi]
harai_ has quit [Ping timeout: 256 seconds]
nadir has quit [Quit: Connection closed for inactivity]
cibs has quit [Ping timeout: 268 seconds]
harai_ has joined #ruby
babblebre has joined #ruby
cibs has joined #ruby
charliesome has joined #ruby
optiz0r has joined #ruby
nankyokusei has joined #ruby
smlocal has joined #ruby
dnicole has quit [Remote host closed the connection]
UserOO7 has joined #ruby
JoshS has joined #ruby
UserOO7 has quit [Remote host closed the connection]
UserOO7 has joined #ruby
troys has joined #ruby
Trynemjoel has quit [Quit: Quitting]
nankyokusei has quit [Ping timeout: 260 seconds]
agent_white has quit [Quit: brbReboot]
smlocal has quit [Remote host closed the connection]
agent_white has joined #ruby
Trynemjoel has joined #ruby
shayan__ has quit [Quit: shayan__]
ur5us has quit [Remote host closed the connection]
shayan__ has joined #ruby
Lucky_ABA has joined #ruby
TheWhip has quit [Remote host closed the connection]
SteenJobs has quit [Quit: SteenJobs]
sdelic has joined #ruby
gizmore has quit [Remote host closed the connection]
gizmore has joined #ruby
railssmith has joined #ruby
toretore has joined #ruby
dkphenom has quit [Quit: Textual IRC Client: www.textualapp.com]
codfection has joined #ruby
adgtl has joined #ruby
jackjackdripper has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conah has joined #ruby
konah has joined #ruby
gix has quit [Ping timeout: 268 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
jokester has quit [Ping timeout: 258 seconds]
UserOO7 has quit []
adgtl has quit [Quit: Textual IRC Client: www.textualapp.com]
<bovis> hi
dhollinger has quit [Ping timeout: 252 seconds]
gix has joined #ruby
bovis has quit [Quit: leaving]
dhollinger has joined #ruby
adgtl_ has joined #ruby
adgtl_ is now known as adgtl
adgtl has quit [Changing host]
adgtl has joined #ruby
adgtl has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
SteenJobs has quit [Quit: SteenJobs]
dkam has joined #ruby
mBailey_j has quit [Quit: Leaving]
User458764 has joined #ruby
csk has quit [Quit: ZZZzzz…]
yardenbar has joined #ruby
jaguarmagenta has joined #ruby
PaulCapestany has quit [Quit: .]
igniting has quit [Ping timeout: 240 seconds]
PaulCapestany has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jstimm has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
chopin has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
nadir has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 246 seconds]
XV8 has joined #ruby
User458764 has joined #ruby
nofxx_ has joined #ruby
mBailey_j has joined #ruby
chrisgopher has joined #ruby
chrisgopher has quit [Client Quit]
raeoks has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
Savage has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
koooge has quit [Quit: Leaving...]
GinoManWrx has joined #ruby
Vile` has quit [Ping timeout: 244 seconds]
harai_ has quit [Ping timeout: 258 seconds]
GinoManWorks has quit [Ping timeout: 260 seconds]
ReK2 has quit [Remote host closed the connection]
konah has quit [Remote host closed the connection]
conah has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
jokester has joined #ruby
sdelic_for_me has joined #ruby
ReK2 has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 240 seconds]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
Sonicblaze has quit [Remote host closed the connection]
sdelic has quit [Ping timeout: 260 seconds]
egg_ has joined #ruby
harai_ has joined #ruby
Channel6 has quit [Quit: Leaving]
hightower3 has joined #ruby
User458764 has joined #ruby
kbdkode has quit [Ping timeout: 256 seconds]
hightower2 has quit [Ping timeout: 245 seconds]
hightower2 has joined #ruby
xall has joined #ruby
hightower3 has quit [Ping timeout: 250 seconds]
codfection has quit [Remote host closed the connection]
brendan- has joined #ruby
codfection has joined #ruby
chopin has quit [Remote host closed the connection]
spectrum has quit [Quit: Oh Shidd]
sdelic_for_me has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
codfection has quit [Remote host closed the connection]
codfection has joined #ruby
brendan- has quit [Ping timeout: 250 seconds]
Felipe__ has quit [Quit: Leaving]
jenrzzz has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
User458764 has joined #ruby
ReK2 has quit [Remote host closed the connection]
zapata has quit [Quit: WeeChat 1.6]
Bounga has joined #ruby
benlieb has quit [Quit: benlieb]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
troys is now known as troys_
qba73 has joined #ruby
hightower2 has quit [Ping timeout: 256 seconds]
Bounga has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
spectrum has joined #ruby
tdy has joined #ruby
spectrum has quit [Client Quit]
xall has quit [Ping timeout: 268 seconds]
troys_ is now known as troys
naprimer_3 has quit [Ping timeout: 244 seconds]
harai_ has quit [Ping timeout: 248 seconds]
ReK2 has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
harai_ has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
nankyokusei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
naprimer_3 has joined #ruby
biberu has joined #ruby
charliesome has quit [Client Quit]
nankyokusei has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 250 seconds]
bocaneri has joined #ruby
centrx has joined #ruby
ur5us has joined #ruby
harai_ has quit [Ping timeout: 260 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 50.0/20161104212021]]
troys has quit [Quit: Bye]
hightower2 has quit [Ping timeout: 256 seconds]
centrx has quit [Ping timeout: 268 seconds]
dionysus69 has joined #ruby
shayan__ has quit [Quit: shayan__]
igniting has joined #ruby
conta has joined #ruby
Sonicblaze has joined #ruby
shayan__ has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Sonicblaze has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
ur5us has quit [Remote host closed the connection]
hurry8193 has joined #ruby
Sonicblaze has joined #ruby
<hurry8193> what level of ruby do most devs in most startups and large companies need to know?
arescorpio has quit [Quit: Leaving.]
jeanlinux has joined #ruby
gusrub has quit []
mtkd has quit [Ping timeout: 258 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Derperperd has quit [Quit: Derperperd]
madsa has joined #ruby
hurry8193 has quit [Ping timeout: 260 seconds]
xall has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
ReK2 has quit [Read error: Connection reset by peer]
<agent_white> wg/
<agent_white> oops MT.
ReK2 has joined #ruby
Jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
xall has quit [Ping timeout: 260 seconds]
<agent_white> Personally, my answer to that is level 107.3; around where you learn to cast spells and summon sentient silly-putty to fight crime.
<agent_white> But before the first bookcase in the second dungeon.
conta has joined #ruby
djbkd has quit [Quit: Leaving...]
Joufflu has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
zotherstupidguy has joined #ruby
xall has joined #ruby
muelleme has joined #ruby
Ishido has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Quit: Leaving.]
pragmaticus has joined #ruby
djbkd has joined #ruby
pragmaticus has quit [Ping timeout: 258 seconds]
jackjackdripper has quit [Quit: Leaving.]
jstimm has joined #ruby
go|dfish has quit [Ping timeout: 244 seconds]
jstimm has quit [Ping timeout: 260 seconds]
checkit has joined #ruby
<checkit> Hey guys... Upgraded to Sierra, sudo geem list --local shows sass v3.4.22 but sass -v shows 3.2.16.
<checkit> Am I missing a path in profile?
kn330 has joined #ruby
<domgetter> checkit from the terminal, what does `which sass` print out?
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<checkit> domgetter: /Users/{user}/.rvm/gems/ruby-2.1.0/bin/sass
kies has quit [Ping timeout: 245 seconds]
peteykun has quit [Quit: Leaving]
kies has joined #ruby
CloCkWeRX has joined #ruby
<domgetter> what does `ruby -v` print out?
<checkit> What say you domgetter
<checkit> ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin12.0]
nadir has quit [Quit: Connection closed for inactivity]
<domgetter> Does `/Users/{user}/.rvm/gems/ruby-2.1.0/bin/sass -v` print out 3.2.16 ?
<domgetter> Also, what does `which gem` print out?
lxsameer has joined #ruby
<checkit> ../gems/ruby-2.1.0/bin/sass -v prints out 3.2.16
<checkit> which gem prints "/Users/{user}/.rvm/rubies/ruby-2.1.0/bin/gem"
qba73 has quit [Remote host closed the connection]
<domgetter> And does `gem list --local` print out a different version than `sudo gem list --local` ?
qba73 has joined #ruby
<checkit> non sudo = 3.2.16
<checkit> sudo = 3.4.22 (wth is going on here?)
muelleme has quit [Ping timeout: 248 seconds]
<checkit> Must've sudo installed somewhere some time ago I guess(?)
<domgetter> It would appear that sudo is invoking a different install
<checkit> Interesting.
<checkit> Also when I did gem list --local (w/o sudo) there is a f' ton more gems
<domgetter> the non-sudo gem list is loading your gemset from rvm
<checkit> Ah.
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<domgetter> which has all the gems installed from all the bundle installs
<checkit> Got it.
gagrio has joined #ruby
<checkit> What do you suppose the fix is here?
jstimm has joined #ruby
go|dfish has joined #ruby
<domgetter> Don't use sudo
<domgetter> If you want to find the other installed location, run `whereis sass`
yardenbar has joined #ruby
<checkit> Oh. I did whereis prior to coming here. Didn't produce anything. Not using sudo to update though obviously turned the trick. Thank you for that.
govg has quit [Ping timeout: 244 seconds]
<checkit> Have you come accross this yet: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (51)
jstimm has quit [Ping timeout: 258 seconds]
kraken_ has joined #ruby
kraken_ is now known as __kraken__
<__kraken__> does ruby have a __str__ dunder method like python?
harai_ has joined #ruby
ur5us has joined #ruby
<domgetter> __kraken__ the #to_s method will make a string output version of an object, and the #inspect method will generally make a human-readable string of output representing an object.
<domgetter> >> 3.to_s
<ruby[bot]> domgetter: # => "3" (https://eval.in/679263)
<__kraken__> I see
<__kraken__> I've got to say, I wish ruby was as respected as python. This language is so beautiful and intuitive compared to it
<domgetter> #to_s will get called if the object is sent to puts, or if it's being interpolated in a string
<__kraken__> I see. interesting. because puts is (putstring)
bikram__ is now known as bikram
egg_ has quit [Remote host closed the connection]
<__kraken__> Is there a main() class in ruby?
bikram has quit [Quit: Lost terminal]
<agent_white> For object instantiation?
conta has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
pawnbox has joined #ruby
<domgetter> __kraken__ Can you explain what the main() class is? I'm not as familiar with Python
<__kraken__> It's bassically where your 'run' code is. You create your objects there. Pass messages to and between them.
<__kraken__> agent_white, yes
<agent_white> Oh bindings
<domgetter> __kraken__ I thought all code just gets run in a py file?
gingray has joined #ruby
cgfbee has quit [Remote host closed the connection]
<__kraken__> that's true
Bounga has joined #ruby
<domgetter> Or is this a way to prevent code from running if it's not in the originally loaded file?
<agent_white> I may be misunderstanding, but if I am, there is none.
<agent_white> if I am not*
<__kraken__> I think there just isn't any
<domgetter> agent_white You can prevent required code from executing in Ruby. Is that what you mean, __kraken__ ?
<__kraken__> It's bassically a function designated for your run code
<__kraken__> I think I got it
<__kraken__> thanks guys
<__kraken__> or gals
blackbombay has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
Bounga has quit [Ping timeout: 260 seconds]
cgfbee has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
conta has joined #ruby
etehtsea has joined #ruby
aganov has joined #ruby
conta has quit [Ping timeout: 250 seconds]
checkit has left #ruby ["WeeChat 1.5"]
dnicole has joined #ruby
jstimm has joined #ruby
<__kraken__> file:///home/kraken/Desktop/Screenshot%20from%202016-11-17%2001:57:55.png
<__kraken__> does that open?
<__kraken__> for u guys?
nankyokusei has joined #ruby
<domgetter> Of course not. why would we have that file with that name on our desktops?
<__kraken__> didnt think so
<domgetter> I would like an answer to my question. Why did you even ask?
<__kraken__> Because it's 2 am and I'm starving myself
<__kraken__> what the hell is going on here
<__kraken__> I'm accessing the first element of the first element of my main array which is another array
<domgetter> all four elements of the array are the same object
<__kraken__> oh wow
<domgetter> and you're modifying the object, so you see the changes in all four
<__kraken__> thanks!
raul782_ has quit [Remote host closed the connection]
jstimm has quit [Ping timeout: 260 seconds]
Salih has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
<__kraken__> So what are you working on domgetter?
<__kraken__> I know that ruby is primarily used as a webdev language
bayed has joined #ruby
<domgetter> I'm waiting for the keyboardio keyboard to be shipped
ionte has joined #ruby
<__kraken__> god speed
<domgetter> I don't have any projects as of late. Although I have been debating with people about the definition of homoiconicity
<domgetter> Or, not the definition so much as whether or not certain languages are homoiconic
<__kraken__> I see
<ionte> hi. anyone who knows httparty? i'm trying to make a post request with custom headers and form data. if i don't use form data, the headers seems to be sent, but i can't combine them....
minimalism has quit [Ping timeout: 252 seconds]
<domgetter> ionte can you give an example of code?
<domgetter> Try https://gist.github.com
<__kraken__> homoiconicity: a bit over my head
<__kraken__> for tonight
tomphp has joined #ruby
raeoks has joined #ruby
User458764 has joined #ruby
chris34928 has quit [Ping timeout: 245 seconds]
<ionte> it's the issue_create method that fails. the issues method works as it should.
claudiuinberlin has joined #ruby
<domgetter> I may be wrong, but I think '/issues.json' won't work since that's not a URI
<domgetter> Oh, you set base_uri
<ionte> yup
<domgetter> body = { "project_id": project_id.to_s, "subject": subject.to_s }
<domgetter> That's not valid Ruby
<domgetter> You're mixing JSON and Ruby Hash literal syntax
<domgetter> if a key is a string, you need to use the => syntax
<ionte> oh, thanks!
<domgetter> {"project_id" => project_id.to_s
<domgetter> }
muelleme has joined #ruby
<ionte> domgetter it did not complain though
<ionte> domgetter and it still does not work. i've updated the gist.
<domgetter> Oh it was changed. THat's valid syntax now. hmm
<ionte> hehe
jblack has joined #ruby
minimalism has joined #ruby
<ionte> i'm unsure about what arguments to pass to httparty. the documentation is a bit lacking.
<ionte> i've tried 'self.class.post("...", headers: @headers, body: @body)' and a a few other variants as well...
<dminuoso> ionte: Look at the source?
<ionte> dminuoso guess i should...
TomyWork has joined #ruby
<dminuoso> ionte: Ruby developers have a common habit of really sucking at writing documentation.
<dminuoso> Both developers writing Ruby and develoeprs writing in Ruby.
<dminuoso> ;)
jstimm has joined #ruby
muelleme has quit [Ping timeout: 256 seconds]
jblack has quit [Ping timeout: 258 seconds]
<ionte> looking at the code, it seems like i'm doing it right...
<domgetter> ionte instead of {body: body, ...} do {query: body, ...}
SesMan has joined #ruby
blaxter has joined #ruby
kn330 has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
jstimm has quit [Ping timeout: 260 seconds]
djbkd has quit []
edwinvdgraaf has joined #ruby
andikr has joined #ruby
codfection has quit [Ping timeout: 256 seconds]
<__kraken__> domgetter, cann you please be proud of me
codfection has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<domgetter> I was unaware of my senpai status
<__kraken__> do you like my code senpai?
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
raeoks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx_ has quit [Ping timeout: 250 seconds]
ReK2 has quit [Remote host closed the connection]
<ionte> domgetter yeah, i've tried that as well, doesn't work. also i think it would send the form data as query parameters..
aidalgol has joined #ruby
<domgetter> hmm
xall has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
ishe_ua has joined #ruby
centrx has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
centrx has quit [Ping timeout: 248 seconds]
joonty has joined #ruby
<domgetter> I just did HTTParty.post("http://localhost:3000/essays", {body: {thing: "asdf"*1000}, headers: {"a" => "b"}}) and it set the params hash to the correct thing in Rails
<ionte> does it send the correct headers as well?
jaguarmagenta has joined #ruby
<domgetter> Yes, but it couldn't verify CSRF of course since I sent bogus headers
mark_66 has joined #ruby
kn330 has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
virgil has joined #ruby
maokomioko has joined #ruby
Silthias1 has joined #ruby
ocbtec has joined #ruby
AlexRussia has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
Snickers has joined #ruby
yupvr has joined #ruby
flying has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
egg_ has joined #ruby
__kraken__ has quit [Remote host closed the connection]
ta_ has joined #ruby
raul782 has joined #ruby
CHoltk has joined #ruby
godd2 has joined #ruby
mikecmpbll has joined #ruby
brendan- has joined #ruby
j2k has joined #ruby
raul782 has quit [Ping timeout: 256 seconds]
domgetter has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
brendan- has quit [Ping timeout: 258 seconds]
brianpWins has quit [Ping timeout: 250 seconds]
p0p0pr37 has quit [Read error: Connection reset by peer]
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
brianpWins has joined #ruby
ferr has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
xall has joined #ruby
codfection has quit [Ping timeout: 260 seconds]
shayan__ has quit [Quit: shayan__]
tomphp has joined #ruby
lenwood has joined #ruby
minimalism has quit [Ping timeout: 245 seconds]
pandaant has joined #ruby
kineticrootkit[m has joined #ruby
astrobunny has quit [Remote host closed the connection]
shayan_ has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
tvw has quit [Remote host closed the connection]
raeoks has joined #ruby
Humdai has joined #ruby
Humdai has quit [Client Quit]
edwinvdgraaf has quit [Ping timeout: 246 seconds]
frozengeek__ has joined #ruby
frozengeek__ is now known as frozengeek___
Beams has joined #ruby
Humdai has joined #ruby
xall has quit [Read error: Connection reset by peer]
codfection has joined #ruby
shayan_ has left #ruby [#ruby]
c0mrad3 has joined #ruby
JeanCarloMachado has joined #ruby
CloCkWeRX has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
edwinvdgraaf has joined #ruby
domgetter has joined #ruby
shayan has joined #ruby
godd2 has quit [Ping timeout: 252 seconds]
shayan has quit [Quit: shayan]
godd2 has joined #ruby
xrlk has quit [Ping timeout: 256 seconds]
domgetter has quit [Ping timeout: 265 seconds]
Fernando-Basso has joined #ruby
nikivi has joined #ruby
marr has joined #ruby
nankyokusei has joined #ruby
joonty1 has joined #ruby
brendan- has joined #ruby
dextertzu has joined #ruby
jblack has joined #ruby
joonty has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
raeoks has quit [Ping timeout: 244 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
jeanlinux has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 265 seconds]
jeanlinux has joined #ruby
joonty2 has joined #ruby
muelleme has joined #ruby
omphe has joined #ruby
brendan- has quit [Ping timeout: 244 seconds]
joonty1 has quit [Ping timeout: 246 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
jblack has quit [Ping timeout: 265 seconds]
muelleme has quit [Ping timeout: 250 seconds]
matp_ has quit [Ping timeout: 246 seconds]
Burgestrand has joined #ruby
kassav has joined #ruby
<kassav> hello community
<kassav> i got a lot of segment fault when updating to ruby 2.3.1
<kassav> any idea about such issue
hightower2 has joined #ruby
dasher00 has quit [Ping timeout: 258 seconds]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<SegFaultAX> Oh boy. There are 1e6 + 1 reasons why Ruby might segfault. :)
toretore has joined #ruby
<godd2> perhaps you grabbed the wrong platform?
<kassav> SegFaultAX: how to debug it
<Burgestrand> kassav also double-check that if you're using any native gems you might want to re-compile them (gem pristine --extensions)
<kassav> Process memory map can help?
matp has joined #ruby
Snowy has joined #ruby
aidalgol has quit [Quit: zZzZZzzzz]
JeanCarloMachado has quit [Ping timeout: 250 seconds]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<SegFaultAX> kassav: Carefully.
<SegFaultAX> Debugging segfaults is something of a black art, I'm afraid. Particularly in Ruby.
Burgestrand has joined #ruby
xall has joined #ruby
<SegFaultAX> You might start by simply downgrading your Ruby version.
<godd2> Did it segfault while installing or while trying to run something in particular?
chouhoulis has joined #ruby
<kassav> while running an RoR app
<kassav> it was good in ruby 2.2 but it crashed in some cases with ruby2.31
<godd2> what version of Rails?
CloCkWeRX has joined #ruby
<kassav> 4.2.5
<apeiros> easiest first step is what Burgestrand suggested - reinstall your gems
<apeiros> you might have native ones which crash if compiled against an older ruby
xall has quit [Ping timeout: 250 seconds]
<kassav> i updated some gems, but not all
<godd2> kassav are you using rvm?
<kassav> yes and same thing with rbenv
k13nox has joined #ruby
<godd2> then make a new gemset to install all-new gems
chouhoulis has quit [Ping timeout: 250 seconds]
xall has joined #ruby
<kassav> yes i will check that
<kassav> thank you
JeanCarloMachado has joined #ruby
centrx has joined #ruby
j2k has joined #ruby
centrx has quit [Ping timeout: 256 seconds]
jaguarmagenta has joined #ruby
nikivi has quit [Quit: irc]
godd2 has quit [Ping timeout: 256 seconds]
gregf_ has joined #ruby
maokomioko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 268 seconds]
kafloopascope has quit [Ping timeout: 250 seconds]
codfection has quit [Read error: Connection reset by peer]
brendan- has joined #ruby
ddffg has quit [Ping timeout: 250 seconds]
jaxxstorm has joined #ruby
tvw has joined #ruby
qba73 has quit [Ping timeout: 245 seconds]
brendan- has quit [Ping timeout: 268 seconds]
joonty1 has joined #ruby
joonty2 has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Ping timeout: 258 seconds]
jaiks has quit [Ping timeout: 245 seconds]
xall has quit [Ping timeout: 250 seconds]
joonty2 has joined #ruby
jaiks has joined #ruby
joonty1 has quit [Ping timeout: 250 seconds]
jaxxstorm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codfection has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
charliesome has joined #ruby
armin has quit [Remote host closed the connection]
xall has joined #ruby
armin has joined #ruby
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c355e3b has joined #ruby
CloCkWeRX has joined #ruby
definity has joined #ruby
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 252 seconds]
kies has quit [Ping timeout: 265 seconds]
kn330 has quit [Ping timeout: 265 seconds]
k13nox has quit [Remote host closed the connection]
k13nox has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
maokomioko has joined #ruby
maokomioko has quit [Client Quit]
kies has joined #ruby
heinrich5991 has quit [Quit: quit.]
armin has quit [Remote host closed the connection]
<syndikate> Does the ruby `map` operate in parallel compared against `each`?
tau has joined #ruby
nadir has joined #ruby
<elomatreb> syndikate: No, in fact map uses each internally
k13nox has quit [Remote host closed the connection]
armin has joined #ruby
<syndikate> Ah okay, thanks elomatreb. I had to optimise a method which uses each on an array, point came up in discussion to try map - I was not sure if it would cause any difference
joonty1 has joined #ruby
<elomatreb> syndikate: The only difference is that each returns the original array, map returns a new array containing the return values of the block you passed
<syndikate> Ah okay. Thanks.
cbetta has joined #ruby
joonty2 has quit [Ping timeout: 256 seconds]
joonty2 has joined #ruby
definity has quit [Ping timeout: 256 seconds]
p1ngarn has joined #ruby
GodFather has joined #ruby
virgil has quit [Remote host closed the connection]
joonty1 has quit [Ping timeout: 245 seconds]
definity has joined #ruby
sepp2k has joined #ruby
joonty2 has quit [Ping timeout: 265 seconds]
brendan- has joined #ruby
jblack has joined #ruby
joonty2 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
blackbombay has joined #ruby
brendan- has quit [Ping timeout: 268 seconds]
joonty1 has joined #ruby
heinrich5991 has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
armin has quit [Remote host closed the connection]
jblack has quit [Ping timeout: 246 seconds]
joonty2 has quit [Ping timeout: 252 seconds]
armin has joined #ruby
joonty2 has joined #ruby
nankyokusei has joined #ruby
joonty1 has quit [Ping timeout: 260 seconds]
libastral has joined #ruby
joonty1 has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
joonty2 has quit [Ping timeout: 246 seconds]
agent_white has quit [Quit: gnight]
zotherstupidguy has quit [Quit: WeeChat 1.6]
Beams has quit [Quit: .]
Beams has joined #ruby
jaxxstorm has joined #ruby
joonty2 has joined #ruby
jaxxstorm has quit [Client Quit]
joonty1 has quit [Ping timeout: 256 seconds]
joonty1 has joined #ruby
joonty2 has quit [Ping timeout: 250 seconds]
joonty2 has joined #ruby
joonty1 has quit [Ping timeout: 256 seconds]
bikram has joined #ruby
joonty1 has joined #ruby
joonty2 has quit [Ping timeout: 256 seconds]
ponzi has joined #ruby
joonty2 has joined #ruby
<ponzi> Just upgraded via rbenv to 2.3.2 but now can't install gems due to cert error. Downloaded rubygems-update-2.6.7 but that errors with ERROR: While executing gem ... (TypeError)
<ponzi> no implicit conversion of nil into String
Burgestrand has joined #ruby
joonty1 has quit [Ping timeout: 252 seconds]
bikram has quit [Quit: leaving]
ponzi has left #ruby [#ruby]
ponzii has joined #ruby
bikram has joined #ruby
meinside has joined #ruby
alibby has joined #ruby
Vile` has joined #ruby
ponzii has left #ruby [#ruby]
ponzii has joined #ruby
sid_fules has joined #ruby
sdothum has joined #ruby
xall has joined #ruby
ptierno has quit [Ping timeout: 250 seconds]
jaxxstorm has joined #ruby
k13nox has joined #ruby
edwinvdgraaf has quit [Ping timeout: 245 seconds]
edwinvdgraaf has joined #ruby
brendan- has joined #ruby
<ponzii> Did I miss something? I'm signed in and there are 900 users on this channel but I don't see any messages.
<apeiros> no, you didn't miss anything. nobody had an answer.
jaxxstorm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has quit [Ping timeout: 268 seconds]
jaguarmagenta has joined #ruby
<ponzii> apeiros: No, I mean there were no messages at all until yours. Everyone asleep?
<flying> I'm using .each_with_index with an array to print a hostname with a , after each of them.... how can avoid to print the , at the last hostname?
johnmilton has joined #ruby
<apeiros> ponzii: no. just nobody with an answer to your problem.
<apeiros> flying: use join instead of each
<flying> join?
edwinvdgraaf has quit [Ping timeout: 260 seconds]
ponzii has quit [Quit: [BX] Hey baby, come sit on my lap. We'll talk about whatever pops up.]
<apeiros> >> ["foo", "bar", "baz"].join(", ")
<ruby[bot]> apeiros: # => "foo, bar, baz" (https://eval.in/679462)
joonty1 has joined #ruby
jaguarmagenta has quit [Ping timeout: 258 seconds]
jaxxstorm has joined #ruby
edwinvdgraaf has joined #ruby
joonty2 has quit [Ping timeout: 245 seconds]
TvL2386 has joined #ruby
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaxxstorm has quit [Client Quit]
sczizzo has joined #ruby
JeanCarloMachado has quit [Ping timeout: 246 seconds]
joonty2 has joined #ruby
joonty1 has quit [Ping timeout: 240 seconds]
johnmilton has quit [Ping timeout: 248 seconds]
jolly_green has joined #ruby
mBailey_j has quit [Quit: Leaving]
joonty1 has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
joonty2 has quit [Ping timeout: 248 seconds]
sid_fules has quit [Remote host closed the connection]
Wizznt has joined #ruby
ddffg has joined #ruby
definity has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
AlexRussia has joined #ruby
csk has joined #ruby
joonty2 has joined #ruby
flcnmv has joined #ruby
csk has quit [Client Quit]
joonty1 has quit [Ping timeout: 250 seconds]
joonty1 has joined #ruby
definity has joined #ruby
xall has quit [Ping timeout: 244 seconds]
jaxxstorm has joined #ruby
jolly_green has quit [Quit: leaving]
Kendos-Kenlen has joined #ruby
joonty2 has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jaxxstorm has quit [Ping timeout: 248 seconds]
joonty2 has joined #ruby
aphprentice has quit [Quit: Connection closed for inactivity]
aryaching has quit [Ping timeout: 260 seconds]
<pagios> hello, http://pastebin.com/MLaBGQJy can someone tell me why i dont see an output?
<ruby[bot]> pagios: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/40024d6235aca1abd679481f6f38d4c4
<ruby[bot]> pagios: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
dionysus69 has joined #ruby
joonty1 has quit [Ping timeout: 256 seconds]
brendan- has joined #ruby
<pagios> ?
<canton7> pagios, you application terminates as soon as that main thread exits, which happens before any of the other threads get a chance to spin up
<canton7> (at a guess)
<canton7> keep track of all the threads you create, and join them all on the main thread before exiting
joonty1 has joined #ruby
bluOxigen has joined #ruby
<pagios> how
<toretore> also, you're not actually trying to write to stdout
joonty2 has quit [Ping timeout: 256 seconds]
tyang has joined #ruby
<pagios> STDOUT.puts?
<apeiros> $stdout
joonty2 has joined #ruby
<apeiros> STDOUT is more like the backup
<pagios> what to use
sparch has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
pawnbox has quit [Ping timeout: 258 seconds]
<apeiros> $stdout over STDOUT. but plain puts is sufficient (you don't even have that in your code)
<apeiros> rather unconventional indentation/code style btw.
<toretore> in short, everything you're doing is wrong :P
tyang_ has joined #ruby
<pagios> nothing prints
allcentury has joined #ruby
joonty1 has quit [Ping timeout: 252 seconds]
<apeiros> you should update the code. not just relink and tell what you did.
douglascorrea has joined #ruby
<apeiros> at least I see no puts in your linked code.
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> you can actually update a gist. you don't have to create a new one.
<apeiros> makes it easier for us to see what you changed too, since they're git repos - i.e. they've got diffs
omphe has joined #ruby
<apeiros> your code still doesn't wait for all threads to finish, as canton7 told you earlier.
synthroid has joined #ruby
tyang has quit [Ping timeout: 248 seconds]
gizmore has joined #ruby
gizmore|2 has quit [Ping timeout: 268 seconds]
AckZ has joined #ruby
zipper has joined #ruby
<zipper> does `sudo gem update --system` really install the latest ruby? It only seemed to install the latest version of the gem execuatble
kobain has joined #ruby
<zipper> However if I wanted to install the latest ruby what do I do?
<apeiros> gem is not about the ruby executable. so no, it does not install the latest ruby.
<apeiros> how to install your latest ruby depends on how you installed ruby in the first place.
<apeiros> usually either your package or one of the ruby version managers
<blackbombay> question with many possible answers ;-) what OS are you running? it might be possible to use your package manager, otherwise it might be best to use something like chruby & ruby-install.
tyang_ has quit [Read error: Connection reset by peer]
tyang_ has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
j2k has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
jblack has joined #ruby
d0nn1e has joined #ruby
<zipper> It's on osc
<zipper> *osx
<zipper> apeiros: I think it came with ruby
<apeiros> system ruby?
<zipper> Yes I just want ruby --version to give me the latest ruby
<apeiros> don't touch system ruby
pawnbox has quit [Remote host closed the connection]
<apeiros> install a new ruby on the side
<zipper> I guess I could set a user ruby
<zipper> Ok should I use rvm?
<apeiros> that's one variant, yes
<zipper> or homebrew?
<apeiros> up to you
<zipper> Homebrew seems to have ruby
xall has joined #ruby
brendan- has joined #ruby
tlaxkit has joined #ruby
jblack has quit [Ping timeout: 250 seconds]
<flying> how can I add a string before and after a arrayvalue?
<flying> variableX.split("before stuff ... myvariable .... after stuff")
<flying> how can I do that?
<flying> I'm trying with the split method
the_drow has joined #ruby
<blackbombay> unshift and push?
<blackbombay> i dont really understand tbh.
<apeiros> flying: "#{before}text#{after}"
egg_ has quit []
<apeiros> or if before/after are static and text is dynamic: "before#{dynamic}after"
sid_fules has joined #ruby
<apeiros> huh. wait.
<apeiros> before/after *array* value? split? I'm confused :D
<pagios> apeiros, any better way of doing it? https://gist.github.com/hiperpat/a368d7cb8487f7346e7ebee6d787682b
<apeiros> flying: please show an example with data. before/after is relevant.
<apeiros> pagios: you should synchronize access to $stdout
<apeiros> and `$stdout.puts #{ipCommand}` prints nothing
<apeiros> because # starts a comment
<pagios> synchronize stdou?
<pagios> it works fine now but i think it can be done better
<flying> okok
jhack has joined #ruby
<flying> apeiros: I have an array like array = ["test1", "test2"]
<flying> I need to get something like:
<pagios> apeiros, can you please explain more?
<flying> mystrings=[str1:test1:80, str2:test2:80]
fmcgeough has joined #ruby
Snowy has quit [Remote host closed the connection]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Snowy has joined #ruby
<flying> any help?
<blackbombay> array.map.with_index{|e,i| "str#{i+1}:#{e}:80" } ?
the_drow has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
brendan- has joined #ruby
<zipper> I wish I was on arch rn
jblack has joined #ruby
Snowy has quit [Ping timeout: 260 seconds]
<flying> probably it works but not for me
<flying> because I need to run it in puppet
xaxisx has joined #ruby
<toretore> ?code flying
<ruby[bot]> flying: We can't help you without your code, please post it to https://gist.github.com
nankyokusei has joined #ruby
Savage is now known as suck
borodin has quit [Ping timeout: 240 seconds]
<pagios> how can i synch output in a threaded env
<apeiros> pagios: mutex = Mutex.new; mutex.synchronize do …access to shared resource… end
<apeiros> "shared resource" in your case is the $stdout, and "access" is printing stuff on it.
<apeiros> flying: ok, what I said earlier then, but use map to do it for each element in your array.
<apeiros> I see blackbombay already said as much :D
<apeiros> blackbombay: with_index takes the starting number as argument, so with_index(1) to avoid i+1
<apeiros> sadly each_with_index does not :<
jblack has quit [Ping timeout: 252 seconds]
<blackbombay> hm cool, nice feature
<apeiros> pagios: btw., threads.each(&:join) IMO nicer than the full block.
<zipper> I tried but ruby --version always uses /usr/bin/ruby and another ruby can't come before it :(
<blackbombay> zipper: brew should have a recent ruby, does it not?
<zipper> idk if I should manipulate my path
<blackbombay> did it not explain that to you on install?
nankyokusei has quit [Ping timeout: 240 seconds]
ishe_ua has quit [Remote host closed the connection]
<zipper> blackbombay: Yeah but the ruby in my path is like always `/usr/bin/ruby`
<zipper> It didn't
<zipper> blackbombay: What exactly should it have explained?
<zipper> What are you saying?
xall has quit [Read error: Connection reset by peer]
<apeiros> pagios: what do you mean by "still not sunchd"?
<apeiros> the output is now properly synched as far as I see it.
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pagios> apeiros, but some threads return before outhers
<apeiros> yes
<pagios> like 10.11.1.50 before 10.11.1.40
<apeiros> that happens when you run stuff parallely
<pagios> i see the same output if i dont synch i mean
cbetta has quit [Quit: Connection closed for inactivity]
<pagios> without the semaphore
<apeiros> if you want output to be ordered, then you have to code that up
<apeiros> the semaphore is not about ordering
<blackbombay> zipper: when there is a conflict between an OSX and brew software it usually tells you that. i think your options are to add a suffix, so it's "ruby23" or use a version manager like chruby(with ruby-install for installing).
<apeiros> it's about ensuring that no two threads write at the same time.
<pagios> if they write at the same time what happens?
<zipper> blackbombay: hmmm I saw it. It's about linking
<apeiros> depends on the operation you perform. with puts in mri 1.8-2.1 I know it was 2 operations, printing the string and printing the newline. without synchronization, those two could be interrupted.
<zipper> `brew link --overwrite ruby`
<blackbombay> yeah
<pagios> apeiros, so there is a risk of not printing a thread output
<blackbombay> i wouldnt do that
<blackbombay> some osx stuff uses the system ruby
<apeiros> pagios: no. there is a risk of having output mixed.
<pagios> ok
<pagios> check that code, look how simpler it is in bash
<pagios> and it is ordered
<apeiros> and it's not parallely executed
<t-richards> Another alternative might be to use a dedicated scanning utility like nmap or masscan
<pagios> it is since i am backgrounding
<t-richards> Something like `$ masscan 10.11.1.0/24 --ping` should do the trick
<apeiros> if the output is ordered, it isn't
<apeiros> or you're just incredibly lucky.
<pagios> apeiros, any easier way to do in ruby?
<apeiros> not by much
<zipper> Ok another question. Say I update rubygems to 2.6.8 using `sudo gem update --system`. How come `gem --version` gives 2.5.1?
<apeiros> 1.upto(253) avoids i+1
<pagios> thanks apeiros for your help
<pagios> i want from 1 to 254
xall has joined #ruby
<apeiros> well, 253 times is wrong then
<pagios> 254 starts from 0 to 254
<apeiros> that's 255 times
<apeiros> [*0..254].size
xaxisx has quit [Quit: xaxisx]
<apeiros> >> [*0..254].size
<ruby[bot]> apeiros: # => 255 (https://eval.in/679529)
<apeiros> off-by-one error on your part.
<apeiros> `1.upto(254) do |i|` or `254.times do |i| i+1`
<pagios> nice
<pagios> in the i+1 i should do it only for the first instance
codfection has quit [Remote host closed the connection]
<apeiros> only if you want a gap
<apeiros> eh, wrong way round
<apeiros> only if you want the same number twice
<zipper> hmmm time seems to fix these issues magically
<zipper> or opening new terminals continuously until it works
<pagios> upto seems to do the trick
benlieb has joined #ruby
<apeiros> the grep/cut/cut could porbably be done in a nicer fashion in ruby. my bash is not fluent enough to translate it reliably, though.
codfection has joined #ruby
<apeiros> probably `ping …`[/bytes from ([^:]+):/, 1]
rfoust has joined #ruby
<apeiros> won't work nice with ipv6 (which has : in it)
definity has quit [Ping timeout: 256 seconds]
<apeiros> `ping …`[/bytes from (\S+): /, 1] # is probably more reliable
aegis3121 has joined #ruby
cbetta has joined #ruby
gingray has quit [Ping timeout: 258 seconds]
mBailey_j has joined #ruby
dviola has joined #ruby
redpants has joined #ruby
<pagios> apeiros, how can i read pipes input in ruby
<pagios> prog | ruby myprog.rb
<apeiros> $stdin.gets
<apeiros> or any other read method on $stdin
blaxter has quit [Quit: foo]
TomyWork has quit [Ping timeout: 256 seconds]
mwlang has joined #ruby
<apeiros> if you properly process ARGV, then you can alternatively use ARGF.gets (aka Kernel#gets)
<pagios> apeiros, so mainly | and redirections are mainly using the same data
<pagios> pipes and > < both work on stdin out err
csk has joined #ruby
<apeiros> `a | b` in shells means "start a and b, let a's stdout write to b's stdin"
csk has quit [Read error: Connection reset by peer]
<pagios> a > b means let stdout of a write to fileb
<pagios> or stream b
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ruby
jonashansen has joined #ruby
TomyWork has joined #ruby
harfangk has joined #ruby
Snowy has joined #ruby
jonashansen has quit [Client Quit]
gnufied has joined #ruby
definity has joined #ruby
douglascorrea has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
<apeiros> pagios: https://gist.github.com/apeiros/eab5ccd57f1589464e9ea2cd46d4b9d2 - you asked how it could be done nicer. that's how I'd do it if I wanted the output to be ordered.
<wnd> what is the idiomatic way to remove a know prefix from each string in an enumerable, e.g. %w(foo_1 foo_2 foo_3) => %w(1 2 3)
Beams has quit [Quit: .]
<apeiros> wnd: fixed length?
<apeiros> str[len..-1]
<wnd> fixed length as in the prefix is static
<apeiros> pagios: actually… reload. I'd probably rather do it like this.
<wnd> that's what I would've done, but somehow I feel like it might not have been the best way
the_drow has joined #ruby
<wnd> thanks
allcentury has quit [Ping timeout: 246 seconds]
the_drow has quit [Remote host closed the connection]
<apeiros> wnd: I don't see a better way
saslam has joined #ruby
<apeiros> it's simple and fast. all other ways I know of are less simple and slower.
<wnd> the only thing why I think there might've been something better is because of seemingly magical start index
edwinvdgraaf has quit [Ping timeout: 244 seconds]
<wnd> but now that I have a second opinnion on String#[] I'm ok with that
ferr has quit [Quit: WeeChat 1.5]
<apeiros> fun. I rather expected "magical end index" than "start" :D
<apeiros> start index isn't really magical :)
rapha has joined #ruby
<rapha> Hi!
<Burgestrand> Hi ho!
<rapha> How can I achieve the result at https://regex101.com/r/PLIZ66/1 with Ruby's .match()?
<rapha> (Right now it only ever gives back the first matching character, even with the "m" flag set.
inoperable has joined #ruby
csk has joined #ruby
millerti has joined #ruby
<apeiros> m flag only changes how . matches
<apeiros> and [\h\p{Arabic}] is a single character. you probably want [\h\p{Arabic}]+
<apeiros> or scan instead of match, if you want individual characters.
<apeiros> @ rapha
Snickers_ has joined #ruby
<rapha> apeiros: no, i want a string containing all matches ... i.e. in this case the whole text without HTML, etc.
malconis has joined #ruby
<rapha> .scan is working but returns an array of results, .match doesn't work even with the + :(
<rapha> (it actually returns "ec")
<apeiros> gsub then. and match for the opposite, replacing it with an empty string.
<apeiros> "doesn't work" is simply wrong :)
<rapha> gsub without substituting anything?
<rapha> ah
<apeiros> it's just important that you understand *what they do*
<rapha> okay
<rapha> okay
<apeiros> and match does "return first occurrence"
<aegis3121> Could also probably do .scan(/stuff/).join ¯\_(ツ)_/¯ but .gsub would be faster I imagine.
<apeiros> while scan does "return all occurrences". and you can't return all occurrences in a string.
<rapha> hmm i hoped i could use something other than gsub because i couldnt figure out how to negate [\h\p{Arabic}]
<apeiros> aegis3121: yeah, that's why I suggested it :)
<apeiros> rapha: uh, just put a ^ in
<apeiros> [^…char class]
Snickers has quit [Ping timeout: 246 seconds]
<apeiros> right after the [, that is. that's negating a character class.
mim1k|wo1k has joined #ruby
mim1k|work has quit [Disconnected by services]
mim1k|wo1k is now known as mim1k|work
sepp2k has quit [Ping timeout: 245 seconds]
edwinvdgraaf has joined #ruby
jaguarmagenta has joined #ruby
saslam has quit [Ping timeout: 250 seconds]
<rapha> apeiros: that didn't work on regex101.com. and now trying it with gsub, it gives very weird results, removing the whitespace and /some/ of the HTML, but leaving little fragments like "a", and again "ec" in there.
<mBailey_j> this isn't a gem right? tcltklib.so
Snickers_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rapha> mBailey_j: nope, that's a shared object library
<mBailey_j> ok..
Beams has joined #ruby
chouhoulis has joined #ruby
<inoperable> offtopic: huh, guys seen that microsoft joined the linux foundation on platinium level? 0.5 mln usd/year - steve ballmer must have a bad day ;]
ptierno has joined #ruby
<inoperable> just read it, and it's sooo wrong hehe
<apeiros> rapha: note that parsing HTML with regex is a *bad* idea
<apeiros> I didn't really pay attention that you were processing html until yet. else I'd have said it earlier. use e.g. Nokogiri to parse the html. it can extract the plain text too using its #text method.
cdg has joined #ruby
igniting has quit [Ping timeout: 268 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
<toretore> rapha: are you sure you shouldn't just remove the html tags?
<toretore> looking specifically for arabic characters seems weird
<rapha> apeiros: parsing it would be one thing, i'm just ignoring it.
<apeiros> and the "ec" is left because \h matches it
<apeiros> rapha: haha. nice try.
<apeiros> you can't ignore html without parsing it.
<rapha> ur
nettoweb1 has joined #ruby
<rapha> before it's html it's just characters
<rapha> and certainly no arabic ones
<apeiros> can be.
<rapha> and since i also want to get rid of all punctuation or other special characters...
<Burgestrand> What about image title or alt text?
<apeiros> ^
<Burgestrand> What about noscript tags, or comments?
<rapha> Burgestrand: i control the html
chouhoulis has quit [Ping timeout: 246 seconds]
<apeiros> anyway - why's the \h in your regex?
nettoweb has quit [Ping timeout: 258 seconds]
<rapha> horizontal whitespace
<rapha> but now i found a solution: .gsub(/[^( \p{Arabic})]|[()]/, '')
<apeiros> that's not what \h is :)
<apeiros> \h is hex digits
inoperable has left #ruby ["Textual IRC Client: www.textualapp.com"]
inoperable has joined #ruby
<rapha> apeiros: not according to the regex101.com quick reference :(((
blackwind_123 has joined #ruby
<apeiros> different regex engines, different rules
<rapha> *sigh*
<flying> what is the escape character in ruby?
<apeiros> flying: for what? usually \
<apeiros> rapha: I think char classes work a bit differently from what you think how they work (and that's pan-regex-engines)
<rapha> apeiros: i think they match a character if that character is part of that class, not correct?
phwelo has joined #ruby
<apeiros> rapha: yes. and ( are just characters in there too. there's no grouping.
polishdub has joined #ruby
skweek has joined #ruby
blackwind_123 has quit [Client Quit]
<apeiros> i.e. [^( \p{Arabic})] == [^ ()\p{Arabic}]
<apeiros> and since you do |[()], I'd say you wanted: [^ \p{Arabic}]
benlieb has quit [Quit: benlieb]
<rapha> actually, what i wanted was to also remove parentheses and other special chars
<rapha> perhaps that should be a second regex
<apeiros> since "(" etc. don't match \p{Arabic}, that shouldn't be necessary.
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
p1ngarn has quit [Quit: p1ngarn]
loincloth has joined #ruby
<toretore> \p{Arabic} doesn't seem to match vowel marks or whatever they are, i don't know if that's important
benlieb has joined #ruby
jhack has quit [Quit: jhack]
griffindy has joined #ruby
loincloth has quit [Remote host closed the connection]
aupadhye has quit [Remote host closed the connection]
dling has quit []
aupadhye has joined #ruby
muelleme has joined #ruby
<rapha> toretore: for my purposes right now that's exactly what i want. there's other cases though where i'll have to think on how to match the vowel marks (that's exactly what they are) as well.
SteenJobs has joined #ruby
Snickers has joined #ruby
Rodya_ has joined #ruby
GodFather has joined #ruby
<apeiros> there's probably a \p{} class. otherwise you might be lucky and they're neatly arranged in a codepoint range.
<apeiros> in the worst case - enumerate them
railswebdev has joined #ruby
Guest69 has joined #ruby
rippa has joined #ruby
naprimer_3 has quit [Ping timeout: 258 seconds]
muelleme has quit [Ping timeout: 268 seconds]
loincloth has joined #ruby
loincloth has quit [Remote host closed the connection]
naprimer_3 has joined #ruby
<Guest69> anyone here familiar with Warbler?
edwinvdgraaf has quit [Read error: Connection reset by peer]
jstimm has joined #ruby
suck is now known as zeroday
<adam12> Guest69: Might be worth asking in #jruby too.
mim1k|wo1k has joined #ruby
jhack has joined #ruby
<Guest69> adam12 ++
csk has quit [Quit: ZZZzzz…]
lenwood has quit [Ping timeout: 252 seconds]
Flipez has joined #ruby
loincloth has joined #ruby
mim1k|work has quit [Ping timeout: 250 seconds]
loincloth has quit [Remote host closed the connection]
banisterfiend has joined #ruby
ta_ has quit [Remote host closed the connection]
<Kilo`byte> how would i convert a string to utf-16-le representationb
SteenJobs has quit [Quit: SteenJobs]
DoubleMalt has joined #ruby
jstimm has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> &ri String#encode Kilo`byte
zeroday is now known as suck
Takumo has quit [Quit: ZNC is going down!]
<Kilo`byte> thanks!
allcentury has joined #ruby
SteenJobs has joined #ruby
terens has quit [Ping timeout: 258 seconds]
bestel has joined #ruby
shayan has joined #ruby
redpants has quit [Ping timeout: 265 seconds]
bestel has left #ruby [#ruby]
bestel has joined #ruby
last_staff has quit [Quit: last_staff]
bestel has left #ruby [#ruby]
j2k has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
edwinvdgraaf has joined #ruby
bestel has joined #ruby
bestel has left #ruby [#ruby]
jmignault has joined #ruby
raul782 has joined #ruby
j2k has quit [Client Quit]
jstimm has joined #ruby
SteenJobs has quit [Ping timeout: 248 seconds]
dviola has joined #ruby
zipper has quit [Ping timeout: 260 seconds]
SteenJobs has joined #ruby
DoubleMalt has quit [Ping timeout: 245 seconds]
babblebre has joined #ruby
jstimm has quit [Ping timeout: 260 seconds]
kbdkode has joined #ruby
shinnya has joined #ruby
xall has quit [Ping timeout: 250 seconds]
redpants has joined #ruby
brendan- has joined #ruby
DoubleMalt has joined #ruby
aupadhye has quit [Quit: Leaving]
yardenbar has quit [Ping timeout: 260 seconds]
jmignault has quit [Ping timeout: 258 seconds]
nikivi has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
suchness has joined #ruby
shayan has quit [Quit: shayan]
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
Takumo has joined #ruby
Takumo has joined #ruby
mBailey_j has left #ruby ["Leaving"]
Takumo has quit [Remote host closed the connection]
inoperable is now known as Synapsis
User458764 has joined #ruby
loincloth has joined #ruby
Synapsis is now known as inoperable
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
douglascorrea has joined #ruby
codfection has quit [Ping timeout: 256 seconds]
loincloth has quit [Read error: Connection reset by peer]
pandaant has quit [Remote host closed the connection]
mwlang has quit [Quit: mwlang]
chouhoul_ has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
xall has joined #ruby
byte512 has quit [Quit: WeeChat 1.6]
DoubleMalt has quit [Ping timeout: 246 seconds]
loincloth has joined #ruby
loincloth has quit [Remote host closed the connection]
nankyokusei has joined #ruby
redpants has quit [Ping timeout: 245 seconds]
igniting has joined #ruby
the_drow has joined #ruby
nikivi has quit [Quit: zzz]
nankyokusei has quit [Ping timeout: 250 seconds]
byte512 has joined #ruby
synthroid has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chopin has joined #ruby
mhib has joined #ruby
tdy has joined #ruby
mhib has quit [Client Quit]
aganov has quit [Quit: Leaving]
kassav has quit [Quit: kassav]
suchness has left #ruby [#ruby]
suchness has joined #ruby
<flying> how can I print only the first element of the array in this code? <%= array.each.map{|e| "\"str:#{e}:80\""}.join(", ") %>
codfection has joined #ruby
yupvr has quit [Ping timeout: 252 seconds]
Kendos-Kenlen has quit [Quit: Konversation terminated!]
csk has joined #ruby
aryaching has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
jblack has joined #ruby
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
<Silthias1> array.each.map{|e| "\"str:#{e}:80\""}.join(", ").first not working as you need?
tdy has quit [Ping timeout: 248 seconds]
<canton7> .each.map? O_o
DoubleMalt has joined #ruby
<suchness> flying replace join with .first
gingray has joined #ruby
tdy has joined #ruby
Devalo has joined #ruby
SuperLag has quit [Remote host closed the connection]
loincloth has joined #ruby
Snowy has quit [Quit: ragequit]
libastral has quit [Ping timeout: 256 seconds]
<baweaver> each.map is redundant
<baweaver> just use map
jmignault has joined #ruby
loincloth has quit [Ping timeout: 268 seconds]
aegis312_ has joined #ruby
gagrio has quit [Quit: Leaving...]
SteenJobs has joined #ruby
aegis3121 has quit [Ping timeout: 256 seconds]
synthroid has joined #ruby
joonty1 has joined #ruby
loincloth has joined #ruby
SuperLag has joined #ruby
jmignault has quit [Ping timeout: 265 seconds]
plantfood has joined #ruby
plantfood has quit [Client Quit]
elaptics has joined #ruby
aegis312_ has quit [Ping timeout: 265 seconds]
jshjsh has joined #ruby
joonty2 has quit [Ping timeout: 256 seconds]
amclain has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
roamingd_ has quit [Remote host closed the connection]
joonty2 has joined #ruby
loincloth has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
roamingdog has quit [Remote host closed the connection]
mark_66 has quit [Remote host closed the connection]
roamingdog has joined #ruby
joonty1 has quit [Ping timeout: 258 seconds]
<gener1c> hey
roamingdog has quit [Remote host closed the connection]
<gener1c> can someone help me out with what i do with my pull request?
maokomioko has joined #ruby
<gener1c> the build passed
maokomioko has quit [Client Quit]
roamingdog has joined #ruby
<gener1c> who do i talk to in ruby-dev about it?
aegis3121 has joined #ruby
roamingdog has quit [Remote host closed the connection]
<gener1c> im not getting any comments or code reviews , anything essentially is acceptable
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
joonty1 has joined #ruby
careta has joined #ruby
nikivi has joined #ruby
zipper has joined #ruby
joonty2 has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Quit: Leaving.]
aufi has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joonty2 has joined #ruby
bmn has quit [Quit: obai]
<chrisseaton> gener1c: what's the link?
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
joonty1 has quit [Ping timeout: 265 seconds]
bmn has joined #ruby
<definity> How do I know what to Post to create a entry to my dataabse?
bovis has joined #ruby
Salih has quit [Quit: Leaving]
<definity> I am using JSON and I'm not quite sure what layout I should use to post to 2 tables.
<definity> in 1 query.
jaguarmagenta has joined #ruby
joonty1 has joined #ruby
shinnya has quit [Ping timeout: 258 seconds]
peteykun has joined #ruby
joonty2 has quit [Ping timeout: 250 seconds]
<apeiros> 2 tables usually means 2 insert queries
<suchness> Definity: Um. I think you might have missed something in whatever guide you are using.
<definity> Okay
<suchness> You should be figuring out how to interperate whatever you posted in your controller, and then yes TWO inserts if there are two things to update
<definity> I'm not using a guide.
joonty2 has joined #ruby
<definity> okay thanks :)
edwinvdgraaf has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Ping timeout: 256 seconds]
joonty1 has quit [Ping timeout: 256 seconds]
omphe has joined #ruby
CHoltk has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
[Butch] has joined #ruby
bmn_ has joined #ruby
saslam has joined #ruby
joonty2 has quit [Client Quit]
bmn has quit [Ping timeout: 246 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
pragmaticus has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
nikivi has quit [Quit: irc]
DoubleMalt has quit [Ping timeout: 260 seconds]
josealobato has joined #ruby
mBailey_j has joined #ruby
sdelic has joined #ruby
s2013 has joined #ruby
moei has quit [Quit: Leaving...]
kbdkode has quit [Quit:   see ya  ]
pawnbox has joined #ruby
moei has joined #ruby
konsolebox has joined #ruby
Derperperd has joined #ruby
railssmith has quit [Ping timeout: 268 seconds]
armin has quit [Quit: relate to the matter as i drop the bomb]
k13nox has quit [Remote host closed the connection]
sphex has quit [Ping timeout: 245 seconds]
sphex has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
smlocal has joined #ruby
saslam has quit [Read error: Connection reset by peer]
<gener1c> its 4 simple lines
<gener1c> i didnt make a unit test for it , maybe i should do that
saslam has joined #ruby
<chrisseaton> gener1c: I'd say it's missing documentation and tests, so it seems like a bit of a fly-by commit. And I think you should add some proper introduction and explanation of why you are adding this feature to the comments.
<chrisseaton> gener1c: it looks like dumped code to be honest, I wouldn't be enthusiastic about tidying it up and merging it either, sorry
saslam has quit [Read error: Connection reset by peer]
<chrisseaton> gener1c: and changelog etc etc etc
<gener1c> dumped code?
DoubleMalt has joined #ruby
<gener1c> i copied it from nls
saslam has joined #ruby
<gener1c> the style i mean
<chrisseaton> You've just dumped some code on their doorstep and expect them to do all the boring work of tests, documentation, changeling etc
<chrisseaton> The actual code is probably fine
<mBailey_j> need some help figuring out how to resolve this error: https://gist.github.com/anonymous/0179396fca9ddf930051bc32ca225b92
konsolebox has quit [Ping timeout: 250 seconds]
<chrisseaton> Think of the comments section of the PR as being like a job application cover letter - introduce your feature and pitch why you think it should be included.
kafloopascope has joined #ruby
bikram has quit [Quit: Lost terminal]
<gener1c> even if its just a more complete implementation of the standard?
Devalo has quit [Ping timeout: 256 seconds]
armin has joined #ruby
<gener1c> ok ill do it
bmn_ has quit [Quit: obai]
flying has quit []
<gener1c> https://github.com/ruby/ruby/pull/1478 chrisseaton - what do you thik about this comment?
<gener1c> ill make test and doc as well ...
<gener1c> tests/8'
raul782 has quit [Read error: Connection reset by peer]
bmn has joined #ruby
<chrisseaton> gener1c: that's better
<chrisseaton> gener1c: I can't make anyone in the core team actually look at it though, I'm afraid
raul782 has joined #ruby
byte512 has quit [Ping timeout: 246 seconds]
zapata has joined #ruby
matheusmoreira has quit [Remote host closed the connection]
matheusmoreira has joined #ruby
SCHAAP137 has joined #ruby
claudiuinberlin has quit []
smlocal has quit [Remote host closed the connection]
bmn has quit [Quit: obai]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
xonico has joined #ruby
bmn has joined #ruby
muelleme has joined #ruby
konsolebox has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
senayar has quit []
aufi has quit [Quit: Leaving]
sdelic has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 260 seconds]
CHoltk has joined #ruby
Derperperd has quit [Quit: Derperperd]
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alibby has quit [Read error: No route to host]
alibby1 has joined #ruby
flcnmv has quit [Remote host closed the connection]
_sfiguser has joined #ruby
josealobato has joined #ruby
josealobato has quit [Client Quit]
saslam has quit [Read error: Connection reset by peer]
<gener1c> chrisseaton does the extra comment bump it in any way?
saslam has joined #ruby
Derperperd has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josealobato has joined #ruby
josealobato has quit [Client Quit]
jmignault has joined #ruby
<chrisseaton> gener1c: some people might get notified again
Derperperd has quit [Client Quit]
<blackbombay> mBailey_j: was zlib installed at the time you compiled ruby?
Lucky_ABA has joined #ruby
JeanCarloMachado has quit [Ping timeout: 252 seconds]
kafloopascope has quit [Quit: Leaving]
Lucky_ABA has quit [Client Quit]
jmignault has quit [Ping timeout: 248 seconds]
Martin___ has joined #ruby
andikr has quit [Remote host closed the connection]
<mBailey_j> blackbombay, umm...i don't think so.
<mBailey_j> starting to think i gotta redo everything in a particular order...yes?
centrx has joined #ruby
<gener1c> thanks chrisseaton
Lucky_ABA has joined #ruby
Devalo has joined #ruby
frozengeek___ has quit [Quit: frozengeek___]
jhack has quit [Quit: jhack]
finisherr has joined #ruby
ruby has joined #ruby
yardenbar has joined #ruby
Beams has quit [Quit: .]
ruby is now known as Guest75271
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
suchness has quit [Ping timeout: 245 seconds]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
howard has joined #ruby
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
SteenJobs_ has joined #ruby
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
SteenJobs has quit [Read error: Connection reset by peer]
SteenJobs_ is now known as SteenJobs
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
yardenbar has quit [Ping timeout: 252 seconds]
User458764 has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rfoust has joined #ruby
Humdai has quit [Quit: Leaving]
<definity> I am still confused as the structure to the hash that i have to send in the Post to get ym data inputted into the database is there anyway i can find this out?
saslam has quit [Read error: Connection reset by peer]
frozengeek___ has quit [Ping timeout: 260 seconds]
xall has quit [Ping timeout: 260 seconds]
saslam has joined #ruby
sczizzo_ has joined #ruby
griffindy has joined #ruby
nankyokusei has joined #ruby
machinewar has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
sczizzo_ has quit [Remote host closed the connection]
sczizzo has quit [Ping timeout: 268 seconds]
centrx has quit []
splud has joined #ruby
zipper has quit [Ping timeout: 250 seconds]
sczizzo has joined #ruby
Livecodingtv_Ale has joined #ruby
zipper has joined #ruby
nikivi has joined #ruby
sid_fules has quit [Remote host closed the connection]
<blackbombay> mBailey_j: yeah, try recompile ruby, zlib is part of the stdlib but it will only be included if zlib can be found at compile time.
nankyokusei has quit [Ping timeout: 246 seconds]
sid_fules has joined #ruby
<mBailey_j> mmk
saslam has quit [Read error: Connection reset by peer]
claudiuinberlin has joined #ruby
saslam has joined #ruby
k13nox has joined #ruby
sczizzo has quit [Ping timeout: 244 seconds]
sid_fules has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
xall has joined #ruby
chris34928 has joined #ruby
<mBailey_j> opps
Synthead has quit [Remote host closed the connection]
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mBailey_j> now just for clarity, when it says 'checking for [name]' does the 'yes' or 'no' mean yes it's checking for it or yes it's installed?
raul782 has quit [Remote host closed the connection]
Rodya_ has joined #ruby
<t-richards> mBailey_J: 'yes' means that it found a usable <whatever> on your system.
<mBailey_j> mmk
<t-richards> Keep in mind that most 'no's aren't necessarily a bad thing.
<mBailey_j> im already certain it won't find majority of packages as this is a live-install with no persistence.
<mBailey_j> t-richards, okay...noted.
<t-richards> Usually, if you're missing some critical piece that you can't do without, the configure script will error out and tell you what you need before you can continue.
<mBailey_j> ah okay.
ta_ has quit [Remote host closed the connection]
redpants has joined #ruby
howard has quit [Read error: Connection reset by peer]
saslam has quit [Read error: Connection reset by peer]
<t-richards> I say "usually" because not all autotools-based programs are created equal.
saslam has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
howard has joined #ruby
<t-richards> The ./configure output you posted looks fine.
<mBailey_j> just sharing for second set of eyes
<dminuoso> t-richards: Equally shitty yes.
<mBailey_j> t-richards, oh that was from tar -xfv [source]
jsgrant has joined #ruby
<mBailey_j> compiling now.
<dionysus69> need backup!
<dionysus69> this gem is getting error gem "i18n-tasks", "~> 0.9.6"
<dionysus69> ok nvm I found the error
redpants has quit [Ping timeout: 244 seconds]
aegis3121 has joined #ruby
nikivi has quit [Quit: irc]
rakm has joined #ruby
csk has quit [Quit: ZZZzzz…]
jeanlinux has quit [Ping timeout: 258 seconds]
pilne has joined #ruby
howard has quit [Read error: Connection reset by peer]
howard has joined #ruby
jsgrant has quit [Quit: Konversation terminated!]
csk has joined #ruby
mikecmpbll has joined #ruby
benlieb has quit [Quit: benlieb]
<mBailey_j> yay: configuring zlib
GodFather has quit [Ping timeout: 250 seconds]
tvw has quit [Remote host closed the connection]
tyang__ has joined #ruby
railssmith has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.5]
vuoto has joined #ruby
jsgrant has joined #ruby
<mBailey_j> again, i apologize for sharing so much, im new to ruby and just need second eyes.
jsgrant has quit [Client Quit]
raul782 has joined #ruby
mago0 has joined #ruby
jsgrant has joined #ruby
tyang_ has quit [Ping timeout: 248 seconds]
ullu has joined #ruby
jhack has joined #ruby
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Fernando-Basso has joined #ruby
dextertzu has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby
<mBailey_j> awesome...that was it. good call blackbombay
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
Dimik has joined #ruby
claudiuinberlin has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
dextertzu has joined #ruby
jaguarmagenta has joined #ruby
jaequery has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
raul782 has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
vuoto has quit [Remote host closed the connection]
<sphex> Hey. What's the right way to have an IO object that reads data from a passed block? i.e. the block would be called to fill the IO object's buffer whenever it is read (until the block returns nil for EOF or something).
saslam has quit [Read error: Connection reset by peer]
TomyWork has quit [Remote host closed the connection]
saslam has joined #ruby
SeepingN has joined #ruby
Devalo has quit [Remote host closed the connection]
TomyWork has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jenrzzz has joined #ruby
dasher00 has joined #ruby
sczizzo has joined #ruby
roflmyeggo has joined #ruby
enterprisey has joined #ruby
Devalo has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
Asher has quit [Quit: Leaving.]
saslam has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
jeanlinux has joined #ruby
Salih has joined #ruby
Salih has joined #ruby
Salih has quit [Changing host]
Martin___ has quit []
<apeiros> sphex: can you given an example of the part which you know how it'll look?
josealobato has joined #ruby
josealobato has quit [Client Quit]
raul782 has joined #ruby
Rodya_ has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
<sphex> apeiros: ok, something like: data = ['hello', 'world']; io = IO::Block { data.shift }; p io.gets
redpants has joined #ruby
<sphex> apeiros: so it would return nil on eof. doesn't seem very useful in this case, but the data generated by the block would be dynamic and the IO object would stream it.
<apeiros> sphex: so you want to implement that IO::Block?
bgray has quit [Quit: leaving]
<sphex> apeiros: yeah. I really thought there would be a standard way to do it, but I can't find it.
<apeiros> no. people just use StringIO and fit it in as needed
jsgrant has quit [Quit: Konversation terminated!]
<apeiros> you could build your IO::Block using it
<apeiros> shouldn't be much more than a dozen LoC
jsgrant has joined #ruby
<sphex> apeiros: ok. I was trying to avoid buffering the whole thing.
Snowy has joined #ruby
SteenJobs has joined #ruby
millerti has joined #ruby
howard has quit [Quit: Leaving...]
hightower3 has joined #ruby
ramfjord has joined #ruby
benlieb has joined #ruby
daffy_duck has joined #ruby
aef has joined #ruby
naprimer_3 has quit [Ping timeout: 268 seconds]
daffy_duck is now known as naprimer
hightower2 has quit [Ping timeout: 260 seconds]
derfmt has joined #ruby
hightower2 has joined #ruby
omphe has quit [Ping timeout: 240 seconds]
bocaneri has quit [Remote host closed the connection]
nettoweb1 has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
nettoweb has joined #ruby
tyang_ has joined #ruby
raul782 has quit [Remote host closed the connection]
tyang_ has quit [Client Quit]
tyang has joined #ruby
hightower3 has quit [Ping timeout: 258 seconds]
Rodya_ has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
tyang__ has quit [Ping timeout: 260 seconds]
sid_fules has joined #ruby
_sfiguser has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
mago0 has quit [Quit: WeeChat 1.5]
mago0 has joined #ruby
hightower2 has quit [Ping timeout: 265 seconds]
mago0 has quit [Client Quit]
mago0 has joined #ruby
pawnbox has joined #ruby
VeryBewitching has joined #ruby
mago0 has quit [Client Quit]
bestel has joined #ruby
cbetta has quit [Quit: Connection closed for inactivity]
truenito has joined #ruby
hightower2 has joined #ruby
josealobato has joined #ruby
lu1s has joined #ruby
truenito1 has joined #ruby
cdg has quit [Remote host closed the connection]
Exuma has joined #ruby
zeroDi has joined #ruby
bestel has left #ruby [#ruby]
xonico has quit [Remote host closed the connection]
miqlas-H has joined #ruby
truenito has quit [Ping timeout: 268 seconds]
GodFather has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hightower2 has quit [Ping timeout: 256 seconds]
DoubleMalt has quit [Ping timeout: 248 seconds]
jeanlinux has quit [Ping timeout: 260 seconds]
marxarelli has joined #ruby
_sfiguser has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
orangey has quit [Read error: Connection reset by peer]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
ramfjord has quit [Read error: Connection reset by peer]
frozengeek___ has joined #ruby
ramfjord has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
AntiGPL has joined #ruby
orangey has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
derfmt has quit [Remote host closed the connection]
<AntiGPL> What is the best book for learning programming using Ruby?
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
Ishido has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has quit [Ping timeout: 246 seconds]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
AntiGPL has left #ruby [#ruby]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
mtkd has quit [Read error: Connection reset by peer]
Ishido has joined #ruby
hightower2 has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
frozengeek___ has joined #ruby
mtkd has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
lacour has joined #ruby
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
kirun has joined #ruby
frozengeek___ has joined #ruby
frozengeek___ has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 246 seconds]
frozengeek___ has joined #ruby
tau has quit [Remote host closed the connection]
frozengeek___ has quit [Remote host closed the connection]
tau has joined #ruby
Rodya_ has quit [Remote host closed the connection]
hightower2 has quit [Ping timeout: 256 seconds]
frozengeek___ has joined #ruby
Rodya_ has joined #ruby
guacamole has quit [Quit: leaving]
dviola has quit [Ping timeout: 256 seconds]
dextertzu has joined #ruby
King_DuckZ has joined #ruby
Devalo has joined #ruby
<King_DuckZ> hi, is there a good library to help me generate an SVG chart in ruby? I need to draw text, lines and rectangles
<c-c> there are a lot
nankyokusei has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
Devalo has quit [Ping timeout: 245 seconds]
<sphex> King_DuckZ: SVG is already pretty high level though. I just use a bunch of printf's. An ERB template might be pretty good too.
truenito1 has quit [Ping timeout: 244 seconds]
DLSteve_ has joined #ruby
saslam has joined #ruby
<King_DuckZ> hmm I found this one, it looks promising... http://www.germane-software.com/software/SVG/SVG::Graph/#N10070 but gem search returns a svg-graph and a svg_graph... I wonder which one is the right one
miqlas-H has joined #ruby
<King_DuckZ> they both seem to be a higher version than the one available on the official website :/
<c-c> King_DuckZ: perhaps you want something like rasem?
meshsmith has joined #ruby
<c-c> or, perhaps nokogiri?
nunchuck has joined #ruby
ta_ has quit [Remote host closed the connection]
machinewar has quit []
<King_DuckZ> c-c: rasem looks promising, I'll give it a try
lenwood has joined #ruby
sid_fules has quit [Remote host closed the connection]
<King_DuckZ> c-c: isn't nokogiri for scraping html?
sid_fules has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Client Quit]
smlocal has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
gizmore has quit [Ping timeout: 268 seconds]
gizmore has joined #ruby
hightower2 has joined #ruby
<c-c> King_DuckZ: no, parsing, modifying xml, svg doc is xml, should work
smlocal_ has joined #ruby
roamingdog has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest69 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
smlocal has quit [Ping timeout: 250 seconds]
Guest69 has joined #ruby
tomphp has joined #ruby
railswebdev has joined #ruby
jsgrant has quit [Quit: Konversation terminated!]
jsgrant has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
<manveru> i use nokogiri for svg, it's fine :)
ocbtec has quit [Quit: leaving]
terens has joined #ruby
tlaxkit has quit [Remote host closed the connection]
jmignault has joined #ruby
tlaxkit has joined #ruby
Snowy has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
itamarst has joined #ruby
mwlang has joined #ruby
<itamarst> hi, I've created some rack middleware that wants to initialize immediately on server startup, but sinatra at least won't initialize middleware until the first request is received
roamingdog has quit [Remote host closed the connection]
<itamarst> is there some way or idiom for this use case?
terens has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
douglascorrea has quit [Remote host closed the connection]
douglascorrea has joined #ruby
dasher00 has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
Snowy has quit [Ping timeout: 250 seconds]
<c-c> itamarst: so, just requiring and starting it in a raCK config doesn't work?
toretore has quit [Ping timeout: 250 seconds]
<itamarst> I'm doing "use MyMiddleware etc." inside the Sinatra application
<itamarst> haven't tried it that way
<itamarst> it might work
sid_fules has quit [Remote host closed the connection]
<itamarst> and if it does that's a fallback, but I'd rather not have documentation saying "you can only use this in a rack config, not in a Sinatra application directly"
douglascorrea has quit [Ping timeout: 256 seconds]
blackbombay has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
smlocal_ has quit []
blackbombay has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
troys has joined #ruby
<itamarst> c-c: rackup with config.ru DTRT
<itamarst> but sinatra doesn't :/
TPug has joined #ruby
<c-c> heh, no idea!
<itamarst> I guess I'll update docs and worry about sinatra some other day
dviola has joined #ruby
jenrzzz has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pawnbox has quit [Remote host closed the connection]
lxsameer has quit [Quit: WeeChat 1.6]
roamingdog has quit [Read error: Connection reset by peer]
johnmilton has quit [Remote host closed the connection]
k13nox has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
k13nox has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
sid_fules has quit [Remote host closed the connection]
josealobato has joined #ruby
alan_w_ has joined #ruby
XV8 has joined #ruby
eclm has quit [Read error: Connection reset by peer]
Jackneill_ has joined #ruby
<mBailey_j> alrighty, now where can i find this? libpq-fe.h
sid_fules has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
<mBailey_j> perhaps? gem install pg -v '0.19.0
s2013 has joined #ruby
whathappens has joined #ruby
<mBailey_j> ah, found it.
sid_fules has quit [Remote host closed the connection]
sid_fules has joined #ruby
jaguarmagenta has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
tdy has quit [Ping timeout: 260 seconds]
s2013 has quit [Ping timeout: 265 seconds]
nofxx has quit [Remote host closed the connection]
<mBailey_j> oh nope!
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 248 seconds]
muelleme has quit [Ping timeout: 265 seconds]
muelleme has joined #ruby
last_staff has joined #ruby
lenwood has joined #ruby
marxarelli has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
jenrzzz has quit [Ping timeout: 240 seconds]
xrlk has joined #ruby
mrconfused has joined #ruby
<mrconfused> How do I instantiate a subclass that is inside a module ?
josealobato has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chopin_ has joined #ruby
suck has quit [Quit: Connection closed for inactivity]
benlieb has quit [Quit: benlieb]
<mBailey_j> hey, not sure how to resolve this portion now: https://gist.github.com/anonymous/1fedbb16b53da8b0030b5dab3f448a9e
<havenwood> mBailey_j: bundle exec msfconsole
<c-c> mrconfused: do you mean Module::Subclass?
muelleme has quit [Ping timeout: 260 seconds]
<mBailey_j> hmm
<mBailey_j> ah..space issues!
guacamole has joined #ruby
nofxx has joined #ruby
itamarst has left #ruby [#ruby]
<mBailey_j> i ran gem install activesupport -v 4.2.7.1 but cant say if it will help because im low on disk space
<mBailey_j> bugger!!
chris3492 has joined #ruby
chopin has quit [Ping timeout: 245 seconds]
<mBailey_j> havenwood, running that resulted in: Could not find rails-deprecated_sanitizer-1.0.3 in any of the sources
roamingdog has joined #ruby
<mrconfused> c-c: see this link http://pastie.org/10964576
<mBailey_j> dependecy hell i say!!!
<mrconfused> I think the answer is to convert API from a class to module
tdy has joined #ruby
zeroDi has quit [Quit: WeeChat 1.6]
<mBailey_j> ugh, im over it
cdg has joined #ruby
chris34928 has quit [Ping timeout: 256 seconds]
synthroid has quit []
sepp2k has quit [Quit: Leaving.]
tlaxkit has quit [Quit: tlaxkit]
vuoto has joined #ruby
hightower2 has quit [Ping timeout: 256 seconds]
chris34928 has joined #ruby
jmignault has quit [Ping timeout: 260 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
chris3492 has quit [Ping timeout: 240 seconds]
tyang has quit [Read error: Connection reset by peer]
hightower2 has joined #ruby
shmuli has joined #ruby
malcolmva has quit [Ping timeout: 260 seconds]
<c-c> mrconfused: ok
<c-c> Why do you have two modules with the same name?
<c-c> mrconfused: the correct syntax should be Modu::Cl1::Cl2.new I think
malcolmva has joined #ruby
<c-c> mrconfused: finally, what is the error?
hightower3 has joined #ruby
sczizzo_ has joined #ruby
firstdayonthejob has joined #ruby
sparch has quit [Ping timeout: 260 seconds]
hightower2 has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
muelleme has joined #ruby
Rodya_ has quit [Remote host closed the connection]
sczizzo has quit [Ping timeout: 258 seconds]
Rodya_ has joined #ruby
sczizzo_ has quit [Ping timeout: 245 seconds]
<mBailey_j> havenwood, you familiar with metasploit? im wondering if i can just run the modules without envoking the framework by just using ruby. you think?
benlieb has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
roflmyeggo has quit [Ping timeout: 260 seconds]
<mBailey_j> it should be possible though at least with the stand alone / stageless modules
csk has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
hahuang65 has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
csk has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
Salih has quit [Quit: Leaving]
Rodya_ has quit [Ping timeout: 240 seconds]
hightower3 has joined #ruby
xall has quit [Ping timeout: 258 seconds]
sid_fules has quit [Remote host closed the connection]
kraljev11 has joined #ruby
sid_fules has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
csk has quit [Client Quit]
hightower2 has quit [Ping timeout: 260 seconds]
hightower2 has joined #ruby
teclator has quit [Ping timeout: 268 seconds]
phwelo has quit [Ping timeout: 240 seconds]
teclator_ has joined #ruby
csk has joined #ruby
malcolmva has quit [Read error: Connection reset by peer]
malcolmva has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
sid_fules has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
millerti has joined #ruby
ullu has quit [Remote host closed the connection]
jjturner_wrk has joined #ruby
Lucky_ABA has joined #ruby
chopin has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
dogweather has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.6]
<dogweather> is Celluloid truly multi-threaded in MRI?
jjturner_wrk has quit [Remote host closed the connection]
ullu has joined #ruby
charliesome has joined #ruby
firstdayonthejob has joined #ruby
chopin_ has quit [Ping timeout: 252 seconds]
shmuli has quit [Remote host closed the connection]
muelleme has joined #ruby
ullu has quit [Client Quit]
charliesome has quit [Client Quit]
<eam> what does "truly multi-threaded" mean?
mBailey_j has quit [Quit: Leaving]
troys is now known as troys_
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shmuli has joined #ruby
<dogweather> AFAIK, MRI isn't truly multi-threaded because it doesn't actually permit parallel execution. Instead, it provides the API for threading, but depending on the ruby implementation, all actions may be serialized
pragmaticus has quit [Ping timeout: 258 seconds]
muelleme has quit [Ping timeout: 245 seconds]
benlieb has quit [Quit: benlieb]
fmcgeough has joined #ruby
jshjsh has quit [Ping timeout: 260 seconds]
konsolebox has quit [Quit: Leaving]
JoshS has joined #ruby
<eam> there's a gvl which is held when doing things in the vm. it's not always held, some things do happen in parallel. a module can release the gvl if it's doing things unrelated to the ruby vm
shmuli_ has joined #ruby
<eam> celluloid running on mri is still subject to this constraint
tdy has quit [Ping timeout: 245 seconds]
ptierno has quit [Ping timeout: 256 seconds]
mwlang has quit [Quit: mwlang]
kalopsian has joined #ruby
ta_ has quit [Remote host closed the connection]
kalopsian has quit [Client Quit]
hightower2 has joined #ruby
lu1s has quit [Quit: WeeChat 1.5]
<dogweather> concurrent-ruby too, i'd assume
SeepingN has quit [Quit: The system is going down for reboot NOW!]
shmuli has quit [Ping timeout: 258 seconds]
kraljev11 has quit [Remote host closed the connection]
<dogweather> thanks!
<eam> np!
kraljev11 has joined #ruby
dviola has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
maddmaxx has joined #ruby
maddmaxx has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit []
nankyokusei has joined #ruby
millerti has joined #ruby
hightower3 has joined #ruby
shmuli_ has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
shmuli has joined #ruby
muelleme has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
preyalone has joined #ruby
Bounga has joined #ruby
johnmccabe has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
shmuli_ has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
shmuli has quit [Ping timeout: 258 seconds]
malconis has quit [Read error: Connection reset by peer]
ullu has joined #ruby
bkxd has joined #ruby
shmuli has joined #ruby
raul782 has joined #ruby
muelleme has quit [Ping timeout: 256 seconds]
tdy has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
shmuli_ has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
raul782 has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
raul782 has joined #ruby
benlieb has joined #ruby
benlieb has quit [Client Quit]
davidt has joined #ruby
hightower2 has joined #ruby
polishdub has quit [Quit: Leaving]
dasher00 has joined #ruby
chris3492 has joined #ruby
aurelien` has joined #ruby
ptierno has joined #ruby
ptierno has joined #ruby
ptierno has quit [Changing host]
hightower3 has quit [Ping timeout: 252 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.6]
dogweather has quit []
aurelien` is now known as aurelien
aurelien is now known as aurelien`
aurelien` is now known as aurelien
aurelien has quit [Changing host]
aurelien has joined #ruby
chris34928 has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: last_staff]
Rodya_ has joined #ruby
hightower3 has joined #ruby
workmad3 has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
marxarelli|afk is now known as marxarelli
muelleme has joined #ruby
ptierno has quit [Ping timeout: 260 seconds]
hightower2 has quit [Ping timeout: 250 seconds]
zipper has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
truenito has joined #ruby
Rodya_ has quit [Ping timeout: 258 seconds]
agent_white has joined #ruby
muelleme has quit [Ping timeout: 256 seconds]
hightower2 has joined #ruby
benlieb has joined #ruby
hightower3 has quit [Ping timeout: 246 seconds]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 250 seconds]
CloCkWeRX has joined #ruby
troys_ is now known as troys
exchgr has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
domgetter has joined #ruby
yfeldblu_ has joined #ruby
muelleme has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
jhack has quit [Quit: jhack]
hightower2 has joined #ruby
hightower3 has quit [Ping timeout: 260 seconds]
<chrisseaton> I'd argue that MRI is totally, unequivocally multi-threaded, even though it has a GIL. Threads were around long before most people had multi-processors. They were for concurrency first, and repurposed for parallelism when that became possible.
biberu has quit []
hahuang65 has quit [Ping timeout: 250 seconds]
Livecodingtv_Ale has quit [Remote host closed the connection]
tref has joined #ruby
lenwood has quit [Ping timeout: 260 seconds]
<domgetter> concurrency is two people sharing a pencil. parallelism is two people sharing two pencils but still one piece of paper.
jhack has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
exchgr has joined #ruby
muelleme has quit [Ping timeout: 248 seconds]
jhack has quit [Client Quit]
kraljev11 has quit [Quit: kraljev11]
minimalism has joined #ruby
hightower3 has joined #ruby
jaguarmagenta has joined #ruby
hightower2 has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
lenwood has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
yfeldblu_ has quit [Remote host closed the connection]
kirun has quit [Ping timeout: 244 seconds]
hightower3 has quit [Ping timeout: 252 seconds]
hightower3 has joined #ruby
jcao219 has joined #ruby
gener1c has quit [Changing host]
gener1c has joined #ruby
hightower2 has quit [Ping timeout: 248 seconds]
fmcgeough has joined #ruby
tref has quit [Quit: tref]
ptierno has joined #ruby
ptierno has quit [Changing host]
ptierno has joined #ruby
fmcgeough has quit [Client Quit]
muelleme has joined #ruby
benlieb has quit [Quit: benlieb]
ptierno has quit [Ping timeout: 250 seconds]
JoshS has quit [Ping timeout: 260 seconds]
muelleme has quit [Ping timeout: 256 seconds]
hightower3 has quit [Ping timeout: 258 seconds]
aegis3121 has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
xall has joined #ruby
douglascorrea has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
Rodya_ has joined #ruby
<xrlk> is what domgetter said accurate havenwood
truenito has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
xall has quit [Ping timeout: 268 seconds]
<blackbombay> rob pike explains the diffeence with style, he uses imaginary gophers :D
<domgetter> To be clear, in my analogy, a "person" is a thread, a "pencil" is a cpu core, and "paper" is ram
shakes has joined #ruby
<xrlk> wow amazing explanation domgetter ....
<xrlk> i understand more now
muelleme has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
shakes has quit [Client Quit]
Alina-malina has joined #ruby
dnicole has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 256 seconds]
SCHAAP137 has quit [Quit: Leaving]
saslam has quit [Ping timeout: 248 seconds]
<domgetter> When you create a thread, it starts running immediately along with your other code. That is, it starts "sharing" the cpu and gets scheduled to use it
lenwood has quit [Ping timeout: 246 seconds]
chris3492 has quit [Read error: Connection reset by peer]
wopi has joined #ruby
wopi has quit [Client Quit]
noname has joined #ruby
douglascorrea has quit []
yfeldblum has quit [Remote host closed the connection]
douglascorrea has joined #ruby
ben__ has joined #ruby
staticfox has quit [Read error: Connection reset by peer]
staticfox has joined #ruby
yfeldblum has joined #ruby
matheusmoreira has quit [Ping timeout: 246 seconds]
DLSteve_ has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ben_____ has quit [Ping timeout: 245 seconds]
wopi has joined #ruby
roamingdog has quit [Remote host closed the connection]
wopi has quit [Client Quit]
nankyokusei has joined #ruby
wopi has joined #ruby
muelleme has joined #ruby
troys is now known as troys_
wopi_ has joined #ruby
roamingdog has joined #ruby
marxarelli is now known as marxarelli|afk
wopi_ has quit [Remote host closed the connection]
wopi has quit [Remote host closed the connection]
wopi has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]