joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
geggam has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 264 seconds]
ValicekB has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
predator117 has joined #ruby
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
ss_ has joined #ruby
joaoh82 has quit [Ping timeout: 240 seconds]
mildfate has joined #ruby
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
samuel02 has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
BraddBitt has quit [Ping timeout: 260 seconds]
predator217 has quit [Ping timeout: 272 seconds]
Geniack has quit [Disconnected by services]
<mildfate>
I've got ruby installed globally on my system, but in order to do some local stuff I've installed rbenv. But, despite it being correctly in my path, when I try to do the installs it's still using my system ruby. How do I solve this?
Geniack_ has joined #ruby
ace_striker has joined #ruby
samuel02 has quit [Read error: Operation timed out]
klaut has quit [Remote host closed the connection]
BraddPitt has joined #ruby
vikhyat has joined #ruby
shedd has joined #ruby
mary5030 has joined #ruby
marr has joined #ruby
lukec has quit [Quit: lukec]
shedd has quit [Ping timeout: 250 seconds]
tyl has joined #ruby
mary5030 has quit [Remote host closed the connection]
tylersmith has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
bogeyd6 has quit [Ping timeout: 241 seconds]
Jeticus has quit [Read error: Connection reset by peer]
coca_rails has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
reach has joined #ruby
bogeyd6 has joined #ruby
tylersmith has quit [Ping timeout: 272 seconds]
Tearan has joined #ruby
didge has joined #ruby
kitak has quit [Remote host closed the connection]
CaptainJet has joined #ruby
deol has joined #ruby
ehc has joined #ruby
mklappstuhl has quit [Ping timeout: 250 seconds]
siwica has joined #ruby
brunops has joined #ruby
dayepa has joined #ruby
deol has quit [Ping timeout: 246 seconds]
maletor has joined #ruby
prc has quit [Quit: Leaving.]
rjhunter has joined #ruby
Barrin6 has joined #ruby
mildfate has quit [Quit: Leaving.]
dogweather has joined #ruby
<pipecloud>
I use chruby, it doesn't require shims or rehashing
<pipecloud>
With ruby-install
petey has joined #ruby
senayar has quit [Quit: Quitte]
LexicalScope has joined #ruby
CaptainJet has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
shedd has joined #ruby
colonolGron has quit [Quit: leaving]
ValicekB has joined #ruby
rjhunter has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 240 seconds]
kcombs has quit [Ping timeout: 240 seconds]
Faris has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
robustus has quit [Ping timeout: 245 seconds]
peregrine81 has joined #ruby
robustus has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
peregrine81 has joined #ruby
ValicekB has quit [Ping timeout: 246 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
peregrine81 has quit [Max SendQ exceeded]
peregrine81 has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
peregrine81 has joined #ruby
Lewis has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
Barrin6 has quit [Quit: Leaving]
charliesome has joined #ruby
Xaitec has quit [Remote host closed the connection]
alexherb1 has quit [Quit: WeeChat 0.4.3-dev]
joaoh82 has joined #ruby
Faris has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
tharindu has joined #ruby
Lewis has quit [Ping timeout: 272 seconds]
lethjakm1 has quit [Ping timeout: 246 seconds]
intuxicated has joined #ruby
L8D has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
lyanchih has joined #ruby
rjhunter has joined #ruby
ValicekB has joined #ruby
L8D has quit [Ping timeout: 248 seconds]
kcombs has joined #ruby
benlieb has joined #ruby
cj3kim has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dhruvasagar has joined #ruby
havenwood has joined #ruby
jonathanwallace has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
ephemerian has quit [Quit: Leaving.]
charliesome has joined #ruby
dopie has joined #ruby
ewnd9 has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zastern>
Potentially silly question, but anybody know of a good doc on how to pipe text INTO a ruby script? I'm not having good luck with The Googles.
tyl has joined #ruby
klaut has joined #ruby
reach has quit []
<zastern>
ah STDIN maybe
maletor has joined #ruby
tylersmith has joined #ruby
agjacome has quit [Ping timeout: 240 seconds]
sergicles has joined #ruby
ambushsabre has joined #ruby
ValicekB has quit [Ping timeout: 252 seconds]
peregrine81 has quit []
rh1n0 has quit [Quit: -- I'm getting very tired --]
<zastern>
hmm, not in an obvious way
klaut has quit [Ping timeout: 260 seconds]
lethjakm1 has joined #ruby
petey has quit []
mklappstuhl has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
coca_rails has joined #ruby
ambushsabre has quit [Client Quit]
reach has joined #ruby
ambushsabre has joined #ruby
flubba_ has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
flubba has joined #ruby
deol has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Ping timeout: 241 seconds]
<havenwood>
zastern: are you wanting to get input from stdin?
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
ehc has quit [Ping timeout: 260 seconds]
tobor_one has quit [Client Quit]
dhruvasagar has joined #ruby
tyl has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
ehc has joined #ruby
ehc has quit [Client Quit]
colonolGron has joined #ruby
rjhunter has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
samuel02 has joined #ruby
siwica has quit [Quit: siwica]
deol has joined #ruby
ambushsabre has quit [Quit: rip]
osvico has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
peregrine81 has joined #ruby
samuel02 has quit [Ping timeout: 252 seconds]
peregrine81 has quit [Max SendQ exceeded]
tharindu_ has joined #ruby
benlieb has quit [Quit: benlieb]
peregrine81 has joined #ruby
tharindu has quit [Ping timeout: 260 seconds]
lukec has joined #ruby
ValicekB has joined #ruby
angusiguess has joined #ruby
tatsu has quit [Quit: Konversation terminated!]
joaoh82 has joined #ruby
vlad_starkov has joined #ruby
Hanmac1 has joined #ruby
psyl0n has joined #ruby
virt|away has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
blandflakes has joined #ruby
ValicekB has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
okinomo has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
joaoh82 has quit [Ping timeout: 250 seconds]
kcombs has quit [Ping timeout: 240 seconds]
cbetta is now known as cbetta_afk
nari has joined #ruby
ambushsabre has joined #ruby
nanoyak has joined #ruby
ambushsabre has quit [Quit: rip]
ambushsabre has joined #ruby
ambushsabre has quit [Client Quit]
ValicekB has joined #ruby
Vivekananda has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ambushsabre has joined #ruby
tylersmith has joined #ruby
phipes has joined #ruby
ace_striker has quit [Ping timeout: 272 seconds]
mklappstuhl has joined #ruby
tylersmith has quit [Ping timeout: 246 seconds]
gja has joined #ruby
ambushsabre has quit [Quit: rip]
cow_ has quit [Remote host closed the connection]
deol has quit [Remote host closed the connection]
deol has joined #ruby
tropicalmug has joined #ruby
deol has quit [Remote host closed the connection]
mklappstuhl has quit [Ping timeout: 272 seconds]
snath has quit [Remote host closed the connection]
cow_ has joined #ruby
<tropicalmug>
is there a way to run python code from ruby? i've seen http://rubypython.rubyforge.org/ but i'd love to know if anyone has actually used it.
sheap has joined #ruby
aryaching_ has joined #ruby
ambushsabre has joined #ruby
frustrum has joined #ruby
randomnick_ has quit [Quit: Leaving]
peregrine81 has quit []
snath has joined #ruby
aryaching has quit [Ping timeout: 241 seconds]
conner has quit [Ping timeout: 252 seconds]
<pipecloud>
tropicalmug: open3.
sheap has left #ruby [#ruby]
<tropicalmug>
pipecloud thank you :)
<tropicalmug>
{◕ ◡ ◕}
ValicekB has quit [Ping timeout: 264 seconds]
hrs has joined #ruby
coca_rails has joined #ruby
peregrine81 has joined #ruby
dylandog has joined #ruby
tylersmith has joined #ruby
reach has quit []
coca_rails has quit [Ping timeout: 245 seconds]
didge has quit [Ping timeout: 240 seconds]
Faris has joined #ruby
iio7 has joined #ruby
<iio7>
I wanted to install a ruby program (have no ruby experience), but when I run it I get the following error: "Invalid gemspec in [/var/lib/gems/1.8/specifications/ZenTest-4.9.5.gemspec]: Illformed requirement ["< 3.0, >= 1.8"]", how do I solve that?
nobitanobi has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipecloud>
iio7: I'd upgrade to the latest ruby.
tyl has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
dseitz has joined #ruby
Faris has quit [Read error: Connection reset by peer]
shedd has quit [Remote host closed the connection]
Parker0 has joined #ruby
joaoh82 has joined #ruby
vlad_starkov has joined #ruby
colonolGron has quit [Ping timeout: 260 seconds]
gja has quit [Quit: This computer has gone to sleep]
radic has quit [Disconnected by services]
radic_ has joined #ruby
rjhunter has joined #ruby
pierre1 has joined #ruby
phipes has quit [Remote host closed the connection]
<bahar_>
hey guys, i'm on project euler problem #3 and have a question
tyl has quit [Ping timeout: 240 seconds]
lethjakm1 has quit [Ping timeout: 252 seconds]
<bahar_>
it's "find the largest prime factor of number x"
iio7 has quit [Quit: Leaving]
joaoh82 has quit [Ping timeout: 248 seconds]
tyl has joined #ruby
<bahar_>
i've been going back and forth, because what i've built so far, if i input the number 13195, will return 5, 7, 13, 29 (which are correct!) but also adds in 35 65 and 91 (which shouldn't be there
<bahar_>
i put in a cheat, lines 10-12, "prime array.each do |x|; if x.prime; array <<x" but i was hoping to fix the program to just return primes only in the first place in lines 5-7... any ideas?
colonolG1on has quit [Quit: still dancing naked..yuhhuu]
nfk has quit [Quit: yawn]
kitak has joined #ruby
deol has joined #ruby
bklane has joined #ruby
antoniojasr has joined #ruby
agent_white has joined #ruby
araujo has quit [Quit: Leaving]
Faris has quit [Ping timeout: 272 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
tyl has quit [Ping timeout: 264 seconds]
tyl has joined #ruby
crazysim has quit [Max SendQ exceeded]
deol has quit [Remote host closed the connection]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
tropicalmug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tharindu_ has quit [Quit: Leaving...]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dylandog>
anyone can suggest to me any book for learn ruby for web?
dkamioka has quit [Read error: Connection reset by peer]
grep_awesome has joined #ruby
blandflakes has quit [Quit: Leaving]
antoniojasr has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
samuel02 has joined #ruby
crazysim has joined #ruby
antoniojasr has quit [Remote host closed the connection]
TomRone has joined #ruby
dayepa has joined #ruby
dkamioka_ has quit [Ping timeout: 250 seconds]
coca_rails has joined #ruby
maletor has joined #ruby
flubba has joined #ruby
samuel02 has quit [Ping timeout: 264 seconds]
maletor has quit [Client Quit]
diegoviola has quit [Ping timeout: 250 seconds]
cow_ has quit [Remote host closed the connection]
Guest16644 has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
DouweM has quit [Read error: Connection reset by peer]
lyanchih has quit [Quit: lyanchih]
vikhyat has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
tropicalmug has joined #ruby
lethjakm1 has joined #ruby
gquental has quit [Ping timeout: 252 seconds]
Guest16644 has quit [Changing host]
Guest16644 has joined #ruby
Guest16644 is now known as diegoviola
braincra- has quit [Quit: bye bye]
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
braincrash has joined #ruby
joaoh82 has joined #ruby
benlieb has quit [Quit: benlieb]
tonni_ has quit [Read error: Connection reset by peer]
Barrin6 has joined #ruby
tonni has joined #ruby
dkamioka has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
vikhyat has joined #ruby
joaoh82 has quit [Ping timeout: 260 seconds]
estebistec has quit [Remote host closed the connection]
vikhyat has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
peregrine81 has quit []
fire has joined #ruby
brunops has quit [Ping timeout: 250 seconds]
peregrine81 has joined #ruby
gquental has joined #ruby
binford has quit [Remote host closed the connection]
phipes has joined #ruby
estebistec has joined #ruby
studzinsk has joined #ruby
fuhgeddaboudit has joined #ruby
dseitz has joined #ruby
dseitz has quit [Max SendQ exceeded]
dseitz has joined #ruby
dseitz has quit [Max SendQ exceeded]
sayan has joined #ruby
cj3kim has quit [Remote host closed the connection]
dseitz has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
estebistec has quit [Remote host closed the connection]
estebistec has joined #ruby
psyl0n has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
estebistec has quit [Ping timeout: 250 seconds]
brunops has joined #ruby
pierre1 has quit [Ping timeout: 240 seconds]
mklappstuhl has quit [Ping timeout: 250 seconds]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
shedd has joined #ruby
chomskiii has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
shedd has quit [Ping timeout: 246 seconds]
mj12albert has joined #ruby
bklane has quit [Quit: Leaving...]
bluOxigen has joined #ruby
okinomo has quit [Ping timeout: 272 seconds]
kitak has quit [Ping timeout: 245 seconds]
okinomo has joined #ruby
_justin has joined #ruby
stevenhaddox_ has joined #ruby
hakunin has joined #ruby
_justin has quit [Client Quit]
ValicekB has joined #ruby
cow_ has joined #ruby
stevenhaddox_ has quit [Quit: Sayonora]
dayepa has quit [Ping timeout: 245 seconds]
ss_ has quit [Remote host closed the connection]
coca_rails has joined #ruby
dogweather has quit [Remote host closed the connection]
lethjakm1 has quit [Ping timeout: 252 seconds]
lethjakm1 has joined #ruby
cow_ has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
Jake232_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ambushsabre has quit [Remote host closed the connection]
coca_rails has quit [Ping timeout: 245 seconds]
ambushsabre has joined #ruby
yacks has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
tylersmith has quit [Remote host closed the connection]
crazysim has quit [Max SendQ exceeded]
Jason has joined #ruby
<Jason>
hi all - i'm trying to install spree via gem install spree.
<Jason>
i run in to a strange error.
<Jason>
activemerchant-1.42.2 requires activesupport (< 5.0.0, >= 2.3.14) but it conflicted: Activated activesupport-4.0.2 instead of (= 4.1.0.beta1) via: rails-4.1.0.beta1, deface-1.0.0, spree_core-2.1.3, spree-2.1.3
crazysim has joined #ruby
dopie has quit [Ping timeout: 246 seconds]
dayepa has joined #ruby
dhruvasagar has joined #ruby
ValicekB has quit [Ping timeout: 260 seconds]
cow_ has joined #ruby
lyanchih_ has joined #ruby
b00stfr3ak has joined #ruby
brennanMKE has quit []
crazysim has quit [Max SendQ exceeded]
vlad_starkov has joined #ruby
crazysim has joined #ruby
tharindu has joined #ruby
peregrine81 has quit []
joaoh82 has joined #ruby
brennanMKE has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
dylandog has quit [Ping timeout: 252 seconds]
joaoh82 has quit [Ping timeout: 260 seconds]
Megtastique has quit []
kitak has joined #ruby
maroloccio has joined #ruby
CaptainJet has quit []
aagdbl has joined #ruby
Jetchisel has joined #ruby
ambushsabre has quit [Quit: rip]
lukec has quit [Quit: lukec]
udon has quit [Ping timeout: 250 seconds]
cow_ has quit [Remote host closed the connection]
cj3kim has joined #ruby
mklappstuhl has joined #ruby
frustrum has quit [Ping timeout: 272 seconds]
pierre1 has joined #ruby
samuel02 has joined #ruby
unstable has joined #ruby
<unstable>
ERROR: Could not find a valid gem 'qtruby4' (>= 0), here is why: Found qtruby4 (2.1.0), but was for platform mswin32
<unstable>
I wanted to play around with userland ruby GUI apps for fun. Is this commonly done? or insane?
<unstable>
I know large parts of ubuntu use python with some widget library.
mklappstuhl has quit [Ping timeout: 260 seconds]
shedd has joined #ruby
mastr has joined #ruby
ace_striker has quit [Quit: Page closed]
samuel02 has quit [Ping timeout: 240 seconds]
grep_awesome is now known as grep_away
shedd has quit [Ping timeout: 240 seconds]
ss_ has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 250 seconds]
tyl has quit [Ping timeout: 240 seconds]
cow_ has joined #ruby
iliketur_ has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
tyl has joined #ruby
iliketur_ has joined #ruby
akitada_ is now known as akitada
coca_rails has joined #ruby
angusiguess has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
dkamioka has joined #ruby
coca_rails has quit [Ping timeout: 245 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
deol has quit [Remote host closed the connection]
fomatin has joined #ruby
deol has joined #ruby
dkamioka has quit [Read error: No route to host]
dkamioka has joined #ruby
fomatin has quit [Max SendQ exceeded]
BrixSat has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 240 seconds]
lemonsparrow has joined #ruby
phipes has quit [Remote host closed the connection]
BrixSat has joined #ruby
dhruvasagar has joined #ruby
dhruvasagar has joined #ruby
trolling is now known as prophile
prophile has quit [Changing host]
prophile has joined #ruby
dkamioka has quit [Read error: No route to host]
dkamioka has joined #ruby
pierre1 has quit [Quit: Leaving]
cj3kim has quit [Remote host closed the connection]
w|t has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
phansch has joined #ruby
<dseitz>
The problem with Python/Ruby as primary language is that the tooklit bindings fall out of spec quite often, sometimes projects just die without notice
Jason has left #ruby [#ruby]
w|t has joined #ruby
<dseitz>
Usually these happen when GTK or Qt make major version transitions and the contributors the bindings projects can feel a bit overwhelmed [it'll literally be like starting over]
joaoh82 has joined #ruby
rh1n0 has joined #ruby
<dseitz>
JRuby might be a nice option still
abra has joined #ruby
cj3kim has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
abra has quit [Client Quit]
w|t has quit [Ping timeout: 264 seconds]
joaoh82 has quit [Ping timeout: 246 seconds]
<pipecloud>
Shoes4 is jruby and while it's not 100% implemented, it's pretty neat.
w|t has joined #ruby
<dseitz>
oh cool
tylersmith has quit [Ping timeout: 248 seconds]
phipes has joined #ruby
OdNairy has joined #ruby
cj3kim has quit [Remote host closed the connection]
phipes has quit [Read error: Connection reset by peer]
<dseitz>
RubyMotion is fun to play with; but it ties you to one platform
phipes has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
sayan has joined #ruby
Barrin6 has quit [Quit: Leaving]
w|t has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
<jalcine>
unstable: ubuntu uses qt with python or python-gtk2
w|t has joined #ruby
<unstable>
jalcine: right, are there people doing the same thing with ruby?
<jalcine>
not that much ruby in there
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
<jalcine>
not so much
<jalcine>
afaik
<jalcine>
there's a bit of work with ruby in KDE/Qt with SMOKE but it's probably a bit behind (using Qt 4.7 as opposed to Qt 4.8.4)
<dseitz>
qtbindings is still being maintained
<dseitz>
and suports 4.8.5 I think
aryaching has quit [Ping timeout: 264 seconds]
<unstable>
Well if Canonical is using pyqt all over the place in their gui, there is a good change the toolkit bindings will stay up to date in spec quite often.
Kricir has joined #ruby
<unstable>
Though if no one is updating ruby, it seems ill advised to use that.
<unstable>
egg/chicken
conner has joined #ruby
maroloccio has quit [Ping timeout: 248 seconds]
w|t has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
ss_ has quit [Remote host closed the connection]
kiki_lamb has quit [Quit: leaving]
oznik-o has joined #ruby
w|t has joined #ruby
katherinem13 has joined #ruby
noop has joined #ruby
ss_ has joined #ruby
mklappstuhl has joined #ruby
seemant has left #ruby [#ruby]
tyl has quit [Ping timeout: 240 seconds]
w|t has quit [Ping timeout: 248 seconds]
w|t has joined #ruby
reach has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
tyl has joined #ruby
mklappstuhl has quit [Ping timeout: 252 seconds]
cj3kim has quit [Remote host closed the connection]
shedd has joined #ruby
dhruvasa1ar has joined #ruby
katherinem13 has quit [Quit: Lost terminal]
katherinem13 has joined #ruby
katherinem13 is now known as kiki_lamb
gja has joined #ruby
w|t has quit [Ping timeout: 272 seconds]
w|t has joined #ruby
shedd has quit [Ping timeout: 248 seconds]
<RubyPanther>
The last thing I want is software that gets a lot of updates
<RubyPanther>
choose yer features already, I say.
psyl0n has joined #ruby
dhruvasa1ar has quit [Quit: leaving]
w|t has quit [Ping timeout: 246 seconds]
kostine has quit [Remote host closed the connection]
maroloccio has joined #ruby
araujo has joined #ruby
w|t has joined #ruby
aep has quit [Ping timeout: 246 seconds]
rh1n0 has quit [Quit: -- I'm getting very tired --]
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
coca_rails has joined #ruby
bartj3 has quit [Ping timeout: 245 seconds]
w|t has quit [Ping timeout: 246 seconds]
primenum has quit [Ping timeout: 272 seconds]
w|t has joined #ruby
sassamo has quit [Ping timeout: 272 seconds]
coca_rails has quit [Ping timeout: 245 seconds]
jetblack has joined #ruby
cbetta_afk is now known as cbetta
maroloccio has quit [Ping timeout: 272 seconds]
jetblack has quit [Client Quit]
vlad_starkov has joined #ruby
maroloccio has joined #ruby
mengu has quit [Remote host closed the connection]
joaoh82 has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
mastr has quit [Ping timeout: 252 seconds]
hunterr986 has quit [Quit: Leaving.]
hunterr986 has joined #ruby
joaoh82 has quit [Ping timeout: 250 seconds]
zipace has quit [Read error: Operation timed out]
samuel02 has joined #ruby
fire has quit [Ping timeout: 240 seconds]
oerhoert has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
ValicekB has joined #ruby
mobius has joined #ruby
samuel02 has quit [Ping timeout: 248 seconds]
gja has joined #ruby
lewix has quit [Remote host closed the connection]
sergicles has quit [Quit: sergicles]
jchristi has quit [Ping timeout: 240 seconds]
Tearan has quit [Read error: Connection reset by peer]
BraddPitt has quit [Quit: Leaving]
mklappstuhl has joined #ruby
BraddPitt has joined #ruby
dhruvasagar has joined #ruby
Beoran__ has joined #ruby
zipace has joined #ruby
zipace has joined #ruby
zipace has quit [Changing host]
mklappstuhl has quit [Ping timeout: 248 seconds]
shedd has joined #ruby
dhruvasagar has left #ruby [#ruby]
Beoran_ has quit [Ping timeout: 264 seconds]
oerhoert has quit [Read error: Connection reset by peer]
psyl0n has quit [Remote host closed the connection]
shedd has quit [Ping timeout: 240 seconds]
threesome has joined #ruby
fire has joined #ruby
kiki_lamb has quit [Disconnected by services]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has joined #ruby
clamstar_ has joined #ruby
coca_rails has joined #ruby
mjburgess has joined #ruby
S0da has joined #ruby
ValicekB has quit [Read error: Operation timed out]
coca_rails has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
holderbaum has joined #ruby
fire has quit [Ping timeout: 240 seconds]
St_Marx has quit [Quit: Ex-Chat]
kostine has joined #ruby
tobago has joined #ruby
keen_ has joined #ruby
subbyyy_ has quit [Ping timeout: 248 seconds]
samuel02 has joined #ruby
dkamioka has quit [Remote host closed the connection]
<quazimodo>
specifically, it's a set of images that I read into memory, send to image magick convert, then read back into memory. this is the only point I have to hold onto it
ValicekB has joined #ruby
<pipecloud>
So you're not persisting to disk between converting it?
<pipecloud>
Is there any point to reading the files into memory just to pass them to your imagemagick/
<pipecloud>
?
fella5s has joined #ruby
<quazimodo>
pipecloud: probably not, and maybe I'll remove that from the program. But aside from solving the pracitcal problems I really do want to know how to 'deal' with blobs in general
joaoh82 has joined #ruby
<quazimodo>
from your questions its clear that I don't know enough to ask sensical questions, so I'll keep reading
<pipecloud>
quazimodo: It depends on how you intend to use them. The first part is reading them into memory or streaming the chunks. See File vs IO.
<pipecloud>
I think File even has the chunky stuff.
<quazimodo>
yeah maybe streaming it into pipes makes more sense sometimes
lemonsparrow has quit [Ping timeout: 272 seconds]
<pipecloud>
Well, pipes or not.
<shevy>
to pipes or not to pipes
<shevy>
that is the question
<quazimodo>
yep
<quazimodo>
see I thought there might be a data type specifically for dealing with binary data in the form of hexadecimal
<pipecloud>
Why would you care unless you're operating on that data?
vlad_starkov has joined #ruby
<pipecloud>
You aren't, you're just (for some unknowable reason) reading it into memory and passing it into another process only to have the result read back into memory (for yet again some unknowable reason)
joaoh82 has quit [Ping timeout: 250 seconds]
gja has quit [Quit: This computer has gone to sleep]
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hunterr986 has quit [Ping timeout: 272 seconds]
fire has quit [Read error: Connection reset by peer]
Mars` has joined #ruby
amclain has quit [Quit: Leaving]
<shevy>
now you made me curious about the unknowable reason
<shevy>
I wanna know!
didge has quit [Quit: goodbye]
<Nilium>
The unknowable reason is kitties.
<pipecloud>
kitties with itty bitty...
<Nilium>
Paws.
<shevy>
hmm
<shevy>
you know a lot about kitties
predator117 has quit [Ping timeout: 260 seconds]
aep has joined #ruby
prc has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conner has quit [Ping timeout: 250 seconds]
kenrick has quit [Ping timeout: 272 seconds]
phipes has quit [Remote host closed the connection]
keen_ has quit [Remote host closed the connection]
dkamioka has joined #ruby
keen_ has joined #ruby
claymore has joined #ruby
dkamioka_ has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
nanoyak has quit [Quit: Computer has gone to sleep.]
dkamioka has quit [Ping timeout: 240 seconds]
xiphias has quit [Ping timeout: 240 seconds]
jle` is now known as jle_
sayan has joined #ruby
xiphias has joined #ruby
tharindu is now known as tharindu|away
jle_ is now known as jle`
drumusician has joined #ruby
dkamioka_ has quit [Ping timeout: 264 seconds]
tharindu|away is now known as tharindu
mjburgess has quit [Ping timeout: 246 seconds]
tyl has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
fire has joined #ruby
olivier_bK has joined #ruby
xiphias has joined #ruby
keen_ has quit [Remote host closed the connection]
workmad3 has joined #ruby
keen_ has joined #ruby
predator117 has joined #ruby
reach has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
Azure has quit [Quit: My MBP went to sleep.]
<pontiki>
the itty bitty kitty committee rules all
predator117 has quit [Remote host closed the connection]
xiphias has quit [Ping timeout: 240 seconds]
<rjhunter>
the witty ditty about the gritty city is on the settee
<pontiki>
++
coca_rails has joined #ruby
clamstar_ has quit [Quit: Computer has gone to sleep.]
xiphias has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
xiphias has quit [Changing host]
xiphias has joined #ruby
parduse has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
parduse has joined #ruby
workmad3 has joined #ruby
<rjhunter>
(composed, admittedly, with some help from `egrep '^[^aeiou]+it+(i|ee|y)$' /usr/share/dict/words`)
drago777 has quit [Ping timeout: 240 seconds]
h0rrorvacui has quit [Ping timeout: 252 seconds]
coca_rails has quit [Ping timeout: 245 seconds]
predator117 has joined #ruby
dkamioka has joined #ruby
wjimenez5271 has quit [Ping timeout: 272 seconds]
dkamioka has quit [Read error: No route to host]
subbyyy_ has joined #ruby
gregoriokusowski has joined #ruby
drago777 has joined #ruby
dkamioka has joined #ruby
xjiujiu has joined #ruby
Xeago has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
subbyyy has quit [Ping timeout: 272 seconds]
guardianx has joined #ruby
ephemerian has joined #ruby
dkamioka has quit [Ping timeout: 250 seconds]
RoryHughes has joined #ruby
noop has quit [Ping timeout: 252 seconds]
ua_ has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
<shevy>
cheaaaaaaater
RoryHughes has joined #ruby
parduse is now known as Guest57832
Guest57832 has quit [Killed (dickson.freenode.net (Nickname regained by services))]
parduse has joined #ruby
camilasan has quit [Read error: No route to host]
camilasa_ has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
codenapper has joined #ruby
flubba has quit [Remote host closed the connection]
flubba has joined #ruby
rjhunter has quit [Remote host closed the connection]
ua has quit [Ping timeout: 264 seconds]
shedd has joined #ruby
keen_ has quit [Remote host closed the connection]
roolo has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
RoryHughes has joined #ruby
joaoh82 has joined #ruby
RoryHughes has quit [Max SendQ exceeded]
parduse has quit [Ping timeout: 272 seconds]
flubba has quit [Ping timeout: 240 seconds]
drago777 has joined #ruby
blaxter_ has joined #ruby
camilasa_ has quit []
RoryHughes has joined #ruby
parduse has joined #ruby
shedd has quit [Ping timeout: 250 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
zigomir_ has joined #ruby
brennanMKE has joined #ruby
gauteh has joined #ruby
Elhu has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
parduse has quit [Ping timeout: 248 seconds]
cbetta is now known as cbetta_afk
zigomir has left #ruby [#ruby]
parduse has joined #ruby
zigomir_ is now known as zigomir
brennanMKE has quit [Ping timeout: 241 seconds]
jeffreyio2 has joined #ruby
noop has joined #ruby
agent_white has quit [Quit: gnight all]
jeffreyio2_ has joined #ruby
maddog_ has quit [Ping timeout: 252 seconds]
jeffreyio2__ has joined #ruby
flubba has joined #ruby
txdv has quit [Quit: No Ping reply in 180 seconds.]
jeffreyio2_ has quit [Remote host closed the connection]
txdv has joined #ruby
jeffreyio2 has quit [Read error: Connection reset by peer]
jeffreyio2__ has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeffreyio2 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banghouse2 has quit [Quit: What if the hokey pokey really is what it's all about?]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aagdbl has quit [Ping timeout: 246 seconds]
skaflem has joined #ruby
Xeago has quit [Remote host closed the connection]
maddog_ has joined #ruby
fijimunkii has joined #ruby
S0da has quit [Remote host closed the connection]
Xeago has joined #ruby
zipper has joined #ruby
arefaslani has joined #ruby
mklappstuhl has joined #ruby
spider-mario has joined #ruby
dapz has quit [Ping timeout: 250 seconds]
mklappstuhl has quit [Ping timeout: 250 seconds]
obs has joined #ruby
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mars` has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
Gestahlt has joined #ruby
<Gestahlt>
Hi
vlad_starkov has quit [Remote host closed the connection]
<robertjpayne>
While developing a gem is there any easy way to sort of use the same workflow you would as if the gem were installed?
gja has joined #ruby
gja has quit [Client Quit]
gja has joined #ruby
cow_ has quit [Remote host closed the connection]
<MrZYX>
if the target application is using bundler, there's the path option
wildroman2 has quit [Remote host closed the connection]
<MrZYX>
if not, manually modify $LOAD_PATH to include it
vlad_starkov has joined #ruby
gauteh has quit [Ping timeout: 250 seconds]
threesome has joined #ruby
aganov has quit [Quit: Leaving]
dkamioka has joined #ruby
pedda has quit [Ping timeout: 240 seconds]
coca_rails has joined #ruby
djdb has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
jalcine is now known as Agent_Smith
Agent_Smith is now known as group
group is now known as Agent_Smith
ryanRT_ has quit [Quit: Ex-Chat]
Agent_Smith is now known as jalcine
pedda has joined #ruby
threesome has quit [Max SendQ exceeded]
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
plotter has quit [Ping timeout: 245 seconds]
roolo has quit [Remote host closed the connection]
dkamioka has quit [Ping timeout: 272 seconds]
coca_rails has quit [Ping timeout: 245 seconds]
Bofu2U has joined #ruby
drumusician has quit [Ping timeout: 240 seconds]
threesome has joined #ruby
kung has joined #ruby
chrisja has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
gauteh has joined #ruby
cow_ has joined #ruby
psyl0n has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
sayan has quit [Ping timeout: 264 seconds]
larssmit has joined #ruby
TomRone has joined #ruby
bashdy has joined #ruby
amedeiros has joined #ruby
cmedeiros has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
cmedeiros has quit [Max SendQ exceeded]
cmedeiros has joined #ruby
intuxicated has quit [Read error: No route to host]
gja has joined #ruby
osvico has joined #ruby
gja has quit [Client Quit]
mklappstuhl has quit [Remote host closed the connection]
siwica has joined #ruby
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has joined #ruby
vikhyat_ has joined #ruby
lkba has joined #ruby
pootler has joined #ruby
gauteh has quit [Ping timeout: 250 seconds]
mklappstuhl has joined #ruby
rippa has joined #ruby
rjhunter has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
ewnd9 has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
St_Marx has quit [Ping timeout: 240 seconds]
TomRone has quit [Ping timeout: 240 seconds]
bogeyd6 has quit [Read error: Connection reset by peer]
Elhu has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
St_Marx has joined #ruby
monkegjinni has joined #ruby
mojjojo has quit [Quit: mojjojo]
TomRone has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
freggles has quit [Remote host closed the connection]
freggles has joined #ruby
freggles has quit [Changing host]
freggles has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mojjojo has joined #ruby
freggles has quit [Remote host closed the connection]
freggles has joined #ruby
jamblack has quit [Quit: jamblack]
mojjojo has quit [Client Quit]
mojjojo has joined #ruby
monkegjinni has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
Elhu has joined #ruby
mojjojo has quit [Client Quit]
mojjojo has joined #ruby
jamblack has joined #ruby
gja has joined #ruby
cbetta_afk is now known as cbetta
freggles has quit [Read error: Connection reset by peer]
freggles has joined #ruby
prc has quit [Quit: Leaving.]
agjacome has joined #ruby
cbetta is now known as cbetta_afk
gigetoo has quit [Remote host closed the connection]
MrZYX is now known as MrZYX|off
gja has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
coca_rails has joined #ruby
rjhunter has quit [Remote host closed the connection]
shredding has joined #ruby
browndawg has joined #ruby
freggles has quit [Read error: Connection reset by peer]
coca_rails has quit [Ping timeout: 245 seconds]
mklappstuhl has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Ex-Chat]
tehKitten has joined #ruby
freggles has joined #ruby
ior3k has joined #ruby
ior3k has left #ruby [#ruby]
conceptualHygene has quit [Ping timeout: 248 seconds]
drumusician has joined #ruby
freggles has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
aryaching has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
freggles has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
shredding has joined #ruby
flame_ has joined #ruby
studzinsk has quit [Remote host closed the connection]
vikhyat_ has quit [Remote host closed the connection]
Advocation has joined #ruby
shredding has quit [Quit: shredding]
lewix has joined #ruby
Advocation has quit [Client Quit]
freggles has quit [Ping timeout: 246 seconds]
nomenkun has quit [Ping timeout: 248 seconds]
floyd20183 has left #ruby [#ruby]
conceptualHygene has joined #ruby
mengu has quit [Ping timeout: 252 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
dagen has quit []
bashdy has joined #ruby
drumusician has quit [Ping timeout: 246 seconds]
freggles has joined #ruby
freggles has joined #ruby
freggles has quit [Changing host]
brennanMKE has quit [Ping timeout: 250 seconds]
zarul has quit [Ping timeout: 240 seconds]
ArchBeOS-work has quit [Quit: Leaving]
zarul has joined #ruby
okinomo has quit [Ping timeout: 264 seconds]
keen_ has joined #ruby
gja has joined #ruby
okinomo has joined #ruby
ffranz has joined #ruby
vlad_starkov has joined #ruby
osvico has quit [Ping timeout: 246 seconds]
freggles has quit [Remote host closed the connection]
vpretzel has joined #ruby
S0da has joined #ruby
ckinni has joined #ruby
vikhyat has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has quit []
drumusician has joined #ruby
maroloccio has quit [Ping timeout: 246 seconds]
klcant102 has joined #ruby
vlad_starkov has joined #ruby
flame_ has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
popl has quit [Quit: And then there are people who prefer to look their fate in the eye.]
okinomo has quit [Ping timeout: 250 seconds]
Bira has joined #ruby
crazysim has quit [Excess Flood]
tharindu has quit [Quit: Leaving...]
okinomo has joined #ruby
ss_ has quit [Remote host closed the connection]
jamblack has quit [Quit: jamblack]
cmedeiros has quit [Ping timeout: 272 seconds]
sayan has joined #ruby
devdazed has joined #ruby
sayan has quit [Read error: Connection reset by peer]
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aagdbl has quit [Quit: Leaving.]
sayan has joined #ruby
horofox has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
rootshift has joined #ruby
Elhu has joined #ruby
okinomo has quit [Quit: Lost terminal]
yacks has joined #ruby
mlpinit has joined #ruby
breakingthings has joined #ruby
coca_rails has joined #ruby
Advocation has joined #ruby
workmad3 has joined #ruby
angusiguess has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
mojjojo has quit [Quit: mojjojo]
coca_rails has quit [Ping timeout: 245 seconds]
crazysim has joined #ruby
joaoh82 has joined #ruby
klaut has quit [Remote host closed the connection]
nomenkun has joined #ruby
crazysim has quit [Max SendQ exceeded]
habanany has joined #ruby
arefasla_ has quit [Ping timeout: 248 seconds]
crazysim has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
kwertie has joined #ruby
Guest97410 has quit [Ping timeout: 240 seconds]
rjhunter has joined #ruby
Guest97410 has joined #ruby
<kwertie>
is there some sort of operation which would allow me to more concisely express this? new_value = get_value(); if new_value ne old_value then print "new"; else print "same"; end; old_value = new_value
<kwertie>
how would you directly translate that example?
<kwertie>
i can't see how the ternary op would come into it
<kwertie>
oh, hang on
<shevy>
dunno, I dont use the ternary operator myself
Elhu has quit [Quit: Computer has gone to sleep.]
<Hanmac1>
something like print(new_value != old_value ? "new" : "same")
siwica has quit [Remote host closed the connection]
crazysim has quit [Max SendQ exceeded]
<shevy>
you wanted to be more concise so we need to find a solution where you can chop off chars from your code here ;)
ewnd9 has quit [Ping timeout: 246 seconds]
mojjojo has joined #ruby
rjhunter has quit [Ping timeout: 250 seconds]
crazysim has joined #ruby
Advocation has quit [Quit: Advocation]
gja has quit [Quit: This computer has gone to sleep]
bluenemo has joined #ruby
freezey has quit [Ping timeout: 272 seconds]
nowthatsamatt has joined #ruby
<shevy>
god
diegoviola has quit [Quit: WeeChat 0.4.2]
cmedeiros has joined #ruby
Squarepy has joined #ruby
samsonasu has joined #ruby
<shevy>
it sucks that the first one to register at rubygems.org gets to decide which name to use
<shevy>
and then prevent everyone else from being able to use that name
<shevy>
:(
samsonasu has quit [Client Quit]
<deepy>
shevy: can you think of another fair system?
Advocation has joined #ruby
Elhu has joined #ruby
gja has joined #ruby
mojjojo has quit [Quit: mojjojo]
crazymykl has quit [Ping timeout: 246 seconds]
<shevy>
deepy sure. aliases. the first one gets to register picks that name, but everyone else gets optional entries where they can specify to use another project instead. that may require an additional field in a .gemspec
<kwertie>
How best to actually go about making a GUI for a Ruby app?
<kwertie>
There's Shoes, but I don't know alternatives
xiphias has quit [Ping timeout: 240 seconds]
mlpinit has quit [Remote host closed the connection]
divi_ has joined #ruby
<shevy>
shoes4 depends on java/jruby
<shevy>
that's no longer the original spirit of shoes :(
divi_ has quit [Client Quit]
<kwertie>
It's the only GUI framework I've come across, still, that doesn't seem completely ugly
xiphias has joined #ruby
<shevy>
the ruby GUI bindings are not really great. ruby-gnome is ok... there is (ruby)qt qtruby... dunno how that progresses, from my perspective it died. FXRuby died about 4 years ago ... wxruby bindings aren't maintained since years (save for Hanmac1 here who tries to write bindings)
<shevy>
and ruby-tk always looked ugly
<kwertie>
I don't get how a language as popular as ruby doesn't have any decent gui stuff going on
Hanmac1 is now known as Hanmac
<shevy>
because you need people who can code in C or C++
g0bl1n has joined #ruby
<Hanmac>
shevy i already added new Dialogs today ...
<kwertie>
that must restrict Ruby's use cases tremendously
<shevy>
kwertie well
<kwertie>
and therefore its uptake as a language
gja has quit [Quit: This computer has gone to sleep]
<shevy>
people who know C or C++ tend to work for things that make money
snath has quit [Ping timeout: 264 seconds]
gja has joined #ruby
divi_ has joined #ruby
Parker0 has joined #ruby
ambushsabre has joined #ruby
meatherly has quit []
baordog_ has quit [Read error: Connection timed out]
gja has quit [Client Quit]
baordog_ has joined #ruby
frustrum has joined #ruby
synergy has joined #ruby
meatherly has joined #ruby
divi_ has quit [Client Quit]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby
lukec has joined #ruby
Yarou has joined #ruby
Yarou has quit [Client Quit]
psyprus has quit [Ping timeout: 240 seconds]
root_empire has joined #ruby
drumusician has quit [Ping timeout: 248 seconds]
psyprus has joined #ruby
bean__ has joined #ruby
vlad_starkov has joined #ruby
michael_lee has quit [Ping timeout: 250 seconds]
habanany has quit [Remote host closed the connection]
root_empire has quit [Max SendQ exceeded]
tkuchiki has quit [Read error: Connection reset by peer]
habanany has joined #ruby
sayan has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
OnkelTem has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
root_empire has joined #ruby
OnkelTem has joined #ruby
ladyboy has quit [Quit: WeeChat 0.4.2]
kep has joined #ruby
kep is now known as ladyboy
tkuchiki has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
nircUser has joined #ruby
burlyscudd has quit [Quit: Leaving.]
mojjojo has quit [Quit: mojjojo]
_bart has joined #ruby
mengu has quit [Remote host closed the connection]
mojjojo has joined #ruby
brennanMKE has joined #ruby
nircUser has quit [Client Quit]
nircUser has joined #ruby
nircUser has left #ruby [#ruby]
vlad_starkov has quit [Remote host closed the connection]
lmickh has joined #ruby
vlad_starkov has joined #ruby
cody-- has joined #ruby
mjburgess has joined #ruby
brennanMKE has quit [Ping timeout: 250 seconds]
shevy has quit [Ping timeout: 272 seconds]
Advocation has joined #ruby
cody-- has quit [Client Quit]
jmaister has joined #ruby
burlyscudd has joined #ruby
rh1n0 has joined #ruby
<ericwood>
that stereotype is a crock of shit
<jmaister>
Hi! I've got a file, settings.rb which contains http://pastebin.com/QpGT3rkj and want to read this into a hash. I've been thinking of doing it like this http://pastebin.com/mm4c26Ha . This doesn't seem to work. Any help?
<apeiros_unid>
s/class/module/ - yeah, that'd be nice
<apeiros_unid>
I'm amazed time and time again how people can fail at indenting *so hard*
arefasla_ has quit [Remote host closed the connection]
<apeiros_unid>
it's like "spaces? what's that?"
<shevy>
olivier_bK you must make that method known
fire has quit [Quit: WeeChat 0.4.1]
<olivier_bK>
?
<shevy>
olivier_bK but is it attached to a class, so you must make an instance
wallerdev has joined #ruby
<shevy>
olivier_bK your code does not work because def putoli is defined within the namespace of ConnectMysql
<shevy>
*class ConnectMysql
<shevy>
so either use ConnectMysql.new.putoli or define a class method ConnectMysql.putoli or define a method called putoli that does one of the two ways mentioned
vlad_starkov has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 264 seconds]
freezey has joined #ruby
S0da has quit [Remote host closed the connection]
brtdv has joined #ruby
bluenemo has quit [Remote host closed the connection]
estebistec has quit [Remote host closed the connection]
<olivier_bK>
shevy, thank why i didn't' guess that before :(
zigomir has quit [Remote host closed the connection]
rh1n0 has quit [Quit: -- I'm getting very tired --]
notroot_ has quit [Quit: Leaving]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
grep_awesome is now known as grep_away
nircUser has joined #ruby
rh1n0 has joined #ruby
amedeiros has quit [Remote host closed the connection]
rh1n0 has quit [Max SendQ exceeded]
ValicekB has joined #ruby
rh1n0 has joined #ruby
amedeiros has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
rh1n0 has quit [Max SendQ exceeded]
amedeiros has quit [Read error: No route to host]
amedeiro_ has joined #ruby
amedeiro_ is now known as amedeiros
rh1n0 has joined #ruby
rh1n0 has quit [Client Quit]
monkegjinni has joined #ruby
Faris has quit [Ping timeout: 272 seconds]
nircUser has quit [Client Quit]
mosscollum has joined #ruby
larssmit has quit [Quit: Leaving.]
ffranz has joined #ruby
aspiers has quit [Ping timeout: 252 seconds]
mmitchell has joined #ruby
grep_away is now known as grep_awesome
rh1n0_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
nircUser has joined #ruby
vlad_starkov has joined #ruby
mlpinit has joined #ruby
tylersmith has quit [Remote host closed the connection]
Faris has joined #ruby
brennanMKE has joined #ruby
angusiguess has quit [Ping timeout: 272 seconds]
nircUser has quit [Quit: goodbye]
mlpinit has quit [Client Quit]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
cody-- has joined #ruby
blandflakes has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
octoberry has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
gja has quit [Client Quit]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
Faris has quit [Ping timeout: 248 seconds]
vlad_starkov has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
cody-- has quit [Client Quit]
ladyboy has quit [Quit: WeeChat 0.4.2]
brennanMKE has quit [Ping timeout: 250 seconds]
clamstar_ has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
RoryHughes has quit []
marr has quit [Ping timeout: 250 seconds]
jonathanwallace has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
ambushsabre has quit [Quit: rip]
burlyscudd has quit [Quit: Leaving.]
RoryHughes has joined #ruby
burlyscudd has joined #ruby
drago777 has joined #ruby
aspires has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
g0bl1n has quit [Read error: Operation timed out]
kcombs has quit [Remote host closed the connection]
brennanMKE has joined #ruby
kirun has joined #ruby
m_3 has quit [Ping timeout: 246 seconds]
iamdoo2 has quit []
vikhyat has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 272 seconds]
vikhyat has joined #ruby
mjburgess has quit [Ping timeout: 246 seconds]
klaut has joined #ruby
mosscollum has quit [Ping timeout: 240 seconds]
yshh has quit [Remote host closed the connection]
clamstar_ has quit [Quit: Computer has gone to sleep.]
browndawg has left #ruby [#ruby]
<jmaister>
apeiros_unid: Ok, I tried another approach, but it still doesn't work. Could you please have a look at this? According to what I did in irb, it should work http://pastebin.com/BwziLswR
<jmaister>
I think this should be valid at least
rh1n0_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dawe has joined #ruby
Advocation has joined #ruby
Squarepy has quit [Ping timeout: 240 seconds]
gja has quit [Quit: This computer has gone to sleep]
<apeiros_unid>
jmaister: API keys in pastes are not a good idea ;-p
Oculus has joined #ruby
<apeiros_unid>
and please, don't use eval for string interpolation
<jmaister>
dammit
gja has joined #ruby
<apeiros_unid>
"foo#{variable}"
psyl0n has quit [Remote host closed the connection]
<apeiros_unid>
jmaister: so what's your issue with the pasted code?
Oculus has quit [Read error: Connection reset by peer]
jonathanwallace has quit [Ping timeout: 240 seconds]
p4d4w4n has joined #ruby
ce_afk is now known as cescalante
<jmaister>
I'm not quite able to identify it, but my config isn't made avalible to my plugin, so I wanted to at least check if the ruby was ok
Oculus has joined #ruby
<jmaister>
It's kind of hard to debug
Faris has joined #ruby
jamblack has joined #ruby
root_empire has quit [Quit: Ex-Chat]
octoberry has joined #ruby
divi_ has joined #ruby
dr_bob has joined #ruby
jonathanwallace has joined #ruby
Parker0 has quit [Read error: Connection reset by peer]
<jmaister>
Ah, it seems options is still empty
Parker0 has joined #ruby
mojjojo has joined #ruby
geggam has joined #ruby
<jmaister>
better grab some food and try again. thanks :)
<apeiros_unid>
jmaister: the loading part is not difficult to debug
drago777 has quit [Ping timeout: 240 seconds]
<apeiros_unid>
replace c.plugins.options with a plain variable and you can easily run it without cinch.
<apeiros_unid>
well, and drop the `debug` call, or replace it with raise or whatever
divi_ has quit [Ping timeout: 240 seconds]
<apeiros_unid>
btw., Dir["./lib/cinch/data/*.config.json"].each do |file| -> Dir.glob("./lib/cinch/data/*.config.json") do |file|
octoberry has quit [Ping timeout: 240 seconds]
vikhyat_ has joined #ruby
threesome has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 240 seconds]
bashdy has joined #ruby
vikhyat has quit [Read error: Connection reset by peer]
drago777 has joined #ruby
jonathanwallace has quit [Ping timeout: 250 seconds]
kevind_ has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
<Underbyte>
hey, would anyone be willing to help me out with a phusion passenger + apache + sinatra/ruby2.0 setup issue i'm having?
b00stfr3ak has quit [Quit: Lost terminal]
sharms has quit [Changing host]
sharms has joined #ruby
<Underbyte>
everything seems to be installed correctly, but apache keeps insisting on serving the rackbase URI like its a static file.
<Underbyte>
i'm pretty much stumped.
jamblack has quit [Quit: jamblack]
flubba has joined #ruby
ambushsabre has joined #ruby
TomRone has joined #ruby
chrisja has quit [Ping timeout: 272 seconds]
octoberry has joined #ruby
kostine has joined #ruby
chrisja has joined #ruby
klcant102 has quit [Quit: Leaving]
<lessless>
hey folks, can someone explain me the mechanics of [1,2,3].each.with_index.with_object([]) { |(obj, index), accum| puts index} ?
RoryHughes has quit []
bean__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juarlex has joined #ruby
<lessless>
especially why first two parameters are grouped with braces?
IceDragon has joined #ruby
<apeiros_unid>
lessless: try it without and see ;-)
<lessless>
apeiros_unid, I tried, but I cant understand the mechanics :)
<apeiros_unid>
what did you see, when you tried?
stardiviner has joined #ruby
io_syl has joined #ruby
<lessless>
apeiros_unid, when I added #with_object to the #each_with_index, the arguments of last was coupled in the array
<KK4MGV>
could somebody point me to an "official" style guide that would cover things like do end vs {}, whitespace conventions, etc?
<apeiros_unid>
lessless: correct
<shevy>
KK4MGV there is none
<KK4MGV>
there must be some informally agreed upon convention though, no?
lethjakm1 has quit [Ping timeout: 264 seconds]
<shevy>
KK4MGV {} binds more tightly than do/end and you may have to use () in case you want to pass arguments to the method called
Voodoofish4301 has joined #ruby
lethjakm1 has joined #ruby
<Mon_Ouie>
olivier_bK: "passing a variable to another class" doesn't make sense
nari has quit [Ping timeout: 252 seconds]
<xibalba>
KK4MGV, The book : eloquent ruby
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gonzih has quit [Quit: IRC is just multiplayer vim.]
<shevy>
KK4MGV no. the pickaxe tried to establish one by stating "use do/end for multiline, for one-liners use {}" but the ruby parser does not enforce that so people can ignore it as they wish
<lessless>
apeiros_unid, I know, that a, b = [1,2] splits array without any braces
shredding has joined #ruby
<KK4MGV>
the pickaxe?
<lessless>
apeiros_unid, can you please give another example of this kind of usage of the braces?
<Mon_Ouie>
KK4MGV: There are different ones. There's the one shevy mentioned and also another one that uses do … end for side-effect and { … } for the rest; also, if you're chaining blocks, you'd probably prefer { … }
<shevy>
hmm interesting
<lessless>
i.e. to split array with braces
conner has joined #ruby
<shevy>
it seems as if the pickaxe is no longer called the pickaxe
<shevy>
"This book is the only complete reference for Ruby 1.9, the very latest version of Ruby. (If you are still using Ruby 1.8, you'll want to check out the original PickAxe.)"
ssvo has joined #ruby
<shevy>
it's literally mentioned there!
ssvo has quit [Client Quit]
<shevy>
nowadays I store things in my local knowledge base
flubba_ has joined #ruby
shime has quit [Ping timeout: 264 seconds]
<KK4MGV>
is there a ruby equivalent of k&r for C or the lama book for perl, etc.?
<KK4MGV>
would that be the pickaxe?
cow_ has quit [Ping timeout: 272 seconds]
<shevy>
yeah
<shevy>
except that k&r is very short and terse
angusiguess has quit [Ping timeout: 260 seconds]
<KK4MGV>
but it's considered "the book"
<shevy>
the pickaxe has like the whole stdlib of ruby documented inside of it
burlyscudd has quit [Quit: Leaving.]
octoberry has quit [Ping timeout: 240 seconds]
<Mon_Ouie>
olivier_bK: I still don't know what you mean by that
<Mon_Ouie>
You pass object to methods through their arguments
thumpba has quit [Remote host closed the connection]
brtdv has quit [Ping timeout: 260 seconds]
<KK4MGV>
well, i can use the website as a library reference (probably more up to date, probably easier to navigate), i was more looking for a solid conceptual foundation for ruby
thumpba has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
marr has joined #ruby
lukec has quit [Quit: lukec]
lewix has quit [Remote host closed the connection]
<shevy>
I dunno
shredding has quit [Ping timeout: 240 seconds]
<shevy>
the best way to ruby is to start writing things
<shevy>
the main things you'll need most of the time are (a) class Array (b) class String (c) class Hash ... that's about it really
shredding has joined #ruby
noop has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
alexherbo2 has joined #ruby
tharindu has joined #ruby
olivier_bK has quit [Ping timeout: 261 seconds]
fridim_ has joined #ruby
atma111 has joined #ruby
mojjojo has quit [Quit: mojjojo]
danshultz has quit [Ping timeout: 252 seconds]
flubba_ has quit [Remote host closed the connection]
mojjojo has joined #ruby
<atma111>
Does anyone speak Spanish? need help
flubba has joined #ruby
Elhu has joined #ruby
<Underbyte>
Baxter! tu sabes que yo no hablo español!
dima has quit [Remote host closed the connection]
flubba has quit [Ping timeout: 246 seconds]
drago777 has quit [Ping timeout: 240 seconds]
dima has joined #ruby
vlad_starkov has joined #ruby
wallerdev has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
drago777 has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
divi_ has joined #ruby
Squarepy has joined #ruby
<shevy>
atma111 mi gato es un perro
<atma111>
lel
sr78ger has joined #ruby
rdark has quit [Quit: leaving]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
Asher has quit [Client Quit]
kalleth has joined #ruby
lukec has joined #ruby
Asher has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
conner has quit [Ping timeout: 272 seconds]
sr78ger has quit [Client Quit]
<atma111>
bueno tengo instalado squid3 en ubuntu server y queria instalar nginx para guardar los videos de youtube
<atma111>
pero cuando instalo todo reinicio el squid3 y ya no tengo internet en las otras pcs
<atma111>
le pongo el signo a esto q le puse al squid.conf #url_rewrite_program /etc/nginx/nginx.rb y ya tengo internet de nuevo
lethjakm1 has joined #ruby
freezey has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 262 seconds]
dima has quit [Remote host closed the connection]
drago777 has joined #ruby
Neomex has joined #ruby
<Underbyte>
anyone feel like helping me out with an apache/ruby/sinatra/passenger problem i'm having?
Mon_Ouie has quit [Read error: Operation timed out]
habanany has quit [Quit: Bye]
baroquebobcat has quit [Quit: baroquebobcat]
shedd has quit [Remote host closed the connection]
subbyyy has joined #ruby
CaptainJet has joined #ruby
h0rrorvacui has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
Elhu has joined #ruby
peregrine81 has quit []
katherinem13 has joined #ruby
Squarepy has quit [Ping timeout: 272 seconds]
katherinem13 is now known as kiki_lamb
stardiviner has quit [Remote host closed the connection]
freezey has joined #ruby
kiki_lamb has quit [Client Quit]
kiki_lamb has joined #ruby
peregrine81 has joined #ruby
peregrine81 has quit [Max SendQ exceeded]
guardianx has quit [Remote host closed the connection]
peregrine81 has joined #ruby
b00stfr3ak has joined #ruby
angusiguess has joined #ruby
<Aloysius1>
Heyo...I got a "block (2 levels) in <my routine>" where "<my routine>" is a function running two independent threads. Googling this error doesn't seem to turn up what it actually is...
TomRone has joined #ruby
hl has quit [Ping timeout: 260 seconds]
tylersmith has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
vlad_starkov has quit [Remote host closed the connection]
joaoh82 has quit []
DouweM has quit [Quit: Leaving...]
ValicekB has joined #ruby
ewnd9 has quit [Read error: Operation timed out]
cj3kim has quit [Remote host closed the connection]
Faris has joined #ruby
brtdv has joined #ruby
shanlar has quit [Quit: Be back later]
flubba has joined #ruby
atma111 has quit [Ping timeout: 240 seconds]
atma111 has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
shanlar has joined #ruby
arefaslani has joined #ruby
iamjarvo has joined #ruby
maxmanders has quit [Ping timeout: 260 seconds]
pdtpatr11k has quit [Quit: leaving]
Kricir has joined #ruby
Speed has joined #ruby
mpereira has quit [Ping timeout: 272 seconds]
Speed is now known as Guest54692
alexherbo2 has quit [Ping timeout: 264 seconds]
Guest54692 has quit [Changing host]
Guest54692 has joined #ruby
lewix has joined #ruby
Guest54692 is now known as Speed
maxmanders has joined #ruby
sayan has joined #ruby
<shevy>
atma111 eh some guy has problems there
<shevy>
pongo pongo problems
benzrf has joined #ruby
<benzrf>
one thing i can definitely say is awesome about ruby far beyond python
wildroman2 has quit []
<benzrf>
DEFAULT BUILTIN LIBRARY
<atma111>
le pongo el signo a esto q le puse al squid.conf #url_rewrite_program /etc/nginx/nginx.rb y ya tengo internet de nuevo
<benzrf>
i wrote some python again yesterday and i felt like i was in a barren wasteland of functions & methods by comparison
<benzrf>
._.
synergy has quit [Read error: Connection reset by peer]
mpereira has joined #ruby
polaco_zZz has quit [Quit: HTTP/1.1 410 Gone]
<atma111>
creo q es por la version el script para le version que tengo no funciona
polaco has joined #ruby
larissa has quit [Quit: Leaving]
platzhirsch has joined #ruby
parduse has quit [Ping timeout: 272 seconds]
spyderman4g63 has joined #ruby
mosscollum has joined #ruby
<Underbyte>
still need help with a passenger issue, have conf files ready to go if anyone wants to take a shot
cj3kim has joined #ruby
brtdv has quit []
hl has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has joined #ruby
bricker has joined #ruby
conner has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Remote host closed the connection]
Part_ has joined #ruby
ambushsabre has quit [Quit: rip]
<Part_>
hi
<benzrf>
hello Part_
<benzrf>
hows it going
iamjarvo has joined #ruby
<shevy>
die
<shevy>
I mean
<shevy>
hi benzrf
<benzrf>
D:
drago777 has joined #ruby
<shevy>
Part_ is soon gone
<Part_>
hi benzrf :)
<benzrf>
man what a freudian slip
<shevy>
yeah I should not too often let out my thoughts :(
<Part_>
hi shevy
<shevy>
benzrf, have you finally made gems on rubygems.org
<benzrf>
no
<benzrf>
i still have v mixed feelings about ruby
alexherbo2 has joined #ruby
<shevy>
let them out man
<benzrf>
the layer you use in everyday programming is like 80% highly superior to python
<benzrf>
but the last 20% drives me up the wall
<Part_>
I have a string with a path like this d:/music/mp3/ What is the best way to check if the first directory is music ?
<benzrf>
and the underlying semantics...
<benzrf>
god so messy
iamjarvo_ has joined #ruby
mosscollum has quit [Quit: mosscollum]
Neomex has quit [Quit: Neomex]
codeHygiene has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Read error: Connection reset by peer]
<shevy>
benzrf the cool thing is that one can ignore most of these things in ruby and only use what is cool
<Part_>
shevy: let me check
<benzrf>
shevy: maybe for YOU
<benzrf>
and jesus christ scoping and imports
<benzrf>
ruby is terrifyingly awful about scoping and impots
<benzrf>
*imports
<benzrf>
holy shit
Fire-Dragon-DoL has joined #ruby
<jxport>
benzrf: in which ways?
<benzrf>
jxport: one example...
<benzrf>
requiring sinatra will override your Date class.
<benzrf>
the old one was useless, so it's not a big deal
<benzrf>
but
<shevy>
hehe
<benzrf>
the fact that that is _POSSIBLE_ and _HAPPENS_ in a _POPULAR FRAMEWORK_
<benzrf>
god damn does that reek of bad design
lagweezle has joined #ruby
<shevy>
how would you solve the problem when you wish to provide flexibility and power to the user
<benzrf>
python still rules the universe in terms of import systems
<shevy>
"you may not overrule stdlib" *waves hand like jedi knight*
<benzrf>
-smug-
lagweezle is now known as sickweezle
Czupa has joined #ruby
<benzrf>
shevy: no, you may not override anything outside of your namespace unless the importing party specifies so!!
<shevy>
dictatorship!!!
colonolGron has joined #ruby
<shevy>
I fight for freedom like mel gibson in braveheart!!!!
<shevy>
DOWN WITH THE PANTS NOW!!!!!!
<benzrf>
a single shared namespace for _EVERY FILE RUN_ is absurdly idiotic!!
<shevy>
hehe
<jxport>
BTW - if I'm triggering an exception in a test, and its rescue block is outputs debug info/warning -- how can I avoid that happening when using rspec?
<shevy>
(close eyes and wait until the info passed the screen)
<benzrf>
NOT TO MENTION that it is freaking impossible for readers of code to figure out where any given method or class is from without a good search tool
<jxport>
benzrf: there's a single shared namespace..? I did not realise this
<jxport>
shevy: was that to me? I don't know whether that's normal from testing
axl_ has quit [Quit: axl_]
<benzrf>
one awesome feature of python's import system is that you usually specify the names of the things you import
<shevy>
well there is .owner and .source_location and method() and method_source
<shevy>
benzrf see what is bad in ruby? you'll never get people to agree on anything!
<shevy>
like what amount of indent is the right one to use, for instance
mehlah_ is now known as mehlah
<benzrf>
2sp
<benzrf>
duh
<terrellt>
...Two spaces isn't agreed on?
<shevy>
hehe
<shevy>
if you ask me sure
<benzrf>
python uses 4sp but i use tabs because im a REBEL
<terrellt>
That's just project specific stuff, you define that at the beginning.
clamstar_ has quit [Ping timeout: 240 seconds]
<terrellt>
Write it down, that's just good practice.
Kricir has joined #ruby
kevind_ has quit [Quit: kevind_]
<benzrf>
what i really want is a language with ruby's pleasantness of everyday usage, Io's pleasantness of underlying semantics and metaprogramming, and python's import system
<benzrf>
then i will live in programming bliss maybe
Part_ has quit [Ping timeout: 252 seconds]
mehlah has quit [Read error: Connection reset by peer]
drago777 has quit [Ping timeout: 240 seconds]
<benzrf>
i should probably learn scala at some point
mikepack has quit [Remote host closed the connection]
<shevy>
don't you need java for scala?
mojjojo has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
<benzrf>
it is a jvm languages
mehlah has quit [Read error: Connection reset by peer]
<benzrf>
*languag
<benzrf>
e
mehlah_ has joined #ruby
kevind_ has joined #ruby
Part_ has joined #ruby
marr has quit [Ping timeout: 248 seconds]
clamstar_ has joined #ruby
Landshark753 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drago777 has joined #ruby
mehlah_ is now known as mehlah
<atma111>
como puedo saber q version de ruby tengo instalado en mi ubuntu server
bashdy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
hmm I thought there is more... there is an option for a .gemspec file where you can set the markup you want to use AFAIK. or you could just use yard http://yardoc.org/
<benzrf>
shevy: so i was thinking i could make something sinatra-ish but for irc bots instead of web sites
<benzrf>
for my gem
txdv has joined #ruby
<benzrf>
then you will stop harassing me ?
sharms has quit [Ping timeout: 240 seconds]
sharms has joined #ruby
Hanmac1 has quit [*.net *.split]
jamesaxl has quit [*.net *.split]
soheil has quit [*.net *.split]
arefasla_ has quit [*.net *.split]
subbyyy has quit [*.net *.split]
nanoyak has quit [*.net *.split]
tylersmith has quit [*.net *.split]
wallerdev has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
thumpba has quit [*.net *.split]
vikhyat_ has quit [*.net *.split]
relix has quit [*.net *.split]
asteve has quit [*.net *.split]
anderson has quit [*.net *.split]
nfk has quit [*.net *.split]
frustrum has quit [*.net *.split]
havenwood has quit [*.net *.split]
banister has quit [*.net *.split]
naquad has quit [*.net *.split]
Beoran__ has quit [*.net *.split]
decoponio has quit [*.net *.split]
Monie has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
mr_red has quit [*.net *.split]
crapple has quit [*.net *.split]
eliasp has quit [*.net *.split]
descala has quit [*.net *.split]
Zhwazi has quit [*.net *.split]
autumn has quit [*.net *.split]
ayaz has quit [*.net *.split]
moted has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
magbeat has quit [*.net *.split]
oz has quit [*.net *.split]
Nahra has quit [*.net *.split]
Galgorth has quit [*.net *.split]
graft_ has quit [*.net *.split]
guyz has quit [*.net *.split]
TigerWolf has quit [*.net *.split]
sarlalian has quit [*.net *.split]
flori has quit [*.net *.split]
Tarential has quit [*.net *.split]
wchun has quit [*.net *.split]
dreamchaser has quit [*.net *.split]
xybre has quit [*.net *.split]
moted_ is now known as moted
Trazira has quit []
Faris has quit [Ping timeout: 272 seconds]
wallerdev_ is now known as wallerdev
b00stfr3ak has quit [Ping timeout: 246 seconds]
naquad has joined #ruby
magbeat_ has quit [Ping timeout: 240 seconds]
<benzrf>
shevy: i am now looking at your rubygems profile
kcombs has joined #ruby
magbeat has joined #ruby
<benzrf>
what do you do, put every half-made project of yours on there
<benzrf>
>:P
Hanmac has joined #ruby
Squarepy has quit [Read error: Connection reset by peer]
digifiv5e has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
b00stfr31k has joined #ruby
<nyarlshub>
shevy, i thought rdoc required the use of SimpleMarkup
octoberry has joined #ruby
arefasla_ has joined #ruby
crapple has joined #ruby
graft__ has quit [Ping timeout: 240 seconds]
bogeyd6 has quit [Read error: Connection reset by peer]
TomRone has quit [Ping timeout: 240 seconds]
arefaslani has quit [Ping timeout: 248 seconds]
graft_ has joined #ruby
xiphias has joined #ruby
kiki_lam1 is now known as kiki_lamb
Kricir has quit [Remote host closed the connection]
snath has joined #ruby
monkegjinni has joined #ruby
burlyscudd has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
Beoran__ has joined #ruby
IceDragon has quit [Read error: Connection timed out]
lukec has joined #ruby
Tarential has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
psyprus has joined #ruby
frustrum has joined #ruby
octoberry has quit [Ping timeout: 240 seconds]
anderson has joined #ruby
sarlalian has joined #ruby
xybre has joined #ruby
descala has joined #ruby
reach has joined #ruby
Xiti has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
Jake232_ has joined #ruby
<benzrf>
shevy: oh it looks like somebody made the irc bot thing first NEVER MIND
anderson has quit [Excess Flood]
xiphias has quit [Ping timeout: 240 seconds]
anderson has joined #ruby
TomRone has joined #ruby
grep_away is now known as grep_awesome
xiphias has joined #ruby
soheil_ has quit [Remote host closed the connection]
threesome has joined #ruby
shime has quit [Ping timeout: 264 seconds]
xiphias has quit [Ping timeout: 240 seconds]
udon has joined #ruby
xiphias has joined #ruby
clamstar_ has quit [Quit: Computer has gone to sleep.]
vikhyat has quit [Ping timeout: 272 seconds]
TomRone has quit [Ping timeout: 240 seconds]
mojjojo has joined #ruby
Xiti has quit [Quit: Leaving]
rhys has joined #ruby
TomRone has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
soheil has joined #ruby
benzrf has left #ruby [#ruby]
nanoyak_ has quit [Quit: Computer has gone to sleep.]
<rhys>
when i run 'pstree -ac' the ruby threads are marked \040 \040 repeating.
<rhys>
where htop displays them correctly
<rhys>
does anyone know why this would be?
xiphias has joined #ruby
Megtastique has quit []
<shevy>
nyarlshub not entirely sure. I stopped using rdoc like 6 years ago or so
<nyarlshub>
what do you use instead?
<shevy>
hmm I tend to write extensive tutorials
gja has quit [Quit: This computer has gone to sleep]
Megtastique has joined #ruby
<shevy>
for my local use, some .cgi scripts display the things and info I need
TomRone has quit [Ping timeout: 240 seconds]
<shevy>
if it's for other people, I usually put instructions into simple markdown .md files
<nyarlshub>
hmm
freezey has quit [Remote host closed the connection]
reach has quit [Remote host closed the connection]
meatherl_ has joined #ruby
peregrine81 has quit []
kdaigle has quit [Quit: Connection closed for inactivity]
Galgorth has joined #ruby
xiphias has quit [Ping timeout: 240 seconds]
TomRone has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
RoryHughes has joined #ruby
mojjojo has quit [Quit: mojjojo]
<nyarlshub>
question on a completely unrelated subject:
RoryHughes has quit [Max SendQ exceeded]
xiphias has joined #ruby
<nyarlshub>
in vim (and various vim-emulation modes in emacs) you can jump to the corresponding bracket or brace that's under the cursor position by typing %
<nyarlshub>
is there anything like that for do/end delimiters in ruby?
burlyscudd has quit [Quit: Leaving.]
shedd has joined #ruby
peregrine81 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
mojjojo has joined #ruby
jetblack has joined #ruby
RoryHughes has joined #ruby
Xiti has joined #ruby
marr has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
<nyarlshub>
hmm.. looks like the "matchit" plugin in vim is a crude first attempt at getting that functionality
<nyarlshub>
but, "Actually, it doesn't even seem to be matching ruby syntax at all - it's just matching indent levels. Since I use foldmethod=indent, this is... fairly useless."
tkuchiki has joined #ruby
bradhe has quit [Remote host closed the connection]
arefasla_ has quit [Remote host closed the connection]
Mars` has quit [Remote host closed the connection]
ValicekB has joined #ruby
<atma111>
I can uninstall ruby 1.8.7 to install ruby 1.9.1??
colonolGron has quit [Quit: leaving]
jetblack has quit [Quit: leaving]
udon has quit [Ping timeout: 272 seconds]
<shevy>
atma111 YES
<shevy>
or use something like gobolinux
<shevy>
all programs have their own versioned directory
<atma111>
which is the command estoy usando ubuntu server
<shevy>
then you never have to remove old versions
<shevy>
ask ubuntu!
<shevy>
ubuntu do not give you a simple way
<shevy>
Hanmac1, can you help atma111 - but answer in spanish :)
<atma111>
T.T
<shevy>
Hanmac1 uses ubuntu, atma111
Czupa has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
<atma111>
Hanmac1 usted puede ayudar quiero desinstalar ruby
<atma111>
Hanmac1 estoy usando ubuntu server
kep has joined #ruby
frustrum has quit [Ping timeout: 272 seconds]
kep is now known as ladyboy
Kricir has joined #ruby
deol has quit [Remote host closed the connection]
drago777 has quit [Ping timeout: 240 seconds]
deol has joined #ruby
ambushsabre has quit [Quit: rip]
burlyscudd has quit [Quit: Leaving.]
bricker has quit [Ping timeout: 272 seconds]
drago777 has joined #ruby
bklane has joined #ruby
cj3kim has joined #ruby
phansch has quit [Quit: Leaving]
bradhe has joined #ruby
udon has joined #ruby
michaeldeol has joined #ruby
deol has quit [Ping timeout: 252 seconds]
Faris has joined #ruby
<shevy>
atma111 if you use apt-get, ubuntu will usually only install one version
Baluse has joined #ruby
<shevy>
that's a big reason why things like rbenv or rvm exist in the first place - because you can not easily mix versions on distributions like ubuntu
<Baluse>
has anyone installed ruby on rasberri ?
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
ambushsabre has joined #ruby
matchaw_ has joined #ruby
matchaw has quit [Ping timeout: 260 seconds]
kevind_ is now known as kevind
mordocai has joined #ruby
asteve_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arefaslani has joined #ruby
<atma111>
no work apt get
mikepack has joined #ruby
<atma111>
0 updates found
<mordocai>
Looking for some ruby + emacs users here. Anyone know why emacs would highlight syntax interpolation in this way http://picpaste.com/syntax_screenshot.png? Is there a good reason? I don't see why the character before the # would be highlighted.
<mordocai>
There didn't appear to be any rubyists in #emacs :P
<shevy>
benzrf btw I have so many gems because I found it easier to turn the smaller ones into standalone gems, while continuing to work on the larger ones
<shevy>
what is plumbum
mehlah_ has joined #ruby
mehlah- has joined #ruby
<atma111>
in windows is as easy to uninstall programs
mikepack has quit [Read error: Connection reset by peer]
Vivekananda has joined #ruby
<benzrf>
shevy: who was that bash @
<shevy>
benzrf I dunno but I <3 that
<benzrf>
:D
phipes has joined #ruby
<shevy>
I actually typo a lot, but before I press enter for IRC, I usually edit my lines
mikepack_ has quit [Remote host closed the connection]
<benzrf>
ah
<shevy>
that sentence above had 3 errors which I corrected just now... my fingers have their own brain :P
kostine has joined #ruby
freezey has joined #ruby
kevind has quit [Quit: kevind]
<Mars`>
if you're getting data from an api (i.e. twitter) and don't plan on caching it in a database, should you create a model for it?
<jalcine>
what's the point of a model if you're not storing it into a DB or a cache?
kevind has joined #ruby
g0bl1n has quit [Ping timeout: 248 seconds]
<jxport>
shevy: thanks
clamstar_ has quit [Quit: Computer has gone to sleep.]
<shevy>
I like models. They tend to be good looking.
Hobogrammer_ has joined #ruby
<Mars`>
jalcine: idk. so I can abstract away all the GET's and POSTS and data validation stuff from the controller. But maybe a model isn't the best way to go
_bart has joined #ruby
ArchBeOS-work has joined #ruby
<Mars`>
in other frameworks, I might do like a Client library or something, that would handle that sort of stuff.
<jxport>
I like my models skinny
<h0rrorvacui>
jxport what do you mean like everything in the controller or do you abstract domain objects?
iamjarvo has quit [Remote host closed the connection]
<h0rrorvacui>
extract* not abstract
cj3kim has joined #ruby
iamjarvo has joined #ruby
Megtastique has quit []
<jxport>
h0rrorvacui: I was talking about another kind of model -- but I would agree with abstracting domain objects
<h0rrorvacui>
ohh you was making a joke :P
<canton7>
if you're going to be manupulating that data, yes I'd represent it as an object, and that'll turn into a model if it needs to be one
clamstar_ has joined #ruby
clamstar_ has quit [Max SendQ exceeded]
zumba_addict has quit [Quit: zumba_addict]
mateNz has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<jxport>
h0rrorvacui: I like my jokes to have truth on multiple levels
clamstar_ has joined #ruby
mneorr has joined #ruby
zigomir has joined #ruby
clamstar_ has quit [Client Quit]
iamjarvo has quit [Ping timeout: 248 seconds]
prc has joined #ruby
phipes has quit []
lkba has quit [Ping timeout: 272 seconds]
mdpatrick has quit [Quit: No Ping reply in 180 seconds.]
vongrippen has quit [Quit: No Ping reply in 180 seconds.]
mneorr has quit [Remote host closed the connection]
<cj>
all I've got in the root directory is doc/ lib/ Gemfile Gemfile.lock lib README.md foo.rb
Part_ has quit [Quit: Lost terminal]
<cj>
I'm thinking it was tarred up, scp'd and then untarred.
<benzrf>
cj: then turning it into a gem is not going to help unless you choose to switch to that deployment strategy
<cj>
I suppose I could reproduce this awful implementation decision. ;-)
<cj>
but first, lunch!
<benzrf>
cj: Gemfile is just the dependency list
<cj>
it would probably be a better thing to do ;-)
<h0rrorvacui>
cj just git repo the shit and git pull on them all :P
<benzrf>
cj: if you use 'bundle install' in the project dir it will install all the project's deps from the gemfile
grep_away is now known as grep_awesome
<shevy>
cj, yeah this is a typical layout
<benzrf>
h0rrorvacui: Git Is Not A Deployment Tool
<benzrf>
:-D
<cj>
they *are* in a git repo... that would probably work well.
<h0rrorvacui>
true
<cj>
benzrf: SURE IT IS!
pskosinski has joined #ruby
culturel_ has joined #ruby
* cj
ducks
<cj>
but food!
<benzrf>
alright
<benzrf>
>project not done
culturel_ has quit [Max SendQ exceeded]
<benzrf>
>leaving the comp
<benzrf>
clearly unlet
<benzrf>
*leet
jamblack has joined #ruby
joaoh82 has joined #ruby
<benzrf>
cj: have you seen Ansible? ive been looking at it and it looks super awesome and maybe what you want
vlad_starkov has quit [Remote host closed the connection]
<benzrf>
cj: it is a configuration management thingy [or can be used as one] but it works by running commands and stuff remotely, so there's no client software needed
chrisja has quit [Quit: leaving]
<benzrf>
you only need to set up anything on the controlling system
<benzrf>
B)
lewix has quit [Remote host closed the connection]
<benzrf>
[assuming the target systems have python 2, which every mainstream distro does afaik]
drago777 has quit [Ping timeout: 240 seconds]
<nyarlshub>
puppet is like ansible, but ruby-based
<h0rrorvacui>
makes me think of puppet and capistrano
mneorr_ has joined #ruby
<nyarlshub>
and chef
dunc has quit [Remote host closed the connection]
<benzrf>
yes it is in the same class
<h0rrorvacui>
and chef yeah
<benzrf>
but ansible, as noted, needs no client software
dunc has joined #ruby
<benzrf>
you can just install it on the controller and youre done with setup
<nyarlshub>
salt is another, similar python-based tool
<benzrf>
also it doesnt need you to know python
<benzrf>
it uses a simple yaml config language
<benzrf>
h0rrorvacui: thoughts on my pattern thingy
culturel_ has joined #ruby
cbetta_afk is now known as cbetta
sivsushruth has quit [Ping timeout: 272 seconds]
<h0rrorvacui>
Looking at it right now
culturel_ has quit [Max SendQ exceeded]
drago777 has joined #ruby
<h0rrorvacui>
What you making? IRC stalker :P?
<benzrf>
nah
<nyarlshub>
benzrf, i haven't used ansible, but i'd bet it still needs some client-side setup, like setting up ~/.ssh/authorized_key files, giving the user you want to deploy with sudo rights, etc
<benzrf>
well
<benzrf>
:P
<benzrf>
i think we're assuming those are already there
<benzrf>
given that you're probably switching from something else
<nyarlshub>
you don't necessarily need those with puppet
<nyarlshub>
but you do have to get the puppet agent on the nodes
culturel_ has joined #ruby
<nyarlshub>
so it's a tradeoff
ckinni has joined #ruby
<nyarlshub>
there are other tradeoffs as well
<nyarlshub>
i've heard it argued that puppet is more suitable for larger/more complex environments
culturel_ has quit [Max SendQ exceeded]
<benzrf>
i feel like putting the agent is probably more of a setup than having authorized keys
<nyarlshub>
while ansible and salt are good for simple environments
<h0rrorvacui>
What about chef?
<nyarlshub>
benzrf: putting on the puppet agent is usually not much more involved than "apt-get puppet"
<benzrf>
:P
<nyarlshub>
chef is all ruby-based... while puppet uses its own ruby-like DSL
<nyarlshub>
also, i've heard that chef doesn't give you all the pretty guis and reporting capability that puppet enterprise does
<nyarlshub>
but i don't know chef myself... nor salt, nor ansible.. and only a little puppet
_bart has quit [Remote host closed the connection]
Neomex has joined #ruby
<nyarlshub>
so take what i say with a grain of salt
<h0rrorvacui>
I'm not familiar with any of them, tbh I'm going to use docker and haven't looked into automation.
culturel_ has joined #ruby
dunc has quit []
zumba_addict has quit [Quit: zumba_addict]
grep_awesome is now known as grep_away
culturel_ has quit [Max SendQ exceeded]
meatherl_ has quit [Read error: Connection reset by peer]
zumba_addict has joined #ruby
habanany has quit [Ping timeout: 264 seconds]
<nyarlshub>
yeah, docker looks pretty handy
<nyarlshub>
i'm probably going to be using both docker and puppet together
culturel_ has joined #ruby
jamblack has quit [Quit: jamblack]
Mars` has quit [Remote host closed the connection]
culturel_ has quit [Max SendQ exceeded]
charliesome has joined #ruby
<h0rrorvacui>
I'm guessing puppet is the most popular though right?
culturel_ has joined #ruby
reach has joined #ruby
vlad_starkov has joined #ruby
arturmoczulski has joined #ruby
nyarlshub_ has joined #ruby
<benzrf>
it looks like ansible is simpler so there
pleal has quit [Remote host closed the connection]
<Zhwazi->
I used to be into Linux but they seem to rewrite every subsystem every 3 years and I got tired of relearning it
<Zhwazi->
At least the major distros change everything out annoyingly quickly
<benzrf>
its GUHNOO slash LIHNUCKS
<benzrf>
GOD
jeffreyio2 has quit [Read error: Connection reset by peer]
Zhwazi- is now known as Zhwazi
<h0rrorvacui>
why were you depending on the the concrete implementations and not the abstractions Zhwazi- :P
Zhwazi has quit [Changing host]
Zhwazi has joined #ruby
mosscollum has quit [Quit: mosscollum]
culturel_ has joined #ruby
<Zhwazi>
I would have used the "abstractions" if you want to call it that, but they became unreliable, complex, and autoconfigured themselves in ways I didn't want, and became resistant to attempts to make them behave as I wanted.
<h0rrorvacui>
I know what you mean but debian is relatively uncharacteristic of what you describe :P
<Zhwazi>
I am not a big fan of "automagic" :P
<Zhwazi>
Debian is one that I didn't use a whole lot
<h0rrorvacui>
But you chose right if you want little change
<Zhwazi>
I'm sure there are exceptions, as there seem to be as many distros as there are tastes for software behaviors :P
<h0rrorvacui>
Nothing wrong with the devil
<Zhwazi>
I'm content to have the one single best-practice way of doing it that doesn't have any obvious deficiencies and is simple enough that any unexpected behavior can be quickly corrected without going past the manpage of the program or component in question
cj3kim has quit [Remote host closed the connection]
<Zhwazi>
I had difficulty finding that in Linux
vlad_starkov has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
Megtastique has joined #ruby
<Zhwazi>
And yeah, the only major changes to FreeBSD that have affected me are the new packaging system and some changes to the wifi system that made me change the configs for a couple of things.
<canton7>
You might like arch :) Although they do change things from time to time, they try and keep things simple
mosscollum has joined #ruby
<Zhwazi>
I've heard, I understand they and Gentoo like to try to keep to the BSD style of things :P
vlad_starkov has joined #ruby
Steven_ has joined #ruby
<Zhwazi>
Gentoo was the last distro that I used regularly
<h0rrorvacui>
Zhwazi I don't know he wouldn't probably like arch seeing as it is bleeding edge and changes distro wise aren't common
<h0rrorvacui>
but application wise they are abundant
<h0rrorvacui>
I meant that to canton7
<Zhwazi>
I'm more concerned with the changes being manageable, correctable, predictable, and well documented, and ideally well explained, and all of these are best served by the system being simple.
cj3kim has joined #ruby
<canton7>
yeah, I was sure to mention that :) You do need to spent a bit of effort keeping up with it, so it probably doesn't best BSD in that respect, but I do have a lot of respect for their attitude to not abstracting away things
thumpba has joined #ruby
<canton7>
the arch wiki is generally regarded as the best
<h0rrorvacui>
yeah was about to say that
echevemaster has quit [Ping timeout: 252 seconds]
unstable has left #ruby [#ruby]
<Zhwazi>
Arch wasn't popular yet when I switched away from Linux
kostine has quit [Remote host closed the connection]
<KK4MGV>
so, correct me if any of this is wrong (first day using ruby), but to use gems on 1.8 i need to require 'rubygems', then gem 'mygem', then require 'mygem', whereas on 2.0 i just need to require 'mygem'
<KK4MGV>
does this mean that i should just always do the former if i ever might want to be backwards compatible?
nanoyak has joined #ruby
<canton7>
KK4MGV, the 'gem mygem' thing is for bundler only, not for rubygems
<canton7>
and don't bother supporting 1.8, it's going end-of-life really soon (if it hasn't already)
<ddd>
or do you mean 'gem install mygem'?
monkegjinni has joined #ruby
<KK4MGV>
nope, i mean gem mygem
<KK4MGV>
i get a NameError if i dont
<ddd>
thats both 1,8 and 1.9 regardless. the difference is 1.9 incorporates gem by default
<ddd>
ah ok
postmodern has joined #ruby
mosscollum has quit [Quit: mosscollum]
<canton7>
NameError when you do what?
<ddd>
thats what i get for sticking my nose in hehe
<KK4MGV>
nameerror when i require 'rubygems', require 'mygem' (without gem 'mygem' inbetween)
vlad_starkov has quit [Remote host closed the connection]
<canton7>
that really shouldn't be. pastie the full file and the exact error message?
<KK4MGV>
sure, 1sec
zoo-zed has joined #ruby
vlad_starkov has joined #ruby
<benzrf>
i wonder if it would be possible to make something that feels like ruby but uses Io's basic semantics
<benzrf>
o:
g0bl1n has quit [Ping timeout: 248 seconds]
<zoo-zed>
Possible for you or for someone else? Rhetorical question or just musing?
<ddd>
Io is that like Go or something? I've heard it mentioned a few times but did zero research to see what it is like
<benzrf>
Io is the most reflective and metaprogrammable language EVRF
nanoyak has quit [Ping timeout: 246 seconds]
<benzrf>
maybe less than lisp idk
<ddd>
i've enough on my radar scope with ruby and rails to add anything else hehe. or i'll never get *anything* done :)
jwest has quit [Quit: WeeChat 0.4.1]
<benzrf>
it is kind of like smalltalk but it is 100% prototype-based
<ddd>
interesting
<benzrf>
variables are just slots in the current object's context
axl_ has quit [Quit: axl_]
<benzrf>
so that means that you can manipulate scopes n stuff
<benzrf>
also, method-call arguments are not evaluated unless the method requests it
<benzrf>
meaning that you can pass code directly
<ddd>
in ruby context is that like a BasicObject you slot just what you want into?
zoo-zed has quit [Client Quit]
mehlah has quit [Ping timeout: 272 seconds]
<benzrf>
no, by slots I mean attrs/methods
<ddd>
ah
g0bl1n has joined #ruby
<benzrf>
in Io, 'if' is just a method
<benzrf>
it looks like this:
<benzrf>
if(foo > 2, "what" println)
<benzrf>
all exprs are slot lookups
<ddd>
hmm interesting (god i need to find a new word, but damn it is!)
<benzrf>
which is sort of the same thing as method calls?
IceDragon has quit [Ping timeout: 248 seconds]
<ddd>
yeah, thats how i'm thinking of them
<benzrf>
so when I say 'foo', that's looking up the slot foo in the object you're currently inside of
<ddd>
from what you're sauing
<benzrf>
foo := 3 is just sugar for calling setSlot or something
<ddd>
powershell for windows seems a lot like that last line
<benzrf>
and self is just a method that returns self
<benzrf>
althought it is not always accessible
<ddd>
regardless of windows or not, similar?
<benzrf>
idk
<benzrf>
anyway
<benzrf>
since all vars are slots on objects
<benzrf>
that means that you can do absurdly awesome magic
nanoyak has joined #ruby
gauteh has quit [Ping timeout: 240 seconds]
<ddd>
yoou got a url for a github proj based on Io?
<ddd>
might be cool to dumpster dive
iliketurtles has quit [Ping timeout: 272 seconds]
<benzrf>
for example, when you call a method it runs the code you defined, setting the current object to a 'locals' object with the receiver under the slot 'self' and as a prototype
<h0rrorvacui>
Io was one of the languages in the 7 languages in 7 weeks book
<benzrf>
so you can lookup slots in the receiver directly, but setting them can only be done through self
<ddd>
ive got it but haven't had time to read it yet
<benzrf>
ddd: do you know about prototypes/
<ddd>
extremely vague concepts
<benzrf>
the basic idea is
<ddd>
nothing extensive
<benzrf>
on any object you can call 'clone'
<h0rrorvacui>
think javascript object creation
<benzrf>
which returns a new object
<jalcine>
no, it's a keyword
<benzrf>
that new object will foward slot lookups to the obj it was cloned from if it doesn't have it itself
<benzrf>
ddd: basically you use regular objects as classes
<ddd>
oh snap! thats pretty cool! so if the clone doens't have it and the parent doesn't have it what then/
<h0rrorvacui>
vomits?
<benzrf>
then the parent forwards it up the prototype chain
<benzrf>
this is how JS works
<ddd>
that would gen an error i would imagine. what happens in io?
<ddd>
ah, i don't really know JS either. I'm a throwback., C, some C++, a but of java, and ruby are really all i know beyond shell scripting
<benzrf>
python uses a prototype-ish system, but it's set up to only allow you to use them like classes
<benzrf>
which is total BS
<benzrf>
cool
<ddd>
so an object is still instntiated from a class, but then afterwards you use the objecs themselves as classes?
<ddd>
or class like?
<benzrf>
Io> Object bar := 3
<benzrf>
==> 3
<benzrf>
==> Object_0x128ef30:
<benzrf>
Io> foo bar
<benzrf>
Io> foo := Object clone
<benzrf>
==> 3
<benzrf>
Io> foo bar := 2
<benzrf>
==> 2
<benzrf>
Io> foo bar
<benzrf>
==> 2
<benzrf>
Io> Object bar
<benzrf>
==> 3
<benzrf>
Io>
<benzrf>
oh shit i forgot to pastebin -.-
<benzrf>
ddd: there is no such thing as a class in Io, or in JS
<benzrf>
just objects
vlad_starkov has quit [Remote host closed the connection]
<ddd>
that is insanely cool!~
<benzrf>
i know, right?
<benzrf>
=]
<ddd>
how do you define the initial object though?
<benzrf>
it's usually set up before hand
<h0rrorvacui>
You can do something similar in ruby by just opening up objects and cloning them
<benzrf>
a builtin
<ddd>
like in ruby yoiu can def object.method
<benzrf>
i really wish prototype-based OOP were more mainstream
michaeldeol has quit [Remote host closed the connection]
<benzrf>
it can be used just like class-based OO plus it's handy for cloning and stuff
<ddd>
how do you instantiate the first object, and then afterwards is it the same as with def object.method for adding/slotting?
<benzrf>
hmm?
mosscollum has joined #ruby
<ddd>
not sure how to properly explain that thought thread
<benzrf>
objects already exist, created by the lang
<ddd>
lemme see if i can refine that
<benzrf>
i.e. Object is an object
<ddd>
right, as it is in ruby
<benzrf>
to create a new object you can clone an old one
<benzrf>
if you want a perfectly generic object, clone Object
<ddd>
ok, that makes it easier to ask my question., sec lemme type it
<ddd>
its a concept issue so fgive me a sec
<benzrf>
in python, you cannot do direct cloning, but classes behave more or less like prototypes
mordocai has joined #ruby
<benzrf>
i.e. they are sources of attrs if not found in the instance
<benzrf>
so you can do something like what I pasted earlier in python
<benzrf>
although not with the builtin classes because those are frozen
<ddd>
lang creates Object. you clone Object (like obj = Object.clone) then on the object you slot in var and methods, and to get another with those same atrs and methods you .clone the obj with that.
<benzrf>
right
<benzrf>
although Io borrows smalltalk's convention of denoting slot lookup with spaces
<h0rrorvacui>
Its so simple it sounds complicated
kitak has quit [Remote host closed the connection]
<h0rrorvacui>
lol
<ddd>
and if the cloned obj or the parent doesn't have say myvar or mymethod, it goes up the chain to Object and if Object doesn't have it.. what then?
<benzrf>
error of curse
<benzrf>
*course
<benzrf>
just like how method lookup in ruby goes up the class chain to BasicObject
<benzrf>
then pukes
<h0rrorvacui>
well in javascript you state what is the parent of the object
<ddd>
and the syntax like := are mainly syntactic sugar for longer named methods
<benzrf>
right
<ddd>
which is what Powershell does
<ddd>
and there's no writing blueprint classes at ALL in io?
<benzrf>
blueprint classes?
<ddd>
defining classes that get instantiated on startup of an app say
mmitchell has quit [Remote host closed the connection]
nobitanobi has quit [Ping timeout: 240 seconds]
<benzrf>
not sure what you mean
<ddd>
nm, i answered my own question in the head
nobitanobi has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
platzhirsch has joined #ruby
<benzrf>
ok
<ddd>
i like it.
<benzrf>
Object string := method(self asString)
<benzrf>
i know :D
IceDragon has joined #ruby
<ddd>
takes a new way of thinking
<benzrf>
^args are not evaled unless requested, so you can define methods that take code
<benzrf>
self is not magic
spider-mario has quit [Read error: Connection reset by peer]
<benzrf>
method returns an object that, when activated, runs the code that you passed it
<benzrf>
it runs it in the context of a new object
<ddd>
well you can do that now in ruby can't you? pass a block to a method
<benzrf>
which uses the receiver as a prototype
<benzrf>
ddd: yes, but regular args
<benzrf>
no special syntax at all
<benzrf>
so like
benlieb has joined #ruby
<benzrf>
add := method(a, b, a + b)
<ddd>
and that creates a method named method to the add object where the method method is a block of code to eval (but only done when called so the result isn't stored in the object, the code isn't actually evaluated *until* method method is called)
<ddd>
making sure i'm understanding
<benzrf>
no
<benzrf>
well not exactly
<benzrf>
add is a new slot
<benzrf>
method is a method that creates a method object
<benzrf>
it's like rpoc
<benzrf>
*proc
<benzrf>
i'm not 100% sure how it works, but some objects can be 'activated'
<benzrf>
which means that when they're looked up directly, they get activated instead of returning themselves
<benzrf>
the value returned by 'method' acts like that
<benzrf>
if you use 'foo bar', bar will be activated if possible. whereas 'foo getSlot("bar")' will give you whatever bar is
<ddd>
thats a weird concept to get down. but i tink i understand
<ddd>
oh ok now that makes sensse
<ddd>
err sense
ss_ has joined #ruby
<h0rrorvacui>
Just look into object oriented javascript
jonathanwallace has joined #ruby
<benzrf>
Io> add := method(a, b, a + b)
<benzrf>
==> method(a, b, a + b
<benzrf>
==> 5
<benzrf>
)
<benzrf>
Io> add(2, 3)
<h0rrorvacui>
Thats basically a c style syntax with prototyping
<KK4MGV>
crockford's book covers it really well
<benzrf>
the values a, b, and a + b are passed verbatim without being evaled.
<ddd>
getSlot returns whatever the def for bar *is*, whereas calling bar directly returns the result that whatever is in bar generates
<benzrf>
method never tries to eval them
<benzrf>
ddd: unless bar is not activatable
<benzrf>
in which case it just returns it
<benzrf>
i.e. numbers
tyl has joined #ruby
<h0rrorvacui>
KK4MGV what book is that? I'm not good with remembering author names.
<KK4MGV>
the good parts
<KK4MGV>
the oreilly one
<h0rrorvacui>
ahh yeah
<h0rrorvacui>
Highly recommend that book.
deol has joined #ruby
<ddd>
hehe i might have to adjust my todo list and read up on it
<benzrf>
ddd: so the current object that the code of the method is evaled within is generated whenever you call the method
<benzrf>
it has the 'self' slot set to the receiver, and the same object as one of the prototypes
<benzrf>
so you get slots without explicit self, but setting will not affect self
<benzrf>
:D
<ddd>
so the object 'owning' that method doesn't even exist until its method is actually called?
<benzrf>
very VERY clever
<benzrf>
no, it does
<ddd>
did i get that right?? thats insanely cool!
<benzrf>
the object owning it is Lobby
<ddd>
oh
<benzrf>
add is a slot on Lobby
<ddd>
yeah but thats a placeholder object right?
<benzrf>
Lobby exists from the beginning
<benzrf>
oh wait
<benzrf>
the object that the code is evalled in is different from the one that it is called on
<benzrf>
if I do 'foo bar', the code for bar will be evalled in a special object created for that invocation
benlieb has quit [Quit: benlieb]
<benzrf>
which has 'foo' as a proto, and as the value of the slot 'self'
mikepack has joined #ruby
<ddd>
i mean if obj.mymethod hasn't been called yet, obj dfoesn't yet exist, but the reference to the fact that there is an obj object and that it has a method obj is stored in lobby?
<benzrf>
nooo
<ddd>
meaning you'd save memory because then just a reference exists
<h0rrorvacui>
ddd the book KK4MGV listed is short too
<benzrf>
the code in the REPL is evalled inside the object Lobby
<h0rrorvacui>
it gets right to the point
mikepack has quit [Read error: Connection reset by peer]
<h0rrorvacui>
and javascript will benefit your rails
<benzrf>
so when I say 'add', that's the same as 'Lobby add'
<ddd>
hehe
mikepack has joined #ruby
<benzrf>
foo bar := baz is foo setSlot("bar", baz)
<ddd>
Lobby is the 'anonymous object'?
<benzrf>
ddd: no, it's just the host for the REPL
<ddd>
ok
<benzrf>
code in ruby is always run inside an object
<ddd>
where is this damned book?
<benzrf>
and method calls without a receiver will be called on the object you're in
<benzrf>
same in io_syl
<benzrf>
*Io
jonathanwallace has quit [Ping timeout: 240 seconds]
<benzrf>
in ruby:
<benzrf>
def add(a, b); a + b; end; add(1, 2)
<ddd>
hehe I want to read this cause I think i might understand a bit if i have more of a mental model rather than trying to build it on the fly from your explanation
<benzrf>
in IoL
samsonasu has quit [Quit: samsonasu]
<benzrf>
*Io:
<benzrf>
add := method(a, b, a + b)
<benzrf>
add(1, 2)
mikepack has quit [Read error: Connection reset by peer]
<ddd>
shoudl ad 1 and 2
<benzrf>
ddd: remember, in Io all names are slots. period.
mikepack has joined #ruby
<ddd>
ohhhhh
<benzrf>
if you don't put an object in front of a name, it defaults to the one you're evaluating inside
mikepack has quit [Read error: Connection reset by peer]
<benzrf>
so 'foo' is synonymous with 'Lobby foo'
<benzrf>
...if im in Lobby
<benzrf>
which you start out in
mikepack has joined #ruby
<benzrf>
when I say 'add := method(a, b, a + b)', add is now a slot on Lobby that contains a method
<ddd>
lol this is sounding a lot like banisterfiend's implementation in pry
<ddd>
cd'ing into objects and whatnot
mosscollum has quit [Quit: mosscollum]
<benzrf>
but when the code 'a + b' is run, it is run inside a special new object made for that invocation that uses Lobby as a prototype
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<benzrf>
but assigning slots will not add them!
<benzrf>
so I can still see the slots in Lobby
<benzrf>
this is how local vars work
zigomir has joined #ruby
kirun has quit [Quit: Client exiting]
mikepack_ has joined #ruby
<benzrf>
since you can explicitly manipulate the scope that code runs in and control where those scopes inherit from
KS has quit [Quit: Lost terminal]
<benzrf>
you can actually do things like create dynamically scoped methods!
<benzrf>
:D
nanoyak has quit [Ping timeout: 252 seconds]
mikepack_ has quit [Remote host closed the connection]
<ddd>
rockin!
<ddd>
i think i got most of this. definitely going to need a tut or 2, but i think i've the gist of it
mikepack_ has joined #ruby
<benzrf>
yeah its pretty mind blowing
<benzrf>
Owo
<ddd>
how old is this language? i've only heard a few references to it prior to this
<benzrf>
idk
<ddd>
wondering how it escaped me :)
Mars` has quit [Remote host closed the connection]
mikepack has quit [Read error: Operation timed out]
<ddd>
iolanguage.org right?
<benzrf>
something like that
<ddd>
i'm there now
<benzrf>
look @ this
<benzrf>
Io> foo := method(val, call sender bar := val)
<shevy>
isn't it dead?
<benzrf>
Io> foo(3)
<benzrf>
==> 3
<benzrf>
==> 3
<benzrf>
Io> bar
sassamo has quit [Remote host closed the connection]
mneorr_ has quit [Remote host closed the connection]
<ddd>
wow! nice chaining especially since not eval'd until called
sassamo has joined #ruby
nanoyak has joined #ruby
zigomir has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
<ddd>
add method val to foo which is in reality a handoff to bar with value of val setting val on bar
<cj>
you folks are chatty ;-)
<benzrf>
the reference is a bit insubstantial
<benzrf>
:{
<cj>
KK4MGV: wow, that's a new call isn't it?
<benzrf>
ddd: no, not adding a method val
<ddd>
hehe benzrf is showing me a new language.
<benzrf>
ddd: val is the argument
<ddd>
ohh
<benzrf>
ddd: method() creates a new method object, it does not add a method
<ddd>
missed that
<benzrf>
I am assigning the slot foo to the result of the call
<ddd>
yeah i thought := was doing that
<KK4MGV>
cj: you mean my nick?
<cj>
yeah, that one
<KK4MGV>
yep :)
<cj>
I thought I was new and I'm a KF
<ddd>
benzrf: ok ok, you've convinced me. i'ma earmark some time this weekend to look into this
<KK4MGV>
its been about a year
spyderman4g63 has quit []
<benzrf>
new call?
<benzrf>
what's this o_o
<cj>
well, welcome to the club. It was about a year before I started to use mine. And I haven't used it in a year so ;-)
<ddd>
ham callsign i think
<cj>
benzrf: qrz.com/db/KK4MGV
<benzrf>
o:
kitak has joined #ruby
mordocai has quit [Remote host closed the connection]
<ddd>
can't tell from the site. am i right? ham raido callsign?
<KK4MGV>
i didn't want to interrupt your good prototypal oo discussion, but i'm still curious about https://linxb.in/raw/6c3ac4f.txt
<ddd>
err radio
<KK4MGV>
yes, it is
mordocai has joined #ruby
<ddd>
i've a few neighbors with the tall assed ham towers in their yards (bear in mind that neighbors are separated by a few miles lol)
<KK4MGV>
hehe, yep
<ddd>
someone wanted to give me a tower their father used to use before he died, but i've no equipment so i didn't take it
<KK4MGV>
i still haven't gotten around to getting my general class license yet which is required to transmit on the lower bands (for which you need big antennae)
<ddd>
they just wanted it out of their yard i think hehe
freezey has quit [Ping timeout: 246 seconds]
<ddd>
this one is about ohh 20 feet talk maybe 25?
<canton7>
KK4MGV, could it be an ancient rubygems? gem update --system
<ddd>
idk how powerful that would be
estebistec has joined #ruby
<ddd>
no maybe a bit bigger. 30 - 35 ft maybe
mneorr has joined #ruby
<ddd>
big enough you have to use wires to anchor it
<ddd>
or screw it into a concrete pad or something
<ddd>
during peace time we use it for soldiers to send messages home rather than paying long distance charges and stuff. or at least when I was active duty
<ddd>
its also used during war time in case main military channels get knocked out
pioz has joined #ruby
pioz has quit [Client Quit]
<KK4MGV>
nice
<ddd>
its not an efficient real time conversation mode, you're just relaying messages to the states and the operators just place the call for you, but it works :)
<ddd>
yeah, its how i told my ex wife when we were still together that I was coming home for christmas when I was stationed in Kora in the early 90s :)