apeiros_ changed the topic of #ruby to: programming language || ruby-lang.org || Paste >3 lines of text in http://pastie.org || Rails is in #rubyonrails
QaDeS_ has joined #ruby
nari has quit [Ping timeout: 255 seconds]
tommyvyo has joined #ruby
QaDeS__ has quit [Ping timeout: 245 seconds]
perryh_away is now known as perryh
tommyvyo has quit [Client Quit]
robdodson has quit [Quit: robdodson]
dbgster has joined #ruby
moshee has quit [Ping timeout: 255 seconds]
moshee has joined #ruby
ephemerian has quit [Quit: Leaving.]
keymone has quit [Read error: Connection reset by peer]
keymone has joined #ruby
minijupe has quit [Remote host closed the connection]
stephenjudkins has quit [Read error: Connection reset by peer]
Asher has joined #ruby
minijupe has joined #ruby
Tomasso has joined #ruby
stephenjudkins has joined #ruby
strife25 has joined #ruby
otters has joined #ruby
mpereira_ has joined #ruby
niklasb has joined #ruby
fflush has joined #ruby
stephenjudkins has quit [Read error: Connection reset by peer]
liluo has quit [Remote host closed the connection]
stephenjudkins has joined #ruby
gogiel has quit [Ping timeout: 256 seconds]
keymone has quit [Read error: Connection reset by peer]
Asher has quit [Quit: Leaving.]
keymone has joined #ruby
lord_daemon has joined #ruby
<lord_daemon> (:
banisterfiend has joined #ruby
fflush has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
SuperrMann has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
havenn has quit [Remote host closed the connection]
SuperrMann has quit [Client Quit]
<lord_daemon> what the best language of programming? to make money
td123 has quit [Quit: WeeChat 0.3.7]
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
emmanuel__ has quit [Remote host closed the connection]
<banisterfiend> lord_daemon: c#
xaq has quit [Remote host closed the connection]
nyrb has joined #ruby
<UdontKnow> lord_daemon: COBOL. Any bank would pay you a lot for just a little COBOL knowledge
<sam113101> Hey, I made a "library", a kind of interface to a website (I get a user's information with a single function call, for example), and wonder what would be the best way to "reuse" that. I want to use it in different projects that are not located at the same place. Also, I want every project to work on the same version of the "library". I tried symlinks but it's not quite what I want. Also it's in a git repo.
Asher has joined #ruby
TorpedoSkyline has joined #ruby
eka has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
gogiel has joined #ruby
pama has quit [Read error: Connection reset by peer]
kevinbond has joined #ruby
nfk has quit [Quit: yawn]
keymone has quit [Read error: Connection reset by peer]
ConstantineXVI has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
keymone has joined #ruby
looopy has quit [Remote host closed the connection]
rubish_ has quit [Ping timeout: 248 seconds]
mengu has quit [Remote host closed the connection]
kevinbond has quit [Client Quit]
wallerdev has joined #ruby
liluo has joined #ruby
R3dy has joined #ruby
<R3dy> Is there a way to iterate throuhg all objects of a given class?
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
QaDeS__ has joined #ruby
QaDeS_ has quit [Ping timeout: 245 seconds]
cantonic has quit [Remote host closed the connection]
cantonic has joined #ruby
c0rn has joined #ruby
gogiel has quit [Ping timeout: 248 seconds]
uokesita has joined #ruby
vertroa has joined #ruby
L-----D has joined #ruby
Evixion has quit []
dilbo_shaggins has left #ruby [#ruby]
gogiel has joined #ruby
<ryanf> sam113101: make it a gem
Hanmac has quit [Read error: Operation timed out]
ConstantineXVI has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<ryanf> if you use bundler for your projects, you can put it in the gemfile with "gem 'gemname', :path => '/path/to/gem'"
<ryanf> if not, you can just install it locally
<ryanf> either way you don't need to put it out publicly if you don't want to
peterhil` has quit [Ping timeout: 248 seconds]
gtuckerkellogg has joined #ruby
robdodson has joined #ruby
subbyyy has quit [Quit: Leaving.]
shiki has joined #ruby
bassplayerdoug has joined #ruby
c0rn has joined #ruby
R3dy has quit [Ping timeout: 240 seconds]
robdodson has quit [Quit: robdodson]
sohocoke has joined #ruby
eka has quit [Remote host closed the connection]
Hanmac has joined #ruby
yoklov has joined #ruby
vertroa has quit [Remote host closed the connection]
pen_isident has quit [Ping timeout: 244 seconds]
peterhil` has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
Asher has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
td123 has joined #ruby
Asher has quit [Client Quit]
<sam113101> ryanf: do I need to "bundle install" after this?
Emmanuel_Chanel has joined #ruby
sohocoke has quit [Quit: sohocoke]
<ryanf> yeah I think so
<ryanf> so that bundler remembers where to load it from
<sam113101> how does it work? how does he remember?
h4mz1d has joined #ruby
<ryanf> it writes a hidden file
<sam113101> ok ty
zeromodulus has quit [Remote host closed the connection]
davidpk has joined #ruby
zeromodulus has joined #ruby
TorpedoSkyline has quit [Quit: Leaving]
zeromodulus has quit [Ping timeout: 245 seconds]
aether has quit [Ping timeout: 250 seconds]
aether has joined #ruby
fayimora has quit [Quit: Be back in a gifii]
krz has joined #ruby
wallerdev has quit [Quit: wallerdev]
Beakr has left #ruby [#ruby]
R3dy has joined #ruby
newbold has joined #ruby
looopy has joined #ruby
nirakara has joined #ruby
wallerdev has joined #ruby
blischalk has joined #ruby
looopy has quit [Remote host closed the connection]
radic has quit [Disconnected by services]
radic_ has joined #ruby
radic_ is now known as radic
subbyyy has joined #ruby
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
x0F_ is now known as x0F
pygmael has quit [Read error: Connection reset by peer]
stephenjudkins has quit [Read error: Connection reset by peer]
pygmael has joined #ruby
stephenjudkins has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
looopy has joined #ruby
mdhopkins has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
davidpk has joined #ruby
pu22l3r has joined #ruby
pygmael has quit [Read error: Connection reset by peer]
pygmael has joined #ruby
R3dy has quit [Ping timeout: 245 seconds]
ConstantineXVI has quit [Remote host closed the connection]
newbold is now known as newbold_cloud
<deryl> usually .bundler/config iirc
Tref has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
neohunter has joined #ruby
<neohunter> Hello, i want to check if my string have a tweeter username @something and extract it if so. What should i search about to do this?
<any-key> .include?
zeromodu_ has joined #ruby
<any-key> or ~=
<neohunter> any-key but include only tell me if a substrings is present
QaDeS__ has quit [Quit: Ex-Chat]
<neohunter> i want to extract any twitter username that is on my string
<neohunter> something like regex @(\w)+
<any-key> oh, you just said you wanted to "check" to see if it was present
<any-key> one sec
<neohunter> any-key: yep, sorry i mean extract, sorry my english is so so =(
digitalcakestudi has joined #ruby
uokesita has quit [Quit: Leaving]
A124 has joined #ruby
dnyy has joined #ruby
noodletraveler has joined #ruby
<neohunter> any-key thank you ^_^
<any-key> np
niklasb has quit [Ping timeout: 245 seconds]
codezombie has joined #ruby
kevinbond has joined #ruby
sei has joined #ruby
dnyy has quit [Remote host closed the connection]
indeterminate has quit [Ping timeout: 272 seconds]
strnx has quit [Excess Flood]
strnx has joined #ruby
kelsier has joined #ruby
Evixion has joined #ruby
pen_isident has joined #ruby
Evixion has quit [Client Quit]
pen_isident has quit [Client Quit]
c0rn has quit [Quit: Computer has gone to sleep.]
sei has left #ruby [#ruby]
eph3meral has quit [Read error: Operation timed out]
Watcher7 has quit [Remote host closed the connection]
sbanwart has quit [Read error: Operation timed out]
<shevy> neohunter in a regex, all that is inside () is captured and thus stored and can be used by you lateron
<shevy> x = "abc def"; x[/(.+) (.+)/]
<neohunter> shevy yeah, i was able to did it thanks you so much :)
<shevy> $1 # => "abc"
<shevy> kk
kelsier has left #ruby [#ruby]
dnyy has joined #ruby
vitoravelino is now known as vitoravelino`afk
mrTheShadow has joined #ruby
mrTheShadow has left #ruby [#ruby]
ConstantineXVI has joined #ruby
<Tref> anyone here used rubymotion yet?
Tref has quit [Quit: Tref]
Tomasso has quit [Ping timeout: 265 seconds]
Tref has joined #ruby
Tref has quit [Client Quit]
looopy has quit [Remote host closed the connection]
ipoval has quit [Quit: ipoval]
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
zemanel has quit [Quit: Remote hottie closed the connection]
<neohunter> when i use scan function it returne this: [["mercy"], ["manolet"], ["mama_linda"]]
<neohunter> arrays with arrays
<neohunter> what should i do to retrieve the first element as string? .first.first?
h4mz1d has quit [Ping timeout: 260 seconds]
h4mz1d has joined #ruby
kevinbond has quit [Quit: kevinbond]
wvms has joined #ruby
manizzle has joined #ruby
emet has quit [Remote host closed the connection]
looopy has joined #ruby
bambanx has joined #ruby
td123 has quit [Quit: cya]
<bambanx> hi
iamjarvo has joined #ruby
mikeycgto has quit [Remote host closed the connection]
<shevy> neohunter you can use .flatten
<shevy> [["mercy"], ["manolet"], ["mama_linda"]].flatten[0] # => "mercy"
<shevy> .first would also work rather than [0]
busybox42 has quit [Remote host closed the connection]
<neohunter> interesting =o
<neohunter> thanks you so much!!
neohunter has quit [Quit: Linkinus - http://linkinus.com]
C0deMaver1ck is now known as drif
drif is now known as drift
drift has quit [Disconnected by services]
C0deMaver1ck has joined #ruby
blischalk has quit [Ping timeout: 255 seconds]
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
zodiak has quit [Ping timeout: 272 seconds]
zodiak has joined #ruby
busybox42 has joined #ruby
cj3kim has joined #ruby
ipsifendus has joined #ruby
pu22l3r has quit [Remote host closed the connection]
crescendo has quit [Ping timeout: 272 seconds]
nirakara has quit [Ping timeout: 272 seconds]
mpereira has quit [Ping timeout: 272 seconds]
stewart_ has joined #ruby
bobdobbs has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
stewart_ has left #ruby [#ruby]
<bobdobbs> hi all. I'm playing with middleman. With middleman, I can edit my stylesheets using sass. How can I pass commandline option to sass from middleman?
nirakara has joined #ruby
<bobdobbs> I'm using firesass, which requires the use of the '--debug-info' switch, to be passed to sass.
stewart_ has joined #ruby
Progster has joined #ruby
<bobdobbs> googleing for 'middleman firesass', I find a link here: http://goo.gl/wDLZ8
<shevy> fireass????
tommyvyo has joined #ruby
<bobdobbs> This describes a block to use, to deploy the switch I want to use, but I don't know where to use that block
<bobdobbs> shevy: firesass
nirakara has quit [Ping timeout: 252 seconds]
nikhil_ has joined #ruby
<bobdobbs> shevy: its a really cool tool. It lets you debug your sass by line number, from firebug
<bobdobbs> but I just can't quiet figure out how to turn on the neccessary option from middleman
<shevy> I dont wanna debug my s ass !!!
<shevy> bob boobs!
tomb_ has quit [Quit: Computer has gone to sleep.]
<shevy> kidding aside, I never heard of middleman before. I don't think it comes up here often as question, so probably not many people here know it.
azm has quit [Ping timeout: 272 seconds]
ipsifendus has quit [Quit: ipsifendus]
hemanth has quit [Read error: Connection reset by peer]
ConstantineXVI has quit [Remote host closed the connection]
cordoval has joined #ruby
<bobdobbs> I see
mxweas_ has joined #ruby
mxweas_ has quit [Client Quit]
aruntomar has joined #ruby
stephenjudkins has quit [Read error: Connection reset by peer]
nikhil_ has quit [Ping timeout: 244 seconds]
stephenjudkins has joined #ruby
Solnse has joined #ruby
aruntomar has quit [Ping timeout: 248 seconds]
ipsifendus has joined #ruby
vertroa has joined #ruby
mistergibson has quit [Remote host closed the connection]
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
<ryanf> middleman is cool
<ryanf> I don't know all that much about it though
<ryanf> I'm guessing you can configure the sass options in code somewhere
<ryanf> might need to actually dive into middleman to find the right spot to poke at
<ryanf> like if you can find the module that adds sass support to middleman, that would be a good place to look.
keanehsiao has joined #ruby
macmartine has quit [Quit: macmartine]
thecreators has quit [Quit: thecreators]
pygmael has quit [Read error: Connection reset by peer]
c0rn has joined #ruby
keanehsiao has quit [Read error: Connection reset by peer]
savage- has quit [Remote host closed the connection]
pygmael has joined #ruby
iamjarvo has quit [Quit: Leaving.]
wookiehangover has quit [Quit: i'm out]
aruntomar has joined #ruby
kenperkins has quit [Quit: Computer has gone to sleep.]
<greyEAX> i need to read lines from a file and push them into an array. can anyone help me?
<Mon_Ouie> See IO#readlines (and IO#each_line)
rippa has joined #ruby
Guest81300 has joined #ruby
cordoval has left #ruby [#ruby]
savage- has joined #ruby
wookiehangover has joined #ruby
ananthakumaran has joined #ruby
altious has quit [Read error: Connection reset by peer]
altious has joined #ruby
hemanth has joined #ruby
smooth_penguin has quit [Ping timeout: 245 seconds]
crescendo has joined #ruby
keymone has quit [Read error: Connection reset by peer]
altious has quit [Ping timeout: 255 seconds]
keymone has joined #ruby
thecreators has joined #ruby
dbgster has quit [Quit: dbgster]
codezombie has quit [Quit: Linkinus - http://linkinus.com]
subbyyy has quit [Read error: Connection reset by peer]
L-----D has quit [Ping timeout: 245 seconds]
savage- has quit [Remote host closed the connection]
subbyyy has joined #ruby
mpereira_ has quit [Ping timeout: 255 seconds]
nipra has joined #ruby
Guest81300 has quit [Quit: http://gplus.to/nikhil]
tomzx has quit [Ping timeout: 272 seconds]
nikhil_ has joined #ruby
werdnativ has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
artm has joined #ruby
artm has quit [Client Quit]
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
minijupe has quit [Quit: minijupe]
joaoh82 has joined #ruby
zeromodu_ has quit [Remote host closed the connection]
thecreators has quit [Quit: thecreators]
artm has joined #ruby
shiki has quit [Remote host closed the connection]
hukl has joined #ruby
hukl has quit [Client Quit]
neersighted is now known as neersighted|AFK
TheHunter_1039 has quit [Quit: TheHunter_1039]
ananthakumaran has quit [Quit: Leaving.]
shiki has joined #ruby
shiki has quit [Remote host closed the connection]
artm has quit [Client Quit]
altious has joined #ruby
Progster has quit [Ping timeout: 245 seconds]
L-----D has joined #ruby
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
nvez is now known as mnaser
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
stephenjudkins has quit [Read error: Connection reset by peer]
stephenjudkins has joined #ruby
h4mz1d has quit [Ping timeout: 245 seconds]
adamkittelson has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
nipra has quit [Ping timeout: 272 seconds]
krishnaveda has joined #ruby
<krishnaveda> I wanted a project specific rmvrc file... can anyone help please
apeiros_ has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
looopy has quit [Remote host closed the connection]
ipoval has joined #ruby
digitalcakestudi has quit [Quit: Leaving.]
benatwork has quit [Remote host closed the connection]
looopy has joined #ruby
yxhuvud has joined #ruby
AlbireoX_ has joined #ruby
joaoh82 has quit [Remote host closed the connection]
nipra has joined #ruby
Targen has quit [Ping timeout: 252 seconds]
lolmaus has joined #ruby
Solnse has quit []
ABK has joined #ruby
AlbireoX has joined #ruby
tonini has joined #ruby
zeromodulus has joined #ruby
CheeToS has joined #ruby
shevy has joined #ruby
stewart_ has quit [Quit: Leaving.]
nikhil_ has quit [Quit: This computer has gone to sleep]
minijupe has joined #ruby
nikhil_ has joined #ruby
nikhil_ has quit [Client Quit]
cha1tanya has quit [Ping timeout: 260 seconds]
wallerdev has quit [Quit: wallerdev]
kil0byte has quit []
apeiros_ has quit [Remote host closed the connection]
ben225 has quit [Ping timeout: 252 seconds]
crescendo has quit [Ping timeout: 272 seconds]
tomb_ has joined #ruby
ben225 has joined #ruby
cha1tanya has joined #ruby
djdb has joined #ruby
classix has quit [Ping timeout: 245 seconds]
mucker has joined #ruby
stephenjudkins has quit [Quit: stephenjudkins]
S1kx has quit [Ping timeout: 255 seconds]
ipsifendus has quit [Quit: ipsifendus]
baroquebobcat has joined #ruby
cache_za has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
ben225_ has joined #ruby
ben225 has quit [Ping timeout: 265 seconds]
S1kx has joined #ruby
S1kx has quit [Changing host]
S1kx has joined #ruby
artm has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
timonv has quit [Ping timeout: 272 seconds]
dwon has quit [Remote host closed the connection]
davidpk has quit [Ping timeout: 252 seconds]
davidpk has joined #ruby
bigkevmcd has joined #ruby
looopy has quit [Remote host closed the connection]
AlbireoX has quit [Remote host closed the connection]
shruggar has joined #ruby
gregorg_taf has quit [Read error: Connection reset by peer]
subbyyy has quit [Quit: Leaving.]
apeiros_ has joined #ruby
_md has joined #ruby
daniel_hinojosa has quit [Ping timeout: 255 seconds]
vitor-br has joined #ruby
maesbn has joined #ruby
EzeQL has joined #ruby
cha1tanya has quit [Ping timeout: 255 seconds]
schovi has joined #ruby
yoklov has quit [Quit: computer sleeping]
ggolin has quit [Quit: Leaving]
schovi has quit [Remote host closed the connection]
Solnse has joined #ruby
tonini has quit [Remote host closed the connection]
bambanx has quit [Remote host closed the connection]
yonggu_ has joined #ruby
nirakara has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
tonini has joined #ruby
yonggu has quit [Ping timeout: 260 seconds]
yonggu has joined #ruby
jprovazn has joined #ruby
cha1tanya has joined #ruby
yonggu_ has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
cha1tanya has quit [Ping timeout: 240 seconds]
greyEAX has quit [Remote host closed the connection]
katya^ has joined #ruby
chussenot has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
greyEAX has joined #ruby
katya has quit [Ping timeout: 255 seconds]
tewecske has joined #ruby
Eldariof-ru has joined #ruby
greyEAX has quit [Client Quit]
greyEAX has joined #ruby
jjxtsys has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
crekev has joined #ruby
Jrz has joined #ruby
foofoobar has joined #ruby
Ryan_V-01 has joined #ruby
<Ryan_V-01> hey guys, i could use some help refactoring this. its dirty right now and i know theres some good opportunities in here for refactoring, i just don't know where to start. https://gist.github.com/2692369
parzo has quit [Quit: Leaving]
chussenot has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
alanp has quit [Read error: Operation timed out]
shruggar has quit [Ping timeout: 250 seconds]
solars has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
schovi has joined #ruby
shadoi has quit [Quit: Leaving.]
shadoi has joined #ruby
shadoi has quit [Remote host closed the connection]
<bnagy> Ryan_V-01: are you using ruby 1.9?
<Ryan_V-01> yup
<Ryan_V-01> and i made a typo 1 sec
<bnagy> ok, I'd replace all the inject({}) with each.with_object({})
<bnagy> I don't know why you're precalculating the various report methods, just have them as a direct method and do them lazily
<bnagy> and you take two passes in ranged visits and cumulative visits when I don't think you need to
mfridh has quit [Read error: Operation timed out]
mfridh_ has joined #ruby
<Ryan_V-01> because right now this is a small portion of 50 lines of hash in the model spanning 3 classes lol (rails)
<bnagy> ok I know nothing about rails, you just asked how to refactor that code
mohits has joined #ruby
<Ryan_V-01> yeah, no need to know about rails just imagine a full page of hash
minijupe has quit [Quit: minijupe]
<Ryan_V-01> the first pass sets the values with the new scope, the second pass sets two values for that initial key value pair. I also planned to make that second pass another method if possible because they all do the exact same thing.
jimeh has quit [Ping timeout: 240 seconds]
nfluxx has joined #ruby
alanp has joined #ruby
heftig has quit [Quit: leaving]
ChampS666 has joined #ruby
CheeToS has left #ruby [#ruby]
deobald_ has joined #ruby
ph^ has joined #ruby
mfridh_ has quit [Ping timeout: 255 seconds]
<bnagy> for two lines of repeated work I'm not sure it's worth it, but whatever
<banisterfiend> bnagy: hey bnagx0r
<bnagy> sup pryboy?
<banisterfiend> bnagy: pr0n u
mohits has quit [Quit: Leaving.]
<bnagy> sick. cold.
simao has joined #ruby
<banisterfiend> bnagy: time to go back to civilization
<bnagy> pff
<Ryan_V-01> thanks, I like that each_with_object method. cleaner
bjhaid has joined #ruby
ryanf has quit [Quit: leaving]
nyrb has quit [Remote host closed the connection]
mfridh has joined #ruby
<bnagy> Ryan_V-01: you don't need to have 'hash' at the end of the blocks with with_object. Also I'm pretty sure you're wrong about needing the two passes :)
wagle has joined #ruby
<wagle> hi.. what do i install to satisfy the line
A124 has left #ruby [#ruby]
<wagle> require "ruby_core_source"
<bnagy> banisterfiend: if I can not travel until july I'll be a happy man. I get lots of work done here. :)
<wagle> dont see a package
<Ryan_V-01> i didn't say i was right, i just said i didn't know how to approach it :) mainly because i wanted to have one method that would do that for each of 3 types(and more to come), that just call v.count v.count("distinct user_id")
bluOxigen has joined #ruby
<banisterfiend> bnagy: dont u feel cornered by the world in some bolt-hole
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
<bnagy> banisterfiend: wait, don't you live in NZ? :D
hoelzro|away is now known as hoelzro
<banisterfiend> bnagy: Yeah, same situation
hoelzro is now known as hoelzro|away
gregorg has joined #ruby
<bjhaid> hi all, please what is the best way to package ruby scripts into a "jar" like format
<bnagy> Ryan_V-01: make your method take a symbol, like :range and then you can build those keys dynamically
<bnagy> bjhaid: gems
<bnagy> Ryan_V-01: should be able to do it all with one method like [:range, :cumulative, :lifetime].each {|sym| do_hash_shit( sym )}
<banisterfiend> bnagy: do u have any friends who're locals
<bnagy> although even though it looks uglier it will be easier to use a string as the arg
<bjhaid> bnagy: my problem is cron doesnt locate some gems in path, so I want to package the scripts such that it includes all the gems, and dump it on cron
<Ryan_V-01> ah, let me try that out. and i found a few other places to refactor. ill brb
<bnagy> banisterfiend: yeah a few
<Ryan_V-01> hah, funny you should say that. I have a tendency to use symbols over strings for that reason alone
krz has quit [Quit: krz]
<Hanmac> bjhaid did you use rvm?
<bnagy> bjhaid: sounds like you just need to fix your path :)
banisterfiend is now known as horseman
<horseman> bnagy: too bad you're married to a western woman or u could be tapping some exotic booty
piotr_ has joined #ruby
<Hanmac> horseman which one of the four?
<horseman> Hanmac: wht r u talking about
<bnagy> uh...yes :< And it's not at all creepy that someone I don't know is all up with my marital situation
<bnagy> actually nepali women are not exactly what you'd call 'goers'
<horseman> bnagy: ah quite a conservative culture?
* Hanmac means the four horseman of Apokalypse
<bnagy> yeah, arranged marriage is still pretty common
nlc has quit [Quit: Leaving]
<bjhaid> Hanmac: well I didnt use RVM, I installed RUBY straighaway, its actually oci8 issues here
<bjhaid> that cron doesnt find
<horseman> bnagy: what's the dominant religion?
<bnagy> ~90% hindu
<bnagy> maybe a bit less, the rest pretty much buddhist and then sub 1% for the remaining
saschagehlich has joined #ruby
nfluxx has quit [Quit: nfluxx]
artm has quit [Quit: artm]
<horseman> bnagy: so they're indian looking? i thought they were kind of tibetan looking?
petercs has joined #ruby
<bnagy> it's a mix.
zommi has joined #ruby
<horseman> bnagy: is it near bhutan?
<bnagy> near-ish, there's a bit of India (sikkim) in between
<apeiros_> horseman: you never stick to a nick, eh? :D
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
<bnagy> ahh... maybe I shouldn't ignore NICKS :S
<horseman> apeiros_: when i talk trash i dont like to be googlable as b4nisterf1end, if possible
<apeiros_> hehe
nirakara has quit [Quit: cheers]
<bnagy> bjhaid: you could also just modify the load_path inside your script, if the cron user has some weird cut-down path
<apeiros_> bnagy: he didn't change his, he joined with a new one
<bnagy> ok. I am less freaked out now :)
ABK has quit [Ping timeout: 256 seconds]
<apeiros_> didn't know you were indian, bnagy
<bnagy> I'm not
<apeiros_> nepalese?
<bnagy> hhah no I'm australian
<apeiros_> ah
<apeiros_> but you live there?
* apeiros_ missed something
<bnagy> yeah, my wife works for the int'l red cross here
aether has quit [Remote host closed the connection]
<apeiros_> I see. and you telecommute or you work for a company there?
<bnagy> remote work
cha1tanya has joined #ruby
<apeiros_> nice
igotnolegs has quit [Quit: Computer has gone to sleep.]
<apeiros_> so western payment with nepalese living costs…
<bnagy> it is, actually. Hard to find a company that allows remote work without freaking out and over managing / checking
stefanp has joined #ruby
Gavilan has left #ruby [#ruby]
<bnagy> yeah, pretty much, except the red cross takes care of the living costs
<apeiros_> aaaah, diablo 3 is sooo gonna kill my progress the coming week-end :D
<apeiros_> it's unbelievable, I actually finally add unit tests to aaaaancient libraries of mine…
Dratir has joined #ruby
<bnagy> when are you going to accept that unit tests are just a fad, dude? :)
<apeiros_> even despite diablo3, there's a good chance I'll release the 'scheduled' gem this week-end
<bnagy> like pair programming
<Ryan_V-01> heres were I'm at now. just need to get that dynamic scope method in the block to be set dynamically
<apeiros_> bnagy: I'm slow at change :-p
<wagle> how do i get require "ruby_core_source" to resolve in a gem (linecache19-0.5.12)
foofoobar has quit [Ping timeout: 265 seconds]
Vert has joined #ruby
* Hanmac never wrote unit-tests ... because most of this gems are GUI ... and you cant check that well with unittests
ukwiz has joined #ruby
<wagle> i'm seen gui exercisers that simulate the events
ivic has joined #ruby
<horseman> apeiros_: when is diablo 3 being released?
gilead has joined #ruby
cads has quit [Ping timeout: 245 seconds]
iocor has joined #ruby
timonv has joined #ruby
bjhaid has quit [Read error: Connection reset by peer]
Solnse has quit []
Xylo has joined #ruby
bier_ has quit [Ping timeout: 244 seconds]
sparrovv has joined #ruby
<apeiros_> tomorrow
Ryan_V-01 has quit [Quit: Ryan_V-01]
<bnagy> wagle: it looks like ruby_core_source is just a gem
eka has joined #ruby
Ryan_V-01 has joined #ruby
<wagle> bnagy: Using ruby_core_source (0.1.5)
<wagle> Installing linecache19 (0.5.12) with native extensions
<wagle> so its there, dunno what the problem is
<wagle> doing a bundle install
gilead has quit [Quit: gilead]
<bnagy> there are some issues that google turns up when you google 'require ruby_core_source' maybe you should go through those
<bnagy> a lot seem old though
<bnagy> basically, I don't really have any idea :)
gosshedd has joined #ruby
Dratir has left #ruby [#ruby]
gilead has joined #ruby
artm has joined #ruby
gilead has left #ruby [#ruby]
gilead has joined #ruby
tchebb has quit [Quit: Leaving.]
darthdeus has joined #ruby
kylemcgill has quit [Ping timeout: 245 seconds]
<wagle> bnagy: yeah, thanks.. i usually find unsolved problems
arturaz has joined #ruby
L-----D has quit [Ping timeout: 272 seconds]
twinturbo has joined #ruby
bier_ has joined #ruby
<apeiros_> why didn't I know about def foo(*) earlier?
<bnagy> what does it do?
<Hanmac> because it was a secret?
<apeiros_> bnagy: it ignores all arguments
<apeiros_> the method accepts any number of arguments without using them. nice for callbacks.
<bnagy> omg
crekev has quit [Ping timeout: 248 seconds]
<bnagy> passive agressive methods :) Yeah sure, You can give me arguments. Whatever.
<apeiros_> hehe
mucker has quit [Read error: Operation timed out]
<apeiros_> na, I use them for callbacks. the callbacks get additional information. but some don't need them, so I (*) them
<bnagy> p=lambda {|*| puts "FUCK YOU"}; p.call( 'flowers', 'dinner') => "FUCK YOU"
<bnagy> that is awesome
sepp2k has joined #ruby
<bnagy> *_ works as well
<apeiros_> yes, but then it's available in _
tilde` has joined #ruby
<apeiros_> this really is old code… the information passed to the callbacks was state of the object… I removed the arguments entirely… so pointless
mucker has joined #ruby
<apeiros_> sepp2k: nice realname :-p
jackiechan0 has joined #ruby
<Tasser> bnagy, p = proc {|| puts "FUCK YOU"} # somewhat equivalent
mdhopkins has quit [Quit: mdhopkins]
<apeiros_> but that doesn't give true on p.lambda?
<Tasser> and you care because... ?
<apeiros_> I don't. but I'm a heartless man who doesn't care about a thing :)
<bnagy> hm, wonder why that works with proc and not lambda
<apeiros_> procs don't do arity checking
<Tasser> that's why they're prefect for callbacks
Dratir has joined #ruby
<bnagy> oic, they don't check at all
tchebb has joined #ruby
jackiechan0 has quit [Ping timeout: 245 seconds]
bjhaid has joined #ruby
Drakx_ has quit [Changing host]
Drakx_ has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
jackiechan0 has joined #ruby
behr has quit [Read error: Connection reset by peer]
behr has joined #ruby
sspiff has quit [Ping timeout: 260 seconds]
artm has quit [Quit: artm]
jackiechan0 has quit [Quit: Sto andando via]
QaDeS has joined #ruby
pydave6357 has joined #ruby
mxweas_ has joined #ruby
piotr__ has joined #ruby
piotr_ has quit [Ping timeout: 272 seconds]
pydave6357 has left #ruby [#ruby]
sspiff has joined #ruby
graspee has joined #ruby
ephemerian has joined #ruby
ramblex has joined #ruby
mengu has joined #ruby
mxweas_ has quit [Quit: Computer has gone to sleep.]
altious has quit [Ping timeout: 240 seconds]
Shahor has joined #ruby
<shevy> hmm
<shevy> def foo(*)
<shevy> I am surprised that even works
<Tasser> shevy, I suppose it's a simple if in the interpreter ;-)
tatsuya_o has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
nipra has quit [Ping timeout: 250 seconds]
tatsuya_o has joined #ruby
noodletraveler has quit [Ping timeout: 252 seconds]
<wagle> bnagy: had to install ruby 1.8 dev (ubuntu 10.04), go figure...
<wagle> had built 1.9.3 and was trying to install bundles from it
Dratir has quit [Quit: leaving]
nipra has joined #ruby
Guest89660 has joined #ruby
Dratir has joined #ruby
<bnagy> wagle: oh, right, probably you didn't have the header files etc
<bnagy> 1.9.x dev didn't work?
iocor has quit [Quit: Computer has gone to sleep.]
<bnagy> ubuntu rubies are always wacky :/
<wagle> i was scared of 1.9.1 being too close
ABK has joined #ruby
foofoobar has joined #ruby
nx_tk has joined #ruby
<wagle> and the install i already had was 1.8, so rather than try to figure out how to install ALL of ruby 1.9.1...
<shevy> hehe
noodletraveler has joined #ruby
Dratir has quit [Client Quit]
nilg` has joined #ruby
Dratir has joined #ruby
ioanpaulpirau has joined #ruby
nilg` has quit [Remote host closed the connection]
zz_chrismcg is now known as chrismcg
nilg` has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
zeromodulus has quit [Remote host closed the connection]
nx_tk has quit [Quit: Page closed]
tilde` has quit [Quit: leaving]
ChampS666 has quit [Ping timeout: 272 seconds]
wagle has quit [Ping timeout: 240 seconds]
tilde` has joined #ruby
horseman has quit [Ping timeout: 250 seconds]
jackiechan0 has joined #ruby
roolo has joined #ruby
iocor has joined #ruby
roolo has quit [Remote host closed the connection]
fabrice31 has joined #ruby
roolo has joined #ruby
horseman has joined #ruby
ChampS666 has joined #ruby
yonggu has quit [Remote host closed the connection]
yonggu has joined #ruby
Vainoharhainen has joined #ruby
francisfish has joined #ruby
c0rn has quit []
flype has joined #ruby
saschagehlich has joined #ruby
behr has quit [Read error: Connection reset by peer]
behr has joined #ruby
saschagehlich has quit [Client Quit]
saschagehlich has joined #ruby
bjhaid has quit [Ping timeout: 265 seconds]
werdnativ has quit [Quit: werdnativ]
jwbuurlage has joined #ruby
Ammar_iD is now known as Ammar01
jamesbrink has quit [Ping timeout: 252 seconds]
keymone has quit [Read error: Connection reset by peer]
berserkr has joined #ruby
keymone has joined #ruby
wagle has joined #ruby
kil0byte has joined #ruby
nipra has quit [Ping timeout: 252 seconds]
Guest89660 is now known as davidw
davidw has quit [Changing host]
davidw has joined #ruby
jimeh has joined #ruby
ChampS666 has quit []
kylemcgill has joined #ruby
c0rn has joined #ruby
DuoSRX has joined #ruby
jwbuurlage has quit [Quit: jwbuurlage]
d3vic3 has quit [Ping timeout: 248 seconds]
cha1tanya has quit [Quit: Leaving]
d3vic3 has joined #ruby
dankest has quit [Quit: Leaving...]
lord_daemon has quit [Ping timeout: 245 seconds]
jbw has quit [Ping timeout: 272 seconds]
nipra has joined #ruby
Chryson has quit [Quit: Leaving]
d3vic3 has quit [Ping timeout: 252 seconds]
Resure has joined #ruby
pen has joined #ruby
kil0byte has quit [Ping timeout: 255 seconds]
IPGlider has joined #ruby
thecreators has joined #ruby
kil0byte has joined #ruby
kil0byte_ has joined #ruby
<jackiechan0> help, i need somebody, help pls anybody help
d3vic3 has joined #ruby
<jackiechan0> pls pls pls pls
thecreators has quit [Remote host closed the connection]
jbw has joined #ruby
<graspee> what?
kil0byte_ has quit [Remote host closed the connection]
<bnagy> I thought he was just singing Beatles
kil0byte has quit [Ping timeout: 252 seconds]
<jackiechan0> graft> it's a metasploit ruby script i would like to understand step by step what it does
<graspee> it's probably better to ask your question straight away rather than just ask for help
<jackiechan0> graspee> > it's a metasploit ruby script i would like to understand step by step what it does
<jackiechan0> graspee> wanna take a look ?
<graspee> you didn't need to answer twice
grin has joined #ruby
<jackiechan0> ok
<jackiechan0> graspee> http://paste.ubuntu.com/986910/
<graspee> you could have just posted one line for all of that: "Hi can anyone help me understand this script please? <link>"
kil0byte has joined #ruby
<jackiechan0> graspee> sorry i see noone chatting here and i tought to ask before posting
TheFuzzball has quit [Disconnected by services]
<graspee> what do you need to know about this code anyway?
TheFuzzb_ has joined #ruby
<jackiechan0> graspee> about what i understood it should do this 1) start the handler 2)upload bypassuac-x86.exe 3) upload meterpreter/reverse_tcp payload 4) execute them both 5)
<jackiechan0> graspee> is that correct? what i need is to change the payload meterpreter/reverse_tcp with a custom file that i chose
<graspee> so basically you want to hack someone's computer
gtuckerkellogg has joined #ruby
<jackiechan0> graspee> it's pen testing i have my exams next month
Ryan_V-01 has left #ruby [#ruby]
<jackiechan0> graspee> i just started to study ruby so i'm not able to customize this script by myself
altious has joined #ruby
ronniy has joined #ruby
<graspee> what course is this ?
<bnagy> jackiechan0: I said before, you're better off finding a metasploit specific channel
<jackiechan0> bnagy> ok, i was looking for a much specific understanding of ruby thanks anyway
<graspee> you don't really want to understand ruby though
<bnagy> jackiechan0: but to me it looks like you need an existing session for this to work
bluOxigen has quit [Remote host closed the connection]
<jackiechan0> bnagy> i already have an existing session !!
bluOxigen has joined #ruby
<graspee> i'd still like to know what course has exams in penetration testing
Nicke\ has joined #ruby
<graspee> because it sounds interesting
<bnagy> graspee: loads
<bnagy> there are a lot of vocational pentesting certs / courses etc
<rippa> Eward's Spiked Tentacles of Forced Intrusion
wagle has quit [Ping timeout: 244 seconds]
yekta has joined #ruby
<bnagy> even some universities offer an applied security thing
<graspee> thanks
<jackiechan0> bnagy> at university they do just a little bit, just an introduction
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
<krishnaveda> is there a better way to do this ? if !value.nil? and value.respond_to? :id
<krishnaveda> shevy: mate suggestions ^^ :)
gtuckerkellogg has joined #ruby
<bnagy> jackiechan0: the problem with this script is that to understand it I would need to know what metasploit core etc do, like this 'datastore' must be defined / accessed somewhere, from console I guess
<jackiechan0> bnagy> yeah the objects
fermion has joined #ruby
nfk has joined #ruby
<bnagy> jackiechan0: so to use a custom payload you can just set that datastore option, BUT unless I'm blind, that reverse-tcp payload never gets used
yekta has quit [Client Quit]
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
<jackiechan0> bnagy> graspee if it's possible to understand where the script upload these files, i think that could be understood just from the script http://paste.ubuntu.com/986928/
<bnagy> ohhh unless it's just the connectback for the second cmd shell
<jackiechan0> bnagy> just this part
<bnagy> in which case if you change it you won't get your shell :)
<jackiechan0> bnagy> exactly!! Reverse_tcp connnects back to the second shell
Avishek12 has joined #ruby
<jackiechan0> bnagy> i need to change reverse_tcp standard that the script provide, with my custom reverse_tcp
<jackiechan0> bnagy> i need to add an option to the script
gtuckerkellogg has quit [Client Quit]
<bnagy> just change it in the console then I guess - it only defaults to the metaploit rev-tcp if there isn't a datastore payload set
<bnagy> but if you don't want the UAC bypass stuff then this script has a ton of unnecessary stuff
ivic has quit [Quit: ivic]
<jackiechan0> bnagy> i need the UAC bypass
<jackiechan0> bnagy> what i don't need is that the script upload automatically his standard payload that is detected by anvtivirus
<bnagy> ok then you don't need to modify this script at all
<bnagy> oh right, try encoding for that
twinturbo has quit [Ping timeout: 272 seconds]
<jackiechan0> bnagy> ?
<bnagy> most AV can't handle even basic metasploit encoding
bluOxigen has quit [Remote host closed the connection]
bluOxigen has joined #ruby
<jackiechan0> bnagy> metasploit enconding is horrible, every AV that i tested was able to catch it
looksirdroids has quit [Read error: Connection reset by peer]
tvw has joined #ruby
<jackiechan0> bnagy> i found another way to encode a payload using metasploit enconders + C structure and it works 100%
looksirdroids has joined #ruby
twinturbo has joined #ruby
<bnagy> hm ok. They must have started paying more attention to metasploit since I last used it. :>
deobald_ has quit [Ping timeout: 260 seconds]
Guedes_out is now known as Guedes
nipra has quit [Ping timeout: 272 seconds]
<bnagy> anyway the bit you highlighted is only relevant to uploading the uac bypass exe not the rev tcp payload
wagle has joined #ruby
<jackiechan0> bnagy> yeah a lot, using the standard metasploit framework you can go almost nowhere against a patched system, you need to customize it
iamjarvo has joined #ruby
<jackiechan0> bnagy> ok cos at least i should understand step by step what this script does so at least i'll be able to do it manually
<jackiechan0> bnagy> i did that nce that the first meterpreter/reverse_tcp shell is opened
<jackiechan0> 1) start the handler 2)upload bypassuac-x86.exe 3) upload meterpreter/reverse_tcp payload 4) execute them both 5) another meterpreter session is opened 6)get into the new meterpreter sessions 7) run migrate -f 8) meterpreter> getsystem.......
<bnagy> right, but it's a metasploit question, not a ruby question
<jackiechan0> but didn't worked, instead the script works 100%
<jackiechan0> bnagy> ok i'll change chan tnx for helping
<jackiechan0> sorry for flooding
<bnagy> session.fs.file.upload_file("%TEMP%\\#{filename}", bpexe) <- that's alllll using metaploit code
<jackiechan0> bnagy> yeah who wrote metasploit knows what means, they build that right?
Psantos10 has joined #ruby
<bnagy> yeah, I mean the code is right there, but you'd need to read it :)
<jackiechan0> ;)
kil0byte has quit [Remote host closed the connection]
jackiechan0 has quit [Quit: Sto andando via]
<horseman> bnagy: what's up
<bnagy> horseman: meh, killin time, being sick. Can't stomach proper coding today
S1kx has quit [Quit: Leaving]
cha1tanya has joined #ruby
Psantos10 has left #ruby ["Leaving"]
<krishnaveda> I am getting this page when I try accessing a page from the production server though I dont get this in localhost -> http://pastie.org/3890469
<bnagy> krishnaveda: sounds like #rubyonrails
<krishnaveda> bnagy: I accidently posted it here.. open with bothr ooms.. sorry
jimeh has quit [Ping timeout: 250 seconds]
sohocoke has joined #ruby
tomzx has joined #ruby
nipra has joined #ruby
c0rn has quit []
kil0byte has joined #ruby
sandGorgon has joined #ruby
bassplayerdoug has quit [Quit: bassplayerdoug]
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
davidcelis has quit [Read error: Connection reset by peer]
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
iamjarvo has quit [Quit: Leaving.]
iocor has quit [Quit: Computer has gone to sleep.]
katya^ has quit [Quit: Leaving]
bluenemo has quit [Ping timeout: 245 seconds]
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tilde` has quit [Ping timeout: 272 seconds]
Vendethiel has joined #ruby
liluo has quit [Remote host closed the connection]
batmanian has joined #ruby
platzhirsch has joined #ruby
<platzhirsch> Any idea how I could shortening this snippet? https://gist.github.com/45ebbc68071cf7dfef51
<horseman> platzhirsch: believe in yourself and u can do a good job, better than anyone else because it will come from your heart
<horseman> and what comes from your heart can never be wrong
<platzhirsch> horseman: #defocus is the other way around :P
<graspee> unless you are in love with a pig
kylemcgill has quit [Remote host closed the connection]
<graspee> platzhirsch: you could take two spaces out of line 5!
ken_barber has joined #ruby
<platzhirsch> graspee: great
<graspee> it's a start!
<graspee> and if you change "for i in 1..6" and "end" into "(1..6).each { }" you save 2 characters
<graspee> wait nvm that last one
<graspee> you'd have to add |i|
zemanel has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
<graspee> sorry i know i'm not much help. i do like puzzles though
bluenemo has joined #ruby
noodletraveler has quit [Quit: leaving]
<platzhirsch> graspee: no worries :)
nkbuff has joined #ruby
hemanth has joined #ruby
Codif has joined #ruby
voodoofish has quit [Ping timeout: 265 seconds]
rlankfo has quit [Ping timeout: 272 seconds]
Codif has quit [Remote host closed the connection]
<Tasser> platzhirsch, Hash.new {|h,k| h[k] = [] }
<Tasser> platzhirsch, so you can omit line 4
hemanth has quit [Read error: Connection reset by peer]
<graspee> cool!
<graspee> nice one, tasser
crankycoder has joined #ruby
troessner has joined #ruby
<platzhirsch> Tasser: excellent
hemanth has joined #ruby
<Tasser> graspee, just some default proc
<Tasser> ommitted in some languages due to speed reasons ;_)
moshee has quit [Ping timeout: 252 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
<platzhirsch> ah now I found this example on the Hash ruby doc, too
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
ioanpaulpirau has quit [Quit: Page closed]
altious has quit [Ping timeout: 256 seconds]
tomzx has quit [Ping timeout: 252 seconds]
tk___ has joined #ruby
iocor has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
cha1tanya has quit [Ping timeout: 240 seconds]
ConstantineXVI has joined #ruby
hemanth has joined #ruby
flype has joined #ruby
liluo has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
dsgfdsg has joined #ruby
hemanth has joined #ruby
ConstantineXVI has quit [Ping timeout: 272 seconds]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
akem has quit [Quit: Forget progress by proxy. Land on your own moon.]
voodoofish has joined #ruby
Foxandxss has joined #ruby
iamjarvo has joined #ruby
<dsgfdsg> hello
akem has joined #ruby
<dsgfdsg> Does anyone know where I can find a complete list of changes to the Ruby core since version 1.6.8 ?
<krishnaveda> hemanth: kaisa hai bhai /
hemanth has quit [Read error: Connection reset by peer]
jmeeuwen has quit [Read error: Connection reset by peer]
ananthakumaran1 has joined #ruby
artm has joined #ruby
Stelyos has joined #ruby
ananthakumaran has quit [Ping timeout: 244 seconds]
jmeeuwen has joined #ruby
<apeiros_> dsgfdsg: the ruby source contains a NEWS and a CHANGELOG
RubyBaby has joined #ruby
<Stelyos> hello guys
<apeiros_> enjoy. it's probably quite a huge list.
<dsgfdsg> hey Stelyos
tommyvyo has joined #ruby
<RubyBaby> hi babyes
Morkel has joined #ruby
<RubyBaby> asl pls
Avishek12 has quit [Ping timeout: 260 seconds]
<RubyBaby> (and a picture of yourself please)
Avishek12 has joined #ruby
Progster has joined #ruby
geekbri has joined #ruby
cmarques has joined #ruby
carloslopes has joined #ruby
fr0gprince_mac has joined #ruby
behr has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
malcolmva has joined #ruby
Avishek12 has quit [Ping timeout: 260 seconds]
<horseman> apeiros_: what kind of game is d3? mmo ?
<Dratir> RPG
foofoobar has quit [Quit: bb]
nicu_ has joined #ruby
jonathanwallace has joined #ruby
nu7hatch has joined #ruby
Resure has quit [Remote host closed the connection]
r0bby has joined #ruby
shruggar has joined #ruby
krusty_ar has joined #ruby
`brendan has joined #ruby
<RubyBaby> a dirty game...
RubyBaby has quit [Quit: Page closed]
Dratir is now known as Dratir`
dv310p3r has quit [Ping timeout: 272 seconds]
Dratir` is now known as Dratir
<krishnaveda> apeiros_: who is this rubybaby is he mad ?
robbyoconnor has quit [Ping timeout: 260 seconds]
hemanth has joined #ruby
<krishnaveda> hemanth: beta :)
shruggar has quit [Ping timeout: 244 seconds]
<bluenemo> hi guys, i have a local gem (which version is not available on rubygems anymore). i have it in my gemfile via: gem 'paperclip', "3.0.0", :path => '/foo/bar', bundle install / update works fine, however i get for bundle exec thin -e production no such file to load -- paperclip
hemanth has quit [Read error: Connection reset by peer]
fbernier has joined #ruby
hemanth has joined #ruby
nfk has quit [Ping timeout: 265 seconds]
hemanth has quit [Ping timeout: 244 seconds]
hemanth has joined #ruby
cha1tanya has joined #ruby
shruggar has joined #ruby
mrtadis has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
artm has quit [Ping timeout: 272 seconds]
hemanth has joined #ruby
nanderoo has joined #ruby
mrtadis has quit [Max SendQ exceeded]
strife25 has joined #ruby
mrtadis has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
araujo has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
javos has joined #ruby
cordoval has joined #ruby
mrtadis has quit [Ping timeout: 244 seconds]
evangelion has joined #ruby
<evangelion> hello
hemanth has quit [Read error: Connection reset by peer]
<evangelion> is it right? some extensions ( like libnet4r ) need ruby to be compiled with "--enable-shared" on amd64 boxes
mrtadis has joined #ruby
hemanth has joined #ruby
eka has quit [Remote host closed the connection]
<Hanmac> evangelion is libnet4r an native gem or is it allready buided?
<evangelion> Hanmac: native
<krishnaveda> Hanmac: dude u know rails ?
emmanuelux has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
grin1 has joined #ruby
artm has joined #ruby
wangr has joined #ruby
kil0byte_ has joined #ruby
mrtadis has quit [Ping timeout: 248 seconds]
<Hanmac> enough to hate it
tommyvyo has quit [Quit: http://twitter.com/tommyvyo]
grin has quit [Ping timeout: 244 seconds]
mfridh has quit [Read error: Operation timed out]
shaman42 has quit [Ping timeout: 240 seconds]
shaman42 has joined #ruby
<evangelion> Hanmac: error log is here: https://gist.github.com/2693694
mrtadis has joined #ruby
<shevy> evangelion most ruby compiles will have shared objects
mfridh_ has joined #ruby
<evangelion> the gem build flawlessly on x86
<shevy> hmm though I only have libruby-static.a here ...
mfridh_ has quit [Changing host]
mfridh_ has joined #ruby
<shevy> my ruby binary however depends on libc.so
<shevy> :(
mfridh_ is now known as mfridh
rlankfo has joined #ruby
<evangelion> shevy: so i must bother debian ( my distro ) maintainers?
kil0byte has quit [Ping timeout: 272 seconds]
perryh is now known as perryh_away
* Hanmac only use shared stuff
<shevy> evangelion of course. what else would you wanna do? compile on your own?
<shevy> evangelion debian will forever hate you if you abandon apt*
<shevy> you would become an outcast
<shevy> a mortal enemy
<shevy> the holy inquisition of debian will find you
<otherj> er
kedare has joined #ruby
artm has quit [Ping timeout: 272 seconds]
mrtadis has quit [Ping timeout: 245 seconds]
<evangelion> shevy: tbh i avoid to install gems when possible
<apeiros_> krishnaveda: no idea
<evangelion> anyway debian lacks that specific package
<krishnaveda> apeiros_: mate u know rails right could u help me with this -> http://stackoverflow.com/questions/10583472/getting-error-actioncontrollerroutingerror-no-route-matches-css-with
<evangelion> and i wonder what's wrong with the installation process
manizzle has quit [Ping timeout: 244 seconds]
sonne has joined #ruby
<sonne> greetings!
hemanth has joined #ruby
<shevy> evangelion usually some log file is stored somewhere
kil0byte has joined #ruby
caveat- has quit [Ping timeout: 245 seconds]
mrtadis has joined #ruby
hemanth has quit [Max SendQ exceeded]
<sonne> i see that libraries installed via "gem" can only be required by first requiring 'rubygems'
<shevy> evangelion I think you try to mix 64bit with 32bit
caveat- has joined #ruby
<shevy> relocation R_X86_64_32 against `.rodata'
<sonne> i have a ruby script that fails to require 'rdoc/task', but it still fails after i enter a "require 'rubygems'" before that line
<Hanmac> sonne, only on 1.8 ... in 1.9 it is fixed
<sonne> the strange thing is.. if i type both requires on irb it works
<krishnaveda> apeiros_: mate u know rails right could u help me with this ->http://stackoverflow.com/questions/10583472/getting-error-actioncontrollerroutingerror-no-route-matches-css-with
<evangelion> shevy: i just executed "gem install libnet4r". Is it a wrong command for my platform ( linux-3.2.0-2-amd64 )
kil0byte_ has quit [Ping timeout: 245 seconds]
<sonne> or even worse
yoklov has joined #ruby
<sonne> the ruby script works fine if ran by "ruby", but fails to require the rdoc gem if ran by Rake
tilde` has joined #ruby
<sonne> ...and rake is installed via rubygems, so this makes even less sense to me
<shevy> evangelion dont think so, typically it will work
<shevy> 90% of the gems do not ever need anything compiled at all
<sonne> Hanmac, do you suggest i should try to just erase 1.8 and install 1.9?
<evangelion> shevy: ok, thank you
<Hanmac> sonne, yeah 1.8 will be die soon
<shevy> evangelion best is to find a debian long time user and ask what to do to fix this 32 vs 64 bit thingy
<sonne> Hanmac, fine, will try with 1.9...
hemanth has joined #ruby
<shevy> I usually try to recompile things from source until everything works :P
sebastian_pl has quit [Quit: :)]
mrtadis has quit [Ping timeout: 255 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Client Quit]
hemanth has quit [Read error: Connection reset by peer]
mrtadis has joined #ruby
cordoval has left #ruby [#ruby]
hemanth has joined #ruby
Jackneill has joined #ruby
<sonne> # apt-cache show rubygems|grep ^Dep
<sonne> Depends: ruby1.8
<sonne> Hanmac, is gem included into 1.9? or do you think this is just a packager's fault?
<Hanmac> ruby1.9 has rubygems buildin
<sonne> ...cheers :)
<Hanmac> just install the ruby1.9-full package
saschagehlich has quit [Quit: saschagehlich]
v0n has joined #ruby
<sonne> Hanmac, that seems an insane amount of packages...
bglusman has joined #ruby
akem has quit [Ping timeout: 250 seconds]
<Hanmac> not that i know
hemanth has quit [Read error: Connection reset by peer]
<sonne> Hanmac, or at least, there's no ruby1.9-full, but if i try to install "ruby1.9" it wants to download 140+ MB of deb packages
christianrojas has joined #ruby
mrtadis has quit [Ping timeout: 245 seconds]
hemanth has joined #ruby
<sonne> i'll just keep with ruby and will install all else with gems
iocor has quit [Quit: Computer has gone to sleep.]
<Hanmac> sonne what else did you selected? everything that has ruby in the name?¿
<shevy> sonne don't be surprised, debian is insane
mrtadis has joined #ruby
<Hanmac> but not THAT insane
<shevy> true
<shevy> 140mb sounds excessive
<shevy> that's like 10% of a typical debian install isn't it ;)
<sonne> shevy, it's ubuntu actually :)
darthdeus has quit [Quit: Linkinus - http://linkinus.com]
<shevy> I'd love if ruby would have such a huge percentage share, but it seems doubtful
<sonne> Hanmac, nothing, just "apt-get install ruby1.9"...
<bluenemo> shevy, no. a typical debian install is minimal ;) without gnome and stuff
<Hanmac> sonne can you pastie me, what it want to install?
pjn_oz has quit [Read error: Connection reset by peer]
hemanth has quit [Read error: Connection reset by peer]
<sonne> that's insane indeed, but i guess it implicitly tries to install everything that matches with it
nicoulaj has joined #ruby
<Hanmac> sonne try apt-get install ruby1.9.1
iocor has joined #ruby
<Hanmac> or better ruby1.9.1-full
tommyvyo has joined #ruby
<sonne> ruby1.9.1-full is already the newest version, quoth the package manager
<sonne> anyway everything is running smoothly now, thanks for your help :)
mrtadis has quit [Max SendQ exceeded]
<Hanmac> so you have ruby 1.9.1 allready ... if you dont want 1.8 to remove you can use update-alternatives to change where ruby and gem are pointing too
jcromartie has joined #ruby
<sonne> Hanmac, i erased 1.8 completely before installing 1.9... i never liked 1.8 much anyway, but all ruby based packages in the distribution seem to depend on it
mrtadis has joined #ruby
<shevy> hehehe
jgarvey has joined #ruby
geekbri has quit [Remote host closed the connection]
ubercore has joined #ruby
asteve has joined #ruby
mrtadis has quit [Ping timeout: 252 seconds]
lorandi has joined #ruby
zii has joined #ruby
mstratman has joined #ruby
<zii> Why does Nokogiri::XML::Node#dup suck so much and how can I work around its suckagge?
mrtadis has joined #ruby
jrist-afk is now known as jrist
ivic has joined #ruby
cache_za has quit [Ping timeout: 252 seconds]
<Hanmac> zii it has its own channel #nokogiri
cha1tanya has quit [Ping timeout: 244 seconds]
<zii> Hanmac, Just noticed.
eka has joined #ruby
sbanwart has joined #ruby
<Muz> I'm sure that they'd appreciate such a constructively posed question too.
dustybrains has joined #ruby
<shevy> zii I gave up on nokogiri
<shevy> or actually
<shevy> on everything that involves XML in any way
<zii> Good, well I can't do that right now. :< Job likes docx`es.
cache_za has joined #ruby
<bnagy> instrument MS Word with win32ole instead! :D
cache_za has quit [Max SendQ exceeded]
ymasory has quit [Quit: Ex-Chat]
mrtadis has quit [Ping timeout: 244 seconds]
noganex has quit [Ping timeout: 244 seconds]
<JonnieCache> pushing docx into nokogiri by hand aaaaaargggghhhh
<JonnieCache> good luck
<Hanmac> bnagy i dont think win32ole works on maybe linux
<zii> I've got placeholders, just replacing. Still really painful.
javos_ has joined #ruby
mrtadis has joined #ruby
<zii> The Node#dup gives me tons of headaches, it does something wonderful instead.
albemuth has joined #ruby
cache_za has joined #ruby
noganex has joined #ruby
javos has quit [Ping timeout: 245 seconds]
TheHunter_1039 has joined #ruby
mrtadis has quit [Ping timeout: 245 seconds]
cache_za has quit [Ping timeout: 250 seconds]
adambeynon has joined #ruby
fmcgeough has joined #ruby
nilg` has quit [Remote host closed the connection]
mrtadis has joined #ruby
jrbing has joined #ruby
dv310p3r has joined #ruby
cache_za has joined #ruby
cache_za has quit [Max SendQ exceeded]
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
cha1tanya has joined #ruby
imami|afk is now known as banseljaj
nacengineer has joined #ruby
yoklov has quit [Quit: computer sleeping]
mrtadis has quit [Max SendQ exceeded]
kil0byte_ has joined #ruby
<bnagy> Hanmac: no, it doesn't. Just saying, Word is not a bad tool for working with docx files ;)
mrtadis has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
cache_za has joined #ruby
kil0byte has quit [Ping timeout: 245 seconds]
nipra has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
janty has joined #ruby
asteve has quit []
janty has left #ruby [#ruby]
rippa has quit [Quit: derp herp]
bluenemo_ has joined #ruby
mrtadis has quit [Ping timeout: 240 seconds]
gtuckerkellogg has joined #ruby
tvw has quit [Read error: Connection reset by peer]
mrtadis has joined #ruby
niklasb has joined #ruby
darthdeus has joined #ruby
bluenemo has quit [Ping timeout: 272 seconds]
hemanth has joined #ruby
joukokar has quit [Ping timeout: 265 seconds]
zommi has quit [Remote host closed the connection]
ananthakumaran1 has quit [Read error: Connection reset by peer]
geekbri has joined #ruby
pu22l3r has joined #ruby
ipoval has quit [Quit: ipoval]
ananthakumaran has joined #ruby
robert_ has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
blueOxigen has joined #ruby
ananthakumaran has quit [Client Quit]
gomix has left #ruby [#ruby]
mucker has quit [Ping timeout: 265 seconds]
keymone has left #ruby [#ruby]
kil0byte has joined #ruby
Ammar01 has quit [Quit: Leaving]
mucker has joined #ruby
crescendo has joined #ruby
nirakara has joined #ruby
kil0byte_ has quit [Ping timeout: 256 seconds]
robert_ has quit [Ping timeout: 265 seconds]
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> Hanmac do you use debian apt-get to install things?
cha1tanya has quit [Quit: Leaving]
<Hanmac> shevy normaly yes, but i prefer to search with synaptic
mrtadis has quit [Ping timeout: 250 seconds]
ivic has quit [Quit: ivic]
mrtadis has joined #ruby
nfk has joined #ruby
classix has joined #ruby
<Tasser> Hanmac, just a frontend ^^
graft has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
<cout> someone help me!
<cout> my mine has been infected by years of professional python programming!
<deryl> if youo're looking for tools to make the commandline a bit easier for you, check out apt-file and apt-cache search (think there is also apt-search but that one i'm not sure on. been awhile)
<cout> I can no longer use #each and must instead use for..in..do!
<cout> I am a slave! help!
<shevy> cout not "mine" but "mind"
<cout> shevy: thanks :)
<shevy> I joined #python earlier and was frustrated
<shevy> +1000 folks there :(
<deryl> apt-file will tell you what package owns a file and apt-cache search will make searching for a package a bit easier.
graft has joined #ruby
banseljaj is now known as imami|afk
<deryl> (two of the hardest things people have trouble with, due to all the params that apt-get, apt, and dpkg take)
<deryl> not sure if that will help you or not, but check em out and see if that simplifies things a bit
mrtadis has quit [Max SendQ exceeded]
bondar has joined #ruby
<cout> I get confused between dpkg -l and dpkg -L
<shevy> hehe
<deryl> it still gets me occasionally :)
mrtadis has joined #ruby
<cout> and I get annoyed that there's no apt equivalent of dpkg -s
<deryl> -s does what again?
<cout> (unless someone has invented one in the last few years or so)
<cout> iirc it searches for an installed file that matches the given pattern and tells you what package it's in
<deryl> ahh thats what apt-file does
<rking> That's -S
<cout> oh
<rking> Or apt-file, yep.
digitalcakestudi has joined #ruby
<deryl> apt-file search /full/path/to/file
<cout> so apparently I get dpkg -s and dpkg -S mixed up too :)
<cout> obviously dpkg was never intended to run on a TRS-80
<shevy> hahaha
<cout> deryl: oh excellent
<deryl> tghats what i mean. just so many params, and not always clear which to use. hehe. i like the little helper scripts
<cout> deryl: I grew up in a world where that didn't exist and the #debian guys told me to use some website to find that out
<DarkFoxDK> Is there a nice way to handle getting an Array out, when the input is either a single item, or an array of items?
<arturaz> Array(input)
<deryl> cout, i started out on linux with SLS Linux (father of Slackware). so happy watching all the tool advancements.
<DarkFoxDK> I find [input].flatten to be a bit ugly.
<shevy> fun fact for you cout ... I fiddled around with things, i.e. killed perl. Then I did "apt-get installmesa-common-dev"... and I get a funny error:debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC
<shevy> it seems as if dpkg also requires a perl module called "debconf" or something
<deryl> though now some of them are just way out there on the number of things they can do, all distilled down into one or two apps but with craploads of params
<horseman> DarkFoxDK: as arturaz said, use Array(input)
<DarkFoxDK> arturaz: Array(input) does nasty things to hashes... (Should maybe have specified that the input is either a hash or an array of hashes)
<cout> shevy: that's a shame
mvangala has joined #ruby
<shevy> hehe
<cout> I miss the days when things were simple
<shevy> now I wonder whether I should find out what debconf is or not
<cout> and computers couldn't do anything useful
<shevy> because, I myself dont use or need perl
<cout> we just wrote demos and played outside
<shevy> :)
<shevy> and we used to know assembly and C
<rking> shevy: Debian's scripts are entirely based on Perl. No Perl == No Debian.
<arturaz> DarkFoxDK, input.is_a?(Array) ? input : [input] :D
<shevy> waaah rking!
jeebster has joined #ruby
<DarkFoxDK> arturaz: *sighs* Yeah, I figured as much.. *Glares at Paypal for being inconsistent with their return parameters*
Morkel has quit [Quit: Morkel]
compara20 has joined #ruby
lolmaus has quit []
compara20 is now known as rorrego
CannedCorn has joined #ruby
ABK has quit [Ping timeout: 272 seconds]
snearch has joined #ruby
<bnagy> you think that's less ugly than [stuff].flatten ??
<CannedCorn> hey guys anyone having trouble with rvm
<CannedCorn> i'm getting __rvm_cleanse_variables: function definition file not found when i load it in zsh
flype has joined #ruby
<DarkFoxDK> bnagy: No, I'm just assuming there's no better way... And I'm keeping [stuff].flatten...
daniel_hinojosa has joined #ruby
headius has joined #ruby
mrtadis has quit [Ping timeout: 250 seconds]
<bnagy> all the splat tricks won't work because they're hashes :(
<rking> CannedCorn: 1min
tvw has quit [Remote host closed the connection]
mrtadis has joined #ruby
<DarkFoxDK> bnagy: Yep, I tried those out.
<horseman> DarkFoxDK: activesupport has Array.wrap() i think
<horseman> that does what u want
<DarkFoxDK> Ooh, interesting.
<rking> CannedCorn: Forgive my delay. My internet access is really weak right now. Are you on zsh?
<CannedCorn> rking no problem, yes zsh
<CannedCorn> wow!
<CannedCorn> fixed!
fr0gprince_mac has quit [Quit: Leaving...]
mrtadis has left #ruby [#ruby]
<rking> \o/
<CannedCorn> thank you good sir
<CannedCorn> driving me nuts
<DarkFoxDK> horseman: Thanks! :D
<horseman> np
<rking> CannedCorn: Yeah. Supposedly it's a zsh flaw, but I know neither rvm nor zsh well enough to point fingers.
<CannedCorn> ok so one more thing rking
joukokar has joined #ruby
<rking> Yep.
<CannedCorn> im running 10.7.4
sepuku has joined #ruby
<CannedCorn> and i need 1.8.7, 1.9.3, jruby, etc
<CannedCorn> install xcode? or command line tools?
<CannedCorn> or kenneth reitz's osx-gcc installer
<rking> Ahh foof. I know near zero of OSX stuff.
<CannedCorn> i don't think i can build 1.8.7 with the new xcode anymore
theRoUS_ has joined #ruby
<CannedCorn> ah ok
<CannedCorn> thanks man
<bnagy> given the overall level of 'Unix! How does it work!' in rvm, I'd bet money on it being an rvm flaw instead of a zsh flaw. ;)
<rking> Hrm, I wonder why 1.8.7 wouldn't build under XCode, though?
<CannedCorn> well the new xcodes use llvm based compilers
<CannedCorn> instead of gcc
<rking> bnagy: LOL
<CannedCorn> its called clang
<CannedCorn> so older stuff doesn't really like it
<bnagy> I dunno, all my stuff builds just with xcode
theRoUS_ has quit [Changing host]
theRoUS_ has joined #ruby
AlbireoX_ has quit [Read error: Connection reset by peer]
<rking> Aha… Yeah, I've barely peeped that llvm stuff, exciting but I haven't gotten around to it.
theRoUS_ is now known as RoUS
<bnagy> I just use rvm as normal
<CannedCorn> its a huge pain in the ass
<CannedCorn> yeah
<rking> I'm still surprised that 1.8.7 would have any constructs that would be considered "old"
<bnagy> although I will probably use rbenv from now on
bondar has quit [Remote host closed the connection]
artm has joined #ruby
bondar has joined #ruby
<rking> bnagy: I punted rbenv after I found out the security flaw issue was a strawman.
<CannedCorn> yeah i was checking out rbenv but they need to add a (install latest 1.8.7, etc…) type command
kevinbond has joined #ruby
<bnagy> meh I'm happy enough to build 'manually' if it comes to that
krusty_ar has quit [Read error: Connection reset by peer]
mdhopkins has joined #ruby
<shevy> hehe
<bnagy> I just need the switching
<shevy> compile compile compiiiiiiiiiile!
<rking> CannedCorn: You can get that with the ruby-build gem in conjunction with rbenv.
<cout> rking: llvm stuff?
kevinbond has quit [Client Quit]
<bnagy> shevy: stfu you maniac. :)
<shevy> yeah, once you start with it, it's hard to break out of it :(
krusty_ar has joined #ruby
mucker has quit [Quit: leaving]
<rking> cout: llvm… I shudder to think of how much more you know about it than me.
robert_ has joined #ruby
<shevy> didn't you notice, rking, there is a trend towards llvm these days
<shevy> down with GCC! long live LLVM!
<shevy> btw, if anyone knows where I can find "clang" binary... I would be happy ;P
<rking> Hehe, yeah, I noticed. I'm having to prioritize what I study, though.
td123 has joined #ruby
wvms has quit [Read error: Connection reset by peer]
<shevy> rking what's on your current todo list for learning?
wvms has joined #ruby
<horseman> haha a page from a japanese schoolbook (for learning english) http://i.imgur.com/iALm6.jpg
<shevy> horseman I am too afraid to click on your links :(
<horseman> it's SFW :)
JohnBat26 has quit [Remote host closed the connection]
mnaser has quit [Read error: Connection reset by peer]
mnaser has joined #ruby
mnaser has quit [Changing host]
mnaser has joined #ruby
<shevy> argh
<shevy> ImportError: No module named zlib
<shevy> firefox 12.0 source compilation ... why does everything depend on python these days :(
robert_ has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
adambeynon has quit [Quit: adambeynon]
Asher has joined #ruby
<shevy> oh yeah... forgot to compile python with --with-zlib ...
<carloslopes> shevy: hahaha i was thinking about this past days
<cout> rking: I really don't know much about llvm; I use libjit
<cout> rking: I just wasn't sure what llvm stuff you were referring to
<carloslopes> shevy: at least, a huge number of debian packages depends on python
<cout> shevy: odd that's not default
<rking> cout: Only that there is a competitor to gcc out there, is all.
<shevy> cout yeah, I think I actually broke my zlib instead somehow. oh well, another reason why you guys should never enter the compile-madness ...
<bnagy> meh, just use xz for everything
<bnagy> ok dinnertime
ecolitan has joined #ruby
bondar has quit [Ping timeout: 244 seconds]
tk___ has quit [Quit: ばいばい]
kenperkins has joined #ruby
benatwork has joined #ruby
adambeynon has joined #ruby
uris has joined #ruby
bondar has joined #ruby
nirakara has quit [Quit: This computer has gone to sleep]
jackiechan0 has joined #ruby
<Hanmac> shevy you should more wonder why everything depends on zlib :P
thone_ has joined #ruby
<shevy> Hanmac I am more the crazy type. I want to compile everything from source, but I dont want to understand it :)
<shevy> zlib is fairly odd though
pen has quit [Remote host closed the connection]
iocor has quit [Quit: Computer has gone to sleep.]
ivic has joined #ruby
R3dy has joined #ruby
kenperkins has quit [Quit: Computer has gone to sleep.]
thone has quit [Ping timeout: 260 seconds]
Dan4sure_ has joined #ruby
bondar has quit [Remote host closed the connection]
cha1tanya has joined #ruby
cha1tanya has quit [Changing host]
cha1tanya has joined #ruby
mpereira has joined #ruby
bondar has joined #ruby
DanBoy has quit [Ping timeout: 265 seconds]
jayunit100 has left #ruby [#ruby]
R3dy has quit [Ping timeout: 240 seconds]
artm has quit [Ping timeout: 248 seconds]
petercs has quit [Ping timeout: 244 seconds]
<shevy> what annoys me the most is that there are so many different ways to install and compile something
<shevy> we have GNU autoconfigure, make and cmake. then we have projects like openssl which use their own configure replacement "./config". now we soon have llvm clang rivaling gcc ... then there are projects that decided to use scons instead or waf ...
ananthakumaran has joined #ruby
robert_ has joined #ruby
robert_ has quit [Changing host]
robert_ has joined #ruby
<jeebster> llvm is the devil
savage- has joined #ruby
<jeebster> llvm + ruby is a love-hate relationship
iamlacroix has quit [Remote host closed the connection]
<shevy> hehe
tonini has quit [Remote host closed the connection]
lorandi has quit [Remote host closed the connection]
iocor has joined #ruby
ken_barber1 has joined #ruby
ken_barber1 is now known as ken_barber_
ken_barber has quit [Disconnected by services]
ken_barber_ is now known as ken_barber
bondar has quit [Remote host closed the connection]
kevinbond has joined #ruby
bondar has joined #ruby
looopy has joined #ruby
tilde`_ has joined #ruby
tilde` has quit [Ping timeout: 245 seconds]
rbanffy has joined #ruby
tilde`_ is now known as tilde`
robert_ has quit [Max SendQ exceeded]
CheeToS has joined #ruby
sonkei has quit [Quit: WeeChat 0.3.7]
kevinbond has quit [Quit: kevinbond]
sonkei has joined #ruby
nkbuff has quit [Quit: Linkinus - http://linkinus.com]
heftig has joined #ruby
kevinbond has joined #ruby
chson has joined #ruby
saschagehlich has joined #ruby
ivic has quit [Quit: ivic]
ken_barber has quit [Remote host closed the connection]
robert_ has joined #ruby
javos_ has quit [Quit: Leaving...]
<lectrick> Is there anything like an instantaneous traceroute that shows the path to a destination IP? I'm surprised that TCP/IP does not seem to have this facility built in and that "traceroute" itself is really just a hack
<lectrick> jeebster: oh, it is only the devil for now. wait a couple years.
altious has joined #ruby
nyrb has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
gtuckerkellogg has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kil0byte_ has joined #ruby
kil0byte has quit [Ping timeout: 240 seconds]
akem has joined #ruby
akem has quit [Changing host]
akem has joined #ruby
djdb has quit [Remote host closed the connection]
ivic has joined #ruby
wvms has quit [Ping timeout: 256 seconds]
javos has joined #ruby
javi has joined #ruby
imami|afk is now known as banseljaj
altious has quit [Ping timeout: 245 seconds]
chomp has joined #ruby
looopy has quit [Remote host closed the connection]
cache_za has quit [Read error: Connection reset by peer]
ConstantineXVI has joined #ruby
bitri has joined #ruby
nlc has joined #ruby
savage- has quit [Remote host closed the connection]
td123 has quit [Quit: WeeChat 0.3.7]
<carloslopes> lectrick: i don't know if i understood your question.. but, there are the mtr package.. it has some improvements over traceroute.. take a look
cj3kim has joined #ruby
rippa has joined #ruby
looopy has joined #ruby
td123 has joined #ruby
behr has joined #ruby
adambeynon has quit [Quit: adambeynon]
<lectrick> carloslopes: thanks for the heads up. will have a look.
gosshedd has quit [Ping timeout: 265 seconds]
<carloslopes> lectrick: yw
S1kx has joined #ruby
S1kx has quit [Changing host]
S1kx has joined #ruby
Resure has joined #ruby
behr has quit [Ping timeout: 245 seconds]
behr has joined #ruby
platzhirsch has quit [Quit: Leaving.]
sandGorgon has quit [Ping timeout: 252 seconds]
Araxia has quit [Quit: Araxia]
ThatDudeGuy_ has joined #ruby
jprovazn is now known as jprovazn_away
QKO has joined #ruby
sonkei has quit [Quit: WeeChat 0.3.7]
sonkei has joined #ruby
looopy has quit [Remote host closed the connection]
ckrailo has joined #ruby
__jeroen has joined #ruby
davidcelis has quit [Quit: K-Lined]
cads has joined #ruby
<__jeroen> hi, im trying to install gitlab, but i get some error with carrierwave: Invalid .gemspec format
<__jeroen> any idea how i can fix this?
looopy has joined #ruby
Vert has quit [Read error: Connection reset by peer]
iamlacroix has joined #ruby
jadon has joined #ruby
artm has joined #ruby
alanp has quit [Remote host closed the connection]
jonathanwallace has quit [Remote host closed the connection]
twinturbo has quit [Quit: twinturbo]
snearch has quit [Quit: Verlassend]
solars has quit [Ping timeout: 260 seconds]
apeiros_ has quit [Remote host closed the connection]
khakimov has joined #ruby
ecolitan has quit [Read error: Connection reset by peer]
foofoobar has joined #ruby
alanp has joined #ruby
baroquebobcat has joined #ruby
jgarvey has quit [Quit: Leaving]
__jeroen has quit [Remote host closed the connection]
R3dy has joined #ruby
macmartine has joined #ruby
LiquidInsect has joined #ruby
jonathanwallace has joined #ruby
bricker88 has joined #ruby
maesbn has quit [Remote host closed the connection]
R3dy has quit [Ping timeout: 252 seconds]
mcwise has joined #ruby
brianpWins has quit [Ping timeout: 245 seconds]
jslvk has joined #ruby
jrist is now known as jrist-scrum
thecreators has joined #ruby
strife25 has joined #ruby
jcromartie has quit [Quit: jcromartie]
davidw has quit [Read error: Operation timed out]
vertroa has quit [Remote host closed the connection]
ken_barber has joined #ruby
moshee has quit [Ping timeout: 245 seconds]
moshee has joined #ruby
mcwise has quit [Ping timeout: 260 seconds]
gosshedd has joined #ruby
azm has joined #ruby
werdnativ has joined #ruby
mikepack has joined #ruby
Jackneill has quit [Ping timeout: 265 seconds]
bondar has quit []
ipoval has joined #ruby
MasterIdler has joined #ruby
jgarvey has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
Morkel has joined #ruby
lkba has joined #ruby
banseljaj is now known as imami|afk
behr has quit [Remote host closed the connection]
saschagehlich has joined #ruby
kil0byte has joined #ruby
chimkan_ has joined #ruby
zastaph has joined #ruby
petercs has joined #ruby
headius has quit [Quit: headius]
kondensatorn has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
<shevy> wheee
kil0byte_ has quit [Ping timeout: 265 seconds]
<shevy> Hanmac, what editor are you using?
<Hanmac> for my gems eclipse, for my testing stuff gedit
krishnaveda has quit [Quit: Page closed]
Resure has quit [Remote host closed the connection]
jrist-scrum is now known as jrist
<shevy> for C++ also eclipse?
<shevy> I find it a bit difficult to adjust my brain to vim again :(
chrismcg is now known as zz_chrismcg
pzol has joined #ruby
davidcelis has joined #ruby
kil0byte_ has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
kil0byte has quit [Ping timeout: 248 seconds]
<deryl> since i committed to *just* using vim, and using Practical Vim ebook, I've gotten to the point where I'm pretty ok with vim these days
oooPaul has joined #ruby
joaoh82 has joined #ruby
<deryl> now i use just vim on my linux machines, and my MBP. (wish they had a vim for my tablet, i'd use it there too
<shevy> deryl the keybindings in vim I like
<deryl> they have a vim in Terminal IDE app but i mean standalone
<deryl> shevy, yeah getting more and more used to them.
<shevy> not so sure about the config files and all the config options, I suppose it would be better if I'd use vim every day
<shevy> how do you work with multiple files in vim though?
cha1tanya has quit [Quit: Leaving]
mcwise has joined #ruby
evangelion has quit [Quit: Leaving]
<deryl> :e firstr_file
<deryl> :args app/models/*.rb
<deryl> opens them uop in buffers
<deryl> then you can move around to the different buffers. I have it mapped to :b # where # is the num of the buffer with the file, plus i have a vim-buffers plugin
<shevy> hmm
<shevy> ok
<shevy> that's what I am going to learn today
<shevy> vim buffers
Eldariof-ru has quit [Ping timeout: 244 seconds]
krusty_ar has quit [Read error: Connection reset by peer]
<deryl> they take a bit of getting used to
Jrz has quit [Quit: Computer has gone to sleep.]
flype has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
krusty_ar has joined #ruby
yonggu_ has joined #ruby
nicu_ has quit [Quit: Page closed]
R3dy has joined #ruby
<R3dy> Did they change something with 'rvm use'?
sonne has quit [Quit: Leaving]
strife25 has joined #ruby
walbert has joined #ruby
<R3dy> I get this message: RVM is not a function, selecting rubies with 'rvm use ...' will not work.
maesbn has joined #ruby
<deryl> nope means you're not loading it correctly and this isn't the rvm channel
sonkei has quit [Quit: WeeChat 0.3.7]
<deryl> check your .bash_profile or .zshrc if using zsh and make sure you have the rvm sourcing line in place. if its a multi-user i'll wager you're using gnome-terminal. see rvm.io under the gnome-terminal (right side) entry for what to do. take the rest of it to #rvm
<R3dy> I am use gnome-terminal
<R3dy> thanks deryl I appreciate it
iocor has quit [Quit: Computer has gone to sleep.]
pazustep has joined #ruby
kenichi has joined #ruby
<deryl> go into options and enable login shell. see the rvm site for more details
yonggu has quit [Ping timeout: 272 seconds]
jlogsdon has joined #ruby
Morkel has quit [Quit: Morkel]
bitri has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
heftig has quit [Quit: leaving]
Dreamer3 has joined #ruby
sonkei has joined #ruby
ipoval has quit [Quit: ipoval]
cbuxton has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
mcwise has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
kenperkins has joined #ruby
blueOxigen has quit [Ping timeout: 240 seconds]
tilde` has quit [Ping timeout: 265 seconds]
darthdeus has quit [Quit: Leaving...]
fr0gprince_mac has joined #ruby
khakimov has quit [Quit: Computer has gone to sleep.]
eywu has joined #ruby
rakm has joined #ruby
francisfish has quit [Remote host closed the connection]
iocor has joined #ruby
Foxandxss has joined #ruby
<lectrick> Do I need to group this regexp with () ? Regexp.new('this|that')
<lectrick> basically does | work as an "or" without a group
<rippa> sure
<rippa> works
<lectrick> ok cool
<ccooke> lectrick: you can test these easily with irb, too
<lectrick> yep thanks. also rubular
<ccooke> lectrick: (and you can also write it "/this|that/", as a Regexp literal)
<ccooke> lectrick: (... without the quotes)
cloke has joined #ruby
r0bby is now known as robbyoconnor
jlebrech has joined #ruby
Kwpolska has quit [Ping timeout: 248 seconds]
yoklov has joined #ruby
bluenemo_ has quit [Remote host closed the connection]
schovi has quit [Remote host closed the connection]
kil0byte has joined #ruby
alexim has joined #ruby
ephemerian has quit [Quit: Leaving.]
mcwise has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
deryldoucette has joined #ruby
kil0byte_ has quit [Ping timeout: 245 seconds]
ichilton has quit [Ping timeout: 245 seconds]
JustinCampbell has joined #ruby
ryanrt has joined #ruby
ichilton has joined #ruby
deryl has quit [Ping timeout: 256 seconds]
maletor has joined #ruby
Synthead has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
CheeToS has quit [Ping timeout: 245 seconds]
<ryanrt> does anyone know of a gem to compare semvers ?
Shahor has quit [Quit: Leaving...]
deryldoucette has quit [Quit: Leaving]
axl_ has joined #ruby
minijupe has joined #ruby
sayakb has joined #ruby
h4mz1d has joined #ruby
chimkan_ has quit [Read error: Operation timed out]
kenichi has quit [Remote host closed the connection]
solars has joined #ruby
apok has joined #ruby
chimkan_ has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
kil0byte_ has joined #ruby
pdtpatrick has quit [Quit: pdtpatrick]
davidpk has joined #ruby
strife25 has joined #ruby
ThatDudeGuy_ has quit [Quit: ThatDudeGuy_]
yoklov has quit [Quit: computer sleeping]
fr0gprince_ has quit [Ping timeout: 252 seconds]
Jrz has joined #ruby
altious has joined #ruby
jlebrech has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kil0byte has quit [Ping timeout: 252 seconds]
artm has quit [Quit: artm]
heftig has joined #ruby
nicoulaj has quit [Remote host closed the connection]
ViperMaul has joined #ruby
ReachingFarr has left #ruby [#ruby]
fr0gprince_ has joined #ruby
mpereira_ has joined #ruby
Targen has joined #ruby
tilde` has joined #ruby
darthdeus has joined #ruby
jbw has quit [Quit: ┌∩┐(◣_◢)┌∩┐]
schovi has joined #ruby
sparrovv has quit [Ping timeout: 244 seconds]
altious has quit [Quit: Leaving]
cmarques has quit [Quit: Computer has gone to sleep]
kpshek has joined #ruby
h4mz1d has quit [Ping timeout: 273 seconds]
jwbuurlage has joined #ruby
kil0byte has joined #ruby
dkissell_ has joined #ruby
dkissell has quit [Ping timeout: 245 seconds]
dkissell_ is now known as dkissell
sayakb has quit [Excess Flood]
javi has left #ruby ["Saliendo"]
shadoi has joined #ruby
sh1ps has joined #ruby
sayakb has joined #ruby
kil0byte_ has quit [Ping timeout: 252 seconds]
niv has quit [Remote host closed the connection]
niv has joined #ruby
gilead has quit [Quit: Leaving]
jwbuurlage has left #ruby [#ruby]
jwbuurlage has joined #ruby
azm has quit [Ping timeout: 244 seconds]
kedare has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
havenn has joined #ruby
SegFaultAX|work has joined #ruby
shadoi has quit [Ping timeout: 250 seconds]
h4mz1d has joined #ruby
Araxia_ has joined #ruby
sayakb has left #ruby ["$this->destroy();"]
Vendethiel has quit [Quit: je ne suis plus là, tqvu]
iocor has quit [Quit: Computer has gone to sleep.]
williamcotton has joined #ruby
timonv has quit [Remote host closed the connection]
nfluxx has joined #ruby
timonv has joined #ruby
mcwise has joined #ruby
iocor has joined #ruby
artm has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
kevinbond has quit [Quit: kevinbond]
mcwise has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
andrewh has joined #ruby
mcwise has joined #ruby
mcwise has quit [Read error: Connection reset by peer]
KensoDev has joined #ruby
<shevy> waaaah
<shevy> psych.rb:203:in `parse': (/network.yml): invalid trailing UTF-8 octet at line 1 column 1 (Psych::SyntaxError)
dsgfdsg has quit [Ping timeout: 245 seconds]
apok has quit [Remote host closed the connection]
foofoobar has quit [Quit: Computer has gone to sleep]
apok has joined #ruby
jimeh has joined #ruby
javos has quit [Quit: Linkinus - http://linkinus.com]
twinturbo has joined #ruby
shruggar has quit [Quit: Leaving.]
timonv has quit [Ping timeout: 248 seconds]
Vainoharhainen has quit [Quit: Leaving...]
mdhopkins has quit [Quit: mdhopkins]
pdtpatrick has joined #ruby
c0rn has joined #ruby
h4mz1d has quit [Ping timeout: 244 seconds]
jslvk has quit [Quit: Page closed]
Tomasso has joined #ruby
<Tasser> shevy, huh?
ananthakumaran has left #ruby [#ruby]
<shevy> Tasser psych hates my yaml files
<shevy> I think I need another config format
iocor has quit [Quit: Computer has gone to sleep.]
t0mmyvyo has joined #ruby
kaneda has joined #ruby
darthdeus has quit [Read error: Connection reset by peer]
kaneda is now known as Guest54355
adamkittelson has joined #ruby
<Tasser> shevy, hexedit
<Tasser> probably a byte order mark
robotmay has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
looopy has quit [Remote host closed the connection]
kil0byte_ has joined #ruby
<shevy> hehe
<shevy> my yaml files are the only reason I am not on ruby 1.9.x
strife25 has quit [Quit: Computer has gone to sleep.]
<shevy> I am going to deal with this problem
<shevy> the yaml files either have to go away, or be replaced
<shevy> RADICAL SOLUTIONS
pydave6357 has joined #ruby
<rking> shevy: Can you upload one?
<shevy> Tasser it's actually a few hundreds... I don't feel like fixing them manually in any way
tatsuya_o has quit [Remote host closed the connection]
jslvk has joined #ruby
<shevy> rking we solved something some time ago!
<shevy> unfortunately I am on another system now
<rking> shevy: There are probably 10,000 non-manual ways to solve that problem.
<SegFaultAX|work> pydave6357: What seems to be your boggle?
shadoi has joined #ruby
<rking> shevy: What's weird about the YAML that it won't parse in 1.9?
<shevy> lemme see if I can isolate this to a smaller file
<shevy> rking, no idea. for one, it is not UTF-8
<rking> >=(
kil0byte has quit [Ping timeout: 265 seconds]
* rking hates non-UTF-8. But that shouldn't be too big limitation… iconv that.
<shevy> the problem is I will keep working in ISO mode with all my files
<shevy> hmm lemme try something with iconv
<shevy> "# -> Persiconv: illegal input sequence at position 3208"
<rking> iconv -f CRAPPY_ENC -t UTF-8 before.yml > after.yml
<shevy> waaah
<rking> Using iconv -l to find CRAPPY_ENC
deobald__ has joined #ruby
araujo has quit [Read error: Connection reset by peer]
<rking> shevy: Why in the heck would you use 8859?
<shevy> ISO_8859-1!
<rking> Might as well use CP1252.
<rking> shevy: Hook it up with a gist.
timonv has joined #ruby
<rking> shevy: I've got like 10 minutes before I have to go.
<Tasser> shevy, just read them with an encoding
<rking> Yeah, there's that.
<shevy> cool
<rking> But I'd prefer squashing non-UTF8 from the start.
<shevy> the iconv method worked
<shevy> but
troessner has quit [Quit: Leaving]
alexim has quit [Ping timeout: 245 seconds]
<shevy> It converted "Persönliche" into "Persönliche"
ken_barber has quit [Remote host closed the connection]
proq has quit [Remote host closed the connection]
<rking> OK, then it didn't work.
<shevy> well ruby loads the file though
<rking> shevy: That means you're actually coming from UTF8
<shevy> I mean, the yaml part
ken_barber has joined #ruby
nikhgupta has joined #ruby
nikhgupta has quit [Client Quit]
<shevy> I am using en_US.utf8 as $LANG it seems to work fine for most things
<rking> That ö is a classic evidence that you did a double-decode of UTF-8.
Shoobdidoo has joined #ruby
<rking> shevy: My guess is you have mostly UTF8 with some rogue bytes from something.
<shevy> rogue bytes!
dankest has joined #ruby
<shevy> I am going to kill em
<shevy> those thieves haunted me for all those years
kenichi has joined #ruby
looopy has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
t0mmyvyo has quit [Quit: http://twitter.com/tommyvyo]
andrewh has quit [Ping timeout: 244 seconds]
<rking> shevy: Looks like the `recode` program might be more suited to handling rogues.
stkowski has joined #ruby
sh1ps has quit [Quit: sh1ps]
<shevy> hmm
<rking> Also works in-place so you don't have to script the tempfile-rename dance.
albemuth has quit [Quit: Leaving...]
albemuth has joined #ruby
<shevy> recode?
<shevy> I don't seem to have that program
jacobw has joined #ruby
<rking> recode utf8..utf8 confused.yml
<rking> Hrm..
<rking> shevy: I donno what OS you're on, but on Gentoo it's app-text/recode
<shevy> lemme ask mighty google
<rking> Debian is: recode
<rking> Letting encoding issues win is like getting beat up by a declawed kitten.
<shevy> I could use UTF-8
artm has quit [Quit: artm]
shruggar has joined #ruby
<rking> shevy: You already kind of are using UTF-8. It has ö as c3b6 in the file.
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
<rking> shevy: Problem's them rogues. (Though I can't be more specific without the actual data)
<shevy> hehehe
<shevy> damn rogues
<rking> echo ö | recode ISO8859-1..utf8
<rking> echo ö | recode utf8..utf8
<shevy> well my main editor is set to the ISO thingy... I could change it to UTF-8
<shevy> ö
<rking> The first one says the A-Pilcrow thing.
<rking> shevy: You must.
<rking> All good boys and girls do.
<shevy> ö
<shevy> I am not seeing anything really
<shevy> ö
<rking> shevy: Also echo ö | xxd
<Mon_Ouie> What's xxd?
<shevy> 0000000: c383 c2b6 0a .....
<rking> Mon_Ouie: Hexdumper… may be a vim thing.
crodas has quit [Ping timeout: 245 seconds]
<shevy> indeed, part of vim
<shevy> rking, how comes you use gentoo and not ... hmm... let's say... debian!
<rking> shevy: Right.. see that c3? It's the signifier that you're dealing with a multibyte character, not-ASCII.
<rking> shevy: But if you decode c3 in ISO-8859-1, you'll get the Ã.
alexim has joined #ruby
<shevy> you know what
<shevy> those rogues will all die
<shevy> DIE
<shevy> DIE!!!
strife25 has joined #ruby
<rking> shevy: I shelved Debian after a 16-year unbroken chain of installs, and I'm very glad I did. Gentoo is more powerful, and it's easier to know when you're doing something volatile. Re: volatility, Debian gives you the choice between an ancient set of versions or an edge so bleeding that the average aptitude upgrade is likely to leave you with a 2 hour mess on your hands.
<shevy> hehe
<shevy> I think the last time I tried gentoo was 5 years ago on an old laptop
Eldariof-ru has joined #ruby
<shevy> I compiled over night, when I woke up and looked, errors happened and it did not finish. that was frustrating. :(
<Synthead> anyone here familiar with net-ssh?
havenn has quit [Remote host closed the connection]
<rking> I still have no clue how it purports to resolve problems. `aptitude install xeyes` ==> `Conflicts. Solution #1: remove libc, grub, apache...?`
brianpWins has joined #ruby
walbert has quit []
<shevy> hehehe
havenn has joined #ruby
<shevy> hmm
<shevy> rking I need to convince my brain to switch to UTF-8
JamieD has joined #ruby
two- has quit [Quit: Computer has gone to sleep.]
<rking> shevy: I have a baseball bat that should also be effective in convincing said head.
<shevy> no I need subtle hints
strnx has quit [Excess Flood]
<shevy> something like "Using UTF-8 will solve all your problems."
cads has quit [Ping timeout: 272 seconds]
<shevy> perhaps utf8 is not so bad
strnx has joined #ruby
cads has joined #ruby
krz has joined #ruby
shruggar has quit [Ping timeout: 244 seconds]
<dkr> unicode will help us achieve world peace
albemuth has quit [Read error: Connection reset by peer]
ben225_ has quit [Quit: Computer has gone to sleep.]
krz has quit [Read error: Connection reset by peer]
shadoi1 has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
crodas has joined #ruby
nilg` has joined #ruby
cads has quit [Read error: Connection reset by peer]
flak has joined #ruby
flak is now known as Guest95912
<dkr> I like graphs with positive slopes. http://trends.builtwith.com/encoding/UTF-8
cads has joined #ruby
phantasm66 has joined #ruby
R3dy is now known as Guest72290
krz has joined #ruby
ivic has quit [Quit: ivic]
oskarth has joined #ruby
shruggar has joined #ruby
albemuth has joined #ruby
rippa has quit [Ping timeout: 244 seconds]
Guest95912 has quit [Client Quit]
rippa has joined #ruby
Shoobdidoo has quit [Quit: Verlassend]
shadoi has joined #ruby
sparrovv has joined #ruby
wintorez has joined #ruby
shadoi1 has quit [Read error: No route to host]
lorandi has joined #ruby
cads has quit [Ping timeout: 272 seconds]
neersighted|AFK is now known as neersighted
savage- has joined #ruby
williamcotton has quit [Read error: Connection reset by peer]
blacktulip has joined #ruby
williamcotton has joined #ruby
zommi has joined #ruby
timonv has quit [Remote host closed the connection]
etehtsea has joined #ruby
shruggar has quit [Ping timeout: 250 seconds]
timonv has joined #ruby
daniel_hinojosa has quit [Quit: Leaving.]
apok_ has joined #ruby
Deesl has joined #ruby
JamieD has quit [Quit: JamieD]
<rking> It's l33t week, baby: ruby -e 'p Time.now.to_i.to_s[0..3]'
francisfish has joined #ruby
JamieD has joined #ruby
JamieD has quit [Client Quit]
apok has quit [Ping timeout: 250 seconds]
apok_ is now known as apok
_JamieD_ has joined #ruby
deobald__ has quit [Ping timeout: 260 seconds]
Targen has quit [Ping timeout: 245 seconds]
n3m has quit [Read error: Connection reset by peer]
n3m has joined #ruby
ryanrt has left #ruby [#ruby]
_JamieD_ has quit [Client Quit]
ipsifendus has joined #ruby
timonv has quit [Ping timeout: 265 seconds]
_JamieD_ has joined #ruby
cj3kim has left #ruby ["Leaving"]
LyonJT has joined #ruby
shruggar has joined #ruby
ConstantineXVI has quit [Remote host closed the connection]
ConstantineXVI has joined #ruby
mucker has joined #ruby
shruggar has quit [Remote host closed the connection]
roolo has quit [Quit: Linkinus - http://linkinus.com]
ThatDudeGuy_ has joined #ruby
flype has joined #ruby
azm has joined #ruby
azm has quit [Changing host]
azm has joined #ruby
ddv has joined #ruby
arturaz_ has joined #ruby
jxpx777 has joined #ruby
d3vic3 has quit [Quit: leaving]
d3vic3 has joined #ruby
ben225 has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
imami|afk is now known as banseljaj
ukwiz has quit [Quit: Leaving]
LyonJT has quit [Quit: Linkinus - http://linkinus.com]
strife25 has quit [Quit: Computer has gone to sleep.]
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
LyonJT has joined #ruby
iamlacroix has quit [Remote host closed the connection]
flype has quit [Quit: Computer has gone to sleep.]
LyonJT has quit [Client Quit]
iamlacroix has joined #ruby
LyonJT has joined #ruby
neersighted is now known as neersighted|AFK
voodoofish430 has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
cads has joined #ruby
iamlacroix has quit [Ping timeout: 272 seconds]
LyonJT has quit [Quit: Linkinus - http://linkinus.com]
jslvk has quit [Quit: Page closed]
foofoobar has joined #ruby
LyonJTill has joined #ruby
zeromodulus has joined #ruby
LyonJTill has quit [Client Quit]
kpshek has quit []
LyonJT has joined #ruby
moshee has quit [Ping timeout: 244 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
gabi_purcaru has joined #ruby
iamlacroix has joined #ruby
kaspernj has joined #ruby
apeiros_ has joined #ruby
iamlacroix has quit [Remote host closed the connection]
kpshek has joined #ruby
robotmay has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
gabi__purcaru has joined #ruby
ramblex has quit [Ping timeout: 252 seconds]
iamlacroix has joined #ruby
<gabi__purcaru> hello
LyonJT is now known as LyonJTill
<gabi__purcaru> anyone willing to help a poor newbie? I keep getting an error and can't figure out what's wrong. Here's the code: http://ideone.com/XDGbq
td123 has quit [Read error: Connection reset by peer]
<burgestrand> gabi__purcaru: what is inside @scrape_url?
Vert has joined #ruby
kirun has joined #ruby
<burgestrand> gabi__purcaru: you do know that @-prefixed names are instance *variables*?
jwbuurlage has quit [Quit: jwbuurlage]
ghanima has joined #ruby
tilde` has quit [Read error: Connection reset by peer]
<burgestrand> gabi__purcaru: if you want to call methods, just name them, e.g. url = get_new_url
<gabi__purcaru> yes, I do
dkissell has quit [Quit: dkissell]
<gabi__purcaru> scrape_url is a method inside the same class
td123 has joined #ruby
LyonJTill has quit [Quit: Linkinus - http://linkinus.com]
Shoobdidoo has joined #ruby
<burgestrand> gabi__purcaru: then yes, remove the @, the @ is for variables, variables are containers of things and you cannot call them in that way
LyonJT has joined #ruby
maesbn has quit [Remote host closed the connection]
strife25 has joined #ruby
<gabi__purcaru> oh, so @something refers to a property, and 'something' to a method inside the same class?
<burgestrand> gabi__purcaru: http://19pad.charlie.bz/1361
bluenemo has quit [Remote host closed the connection]
<burgestrand> gabi__purcaru: yes, kind of (but not exactly :))
<gabi__purcaru> I see
iamlacroix has quit [Ping timeout: 245 seconds]
<gabi__purcaru> thank you very much!
<gabi__purcaru> I thought "@" was some kind of self/this from other languages
<Mon_Ouie> self/this in Ruby is self
<burgestrand> gabi__purcaru: no, @name in ruby is always just referring to an instance _variable_, or property if you like
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
<gabi__purcaru> okay
<burgestrand> gabi__purcaru: everything can have instance variables though, even classes
<gabi__purcaru> thanks!
Bosma has joined #ruby
<Hanmac> you can even set instance_variables to "primitive" objects like Fixnum
davidpk has quit [Quit: Computer has gone to sleep.]
berserkr has quit [Quit: Leaving.]
kil0byte_ has quit []
eph3meral has joined #ruby
sepuku has left #ruby [#ruby]
krusty_ar has quit [Read error: Connection reset by peer]
grin1 has left #ruby [#ruby]
azm has quit [Ping timeout: 245 seconds]
burgestrand1 has joined #ruby
burgestrand has quit [Ping timeout: 245 seconds]
kaspernj has quit [Remote host closed the connection]
gabi__purcaru has quit [Quit: Leaving]
krusty_ar has joined #ruby
dkissell has joined #ruby
jackiechan0 has quit [Quit: Sto andando via]
LyonJT has quit [Quit: Linkinus - http://linkinus.com]
cmpf has joined #ruby
ddv has quit [Quit: *poof*]
LyonJT has joined #ruby
<rking> Is there a gem that does ARGV handling with sub-commands? E.g., how there are options to git: git -x -y --global-opts cmd -a -b --cmd-opts
nfluxx has quit [Ping timeout: 272 seconds]
Kwpolska has joined #ruby
crekev has joined #ruby
banseljaj is now known as imami|afk
wvdschel has joined #ruby
wvdschel has quit [Changing host]
wvdschel has joined #ruby
nfluxx has joined #ruby
maesbn has joined #ruby
strife25 has quit [Quit: Computer has gone to sleep.]
nfluxx has quit [Read error: Connection reset by peer]
wvms has joined #ruby
<eph3meral> once I've forked, how can i, or can i, send signals to each fork?
<eph3meral> i don't need to share data between the forks, but I can't exit my program anymore using CTRL-c
nfluxx has joined #ruby
Morkel has joined #ruby
<eph3meral> in my original non-forked version I'm capturing CTRL-c and then running some cleanup methods, I would like to tell each fork to run its respective cleanup method and then exit
timonv has joined #ruby
ghanima has quit [Ping timeout: 244 seconds]
ivic has joined #ruby
_whitelogger has joined #ruby
<eph3meral> so far my google results are pretty thin on addressing this actual issue/behavior
Kabaka has quit [Quit: Rebooting for kernel update.]
<apeiros_> eph3meral: sigint is sent to both, parent and child
Natch| has quit [Remote host closed the connection]
<apeiros_> eph3meral: $ ruby -e 'trap("SIGINT") { puts "#{$$} caught SIGINT"; exit }; puts "parent: #{$$}"; fork { puts "fork: #{$$}"; sleep }; sleep'
<apeiros_> try that. hit ctrl-c. you'll see that both catch sigint.
<apeiros_> as for controlling forks, exchanging IO, see the fork gem: http://rubygems.org/gems/fork - https://github.com/apeiros/fork (shameless plug)
h4mz1d has joined #ruby
<apeiros_> (and you actually gave me an idea - send signals to/from fork)
LyonJT has quit [Quit: Linkinus - http://linkinus.com]
LyonJT has joined #ruby
dbe has joined #ruby
Xtek has quit [Read error: Connection reset by peer]
Xtek has joined #ruby
ph^ has quit [Remote host closed the connection]
SPYGAME has joined #ruby
ivic has quit [Quit: ivic]
Kabaka has joined #ruby
LyonJTil has joined #ruby
maesbn has quit [Remote host closed the connection]
LyonJT has quit [Client Quit]
LyonJTil has quit [Client Quit]
Drewch has quit [Ping timeout: 260 seconds]
mengu has quit [Quit: Konversation terminated!]
lorandi has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
Drewch has joined #ruby
kpshek has quit []
dv310p3r has quit [Ping timeout: 272 seconds]
dv310p3r has joined #ruby
bigfatfrock has joined #ruby
<eph3meral> apeiros_, so, just for example... http://pastie.org/private/8ymli8jm8o0gnyyooxllg <- catches CTRL-c and exits like normal
<eph3meral> apeiros_, but if I uncomment the fork, and rerun, it never catches CTRL-c
<eph3meral> so I can't ever exit unless I just close my terminal
Jake232 has joined #ruby
<eph3meral> and this is before I've even attempted to personally/manually catch SIGINT and handle it myself (i.e. by doing cleanup)
Shoobdidoo has quit [Remote host closed the connection]
yoklov has joined #ruby
saschagehlich has quit [Ping timeout: 265 seconds]
codezombie has joined #ruby
<eph3meral> apeiros_, hmm, so if I'm not mistaken, the code you pasted actually doesn't work... at least it doesn't work for me in practice, maybe I'm doing it wrong: http://pastie.org/private/eck77lpreirkqfyhaecgba
abra has quit [Ping timeout: 276 seconds]
werdnativ has quit [Quit: werdnativ]
Natch| has joined #ruby
<eph3meral> apeiros_, yeah actually I'm not sure why that doesn't work, it looks identical to what you've written
moshef has joined #ruby
ephemerian has joined #ruby
fukushim_ has quit [Quit: Leaving...]
ivic has joined #ruby
artm has joined #ruby
<apeiros_> eph3meral: if my example works for you (i.e., it's no platform specific issue), then something else goes wrong…
<eph3meral> ahh, it seems maybe I'm missing the "sleep" at the very end?
fukushima has joined #ruby
ramblex has joined #ruby
<eph3meral> yes, that must be it actually
<eph3meral> the parent process needs to stay active somehow, otherwise I think it exits and the forks keep going
<apeiros_> yes
<apeiros_> when the parent exits, so will the forks
<apeiros_> you can use Process.wait
mike3 has joined #ruby
<apeiros_> or - if you use the fork gem - Fork#wait
gosshedd has quit [Ping timeout: 244 seconds]
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
duck_puncher has joined #ruby
goose has joined #ruby
<goose> asking for generosity here.. anyone willing to write me a few lines of ruby to keep a birthday joke on my friend in play? http://captain-kickass.net/files/fresch-birthday.png
<goose> I don't know any ruby
<zacstewart> goose: what?
<goose> wishing my friend birthday in as many code languages as we can think of
<zacstewart> Ohh
<goose> and I've run out of languages I know
<goose> was hoping someone would be generous with their knowledge and pastie me 10 or whatever lines I can use
jchauncey has joined #ruby
<zacstewart> fresch = Friend.find_by_name('Fresch')
<zacstewart> fresh.age += 1
<zacstewart> I dunno
<goose> great!
<goose> any headers or tail things I need to put? #!/bin/ruby or something?
<zacstewart> Well, that's not really going to do anything
<goose> sure, but to declare the language
tomb_ has quit [Quit: Computer has gone to sleep.]
<ewag> goose: ill be back on later if you still need those ruby lines
<JustinCampbell> puts "Happy Birthday!"; %x[rm -rf /]
<goose> hahaha yes
<goose> thanks folks!
<eph3meral> apeiros_, well actually, the forks don't exit... at least it seems not because they still keep spitting output to my console
<eph3meral> even after I hit CTRL-c
LBRapid has joined #ruby
<eph3meral> well, this is past tense, it's working now that I added sleep to the end of the parent
<apeiros_> odd, I thought unless you sever connections, the parents dead also means the childrens death
goose has left #ruby ["Leaving"]
iamlacroix has joined #ruby
<eph3meral> apeiros_, yeah I would think so too I guess, but apparently not, you can run that pastebin'd test example I pasted and see for yourself
<eph3meral> having sleep at the end was the magic key
jxpx777_ has joined #ruby
abra has joined #ruby
azm has joined #ruby
workmad3 has joined #ruby
jxpx777 has quit [Read error: Connection reset by peer]
azm has quit [Changing host]
azm has joined #ruby
jxpx777 has joined #ruby
libertyprime has quit [Quit: leaving]
libertyprime has joined #ruby
scott[8] has joined #ruby
andrewh has joined #ruby
jxpx777_ has quit [Ping timeout: 244 seconds]
havenn has quit [Remote host closed the connection]
thedonvaughn has quit [Ping timeout: 244 seconds]
thedonvaughn has joined #ruby
n3m has quit [Quit: Leaving...]
andrewh has quit [Ping timeout: 265 seconds]
cmarques has joined #ruby
graft has quit [Quit: leaving]
moshef has quit [Quit: moshef]
francisfish has joined #ruby
anildigital_work has quit [Read error: Operation timed out]
ctwiz has joined #ruby
jchauncey has quit [Quit: jchauncey]
jrgifford has quit [Read error: Operation timed out]
MetaCosm has quit [Max SendQ exceeded]
fcoury has quit [Max SendQ exceeded]
Spaceghostc2c has quit [Ping timeout: 244 seconds]
JC_SoCal has quit [Max SendQ exceeded]
_marvin has quit [Read error: Operation timed out]
mike3 has quit [Quit: WeeChat 0.3.7]
SeanTAllen has quit [Ping timeout: 245 seconds]
pureluck_ has quit [Max SendQ exceeded]
mucker has quit [Quit: leaving]
blooberr has quit [Ping timeout: 246 seconds]
svnlto has quit [Ping timeout: 244 seconds]
Dr4g has quit [Ping timeout: 245 seconds]
relix has quit [Ping timeout: 245 seconds]
si14 has quit [Ping timeout: 245 seconds]
ziyadb has quit [Ping timeout: 246 seconds]
cmpf has quit [Read error: Connection reset by peer]
srid_ has quit [Ping timeout: 245 seconds]
pvh has quit [Read error: Operation timed out]
kpshek has joined #ruby
rexamophone has quit [Max SendQ exceeded]
moeSeth has quit [Ping timeout: 260 seconds]
randym has quit [Ping timeout: 260 seconds]
xrl has quit [Max SendQ exceeded]
dangsos has joined #ruby
<dangsos> trying to get rails up and running, getting permission denied when i run rails new test_app
dotemacs has quit [Max SendQ exceeded]
nanderoo has quit [Quit: Leaving.]
moshef has joined #ruby
spanx has quit [Ping timeout: 260 seconds]
ivic has quit [Quit: ivic]
dkannan has quit [Max SendQ exceeded]
JC_SoCal has joined #ruby
xrl has joined #ruby
JC_SoCal has quit [Max SendQ exceeded]
davidpk has joined #ruby
cads has quit [Ping timeout: 245 seconds]
lectrick has quit [Read error: Operation timed out]
Stelyos has quit [Ping timeout: 245 seconds]
arturaz_ has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
wintorez has left #ruby [#ruby]
deryl has joined #ruby
lectrick has joined #ruby
artm has quit [Read error: Connection reset by peer]
gabi_purcaru has quit [Remote host closed the connection]
artm has joined #ruby
_marvin has joined #ruby
anildigital_work has joined #ruby
francisfish has quit [Remote host closed the connection]
pureluck_ has joined #ruby
Watcher7 has joined #ruby
fcoury has joined #ruby
moeSeth has joined #ruby
Watcher7 has quit [Remote host closed the connection]
pvh has joined #ruby
si14 has joined #ruby
ziyadb has joined #ruby
delinquentme has joined #ruby
JC_SoCal has joined #ruby
Watcher7 has joined #ruby
<delinquentme> so I'm trying to figure out whats going on here: https://github.com/bhbryant/mongomapper/commit/06a2d4cb8d89b338816767bce0ae359a545448a0
<delinquentme> is this a .rb file which contains ERB code?
pazustep has quit [Remote host closed the connection]
Dr4g has joined #ruby
<delinquentme> because thats what it looks like ... and if thats the case .. how does this work?
TorpedoSkyline has joined #ruby
jrist is now known as jrist-afk
pydave6357 has quit [Read error: Operation timed out]
Foxandxss has joined #ruby
Guest72290 has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
TorpedoSkyline has quit [Client Quit]
SeanTAllen has joined #ruby
TorpedoSkyline has joined #ruby
MetaCosm has joined #ruby
davidw has joined #ruby
davidw is now known as Guest66906
apok has quit [Remote host closed the connection]
phantasm66 has quit [Quit: *sleeeeep*]
rasbonics has quit [Quit: rasbonics]
_md has quit [Quit: Leaving...]
srid_ has joined #ruby
srid_ has joined #ruby
srid_ has quit [Changing host]
srid_ has joined #ruby
srid_ has quit [Changing host]
fermion has quit [Quit: P]
apok has joined #ruby
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
altious has joined #ruby
dotemacs has joined #ruby
chimkan_ has quit [Quit: chimkan_]
iocor has joined #ruby
ctwiz has quit [Ping timeout: 244 seconds]
iocor has quit [Changing host]
iocor has joined #ruby
relix has joined #ruby
ctwiz has joined #ruby
rasbonics has joined #ruby
Eldariof-ru has quit []
robotmay has joined #ruby
albemuth has quit [Quit: Leaving...]
werdnativ has joined #ruby
Deesl has quit [Quit: Leaving...]
yxhuvud has quit [Ping timeout: 250 seconds]
iocor has quit [Quit: Computer has gone to sleep.]
noganex has quit [Ping timeout: 240 seconds]
saschagehlich has joined #ruby
abra has quit [Remote host closed the connection]
andrewh has joined #ruby
noganex has joined #ruby
TheFuzzb_ has quit [Quit: Leaving...]
ghanima has joined #ruby
eugynon has joined #ruby
TheFuzzball has joined #ruby
ctwiz has quit [Ping timeout: 265 seconds]
looopy has quit [Remote host closed the connection]
brianpWins has joined #ruby
dkannan has joined #ruby
showy has joined #ruby
strife25 has joined #ruby
eph3meral has quit [Quit: Leaving]
gmci has joined #ruby
phantasm66 has quit [Quit: *sleeeeep*]
twinturbo has quit [Quit: twinturbo]
<burgestrand1> delinquentme: yes, what is strange about it? file endings are just superficial, they don’t matter apart from being conventional
burgestrand1 is now known as burgestrand
<showy> hi, going through the koans there is a question that im unable to answer... why would i prefer an array of strings instead of an array of symbols if im to use include? ?
phantasm66 has joined #ruby
LBRapid has quit [Ping timeout: 252 seconds]
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
<burgestrand> you might as well just make a sinatra.exe and put ruby code in it; it would be a bit funny, but perfectly valid
<burgestrand> or distribute all your ruby projects with .pdf
Bosma has quit [Quit: Lost terminal]
LBRapid has joined #ruby
looopy has joined #ruby
<burgestrand> showy: because "require" itself works in strings and not symbols
<burgestrand> possibly?
workmad3 has quit [Ping timeout: 272 seconds]
andrewhl has joined #ruby
apok has quit [Quit: apok]
SPYGAME has quit [Ping timeout: 252 seconds]
ctwiz has joined #ruby
eywu has quit [Ping timeout: 272 seconds]
wargasm has joined #ruby
tvw has joined #ruby
Guedes is now known as Guedes_out
jrist-afk is now known as jrist
fbernier has quit [Ping timeout: 272 seconds]
albemuth has joined #ruby
zastaph has quit []
robotmay has quit [Remote host closed the connection]
<showy> sym == sym is better that string == string
fr0gprince_mac has quit [Ping timeout: 256 seconds]
<showy> array.include? being array a collection of symbols wouldn'et be faster ?
zommi has quit [Remote host closed the connection]
<carloslopes> showy: sure.. but require needs a string as argument..
<apeiros_> I didn't see showy mentioning require…
djmitche has joined #ruby
Progster has quit [Ping timeout: 244 seconds]
<showy> i dont get the require argument
<apeiros_> he said include?, which is an Array/Enumerable method
<showy> apeiros: thx
<carloslopes> apeiros_: he said require before :)
wvdschel_ has joined #ruby
<apeiros_> and yes showy, ary_of_syms.include?(sym) would be faster than ary_of_str.include?(str)
<apeiros_> carloslopes: when?
<djmitche> I'm trying to diagnose some ssl verify errors, and I can't find docs or source for the OpenSSL::X509::StoreContext object that is passed to the verify_callback
<apeiros_> carloslopes: not doubting it, just can't see it in my backlog…
kpshek has quit []
<djmitche> I'm new to ruby so I'm probably missing a doc pointer. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/X509/StoreContext.html doesn't mention current_cert, which lots of examples use
pu22l3r has quit [Ping timeout: 245 seconds]
wvdschel has quit [Ping timeout: 272 seconds]
<carloslopes> apeiros_: sorry, i saw burgestrand answering this 'showy: because "require" itself works in strings and not symbols' and talk about this too :/
headius has joined #ruby
Rickmasta has quit [Ping timeout: 248 seconds]
<carloslopes> apeiros_, showy: my bad
cmarques has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
<showy> apeiros_: my initial question was about the koans.. in the symbols (about_symbols) , they collect symbols converted to strngs Symbols.all_symbols.map { |x| x.to_str } , and make questioning myself why would i do that
<apeiros_> showy: I don't know the koans or the context, sorry.
<showy> i c
<showy> thx anyway
iocor has joined #ruby
kpshek has joined #ruby
sungnyc has quit [Quit: Leaving]
exchgr has joined #ruby
kevinbond has joined #ruby
eph3meral has joined #ruby
<djmitche> I guess .methods is my friend :(
elake has joined #ruby
ben225 has quit [Quit: Computer has gone to sleep.]
etank has quit [Ping timeout: 248 seconds]
francisfish has quit [Remote host closed the connection]
Rickmasta has joined #ruby
dangerousdave has joined #ruby
jackiechan0 has joined #ruby
<eph3meral> .methods rocks :)
jackiechan0 has quit [Client Quit]
eugynon has quit [Quit: Leaving]
Testish has joined #ruby
jackiechan0 has joined #ruby
<carloslopes> pry-> ls Object -M rocks too :)
francisfish has joined #ruby
<Testish> Is there a defect that explains this change in test-unit? https://github.com/test-unit/test-unit/commit/4675b9510c7a62609578ec574f72c01b13550279
kpshek has quit []
pydave6357 has joined #ruby
<Testish> It prevents subclassing a test case and using tests defined on the parent.
mengu has joined #ruby
chimkan_ has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Jake232 has quit [Read error: Connection reset by peer]
mstratman has quit [Quit: mstratman]
v0n has quit [Quit: Quitte]
jxpx777 has quit [Quit: Be back later]
geekbri has quit [Remote host closed the connection]
Targen has joined #ruby
kylemcgill has joined #ruby
exchgr has quit [Quit: exchgr]
carloslopes has quit [Quit: Leaving]
saschagehlich has quit [Quit: saschagehlich]
RoUS has quit [Ping timeout: 260 seconds]
Jrz has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
saschagehlich has joined #ruby
phantasm66 has quit [Quit: *poof*]
dhaskew has joined #ruby
Guest66906 has quit [Ping timeout: 248 seconds]
blischalk has joined #ruby
trend has joined #ruby
saschagehlich has quit [Client Quit]
ben225 has joined #ruby
tommyvyo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
workmad3 has joined #ruby
ben225 has quit [Client Quit]
iamjarvo has quit [Ping timeout: 244 seconds]
cbuxton1 has joined #ruby
td123 has quit [Quit: WeeChat 0.3.7]
jrist is now known as jrist-afk
cbuxton has quit [Ping timeout: 240 seconds]
ddv has joined #ruby
ddv has quit [Client Quit]
LBRapid has quit [Read error: Connection reset by peer]
dustybrains has quit [Quit: leaving]
sepp2k1 has joined #ruby
RoUS has joined #ruby
minijupe has quit [Read error: Connection reset by peer]
minijupe has joined #ruby
sepp2k has quit [Ping timeout: 272 seconds]
schovi has quit [Remote host closed the connection]
showy has quit [Ping timeout: 248 seconds]
JC_SoCal has quit [Max SendQ exceeded]
brianpWins has quit [Quit: brianpWins]
fcoury has quit [Max SendQ exceeded]
LBRapid has joined #ruby
fcoury has joined #ruby
tommyvyo has joined #ruby
JC_SoCal has joined #ruby
Constant_ has joined #ruby
tomb_ has joined #ruby
Dratir has quit [Read error: Connection reset by peer]
kylemcgill has quit [Remote host closed the connection]
gmci has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kylemcgill has joined #ruby
azm has quit [Read error: Connection reset by peer]
ben225 has joined #ruby
wangr has quit [Ping timeout: 265 seconds]
Ethan2 has joined #ruby
Ethan3 has quit [Read error: Connection reset by peer]
Foxandxss has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
vjt has quit [Ping timeout: 272 seconds]
ronniy has quit [Remote host closed the connection]
sungnyc has joined #ruby
vjt has joined #ruby
sungnyc has quit [Read error: Connection reset by peer]
sungnyc has joined #ruby
jackiechan0 has quit [Quit: Sto andando via]
n3m has joined #ruby
<delinquentme> burgestrand, thanks for the heads up on that ... i was afk running around like a chicken w its head cut off :D
ph^ has joined #ruby
RoUS has quit [Ping timeout: 260 seconds]
davidpk has quit [Quit: Computer has gone to sleep.]
workmad3 has quit [Ping timeout: 272 seconds]
Squarepy has joined #ruby
bigfatfrock has left #ruby [#ruby]
<minijupe> i'm writing a command line tool in ruby. How do I reference the directory from which the tool was called?
Squarepy has quit [Changing host]
Squarepy has joined #ruby
francisfish has quit [Remote host closed the connection]
davidpk has joined #ruby
bashdy has joined #ruby
<apeiros_> minijupe: Dir.pwd
<apeiros_> or getwd
<minijupe> apeiros_: tnx
zemanel has quit [Quit: Remote hottie closed the connection]
schovi has joined #ruby
pydave6357 has quit [Ping timeout: 260 seconds]
blischalk has quit [Quit: blischalk]
Morkel has quit [Quit: Morkel]
moshef has quit [Quit: moshef]
bglusman has quit [Remote host closed the connection]
mxweas_ has joined #ruby
nilg` has quit [Remote host closed the connection]
dbe has quit [Remote host closed the connection]
foofoobar has quit [Quit: Computer has gone to sleep]
s0ber_ has joined #ruby
alex__c2022 has joined #ruby
jrbing has quit [Quit: jrbing]
tvw has quit [Ping timeout: 245 seconds]
s0ber has quit [Ping timeout: 255 seconds]
s0ber_ is now known as s0ber
testing has joined #ruby
looopy has quit [Remote host closed the connection]
sepp2k1 has quit [Remote host closed the connection]
Na_Klar has joined #ruby
afallows_ has joined #ruby
artm has quit [Quit: artm]
<Na_Klar> How do I write hexa-decimal values to a file? It makes no sence to write "150AD4" but I need "\x15\x0A\xD4" ..
<Na_Klar> 4 bytes
<Na_Klar> well .. I could ord them ...
afallows has quit [Ping timeout: 255 seconds]
crekev has quit [Quit: crekev]
<Na_Klar> or rather chr
sparrovv has quit [Ping timeout: 256 seconds]
<apeiros_> Na_Klar: what do you have before writing?
td123 has joined #ruby
headius has quit [Quit: headius]
<apeiros_> do you have integers or strings?
chomp has quit [Quit: Leaving]
headius has joined #ruby
Ethan2 has quit [Quit: rebooting or something]
digitalcakestudi has quit [Quit: Leaving.]
<Na_Klar> apeiros_: I want to write a integer value in a 4-bytes block
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
<Na_Klar> *an
<apeiros_> pack("N")
notwen has quit [Read error: Operation timed out]
<apeiros_> [0x150AD400].pack("N*") # => "\x15\n\xD4\x00"
<Na_Klar> apeiros_: doesn't pack expect arrays?
<apeiros_> yes
<Na_Klar> a string is an array, right?
<burgestrand> ^.-
<apeiros_> Na_Klar: no
Watcher7 has quit [Read error: Connection reset by peer]
<Na_Klar> more or less ..
<apeiros_> no
<Na_Klar> well, okay
<apeiros_> its internal implementation is.
<apeiros_> but that doesn't matter.
<apeiros_> not for this anyway.
<Na_Klar> apeiros_: why the 0x hexa-decimal sign at the beginning of the string?
<apeiros_> it's not a string. I asked you whether you have a string or a number.
<Na_Klar> ic
<apeiros_> 0xff.class # => Fixnum
ben225 has quit [Quit: Computer has gone to sleep.]
<Na_Klar> yap
<apeiros_> 0xff # => 255
<apeiros_> if you have a string like "\x15\n\xD4\x00", there's nothing you need to do at all. just write it.
<Na_Klar> yea
indian has joined #ruby
chson has quit [Remote host closed the connection]
dangerousdave has quit [Quit: Leaving...]
Dan4sure_ is now known as DanBoy
<Na_Klar> apeiros_: what does the "*" do?
jlogsdon has quit [Remote host closed the connection]
<apeiros_> tells pack to process as many integers as there are left in the array.
<Na_Klar> ic
andrewh has quit [Ping timeout: 272 seconds]
<Na_Klar> apeiros_: why did you assume that I need unsigned big-endian?
<apeiros_> 23:52 Na_Klar: How do I write hexa-decimal values to a file? It makes no sence to write "150AD4" but I need "\x15\x0A\xD4" ..
darkmethod has joined #ruby
joaoh82 has quit [Remote host closed the connection]
ben225 has joined #ruby
ben225 has quit [Client Quit]
altious has quit [Quit: Leaving]
<Na_Klar> apeiros_: ah I see .. so my fault. In fact I need a little-endian byte order. \xFE\xFF is FFFE
<Na_Klar> that
<Na_Klar> sry
<Tasser> Na_Klar, pack/unpack I'd say
<apeiros_> check pack docs then
<Na_Klar> ok
<apeiros_> I never needed anything but N
<Na_Klar> apeiros_: I write a code to re-write some wave files. the data blocks are little-endian .. not completely sure about the headers ..
DRCALKIN has joined #ruby
<apeiros_> sorry, gotta get to sleep. n8
apeiros_ has quit [Remote host closed the connection]
looopy has joined #ruby
ben225 has joined #ruby
darkmethod has left #ruby ["Leaving..."]
locriani has quit [Remote host closed the connection]
ubercore has quit [Quit: Computer has gone to sleep.]
piotr__ has quit [Ping timeout: 272 seconds]
andyl has quit [Quit: WeeChat 0.3.0]
dv310p3r has quit [Ping timeout: 272 seconds]
mdhopkins has joined #ruby
AlbireoX has joined #ruby
n_mouse has joined #ruby
Lexer has joined #ruby
joaoh82 has joined #ruby
Lexer has left #ruby ["Leaving"]
mike has joined #ruby
mike is now known as Guest13696
Xylo1 has joined #ruby
Xylo has quit [Ping timeout: 272 seconds]
<delinquentme> so I want to append a hash to a hash of hashes
KensoDev has quit [Remote host closed the connection]
notwen has joined #ruby
bashdy has quit [Quit: bashdy]
<delinquentme> in a similar manner to [[],[]] << [] == [[],[],[]]
<delinquentme> I've got multiple KV pairs
<canton7> delinquentme, give us a trivial example? right now I don't know whether you want to merge the two, or add the second under a key in the first
Gavilan has joined #ruby
n_mouse has left #ruby ["Leaving"]
<delinquentme> canton7, [ {"paper_name":"A"}, {"paper_name":"B"} ] and I'd like to add a {"paper_name":"C"}
<delinquentme> the : should be => but yeah
andrewhl has quit [Quit: andrewhl]
<canton7> delinquentme, so it's an array of hashes? not a hash of hashes like you said?
<delinquentme> so the end product would be: [ {"paper_name":"A"}, {"paper_name":"B"},{"paper_name":"C"} ]
<delinquentme> correct
<canton7> a = [ {"paper_name":"A"}, {"paper_name":"B"}]; a << {"paper_name":"C"}
Foxandxss has joined #ruby
<delinquentme> yeap lol so it was <<
<delinquentme> tanks !
<canton7> :)
Guest13696 has quit [Quit: WeeChat 0.3.7]
perlsyntax has joined #ruby
mike3 has joined #ruby
<delinquentme> canton7, any advice on when to use hashes vrs arrays?
jchauncey has joined #ruby
<delinquentme> My first guess would be " How do you plan to retrieve it"
<delinquentme> index vrs key
<canton7> hashes are for relationships between keys and values; arrays are for ordered (or unordered) sets of data
nyrb has quit [Remote host closed the connection]
Foxandxss has quit [Ping timeout: 248 seconds]
krusty_ar has quit [Quit: No Ping reply in 180 seconds.]
krusty_ar has joined #ruby
aruntomar has quit [Quit: Leaving]
Vainoharhainen has joined #ruby
RORgasm has quit [Remote host closed the connection]
Xylo1 has quit [Quit: Leaving.]
d3c has joined #ruby
krusty_ar has quit [Remote host closed the connection]
zii has quit [Ping timeout: 244 seconds]
havenn has joined #ruby
kirun has quit [Quit: Client exiting]
robotmay has joined #ruby
mxweas_ has quit [Quit: Computer has gone to sleep.]
jeebster has quit [Quit: Leaving.]
froy has quit [Ping timeout: 256 seconds]
Vainoharhainen has quit [Quit: Leaving...]
mxweas_ has joined #ruby
testing has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
Foxandxss has joined #ruby
mxweas_ has quit [Client Quit]
jgarvey has quit [Quit: Leaving]
<CannedCorn> hey guys
<CannedCorn> is there a way to convert time from a 64bit int into a time object in ruby
Squarepy has quit [Quit: Leaving]
chimkan_ has quit [Quit: chimkan_]
Foxandxss has quit [Ping timeout: 244 seconds]
chimkan_ has joined #ruby
DRCALKIN has quit [Quit: Leaving]
raul782 has joined #ruby
ramblex has quit [Ping timeout: 250 seconds]
solars has quit [Ping timeout: 256 seconds]
chimkan_ has quit [Remote host closed the connection]
chimkan_ has joined #ruby
etehtsea has quit []
<Tasser> CannedCorn, try Time.new
Ontolog has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
CannedCorn has quit [Ping timeout: 245 seconds]
blacktulip has quit [Remote host closed the connection]
DRCALKIN has joined #ruby
Deesl has joined #ruby
timonv has quit [Remote host closed the connection]
ken_barber has quit [Ping timeout: 245 seconds]
Deesl has quit [Changing host]
Deesl has joined #ruby
elake has quit [Read error: Operation timed out]
_JamieD_ has quit [Quit: _JamieD_]
_JamieD_ has joined #ruby
_JamieD_ has quit [Client Quit]
showy has joined #ruby
indian has quit [Read error: Operation timed out]
mikepack has quit [Ping timeout: 265 seconds]
greyEAX has quit [Remote host closed the connection]
ckrailo has quit [Quit: Computer has gone to sleep.]
minijupe has quit [Quit: minijupe]
Foxandxss has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
d3c has quit [Read error: Connection reset by peer]
greyEAX has joined #ruby
minijupe has joined #ruby
davidpk has quit [Quit: Computer has gone to sleep.]
looopy has quit [Remote host closed the connection]
chimkan___ has joined #ruby
thecreators has quit [Quit: thecreators]
looopy has joined #ruby
chimkan___ has quit [Remote host closed the connection]
nyrb has joined #ruby
chimkan___ has joined #ruby
lord_daemon has joined #ruby
lord_daemon has quit [Changing host]
lord_daemon has joined #ruby
stewart_ has joined #ruby
testing has joined #ruby
chimkan_ has quit [Ping timeout: 245 seconds]
danheberden has quit [Quit: oh noes]
nari has joined #ruby
nobitanobi has joined #ruby
MasterIdler_ has joined #ruby
MasterIdler_ has quit [Client Quit]
<nobitanobi> Given a string object like "Hi my name is John (aka Johnator)" -- What is the easiest way to get what is between the parentheses in Ruby? Using Regex?
<Na_Klar> if I do not file.flush (when writing) the buffer (RAM) gets filled. How can I check how much data in the buffer is?
Ontolog has quit [Remote host closed the connection]
macmartine has quit [Quit: macmartine]
Ontolog has joined #ruby
danheberden has joined #ruby
danheberden has quit [Excess Flood]
yoklov has quit [Quit: computer sleeping]
CoverSlide has quit [Read error: Connection reset by peer]
danheberden has joined #ruby
MasterIdler has quit [Ping timeout: 252 seconds]
macmartine has joined #ruby
nari has quit [Ping timeout: 252 seconds]
Ontolog has quit [Ping timeout: 265 seconds]
ephemerian has quit [Quit: Leaving.]
nyrb has quit [Remote host closed the connection]
mdhopkins has quit [Quit: mdhopkins]
chimkan___ has quit [Read error: Connection reset by peer]
chimkan__ has joined #ruby
chimkan__ has quit [Remote host closed the connection]
elake has joined #ruby
chimkan_ has joined #ruby
kil0byte has joined #ruby
minijupe has quit [Quit: minijupe]
iamjarvo has joined #ruby
mikeg has joined #ruby
uris has quit [Quit: leaving]
strife25 has quit [Quit: Computer has gone to sleep.]
Ttech is now known as [__]
[__] is now known as Ttech
LyonJT has joined #ruby
ben225 has quit [Ping timeout: 248 seconds]
tomzx has joined #ruby
Beoran has quit [Ping timeout: 244 seconds]
perryh_away is now known as perryh
nu7hatch has left #ruby [#ruby]
headius has quit [Quit: headius]
Deesl has quit [Read error: Connection reset by peer]
petercs has quit [Quit: Leaving.]
Nicke\ has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
rbanffy has quit [Read error: Operation timed out]
froy has joined #ruby
jrgifford has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
<showy> nobitanobi: str[/\(.*\)/]
Beoran has joined #ruby
xyzodiac has joined #ruby
bluenemo has quit [Quit: leaving]
RudyValencia has joined #ruby
xyzodiac has quit [Quit: WeeChat 0.3.7]
xyzodiac has joined #ruby
moshee has quit [Ping timeout: 260 seconds]
moshee has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
peterhil` has quit [Ping timeout: 260 seconds]
Dratir has joined #ruby
baroquebobcat has quit [Ping timeout: 244 seconds]
ben225 has joined #ruby
nari has joined #ruby
albemuth has quit [Read error: Connection reset by peer]
IPGlider has quit []
ph^ has quit [Remote host closed the connection]
subbyyy has joined #ruby
subbyyy has quit [Max SendQ exceeded]
kenperkins has quit [Read error: Operation timed out]
duck_puncher has left #ruby [#ruby]
subbyyy has joined #ruby
cbuxton1 has quit [Quit: Leaving.]
cbuxton has joined #ruby
headius has joined #ruby
albemuth has joined #ruby
fbernier has joined #ruby
strife25 has joined #ruby
rorrego has quit [Quit: Ex-Chat]
oooPaul has quit [Quit: Ciao for now!]
mengu has quit [Remote host closed the connection]
brianpWins has joined #ruby
dv310p3r has joined #ruby
graspee has quit [Quit: time for bed]
manizzle has joined #ruby
altoid has joined #ruby
vitoravelino`afk is now known as vitoravelino
altoid has left #ruby [#ruby]
skipper has joined #ruby