<Mia>
shevy, that seems to be nice in long run but a little bit confusing to me right now
<shevy>
the advantage is that you get to have a lot more extra flexibility
<shevy>
well
<shevy>
you don't have to use everything
mikeg has quit [Remote host closed the connection]
<shevy>
and you can also think differently about features. for instance, a block is essentially an extra argument to all methods but it is optional, you can write ruby code without blocks
<shevy>
or lambdas
<Mia>
mhm
<Mia>
but still
<Mia>
the tutorial is focused on those things right now
<Mia>
so I need to understand
<Mia>
:)
<Mia>
lambda -- I have no clue at all, yet.
mikeg has joined #ruby
mastr_bennett[x] has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
<shevy>
you can think of it as an anonymous chunk of code
enebo has joined #ruby
<shevy>
you can use the method .call on it to evaluate the code
<shevy>
x = lambda {|yo| yo * 3 } # => #<Proc:0xbefc5f8
<shevy>
x.call 'hey'
<shevy>
# => "heyheyhey"
<shevy>
oops, forgot one newline
<X-warrior>
Does anybody know why my match.save trigger the error 'Cannot visit User'? http://pastie.org/9600033
<Mia>
I kind of get it shevy
<Mia>
I don't see a reason to use it yet
<X-warrior>
iirc lambda functions are used when you wnat to 'create' a function during runtime
<X-warrior>
am I wrong?
mikeg has quit [Ping timeout: 260 seconds]
mary5030 has quit [Remote host closed the connection]
<shevy>
Mia yeah. I don't have a reason for it either hahaha
<Mia>
:)
jack_rabbit has joined #ruby
<shevy>
X-warrior dunno. you can attach or remove any method at runtime from any object anyway through .class_eval and so forth
<X-warrior>
I guess on functional programming it is more useful,
enebo has quit [Ping timeout: 250 seconds]
KillerFox has quit [Ping timeout: 250 seconds]
adac has quit [Ping timeout: 240 seconds]
duncannz has quit [Ping timeout: 272 seconds]
krisquigley has quit [Remote host closed the connection]
KillerFox has joined #ruby
jonr22 has quit [Quit: WeeChat 0.4.3]
krisquigley has joined #ruby
shock_one has joined #ruby
msmith_ has joined #ruby
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
asteros has joined #ruby
WormDrink has joined #ruby
asteros has quit [Client Quit]
<X-warrior>
hey shevy do u have any idea about my problem? I'm new to ruby
krisquigley has quit [Ping timeout: 250 seconds]
<shevy>
X-warrior I do not use activerecord
threesixes has quit [Ping timeout: 258 seconds]
<shevy>
if it were a ruby question sure
tylersmith has joined #ruby
shock_one has quit [Ping timeout: 272 seconds]
tylersmith has quit [Ping timeout: 245 seconds]
seamon has quit [Quit: Zzzzzzz]
tylersmith has joined #ruby
mikepack has joined #ruby
usinganalias has joined #ruby
usinganalias has quit [Client Quit]
tylersmi_ has joined #ruby
seamon has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
yaymukund has joined #ruby
afhammad has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 245 seconds]
afhammad has joined #ruby
InhalingPixels has joined #ruby
threesixes has joined #ruby
benzrf is now known as benzrf|offline
Olipro has joined #ruby
jonr22 has quit [Quit: WeeChat 0.4.3]
jonr22 has joined #ruby
mikepack has joined #ruby
hiall has joined #ruby
jonr22_ has joined #ruby
Takle has joined #ruby
gsd_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
<Mia>
the right panel says "start with 1.9.3" so I asked
dx7 has joined #ruby
klmlfl has quit [Remote host closed the connection]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrishough has joined #ruby
therealGent has quit [Quit: Leaving]
zeroNones has joined #ruby
duncannz has joined #ruby
justinmburrous has quit [Remote host closed the connection]
dx7 has quit [Ping timeout: 272 seconds]
msmith_ has quit [Remote host closed the connection]
HelperW____ has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
yaymukund has quit [Ping timeout: 272 seconds]
echooo has joined #ruby
yaymukund has joined #ruby
angusiguess has joined #ruby
mikepack has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
tylersmi_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
hooper has joined #ruby
tylersmith has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
<Mia>
What ide you prefer?
angusiguess has quit [Ping timeout: 260 seconds]
tectonic has joined #ruby
<Nilium>
I don't use an IDE.
<Mia>
Nilium, what do you use?
<Nilium>
Sublime Text.
<Mia>
Nilium, okay, it's an ide?
kyb3r_ has joined #ruby
<Nilium>
It's a text editor.
<Mia>
I mean -- sublime is an idea as far as I know
tylersmith has quit [Ping timeout: 258 seconds]
<Mia>
hm ok
benzrf is now known as benzrf|offline
<Mia>
I thought they're the same/similar
<Nilium>
IDEs are generally known for project management, autocompletion, and other stuff along those lines. Sublime edits text.
GinoMan has joined #ruby
<Mia>
oh okay
<Mia>
so does it have ruby autocomplete
<Mia>
(or package for that)
benzrf|offline is now known as benzrf
<Nilium>
I would guess one option is IntelliJ IDEA or Rubymine, depending on whether you want it as a plugin or an IDE that only does Ruby.
seamon has quit [Quit: Zzzzzzz]
<Nilium>
It might, I don't know, I don't use autocomplete stuff.
<Mia>
brutal
nettoweb has joined #ruby
<Nilium>
Years of C and C++ will do that to you. You just learn to not rely on an IDE.
<Mia>
:)
<Mia>
I have hours of ruby experience. and that's all
<Mia>
since... yesterday
jimmyy has joined #ruby
<Nilium>
Probably worry about learning the language before finding an IDE.
gregf has quit [Quit: WeeChat 1.0]
jonmorehouse has quit [Ping timeout: 260 seconds]
<Nilium>
Also, good idea: put a shelf liner under mechanical keyboards.
<Nilium>
Dampens noise.
<Mia>
yeah doing it but notepad is blatantly bad
<Nilium>
Well, obviously don't use notepad.
<Nilium>
But do use something like Notepad++ or TextMate or any other good text editor at minimum.
jimmyy has quit [Max SendQ exceeded]
<Nilium>
After that, you can decide if you want to invest in an IDE.
<Mia>
Nilium, what kind of investment are we talking about
<Mia>
time/money?
<Nilium>
Most IDEs cost money and have a learning curve.
tkuchiki has quit [Remote host closed the connection]
<Mia>
oh hm
<Nilium>
RubyMine, for example, is $99.
<Nilium>
There's probably also some awful eclipse-based IDE.
<Nilium>
Beware Eclipse-based things.
ramfjord has quit [Ping timeout: 260 seconds]
jonmorehouse has joined #ruby
nine_button has joined #ruby
<Mia>
Nilium, like aptana?
<Mia>
also how about komodo?
<Nilium>
Aptana's definitely Eclipse-based.
<nine_button>
how do I train to meet the goal of building a Ruby CLI program to convert directories of audio files to a destination directory/${artist}/${album}?
<Nilium>
I know nothing about Komodo.
<Nilium>
I'm not sure if they should be calling it an IDE, though
afhammad has quit []
mikepack has joined #ruby
InhalingPixels has joined #ruby
<solo_>
any recommended rails tuts? thought i was going to write the backend of my app with rails, but uh, it seems very convoluted.
<Mia>
solo_, I started with codacademy yesterday
<Mia>
it's pretty fine
<solo_>
hm..okay
duncannz has quit [Ping timeout: 244 seconds]
Wolland has joined #ruby
tyll_ has quit [Ping timeout: 272 seconds]
dx7 has joined #ruby
Scotteh has quit [Ping timeout: 272 seconds]
hooper has quit [Quit: Leaving.]
<solo_>
i was just trying to spin something up really quick with heroku, but good lord, installed *so* many gems, I felt dirty.
Inhaling_ has joined #ruby
tyll has joined #ruby
GinoMan has quit [Ping timeout: 245 seconds]
<yaymukund>
wasamasa: thanks earlier for your book recommendation. I didn't mean to sound ungrateful -- was just rushed for time :d
justinmburrous has joined #ruby
AlexRussia has joined #ruby
jimmyy has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
jimmyy has quit [Max SendQ exceeded]
InhalingPixels has quit [Ping timeout: 260 seconds]
bthesorceror has quit [Quit: bthesorceror]
hooper has joined #ruby
justinmburrous has quit [Ping timeout: 260 seconds]
jonr2219 has quit [Remote host closed the connection]
<Mia>
is there any good console alternative in windows for irb
<Mia>
cmd doens't show indentation
<fennec>
hmm
radic_ has quit [Ping timeout: 244 seconds]
<fennec>
what are you expecting to see?
<Mia>
tabs
<Mia>
I mean
* fennec
isn't sure where you would normally expect tabs during a session of irb
<Mia>
as I'm writing I would like to see the correct tabs at line start
<Mia>
like
<Mia>
if true
<Mia>
puts true
<Mia>
end
<Mia>
don't mind the content :D forgot to quote
douglasssssss has joined #ruby
<fennec>
you can puts true, it'll work :b
zeroNones has joined #ruby
<Mia>
oh okay -
<Mia>
I mean, the intentation in the "if" fr instance
<fennec>
anyway.... if you want indentation use a text editor that will help you with indentation and run saved ruby files intead of running a read-evaluate-print loop like irb
<Mia>
real time is nice thouh <3
<Mia>
does it work without indentation on osx as well?
<fennec>
also, don't indent ruby with tabs. use two spaces. it's standard (within ruby)
HelperW____ has quit [Ping timeout: 260 seconds]
<Mia>
oh
sevvie has joined #ruby
<Mia>
I'll possibly just use sublime and stick to it's defaults for ruby
starless has joined #ruby
<fennec>
just fyi. they picked it because otherwise people would debate it forever.
<fennec>
anyway. irb looks and works about the same on any system capable of displaying text in a terminal, windows or otherwise.
<Mia>
because in some tutorial it was having indentation
<Nilium>
Or you're not telling it to install gems per-user.
<trout>
havenwood: ^
<trout>
Nilium: how do I tell it that?
maestrojed has joined #ruby
maestrojed has quit [Client Quit]
<Nilium>
`gem help install`
<trout>
as I said, I don't actually understand Ruby
<trout>
I'm used to C and Python
<Nilium>
I'm used to C and C++ (11 in particular).
<havenwood>
trout: hem some rvm shim
<Nilium>
That said, I've been using Ruby longer and I'm still worse with it.
krz has joined #ruby
<Nilium>
Probably because I don't participate in the weird Ruby culture that sprung up around that godforsaken thing known as Rails
<trout>
Nilium: I typically do low level systems programming or work on distributed systems. The ruby thing is a fix for an open source application that I'm trying to figure out how to modify
<havenwood>
trout: i've not seen that before, not really sure where it came from
<Nilium>
Rails is the fucking Sauron of Ruby programming.
<trout>
havenwood: hehe
<havenwood>
trout: were you using RVM before?
<trout>
possibly
<trout>
okay, lets rese
<havenwood>
get rid of that function
<trout>
how do I clear out every gem, rvm, bundle, etc
<havenwood>
set in a dotfile?
<havenwood>
trout: is rvm installed?
<trout>
I think so
<Nilium>
Don't know if I mentioned this already, but if anyone's using a mechanical keyboard and wants to avoid some of the noise, stick a shelf liner under it
<havenwood>
rvm implode
<Nilium>
Like, the rubber kind that's hole-y
<Nilium>
It'll help dampen the sound.
<havenwood>
trout: remove any cruft from dotfiles
<trout>
rvm implode fixed that
<trout>
gem --> opt/local/bin/gem
<havenwood>
better ;)
<trout>
anyways
<havenwood>
trout: does it work to?: gem install bundler
<trout>
without sudo?
<havenwood>
yup
X-warrior has quit [Quit: Leaving]
<trout>
btw is there a way to clear all my gems?
<havenwood>
trout: gem uninstall --all
<trout>
as in 'reset all ruby things i ever did' ?
Ankhers has quit [Ping timeout: 264 seconds]
<havenwood>
trout: you might want to nuke ~/.rvm as well
emmesswhy has quit [Quit: This computer has gone to sleep]
<trout>
thanks for the info havenwood !
fgo has joined #ruby
<trout>
havenwood: I think I've managed to resrt
<trout>
what is the correct way to install gems / bundle / rake / etc
<trout>
I tried following tutorials and ended in this weird state
<havenwood>
trout: RubyGems ships with Ruby. Rake is one of the gems that ships with Ruby.
oo_ has quit [Ping timeout: 260 seconds]
Scripore has quit [Ping timeout: 260 seconds]
<trout>
ah
<havenwood>
trout: Bundler is one of many installable gems.
echooo has joined #ruby
<havenwood>
trout: you can update Rake with: gem update rake
<havenwood>
trout: or update all gems with: gem update
<havenwood>
trout: or update RubyGems with: gem update --system
bthesorceror has quit [Quit: bthesorceror]
<trout>
Updating installed gems Updating rake Fetching: rake-10.3.2.gem (100%) ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /opt/local/lib/ruby2.1/gems/2.1.0 directory.
<trout>
for 'gem update rake'
<trout>
trying with gem
<trout>
erm sudo
<havenwood>
so because of where macports opted to put gems, you'll need permissions
<havenwood>
you can alternatively opt for a local install
<trout>
ah, kk
hmsimha_ has quit [Ping timeout: 258 seconds]
<trout>
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.3
<havenwood>
which is what rvm/chruby/rbenv default to, as well as Macports' competitor Homebrew.
<trout>
ah, no, just needed to restart shell
<havenwood>
good
<trout>
hmmmm
tectonic has quit [Ping timeout: 272 seconds]
<trout>
Your Ruby version is 2.0.0, but your Gemfile specified 2.1.3
<trout>
from bundle install
<trout>
although 'rake' seems to figure it out
<trout>
bundle was installed with
<trout>
sudo gem install bundler
fgo has quit [Ping timeout: 260 seconds]
echooo1 has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
echooo1 has quit [Client Quit]
fswitalski has joined #ruby
fswitalski_ has joined #ruby
fswitalski has quit [Read error: Connection reset by peer]
fswitalski__ has joined #ruby
fswitalski__ has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
BTRE has quit [Quit: Leaving]
skammer2 has joined #ruby
<havenwood>
trout: still with the Ruby 2.0.0 huh?
<trout>
yeah
<trout>
system ruby is 2.0.0
fold has joined #ruby
<havenwood>
trout: does `sudo gem env` show 2.1.3?
<trout>
yes
benzrf|offline is now known as benzrf
AlexRussia has quit [Excess Flood]
<havenwood>
trout: and same?: which bundle
AlexRussia has joined #ruby
HelperW____ has joined #ruby
<trout>
/opt/local/bin/bundle
<trout>
with and without sudo
MasterPiece has joined #ruby
<havenwood>
what result from?: /opt/local/bin/bundle install
<trout>
[ semi-serious thought: just remove system ruby ]
<havenwood>
trout: no
<havenwood>
trout: i happily use brew with ruby-install and chruby, but ruby-install supports macports as well
<havenwood>
trout: chruby would make it easy to switch between your preferred ruby and system, but leave system ruby alone
trout has quit [Quit: ChatZilla 0.9.90.1 [Firefox 33.0/20140923222114]]
govg has joined #ruby
swartwulf has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 244 seconds]
einarj has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
<havenwood>
jonmorehouse: commends on gist
<havenwood>
comments*
Darryl has joined #ruby
swartwulf has joined #ruby
fgo has joined #ruby
arup_r has joined #ruby
<havenwood>
jonmorehouse: on second thought, maybe consider?: %i[first_index first default default_index].each { |meth| break page_delegate.public_send(meth) if page_delegate.respond_to?(meth) }
krisquigley has joined #ruby
Biohazard has joined #ruby
benzrf is now known as benzrf|offline
odraencode has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 240 seconds]
thomasxie has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
mclosson has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
mityaz_ has quit [Ping timeout: 260 seconds]
Biohazard has quit [Ping timeout: 260 seconds]
seitensei has quit [Ping timeout: 250 seconds]
charles81__ has quit [Read error: Connection reset by peer]
Tranquility___ has quit [Read error: Connection reset by peer]
joshingly has quit [Read error: Connection reset by peer]
charles81__ has joined #ruby
Tranquility___ has joined #ruby
joshingly has joined #ruby
AlexRussia has joined #ruby
<i8igmac>
how can i confirm Ethernet cord is actually plugged in... not up or down state
<i8igmac>
cat /sys/class/net/eth0/operstate => down
cleopatra has joined #ruby
buub has joined #ruby
kireevco has quit [Quit: Leaving.]
<centrx>
i8igmac, try ##linux or the channel for your specific distribution
HelperW____ has joined #ruby
havenwood has quit []
BTRE has joined #ruby
xcv has quit [Remote host closed the connection]
IceDragon has quit [Quit: Space~~~]
hellangel7 has joined #ruby
bricker`LA has joined #ruby
skammer2 has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
Guest57710 is now known as magic
magic has quit [Changing host]
magic has joined #ruby
kireevco has joined #ruby
zorak8 has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
kireevco has quit [Client Quit]
skammer2 has quit [Ping timeout: 240 seconds]
goshdarnyou has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
pen has joined #ruby
bthesorceror has joined #ruby
willgo has quit [Remote host closed the connection]
toordog has joined #ruby
buub has quit [Ping timeout: 260 seconds]
hinotori has joined #ruby
abdulsattar has joined #ruby
hinotori has quit [Client Quit]
angusiguess has joined #ruby
szuletett has joined #ruby
szuletett has left #ruby [#ruby]
royalty has joined #ruby
<royalty>
hello
<royalty>
hmmmm
<centrx>
mmm
<royalty>
i forgot how i installed ruby on my machine i should probably figure that out before asking this
<royalty>
but is it easy to simply update ruby to the latest stable release
<royalty>
I have version 2.0
<royalty>
I know latest is 2.1.3
<royalty>
I use OSX
angusiguess has quit [Ping timeout: 272 seconds]
<Wolland>
brew, rvm, chruby, blah
<royalty>
yeah
<royalty>
what are the disadvantages to building from source?
<Wolland>
none if you know what you are doing
<royalty>
well i just typed in rvm into console and something popped up
<royalty>
so apparently i used rvm
<royalty>
it was sooo long ago
<Wolland>
just use rvm and install newest version
<royalty>
i will
fgo has joined #ruby
lxsameer has joined #ruby
Koshian has joined #ruby
speakingcode has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
speaking1ode-wor has quit [Ping timeout: 258 seconds]
starkhalo has quit [Ping timeout: 260 seconds]
zorak8 has quit [Ping timeout: 245 seconds]
Soda has joined #ruby
JeffBonds has quit [Quit: JeffBonds]
humd1ng3r has joined #ruby
russt has quit [Quit: russt]
fold has quit [Ping timeout: 260 seconds]
humd1ng3r has quit [Client Quit]
hellangel7 has quit [Remote host closed the connection]
jonmorehouse has quit [Ping timeout: 272 seconds]
HelperW____ has joined #ruby
oo_ has joined #ruby
HelperW____ has quit [Ping timeout: 258 seconds]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
BTRE has quit [Quit: Leaving]
Wolland has quit [Remote host closed the connection]
Skyler has joined #ruby
Wolland has joined #ruby
Soda has quit [Remote host closed the connection]
<Hanmac>
royalty: building from source alone on OSX is a pain in the ass, thats why while i had a OSX, i did use rvm to build the ruby, even if i only had one version installed
<soahccc>
jimmyhoughjr: some say that are rails strengths
skammer2 has quit [Ping timeout: 272 seconds]
JeffBonds has joined #ruby
JoshGlzBrk has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
mijicd has joined #ruby
* Nilium
dies laughing
<Hanmac>
jimmyhoughjr: for rails you can try this channel #rubyonrails
SrKjL has quit [Quit: %kelebek | Kullanýyorum.. Güvenli ve Huzurlu Chat Yapmak Neymiþ Þimdi Anladým.. Download Adresi: | %links]
<zenspider>
was that bulgarian spam or something?
<Hanmac>
Mon_Ouie: do you write C-gems too with ruby?
<Mon_Ouie>
I did, a long time ago. So sorry, I don't know about typed data :p
* Nilium
writes gems using C extensions
<rg4>
Mon_Ouie, what are you coding these days
mijicd has left #ruby [#ruby]
<Mon_Ouie>
I like doing some graphics stuff every now and then
<Hanmac>
Nilium: in recent changes they make Data_Get_Struct/Data_Wrap_Struct are now deprecated , need to be replaced with TypedData_Get_Struct/TypedData_Wrap_Struct ... but i am unsure about how to use them correctly ...
<Nilium>
I have a feeling that's not going to be significant.
<Nilium>
Tried searching for it, but whitequark's giving me a 502.
<Nilium>
Sooo I'll just wait for someone to file an issue on one of my gems and then tell them to fix it and see how it works based on said fix.
hellangel7 has joined #ruby
yaymukund has quit [Ping timeout: 272 seconds]
boombadaroomba has joined #ruby
<zenspider>
just adds another parameter to Data_Get_Struct. not sure why it isn't documented in readme.ext tho.
<Nilium>
Because the cext stuff is really barely documented in the first place and half the crap exposed through it is named using 2-3 letter abbreviations for everything
alem0lars has quit [Quit: AFK..]
<zenspider>
README.EXT is 1620 lines long. barely documented?
<Nilium>
You looked at how much crap's in the headers?
<Nilium>
1,620 lines isn't much.
<zenspider>
why yes... you'd think I've gotten around to it by now...
Takle has joined #ruby
boombadaroomba has quit [Ping timeout: 246 seconds]
<Hanmac>
Nilium: yeah they will drop Data_Get_Struct but they did not documented how to use the other one ...
<Nilium>
I'm going to assume it's just either specifying the type you put in/get out or specifying a class.
gsd has joined #ruby
<totimkopf>
self[index] will only pertain to the Array class, correct?
<zenspider>
totimkopf: no
<Hanmac>
totimkopf: works for all other classes with [] too
<zenspider>
self[index] is just self.[](index) so it depends on what self is and how it defined the [] method
<zenspider>
eg, Hash defines []
<soahccc>
same for self.[]=
<zenspider>
so does Dir (as a class method)
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
<totimkopf>
I'm having a tough time groking [], it's an anonymous top-level array?
<soahccc>
Or string or proc or lambda :D
<soahccc>
totimkopf: it's a method
<totimkopf>
ahh!
<totimkopf>
now that makes more sense
<Hanmac>
totimkopf: Fixnum does have a [] method too:
<totimkopf>
so, self[index] is the same thing as self.[index], I guess with these special you can drop the receiver .?
<totimkopf>
yeah, I learned about === today
<zenspider>
totimkopf: no, self[index] is the same as self.[](index)
<zenspider>
just like a + b is really a.+(b)
<totimkopf>
zenspider: thanks
<totimkopf>
got it now
Guest39626 has quit [Quit: This computer has gone to sleep]
shock_one has quit [Quit: Computer has gone to sleep.]
<zenspider>
there's a lot (too much) syntactic sugar in ruby. don't worry about that yet. focus on the basics for now
willgo has joined #ruby
shock_one has joined #ruby
<totimkopf>
okay, will do
<totimkopf>
I'm just following The Well Ground Rubyist, but I can't help but wonder about certain things, it will use some code without explaining every minute detail
<totimkopf>
s/Ground/Grounded
<zenspider>
you might want to double up with the pickaxe
<totimkopf>
I have the pickaxe
angusiguess has quit [Ping timeout: 250 seconds]
<totimkopf>
but I was going to read this one first
<totimkopf>
I guess it makes more sense to use both simultaneously, right?
<zenspider>
bounce back and forth to fill in the gaps
<totimkopf>
zenspider: thanks, I will do that :)
<zenspider>
good luck
<totimkopf>
thanks
* soahccc
learned ruby via php2ruby sites xD
fgo has joined #ruby
<zenspider>
soahccc: why? you can run php in ruby instead!
mikepack has quit [Remote host closed the connection]
Sht0 has quit [Ping timeout: 244 seconds]
Akagi201 has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
KrisMusk has quit []
thomasxie has joined #ruby
lele has quit [Ping timeout: 272 seconds]
<pontiki>
phuby
alem0lars has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Jackneill has joined #ruby
lele has joined #ruby
jgrevich has joined #ruby
MaciejCzyzewski has joined #ruby
emocakes__ has joined #ruby
tectonic has quit []
ta has joined #ruby
emocakes has quit [Ping timeout: 250 seconds]
royalty has quit [Quit: Leaving]
justinmburrous has joined #ruby
bricker`LA has joined #ruby
ta___ has quit [Ping timeout: 260 seconds]
mijicd has joined #ruby
justinmburrous has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
slester has quit [Ping timeout: 244 seconds]
kaspertidemann has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Akagi201 has quit []
txdv has quit [Ping timeout: 244 seconds]
mijicd has quit [Client Quit]
alem0lars has quit [Quit: AFK..]
alem0lars has joined #ruby
skammer2 has joined #ruby
wng_z3r0 has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
descala has quit [Ping timeout: 245 seconds]
jcdesimp has quit [Quit: Leaving...]
<wng_z3r0>
does .each operate in parallel? I have code that increments a counter and prints it to the console inside the loop and the output is nonsensical
<Mon_Ouie>
It doesn't, show your code
<Mon_Ouie>
(well, you could imagine a class which implements #each and has it run in parallel, but that's not the case of core ruby classes)
descala has joined #ruby
txdv has joined #ruby
krisquigley has joined #ruby
<jle`>
#each can be sideeffectful, so parallel running would lead to nondeterministic results
<jle`>
so yeah :|
skammer2 has quit [Ping timeout: 250 seconds]
kaspertidemann has quit []
crazydiamond has joined #ruby
emocakes__ has quit []
emocakes has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
<wng_z3r0>
thanks, that makes sense. @Mon_Ouie, I'll try to get a snippet without dependencies if I end up not unblocking myself in a bit
i8igmac has quit [Quit: Leaving]
mahtennek has joined #ruby
shock_one has quit [Quit: Computer has gone to sleep.]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
shock_one has quit [Client Quit]
Hobogrammer_ has quit [Ping timeout: 244 seconds]
<zenspider>
minitest 4 shipped with a ParallelEach class
jottr has joined #ruby
andrewlio has joined #ruby
Skyler has quit [Ping timeout: 244 seconds]
jack_rabbit has quit [Ping timeout: 272 seconds]
naftilos76 has joined #ruby
tessi_zz is now known as tessi
angusiguess has joined #ruby
charliesome has quit [Quit: zzz]
anaeem1_ has joined #ruby
willgo has quit [Remote host closed the connection]
willgo has joined #ruby
wallerdev has quit [Quit: wallerdev]
mclosson has quit [Quit: Lost terminal]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusiguess has quit [Ping timeout: 258 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
fgo has joined #ruby
willgo has quit [Ping timeout: 246 seconds]
kaspertidemann has joined #ruby
naftilos76 has quit [Remote host closed the connection]
naftilos76 has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
fgo has quit [Ping timeout: 246 seconds]
govg has quit [Quit: leaving]
wallerdev has joined #ruby
ptrrr has joined #ruby
larsam has joined #ruby
slyslick has quit [Ping timeout: 260 seconds]
riceandb1ans is now known as riceandbeans
riceandbeans has quit [Changing host]
riceandbeans has joined #ruby
marr has joined #ruby
ndrei has joined #ruby
Takle has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
BTRE has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
justinmburrous has joined #ruby
Firespirit has quit []
mikeg has joined #ruby
oo_ has quit [Remote host closed the connection]
skammer2 has joined #ruby
timonv_ has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
justinmburrous has quit [Ping timeout: 245 seconds]
jonmorehouse has joined #ruby
lkba has quit [Ping timeout: 246 seconds]
neoxquick has joined #ruby
wallerdev has quit [Quit: wallerdev]
willgo has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
rfv has joined #ruby
nouranology has joined #ruby
KrisMusk has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
willgo has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
Imofftopic has joined #ruby
willgo has joined #ruby
timonv_ has joined #ruby
mahtennek has quit []
jottr has quit [Ping timeout: 272 seconds]
timonv^ has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
moritzs has joined #ruby
mikeg has quit [Remote host closed the connection]
shock_one has joined #ruby
oleo is now known as Guest55852
oleo__ has joined #ruby
Kricir has joined #ruby
Macaveli has joined #ruby
MaciejCzyzewski has joined #ruby
Guest55852 has quit [Ping timeout: 240 seconds]
anaeem1_ has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
<Hanmac>
the good thing is that its now protected from segfault with extra checks ... means if the c++ object dies, and you try to call it from the ruby side you only get an exception ... (hm that might not work for all classes yet but for the main ones)
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
zeroNones has joined #ruby
zeroNones has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
zeroNones has joined #ruby
zeroNones has quit [Client Quit]
pibby has quit [Remote host closed the connection]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
relix has joined #ruby
Hobogrammer has joined #ruby
AlexRussia has joined #ruby
AlexRussia has quit [Remote host closed the connection]
pibby has joined #ruby
<shevy>
wow
<shevy>
accessing @ivars directly is much faster than method call
gvenkat has joined #ruby
AlexRussia has joined #ruby
geggam has quit [Ping timeout: 258 seconds]
zeroNones has joined #ruby
AlexRussia has quit [Remote host closed the connection]
<Nowaker>
yxhuvud: x/y * n^2 even with quite low x/y is still n^2 according to math/algs guys. ;)
<Nowaker>
Hanmac: thanks
mary5030 has joined #ruby
<yxhuvud>
nowaker: if the key size is small and constant, then you will not get a n² result.
<Nowaker>
Hanmac: what are these ":" inside |...|? I have seen it for the first time.
petitchouffe has joined #ruby
dx7 has quit [Remote host closed the connection]
Darryl has joined #ruby
<Nowaker>
I'd write |a, b|
<Hanmac>
Nowaker: named key args ... might be to new for your system
<yxhuvud>
but anyway, assuming the amount of keys is roughly the same size, then it would be possible to get it down to nlogn by divide and conquer (since the merge operation of two arrays shouldn't depend on the size of the arrays)
dx7 has joined #ruby
AlexRussia has joined #ruby
ianzd has joined #ruby
jontmorehouse has joined #ruby
ianzd has left #ruby [#ruby]
<Nowaker>
Hanmac: need to read about it
<Nowaker>
thanks
<Hanmac>
Nowaker: might be changed to: a_list, b_list = array.map{|d|d.values_at(:a, :b)}.transpose
ramfjord has quit [Ping timeout: 245 seconds]
<Nowaker>
wow, that's cool!
shevy has quit [Ping timeout: 272 seconds]
syva has quit [Quit: syva]
lukevinc has joined #ruby
<apeiros>
the correct complexity is O(n*m) btw.
ddv has quit [Quit: *poof*]
<apeiros>
n being number of outer elements, m total number of inner elements
<Nowaker>
thanks yxhuvud and apeiros
einarj has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
syva has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
ddv has joined #ruby
grenierm has quit [Quit: grenierm]
yaymukund has quit [Ping timeout: 272 seconds]
yaymukund has joined #ruby
einarj has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
jonr2219 has quit []
Asher has quit [Quit: Leaving.]
danijoo has joined #ruby
claymore has quit [Quit: Leaving]
Asher has joined #ruby
arup_r has quit [Quit: Leaving.]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
yfeldblum has joined #ruby
kireevco has quit [Quit: Leaving.]
yaymukund has quit [Ping timeout: 245 seconds]
jpierre03 has quit [Quit: -]
AlexRussia has quit [Ping timeout: 272 seconds]
royalty has joined #ruby
KLVTZ has joined #ruby
oo_ has joined #ruby
goodenough has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 250 seconds]
jeaye has joined #ruby
shevy has joined #ruby
kireevco has joined #ruby
MCDev has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<atmosx>
I'm writing a simple sinatra application which runs using a rack server (thin in my case, but runs with anything) and I also use nginx as a proxy for security and all. When I request a specific item (1st fron the DB) the app hits Digital Ocena's 1st droplet limit (502 MB of RAM) and gets killed... Is it possible that my app has a bug, or performs some sort of action which eats a lot of memory?!
codeFiend has joined #ruby
<atmosx>
I measured performance with htop and the process tha *goes crazy* is thin/puma/unicorn not the DB as I first though.
<atmosx>
thought
mary5030 has quit [Remote host closed the connection]
<atmosx>
any thoughts? hm
bmurt has joined #ruby
AlexRussia has quit [Remote host closed the connection]
jimeh has quit [Remote host closed the connection]
shock_one has quit [Quit: Computer has gone to sleep.]
AlexRussia has joined #ruby
* Nilium
belatedly stabs shevy
<atmosx>
something I noticed is that both thin, unicorn and puma do not release memory... as they should. I mean when I end up a request, the memory for puma (only) scales down a bit and but just a few MB out of the 40-50-60 which takes when the process starts.
yfeldblum has joined #ruby
mgorbach has joined #ruby
tectonic has quit []
ramfjord has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spicerack has joined #ruby
mijicd has joined #ruby
ramfjord has joined #ruby
bluOxigen has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
<waxjar>
that doesn't seem normal atmosx :o
nettoweb has quit [Max SendQ exceeded]
kireevco has joined #ruby
nettoweb has joined #ruby
Takle has quit [Remote host closed the connection]
<atmosx>
waxjar: yeap, that's what I'm thinking too.
abdulsattar has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
<waxjar>
does it do the same without nginx in front?
Takle has joined #ruby
kireevco has quit [Client Quit]
<atmosx>
waxjar: I don't know, didn't try that but nginx or mysql doesn't seem to th eproblem here.
GodAlmightyHimse has quit [Read error: Connection reset by peer]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<atmosx>
I load some JS from highcharts, but should move the load to client side
MaciejCzyzewski has joined #ruby
pumpkintits has joined #ruby
_lucid_ has joined #ruby
<_lucid_>
Hello
<waxjar>
it could be something in the way the two interact. i've never seen such high memory use locally with thin for example
<_lucid_>
Is there a way to convert an array into a string separated by spaces?
<waxjar>
then again, im far from an expert on these things :p
<atmosx>
waxjar: yeah but thin and puma and unicorn? I tried them alll, all of them have the same issue
<waxjar>
_lucid_: Array#join can do that
<_lucid_>
.join(' ') ?
<_lucid_>
Something like that?
<waxjar>
yep
sinkensabe has joined #ruby
<_lucid_>
Thanks
tkuchiki has quit [Remote host closed the connection]
klmlfl has joined #ruby
tectonic has joined #ruby
skammer2 has joined #ruby
mary5030 has joined #ruby
<atmosx>
anyway, I'm going to get some sleep I'm on vacations! I'll check this out on Thursday or next weekend hm.
<atmosx>
night all
<waxjar>
nn
atmosx has quit [Quit: Lost in trance]
Scotteh has joined #ruby
F__i__L has joined #ruby
pillow has quit [Quit: Leaving]
ValicekB has quit [Ping timeout: 244 seconds]
<F__i__L>
when I open a file with vim with utf characters like é these show ok but when I read the file in ruby these are being shown like \xE9
<F__i__L>
what can I do to show the file contents correctly ?
jimeh has joined #ruby
dx7 has joined #ruby
Scotteh__ has quit [Ping timeout: 260 seconds]
decoponio has quit [Quit: Leaving...]
lifenoodles has quit [Ping timeout: 272 seconds]
jheg has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
Mirubiri has joined #ruby
freerobby has quit [Quit: Leaving.]
Xuerian has joined #ruby
otherj has quit []
brushdemon has joined #ruby
otherj has joined #ruby
ValicekB has joined #ruby
buub has quit [Ping timeout: 245 seconds]
<apeiros>
F__i__L: a) set your default encodings (Encoding.default_external / _internal), b) read it with explicitly setting the encoding
tessi_zz is now known as tessi
brushdemon has left #ruby ["Ohayou!"]
lifenoodles has joined #ruby
<apeiros>
also if a é shows as \xE9, then it is not utf-8
<apeiros>
(or any utf)
brushdemon has joined #ruby
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mia>
I didn't really get what's happening in short-circuit evaluation
hiyosi has joined #ruby
govg has joined #ruby
Kricir has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mia>
I know how || and && works, but I didn't really get why it's not doing "puts" for the first method in the first comparison
Tab_ has quit [Client Quit]
shredding has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
<mostlybadfly>
Mia: i think it's because you're only doing a or b if a isn't already returning true
oo_ has joined #ruby
<mostlybadfly>
since it is, it ignores b
<Mia>
Hm I feel like I'll easily create a mess if it's not doing certain things likethis
<Mia>
like, how can I know where it's shortcutting stuff
<mostlybadfly>
yah i would just keep in mind that with || it isn't just "or" all the time, it is checking to see if the first value exists then it just stops after that
<Mia>
Hm okay
<mostlybadfly>
i think return true should help demonstrate that, since the program will kick out after that point anyway
hiyosi has quit [Ping timeout: 260 seconds]
<mostlybadfly>
if you want to think of the inverse if you did puts b || a it would evaluate just B and be done with it
Kricir has quit [Ping timeout: 272 seconds]
<Mia>
Yes, I se
Tab__ has joined #ruby
<Mia>
it's a very messy idea
<Mia>
I hope I can keep this in mind
<Mia>
I like it overall but it felt quite dangerous
ruukasu has quit [Quit: Quit]
totimkopf has joined #ruby
<shevy>
Mia now you understand why programmers try to aim for simplicity
<mostlybadfly>
i feel like super straightforward examples at first dont give a clear picture
douglasssssss has joined #ruby
<mostlybadfly>
i can't give an exact example but on later occassions when i would see the || operator it just seemed appropriate
kquig has joined #ruby
<mostlybadfly>
and actually needed for it
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 260 seconds]
mityaz_ has quit [Quit: See ya!]
<Mia>
one another
<Mia>
what seems wrong with this line?
<Mia>
my_array.each { |number| number%2==0? puts number }
fgo has joined #ruby
patrick99e99 has joined #ruby
<Mia>
I want to print out even numbers only
mastr_bennett[x] has joined #ruby
douglasssssss has quit [Client Quit]
mastr_bennett[x] has quit [Client Quit]
<waxjar>
well, first of all there is an Integer#even? for this :p
mikepack has joined #ruby
<waxjar>
second there is no else, the terniary needs an else clause
<mostlybadfly>
Mia: i'm not sure why, but it does work as my_array.each { |number| puts number if number % 2 == 0 }
koderok has quit [Ping timeout: 245 seconds]
<mostlybadfly>
yeah the issue is with the terneray
<waxjar>
even cleaner would be to do something like array.select { |number| number.even? } to get all even numbers, then do something with them
<mostlybadfly>
plus it is just more clear what is happening with an if statement
<Mia>
why doesn't it work in my case though
<Mia>
I mean is there any mistake
<mostlybadfly>
it should have an else but in your case you dont really need an else
<waxjar>
mia, the terniary looks like this: condition ? if_true : if_false. you don't have an if_false
<mostlybadfly>
so it doesnt' apply
fgo has quit [Ping timeout: 250 seconds]
<mostlybadfly>
select is better or an if statement, but depends what you want to do
patrick99e99 has quit [Ping timeout: 258 seconds]
<mostlybadfly>
i think more times as a default i do my_array.each do |x| and start another line
<mostlybadfly>
then refactor if possible, just seems easier to read at first
ramfjord has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
<mostlybadfly>
waxjar: what do you think of stuff like my_array.select(&:even?)
sepp2k has quit [Read error: Connection reset by peer]
<mostlybadfly>
i've seen this but not sure if it's good or just more one line black magic madness
<mostlybadfly>
lol
<shevy>
does this work on your debian systems? -> require 'rbconfig'
<waxjar>
mostlybadfly: i'd prefer that, but it's not relevant for a beginner. more likely to cause confusion
<Mia>
mostlybadfly, oh I see
<shevy>
Mia is a fast learner
<Mia>
so I need a false
<Mia>
okay
iFire has joined #ruby
<Mia>
shevy, you think so
<Mia>
that's nice
<iFire>
is there a cie lab ruby library?
Tab__ has quit [Quit: This computer has gone to sleep]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atomi>
but gem install win32-open3 gives win32-open3 requires Ruby version < 1.9.0.
yaymukund has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 260 seconds]
yaymukund has joined #ruby
<atomi>
nothing works
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Vile` has quit [Ping timeout: 260 seconds]
yaymukund has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
zz_karupa is now known as karupa
Vile` has joined #ruby
angusiguess has joined #ruby
willgo has joined #ruby
lw has joined #ruby
yaymukund has joined #ruby
tessi is now known as tessi_zz
kireevco1 has joined #ruby
<shevy>
Phrogz use ruby-gnome man
shock_one has joined #ruby
<shevy>
but basically QtRuby is the same, it just has slots
<shevy>
and StupidCapitalizedNamesForMethods
<shevy>
the problem with the GUI bindings is that they are often just wrappers over the C or C++ API
<shevy>
so they will remain unclear and ugly to various degrees
sevvie has joined #ruby
ta has quit [Read error: Connection reset by peer]
MaciejCzyzewski has joined #ruby
kireevco has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has quit [Client Quit]
hiyosi has joined #ruby
ta has joined #ruby
Kricir has joined #ruby
narcan has joined #ruby
oo_ has joined #ruby
coderdad has quit [Remote host closed the connection]
<shevy>
wheeee
<shevy>
I just used this in a yaml file:
<shevy>
5: !ruby/range 5_000..1_000_000
<Phrogz>
Roger that, and agreed. Still, I think there are some minor things that could be done, like allowing the initialize for classes to receive a block that does an instance_exec yield.
<shevy>
oh damn... that is a range of strings?
funta has joined #ruby
<Phrogz>
Why do you recommend Gnome over Qt? I'm likely going to stay with Qt bc we're using Qt for our real apps, and this will allow me to speak more concretely with the devs.
<Phrogz>
shevy: Oh no, really?
<funta>
hey folks when I install ruby does it matter which user I use?
<funta>
say I install it as root its ok?
<Phrogz>
funta: What OS?
shock_one has quit [Ping timeout: 260 seconds]
<funta>
Ubuntu
<funta>
14.04
<Phrogz>
funta: Is this for OS-wide services, or your own testing?
Pupeno has quit [Remote host closed the connection]
<funta>
os wide
<Phrogz>
If the former, yes, you'll need to sudo make install.
<shevy>
aha
Kricir has quit [Ping timeout: 246 seconds]
<pontiki>
is there a way i can tell .to_yaml to emit arrays inline instead of vertically?
<shevy>
Phrogz, the _ in the yaml file confused YAML.file_load()
<Phrogz>
shevy: Interesting.
hiyosi has quit [Ping timeout: 260 seconds]
<shevy>
Phrogz I used ruby-gnome because of the wiki and there were many examples
crome has quit [Ping timeout: 240 seconds]
adac has quit [Ping timeout: 272 seconds]
<shevy>
for ruby-qt I would have had to read the C++ QT api docs and I did not like that
<shevy>
it felt as if I was writing C++
<shevy>
and the slots annoyed me
<shevy>
funta in general only the superuser can install into the /usr prefix/hierarchy
oo_ has quit [Ping timeout: 250 seconds]
<atomi>
yeah this is really nice, not annoying at all
crome has joined #ruby
bmurt has quit []
<funta>
ok
silkfox has joined #ruby
<shevy>
windows is always painful
<atomi>
haha I think I'll try doing the same install command for the hundredth time
fgo has joined #ruby
Wolland has quit [Remote host closed the connection]
<atomi>
yeah
<shevy>
Phrogz once I even wanted to write a general GUI wrapper in ruby
<shevy>
for all the GUI toolkits
<shevy>
so that people can just do
<Phrogz>
Ha ha :)
<shevy>
Button.new
<Phrogz>
I love the idea and hubris. ;)
nanoyak has joined #ruby
<shevy>
and it works... but it was too much work. I am too prone to give up when there is too much to do, it is much easier to write and combine little things together
<Phrogz>
Yeah.
<shevy>
the strange thing is is that the traditional GUIs seem insanely much harder than web stuff
<Phrogz>
Shoes seemed like a fun idea, until I tried to build something real with it.
<pontiki>
*sigh*
Wolland has joined #ruby
<shevy>
I can get accurate styles with CSS, and every element can be modified through javascript, but in gtk2 this was annoying - you had to use a rcfile
mikepack has joined #ruby
yaymukund has quit [Ping timeout: 258 seconds]
<Phrogz>
shevy: It is really, really odd. My C++ counterparts are often astonished at how quickly I can crank out a good-enough one-off web app.
<shevy>
somewhere along the lines gtk3 also added support for CSS, but this is all going at a snail pace, whereas the www evolves super fast
<Phrogz>
FWIW Qt also has some form of stylesheets.
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
Pupeno has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
jheg has quit [Quit: jheg]
Wolland has quit [Ping timeout: 240 seconds]
duncannz has joined #ruby
mikepack has quit [Remote host closed the connection]
northfurr has quit [Quit: northfurr]
einarj has quit [Ping timeout: 246 seconds]
thejman has quit [Quit: Page closed]
Xiti has quit [Quit: Leaving]
Channel6 has quit [Quit: Leaving]
mikepack has joined #ruby
crome has quit [Ping timeout: 260 seconds]
Sawbones has quit [Remote host closed the connection]
crome has joined #ruby
codeFiend has quit [Quit: codeFiend]
coderdad has joined #ruby
carif has quit [Ping timeout: 260 seconds]
BTRE has quit [Ping timeout: 246 seconds]
mikepack has quit [Ping timeout: 244 seconds]
banister has quit [Ping timeout: 260 seconds]
<Phrogz>
Oh, and I've just discovered: "Any underscores in method names are removed, and the following character is capitalised. For example, you can use either of these two forms to call the same method: create_standard_status_bar_action() createStandardStatusBarAction()"
crome has quit [Ping timeout: 244 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Xiti has joined #ruby
cajone has quit [Ping timeout: 244 seconds]
nfk has quit [Quit: yawn]
crome has joined #ruby
banister has joined #ruby
phoo1234567 has quit [Quit: Leaving]
banister has quit [Max SendQ exceeded]
Tab has joined #ruby
gsd has joined #ruby
Tab is now known as Guest34273
banister has joined #ruby
tectonic has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
coderdad has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
coderdad has joined #ruby
kireevco1 has quit [Quit: Leaving.]
kireevco has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
davasaurous has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
coderdad_ has joined #ruby
w09x has quit []
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<funta>
btw anyone here ever installed spree commerce?
<funta>
their channel is silent :D
banister has joined #ruby
banister has quit [Max SendQ exceeded]
lifenoodles has joined #ruby
banister has joined #ruby
kenneth has joined #ruby
banister has quit [Max SendQ exceeded]
coderdad has quit [Ping timeout: 272 seconds]
kireevco has quit [Client Quit]
gimpygoo has quit [Quit: Im not gonna do what everyone thinks Im gonna do and FLIP OUT MAN! Whoooos commin with me?]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
axsuul has quit [Read error: Connection reset by peer]
banister has joined #ruby
seamon has joined #ruby
BTRE has joined #ruby
banister has quit [Max SendQ exceeded]
axsuul has joined #ruby
Takle has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<funta>
is it bad idea to install RVM as root?
i8igmac has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
smokingmeth has joined #ruby
<smokingmeth>
what are some good tools to learn touch typing?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
axl_ has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
<shevy>
Phrogz pretty, isn't it?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<Phrogz>
shevy: They did some nice work on this binding. I'm feeling good about this so far. :)
hiyosi has joined #ruby
<shevy>
what bindings do you use?
<funta>
smokingmeth: what do u mean?
<funta>
its not good?
banister has joined #ruby
Wolland has joined #ruby
lw has quit [Quit: s]
banister has quit [Max SendQ exceeded]
<shevy>
funta if you install rvm as root, you could as well compile ruby from source into /usr prefix
axl_ has quit [Client Quit]
<smokingmeth>
i'd like to find a program that will teach me the fundamentals of touch typing for free
Pupeno has quit [Remote host closed the connection]
Guest34273 has quit [Read error: Connection reset by peer]
<funta>
shevy: well I done just that now
<smokingmeth>
i found one but you have to pay $10 for it
<smokingmeth>
i was wondering if there were any free programs
<funta>
as I was following some tutorial :D
<shevy>
funta from source?
banister has joined #ruby
<funta>
via apt-get
banister has quit [Max SendQ exceeded]
jay__ has quit []
<shevy>
ok that does not count
<funta>
should I purge it?
<shevy>
well it is your machine
<shevy>
the problem is that you get only one specific version right?