apeiros changed the topic of #ruby to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
ghr has joined #ruby
o0oo0o has joined #ruby
lw has quit [Read error: Connection reset by peer]
lw has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 255 seconds]
arescorpio has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
econerd4ever has quit [Remote host closed the connection]
davedev24_ has joined #ruby
roolo has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
ctp has quit [Quit: Connection reset by peer... Isn't he that short little Mexican with the wire cutters heading your way?]
lemur has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
klaut has quit [Remote host closed the connection]
manzo has quit [Ping timeout: 256 seconds]
mikepack has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
<shevy> are you guys again having pervert sexy food games here
charliesome has joined #ruby
<crome> something cheesy
<wasamasa> the burrito monad
Lewix has quit [Ping timeout: 250 seconds]
<wasamasa> also, regarding the earlier clojure comment, they have no need for something as convoluted as slim/sass
<wasamasa> hiccup is pretty awesome
<wasamasa> you can actually programmatically enhance the data expanding to html/css
Hijiri has joined #ruby
<wasamasa> unlike with builder where not even printing to stdout works
* wasamasa shudders
lemur has quit [Ping timeout: 240 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has quit [Read error: Connection reset by peer]
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<wasamasa> I'd personally welcome clojure ideas in ruby, not the other way around
stormbytes has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> lol
<shevy> hiccup?
lemur has joined #ruby
yfeldblum has joined #ruby
volty has quit [Ping timeout: 272 seconds]
Xeago has quit [Remote host closed the connection]
jaequery has joined #ruby
* wasamasa tries remembering the css one
richardlitt has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
<wasamasa> I think it was garden
jasooon has joined #ruby
<wasamasa> these clojure guys are surely good at finding ungoogleable names
lemur has quit [Ping timeout: 258 seconds]
roolo has quit [Ping timeout: 272 seconds]
byprdct has quit [Read error: Connection reset by peer]
msmith_ has quit [Remote host closed the connection]
<shevy> hiccup in the garden
<shevy> how about sex in the alley
<shevy> I guess people just hate giving longer names to their pet projects
mikepack has quit [Remote host closed the connection]
<shevy> wasamasa what names did you give your projects? :)
<wasamasa> shevy: silly ones
<shevy> examples please!
byprdct has joined #ruby
jhwhite has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
roolo has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wasamasa> the rest is less silly
jasooon has quit [Ping timeout: 258 seconds]
<shevy> lol
<shevy> shackle!
<wasamasa> yes
<wasamasa> all for the gif
<wasamasa> (and the tagline)
michaelchum_ has joined #ruby
<shevy> hey havenwood wanna get shackled?
<wasamasa> inb4 I'll name my next two watergun and firestarter
<shevy> lol
<wasamasa> because I have just the right gifs for them
<shevy> omg
<wasamasa> still the same series
<shevy> now I see how such names are chosen
jhwhite has quit [Client Quit]
lw has quit [Read error: Connection reset by peer]
lemur has joined #ruby
lw has joined #ruby
doug1 has quit [Ping timeout: 265 seconds]
allcentury has quit [Ping timeout: 258 seconds]
<wasamasa> nah, I've just started with one and didn't have a better idea for my emacs-related projects
<wasamasa> so I chose to stick with it until I run out of names
bruno- has quit [Ping timeout: 240 seconds]
<havenwood> shevy: is that a trick question?
<havenwood> shevy: what i want is dinner, i'm hungry!
arrubin has joined #ruby
<wasamasa> shevy: and after that, hmm
<wasamasa> shevy: the show has cool guitars and character names
lemur has quit [Ping timeout: 272 seconds]
yakko has quit [Read error: Connection reset by peer]
yakko has joined #ruby
chipotle has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
mahyuddin has quit []
razieliyo has quit [Read error: No route to host]
razieliyo has joined #ruby
ixti has quit [Quit: WeeChat 1.0.1]
thagomizer has quit [Quit: Leaving.]
oo_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
deric_skibotn has quit [Ping timeout: 244 seconds]
User4587_ has joined #ruby
DLSteve_ has joined #ruby
wjimenez_ has joined #ruby
pagios has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
lw has quit [Read error: Connection reset by peer]
lw_ has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
beneggett has quit [Ping timeout: 265 seconds]
Pupeno_ has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
davasaurous has quit [Remote host closed the connection]
DLSteve has quit [Ping timeout: 272 seconds]
<shevy> omg
tokik has joined #ruby
<shevy> I shall never ask again
wjimenez5271 has quit [Ping timeout: 244 seconds]
lw_ has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
lw has joined #ruby
wjimenez_ has quit [Ping timeout: 258 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
iliketurtles has quit [Quit: zzzzz…..]
davasaurous has joined #ruby
<shevy> so who here is using ruby-gtk or ruby-gnome?
Xiti has joined #ruby
<shevy> I wanna write a simpler and more accessible wrapper over the ruby-gnome bindings http://ruby-gnome2.sourceforge.jp/
IceDragon has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
i_s has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
tkuchiki has joined #ruby
n_blownapart has quit [Remote host closed the connection]
<Blizzy> hello, I am trying to make a website, yet I keep getting that my table doesn't exist.
<Blizzy> I'll post my tree view.
jxf has quit [Ping timeout: 244 seconds]
<Blizzy> actually, that's not needed.
yfeldblum has quit [Remote host closed the connection]
triple_b has joined #ruby
mary5030 has joined #ruby
lemur has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
User4587_ has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: zzz]
starkhalo has quit [Ping timeout: 255 seconds]
<wasamasa> >> 3.times { print '.' }
<eval-in__> wasamasa => ...3 (https://eval.in/214335)
nb_bez___ has joined #ruby
hamakn has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
pagioss has joined #ruby
hamakn has joined #ruby
nobitanobi has quit []
<wasamasa> >> %w[. . .].join
<eval-in__> wasamasa => "..." (https://eval.in/214339)
Mia has joined #ruby
<Blizzy> I wonder how it does that. I know it uses a POST request.
<wasamasa> btw, if you want to get meaningful answers, provide extra information
<wasamasa> like what the hell your framework is
AmBienCeD has quit [Read error: Connection reset by peer]
<wasamasa> code
<Blizzy> oh, sorry.
<Blizzy> Sinatra with ActiveRecord.
<wasamasa> your operating system
<wasamasa> and so on
<Blizzy> Windows 8.1. Ruby 1.9.3.
prasselpikachu has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
* wasamasa vanishes
abuzze has joined #ruby
Kilo`byte has quit [Ping timeout: 265 seconds]
D9 has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
User4587_ has joined #ruby
Phonetiki has quit [Quit: Disconnected]
<shevy> eh
spastorino has quit [Quit: Connection closed for inactivity]
<shevy> wasamasa you should have noticed that it is a rails question
tkuchiki has quit [Remote host closed the connection]
vt102 has quit [Remote host closed the connection]
<shevy> now you pulled a lot more information out of him before vanishing!
<shevy> so we are left to deal with it!!!
<Blizzy> I'm using Sinatra. :L
tkuchiki has joined #ruby
<shevy> ActiveRecord!!!!!!!!!!!
<shevy> soon I am out of !
abuzze has quit [Ping timeout: 244 seconds]
<shevy> there is #sinatra btw
<shevy> there are people there though they are often dead
<shevy> I don't think many people here use activerecord without rails
User458764 has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
prasselpikachu has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
<Blizzy> well, I want to make a blog, yet I don't want to use Rails just for a blog.
sailias has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
ghr has joined #ruby
<shevy> it's awful that you post image snapshots btw
<Blizzy> so, anyone know how eval-in bot works?
<Blizzy> oh.
<Blizzy> sorry, shevy. :L
<shevy> how can people copy paste from it?
<shevy> or modify
<shevy> they have to type it anew
<shevy> anyway, Post constant is not known
Wolland has joined #ruby
<shevy> so the first question is
<shevy> why do you wish to use the Post namespace? surely you must have thought something
<shevy> and besides - how shall people figure out without knowing the content of app.rb?
<shevy> you need to provide meaningful information man
<shevy> eval-in works by using leading >>
<shevy> wasamasa gave an example above
<shevy> <wasamasa> >> %w[. . .].join
<shevy> <eval-in__> wasamasa => "..." (https://eval.in/214339)
<Blizzy> I mean, what does the POST request look like.
yetanotherdave has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Remote host closed the connection]
<shevy> you do this in your .rb file or?
<shevy> sinatra has "get" and "post"
tkuchiki has joined #ruby
<shevy> post '/' do
<shevy> "Triggered via POST"
<shevy> end
<shevy> have you blindly been simply typing Post in irb
Braislav has left #ruby [#ruby]
<shevy> and then concluded that it does not work ;)
<shevy> by the way, the default convention is
<shevy> name of project here
Kilo`byte has joined #ruby
<Blizzy> I meant the POST request of the bot.
<shevy> name of project <-- as constant
<shevy> POST request of the bot?
ghr has quit [Ping timeout: 264 seconds]
<Blizzy> how does the bot retrieve the information of the eval.in website?
byprdct has quit [Read error: Connection reset by peer]
lemur has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
aspires has quit []
jasooon has joined #ruby
User458764 has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
<benzrf> Blizzy: it made by same guy
byprdct has joined #ruby
IceDragon has joined #ruby
<Blizzy> oh ok.
adamnbowen has joined #ruby
Phonetiki has joined #ruby
User4587_ has quit [Ping timeout: 245 seconds]
<Phonetiki> rehi
tvw has quit []
lemur has quit [Ping timeout: 244 seconds]
billy_ran_away is now known as billy_wants_in_g
billy_wants_in_g is now known as billy_likes_git
lemur has joined #ruby
bricker`work has quit [Ping timeout: 258 seconds]
Boohbah has joined #ruby
hmsimha has quit [Ping timeout: 240 seconds]
Vezz has joined #ruby
bricker`work has joined #ruby
moritzs has joined #ruby
Lewix has quit [Remote host closed the connection]
byprdct_ has joined #ruby
byprdct_ has quit [Max SendQ exceeded]
Lewix has joined #ruby
byprdct_ has joined #ruby
User4587_ has joined #ruby
bricker`work has quit [Ping timeout: 250 seconds]
omosoj has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
bruno- has joined #ruby
byprdct has quit [Ping timeout: 264 seconds]
Phonetiki has quit [Quit: Disconnected]
rpag has quit [Ping timeout: 245 seconds]
crazydiamond has quit [Ping timeout: 264 seconds]
adamnbowen has quit [Read error: Connection reset by peer]
omosoj has joined #ruby
iliketurtles has joined #ruby
billy_likes_git has left #ruby ["Textual IRC Client: www.textualapp.com"]
lemur has quit [Ping timeout: 265 seconds]
PanPan has joined #ruby
User458764 has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
Lewix has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
renderful has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
jimbach has joined #ruby
tkuchiki has joined #ruby
iliketurtles has quit [Read error: Connection reset by peer]
iliketurtles has joined #ruby
narcan has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
renderful has quit [Ping timeout: 255 seconds]
porfa has joined #ruby
User458764 has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
hamakn has joined #ruby
Lewix has joined #ruby
yfeldblum has joined #ruby
User4587_ has quit [Ping timeout: 244 seconds]
ChiyoOoOoOoOo has joined #ruby
iliketur_ has joined #ruby
<porfa> hello, im new to scripting and im wondering how i can run a ruby script and send a parameter with it, like “test.rb www.site.com” ? currently im editing the script everytime i need to change the “ url = ‘www.site.com
fuhgeddaboudit has joined #ruby
<pipework> porfa: Look at ARGV
<porfa> thank you!
iliketurtles has quit [Ping timeout: 256 seconds]
iliketur_ has quit [Remote host closed the connection]
iliketurtles has joined #ruby
graydot has quit [Quit: graydot]
Takle has quit [Remote host closed the connection]
dgpalmer has joined #ruby
dgpalmer has left #ruby [#ruby]
yakko has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
iliketurtles has quit [Client Quit]
lw has quit [Quit: s]
yakko has joined #ruby
User4587_ has joined #ruby
lemur has joined #ruby
davasaurous has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
patrick99e99 has joined #ruby
charliesome has joined #ruby
wallerdev has quit [Quit: wallerdev]
DrCode has quit [Ping timeout: 246 seconds]
Takle has quit [Remote host closed the connection]
yakko has quit [Read error: Connection reset by peer]
Vezz has quit [Ping timeout: 256 seconds]
DrCode has joined #ruby
yakko has joined #ruby
robbyoconnor has joined #ruby
Channel6 has joined #ruby
djbkd has quit [Quit: My people need me...]
bmurt has quit []
lemur has quit [Ping timeout: 265 seconds]
lampd1 has joined #ruby
Joufflu has joined #ruby
marr has quit [Ping timeout: 256 seconds]
lemur has joined #ruby
Spami has joined #ruby
Mia has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
rshetty has quit [Remote host closed the connection]
dkb20k has joined #ruby
Mia has joined #ruby
User458764 has joined #ruby
rshetty has joined #ruby
starless has joined #ruby
Hijiri has quit [Ping timeout: 244 seconds]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
omosoj has quit [Quit: leaving]
User4587_ has quit [Ping timeout: 258 seconds]
Hijiri has joined #ruby
Joufflu is now known as diiot
diiot is now known as Joufflu
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
robustus has quit [Read error: Connection reset by peer]
ghr has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
<shevy> ok
<shevy> I'm gonna install ruby on a windows machine soon!!!
Hijiri has quit [Ping timeout: 260 seconds]
Lewix has quit [Ping timeout: 255 seconds]
rshetty has quit [Remote host closed the connection]
Danibal has joined #ruby
User4587_ has joined #ruby
rshetty has joined #ruby
robustus has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
jimmyhoughjr has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
rockdon_ has quit [Ping timeout: 245 seconds]
User458764 has quit [Ping timeout: 255 seconds]
jack_rabbit has joined #ruby
Hijiri has joined #ruby
t_mmyv has quit [Quit: Textual IRC Client: www.textualapp.com]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<starless> shevy: !
<shevy> can ruby be installed on D: rather than C: ?
rshetty has quit [Read error: No route to host]
Deele has quit [Ping timeout: 260 seconds]
rshetty has joined #ruby
lkba has quit [Ping timeout: 258 seconds]
msmith_ has joined #ruby
lkba has joined #ruby
kireevco has quit [Quit: Leaving.]
zz_twistedpixels is now known as twistedpixels
jasooon has quit [Ping timeout: 244 seconds]
davasaurous has joined #ruby
User458764 has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
Wolland_ has joined #ruby
Wolland_ has quit [Client Quit]
iamdoo2 has joined #ruby
jimbach has quit [Remote host closed the connection]
<benzrf> ew, windows!
User4587_ has quit [Ping timeout: 240 seconds]
<postmodern> disable :logging should disable all logging in Sinatra, right?
<postmodern> because it's not for some reason
Lewix has joined #ruby
lemur has joined #ruby
goshdarnyou has joined #ruby
Wolland has quit [Ping timeout: 265 seconds]
DrCode has quit [Ping timeout: 246 seconds]
yakko has quit []
jjasonclark has quit [Quit: jjasonclark]
doodlehaus has quit [Remote host closed the connection]
razieliyo has quit [Quit: Saliendo]
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
<shevy> let's try something stupid postmodern
<shevy> set :logging, false
robbyoconnor has quit [Quit: Konversation terminated!]
cmxu has joined #ruby
nonks has joined #ruby
rshetty has quit [Remote host closed the connection]
User4587_ has joined #ruby
<postmodern> shevy, didn't change
yetanotherdave has joined #ruby
<shevy> hmm
User458764 has quit [Ping timeout: 240 seconds]
troyready has quit [Ping timeout: 260 seconds]
yetanotherdave has quit [Client Quit]
levity_island has quit [Quit: levity_island]
<postmodern> disable is just a wrapper around set anyways
VanillaGoat_ has joined #ruby
<postmodern> oh i think another middleware is logging them
michaeldeol has joined #ruby
<shevy> aha!
<shevy> an intercepter!
<shevy> kill that bastard
VanillaGoat__ has quit [Ping timeout: 255 seconds]
nonks has quit [Ping timeout: 246 seconds]
jimbach has joined #ruby
User458764 has joined #ruby
optiz0r has quit [Ping timeout: 258 seconds]
adriancb has joined #ruby
c0rn has joined #ruby
User4587_ has quit [Ping timeout: 250 seconds]
<shevy> postmodern what are you building with sinatra?
sailias has quit [Quit: Leaving.]
abuzze has joined #ruby
Oliver___ has joined #ruby
pauly_oc has joined #ruby
Oliver___ is now known as oliverhuang
ChiyoOoOoOoOo has left #ruby [#ruby]
davedev24_ has quit [Read error: Connection reset by peer]
adriancb has quit [Ping timeout: 244 seconds]
tuelz has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
c0rn has quit [Client Quit]
reinaldob has joined #ruby
oliverhuang has quit [Quit: Leaving...]
abuzze has quit [Ping timeout: 255 seconds]
oliverhuang has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
rockdon_ has joined #ruby
doug1 has joined #ruby
Takle has joined #ruby
oliverhuang has quit [Client Quit]
User4587_ has joined #ruby
ramfjord has quit [Ping timeout: 256 seconds]
reinaldob has quit [Ping timeout: 272 seconds]
magic is now known as magic_pumpkin
sailias has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
User458764 has quit [Ping timeout: 256 seconds]
magic_pumpkin is now known as MagicalPumpkin
moritzs has quit [Remote host closed the connection]
starkhalo has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
tyll has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
kaspergrubbe has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
jimbach has quit [Remote host closed the connection]
kireevco has quit [Max SendQ exceeded]
Eiam has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
kireevco has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
mary5030 has quit [Remote host closed the connection]
tyll_ has quit [Ping timeout: 264 seconds]
existensil has quit [Quit: WeeChat 0.4.2]
msmith_ has quit [Remote host closed the connection]
User4587_ has quit [Ping timeout: 260 seconds]
n_blownapart has joined #ruby
Danibal has quit [Remote host closed the connection]
kaspergrubbe has quit [Ping timeout: 265 seconds]
radic has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
TripTastic is now known as JBreit
JBreit has left #ruby ["Leaving"]
radic_ has quit [Ping timeout: 245 seconds]
bruno- has joined #ruby
jjasonclark has joined #ruby
tuelz has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
User4587_ has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
jjasonclark has quit [Client Quit]
jenrzzz has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
arup_r has joined #ruby
User458764 has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
tuelz has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
<shevy> I understand the basics of sinatra but I have a hard time extending things with it
mary5030 has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jimbach has joined #ruby
jimbach has quit [Remote host closed the connection]
jasooon has joined #ruby
charliesome has quit [Quit: zzz]
User458764 has joined #ruby
jjasonclark has joined #ruby
jjasonclark has quit [Client Quit]
AlexRussia has quit [Ping timeout: 244 seconds]
User4587_ has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
chipotle has quit [Quit: cya]
xcesariox has joined #ruby
rpag has joined #ruby
magic_ has joined #ruby
arescorpio has quit [Ping timeout: 245 seconds]
optiz0r has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
d0ugb has joined #ruby
magic__ has quit [Ping timeout: 258 seconds]
nonks has joined #ruby
robbyoconnor has joined #ruby
User4587_ has joined #ruby
charliesome has joined #ruby
sailias has quit [Quit: Leaving.]
robbyoconnor has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
d0ugb has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 258 seconds]
nonks has quit [Ping timeout: 246 seconds]
Wolland has joined #ruby
IceDragon has quit [Quit: Space~~~]
pyon has quit [Ping timeout: 245 seconds]
ARCADIVS has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Neozonz has quit [Quit: Leaving]
Wolland has quit [Client Quit]
chrishough has joined #ruby
echooo has joined #ruby
echooo1 has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
User458764 has joined #ruby
rockdon_ has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
User4587_ has quit [Ping timeout: 255 seconds]
suy|BNC has quit [Ping timeout: 265 seconds]
<porfa> hey can i make nokogiri click a link it finds and fetch the destination url?
starless has quit [Ping timeout: 264 seconds]
jasooon has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
<rpag> mechanize can do that
zorak8 has joined #ruby
<rpag> nokogiri parses xml/html, doesn't make requests
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
<porfa> thanks for the tip!
<rpag> sure
x1337807x has joined #ruby
<porfa> i am new to this data scraping i am doing, i have never used any sort of programing before so i am learning alot, could you tell me if i should keep on using nokogiri or mechanize can do all the stuff i need?
User4587_ has joined #ruby
r0bby_ has joined #ruby
r0bby has quit [Ping timeout: 255 seconds]
<Oberon4278> So I just barely installed Ruby on my Windows machine, and the first time I fire up the interactive.... thingie, I get "DL is deprecated, please use Fiddle."
<Oberon4278> What are DL and Fiddle, and how can I make the upgrade / change?
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bricker`work has joined #ruby
<pipework> Oh dear. Windows and ruby. I've got to go iron my socks.
kyb3r_ has joined #ruby
<benzrf> >windows
<benzrf> instal gentoo
User458764 has quit [Ping timeout: 256 seconds]
<pipework> lol
<benzrf> bye
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
<Oberon4278> Umm, that's not an option right now.
benzrf is now known as benzrf|offline
pauly_oc has joined #ruby
tokik has quit [Ping timeout: 244 seconds]
suy|BNC has joined #ruby
ghr has joined #ruby
foooobear has joined #ruby
<Oberon4278> And unfortunately the Google results for the error are a minefield of shitty forum posts.
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rpag> Oberon4278, open an issue on bugs.ruby-lang.org ?
duncannz has joined #ruby
braincrash has quit [Quit: bye bye]
Pupeno has joined #ruby
jaequery has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
jxf has joined #ruby
pyon has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
Pupeno_ has quit [Ping timeout: 255 seconds]
rigel has joined #ruby
rshetty has joined #ruby
<rigel> so this passing blocks back and forth and yields and such. doesnt that get difficult to debug?
braincrash has joined #ruby
<rigel> i mean, it seems like it needlessly complicates things to me, so i wonder what problems it's good at solving
AlexRussia has quit [Ping timeout: 272 seconds]
User458764 has joined #ruby
<sevenseacat> its needlessly complicated if you do it in places that you dont need to do it in
oo_ has quit [Remote host closed the connection]
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
User4587_ has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
<pipework> rigel: debuggers are helpful.
tuelz has joined #ruby
gsd_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mastr_bennett[x] has quit [Ping timeout: 250 seconds]
<rpag> rigel, ive never ran into a problem of blocks being hard to debug
Channel6 has quit [Quit: Leaving]
AlexRussia has joined #ruby
arup_r has quit [Quit: Leaving.]
rockdon_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz has quit [Ping timeout: 255 seconds]
User4587_ has joined #ruby
michaeldeol has joined #ruby
Joufflu has quit [Quit: Leaving]
Joufflu has joined #ruby
User458764 has quit [Ping timeout: 265 seconds]
mbr__ has joined #ruby
mary5030 has quit [Remote host closed the connection]
<porfa> how do i make nokogiri return me the link value instead of the text to that said link? for ie: ( puts doc.xpath('//*[(@id = "Downloads")]//*[(((count(preceding-sibling::*) + 1) = 11) and parent::*)]//a ').text ) gets me “filelink.jpg” and what i am looking for is “www.balblbla.com/filelink.jpg
arescorpio has quit [Excess Flood]
mbr has quit [Ping timeout: 256 seconds]
maestrojed has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
matti has quit [Ping timeout: 256 seconds]
Boohbah has quit [Ping timeout: 246 seconds]
roger_rabbit has quit [Quit: WeeChat 0.3.8]
<sevenseacat> what is the actual HTML for the link?
<sevenseacat> because if its just to 'filelink.jpg', you'll have to prepend the rest manually
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
Boohbah has joined #ruby
techsethi has joined #ruby
<sevenseacat> i... am not clicking that
techsethi has quit [Client Quit]
<porfa> the link text is filelink.jpg but thats the actual link
<sevenseacat> right, then get the href attribute of the link
<sevenseacat> not the text
<porfa> ok
iamdoo2_ has joined #ruby
abuzze has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
User458764 has joined #ruby
doug1 has quit [Ping timeout: 245 seconds]
iamdoo2 has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby
<porfa> hey sevenseacat like you said, ( doc.xpath('//*[(@id = "Downloads")]//*[(((count(preceding-sibling::*) + 1) = 11) and parent::*)]//a ')[0]["href"] ) it outputs me “ /doc.ashx?416628 “
User4587_ has quit [Ping timeout: 244 seconds]
r0bby_ has quit [Ping timeout: 244 seconds]
abuzze has quit [Ping timeout: 245 seconds]
<porfa> how do i add the “url = www.testing.com” to the output ?
robbyoconnor has quit [Client Quit]
byprdct_ has quit [Read error: Connection reset by peer]
govg has joined #ruby
lw has joined #ruby
byprdct has joined #ruby
vickleford has quit [Quit: vickleford]
doug1 has joined #ruby
ndrei has joined #ruby
Channel6 has joined #ruby
wjimenez5271 has joined #ruby
wjimenez5271 has quit [Client Quit]
charliesome has quit [Quit: zzz]
jusmyth1 has joined #ruby
oo_ has joined #ruby
User4587_ has joined #ruby
User458764 has quit [Ping timeout: 244 seconds]
byprdct has quit [Read error: Connection reset by peer]
red_horned_rihno has quit [Read error: Connection reset by peer]
ylluminarious has quit [Quit: Leaving...]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
gsd has joined #ruby
bluOxigen has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
fawefeawfewa has joined #ruby
Alina-malina has joined #ruby
byprdct has joined #ruby
gsd has quit [Client Quit]
nonks has joined #ruby
frem has quit [Remote host closed the connection]
beneggett has joined #ruby
linojon has quit [Quit: linojon]
nonks has quit [Ping timeout: 246 seconds]
User458764 has joined #ruby
fabrice31 has joined #ruby
icebourg has joined #ruby
doug1 has quit [Ping timeout: 255 seconds]
lw has quit [Read error: Connection reset by peer]
Eiam has joined #ruby
User4587_ has quit [Ping timeout: 265 seconds]
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
jasooon has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: Leaving...]
User4587_ has joined #ruby
byprdct_ has joined #ruby
sinequanon has joined #ruby
User458764 has quit [Ping timeout: 255 seconds]
byprdct has quit [Ping timeout: 244 seconds]
michael3 has joined #ruby
jasooon has quit [Ping timeout: 260 seconds]
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz has joined #ruby
phutchins has joined #ruby
levity_island has joined #ruby
davasaurous has quit [Remote host closed the connection]
Morkel has joined #ruby
lampd1 has quit []
tuelz has quit [Ping timeout: 240 seconds]
philwantsfish has quit [Ping timeout: 256 seconds]
phutchins has quit [Ping timeout: 240 seconds]
zorak8 has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
User4587_ has quit [Ping timeout: 250 seconds]
byprdct_ has quit []
Eiam has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
michael3 has quit [Ping timeout: 244 seconds]
davasaurous has joined #ruby
anaeem___ has joined #ruby
kireevco has quit [Quit: Leaving.]
techsethi has joined #ruby
diegovio1 has joined #ruby
renderful has joined #ruby
davasaurous has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 264 seconds]
diegovio1 is now known as diegoviola
anaeem1_ has quit [Ping timeout: 260 seconds]
davasaurous has joined #ruby
Channel6 has quit [Quit: Leaving]
mistermocha has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
ndrst has quit [Ping timeout: 265 seconds]
seitensei has quit [Read error: Connection reset by peer]
jusmyth2 has joined #ruby
jusmyth2 has quit [Client Quit]
seitensei has joined #ruby
starkhalo has quit [Read error: Connection reset by peer]
starkhalo has joined #ruby
foooobear has quit [Quit: (null)]
jusmyth1 has quit [Ping timeout: 256 seconds]
kamilc__ has joined #ruby
jusmyth1 has joined #ruby
jusmyth1 has quit [Client Quit]
<shevy> sevenseacat it's a link to a mouse, you can click it!
arup_r has joined #ruby
techsethi has quit [Quit: techsethi]
crazydiamond has joined #ruby
doug1 has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
tlarevo has joined #ruby
havenwood has joined #ruby
doug1 has quit [Ping timeout: 264 seconds]
existensil has joined #ruby
starless has joined #ruby
Takle has joined #ruby
mikepack has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
beneggett has quit [Remote host closed the connection]
nonks has joined #ruby
davasaurous has quit [Remote host closed the connection]
tenseiten has joined #ruby
seitensei has quit [Ping timeout: 255 seconds]
Joufflu has quit [Quit: Leaving]
caugello|afk is now known as kartouch
<porfa> can anyone help me out in ruby/nokogiri ? im getting this output “GOOD” from “ doc.xpath(' //*[(@id = "_c3890_uxHeaderBox")] ').collect {|node| node.text.strip} “ but i want it to add “, you made it!” to the output..
<sevenseacat> porfa: you can easily append strings together in ruby.
nonks has quit [Ping timeout: 246 seconds]
<porfa> “append strings” thank you ! the language barrier is the worst when i need to google search
<shevy> your encoding is weird porfa
<shevy> €�
<porfa> earlier today i was asking in “”freenode “does anyone knows what to use to obtain certain specific text data from a website? like i wanna say “hey get me the stuff after this div” and it would?” no one could help me out but someone said something about a “web scraper” so i found out about ruby..
rahult has joined #ruby
<porfa> what do you mean? my irc client encoding?
<shevy> yeah
<shevy> there are funny chars, lemme screenshot it
Morkel_ has joined #ruby
starkhallo has joined #ruby
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
<porfa> im using osx / colloquy … :( i only used mirc and irsii in myw whole life
starkhalo has quit [Read error: Connection reset by peer]
itsafreecountry has joined #ruby
<headius> havenwood: truffle is pretty interesting, but even without truffle we have a completely new compiler framework...we may give truffle a run for it
<shevy> porfa -> shevegen.square7.ch/screenshot.png
<headius> and there's my completely random hours-later reply for the evening... ttfn
<shevy> porfa yeah but there are other osx users here as well and I don't get weird chars. anyway
<itsafreecountry> Does anyone know how I can write RSpec test for omniauth callback controller when the user CANCELS it upon signing up?
<porfa> whoa~~~looks like irc mahjong
<shevy> porfa you can use ruby open-uri, and open(URL_HERE), and parse the content you receive there
oleo__ has quit [Quit: Verlassend]
<headius> porfa: mIRC rocks
<shevy> so that is step 1 - obtain that string/data
<shevy> when you have the string, you have to parse that mess for step 2
<headius> that was my first IRC client... I miss /trout
<porfa> i’ve alredy worked that part out! and step is alredy done, the parsing… not i need to formating part and then if possible an output to a file!
<shevy> headius yeah, mine too - I remember we used to play perl webgames and used mIRC to coordinate our guild-action for play
<headius> oh nice
<shevy> the 9/11 attack I remember because I was mIRC-ing when someone mentioned "America is under attack"
<porfa> that takes me back… /trout
<headius> I got in trouble at my university for downloading warez off some underground network
<headius> I was just stupid
<porfa> the 911.. i remember that day too, i was on irc too that morning.
<shevy> porfa ok good - you already have splitted up the tasks into smaller components
<porfa> shevy: !!! :)
<shevy> I don't know for a simple way to obtain a particular div; I guess people may recommend nokogiri. I would probably use a regex, like one used in .scan, and somehow find that div (probably it has a unique id?)
<shevy> or do you simply need just the part of the string after the particular div
<headius> damn you nokogiri for being the go-to answer
<porfa> im using nokogiri and xpath, it’s working amazing!
<shevy> then you only need to find out the position
<shevy> big_fat_string[position_here..-1]
<shevy> aha good
<shevy> I hate XML too much to use xpath
<porfa> i use that selectorgadget to get my xpaths.. it’s so easy …!
godd2 has joined #ruby
starless has quit [Quit: WeeChat 1.0.1]
anaeem___ has quit [Remote host closed the connection]
<porfa> i have changed my encoding from utf-8 to ?western (ascii)? i hope its ok now
<itsafreecountry> How do I say for rspec to CANCEL the signup?
<itsafreecountry> sign_in fb_user get :facebook expect(response).to redirect_to rooth_path
<itsafreecountry> like by clicking sign in fb will ask to proceed or not
<itsafreecountry> then i want to cancel
<sevenseacat> itsafreecountry: you stub out the response from facebook
anaeem1 has joined #ruby
<sevenseacat> to be a cancel response
<shevy> porfa haha awesome
<shevy> let me make a screenshot
<shevy> shevegen.square7.ch/screenshot.png
<shevy> porfa notice how the weird block chars suddenly are gone - but that ? confuses me hahahaha
<shevy> IRC can be very entertaining
<porfa> oh that was ust my typo, sorry about that hah
tuelz has joined #ruby
<porfa> well im googling on how to append strings on ruby!
<godd2> + or <<
abuzze has joined #ruby
<shevy> yes
<shevy> += or <<
<shevy> or ble = 'yippie'; foo = 'bla'+ble
<shevy> porfa << is faster than +=
tuelz has quit [Ping timeout: 256 seconds]
tokik has joined #ruby
patric100e99 has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
n_blownapart has quit [Remote host closed the connection]
<godd2> >> endl = "\n"; cout = STDOUT; cout << "Hello, world!" << endl;
<eval-in__> godd2 => Hello, world! ... (https://eval.in/214481)
davasaurous has joined #ruby
jjasonclark has joined #ruby
gw01f has joined #ruby
<porfa> im not being able to perform this, it keeps outputing in a new line instead of joining both lines in one single line
<godd2> Not able to do what, porfa ?
charliesome has quit [Quit: zzz]
<porfa> lol = doc.xpath(' //*[(@id = "_c3890_uxHeaderBox")] ').collect {|node| node.text.strip}
arup_r has quit [Remote host closed the connection]
patric100e99 has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<porfa> lol2=doc.xpath(' //*[(@id = "Gegevens")]//p ').collect {|node| node.text.strip} ?? now when i puts lol<<lol2 it gives the lol ouput in one line, and the lol2 in a newline
robbyoconnor has joined #ruby
hmsimha has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<godd2> does lol contain a newline on the end?
hmsimha_ has joined #ruby
charliesome has joined #ruby
<porfa> not that i can see
arup_r has joined #ruby
<godd2> >> "Hello, " << "world!"
<eval-in__> godd2 => "Hello, world!" (https://eval.in/214482)
<godd2> String#<< doesn't add a newline, so it must be something else in your code or the output
<godd2> for example, the output could be coincidentally linewrapping
hmsimha has quit [Ping timeout: 245 seconds]
<porfa> its the webpage code.. damn
itsafreecountry has quit [Quit: Page closed]
nonks has joined #ruby
tagrudev has joined #ruby
davasaurous has quit [Ping timeout: 265 seconds]
<godd2> step 1: gem install pry, step 2: on line three add require 'pry', step 3: line 29 add binding.pry
icebourg has quit []
<godd2> then when you run your code, ruby will stop at the place you put 'binding.pry' and you can check what variables hold what values at that moment
<porfa> ty very much, i?ll try to analize the output the best i can
mengu has joined #ruby
noop has joined #ruby
kt has joined #ruby
jaequery has quit [Ping timeout: 265 seconds]
<godd2> pry is a very usefull debugging gem
<godd2> A++ would recomment
<porfa> sorry im looking at it, im clueless i only see my code
<godd2> recommend*
<porfa> it?s alredy installed and i?ll leave it that way as i cotinue learning this ruby language im sure it will be quite usefull
<godd2> pry is useful for learning ruby
<pipework> Pry is useful for many things.
<porfa> [1] pry(main)>
<porfa> how do i fetch the values now?
nonks has quit [Ping timeout: 246 seconds]
<pipework> It probably upsets shevy to no end that it includes methods to read documentation.
lolmaus has joined #ruby
<porfa> hah
jjasonclark has quit [Quit: jjasonclark]
jaequery has joined #ruby
<godd2> profa just type the variable name and press enter
<godd2> its just like irb
<pipework> porfa: Do you know what a REPL is?
<porfa> no but wiki does, im reading it
<pipework> porfa: It's like a console for a programming language runtime.
subraminion has joined #ruby
fabrice31 has joined #ruby
andrewlio has joined #ruby
<porfa> [1] pry(main)>
nyanz has quit [Read error: Connection reset by peer]
<pipework> porfa: You know irb, right?
<porfa> yes, ive rested my commands there before making the .rb file
<godd2> porfa just type 2 + 2 and press enter
<porfa> tested*
<pipework> porfa: pry is like irb.
<pipework> Except you can use it to easily drop into any part of any program by calling `binding.pry` inside the source.
<godd2> pry will execute any line of ruby you type into it.
<porfa> [19] pry(main)> ean + ean => ["8713016014627", "8713016014627"]
<pipework> And even shell commands!
nyanz has joined #ruby
jaequery has quit [Ping timeout: 264 seconds]
<godd2> ah ok so ean is ["8713016014627"]
<porfa> but when i do puts ean<<ean it gives me two diferent lines with the same EAN :(
<porfa> or ean + ean even
<godd2> you weren't adding strings together
michaeldeol has joined #ruby
michaeldeol has quit [Client Quit]
<godd2> ean[0] is the string that you want
fabrice31 has quit [Ping timeout: 245 seconds]
<pipework> Or ean.first
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
last_staff has joined #ruby
arup_r has quit [Remote host closed the connection]
<godd2> >> ean = ["what"]; puts ean.first << ean.first
<eval-in__> godd2 => whatwhat ... (https://eval.in/214486)
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
hanmac1 has quit [Quit: Leaving.]
timonv_ has joined #ruby
jaequery has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
DrCode has joined #ruby
bal has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
<godd2> also, if what you have is an array, then use ean.inspect in pry to see it for what it is
jenrzzz has joined #ruby
TPBallbag has joined #ruby
apeiros has quit [Remote host closed the connection]
abuzze has joined #ruby
kaspergrubbe has joined #ruby
tyll has quit [Ping timeout: 258 seconds]
apeiros has joined #ruby
<porfa> "[\"8713016014627\"]"
<godd2> er, try puts ean.inspect
arup_r has joined #ruby
<godd2> or ean.class and it will return Array.
<godd2> either way, you wanted the string inside the array, not the array itself
dkb20k has quit [Ping timeout: 245 seconds]
arup_r has quit [Client Quit]
tyll has joined #ruby
kt has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has joined #ruby
it0a has quit [Ping timeout: 245 seconds]
<godd2> also, typing help will list things you can do in pry
postmodern has quit [Quit: Leaving]
<godd2> and you can actually navigate into objects and inspect them from the inside.
<godd2> much the same way you navigate files and folders.
TPBallbag has quit [Ping timeout: 245 seconds]
Lewix has quit [Remote host closed the connection]
<porfa> i got it!! i made it atleast in the psy shell its working
kaspergrubbe has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 264 seconds]
<porfa> it tastes so good i could get used to this
dseitz has quit [Quit: night]
<godd2> hehe, well some would consider it a "developement smell" to be good at your debugging tools, but I say as long as you're learning, all the better :)
jasooon has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
anarang has joined #ruby
duncannz has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
duncannz has joined #ruby
rahult is now known as rahult_
<arup_r> Hi.. Anyone using Amazon dynamoDB ?
andikr has joined #ruby
mbr__ is now known as mbr
jasooon has quit [Ping timeout: 244 seconds]
<arup_r> I am not sure the JSON API version number of DynamoDB...
<arup_r> Any pointer ?
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
tuelz has joined #ruby
sandelius has joined #ruby
lmickh has quit [Remote host closed the connection]
_5kg has quit [Ping timeout: 245 seconds]
tuelz has quit [Ping timeout: 244 seconds]
aganov has joined #ruby
rahult_ has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
WormDr1nk has joined #ruby
timonv_ has joined #ruby
mengu has quit [Ping timeout: 245 seconds]
starkhallo has quit [Ping timeout: 265 seconds]
ndrst has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<porfa> what command should i use to remove the first 6 characters of what i am fetching?
<porfa> im fetching text, but the first 6 characters are junk, and are visible in the website that i am scrapping
<godd2> some_string[6..-1]
cmxu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> >> "hello, world!"[6..-1]
<eval-in__> godd2 => " world!" (https://eval.in/214494)
<porfa> just that simple? :|
<godd2> what that says is "i want everything from the 6th character to the last character"
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 1.0.1]
eat_multi has joined #ruby
ramfjord has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
cmxu has joined #ruby
cmxu has quit [Max SendQ exceeded]
Gunni has left #ruby ["Leaving"]
nonks has joined #ruby
alem0lars|away is now known as alem0lars
tokik has quit [Ping timeout: 272 seconds]
agjacome has quit [Quit: leaving]
pyon has quit [Quit: stupid emacs]
klaut has joined #ruby
pyon has joined #ruby
apeiros has joined #ruby
jenrzzz has joined #ruby
jaequery has joined #ruby
kp666 has joined #ruby
sinequanon has quit []
nonks has quit [Ping timeout: 246 seconds]
tokik has joined #ruby
timonv_ has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
timonv_ has joined #ruby
rshetty has quit [Remote host closed the connection]
chipotle has joined #ruby
_5kg has joined #ruby
chipotle has quit [Client Quit]
timonv_ has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
timonv_ has joined #ruby
chipotle has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
knight2 has joined #ruby
chipotle has quit [Client Quit]
<knight2> Your Ruby version is 2.1.3, but your Gemfile specified 2.1.4
<knight2> But my .ruby-version is ruby-2.1.4, my Gemfile has 2.1.4, and my current ruby -v shows 2.1.4
nyanz has quit []
chipotle has joined #ruby
chipotle has quit [Client Quit]
gw01f has quit [Remote host closed the connection]
chipotle has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<knight2> Oh damn, just solved it. Had to run "spring stop"
chipotle has quit [Client Quit]
jack_rabbit has joined #ruby
chipotle has joined #ruby
jheg has joined #ruby
ephemerian has joined #ruby
chipotle has quit [Client Quit]
tesuji has joined #ruby
chipotle has joined #ruby
_tpavel has joined #ruby
chipotle has quit [Client Quit]
timonv_ has quit [Remote host closed the connection]
jusmyth has joined #ruby
chipotle has joined #ruby
<porfa> hmmm so in my script i have an array for img1 through img9 and for this URL i am using to test the script it works fine, because the product page i am scraping has 9 pictures of the product, but i tried on a page that only has 7 pictures and the script breaks, how to prevent it from breaking when certain instruction is not possible?
VanillaGoat_ has quit [Read error: Connection reset by peer]
tesuji has quit [Read error: Connection reset by peer]
chipotle has quit [Client Quit]
<porfa> lets say it tries to fetch img8 but there is none, instead of quiting i want it to try img9 and then carry on with the other operations
VanillaGoat_ has joined #ruby
Oberon4278 has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
chipotle has quit [Client Quit]
<apeiros> porfa: proper way: check for how many images are there and fetch that many. less proper way: rescue the exception raised.
doug1 has joined #ruby
chipotle has joined #ruby
chipotle has quit [Client Quit]
ta has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
timonv_ has joined #ruby
chipotle has quit [Client Quit]
qba73 has joined #ruby
chipotle has joined #ruby
chipotle has quit [Client Quit]
doug1 has quit [Ping timeout: 264 seconds]
last_staff has quit [Read error: Connection reset by peer]
jusmyth has left #ruby [#ruby]
Hanmac has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
jheg has quit [Quit: jheg]
last_staff has joined #ruby
_tpavel has quit [Quit: Leaving]
jasooon has joined #ruby
tesuji has joined #ruby
moritzs has joined #ruby
ki0 has joined #ruby
<porfa> apeiros: i have been reading why such thing shouldn?t be done, but since this is a really small script i will go with th exeception raised method, though i have no idea how to do it
TomyWork has joined #ruby
tvw has joined #ruby
ta has joined #ruby
reinaldob has joined #ruby
moritzs has quit [Remote host closed the connection]
end_guy has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 265 seconds]
end_guy has joined #ruby
Macaveli has joined #ruby
tuelz has joined #ruby
timonv_ has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 245 seconds]
nrsk has joined #ruby
nfk has joined #ruby
t_p has joined #ruby
alex88 has joined #ruby
oo_ has quit [Remote host closed the connection]
srenatus has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
tuelz has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
_tpavel has joined #ruby
einarj has joined #ruby
last_staff has joined #ruby
patric100e99 has joined #ruby
livathinos has joined #ruby
oo_ has joined #ruby
inbus has joined #ruby
shredding has joined #ruby
havenwood has quit [Remote host closed the connection]
Xeago has joined #ruby
Xeago_ has joined #ruby
patric100e99 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
rbrs has joined #ruby
Soda has joined #ruby
Juanchito has joined #ruby
dumdedum has joined #ruby
Hanmac has quit [Ping timeout: 265 seconds]
rshetty has joined #ruby
ZucchiniZe has quit [Quit: Connection closed for inactivity]
jvv has joined #ruby
sigurding has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
psy_ has quit [Remote host closed the connection]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has joined #ruby
moritzs has joined #ruby
francisfish has quit [Remote host closed the connection]
inbus has quit [Quit: #perl-help]
lessless has joined #ruby
CaptainHeavy has joined #ruby
cruise_ has joined #ruby
LekeFly has joined #ruby
sandelius has joined #ruby
jzinedine has joined #ruby
AFKGeek has joined #ruby
timonv_ has joined #ruby
agjacome has joined #ruby
oo_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
l3kn has quit [Ping timeout: 272 seconds]
NameNotFound has quit [Ping timeout: 272 seconds]
NameNotFound has joined #ruby
jzinedine has quit [Quit: Textual IRC Client: www.textualapp.com]
l3kn has joined #ruby
ylluminarious has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fire-Dragon-DoL has joined #ruby
ylluminarious has quit [Ping timeout: 256 seconds]
mkaesz has joined #ruby
Spami has quit [Ping timeout: 265 seconds]
Fire-Dragon-DoL has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
mikecmpbll has joined #ruby
francisfish has joined #ruby
chthon has joined #ruby
rshetty has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
rshetty has joined #ruby
sk87 has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
Macaveli has joined #ruby
jgrevich has joined #ruby
arup_r has joined #ruby
<porfa> specs = doc.xpath(' //*[(@id = "Gegevens")]//li').collect {|node| node.text.strip}
dangerousdave has joined #ruby
elaptics`away is now known as elaptics
<porfa> puts specs[0] it brings me the first line of specs... how can i bring more lines in?
larsam has joined #ruby
jasooon has joined #ruby
srenatus has left #ruby [#ruby]
doev has joined #ruby
jheg has joined #ruby
govg has quit [Quit: leaving]
marr has joined #ruby
emmesswhy has joined #ruby
levity_island has quit [Quit: levity_island]
<shevy> pipework pry will be useless when there is no documentation
arup_r has quit [Remote host closed the connection]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alem0lars is now known as alem0lars|away
jasooon has quit [Ping timeout: 272 seconds]
tuelz has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kt has joined #ruby
tuelz has quit [Ping timeout: 244 seconds]
iamdoo2_ has quit []
jjasonclark has joined #ruby
PanPan has quit [Remote host closed the connection]
alem0lars|away is now known as alem0lars
renderful has joined #ruby
nonks has joined #ruby
olivier_bK has joined #ruby
godd2 has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
t_p has quit [Ping timeout: 265 seconds]
Vezz has joined #ruby
renderful has quit [Ping timeout: 272 seconds]
lkba has quit [Ping timeout: 240 seconds]
timonv_ has quit [Remote host closed the connection]
nonks has quit [Ping timeout: 246 seconds]
_tpavel has quit [Quit: Leaving]
banister has joined #ruby
jjasonclark has quit [Quit: jjasonclark]
tokik has quit [Ping timeout: 260 seconds]
mityaz has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has joined #ruby
anarang has quit [Ping timeout: 256 seconds]
abuzze_ has joined #ruby
subraminion has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
coderhs has quit [Remote host closed the connection]
oo_ has joined #ruby
tyll has quit [Ping timeout: 250 seconds]
bricker`work has quit [Ping timeout: 264 seconds]
abuzze has quit [Ping timeout: 250 seconds]
doev has quit [Quit: Verlassend]
tyll has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Hobogrammer has quit [Ping timeout: 260 seconds]
tuelz has joined #ruby
max96at|off is now known as max96at
dkb20k has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
Timgauthier has joined #ruby
gaussblurinc1 has joined #ruby
lockweel has joined #ruby
iamayam has joined #ruby
timonv_ has joined #ruby
sevenseacat has quit [Remote host closed the connection]
dANO_ has joined #ruby
spider-mario has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
anarang has joined #ruby
tlarevo_ has joined #ruby
oo_ has joined #ruby
luminor has joined #ruby
ptrrr has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 265 seconds]
luminor has quit [Client Quit]
tlarevo has quit [Ping timeout: 272 seconds]
bluOxigen has joined #ruby
anarang has quit [Client Quit]
moritzs has quit [Remote host closed the connection]
TPBallbag has joined #ruby
blueOxigen has quit [Ping timeout: 265 seconds]
duncannz has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
ghr has joined #ruby
Takle has quit [Remote host closed the connection]
dANO__ has joined #ruby
Deele has joined #ruby
lessless has quit [Remote host closed the connection]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
nilemptyblank has joined #ruby
himsin has joined #ruby
Takle has joined #ruby
yfeldblum has joined #ruby
arup_r has joined #ruby
<nilemptyblank> hello!!! so I'm using Sinatra and I want to set the content_type :json by default on each route
tkuchiki has quit [Ping timeout: 265 seconds]
dANO_ has quit [Ping timeout: 245 seconds]
<nilemptyblank> where should I do that? in the configure part?
felixjet_ has joined #ruby
<nilemptyblank> Can I set it there? (-_-)
chipotle has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
<tobiasvl> nilemptyblank: I dunno if you can do it there, but you can at least change the callback
emmesswhy has quit [Quit: This computer has gone to sleep]
chipotle has quit [Client Quit]
jasooon has joined #ruby
banister is now known as banisterfiend
<tobiasvl> or wait hang on, that's a bit outdated
jottr has joined #ruby
luminor has joined #ruby
kyb3r_ has quit [Ping timeout: 255 seconds]
felixjet has quit [Ping timeout: 255 seconds]
<nilemptyblank> hmmm
blueOxigen has joined #ruby
Hanmac has joined #ruby
anarang has joined #ruby
hanmac1 has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
Hanmac has quit [Read error: Connection reset by peer]
moshe has joined #ruby
<nilemptyblank> tobiasv i think i can pretty much do this and it works...
<nilemptyblank> before do content_type 'application/json' end
<tobiasvl> yep
<tobiasvl> should work!
<j416> I think you can also: content_type :json
<j416> and it'll do the right thing
ringarin has joined #ruby
moshe is now known as bigimot
<nilemptyblank> ahhhhh
<nilemptyblank> alright. thanks to both of you
cruise_ has quit [Quit: Page closed]
bluOxigen has quit [Ping timeout: 265 seconds]
atmosx has joined #ruby
Vezz has quit [Quit: Computer has gone to sleep.]
rodfersou has joined #ruby
Takle has quit [Remote host closed the connection]
<atmosx> hello
ringaring has joined #ruby
ringarin has quit [Ping timeout: 265 seconds]
Guest71350 has joined #ruby
Takle has joined #ruby
<atmosx> Hello, should this line https://gist.github.com/atmosx/1a1c1fb47e001b621b30 tell guard to monitor all .rb files from the current and directory and all sub-dirs?!
<atmosx> doesn't seem to work :-/
Takle has quit [Remote host closed the connection]
almostworking has joined #ruby
codecop has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby
chipotle has joined #ruby
tlarevo_ has quit [Read error: Connection reset by peer]
dANO_ has joined #ruby
nilemptyblank has quit [Quit: Page closed]
Xeago_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
maasha has joined #ruby
bigimot has left #ruby [#ruby]
Hijiri has quit [Ping timeout: 265 seconds]
shredding has quit [Quit: shredding]
<maasha> Ruby friendly HTML grid framework for static pages?
visof has joined #ruby
Hijiri has joined #ruby
william3_ has joined #ruby
ptrrr has quit [Quit: ptrrr]
dANO__ has quit [Ping timeout: 265 seconds]
<maasha> I have played around with bootstrap before, and I am currently looking at lemonade.
jottr has quit [Ping timeout: 245 seconds]
<shevy> hey atmosx
<atmosx> hey shevy how's life?
<atmosx> I'm at the library should be studying diabetes but I'm trying to build-up a speedy continous testing environment! :-P
<atmosx> how r u?
<shevy> atmosx ah not too good, not too awful either. got home from an exam in zoology just now, now I am contemplating what next to do
Takle has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hanmac1 has quit [Ping timeout: 256 seconds]
Maximo_ has joined #ruby
<shevy> yeah I have to study as well but right now I am procrastinating again :P
shredding has joined #ruby
robbyoconnor has quit [Excess Flood]
<shevy> atmosx my concentration drops down in a library right half an hour after reading stuff
robbyoconnor has joined #ruby
<shevy> then reading becomes boring
AlSquirrel has joined #ruby
luminor has quit []
<shevy> so I changed things, I try to not read but instead scan for new information, as much and as quickly as possible and note it down
jgrevich has quit [Quit: jgrevich]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maximo_ has left #ruby ["★"]
sigurding has quit [Quit: sigurding]
reinaldob has joined #ruby
jgrevich has joined #ruby
Hanmac has joined #ruby
ldnunes has joined #ruby
<atmosx> I like reading in the library
<atmosx> generally speaking it helps
danjordan has joined #ruby
<atmosx> my problem however is, if I can use guard to re-launch foreman instead of rerun
<atmosx> hehe
<shevy> hehehe
tlarevo has joined #ruby
dangerousdave has joined #ruby
alem0lars is now known as alem0lars|away
Xeago has joined #ruby
sk87 has joined #ruby
tlarevo_ has joined #ruby
nemesit|znc has joined #ruby
Xeago has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
ylluminarious has joined #ruby
<atmosx> guard-shotgun does just that
<atmosx> I think I'm about to finnish...
tlarevo has quit [Ping timeout: 255 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
alem0lars|away is now known as alem0lars
kaspergrubbe has quit [Ping timeout: 256 seconds]
<shevy> finnish?
<shevy> where people from suomi live? :D or finish hehe
doodlehaus has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
ylluminarious has quit [Ping timeout: 256 seconds]
WormDr1nk has quit [Quit: Leaving]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
alem0lars is now known as alem0lars|away
workmad3 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CaptainHeavy has quit [Ping timeout: 250 seconds]
adamnbowen has joined #ruby
KucukMubasir has quit [Quit: KucukMubasir]
jgrevich has quit [Quit: jgrevich]
fsapo has joined #ruby
Hanmac has quit [Ping timeout: 256 seconds]
abuzze_ has quit [Ping timeout: 256 seconds]
<atmosx> yeah
<atmosx> finish
<atmosx> lol
abuzze has joined #ruby
<atmosx> but finnish is cool too
<atmosx> I like Finland
arup_r has quit [Remote host closed the connection]
adamnbowen has quit [Max SendQ exceeded]
<atmosx> never been lol but small country ice everywhere can't go wrong
chipotle has quit [Quit: cya]
Spami has joined #ruby
tvw has quit []
doodlehaus has quit []
TPBallbag has quit [Remote host closed the connection]
TPBallbag has joined #ruby
sigurding has joined #ruby
ghr has joined #ruby
<Psy-Q> the ice melts in summer
mg^ has quit [Ping timeout: 245 seconds]
<Psy-Q> this summer was the horror in finland, really hot
dkb20k_ has joined #ruby
<j416> Psy-Q: lol, yeah right.
<j416> Psy-Q: @ summer in finland
<Psy-Q> j416: were you there this summer?
mg^ has joined #ruby
<j416> various places
<Psy-Q> i was only in helsinki, it killed me already
<j416> hehe
<Psy-Q> and the hotel had the window opening to some sort of industrial device that pushed more heat into the room
<j416> heat is subjective I suppose
<Psy-Q> yeah :) it was 30+ sometimes, though
kaspergr_ has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
<Psy-Q> a few summers ago at tuska festival it was 34 as well, that was extreme
<j416> but I agree that when it becomes hot in our countries (I'm on the other side of the water from you) the means we have to deal with it are quite poor, compared to countries with hotter climate
kaspergrubbe has joined #ruby
<Psy-Q> ah, i just go to finland regularly. i'm in switzerland, where we had the wettest coldest summer in recorded history
<j416> ah :)
<j416> hehe
<Psy-Q> so going to finland was like going on some sort of beach vacation
Xeago_ has joined #ruby
dkb20k has quit [Ping timeout: 250 seconds]
<j416> I spend a lot of time in .jp and summers there are like... you can't walk 500 metres without wanting to take a shower
iamayam has quit [Ping timeout: 245 seconds]
<j416> after getting used to that I've come to think our hot summers are rather pleasant :P
kaspergr_ has joined #ruby
tesuji has quit [Ping timeout: 255 seconds]
pyon has quit [Quit: And the battle will rage until only the Raichu prevail!]
ghr has quit [Ping timeout: 265 seconds]
jasooon has joined #ruby
doug1 has joined #ruby
<Psy-Q> hehe. a friend invited me to japan for next summer. i don't wanna go in that case
<Psy-Q> since i'll be in canada during winter as well, that'll be some contrast
mozzarella has quit [Quit: WeeChat 1.1-dev]
<j416> don't worry
<j416> it's hot as hell at times
<j416> but everyone is in the same situation
Xeago has quit [Ping timeout: 265 seconds]
<j416> so the moment you're thinking blimey, my t-shirt is all wet now from me sweating
kamilc__ has quit [Quit: Leaving...]
Hanmac has joined #ruby
<j416> you realise that's true for most of the other people as well :P
kaspergrubbe has quit [Ping timeout: 265 seconds]
sigurding has quit [Quit: sigurding]
<j416> and apart from that detail, summers in japan are realky quite nice.
<j416> really*
_1_Nirmal has joined #ruby
nonks has joined #ruby
<_1_Nirmal> hii
<j416> Psy-Q: but, spring is a nicer season to visit.
<j416> </ot>
fabrice31 has quit [Remote host closed the connection]
Abhijit has joined #ruby
<Abhijit> whats the best way to execute remote commands via program? other than bash ssh. does ruby has some nice module?
_1_Nirmal has quit [Client Quit]
doug1 has quit [Ping timeout: 265 seconds]
jasooon has quit [Ping timeout: 244 seconds]
<workmad3> Abhijit: well, there's net/ssh, or you could potentially investigate distributed-ruby
<Abhijit> ok
oo_ has quit [Remote host closed the connection]
sandelius has joined #ruby
oo_ has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
Hanmac has quit [Read error: Connection reset by peer]
davedev24_ has quit []
mozzarella has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
davedev24_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
joonty1 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
dangerousdave has joined #ruby
abuzze has joined #ruby
joonty1 is now known as joonty
tuelz has quit [Quit: WeeChat 1.0]
arup_r has joined #ruby
shredding has quit [Quit: shredding]
sprihodko has joined #ruby
bluenemo has joined #ruby
abuzze_ has joined #ruby
moritzs has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
shredding has joined #ruby
fabrice31 has joined #ruby
shredding has quit [Client Quit]
nemesit|znc has quit [Quit: quit]
nemesit|znc has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
gsd has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsd has quit [Client Quit]
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<Psy-Q> j416: ye, sakura and all! </ot> too
arup_r has quit [Remote host closed the connection]
Rhainur has quit [Quit: Leaving.]
iamayam has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jheg has quit [Quit: jheg]
danijoo has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
danijoo has joined #ruby
sk87 has joined #ruby
atmosx has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 255 seconds]
sprihodko has quit [Quit: (null)]
ta has quit [Read error: Connection reset by peer]
dmuff has joined #ruby
slap_stick has joined #ruby
adriancb has quit [Ping timeout: 245 seconds]
<j416> Psy-Q: <ot>yeah!</ot>
o0oo0o has quit [Ping timeout: 246 seconds]
<shevy> Abhijit drb - if you have full control over your own machine, and the remote one :D http://www.ruby-doc.org/stdlib-1.9.3/libdoc/drb/rdoc/DRb.html
<shevy> then you can remotely call objects
<Abhijit> yes i do have.
nateberkopec has joined #ruby
<shevy> pipework do you think this is a nice docu http://www.ruby-doc.org/stdlib-1.9.3/libdoc/drb/rdoc/DRb.html
shredding has joined #ruby
slap_stick has quit [Ping timeout: 244 seconds]
red_horned_rihno has joined #ruby
moshe has joined #ruby
dmuff has quit [Read error: No route to host]
moshe has quit [Client Quit]
dmuff has joined #ruby
agjacome has quit [Quit: leaving]
nateberkopec has quit [Read error: Connection reset by peer]
Darryl_ has joined #ruby
moritzs has quit [Ping timeout: 272 seconds]
dkb20k_ has quit []
dkb20k has joined #ruby
paulfm has joined #ruby
jottr has joined #ruby
dangerousdave has joined #ruby
red_horned_rihno has quit [Read error: Connection reset by peer]
slap_stick has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
ptrrr has joined #ruby
ptrrr has quit [Client Quit]
vt102 has joined #ruby
mityaz has quit [Quit: Leaving]
ghr has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 is now known as wm3|away
nrsk has quit [Ping timeout: 256 seconds]
mityaz has joined #ruby
phutchins has joined #ruby
michaelchum_ has quit [Quit: Connection closed for inactivity]
ghr has quit [Ping timeout: 272 seconds]
jheg has joined #ruby
jasooon has joined #ruby
tvw has joined #ruby
yeticry has quit [Ping timeout: 250 seconds]
mskaesz has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
yeticry has joined #ruby
dkphenom has joined #ruby
Jackneill has joined #ruby
mkaesz has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
patteh has quit [Remote host closed the connection]
patteh has joined #ruby
jasooon has quit [Ping timeout: 256 seconds]
jespada has joined #ruby
jjasonclark has joined #ruby
aclearman037 has joined #ruby
patric100e99 has joined #ruby
CaptainHeavy has joined #ruby
Takle has quit [Remote host closed the connection]
starkhallo has joined #ruby
phutchins has quit [Ping timeout: 272 seconds]
sevenseacat has joined #ruby
abuzze has joined #ruby
echooo has quit [Quit: echooo]
patric100e99 has quit [Ping timeout: 245 seconds]
_JamieD_ has quit [Ping timeout: 256 seconds]
nrsk has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
Abhijit has quit [Quit: Leaving]
ringaring has quit [Ping timeout: 265 seconds]
rbrs has quit [Quit: Leaving]
chipotle has quit [Client Quit]
lemur has quit [Read error: Connection reset by peer]
chthon has joined #ruby
abuzze_ has quit [Ping timeout: 240 seconds]
lemur has joined #ruby
himsin has quit [Quit: himsin]
jjasonclark has quit [Quit: jjasonclark]
atmosx has joined #ruby
<atmosx> hm
arup_r has joined #ruby
<atmosx> when I load 'pry' I read the database of the 'test' env instead of the 'dev' env
_JamieD_ has joined #ruby
<atmosx> It's almost two days that I do configuration instead of coding
<atmosx> blah
phutchins has joined #ruby
danjordan has quit [Quit: danjordan]
Hanmac has joined #ruby
arup_r has quit [Remote host closed the connection]
guyz is now known as daynaskully
danjordan has joined #ruby
oo_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
pyon has joined #ruby
vyorkin has joined #ruby
anaeem___ has joined #ruby
rshetty has joined #ruby
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Read error: Connection reset by peer]
tier has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
livingstn has joined #ruby
fmcgeough has joined #ruby
D9 has quit [Ping timeout: 264 seconds]
DLSteve has joined #ruby
<waxjar> i've got a few classes that need to behave differently depending on a piece of information that's only available at runtime. how would you handle that?
<waxjar> I came up with this, but it's far from ideal, imo (https://gist.github.com/britishtea/faf0e0a5dca0e013d437)
philwantsfish has joined #ruby
ylluminarious has joined #ruby
AFKGeek has quit [Quit: Fades into the shadows]
triple_b has joined #ruby
danjordan has quit [Quit: danjordan]
rshetty has quit [Remote host closed the connection]
DLSteve_ has quit [Ping timeout: 272 seconds]
wald0 has joined #ruby
danjordan has joined #ruby
abuzze has quit [Ping timeout: 256 seconds]
spyderman4g63 has joined #ruby
max96at is now known as max96at|off
<jhass> waxjar: I prefer delegation since that doesn't void method caches
yfeldblum has joined #ruby
dkb20k has quit [Read error: Connection reset by peer]
<jhass> and allows you to even change the target after instantiation and passing around
dkb20k has joined #ruby
<waxjar> can you delegate at runtime?
bmurt has joined #ruby
<jhass> of course
arup_r has joined #ruby
<jhass> Look at SimpleDelegator in delegate stdlib
yfeldblu_ has joined #ruby
<rpag> waxjar, its ruby, everything happens at runtime :-P
anaeem___ has quit [Remote host closed the connection]
<waxjar> ah, fair enough, what I mean is on the instance level
yfeldblum has quit [Ping timeout: 245 seconds]
<jhass> did you look at SimpleDelegator yet? The examples make that pretty clear
AlexRussia has joined #ruby
yfeldblu_ has quit [Ping timeout: 256 seconds]
<waxjar> yeah, that might work, thx :)
zB0hs has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<waxjar> it's a bit shitty, because some of the "implementations" might have extra methods, dunno how i'm gonna handle that
mskaesz has quit [Ping timeout: 265 seconds]
<jhass> if you remove the abstraction and explain your real problem someone might have a nice idea
dangerousdave has joined #ruby
jjasonclark has joined #ruby
<waxjar> an IRC client library. an example: some servers support half-ops, some don't, some implement rfc1459, some implement 2812
livathinos has quit [Remote host closed the connection]
<waxjar> it's a mess :(
abuzze has joined #ruby
<jhass> mmh, what does it do that cinch doesn't? aka why reinvent the wheel? :)
arup_r has quit []
mengu has joined #ruby
mengu has joined #ruby
<waxjar> for fun :)
jjasonclark has quit [Client Quit]
<jhass> I probably wouldn't try to hide the distinctions from the user
CaptainHeavy has quit [Ping timeout: 245 seconds]
dmuff has quit [Quit: This computer has gone to sleep]
siwica has joined #ruby
<jhass> you want to connect to FooIRCD? client = FooIRCDClient.new(...) You want to connect to BarIRCD? client = BarIRCD.new(...)
Macaveli has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
<jhass> then it's clear that they might share a common base interface, but just because a method exists on one, it doesn't need to do so on the other
Macaveli has quit [Client Quit]
<jhass> "if you want to be able to swap quickly, only use the base interface, but it's your job"
Macaveli has joined #ruby
danjordan has quit [Quit: danjordan]
psy_ has joined #ruby
<waxjar> hmm, that seems a lot easier to implement
danjordan has joined #ruby
<jhass> the other possibility would be to have all methods on all implementations (the base interface even) and raise NotSupported exceptions all over the place
Danibal has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
<jhass> which would be slightly better than NoMethodErrors
toordog has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
taptapdan has quit [Quit: taptapdan]
<waxjar> of course, you'd have to know which ircd you're going to connect to, and that's not really possible until you've connected to it :|
<jhass> I'd claim it is
_2easy has quit [Quit: Lost terminal]
jerius has joined #ruby
it0a has joined #ruby
<jhass> In that scheme you could share the base functionality in a parent class and have that work on all ircd's
<jhass> so that if you don't care about the special features you just client = Client.new(...)
<waxjar> no, i meant your first example FooIRCd.new, etc :)
<jhass> yes
nrsk has quit [Ping timeout: 256 seconds]
<jhass> "oh, that network I'm connecting to is fooircd and I want to use its halfops feature! *goes and replaces Client.new by FooIRCDClient.new"
ghr has quit [Ping timeout: 265 seconds]
<jhass> though since it only happens once at program boot, using extend on an instance is actually justifiable, you just hide the details from the user
<jhass> so then the question then becomes how you make clear that it NoMethodErrors or not depending on the network you connect to
rkalfane has joined #ruby
<jhass> which can be improved with the NotSupported execeptions approach to communicate clearer, but remains trial and error since it's hard to write docs for
<rpag> i would just use method_missing to delegate onto One/Two
hackeron has quit [Ping timeout: 264 seconds]
hackeron has joined #ruby
<waxjar> hmm, yeah. i think that's the best I'm gonna get. thx jhass :)
<jhass> rpag: SimpleDelegator does exactly that, except it already has the most common mistakes when doing so already covered
<rpag> yeah, i prefer to not use delegator in the stdlib because method_missing is more transparent and it isn't that hard to implement method_missing as a delegate
jasooon has joined #ruby
<rpag> i find method_missing to be more transparent
mike32 has joined #ruby
nug has quit [Quit: ZNC - http://znc.in]
oleo has joined #ruby
Takle has joined #ruby
sailias has joined #ruby
mkaesz has joined #ruby
jusmyth has joined #ruby
jasooon has quit [Ping timeout: 255 seconds]
dorei has joined #ruby
sk87 has joined #ruby
paulfm has quit [Ping timeout: 265 seconds]
tlarevo_ has quit [Remote host closed the connection]
gaganjyot has joined #ruby
fawefeawfewa has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
lemur has quit [Read error: Connection reset by peer]
william3_ has quit [Remote host closed the connection]
chipotle has joined #ruby
TPBallbag has quit [Remote host closed the connection]
lemur has joined #ruby
jenrzzz has joined #ruby
abuzze has quit [Remote host closed the connection]
paulfm has joined #ruby
TPBallbag has joined #ruby
nrsk has joined #ruby
i42n has joined #ruby
msmith has joined #ruby
<i42n> Hey, is this hex generation correct? https://gist.github.com/i42n/a50beec61beb0881a9c9 So it is always the same if the input image is the same?
kj__ has joined #ruby
<kj__> Hi
<kj__> is their any gem to convert HD videos to normal and also minimize size of the video in ruby-language
<i42n> kj__: try to find a ffmpeg wrapper
<kj__> ohk
ptrrr has joined #ruby
<kj__> will it decrease size & quality of the video ?
<canton7> ffmpeg can if you want it to, yes
<i42n> kj__: ffmpeg can be configured to do what you want
SilkFox has joined #ruby
ptrrr has quit [Client Quit]
<canton7> it's pretty much *the* video encoding tool
<shevy> like ur mom
<canton7> and everything else is either shit or a wrapper around ffmpeg :P
mkaesz has quit [Ping timeout: 264 seconds]
<kj__> tq :)
wm3|away is now known as workmad3
jenrzzz has quit [Ping timeout: 240 seconds]
<jhass> i42n: I'm not sure why you go through MiniMagick
<i42n> jhass: but I think it has a bug because it regenerates all images on each run despite it should not.
<i42n> jhass: it should check by md5 if it already generated the image and therefore not do it again
Hanmac has quit [Ping timeout: 264 seconds]
pandaant has quit [Remote host closed the connection]
<i42n> jhass: however I get many versions of each image after several runs. always with different md5 digest
<i42n> so I assume the hash generation ist broken somehow
ringaring has joined #ruby
mkaesz has joined #ruby
jhwhite has joined #ruby
<jhass> I'd take out the coalesce call first I guess
<i42n> jhass: I tried to find what it does. Do you know?
<jhass> "coalesce merge a sequence of images"
mary5030 has joined #ruby
TPBallbag has quit []
<jhass> man mogrify
mskaesz has joined #ruby
jusmyth has quit [Ping timeout: 264 seconds]
rismoney1 has quit [Ping timeout: 244 seconds]
kp666 has quit [Quit: Konversation terminated!]
slap_stick has joined #ruby
fenak has joined #ruby
mkaesz has quit [Ping timeout: 260 seconds]
<i42n> jhass: I found exactly that. But could not understand it as this is a single image...
htmldrum has quit [Quit: leaving]
cpruitt has joined #ruby
<i42n> maybe it is also better to call md5 directly on the file and not on the rmagick image object
<jhass> mini_magick != rmagick
jimbach has joined #ruby
jimbach has quit [Remote host closed the connection]
<jhass> and yeah, it probably is a noop there but might flip some random bits
jimbach has joined #ruby
dseitz has joined #ruby
<i42n> jhass: I removed the coalesce and changed the md5 call to use the source file directly. Now I check what happens
<sheepman> im reading a CSV file but running into this: "\x98" to UTF-8 in conversion from Windows-1251 to UTF-8 (Encoding::UndefinedConversionError)
moritzs has joined #ruby
<sheepman> not sure how to deal with it?
Takle has quit [Remote host closed the connection]
<jhass> sheepman: are you sure you read the file with the right encoding?
jusmyth has joined #ruby
<sheepman> i think i just have some strange character in the file for some reason
o0oo0o has joined #ruby
lolmaus has quit [Remote host closed the connection]
lolmaus has joined #ruby
zorak8 has joined #ruby
Neozonz has joined #ruby
<workmad3> sheepman: hah, somehow your CSV file has an instance of the *only* character in cp1251 that can't be mapped to unicode...
snath has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
<workmad3> sheepman: https://en.wikipedia.org/wiki/Windows-1251 <-- it's character 152 there, the nice gray box in the middle of the table...
<i42n> jhass: thanks for your help. I could fix it. Now it runs 500% faster.
ta has joined #ruby
<jhass> workmad3: sheepman doesn't that mean it's undefined in cp1251 too?
devdazed has joined #ruby
<workmad3> jhass: it could do... no idea :)
Takle has joined #ruby
jusmyth has left #ruby [#ruby]
o0oo0o has quit [Ping timeout: 246 seconds]
ptrrr has joined #ruby
<jhass> sheepman: I'd verify you're reading the file in the right encoding in the first place. If you do the file is broken. You can workaround by using String#encode with its undef, replace etc. options
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Devr3d has joined #ruby
chipotle has quit [Quit: cya]
ndrei has joined #ruby
<workmad3> jhass: ya, the man page declares 152 as undefined http://man7.org/linux/man-pages/man7/cp1251.7.html
sk87 has joined #ruby
ptrrr has quit [Client Quit]
yfeldblum has quit [Ping timeout: 255 seconds]
<sheepman> is there a quick way to just strip characters that are undefined? even if its outside of Ruby?
enebo has joined #ruby
i42n has left #ruby ["WeeChat 0.3.8"]
<jhass> sheepman: yes, with String#encode
<sheepman> tempted to just convert to utf-16 that'll work won't it?
<workmad3> sheepman: no
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
<sheepman> oh lol balls
<jhass> or String#scrub if you're on a recent ruby
doug1 has joined #ruby
<workmad3> jhass: String#encode transcodes the bytes and will error if there's something it can't convert
<fenak> sometimes i get really frustrated with all this encoding stuff after i upgraded ruby.. lol
<jhass> workmad3: it has options to do replacement
<jhass> instead
Takle has quit [Ping timeout: 245 seconds]
<workmad3> oh yeah...
* workmad3 forgets the capabilities of encode at times
<workmad3> comes from trying to never touch anything other than utf-8 :)
zorak8 has quit [Ping timeout: 264 seconds]
<workmad3> sheepman: converting to utf-16 would have the same problem... there's an undefined character in there that can't be converted to another encoding ;)
theRoUS has quit [Changing host]
theRoUS has joined #ruby
<jhass> sheepman: your file is not valid cp1251, simple as that
<sheepman> hmmm wish i could just track it down but the error doesn't give any clues to what line its on
<sheepman> the character i mean
<jhass> sheepman: open it in an hex editor and search for it
<sheepman> good plan!
<sheepman> thanks guys :)
<workmad3> fenak: I get frustrated that so much of the world still defaults to crap like ISO8859-* or Windows-* encodings :)
<jhass> >> "☃"
<jhass> still not :(
<workmad3>
nrsk has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
Takle has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alem0lars|away is now known as alem0lars
t_mmyv has joined #ruby
doug1 has quit [Ping timeout: 245 seconds]
benzrf is now known as benzrf|offline
kj__ has quit [Quit: Page closed]
<fenak> workmad3: yeah.. and here in Brazil iso-8859-1 is SOOOO common!
ggherdov_ has joined #ruby
ggherdov_ has quit [Changing host]
ggherdov_ has joined #ruby
<fenak> workmad3: the world should be utf-8...
ggherdov_ is now known as ggherdov
<jhass> does windows default to utf-8 yet?
ndrei has quit [Quit: Lost terminal]
<apeiros> sadly zxing's qr code reader defaults to utf-8 too. made it a bit difficult to read binary data.
Timgauthier is now known as timgauthier_away
<fenak> jhass: hmm.. i don't think so.. until 7 i think it wasnt
anaeem1 has joined #ruby
diegovio1 has joined #ruby
diegovio1 is now known as dviola
<jhass> there's your problem
mkaesz has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
ghr has joined #ruby
Xeago_ has joined #ruby
charliesome has joined #ruby
renderful has joined #ruby
Kricir has joined #ruby
hackeron has quit [Ping timeout: 240 seconds]
Akuma has quit [Quit: So long sukkas!]
<fenak> jhass: yeah.. that's true.. i work with email.. i use linux, but the world keeps sending emails encoded in every possible way..
benzrf|offline is now known as benzrf
hackeron has joined #ruby
<fenak> jhass: and it's not uncommon that the email itself arrives bad formatted.. or with bad encoding..
mskaesz has quit [Ping timeout: 240 seconds]
<fenak> jhass: or lying about its encoding.. lol..
Akuma has joined #ruby
momomomomo has joined #ruby
<jhass> well, email does provide capabilities to properly declare encoding at least, there the MUAs are to blame
Xeago has quit [Ping timeout: 255 seconds]
dkb20k has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
<fenak> you see, there are RFCs for this, and a lot of people/systems dont care..
<shevy> oh encodings!
<shevy> what did jhass say about one encoding in particular ... :-)
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkb20k has joined #ruby
<fenak> there are emails sent that comes from php mailers coded really bad that are very strange.. lol
<fenak> but.. encodings..
nug has joined #ruby
<shevy> hey don't worry
<shevy> not even the bot here can deal with encodings properly
nrsk has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
mimo_m has joined #ruby
Takle has quit [Remote host closed the connection]
freerobby has joined #ruby
<jhass> that's just because still not everything defaults to utf-8
Akuma has quit [Client Quit]
sk87 has joined #ruby
<soahccc> MTA's can't even use standardized errors, how could you assume they've managed to agree on a charset :D
eka has joined #ruby
maestrojed has quit [Ping timeout: 250 seconds]
<jhass> a MTA that cares about the charset of the message body is to throw into the trash right away
gaganjyot has quit [Ping timeout: 256 seconds]
<jhass> the MUA is to blame to not properly declare it
dkb20k has quit [Ping timeout: 256 seconds]
<jhass> or maybe in rare cases the MDA
<shevy> oh oh oh
<shevy> <jhass> meh, still unicode is still broken
charliesome has quit [Quit: zzz]
Akuma has joined #ruby
jasooon has joined #ruby
Takle has joined #ruby
dangerousdave has joined #ruby
sandelius has joined #ruby
charliesome has joined #ruby
<pontiki> we should never have strayed from 7 bit ASCII
Areessell has joined #ruby
stef204 has joined #ruby
stef204 has joined #ruby
stef204 has quit [Changing host]
mary5030 has joined #ruby
max96at|off is now known as max96at
<jhass> pontiki: my name doesn't fit into ascii
<pontiki> so what?
<shevy> "jhass"
<shevy> "pontiki"
<jhass> it's haß actually
<pontiki> == 'mouse' in Greek: ποντίκι
<shevy> you folks fit so nicely
mary5030 has quit [Remote host closed the connection]
<shevy> I can't read either of that :(
<jhass> shevy: time to switch to utf-8
<shevy> it's broken!
<jhass> no
<fenak> lol
mary5030 has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
<workmad3> pontiki: ebcidic ftw!
nonks has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
<pontiki> nowai
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> that ibm crap
mfmfmfmfmfmf has joined #ruby
lkba has joined #ruby
mkaesz has quit [Remote host closed the connection]
<pontiki> google doodle is cute, for the US anyway
mkaesz has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
gaganjyot has joined #ruby
<pontiki> oh there are different ones...
havenwood has joined #ruby
IceDragon has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
nevans has quit [Ping timeout: 244 seconds]
aclearman037 has quit [Quit: I'm out!]
* apeiros is fully ascii compatible, hah!
pdtpatrick_ has joined #ruby
VanillaGoat has joined #ruby
zorak8 has joined #ruby
gaganjyot has quit [Client Quit]
pdtpatrick_ has quit [Client Quit]
pdtpatrick_ has joined #ruby
gaganjyot has joined #ruby
sevenseacat has quit [Remote host closed the connection]
livathinos has joined #ruby
gaganjyot has quit [Max SendQ exceeded]
eka has joined #ruby
rshetty has joined #ruby
iamjarvo has joined #ruby
govg has quit [Ping timeout: 272 seconds]
gaganjyot has joined #ruby
kamilc__ has joined #ruby
pdtpatrick_ has quit [Client Quit]
VanillaGoat_ has quit [Ping timeout: 255 seconds]
dmuff has joined #ruby
pdtpatrick_ has joined #ruby
vickleford has joined #ruby
anaeem1 has quit [Remote host closed the connection]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anaeem1 has joined #ruby
zorak8 has quit [Ping timeout: 245 seconds]
Linell has joined #ruby
maestrojed has joined #ruby
linojon has joined #ruby
yfeldblum has joined #ruby
fsapo has quit [Ping timeout: 244 seconds]
marienz has quit [Read error: Connection timed out]
drkyro has joined #ruby
charliesome has quit [Quit: zzz]
<benzrf> pontiki: youre the ocaml one right
<shevy> ocaml girl baby
taptapdan has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
aclearman037 has joined #ruby
<apeiros> whitequark too
larissa has joined #ruby
<apeiros> but I guess he's only in #ruby-lang
<shevy> the split #ruby vs. #ruby-lang is one of the more amusing things in IRC weirdness
workmad3 is now known as wm3|busy
livathinos has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
<Linell> What's the difference?
danijoo has joined #ruby
gsd has joined #ruby
gsd has quit [Client Quit]
mfmfmfmf_ has joined #ruby
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
jimmyhoughjr has joined #ruby
mfmfmfmf_ has quit [Remote host closed the connection]
klaut_ has joined #ruby
<apeiros> -lang. 600 people. founders.
visof has quit [Ping timeout: 240 seconds]
pdtpatrick_ has quit [Quit: pdtpatrick_]
dron2065 has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
benzrf has left #ruby [#ruby]
pdtpatrick_ has joined #ruby
benzrf has joined #ruby
klaut has quit [Ping timeout: 258 seconds]
pdtpatrick_ has quit [Client Quit]
kamilc__ has quit [Quit: Leaving...]
red_horned_rihno has joined #ruby
cpruitt has quit [Quit: cpruitt]
razieliyo has joined #ruby
pdtpatrick_ has joined #ruby
last_staff has quit [Quit: l8r]
jherbst has joined #ruby
nonks has joined #ruby
anaeem1 has quit [Remote host closed the connection]
kamilc__ has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Xeago_ has quit [Remote host closed the connection]
livathinos has joined #ruby
momomomomo has quit [Quit: momomomomo]
livathinos has quit [Remote host closed the connection]
slap_stick has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
rshetty has quit [Ping timeout: 244 seconds]
kamilc__ has quit [Client Quit]
banister has quit [Max SendQ exceeded]
Xeago has joined #ruby
cpruitt has joined #ruby
<shevy> Linell one of those two has the pants down
slap_stick has joined #ruby
slap_stick has quit [Client Quit]
dmuff has quit [Quit: This computer has gone to sleep]
nevans has joined #ruby
droidburgundy has joined #ruby
momomomomo has joined #ruby
apeiros has quit [Ping timeout: 244 seconds]
Xeago_ has joined #ruby
davidbug has joined #ruby
<shevy> Linell #ruby-lang is where the pros hang out
mengu has quit []
<rpag> shit i'm not pro then :(
<canton7> just /join #ruby-lang. instance pro :)
<canton7> *instant
Takle has quit [Remote host closed the connection]
<havenwood> shoot the moon, #ruby-core
nanashiRei has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
Xeago has quit [Ping timeout: 265 seconds]
<Linell> Gotcha. Sounds like a fun place.
CaptainHeavy has joined #ruby
fijimunkii has joined #ruby
stef204 has joined #ruby
rpag has quit [Remote host closed the connection]
tlarevo has joined #ruby
<ducklobster> When I print out my object I get something like #<MyModule::MyClass:0xobject_id @properties ...>
<havenwood> daed: an instance of your object
<ducklobster> Is there a way to get just the #<MyModule::MyClass:0xobject_id> without any of hte properties listed
sepp2k has joined #ruby
<ducklobster> without doing inspect + gsub or something
dron2065 has left #ruby ["Ухожу я от вас (xchat 2.4.5 или старше)"]
<wm3|busy> ducklobster: override inspect
ghr has joined #ruby
<shevy> yum
nevans has quit [Ping timeout: 264 seconds]
<shevy> a duck AND a lobster combined in one!
rpag has joined #ruby
<shevy> when I watch #ruby I often get hungry
<shevy> where is my mozzarella
<shevy> aah yes there he is
<rpag> angry.. why?
<benzrf> lobsduck
<shevy> who is angry
anaeem1_ has joined #ruby
tagrudev has quit [Remote host closed the connection]
mrsolo has joined #ruby
<Xeago_> lobsduck
<Xeago_> definitely
rshetty has joined #ruby
<rpag> oh sorry
<rpag> misread :)
Xeago_ is now known as Xeago
lolmaus has quit [Quit: Konversation terminated!]
nanashiRei has joined #ruby
mrsolo has quit [Client Quit]
Takle has joined #ruby
<shevy> yes
<shevy> hungry, not angry
<shevy> or hungary if we agree on both hungry and angry
ghr has quit [Ping timeout: 256 seconds]
<j2p2> hangry
dkb20k has joined #ruby
<benzrf> hungary isnt hungary anymore
<benzrf> since it ate turkey
Hanmac has joined #ruby
<j2p2> *rimshot*
<havenwood> >> class MyClass; def inspect; "#<#{self.class}:#{(self.object_id / 2).to_s(16)}>" end end; p MyClass.new
<eval-in__> havenwood => #<MyClass:10929342> ... (https://eval.in/215283)
<havenwood> ducklobster: ^
danijoo has quit [Read error: Connection reset by peer]
<havenwood> eww, i messed up the object_id
<shevy> you noooob!
jenrzzz has joined #ruby
* havenwood sulks
danijoo has joined #ruby
<shevy> even though you used three red cross # operators
kyb3r_ has joined #ruby
alex88 is now known as great
great is now known as wow
gsd has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
ZucchiniZe has joined #ruby
<havenwood> >> class MyClass; def inspect; "#<#{self.class}:0x#{(self.object_id / 2).to_s(16)}>" end end; puts MyClass.new
<eval-in__> havenwood => #<MyClass:0x407b8c80> ... (https://eval.in/215287)
ndrei has joined #ruby
<shevy> why is this divided by 2 ?
<havenwood> >> RUBY_VERSION
<eval-in__> havenwood => "2.1.3" (https://eval.in/215290)
<havenwood> err, that's not what i want, arch
jenrzzz has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
<havenwood> >> Config::CONFIG['arch']
<eval-in__> havenwood => /tmp/execpad-6a1be63d89f4/source-6a1be63d89f4:2:in `<main>': Use RbConfig instead of obsolete and deprecated Config. ... (https://eval.in/215291)
<havenwood> >> RbConfig::CONFIG['arch']
<eval-in__> havenwood => "i686-linux" (https://eval.in/215292)
<havenwood> didn't take into account 32-bit
arya_ching has joined #ruby
jasooon has joined #ruby
<havenwood> shevy: I dont know why they did it that way actually.
<havenwood> shevy: maybe to make it shorter? :O
dmuff has joined #ruby
paulfm has quit []
jjasonclark has joined #ruby
momomomomo has quit [Quit: momomomomo]
<shevy> I am confused
t_mmyv has quit [Quit: Textual IRC Client: www.textualapp.com]
max96at is now known as max96at|off
<Hanmac> shevy: hm rwx might require "-std=c++11" ... i think my users might need to deal with it ...
<shevy> Hanmac hehe
<rpag> Hanmac, no one writes GUI apps in ruby anyway :P
<Hanmac> rpag: i will do it ;P
<rpag> i think its largely because ruby isn't available nevermind rubygems and any dependencies you got
<shevy> rpag I use ruby-gnome!
<rpag> shevy, sure but when it comes to distribution it falls down
<shevy> probably
<shevy> but I am not concerned about that
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> I can bundle up everything into one fat tarball right?
Ulrike_Rayne is now known as Private_Uli
<shevy> the thing that handicaps me more is the API
<rpag> if you've got C extensions then nope
<shevy> what C extension would I need
<shevy> I use ruby :)
<rpag> ruby-gnome?
<shevy> ah you mean for compiling them?
dkb20k has quit [Ping timeout: 265 seconds]
<rpag> yeah
<shevy> good poin
<shevy> *t
<Hanmac> rpag: distribution also have ruby gems as precompiled packages
treehug88 has joined #ruby
chrishough has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
<rpag> you could precompile yeah, but it's not a very developed science imo
elaptics is now known as elaptics`away
<rpag> its easier to use C/C++/<other compiled lang> if you want to be able to easily distribute it to users/customers
<rpag> rubymotion/ironruby may be the exceptions
jasooon has quit [Ping timeout: 255 seconds]
elaptics`away is now known as elaptics
rippa has joined #ruby
<Hanmac> rpag i mean precompiled in the meaning of this: https://packages.debian.org/sid/ruby-gnome2
paulfm has joined #ruby
<shevy> that page does not wanna load Hanmac
<shevy> oh now it did
<rpag> yeah if you target linux then its easier
<rpag> loads fine here
benzrf is now known as benzrf|offline
bal has quit [Quit: bal]
<shevy> Hanmac do you use these bindings?
bal has joined #ruby
<Hanmac> shevy hm no, but they are interesting to a point ... (i prefer writing my own one with rwx)
troyready has joined #ruby
nevans has joined #ruby
Takle has quit [Remote host closed the connection]
mimo_m has left #ruby [#ruby]
baroquebobcat has joined #ruby
Takle has joined #ruby
mrsolo has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jjasonclark has quit [Quit: jjasonclark]
banister has joined #ruby
crazydiamond has quit [Ping timeout: 244 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
mrsolo has quit [Client Quit]
sk87 has joined #ruby
marienz has joined #ruby
arya_ching has quit [Read error: Connection reset by peer]
seanosaur has joined #ruby
amundj has quit [Ping timeout: 258 seconds]
arya_ching has joined #ruby
Timgauthier has joined #ruby
<foureight84> what do you guys recommend using on your dev env to reload ruby code if you have unicorn and nginx running? i'm trying to get rerun to send HUP signal but doesn't seem to be working. rerun -s HUP "unicorn -D -c /var/www/ruby/unicorn.rb -E development"
apeiros has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
rkalfane has joined #ruby
snath has joined #ruby
dseitz has quit [Quit: nap sounds good]
Lewix has joined #ruby
lmickh has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
CaptainHeavy has quit [Remote host closed the connection]
danijoo_ has joined #ruby
mrsolo has joined #ruby
o0oo0o has joined #ruby
aspires has joined #ruby
dmuff has quit [Quit: This computer has gone to sleep]
govg has joined #ruby
jfran has joined #ruby
rafadc has joined #ruby
D9 has joined #ruby
govg is now known as Guest6965
Guest6965 has quit [Client Quit]
nateberkopec has joined #ruby
govg_ has joined #ruby
troulouliou_dev has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
amaterasu48 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noop has quit [Ping timeout: 265 seconds]
mahtennek has joined #ruby
<pontiki> i don't use either of those in dev/test :/
hololeap has joined #ruby
momomomomo has joined #ruby
<hololeap> i want to have a "rescue" clause that matches multiple exception classes and for each one passes the exception to the variable "e"
mahtennek has quit [Client Quit]
Jarboe has joined #ruby
<hololeap> how would i write this?
Juanchito has quit [Quit: Connection closed for inactivity]
<hololeap> is it `rescue ExceptionOne, ExceptionTwo, ExceptionThree => e`
amaterasu48 has left #ruby [#ruby]
<hololeap> or is it `rescue ExceptionOne => e, ExceptionTwo => e, ExceptionThre => e`
foureight84 has quit [Ping timeout: 246 seconds]
seanosaur has quit [Read error: Connection reset by peer]
icebourg has joined #ruby
ghostmoth has joined #ruby
seanosaur has joined #ruby
icebourg has quit [Client Quit]
drkyro has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> the former
ptrrr has joined #ruby
bal has quit [Quit: bal]
ndrei has quit [Ping timeout: 244 seconds]
fmcgeough has quit [Quit: fmcgeough]
danijoo_ has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
spastorino has joined #ruby
danijoo has joined #ruby
ndrei has joined #ruby
CaptainHeavy has joined #ruby
fsapo has joined #ruby
<hololeap> ok, so it's `rescue [ExceptionOne, ExceptionTwo, ...] => variable`?
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkalfane has joined #ruby
<pontiki> no, no brackets
rkalfane has quit [Client Quit]
wow has quit []
Lewix has quit [Remote host closed the connection]
Dude007 has joined #ruby
<hololeap> yeah, i didn't mean literally include the brackets. i just added those to clarify the groups
<pontiki> and look what happened.... :)
gccostabr has joined #ruby
alex88 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<hololeap> also with this code: `class MyClass::Exception < StandardError; class AwesomeError < Exception; end; end`
<hololeap> AwesomeError inherits ::Exception instead of MyClass::Exception
<hololeap> why is that?
<hololeap> this is the first time either class is defined
toertore has quit [Quit: Leaving]
<hololeap> does the class only enter the namespace once it is finished being defined (the end keyword)?
himsin has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
Hobogrammer has joined #ruby
himsin has quit [Client Quit]
dmuff has joined #ruby
bricker`work has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
Private_Uli is now known as Spoopi_Uli
gaussblurinc1 has quit [Quit: Leaving.]
qba73 has quit []
<apeiros> >> module Foo; class Bar; p Foo::Bar; end; end
<eval-in__> apeiros => Foo::Bar ... (https://eval.in/215354)
<apeiros> hololeap: ^
anaeem1_ has quit [Remote host closed the connection]
<eam> apeiros: I think he means the class being inherited from is not evaluated in the current namespace
<eam> that is "class AwesomeError < Exception" inherits from Exception and never the current namespace::Exception
<ducklobster> havenwood: thanks! that looks good
<ducklobster> shevy: don't eat me! http://img01.taobaocdn.com/bao/uploaded/i1/11190589/T2UyN3Xn4aXXXXXXXX_!!11190589.jpg_310x310.jpg
stef204 has joined #ruby
<apeiros> eam: ah
Cache_Money has joined #ruby
<apeiros> hololeap: if you define it the way you showed, then yes, Exception will be ::Exception
Vile` has quit [Read error: Connection reset by peer]
<eam> seems like it shouldn't be that way
<apeiros> if you use `class MyClass; class Exception …` then within that `class MyClass`, Exception will reference MyClass::Exception
<eam> ooooh
<apeiros> eam, hololeap: constant resolution depends on how you entered the lexical context. cf. Module.nesting
razieliyo has quit [Quit: Saliendo]
ghr has quit [Ping timeout: 245 seconds]
<apeiros> >> $debug = []; module Foo; class Bar; $debug << Module.nesting; end; end; class Foo::Bar; $debug << Module.nesting; end; $debug
<eval-in__> apeiros => [[Foo::Bar, Foo], [Foo::Bar]] (https://eval.in/215359)
shredding has quit [Quit: shredding]
jarjar_prime has quit [Quit: Ready? Set? Go!]
<eam> >> class Foo; class Exception; Class Bar < Exception; end; end; end; Foo::Exception::Bar.superclass
<eval-in__> eam => /tmp/execpad-b25926b9e52a/source-b25926b9e52a:3: syntax error, unexpected keyword_rescue, expecting end-of-input ... (https://eval.in/215361)
alex88 has quit []
<apeiros> as you can see, in the former case, both Foo::Bar and Foo are part of the nesting and are searched for constants. in the latter case, only Foo::Bar is part of the nesting and searched for constants.
skolman_ has joined #ruby
gaganjyot has quit [Ping timeout: 255 seconds]
<apeiros> typo, Class instead of class
<eam> ah
<eam> >> class Foo; class Exception; class Bar < Exception; end; end; end; Foo::Exception::Bar.superclass
<eval-in__> eam => Foo::Exception (https://eval.in/215365)
<eam> interesting
jimmyhoughjr has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rafadc has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
ki0 has quit [Ping timeout: 244 seconds]
momomomomo has quit [Quit: momomomomo]
toordog has joined #ruby
tlarevo has quit []
Cache_Money has quit [Quit: Cache_Money]
fabrice31 has quit [Remote host closed the connection]
thagomizer has joined #ruby
shredding has joined #ruby
shazaum has joined #ruby
sk87 has joined #ruby
DrShoggoth has joined #ruby
avril14th has joined #ruby
gccostabr has quit [Quit: See you later!]
ramfjord has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
toretore has joined #ruby
jasooon has joined #ruby
Linell has left #ruby [#ruby]
patric100e99 has joined #ruby
TinkerTyper has quit [Ping timeout: 265 seconds]
<hololeap> Hmmm. is that behavior part of ruby's design or is it an unintended feature?
<benzrf> hololeap: that's just how constant lookup works...
<benzrf> >> bwah = Class.new; class Foo < bwah; end;
<eval-in__> benzrf => nil (https://eval.in/215375)
<benzrf> hm
<benzrf> >> bwah = Class.new; class Foo < bwah; end; Foo.superclass
<eval-in__> benzrf => #<Class:0x41d04ea4> (https://eval.in/215376)
IcyDragon has joined #ruby
<hololeap> i just don't understand it fully. why does it matter if you define it as `class Foo; class Bar` as opposed to `class Foo::Bar`? is there any good resource i can look at that explains this?
<skolman_> Anyone here has a ticket for the ruby conference?
<skolman_> Looking to transfer or cancel
jimmyhoughjr has joined #ruby
kamilc__ has joined #ruby
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nonks has joined #ruby
aspires has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 260 seconds]
aganov has quit [Remote host closed the connection]
aspires has joined #ruby
yfeldblum has joined #ruby
jobewan has joined #ruby
wallerdev has joined #ruby
beneggett has joined #ruby
<wallerdev> anyone in sf
<wallerdev> giants parade hype
patric100e99 has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 256 seconds]
jasooon has quit [Ping timeout: 256 seconds]
Hightower666 has joined #ruby
Hightower666 has quit [Excess Flood]
TinkerTyper has joined #ruby
tlarevo has joined #ruby
jjasonclark has joined #ruby
az7ar has joined #ruby
Hightower666 has joined #ruby
Takle has quit [Remote host closed the connection]
kobain has joined #ruby
rpag has quit [Ping timeout: 265 seconds]
davidbug has quit [Quit: davidbug]
yfeldblum has quit [Ping timeout: 258 seconds]
jjasonclark has quit [Client Quit]
shredding has quit [Quit: shredding]
anarang has quit [Quit: Leaving]
davejlong has joined #ruby
aspires has quit []
sailias has quit [Quit: Leaving.]
oleo is now known as Guest4082
oleo__ has joined #ruby
Guest4082 has quit [Quit: Verlassend]
oleo__ has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
az7ar is now known as az7ar_away
jshultz has joined #ruby
sdwrage has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
az7ar_away is now known as az7ar
deric_skibotn has joined #ruby
Eiam has joined #ruby
momomomomo has joined #ruby
az7ar is now known as az7ar_away
carraroj has joined #ruby
t_mmyv has joined #ruby
i_s has joined #ruby
rafadc has joined #ruby
jgrevich has joined #ruby
aspires has joined #ruby
xymbol has joined #ruby
Takle has joined #ruby
olivier_bK has quit [Ping timeout: 264 seconds]
avril14th has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
dANO_ has quit []
himsin has joined #ruby
davejlong has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
Channel6 has joined #ruby
benzrf is now known as benzrf|offline
Takle has quit [Remote host closed the connection]
danijoo has joined #ruby
Takle_ has joined #ruby
aspires has quit []
jenrzzz has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
momomomomo has quit [Quit: momomomomo]
danijoo has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
danijoo has joined #ruby
Xeago has quit [Remote host closed the connection]
JBreit has joined #ruby
oleo__ has joined #ruby
byprdct has joined #ruby
lemur has quit [Remote host closed the connection]
oleo__ is now known as oleo
ariera_ has quit []
mrsolo has joined #ruby
lemur has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
Hijiri has joined #ruby
rafadc has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
doug1 has joined #ruby
himsin has quit [Quit: himsin]
arup_r has joined #ruby
x1337807x has joined #ruby
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
iamjarvo has joined #ruby
Norrin has joined #ruby
lemur has quit [Ping timeout: 272 seconds]
seanosaur has quit [Read error: Connection reset by peer]
seanosaur has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
doug1 has quit [Ping timeout: 265 seconds]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troulouliou_dev has quit [Quit: Leaving]
D9 has quit [Quit: Leaving]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
psy_ has joined #ruby
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
zB0hs has joined #ruby
sk87 has joined #ruby
sk87 has quit [Client Quit]
emmesswhy has joined #ruby
dumdedum has quit [Quit: foo]
allcentury has quit [Ping timeout: 264 seconds]
kireevco has quit [Read error: Connection reset by peer]
terlar has quit [Quit: WeeChat 1.0.1]
larissa has quit [Quit: Leaving]
theotherstupidgu has joined #ruby
aspires has joined #ruby
mityaz has quit [Quit: Leaving]
kireevco has joined #ruby
benzrf|offline is now known as benzrf
rshetty has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
Dude007 has quit [Remote host closed the connection]
psy_ has quit [Ping timeout: 256 seconds]
beneggett has quit [Ping timeout: 265 seconds]
larissa has joined #ruby
beneggett has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jusmyth has joined #ruby
bricker`1ork has joined #ruby
joonty has quit [Quit: Leaving]
adriancb has joined #ruby
mfmfmfmfmfmf has joined #ruby
sailias has joined #ruby
kt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`work has quit [Ping timeout: 256 seconds]
elcuervo has quit [Ping timeout: 245 seconds]
jheg has quit [Quit: jheg]
iamjarvo has joined #ruby
maletor has joined #ruby
jusmyth has quit [Ping timeout: 258 seconds]
ghr has joined #ruby
avelldiroll has quit [Quit: WeeChat 0.3.8]
hackeron has quit [Ping timeout: 244 seconds]
tier has joined #ruby
hackeron has joined #ruby
bricker`1ork is now known as bricker
louism2wash has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
<louism2wash> hey guys, how would I pipe a txt file into a ruby script in the command line? I am using 'file.txt | ruby_file.rb' and inside my ruby_file I am reading from stdin. However I get the message that 'ruby_file.rb command cannot be found'
<louism2wash> thanks
Pupeno_ has joined #ruby
yetanotherdave has joined #ruby
mikepack has joined #ruby
aef has quit [Remote host closed the connection]
anaeem1 has joined #ruby
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
<bricker> I'm getting EINVAL - Invalid Argument when trying FileUtils.chown("somebody", "something", "/path/to/some/file.png"), has anybody seen this before?
Takle has joined #ruby
Takle_ has quit [Read error: Connection reset by peer]
kaspergr_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
kaspergrubbe has joined #ruby
DrShoggoth has quit [Quit: Leaving]
<jhass> louism2wash: either add a shebang and mark the script as executable or use | ruby ruby_file.rb
<bricker> I get it when running the command in bash too
icarus has joined #ruby
PierreRambaud has quit [Quit: Quitte]
timonv_ has quit [Remote host closed the connection]
Hobogrammer has quit [Read error: Connection reset by peer]
<bricker> oh, it has to do with the NFS mount
<louism2wash> awesome, thanks guys
ptrrr has quit [Quit: ptrrr]
noop has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
chthon has quit [Ping timeout: 265 seconds]
nonks has quit [Ping timeout: 246 seconds]
ramfjord has quit [Quit: Lost terminal]
Dude007 has joined #ruby
Pupeno_ has quit [Ping timeout: 265 seconds]
jottr_ has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jasooon has joined #ruby
mkaesz has quit [Quit: Leaving...]
beneggett has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arya_ching_ has joined #ruby
elfuego has joined #ruby
avelldiroll has joined #ruby
Kricir has quit [Remote host closed the connection]
<elfuego> how do I escape a string in a variable?
fabrice31 has joined #ruby
arya_ching has quit [Ping timeout: 265 seconds]
Kricir has joined #ruby
<jhass> elfuego: "escape"?
<elfuego> I am storing a directory location in the variable e.g. /var/lib/app elfuego
nonks has joined #ruby
Vile` has joined #ruby
<elfuego> jhass:
arya_ching_ is now known as arya_ching
<jhass> and?
Pupeno_ has joined #ruby
<kireevco> elfuego: why do you need to escape it?
<jhass> escape it how even?
jasooon has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Remote host closed the connection]
louism2wash has quit [Quit: This computer has gone to sleep]
dmuff has left #ruby ["Leaving"]
<j2p2> oh
dmuff has joined #ruby
<j2p2> use "'s
<j2p2> and do \
<j2p2> wait you shouldn't need that for that slash
<j2p2> ignore me
<dmuff> Im having problems installing nokogiri
<j2p2> what kind of problems
<elfuego> when I put it as a string literial in the code it works fine, but when I read the directory location from an environment variable the code doesn’t work
<dmuff> getting "libxml2 is missing"
<dmuff> anyone had this before? seems like a common problem
fabrice31 has quit [Ping timeout: 250 seconds]
<elfuego> I am totally new to ruby, but the concept is the same for other programming languages jhass kireevco
Takle has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 272 seconds]
<jhass> elfuego: "doesn't work"
Kricir has quit [Ping timeout: 256 seconds]
<jhass> you claim to be a programmer, you can do better than that
mrsolo has quit [Read error: Connection reset by peer]
<jhass> dmuff: well, do you have libxml2 and its dev headers installed?
_2_yoursexylover has joined #ruby
gaganjyot has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
<jhass> elfuego: and no, "escape" is not a well defined operation, it heavily depends on the target context
drkyro has joined #ruby
<apeiros> prisons!
neoxquick has joined #ruby
iamjarvo has quit [Remote host closed the connection]
<apeiros> though, isn't that a source context?
Kricir has joined #ruby
<jhass> well, it has an implied target context
toordog has quit [Ping timeout: 244 seconds]
_2_yoursexylover has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
danjordan has quit [Quit: danjordan]
jokke has quit [Quit: WeeChat 1.0.1]
<dmuff> jhass: yes I think so
sepp2k has quit [Quit: Konversation terminated!]
Takle has joined #ruby
ringaring has quit [Quit: Leaving]
jokke has joined #ruby
sailias has quit [Quit: Leaving.]
<Areessell> Is there a difference between a format and an encoding?
<apeiros> is there anything similar between format and encoding?
bluOxigen has joined #ruby
<dmuff> Ive tried to install, specifying the path using --with-xml2-include
blueOxigen has quit [Ping timeout: 256 seconds]
AlSquirrel has quit [Quit: This computer has gone to sleep]
allcentury has joined #ruby
<Areessell> I don't really know. Is transforming data like { first: 'John', last: 'Doe' } into a string such as "john.doe" referred to encoding or formatting?
chrishough has joined #ruby
<jhass> certainly not encoding
blueOxigen has joined #ruby
<fenak> Areessell: I don't know if it would be corret saying a Hash -> String is a formatting too.
<apeiros> Areessell: that's called serialization or marshalling
sailias has joined #ruby
Takle has quit [Ping timeout: 256 seconds]
<apeiros> fenak: IMO no, that's not formatting. formatting is something you do with scalar -> scalar. most often string -> string.
o0oo0o has joined #ruby
<fenak> Areessell: maybe a transformation or a kind of convertion? lol
<benzrf> serialization
<fenak> oops.. should have directed for apeiros
<dmuff> I have verified that all these paths exist
sailias has quit [Client Quit]
AlSquirrel has joined #ruby
<wallerdev> thats quite the install command lol
<fenak> benzrf: with a serialization i should be able do reconstruct the same object deserializing it, no?
sinequanon has joined #ruby
havenwood has quit [Remote host closed the connection]
<Areessell> That might not always be the case.
<Areessell> For example, base64
AlSquirrel has quit [Remote host closed the connection]
rubyonrailed has joined #ruby
<apeiros> base64 is a case of encoding
bluOxigen has quit [Ping timeout: 264 seconds]
AlSquirrel has joined #ruby
<fenak> exactly
IcyDragon is now known as IceDragon
moritzschaefer has joined #ruby
<apeiros> not formatting, not serialization
<fenak> i wouldnt call that serialization, since i'm losing information and therefore cannot reconstruct this over the wire..
<apeiros> for a base64 encoding, you already need your data serialized
<Areessell> Here's where I get confused. I've seen data formats, data encodings, file formats, and file encodings.
<dmuff> yea, its ridiculously long lol
rafadc has joined #ruby
<fenak> apeiros: could we call it conversion?
Lewix has quit [Remote host closed the connection]
AlSquirrel has quit [Client Quit]
<rubyonrailed> I need some help with hashes. I have a hash that looks like this: {14=>1, 12=>1} But the keys and values will always be different and could have more. How do I grab them in pairs, for example; I want the key 14 and value 1 and want to be able to use them in my program
<fenak> not quite right either.. lol..
<Areessell> For example, WAV files are RIFF files which is a binary format/encoding, holding chunks of Hash-like data. One of the chunks has the audio data. But this audio data is also formatted/encoded in LPCM, 32-bit floats, etc.
o0oo0o has quit [Ping timeout: 246 seconds]
<Areessell> Is the file a format and the audio data an encoding? Are they the same? Or both a case of serialzation?
<Areessell> It's damn confusing
moritzs has quit [Ping timeout: 245 seconds]
Dude007 has quit [Remote host closed the connection]
<pontiki> okay, i'm now adding codecs to the list of things i hate
sailias has joined #ruby
<pontiki> timezones, character sets, and codecs
jokke has quit [Quit: WeeChat 1.0.1]
<Areessell> Pretty spot on list
<fenak> rubyonrailed: you could iterate it with each |k, v| or each_pair
<fenak> rubyonrailed: with each_pair you have an array of [key, value] for each iteration
<rubyonrailed> Thanks
jokke has joined #ruby
awarner_ has quit [Ping timeout: 244 seconds]
awarner has joined #ruby
emmesswhy has quit [Quit: Leaving]
francisfish has quit [Remote host closed the connection]
awarner has quit [Client Quit]
nonks has joined #ruby
Hijiri has quit [Ping timeout: 256 seconds]
tvw has quit []
carraroj has joined #ruby
hmsimha_ has quit [Ping timeout: 264 seconds]
reinaldob has quit [Remote host closed the connection]
Takle has joined #ruby
fenak has quit [Remote host closed the connection]
skolman_ has quit [Ping timeout: 264 seconds]
rj46 has joined #ruby
Guest71350 has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
nonks has quit [Ping timeout: 246 seconds]
davejlong has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy_ has joined #ruby
<rj46> hi, can you look at https://gist.github.com/robinloop/a04195353c255933dd8e , its may be related to rbenv but I am stuck, tried few ruby version, no similar jekyll issue on the intermet ;/
Timgauthier has joined #ruby
kaspergrubbe has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
fenak has joined #ruby
danijoo has joined #ruby
rkalfane has joined #ruby
dcopeland has joined #ruby
alem0lars is now known as alem0lars|away
fenak has quit [Client Quit]
carraroj has quit [Quit: Konversation terminated!]
rafadc has quit [Remote host closed the connection]
graydot has joined #ruby
cndiv has joined #ruby
benzrf is now known as benzrf|offline
Hobogrammer has joined #ruby
shazaum has quit [Quit: Leaving]
chrishough has quit [Ping timeout: 272 seconds]
j_mcnally has joined #ruby
rafadc has joined #ruby
ghr has joined #ruby
sdwrage has quit [Quit: Leaving]
fenak has joined #ruby
jtdowney has joined #ruby
chrishough has joined #ruby
jtdowney has quit [Max SendQ exceeded]
jtdowney has joined #ruby
revoohc has joined #ruby
ptrrr has joined #ruby
jtdowney has quit [Max SendQ exceeded]
cleopatra has joined #ruby
jtdowney has joined #ruby
Timgauthier is now known as timgauthier_away
cleopatra has quit [Client Quit]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtdowney has quit [Max SendQ exceeded]
ghr has quit [Ping timeout: 256 seconds]
jtdowney has joined #ruby
jtdowney has quit [Client Quit]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xymbol has quit [Quit: Be back later ...]
yfeldblum has joined #ruby
dkphenom has joined #ruby
<dmuff> i hate nokogiri
moritzschaefer has quit [Ping timeout: 265 seconds]
<daxroc> How can I show paths in a Dir.glob with weird control chars ?
AlSquirrel has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<daxroc> Dir.glob("**/*.{html,css,js}").each { |f| f.forceencode? }
jaequery has joined #ruby
momomomomo has joined #ruby
dmuff has quit [Quit: Leaving]
danijoo has joined #ruby
rafadc has quit []
jottr_ has quit [Ping timeout: 245 seconds]
altamic has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
<jhass> daxroc: what?
<daxroc> when I put the contents of that glob out to screen I'm gettign \n in strange places
<daxroc> * bar the .each
<rubyonrailed> How do I check how many of the same values are in an array?
<jhass> try .each {|f| p f }
<jhass> daxroc: ^
<jhass> rubyonrailed: Array#count
<rubyonrailed> cool thanks
<pontiki> daxroc: what is forceencode? method?
<daxroc> File paths will break mid name, blank likes etc
reinaldob has joined #ruby
<daxroc> force_encode("utf-8")
<pontiki> oh
<jhass> encodings have little to do with control chars
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<daxroc> Yeah, was a previous check. Not sure how they got there o.
bigkevmcd has quit [Quit: Outta here...]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
patric100e99 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
rkalfane has joined #ruby
triple_b has joined #ruby
renderful has quit [Remote host closed the connection]
mike32 has quit [Quit: Leaving]
jasooon has joined #ruby
rkalfane has quit [Client Quit]
Soda has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Neozonz has quit [Read error: Connection reset by peer]
Neozonz has joined #ruby
Neozonz has quit [Changing host]
Neozonz has joined #ruby
patric100e99 has quit [Ping timeout: 245 seconds]
jottr_ has joined #ruby
wm3|busy has quit [Ping timeout: 244 seconds]
visof has joined #ruby
jenrzzz has joined #ruby
Alina-malina has quit [Ping timeout: 245 seconds]
jottr_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
michaeldeol has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
carraroj has joined #ruby
sigurding has joined #ruby
porfa has quit [Quit: porfa]
jasooon has quit [Ping timeout: 258 seconds]
psyprus has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 256 seconds]
sanguisdex has quit [Quit: Leaving.]
sanguisdex1 has joined #ruby
Tricon has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has joined #ruby
Tricon has quit [Remote host closed the connection]
JBreit has quit [Read error: Connection reset by peer]
Biohazard has joined #ruby
mikecmpbll has joined #ruby
jottr_ has joined #ruby
arup_r has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 265 seconds]
nonks has joined #ruby
postmodern has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
jxf has joined #ruby
danijoo has joined #ruby
mfmfmfmfmfmf has joined #ruby
blackmesa has joined #ruby
allcentury has joined #ruby
JBreit has joined #ruby
renderful has joined #ruby
reinaldob has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.0.1]
xymbol has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danijoo has joined #ruby
dkb20k has joined #ruby
arya_ching has quit [Read error: Connection reset by peer]
altamic has quit [Quit: altamic]
sepp2k has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
Pupeno_ has quit [Read error: Connection reset by peer]
weirdpercent has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
adriancb has quit [Remote host closed the connection]
drkyro has quit [Quit: Textual IRC Client: www.textualapp.com]
byprdct has quit [Read error: Connection reset by peer]
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
Timgauthier is now known as timgauthier_away
dkb20k has quit [Ping timeout: 256 seconds]
Hightower666 has quit [Ping timeout: 255 seconds]
mfmfmfmfmfmf has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claymore has joined #ruby
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
aspires has quit []
jxf has quit [Ping timeout: 244 seconds]
Dude007 has joined #ruby
psyprus has joined #ruby
byprdct has joined #ruby
himsin has joined #ruby
JBreit has left #ruby ["Leaving"]
himsin has quit [Client Quit]
hamakn_ has quit [Remote host closed the connection]
himsin has joined #ruby
himsin has quit [Client Quit]
sinkensabe has joined #ruby
msmith has quit [Remote host closed the connection]
Dude007 has quit [Ping timeout: 256 seconds]
nonks has joined #ruby
jottr has joined #ruby
jottr has quit [Client Quit]
jottr has joined #ruby
thumpba has joined #ruby
Hijiri has quit [Ping timeout: 265 seconds]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wald0 has quit [Quit: Lost terminal]
jottr_ has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
hamakn has joined #ruby
freerobby has quit [Quit: Leaving.]
jxf has joined #ruby
moritzschaefer has joined #ruby
mistermocha has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
dmtry has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
nonks has quit [Ping timeout: 246 seconds]
prasselpikachu has quit [Ping timeout: 265 seconds]
Kilo`byte has quit [Ping timeout: 265 seconds]
momomomomo_ has joined #ruby
Hijiri has joined #ruby
lsmola_ has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
moritzschaefer has quit [Remote host closed the connection]
havenwood has joined #ruby
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
dblessing has joined #ruby
weirdpercent has quit [Quit: Leaving]
cndiv has quit [Ping timeout: 244 seconds]
m8 has joined #ruby
russt has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
<ducklobster> I am seeing that modifying a value in an #each loop does not affect the original input, however, modifying a subvalue does
dmtry is now known as dab
<ducklobster> can anyone point me to what the scoping rules are for this type of thing?
<ducklobster> and is the solution to do something like a.dup.each ...
crazydiamond has joined #ruby
Areessell has quit [Quit: (null)]
<jhass> ducklobster: v is a local variable, you assign the local variable a new value, that's all
<eam> what kind of escaping?
<eam> whoops, mischan
dab has quit [Quit: WeeChat 1.0.1]
thumpba has quit [Ping timeout: 260 seconds]
<Sou|cutter> ducklobster: that's... not scoping really
<jhass> ducklobster: whereas []= is a method call, it happens on the object v points to
<ducklobster> jhass: yes, but in the second example, the value isnt locally changed
<ducklobster> jhass: ohhh
fabrice31 has joined #ruby
n_blownapart has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ducklobster> jhass: that makes sense, i didn't consider []= as a method call but a memory access of sorts
<pipework> ducklobster: Then you'd be wrong.
<jhass> it's a method call, you can even define it for your own objects
<ducklobster> also that #dup solution I presented does not work
Akuma has quit [Remote host closed the connection]
<Sou|cutter> what are you trying to do?
nonks has joined #ruby
<ducklobster> Basically make anything I do in the #each loop immutable
jasooon has joined #ruby
thumpba has joined #ruby
<ducklobster> I mean now that I know about the scoping and []= I can avoid it
<jhass> yeah, chances are Enumerable, Hash or Array provide better means for what you're actually trying to do than assigning inside an each loop
<Sou|cutter> if the v object is mutable, you just have to avoid doing things that mutate it
Akuma has joined #ruby
<ducklobster> thanks for the help guys!
<Sou|cutter> just because you have a reference to it within the block doesn't mean you have a whole separate object. It's a variable pointing to the same object
freezey has joined #ruby
fenak has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
<ducklobster> yeah, I am a bit fuzzy on when things are references and when they are their own ownject
<ducklobster> object*
<jhass> it's always the same
<rj46> if kernel is hardened grsec/pax and i use RBEnv to start e.g jekyll serve should I add pax flags to ~/.rbenv/ruby-version
<jhass> variables and parameters are always references
<rj46> and its gems ?
prasselpikachu has joined #ruby
fenak has joined #ruby
maestrojed has quit [Ping timeout: 255 seconds]
Akuma has quit [Client Quit]
michaeldeol has joined #ruby
<ducklobster> by parameters you mean those passed to a method?
Kilo`byte has joined #ruby
<jhass> or those passed to a block
jasooon has quit [Ping timeout: 240 seconds]
<jhass> the only difference between locals and parameters is where their definitions are, so it's actually not even a very useful distinction in ruby
moritzschaefer has joined #ruby
<jhass> in fact local_variables returns params too
Dude007 has joined #ruby
klaut has joined #ruby
<apeiros> params are locals
kireevco has quit [Quit: Leaving.]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rshetty has joined #ruby
<ducklobster> i see
blasius has joined #ruby
klaut_ has quit [Ping timeout: 265 seconds]
<apeiros> the only thing in code which are "their own object" are literals
byprdct_ has joined #ruby
danman has joined #ruby
fenak has quit [Remote host closed the connection]
byprdct has quit [Ping timeout: 272 seconds]
sinkensabe has quit [Remote host closed the connection]
Akuma has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has quit [Read error: Connection reset by peer]
o0oo0o has joined #ruby
klaut has joined #ruby
anaeem1 has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
thebastl has joined #ruby
fenak has joined #ruby
<thebastl> hi any advise on a gui toolkit for ruby?
gregf has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
phutchins has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 272 seconds]
<thebastl> i already googled ;) everythings seems inactive or not worth the time
jrdnull has quit [Ping timeout: 250 seconds]
benzrf is now known as benzrf|offline
o0oo0o has quit [Ping timeout: 246 seconds]
spstarr has joined #ruby
livingstn has quit []
<spstarr> How to split a string if there is a numeric value in it?
<spstarr> ie: "Level2".split(...)
<spstarr> so split string if there is a number
<spstarr> regex
<jhass> /\d/ ?
bricker has quit [Ping timeout: 245 seconds]
momomomomo has quit [Ping timeout: 258 seconds]
<j2p2> ^
codecop has quit [Remote host closed the connection]
<soahccc> scan if you would like to keep the actual number
thebastl has quit [Quit: Leaving]
<j2p2> thebast1 there is 'shoes'
<j2p2> you have to run it in kind of its own environment for it to work though
Spoopi_Uli is now known as Draculrike
shazaum has joined #ruby
carraroj has left #ruby ["Konversation terminated!"]
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
<spstarr> well, the result should be str = "level2".split(/\d/)
<spstarr> str[0] = 'level', str[1] = '2'
ptrrr has quit [Quit: ptrrr]
<spstarr> str = "level2".split(/\d/) puts str <-- shows only 'level'
riceandbeans has quit [Quit: leaving]
<spstarr> so str is not showing both parts of split
anaeem1 has joined #ruby
byprdct has joined #ruby
<spstarr> or use .scan()?
levity_island has joined #ruby
blasius has quit []
bricker`work has joined #ruby
byprdct_ has quit [Ping timeout: 256 seconds]
<spstarr> str = "level2".scan(/\d+|[A-Za-z]+/)
chrishough has quit [Ping timeout: 244 seconds]
larissa has quit [Quit: Leaving]
riceandbeans has joined #ruby
chrishough has joined #ruby
rodfersou has quit [Quit: leaving]
fenak has quit [Ping timeout: 256 seconds]
<siwica> what do you think would be the benefits of ruby over python?
red_horned_rihno has quit [Ping timeout: 244 seconds]
cndiv has joined #ruby
lsmola has joined #ruby
red_horned_rihno has joined #ruby
jxf has quit [Ping timeout: 255 seconds]
<havenwood> siwica: chunky bacon and foxes whilst saving two letters
<apeiros> your resume is 2 chars shorter
<apeiros> ^5 havenwood
<havenwood> apeiros: hehe :)
<j2p2> also you can say "look at this gem" and people won't hate you
<riceandbeans> ruby is cleaner and easier to read
gaganjyot has quit [Quit: Leaving]
tlarevo has quit [Remote host closed the connection]
<havenwood> fewer snakes
<apeiros> no issues with "python 3000 vs. python 2"
<riceandbeans> yeah but ruby breaks on minors
<riceandbeans> that's a stupid argument
<riceandbeans> 1.8 -> 1.9
<apeiros> riceandbeans: so what? it's still "use the newest ruby" :-p
Draculrike is now known as Spoopi_Uli
<riceandbeans> 2.0-> 2.1
tlarevo has joined #ruby
<havenwood> riceandbeans: 1.8 is dead, live in the now!
<apeiros> riceandbeans: also, "breaks on minors" is a stupid argument
<apeiros> 1.8-2.1 were not semver
<riceandbeans> breaking on major revisions is less bad than breaking on minor revisions
Spoopi_Uli is now known as Draculrike
<j2p2> can't you see what's going on? that's a python spy trying to tear us apart
<apeiros> so it's utterly pointless to point at digit position.
<riceandbeans> that makes us look worse
BackEndCoder is now known as SpookyEndCoder
<j2p2> and cause infighting
Lewix has joined #ruby
<riceandbeans> I don't like python, but that's a bad arguing point for ruby is all I'm saying
<j2p2> :p
<apeiros> riceandbeans: the point is only valid if the project actually says it's semver. which ruby explicitly did not. baseless argument.
<havenwood> riceandbeans: that's talking about a pre-semantic versioning version of Ruby that the community has agreed to leave in the dust though. better than the python 2/3 debacle by a stretch i think.
chrishough has quit [Ping timeout: 264 seconds]
<riceandbeans> no it's not
<apeiros> yes it is.
<riceandbeans> 2.0 -> 2.1 had the same issues
<riceandbeans> but not as extreme
<apeiros> 2.0 was not semver either
yfeldblum has joined #ruby
<riceandbeans> hell 1.9.1 to 1.9.3 broke things
<apeiros> I guess that's a difficult to understand thing…
KC9YDN has joined #ruby
spyderman4g63 has quit []
<havenwood> riceandbeans: 1.9.1 wasn't a stable release
<havenwood> riceandbeans: ever
anaeem1 has quit [Read error: Connection reset by peer]
<apeiros> yeah, I see, you don't understand that there are other schemes than semver. good thing I have no intention talking to walls.
anaeem1_ has joined #ruby
maletor has joined #ruby
tlarevo has quit [Ping timeout: 256 seconds]
sinequanon has quit [Remote host closed the connection]
<havenwood> riceandbeans: Starting with Ruby 2.1.0 it's semantic versioning going forward. *In the past* the Ruby 1.9.1 was not a stable release, 1.9.2 and 1.9.3 were by many seen as a kind of release candidate for 2.0.0. Now we're in better days, where things are semantically versioned and the older versions have expiry dates approaching.
jenrzzz has joined #ruby
nonks has joined #ruby
jaequery has joined #ruby
ghr has joined #ruby
jaequery has quit [Max SendQ exceeded]
<havenwood> riceandbeans: Point just being that there's a nice clean optimistic path forward. Things weren't perfect but they've gotten better and better to the point that we have a clear path out of the muck.
anaeem1_ has quit [Remote host closed the connection]
<havenwood> riceandbeans: Python is well-mired.
jaequery has joined #ruby
n_blownapart has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
ldnunes has quit [Quit: Leaving]
chrishough has joined #ruby
sinequanon has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
davejlong has quit []
<havenwood> siwica: what now, benefits of emacs over vim?!? :P
anaeem1 has joined #ruby
fsapo has quit [Remote host closed the connection]
<siwica> havenwood: no need for discussion there
ghr has quit [Ping timeout: 250 seconds]
<siwica> clear win for the first candidate ;)
TeresaP has joined #ruby
<apeiros> is preemptive banning ethical? :)
jxf has joined #ruby
zB0hs has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<TeresaP> Me? o_O
j_mcnally has joined #ruby
anaeem1 has quit [Remote host closed the connection]
elfuego has left #ruby [#ruby]
aspires has joined #ruby
<apeiros> TeresaP: you what? preemptive banning? no, havenwood, for inciting editor flamewars ;-)
sinequanon has quit [Remote host closed the connection]
<TeresaP> apeiros I thought you were talking about banning me for some reason, haha
<TeresaP> I just joined
jaequery has quit [Ping timeout: 250 seconds]
<apeiros> ah well, yes, banning innocent recent joiners is a hobby of mine.
adriancb has joined #ruby
sigurding has quit [Quit: sigurding]
aspires has quit [Client Quit]
russt has quit [Quit: russt]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
<siwica> recent joiners who don't introduce themselves and contribute a good joke or poem will be banned without prior notification!
Danibal has quit []
<TeresaP> lol you never know
<siwica> you have 5 minutes ;)
<apeiros> siwica: you ruined it! you gave prior notification!
aspires has joined #ruby
<siwica> I thought I make an exception as the rule is fairly new
<apeiros> new? I'm doing this for half a century now…
<siwica> contributing poems?
fred-inRio has joined #ruby
<TeresaP> haha
fmcgeough has quit [Quit: fmcgeough]
renderful has quit [Remote host closed the connection]
renderful has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
seanosaur has quit []
freerobby has joined #ruby
<riceandbeans> I would rather use perl and ruby over python any day
shazaum has quit [Quit: Leaving]
fenak has joined #ruby
<havenwood> Knock knock.
aspires has quit []
kireevco has quit [Read error: Connection reset by peer]
<apeiros> who's there?
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> To
<apeiros> to who?
<havenwood> To whom**
<apeiros> to whom?
<havenwood> Oh, that's the whole joke. :(
<TeresaP> Sorry for the newbie question, but how does one Extend a class? Someone asked me specifically to "extend" it which I thought was reserved for modules.
<havenwood> Just pedantic. >.>
<apeiros> oh :(
<apeiros> I don't get it :-|
jasooon has joined #ruby
Neozonz has quit [Ping timeout: 258 seconds]
<apeiros> TeresaP: every object can be extended. see Object#extend
<havenwood> I think I just shouldn't tell jokes. That's the typical reception.
xymbol has quit [Quit: Be back later ...]
KC9YDN has quit [Remote host closed the connection]
<apeiros> >> module Demo; def demo; "demo!"; end; end; o = Object.new; o.extend Demo; o.defmo
<eval-in__> apeiros => undefined method `defmo' for #<Object:0x40b18d94> (NoMethodError) ... (https://eval.in/215559)
<apeiros> >> module Demo; def demo; "demo!"; end; end; o = Object.new; o.extend Demo; o.demo
<eval-in__> apeiros => "demo!" (https://eval.in/215560)
Dude007 has quit [Remote host closed the connection]
<havenwood> ah, 2.1.4 docs are up now, nice
jhwhite has quit [Quit: jhwhite]
Vile` has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
bluenemo has quit [Quit: Verlassend]
<siwica> I am still puzzled about the "joke"?
jaequery has joined #ruby
CaptainHeavy has quit [Remote host closed the connection]
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
<TeresaP> Sorry, but what if there are no modules at all. Both of those examples involved modules.
<havenwood> siwica: To get a person to say "to who?" so you can pretend to be pedantically correcting them with "to whom?", maybe in-person delivery is requisite.
<Hanmac> TeresaP: you can only extend and include Modules, but you can extend that Modules into Classes
elaptics is now known as elaptics`away
<apeiros> TeresaP: maybe the person uses wrong terminology and means subclassing
Vile` has joined #ruby
<apeiros> i.e., class Foo < Bar
devdazed has quit [Read error: Connection reset by peer]
jottr has quit [Read error: Connection reset by peer]
<apeiros> in some languages, that is called "Foo extends Bar". the terminology should be avoided in ruby due to Object#extend's existence
<TeresaP> You're probably right apeiros
revoohc has quit [Quit: revoohc]
adriancb has joined #ruby
jottr has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
adriancb has quit [Remote host closed the connection]
devdazed has joined #ruby
<siwica> havenwood: lol
Aova has quit [Ping timeout: 265 seconds]
Lewix has quit [Remote host closed the connection]
mfmfmfmfmfmf has joined #ruby
<apeiros> havenwood: maybe native english speakers are a prerequisite
Linell has joined #ruby
dkb20k has joined #ruby
<TeresaP> Unfortunately when I do that, I get superclass must be a Class (NilClass given)
byprdct_ has joined #ruby
anaeem1_ has joined #ruby
Aova has joined #ruby
<apeiros> TeresaP: gist your code please. and maybe provide more context.
byprdct has quit [Ping timeout: 245 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hijiri has quit [Quit: WeeChat 1.0.1]
<siwica> TeresaP: have you defined a superclass? Maybe forgotten to include the respective file?
nfk has quit [Quit: yawn]
tier has quit [Remote host closed the connection]
<siwica> apeiros: I am German but after the explanations I got it
visof has quit [Ping timeout: 258 seconds]
dkb20k has quit [Ping timeout: 240 seconds]
mistermocha has quit [Remote host closed the connection]
moritzschaefer has joined #ruby
bmurt has quit []
n_blownapart has joined #ruby
nfk has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
moritzschaefer has quit [Remote host closed the connection]
paulfm has quit []
tier has joined #ruby
thagomizer has quit [Quit: Leaving.]
aclearman037 has quit [Quit: I'm out!]
linojon has quit [Quit: linojon]
Pupeno_ has joined #ruby
graydot has quit [Quit: graydot]
jespada has quit [Quit: Leaving]
aspires has joined #ruby
sailias has quit [Quit: Leaving.]
<TeresaP> Sorry, please refresh that
Pupeno has quit [Ping timeout: 244 seconds]
j2p2 has quit [Ping timeout: 272 seconds]
j2p2 has joined #ruby
graydot has joined #ruby
theotherstupidgu has quit [Quit: leaving]
jaequery has quit [Ping timeout: 244 seconds]
jack_rabbit has joined #ruby
<apeiros> TeresaP: class SomeClass < AnotherClass < Calabash::IBase # this is what raises. what is it supposed to do?
<TeresaP> What is what supposed to do
graft has quit [Ping timeout: 256 seconds]
<apeiros> that piece of code
jaequery has joined #ruby
<TeresaP> Well the SomeClass is my class, and it uses code from AnotherClass
<apeiros> so SomeClass inherits from AnotherClass. ok. and what's the < Calabash::IBase supposed to do? multiple inheritance?
<TeresaP> The guy who asked me to 'extend' Calabash::IBase asked me to do that because of a problem with using screenshot_and_embed there
Hobogrammer has quit [Ping timeout: 244 seconds]
<TeresaP> So in order to do that, I have to use multiple inheritance, as I am already inheriting
<apeiros> I think the easier route is that you just ask that guy what precisely he meant :)
<apeiros> well, multiple inheritance doesn't exist in ruby
<TeresaP> well, damn
<apeiros> a class inherits from precisely one class
<apeiros> you can include an arbitrary number of modules
<TeresaP> What if I have AnotherClass inherit from the Calabash::Ibase one?
<apeiros> that's possible
<TeresaP> ok, I'll give that a shot
<apeiros> then SomeClass' ancestry is SomeClass, AnotherClass, Calabash::Ibase
<apeiros> I'd ask for clarification
andikr has quit [Remote host closed the connection]
pdtpatrick_ has quit [Quit: pdtpatrick_]
freezey has quit [Remote host closed the connection]
<TeresaP> Well, the original problem is still happening, but I no longer see the more recent error message I posted about :)
<TeresaP> Thanks
freezey has joined #ruby
<siwica> You should probably now exactly what you do and and ask him in any case. I suspect thats the way software projects get unmaintainable if one just tries to make it work somehow.
<siwica> *know
<TeresaP> He lives overseas so trying various things for a few minutes to see what fixes the original problem is my best bet
<TeresaP> I'm going to respond with what I tried and ask him if that's what he means, though
noop has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Remote host closed the connection]
linojon has joined #ruby
it0a has quit [Quit: WeeChat 1.0.1]
freezey has quit [Ping timeout: 265 seconds]
aspires has quit []
jenrzzz has quit [Ping timeout: 258 seconds]
<TeresaP> Thanks everyone :)
ghr has joined #ruby
<atmosx> hello people
lsmola has quit [Ping timeout: 272 seconds]
graft has joined #ruby
fenak has quit [Quit: leaving]
uddin12345 has joined #ruby
uddin12345 has left #ruby [#ruby]
x1337807x has joined #ruby
Pupeno has joined #ruby
<TeresaP> hello person!
ghr has quit [Ping timeout: 258 seconds]
Areessell has joined #ruby
pietr0 has joined #ruby
sinequanon has joined #ruby
Pupeno_ has quit [Ping timeout: 260 seconds]
<TeresaP> Here is the original problem if you are curious: https://github.com/calabash/calabash-ios/issues/246
g0bl1n has joined #ruby
Areessell has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
larsam has quit [Quit: No Ping reply in 60 seconds.]
fred-inRio has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pupeno_ has joined #ruby
jerius has quit []
Pupeno has quit [Ping timeout: 265 seconds]
blueOxigen has quit [Ping timeout: 256 seconds]
jheg has joined #ruby
t_mmyv has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
Hijiri has joined #ruby
Hobogrammer has joined #ruby
adriancb has joined #ruby
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agjacome has joined #ruby
freezey has joined #ruby
jasooon has joined #ruby
Xeago has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
Xeago_ has joined #ruby
tier has quit []
jerius has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freezey has quit [Ping timeout: 255 seconds]
<atmosx> hello
zB0hs has joined #ruby
Xeago has quit [Ping timeout: 260 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
<atmosx> and every move you makeeee every vow you brakeeee
TeresaP has quit [Ping timeout: 246 seconds]
kyb3r_ has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
jerius has quit [Client Quit]
zB0hs has quit [Client Quit]
skolman has joined #ruby
o0oo0o has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
BBBThunda has quit [Quit: Leaving]
robbyoconnor has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
chrishough has joined #ruby
o0oo0o has quit [Ping timeout: 246 seconds]
treehug88 has quit []
robbyoconnor has quit [Client Quit]
yfeldblum has joined #ruby
SilkFox has quit [Ping timeout: 258 seconds]
gomix has joined #ruby
<banister> atmosx u r drunk
m8 has quit [Quit: Sto andando via]
renderful has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
andrewlio has quit [Quit: Leaving.]
deric_skibotn has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
lmickh has quit [Remote host closed the connection]
fijimunkii has quit [Quit: leaving]
<siwica> hopefully he didn't make a move on somebody breaking his most important vow being drunk
Channel6 has quit [Quit: Leaving]
phutchins has joined #ruby
diegoviola has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
crazydiamond has quit [Ping timeout: 245 seconds]
enebo has quit [Quit: enebo]
jenrzzz has joined #ruby
Sgeo has joined #ruby
dviola has quit [Ping timeout: 256 seconds]
<atmosx> banister: nah
<atmosx> banister: tired of writing tests
havenwood has quit [Remote host closed the connection]
wm3|busy has joined #ruby
cpruitt has quit [Quit: cpruitt]
danman has quit [Quit: danman]
Danishman has joined #ruby
t_mmyv has joined #ruby
sinkensabe has joined #ruby
Linell has quit [Quit: leaving]
ghr has joined #ruby
sinequanon has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 264 seconds]
j2p2 has quit [Ping timeout: 265 seconds]
thumpba has quit [Ping timeout: 245 seconds]
graydot has quit [Quit: graydot]
byprdct has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
jobewan has quit [Quit: Leaving]
freerobby has joined #ruby
byprdct_ has quit [Ping timeout: 244 seconds]
eat_multi has quit [Ping timeout: 264 seconds]
Danishman has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
fred-inRio has joined #ruby
adriancb has quit [Remote host closed the connection]
luminor has joined #ruby
stephenwithav has joined #ruby
n_blownapart has quit []
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
<bricker`work> postmodern et al, to uninstall a ruby with ruby-install do I just rm -rf ~/.rubies/ruby-1.9.3 etc?
freerobby has quit [Quit: Leaving.]
devdazed has quit [Quit: Computer has gone to sleep.]
graft has quit [Ping timeout: 256 seconds]
fred-inRio is now known as devFrederick
<waxjar> yep
<bricker`work> thanks
sinequanon has joined #ruby
linojon has quit [Quit: linojon]
freezey has joined #ruby
pietr0 has quit [Quit: pietr0]
vickleford has quit [Remote host closed the connection]
pdtpatrick_ has joined #ruby
dkb20k has joined #ruby
nonks has joined #ruby
lampd1 has joined #ruby
havenwood has joined #ruby
freezey has quit [Ping timeout: 255 seconds]
graft has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
michael3 has joined #ruby
Takle has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 245 seconds]
musl has quit [Quit: WeeChat 1.0.1]
dkb20k has quit [Ping timeout: 244 seconds]
musl has joined #ruby
nonks has quit [Ping timeout: 246 seconds]
icarus has quit [Remote host closed the connection]
jasooon has joined #ruby
<stephenwithav> Is there an equivalent rvm command to rake install? (I've never used ruby before.)
sinequanon has quit [Remote host closed the connection]
Channel6 has joined #ruby
danman has joined #ruby
<havenwood> stephenwithav: it'd be still be rake install
klaut has quit [Remote host closed the connection]
pietr0 has joined #ruby
Takle has joined #ruby
jasooon has quit [Ping timeout: 244 seconds]
michael3 has quit [Ping timeout: 250 seconds]
Hobogrammer has joined #ruby
hmsimha_ has joined #ruby
sinequanon has joined #ruby
ClarusCogitatio has quit [Ping timeout: 272 seconds]
graydot has joined #ruby
blackmesa has joined #ruby
skolman has quit [Remote host closed the connection]
volty has joined #ruby
wm3|busy has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
<stephenwithav> thanks, havenwood. now to find rake (after gem install rake) so I can add it to my path.
jimbach has quit [Remote host closed the connection]
Insanity133 has joined #ruby
Insanity133 has quit [Remote host closed the connection]
Scotteh has joined #ruby
<stephenwithav> odd, rake executes when I'm me, but not with sudo.
alvaro_o has joined #ruby
havenwood has quit []
charliesome has joined #ruby
wm3|busy has joined #ruby
adriancb has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nisstyre is now known as nisscream
<volty> sudo echo $PATH
skolman has joined #ruby
it0a has joined #ruby
charliesome has quit [Client Quit]
yokel has quit [Ping timeout: 272 seconds]
<volty> nop, sudo su, and then check path and env
wallerdev has quit [Quit: wallerdev]
troulouliou_dev has joined #ruby
yokel has joined #ruby
Insanity133 has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
devFrederick has quit [Read error: Connection reset by peer]
<volty> sudo which rake, if not found you miss path setup for root
skolman has quit [Ping timeout: 255 seconds]
Insanity133 has quit [Remote host closed the connection]
jimbach has joined #ruby
michael3 has joined #ruby
rockdon_ has joined #ruby
rubie has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wm3|busy is now known as workmad3
mary5030 has joined #ruby
hamakn has joined #ruby
snath has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
ghr has joined #ruby
jimbach has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
gizmore has joined #ruby
claymore has quit [Quit: Leaving]
hmsimha_ has quit [Ping timeout: 244 seconds]
<rubie> hi all: im looking to optimize this code, which will add all prime numbers below 2million. my computer is having a problem processing this beastly inefficient program https://gist.github.com/gabrie30/1f0ae2114977a3510718
akamel has joined #ruby
sinequanon has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 256 seconds]
<volty> you should google for algorithms on finding primes
jheg has quit [Quit: jheg]
<gizmore> is an approximate result enough?
<siwica> rubie: looking at your code this is not a ruby question but rather a question of finding a good algorithm
DLSteve has quit [Quit: Leaving]
<rubie> true
<rubie> ok back to the googles
yfeldblum has quit [Remote host closed the connection]
skolman_ has joined #ruby
ptrrr has joined #ruby
<volty> another one: https://www.haskell.org/haskellwiki/Prime_numbers, have a nice time :)
freezey has joined #ruby
i_s has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
govg_ has quit [Ping timeout: 244 seconds]
adriancb has joined #ruby
<rubie> this will keep me busy enough to stay away from the candy tonight
jimbach has joined #ruby
<gizmore> the easiest optimization is the +2+4+2 technique, and only test up to sqrt
henesy has joined #ruby
zorak8 has joined #ruby
ptrrr has quit [Client Quit]
snath has joined #ruby
nfk has quit [Quit: yawn]
freezey has quit [Ping timeout: 265 seconds]
deric_skibotn has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
<siwica> rubie: I just had to buy some grocery and was using the tram to get home from the supermarket. Almost back a guy vomited sitting almost next to me in the tram. That's enough reason for me to not leave the house anymore for the halloween bullshit tonight. :)
nfk has joined #ruby
sinequanon has joined #ruby
diegoviola has quit [Remote host closed the connection]
<rubie> haha its spooky out there
ItSANgo has joined #ruby
jaequery has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
Caerbannog has joined #ruby
nonks has joined #ruby
luminor has quit []
taptapdan has quit [Quit: taptapdan]
sinequanon has quit [Ping timeout: 264 seconds]
Pupeno has joined #ruby
shiru has joined #ruby
ghostmoth has quit [Ping timeout: 245 seconds]
nonks has quit [Ping timeout: 246 seconds]
Pupeno_ has quit [Ping timeout: 244 seconds]
nfk has quit [Quit: yawn]
nobitanobi has joined #ruby
oleo is now known as Guest59845
oleo__ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has quit [Read error: Connection reset by peer]
oleo__ has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
Jackneill has quit [Remote host closed the connection]
oleo__ has joined #ruby
jasooon has joined #ruby
oleo__ is now known as oleo
Guest59845 has quit [Ping timeout: 264 seconds]
afhammad has joined #ruby
towski has quit [Read error: Connection reset by peer]
jasooon has quit [Ping timeout: 245 seconds]
o0oo0o has joined #ruby
porfa has joined #ruby
shiru has quit [Ping timeout: 245 seconds]
vectra has joined #ruby
yfeldblum has joined #ruby
mfmfmfmfmfmf has quit [Remote host closed the connection]
Takle has joined #ruby
jhwhite has joined #ruby
Pupeno_ has joined #ruby
skolman_ has quit [Remote host closed the connection]
o0oo0o has quit [Ping timeout: 246 seconds]
skolman has joined #ruby
graydot has quit [Quit: graydot]
Pupeno has quit [Ping timeout: 256 seconds]
bricker`work has quit [Ping timeout: 264 seconds]
GodPuppet has joined #ruby
mfmfmfmfmfmf has joined #ruby
jhwhite has quit [Quit: jhwhite]
ARCADIVS has joined #ruby