apeiros changed the topic of #ruby to: Ruby 1.9.3-p374: http://ruby-lang.org (ruby-2.0.0-rc1) || Paste >3 lines of text on http://gist.github.com
Guest24700 has joined #ruby
salonloewe has left #ruby [#ruby]
<becom33> Im having ruby 1.9.2.dev the problem is after I install gem when I require the gem it says no such file to load
<becom33> anyone have anyone why >
<becom33> ?
daniel_- has joined #ruby
daniel_- has quit [Changing host]
daniel_- has joined #ruby
tgandrews has quit [Remote host closed the connection]
neku has quit [Quit: Leaving...]
tomzx_ has quit [Read error: Connection reset by peer]
spider-mario has quit [Remote host closed the connection]
TomRone has quit [Ping timeout: 248 seconds]
_bart has joined #ruby
kirun has quit [Quit: Client exiting]
UnnamedUser has joined #ruby
TomRone has joined #ruby
d2dchat has joined #ruby
picca has joined #ruby
mockra has joined #ruby
adkron has joined #ruby
ekr_ has quit [Quit: ekr_]
tfittsy has joined #ruby
elico has quit [Quit: elico]
UnnamedUser has quit [Client Quit]
cardoni has joined #ruby
elico has joined #ruby
elico1 has joined #ruby
elico has quit [Client Quit]
onemanjujitsu has joined #ruby
<elico1> I was wondering if working with binary data in ruby is faster or not?
mockra has quit [Ping timeout: 252 seconds]
picca has quit [Ping timeout: 276 seconds]
<elico1> _bart: Depends on if you compile with debug support
picca has joined #ruby
<workmad3> elico1: sometimes
<workmad3> elico1: which is the best you can get for a completely contextless question ;)
<elico1> thanks..
brianpWins has quit [Quit: brianpWins]
headius has joined #ruby
<elico1> workmad3: I am working with proxies and doing a small research. In the mean while I was talking with some guys on ietf HTTP/2.0 drat.
Umren has quit [Read error: Connection reset by peer]
<elico1> they changed couple things into binary format to gain some performance. while parsing requests. like formatting the request in a LV format.
mxweas has joined #ruby
abcdefg_ has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
<elico1> Lenth [request] Lentgh [uri] lentgh [protocol version]CRLF
Kenum has joined #ruby
<elico1> it should make the request line faster to parse by routing proxy servers for example.
<Kenum> what's the best way to make something with an array, iterating each element and in each element step you ignore the current element?
<workmad3> elico1: tough call to make tbh... you'd basically need to write a parser for both possibilities, profile them, and probably benchmark them in realistic settings too
tomzx_mac has joined #ruby
<Kenum> for instance for [1,2,3] you do something with [2,3] then with [1,3] and then with [1,2]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
<elico1> workmad3: This is what I am doing right now. not for this reason but for another. On the way I will try that.
<Kenum> ah I guess reject is what I am looking for
mneorr has joined #ruby
<workmad3> elico1: it could be faster to process in ruby... might not (depends on the extra complexity needed), but that may be made up for by reducing latency and increasing throughput on the network
<elico1> workmad3: Seems good to me. But Now I'm thinking: a regex or specific parser??
<elico1> regex are slow by default.
baphled has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
ham1 has quit [Quit: Leaving]
shashin has quit [Quit: shashin]
joeycarmello has joined #ruby
hybris has quit [Quit: hybris]
TomRone has quit [Ping timeout: 264 seconds]
robdodson has joined #ruby
shashin has joined #ruby
<robdodson> can I ask a newbie ruby question here… I'm trying to get bundler to install everything under my :development group on heroku via the heroku bash shell. But I can't figure out how to make it work. I tried setting RACK_ENV to development but that didn't seem to help. Any thoughts?
joeycarmello has quit [Ping timeout: 256 seconds]
macmartine has joined #ruby
maletor has joined #ruby
hadees has quit [Quit: hadees]
jetblack has joined #ruby
braoru has quit [Remote host closed the connection]
headius has quit [Quit: headius]
dmerrick has quit [Quit: dmerrick]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
baphled has quit [Ping timeout: 240 seconds]
techhelp has joined #ruby
mercwithamouth has joined #ruby
onemanjujitsu has quit [Quit: onemanjujitsu]
Targen has joined #ruby
Guest75504 has joined #ruby
Guest75504 has quit [Read error: Connection reset by peer]
meoblast has joined #ruby
atmosx has joined #ruby
tenmilestereo has quit [Quit: Leaving]
onemanjujitsu has joined #ruby
Michael_ is now known as mhf
marr has quit [Ping timeout: 245 seconds]
jamescarr has joined #ruby
tealmage has joined #ruby
danneu has quit [Ping timeout: 252 seconds]
<Spooner> Kenum [1,2,3].combination(2).to_a #=> [[1, 2], [1, 3], [2, 3]]
apeiros_ has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<Kenum> Spooner: that is very expressive, thanks
adkron has quit [Ping timeout: 276 seconds]
samuel02 has quit [Remote host closed the connection]
staafl has joined #ruby
danneu has joined #ruby
samuel02 has joined #ruby
eka has joined #ruby
apeiros_ has quit [Ping timeout: 276 seconds]
jasonwilliams has joined #ruby
samuel02 has quit [Ping timeout: 264 seconds]
emergion has joined #ruby
<jasonwilliams> hello, new here. aside from being a programming language which establishes tcp/udp connections what is the purpose of ruby
robdodson has quit [Quit: robdodson]
angusiguess has joined #ruby
<fryguy> jasonwilliams: it's just a general purpose programming language
robotmay has quit [Ping timeout: 245 seconds]
keymone has quit [Quit: keymone]
brianpWins has joined #ruby
<jasonwilliams> fryguy: ok thanks,
charliesome has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
f0ster has quit [Read error: Connection reset by peer]
jasonwilliams has left #ruby [#ruby]
rakl has quit [Quit: sleeping]
mhf has quit [Remote host closed the connection]
gosshedd has quit [Ping timeout: 245 seconds]
ij has quit [Ping timeout: 260 seconds]
TomRone has joined #ruby
TheFuzzball has quit [Quit: Computer has gone to sleep.]
mercwithamouth has quit [Ping timeout: 244 seconds]
kylescottmcgill has joined #ruby
m8 has quit [Quit: Sto andando via]
<Kenum> In array subtraction it removes the unique elements. [1,2,3] - [2,3] => [1]. But how can I remove it based on the number of occurrences? So that [3,3,3] - [3,3] => [3] =
<Kenum> ?
mockra has joined #ruby
brianpWins has quit [Quit: brianpWins]
LazyBrian has left #ruby [#ruby]
<kylescottmcgill> Whats the naming convention for the %s/w/i string stuff?
noxoc has quit [Ping timeout: 245 seconds]
Bry8Star has quit [Read error: Connection reset by peer]
end_guy has quit [Write error: Broken pipe]
<whitequark> Kenum: #delete
mengu has quit [Quit: This computer has gone to sleep]
withnale has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
<whitequark> kylescottmcgill: symbol/words/string literal
mercwithamouth has joined #ruby
<whitequark> maybe percent-literal if you want to be specific
<kylescottmcgill> whitequark: ok thanks, im interested to see what others there are, but google doesnt help without knowing somewhat what the names are :s
mockra has quit [Ping timeout: 244 seconds]
reinaldob has quit [Remote host closed the connection]
bricker`LA has joined #ruby
bricker`LA is now known as bricker
<whitequark> kylescottmcgill: sSwWrqQi
<whitequark> Uppercase = interpolated, except regex, which is always interpolated
<whitequark> i = symbol words, 2.0 only
noxoc has joined #ruby
<kylescottmcgill> awesome, also are you using 2.0? is it nice? or vastly different or?
<whitequark> kylescottmcgill: not yet. there aren't many changes. it should have various minor niceties.
<kylescottmcgill> awesome
<whitequark> the refinements feature is experimental (and controversional) yet and shouldn't be used in portable code.
RagingDave has quit [Quit: Ex-Chat]
mattbl has joined #ruby
noxoc has quit [Client Quit]
moos3 has joined #ruby
jamescarr has quit [Quit: jamescarr]
nateberkopec has quit [Quit: Leaving...]
MattRB has quit [Ping timeout: 245 seconds]
w11_sp has joined #ruby
jamescarr has joined #ruby
<kylescottmcgill> ty, will keep that in mind for now :)
w11_sp has left #ruby [#ruby]
mfridh has quit [Read error: Operation timed out]
staafl has quit [Ping timeout: 255 seconds]
end_guy has joined #ruby
<Kenum> How can I compute the array product on an array of arrays?
nazty has joined #ruby
havenn has quit [Remote host closed the connection]
postmodern has joined #ruby
Spooner has quit [Remote host closed the connection]
s1n4 has joined #ruby
Takehiro has joined #ruby
icole has joined #ruby
VegetableSpoon has joined #ruby
<swarley> Is there a way to prevent (?-mix:) in embeded regex?
yacks has joined #ruby
nfk has quit [Quit: yawn]
Bosma_ has joined #ruby
Bosma_ is now known as Bosma
Bosma has quit [Client Quit]
Takehiro has quit [Ping timeout: 252 seconds]
Bosma has joined #ruby
mhf has joined #ruby
ebobby has joined #ruby
nomenkun_ has joined #ruby
ferdev has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
picca has left #ruby [#ruby]
jimeh has quit [Quit: Computer has gone to sleep.]
maletor has quit [Quit: Computer has gone to sleep.]
EPIK has joined #ruby
plotter has joined #ruby
s1n4 has quit [Quit: leaving]
Virunga has joined #ruby
plotter has quit [Remote host closed the connection]
mfridh has joined #ruby
mxweas has quit [Quit: Computer has gone to sleep.]
Nisstyre-laptop has quit [Quit: Leaving]
icole has quit [Remote host closed the connection]
Kuifje has quit [Ping timeout: 264 seconds]
Nisstyre-laptop has joined #ruby
TomJ_ has joined #ruby
TomJ_ has quit [Changing host]
TomJ_ has joined #ruby
onemanjujitsu has quit [Quit: onemanjujitsu]
davidcelis has quit [Quit: K-Lined.]
erichmenge has quit [Quit: Arrivederci!]
eka has quit [Quit: Computer has gone to sleep.]
hadees has joined #ruby
davidcelis has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
Evixion has quit [Quit: Leaving]
TomJ has quit [Ping timeout: 264 seconds]
TomJ_ is now known as TomJ
erichmenge has joined #ruby
mikepack has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
atmosx has quit [Quit: And so the story goes…]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
shashin has quit [Quit: shashin]
jamescarr has quit [Quit: jamescarr]
ebobby has quit [Ping timeout: 252 seconds]
mikepack has quit [Ping timeout: 256 seconds]
lifestream has joined #ruby
lifestream has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
* becom33 need a regex help http://pastebin.com/XMy9gEGS trying to get chars in between $ and =
jonathanwallace2 has quit [Ping timeout: 256 seconds]
jonathanwallace has joined #ruby
cardoni has quit [Quit: cardoni]
<slash_nick> look Nissan's selling their Nissan QUEST starting at 25,990... becom33 string.match(/^\$(.+)=/)
<slash_nick> that includes the $ and =
Nisstyre-laptop has quit [Quit: Leaving]
dustint has joined #ruby
<danneu> str[/\$([^\=]+)/, 1]
shashin has joined #ruby
mxweas has joined #ruby
mockra has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Jeaye_ has joined #ruby
<danneu> i think "all chars until X" incurs backtrack penalty.
Jeaye has quit [Read error: Connection reset by peer]
xpen has joined #ruby
mockra has quit [Ping timeout: 244 seconds]
forced_request has joined #ruby
mneorr has quit [Remote host closed the connection]
drago757 has quit [Quit: drago757]
Bosox20051 has quit [Remote host closed the connection]
<becom33> I have a another problem Im doing this socket programing . after reponsing for the command which I capture trough "method.gets" the server responds with more details . I can see them trought telnet but my script doesnt capture them . how can I fix it
anderse_ has joined #ruby
voodoofish has quit [Ping timeout: 255 seconds]
anderse has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
Hanmac1 has joined #ruby
h4mz1d has joined #ruby
<dcope> anyone using the mp3info gem? i can't figure out how to recover from errors when open()ing a file
Hanmac has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Ping timeout: 245 seconds]
Ortuna has joined #ruby
Jeaye_ is now known as Jeaye
tjbiddle has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
tjbiddle has joined #ruby
cosmo115 has quit [Remote host closed the connection]
xpen has quit [Remote host closed the connection]
Takehiro has quit [Ping timeout: 260 seconds]
aedornm has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
xpen has joined #ruby
voodootaco has joined #ruby
jaequery has joined #ruby
jaequery has quit [Client Quit]
Asher has quit [Read error: No route to host]
Asher has joined #ruby
jaequery has joined #ruby
<becom33> http://pastebin.com/Nxyfh345 this strip function doesn't work . any idea why ?
* becom33 help ?
shashin has quit [Quit: shashin]
innohero has joined #ruby
mhf has quit [Remote host closed the connection]
<aedornm> becom33: strip only strips new lines at the beginning or end of a string. Since you have \r\n77 at the end, it won't do anything.
elico has joined #ruby
mhf has joined #ruby
mattbl has quit [Quit: This computer has gone to sleep]
nga4 has quit []
tealmage has quit [Remote host closed the connection]
elico has quit [Client Quit]
tealmage has joined #ruby
Beoran_ has joined #ruby
idkazuma has quit [Remote host closed the connection]
Beoran__ has quit [Read error: Operation timed out]
daniel_- has quit [Ping timeout: 264 seconds]
statarb3 has quit [Ping timeout: 244 seconds]
RurouniJones has quit [Remote host closed the connection]
ebobby has joined #ruby
VegetableSpoon has quit [Quit: Leaving]
mhf has quit [Read error: Connection reset by peer]
xpen_ has joined #ruby
mneorr has joined #ruby
mhf has joined #ruby
freakazoid0223 has quit [Quit: Leaving]
roadt_ has joined #ruby
ebobby has quit [Ping timeout: 256 seconds]
xpen has quit [Ping timeout: 245 seconds]
Takehiro has joined #ruby
xpen_ has quit [Remote host closed the connection]
xpen has joined #ruby
Virunga has quit [Remote host closed the connection]
nari has joined #ruby
cardoni has joined #ruby
Takehiro has quit [Ping timeout: 252 seconds]
jaequery has quit [Quit: Computer has gone to sleep.]
adkron has joined #ruby
mneorr has quit [Remote host closed the connection]
gurps has quit [Quit: bye]
mockra has joined #ruby
jrafanie has joined #ruby
yshh has joined #ruby
h4mz1d has quit [Ping timeout: 255 seconds]
mockra has quit [Ping timeout: 248 seconds]
danneu has quit [Quit: WeeChat 0.3.8]
pskosinski has quit [Quit: Drama: Open source spirit according to Quinton Reeves, Red Eclipse developer: http://pawelk.pl/quinton-reeves]
danneu has joined #ruby
aaronmcadam has quit [Quit: aaronmcadam]
meoblast has quit [Read error: Connection reset by peer]
niklasb has quit [Ping timeout: 260 seconds]
mxweas has quit [Quit: Computer has gone to sleep.]
ekr has joined #ruby
<jokke> hey folks. I need to know if theres some selective human-readable and editable "serialization"-method available? With selective i mean, that i have hooks in the class i want to serialize (or rather an instance of it), which allow me to define what is saved, and what isn't (will be regenerated with a load hook).
agarie has joined #ruby
otters has joined #ruby
<jokke> i'm really bad at forming questions..
subbyyy has joined #ruby
<jokke> i hope you can get the gist of it thouhg.
xemu has quit [Ping timeout: 264 seconds]
bean__ has joined #ruby
nari has quit [Ping timeout: 245 seconds]
<heftig> jokke: the dump-load protocol of Marshal is also implemented by YAML (human-readable) and JSON (human-readable, but not extendable)
MattRB has joined #ruby
agarie has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
yshh has quit [Remote host closed the connection]
jaequery has joined #ruby
Ortuna has quit [Quit: Textual IRC Client: www.textualapp.com]
yshh has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
<Kenum> How can I write: a.each{|e1| b.each {|e2| c.each {|e3| ... } } } more general so that it works for an arbitrary number of enumerations, not only a,b,c but a,b,c,d,e,f... ?
Takehiro has joined #ruby
jaequery has quit [Quit: Computer has gone to sleep.]
Takehiro has quit [Ping timeout: 248 seconds]
dmerrick has joined #ruby
Nisstyre-laptop has joined #ruby
jrajav has quit [Ping timeout: 255 seconds]
rramsden has quit [Quit: leaving]
main_ has quit [Ping timeout: 244 seconds]
<bean__> Kenum: I'd doubt that you can.
<bean__> Unless all A's are contained in a single object
<Kenum> bean__: yes, I guess in this case it would be an array containg all the A's. I have found a solution to this
<Kenum> after all I only want to compute my own cartesian product, but with yield so I don't have to store all the results
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<heftig> you could create the cartesian product of all those arrays first, then enumerate over the result
yshh has quit [Remote host closed the connection]
<heftig> that however, is not lazy
chrishough has joined #ruby
charliesome has joined #ruby
thinkclay has joined #ruby
willb has quit [Ping timeout: 248 seconds]
jrafanie has quit [Quit: jrafanie]
<heftig> Kenum: enum = lambda { |arr,*elems,&blk| if arr.empty?; blk.call(*elems); else first, *rest = arr; first.each { |x| enum.call(rest,*elems,x,&blk) } end }
<heftig> Kenum: enum.call([a,b,c]) { |*elems| p elems }
<heftig> recursive tricks
<heftig> probably rather inefficient, though
<Kenum> heftig: thanks, yes. I am afraid efficiency is my core problem
onemanjujitsu has joined #ruby
willb has joined #ruby
Tarential has quit [Excess Flood]
Tarential has joined #ruby
thinkclay has left #ruby [#ruby]
yshh has joined #ruby
<Boohbah> heftig: let's rewrite pacman in ruby!
<heftig> no thanks
<heftig> it
<heftig> it'd end up slowass
<Boohbah> true
Guest51824 has quit [Ping timeout: 255 seconds]
mockra has joined #ruby
tomzx_mac has quit [Ping timeout: 256 seconds]
<RubyPanther> nonsense, in Ruby you'd write all the graphics libs in C and the game logic in Ruby and it would be fast ;)
ekr has quit [Quit: ekr]
`brendan has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
techhelp has quit [Quit: This computer has gone to sleep]
<wmoxam> Boohbah: heftig : See #gosu & http://www.libgosu.org/
<wmoxam> FYI, you can write a js + html version of pacman and it'll run fast :p
<Boohbah> i was referring to the archlinux package manager, not the classic namco arcade game :)
<wmoxam> Boohbah: oh, well ruby could do that too
<jokke> heftig: yes i use yaml now, but the problem is, that much unnecessary stuff gets dumped. I don't need that, because it can be regenerated with a load hook.
<wmoxam> Boohbah: OpenBSD's poackage tools are all written in Perl
aapzak has quit [Ping timeout: 240 seconds]
<jokke> i want a selective dump
<Boohbah> wmoxam: and gentoo portage in python
<Boohbah> but pacman is really fast and i am afraid ruby would slow it down
<wmoxam> Boohbah: I really don't see why
adkron has quit [Ping timeout: 264 seconds]
<jokke> why would you wanna rewrite pacman?
aapzak has joined #ruby
<wmoxam> I guess for similar reasons that compelled people to write homebrew
<jokke> hm
<wmoxam> (I'm still not sure what they are exactly)
<Boohbah> libalpm
<jokke> i'd get it if you wanna add some extra functionality or so..
<jokke> what i think would be great is an aur helper written in ruby
<Boohbah> i wasn't serious about rewriting pacman in ruby, only a silly thought
<Boohbah> but an aur helper is more realistic
<Boohbah> although we don't need any more aur helpers
<jokke> that's true
<jokke> have you tried aura?
<Boohbah> nope, i use yaourt
<Boohbah> and makepkg
<jokke> yeah i switched from yaourt to aura a few weeks ago
io_syl has quit [Ping timeout: 244 seconds]
<jokke> aura its pretty cool. Has some cool features like auto-removing build deps and continuing to update, even when a previous package failed.
<jokke> *is
<jokke> heftig: awesome!
<jokke> thanks!
ekr has joined #ruby
beaky has quit [Quit: Lost terminal]
skbierm has quit [Quit: Verlassend]
mhf has quit [Remote host closed the connection]
mhf has joined #ruby
becom33 has quit [Quit: Leaving]
Markvilla has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
dhruvasa1ar has joined #ruby
mneorr has joined #ruby
emmanuelux has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
Markvilla has quit [Client Quit]
nateberkopec has joined #ruby
vlad_starkov has joined #ruby
mneorr has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Client Quit]
bigmac has quit [Quit: Leaving]
atno has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
jaequery has joined #ruby
decoponio has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
frogstarr78 has quit [Remote host closed the connection]
yshh has quit [Remote host closed the connection]
mxweas has joined #ruby
nari has joined #ruby
sorbo_ has joined #ruby
Takehiro has joined #ruby
yshh has joined #ruby
jeer has quit [Remote host closed the connection]
jeer has joined #ruby
havenn has joined #ruby
bricker has quit [Ping timeout: 276 seconds]
bricker`LA has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
MattRB has quit [Quit: This computer has gone to sleep]
bricker`LA is now known as bricker
tealmage has quit [Remote host closed the connection]
havenn has quit [Ping timeout: 248 seconds]
dyeske has quit [Remote host closed the connection]
sorbo_ has left #ruby [#ruby]
ekr has quit [Quit: ekr]
icole has joined #ruby
bean__ has quit [Quit: Computer has gone to sleep.]
onemanjujitsu has quit [Quit: onemanjujitsu]
danneu has quit [Ping timeout: 245 seconds]
icole has quit [Ping timeout: 248 seconds]
jaequery has quit [Quit: Computer has gone to sleep.]
plotter has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
benlieb has quit [Quit: benlieb]
jfelchner has quit [Ping timeout: 252 seconds]
jfelchner has joined #ruby
cardoni has quit [Quit: cardoni]
<Boohbah> 05:56 < gtmanfred> aura is really really really shitty haskell
<Boohbah> jokke: ^
mhf has quit [Remote host closed the connection]
cardoni has joined #ruby
frogstarr78 has joined #ruby
mhf has joined #ruby
mhf has quit [Remote host closed the connection]
emergion has joined #ruby
Takehiro has joined #ruby
mahmoudimus has joined #ruby
adeponte has joined #ruby
slash_nick has quit [Quit: Lost terminal]
io_syl has joined #ruby
forced_request has quit [Read error: Connection reset by peer]
frogstarr78 has quit [Remote host closed the connection]
<jokke> hm
<jokke> might be
<jokke> dunno
Takehiro has quit [Ping timeout: 245 seconds]
cardoni has quit [Quit: cardoni]
ekr has joined #ruby
cardoni has joined #ruby
ekr has quit [Client Quit]
n1x has quit [Remote host closed the connection]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
jphpsf has joined #ruby
adkron has joined #ruby
mhf has joined #ruby
danneu has joined #ruby
davidcelis has quit [Quit: K-Lined.]
erichmenge has quit [Quit: Arrivederci!]
hackerdude has joined #ruby
davidcelis has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
cantonic has quit [Quit: cantonic]
erichmenge has joined #ruby
techhelp has joined #ruby
jesly has joined #ruby
davidcelis has quit [Client Quit]
erichmenge has quit [Client Quit]
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
erichmenge has joined #ruby
locriani_ has joined #ruby
locriani has quit [Read error: Connection reset by peer]
mxweas has quit [Quit: Computer has gone to sleep.]
dhruvasa1ar has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 252 seconds]
mxweas has joined #ruby
chendo_ has quit [Ping timeout: 276 seconds]
<robert_> shevy: haai! :D
onemanjujitsu has joined #ruby
<robert_> hm, can I have a normal parameter and a splat in a method?
chendo_ has joined #ruby
mhf has quit [Remote host closed the connection]
Takehiro has joined #ruby
mhf has joined #ruby
joofsh has quit [Remote host closed the connection]
aedornm has quit [Quit: Leaving]
uris has quit [Quit: Leaving]
Takehiro has quit [Ping timeout: 264 seconds]
rakl has joined #ruby
subbyyy has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 244 seconds]
MattRB has joined #ruby
benlieb has joined #ruby
wookiehangover has quit [Quit: i'm out]
havenn has joined #ruby
wookiehangover has joined #ruby
jesly has quit [Quit: Page closed]
JumpMast3r has quit [Quit: JumpMast3r]
sayan has joined #ruby
djbender has joined #ruby
TomyLobo has quit [Quit: Standby mode...]
<danneu> yes
<robert_> I'm trying to do something like:
<danneu> both as args? splat arg will soak the rest up
kylescottmcgill has quit [Quit: WeeChat 0.3.8]
<robert_> def process_schedule(dataset,*params) ... end
<robert_> and somehow dataset
<robert_> gets what's in the splat o.0
adeponte has quit [Remote host closed the connection]
aantix has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<danneu> robert_: what do you mean?
<danneu> what's an example of args you'd pass in
<shevy> robert_ hey there
<robert_> I'm trying to pass in something like
<danneu> process_schedule(1, 2, 3) -> dataset==1, params==[2, 3]
<robert_> self.process_schedule :this => that, :foo => bar do ... end
<robert_> and
<robert_> self.process_schedule dataset, :this => that, :foo => bar do ... end
cardoni has quit [Quit: cardoni]
<shevy> def foo(a,*b); puts "This is a: #{a}"; puts "This is b: #{b}"; end
<shevy> foo('a','b','c','d','e')
<shevy> This is a: a
<shevy> This is b: bcde
<shevy> robert_ your first example passes in a hash
Takehiro has joined #ruby
ahokaomaeha has quit [Ping timeout: 252 seconds]
<shevy> foo({'cat' => 'black'})
<shevy> This is a: catblack
<shevy> This is b:
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
techhelp has quit [Quit: This computer has gone to sleep]
v0n has quit [Read error: Connection reset by peer]
<danneu> robert_: basically, when you're passing in key-val pairs, it's treated as one hash
<shevy> robert_ say something!!!
mockra has quit [Remote host closed the connection]
<shevy> wmoxam wow... why did they use perl and not ruby?
<robert_> I want an optional instance variable to be able to be passed in before my splat
<shevy> Boohbah but this is unfair, pacman is written in C, how could any scripting language compare to C in terms of speed...
<danneu> robert_: one method is to just process the inputs in the method if you want flexibility in your method signature.
<shevy> robert_ not easily possible. you could assign it to this ivar, and check for nil in case it was not provided, but you can not easily avoid the first parameter like that
toekutr has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<shevy> you need to think how the ruby parser sees what you try to feed it
<robert_> yeah
<shevy> so how do you want to feed it exactly :D
<danneu> well, it's easily possible if you just did a check on dataset. if it's a hash `process(a: 1, b: 2)`, the you could `params = dataset` and continue through the method.
<shevy> yeah
<shevy> if a.is_a? Hash # assume that we omitted the first argument, thus treat everything as a hash)
<danneu> i did somethig similar recently. i'm not sure if there's a better idiom but that's simple and it works
<robert_> shevy: pacman is nice. :D
<shevy> pacman does not allow me to use appdirs!!!
n1x has joined #ruby
<shevy> I am gonna make a distribution one day with the sole goal to abolish all other distributions
arietis has joined #ruby
<danneu> are you talking about arch linux?
<shevy> who? I?
<danneu> nvm. i'm already in over my head
<shevy> cuz pacman is used on a few non-archlinux distributions too, is why I ask back :P
<shevy> frugalware for instance
cardoni has joined #ruby
<danneu> ah, i tried arch linux for a split second
<shevy> there are like at least 12 different package managers out there
<robert_> I like pacman
<robert_> shevy: what about appdirs now?\
<shevy> I think debian leads the list via dpkg/apt-get/aptitude, one just has to look at top ten on distrowatch
<shevy> robert_ I want to be able to install 100% of any given package, neatly arranged into one (ideally standalone) versioned directory
onemanjujitsu has quit [Quit: onemanjujitsu]
<danneu> haters gonna hate, but i like homebrew
<shevy> the FHS does not allow for this. first most distributions by default do not give you 100%, they give you like 50% of a package, then you must install the rest like -dev
elico has joined #ruby
<shevy> and it spreads the files directly into /usr so you can not easily remove that on your own anymore, which is why you then need the package manager to clean up that mess
<whitequark> shevy: this actually has nothing to do with a package manager
<whitequark> package manager implies resolving dependencies
<shevy> whitequark and WHERE do they install the files?
<whitequark> there is a linux distro where each package is contained in their own folder
<shevy> you can not have a "package manager" without installing files
<whitequark> yeah yeah. the particular layout is irrelevant
<shevy> if you refer to gobolinux, it sadly died :( but it was a really cool idea
cardoni has quit [Client Quit]
<whitequark> when faced with a trivial choice, select the one which is most supported
<shevy> there is no alternative to the FHS
ananthakumaran has joined #ruby
alekst has joined #ruby
balr0g has joined #ruby
sayan has quit [Quit: Leaving]
<balr0g> hello, i just compiled and installed Ruby 1.9.3 from sources... now on IRB console i got strange behaviour with arrow keys... usually this is curses and readline problems, am i right?
<balr0g> i saw messages saying things about curses and readline not found or not installed
<balr0g> am i right? how to solve? installing those dependencies on my system?
<shevy> balr0g yeah
<shevy> let me ask - do you use a debian based system
<balr0g> shevy, yes, Ubuntu ...
<shevy> yeah I suspected so
<shevy> if you are sure you want to compile from source
<balr0g> so..? build-essentials or something?
<shevy> you will need to have readline header files and ncurses header files
<shevy> I dont think build-essentials will help here, as this one installs only gcc toolchain stuff right? so you would still not have readline and ncurses header files
<shevy> try apt-search for readline and curses, then apt-get install, then go into the ruby*/ source directory
rakl has quit [Quit: sleeping]
<danneu> balr0g: is there a reason you compiled ruby yourself instead of using rvm
<shevy> you will find all those addons in the ext/ subdirectory there
<shevy> cd ext/readline/
<havenn> balr0g: Good list of MRI dependencies: https://github.com/postmodern/chruby/wiki/MRI
<balr0g> danneu, shevy , im following this: http://rubyonrails.org/download so... i went to compile by hand...
onemanjujitsu has joined #ruby
<shevy> in this directory do: ruby extconf.rb;make;make install
quest88 has joined #ruby
<shevy> dont tell me, you make the choices, not I, I dont care what choices you make, I just try to help you with the choices you make :)
<danneu> balr0g: i recommend using rvm. it makes these issues easy to google/fix.
freeayu has quit [Ping timeout: 255 seconds]
<danneu> even tells you what dependencies you need to install for your system
<balr0g> danneu, how to "remove" my actual Ruby installation to use rvm ?
<shevy> balr0g you always must decide how you want to solve a given problem. rvm is one way, compiling from source another. but you need to make those decisions yourself
<shevy> ah, another way to solve this is to ask ubuntu how to get those addons via apt-get ;)
aryasam has joined #ruby
<danneu> balr0g: rvm will coexist with system ruby. you can just forget system ruby is even installed.
<havenn> balr0g: I'd really like chruby, minimalist and gets the job done: https://github.com/postmodern/chruby
<shevy> rvm will install into your home dir
<balr0g> shevy, yeah, i understand that... but maybe is better decision to use rvm... in this case i dont need to mandatory compile...
<shevy> if you dont need the other ruby, you can kill it... /usr/bin/ruby*
mockra has joined #ruby
rakl has joined #ruby
<shevy> and /usr/lib/ruby* ... also perhaps in /usr/local/lib
<danneu> balr0g: 'rvm install 1.9.3', 'rvm use 1.9.3 --default'.
MattRB has quit [Quit: This computer has gone to sleep]
<danneu> if you want 2.0.0, it's just a 'rvm install 2.0.0' away.
<shevy> also /usr/bin/irb*
<shevy> or just apt-get remove ruby or something, I am sure there is a way on ubuntu to do this
<danneu> i wouldnt even worry about removing system ruby
<shevy> I would recommend to kill all rubies except the one you will use
<danneu> i collect rubies
<danneu> you can never have too many
<balr0g> lol
freeayu has joined #ruby
<balr0g> danneu, 2.0.0 is ok for last version of Rails 3.2 ?
<danneu> balr0g: yeah
<danneu> balr0g: cut my rails boot speed in half
<shevy> danneu I too, but I install them into appdirs
<shevy> hmm I dont have 2.0.0 yet
<balr0g> shevy, so *kill* those dirs, is just delete them?
aantix_ has joined #ruby
<shevy> balr0g are you sure you made the decision? if so, try to remove it the ubuntu-clean way first
<shevy> I forgot how you do that on ubuntu, surely there is a way to uninstall ruby
<shevy> I usually dont care, I remove dpkg and apt-get and kill all by hand, then compile ruby from source, then compile everything else from source via ruby scripts
<balr0g> shevy, i installed by compilation... apt-get will catch it anyway?
<danneu> no
<shevy> what --prefix did you use?
vlad_starkov has joined #ruby
<balr0g> shevy, i didnt use any command line option, just commands by default... so it will be system default
<shevy> apt-get acts on the dpkg database as far as I know, normal configure/make/make install does not use it, so apt-get has no idea what you did balr0g
<shevy> ok so it must have defaulted to /usr/local then
<shevy> look into /usr/local/bin
innohero has quit [Ping timeout: 246 seconds]
aantix_ has left #ruby [#ruby]
<shevy> but next time please say that you used "./configure" as command alone :D
freezway has quit [Ping timeout: 264 seconds]
_bry4n has joined #ruby
aantix_ has joined #ruby
<balr0g> shevy, there are 8 ruby items...
<shevy> hey, you can kill them all
<shevy> you will still have the system ruby at /usr/bin/ruby*
<shevy> you could even remove /usr/local/ directory
<shevy> if you would compile something anew, make would create that directory
<shevy> or rather, "install" will
razibog has quit [Ping timeout: 240 seconds]
nyrb has quit [Ping timeout: 260 seconds]
<shevy> the /usr/bin/install :D
tjbiddle has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
aryasam has quit [Ping timeout: 255 seconds]
<balr0g> shevy, so what about /usr/local/lib/ruby ?
<shevy> told you, you can remove /usr/local
<shevy> so logically, you can kill /usr/local/lib/ruby
<shevy> hmm you must be careful though
dhruvasagar has joined #ruby
dhruvasa1ar has joined #ruby
<shevy> I think debian installs gems into /usr/local hierarchy, cuz they are weird
<shevy> "gem env" might show that
<shevy> but as I wrote before
<danneu> system ruby can be useful to keep around
<shevy> if I were you, I would use ONE ruby, and remove everything else
<shevy> balr0g as you see, danneu recommends something else ;) so you must decide
<danneu> choose wisely
<danneu> there is no going back
<shevy> hehehe
<danneu> frankly it sounds like youve wasted enough time. you can save the sys stuff for another day. get ruby running
<danneu> start coding something
<balr0g> hmm..
tjbiddle has quit [Ping timeout: 252 seconds]
<balr0g> i dont like the idea of delete /usr/local , there are other stuff there apart from ruby
<danneu> one of the design purposes of rvm is that it just ignores everything else. then one day if youre done with rvm, you just 'rvm implode' and move on with your life
<shevy> balr0g you dont have to defend your decisions
<shevy> as I wrote before, I dont care at all what decisions you make, you only need to make them by yourself
<balr0g> hehe, shevy, in this case im just trying to understand why im taking one decision or another... just to learn from them
<shevy> I can tell you how I use ruby since about 6 years - I compile from source into prefix /Programs/Ruby/VERSION_HERE i.e. VERSION_HERE becomes 1.9.3p374/
<shevy> balr0g but then you would have to understand why ubuntu uses ruby in quite that way
<danneu> i dont know much about system linux but just looking at my own /usr/local it doesnt seem like something id want to delete either
<shevy> i.e. why Readline isn't working by default
<shevy> I was too lazy to try to understand the debian guys. I remove their stuff and use my own ruby and it works nicely for me
<shevy> you can 100% be sure to remove /usr/local because the FHS mandates that /usr/local is for installing locally: http://www.pathname.com/fhs/2.2/fhs-4.9.html
<shevy> in other words, no critical packages are allowed to reside there
<openstandards> balr0g: i don't know much about ruby but rvm is lovely and supported by multiple distros too :)
<shevy> and since debian is following the FHS, they will follow it
<shevy> can anyone tell me why the FHS mandates a /usr/local/games directory ;)
onemanjujitsu has quit [Quit: onemanjujitsu]
<balr0g> danneu, if i install rvm with rails, will it install ruby automatically?
<shevy> balr0g btw, why did you decide to not use the debian-ruby?
adeponte has joined #ruby
zeepickler has joined #ruby
zeepickler has quit [Read error: Connection reset by peer]
<balr0g> shevy, do you mean the one installed with apt-get install ruby ?
<shevy> balr0g yes
<balr0g> shevy, at least here in Ubuntu, i think it will install some lower version than the last one...
<shevy> aha ok
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
sn0wb1rd has quit [Quit: I will be right back]
<shevy> seems as if you should get the libreadline5-dev package though
zeepickler has joined #ruby
zeepickler has quit [Client Quit]
<balr0g> yeah shevy , i think i lack that dependency before compile ruby by hand...
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<shevy> yeah
<balr0g> so, rvm will install that?
DuncanNZ has joined #ruby
<danneu> balr0g: just install rvm alone
jitendra has joined #ruby
<mnemon> there won't be any critical apps in /usr/local but you might break some non-critical(from the system perspective, not your apps ...) and make install'd software by deleting it ...
<danneu> balr0g: after all, the step to install ruby is 'rvm install 1.9.3'. and installing rails is 'gem install rails'..
<shevy> rvm will not install libreadline as far as I know
RurouniJones has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
<danneu> once you install rvm, it'll give you a list of deps you'll be apt-getting
<danneu> 'rvm requirements'
<balr0g> ok, then here i go: \curl -L https://get.rvm.io | bash -s stable
<openstandards> insert that into the terminal
<danneu> get ready for anticlimactic event
<danneu> haha
<balr0g> lol
Umren has joined #ruby
<openstandards> balr0g: worth reading about rvm
<danneu> once it runs, open up a new terminal and run 'type rvm | head -n 1' to verify that it worked
browndawg has joined #ruby
<shevy> good luck balr0g
<openstandards> you can create whats called a gemset which will sort out gems into projects if you'd wish :)
<shevy> dont allow them to confuse you
<shevy> you have only one goal in your life right now - get rvm to work
tjbiddle has joined #ruby
<balr0g> shevy, thanks for help and time =)
<balr0g> danneu: rvm is /home/gothmog/.rvm/bin/rvm
<shevy> does it work already?!?!
<shevy> next time I am gonna say "install rvm" ...
<shevy> that's like a 1 minute problem-solving
aantix has quit [Quit: aantix]
aantix_ is now known as aantix
<balr0g> danneu, i didnt delete the previous installation by compilation of 1.9.3, but i want 2.0.0 and use it, how to tell to use 2.0.0
<balr0g> shevy, just rvm, not Ruby
<openstandards> rvm install 2.0.0 --default
xAndy is now known as xandy
<openstandards> that will install 2.0.0 and make it default
DrCode has joined #ruby
ttt has joined #ruby
tjbiddle has quit [Ping timeout: 256 seconds]
dhruvasa1ar has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
<openstandards> sorry can someone help me figure out how i'd be able to parse this hash, i'm quite new to ruby
quest88 has quit [Quit: quest88]
lusory has quit [Read error: Connection reset by peer]
tjbiddle has joined #ruby
hrs has joined #ruby
<balr0g> it seems still using 1.9.3 ... @ openstandards , danneu
ttt has quit [Remote host closed the connection]
ttt has joined #ruby
ttt has quit [Remote host closed the connection]
sepp2k has joined #ruby
ttt has joined #ruby
neku has joined #ruby
Zachery has joined #ruby
benlieb has quit [Quit: benlieb]
Zachery has quit [Client Quit]
adeponte has quit [Remote host closed the connection]
<openstandards> sorry no idea then
mxweas has quit [Quit: Computer has gone to sleep.]
cardoni has joined #ruby
<balr0g> and use outputs this: http://pastebin.ca/2310229
ananthakumaran has quit [Read error: Connection reset by peer]
ananthakumaran1 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<openstandards> balr0g open a new terminal window and type this
<openstandards> type rvm | head -1
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
djbender has quit [Quit: leaving]
<balr0g> openstandards, http://pastebin.ca/2310231
cardoni has quit [Ping timeout: 260 seconds]
<openstandards> source ~/.rvm/scripts/rvm
<openstandards> do that and then reopen another terminal
robustus has quit [Ping timeout: 255 seconds]
<balr0g> openstandards, ready
adeponte has joined #ruby
mxweas has joined #ruby
robustus has joined #ruby
xpen has quit [Remote host closed the connection]
moshee has quit [Ping timeout: 260 seconds]
xpen has joined #ruby
<openstandards> try that command i gave you with type.... etc
moshee has joined #ruby
<openstandards> it should report back with rvm is a function
<balr0g> openstandards, this is in the new terminal http://pastebin.ca/2310234
<Jeaye> Suggested OpenGL 3.3+ libs? (Ray is the only seemingly up-to-date one I've found)
<xbayrockx> best area of computer science to specialise in?
toekutr has joined #ruby
<openstandards> hmm, ok..
rippa has joined #ruby
busybox42 has quit [Ping timeout: 276 seconds]
<openstandards> balr0g: which ruby
lewis has joined #ruby
vlad_starkov has joined #ruby
<balr0g> openstandards, still 1.9.3
<lewis> hi
<openstandards> hi
<openstandards> balr0g: did you edit your bashrc.profile?
<balr0g> openstandards, nope, wait, what to change there?
<xbayrockx> what do you guys think the most interesting area of programming/soft eng is to specialise in? ie. crpyotgraphy, geospatial etc
<openstandards> sortty i mean...
<openstandards> .bash_profile
<openstandards> sorry even
ahokaomaeha has joined #ruby
IceDragon has quit [Quit: Space~~~]
mockra has quit [Remote host closed the connection]
<balr0g> openstandards, this is my .bash_profile : http://pastebin.ca/2310236
vlad_starkov has quit [Ping timeout: 256 seconds]
<balr0g> openstandards, must i do: source .bash_profile ?
DuncanNZ has left #ruby ["Leaving"]
vlad_starkov has joined #ruby
xpen has quit [Read error: Connection reset by peer]
<openstandards> balr0g: if you opened up another terminal window then no as it will source it automatically upon opening
cha1tanya has quit [Quit: Leaving]
<balr0g> openstandards, doing source .bash_profile is catching the 2.0.0 installation, but i need to execute that command, and still curses and readline problem on IRB console
xpen has joined #ruby
<openstandards> best bet is to wait for someone more experienced than myself to help out as i'm not 100% certain
<balr0g> openstandards, ok, thanks anyway
<balr0g> danneu, are you there man?
<danneu> yeh
<danneu> balr0g: sup d00d
<danneu> balr0g: rvm list
<danneu> balr0g: rvm use 2.0.0
JumpMast3r has joined #ruby
<danneu> balr0g: that'll use 2.0.0 for that terminal session. (then revert back to default in new terminal). you can also just 'rvm use 2.0.0 --default'. ezpz
busybox42 has joined #ruby
<danneu> oh i see, i only read the lines that you said me name
<swarley> I've been reading through all of compile.c and iseq.c and I feel like I'm no more informed
<swarley> I just want to know how it's reduced from its intermediate representation
<danneu> balr0g: what happens when you open up a new terminal and run 'type rvm | head -n 1'
<whitequark> swarley: what's reduced? from what IR to what?
<balr0g> danneu, after the above commands, or just the first terminal at all?
<swarley> whitequark, from YARV instruction language to the compiled bytecode
<whitequark> swarley: it is the same
<whitequark> thing
<balr0g> danneu, this is with the first terminal opened: http://pastebin.ca/2310242
<swarley> what
<swarley> Really?
<swarley> It's not changed at all?
aantix_ has joined #ruby
<whitequark> yea
<swarley> How is that possible? o-O
<whitequark> bytecode is a serialization of yarv instructions
kmurph has joined #ruby
browndawg has quit [Ping timeout: 240 seconds]
<swarley> okaaaay? then i want to know how to serialize it
<whitequark> that is not a trivial thing
<swarley> I didn't think it was
<whitequark> what do you want to accomplish?
<kmurph> How would I manually compile a Haml template E.G: Haml.compile("%h1= @var")
<swarley> I'm writing a NQP(Not Quite Perl6)->YARV compiler to see if it works when bytecode loading is implemented in ruby2.0
aantix_ has quit [Client Quit]
<shevy> swarley you sound like a crazy ass hacker :P
girija_ has joined #ruby
<shevy> somehow young people are very ambitious
<swarley> shevy, I already have most of what I need
<swarley> I just need to have an opcode listing and a means to serialize it to something I can load into the interpreter
gosshedd has joined #ruby
<whitequark> swarley: from what I know, the bytecode loader consumes it in the same format as the bytecode dumper
hackerdude has quit [Remote host closed the connection]
<swarley> Ah, the array format
<whitequark> yea
<whitequark> it is also undocumented
<swarley> Well, I was hoping for a more efficient way
<shevy> hey guys, a question about design decisions
<whitequark> there isn't. afaik the whole word "bytecode" doesn't quite apply here
<shevy> say you have an old, huge project... let's say, a webframework
<whitequark> but I might be wrong
<shevy> you feel that it has a list of shortcomings, and you want to address these in the pending rewrite
<shevy> how would you start from a conceptual point of view? would you write a new todo list or a specification list or something?
<whitequark> shevy: you kill it with fire
<whitequark> that's how I roll.
<shevy> lol
<shevy> ok but let's say you have like your whole infrastructure depend on the current version (the one that you hate though)
<swarley> I suppose I can deal with having an array of operations..
<shevy> I feel as if projects over time become less and less clean :(
<ninegrid> entropy
cableray has joined #ruby
<whitequark> bit rot
RurouniJones has quit [Remote host closed the connection]
RurouniJones has joined #ruby
nari has joined #ruby
<shevy> hmm or perhaps let's ask specifically
<shevy> I have a big module, which has many small methods that return strings
<shevy> is it possible to store the net-result of calling all those methods, inside the module? in like a superstrong?
<shevy> in a class it would be easy, I could use an @ivar
pyro111 has joined #ruby
AntiTyping has quit [Quit: AntiTyping]
hamed_r has joined #ruby
samlt has joined #ruby
browndawg has joined #ruby
icharlie has joined #ruby
girija_ has quit [Ping timeout: 245 seconds]
end_guy has quit [Remote host closed the connection]
aantix_ has joined #ruby
lawrence_ has joined #ruby
<lawrence_> would this be the right place to ask really silly beginner questions about ruby and passenger?
justsee has quit [Quit: Leaving...]
<lawrence_> silence is golden, so i'm just going to ask
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
<lawrence_> i have an app (kandan) i'm trying to install.
<lawrence_> have the bundle installed,
<lawrence_> i can run it manually, seems to work
<lawrence_> so, I've installed passenger
<lawrence_> compiled, and added to apache
aantix_ has quit [Client Quit]
<lawrence_> so far all good
<lawrence_> but.. isn't passenger supposed to automagically start the app if I point it at it in apache?
<swarley> That was sufficient
cardoni has joined #ruby
browndawg1 has joined #ruby
<lawrence_> apache says its happy, and i see Phusion_Passenger/3.0.19 in the compiled in bits
<lawrence_> but my app, she no runneth
end_guy has joined #ruby
apeiros_ has joined #ruby
otters has quit [Ping timeout: 244 seconds]
<lawrence_> what staggeringly basic obvious thing am i missing?
<lawrence_> (yes, I have pointed the apache sitename -> the folder )
browndawg has quit [Ping timeout: 245 seconds]
<mnemon> lawrence_: the folder = your rails apps public folder?
tfittsy has quit [Ping timeout: 240 seconds]
<lawrence_> no
cardoni has quit [Ping timeout: 256 seconds]
<lawrence_> sounds like thats probably the silly little basic tip i'm looking for
<lawrence_> so have changed apache folder -> that/public
<lawrence_> and have a new errror, but thats ok for me to troubleshoot further
<lawrence_> i still need to add www-data to rvm group
ahokaomaeha has quit [Quit: It is so fucking annoying hot.]
<mnemon> you also need to give apache permissions for the other folders
kn330 has joined #ruby
<lawrence_> they have
<lawrence_> i need to add www-data to rvm group should be it
<lawrence_> instructions just blow
lkba has quit [Ping timeout: 264 seconds]
<lawrence_> passenger is quite decent, but the step 1, step 2, needs the step 3 -> point at the app/public folder
<lawrence_> not step1,step2, thats it
<lawrence_> as it is _not_
* lawrence_ is venting ;)
hamed_r has quit [Ping timeout: 240 seconds]
<mnemon> :)
<lawrence_> my why i'm venting a bit page ;)
<lawrence_> i'm not an idiot, i have many years of experience
<lawrence_> but the silly little things that everyone expects you to know but aren't documented are annoying
tk_ has joined #ruby
elico has quit [Quit: Elico]
Takehiro has quit [Remote host closed the connection]
<mnemon> give it a decade and rails support will be on par with php and perl ;)
<lawrence_> i have friends who used to work for heroku
<lawrence_> you'd think i should ask them
<lawrence_> hehehe
Takehiro has joined #ruby
<danneu> apt-get to install ruby?
<lawrence_> it was the point it at the public folder thats the thing i really needed
<lawrence_> that really needs to be listed in the passenger page, not assumed.
<lawrence_> thanks :)
<mnemon> np
epitron is now known as ping
ping is now known as epitron
<danneu> i find the idiosyncrasies of getting a ruby dev environment setup are just (1) don't use your distro's outdated aliasing package manager (use rvm or rbenv), (2) you need to install the libraries that gems wrap before those gems can build their extensions (duh).
toekutr has quit [Read error: Connection reset by peer]
<danneu> (3) google the error.
<postmodern> danneu, yum install ruby on Fedora, gives you 1.9.3-p374
<lawrence_> #3… ftw
<danneu> postmodern: okay.
<danneu> postmodern: now you have 374. what about 2.0.0?
<danneu> what about trash ruby installations
<postmodern> danneu, 2.0.0 isn't stable yet
<havenn> danneu: It isn't out yet?
adeponte has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dhruvasa1ar has joined #ruby
<postmodern> danneu, for one off installations, i install them manually into /opt/rubies/
<postmodern> danneu, ./configure --prefix=/opt/rubies/ruby-x.y.z
<danneu> right, but i'm just saying that rvm makes it so easy that i have a hard time understanding why i'd yum it unless it's indeed one-off
innohero has joined #ruby
<postmodern> danneu, it's three commands to install a ruby
<danneu> well, it's three commands from any direction though, it's it
busybox42 has quit [Ping timeout: 276 seconds]
xk_id has joined #ruby
<postmodern> danneu, ./configure && make && make install
<lewis> irb --simple-prompt does not work for me
<danneu> really i'm just lamenting lawrence_'s link
<lewis> any ideas?
<lewis> It does not change anything to the prompt
<lewis> it looks exactly the same
<lawrence_> well, my link encounters - ruby changed functionality too bugs. also, don't forget that
xk_id has quit [Changing host]
xk_id has joined #ruby
yakko has joined #ruby
hamed_r has joined #ruby
<apeiros_> lewis: and how does your prompt look?
<lewis> ruby-1.9.2-p180 :001 >
lkba has joined #ruby
<balr0g> how can i set my Ruby2.0.0 as default without executing "source .bash_profile" command every time i start a terminal session?
dhruvasa1ar has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
<danneu> balr0g: are you using something other than bash?
<balr0g> danneu, nope... also i already fix my readline issue, and 2.0.0 looks good... only problem is how to set automatically as default
<apeiros_> lewis: your irbrc overrides
browndawg1 has left #ruby [#ruby]
<danneu> balr0g: i'm too shit at sys admin things to know why bash_profile is not actually loading when you open a new terminal.
browndawg has joined #ruby
<danneu> balr0g: btw, apt-get install guake
<charliesome> balr0g: rvm?
<balr0g> danneu, guake? whats that?
<balr0g> charliesome, yes
<charliesome> balr0g: rvm --default use <the ruby>
<danneu> charliesome: yeah but he say'd got to source his bash_profile (the rvm automatically appends to when you install it) when he opens up a new term.
<danneu> charliesome: know why that'd be?
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
<charliesome> balr0g: try .bashrc
<balr0g> charliesome, same thing... if i close the terminal i need to do again source .bash_profile
<charliesome> or .profile
mercwithamouth has quit [Ping timeout: 240 seconds]
browndawg has quit [Client Quit]
<balr0g> charliesome, what you mean? put the 'source .bash_profile' in the .bashrc file ?
<danneu> no
<charliesome> or copy the contents
<danneu> copy rvm's bootstrap
<danneu> that one-liner that it appended
<balr0g> danneu, at the end of .bashrc ?
<danneu> yeh
<danneu> iirc i had to do that back when i was on linux
<lawrence_> looks like logging goes to folder/log/ as whatever calls it (so in my case apache/passenger), so that needs write access to see why its broken still
braoru has joined #ruby
<danneu> balr0g: too bad youre having so much trouble dude :'(
xpen_ has joined #ruby
<danneu> soon youll be a master of such idiosyncrasies. youll become complacent, hardened to the toils.
<danneu> a seasoned veteran.
arietis has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
dekroning has joined #ruby
elico1 has quit [Quit: elico1]
<balr0g> danneu, lol
dekronin1 has quit [Read error: Operation timed out]
<balr0g> danneu, ok, im right now... copying the line from .bash_profile to the end of .bashrc works fine... \o/
xpen has quit [Ping timeout: 245 seconds]
<balr0g> also thanks to charliesome , and to you danneu ... for time and help and attention =)
<charliesome> np
browndawg has joined #ruby
txdv has quit [Read error: Connection reset by peer]
txdv has joined #ruby
<lawrence_> hmm
<lawrence_> logs say no db.
<lawrence_> check db, is 0
<lawrence_> oh ruby..
<lawrence_> bundle exec rake db:create db:migrate kandan:bootstrap again, and..
<lawrence_> undefined method `to_i' for #<Channel:0x00000005a027b0>
<lawrence_> i think ruby is my new swearword. ;)
icole has joined #ruby
<lawrence_> go to the db defines
Onii-san has quit [Ping timeout: 245 seconds]
Takehiro_ has joined #ruby
Takehiro has quit [Ping timeout: 245 seconds]
aantix_ has joined #ruby
aantix has quit [Quit: aantix]
aantix_ is now known as aantix
cableray_ has joined #ruby
answer_42 has joined #ruby
* apeiros_ is fascinated how people feel the need to apply blame and so often fail horribly…
cableray has quit [Ping timeout: 246 seconds]
cableray_ is now known as cableray
icole has quit [Ping timeout: 264 seconds]
danneu has quit [Ping timeout: 240 seconds]
yakko has quit [Remote host closed the connection]
rakl has quit [Quit: sleeping]
postmodern has quit [Quit: Leaving]
osaut has joined #ruby
gosshedd has quit [Ping timeout: 245 seconds]
ben_h has joined #ruby
icharlie has quit [Quit: icharlie]
<lawrence_> ok, i'm fed up jumping through hoops
arietis has joined #ruby
rakl has joined #ruby
<lawrence_> i can see that the db create call is borking
aantix has quit [Quit: aantix]
aantix has joined #ruby
<lawrence_> so what magic incantion do i need to pass to the schema calls to create the appropriate id for the table thats crapping out
<apeiros_> lawrence_: sounds to me like you have a version mismatch then
<apeiros_> i.e. either get the author of whatever you're using to update
<lawrence_> i have 3.2.11 activerecord
<apeiros_> or create an env for whatever you are using with the versions that were used back then
<lawrence_> and i'm on ruby 1.9.3
<lawrence_> and i have no idea why i need to jump through so many farking depency hoops for this
<lawrence_> its ridiculous
marr has joined #ruby
<lawrence_> trying to install this - https://github.com/kandanapp/kandan
wallerdev has quit [Quit: wallerdev]
<pnkbst> o oooqeooooj k
<pnkbst> oops
keymone has joined #ruby
nari has quit [Ping timeout: 240 seconds]
cardoni has joined #ruby
<shevy> hmm
cheese1756 has quit [Ping timeout: 260 seconds]
<shevy> can modules store data?
<lawrence_> i think screw this, i'm going to do with reverse proxy,n and just startup the app manually
<heftig> shevy: data?
<lawrence_> as it does run
<heftig> module Foo; @data = "omg!"; end
<shevy> heftig hmmmm that can work?
<heftig> for what?
<shevy> for modifying @data
<shevy> I thought @ivars are for classes
<heftig> no, @ivars are for objects
<heftig> modules and classes are objects
<shevy> hmm oh
<shevy> hey apeiros_ I just had an idea for making ruby MORE POWERFUL :D
<shevy> look at this awesomeness ...
<shevy> def foo
<shevy> puts 'bla'
<shevy> end_private
<shevy> this makes it a private method!!!!!
<heftig> except nobodyy likes new keywords
xk_id has quit [Read error: Connection reset by peer]
billy_ran_away has quit [Ping timeout: 244 seconds]
<Mon_Ouie> One proposition was to make def foo; …; end evaluate to :foo
<Mon_Ouie> So you could do private def foo
Hanmac1 is now known as Hanmac
havenn has quit [Remote host closed the connection]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
aantix_ has joined #ruby
braoru has quit [Remote host closed the connection]
<shevy> hmmm strange
<shevy> hey Hanmac
aantix has quit [Quit: aantix]
aantix_ is now known as aantix
danneu has joined #ruby
<apeiros_> shevy: I prefer the idea of `def foo; end # => :foo`
cardoni has quit [Ping timeout: 255 seconds]
<apeiros_> now you can just use: `private def foo; end`
emergion has quit [Quit: Computer has gone to sleep.]
<Hanmac> shevy: i appear and everything is turned into strange? thats funny :D
billy_ran_away has joined #ruby
<apeiros_> that said, I dislike the current behavior of `private` (and similar) without arguments
lewis is now known as lewix
<apeiros_> oh, I just notice Mon_Ouie already said that
aantix has quit [Client Quit]
<apeiros_> the return value part
<heftig> or make def foo; ...; end evaluate to the method created
<heftig> and have private accept it
ij has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
jgrevich has quit [Remote host closed the connection]
k610 has joined #ruby
<shevy> Hanmac well you usually have the strangest code of everyone here really
k611 has joined #ruby
* Hanmac gains fame points
k611 has quit [Client Quit]
emergion has joined #ruby
rdark has joined #ruby
Jeaye has quit [Quit: zzzZZZzzz]
danneu has quit [Quit: WeeChat 0.3.8]
codecop has joined #ruby
Onii-san has joined #ruby
<lewix> apeiros_: thank you
tfittsy has joined #ruby
<apeiros_> hu?
<apeiros_> yw, for whatever I did
arturaz has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
braoru has joined #ruby
ashleyis has quit [Quit: brb]
arturaz has quit [Remote host closed the connection]
emergion has joined #ruby
<shevy> lol
<shevy> lewix: thank you
skrewler has joined #ruby
kmurph has quit [Quit: kmurph]
<lewix> shevy: no problem. for whatever I did
adeponte has joined #ruby
<lewix> apeiros_: irbrc
<lewix> thank you for that
<apeiros_> ah
<lewix> it took a few hours but i always try my best to make my thank you arrive on time
<shevy> when apeiros_ is an old man, ancient irc-based "thank you"s will still arrive ;D
<apeiros_> lewix: much appreciated
emergion has quit [Quit: Computer has gone to sleep.]
adeponte has quit [Ping timeout: 244 seconds]
fragmachine has joined #ruby
fragmachine has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
tjbiddle has joined #ruby
Malgorath has quit [Remote host closed the connection]
k610 has quit [Ping timeout: 245 seconds]
innohero has quit [Quit: Leaving]
icole has joined #ruby
kmurph has joined #ruby
Loaft has joined #ruby
keymone has quit [Quit: keymone]
k610 has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
blueOxigen has quit [Read error: Connection reset by peer]
punkrawkR has joined #ruby
bluOxigen has joined #ruby
icole has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
lawrence_ has left #ruby [#ruby]
<shevy> $_ = <>;
<shevy> hmm what is this in ruby? (that is from a perl script)
staafl has joined #ruby
<apeiros_> not sure, but I think: gets
Xeago has quit [Remote host closed the connection]
<shevy> yeah, seems to be true
<shevy> perl code can be really confusing
<shevy> $_ = <>; chop(); $_ =~ s/\s//g;
k610 has quit [Ping timeout: 256 seconds]
robotmay has joined #ruby
kn330 has quit [Remote host closed the connection]
rdark has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
pnkbst` has joined #ruby
Hanmac has joined #ruby
pnkbst has quit [Ping timeout: 256 seconds]
Xeago has quit [Remote host closed the connection]
daniel_- has joined #ruby
Xeago has joined #ruby
k610 has joined #ruby
mneorr has joined #ruby
tfittsy has quit [Ping timeout: 260 seconds]
PragCypher has joined #ruby
dhruvasagar has joined #ruby
dhruvasa1ar has joined #ruby
s__dana_ has joined #ruby
rdark has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
s__dana has quit [Ping timeout: 276 seconds]
s__dana_ is now known as s__dana
rdark has quit [Read error: Connection reset by peer]
cardoni has joined #ruby
rdark has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
cardoni has quit [Ping timeout: 245 seconds]
eka has joined #ruby
freeayu has joined #ruby
k610 has quit [Ping timeout: 244 seconds]
picca has joined #ruby
emergion has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
rdark has quit [Ping timeout: 276 seconds]
picca has quit [Remote host closed the connection]
rdark has joined #ruby
Virunga has joined #ruby
nfk has joined #ruby
reinaldob has joined #ruby
razibog has joined #ruby
banisterfiend has quit [Remote host closed the connection]
Hanmac has joined #ruby
swex has joined #ruby
swex_ has quit [Ping timeout: 260 seconds]
wpaulson has joined #ruby
znake has joined #ruby
gouthamvel has joined #ruby
dhruvasa1ar has quit [Ping timeout: 260 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
wpaulson has left #ruby [#ruby]
banisterfiend has joined #ruby
eldariof has joined #ruby
mityaz has joined #ruby
brandon has joined #ruby
brandon is now known as Guest55398
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
lewix has quit [Ping timeout: 252 seconds]
razibog has quit [Ping timeout: 252 seconds]
daniel_- has quit [Ping timeout: 240 seconds]
Vektur has quit [Ping timeout: 272 seconds]
bean__ has joined #ruby
bean__ has quit [Client Quit]
Loaft has quit [Read error: Connection reset by peer]
picca has joined #ruby
picca has quit [Remote host closed the connection]
arya has joined #ruby
justsee has quit [Quit: Leaving...]
arya has quit [Client Quit]
backjlack has joined #ruby
k610 has joined #ruby
m8 has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
girija_ has joined #ruby
hamed_r has quit [Ping timeout: 252 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
nkr has joined #ruby
pskosinski has joined #ruby
pyro111 has quit [Ping timeout: 264 seconds]
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
daniel_- has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
billy_ran_away has quit [Ping timeout: 252 seconds]
<Hanmac> shevy did you read the comments like "Typing File://aaaaaaaaaaaa very slowly does not cause a crash. Typing File://aa quickly does. " ? :DDDD
balr0g has quit [Ping timeout: 276 seconds]
<shevy> haha
<shevy> Hanmac funny how people find that out
<shevy> they must really try to probe into a bug from several different angles
<Hanmac> the funniest thing: its a "feature" that works on every app :D
pyro111 has joined #ruby
xpen has joined #ruby
billy_ran_away has joined #ruby
sepp2k has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
kmurph has quit [Quit: kmurph]
xpen_ has quit [Ping timeout: 264 seconds]
xk_id has joined #ruby
sepp2k has joined #ruby
TheFuzzball has joined #ruby
<shevy> We have ^[[1;33m 24^[[0;32m Questions
<shevy> hmm
<shevy> anyone knows of a simple gem that strips away ansii escape sequences from a string like this?
baphled has joined #ruby
backjlack_ has joined #ruby
backjlack_ has quit [Remote host closed the connection]
Banistergalaxy has quit [Remote host closed the connection]
mumble has joined #ruby
znake is now known as znake|away
clocKwize has joined #ruby
girija_ has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 240 seconds]
kristofers has joined #ruby
aryasam has joined #ruby
gosshedd has joined #ruby
backjlack has quit [Remote host closed the connection]
clocKwize has quit [Client Quit]
<apeiros_> shevy: I don't know a gem, but you can just use gsub
TomJ has quit [Quit: TomJ]
pcarrier has joined #ruby
hamed_r has joined #ruby
aryasam has quit [Ping timeout: 240 seconds]
aryasam has joined #ruby
backjlack has joined #ruby
vlad_starkov has joined #ruby
aryasam has quit [Ping timeout: 240 seconds]
aryasam has joined #ruby
znake|away is now known as znake
vlad_starkov has quit [Ping timeout: 248 seconds]
pcarrier has quit []
browndawg has quit [Quit: Leaving.]
martian-a has joined #ruby
rdark has quit [Read error: Connection reset by peer]
k610 has quit [Ping timeout: 244 seconds]
oles has quit [Quit: leaving]
Banistergalaxy has joined #ruby
rdark has joined #ruby
Guest24700 is now known as DaZ
xandy is now known as xAndy
xbayrockx has quit []
lolmaus has joined #ruby
baphled has quit [Ping timeout: 264 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
baphled has joined #ruby
kaen has joined #ruby
dcwu has quit [Quit: Leaving.]
rdark has quit [Read error: Connection reset by peer]
znake has quit [Quit: Linkinus - http://linkinus.com]
rdark has joined #ruby
Virunga has quit [Remote host closed the connection]
reinaldob has quit [Remote host closed the connection]
workmad3 has joined #ruby
<Mon_Ouie> I use %r{(\e\[\??\d+(?:[;\d]*)\w)} to match those
samphippen has joined #ruby
<apeiros_> Mon_Ouie: shevy seems to use non-ansi escapes
<apeiros_> or is ^[[ == \e[ ?
<Mon_Ouie> I think so. I know for sure that they start with \e.
baphled has quit [Ping timeout: 260 seconds]
rdark has quit [Ping timeout: 252 seconds]
_bart has quit [Quit: _bart]
prime has joined #ruby
cardoni has joined #ruby
baphled has joined #ruby
Hanmac has joined #ruby
lolmaus has quit []
albakry has joined #ruby
albakry has quit [Changing host]
albakry has joined #ruby
kristofers has quit [Ping timeout: 244 seconds]
cousine has joined #ruby
cardoni has quit [Ping timeout: 244 seconds]
tealmage has joined #ruby
postmodern has joined #ruby
cousine has quit [Remote host closed the connection]
Targen has quit [Ping timeout: 276 seconds]
BizarreCake has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
s1n4 has joined #ruby
<shevy> cool
Virunga has joined #ruby
maxmanders has joined #ruby
Banistergalaxy has quit [Ping timeout: 264 seconds]
s1n4 has quit [Client Quit]
main_ has joined #ruby
yacks has quit [Quit: Leaving]
nicoulaj has joined #ruby
workmad3 has joined #ruby
aryasam has quit [Quit: Bye]
vlad_starkov has joined #ruby
ttt has quit [Remote host closed the connection]
eka has quit [Quit: Computer has gone to sleep.]
Catbuntu has joined #ruby
k610 has joined #ruby
Banistergalaxy has joined #ruby
Stilo has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
Targen has joined #ruby
tenmilestereo has joined #ruby
ij has joined #ruby
pcarrier has joined #ruby
ben_h has quit [Read error: Connection reset by peer]
reuven has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
pcarrier has quit []
pcarrier has joined #ruby
Takehiro_ has quit [Remote host closed the connection]
ferdev has joined #ruby
FloatingWeed has joined #ruby
ferdev has quit [Client Quit]
jfelchner has quit [Ping timeout: 264 seconds]
jfelchner has joined #ruby
rakl has quit [Quit: sleeping]
blaxter has joined #ruby
nari has joined #ruby
atno has joined #ruby
maxmanders has quit [Ping timeout: 244 seconds]
arya has joined #ruby
maxmanders has joined #ruby
FloatingWeed has quit []
workmad3 has quit [Ping timeout: 260 seconds]
mneorr_ has joined #ruby
kylescottmcgill has joined #ruby
xemu has joined #ruby
mneorr has quit [Ping timeout: 248 seconds]
FloatingWeed has joined #ruby
niklasb has joined #ruby
maxmanders has quit [Ping timeout: 245 seconds]
RagingDave has joined #ruby
ij has quit [Ping timeout: 276 seconds]
Virunga has quit [Remote host closed the connection]
maxmanders has joined #ruby
pcarrier has quit []
jfl0wers has quit [Quit: jfl0wers]
Virunga has joined #ruby
kylescottmcgill has quit [Quit: WeeChat 0.3.8]
jacktrick has joined #ruby
FloatingWeed has quit []
nanothief has quit [Ping timeout: 255 seconds]
gouthamvel has quit [Remote host closed the connection]
FloatingWeed has joined #ruby
FloatingWeed has quit [Client Quit]
pcarrier has joined #ruby
AntiTyping has joined #ruby
FloatingWeed has joined #ruby
ScottNYC has quit [Ping timeout: 264 seconds]
pcarrier has quit [Client Quit]
pskosinski has quit [Quit: Drama: Open source spirit and copyright infringement according to Quinton Reeves, Red Eclipse developer: http://pawelk.pl/quinton-reeves]
hamed_r has quit [Quit: Leaving]
nari has quit [Ping timeout: 252 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
prime has quit [Changing host]
prime has joined #ruby
adkron has quit [Ping timeout: 276 seconds]
grendlme has joined #ruby
pyro111 has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 245 seconds]
Takehiro has joined #ruby
xpen has quit [Remote host closed the connection]
xpen has joined #ruby
Vektur has joined #ruby
keanehsiao has joined #ruby
pcarrier has joined #ruby
Takehiro has quit [Ping timeout: 248 seconds]
Bosma has quit [Ping timeout: 255 seconds]
cantonic has joined #ruby
Bosma has joined #ruby
grendlme has quit [Quit: grendlme]
cableray has quit [Quit: cableray]
pyro111 has joined #ruby
pcarrier has quit []
arya has quit [Ping timeout: 248 seconds]
mneorr_ has quit [Remote host closed the connection]
grendlme has joined #ruby
blaxter has quit [Quit: foo]
arya has joined #ruby
browndawg has joined #ruby
xpen has quit [Read error: Connection reset by peer]
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
jitendra has quit [Read error: Connection reset by peer]
kylescottmcgill has joined #ruby
arya has quit [Ping timeout: 248 seconds]
eka has joined #ruby
oposomme has joined #ruby
Virunga has quit [Remote host closed the connection]
<oposomme> hi, I would like to do a gsub but the replacement have to be an hash i.e: foo.gsub(/(pattern)/, hash[\1]), how do I do?
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
TomyLobo has joined #ruby
<apeiros_> oposomme: you can, but only if the whole match is the key
ferdev has joined #ruby
arya has joined #ruby
<oposomme> apeiros_: you mean ok so with \1 it doesn't work
<apeiros_> >> p "hello".gsub(/[eo]/, {'e' => '3', 'o' => '0'})
<eval-in> apeiros_: Output: "\"h3ll0\"\n" (http://eval.in/8220)
kirun has joined #ruby
b1rkh0ff has quit [Ping timeout: 255 seconds]
<oposomme> apeiros_: ok interessant but in my case it is a capture so what is the best way to do it perhaps gsub is not the way
Catbuntu has quit [Read error: Operation timed out]
<apeiros_> oposomme: either adapt your regex so it's not a capture, or use gsub with a block
tealmage has quit [Remote host closed the connection]
<oposomme> apeiros_: I don't think I can my regexp so I will try in a block thx
<oposomme> *adapt
daniel_- has quit [Ping timeout: 244 seconds]
slainer68 has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
sailias has joined #ruby
Dreamer3 has joined #ruby
maxmanders has joined #ruby
<oposomme> apeiros_: wrong solution I will adapt my regexp to be the whole match, gsub and a hash is a powerful tool
slainer68 has quit [Remote host closed the connection]
b1rkh0ff has joined #ruby
thufir_ has joined #ruby
vlad_starkov has joined #ruby
maxmanders has quit [Ping timeout: 245 seconds]
dekroning has quit [Ping timeout: 255 seconds]
k610 has quit [Ping timeout: 248 seconds]
PragCypher has quit [Quit: Leaving]
cardoni has joined #ruby
sayan has joined #ruby
Hanmac has joined #ruby
atno has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
maxmanders has joined #ruby
PragCypher has joined #ruby
sailias has quit [Quit: Leaving.]
k610 has joined #ruby
qohelet_ has joined #ruby
PragCypher has quit [Client Quit]
atno has joined #ruby
Xeago has quit [Remote host closed the connection]
qohelet_ has quit [Client Quit]
cardoni has quit [Ping timeout: 245 seconds]
qohelet_ has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
atno_ has joined #ruby
atno has quit [Read error: Connection reset by peer]
bean__ has joined #ruby
Umren has quit [Read error: Operation timed out]
k610 has quit [Ping timeout: 240 seconds]
F1skr has joined #ruby
pskosinski has joined #ruby
prime has quit [Quit: ZNC - http://znc.in]
qohelet_ has quit [Quit: qohelet_]
prime has joined #ruby
Roa has quit [Read error: Operation timed out]
Umren has joined #ruby
techlife has quit [Read error: Connection reset by peer]
Roa has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
techlife has joined #ruby
<wmoxam> shevy: because Perl is their glue language of choice
daniel_- has joined #ruby
<wmoxam> shevy: and had been for a long time before Ruby hit the english speaking world
colonolGron has joined #ruby
<jokke> what would be the fastest way to return an array of n keys from a hash with them being the keys with the highest values?
<jokke> sort_by {|k,v| v} seems to be a good start, but it gives me a 2 dimensional array.. :/
<jokke> so i cant just call keys on it
abcdefg_ has joined #ruby
Xeago has joined #ruby
Agis__ has joined #ruby
oposomme has quit [Ping timeout: 248 seconds]
razibog has joined #ruby
braoru has quit [Ping timeout: 244 seconds]
tealmage has joined #ruby
<apeiros_> jokke: map
<jokke> ah never mind
<apeiros_> and first(N)
<jokke> yes
<jokke> just figured that out
<jokke> irb is great for that :P
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
baphled has quit [Ping timeout: 240 seconds]
jimeh has joined #ruby
Virunga has joined #ruby
jfl0wers has joined #ruby
solidoodlesuppor has joined #ruby
cantonic has quit [Quit: cantonic]
baphled has joined #ruby
razibog has quit [Ping timeout: 256 seconds]
mhf has quit [Read error: Connection reset by peer]
mhf has joined #ruby
<spider-mario> jokke: if you haven’t already, you might want to give pry a try (instead of irb)
otters has joined #ruby
<jokke> spider-mario: i will
girija_ has joined #ruby
Cork has quit [Ping timeout: 255 seconds]
freeayu has quit [Remote host closed the connection]
workmad3 has joined #ruby
banisterfiend has quit [Remote host closed the connection]
megha has joined #ruby
icole has joined #ruby
tk_ has quit [Quit: ばいばい]
Hanmac has quit [Ping timeout: 252 seconds]
sjaq has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
banisterfiend has joined #ruby
icole has quit [Ping timeout: 248 seconds]
sullenel has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
busybox42 has joined #ruby
inokenty has quit [Ping timeout: 244 seconds]
grendlme has quit [Quit: grendlme]
Cork has joined #ruby
Xeago has quit [Remote host closed the connection]
mhf has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
sayan has quit [Read error: Connection reset by peer]
freakazoid0223 has joined #ruby
<shevy> is spider-mario like super-mario
<spider-mario> it does come from it
<spider-mario> it’s between super mario and spider-man
reuven` has joined #ruby
Hanmac has joined #ruby
exertio has joined #ruby
exertio has quit [Client Quit]
reuven has quit [Ping timeout: 245 seconds]
nanothief has joined #ruby
Spooner has joined #ruby
BizarreCake has quit [Ping timeout: 255 seconds]
oposomme has joined #ruby
vansonhk_ has joined #ruby
<shevy> hmm
<shevy> so that comes out when they have sex
<shevy> quite powerful
eka has quit [Quit: Computer has gone to sleep.]
<shevy> though I am surprised you are not super-man :P
<spider-mario> :D
nanothief has quit [Ping timeout: 248 seconds]
arya has quit []
BizarreCake has joined #ruby
arya has joined #ruby
oposomme has quit [Ping timeout: 245 seconds]
cardoni has joined #ruby
colonolGron has quit [Ping timeout: 248 seconds]
tealmage has quit [Remote host closed the connection]
tealmage has joined #ruby
mengu has joined #ruby
<_br_> So much bad news about Rubygems, Rails security problems. Alot of people are bashing the ***** out of the ruby community and calling us out because we "have so many security" problems ... hmpf.
backjlack has quit [Remote host closed the connection]
tealmage has quit [Remote host closed the connection]
skbierm has joined #ruby
cardoni has quit [Ping timeout: 252 seconds]
jimeh has joined #ruby
sullenel has quit [Quit: WeeChat 0.4.0]
ferdev has quit [Quit: Leaving...]
dekroning has joined #ruby
vetsin has quit [Ping timeout: 256 seconds]
Virunga has joined #ruby
vetsin has joined #ruby
tealmage has joined #ruby
backjlack has joined #ruby
BBonifield has quit [Ping timeout: 256 seconds]
inokenty has joined #ruby
clocKwize has joined #ruby
Takehiro has joined #ruby
heftig has quit [Quit: leaving]
girija_ has quit [Ping timeout: 240 seconds]
BBonifield has joined #ruby
heftig has joined #ruby
oposomme has joined #ruby
dekroning has quit [Ping timeout: 245 seconds]
gosshedd has quit [Quit: leaving]
gosshedd has joined #ruby
busybox42 has quit [Read error: Operation timed out]
_nitti has joined #ruby
Virunga has quit [Remote host closed the connection]
busybox42 has joined #ruby
thufir_ has quit [Quit: Leaving.]
Takehiro has quit [Ping timeout: 276 seconds]
ferdev has joined #ruby
pyro111 has quit [Remote host closed the connection]
sayan has joined #ruby
techhelp has joined #ruby
pyro111 has joined #ruby
seme has joined #ruby
heftig has quit [Quit: leaving]
ferdev has quit [Client Quit]
clocKwize has quit [Quit: clocKwize]
albakry has quit [Quit: Leaving]
wargasm has joined #ruby
heftig has joined #ruby
d34th4ck3r has joined #ruby
<d34th4ck3r> how can I round off to exactly 15 decimal places in ruby?
jacktrick has quit [Quit: Leaving]
billy_ran_away has quit [Ping timeout: 240 seconds]
<banisterfiend> d34th4ck3r: your nickname is lame :)
<d34th4ck3r> banisterfiend: I know, but my question isint. ;)
mhf has joined #ruby
<heftig> round(15)
billy_ran_away has joined #ruby
xAndy is now known as xandy
busybox42 has quit [Ping timeout: 245 seconds]
joofsh has joined #ruby
<heftig> d34th4ck3r: though be aware that double-precision floats only have 15-17 digits precision total
havenn has joined #ruby
jaequery has joined #ruby
wakoinc has joined #ruby
wakoinc has quit [Changing host]
wakoinc has joined #ruby
wakoinc has quit [Client Quit]
sjaq has quit [Quit: Linkinus - http://linkinus.com]
mengu has quit [Quit: Leaving]
<d34th4ck3r> heftig: that doesnt work as I want, for example if I use 3.3.round(3) it gives 3.3 but I want 3.300
<heftig> then that's not a number, it's a string
<heftig> "%.3f" % 0.3
elico has joined #ruby
icole has joined #ruby
nicoulaj has quit [Remote host closed the connection]
cody-- has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby
icole has quit [Ping timeout: 248 seconds]
sullenel has joined #ruby
mengu has joined #ruby
Takehiro has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
d34th4ck3r has quit [Read error: Operation timed out]
cody-- has quit [Client Quit]
mrc_ has joined #ruby
browndawg has joined #ruby
Takehiro has quit [Ping timeout: 256 seconds]
tommyvyo has joined #ruby
<Spooner> "%.3f" % 0.3.round(3) - more correct, since heftig's answer truncates at 3dp, not rounds.
<jokke> how can i test if an object is of a certain class or a subclass of it?
<Spooner> jokke, #is_a?
<heftig> Spooner: nope, rounds.
<jokke> ah perfect thanks
<Spooner> heftig, Oh, does it? Sorry.
postmodern has quit [Quit: Leaving]
keymone has joined #ruby
apeiros_ has quit [Remote host closed the connection]
<banisterfiend> Spooner: do u know any activerecord?
<banisterfiend> instead of: Movie.find_all_by_rating("G") i would like to specify multiple ratings, i.e: Movie.find_all_by_rating("G", "R") (doesn't work)
<Spooner> banisterfiend, Barely any.
workmad3 has joined #ruby
<banisterfiend> workmad3: ping
meoblast001 has joined #ruby
<banisterfiend> workmad3: instead of: Movie.find_all_by_rating("G") i would like to specify multiple ratings, i.e: Movie.find_all_by_rating("G", "R") (doesn't work)
reuven` has quit [Ping timeout: 256 seconds]
grendlme has joined #ruby
apeiros_ has joined #ruby
grendlme has quit [Client Quit]
grendlme has joined #ruby
cody-- has joined #ruby
grendlme has quit [Client Quit]
<Spooner> banisterfiend, Tried find_all(conditions: [ "rating in (?)", [ 'G','R']]) ?
<banisterfiend> no
<banisterfiend> i'll try, thanks
<Spooner> There is probably a more Rubyish way to do it though.
braoru has joined #ruby
<banisterfiend> sweet
<banisterfiend> Movie.find :all, :conditions => [ "rating in (?)", [ 'G','R']]
<Spooner> That works?
cody-- has quit [Quit: goodbye]
<banisterfiend> Yeah
<Spooner> Grand.
<banisterfiend> apeiros_: what's a nicer way to express that ^
<banisterfiend> Spooner: thx
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
SIFTU has quit [Quit: WeeChat 0.3.8]
megha has quit [Quit: WeeChat 0.4.0]
<Spooner> Does Movie.where(rating: ['G', 'R']) work?
unsay has joined #ruby
Virunga has joined #ruby
<Spooner> Or Movie.find_all_by_rating(["G", "R"])
samlt has quit [Ping timeout: 244 seconds]
oposomme has quit [Quit: Leaving...]
sayan has quit [Read error: Connection reset by peer]
samlt has joined #ruby
bean__ is now known as julian-dephiki
dmerrick has quit [Quit: dmerrick]
<apeiros_> scope :whatever_those_ratings_mean, where(rating: ['G', 'R'])
colonolGron has joined #ruby
elaptics`away is now known as elaptics
<workmad3> banisterfiend: rails 3?
<banisterfiend> workmad3: Yeah
<workmad3> banisterfiend: if so, then Spooner's suggest of 'Movie.where(rating: ['G', 'R'])' is the one you want
colonolGron has quit [Ping timeout: 264 seconds]
abcdefg_ has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]]
atno_ has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
<banisterfiend> thx
<workmad3> then chaing .all or .first onto that depending on what you want, or iterate over it directly with .each, .map, etc
<workmad3> *chain
markalanevans has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
emocakes has joined #ruby
unsay has quit [Ping timeout: 245 seconds]
Virunga has quit [Remote host closed the connection]
quest88 has joined #ruby
Agis__ has quit [Quit: Agis__]
jgrevich has joined #ruby
<banisterfiend> workmad3: how do i set a checkbox as 'checked' in haml?
<workmad3> value: true ?
<workmad3> I've only ever used the rails helpers for that
<banisterfiend> using rails helpers then :)
<workmad3> that I'm very sure is '= checkbox_tag name, value, true'
<workmad3> where name is the param name, and value is the value to send if checked
bluOxigen has joined #ruby
<workmad3> (or, if you're using a form_for tag on an object, = f.checkbox :attr and it should then pick up checked status from the attribute)
sayan has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.0]
unsay has joined #ruby
Squarepy has joined #ruby
vlad_starkov has joined #ruby
jfl0wers has quit [Quit: jfl0wers]
banisterfiend is now known as RailsPig
dagnachew has joined #ruby
voodootaco is now known as voodoofish
Xeago has joined #ruby
MattRB has joined #ruby
maycon has quit [Remote host closed the connection]
spaceships has joined #ruby
otters has quit [Ping timeout: 245 seconds]
joofsh has quit [Remote host closed the connection]
benlieb has joined #ruby
moos3 has joined #ruby
onemanjujitsu has joined #ruby
havenn has quit [Remote host closed the connection]
main_ has quit [Read error: Operation timed out]
Kenum has quit [Ping timeout: 245 seconds]
gosshedd has quit [Ping timeout: 245 seconds]
vlad_sta_ has joined #ruby
RurouniJones has quit [Remote host closed the connection]
ferdev has joined #ruby
forced_request has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
templaedhel has joined #ruby
gosshedd has joined #ruby
staafl has quit [Quit: Leaving]
Squarepy has quit [Changing host]
Squarepy has joined #ruby
havenn has joined #ruby
jgrevich_ has joined #ruby
seme has quit [Quit: leaving]
dagnachew has quit [Quit: Leaving]
vlad_starkov has quit [Ping timeout: 257 seconds]
dagnachew has joined #ruby
jgrevich has quit [Ping timeout: 252 seconds]
jgrevich_ is now known as jgrevich
Elhu has joined #ruby
<apeiros_> workmad3, Banistergalaxy - I prefer using scope as that decouples your code from the db
<apeiros_> you don't have to know how the rating values are stored in this example e.g.
s1n4 has joined #ruby
cantonic has joined #ruby
jrajav has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
otters has joined #ruby
cantonic has quit [Client Quit]
maxmanders has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
jimeh has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
mercwithamouth has joined #ruby
jimeh has quit [Client Quit]
shock_one has joined #ruby
braoru has quit [Ping timeout: 244 seconds]
Kenum has joined #ruby
dagnachew has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 244 seconds]
mrc_ has quit [Quit: Leaving.]
cardoni has joined #ruby
chimmy has joined #ruby
techlife has quit [Ping timeout: 272 seconds]
techlife has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
hmans has joined #ruby
bluOxigen has joined #ruby
kumarat9pm has joined #ruby
cardoni has quit [Ping timeout: 255 seconds]
dallasm has joined #ruby
byped has joined #ruby
blueOxigen has joined #ruby
DrShoggoth has quit [Ping timeout: 245 seconds]
maxmanders has quit [Ping timeout: 264 seconds]
otters has quit [Ping timeout: 276 seconds]
onemanjujitsu has quit [Quit: onemanjujitsu]
bluOxigen has quit [Read error: Connection reset by peer]
mockra has joined #ruby
dmerrick has joined #ruby
bluOxigen has joined #ruby
_nitti has quit [Remote host closed the connection]
maxmanders has joined #ruby
_nitti has joined #ruby
blueOxigen has quit [Ping timeout: 248 seconds]
radic has quit [Read error: Operation timed out]
ij has quit [Read error: Connection reset by peer]
<jokke> i need to store an object i reject from an array in a variable. how do i do that?
Monie has joined #ruby
<jokke> or rather all objects that i reject
<apeiros_> you probably want partition instead of reject
<jokke> partition.. i'll look into that
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
sullenel has quit [Quit: WeeChat 0.4.0]
<jokke> thanks
Xeago has quit [Remote host closed the connection]
radic has joined #ruby
FloatingWeed has quit [Remote host closed the connection]
cantonic has joined #ruby
generali_ has joined #ruby
_nitti has quit [Ping timeout: 276 seconds]
otters has joined #ruby
vansonhk_ has quit [Quit: vansonhk_]
chimmy has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<shock_one> Does anyone have windows and want to help quickly?
cantonic has quit [Client Quit]
io_syl has quit [Read error: Connection reset by peer]
io_syl_ has joined #ruby
girija_ has joined #ruby
byped has quit [Quit: byped]
<shevy> hmmm html frames are no longer supported in html5? my web-world is coming to an end :(
<apeiros_> frames have been a bad idea for the last 10 years, if not longer…
Stilo has joined #ruby
blueOxigen has joined #ruby
mephux has quit [Excess Flood]
ahokaomaeha has joined #ruby
mephux has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
v0n has joined #ruby
<jrajav> shevy: What do you need frames for?
maxmanders has quit [Ping timeout: 264 seconds]
elux has joined #ruby
decoponio has quit [Quit: Leaving...]
bluOxigen has quit [Ping timeout: 245 seconds]
ToTo has quit [Quit: Linkinus - http://linkinus.com]
onemanjujitsu has joined #ruby
braoru has joined #ruby
maxmanders has joined #ruby
mhf has quit [Remote host closed the connection]
bjeanes has quit [Ping timeout: 244 seconds]
tenmilestereo[aw has joined #ruby
jonathanwallace1 has joined #ruby
julian-dephiki has quit [Quit: Computer has gone to sleep.]
dat has joined #ruby
MattRB has joined #ruby
bjeanes has joined #ruby
solidoodlesuppor has quit [Ping timeout: 245 seconds]
stop has joined #ruby
<dat> I'm having to learn Java from Ruby. Makes me kind of sad inside
jonathanwallace has quit [Ping timeout: 245 seconds]
stop is now known as solidoodlesuppor
tenmilestereo has quit [Ping timeout: 276 seconds]
<havenn> dat: Why do you have to learn Java?
<dat> Android, minecraft
<dat> I mean it's not totally bad
<havenn> dat: Hrm. Can you use JRuby instead? Or Mirah?
<dat> it'll be fun to play with these new things
thomasfedb has quit [Ping timeout: 245 seconds]
<dat> I was thinking about ruboto with J Ruby
gkunno has joined #ruby
<dat> uh should I learn the Java language first
<havenn> dat: I've heard good things about Ruboto.
<dat> or does it work just like Ruby
bigmac has joined #ruby
<dat> Thank you by the way
julian-dephiki has joined #ruby
elux has quit [Quit: Leaving...]
<dat> It won't hurt me to learn another language
<dat> Haskell would be more fun though
<havenn> dat: JRuby is a first-class citizen on the JVM. If you reaaally need Java, Mirah takes some of the pain out of it while maintaining all the speed.
<havenn> dat: Perl6 or Elixir sound more fun to me!
<dat> okay
<dat> well I've only been programming for 2 years
cousine has joined #ruby
swarley| has joined #ruby
<dat> started with actionscript
cousine has quit [Remote host closed the connection]
<havenn> dat: JRuby is really, really awesome. Worth spending time on!
<dat> Pearl would be fun for the sysadmin reasons
<dat> Yeah I'll definitely give it a shot
<dat> I love Ruby but I never wanted to learn rails
<havenn> dat: Another one to keep on the radar is mruby: https://github.com/mruby/mruby
<havenn> dat: Rails is my least favorite thing in Ruby. :P
<dat> okay let me check that out
mercwithamouth has quit [Ping timeout: 252 seconds]
thomasfedb has joined #ruby
<Hanmac> dat i can use ruby for 3d games ... (but i am not finish yet)
<havenn> dat: Silly example of mruby, but compiled a FizzBuzz to C, then on to a standalone executable that can run without Ruby being present: https://github.com/havenwood/mruby-fizzbuzz
s1n4 has quit [Quit: leaving]
shock_one has quit [Remote host closed the connection]
Takehiro has joined #ruby
onemanjujitsu has quit [Quit: onemanjujitsu]
FloatingWeed has joined #ruby
keanehsiao has quit [Quit: keanehsiao]
<dat> That's really cool
nobuoka has quit [Quit: Leaving...]
FloatingWeed has quit [Remote host closed the connection]
<dat> I'll have to learn how it works
iamlacroix has joined #ruby
mrc_ has joined #ruby
<dat> You really get enough efficiency games to run 3 D Ruby games ?
Morkel has joined #ruby
iamlacroix has quit [Remote host closed the connection]
joofsh has joined #ruby
<dat> I'm still a noob
<dat> well thanks
ij has quit [Read error: No route to host]
<dat> peace
dat has quit [Quit: Bye]
cpruitt has quit [Ping timeout: 260 seconds]
onemanjujitsu has joined #ruby
Takehiro has quit [Ping timeout: 276 seconds]
templaedhel has quit [Quit: Leaving...]
swarley- has joined #ruby
templaedhel has joined #ruby
browndawg has left #ruby [#ruby]
swarley| has quit [Ping timeout: 245 seconds]
swarley| has joined #ruby
swarley- has quit [Ping timeout: 245 seconds]
martian-a has quit [Ping timeout: 252 seconds]
inokenty has quit [Quit: Leaving.]
<shevy> jrajav I used to have my old battle station for browsergames in frame format. the left frame had the quick-links to cast spells, th e right frame was much larger and allowed quick reloading of the component I needed, to assess whether my enemies were moving
kumarat9pm has quit [Quit: Leaving.]
maxmanders has quit [Ping timeout: 252 seconds]
grn has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
cardoni has joined #ruby
keymone has quit [Quit: keymone]
pyro111 has quit [Ping timeout: 245 seconds]
d34th4ck3r has joined #ruby
maxmanders has joined #ruby
jacktrick has joined #ruby
cardoni has quit [Ping timeout: 245 seconds]
kn330 has joined #ruby
jacktrick has quit [Client Quit]
hmans has quit [Quit: Linkinus - http://linkinus.com]
anderse_ has quit [Quit: anderse_]
onemanjujitsu has quit [Quit: onemanjujitsu]
arya has quit [Ping timeout: 248 seconds]
liquid-silence has quit [Ping timeout: 240 seconds]
robotmay has quit [Read error: Connection reset by peer]
robotmay has joined #ruby
emmanuelux has joined #ruby
arya has joined #ruby
maxmanders has quit [Ping timeout: 252 seconds]
zezikaro has joined #ruby
Xeago has joined #ruby
<zezikaro> Hi does anyone know what foo = <<-foo
<zezikaro> means?
<otters> it's the start of a heredoc
<zezikaro> more specifically
<zezikaro> code = <<-code
<zezikaro> def ...
<zezikaro> otters Is that heredoc for the above?
<swarley|> Its a multiline string
<zezikaro> thank you :)
<swarley|> Delimited by the word code
girija_ has quit [Ping timeout: 276 seconds]
<spider-mario> when there is a -, there can be spaces before the ending “code”
maxmanders has joined #ruby
MattRB has joined #ruby
mercwithamouth has joined #ruby
Kenum has quit [Read error: Connection reset by peer]
Kenum has joined #ruby
mhf has joined #ruby
<zezikaro> spider-mario thanks :)
dmerrick has quit [Quit: dmerrick]
<spider-mario> no problem. :)
<zezikaro> Is ruby an esoteric language?
bluOxigen has joined #ruby
<swarley|> No?
vlad_starkov has joined #ruby
d2dchat has quit [Remote host closed the connection]
dmiller has joined #ruby
blueOxigen has quit [Ping timeout: 276 seconds]
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
dagnachew has joined #ruby
RailsPig has quit [Remote host closed the connection]
wallerdev has joined #ruby
banisterfiend has joined #ruby
MattRB has quit [Quit: This computer has gone to sleep]
dmiller has quit [Ping timeout: 252 seconds]
onemanjujitsu has joined #ruby
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
tommyvyo has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
innohero has joined #ruby
innohero has quit [Client Quit]
joofsh has quit [Remote host closed the connection]
joofsh has joined #ruby
shock_one has joined #ruby
vlad_starkov has joined #ruby
subbyyy has joined #ruby
<zezikaro> swarley It's just really hard to understand, and google, the symbols :P
<ereslibre> zezikaro: nope, it's not an esoteric language
<shevy> zezikaro symbols - remember that symbols are boring
<swarley> esoteric means that it's a joke
<shevy> zezikaro ruby is indeed a bit complex :( but you must keep the central idea in mind: ELEGANCE
<swarley> that the language is not meant to be used in production
<shevy> brainfuck
<shevy> lisp!!!
<swarley> LOLCODE, Brainfuck, Whitespace
<spider-mario> Entropy
<shevy> lol
<swarley> actually lisp is popular for some things
<shevy> I liked lolcode
<swarley> LOLCODE is just meant to be a joke as well
reuven has joined #ruby
sorbo_ has joined #ruby
<shevy> man, you can do serious stuff in it
<spider-mario> Entropy code is quite boring but its results are funny
<shevy> what is entropy code
<shevy> that sounds like death and decay
subbyyy has quit [Client Quit]
lupinstein has joined #ruby
<spider-mario> “All data decays as the program runs: each value alters slightly every time it's used, becoming less precise.”
Monie has quit [Quit: Quit]
<shevy> "all data decays as the program runs"
<swarley> Usually, an esolang's creators do not intend the language to be used for mainstream programming, although some esoteric features, such as visuospatial syntax,[1] have inspired practical applications in the arts. Such languages are often popular among hackers and hobbyists.
<shevy> the idea is not so bad, except that in living organisms, entropy is battled through synthesis of new proteins, transfer of energy, repairing the cell etc...
subbyyy has joined #ruby
<spider-mario> “98.39877 boutles of bedr nn the wall, 98.42226 bottles of beer.”
whowantstolivefo has joined #ruby
<shevy> lol
<shevy> sounds like a drunk programming language
<swarley> Drunk eliza lol
baphled has quit [Ping timeout: 248 seconds]
lolmaus has joined #ruby
<spider-mario> available on the web!
<RubyPanther> It would probably be very useful in an eliza-style program, as you could track parsed emotional cues more easily
onemanjujitsu has quit [Quit: onemanjujitsu]
ryanf has quit [Ping timeout: 248 seconds]
braoru has quit [Ping timeout: 244 seconds]
subbyyy has quit [Quit: none 0.3.9.2]
BizarreCake has quit [Remote host closed the connection]
justsee has joined #ruby
justsee has joined #ruby
subbyyy has joined #ruby
templaedhel has quit [Quit: Leaving...]
dcwu has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
x82_nicole has joined #ruby
Jeaye has joined #ruby
ananthakumaran1 has quit [Quit: Leaving.]
baphled has joined #ruby
ebobby has joined #ruby
lpm has joined #ruby
Virunga has joined #ruby
skbierm1 has joined #ruby
mockra has quit [Remote host closed the connection]
skbierm has quit [Ping timeout: 245 seconds]
Virunga has quit [Ping timeout: 252 seconds]
cardoni has joined #ruby
anderse has joined #ruby
balr0g has joined #ruby
<balr0g> hello o/
Morkel_ has joined #ruby
mrc_ has quit [Quit: Leaving.]
freakazoid0223 has quit [Quit: Leaving]
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
cardoni has quit [Ping timeout: 264 seconds]
subbyyy has quit [Read error: Connection reset by peer]
ananthakumaran has joined #ruby
kn330 has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
colonolGron has joined #ruby
dekroning has joined #ruby
generali_ has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
markalanevans has quit [Quit: markalanevans]
GMFlash has joined #ruby
cableray has joined #ruby
mumble has left #ruby ["Leaving"]
JarJar has joined #ruby
generali_ has joined #ruby
DrShoggoth has joined #ruby
benlieb has quit [Quit: benlieb]
rakl has joined #ruby
dekroning has quit [Ping timeout: 245 seconds]
benlieb has joined #ruby
horofox has joined #ruby
neku has quit [Quit: Linkinus - http://linkinus.com]
techhelp has quit [Quit: This computer has gone to sleep]
dekroning has joined #ruby
dagnachew has quit [Quit: Leaving]
Bosox20051 has joined #ruby
moshee has quit [Remote host closed the connection]
dekroning has quit [Client Quit]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
subbyyy has joined #ruby
pskosinski has quit [Quit: Drama: Open source spirit and copyright infringement according to Quinton Reeves, Red Eclipse developer: http://pawelk.pl/quinton-reeves]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
ij has quit [Ping timeout: 248 seconds]
bricker has quit [Quit: leaving]
zenloop has joined #ruby
<zenloop> quick question. When a variable is assigned in the following way: @myvar="hello world" what is the datatype of @myvar?
rakl has quit [Quit: sleeping]
ryanf has joined #ruby
<Spitfire> zenloop, string
ij has joined #ruby
<zenloop> Thanks spitfire. What is the difference between that and myvar="hello world"?
lupinstein has quit [Ping timeout: 245 seconds]
<Spitfire> @myvar is a class instance variable.
<zenloop> What the @?
<zenloop> Ahhhhhhh.
<Spitfire> It can be used anywhere with in a class, and for each instant of that class it'll be the same thing. @@ is across all instances of a single class.
<Hanmac> Spitfire: it may not an class instance variable, that depends on the context
<Spitfire> Hm?
razibog has joined #ruby
<Hanmac> its an instance variable not an class one
ij has quit [Read error: Connection reset by peer]
<zenloop> ok got it. Thanks much. Also what is the best way to execute a shell accessible script from ruby. I do not care about the output. Is backticks an acceptable way to call out to a shell accessible command?
ij has joined #ruby
aapzak has quit [Ping timeout: 264 seconds]
<Hanmac> Spitfire your lines means @@ class variables, but he uses @ instance variables ... so your help is wrong for his question
hackerdude has joined #ruby
<_br_> zenloop: In order to better understand stuff like this I advise you to poke around with IRB or PRY. Each object defines a #methods function so, e.g. "blahblah".methods will show you what you can do with that object. You will see e.g. a #class method which is handy to better understand what "type" that object has.
<Spitfire> Hanmac, @ is an instant variable of a class.
<Spitfire> That's the point I was trying to make.
<zenloop> _br_: got my irb open right now :-)
<Spitfire> I also clarified it later to explain what I meant.
ij has quit [Read error: Connection reset by peer]
<Spitfire> No need to get on my back.
<_br_> zenloop: cheers ! :)
aapzak has joined #ruby
<Hanmac> Spitfire and how do you know that he used it in a class? @ is an variable of an instance
vlad_starkov has quit [Remote host closed the connection]
<Spitfire> I was merely trying to explain it in a way that'd make sense.
* Spitfire rolls his eyes.
<Spitfire> This is why I never bother with IRC support channels, either for getting help or giving it. ffs.
jankly has quit [Ping timeout: 256 seconds]
<zenloop> Thanks for you help guys. For what it is worth, much appreciated.
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
<apeiros_> Spitfire: wow dude, calm down
<apeiros_> you said something wrong and got corrected. the world didn't stop due to that.
<Spitfire> No, I got corrected and let it pass me by.
<Spitfire> Then I got corrected again when I didn't react.
<Hanmac> Spitfire: tell me how do you get from the line: @myvar="hello world" to that its an class instance variable? he doesnt even used a class
<Spitfire> Then I explained that I was just trying to put my answer across in a simplified way to make sense.
<Spitfire> And as you can see Hanmac is still on my case.
<Spitfire> Which is why I generally don't bother with channels like this.
Nuck has quit [Ping timeout: 256 seconds]
joofsh has quit [Remote host closed the connection]
<zenloop> Actually I do understand classes.
solidoodlesuppor has quit [Remote host closed the connection]
<zenloop> I normally program in python but have had to write a few chef recipes.
<zenloop> So diving into ruby.
Nuck has joined #ruby
<Hanmac> zenloop: in ruby you could hide classes in the singleton class of an object :D
<apeiros_> zenloop: local_variables, @instance_variables, @@class_variables, $globals and Constants are the types of variables that exist in ruby
<zenloop> Nice.
<apeiros_> constants are marked by starting with [A-Z] (an uppercase letter)
<apeiros_> you will rarely see and should avoid creating @@cvars and $globals
jpfuentes2 has joined #ruby
Nisstyre-laptop has joined #ruby
mneorr has joined #ruby
xandy is now known as xAndy
<Hanmac> beware, some globals are only play as global but they are (thread-)local in reality
joofsh has joined #ruby
<apeiros_> or even frame-local. some are implemented as callbacks.
<Hanmac> yeah they maybe programmed in C as virtual ... (they are readonly and hooked variables too)
justsee has quit [Quit: Leaving...]
nkr has quit [Quit: Linkinus - http://linkinus.com]
<zenloop> I guess in python instance variables are defined with __init__ and set when the instance is created. Class variables are just implied as they are in the top level class space.
tjbiddle has joined #ruby
mockra has joined #ruby
<Hanmac> >> o = Object.new: class << o; class ABC; end;end; p o.singleton_class::ABC
<eval-in> Hanmac: Output: "/tmp/execpad-ba08c2611294/source-ba08c2611294:1: syntax error, unexpected ':'\no = Object.new: class << o; class ABC; end;e...\n ^\n" (http://eval.in/8222)
<Hanmac> >> o = Object.new; class << o; class ABC; end;end; p o.singleton_class::ABC
<eval-in> Hanmac: Output: "#<Class:0x83d9124>::ABC\n" (http://eval.in/8223)
zenloop has quit [Quit: zenloop]
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
jfl0wers has joined #ruby
GMFlash has quit [Quit: Computer has gone to sleep.]
mhf has quit [Remote host closed the connection]
k610 has joined #ruby
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
spider-mario has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
mneorr has quit [Remote host closed the connection]
Stilo has joined #ruby
xk_id has quit [Remote host closed the connection]
lupinstein has joined #ruby
adambeynon has quit [Quit: Computer has gone to sleep.]
k611 has joined #ruby
xAndy is now known as xandy
mahmoudimus has joined #ruby
templaedhel has joined #ruby
deed02392 has quit [Remote host closed the connection]
xandy is now known as xAndy
mityaz has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
<Xeago> can the verb 'persist' be used to indicate data being saved to a non-volatile media?
<Xeago> medium*
<banisterfiend> Xeago: werent you supposed to have fnished your thesis a while ago? :))
tgandrews has joined #ruby
<Xeago> finished the leading work for it
<Xeago> currently about 80% done with it
<Xeago> the writing that is
lolmaus has quit []
Axsuul has joined #ruby
<Xeago> graduating the week of 28th of februari
robotmay has quit [Remote host closed the connection]
<Xeago> it has to be finished 2 weeks before that
<Xeago> so I am a bit behind schedule :'(
<Xeago> than again, if I was on schedule, I wouldn't know wtf to do :)
mneorr has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
eldariof has quit []
jrafanie has joined #ruby
gkunno has quit [Quit: dev/null]
rakl has joined #ruby
GMFlash has joined #ruby
kn330 has joined #ruby
ntzrmtthihu777 has joined #ruby
<ntzrmtthihu777> yay, did not know if this channel exsited, was a stab in the dark
Virunga has joined #ruby
<ntzrmtthihu777> anyone here with experience of ruby under ubuntu 12.04?
<Xeago> ntzrmtthihu777: most likely, yes. What is the issue?
eldariof has joined #ruby
skbierm1 has quit [Ping timeout: 264 seconds]
<ntzrmtthihu777> k, just installed wxruby, but the program i installed it for cant find it
radic has quit [Ping timeout: 244 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
reuven has quit [Remote host closed the connection]
jrafanie has quit [Quit: jrafanie]
<_br_> ntzrmtthihu777: Are you running rbenv or rvm ?
skbierm1 has joined #ruby
<ntzrmtthihu777> I have rvm, yes.
kn330 has quit [Ping timeout: 264 seconds]
rismoney has quit [Ping timeout: 264 seconds]
<_br_> ntzrmtthihu777: Did you install the wxruby stuff via apt-get resp. your distribution package management?
<ntzrmtthihu777> no, I used gem install
radic has joined #ruby
<_br_> ntzrmtthihu777: Hm, did you create a gemset for that project? Is rvm properly loaded?
<_br_> ntzrmtthihu777: gem list shows the gem?
shock_one has quit [Remote host closed the connection]
ahokaomaeha has quit [Ping timeout: 255 seconds]
<ntzrmtthihu777> K, lets slow down. gem list does show them, and I assume rvm is working right because it is (to me it seems) working
shock_one has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
roadt_ has quit [Ping timeout: 276 seconds]
<Xeago> banisterfiend: any chance you could answer the question :)?
anderse has quit [Quit: anderse]
<banisterfiend> Xeago: gimmie dat scrill and mabye
<Xeago> what is a scrill?
<ntzrmtthihu777> dat scrilla
<_br_> ntzrmtthihu777: so if you do irb and require you get true?
mockra has quit [Remote host closed the connection]
<ntzrmtthihu777> explain, _br_. still fairly new to ruby
horofox has quit [Quit: horofox]
<_br_> ntzrmtthihu777: irb is a repl when you type that you get a commandline prompt where you can enter require commands to see if they work properly.
<_br_> ntzrmtthihu777: same as ruby -r <blah>
<ntzrmtthihu777> ah, like intering a chroot. yeah, irb yields the interactive prompt
<jokke> is it bad practice to pack a gem of something that has non ruby dependecies? Like a wrapper for some other program?
<Hanmac> ... no require has NOTHing todo with chroot ...
<_br_> ntzrmtthihu777: great, now just check if when you type your require line that thing returns "true"
<Hanmac> jokke how else can you do it??
templaedhel has quit [Quit: Leaving...]
movvy has left #ruby [#ruby]
<jokke> Hanmac: huh?
<jokke> what do you mean how else?
<ntzrmtthihu777> gotcha. Hanmac: it seems to me that irb is like entering a different shell, and chroot puts you into a sh shell so it seems similar to me
<_br_> ntzrmtthihu777: no, irb is a so-called REPL
FloatingWeed has joined #ruby
<Xeago> (read eval print loop)
pskosinski has joined #ruby
<Hanmac> jokke say i have an binding to an 3d engine, how else do you want to install it beside gem ?
<jokke> Hanmac: hm, right.
<ntzrmtthihu777> I am checking for wxruby, so I would use require wxruby?
<ntzrmtthihu777> <-- n00b, like I said
<jokke> Hanmac: how can i ensure the dependency is met?
<ntzrmtthihu777> what os, jokke ?
eldariof has quit []
<jokke> ntzrmtthihu777: linux
<_br_> ntzrmtthihu777: according to http://wxruby.rubyforge.org/wiki/wiki.pl?Getting_Started no, it seems require 'wx'
<ntzrmtthihu777> install it to a ppa and have that package as a dependancy, assuming debian/ubuntu
mockra has joined #ruby
<jokke> ntzrmtthihu777: what?
<Hanmac> jokke within your extconf.rb there you can use have_header have_library and other have_ or find_ functions
mockra has quit [Remote host closed the connection]
<ntzrmtthihu777> no, require wx and require 'wx' do not return true
<jokke> Hanmac: ah perfect
mockra has joined #ruby
<jokke> Hanmac: any tutorials or wiki you can recommend. Also for building gems. No experience whatsoever
<ntzrmtthihu777> first gives me undefined local var
sorbo__ has joined #ruby
<_br_> ntzrmtthihu777: seems the wx is not in the correct $: ($LOAD_PATH)
<ntzrmtthihu777> and using the 'wx' gives me all kinda hell and aborts
br4ndon has joined #ruby
<jokke> ntzrmtthihu777: god your nick is annoying :D weechat even shows it yellow. I'm getting eye cancer :P
sorbo_ has quit [Ping timeout: 260 seconds]
sorbo__ is now known as sorbo_
<_br_> ntzrmtthihu777: Seems, and I am guessing here, that you have some kind of messed up install. Probably a good idea to remove the entire gemset you added to rvm and install that again from scratch.
<ntzrmtthihu777> same if I usre rvm
<ntzrmtthihu777> lol thanks jokke
<ntzrmtthihu777> your name shows yellow when you talk at me too, jokke
michaelmartinez has joined #ruby
<jokke> ntzrmtthihu777: yeah that's highlighting.
<ntzrmtthihu777> hehe, yeah. I use irssi
<jokke> yours is yellow with orange background when you're highlighted :D
<ntzrmtthihu777> _br_: some pointers, then? totally remove ruby outside of rvm and start over?
cr3 has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
mhf has joined #ruby
<cr3> hi folks, if I have a method called foo= in a class, how can I call that method from another method in the same class
<_br_> ntzrmtthihu777: Well, I assumed based on your prior answers that you created a rvm gemset for this. If so, remove that gemset and start over installing all required gems. Please check the rvm manual to understand gemsets and bundler.
<ntzrmtthihu777> lol did you actually name it foo or is this just for examples sake
<cr3> the method can be called with self.foo= value, but that seems a bit verbose
<ntzrmtthihu777> hmm, rvm manual: man rvm? or something else
<ntzrmtthihu777> yeah, man rvm
<_br_> ntzrmtthihu777: !?! rvm has a very nice documentation on their www pages
FloatingWeed has quit [Quit: Leaving.]
crackfu has joined #ruby
crackfu has quit [Changing host]
crackfu has joined #ruby
freeayu has joined #ruby
<ntzrmtthihu777> kk
kold has joined #ruby
atno has joined #ruby
<_br_> cr3: Do you mean you have a function "def foo="
<ntzrmtthihu777> so, so, rvm implode and start over?
<apeiros_> cr3: besides of using send, that's the only way
<apeiros_> since plain `foo = val` always assigns to a local variable
ij has quit [Ping timeout: 264 seconds]
mhf has quit [Remote host closed the connection]
<_br_> ntzrmtthihu777: did anyone say anything about killing rvm? Please read about gemsets!
<cr3> _br_: yep
yakko has joined #ruby
<_br_> cr3: See apeiros_ answer its spot on.
<cr3> apeiros_, _br_: cheers folks!
<ntzrmtthihu777> I will. Just quite franly I like a clean slate
mengu has quit [Quit: Konversation terminated!]
io_syl_ has quit [Quit: Computer has gone to sleep.]
<_br_> ntzrmtthihu777: rvm gemset --help
yakko has quit [Read error: Connection reset by peer]
joeycarmello has joined #ruby
reuven has joined #ruby
mneorr has quit [Remote host closed the connection]
phinfonet has joined #ruby
robert___ has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
<ntzrmtthihu777> _br_: So use rvm gemset install gems instead of rvm 1.9.3 do gem install gems?
robert_ has quit [Ping timeout: 244 seconds]
rakl has quit [Quit: sleeping]
sorbo_ has left #ruby [#ruby]
banisterfiend has quit [Read error: Connection reset by peer]
ben_h has joined #ruby
banisterfiend has joined #ruby
ij has joined #ruby
ij has quit [Changing host]
ij has joined #ruby
horofox has joined #ruby
workmad3 has joined #ruby
_nitti has joined #ruby
br4ndon_ has joined #ruby
[Neurotic] has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
jonahR has joined #ruby
<ntzrmtthihu777> I just realized I'm a derp. the gem I installed was v2.0, but the program wants <= v1.9.8
adeponte has joined #ruby
anderse has joined #ruby
<_br_> ntzrmtthihu777: Good idea to look into Bundler and Gemfile in order to not make this mistake twice.
br4ndon has quit [Ping timeout: 264 seconds]
<ntzrmtthihu777> yeah, thankies
<ntzrmtthihu777> problem is, how do you install an older gem?
BlakeRG has joined #ruby
mneorr has joined #ruby
Banistertab has joined #ruby
<Squarepy> ntzrmtthihu777, you can pass the version number you want
cr3 has quit [Quit: leaving]
<_br_> ntzrmtthihu777: Your preferred work flow should probably be ; Create a proper .rvmrc in your root project dir with a nice gemset declaration and version (e.g. rvm use 1.9.2@foobar_project) ; then a nice gemset rvm gemset create foobar_project; then a nice Gemfile (RTFM) ; then you just do a bundle install and you're done.
<_br_> ntzrmtthihu777: Just create a Gemfile and pin the version you want
mando has joined #ruby
<ntzrmtthihu777> Squarepy: but what is the syntax? wxruby1.9.8 or some other combo?
<ntzrmtthihu777> thanks _br_
mando has quit [Remote host closed the connection]
ben_h has quit [Read error: Connection reset by peer]
stkowski has joined #ruby
tc has quit [Disconnected by services]
<ntzrmtthihu777> _br_: I am not working on a project of my own atm, just attempting to use anothers
arietis has joined #ruby
<ntzrmtthihu777> shall I link you?
bluOxigen has quit [Ping timeout: 245 seconds]
<Squarepy> ntzrmtthihu777, you use the --version option or -v
<Hanmac> about installing gems at debian packages... there are some chases where this could be wrong... because the debian is precomipled and the gem maybe can do some magic while installing
mhf has joined #ruby
ferdev is now known as ferdev|away
<ntzrmtthihu777> hehe, point taken.
<Squarepy> maybe he's in china :)
<ntzrmtthihu777> いえ、日本で
<Squarepy> or iran
rismoney has joined #ruby
tr4656 has quit [Remote host closed the connection]
<ntzrmtthihu777> allahu akbar!
* ntzrmtthihu777 ululates
anderse has quit [Quit: anderse]
s1n4 has joined #ruby
<havenn> Takbir? Not a bad gem name. :P
JumpMast3r has quit [Quit: JumpMast3r]
<Squarepy> :)
cardoni has joined #ruby
<ntzrmtthihu777> heh, I know I'm a pain in the ass, _br_, but another question. you say @foobar_project, but again this is not my project. what naming syntax would I use?
zenloop has joined #ruby
<havenn> Interesting proposal for a volunteer-run CA for RubyGems: https://github.com/rubygems-trust/rubygems.org/issues/8
<lectrick> was idling around with some ideas in ruby and came across this which made me scratch my head: https://gist.github.com/4703697
robotmay has joined #ruby
<ntzrmtthihu777> very interesting, lol
<_br_> ntzrmtthihu777: 大丈夫, its irrelevant. The gemset name is only for you locally you can call it whatever you want. Its created in $HOME/.gems if I remember correctly. Its only a way of encapsulating the gems from each each (makes handling different versions easier).
havenn has quit [Remote host closed the connection]
<ntzrmtthihu777> ah, foobar_project is a user-defined name of the gemset
<_br_> bingo
<_br_> .oO(rtfm?)
My_Hearing has joined #ruby
My_Hearing has joined #ruby
My_Hearing has quit [Changing host]
<Hanmac> lectrick its because the line of the binding is different, that why the procs are not the same
ferdev|away is now known as ferdev
cardoni has quit [Ping timeout: 264 seconds]
<ntzrmtthihu777> gotcha, rtfm = read the f*cking manual?
<lectrick> Hanmac: but aren't 2 new lambdas created, regardless?
adeponte has quit [Remote host closed the connection]
<lectrick> Hanmac: Ohhhh so I get it, the binding is equivalent at the same line but not at different lines
Morkel has quit [Quit: Morkel]
<ntzrmtthihu777> 日本語が分かりますか。
<Hanmac> lectrick as you can see the line is different 24 != 25
angusiguess has joined #ruby
<lectrick> Hanmac: Makes sense now! Nice.
tr4656 has joined #ruby
* Hanmac is making sense since '88
<_br_> ntzrmtthihu777: alot of people do, but this is a english channel
<ntzrmtthihu777> hehe, just you popped out that, so I hadda ask. makes sense, as if iirc ruby was created in japan, no?
<_br_> irrelevant, ruby has gone world wide.
<ntzrmtthihu777> lawl, you like that word
recycle_ has joined #ruby
<lectrick> Hanmac: It strikes me as silly that bindings are line-based and not, say, token-based or AST-based or something else
tr4656 has quit [Client Quit]
recycle has quit [Ping timeout: 276 seconds]
recycle__ has joined #ruby
<lectrick> Hanmac: Actually, that may only be in IRB. The plot thickens
<Hanmac> its funny enouth that procs are compareable
<lectrick> it is. without running them, but it does seem to look inside them, can I get the source of a proc?
tr4656 has joined #ruby
tr4656 has quit [Client Quit]
<Hanmac> hm i dont think so :'(
<_br_> lectrick: yes you can e.g. ruby2ruby or sourcify
heckler has joined #ruby
<_br_> lectrick: depends on the proc a bit though
Mon_Ouie has quit [Disconnected by services]
My_Hearing is now known as Mon_Ouie
joofsh has quit [Remote host closed the connection]
<workmad3> Hanmac: https://gist.github.com/4703744 <-- different lines doesn't matter if you run that as a script, not in IRB
<_br_> gnaaa.. back to C++ bf
slyv has joined #ruby
My_Hearing has joined #ruby
My_Hearing has quit [Changing host]
My_Hearing has joined #ruby
BlakeRG has quit [Quit: Leaving.]
X-Jester has quit [Ping timeout: 246 seconds]
Retistic has joined #ruby
kmurph has joined #ruby
<Hanmac> _br_ you are right. i need to write more c++ gems
recycle_ has quit [Ping timeout: 245 seconds]
osaut has quit [Quit: osaut]
<workmad3> Hanmac: I agree, it's just odd that procs and lambdas are comparable :)
<_br_> Hanmac: lol, that I didn't mean ^^
carloslopes has joined #ruby
<workmad3> Hanmac: or at least, comparable as something other than 'l1.object_id == l2.object_id'
<Hanmac> _br_ you should try it, its fun :D
<ntzrmtthihu777> question: can dlls be made with ruby?
<workmad3> Hanmac: http://www.cppgm.org/index.html <-- seen that?
<_br_> Hanmac: I rather go jump out of the window :D
tr4656 has joined #ruby
horofox has quit [Quit: horofox]
<ntzrmtthihu777> lawl
<_br_> workmad3: Be careful with that. Its sounds like alot of BS. e.g. "Learn all of C++11" - lol -
<Hanmac> workmad3 yeah i have seen it, but i i dont think that i can pass that for sample i didnt do "developed a compiler for a toy language" yet
<workmad3> _br_: well, the intention is to implement the entire thing
Squarepy has quit [Read error: Connection reset by peer]
<workmad3> _br_: so at that point, an outcome of learning it all doesn't seem so extreme :P
<ntzrmtthihu777> wounds interesting, lol
<workmad3> Hanmac: I'm gonna give it a try at least :)
<heckler> i'm new to ruby. how do I modify a gem? I see the lib dir with the source and the bin file. if I modify the source code how do I get the binary re-built?
<_br_> workmad3: utter nonsense. http://news.ycombinator.com/item?id=5148895
Vektur has quit []
GMFlash has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
joofsh has joined #ruby
<Hanmac> workmad3 for sample i dont want to write an assambler ... i might me crazy and possibly mad, but i am not so bloodystupid to do anything with asm ...
horofox has joined #ruby
<_br_> heckler: gemfiles are not pacakges, you want to look into e.g. http://blog.thepete.net/2010/11/creating-and-publishing-your-first-ruby.html
<heckler> ok
<Hanmac> heckler: nomaly the bin requires the stuff in the lib dir so when you change it, it affects the bin too ... or do you talk about an C/C++ gem?
stormetrooper has joined #ruby
jonpauldavies has joined #ruby
<ntzrmtthihu777> I don't think of asm as being stupid any more than latin. it may be uncommonly used, but its not stupid
<_br_> heckler: uh sorry too much multi tasking s/packages/binaries/
tcstar has quit [Read error: Connection reset by peer]
answer_42 has quit [Ping timeout: 276 seconds]
<workmad3> _br_: I'll let you know whether things pan out
<_br_> workmad3: good luck ! :)
carloslopes has quit [Remote host closed the connection]
<workmad3> _br_: yeah, I doubt I'll manage to do well
<workmad3> _br_: assuming it's not a hoax :)
X-Jester has joined #ruby
stormetrooper has quit [Client Quit]
<heckler> _br_: maybe I should have said pre-processed ruby file?
<_br_> workmad3: well I hope not, but I would be surprised
<_br_> heckler: huh?
<heckler> nm
<Hanmac> ntzrmtthihu777 i dont say that asm is stupid, i say that i am would be stupid to use asm when i have C or ruby
whowantstolivefo has quit [Quit: quit]
<ntzrmtthihu777> hehe, I know. bad phrasing on my part
<heckler> Hanmac: yes that's what i thought. if i change the source code in the lib dir, how do I update the thing in the bin dir?
Hanmac has quit [Read error: Connection reset by peer]
<heckler> great
Hanmac has joined #ruby
<Hanmac> fu something pulled my cable ... i hope this does not happen when i am old
<ntzrmtthihu777> D:
Chinorro has joined #ruby
<ntzrmtthihu777> Hanmac: hehe, I know. bad phrasing on my part, you missed this
onemanjujitsu has joined #ruby
<Hanmac> thats was the last line i get after something kicked me out
banister_ has quit [Remote host closed the connection]
<ntzrmtthihu777> oh, misread the feed
mneorr has quit [Remote host closed the connection]
horofox has quit [Quit: horofox]
k611 has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
jonpauldavies has quit [Quit: jonpauldavies]
k610 has quit [Ping timeout: 245 seconds]
<heckler> _br_: this article is about creating a new gem. i have a gem I want to modify.
horofox has joined #ruby
<heckler> i'm not looking to publish it.
hemanth has quit [Read error: Connection reset by peer]
<workmad3> heckler: if you don't need to change the script in the bin/ directory, you don't need to touch that
<Hanmac> heckler whats the name of the gem? does it have an ext dir?
banisterfiend has joined #ruby
<workmad3> heckler: ruby is an interpreted language... unless you have a native extension (written in C or C++ generally) you don't need to compile anything
hemanth has joined #ruby
deed02392 has joined #ruby
mhf has quit [Remote host closed the connection]
arya has quit [Ping timeout: 248 seconds]
ij has quit [Ping timeout: 240 seconds]
<heckler> i have a lib and bin dirs
<heckler> in lib is a .rb file
hemanth has quit [Read error: Connection reset by peer]
<heckler> in bin appears to be a binary file
<ntzrmtthihu777> workmad3: in that sense would you consider it similar to bash?
<heckler> no ext dir in there
hemanth has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
julian-dephiki has quit [Quit: Computer has gone to sleep.]
<heckler> workmad3: i know it's interpreted, but i thought the bin file was a byte-code compiled version of the lib file or something. i really don't know what i'm looking at. that's why i am asking.
tealmage has quit [Remote host closed the connection]
jankly has joined #ruby
<workmad3> heckler: no, the bin/ directory is a place to put scripts to invoke gem functionality from the command line, rather than from within a ruby script
mneorr has joined #ruby
<heckler> workmad3: ok
kaB00M has joined #ruby
kaB00M has left #ruby [#ruby]
<heckler> workmad3: thanks, that is what I needed to know. so I am free to just modify the source code in the /lib and it will work?
Kingy has joined #ruby
thone has joined #ruby
<Hanmac> heckler unless you coded shit, yes :D
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
<heckler> i just need to make some simple mods, i think i can handle it
<Banistertab> Hamac cherry tree dance?
thone_ has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Quit: tjbiddle]
TomJ has joined #ruby
TomJ has quit [Changing host]
TomJ has joined #ruby
<heckler> workmad3: oh, i see. the file was showing up as a binary because there is no file extension on it.
<Hanmac> heckler ... oO then you have an stupid OS oO
elico has quit [Ping timeout: 252 seconds]
jrajav has quit [Quit: I tend to be neutral about apples]
<heckler> well the first time i tried to look in there i was on osx ... and it said this file looks like a binary, so i didn't open it. then after i installed the gem on ubuntu i saw it in the /bin dir so i assumed that was correct.
<ntzrmtthihu777> sounds like win$
<ntzrmtthihu777> guess not, lol
ferdev is now known as ferdev|away
<heckler> but now that i less it, there's ruby code. who knew? did i tell you i am a ruby tard?
<_nitti> it's convention for binaries to not have extensions.
razibog has quit [Ping timeout: 255 seconds]
<heckler> yes, that's why i believed it was.
woolite64 has quit [Ping timeout: 276 seconds]
<ntzrmtthihu777> true, but the extension thing is moot on my system.
<heckler> ntzrmtthihu777: no. fuck windows.
<shock_one> _nitti, exe files look suspiciously at you
<ntzrmtthihu777> exactly, I use linux
<ntzrmtthihu777> oops, missed your intent.
<Hanmac> heckler *.so files that can be requird by ruby are binary
<heckler> ok. good to know.
br4ndon_ has quit [Quit: Lorem ipsum dolor sit amet]
onemanjujitsu has quit [Quit: onemanjujitsu]
<ntzrmtthihu777> only reason I even have window anymore is needed workplace interface *sigh*
<heckler> i won't work anyplace where they use windows.
<heckler> nothing against it, it's just not a place i want to be.
<ntzrmtthihu777> easy for you to say, lol.
<ntzrmtthihu777> here or the streets, literally
rismoney has quit []
Takehiro has joined #ruby
<heckler> ntzrmtthihu777: you mean work or be homeless?
<ntzrmtthihu777> yeah
zenloop has quit [Quit: zenloop]
<ntzrmtthihu777> stuck between a diamond and a hard place, lol
<heckler> yeah i been there. i'm just lucky i have been able to avoid windows since 2004
v0n has quit [Ping timeout: 245 seconds]
<heckler> i might have made more money and had better jobs if i was willing to spend time keeping up with MS world
<ntzrmtthihu777> <.< I am unfortunatly just recently coming out of windows, lol
<Mon_Ouie> It's always funny to imagine that when people mean that, they literally mean windows.
<heckler> better to jump out than be thrown out
<Mon_Ouie> say that*
woolite64 has joined #ruby
<heckler> Mon_Ouie: i jumped out of windows years ago.
benlieb has quit [Quit: benlieb]
<ntzrmtthihu777> heh, right! that is a rather funny phras
<ntzrmtthihu777> sed 's/phras/phrase/'
arietis has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> The one I liked best: "i won't work anyplace where they use windows"
<heckler> yes, i am a vampire.
* ntzrmtthihu777 literally laughed out loud
adeponte has joined #ruby
<Hanmac> currently i am working at my jop with feaky php code ... an ruby or C++ job would be more cool, but there are less currently in my local area
Takehiro has quit [Ping timeout: 264 seconds]
<heckler> Hanmac: where is that?
<ntzrmtthihu777> true.
bigmac has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
<Hanmac> saxony ...
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has joined #ruby
<heckler> you use php in germany?
<Hanmac> yeah ...
<ntzrmtthihu777> getting warmer, lol. I'm getting an undefined symbol error Init_wxMediaCtrl
<heckler> Hanmac: i guess business people just think oh php, i have heard of that. let's use that.
<heckler> guys, we;re using php
<heckler> i'm sure you've heard of it.
arietis has joined #ruby
michaelmartinez has quit [Quit: Check it, Wreck it http://www.caffeineindustries.com/blog]
joofsh has quit [Remote host closed the connection]
<Hanmac> heckler the firma i am in are developing addons for ecommerce software ... so i think its okay for using php ...
<Hanmac> private i use C and C++ for my evil ruby plans
<heckler> magento?
phinfonet has quit [Ping timeout: 255 seconds]
<Hanmac> magento, yeah that stupid shit of crap too
<ntzrmtthihu777> lol
arietis has quit [Client Quit]
<heckler> Hanmac: what is better than magento, in your view?
<heckler> or is this totally irrelevant to what you're doing
<ntzrmtthihu777> rvm use --default 1.9.3
<Spooner> heckler Magneto is a lot cooler than Magento, though having to deal with Xavier can be a problem ;)
kmurph has quit [Quit: kmurph]
<ntzrmtthihu777> shit, my bad.
<Hanmac> i am not against magento in general ... but there are few things that are shitty ... for sample there is not a nice way to install an addon (when you have it as package)
onemanjujitsu has joined #ruby
<heckler> Hanmac: are you working with OScommerce?
<Hanmac> you mean the commuinty edition?
cardoni has joined #ruby
icole has joined #ruby
* heckler shrugs
<heckler> i guess zen cart and some others are based on it
Virunga has quit [Remote host closed the connection]
<Hanmac> the stuff i wrote for myself is cooler than magento imo :P
<heckler> in ruby?
pabloh has joined #ruby
ben_h has joined #ruby
<Hanmac> heckler: yes and no, it is not IN ruby, its FOR ruby :P
gabrielrotbart has joined #ruby
<Hanmac> (they are C++ libs binded with C/C++/Ruby functions)
<heckler> ok
<Hanmac> https://github.com/Hanmac << "Popular repositories" 4/5 are C++ gems
grzywacz has quit [Ping timeout: 252 seconds]
cardoni has quit [Ping timeout: 244 seconds]
kmurph has joined #ruby
crackfu has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
<heckler> i see
crackfu has joined #ruby
_nitti has quit [Remote host closed the connection]
<heckler> Hanmac: speaking of ruby ecommerce i want to try out Stripe soon
_nitti has joined #ruby
Banistertab has quit [Read error: Connection reset by peer]
icole has joined #ruby
adeponte has quit [Remote host closed the connection]
colonolGron has quit [Quit: Lost terminal]
crackfu has quit [Ping timeout: 252 seconds]
gosshedd has quit [Ping timeout: 252 seconds]
emergion has joined #ruby
kmurph has quit [Quit: kmurph]
_nitti has quit [Ping timeout: 264 seconds]
fir_ed has joined #ruby
apeiros_ has quit [Remote host closed the connection]
skrewler has quit [Quit: skrewler]
adeponte has joined #ruby
ferdev|away is now known as ferdev
eliasp has joined #ruby
<eliasp> hi
Kenum has left #ruby [#ruby]
ahokaomaeha has joined #ruby
<eliasp> is there a way to define the scope when skipping a loop using "next"? In Perl I was used to simply label loops and then provide the desired label for next/last/…
horofox has quit [Remote host closed the connection]
<banisterfiend> eliasp: not sure what u mean homie
<Mon_Ouie> There isn't
<banisterfiend> Mon_Ouie: 'alut, what does he mean?
<eliasp> Mon_Ouie: hmm, so "next" always refers to the nearest loop?
<eliasp> banisterfiend: I'll provide you an example… one moment
<Mon_Ouie> 'break label' where label specifies the loop you want to break from
<Spooner> eliasp, No, you can't in Ruby. Best you could do would be to catch a thrown symbol if you have a lot of loops to break at once.
benlieb has quit [Quit: benlieb]
moshee has quit [Ping timeout: 256 seconds]
<eliasp> Spooner: that's actually what I already do but it's by far not that beautiful because it requires another nesting-level, making the code harder to read
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
<eliasp> Spooner: but then I'll stick to this… just looked for a way to reduce the nesting levels
horofox has joined #ruby
Xeago has quit [Remote host closed the connection]
<banisterfiend> eliasp: you could build your own system for this
Xeago has joined #ruby
Retistic has quit [Quit: Retistic]
<banisterfiend> eliasp: using ruby's block syntax and perhaps thread local storage, u could write something quite nice
unsay has quit [Ping timeout: 252 seconds]
<eliasp> banisterfiend: here a Perl example for the sake of completeness: http://pastie.org/6035282
<banisterfiend> eliasp: that looks suspiciously like 'goto' :)
<eliasp> banisterfiend: hmm, actually not worth the use-case here… it's just a one-time script for a complex DB conversion which I have to finish in "minimal time"
codecop has quit [Remote host closed the connection]
Elhu has joined #ruby
<eliasp> banisterfiend: not quite, Perl labels are actually quite powerful to create a good readable code
<eliasp> banisterfiend: but to some extent you're right ;)
backjlack has quit [Remote host closed the connection]
joeycarmello has quit [Remote host closed the connection]
<Mon_Ouie> Funnily, Java has those
<workmad3> banisterfiend: lots of things are like 'goto', but restricted in use ;)
<Mon_Ouie> (A surprising consequence when you don't have syntax highlighting on is that one can insert a URL in the middle of Java code… and it will still compile :p)
Virunga has joined #ruby
<workmad3> Mon_Ouie: awesome :D
<eliasp> Mon_Ouie: I know why I dislike Java ;)
<banisterfiend> Mon_Ouie: is java growing on you
<workmad3> Mon_Ouie: if you turn syntax highlighting on, does it stop compiling? :P
<Mon_Ouie> I'm not using at anymore, so it shouldn't be
<Mon_Ouie> workmad3: No, but you might start to understand why :p
unsay has joined #ruby
<Mon_Ouie> I meant it was more surprising without the comment and the label parts being colored
onemanjujitsu has quit [Quit: onemanjujitsu]
<workmad3> :)
gabrielrotbart has quit [Remote host closed the connection]
<eliasp> ok, so until now, there are only 2 things I dislike Ruby… no support for loop labels and disallowing a comma behind the last element of a listing
<eliasp> :)
fermion has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
<Mon_Ouie> [foo,bar,baz,] works just fine
<Mon_Ouie> Also in hashes
fermion has quit [Client Quit]
<eliasp> Mon_Ouie: hmm, are there some pragmas to allow a more relaxed syntax? It doesn't work for me…
fermion has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
<eliasp> let me retry
<Mon_Ouie> Can you show your code? That's just the normal syntax
<banisterfiend> anyone else fucking hate the rbenv CLI
<banisterfiend> rvm was much easier to use
fermion has quit [Client Quit]
techhelp has joined #ruby
emergion has quit [Ping timeout: 264 seconds]
<ryanf> really? I haven't found that
<ryanf> what's wrong with it?
<eliasp> Mon_Ouie: hmm, maybe this only applies to method arguments like Foo( :blah => "bar", :foo => "blub",)
<Mon_Ouie> This is a programming channel. There's *always* someone in for hating stuff!
<banisterfiend> how do i uninstall a ruby version?
<ntzrmtthihu777> I am liking the rvm, lol
<banisterfiend> rbenv uninstall
Vektur has joined #ruby
<banisterfiend> doesnt work
<eliasp> banisterfiend: depends on your environment…
<banisterfiend> rbenv delete doesnt work
<ryanf> doesn't work how?
<banisterfiend> rbenv remove doenst work
fermion has joined #ruby
<ryanf> rbenv uninstall is what it's supposed to be
<ryanf> assuming you have ruby-build installed
<Mon_Ouie> Yes, it's not allowed in method arguments
<banisterfiend> oh wait, it worked
<banisterfiend> nm
<banisterfiend> :D
<ryanf> haha
<Mon_Ouie> (Or in the hash-sans-curly-braces at the end of an argument list as in your example)
<ryanf> banisterfiend: when did you start using rbenv btw?
<ntzrmtthihu777> its kinda like playonlinux for managing ruby pretty cool
fermion has quit [Client Quit]
maxmanders has quit [Ping timeout: 252 seconds]
<banisterfiend> ryanf: just in my linux VM
<ryanf> ah
<banisterfiend> so i dont use it that often
<eliasp> I dislike such solutions which work outside the scope of a distributions package manager…
<banisterfiend> probably why i hate the CLI
<ntzrmtthihu777> cli rocks lol
galexs has joined #ruby
idkazuma has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Read error: Connection reset by peer]
pcarrier has joined #ruby
<banisterfiend> ryanf: also things like: rbenv -h
galexs has quit []
<banisterfiend> ryanf: doesnt show uninstall
<ryanf> ... it does for me
<ryanf> maybe you have an old version?
<banisterfiend> 0.3.0
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
<ryanf> oh yeah I have 0.4.
<ryanf> 0
<ryanf> I'm guessing it probably doesn't on yours since it comes from a plugin instead of being built in
justsee has quit [Client Quit]
mneorr has quit [Remote host closed the connection]
techhelp has quit [Quit: This computer has gone to sleep]
<banisterfiend> oh ok
techhelp has joined #ruby
arya has joined #ruby
chrishough has joined #ruby
<ntzrmtthihu777> dammit this thing refuses to cooperate
alanp has joined #ruby
alanp has quit [Read error: Connection reset by peer]
Takehiro has joined #ruby
alanp has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
havenn has joined #ruby
techhelp has quit [Quit: This computer has gone to sleep]
alanp_ has quit [Ping timeout: 252 seconds]
f0ster has joined #ruby
Takehiro has quit [Ping timeout: 244 seconds]
<f0ster> where I Can see how datetime comparison operators work ?
x82_nicole has joined #ruby
<ntzrmtthihu777> sonova--- I installed libwxgtk and now the damn thing keeps aborting
nomenkun_ has quit [Remote host closed the connection]
nari has joined #ruby
robotmay has quit [Remote host closed the connection]
adeponte has quit [Remote host closed the connection]
gabrielrotbart has joined #ruby
jrajav has joined #ruby
JumpMast3r has joined #ruby
sepp2k has quit [Remote host closed the connection]
Takehiro has joined #ruby
JarJar has quit [Quit: This computer has gone to sleep]
kmurph has joined #ruby
mneorr has joined #ruby
JarJar has joined #ruby
ossareh has joined #ruby
mneorr has quit [Remote host closed the connection]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
kirun has quit [Quit: Client exiting]
julian-dephiki has joined #ruby
mengu has joined #ruby
kmurph has quit [Client Quit]
jeer has quit []
Spooner has quit [Remote host closed the connection]
julian-dephiki has quit [Ping timeout: 248 seconds]
JarJar has left #ruby ["Leaving"]
cardoni has joined #ruby
<ntzrmtthihu777> mother of pearl!
parkinson2013 has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
Spooner has joined #ruby
arya has quit [Ping timeout: 248 seconds]
kold has quit [Remote host closed the connection]
ebobby has quit [Quit: Lost terminal]
cardoni has quit [Ping timeout: 276 seconds]
angusiguess has quit [Ping timeout: 246 seconds]
Kingy has quit [Quit: Leaving]
ntzrmtthihu777 has left #ruby [#ruby]
Elhu has quit [Quit: Computer has gone to sleep.]
Kuifje has quit [Ping timeout: 245 seconds]
[Neurotic] has quit [Remote host closed the connection]
[Neurotic] has joined #ruby
ahokaomaeha has quit [Ping timeout: 246 seconds]
Takehiro has quit [Ping timeout: 245 seconds]
Takehiro_ has joined #ruby
m8 has quit [Quit: Sto andando via]
rakl has joined #ruby
tgandrews has quit [Remote host closed the connection]
arya has joined #ruby
tenmilestereo[aw has quit [Quit: Leaving]
n1x has quit [Ping timeout: 264 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
hackerdude has quit [Remote host closed the connection]
freezway has joined #ruby
hackerdude has joined #ruby
justsee has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
Takehiro_ has quit [Remote host closed the connection]
robotmay has joined #ruby
hackerdude has quit [Ping timeout: 256 seconds]
arya has quit [Ping timeout: 248 seconds]
nari has quit [Ping timeout: 245 seconds]
adeponte has joined #ruby
JumpMast3r has joined #ruby
gmurphy has joined #ruby
JumpMast3r has quit [Client Quit]
arya has joined #ruby
adeponte has quit [Remote host closed the connection]
RagingDave has quit [Quit: Ex-Chat]
robotmay has quit [Remote host closed the connection]
d34th4ck3r has quit [Ping timeout: 276 seconds]
baphled has quit [Ping timeout: 245 seconds]
samlt has quit [Ping timeout: 252 seconds]
horofox has quit [Quit: horofox]
s1n4 has quit [Quit: leaving]
x82_nicole has joined #ruby
horofox has joined #ruby