<apeiros>
toretore: don't tell me you don't see that that's a rather huge difference.
parduse has quit [Client Quit]
larissa has joined #ruby
parduse has joined #ruby
<apeiros>
also don't tell me you haven't noticed that in JS you don't ever need any mutexes, monitors or other synchronization mechanisms…
<lolmaus>
machty: well, it is a form of self-irony
<machty>
lolmaus: might as well call yourself loln00b
<lolmaus>
machty: that would be too much, also being a noob does not describe me as a person.
dh64 has quit [Ping timeout: 255 seconds]
Zebroid has quit [Ping timeout: 250 seconds]
sepp2k1 has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
mikepack has quit [Remote host closed the connection]
tyfighter has quit [Quit: tyfighter]
roolo has quit [Quit: Leaving...]
sepp2k has quit [Ping timeout: 240 seconds]
vsoftoiletpaper has quit []
ridget has joined #ruby
Wolland has joined #ruby
Kricir has joined #ruby
tjr9898 has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
thams has joined #ruby
banisterfiend has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Kricir has quit [Ping timeout: 240 seconds]
CorySimmons has joined #ruby
tjr9898 has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby
yeticry has joined #ruby
banisterfiend has quit [Ping timeout: 250 seconds]
Wolland_ has joined #ruby
lolmaus has quit [Ping timeout: 250 seconds]
zenojis has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Wolland has quit [Ping timeout: 256 seconds]
qsun has quit [Ping timeout: 272 seconds]
<robscormack>
mutexes, monitors, etc?
zenojis has joined #ruby
<robscormack>
aspirin = Aspirin.new
Wolland has joined #ruby
<apeiros>
robscormack: a mutex basically ensures that a piece of code is only ever executed by a single thread at one time. if multiple threads try to execute it concurrently, they're forced to execute it sequentially
<robscormack>
apeiros: I know :)
Wolland_ has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
OffTheRails has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
rebelshrug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riddled has joined #ruby
riddled has quit [Changing host]
riddled has joined #ruby
marr has quit [Ping timeout: 255 seconds]
thumpba has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
zenojis has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
jottr has joined #ruby
mikepack has joined #ruby
ddv has joined #ruby
thams has quit [Quit: thams]
razum2um has joined #ruby
zenojis has joined #ruby
qsun has joined #ruby
<apeiros>
oh, lol, I forgot the sleep in my runner.
mikepack has quit [Remote host closed the connection]
thumpba has quit [Quit: AFK]
mikepack has joined #ruby
thumpba has joined #ruby
fgo has joined #ruby
thams has joined #ruby
thams has quit [Client Quit]
baroquebobcat_ has joined #ruby
CorySimmons has quit [Quit: Zzz...]
Bira has joined #ruby
CorySimmons has joined #ruby
CorySimmons has quit [Client Quit]
thumpba has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
CorySimmons has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
robscormack has quit [Quit: rake db:migraine]
SilkFox has joined #ruby
Takle has quit [Remote host closed the connection]
baroquebobcat_ has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
lolmaus has joined #ruby
thams has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
maximski has quit []
n_blownapart has quit [Remote host closed the connection]
OffTheRails has quit [Ping timeout: 264 seconds]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baroquebobcat_ has joined #ruby
nectarys_ has joined #ruby
rails_flix has joined #ruby
rails_flix has quit [Client Quit]
CorySimmons has quit [Quit: Zzz...]
redgetan has joined #ruby
rails_flix has joined #ruby
thams has quit [Quit: thams]
o0oo0o has quit [Quit: WeeChat 0.4.3]
nectarys has quit [Ping timeout: 255 seconds]
lw has joined #ruby
phoo1234567 has quit [Quit: Leaving]
troulouliou_dev has joined #ruby
timonv_ has joined #ruby
Zebroid has joined #ruby
qw3rtman has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
baroquebobcat_ is now known as baroquebobcat
maddog31643 has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
Zebroid has quit [Ping timeout: 245 seconds]
arya_ has quit [Ping timeout: 245 seconds]
nateberkopec has joined #ruby
helpa has joined #ruby
GlenK has joined #ruby
heftig has quit [Quit: Quitting]
centrx has quit [Quit: Mead error: Connection reset by beer]
GriffinHeart has joined #ruby
redgetan has quit [Quit: This computer has gone to sleep]
lw has quit [Quit: s]
mgberlin has quit [Remote host closed the connection]
o0oo0o has joined #ruby
MatthewsFace has joined #ruby
Kricir has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
nateberkope has joined #ruby
GriffinHeart has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 260 seconds]
rails_flix has quit [Quit: This computer has gone to sleep]
CorySimmons has joined #ruby
mikecmpbll has quit [Quit: ciao.]
Takle has joined #ruby
nateberkope has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 256 seconds]
andrewjanssen has quit [Quit: Leaving...]
baroquebobcat has quit [Quit: baroquebobcat]
andrewjanssen has joined #ruby
maddog31643 has quit [Ping timeout: 240 seconds]
CorySimmons has quit [Quit: Bye!]
andrewjanssen has quit [Ping timeout: 260 seconds]
baroquebobcat_ has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 250 seconds]
mesamonkey has joined #ruby
alexju has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
robustus has joined #ruby
redgetan has joined #ruby
banisterfiend has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
troulouliou_dev has quit [Quit: Leaving]
loupgris has joined #ruby
rkstarnerd has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
melik_ has joined #ruby
banisterfiend has quit [Quit: Computer has gone to sleep.]
magic is now known as Logician
melik__ has joined #ruby
melik_ has quit [Read error: Connection reset by peer]
baroquebobcat_ has quit [Quit: baroquebobcat_]
fgo has joined #ruby
Zebroid has joined #ruby
Zebroid has quit [Remote host closed the connection]
nectarys_ has quit [Quit: Ex-Chat]
Zebroid has joined #ruby
benlieb has joined #ruby
Logician is now known as magic
kireevco has joined #ruby
troulouliou_dev has joined #ruby
wald0 has quit [Ping timeout: 250 seconds]
fgo has quit [Ping timeout: 260 seconds]
Pharaoh2 has quit [Quit: Leaving...]
o0oo0o has quit [Remote host closed the connection]
thams has joined #ruby
o0oo0o has joined #ruby
OffTheRails has joined #ruby
Bira has quit [Remote host closed the connection]
dc_ has joined #ruby
ARCADIVS has joined #ruby
o0oo0o has quit [Client Quit]
ixti has quit [Quit: WeeChat 0.4.3]
troulouliou_dev has quit [Quit: Leaving]
amargherio has quit [Read error: Connection reset by peer]
redgetan has quit [Quit: This computer has gone to sleep]
Zebroid has quit [Remote host closed the connection]
thams has quit [Quit: thams]
mostlybadfly has quit [Quit: Connection closed for inactivity]
orionstein_away is now known as orionstein
alexju has quit [Ping timeout: 240 seconds]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
katlogic has quit [Read error: Connection reset by peer]
tyfighter has joined #ruby
OffTheRails has quit [Ping timeout: 245 seconds]
loupgris has quit [Remote host closed the connection]
loupgris has joined #ruby
sevvie has joined #ruby
JoshGlzBrk has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
Martxel has quit [Read error: Connection reset by peer]
Rakko has joined #ruby
davispuh has quit [Remote host closed the connection]
katlogic has joined #ruby
dseitz has joined #ruby
SilkFox has quit [Ping timeout: 250 seconds]
Vivekananda_y510 has quit [Read error: Connection reset by peer]
mr_snowf1ake has joined #ruby
o0oo0o has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
Kricir has joined #ruby
nateberkopec has joined #ruby
sevvie has quit [Ping timeout: 240 seconds]
orionstein is now known as orionstein_away
loupgris has quit [Remote host closed the connection]
Photism has quit [Quit: Leaving]
dc_ has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 240 seconds]
mesamonkey has quit [Quit: Konversation terminated!]
Snarkz has joined #ruby
macclearich has joined #ruby
tyfighter has quit [Quit: tyfighter]
macclearich has quit [Client Quit]
thnee has quit [Ping timeout: 240 seconds]
macclearich has joined #ruby
Kruppe has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
billycravens has joined #ruby
robbyoconnor has joined #ruby
dbasch has joined #ruby
macclearich has quit [Ping timeout: 240 seconds]
Kruppe has joined #ruby
mgberlin has joined #ruby
Photism has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
SilkFox has joined #ruby
fgo has joined #ruby
nateberkopec has quit [Quit: Leaving...]
gregf has quit [Quit: WeeChat 0.4.3]
Fire-Dragon-DoL has quit [Quit: Leaving.]
Snarkz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fold has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
Bira has joined #ruby
beakshy has joined #ruby
dingus_khan has quit [Remote host closed the connection]
thnee has joined #ruby
Bira has quit [Ping timeout: 260 seconds]
thams has joined #ruby
benlieb has quit [Quit: benlieb]
GriffinHeart has joined #ruby
frankle has quit [Quit: Connection closed for inactivity]
gregf has joined #ruby
timonv_ has joined #ruby
duper has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
tyfighter has joined #ruby
braincrash has quit [Quit: bye bye]
s2013 has joined #ruby
duper has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
oo_ has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
tylersmith has quit [Remote host closed the connection]
dbasch has quit [Quit: dbasch]
tylersmith has joined #ruby
braincrash has joined #ruby
dvb_ua has joined #ruby
Guest_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
benlieb has quit [Client Quit]
tylersmith has quit [Ping timeout: 250 seconds]
Zebroid has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
jamto11 has joined #ruby
thams has quit [Quit: thams]
amystephen has quit [Quit: amystephen]
Kricir has joined #ruby
yfeldblu_ has joined #ruby
thams has joined #ruby
<magic>
Is there a library for Ruby that prints to printers?
s2013 has quit [Ping timeout: 250 seconds]
mikepack has quit [Remote host closed the connection]
noocode has quit [Ping timeout: 240 seconds]
fly2web has left #ruby [#ruby]
ridget has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
<havenwood>
magic: cups wrapper
Kricir has quit [Ping timeout: 255 seconds]
noocode has joined #ruby
wallerdev has quit [Quit: wallerdev]
yfeldblum has joined #ruby
nonnatus has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
tyfighter has quit [Quit: tyfighter]
arup_r has joined #ruby
TorpedoSkyline has joined #ruby
Zebroid has quit [Remote host closed the connection]
<havenwood>
magic: is linux only okay? :P
yfeldblu_ has quit [Ping timeout: 250 seconds]
<benzrf>
havenwood: id just like to interject for a moment
<benzrf>
what youre referring to as linux is, in fact, gnu/linux
<benzrf>
or as ive taken to calling it, gnu plus linux
<havenwood>
benzrf: point taken
<havenwood>
benzrf: eww
<benzrf>
havenwood: wait have u not heard that copypasta before
<havenwood>
though i suppose win has cups, not just gnu/linux
<havenwood>
benzrf: lets just call it gnu, drop the linux part
Duckily has quit [Quit: Duckily]
<havenwood>
benzrf: in more formal speech i do use the full name, but i'm not much of stickler. easy to use a part for a whole informally, even if there's a good reason not to.
momma is now known as IPv4
<benzrf>
synecdoche more like synecdouchey
nopolitica has joined #ruby
GinoMan has quit [Quit: No Ping reply in 180 seconds.]
GinoMan has joined #ruby
mgberlin has quit [Remote host closed the connection]
<magic>
havenwood: I'd rather multi platform
<magic>
But Linux only is okay for now :p
<havenwood>
i gnu that...
phinfonet has quit []
<benzrf>
i thought you gnu better
<magic>
Linus says Linux so I say Linux :p
<benzrf>
linus is a big ol shithead
<benzrf>
err, asshat
<benzrf>
hmm
<magic>
He's still the guy with the copyright :p
<benzrf>
if your hat is an ass, does that mean that your head is shit
<benzrf>
shithead <=> asshat
<benzrf>
fascinating new scientific discovery
asmodchan has joined #ruby
melik__ has quit [Ping timeout: 255 seconds]
<magic>
Am I good to ask Rails questions here, or is there another channel for that?
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
tmcgoo: you just need to register your nick
<tmcgoo>
such a bad user experience getting into registered channels
<tmcgoo>
i have but i forget how to identify
<magic>
havenwood: So does that mean I should require 'cups'? Sorry, I'm a programmer but very new to Ruby
yfeldblum has quit [Remote host closed the connection]
<havenwood>
magic: yes, for that gem
<magic>
havenwood: But yet it fails in my app
<tmcgoo>
NickServ indentify Penline1
<tmcgoo>
derp
<magic>
Oops
<magic>
Do /msg nickserv identify <mypassword>
yfeldblum has joined #ruby
<havenwood>
magic: What's your Ruby version?: ruby -v
<tmcgoo>
finally in
<magic>
And then change it with /msg nickserv set password <newpassword>
<magic>
Cause we all just saw it
<tmcgoo>
i have to join a random channel, msg nick there, then go rails, so silly irc
<magic>
havenwood: 2.1.2
<drizz>
all I saw was tmcgoo: NickServ indentify ********
<tmcgoo>
msg nickserv set password Penliner1
<magic>
drizz: hunter2-ing my hunter2?
<tmcgoo>
ffs
<havenwood>
magic: is your app using Bundler?
<drizz>
magic: mayhaps
dbasch has joined #ruby
<magic>
havenwood: I think so. I have a gemfile.
<havenwood>
magic: aha. using RVM?
<magic>
havenwood: Nope.
<magic>
just plain ol' Ruby
sailias has quit [Ping timeout: 240 seconds]
<havenwood>
magic: gem list rubygems-bunder
<havenwood>
oops
<havenwood>
magic: gem list rubygems-bundler
<havenwood>
magic: i'm just curious if you're automagically getting `bundle exec`ed
<magic>
havenwood: Just prints "*** LOCAL GEMS ***" and a bunch of whitespace
<havenwood>
magic: but anyways, add it to your Gemfile
<magic>
I did "bundle install"
<magic>
What does bundle exec do?
<magic>
I added it to gemfile
Kricir has joined #ruby
<magic>
Sorry for all the silly questions.
<havenwood>
"Exec runs a command, providing it access to the gems in the bundle. While using bundle exec you can require and call the bundled gems as if they were installed into the systemwide Rubygems repository."
billycravens has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
magic: So you run a command in the context of the bundle with: bundle exec ...
MatthewsFace has quit [Quit: This computer has gone to sleep]
<havenwood>
magic: some setups have it such that bundle exec is automatic, there're gems that do it and RVM ships with it so it's pretty common to see
<magic>
havenwood: I think that might have worked...
<magic>
I don't know yet. one sec
dingus_khan has joined #ruby
<fly2web>
vacant hash, and list are []? it is same?
nopolitica has quit [Quit: Lost terminal]
macclearich has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
dingus_khan has quit [Ping timeout: 240 seconds]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
<magic>
havenwood: Cool! Thanks! :)
MatthewsFace has joined #ruby
MatthewsFace has quit [Client Quit]
ridget has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fly2web>
i don’t know this meaning normal[:zig]
gondalier has quit []
tylersmith has joined #ruby
<fly2web>
normal[:zig]?
fgo has joined #ruby
fgo has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 255 seconds]
Bira has joined #ruby
<fly2web>
who can help me?
Guest_ has joined #ruby
<fly2web>
normal[:zig] <—— i don’t know the means of :zig
<benzrf>
fly2web: its a symbol
GriffinHeart has joined #ruby
<fly2web>
benzrf: what is symbol?
Takle has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
Bira has quit [Ping timeout: 255 seconds]
mr_snowf1ake has joined #ruby
Gadgetoid has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Ping timeout: 240 seconds]
tango_ has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
JoshGlzBrk has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
<tango_>
hello all. I would like to know if there is a way to make ruby parsing a script under specific conditions. specifically, I'm writing an .rb file that should act both as a ruby module and as a cli script. In former case, the 'bottom half of the script' should be skipped by ruby. I can do it by wrapping it in if __FILE__ == $0, but that means I have to indent everything. is there something I can use in the from `stop_reading_here unless __FILE__ == $0`?
<benzrf>
fly2web: basic ruby stuff
<benzrf>
lrn2ruby
<tango_>
(I can't use `exit` as `stop_reading_here` because that means obviously that any program requiring the library would exit)
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<fly2web>
yes, then what is it? give me example.
<benzrf>
:zig is the symbol :zig
<benzrf>
just like 3 is the number 3
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
Gadgetoid has joined #ruby
ascarter has joined #ruby
ascarter has quit [Client Quit]
techsethi has quit [Quit: techsethi]
fly2web has quit [Quit: fly2web]
20WAAU4X7 has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
EvanR__ has joined #ruby
s2013 has quit [Remote host closed the connection]
dbasch has quit [Read error: Connection reset by peer]
neruda has quit [Ping timeout: 246 seconds]
jamto11 has quit [Remote host closed the connection]
dbasch has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zkay11 has quit [Quit: Leaving.]
oo_ has joined #ruby
fly2web has joined #ruby
<fly2web>
benzrf: then ‘:’ have no meaning?
MatthewsFace has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
macclearich has quit [Quit: Computer has gone to sleep.]
macclearich has joined #ruby
drawingthesun has quit [Read error: Connection reset by peer]
<robscormack>
write a Ruby program and put on the first line: #!/usr/local/bin/ruby and it will be executed with that version... not sure what are your requirements
magic_ has joined #ruby
SilkFox has quit [Ping timeout: 256 seconds]
<cha1tanya>
robscormack: i just want to play around ruby source code, nothing much
jamto11 has quit [Ping timeout: 240 seconds]
qw3rtman has joined #ruby
<robscormack>
let me put it that way: code written in Ruby? or the code that runs Ruby?
<cha1tanya>
code that runs ruby
dangerousdave has joined #ruby
<Wolland>
ruby itself that is
<robscormack>
why you need it in /usr/local then?
linojon has quit [Quit: linojon]
fly2web has quit [Quit: fly2web]
lkba has joined #ruby
thams has quit [Quit: thams]
qw3rtman has quit [Ping timeout: 272 seconds]
magic has quit [Quit: WeeChat 0.4.3]
tylersmith has quit []
<cha1tanya>
robscormack: sorry i am confused, my problem is i have installed ruby from source code and i want to use the installed version with already installed version
<cha1tanya>
like rbenv shell ruby-dev
jamto11 has joined #ruby
<robscormack>
rbenv global system
<robscormack>
or
Ilyas has joined #ruby
<cha1tanya>
if i make any change to source code and recompile again it should reflect
<cha1tanya>
rbenv global is not using dev ruby, it is using 2.0.0, not sure why
<robscormack>
because you have 2.0.0 on your system. Mac user, perhaps?
magic_ is now known as magic
<robscormack>
in your terminal window, write "echo $PATH" without the quotes, you may find that you have /usr/bin/ruby too
<cha1tanya>
yes which ruby gives - Users/prathamesh/.rbenv/shims/ruby
<robscormack>
that is why: you're using the one installed by rbenv
<robscormack>
exec "rbenv global system" and run "which ruby" again.
jamto11 has quit [Ping timeout: 240 seconds]
magic_ is now known as magic
<robscormack>
(although some people finds comfortable to set Ruby globally with rbenv, I wouldn't recommend that. I set it only for my workspace with rbenv local)
<cha1tanya>
perfeth
<cha1tanya>
solved it using ./configure --prefix="$HOME/.rbenv/versions/ruby-dev"
tyfighter has quit [Quit: tyfighter]
<cha1tanya>
now its available when i do rbenv versions
<robscormack>
cool, nice catch.
<cha1tanya>
and i can switch to it using rbenv shell ruby-dev
<cha1tanya>
postmodern: that wiki instructions helped :)
<cha1tanya>
robscormack: thanks a lot :)
Umang has joined #ruby
GriffinHeart has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby
<robscormack>
no problem, I didn't do anything :)
<robscormack>
postmodern is the big boss.
<cha1tanya>
:)
towbes has quit [Ping timeout: 240 seconds]
thumpba has joined #ruby
nanoyak has joined #ruby
<postmodern>
cha1tanya, there's also a ./configure option to set a suffix
<postmodern>
cha1tanya, --program-suffix=-dev
<postmodern>
cha1tanya, that will give you ruby-dev, gem-dev, etc
Bira has joined #ruby
<cha1tanya>
wow thats cool, checking
gogohome has joined #ruby
havenwood has quit [Remote host closed the connection]
<gogohome>
hello
<gogohome>
i want learn ruby? how can i do?
<mercwithamouth>
install rvm, grab a few ruby books and dive in
Bira has quit [Ping timeout: 260 seconds]
keen___ has joined #ruby
postmodern has quit [Quit: Leaving]
doev has joined #ruby
keen__ has quit [Ping timeout: 240 seconds]
cantonic has quit [Quit: cantonic]
campezzi has joined #ruby
postmodern has joined #ruby
campezzi has quit [Client Quit]
qw3rtman has joined #ruby
yeticry has quit [Quit: leaving]
yeticry has joined #ruby
<gogohome>
mercwithamouth: what book?
qw3rtman has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NinoScript has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
timonv_ has joined #ruby
NinoScript has joined #ruby
cantonic has joined #ruby
melik__ has quit [Quit: Computer has gone to sleep.]
jay__ has joined #ruby
melik__ has joined #ruby
Rakko has quit [Quit: Bye]
oo_ has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<robscormack>
gogohome: do you have experience programming?
<gogohome>
a little
Umang has quit [Ping timeout: 250 seconds]
macclearich has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
cha1tanya has quit [Ping timeout: 240 seconds]
<robscormack>
Peter Cooper wrote a book called "Beginning Ruby". It's good
<gogohome>
give me sites
dbasch has quit [Read error: Connection reset by peer]
oslpkb has quit [Remote host closed the connection]
Bira has quit [Ping timeout: 264 seconds]
popo has joined #ruby
noop has joined #ruby
tyfighter has quit [Ping timeout: 272 seconds]
dvb_ua has quit [Ping timeout: 240 seconds]
noop has quit [Ping timeout: 240 seconds]
anaeem1 has joined #ruby
<popo>
hello, any channel specific to forem? #forem seems dead
yacks has quit [Ping timeout: 255 seconds]
Diaoer has joined #ruby
oo_ has joined #ruby
drakciR has quit [Ping timeout: 260 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
doev has quit [Quit: Verlassend]
krz has quit [Ping timeout: 250 seconds]
saarinen has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
Atttwww has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
aledovsky has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.0-dev]
AlexRussia has joined #ruby
sdsbqm has joined #ruby
anaeem1 has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
dingus_khan has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
Wolland has quit []
GriffinHeart has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
jdj_dk has joined #ruby
jdj_dk has quit [Remote host closed the connection]
nooteh has joined #ruby
SilkFox has joined #ruby
memph1s has joined #ruby
<nooteh>
hi, can someone please, explain to me or link me to an explanation of path variables? I'm damn confused, sometimes it says undefined path variable and sometimes work… for example having controller AnimalsController and link_to show_animal_url, id doesn't work
jdj_dk has joined #ruby
<nooteh>
having resources in routes, and rake routes shows it
d4nk has quit [Ping timeout: 250 seconds]
<nooteh>
but I'd love to print out all of these vars generated
jdj_dk has quit [Remote host closed the connection]
Martxel has joined #ruby
qw3rtman has joined #ruby
lkb has joined #ruby
jottr has joined #ruby
alem0lars has quit [Ping timeout: 264 seconds]
<apeiros>
nooteh: that sounds like you should ask in #rubyonrails
<nooteh>
ah true, sorry
SilkFox has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 240 seconds]
macclearich has joined #ruby
macclearich_ has joined #ruby
macclearich has quit [Read error: Connection reset by peer]
qw3rtman has quit [Ping timeout: 255 seconds]
peret has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
macclearich_ has quit [Ping timeout: 260 seconds]
jamto11 has quit [Ping timeout: 245 seconds]
amystephen has joined #ruby
brianherman has joined #ruby
jdj_dk has joined #ruby
fgo has joined #ruby
<shevy>
fly2web die man
<fly2web>
what mean?
<fly2web>
shevy:
lxsameer has joined #ruby
nobodyzzz has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 256 seconds]
mostlybadfly has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
Bira has joined #ruby
saarinen has joined #ruby
MOOTIE has joined #ruby
alem0lars has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
Bira has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
<shevy>
fly2web die
Hanmac has quit [Remote host closed the connection]
sixxy has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
<fly2web>
shevy: { || } <— what is ||?
m8 has joined #ruby
<shevy>
fly2web that is nothing, where is your variable
<wasamasa>
as you might guess, I've switched to emacs and no, I won't give you support for getting it to work there or anything else
<AlexRussia>
lol
<shevy>
AlexRussia sublime goes into the right direction
<shevy>
AlexRussia I like the functional simplicity of bluefish 1.0.7; it is not perfect though, some features are missing. the best would be to put different components together from different editors
techsethi has joined #ruby
<AlexRussia>
shevy: uhum, and get editors version of Frankenshtein :d
Geekabilly has joined #ruby
<AlexRussia>
i like vim just because it help me do things easy, some usually things
maex has quit [Remote host closed the connection]
IteratorP has quit [Remote host closed the connection]
<wasamasa>
I haven't went along and set up smarter autocompletion yet
<wasamasa>
probably because the tools I've seen were either libraries for parsing 99% of all ruby, stuff using the repl or java shit
<wasamasa>
and running a jvm for having ruby autocompletion is uhh
<AlexRussia>
@_@
<wasamasa>
not exactly what I'd call good
<AlexRussia>
@_@
<wasamasa>
and I don't know enough ruby yet to bother and rewrite it
<AlexRussia>
running jvm for completion
<AlexRussia>
?
andrewbredow has quit [Quit: Computer has gone to sleep.]
GriffinHeart has quit [Ping timeout: 250 seconds]
<AlexRussia>
sounds like rsense
jarto has joined #ruby
<wasamasa>
yes indeed
andrewbredow has joined #ruby
OffTheRails has joined #ruby
<wasamasa>
someone took rsense and cleaned it up a bit
thams has quit [Quit: thams]
<AlexRussia>
wasamasa: yes, jvm is reason why i didn't installed it yet
Kricir has quit [Remote host closed the connection]
<wasamasa>
now I finally know why the elisp of its original author is so horrible
<wasamasa>
he wrote java before!
<AlexRussia>
wasamasa: xD
<AlexRussia>
wasamasa: elisp was written before java i think
<wasamasa>
doesn't matter
<AlexRussia>
wasamasa: java was developped in 1990(1)-1995
<AlexRussia>
wasamasa: :D
<wasamasa>
as I've said, it doesn't matter
<wasamasa>
if someone learns java and then decides to write java-like code in any other language, bad things will inevitably happen
<AlexRussia>
its matter :D ITS TIME COLLAPSE THEN
andrewbredow has quit [Ping timeout: 260 seconds]
timfoo has joined #ruby
havenwood has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
butblack has joined #ruby
jdj_dk has quit [Remote host closed the connection]
jdj_dk has joined #ruby
thams has joined #ruby
Petru has joined #ruby
lw has quit [Quit: s]
IteratorP has joined #ruby
tuxninja has joined #ruby
andrewbredow has joined #ruby
arya_ has quit [Ping timeout: 255 seconds]
jdj_dk has quit [Ping timeout: 240 seconds]
arya_ has joined #ruby
godd2 has quit [Remote host closed the connection]
hobodave has joined #ruby
centrx has joined #ruby
benzrf|offline is now known as benzrf
oo_ has joined #ruby
sevvie has joined #ruby
qw3rtman has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
Daylight is now known as matrixdevuk
thams has quit [Quit: thams]
<shevy>
in java nothing matters other than the amount of lines you have produced
amacou has quit [Remote host closed the connection]
hjlsteffens has left #ruby [#ruby]
jdj_dk has joined #ruby
sepp2k has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
northfurr has joined #ruby
noop has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Ping timeout: 256 seconds]
brianherman has joined #ruby
asmodchan has joined #ruby
hobodave has quit [Read error: Connection reset by peer]
hobodave has joined #ruby
brianherman has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
Takle has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
dscientist has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
mikepack_ has joined #ruby
Bira_ has quit [Remote host closed the connection]
dbasch has quit [Quit: dbasch]
mikepack has quit [Ping timeout: 255 seconds]
Bira has joined #ruby
supermarkettoday has joined #ruby
northfurr has left #ruby [#ruby]
mikepack_ has quit [Client Quit]
SilkFox has joined #ruby
dscientist has quit []
mikepack has joined #ruby
Valdes has joined #ruby
Valdes has left #ruby [#ruby]
supermarkettoday has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
supermarkettoday has joined #ruby
arya_ has quit [Ping timeout: 250 seconds]
jamto11 has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
lkba has quit [Ping timeout: 250 seconds]
krz has quit [Quit: WeeChat 0.4.3]
supermarkettoday has quit [Remote host closed the connection]
macclearich_ has joined #ruby
moritzs has quit [Ping timeout: 250 seconds]
fantazo has quit [Ping timeout: 264 seconds]
butblack has quit [Quit: butblack]
jamto11 has quit [Ping timeout: 260 seconds]
Bira has quit [Remote host closed the connection]
Kricir has joined #ruby
qw3rtman has joined #ruby
macclearich_ has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
jmbrown412 has joined #ruby
Bira has joined #ruby
lkba has joined #ruby
nateberkopec has joined #ruby
MatthewsFace has joined #ruby
Hamburglr has quit [Read error: Connection reset by peer]
MatthewsFace has quit [Client Quit]
SilkFox has joined #ruby
Takle has quit [Remote host closed the connection]
nobitanobi has joined #ruby
jmbrown412 has quit [Ping timeout: 264 seconds]
riddled has joined #ruby
timonv_ has quit [Remote host closed the connection]
siwica has joined #ruby
riddled has quit [Changing host]
riddled has joined #ruby
razum2um has joined #ruby
Kricir has quit [Remote host closed the connection]
andrewbredow has quit [Ping timeout: 240 seconds]
sevvie has quit [Quit: leaving]
jimms has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
tjr9898 has quit [Remote host closed the connection]
razum2um has quit [Ping timeout: 245 seconds]
Ilyas has joined #ruby
Bira has quit [Remote host closed the connection]
patteh_ has quit [Remote host closed the connection]
CaptainJet has joined #ruby
thams has joined #ruby
patteh has joined #ruby
amargherio has joined #ruby
<miah>
glad to see an embeddable ruby, but i feel like lua has already won that battle
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
try has joined #ruby
<miah>
i haven't tried out mrbc yet though, that could be interesting.
darkxploit has joined #ruby
nitin__ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<apeiros>
hm, I don't think that's a good way to look at it. times change. things change. mruby doesn't need to "win". it just needs to be useful.
darkxploit has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
nitin__ has quit [Read error: Connection reset by peer]
darkxploit has joined #ruby
<miah>
oh i know
riddled has left #ruby ["Leaving"]
moritzs has joined #ruby
<miah>
i just encounter lots of stuff with lua embedded already, and have a feeling i wont see much with ruby embedded
mikepack has quit []
<apeiros>
yeah, for the foreseeable future, lua will probably vastly more widespread
tyfighter has joined #ruby
<miah>
we're looking at replacing logstash with hekka. i think logstash + mruby could be a good combination. but its configuration syntax is already wacky enough that i'd rather just have a real language.
<miah>
er, just heka. i always add an extra k
Zebroid has joined #ruby
yfeldblum has joined #ruby
Umang_ has quit [Quit: Lost terminal]
thams has quit [Quit: thams]
asdasdasdasss has joined #ruby
troulouliou_dev has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
larissa has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
fgo has quit []
jarto has joined #ruby
pandaant has joined #ruby
Channel6 has joined #ruby
<shevy>
kmiah
qw3rtman has quit [Quit: Computer has gone to sleep.]
Lewix has quit [Remote host closed the connection]
<shevy>
kcat
<shevy>
KDE
<shevy>
hmmm
<shevy>
kuby!
<miah>
kubby
Lewix has joined #ruby
<shevy>
the kde folks really overdid it with their k-naming scheme... one app is called kalzium, that is german for the element calcium
<miah>
hah
dingus_khan has joined #ruby
<miah>
at least its not 1998 anymore. installing kde used to be such a pain.
MatthewsFace has joined #ruby
<shevy>
compiling kde can be a pain! :(
<miah>
yes
Aryasam has joined #ruby
<shevy>
I actually find autoconf-based programs still easier to install and compile than most cmake-based ones, though that has improved the last some years
Aryasam has quit [Client Quit]
<miah>
i built a linux distro in ~2000, autoconf systems _are_ easier. (even though they have their own class of issues)
<shevy>
I can't complain much though, qt 4.8.6 works, and kdelibs 4.13.3 also works here, though I got a bit bored of trying to get the rest of kde installed as well so I stopped
Aryasam has joined #ruby
<shevy>
miah what distribution do you use these days?
<miah>
archlinux
<miah>
i almost worked for redhat in 2000, but i joined turoblinux instead.. i've done too much with RPM based ditros
Geekabilly has quit [Remote host closed the connection]
<benzrf>
debian4lyfe
<miah>
debian is good, i'll say that. but you _really_ have to run unstable unless you like software from 18 years ago
banisterfiend has quit [Remote host closed the connection]
lw has quit [Client Quit]
thumpba_ has quit [Remote host closed the connection]
jamto11 has joined #ruby
Zebroid has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 256 seconds]
fantazo has joined #ruby
Guest___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Geekabilly has joined #ruby
Geekabilly has quit [Read error: Connection reset by peer]
Geekabilly has joined #ruby
linojon has quit [Ping timeout: 255 seconds]
macclearich_ has joined #ruby
wallerdev has joined #ruby
nateberkopec has quit [Quit: Leaving...]
jamto11 has quit [Ping timeout: 240 seconds]
tcurdt has joined #ruby
qw3rtman has joined #ruby
macclearich_ has quit [Ping timeout: 250 seconds]
dbasch has joined #ruby
tcurdt has quit [Quit: Computer has gone to sleep.]
<siwica>
suppose I have the classes foo1, foo2 and foo3. Each object of type foo1 contains an array of type foo2 objects. Each object of type foo2 contains an array of type foo3 objects.
<siwica>
However there is the problem that the code gets bigger when the nesting-depths increases. What would be a better way of doing that?
<siwica>
I now have an array of type foo1 objects and I want to calculate the total number of (nested) type foo3 objects in that array. So far my solution is
<apeiros>
siwica: implement sum methods on each class directly
<siwica>
apeiros: ok, that sounds reasonable
noop has joined #ruby
<apeiros>
demeters law. foo1 should not have to know about foo2's internals to get at the sum.
GGMethos has quit [Quit: WeeChat 0.4.3]
qw3rtman has quit [Quit: Computer has gone to sleep.]
Bira has quit [Remote host closed the connection]
<siwica>
apeiros: suppose I would be given code I could not change, would there be a better method than mine?
<siwica>
apeiros: you are right about demeters law
<apeiros>
this is ruby. you can always change code. you don't have to modify their files for it.
goshdarnyou has joined #ruby
<miah>
monkeypatching.. ft.. somthing
<apeiros>
refine, if you don't want to monkeypatch
<miah>
ya, i forget about refine, i still haven't used it. i suppose this would be its intended use case
<siwica>
apeiros: But following demeters law here would be a big implementation effort, if I had lets say 10 nested objects and I want to get the number of foo10 objects out of a foo1 object
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
siwica: um, no?
<apeiros>
it's no more effort than yours
GGMethos has joined #ruby
<miah>
why does fool1 need to know about fool10 directly?
<apeiros>
you can create a method which does the descending for you. IMO that's ugly, though.
davedev2_ has joined #ruby
Takle has joined #ruby
<apeiros>
something like descending_sum(array_foo1, [:array_of_foo2, :array_of_foo3, …])
<siwica>
suppose I dont only want to know the number of nested foo10 objects, but also the number foo9, foo8, ... objects in foo1, that would require N-1 methods in a fooN object. Just wondering if there is a better way...?
lw has joined #ruby
qw3rtman has joined #ruby
<apeiros>
oooh, changing requirements
thumpba_ has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<siwica>
just for the sake of learning :)
<apeiros>
any other requirements which might change regarding your question?
iamjarvo has quit [Client Quit]
<nobitanobi>
hehe
<siwica>
its a hypothetical requirement
davedev24_ has quit [Read error: Connection reset by peer]
<siwica>
so I might add more if I am not satisfied with the answer ;-)
<apeiros>
with sum methods on each class: pass a single stop condition
<apeiros>
with the descending_sum method: only pass an array as deep as you want the sums
yfeldblum has joined #ruby
Geekabilly has quit []
jimms has quit []
roolo has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
SilverKey has joined #ruby
<atmosx>
aloha fellow rubyists
jaxxstorm has joined #ruby
<Mon_Ouie>
If you have N classes FooI where FooI has an array of Foo(I-1), it doesn't really sound like you should be using separate classes
<jaxxstorm>
I'm new to ruby and close to finishing my first ruby script
<jaxxstorm>
but can't figure that out
timfoo has quit [Ping timeout: 244 seconds]
hobodave has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie>
That just makes it sound like they're all really the same and you just have a tree where you're attributing a depth to each node using its class
<siwica>
Mon_Ouie: foo4 is a building, foo3 a building part, foo2 a polygon representation of the outer shell of a building part, foo1 is a point,...
yfeldblum has quit [Ping timeout: 240 seconds]
<atmosx>
jaxxstorm: this is connected to some ORM or something
<siwica>
Mon_Ouie: I have an array of buildings and want to know about the total number of points in my little town ;)
phutchins has quit [Ping timeout: 240 seconds]
<atmosx>
jaxxstorm: you need to include the module and then run the methods like Resource.endpoint_name
timfoo has joined #ruby
vdmgolub has joined #ruby
<atmosx>
jaxxstorm: for the methods (functions) that have a 'self.'
<siwica>
Mon_Ouie: the classes are required for some validity checks on each level of the tree, etc...
qw3rtman has quit [Quit: Computer has gone to sleep.]
<atmosx>
the other ones are not accessible directly, you have to crate new class e.g. a= Module::Class.new ; a.endpoint_name
<jaxxstorm>
atmosx, let me put a gist together to show you what I've tried, two secs
dbasch has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
dbasch has joined #ruby
bquan has joined #ruby
bquan has left #ruby [#ruby]
oo_ has quit [Ping timeout: 255 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
Zebroid has quit [Remote host closed the connection]
codezomb has quit [Ping timeout: 260 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tyfighter has joined #ruby
ziprar has quit [Quit: Leaving]
bjensen82 has quit [Remote host closed the connection]
davispuh has quit [Ping timeout: 245 seconds]
heftig has quit [Quit: Quitting]
davispuh has joined #ruby
nateberkopec has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nonnatus_ has joined #ruby
drakciR_ has joined #ruby
heftig has joined #ruby
lkb has joined #ruby
TorpedoSkyline has joined #ruby
GriffinHeart has joined #ruby
CaptainJet has quit [Ping timeout: 256 seconds]
nonnatus has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
Duckily has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
TorpedoSkyline has quit [Client Quit]
claw_ has quit [Read error: Connection reset by peer]
kangguru has joined #ruby
claw_ has joined #ruby
mityaz has quit [Ping timeout: 272 seconds]
qw3rtman has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby
DivineEntity has quit [Quit: leaving]
GriffinHeart has quit [Ping timeout: 255 seconds]
kaspergrubbe_ has quit [Read error: Connection reset by peer]
kaspergrubbe_ has joined #ruby
DivineEntity has joined #ruby
qw3rtman has joined #ruby
SilkFox has quit [Ping timeout: 272 seconds]
cashnguns has joined #ruby
MatthewsFace has quit [Ping timeout: 250 seconds]
chrishough has quit [Quit: chrishough]
MatthewsFace has joined #ruby
tyfighter has quit [Quit: tyfighter]
djbkd has joined #ruby
zipace has joined #ruby
zipace has quit [Max SendQ exceeded]
zipace has joined #ruby
rdark has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
Tomasso has quit [Ping timeout: 246 seconds]
<shevy>
do you guys prefer
<shevy>
module Foo
<shevy>
end
<shevy>
def Foo.bar
<shevy>
or
<shevy>
def self.bar
jamto11 has joined #ruby
djbkd has quit [Ping timeout: 272 seconds]
mr_snowf1ake has joined #ruby
<Nowaker>
def self.bar, but its just me
iszak has joined #ruby
<iszak>
Anyone know of a ruby linter that supports guard?
<AntelopeSalad>
iszak, rubocop
<iszak>
thanks
tjr9898__ has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 245 seconds]
macclearich_ has joined #ruby
<shevy>
cool... my largest ruby project so far, with all of my own dependencies bundled together in one gem
jamto11 has quit [Ping timeout: 272 seconds]
<shevy>
has as its .gem file 779K bytes
nobitanobi has quit [Remote host closed the connection]
<shevy>
hmm unless I made a mistake
lw has quit [Quit: s]
<AntelopeSalad>
that seems really large but not impossible i guess
nfk has joined #ruby
AndroTux has joined #ruby
lilbilly has joined #ruby
dawkirst has quit [Remote host closed the connection]
dawkirst has joined #ruby
macclearich_ has quit [Ping timeout: 245 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
<shevy>
is it really large?
<shevy>
hmm
<shevy>
I actually thought it was pretty small ... let me count how many other projects it then includes...
fantazo has quit [Ping timeout: 260 seconds]
<shevy>
41 small projects
<lilbilly>
Hey all, I'm looking for something that can achieve something similar to Wordpress in terms of being a CMS that allows clients to edit their site, but which also allows for lots of customizeability and doens't take long to get up and running. I've been using Wordpress for a long time now, but the truth is I just don't want to keep using PHP. Does anyone know of a framework or CMS based in Ruby that might allow me to achieve the same ki
nateberkopec has joined #ruby
<AntelopeSalad>
shevy, are you using du -h to figure out the size?
<shevy>
AntelopeSalad I guess I will work on a script that will output some stats, thanks for your remark :D
<shevy>
nope, I just look at the end .gem file actually
<AntelopeSalad>
if it includes git repos then it might be small
<shevy>
hmm when I do: du -h
<shevy>
I get this as the last result:
chrishough has joined #ruby
<shevy>
6.0M
<AntelopeSalad>
that includes everything
<shevy>
oh, no git repo or anything, just direct source-related stuff and docu files
<AntelopeSalad>
maybe look up a little for the lib folder?
<shevy>
is .gem really that efficient? that it can package 6.0MB into less than 1.0MB?
qw3rtman has quit [Quit: Computer has gone to sleep.]
Shidash has joined #ruby
<shevy>
yeah, like 98% is in the lib/ directory
renderful has joined #ruby
renderful has quit [Remote host closed the connection]
renderful has joined #ruby
<AntelopeSalad>
i don't know, i never used it but text compresses really well
<shevy>
\o/
yfeldblum has joined #ruby
AndroTux has left #ruby [#ruby]
AndroTux has joined #ruby
<shevy>
is anyone of you ... uhm ...
<AntelopeSalad>
my largest non-rails gem is only 600k for the lib folder
<shevy>
having a website where you play audio on it?
<shevy>
AntelopeSalad you mean when it is a .gem? or before you make it a gem file
<toretore>
gems are zips iirc
nateberkopec has quit [Ping timeout: 240 seconds]
<shevy>
I guess if the compression is about 1:6 then that would be less than 100k I guess AntelopeSalad, so that is quite large I think? one seventh of my largest ruby project
MatthewsFace has quit [Quit: This computer has gone to sleep]
<AntelopeSalad>
try zipping it, i bet it gets that compression or better
yfeldblu_ has joined #ruby
linojon has joined #ruby
drakciR_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
<AntelopeSalad>
damn you peek, why don't you show in depth query information like rack mini profiler
Ankhers has quit [Ping timeout: 264 seconds]
felixjet_ has joined #ruby
jdj_dk has joined #ruby
dphase- has joined #ruby
tyfighter has joined #ruby
Ankhers has joined #ruby
Davedo1 has joined #ruby
Dreamer3__ has joined #ruby
waltz_ has joined #ruby
parus_ has joined #ruby
anaeem1_ has joined #ruby
ohcibi_ has joined #ruby
phreax_ has joined #ruby
_KaszpiR__ has joined #ruby
Dreamer3 has quit [Ping timeout: 245 seconds]
jxport_ has joined #ruby
spacebug_ has joined #ruby
Pro|_ has joined #ruby
stormy3_ has joined #ruby
destruct1re has joined #ruby
thalweg_ has joined #ruby
isomorph1smes has joined #ruby
ght_ has joined #ruby
hanikazmi_ has joined #ruby
yfeldblum has joined #ruby
benzrf_ has joined #ruby
BeanDip_ has joined #ruby
monsieur1 has joined #ruby
nighter_ has joined #ruby
germanstudent_ has joined #ruby
Muz_ has joined #ruby
IceyEC_ has joined #ruby
SilkFox has joined #ruby
mjuszcza1 has joined #ruby
shaman42_ has joined #ruby
matchaw_ has joined #ruby
sepp2k1 has joined #ruby
androidbruce_ has joined #ruby
mjc___ has joined #ruby
cescalante_ has joined #ruby
artmann_ has joined #ruby
Morrolan_ has joined #ruby
sawtooth_ has joined #ruby
alol_ has joined #ruby
sweeper_ has joined #ruby
Rydekull_ has joined #ruby
segv_ has joined #ruby
robscormack_ has joined #ruby
ryanneufeld_ has joined #ruby
charliesome_ has joined #ruby
tcurdt has joined #ruby
zzak___ has joined #ruby
iamjarvo has joined #ruby
jeekl_ has joined #ruby
yfeldblu_ has quit [Ping timeout: 250 seconds]
jeekl_ has quit [Changing host]
jeekl_ has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
elaptic`` has joined #ruby
dbasch_ has joined #ruby
andrewcarter_ has joined #ruby
skaflem has quit [Quit: Leaving]
tyfighter has quit [Quit: tyfighter]
Jello__Raptor has joined #ruby
crazysim_ has joined #ruby
robbyoconnor has joined #ruby
akoz has joined #ruby
kiez0rd has joined #ruby
krainboltgreene_ has joined #ruby
philevans__ has joined #ruby
ItSAN____ has joined #ruby
qsun_ has joined #ruby
mumblet has joined #ruby
noocode_ has joined #ruby
bhuey_ has joined #ruby
jenskarlsen_ has joined #ruby
LoRdToLsJ has joined #ruby
shtirlic_ has joined #ruby
Tranquility_ has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
bauruine_ has joined #ruby
linduxed has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
zalmoxes_ has joined #ruby
xybr_ has joined #ruby
CodeLicker2 has joined #ruby
YourKicks has joined #ruby
postmodern has quit [Quit: Leaving]
benzrf has quit [Disconnected by services]
benzrf_ is now known as benzrf
CodeLicker2 has quit [Client Quit]
dbasch has quit [*.net *.split]
charliesome has quit [*.net *.split]
qsun has quit [*.net *.split]
darkxploit has quit [*.net *.split]
Channel6 has quit [*.net *.split]
sepp2k has quit [*.net *.split]
BeanDip has quit [*.net *.split]
robscormack has quit [*.net *.split]
noocode has quit [*.net *.split]
Maitiu has quit [*.net *.split]
artmann has quit [*.net *.split]
ohcibi has quit [*.net *.split]
felixjet has quit [*.net *.split]
waltz has quit [*.net *.split]
krainboltgreene has quit [*.net *.split]
toretore has quit [*.net *.split]
nisstyre has quit [*.net *.split]
matchaw has quit [*.net *.split]
ryanneufeld has quit [*.net *.split]
xybre has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
mjuszczak has quit [*.net *.split]
zzak__ has quit [*.net *.split]
bauruine has quit [*.net *.split]
destructure has quit [*.net *.split]
Muz has quit [*.net *.split]
Davedo has quit [*.net *.split]
nighter has quit [*.net *.split]
parus has quit [*.net *.split]
davzie has quit [*.net *.split]
shtirlic has quit [*.net *.split]
anekos_ has quit [*.net *.split]
monsieurp has quit [*.net *.split]
shaman42 has quit [*.net *.split]
ght has quit [*.net *.split]
zalmoxes has quit [*.net *.split]
IceyEC has quit [*.net *.split]
nevans has quit [*.net *.split]
jenskarlsen has quit [*.net *.split]
Tranquility has quit [*.net *.split]
jeaye has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
Rydekull has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
androidbruce has quit [*.net *.split]
germanstudent has quit [*.net *.split]
andrewcarter has quit [*.net *.split]
bhuey has quit [*.net *.split]
phreax has quit [*.net *.split]
dphase has quit [*.net *.split]
kies^ has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
mjc_ has quit [*.net *.split]
thalweg has quit [*.net *.split]
jxport has quit [*.net *.split]
akosednar has quit [*.net *.split]
aboudreault has quit [*.net *.split]
zastern has quit [*.net *.split]
cescalante has quit [*.net *.split]
sawtooth has quit [*.net *.split]
sweeper has quit [*.net *.split]
crazysim has quit [*.net *.split]
spacebug has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
mumblerit has quit [*.net *.split]
alol has quit [*.net *.split]
Pro| has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
Morrolan has quit [*.net *.split]
segv has quit [*.net *.split]
jeekl has quit [*.net *.split]
philevans_ has quit [*.net *.split]
zz_LoRdToLsToI has quit [*.net *.split]
stormy3 has quit [*.net *.split]
androidbruce has joined #ruby
androidbruce_ is now known as androidbruce
androidbruce has quit [Changing host]
segv_ is now known as segv
jenskarlsen_ is now known as jenskarlsen
dbasch_ is now known as dbasch
Davedo1 is now known as Davedo
CodeLicker2 has joined #ruby
ryanneufeld_ is now known as ryanneufeld
Jello__Raptor is now known as Jello_Raptor
crazysim_ is now known as crazysim
mumblet is now known as mumblerit
Maitiu has joined #ruby
nevans has joined #ruby
jackneill has quit [Remote host closed the connection]
darkxploit has joined #ruby
claw__ has joined #ruby
andrewcarter_ is now known as andrewcarter
zzak___ is now known as zzak__
aboudreault_ has joined #ruby
alol_ is now known as alol
krainboltgreene_ is now known as krainboltgreene
zastern has joined #ruby
larissa has quit [Quit: Leaving]
nateberkopec has joined #ruby
dphase- is now known as dphase
claw_ has quit [Remote host closed the connection]
nisstyre has joined #ruby
cashnguns has quit [Remote host closed the connection]
lkb has quit [Quit: Wychodzi]
chipotle has quit [Quit: cya]
CodeLicker has quit [Ping timeout: 255 seconds]
parus_ is now known as parus
jeaye has joined #ruby
mjc___ is now known as mjc_
CodeLicker2 has quit [Client Quit]
CodeLicker has joined #ruby
Tranquility_ is now known as Tranquility
SilkFox has quit [Ping timeout: 272 seconds]
lw has joined #ruby
qw3rtman has joined #ruby
YourKicks has quit [Quit: Leaving]
anekos_ has joined #ruby
Channel6 has joined #ruby
alexju has joined #ruby
MatthewsFace has joined #ruby
AMcP has joined #ruby
AMcP has quit [Remote host closed the connection]
MatthewsFace has quit [Remote host closed the connection]
AMcP has joined #ruby
MatthewsFace has joined #ruby
dawkirst has quit [Remote host closed the connection]
fold has quit [Ping timeout: 272 seconds]
MatthewsFace has quit [Client Quit]
mikepack has joined #ruby
dbasch has quit [Quit: dbasch]
linduxed has joined #ruby
tcurdt has quit [Quit: bye bye]
jdj_dk has quit [Remote host closed the connection]
Atrumx has joined #ruby
jheg has joined #ruby
Shidash has quit [Quit: Leaving.]
tectonic has joined #ruby
pierre1_ has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
Lucian has joined #ruby
Lucian has quit [Client Quit]
mechanicalduck has quit [Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145]]
qw3rtman has quit [Quit: Computer has gone to sleep.]
DaniG2k has joined #ruby
timonv_ has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
jamto11 has joined #ruby
o0oo0o has quit [Remote host closed the connection]
o0oo0o has joined #ruby
jottr has joined #ruby
jamto11 has quit [Ping timeout: 272 seconds]
macclearich_ has joined #ruby
fantazo has joined #ruby
Trynemjoel has quit [Quit: Trynemjoel]
macclearich_ has quit [Ping timeout: 264 seconds]
decoponio has quit [Quit: Leaving...]
Morkel has quit [Quit: Morkel]
Trynemjoel has joined #ruby
try has quit [Quit: errrk]
lxsameer has joined #ruby
MartinCleaver has joined #ruby
xmad has joined #ruby
razum2um has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
Photism has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<wasamasa>
guess I have to do a comparison matrix soonish
<robscormack>
+1 for choice, +1 for thor
xuitlacoche has quit [Ping timeout: 255 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
roolo has quit [Quit: Leaving...]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MartinCleaver has quit [Quit: MartinCleaver]
chrishough has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simoz1111116 has quit [Ping timeout: 264 seconds]
CaptainJet has quit [Ping timeout: 264 seconds]
axisys has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m8 has quit [Quit: Sto andando via]
yfeldblum has quit [Remote host closed the connection]
CaptainJet has joined #ruby
lxsameer has quit [Quit: Leaving]
thomasfedb has quit [Ping timeout: 256 seconds]
AndroTux has quit [Quit: Leaving.]
yfeldblum has joined #ruby
renderful has quit [Ping timeout: 250 seconds]
claymore has quit [Quit: night]
olivier_bK has quit [Ping timeout: 256 seconds]
thomasfedb has joined #ruby
davzie has joined #ruby
yokel has quit [Ping timeout: 250 seconds]
RTG`` has quit [Ping timeout: 250 seconds]
renderful has joined #ruby
JoshGlzBrk has joined #ruby
dingus_khan has quit [Remote host closed the connection]
AlSquire has quit [Quit: Quitte]
tectonic has quit [Ping timeout: 255 seconds]
TorpedoSkyline has joined #ruby
kangguru is now known as kangguru_away
<shevy>
what shall I pick now robbyoconnor
<shevy>
I mean robscormack
MartinCleaver has joined #ruby
jay___ has joined #ruby
tectonic has joined #ruby
dawkirst has quit [Remote host closed the connection]
<robscormack>
I'd pick whatever looks better. I love the Choice gem, it's simple and easy to implement.
riotjones has quit [Ping timeout: 272 seconds]
SilkFox has quit [Ping timeout: 264 seconds]
<robscormack>
the one who wrote it is defunkt, he knows what he is doing.
wallerdev has quit [Quit: wallerdev]
riotjones has joined #ruby
wallerdev has joined #ruby
lw has joined #ruby
IteratorP has quit [Remote host closed the connection]
<wasamasa>
well, I'm not so sure about that
<wasamasa>
if he's the author of coffeescript-mode, I ought to punch him
yokel has joined #ruby
<wasamasa>
*coffee-mode
fantazo has quit [Ping timeout: 250 seconds]
<wasamasa>
wonkiest emacs major mode I've ever come across
amclain has joined #ruby
axisys has joined #ruby
tyfighter has quit [Quit: tyfighter]
axisys has quit [Changing host]
axisys has joined #ruby
<wasamasa>
does things like deciding to color everything that's not a comment like a comment, fucks up with auto-indent, doesn't accept tab width settings in a normal manner, ...
ziprar has joined #ruby
<robscormack>
we all have our bad days :P
andrewlio has quit [Remote host closed the connection]
<wasamasa>
I'm glad I don't have to write coffeescript anymore with it
<robscormack>
hahahaha
<wasamasa>
it's pretty bad if your text editor decides to be your enemy with indentation in a language with significant whitespace
<robscormack>
why did you install it, then?
<wasamasa>
so, let's hope his ruby skills are better
<wasamasa>
robscormack: no alternative
<robscormack>
his Ruby skills aren't that bad
<wasamasa>
robscormack: and no, I don't know enough about the language related ones to fix it
<robscormack>
wasamasa, lolwut?
iszak has quit [Quit: Page closed]
<wasamasa>
robscormack: there was no other coffeescript-mode for emacs
nanoyak has joined #ruby
<robscormack>
ah, the open source syndrome: "if you find something that is not working, you MUST fix it or you're not manly enough". That's a myth.
zipace has quit [Ping timeout: 255 seconds]
<wasamasa>
well, I usually hand in bug reports
jdj_dk has joined #ruby
<wasamasa>
but didn't even do that this time, so I should rather stop beating the horse and write moar ruby
<robscormack>
I don't bc I don't have enough time nor knowledge.
robbyoconnor has quit [Excess Flood]
tectonic has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby
<robscormack>
I just teach the basics at the University, and my students spread the word.
benzrf|offline is now known as benzrf
<robscormack>
if you find sth not working you don't need to fix it. if there is something that works better, go with that. That's why I don't use PHP in the first place :D
Lewix has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
<wasamasa>
it's just that actions speak louder than words
<robscormack>
not sure what you mean.
<wasamasa>
if something isn't good and there's no alternative and no way to fix it, write something yourself
danijoo has quit [Quit: Leaving...]
<wasamasa>
can become a burden if it's more successful than planned, but whatever
chipotle has joined #ruby
lw has quit [Quit: s]
<robscormack>
I am doing something in that line now that I remember.
kirun has quit [Quit: Client exiting]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<robscormack>
I use Dreamweaver for one reason: it's the best refactoring tool I can have for HTML, CSS and JavaScript.
tyfighter has joined #ruby
<robscormack>
I'm doing mine based in Nokogiri.
<robscormack>
(and by refactoring I mean changing the directory structure)
robbyoconnor has quit [Excess Flood]
<AntelopeSalad>
robscormack, is it better than frontpage?
robbyoconnor has joined #ruby
macclearich_ has joined #ruby
<robscormack>
not sure, I don't use Windows :B
tectonic has joined #ruby
<benzrf>
dont use frontpage
<benzrf>
write code
<robscormack>
benzrf: I'm db administrator. I suck at HTML :(
<benzrf>
robscormack: how can you suck at html
<benzrf>
html isnt a thing thats possible to suck at