optiz0r_ has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 244 seconds]
optiz0r has joined #ruby
rkazak has joined #ruby
oo_ has quit [Ping timeout: 260 seconds]
geggam has joined #ruby
davasaurous has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 272 seconds]
timonv_ has joined #ruby
goodenough has quit [Remote host closed the connection]
davasaurous has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mastr_bennett[x] has joined #ruby
mylar has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
epitron it's my own mess actually
patric100e99 has joined #ruby
thomasxie has joined #ruby
michaeldeol has joined #ruby
russt has quit [Quit: russt]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
geggam has quit [Ping timeout: 258 seconds]
snath has quit [Ping timeout: 272 seconds]
skammer1 has joined #ruby
patric100e99 has quit [Ping timeout: 244 seconds]
yacks has joined #ruby
icebourg has joined #ruby
x77686d has quit [Quit: x77686d]
dx7 has quit [Ping timeout: 244 seconds]
emmesswhy has joined #ruby
t_p has quit [Ping timeout: 272 seconds]
davasaurous has quit [Remote host closed the connection]
tomeara has joined #ruby
moritzschaefer has quit [Ping timeout: 245 seconds]
<epitron>
ahh
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron>
my condolences
<epitron>
:D
bruno- has joined #ruby
iliketurtles has joined #ruby
snath has joined #ruby
skammer1 has quit [Ping timeout: 272 seconds]
bobishh has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
vieq has quit [Ping timeout: 245 seconds]
Scotteh has joined #ruby
arup_r has quit [Quit: Leaving.]
vieq has joined #ruby
rshetty has joined #ruby
goodenough has joined #ruby
bobishh has quit [Ping timeout: 250 seconds]
dx7 has joined #ruby
echooo1 has joined #ruby
JBreit has joined #ruby
oo_ has joined #ruby
j_mcnally has joined #ruby
JBreit has left #ruby [#ruby]
davasaurous has joined #ruby
Scotteh has quit [Ping timeout: 246 seconds]
fabrice31 has joined #ruby
mityaz_ has quit [Quit: See ya!]
neonixcoder has quit [Quit: Leaving.]
echooo has quit [Ping timeout: 272 seconds]
wjimenez5271 has joined #ruby
echooo1 has quit [Ping timeout: 244 seconds]
x1337807x has joined #ruby
echooo has joined #ruby
dawkirst has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
narcan has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
spicerack has joined #ruby
Fun has left #ruby [#ruby]
lkba has joined #ruby
neonixcoder has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
oo_ has quit [Ping timeout: 260 seconds]
Logomachist has joined #ruby
rubyonrailed has joined #ruby
SixshooterLady has joined #ruby
<SixshooterLady>
greetings
<SixshooterLady>
greetings, earthlings
<benzrf>
gr8ings
lnormous has joined #ruby
lnormous has quit [Read error: Connection reset by peer]
<SixshooterLady>
hi inor
txdv has quit [Ping timeout: 258 seconds]
jontmorehouse has quit [Ping timeout: 272 seconds]
txdv has joined #ruby
<SixshooterLady>
how are you tonight, ben?
<SixshooterLady>
hi tx
lnormous has joined #ruby
maletor has joined #ruby
<SixshooterLady>
hi male
chipotle has quit [Quit: cya]
<jalcine>
someone's looking for a friend
<SixshooterLady>
who is?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emmesswhy has quit [Quit: This computer has gone to sleep]
sinequanon has joined #ruby
<SixshooterLady>
hi sine
Xiti has quit [Quit: Leaving]
rubyonrailed has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
freerobby has quit [Quit: Leaving.]
SixshooterLady has quit []
jasooon has quit [Ping timeout: 240 seconds]
ARCADIVS has joined #ruby
Synthbread has quit [Remote host closed the connection]
slawrence00 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
xvq179 has quit [Quit: leaving]
kyb3r_ has joined #ruby
rubie has quit [Quit: Page closed]
Xiti has joined #ruby
cajone has left #ruby [#ruby]
charliesome has quit [Quit: zzz]
emocakes has quit [Ping timeout: 246 seconds]
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jimmyhoughjr has joined #ruby
<shevy>
lol
<sevenseacat>
\o/
<jalcine>
/o\
jontmorehouse has joined #ruby
emocakes has joined #ruby
root3d has joined #ruby
root3d has joined #ruby
sinequanon has quit [Read error: Connection timed out]
root3d has quit [Client Quit]
sinequanon has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
Spami has joined #ruby
jimmyhoughjr has quit [Ping timeout: 260 seconds]
Sgeo is now known as NSSgeo
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
benzrf|offline is now known as benzrf
coderdad has joined #ruby
dx7 has quit [Ping timeout: 244 seconds]
<pontiki>
\o/ |o| /o_ /o\
<jgrevich>
I’m trying to debug why a gem won’t compile, what is this line doing: `pkg_config('xmlsec1-openssl’)`?
xvq17 has joined #ruby
bruno- has joined #ruby
mary5030 has quit [Remote host closed the connection]
charliesome has joined #ruby
<jalcine>
jgrevich: that's super out-of-context
<jalcine>
do you have a log you can paste?
<pontiki>
type it at the command line and see what you get
davasaurous has quit [Remote host closed the connection]
russt has joined #ruby
<pontiki>
the backticks mean 'run this command and return the status code'
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
mpistone has joined #ruby
JoshGlzBrk has joined #ruby
gsd has joined #ruby
gilr00y_ has quit [Remote host closed the connection]
<jgrevich>
jalcine: sorry. I’m trying to install nokogiri-xmlsec on RHEL. It works fine on Ubuntu. When installing the gem on RHEL it fails stating that, “xmlsec1 is not installed. (RuntimeError)”
MaciejCzyzewski has joined #ruby
<ericwood>
is xmlsec1 installed?
bruno- has quit [Ping timeout: 244 seconds]
<jgrevich>
Looking closer, it a line in the `ext/nokogiri_ext_xmlsec/extconf.rb` that is failing, specifically `if pkg_config('xmlsec1-openssl’)`, hence why I’m wondering that that line is trying to do
<jgrevich>
Just to throw this out there, I am using Centos packages on RHEL at this time (waiting for a proper subscription). Everything else has been error free
* jalcine
blows up computers all over the world
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JaTochNietDan has quit [Ping timeout: 272 seconds]
<gr33n7007h>
Would these options be ok for using with OptionParser `options = Struct.new("OPTS", :param1, :param2, :param3).new` instead of using a hash?
jasooon has joined #ruby
ndrei has joined #ruby
JaTochNietDan has joined #ruby
patric100e99 has quit [Ping timeout: 258 seconds]
yetanotherdave has quit [Ping timeout: 272 seconds]
psy_ has joined #ruby
iiiinzg has joined #ruby
fabrice31 has joined #ruby
tagrudev has joined #ruby
jesteracer has joined #ruby
kenneth has joined #ruby
jasooon has quit [Ping timeout: 272 seconds]
iiinzg has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
bobishh has joined #ruby
psy_ has quit [Quit: Leaving]
<havenwood>
Daemonik: There was no RUBY_ENGINE constant in 1.8 and you're using an old version of binding_of_caller where the constant is checked without being prefixed with a: defined?(RUBY_ENGINE) &&
<havenwood>
Daemonik: It wouldn't be a problem with any supported Ruby, 1.9.3+.
lnormous has quit [Ping timeout: 272 seconds]
schaerli has joined #ruby
<havenwood>
Daemonik: Looking at the code of binding_of_caller 0.6.8 there's the issue and fixed in 0.6.9.
cajone has joined #ruby
<havenwood>
0.7.2 is current stable
echevemaster has quit [Remote host closed the connection]
<Hanmac>
gr33n7007h: hm i prefer to use OpenStruct with OptionParser
bobishh has quit [Ping timeout: 272 seconds]
<havenwood>
Daemonik: Preferably switch to both a modern Ruby and recent binding_of_caller. :)
<gr33n7007h>
OpenStruct? is that part of core ruby?
<havenwood>
gr33n7007h: require 'ostruct'
<Hanmac>
gr33n7007h: part of stdlib
psy_ has joined #ruby
j_mcnally has quit [Quit: さよなら]
<gr33n7007h>
What's the main advantages of using OpenStruct ?
justinmburrous has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has joined #ruby
<gr33n7007h>
damn, now my pry not working after using rvm :(
<cajone>
guys I have an array where each element consists of a random bunch of number followed by a hash and then 3 letter ie 45839429#ndf, the number part of the string is variable in length. how would I go about sorting using the #ndf part of the string where ndf could be any 3 alpha chars?
<gr33n7007h>
nvm, reinstalled it pry working now :)
jack_rabbit has quit [Quit: Leaving]
rshetty has joined #ruby
voodoofish430 has quit [Read error: Connection reset by peer]
<Hanmac>
gr33n7007h: for Openstruct you dont need to make a class like that, but just can freely access and set options
tylersmith has quit [Remote host closed the connection]
<gr33n7007h>
Hanmac, Thanks, I see what you mean now
<havenwood>
Daemonik: give instructions another try now
jesteracer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bobishh has joined #ruby
timonv_ has joined #ruby
MasterPiece1 has joined #ruby
<Hanmac>
Daemonik: "why?" 12.04 ? why not a newer ubuntu?
<last_staff>
Hanmac: was that really necessary?
bobishh has quit [Ping timeout: 245 seconds]
<towski>
I guess I basically want to clone the runtime into a different thread
<last_staff>
no wait. 12.04 also has gnome3, right?
dawkirst has joined #ruby
<last_staff>
which distro was the last one with gnome2?
kobain has quit [Ping timeout: 246 seconds]
bricker`work has joined #ruby
<Daemonik>
havenwood, Hanmac Yeah that's a good question I'm gonna try this on Ubuntu 14.04 too.
oo_ has quit [Remote host closed the connection]
<Hanmac>
last_staff: whats the problem with gnome3 ? the oly thing i dont like is unity, but there are some windowmanager like MATE or cinnamon with does have a better feeling even if they use gnome3 libs
yetanotherdave has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
<towski>
maybe I just need rb_thread_create
timonv_ has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<towski>
or maybe rb_thread_atfork
maletor has quit [Quit: Computer has gone to sleep.]
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
<last_staff>
Hanmac: well for one thing, as soon as there's not enough hardware acceleration in place, the whole thing is stickier than syrup. Secondly, there's WAY too much traffic going online without the user being able to know what it is. Third, it's become bloaty, i.e., too many unnecessary and heavy-duty programs pre-installed, that ism it's trying to think for the users instead of making the users choose for themselves what to install apart from
<last_staff>
the basics
timonv_ has joined #ruby
Morkel has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<last_staff>
for instance: albeit useful, not too many were happy about open office being integrated (pre-installed) on ubuntu from i-cant-remember-which-version
doev has quit [Read error: Connection reset by peer]
dte has joined #ruby
gilr00y has joined #ruby
apeiros has joined #ruby
jasooon has joined #ruby
last_staff has quit [Quit: Ahll be bahk]
andikr has joined #ruby
vsipuli has joined #ruby
Macaveli has joined #ruby
gilr00y has quit [Ping timeout: 272 seconds]
Tomme has quit [Ping timeout: 272 seconds]
jasooon has quit [Ping timeout: 272 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
cina has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
justinmburrous has joined #ruby
ki0 has joined #ruby
bal has quit [Quit: bal]
sk87 has joined #ruby
bricker`work has quit [Ping timeout: 240 seconds]
rshetty has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 246 seconds]
ki0 has quit [Read error: Connection reset by peer]
ki0 has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
krisquigley has joined #ruby
iliketurtles has joined #ruby
psy_ has quit [Ping timeout: 272 seconds]
mkaesz has joined #ruby
cina has quit [Quit: leaving]
tagezi has joined #ruby
dangerousdave has joined #ruby
bMalum has quit [Quit: bMalum]
brushdemon has quit [Quit: <3]
Mia has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
tagezi has left #ruby [#ruby]
koderok has joined #ruby
teddyp1cker has joined #ruby
User458764 has joined #ruby
bal has joined #ruby
monkeypatch has joined #ruby
roolo has quit [Quit: Leaving...]
monkeypatch has quit [Client Quit]
Sylario has joined #ruby
teddyp1cker has quit [Ping timeout: 244 seconds]
psy_ has joined #ruby
Musashi007 has joined #ruby
noop has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrcloud has joined #ruby
<mrcloud>
hello. How can I store and call a method in a hash?
jgrevich has quit [Quit: jgrevich]
thomasxie has left #ruby [#ruby]
txdv_ is now known as txdv
<Hanmac>
mrcloud: with method(name) ?
dte has quit [Remote host closed the connection]
<mrcloud>
Hanmac: I was thinking in store a hash with an identifier (string) and the method. Is it possible?
jesteracer has joined #ruby
Tomme has joined #ruby
<Hanmac>
yes why not, but what do you want to archive? hmaybe some idea how it should look like?
<Hanmac>
do you want real methods that are defined with "def" or do you want anonymous procs?
skammer1 has joined #ruby
sinequanon has quit []
grzywacz has joined #ruby
<mrcloud>
Hanmac: I have a json with figures and an attribute type that says the type of figure. I want to read this attribute and call the method related with this type
rkazak has quit [Quit: Sleep.....ing....]
Daemonik has quit [Quit: Leaving]
jacobat has joined #ruby
<Hanmac>
mrcloud: there is the storing and calling of method objects with a hash, hm but it might not be what you want
<Hanmac>
>>def red_function; p "red"; end; h = {}; h[:red] = method(:red_function); h[:red].call
<mrcloud>
Hanmac: and if the method have arguments? call(args)
lampd1 has joined #ruby
<Hanmac>
yes
bayed has joined #ruby
skammer1 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
<mrcloud>
Hanmac: yeah, that works. I was doing it without method. That was the problem. Thanks
wethu has quit [Quit: This computer has gone to sleep]
emrox has joined #ruby
W0rmDr1nk has quit [Ping timeout: 258 seconds]
apeiros has joined #ruby
bruno- has joined #ruby
lampd1 has quit [Ping timeout: 240 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
rshetty has joined #ruby
dte has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
dte has quit [Remote host closed the connection]
mike32 has joined #ruby
mferrier has quit [Remote host closed the connection]
timonv_ has joined #ruby
andrewlio has joined #ruby
bal has quit [Quit: bal]
<mrcloud>
let me ask another question. If I create an object, is there a compact way to set values to its attributes or do I have to store it in a variable and assign each value one per line? I'm asking about attributes not in the initialize method
dangerousdave has joined #ruby
vsipuli has quit []
timonv_ has quit [Ping timeout: 240 seconds]
kith has joined #ruby
Scotteh has joined #ruby
<Radar>
mrcloud: wat
<Radar>
mrcloud: show us what code you think would solve the problem
<aces1up9939>
anyone know the ror channel? #ror is invite only?
<DefV>
#rubyonrails
maestrojed has joined #ruby
justinmburrous has quit [Remote host closed the connection]
nrsk has joined #ruby
qba73 has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
jontmorehouse has quit [Ping timeout: 272 seconds]
jonmorehouse has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Takle has joined #ruby
<apeiros_>
Hanmac: haha
<apeiros_>
aces1up9939: you have to be registered with nickserv
sk87 has joined #ruby
<apeiros_>
DefV: #ror, #rails and #rubyonrails are the same (or rather, the former two redirect to the latter)
apeiros_ is now known as apeiros
arup_r has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
Takle has quit [Client Quit]
arup_r has joined #ruby
PeterBoy has joined #ruby
Beoran__ has quit [Read error: Connection reset by peer]
cajone has joined #ruby
jbueza has joined #ruby
Takle has joined #ruby
<DefV>
ah
Suchit__ has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
arup_r has quit [Ping timeout: 260 seconds]
<Hanmac>
shevy & apeiros: hm i need your opinion, for my gemtree script i did make a new addion that can draw clusters around related gems, hm what do you think about that? http://i.imgur.com/CGCdZSO.png
<apeiros>
looks nice
dumdedum has joined #ruby
dawkirst has joined #ruby
dawkirst has quit [Remote host closed the connection]
dawkirst has joined #ruby
yfeldblum has joined #ruby
<Hanmac>
currently it does look after gems named like "(base)-*" and then does look if a gem named "base" exist ... then it does have addional groups like it can group "activerecord", "activemodel" and "activesupport" if you say you have a cluster named "active"
dangerousdave has joined #ruby
bMalum has joined #ruby
sprihodko has joined #ruby
bruno- has joined #ruby
elaptics`away is now known as elaptics
ItSANgo has quit [Quit: Leaving...]
aces1up9939 has quit []
roolo has joined #ruby
CodeOmegaPrime has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
justinmburrous has joined #ruby
koderok has quit [Quit: koderok]
joonty has joined #ruby
W0rmDr1nk has joined #ruby
ephemerian has joined #ruby
emanu has joined #ruby
emanu has quit [Client Quit]
marr has joined #ruby
mferrier has joined #ruby
einarj has joined #ruby
timonv_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aaaal has joined #ruby
HelperW has joined #ruby
kenndel_ has joined #ruby
mferrier has quit [Ping timeout: 245 seconds]
mark06 has joined #ruby
Wolland_ has joined #ruby
timonv_ has quit [Ping timeout: 246 seconds]
kaspertidemann has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
tvw has quit []
Wolland_ has quit [Remote host closed the connection]
Wolland has joined #ruby
justinmburrous has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 245 seconds]
Wolland has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
Wolland has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
Musashi007 has quit [Client Quit]
frog0909_ has quit [Ping timeout: 260 seconds]
sevenseacat has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
Matip has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 240 seconds]
awc737 has joined #ruby
CodeOmegaPrime has quit [Ping timeout: 244 seconds]
Matip has joined #ruby
gilr00y has quit [Ping timeout: 246 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
rshetty_ has joined #ruby
schaerli has joined #ruby
krisquigley has quit [Ping timeout: 272 seconds]
jacobat_ has joined #ruby
sk87 has joined #ruby
LekeFly has joined #ruby
rshetty has quit [Ping timeout: 272 seconds]
<shevy>
Hanmac it now has colours!
<shevy>
if it would only have documentation ...
<shevy>
:>
koderok has joined #ruby
<Hanmac>
hush, the options are more or less dokumented if you do --help
jacobat has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
thsig has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
skammer1 has joined #ruby
kaspertidemann has quit []
last_staff has quit [Quit: Bye]
txdv has quit [Ping timeout: 258 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
skammer1 has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
mahlon_ has joined #ruby
hellangel7 has joined #ruby
mahlon has quit [Ping timeout: 260 seconds]
ewilliam has quit [Quit: Connection closed for inactivity]
tvw has joined #ruby
three18t- has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Read error: Connection reset by peer]
hellangel7 has quit [Remote host closed the connection]
Xuerian has quit [Ping timeout: 272 seconds]
<mrcloud>
how can I check if an url is valid? I'm using if uri =~ URI::regexp and this works for common urls (ie http://google.com) but I want to accept also local paths
bal has joined #ruby
bMalum_ has joined #ruby
Xuerian has joined #ruby
three18ti has joined #ruby
timonv_ has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 272 seconds]
bMalum has quit [Ping timeout: 244 seconds]
bMalum_ is now known as bMalum
timonv_ has joined #ruby
Wolland has joined #ruby
hellangel7 has joined #ruby
bigkevmcd has joined #ruby
txdv has joined #ruby
Wolland has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
Spami has joined #ruby
skarn has quit [Ping timeout: 272 seconds]
otakbeku has joined #ruby
startupality has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
Logomachist has joined #ruby
jacobat_ has quit [Ping timeout: 245 seconds]
skarn has joined #ruby
rshetty_ has quit [Remote host closed the connection]
otakbeku has quit [Quit: leaving]
kaspertidemann has joined #ruby
rshetty has joined #ruby
arup_r has joined #ruby
lampd1 has joined #ruby
kyb3r_ has quit [Ping timeout: 258 seconds]
timgauthier has joined #ruby
ad_boot has joined #ruby
jusmyth has joined #ruby
boombadaroomba has joined #ruby
dideler has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
froggy__ has joined #ruby
rshetty has joined #ruby
Guest95759 is now known as pasv
pasv has quit [Changing host]
pasv has joined #ruby
jhass|off is now known as jhass
lampd1 has quit [Ping timeout: 258 seconds]
jusmyth1 has quit [Ping timeout: 245 seconds]
boombadaroomba has quit [Ping timeout: 260 seconds]
froggy_ has quit [Ping timeout: 272 seconds]
mferrier has joined #ruby
rshetty has quit [Remote host closed the connection]
dangerousdave has joined #ruby
Takle has quit [Remote host closed the connection]
qba73 has quit []
x77686d has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
mferrier has quit [Ping timeout: 272 seconds]
<arup_r>
How can I know the location of the included file? Example - class Klass; include Mod ; end
karupa is now known as zz_karupa
<arup_r>
I want to get where the Mod module is defined ?
<apeiros>
arup_r: you realize that there can be more than one place?
x77686d has quit [Ping timeout: 244 seconds]
<apeiros>
oh, wait, forgot to whom I'm talking. nvm.
<arup_r>
hehehe
<arup_r>
Why so?
jacobat has joined #ruby
jasooon has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arup_r>
Is there any global variable or something like that where Ruby keeps the source file paths, for all files which has been loaded using require_relative ?
<arup_r>
per file basis..
txdv_ has joined #ruby
psy_ has quit [Ping timeout: 260 seconds]
AndChat|570836 has joined #ruby
txdv has quit [Ping timeout: 250 seconds]
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
jasooon has quit [Ping timeout: 258 seconds]
roolo has quit [Read error: Connection reset by peer]
roolo has joined #ruby
goodenough has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 265 seconds]
eka has joined #ruby
chouchen has quit [Ping timeout: 272 seconds]
Trynemjoel has joined #ruby
Takle has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<mrcloud>
is there a way, when using slop to force an argument to be a value in a defined enumeration?
narcan has joined #ruby
dANO_ has joined #ruby
dANO has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<codenoob>
Hey guys I have a controller named demo and I am trying to use link_to in view to create a link but it is mapping to just demo not demo/hello, my view code is <%= link_to('Hello', {:action => 'hello'}) %>
grzywacz has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
<codenoob>
please note: I am following a tutorial that is using 4.0.0 and I am using 4.1.6
MCDev has joined #ruby
<sevenseacat>
step 1 - use the right version of rails for the tutorial
<sevenseacat>
step 2 - #rubyonrails
jasooon has joined #ruby
jxf has quit [Ping timeout: 272 seconds]
spastorino has joined #ruby
<codenoob>
how to open another irc in new tab inside freenode ?
Stalkr_ has joined #ruby
<sevenseacat>
i dont know what client you're using, so
<codenoob>
I am on browser irc.lc/freenode/ruby now
chouchen has joined #ruby
ta has joined #ruby
x77686d has joined #ruby
x77686d has quit [Client Quit]
TorpedoSkyline has joined #ruby
alem0lars_ has quit [Quit: alem0lars_]
patric100e99 has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
coderdad has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
codenoob has quit [Ping timeout: 246 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
coderdad has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
Logomachist has quit [Remote host closed the connection]
maasha has joined #ruby
txdv has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
techsethi has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mferrier has joined #ruby
codenoob has joined #ruby
<codenoob>
I am trying to join #rubyonrails but it says you need to be identified as service instead of that I am already registered
beef-wellington has quit [Ping timeout: 260 seconds]
<codenoob>
what is the issue here ?
MasterPiece has quit [Quit: Leaving]
<codenoob>
I have a rails problem that I need to ask
gnzh has quit [Ping timeout: 272 seconds]
<codenoob>
anyone ?
tomeara has quit [Ping timeout: 258 seconds]
<maasha>
Hiyas, I want to test rocksdb-ruby, and I am installing rocksdb. However that is pretty awful since there is no install script so after running 'make static_lib' I do what to let 'gem install rocksdb-ruby' know where the include lib is?
<maasha>
codenoob: #rails
<maasha>
or #ror
wethu has quit [Quit: This computer has gone to sleep]
<codenoob>
its redirects me to ##namespace :/
<maasha>
codenoob: me bad
<codenoob>
#ror says invite only
<maasha>
codenoob: and I think the registered bla bla message can be ignored.
<maasha>
really?
<codenoob>
yes
<maasha>
did you register with nickserv?
mferrier has quit [Ping timeout: 272 seconds]
<codenoob>
yes
<codenoob>
can you guys help me with a rails code BTW ?
<sevenseacat>
see step 1
<maasha>
not me
PeterBoy has joined #ruby
<codenoob>
is the method link_to deprecated in rails 4.1.6 ?
vt102 has quit [Remote host closed the connection]
AlexRussia has joined #ruby
kaspertidemann has joined #ruby
ldnunes has joined #ruby
AndChat|570836 has joined #ruby
bmurt has joined #ruby
<sevenseacat>
no.
michael_lee has joined #ruby
chouchen has quit [Ping timeout: 258 seconds]
cherwin has joined #ruby
workmad3 has joined #ruby
<codenoob>
@sevenseacat but when I am trying to redirect to an action it just show me the controller name in href not the actual action name followed by it ? any idea why ?
g0bl1n has joined #ruby
<codenoob>
sevenseacat: I am not able to connect to rails irc that is why I am asking here ?
justinmburrous has quit [Remote host closed the connection]
<maasha>
checking for main() in -lrocksdb... no can't find header or library of rocksdb
<mostlybadfly>
codenoob: it is #rubyonrails
<codenoob>
mostlybadfly: It is redirecting to ##namespace
sdwrage has quit [Ping timeout: 250 seconds]
sdwrage_ has joined #ruby
cherwin has quit [Ping timeout: 260 seconds]
gnzh has joined #ruby
tkuchiki has joined #ruby
<mostlybadfly>
codenoob: that is weird. I just left and entered again
jacobat has joined #ruby
TorpedoSkyline has joined #ruby
cherwin has joined #ruby
<codenoob>
let me restart my irc
codenoob has quit [Quit: Leaving]
kevkev_ has joined #ruby
<mostlybadfly>
Why are rails and for invite only? Seems exclusive lol
mastr_bennett[x] has joined #ruby
<kevkev_>
Hi, does anybody know of a Ruby gem that does what moment.js does? (ISO-date -> relative date, ex "2 minutes ago" http://momentjs.com/ Seems to be the reverse of what the Chronic gem does
krz has quit [Quit: WeeChat 1.0.1]
<sevenseacat>
its not invite-only, its open to all registered users.
Logomachist has joined #ruby
<mostlybadfly>
I'm registered
<mostlybadfly>
When I go to either I specifically get "invite only" as a response
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<mostlybadfly>
Do you mean you need to register with those channels?
<sevenseacat>
no.
<mostlybadfly>
#rubyonrails works
<workmad3>
mostlybadfly: 'invite-only' is how freenode handles channel redirects
<workmad3>
mostlybadfly: so #rails and #ror redirect to #rubyonrails by being 'invite-only' and bumping you over to #rubyonrails if you aren't 'invited'
<mostlybadfly>
Ah I see. I'm already in it so must be why i get stopped there
<mostlybadfly>
Makes sense
francisfish has joined #ruby
<workmad3>
mostlybadfly: yeah, you won't join #rubyonrails again :)
narcan has joined #ruby
qmfnp has joined #ruby
<mostlybadfly>
I hope not. Was just curious what was going on in the others but now I know that is nothing hehe
justinmburrous has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
<workmad3>
mostlybadfly: #rails only became a redirect a few months ago when complaints were made to freenode admin about it being a channel filled with people who intended to go to #rubyonrails but didn't realise that was the chan name :)
shredding has joined #ruby
narcan has quit [Client Quit]
Deejay_ has joined #ruby
krisquigley has joined #ruby
Deejay_ has quit [Client Quit]
jesteracer has quit [Ping timeout: 244 seconds]
nrsk has joined #ruby
dangerousdave has joined #ruby
Darryl has joined #ruby
kaspertidemann has quit []
yfeldblu_ has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
aclearman037 has joined #ruby
paulfm has joined #ruby
wethu has joined #ruby
MCDev has quit [Ping timeout: 250 seconds]
teddyp1cker has joined #ruby
rkazak has joined #ruby
emocakes__ has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3>
maasha: hell, 9.4 seems to be outperforming mongo for jsonb :P
<maasha>
I was looking at rocksdb
gr33n7007h has quit [Ping timeout: 246 seconds]
<maasha>
looks powerful, but installing it and the gem is tricky :o/
* workmad3
shrugs and goes back to huggling postgresql
gilr00y has joined #ruby
spyderman4g63 has joined #ruby
olivier_bK has joined #ruby
Xeago has quit [Remote host closed the connection]
jsaak has joined #ruby
awestroke has joined #ruby
rubynuby has joined #ruby
<rubynuby>
hello :)
tourne has joined #ruby
bMalum has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marvimias has left #ruby ["Leaving"]
arup_r_ has quit []
<rubynuby>
having a problem : foo = "textkdjdöl-d002834" a = foo.scan(/(?<=-).*/) puts a gives me d002834, but puts a.size gives me 1 - why?
Logomachist has quit [Ping timeout: 246 seconds]
<waxjar>
because String#scan returns an Array
<sevenseacat>
^
<waxjar>
(puts prints every element of an Array on a single line, since there's only one element you can't tell if it's a String or an Array you're printing)
last_staff has joined #ruby
txdv has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<waxjar>
use p for print-debugging :)
sinkensabe has quit []
Hanmac has joined #ruby
justinmburrous has quit [Remote host closed the connection]
ki0 has quit [Remote host closed the connection]
rubynuby has quit [Ping timeout: 240 seconds]
ki0 has joined #ruby
rubynuby has joined #ruby
<rubynuby>
l
<rubynuby>
thanks waxjar
<rubynuby>
is there a way to convert the array to a normal "string like array" where .size is working?
sailias has joined #ruby
<rubynuby>
great, a[0].size is working :)
<sevenseacat>
"string like array"? :/
<rubynuby>
thanks a lot waxjar, helped a lot
<waxjar>
you'd be better off using a method better suited for your purpose
<waxjar>
such as String#[]
<rubynuby>
cu
rubynuby has quit [Client Quit]
<waxjar>
ok
* sevenseacat
shrugs
oleo has joined #ruby
PeterBoy has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
beef-wellington has joined #ruby
AndChat|570836 has quit [Ping timeout: 245 seconds]
endash has joined #ruby
AtumT has joined #ruby
snath has quit [Ping timeout: 260 seconds]
crunk_bear has joined #ruby
yfeldblum has joined #ruby
lampd1 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has quit [Read error: Connection reset by peer]
lolmaus has quit [Remote host closed the connection]
Xeago has joined #ruby
lolmaus has joined #ruby
abilon has quit [Client Quit]
Macaveli has quit [Ping timeout: 260 seconds]
grzywacz has joined #ruby
timgauthier has joined #ruby
<Cope>
I'd like to search a deeply nested hash for a value, and return its key - taht sounds like something that might be in the standard library... is it?
hellangel7 has quit [Quit: Leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac>
Cope nope
freezey has joined #ruby
olivier_bK has joined #ruby
<Cope>
I was thinking something like Enumerable#select
* Cope
checks it out
<workmad3>
Cope: what would the 'key' be in that situation?
<workmad3>
Cope: also select is used to filter enumerables... so that would give you back a filtered hash, not a key
<dcope>
hey all, im having a hard time finding docs about net::http. i want to see what object is returned by #request, but my ruby docs dont seem to be showing it.
supersym has joined #ruby
<dcope>
what website do you all use for docs?
dte has joined #ruby
<waxjar>
zlude: look great. but you don't need the attr_accessors in Hello, because Person already has them :)
<dcope>
sevenseacat: thanks. i'm using the "Dash" app which has ruby-doc built in but i was having trouble finding this. i'll just go to ruby-doc.org from now on.
<tobiasvl>
zlude: looks very good to be your first code! using to_s to output a string like that looks a bit iffy though. to_s should usually return a textual representation of the object itself (whatever that may be)
<waxjar>
zlude: nor the def initialize part, if you're not doing any new work :)
<waxjar>
it's already there
mrsolo has quit [Quit: This computer has gone to sleep]
<Phrogz>
zlude: Also, if you call super with no parenthesis or arguments, it automatically passes all values on up the chain.
mkaesz has quit [Ping timeout: 245 seconds]
<Phrogz>
So, you could rewrite Hello using def initialize( firstname, lastname ); super; end
<Phrogz>
zlude: However, if that is all your initializer does, you might as well not include it at all; it will automatically use the initializer from the parent method.
threesixes has quit [Remote host closed the connection]
<zlude>
Thank you for all haha! But keep calm, i'm a little bit confused, haha! as i said, i'm learning yet.
dte has quit [Remote host closed the connection]
<zlude>
Phrogz, can you explain it better? i'm a little bit confused
Cache_Money has joined #ruby
<zlude>
Phrogz, i really need two initialize's at this code?
<zlude>
waxjar, initialize when not doing any new work? i'm doing something wrong so?
timonv_ has quit [Remote host closed the connection]
pothibo has joined #ruby
<Phrogz>
zlude: Note that Child does not have an #initialize method, so it uses the one from Parent
timonv_ has joined #ruby
mkaesz has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
AFKGeek has quit [Quit: Leaving]
<Phrogz>
zlude: Reload that URL and look at the second file I've added, showing a case when you might want to override the #initialize in the sub-class, but still use super.
codenoob has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski has joined #ruby
icebourg has joined #ruby
<zlude>
Phrogz, Thank you a lot! I will understand that :) thanks!
<Phrogz>
You are welcome.
bruno- has quit [Quit: Lost terminal]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
techsethi has joined #ruby
tomeara has quit [Read error: Connection reset by peer]
sk87 has joined #ruby
tomeara has joined #ruby
rshetty has joined #ruby
Alayde has quit [Ping timeout: 272 seconds]
TorpedoSkyline has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timgauthier is now known as timgauthier_isaw
timgauthier_isaw is now known as timgauthier
Alayde_ has joined #ruby
sevvie has joined #ruby
rippa has joined #ruby
siadat has joined #ruby
Alayde_ has left #ruby [#ruby]
ChrisBolton has joined #ruby
tlarevo_ has quit [Remote host closed the connection]
<zlude>
Phrogz, why do you change attr_accessor by attr_reader?
<Phrogz>
zlude: No strong reason, except that people generally don't change their names, so perhaps you shouldn't be allowed to change someone's name after you make them. (At least, not from the outside.)
<Phrogz>
In this case my code doesn't even need any accessor methods, since I only used the instance variables directly.
cu has quit [Disconnected by services]
claymore has joined #ruby
jbw_ has quit [Ping timeout: 260 seconds]
lampd1_ has joined #ruby
jbw__ has quit [Ping timeout: 258 seconds]
<Phrogz>
chrisbolton: What should the result include for 'rule_trigger'? Nothing? A flattened version?
<zlude>
Phrogz, oh, thanks!
<ChrisBolton>
{application_id: 1, name: “Whatever it is in the hash”}
<olivier_bK>
i try to read file but all the time he stop at ---
allcentury has quit [Ping timeout: 272 seconds]
skammer1 has quit [Ping timeout: 272 seconds]
St_Marx has quit [Remote host closed the connection]
compuser has quit [Ping timeout: 245 seconds]
<Phrogz>
chrisbolton: flat = Hash[ myhash.reject{ |k,v| v.is_a?(Hash) || v.is_a?(Array) } ] #=> {"application_id"=>1, "name"=>"One action and one aggregate"}
mastr_bennett[x] has joined #ruby
rkalfane has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
psy_ has joined #ruby
<ChrisBolton>
Phrogz: I see what you did there. Nice. Thanks.
lampd1_ has quit [Ping timeout: 250 seconds]
<Phrogz>
You're welcome.
sailias has quit [Ping timeout: 260 seconds]
weems|mac has joined #ruby
weems|mac has joined #ruby
cocotton has quit [Remote host closed the connection]
goodenough has joined #ruby
oo_ has quit [Remote host closed the connection]
jacobat has quit [Ping timeout: 260 seconds]
zorak8 has joined #ruby
skammer1 has joined #ruby
leizzer has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
oo_ has joined #ruby
Advocation has quit [Quit: Advocation]
Tomme has quit [Ping timeout: 246 seconds]
<Phrogz>
Glaah. A library provides a broken SomeClass.foo method. I want to monkeypatch it to fix it, but the implementation is via method_missing. Any thoughts on how to intercept this message while still using method_missing?
cocotton has joined #ruby
ringarin has joined #ruby
codecop has joined #ruby
ferr has joined #ruby
<Phrogz>
Oh...I suppose I could just def foo(*a,&b); method_missing(*a,&b).fixitup; end
<Phrogz>
Nevermind. Carry on.
<sevenseacat>
if you define it, it wont need the method_missing version?
jottr has quit [Ping timeout: 258 seconds]
dh64 has joined #ruby
nonmadden has quit [Remote host closed the connection]
aspires has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<Phrogz>
sevenseacat: I still need it to do all the magic it did before; I just need to fix the fucked up encoding on the string it returns.
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teddyp1cker has joined #ruby
lukevinc has quit [Quit: ChatZilla 0.9.91 [Firefox 24.8.0/20000101000000]]
taptapdan has quit [Quit: taptapdan]
hamakn has joined #ruby
noop has quit [Ping timeout: 246 seconds]
<Phrogz>
Oops, my mistake. Needs to be def self.translate(*a,&b); method_missing(:translate,*a,&b).force_encoding('utf-8'); end I forgot to pass along the name of the method.
sevenseacat has quit [Remote host closed the connection]
St_Marx has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
taptapdan has joined #ruby
awc737 has joined #ruby
jasooon has joined #ruby
awc737 has quit [Client Quit]
rshetty has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
LangeOortjes has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MCDev has joined #ruby
j_mcnally has joined #ruby
<epitron>
why is Unicode not the default still? :/
sailias has joined #ruby
fandi has joined #ruby
taptapdan has quit [Quit: taptapdan]
<epitron>
BTW, how do you like qt for ruby?
Takle has quit [Remote host closed the connection]
gccostabr has joined #ruby
<epitron>
I gotta make some GUI stuff... CLI tools can't always cut it
geggam has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
jasooon has quit [Ping timeout: 245 seconds]
banister has joined #ruby
lmickh has joined #ruby
multi_io_ has joined #ruby
Morkel has quit [Quit: Morkel]
Sawbones has quit []
nonmadden has joined #ruby
ChrisBolton has quit [Quit: chrisbolton]
kenneth has joined #ruby
x77686d has joined #ruby
Stalkr_ has quit [Read error: Connection reset by peer]
Stalkr^ has joined #ruby
kaspertidemann has joined #ruby
<Phrogz>
epitron: Qt is pretty darn good. The Qt Designer app is quite comprehensive. Qt for Ruby works, and has some ruby-isms applied (in some cases not desirably) but there is no QtRuby documentation. There are a good number of QtRuby examples, but the people who wrote QtRuby and those examples didn't really feel Ruby, I think.
mrsolo has joined #ruby
<Phrogz>
And, Qt is a huge beast. You have to learn a lot (I'm still learning) to get things done. Lots of classes and concepts to learn. It's like learning a whole new languge.
lw has joined #ruby
allcentury has joined #ruby
multi_io has quit [Ping timeout: 244 seconds]
<Phrogz>
epitron: IMHO it's pretty much the only real game in town for a professional cross-platform GUI app. (Shoes, which I tried first for one app, is simply a toy.)
olivier_bK has quit [Ping timeout: 246 seconds]
geggam has quit [Ping timeout: 260 seconds]
chrishough has joined #ruby
<Phrogz>
Lemme give you a f'rinstance. To use the QTreeView (instead of QTreeWidget) you need to provide a 'model' that implements some key methods for the tree view to ask about what to show in various columns, find children, etc.
cocotton has quit [Remote host closed the connection]
Hightower660 has joined #ruby
<epitron>
interesting
<epitron>
it's sad that it's both undocumented and unruby
emmesswhy has joined #ruby
<Phrogz>
Look at #headerData - that's just to say 'The columns names are "Name" and "Type"'
Stalkr^ has quit [Ping timeout: 244 seconds]
roolo_ has joined #ruby
<epitron>
I guess it's just autogenerated bindings like everything else
<Phrogz>
epitron: Aye. The undocumented isn't so bad because almost everything is a direct connection to the underlying C++ classes and methods, so if you find some C++ code you can figure out the equivalent Ruby code.
roolo has quit [Read error: Connection reset by peer]
livathin_ has joined #ruby
<Phrogz>
And look at all the INVALIDDATA and INVALIDINDEX I have to use, which are instances of classes without valid arguments, used as sigils to say "there's nothing here".
mikeg has joined #ruby
cocotton has joined #ruby
<epitron>
I've tried to use auto generated bindings like that before... sometimes I think it would be easier to learn it in c++ first
cocotton has quit [Remote host closed the connection]
Altonymous has joined #ruby
iamjarvo has joined #ruby
cocotton has joined #ruby
lw has quit [Read error: Connection reset by peer]
lw has joined #ruby
baroquebobcat has joined #ruby
<Phrogz>
Probably. But then again, it's still sooo big. I've decided that instead of trying to learn Qt first, I'm going to make my app work and learn the bits I need along the way. It's just too big to get in my head all at once.
arup_r has joined #ruby
<epitron>
have you tried gtk for ruby?
<Altonymous>
How do I capitalize the first letter of every word in a string of words seperated by a space.. without it changing the case of any other letters in the string. When I use capitalize it lowercases anything that isn’t the first letter of the word...
<Phrogz>
I have not. I think shevy is going that track.
x77686d has quit [Quit: x77686d]
<Phrogz>
Altonymous: Are you using Ruby on Rails or ActiveSupport?
<Altonymous>
ActiveSupport
<Altonymous>
not rails
mrsolo has quit [Quit: This computer has gone to sleep]
geggam has joined #ruby
livathinos has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
<shevy>
(2) Compared to HTML/CSS/Javascript, it often feels inferior to use GUI stuff
<Phrogz>
fack
<shevy>
hmm I forgot the third point ... let me think ...
maletor has quit [Quit: Computer has gone to sleep.]
dte has joined #ruby
jbw has joined #ruby
jimmyhoughjr has joined #ruby
krisquigley has joined #ruby
oleo__ has joined #ruby
oleo is now known as Guest40963
<shevy>
or perhaps (3) was interconnected with (2) and (1); it just feels as if when I have to go the default route in a GUI binding, it is so cumbersome to tediously specify all individual widgets
emmesswhy has quit [Quit: Leaving]
<shevy>
in html, you have <div></div> and then you can style that "widget" any way you see fit
<Phrogz>
shevy: Amen to #2. Though Qt does have CSS that is pretty darn reasonable. I just last night did: #inspector{ border-top:none; margin-right:2px } to fix up some appearance.
<shevy>
not a lot of fun
<shevy>
yeah CSS helped; you should have been there when gtk only had rcfiles
<epitron>
Phrogz: do you use qml in your ruby at code?
<epitron>
qt
freezey has quit [Remote host closed the connection]
bricker`work has joined #ruby
cina has quit [Remote host closed the connection]
thagomizer1 has quit [Quit: Leaving.]
thagomizer has joined #ruby
fandi has quit [Quit: Leaving]
Lingo has joined #ruby
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
kaspertidemann has quit []
<shevy>
tk always looked so ugly
<Lingo>
Hi. I'm writing a gem, which is a wrapper around an external API. What's the proper way of testing it: mocking HTTP requests?
davispuh has joined #ruby
Lingo is now known as shock_one
<allcentury>
shock_one: I've tried a few methods but I think VCR is pretty good
<allcentury>
shock_one: For the most extensive approach, building your own sinatra app in tests is great - let me find that article for you that Thoughbot did on the subject
baroquebobcat has quit [Quit: baroquebobcat]
Takle has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
<Phrogz>
epitron: No QML for me. I'm not even sure what it is.
* Phrogz
goes to look
cndiv has joined #ruby
<gregf_>
>> class String; def titelize; (%w[of the in on to].include?self) ? self : self.capitalize; end; end; p "raiders of the lost ark".gsub(/\w+/,&:titelize)
<epitron>
so, keep in mind that this entire presentation is a direct screen capture of the pi
Techguy305 has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
<epitron>
he's not mixing slides in with a video editing program :)
maletor has joined #ruby
chipotle has quit [Quit: cya]
<epitron>
all qt5/qml
<Phrogz>
That is a hot editing paradigm, live Bret Victor-style loving.
obs has joined #ruby
<Phrogz>
So far feels too much like "Let's roll the entire UI ourselves, like Shoes!" instead of using OS-native widgets and concepts. But perhaps I'm not there yet.
supersym has joined #ruby
aspires has joined #ruby
chipotle has joined #ruby
ringaring has joined #ruby
<shevy>
hehehe
grzywacz has quit [Ping timeout: 258 seconds]
taptapdan has joined #ruby
SCHAAP137 has joined #ruby
<shevy>
btw epitron
SCHAAP137 has quit [Excess Flood]
<epitron>
Phrogz: i'm sure QML can be used to do non-opengl stuff :)
<shevy>
That syntax at 3.16 in that video
<epitron>
it is very nice for GL though
<shevy>
that looks like RUBY SYNTAX
<shevy>
THIEVES!!!
<epitron>
shevy: :D
<epitron>
everyone loves ruby syntax
magic is now known as Guest58930
Guest58930 has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
<epitron>
rust stole it!
<shevy>
what I don't like is
<epitron>
coffeescript sole (some of) it!
<shevy>
everyone creates new DSLs
<shevy>
but I want one DSL to bind them all
<wasamasa>
the DSL DSL
magic_ has joined #ruby
mikeg has joined #ruby
Tomme has quit [Ping timeout: 260 seconds]
<wasamasa>
but wait, that kind of thing already exists
ringarin has quit [Ping timeout: 260 seconds]
<epitron>
shevy: how do you mean?
<epitron>
like, DSL standards?
<epitron>
and a tool for making them more easily?
<epitron>
and letting users extend them?
justinmburrous has joined #ruby
roolo_ has quit [Remote host closed the connection]
coderhs has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
coderhs has quit [Read error: Connection reset by peer]
Macaveli has quit [Ping timeout: 260 seconds]
roolo has joined #ruby
PeterBoy has quit [Remote host closed the connection]
ringaroses2 has joined #ruby
chthon has quit [Ping timeout: 240 seconds]
jacobat has quit [Ping timeout: 245 seconds]
tomeara has quit [Read error: Connection reset by peer]
oso|away is now known as oso96_2000
PeterBoy has joined #ruby
<shevy>
epitron something like CSS
Hightower660 has quit [Ping timeout: 240 seconds]
<shevy>
if I use QML I am tied to qt I reckon
goodenough has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
moshee has joined #ruby
sj_ has joined #ruby
<epitron>
CSS isn't good enough to bind them all :)
<epitron>
it's too limited
roolo has quit [Ping timeout: 245 seconds]
<shevy>
yeah, it has another scope than QML
ringaring has quit [Ping timeout: 250 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<epitron>
QML is great because it does what SASS/etc. do, but better
<waxjar>
isn't css technically turning-complete or something
<epitron>
brainfuck is technically turing complete too
g0bl1n has quit [Quit: g0bl1n]
<waxjar>
fair enough :p
<epitron>
the game of life is technically turing complete
tomeara has joined #ruby
arup_r has joined #ruby
<epitron>
there's an important principle to technology, which is the path of least resistance will determine what gets created
jadedphone has joined #ruby
<waxjar>
i wonder how it works, tho not enough to actually figure it out :p
jusmyth has quit [Ping timeout: 258 seconds]
<epitron>
like, if you make something easy in tool X, there will be a lot of that thing
<epitron>
in CSS, the easy thing is setting colours/sizes of things
<epitron>
and adding images
<epitron>
so that's what people do!
Deejay_ has joined #ruby
taptapdan has quit [Quit: taptapdan]
<epitron>
the tool should make it easy to do the thing that we want to see more of in the world
lw has quit [Quit: s]
kamil has quit [Quit: Leaving...]
<epitron>
and i argue that that thing is good user interfaces for all the complex information on the internet
<epitron>
being able to slap together information views quickly
jasooon has joined #ruby
<epitron>
with the ability to interact with it
freezey has joined #ruby
NSSgeo has quit [Read error: Connection reset by peer]
<epitron>
even better: have it use the semantic annotations on the information to automatically create the view for you, regardless of the size of your device
W0rmDr1nk has quit [Ping timeout: 240 seconds]
Deejay_ has quit [Client Quit]
mikeg has quit [Ping timeout: 250 seconds]
<epitron>
then all you have to do is tell the thing what type of information it is
<epitron>
and each user could have their own preferences for how this type of information is displayed
ep3static has joined #ruby
<waxjar>
utopia! :p
<epitron>
and developers could supply hints for how it's laid out
awc737 has joined #ruby
<epitron>
the minimal coaxing would be required
taptapdan has joined #ruby
Sgeo has joined #ruby
<epitron>
instead of having to wrestle with CSS' turing completeness :)
<epitron>
CSS doesn't even make it easy to put 3 columns
<epitron>
how insane is that
jasooon has quit [Ping timeout: 240 seconds]
grzywacz has joined #ruby
freezey has quit [Ping timeout: 240 seconds]
<shevy>
you can use html tables
ki0 has quit [Ping timeout: 245 seconds]
<epitron>
that sounds like wrestling to me
<shevy>
admit that you like oil wrestling
<epitron>
i won't admit that i don't like it
<epitron>
oil removes a lot of friction though... that's what SASS is
<shevy>
btw I concur - users should be able to freely and easily change any aspect
<shevy>
<epitron> and each user could have their own preferences for how this type of information is displayed
<epitron>
OILY CSS
startupality has quit [Quit: startupality]
<epitron>
shevy: the one-size-fits-all UI is the worst thing
tesaf has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<allcentury>
I knew weechat was pinging me for a good reason
<allcentury>
came for the oil party
<epitron>
apple has this great thing called NIB that separates the UI from the underlying code
magic_ is now known as magic
<allcentury>
wasn't dissappointed
<shevy>
man
<epitron>
you can, in theory, add buttons to any UI on the apple
<shevy>
I would not want to get highlighted when my client is called peechat
<epitron>
people don't do that though
<epitron>
allcentury: :D
awc737 has quit [Read error: No route to host]
<shevy>
I am still using xchat, hexchat is kinda buggy for me :\
jottr has joined #ruby
g0bl1n has joined #ruby
obs has quit [Quit: Saliendo]
<epitron>
Phrogz: oh, it looks like QML is on Qt4 as well.. it doesn't have as good opengl support, is all
justinmb_ has quit [Remote host closed the connection]
aspires has quit [Client Quit]
shock_one has quit [Ping timeout: 260 seconds]
maestrojed has joined #ruby
tkuchiki has quit [Remote host closed the connection]
aspires has joined #ruby
pasties has quit [Ping timeout: 250 seconds]
codeFiend has joined #ruby
aspires has quit [Client Quit]
russt has joined #ruby
fsapo has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
aspires has joined #ruby
PeterBoy has quit [Remote host closed the connection]
mrevd has joined #ruby
cu has joined #ruby
doev has quit [Ping timeout: 250 seconds]
aspires has quit [Client Quit]
dumdedum has quit [Quit: foo]
iliketurtles has joined #ruby
GinoMan has joined #ruby
x1337807x has joined #ruby
Pupeno_ has quit [Quit: Leaving...]
x1337807x has quit [Max SendQ exceeded]
kirun has joined #ruby
Altonymous has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
endash has quit [Quit: endash]
cu has quit [Disconnected by services]
x1337807x has joined #ruby
aspires has joined #ruby
cu has joined #ruby
endash has joined #ruby
schaerli has quit [Remote host closed the connection]
ep3static has quit [Quit: WeeChat 0.4.2]
klaut has quit [Remote host closed the connection]
<shevy>
wasamasa ewwww
<shevy>
Docile.dsl_eval({}) do
aspires has quit [Client Quit]
gilr00y has quit [Remote host closed the connection]
cu has quit [Disconnected by services]
AmBienCeD has joined #ruby
AmBienCeD has joined #ruby
cu has joined #ruby
cu has quit [Disconnected by services]
alex88 has quit [Quit: Leaving...]
cdolan has quit [Quit: WeeChat 0.4.3]
Trudko has joined #ruby
cu has joined #ruby
cu has quit [Disconnected by services]
GinoMan has quit [Remote host closed the connection]
aspires has joined #ruby
AlexRussia has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
gilr00y has joined #ruby
cu has joined #ruby
cu has quit [Disconnected by services]
x1337807x has quit [Client Quit]
AlexRussia has joined #ruby
x1337807x has joined #ruby
mercwithamouth has joined #ruby
cu_ has joined #ruby
wallerdev has joined #ruby
jottr has joined #ruby
ptrrr has joined #ruby
Deejay_ has joined #ruby
dumdedum has joined #ruby
gilr00y has quit [Read error: Connection reset by peer]
BTRE has quit [Read error: Connection reset by peer]
gilr00y has joined #ruby
lampd1_ has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BTRE has joined #ruby
x1337807x has quit [Client Quit]
ptrrr has quit [Remote host closed the connection]
ptrrr has joined #ruby
justinmburrous has joined #ruby
<epitron>
i was trying to figure out what it adds :)
graydot has joined #ruby
<epitron>
apparently it has a FallbackProxyObject
mikeg has quit [Remote host closed the connection]
Deejay_ has quit [Client Quit]
kalohu has joined #ruby
michaeldeol has joined #ruby
geggam has joined #ruby
lampd1_ has quit [Ping timeout: 244 seconds]
dumdedum has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby
taptapdan has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
danguita has quit [Ping timeout: 264 seconds]
PeterBoy has joined #ruby
sk87 has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
Trudko has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has joined #ruby
benzrf|offline is now known as benzrf
danguita has joined #ruby
ctp has joined #ruby
sk87 has quit [Client Quit]
bricker`work has quit [Quit: leaving]
Stalkr_ has joined #ruby
Stalkr_ has joined #ruby
skammer1 has quit [Ping timeout: 272 seconds]
noop has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
mrevd has left #ruby [#ruby]
jacobat has joined #ruby
djbkd has joined #ruby
roolo has joined #ruby
bricker`work has joined #ruby
freezey has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
ta has joined #ruby
einarj has quit [Remote host closed the connection]
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
livingstn has quit []
Trudko has joined #ruby
lnormous has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
justinmburrous has quit [Remote host closed the connection]
<Trudko>
hey guys I have collection which I sort by sort_by! property by which I sort depends on user input how to switch between different properties in sorting except using if else or switch ? (If input = propertyA sort by property A ) ?
freezey has quit [Ping timeout: 244 seconds]
omosoj has joined #ruby
jasooon has joined #ruby
j_mcnally has quit [Ping timeout: 260 seconds]
BTRE has quit [Read error: Connection reset by peer]
<havenwood>
Trudko: Can you gist the code you have so far?
<havenwood>
Trudko: Or show example input and expected output?
pandaant has quit [Remote host closed the connection]
PeterBoy has quit [Remote host closed the connection]
reset has joined #ruby
lw has quit [Quit: s]
BTRE has joined #ruby
rshetty has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
claymore has joined #ruby
freerobby has joined #ruby
rdark has quit [Quit: leaving]
postmodern has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
<benzrf>
more like AltDe :^)
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krisquigley has joined #ruby
<shevy>
???????????????
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
nope the key is called "Alt gr" on this german keyboard here
<shevy>
it's cool for µL in chemistry
<shevy>
but I did not know if nano and pico have a symbol as well
<shevy>
one that works :D
aspires has quit []
teddyp1cker has quit [Remote host closed the connection]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Techguy305 has quit [Ping timeout: 246 seconds]
BTRE has quit [Read error: Connection reset by peer]
MaciejCzyzewski has joined #ruby
bMalum has quit [Ping timeout: 245 seconds]
endash_ has joined #ruby
michaeldeol has joined #ruby
endash has quit [Ping timeout: 272 seconds]
endash_ is now known as endash
krisquigley has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
pasties has joined #ruby
djbkd has joined #ruby
bMalum has joined #ruby
ringaring has joined #ruby
charliesome has quit [Quit: zzz]
Aaaal has quit [Quit: Aaaal]
lw has joined #ruby
AlSquire has quit [Ping timeout: 258 seconds]
lw has quit [Max SendQ exceeded]
lw has joined #ruby
echevemaster has joined #ruby
cherwin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ringaroses2 has quit [Ping timeout: 245 seconds]
iulianh has joined #ruby
omosoj has quit [Quit: leaving]
shredding has joined #ruby
claymore has quit [Quit: Leaving]
claymore has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
brushdemon has joined #ruby
ghr has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
shredding has quit [Remote host closed the connection]
shredding has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
shredding has quit [Client Quit]
Wolland has joined #ruby
ringaring has quit [Quit: Leaving]
iamjarvo has joined #ruby
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
justinmburrous has joined #ruby
shosti has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
ghormoon has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
<epitron>
is "Alt gr" your compose key on linux?
benzrf is now known as benzrf|offline
ghr has quit [Ping timeout: 272 seconds]
<waxjar>
its the alt key on the right i believe
Kricir has quit [Ping timeout: 246 seconds]
<epitron>
(you can make anything the compose key :)
<epitron>
i'm wondering how his Altgr works.. if it's a compose key, or some hardware german key
Tomme has joined #ruby
taptapdan has quit [Quit: taptapdan]
livathinos has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
denaras has joined #ruby
spider-mario has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
yetanotherdave has joined #ruby
fabrice31 has joined #ruby
timgauthier is now known as timgauthier_isaw
IceDragon has quit [Ping timeout: 240 seconds]
bobishh has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Techguy305 has joined #ruby
aeontech has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
omosoj has joined #ruby
<ghormoon>
hi, I'm new to ruby and I'm trying to find out how to correctly replace class variales (@@var) so rubocop stops complaining and the code still works :) found something on the net, but not much, can anyone have a look on it? it's here, http://pastebin.com/zrsGW3BN look for @@num_quacks (yep, this is obviously a homework :P), in comment after it there's always code I tried to replace it ...
codeFiend has quit [Ping timeout: 244 seconds]
aeontech is now known as codeFiend
tlarevo has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TommeHo has joined #ruby
ArchBeOS-work has joined #ruby
mikeg has joined #ruby
shredding has joined #ruby
<ghormoon>
also is there simplier way to make the "flying?" and "swimming?" methods?
teddyp1cker has joined #ruby
agjacome has quit [Quit: leaving]
PeterBoy has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<allcentury>
ghormoon: what's the diff between @@num_quacks and @num_quacks
<ghormoon>
allcentury: one is instance count and one global count
Tomme has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 245 seconds]
iliketurtles has quit [Read error: Connection reset by peer]
<allcentury>
ghormoon: do you need to keep track of quacks for each duck and then for ALL ducks?
shosti has quit [Ping timeout: 245 seconds]
<ghormoon>
yup
iliketurtles has joined #ruby
BTRE has joined #ruby
IceDragon has joined #ruby
<allcentury>
ghormoon: well your optoins are to simply add together the ducks quacks. duck1 = Duck.new duck2 = Duck.new then you can do duck1.quacks + duck2.quacks
<ghormoon>
so if you have ducks a and b, doing a.quack and bquack will result it that both a.num_quacks and b.num_quacks return 2 and Duck.num_quacks returns 4
<shevy>
don't .quack on my .duck!
timgauthier has joined #ruby
<allcentury>
alternatively you might want to make a class Flocks that gets added to anytime a duck quacks
<ghormoon>
well I haver to provide Duck.num_quacks which the tests use
carraroj has joined #ruby
blackratdog has joined #ruby
elaptics is now known as elaptics`away
<allcentury>
show us the tests
chouchen has quit [Ping timeout: 272 seconds]
BTRE has quit [Read error: Connection reset by peer]
<ghormoon>
and is there any way to write that it's not worried or not?
Wolland has joined #ruby
g0bl1n has joined #ruby
<rainfyre>
n00b question, what text editor should I use to begin coding in Ruby? I'm using Debian Linux. Do any editors auto indent?
BTRE has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
shevy has quit [Read error: Connection reset by peer]
monkeypatch has joined #ruby
luckyruby has quit [Remote host closed the connection]
<ghormoon>
hehe that reminds me, anyone usimg intellij idea/rubymine? is there a way hook on rubocop tests before commit?
apeiros has joined #ruby
PeterBoy has quit [Remote host closed the connection]
<Trudko>
havenwood: right now I have @players.sort_by!{ |player| puts player.last_name; puts player.average; -player.average.to_f }
<ghormoon>
(teacher tests the code with rubocop too, that's why I'm asking how to make the class variable pass, but hopefully he won't complain about this problem)
<Trudko>
but what I want to have is players will be sorted either by last name or by average and by few other things and this will depend on what user will say
<pharpend>
hey guys, I'm trying to write a little utility script to figure out approximately how many cds I need for a road trip. My script is http://sprunge.us/eDBB
<allcentury>
I was using the old wrapper that screen scrapped and was excited about the new one
shosti has quit [Remote host closed the connection]
cocotton has quit [Remote host closed the connection]
sqd has joined #ruby
leizzer has quit [Ping timeout: 246 seconds]
cocotton has joined #ruby
sqd has left #ruby [#ruby]
pskosinski_ has joined #ruby
joescript has joined #ruby
<allcentury>
if your filenames have spaces, you'll need to escape them
<allcentury>
quoted = "path/to/file with spaces".gsub(/ /, '\ ')
<Toba>
every time I see a filename in a software product with a space in it I do want to escape
<allcentury>
=> "path/to/file\\ with\\ spaces"
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<allcentury>
Toba: part of me thinks no one needs to listen to a RATM live disc on a road trip but I digress...
skolman_ has quit [Ping timeout: 272 seconds]
tyll has quit [Ping timeout: 244 seconds]
<Hanmac>
shevy yes with AltGr i can do "²³[]|~" but also other things like "¶ŧ←↓→ø"
pskosinski has quit [Ping timeout: 245 seconds]
ferr has quit [Ping timeout: 272 seconds]
iulianh has quit [Quit: Leaving]
gregf has joined #ruby
<pharpend>
allcentury: didn't work :/
tyll has joined #ruby
<pharpend>
allcentury: instead, I get error ssta: tripper.rb:5:in `size': No such file or directory - /home/pete/music/Rage\ Against\ the\ Machine/The\ Battle\ of\ Los\ Angeles/01\ Testify.mp3 (Errno::ENOENT)
<pharpend>
ack
aspires has quit []
Macaveli has joined #ruby
<pharpend>
allcentury: instead, I get error tripper.rb:5:in `size': No such file or directory - /home/pete/music/Rage\ Against\ the\ Machine/The\ Battle\ of\ Los\ Angeles/01\ Testify.mp3 (Errno::ENOENT)
<eval-in_>
havenwood => [#<struct Player average=10.3, last_name="DiMaggio">, #<struct Player average=1.2, last_name="Smith">, #<struct Player average=2.3, last_name="Smith">] (https://eval.in/203243)
<havenwood>
Trudko: ^
ghr has joined #ruby
alem0lars has joined #ruby
kobain has joined #ruby
alem0lars has quit [Client Quit]
chouchen has joined #ruby
jonr22 has joined #ruby
jonr22 has quit [Client Quit]
<wasamasa>
shevy: I've seen worse things these so-called DSLs do
<havenwood>
Trudko: TL;DR: #sort_by an Array in the order of your sorts
WismerTrashCry has joined #ruby
<Hanmac>
pharpend: are you 100% sure you dont did something else wrong? i created a file "/tmp/abc def/file.txt" and both File.size("abc def/file.txt") and File.size("abc\ def/file.txt") but File.size('abc\ def/file.txt') did not ... hm you somehow need to check if that file really exist or something
ItSANg___ has quit [Read error: Connection reset by peer]
old_black has quit [Quit: Leaving]
lw has joined #ruby
ItSANgo_ has joined #ruby
<klurbin>
I'm looking for a use case for Drb. It seems like it would be easier and more secure to just convert ruby objects to something like JSON and pass them around.
end_guy has joined #ruby
jelera has quit [Quit: Leaving]
KC9YDN has quit [Quit: "Let a hundred flowers bloom: let a hundred schools of thought contend." - Mao Zedong]
iamjarvo has joined #ruby
paulfm has quit [Ping timeout: 260 seconds]
<pipework>
klurbin: Sounds slow.
<pipework>
klurbin: Why don't you use something like protocol buffers, or if you're brave cap'n proto?
<benzrf>
cap'n proto?
<pipework>
Then at least you're not tied into drb, which might be a pain to use with other languages as it wasn't designed for it.
sarlalia1 has quit [Quit: WeeChat 0.4.2]
lukevinc has joined #ruby
Altonymous has quit [Quit: Altonymous]
havenwood has joined #ruby
<klurbin>
It's not so much that I have something I need to implement, I just thought it might be fun to make something 'distributed' then I wondered why anyone would limit themselves to Drb
shredding has quit [Quit: shredding]
<pipework>
klurbin: Because Drb is cool and fun.
<pipework>
Super easy to use too.
crunk_bear has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tourne has quit [Ping timeout: 250 seconds]
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gilr00y_ has joined #ruby
ghr has joined #ruby
djbkd has joined #ruby
Advocation has quit [Quit: Advocation]
brandonshowers has joined #ruby
allcentury has quit [Ping timeout: 246 seconds]
sarlalian has joined #ruby
lukevinc has quit [Quit: ChatZilla 0.9.91 [Firefox 24.8.0/20000101000000]]
ldnunes has quit [Quit: Leaving]
ixti has joined #ruby
dangerousdave has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
dfedde is now known as not_cfedde
tkuchiki has joined #ruby
BTRE has joined #ruby
not_cfedde is now known as dfedde
byteoverfl0w has quit [Remote host closed the connection]
iliketurtles has joined #ruby
BTRE has quit [Client Quit]
PeterBoy has joined #ruby
vt102 has joined #ruby
BTRE has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]