apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: 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
ferr has joined #ruby
<centrx> SJr, Are you sure you are using 1.9.1, not 1.9.3?
<centrx> SJr, (Both are old...)
dik_dak has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<SJr> Yeah I'm sure
dstynchula has quit []
Geniack has quit [Disconnected by services]
Geniack_ has joined #ruby
jasonwebster has joined #ruby
pel_daniel has left #ruby [#ruby]
andrewlio has quit [Quit: Leaving.]
<centrx> SJr, "That looks like a bug in the signal handling which was fixed in 1.9" - Probably was fixed in a later version of 1.9. 1.9.1 is quite old
<SJr> Yeah I was trying to find a bug report for it.
<SJr> I'm downloading version 1.9.3 right now
<centrx> Yeah 1.9.1 was released in January 2009
chichou has joined #ruby
<boombadaroomba> How does one go about finding projects on github?
<boombadaroomba> anyone have any experience or insight?
<banister> boombadaroomba that's not really how it works
ascarter has joined #ruby
jasonwebster has quit [Quit: Textual IRC Client: www.textualapp.com]
<banister> boombadaroomba you typically contribute to things that you've used and find interesting
<banister> you dont just cruise github looking for things...
<banister> ;)
<boombadaroomba> just looking for some real life projects
<boombadaroomba> thanks for your insight banister
<boombadaroomba> that makes sense
saarinen has quit [Quit: saarinen]
chuk has joined #ruby
musl has quit [Quit: WeeChat 0.4.3-dev]
musl has joined #ruby
skyofdwarf has quit []
SCommette has quit [Quit: SCommette]
hiall has joined #ruby
danshult_ has joined #ruby
YamakasY has quit [Remote host closed the connection]
subbyyy_ has quit [Ping timeout: 268 seconds]
jhass is now known as jhass|off
macmartine has quit [Remote host closed the connection]
jorts has quit [Quit: jorts]
* centrx cruises github picking up code
macmartine has joined #ruby
jorts has joined #ruby
smathieu has joined #ruby
rahult_ has quit [Ping timeout: 255 seconds]
<benzrf> dang when is Mon_Ouie coming online
macmartine has quit [Ping timeout: 255 seconds]
alexju has quit [Remote host closed the connection]
<centrx> Who is that
rahult has joined #ruby
<benzrf> guy who made pry-remote
<benzrf> i wanna ask him some q's
cpruitt has quit [Quit: cpruitt]
aspires has quit []
<centrx> Mon_Ouie, WAKE UP YOU LOUSY GIT
tcstar has quit [Remote host closed the connection]
ephemerian has left #ruby [#ruby]
afex has quit [Ping timeout: 265 seconds]
<benzrf> kek
teddyp1cker has joined #ruby
pietr0 has quit [Quit: pietr0]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
thoonai has quit [Quit: 'quit']
BuSerD has quit [Ping timeout: 240 seconds]
jamto11 has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danshult_ has quit [Remote host closed the connection]
danshultz has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 265 seconds]
evenix has quit [Remote host closed the connection]
ndrei has joined #ruby
Solnse has joined #ruby
danshultz has quit [Ping timeout: 240 seconds]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
george2 has quit [Remote host closed the connection]
segv has joined #ruby
carlyle has quit [Ping timeout: 265 seconds]
lukec has quit [Quit: lukec]
maletor has quit [Quit: Computer has gone to sleep.]
sputnik1_ has joined #ruby
b00stfr3ak has quit [Ping timeout: 265 seconds]
x77686d has quit [Quit: x77686d]
The_NetZ has joined #ruby
<The_NetZ> % is modulo in ruby, correct?
matcouto has joined #ruby
<arubin> Among other things.
b00stfr3ak has joined #ruby
<The_NetZ> arubin: how would you read this, then:
<The_NetZ> (i%2) * 16, (i/2) * 16
Stalkr_ has joined #ruby
eka has joined #ruby
<arubin> What is the context?
<arubin> It is the modulo operator there.
<gizmore> >> (i%2) * 16, (i/2) * 16
<eval-in> gizmore => /tmp/execpad-351bd87bfd06/source-351bd87bfd06:2: syntax error, unexpected ',', expecting keyword_end ... (https://eval.in/128454)
<arubin> But I assume that this code is surrounded by more code.
<gizmore> >> a, b = (i%2) * 16, (i/2) * 16
<eval-in> gizmore => undefined local variable or method `i' for main:Object (NameError) ... (https://eval.in/128455)
<arubin> Which would explain the comma.
<The_NetZ> arubin: calculating the size of a bitmap tile, or sommat, been working on rewriting a ruby script as a gem, and yeah, the , separates two parameters to another method
<gizmore> >> a, b = (31337%2) * 16, (31337/2) * 16
<eval-in> gizmore => [16, 250688] (https://eval.in/128456)
<DylanJ> >> def hi; "yo"; end; yo()
<eval-in> DylanJ => undefined method `yo' for main:Object (NoMethodError) ... (https://eval.in/128457)
<DylanJ> i'm bad and i feel bad.
b00stfr3ak has quit [Read error: Connection reset by peer]
binaryhat has joined #ruby
<DylanJ> >> hi
<eval-in> DylanJ => undefined local variable or method `hi' for main:Object (NameError) ... (https://eval.in/128458)
<gizmore> >> { DylanJ: :bad }
<eval-in> gizmore => {:DylanJ=>:bad} (https://eval.in/128459)
<gizmore> >> 'hi'
<eval-in> gizmore => "hi" (https://eval.in/128460)
<The_NetZ> >> { The_NetZ: :noob }
<eval-in> The_NetZ => {:The_NetZ=>:noob} (https://eval.in/128461)
<gizmore> >> IO.open("/tmp/gizmore", 'w+') do |f| f.write('#!bin/bash'); end
<eval-in> gizmore => no implicit conversion of String into Integer (TypeError) ... (https://eval.in/128462)
sambao21 has quit [Quit: Computer has gone to sleep.]
<gizmore> damn you Integers!!!
predator217 has joined #ruby
george2 has joined #ruby
<centrx> >> Integer("gizmore")
<eval-in> centrx => invalid value for Integer(): "gizmore" (ArgumentError) ... (https://eval.in/128463)
workmad3 has joined #ruby
<gizmore> >> require 'base64'; Base64.decode('eval-in');
<eval-in> gizmore => undefined method `decode' for Base64:Module (NoMethodError) ... (https://eval.in/128464)
<The_NetZ> really need to get this bot in my channel :P
<gizmore> >> require 'base64'; Base64.decrypt_perfect_forward_secrecy('eval-in');
<eval-in> gizmore => undefined method `decrypt_perfect_forward_secrecy' for Base64:Module (NoMethodError) ... (https://eval.in/128465)
<gizmore> The_NetZ: i got other cool stuff into my new ruby bot :P
nateberkopec has quit [Quit: Leaving...]
<The_NetZ> gizmore: oh?
<gizmore> the interpreter... is another thing... difficult
<gizmore> my bot can manage git repos soon
rurban has joined #ruby
<gizmore> abbonements, searching and announcements
davy_ has quit [Remote host closed the connection]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<The_NetZ> that *is* pretty cool :P
<gizmore> planned also links to diffs
b00stfr3ak has joined #ruby
<gizmore> for the commit announcements
predator117 has quit [Ping timeout: 265 seconds]
<gizmore> i go to bed
<The_NetZ> gonna build myself a $3k pc here soon \o/
<gizmore> intel?
<Solnse> mac
<gizmore> lol
klaut has quit [Remote host closed the connection]
thesheff17 has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tfittsy has quit [Ping timeout: 252 seconds]
markisonfire has quit [Quit: markisonfire]
<The_NetZ> gizmore: intel i7, and fuck macs XD
smathieu has quit [Remote host closed the connection]
<The_NetZ> though, I have hackintoshed on this machine, with an AMD FX-6300 core :P
tfittsy has joined #ruby
<wallerdev> macs are great
smathieu has joined #ruby
<The_NetZ> no, they aren't.
sputnik1_ has joined #ruby
Avahey_ has joined #ruby
<wallerdev> linux has no applications and windows sucks at ruby
* The_NetZ hates agree buttons XD
<benzrf> wallerdev: >linux has no applications
<Solnse> you kidding?
<benzrf> are you serious
<wallerdev> yup
<The_NetZ> wallerdev: you must not have looked at linux lately, lol.
<benzrf> ahaha
<Solnse> you must be a certain gamer
senayar_ has joined #ruby
<crome> wallerdev: what are you suggesting with that statement?
<benzrf> what is this, 1980
<wallerdev> wow such hate
<wallerdev> calm down my ruby brothers
* The_NetZ is a gamer, on linux :P
jrendell has quit [Ping timeout: 268 seconds]
evenix has joined #ruby
<Solnse> yeah but windows does still have a better variety.
smathieu has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
<gizmore> >> ENV
<eval-in> gizmore => {"LIBC_FATAL_STDERR_"=>"1", "LANG"=>"en_US.UTF-8"} (https://eval.in/128467)
ixti has quit [Ping timeout: 246 seconds]
<gizmore> >> ENV.LANG = '/etc/passwd/../'
<eval-in> gizmore => undefined method `LANG=' for {"LIBC_FATAL_STDERR_"=>"1", "LANG"=>"en_US.UTF-8"}:Object (NoMethodError) ... (https://eval.in/128468)
<crome> I cant fucking wait until I figure out what notebook I want to buy and I dont have to use the macbook provided by my company anymore
<gizmore> crome: i checked it... every copy of the notebook movie is the same
<crome> gizmore: dont give me the spoilers please
<wallerdev> crome: macbook air or macbook pro are both good options
blackmesa has quit [Ping timeout: 265 seconds]
<Solnse> I love my zenbook
<crome> wallerdev: you carefully missed the point, I think
jrendell has joined #ruby
chichouw has joined #ruby
<Solnse> dual boot, fast as hell.
senayar has quit [Ping timeout: 255 seconds]
<gizmore> >> [1,2].reduce([1])
<eval-in> gizmore => [1] is not a symbol (TypeError) ... (https://eval.in/128469)
<gizmore> >> [1,2].reduce(1)
<eval-in> gizmore => 1 is not a symbol (TypeError) ... (https://eval.in/128470)
<The_NetZ> Solnse: hehe, this machine is a triple boot :P
papercode has quit [Quit: WeeChat 0.4.4-dev]
<benzrf> >> [1, 2, 3].reduce 1, :+
rurban has quit [Ping timeout: 240 seconds]
<The_NetZ> arch linux, win7, and osx mavericks :P
<benzrf> >> [1, 2, 3].reduce :+, 1
<eval-in> benzrf => 1 is not a symbol (TypeError) ... (https://eval.in/128471)
<crome> wallerdev: Im using an air atm, and while I love the device itself, I just cant get used to osx
<benzrf> >> [1, 2, 3].reduce 1, :+
<eval-in> benzrf => 7 (https://eval.in/128472)
<crome> it makes my brain bleed
<gizmore> >> [1,2].reject([1])
<eval-in> gizmore => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/128473)
<wallerdev> ah, i love os x, cant realy use anything else these days, windows has the worst terminal in existence, and linux is missing a lot of my favorite apps
<wallerdev> but whatever works for you :)
<benzrf> wallerdev: what apps
<gizmore> >> [1,2] - [1]
<crome> linux has everything I need, I would keep windows for a few games I occasionally play
<gizmore> like minesweeper
chichou has quit [Ping timeout: 268 seconds]
<Solnse> I only go to my windows partition for Adobe creative suite.
<The_NetZ> gizmore: minesweeper is actually pretty fun, lol.
<crome> and solitaire
<wallerdev> probably the biggest things id miss would be textmate and wirecast
<gizmore> i play vegas mode B)
ghr has joined #ruby
<crome> I have vim
<crome> I dont need anything else ;>
<gizmore> vim wins
SCommette has joined #ruby
<wallerdev> yeah i used to use emacs for awhile
<gizmore> now you use em intel
<wallerdev> and i use vim when im ssh'ing and emacs is missing haha
<wallerdev> i love how mac textboxes use emacs shortscuts
<wallerdev> like you can do ctrl+A to go to beginning of line and ctrl+K to cut the line etc
<crome> at one point I totally decided to get into emacs and learn the basics so at least I can have a valid viewpoint on both of them
<gizmore> i looked a lot on a tool that is available always
<wallerdev> emacs has an amazing js-mode
<gizmore> it turned out sed is working on 100% of the boxes and is 100% the same
<gizmore> so i only use sed as editor
<crome> and then I did `vim .emacs`
greggroth has joined #ruby
<crome> and I was like, "haha. fuck this shit"
<wallerdev> ive also done some iphone development, which isnt really a good option on linux haha
<benzrf> wallerdev: use vim
<benzrf> vim vim vim
<wallerdev> ive used vim and emacs
<wallerdev> i still prefer textmate haha
<benzrf> well youre wrong
<The_NetZ> anything but apple shit :P
evenix has quit [Remote host closed the connection]
<Solnse> where do you get these opinions? lol
<benzrf> you must not know vim very well
<wallerdev> since all the shortcuts match up with every other program i use
<Solnse> oh yeah, the hive mind
<The_NetZ> what is the latest ruby available on mac, btw?
Hobogrammer_ has quit [Ping timeout: 268 seconds]
<wallerdev> you can install any version of ruby on mac
<benzrf> The_NetZ: the latest one period id imagine
<crome> The_NetZ: rbenv does the finest and latest
<benzrf> u can always source build
<gizmore> The_NetZ: try git pull
<The_NetZ> yeah, but I hear source building on win isn't working for latest as of yet...
<postmodern> The_NetZ, Mavericks comes with 2.1.0 i believe
<The_NetZ> so I was wondering about mac.
<gizmore> The_NetZ: try cygwin
<wallerdev> building anything on windows is a mess
BuSerD has joined #ruby
<wallerdev> not sure why anyone would do ruby dev on windows
ghr has quit [Ping timeout: 240 seconds]
<The_NetZ> gizmore: could, but I don't want to produce a program depending on cygwin.
<The_NetZ> *the cygwin dll
<postmodern> The_NetZ, if you are on windows, download virtualbox or vmware player, and bootup a Linux VM
<gizmore> The_NetZ: go linux
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
<The_NetZ> gizmore: I am on linux :P
<The_NetZ> CPU~Hexa core AMD FX-6300 Six-Core (-MCP-) clocked at 3500.000 Mhz Kernel~3.13.6-1-ck x86_64 Up~21:38 Mem~1137.5/5847.3MB HDD~2082.7GB(8.6% used) Procs~171 Client~Irssi 0.8.15 inxi~2.1.6
mary5030 has joined #ruby
<Solnse> gpu busy mining crypto currency? lol
withnale has quit [Read error: Operation timed out]
<The_NetZ> nope
<The_NetZ> Graphics: Card: NVIDIA GK107 [GeForce GTX 650]
<The_NetZ> Display Server: X.Org 1.15.0 driver: nvidia Resolution: 1024x768@60.0hz
<SJr> Does anyone know why the SIGINT is ignored here: http://www.pastebin.ca/2688268
<The_NetZ> GLX Renderer: GeForce GTX 650/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 334.21
<SJr> That's even on the latest 1.9.3 (I'm installing ruby 2.1.1 now)
TigerWolf has joined #ruby
Shidash has quit [Ping timeout: 265 seconds]
Hobogrammer has quit [Ping timeout: 265 seconds]
Solnse has quit [Quit: Leaving.]
<gizmore> !wtf trap
<gizmore> sig INTerrupt and TERminate?
workmad3 has quit [Ping timeout: 240 seconds]
<SJr> ?
<gizmore> i am a newbie with signals
<gizmore> SIG_TERM, SIG_INT etc
<SJr> traditionally there is no underscore :)
<gizmore> <SJr> Does anyone know why the SIGINT is ignored here: http://www.pastebin.ca/2688268
<SJr> yeah
mary5030 has quit [Ping timeout: 255 seconds]
<gizmore> what does Signal.trap do
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<gizmore> like tap?
<SJr> Do you know what signals are?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<The_NetZ> gizmore: it gives you an underaged cross-dresser o.0
<wallerdev> signal trap basically watches for an exception and does something when it sees it
<SJr> Essentially you can asynchronously send a message to a process, when that message is sent (coded by a number, where some numbers mean INT or TERM,etc). that function is called.
pietr0 has joined #ruby
dx7 has quit [Ping timeout: 240 seconds]
<gizmore> how many sigs are there?
<gizmore> i hook like 2
<SJr> Depends on the OS
<shevy> you can even send kill signals
<The_NetZ> gizmore: linux has at least 15, that's sigterm, I think...
<shevy> yeah
<shevy> I think 9 is sigkill
<SJr> At least 32
<wallerdev> theres millions
<gizmore> you cannot stop -9
<shevy> 3 is probably sigsexy
<shevy> I like 9
<wallerdev> your manpage will list the signals on your system
<gizmore> there are 40 signals!!! good look with -9
danno1 has quit [Ping timeout: 264 seconds]
<shevy> I can play music with my kernel signals!
<gizmore> shevy: we use base40 encoding for signalstreams
<shevy> Signal.trap('SIGINT') { exit }
b00stfr3ak has quit [Ping timeout: 252 seconds]
<gizmore> signalfs
<gizmore> it lives in the logfiles
Mortix has joined #ruby
jorts has quit [Ping timeout: 255 seconds]
GaryOak_ has quit [Remote host closed the connection]
WJB has quit []
<Mortix> hi guys, is ruby a multi platform language? means if i compile a script to exe on linux it will work on any windows as well?
<SJr> Interesting...
<wallerdev> theres no compiling, but you can run it on both
<shevy> Mortix ruby works on windows and osx, you can not compile it though
<gizmore> Mortix: try python
<Mortix> well there is ruby to exe
<Mortix> just like python
GodPuppet has joined #ruby
<shevy> I would not trust that
<centrx> There's mruby
<The_NetZ> Mortix: rubyscript2exe is long dead, methinks.
<shevy> but your original question - multi platform language. Answer: Yes.
<gizmore> activeruby.exe,. no?
<Mortix> but you got to have ruby installed on the computer...
<shevy> yeah
<shevy> just like you got java installed
Celm has quit [Remote host closed the connection]
<shevy> :)
<gizmore> ruby on windows can be a pain?
<wallerdev> yeah if you want to make windows apps id recommend a language like c#
<shevy> nah, ruby on windows works well
<shevy> the problem is he wants to put everything into an .exe
<Mortix> i'm looking for language that can complied to exe and will work on any linux/windows os
pietr0 has quit [Quit: pietr0]
<shevy> yeah, you will have to go the java or c# way
<wallerdev> what kind of program are you making? gui or something?
<Mortix> no
<Mortix> without a gui
<gizmore> you can just ship something with ruby interpreter included?
<St_Marx> yeah, go Java... "write once, debug forever..."
Jetchisel has quit [Ping timeout: 252 seconds]
tmoore has joined #ruby
<wallerdev> yeah c++ or java would be reasonable choices then
<gizmore> like mygame/ruby.exe imsogame/mygame.rb
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
r_rios has joined #ruby
<postmodern> in case it hasn't been recommended: http://rubyinstaller.org/
<shevy> yeah he can bundle everything together
<shevy> I think there is some windows program that does that
greggroth has quit [Ping timeout: 255 seconds]
<gizmore> i bet there are sdl.exe bindings for ruby and stuff
<gizmore> and qt.rb
<gizmore> etc
<shevy> well
<postmodern> coding ruby for windows is easy, just be careful about using popen or opening files in binary mode
<shevy> the problem is he wants to compile it
<gizmore> shevy: yeah the java guys want that too
<Mortix> yeah
<Mortix> c/c++ is my only option?
<postmodern> wasn't there some framework that combined your ruby apps into executables?
alvaro_o has quit [Quit: Ex-Chat]
<gizmore> why? Oo
<postmodern> for making self-contained ruby apps
<shevy> Mortix and C# and obj-c, and D. And java perhaps... can you target the JVM alone with bytecode?
<gizmore> like ruby.exe my.rb
northfurr has joined #ruby
northfurr has joined #ruby
northfurr has quit [Changing host]
reset has quit [Quit: Leaving...]
<postmodern> wow someone ported py2exe to ruby
Slavox is now known as Slavox|AFK
markisonfire has joined #ruby
<postmodern> ah Ocra: http://ocra.rubyforge.org/
<gizmore> peruby?
withnale has joined #ruby
<Mortix> the problem about py2exe is that if you "complie" it under windows 32bit it wont work on 64bit
<Mortix> or even windows 7/8
sputnik1_ has joined #ruby
<gizmore> ruby on windows is a pain
<postmodern> Mortix, sounds more like a windows problem :/
<gizmore> i hate windows
<postmodern> now that OSX is BSD based, Windows is the only non UNIX OS
mikecmpbll has quit [Quit: i've nodded off.]
paulfm has joined #ruby
<gizmore> the question is not what OS... the question is what WM
larsam has quit [Ping timeout: 252 seconds]
sputnik1_ has quit [Client Quit]
paulfm has quit [Client Quit]
sputnik1_ has joined #ruby
rurban has joined #ruby
<benzrf> postmodern: what about plan 9
<benzrf> or haiku
Voodoofish430 has left #ruby [#ruby]
<benzrf> templeos?
<benzrf> bbloom:
<benzrf> *bbl
<wallerdev> i think the real solution is to make a web app
benzrf is now known as benzrf|offline
armyriad has quit [Ping timeout: 240 seconds]
<gizmore> wallerdev: exactly... an irc app
<gizmore> a giant network that resembles the world... like a skynet
eliasp has quit [Read error: Connection reset by peer]
Slavox|AFK is now known as Slavox
carlyle has joined #ruby
<shevy> ruby on windows works perfectly well
<shevy> just windows sucks immensely as a platform in general
eliasp has joined #ruby
<postmodern> shevy, what happens when you need to compile a C extension ;)
<wallerdev> you look for the pure ruby version ;)
<shevy> on windows?
<shevy> I get cygwin, msys and download the original sources
<shevy> then I realize that windows stinks
<shevy> and I switch to *nix
<shevy> right Mortix? :)
<wallerdev> cygwin shouldnt be part of the normal use of a programming language lol
<shevy> yeah, you have to make windows less sucky than it is
<wallerdev> having people basically install linux on their system to use certain ruby libraries doesnt mean it works perfectly well on windows :p
<shevy> the less it can get into your way, the better
<Mortix> shevy, well i don't really remember how windows looks like,,, so it hard for me to answer ;)
<shevy> man, installing ruby is *always* a good idea
<shevy> you can even use ruby-gnome on windows
<wallerdev> cross platform ui toolkits need to die lol
carlyle has quit [Ping timeout: 265 seconds]
<shevy> hehe
<shevy> ruby-gnome needs to become better
manacit has quit [Quit: ZNC - http://znc.in]
robert_ has quit [Read error: Connection reset by peer]
ukd1 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
meatherly has joined #ruby
funktor has quit [Remote host closed the connection]
greggroth has joined #ruby
chris_thomson has joined #ruby
<SJr> Sorry I'm not a ruby person, how do I figure out the type of an exception easily.
robert_ has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
lukec has joined #ruby
greggroth has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
jeregrine has quit [Quit: Connection closed for inactivity]
spicerack has joined #ruby
gancl has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
sepp2k has joined #ruby
razrunelord has quit []
wallerdev has quit [Quit: wallerdev]
doodlehaus has joined #ruby
rezzack has quit [Read error: Operation timed out]
yfeldblum has quit [Ping timeout: 240 seconds]
sepp2k has quit [Remote host closed the connection]
senayar_ has quit [Remote host closed the connection]
ukd1 has joined #ruby
ferr has quit [Quit: Leaving.]
yfeldblum has joined #ruby
BuSerD has quit [Quit: Lost terminal]
doodlehaus has quit [Remote host closed the connection]
markisonfire has quit [Quit: markisonfire]
sepp2k has joined #ruby
eynj has left #ruby [#ruby]
zigomir has quit [Ping timeout: 255 seconds]
Lewix has joined #ruby
asteros has joined #ruby
hiall has quit [Quit: hiall]
asteros has quit [Client Quit]
Deele has joined #ruby
smathieu has quit [Remote host closed the connection]
mikepack has joined #ruby
<pipework> SJr: Ask for its class?
smathieu has joined #ruby
<SJr> thanks, I found it :)
charliesome has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
lukec has quit [Quit: lukec]
meatherly has quit [Remote host closed the connection]
ndrei has joined #ruby
meatherly has joined #ruby
rvraghav93 has joined #ruby
smathieu has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 255 seconds]
bricker`LA has quit [Ping timeout: 264 seconds]
rvraghav93_ has quit [Ping timeout: 268 seconds]
kyb3r_ has joined #ruby
YamakasY has joined #ruby
meatherly has quit [Ping timeout: 240 seconds]
Slavox is now known as Slavox|AFK
jeregrine has joined #ruby
chipotle has joined #ruby
rakm has quit [Quit: Connection closed for inactivity]
Celm has joined #ruby
tvw has quit [Ping timeout: 268 seconds]
YamakasY has quit [Ping timeout: 265 seconds]
jaywastaken has quit [Quit: Leaving]
Stalkr_ has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
<benzrf> hej da
<benzrf> Mon_Ouie: still afk?
Celm has quit [Ping timeout: 265 seconds]
Slavox|AFK is now known as Slavox
Brian485 has joined #ruby
patrick99e99 has joined #ruby
george2 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 268 seconds]
otherj has quit []
teddyp1cker has joined #ruby
rvraghav93 has quit []
rvraghav93 has joined #ruby
dik_dak has quit [Quit: Leaving]
manacit has joined #ruby
jamto11 has joined #ruby
peta_ has quit [Quit: peta_]
diegoviola has joined #ruby
ukd1 has quit [Remote host closed the connection]
Cache_Money has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
ukd1 has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
greggroth has joined #ruby
hiatobr has joined #ruby
jetblack has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 268 seconds]
ukd1 has quit [Remote host closed the connection]
r_rios has quit [Ping timeout: 255 seconds]
Brian485 is now known as Brian485_
saarinen has joined #ruby
Brian485_ is now known as Brian_485
wallerdev has joined #ruby
Brian_485 is now known as Brian485
r_rios has joined #ruby
brandonjmckay has joined #ruby
brandonjmckay has left #ruby [#ruby]
njection has quit []
danno1 has joined #ruby
njection has joined #ruby
njection has quit [Remote host closed the connection]
greggroth has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
sincereness has quit [Ping timeout: 245 seconds]
speakingcode has joined #ruby
Zordrak has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
thomasxie has joined #ruby
tectonic has quit []
endash has quit [Quit: endash]
endash_ is now known as endash
thomasxie has quit [Client Quit]
chipotle has quit [Quit: cya]
WJB has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
rahult is now known as rahult_
juarlex has joined #ruby
whatasunnyday has joined #ruby
rvraghav93 has quit [Ping timeout: 252 seconds]
sass has joined #ruby
The_NetZ has quit [Quit: leaving]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
luxe_ has joined #ruby
IceDragon has quit [Quit: Space~~~]
IceDragon has joined #ruby
juarlex has quit [Remote host closed the connection]
<whatasunnyday> !help
<whatasunnyday> Can I cross list something I posted in RoR?
jason__ has quit [Remote host closed the connection]
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
alexju has joined #ruby
markisonfire has joined #ruby
markisonfire has quit [Client Quit]
funktor has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]]
binaryhat has quit [Quit: Leaving]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deens has quit [Remote host closed the connection]
TheShaun has joined #ruby
larissa has quit [Quit: Leaving]
browndawg has joined #ruby
bradhe has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
kyb3r_ has quit [Quit: Leaving]
kyb3r_ has joined #ruby
luxe_ has quit [Quit: Leaving]
dx7 has joined #ruby
SCommette has quit [Quit: SCommette]
<centrx> whatasunnyday, You can if no one answered in #rubyonrails
<whatasunnyday> centrx thanks
rvraghav93 has joined #ruby
<centrx> whatasunnyday, You can anyway, if you say that it is cross-posted, but it is usually polite/most useful to just wait and see if one channel answers
m0s is now known as m0s^away
<benzrf> >tfw Mon_Ouie remains afk despite no indication as such
<centrx> benzrf, You should ask him out on a date
<centrx> benzrf, He might even be gone for the weekend!
mary5030 has joined #ruby
<benzrf> :|
funktor has quit [Remote host closed the connection]
fabrice31 has joined #ruby
marcdel_ has joined #ruby
Brian485 has quit [Quit: Leaving]
carlyle has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
Brian485 has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<centrx> benzrf, What, you don't like hanging out with me!?
maximski has joined #ruby
r0nin has quit [Remote host closed the connection]
RaptorJesus_ has joined #ruby
maximski has quit [Client Quit]
<benzrf> centrx: dont take this the wrong way...
decoponio has joined #ruby
maximski has joined #ruby
<centrx> haha
wallerdev has quit [Quit: wallerdev]
<centrx> benzrf, Have you seen the lee7 Ruby hack with the potatos?
Cache_Money has quit [Quit: Cache_Money]
<benzrf> wut
freakazoid0223 has joined #ruby
Lewix has joined #ruby
RaptorJesus__ has joined #ruby
carlyle has quit [Ping timeout: 265 seconds]
RaptorJesus has quit [Disconnected by services]
RaptorJesus__ is now known as RaptorJesus
<centrx> benzrf, Check this out
<centrx> >> [1,2,3,4] * 'potato'
<eval-in> centrx => "1potato2potato3potato4" (https://eval.in/128480)
<centrx> >> [5,6,7,'more'] * 'potato'
<eval-in> centrx => "5potato6potato7potatomore" (https://eval.in/128481)
maximski has quit [Client Quit]
jollyy has joined #ruby
<benzrf> ick
RaptorJesus_ has quit [Ping timeout: 255 seconds]
<boombadaroomba> benzrf: but why?
<benzrf> boombadaroomba: why wut
jollyy has quit [Client Quit]
Es0teric has quit [Quit: Computer has gone to sleep.]
Hobogrammer has joined #ruby
r_rios has quit [Ping timeout: 265 seconds]
<boombadaroomba> male models?
carlyle has joined #ruby
<benzrf> i dont know what ur talking about
bradhe has quit [Remote host closed the connection]
Brian485 has quit [Quit: Leaving]
tmoore has left #ruby [#ruby]
Deele has quit [Ping timeout: 240 seconds]
<benzrf> bbl
speakingcode has quit [Ping timeout: 268 seconds]
Cache_Money has joined #ruby
benzrf is now known as benzrf|offline
speakingcode has joined #ruby
chuk has quit [Quit: This computer has gone to sleep]
mary5030 has quit [Remote host closed the connection]
dseitz has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
patrick99e99 has quit [Quit: Lost terminal]
saarinen has quit [Quit: saarinen]
afex has joined #ruby
jetblack has quit [Ping timeout: 252 seconds]
sepp2k has quit [Quit: Leaving.]
braincra- has quit [Quit: bye bye]
Es0teric has joined #ruby
braincrash has joined #ruby
idiocrash has joined #ruby
carlyle has quit [Remote host closed the connection]
abdulsattar has joined #ruby
simono has joined #ruby
deens has joined #ruby
YamakasY has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
Celm has joined #ruby
etqqkoiflwhb__ has joined #ruby
endash_ has joined #ruby
deens has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
YamakasY has quit [Ping timeout: 265 seconds]
deens has joined #ruby
MatthewsFace has joined #ruby
george2 has joined #ruby
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
ce_afk is now known as cescalante
armyriad has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
withnale has quit [Ping timeout: 265 seconds]
beneggett has joined #ruby
afex has quit [Ping timeout: 265 seconds]
sputnik1_ has joined #ruby
tectonic has joined #ruby
teddyp1cker has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has joined #ruby
macmartine has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
Aquilo has joined #ruby
_justin has joined #ruby
Doppp has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 264 seconds]
kil0byte has joined #ruby
MatthewsFace has joined #ruby
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yacks has joined #ruby
papercode has joined #ruby
withnale has joined #ruby
idiocrash has joined #ruby
coder_neo has joined #ruby
bricker`LA has joined #ruby
kil0byte has quit [Ping timeout: 265 seconds]
moted has joined #ruby
_justin has quit [Quit: _justin]
coder_neo has quit [Client Quit]
Splourian has joined #ruby
whatasunnyday has joined #ruby
carlyle has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
_justin has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
Affix has quit [Ping timeout: 255 seconds]
cover has quit [Remote host closed the connection]
<RubyPanther> lol that is awesome
ukd1 has joined #ruby
<RubyPanther> >> [1,2,3,4]*%[ potato ]
<eval-in> RubyPanther => "1 potato 2 potato 3 potato 4" (https://eval.in/128483)
Cydrobolt has quit [Ping timeout: 255 seconds]
carlyle has quit [Ping timeout: 265 seconds]
marcdel_ has quit [Ping timeout: 255 seconds]
Affix has joined #ruby
speakingcode has quit [Ping timeout: 268 seconds]
RaptorJesus is now known as CTHULHU
<RubyPanther> maybe %// is even better, I'm not sure
CTHULHU is now known as RaptorJesus
Cydrobolt has joined #ruby
RaptorJesus is now known as PassionOft3hChri
speakingcode has joined #ruby
PassionOft3hChri is now known as RaptorJesus
pfg has joined #ruby
marcdel has joined #ruby
<centrx> :)
<centrx> Glad someone likes it.
<centrx> The peanut gallery was really getting on my case before about it.
<centrx> Of course I kept repeating it every day like it was new, so it can get old
kitak has joined #ruby
northfurr has quit [Ping timeout: 240 seconds]
sputnik1_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
RaptorJesus is now known as RaperJesus
nffff has joined #ruby
RaperJesus is now known as RaptorJesus
_justin has quit [Quit: _justin]
sambao21 has joined #ruby
deens has quit [Remote host closed the connection]
ghr has joined #ruby
yfeldblu_ has joined #ruby
MatthewsFace has joined #ruby
mary5030 has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
MatthewsFace has quit [Client Quit]
hamakn has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 268 seconds]
michaeldeol has joined #ruby
endash_ has quit [Quit: endash_]
ghr has quit [Ping timeout: 268 seconds]
mikepack has joined #ruby
danno1 has quit [Ping timeout: 255 seconds]
deens has joined #ruby
jarray52 has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
Lewix has quit [Remote host closed the connection]
bradhe has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ukd1 has quit [Quit: Leaving...]
rvraghav93 has quit [Quit: No Ping reply in 180 seconds.]
danno1 has joined #ruby
rvraghav93 has joined #ruby
browndawg has quit [Quit: Leaving.]
beneggett has joined #ruby
Dude007 has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
kil0byte has joined #ruby
<Dude007> Hi, anyone has got an idea how to change an element of an array based on it's index?
_justin has joined #ruby
chris_thomson has quit [Quit: Zzz...]
MatthewsFace has joined #ruby
macmartine has quit [Remote host closed the connection]
armyriad has quit [Quit: Leaving]
macmartine has joined #ruby
kobain has joined #ruby
<Dude007> aha. array.collect.with_index :)
_justin has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
Astralum has joined #ruby
macmartine has quit [Ping timeout: 265 seconds]
kyb3r_ has quit [Ping timeout: 252 seconds]
Celm has joined #ruby
chipotle has joined #ruby
Splourian has left #ruby [#ruby]
fabrice31 has quit [Ping timeout: 255 seconds]
Celm has quit [Ping timeout: 265 seconds]
_justin has joined #ruby
bahar has quit [Ping timeout: 252 seconds]
bahar has joined #ruby
speakingcode has quit [Ping timeout: 268 seconds]
bricker`LA has quit [Ping timeout: 268 seconds]
arietis has joined #ruby
x77686d has joined #ruby
coder_neo has joined #ruby
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MatthewsFace has quit [Quit: This computer has gone to sleep]
_justin has quit [Quit: _justin]
coder_neo has quit [Client Quit]
x77686d has quit [Ping timeout: 255 seconds]
kil0byte has quit [Ping timeout: 265 seconds]
kobain has quit []
skammer has joined #ruby
akitada has joined #ruby
armyriad has joined #ruby
mostlybadfly has joined #ruby
kotakotakota has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
kotakotakota has quit [Client Quit]
mr_snowf1ake has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
RaptorJesus is now known as IHATEYOU
IHATEYOU is now known as RaptorJesus
Shidash has joined #ruby
MatthewsFace has joined #ruby
_justin has joined #ruby
Lucky_Red has joined #ruby
browndawg has joined #ruby
davedev24 has quit [Remote host closed the connection]
nbezzala has joined #ruby
abdulsattar has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
_justin has quit [Quit: _justin]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has joined #ruby
Splourian has joined #ruby
danno1 has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
danno1 has joined #ruby
bg451 has joined #ruby
derek_c has joined #ruby
kil0byte has joined #ruby
teddyp1cker has joined #ruby
rm_ has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
kil0byte has quit [Ping timeout: 240 seconds]
rvraghav93 has quit [Quit: No Ping reply in 180 seconds.]
<bg451> Does anyone know if there are libraries or ways to convert a string representation of a hash to an actual hash? Eval doesn't work because theres a nested hash. Here's an example of the data I'm using http://pastebin.com/rV7MemUe
lxsameer has joined #ruby
YamakasY has joined #ruby
Celm has joined #ruby
YamakasY has quit [Ping timeout: 240 seconds]
danno1 has quit [Ping timeout: 255 seconds]
deens has quit [Remote host closed the connection]
rvraghav93 has joined #ruby
__VenTys__ has quit [K-Lined]
mesamoo has quit [Quit: Konversation terminated!]
Celm has quit [Ping timeout: 265 seconds]
<jarray52> I have the following piece of Ruby code that comes from Rails Middleware. https://dpaste.de/555T env.class is Hash and flash.class and session.class are NilClass. How can the if statement possibly modify the value of the key 'rack.session' in the env hash? I observed a change between lines 1 and 7.
jzig has quit [Remote host closed the connection]
jamto11 has joined #ruby
browndawg has quit [Read error: Connection timed out]
x77686d has joined #ruby
browndawg has joined #ruby
jamto11 has quit [Ping timeout: 265 seconds]
Doppp has joined #ruby
x77686d has quit [Ping timeout: 255 seconds]
<jarray52> bg451: What does the string representation of the Hash look like?
Aquilo has quit [Remote host closed the connection]
Aquilo has joined #ruby
<bg451> I figured it out
<bg451> but if you want to know, I posted the pastebin link earlier.
<jarray52> sorry...missed that.
carlyle has joined #ruby
<jarray52> eval(the_string) should work.
<bg451> eval doesnt work when there are nested hashes
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bg451> so i ended up doing a bunch of gsubs to convert that hash into a string representation of json, then did JSON.load(json_string)
<jarray52> a='{\"controller\"=>\"myController\", \"action\"=>\"new_site\", \"site\"=>{\"embed_size\"=>\"large\", \"name\"=>\"hello\"}, \"login\"=>\"user\"}'
<jarray52> b=eval(a)
<jarray52> gives a hash... right?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has quit [Ping timeout: 240 seconds]
tectonic has quit []
<jarray52> c={'a' => {'b' => {'c' => "asf"} } }
carlyle has quit [Ping timeout: 265 seconds]
Guest_ has joined #ruby
<jarray52> d = eval(String(c))
<jarray52> gives a hash
<RubyPanther> >> %w/1 2 3 Indians/*%/ little /# When I was a child I was forced to sing this song
<eval-in> RubyPanther => "1 little 2 little 3 little Indians" (https://eval.in/128530)
Dr3amc0d3r has quit [Changing host]
Dr3amc0d3r has joined #ruby
Guest_ is now known as CorpusCallosum
IceDragon has quit [Quit: Space~~~]
awkisopen has quit [Ping timeout: 265 seconds]
Splourian has quit [Ping timeout: 245 seconds]
<centrx> RubyPanther, I like it. I will add to my repertoire
chipotle has quit [Ping timeout: 255 seconds]
<RubyPanther> I just love stuff like /*%/
<RubyPanther> forget poetry, code stained-glass
Aquilo has quit [Ping timeout: 240 seconds]
awkisopen has joined #ruby
dvxam has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
Dude007 has quit [Remote host closed the connection]
Aquilo has joined #ruby
chuk has joined #ruby
Dude007 has joined #ruby
xBradPittx has quit [Read error: Connection reset by peer]
xBradPittx has joined #ruby
browndawg has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
Dude007 has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
tattered has joined #ruby
Shidash has quit [Ping timeout: 265 seconds]
bahar has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
bahar has joined #ruby
kil0byte has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
dvxam has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bricker`LA has joined #ruby
yfeldblum has joined #ruby
pwh has quit []
deadlock has joined #ruby
bricker`LA has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
kil0byte has quit [Ping timeout: 240 seconds]
Celm has joined #ruby
kil0byte has joined #ruby
kil0byte_ has joined #ruby
Asher has quit [Remote host closed the connection]
deadlock has quit [Ping timeout: 240 seconds]
Celm has quit [Ping timeout: 265 seconds]
nari has quit [Ping timeout: 240 seconds]
kil0byte has quit [Ping timeout: 268 seconds]
rvraghav93 has quit [Read error: Operation timed out]
rvraghav93 has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 265 seconds]
bahar has joined #ruby
weems has quit [Read error: Connection reset by peer]
yacks has joined #ruby
rvraghav93_ has joined #ruby
weems has joined #ruby
rvraghav93 has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
Lucky_Red has quit [Quit: Leaving...]
Asher has joined #ruby
ndrei has joined #ruby
gancl has quit [Ping timeout: 265 seconds]
atno has quit [Ping timeout: 255 seconds]
skammer is now known as skammer|afk
bricker`LA has joined #ruby
skammer|afk is now known as skammer
breakingthings has quit [Ping timeout: 240 seconds]
carlyle has joined #ruby
User458764 has joined #ruby
bahar has quit [Ping timeout: 240 seconds]
rvraghav93_ has quit [Ping timeout: 240 seconds]
carlyle has quit [Ping timeout: 265 seconds]
Cache_Money has quit [Quit: Cache_Money]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
bahar has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
rvraghav93 has joined #ruby
atno has joined #ruby
oo_ has joined #ruby
claymore has joined #ruby
claymore has quit [Changing host]
claymore has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
relix has joined #ruby
SHyx0rmZ has joined #ruby
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb__ has joined #ruby
etqqkoiflwhb___ has joined #ruby
ktosiek has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
RaptorJesus is now known as JesusChrist
etqqkoiflwhb__ has quit [Read error: Connection reset by peer]
JesusChrist is now known as Jesus_Christ
Jesus_Christ is now known as _JesusChrist_
kil0byte_ has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
oo_ has quit [Quit: Leaving...]
jhass|off is now known as jhass
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
kil0byte has joined #ruby
dh64 has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
chichouw has quit []
<mozzarella> guys
dx7 has quit [Ping timeout: 255 seconds]
avgerinos has quit [Remote host closed the connection]
bahar has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
phansch has joined #ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_JesusChrist_ is now known as RaptorJesus
Splourian has joined #ruby
YamakasY has joined #ruby
bahar has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<mozzarella> guys????
chuk has quit [Quit: Leaving]
kil0byte has quit [Ping timeout: 265 seconds]
Hanmac1 has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Celm has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
YamakasY has quit [Ping timeout: 265 seconds]
bradhe has joined #ruby
<Mon_Ouie> benzrf|offline: I'm on UTC+1, might help to understand when I'm there and when I'm not
rvraghav93_ has joined #ruby
browndawg has left #ruby [#ruby]
withnale has quit [Ping timeout: 252 seconds]
<jhass> mozzarella: just ask your question
rvraghav93 has quit [Ping timeout: 265 seconds]
relix has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
<mozzarella> jhass: must I worry about race conditions when using eventmachine?
bradhe has quit [Ping timeout: 240 seconds]
<jhass> no idea, I suppose so. Maybe someone else knows, let's just wait ;)
<bnagy> not for 'normal' EM use
derek_c has quit [Quit: Leaving]
<bnagy> it's a reactor, so conceptually it's a single threaded big select loop
<mozzarella> bnagy: what does that mean?
<mozzarella> hmmm
<bnagy> ie get an event, dispatch to a method, do stuff, method returns, and the reactor has control again
RaptorJesus is now known as OopsJesus
lukec has joined #ruby
<mozzarella> it's ALWAYS a single thread?
<bnagy> nope
<mozzarella> please explain
OopsJesus has quit [Quit: Leaving]
<bnagy> well you can use threads if you want, it's just not the way the normal reactor pattern works
OopsJesus has joined #ruby
<mozzarella> how do you create new threads? I don't want to introduce them accidently
<bnagy> I think they have a Future type construct which probably spins a thread, but then I think they feed back into the reactor
blackmesa has quit [Ping timeout: 265 seconds]
withnale has joined #ruby
senayar has joined #ruby
carraroj has joined #ruby
mehlah has joined #ruby
<bnagy> anyway, the 'normal' way is to get an event, handle it as fast as you can and don't block the reactor
jamto11 has joined #ruby
endash_ has joined #ruby
<bnagy> bearing in mind that I haven't had a serious EM project for like 4 years
simono has quit [Read error: Connection reset by peer]
senayar has quit [Client Quit]
simono has joined #ruby
<mozzarella> can I make async queries with activerecord?
<mozzarella> I want to use activerecord and eventmachine together
<bnagy> no idea
simono has quit [Read error: Connection reset by peer]
chihhsin_ has joined #ruby
<bnagy> why did you choose eventmachine?
popl has joined #ruby
popl has joined #ruby
jamto11 has quit [Ping timeout: 265 seconds]
simono has joined #ruby
<mozzarella> I don't know, I hesitate between eventmachine and celluloid
elfenlaid has joined #ruby
<mozzarella> do you have something else to suggest?
<bnagy> I'd be inclined toward celluloid in general
simono has quit [Read error: Connection reset by peer]
<bnagy> but it does depend on the actual use case
<bnagy> which you haven't described at all
simono has joined #ruby
simono has quit [Read error: Connection reset by peer]
simono has joined #ruby
chihhsin_ has joined #ruby
chihhsin_ has quit [Client Quit]
elfenlaid has left #ruby ["Leaving"]
mikecmpbll has joined #ruby
andrewlio has joined #ruby
etqqkoiflwhb___ has quit [Quit: Computer has gone to sleep.]
phansch has quit [Quit: WeeChat 0.4.2]
klaut has joined #ruby
etqqkoiflwhb___ has joined #ruby
<mozzarella> well, I have two projects, one of them is a IRC robot
<mozzarella> basically I want to handle multiple connections, and also be able to query some websites without blocking
gancl has joined #ruby
<jhass> how do these operations conflict with each other? (given you use a threadsafe network library)
workmad3 has joined #ruby
chihhsin_wego has joined #ruby
<mozzarella> you want me to use multithreading?
<mozzarella> I don't want to run into race conditions
mrnugget has joined #ruby
<jhass> I think you've heard a term and that having those is very bad and now you want the ultimate bulletproof solution
<jhass> it doesn't work that way
chihhsin_wego has quit [Client Quit]
<mozzarella> what do you mean
chihhsin_wego has joined #ruby
etqqkoiflwhb___ has quit [Ping timeout: 255 seconds]
<jhass> explain to me what a race condition is
<mozzarella> you access a shared item from two different threads at the same time
WJB has quit []
kil0byte has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
Dr3amc0d3r is now known as Dr3amc0d3r|away
<jhass> that's an access conflict
<jhass> those can lead to race conditions
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby
<mozzarella> does celluloid use multiple threads?
pfg has joined #ruby
fabrice31 has joined #ruby
<jhass> "Painless multithreaded programming for Ruby" - http://celluloid.io/
<mozzarella> very telling indeed
jackneill has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
bahar has quit [Ping timeout: 265 seconds]
Splourian has quit [Quit: Page closed]
mikecmpbll has quit [Quit: i've nodded off.]
bahar has joined #ruby
<mozzarella> so, should I use eventmachine or celluloid?
oo_ has joined #ruby
sski has joined #ruby
CorpusCallosum has quit [Remote host closed the connection]
centrx has quit [Quit: All this computer hacking is making me thirsty]
Astralum has quit [Ping timeout: 240 seconds]
withnale has quit [Ping timeout: 264 seconds]
hiall has joined #ruby
red234324 has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradhe has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has quit [Remote host closed the connection]
<bnagy> yes
charliesome has joined #ruby
<mozzarella> bnagy: which one, though?
alexju has quit [Remote host closed the connection]
<bnagy> try both?
<bnagy> honestly, this is #ruby it isn't #runmylifeforme
banister has joined #ruby
Celm has joined #ruby
<bnagy> if you have actual questions then great, ask them, but "based on no information, what should I do??" isn't helping anyone
bradhe has quit [Ping timeout: 265 seconds]
nbezzala has quit [Remote host closed the connection]
mrnugget has quit [Quit: mrnugget]
<bnagy> both of those frameworks would be fine for an IRC bot. An IRC bot is a trivial project. You could also write one without any framework.
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lewellyn> and you could also use an existing ruby irc bot as a basis, as yet another option.
<jhass> or a framework, such as cinch
rahult has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mozzarella> I don't know, man, I don't know
<jhass> then just start, gather experience, prepare to start over with your new experiences
<jhass> it's called "learning"
morenoh149 has joined #ruby
<morenoh149> anyone up?
jespada has joined #ruby
<jhass> morenoh149: no
<jhass> morenoh149: just ask your question, don't try to find the right people for it ;)
1JTAAX36Q has joined #ruby
mikecmpbll has joined #ruby
<shevy> morenoh149 I am up
<shevy> morenoh149 I am down
<shevy> morenoh149 I am up again!
<shevy> shaky connection
Hanmac has joined #ruby
rahult has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac1 has quit [Ping timeout: 255 seconds]
morenoh150 has joined #ruby
kil0byte has quit [Remote host closed the connection]
nfk has joined #ruby
morenoh149 has quit [Ping timeout: 255 seconds]
<jhass> aaand.. gone
* jhass shakes shevy
<shevy> lol
<shevy> jhass, do you use git for your ruby projects?
<jhass> yes
charliesome has joined #ruby
morenoh151 has joined #ruby
zigomir has joined #ruby
banister has quit [Ping timeout: 255 seconds]
<morenoh151> my internet is awful
banister has joined #ruby
<shevy> morenoh151 come on man
YamakasY has joined #ruby
<shevy> the odds are stacked against you
dx7 has joined #ruby
morenoh150 has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
lukec has quit [Quit: lukec]
chridal has quit [Ping timeout: 240 seconds]
chridal has joined #ruby
dx7 has quit [Ping timeout: 255 seconds]
morenoh151 has quit [Ping timeout: 264 seconds]
morenoh151 has joined #ruby
tvw has quit []
unholycrab has quit [Ping timeout: 246 seconds]
tvw has joined #ruby
bahar has quit [Ping timeout: 240 seconds]
unholycrab has joined #ruby
nffff has quit [Ping timeout: 268 seconds]
bahar has joined #ruby
carlyle has joined #ruby
jespada has quit [Quit: Leaving]
dangerousdave has quit [Quit: Leaving...]
phansch has joined #ruby
carlyle has quit [Ping timeout: 265 seconds]
rvraghav93_ has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
rvraghav93 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
_maes_ has joined #ruby
mikecmpbll has joined #ruby
OopsJesus has quit [Quit: Angry potatoes in your anus.]
carraroj has quit [Read error: Operation timed out]
jespada has joined #ruby
elaptics`away is now known as elaptics
dangerousdave has joined #ruby
mrnugget has joined #ruby
blackmesa has joined #ruby
etqqkoiflwhb___ has joined #ruby
drazoro has joined #ruby
mrnugget has quit [Ping timeout: 268 seconds]
bradhe has joined #ruby
_Andres has joined #ruby
tgkokk has joined #ruby
User458764 is now known as User458764_NotHe
m0s^away is now known as m0s
User458764_NotHe has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jespada has quit [Quit: Leaving]
robustus has quit [Ping timeout: 255 seconds]
scttnlsn has quit [Ping timeout: 255 seconds]
bradhe has quit [Ping timeout: 268 seconds]
rahult has joined #ruby
robustus has joined #ruby
holderbaum has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
scttnlsn has joined #ruby
User458764 has joined #ruby
morenoh151 has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
jespada has joined #ruby
tomoe-mami has joined #ruby
YamakasY_ has joined #ruby
relix has joined #ruby
relix has quit [Max SendQ exceeded]
relix has joined #ruby
rvraghav93 has quit [Ping timeout: 240 seconds]
YamakasY has quit [Ping timeout: 240 seconds]
_Andres has quit [Read error: Connection reset by peer]
red234324 has quit [Ping timeout: 265 seconds]
chrisseaton has joined #ruby
fly2web has joined #ruby
<fly2web> i want study ruby. there is good tutorial of ruby?
Stalkr_ has joined #ruby
<shevy> fly2web several. learn to program by chris pine is a good one, it teaches you the very basics
_Andres has joined #ruby
jamto11 has joined #ruby
<fly2web> it it free? shevy
<kies> +1 for learn to program if youre just starting out to coding in general as well
rvraghav93 has joined #ruby
shou has joined #ruby
shou has left #ruby [#ruby]
<fly2web> yes
<fly2web> but i want free one.
<shevy> fly2web of course it is free
<kies> just google learn to program pdf
<fly2web> oh thanks
<fly2web> kies:
Splourian has joined #ruby
<fly2web> thanks shevy
bahar has quit [Ping timeout: 264 seconds]
<shevy> hmm
<shevy> the website seems to be down
bahar has joined #ruby
<shevy> it is normally at pine.fm/LearnToProgram/
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oneawayman has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
<fly2web> server is not respond now.
<popl> fly2web has jumped from Perl to Python to Ruby, IIRC.
<popl> :P
<shevy> I see the increases
<popl> shevy: I don't know if he got banned from Python, but I kicked him out of #perl a few times.
<fly2web> oh yes polp
<fly2web> i know haskell too.
<popl> #python
jespada has quit [Quit: Leaving]
<popl> That's cool. I like Haskell.
<fly2web> yes
<fly2web> wait i will come back. i have buy something.
<fly2web> i have to buy something.
<shevy> popl you are very interested in fly2web!
<popl> not really
<popl> I just have a very long memory, shevy.
mikecmpbll has joined #ruby
fabrice31 has joined #ruby
banister has joined #ruby
<banister> anyone here from amsterdam?
banister is now known as banisterfiend
gr33n7007h has quit [Ping timeout: 265 seconds]
_Andres has quit [Read error: Connection reset by peer]
red234324 has joined #ruby
Astralum has joined #ruby
red234324 has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 268 seconds]
timonv has quit [Remote host closed the connection]
red234324 has joined #ruby
drazoro has quit [Quit: WeeChat 0.4.3]
red234324 has quit [Client Quit]
User458764 has quit [Ping timeout: 268 seconds]
<fly2web> https://pine.fm/LearnToProgram/ <- why server is not respond?
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
<fly2web> popl: hey. what are you doing?
gancl has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
evenix has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
rahult is now known as rahult_
rvraghav93 has quit [Ping timeout: 240 seconds]
unixpro1970 has joined #ruby
mostlybadfly has joined #ruby
gancl has joined #ruby
evenix has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nari has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
bg451 has quit [Quit: bg451]
jottr has joined #ruby
wykydtron has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
mercwithamouth has joined #ruby
rvraghav93 has joined #ruby
mengu has joined #ruby
wykydtron has joined #ruby
bradhe has quit [Ping timeout: 268 seconds]
<shevy> fly2web who knows why the server does not respond, I don't think anyone here hosts it ;P
mikepack has quit [Ping timeout: 268 seconds]
<shevy> fly2web why don't you simply start reading
<fly2web> ok shevy
<fly2web> i will start read it.
spider-mario has joined #ruby
<fly2web> i just know about ruby’s strength comparing to python or perl?
<fly2web> before starting.
<fly2web> i just want know about ruby’s strength comparing to python or perl before starting.
<j416> fly2web: ruby and python are more or less on-par, perl has uglier syntax but is more widely supported across systems
Slavox is now known as Slavox|AFK
pfg has joined #ruby
<fly2web> ok thanks j416
chrisseaton has quit []
<fly2web> and one more question.
<shevy> fly2web in the long run it really does not matter, but you need to decide on a language and then invest enough time to become really good in it
caustic has joined #ruby
<fly2web> ruby is related with hacking?
mengu__ has joined #ruby
<shevy> what kind of question is that
<shevy> ruby is general purpose
<shevy> you use it for whatever you want to
<fly2web> ok i see shevy
mengu has quit [Ping timeout: 255 seconds]
<shevy> popl I am beginning to see what you mean :D
jottr_ has joined #ruby
jottr has quit [Read error: Operation timed out]
jollyy has joined #ruby
carraroj has joined #ruby
jollyy has quit [Client Quit]
dx7 has joined #ruby
<Hanmac> shevy: its like C or ASM is related to hacking ;P
mengu__ has quit [Ping timeout: 240 seconds]
rahult_ is now known as rahult
mehlah has quit [Quit: Leaving...]
pfg has quit [Quit: Textual IRC Client: www.textualapp.com]
dx7 has quit [Ping timeout: 255 seconds]
pfg has joined #ruby
thomasxie has left #ruby [#ruby]
sski has quit [Remote host closed the connection]
oneawayman has quit [Ping timeout: 264 seconds]
mehlah has joined #ruby
hamakn has joined #ruby
sski has joined #ruby
slopjong has joined #ruby
<slopjong> i'm getting /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'childprocess' (~> 0.3.7) - did find: [childprocess-0.5.2]
<slopjong> to be honest, i'm not a ruby guy, i don't know how to fix the dependency issue, my system is up-to-date
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
Squarepy has joined #ruby
<jhass> slopjong: gem install childprocess -v 0.3.7
<Mon_Ouie> You need an older version of that gem for the program you're trying to run to work. Try gem install childprocess -v 0.3.7.
<jhass> or use something like bundler
x77686d has joined #ruby
<Mon_Ouie> (~> 0.3.7 means 0.3.7 <= version < 0.4.0)
sski has quit [Ping timeout: 255 seconds]
<slopjong> Mon_Ouie, thanks, that did it
YamakasY_ has quit [Remote host closed the connection]
x77686d has quit [Ping timeout: 268 seconds]
rvraghav93 has quit [Ping timeout: 255 seconds]
rvraghav93 has joined #ruby
Dude007 has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrisseaton has joined #ruby
tomoe-mami has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
kykypy3 has joined #ruby
carlyle has joined #ruby
Squarepy has quit [Quit: Leaving]
Squarepy has joined #ruby
rvraghav93 has quit [Ping timeout: 265 seconds]
m0s is now known as m0s^away
claymore has quit [Ping timeout: 265 seconds]
carlyle has quit [Ping timeout: 265 seconds]
claymore has joined #ruby
alexju has joined #ruby
rvraghav93 has joined #ruby
<fly2web> how can i install ruby in the mac?
<shevy> god
<kykypy3> use homebrew
<jhass> fly2web: http://bit.ly/1mexJzH
<Hanmac> mac are shipped with an outdated version of ruby
yfeldblum has joined #ruby
<fly2web> thanks
<Hanmac> i used macports + rvm to install newest ruby trunk on OSX
peta_ has joined #ruby
<fly2web> i install it with homebrew.
alexju has quit [Read error: Operation timed out]
<fly2web> macports + rvm…..i first heard it.
<fly2web> i want install it with homebrew. is it possible/
<fly2web> ?
<kykypy3> yes
hiall has quit [Quit: hiall]
bradhe has joined #ruby
fuleo has joined #ruby
<fly2web> i have this fodler /usr/local/Cellar/ruby193/1.9.3-p545, then ruby is installed?
kykypy3 has quit []
chipotle has quit [Quit: cya]
yfeldblum has quit [Ping timeout: 265 seconds]
<Hanmac> hm maybe? ;P
<shevy> hopefully not
<shevy> there is too much negative noob karma
banister has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 264 seconds]
<Hanmac> shevy: yeah the path give me totally weird vibes ;P
<shevy> it's not the path
<shevy> it's for someone who can't be a noob, act like a noob
tgkokk has quit [Ping timeout: 255 seconds]
<andrewlio> Hi guys, need help with rails - http://pastebin.com/tcY5DywA
<Hanmac> andrewlio: #RubyOnRails
fly2web has left #ruby [#ruby]
<andrewlio> ok (
lyanchih__ has joined #ruby
andrewlio has quit [Quit: Leaving.]
teddyp1cker has quit [Remote host closed the connection]
andrewlio has joined #ruby
hiall has joined #ruby
postmodern has quit [Quit: Leaving]
claymore has quit [Ping timeout: 240 seconds]
hiall has quit [Quit: hiall]
maximski has joined #ruby
claymore has joined #ruby
dvxam has joined #ruby
zigomir_ has joined #ruby
<andrewlio> #RubyOnRails - just asleep ((
Deele has joined #ruby
zigomir has quit [Ping timeout: 265 seconds]
Splourian has quit [Ping timeout: 245 seconds]
rvraghav93 has quit [Ping timeout: 264 seconds]
rvraghav93 has joined #ruby
Celm has joined #ruby
eka has joined #ruby
spicerack has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
rahult is now known as rahult_
fabrice31 has joined #ruby
obs has joined #ruby
jamto11 has joined #ruby
mehlah has quit [Quit: Leaving...]
fabrice31 has quit [Ping timeout: 255 seconds]
timonv has joined #ruby
etqqkoiflwhb___ has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 265 seconds]
<shevy> I have rewrites
<shevy> *hate
timonv has quit [Ping timeout: 255 seconds]
rahult_ is now known as rahult
oneawayman has joined #ruby
mehlah has joined #ruby
rahult is now known as rahult_
bahar has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
bahar has joined #ruby
davedev24 has joined #ruby
carlyle has joined #ruby
rvraghav93_ has joined #ruby
rvraghav93 has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
armyriad has quit [Ping timeout: 264 seconds]
armyriad has joined #ruby
bradhe has joined #ruby
benzrf|offline is now known as benzrf
popl has quit [Ping timeout: 240 seconds]
<benzrf> Mon_Ouie: back yet?
carlyle has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
yasushi has joined #ruby
bradhe has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
cover has joined #ruby
shevy has quit [Ping timeout: 255 seconds]
<Mon_Ouie> benzrf: Yes
sepp2k has joined #ruby
<benzrf> ok
<benzrf> 1 sec:
jollyy has joined #ruby
<benzrf> Mon_Ouie: i found that this diff http://bpaste.net/show/195216/ allows multiple pries to work
<benzrf> and I have not seen any side effects
<benzrf> why did that code exist in the first place?
chrisseaton has quit []
shevy has joined #ruby
ghr has joined #ruby
<Mon_Ouie> So that puts will work
<benzrf> but it does anyway o.o
<Mon_Ouie> When people use 'puts' from the REPL they expect to see the output
<benzrf> i tried
<benzrf> wait hold on
<benzrf> it worked last time o.O
<benzrf> oh i see, it's the connection order
<benzrf> Mon_Ouie: do you think there's some way to swap $stdout in and out as code is evaluated>
<Mon_Ouie> I'm not sure, maybe Pry provides hooks that could be used for that purpose
braincrash has quit [Read error: Connection reset by peer]
<Mon_Ouie> Yeah, I think we could use before_eval/after_eval
<benzrf> sweet
oo_ has joined #ruby
<benzrf> any idea why setting $stdout was messing with multiple conns, tho
ghr has quit [Ping timeout: 255 seconds]
braincrash has joined #ruby
teddyp1cker has quit []
sambao21 has joined #ruby
<Mon_Ouie> Not really, expect that you wouldn't see pry-remote's messages about what's happening
<Mon_Ouie> Or well, the previous client should see them
sambao21 has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
<benzrf> yeah, that did happen
<benzrf> but also nothing showed up in the second connection
dx7 has joined #ruby
<benzrf> wait wtf
<benzrf> it started working ?!?!
St_Marx has joined #ruby
* benzrf headdesks
<benzrf> now it has stdout going to the second connection
<benzrf> -.-
jason___ has joined #ruby
browndawg has quit [Ping timeout: 265 seconds]
_Andres has joined #ruby
nomenkun has joined #ruby
nateberkopec has joined #ruby
dx7 has quit [Ping timeout: 240 seconds]
simono_ has joined #ruby
browndawg has joined #ruby
mehlah_ has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: Leaving...]
claymore has quit [Ping timeout: 240 seconds]
jason___ has quit [Ping timeout: 264 seconds]
matchaw has quit [Ping timeout: 264 seconds]
<shevy> benzrf are you working on another gem
simono has quit [Ping timeout: 268 seconds]
kirun has joined #ruby
kitak has quit [Remote host closed the connection]
<benzrf> shevy: quick
claymore has joined #ruby
matchaw has joined #ruby
UserNameInvalid has joined #ruby
rahult_ is now known as rahult
MetaTroll has joined #ruby
unixpro1970 has quit [Quit: Computer has gone to sleep. ZZZzzz…]
<MetaTroll> Rails == Fails
rahult is now known as rahult_
klaut_ has joined #ruby
<shevy> MetaTroll hehe
rahult_ is now known as rahult
<j416> o/ how can I use a user-supplied regexp to match a string?
DaniG2k has joined #ruby
<MetaTroll> Anyway Python is way better
<DaniG2k> guys I'm trying to use Mechanize to get content from a page
<MetaTroll> Ruby is a niche language only popular in Japan
<DaniG2k> I'm trying to get the p elements within a div of a certain class
<j416> i.e. I have something like s = '/regexp/i'; and I want to convert it to r = /regexp/i
<jhass> j416: Regexp.new
<DaniG2k> search("div[@class='story-body']") seems to work
<DaniG2k> but I want to get the p elements within that
<DaniG2k> do you guys know how Nokogiri can access thsoe?
<j416> jhass: then I'd need to manually strip the leading and trailing slashes?
<j416> jhass: and move the options in manually?
<jhass> DaniG2k: just append /p
jason__ has joined #ruby
<DaniG2k> jhass: ah cool
<DaniG2k> i dont get when to use .p or when to use /p or //p
<jhass> /p searches for direct childs, //p searches for child anywhere below the current node
<benzrf> MetaTroll: i give u 2/10 trole pointz
jake has joined #ruby
rm_ has joined #ruby
<jhass> j416: hm, looks like it, that's probably the reason rubular.com makes individual inputs
jake is now known as Guest39381
Blaze_Boy has joined #ruby
dangerousdave has joined #ruby
mrnugget has joined #ruby
<MetaTroll> No I'm serious
<MetaTroll> Goto any tech bookshop here and it's mainly Python/Java/.NET
<DaniG2k> jhass: thanks!
<MetaTroll> Goto the same kind of bookshop in Tokyo and it's all Ruby
Slavox|AFK is now known as Slavox
<MetaTroll> Niche language. Only popular in Japan.
<MetaTroll> K thx bai
oneawayman has quit [Ping timeout: 255 seconds]
<benzrf> MetaTroll: i deduct 1 troll point for trying to hang onto a failed troll
<benzrf> congrats on your 1/10
Guest39381 has quit [Client Quit]
<matti> Is that just me, or serialising to JSON stopped working? I cannot seem to get self.json_create to be called on 2.0.x, hmm...
chipotle has joined #ruby
<jhass> benzrf: you need to +1 again for not ignoring him
<Mon_Ouie> benzrf: https://github.com/Mon-Ouie/pry-remote/tree/fix/multiple-connections Does this branch work for you?
MetaTroll was kicked from #ruby by apeiros [meh]
<benzrf> Mon_Ouie: checking
blackmes1 has joined #ruby
<jhass> ty apeiros
<matti> apeiros: Appreciated!
<apeiros> yw
<apeiros> that guy wasn't even funny :(
chipotle has quit [Client Quit]
<benzrf> he pm'd 'hey asshole go suck a bag of dicks'
<benzrf> i deducted another point
<benzrf> oh man now hes sending me more hatemail ahaha
<matti> => 2+2
<shevy> lol
<apeiros> lol
<matti> How do you get to work with bot?
<matti> Or is it the other channel.
<shevy> matti leading >>
<matti> Ah.
blackmesa has quit [Ping timeout: 265 seconds]
<Mon_Ouie> And it's on both (it's called eval-in)
<benzrf> ahaha he spammed me a page of 'PENIS PENIS PENIS'
<matti> >> require 'json' ; JSON.parse //.to_json
<eval-in> matti => (https://eval.in/128578)
<Mon_Ouie> You can't require certain libraries for some reason
jollyy has quit [Quit: jollyy]
<matti> Ah
nopolitica has joined #ruby
<matti> I am going mad, I think.
<matti> The self.json_create(o) stopped working for me.
<Hanmac> Mon_Ouie: specially you cant require the compiled stuff from the stdlib
<matti> LOL
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<Hanmac> Mon_Ouie: charliesome didnt fixed that yet
<Mon_Ouie> You do know JSON only allows objects (i.e. hashes) and arrays as top-level objects?
<shevy> benzrf he is just lonely
<benzrf> Mon_Ouie: puts in the 2nd prints in the first
<benzrf> oh wait
<benzrf> maybe its vice versa
kobain has joined #ruby
<apeiros> benzrf: narcissists like that troll thrive of attention. best not to give him any.
<benzrf> yeah i stopped responding
<jhass> interestingly, JSON.load //.to_json works, sort of
<benzrf> Mon_Ouie: also i ctrl+d'd out of the 2nd one and it's just hanging
<matti> jhass: Regexp has as_json and to_json in 2.x
<benzrf> Mon_Ouie: and when i ctrl+c'd it, the other one stopped working
<benzrf> o.o
<DaniG2k> guys is it possible to send in a method's name as a parameter?
<apeiros> DaniG2k: of course
<DaniG2k> like say I want to run method X on search(X)
<DaniG2k> apeiros: how do I do that?
<apeiros> DaniG2k: :method_name or "method_name"
<DaniG2k> ah so it works just with quotes
<DaniG2k> I'l test
<apeiros> DaniG2k: you only asked about *passing a name*
<jhass> DaniG2k: that sounds like you want to pass a block or proc though
sski has joined #ruby
<shevy> DaniG2k the name of the current method is stored in __method__
bradhe has joined #ruby
nopolitica has quit [Quit: leaving]
<DaniG2k> apeiros: doesnt work :\
<apeiros> DaniG2k: of course it works
<DaniG2k> I have something like
<shevy> pastie!!!
<apeiros> DaniG2k: but it might well be that you didn't ask what you wanted to know…
<DaniG2k> Mechanize.new.get(url).search(source).collect {|elt| elt.content}
<DaniG2k> and I'm passing in the source
<DaniG2k> which is a method
<shevy> can you chain a few more methods to this line :P
<DaniG2k> :P
<apeiros> DaniG2k: does search *expect* a method name?
<shevy> and did you do: source = __method__
<apeiros> because just because you want it to, doesn't make it so…
<Mon_Ouie> benzrf: Testing on this example seems to work for the little that I tried so far (just puts on both clients and disconnecting with ^D): https://gist.github.com/9854790
<shevy> btw
nopolitica has joined #ruby
<shevy> it's annoying that you paste only one line of code, others have no idea what the heck is url and source :(
klaut_ has quit [Remote host closed the connection]
<benzrf> Mon_Ouie: hmmm
<benzrf> I used:
<benzrf> Thread.new {remote_pry 'localhost', 9001}
<benzrf> Thread.new {remote_pry 'localhost', 9002}
<shevy> hah
<shevy> I just found out that gimp has a single window mode ...
rippa has joined #ruby
momomomomo has joined #ruby
camilasan has quit [Ping timeout: 255 seconds]
<benzrf> Mon_Ouie: maybe it's Object#remote_pry vs Binding#remote_pry
<Mon_Ouie> They're aliases
<Mon_Ouie> Oh, Object vs Binding, sorry
<Mon_Ouie> But now that I tried it I can't evaluat code on the second one after the first one exits it seems
carlyle has joined #ruby
ascarter has joined #ruby
flowerpot has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
browndawg has quit [Quit: Leaving.]
jollyy has joined #ruby
ferr has joined #ruby
nopolitica has quit [Quit: leaving]
skammer is now known as skammer|afk
s00pcan has joined #ruby
carlyle has quit [Ping timeout: 265 seconds]
lxsameer has quit [Quit: Leaving]
yfeldblum has joined #ruby
peta_ has quit [Quit: peta_]
<j416> jhass: thanks, did that, works nicely. :)
* j416 afk
flowerpot has quit [Quit: leaving]
asdfgg has joined #ruby
* shevy horny
claymore has quit [Ping timeout: 265 seconds]
lyanchih__ has quit [Quit: lyanchih__]
tjbiddle has joined #ruby
<benzrf> Mon_Ouie: :I
ClarusCogitatio has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
chipotle has joined #ruby
claymore has joined #ruby
_justin has joined #ruby
<Mon_Ouie> The error seems to be DRb::DRbServerNotFound (raised on the server). Not sure why, since I thought DRb maintained different current servers for each thread.
_justin has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
gancl_ has joined #ruby
tvw has quit []
_justin has joined #ruby
gancl has quit [Ping timeout: 268 seconds]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
skammer|afk is now known as skammer
blackmes1 has quit [Ping timeout: 265 seconds]
mikepack has quit [Ping timeout: 255 seconds]
<benzrf> o.o
<DaniG2k> my god the nokogiri documentation is aweful
<DaniG2k> doesnt make any sense
<DaniG2k> how do i access an id within a div?
<DaniG2k> i tried with div[@id='id-name']
<DaniG2k> but it doesnt work
rm_ has quit [Remote host closed the connection]
<DaniG2k> is there a list of nokogiri's html page attributes?
<DaniG2k> and how to access them
rm_ has joined #ruby
<apeiros> DaniG2k: nokogiri docs are not supposed to replicate css-/xpath-selector docs o
<apeiros> -o
<shevy> DaniG2k don't worry
<shevy> the more XML you use, the better everything becomes
<shevy> including the nokogiri documentation
<apeiros> css selector for <div id="x"> is div#x
s00pcan has quit [Ping timeout: 255 seconds]
<DaniG2k> -_-
<DaniG2k> its written nowhere
<DaniG2k> do people just guess this stuff?
<apeiros> DaniG2k: no, they google "css selectors" or "xpath selectors"
yfeldblum has joined #ruby
<shevy> DaniG2k dunno, I wouldn't touch nokogiri with a 10 yard stick myself
<apeiros> http://www.w3schools.com/cssref/css_selectors.asp f.ex. would be a search result. no need to guess.
YamakasY has joined #ruby
rm__ has joined #ruby
sepp2k has quit [Quit: Leaving.]
<DaniG2k> shevy: what would you use
jamto11 has joined #ruby
enebo has joined #ruby
rm_ has quit [Ping timeout: 268 seconds]
peret has joined #ruby
<shevy> DaniG2k can't give you an alternative because I abandoned XML about 8 years ago and never went back. I let ruby autogenerate everything related to XML/html etc..
sepp2k has joined #ruby
<DaniG2k> hmm but im using it for scraping so i kinda need it
jamto11_ has joined #ruby
yfeldblu_ has joined #ruby
_justin has quit [Quit: _justin]
sambao21 has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
<DaniG2k> why oh why wont this work
<DaniG2k> .search( "div#'article-body-blocks' /p")
<DaniG2k> nor will this .search( "div[#id'article-body-blocks']/p")
<DaniG2k> nor will this .search( "div[#id='article-body-blocks']/p")
jamto11 has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
Celm has joined #ruby
sambao21 has joined #ruby
Hanmac1 has joined #ruby
<apeiros> DaniG2k: the first one probably doesn't work because your id *most likely* does not start and end with a single quote.
<apeiros> also I have no idea what kind of css selector /p is
<apeiros> also, "why does X not work" is a horribly bad problem description.
dangerousdave has quit [Read error: Connection reset by peer]
r0nin has joined #ruby
brunoro has joined #ruby
timonv has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
<DaniG2k> apeiros: returns an empty array
browndawg has joined #ruby
<DaniG2k> I also tried this and it returns an empty array
<DaniG2k> page.search("//div[@id='article-body-blocks']")
rvraghav93 has joined #ruby
<DaniG2k> where page is the Mechanize agent of the url i want
Celm has quit [Ping timeout: 265 seconds]
<apeiros> DaniG2k: I told you two issues with your css approach. for more help, provide a reproducable example.
rvraghav93_ has quit [Ping timeout: 265 seconds]
<DaniG2k> apeiros: double quotes makes no difference
simono_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf> Mon_Ouie: any luck o-o
jamto11_ has quit [Remote host closed the connection]
simono has joined #ruby
<DaniG2k> k I'll be back later
<DaniG2k> gonna go back home now
<DaniG2k> thanks guys
DaniG2k has quit [Quit: leaving]
timonv has quit [Ping timeout: 240 seconds]
_justin has joined #ruby
evenix has joined #ruby
kirun has quit [Ping timeout: 240 seconds]
jespada has joined #ruby
Shidash has joined #ruby
elaptics`away is now known as elaptics
timonv has joined #ruby
nolic has joined #ruby
Kar- has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
jottr_ has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
_justin has quit [Quit: _justin]
<Mon_Ouie> benzrf: No, I won't look into it right now though
mcls has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Remote host closed the connection]
rahult is now known as rahult_
chipotle has joined #ruby
juarlex has joined #ruby
<benzrf> kk
jamto11 has joined #ruby
danno1 has joined #ruby
m0s^away is now known as m0s
matchaw has quit [Ping timeout: 264 seconds]
carlyle has joined #ruby
camilasan has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
banister has joined #ruby
peta_ has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
demas has joined #ruby
jamto11 has quit [Remote host closed the connection]
mcls has left #ruby [#ruby]
AlexRussia has quit [Ping timeout: 240 seconds]
carlyle has quit [Ping timeout: 265 seconds]
cpruitt has joined #ruby
koderok has joined #ruby
juarlex has quit [Read error: Connection reset by peer]
juarlex_ has joined #ruby
jeffrin has joined #ruby
<jeffrin> hello all
<jeffrin> i got error
freakazoid0223 has quit [Read error: Operation timed out]
m_3 has quit [Remote host closed the connection]
juarlex has joined #ruby
<jhass> jeffrin: oh no, better fix it
speakingcode has joined #ruby
<jeffrin> it is related to this ... bubblesort.rb:19: syntax error, unexpected '=', expecting keyword_end ran(x) = rand(1..1000)
itadder has joined #ruby
<jhass> jeffrin: make a gist with your whole file
AlexRussia has joined #ruby
dx7 has joined #ruby
r0nin has quit [Remote host closed the connection]
<jhass> jeffrin: while doesn't take a do
<jhass> also make sure to indent your code properly
mehlah_ is now known as mehlah
<itadder> what the best tool to help indent code
pwh has joined #ruby
<jhass> itadder: your editor and mind
<itadder> I think in sublime text thier isi beatiufy ruby
<itadder> plugin
juarlex_ has quit [Ping timeout: 268 seconds]
juarlex_ has joined #ruby
<jhass> jeffrin: lastly we prefer a functional approach: array_size.times do |x|
<jhass> oh and you access arrays by indicies with [] not with ()
juarlex_ has quit [Client Quit]
rm__ has quit [Remote host closed the connection]
juarlex_ has joined #ruby
juarlex has quit [Ping timeout: 265 seconds]
lyanchih__ has joined #ruby
rm_ has joined #ruby
dx7 has quit [Ping timeout: 240 seconds]
Astral_ has joined #ruby
osvico has quit [Read error: Connection reset by peer]
peta_ has quit [Quit: peta_]
<jhass> jeffrin: here's a small trick to do what your first while does: Array.new(array_size) { rand 1..1000 }
osvico has joined #ruby
<banister> Hanmac1 i think modern macs come with ruby 2.0
juarlex_ has quit [Client Quit]
<jhass> jeffrin: and you can do a swap with ran[x], ran[y] = ran[y], ran[x]
<jeffrin> jhass : hey may be it is working now .. no compiler errors
nomenkun has quit [Remote host closed the connection]
Astralum has quit [Ping timeout: 240 seconds]
karmatr0n has joined #ruby
<jeffrin> jhass : i used [ related to arrays
<jeffrin> jhass : anyway thanks a lot
nomenkun has joined #ruby
Xeago has joined #ruby
rvraghav93_ has joined #ruby
crystal77 has joined #ruby
rahult_ is now known as rahult
rvraghav93 has quit [Ping timeout: 264 seconds]
rahult is now known as rahult_
marcdel has quit [Ping timeout: 255 seconds]
Xeago_ has joined #ruby
<benzrf> wait does ruby do POD also
arya_ has joined #ruby
rm__ has joined #ruby
Astral_ has quit [Ping timeout: 240 seconds]
lyanchih__ has quit [Quit: lyanchih__]
<jhass> jeffrin: here's all my tipps applied http://paste.mrzyx.de/pec69e42c/
cpruitt has quit [Quit: cpruitt]
lyanchih_ has joined #ruby
arya_ has left #ruby [#ruby]
nomenkun has quit [Ping timeout: 255 seconds]
<jhass> er, strike that silly dot at the second do
incade has joined #ruby
rm_ has quit [Ping timeout: 240 seconds]
eka has joined #ruby
bluOxigen has joined #ruby
stef_204 has joined #ruby
_justin has joined #ruby
bogeyd6 has joined #ruby
yasushi has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
DaniG2k has joined #ruby
<DaniG2k> does anyone know why this css selector for nokogiri is returning an empty array?
<DaniG2k> doc.css('div#flexible-content-body p')
<DaniG2k> where doc is the Nokogiri document for this page: http://www.theguardian.com/world/2014/feb/16/branson-qantas-deter-investors-australia
<jhass> DaniG2k: because doc has no div with the id flexible-content-body that has any p child elements
Celm has joined #ruby
<jhass> DaniG2k: flexible-content-body is the elements class, not id
lilltiger has quit [Remote host closed the connection]
<DaniG2k> jhass: -_- thanks....for some reason.....firebug puts it as id
UserNameInvalid has quit [Ping timeout: 240 seconds]
_justin has quit [Quit: _justin]
<DaniG2k> jhass: ok this is so weird
<DaniG2k> it returns an empty array even with the right selector
Celm has quit [Ping timeout: 265 seconds]
<DaniG2k> "div[@class='flexible-content-body']"
toastynerd has joined #ruby
freezey has joined #ruby
<apeiros> dom.css('div.flexible-content-body p').size
<apeiros> # => 19
speakingcode has quit [Ping timeout: 268 seconds]
<apeiros> for the given url
<jhass> ^
<apeiros> dom.css("div[@class='flexible-content-body'] p").size gives me 19 too
<jhass> uh, that's css? :P
<apeiros> hm, actually @attr is xpath afaik. seems like libxml doesn't care much
Soda has joined #ruby
<apeiros> without @, it'd be css
<DaniG2k> im getting size = 0
<jhass> doc.xpath("//div[@class='flexible-content-body']/p").size #=> 19 too
itadder has quit [Remote host closed the connection]
<DaniG2k> page.search("//div[@class='flexible-content-body']/p").size => 0
<jeffrin> jhass: is "end" required for "if"
jollyy has quit [Quit: jollyy]
<apeiros> DaniG2k: are you sure your .search method expects a css/xpath selector?
<apeiros> as in: did you read its docs?
<DaniG2k> apeiros: I'm using Mechanize's search
<jhass> jeffrin: generally yes, however has ruby has the modifier if, that is if you append an if to a line of code you affect only that line before the if and don't need an end
<apeiros> that's fine and dandy, but not an answer :-p
greggroth has joined #ruby
bradhe has joined #ruby
<DaniG2k> apeiros: "The expression given to Mechanize::Page#search may be a CSS expression or an XPath expression:"
<apeiros> DaniG2k: then the next question would be: are you sure your page contains the body of the url you gave us?
<DaniG2k> yes
bluOxigen has quit []
<apeiros> then I can't help you.
<jhass> can you prove it?
timonv has quit [Remote host closed the connection]
<apeiros> because for me, for that body, I get 19 matches for that selector.
<DaniG2k> and look at the code
chipotle has quit [Quit: cya]
<jhass> DaniG2k: that looks like an xpath so search probably interprets it as such
<jhass> compare it to mine
Shidash has quit [Ping timeout: 265 seconds]
bradhe has quit [Ping timeout: 240 seconds]
<DaniG2k> nothing T_T
<DaniG2k> empty array
<jhass> well, at least provide something we can copy & paste to reproduce your problem
slopjong has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
speakingcode has joined #ruby
Splourian has joined #ruby
tkuchiki has joined #ruby
rvraghav93_ has quit [Read error: Connection reset by peer]
<DaniG2k> oh damn
<DaniG2k> it worked this time
<DaniG2k> I got it
<DaniG2k> :D
<jhass> did you understand what was wrong?
<DaniG2k> jhass: apparently only this works: "div.flexible-content-body p"
top4o has joined #ruby
<jhass> DaniG2k: look at my screenshot
<jhass> there's a working xpath
<DaniG2k> yea I was using the other one
<jhass> yours just wasn't
mgorbach has quit [Quit: ZNC - http://znc.in]
mgorbach has joined #ruby
ferr has quit [Ping timeout: 265 seconds]
carraroj has quit [Ping timeout: 265 seconds]
circuit has joined #ruby
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]]
msmith has joined #ruby
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_justin has joined #ruby
incade has quit [Quit: incade]
jottr has joined #ruby
ELCHILEN0 has joined #ruby
stef_204 has quit [Remote host closed the connection]
<ELCHILEN0> With the same code I am experiencing different results with the |= bitwise operator
maximski has quit []
DaniG2k has quit [Quit: leaving]
<apeiros> ELCHILEN0: without having looked at your code - iirc JS bitwise operations consider the number to be a 32bit integer
<apeiros> ruby has "infinitely" sized integers
<ELCHILEN0> That would probably be causing the error! Thanks!
<jhass> ELCHILEN0: without having looked at the logic, nicer ruby http://paste.mrzyx.de/p63ceda02/
mary5030 has joined #ruby
<apeiros> who volunteers up to look at the code & logic? :)
chris_thomson has joined #ruby
kirun has joined #ruby
lukec has joined #ruby
<jhass> never heard of teamwork apeiros?
pinage404 has quit [Ping timeout: 245 seconds]
<apeiros> jhass: yes, we did that. we progressed from not even looking at the code to looking at the code but not the logic
arietis has joined #ruby
<apeiros> now our team needs a third member who considers the logic :)
<jhass> ah I messed the logic up
<jhass> he continues to use i after the loop
sepp2k has quit [Quit: Leaving.]
freezey has quit [Remote host closed the connection]
<apeiros> curious as to what that code actually does
<ELCHILEN0> that was intentional however I could just as easily change it to str.length
freezey has joined #ruby
greggroth has quit [Ping timeout: 268 seconds]
Mon_Ouie has quit [Read error: Connection reset by peer]
<ELCHILEN0> its part of a websites md5 hash algorithm I am trying to reverse engineer
thesheff17 has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 265 seconds]
thesheff17 has joined #ruby
slopjong has joined #ruby
banister has joined #ruby
jespada has quit [Quit: Leaving]
<apeiros> that algorithm is weird, and IMO broken…
jollyy has joined #ruby
timonv has joined #ruby
freezey has quit [Ping timeout: 268 seconds]
shevy has quit [Ping timeout: 265 seconds]
msmith has quit [Remote host closed the connection]
jollyy has quit [Client Quit]
Chronocity has joined #ruby
<ELCHILEN0> Fixed it! Thank you!
shevy has joined #ruby
browndawg has quit [Quit: Leaving.]
pinage404 has joined #ruby
digitaldrops has joined #ruby
osvico has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 255 seconds]
digitaldrops has left #ruby [#ruby]
Solnse has joined #ruby
speakingcode has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
cover_ has joined #ruby
gigetoo has quit [Ping timeout: 265 seconds]
cover has quit [Ping timeout: 265 seconds]
george2 has quit [Remote host closed the connection]
jamto11 has joined #ruby
ixti has joined #ruby
pinage404 has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
saarinen has joined #ruby
tgkokk has joined #ruby
jamto11 has quit [Read error: Operation timed out]
saarinen has quit [Client Quit]
saarinen has joined #ruby
karmatr0n has quit [Remote host closed the connection]
Biohazard has joined #ruby
speakingcode has joined #ruby
freezey has joined #ruby
danno1 has quit [Ping timeout: 265 seconds]
geoffw8_ has joined #ruby
nouitfvf has joined #ruby
Celm has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> test
toastynerd has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
gancl_ has quit [Ping timeout: 255 seconds]
freezey has joined #ruby
maximski has quit []
lyanchih_ has quit [Quit: lyanchih_]
michaeldeol has joined #ruby
Aquilo has quit []
karmatr0n has joined #ruby
<linduxed> hey guys, i was wondering where i'd report a crash in 2.1.0?
lyanchih_ has joined #ruby
brunoro has quit [Ping timeout: 240 seconds]
slopjong has quit [Ping timeout: 245 seconds]
<jhass> as I understood it 2.1.1 is the most recent version and there will be no maintenance release for .0 (since .1 is the maintenance release for 2.1)
Celm has quit [Ping timeout: 255 seconds]
<jhass> so first verify it with 2.1.1
jollyy has joined #ruby
bradhe has joined #ruby
rvraghav93 has joined #ruby
<linduxed> jhass: ok, will do
mikepack has joined #ruby
_justin has quit [Quit: _justin]
freezey has quit [Ping timeout: 252 seconds]
Splourian has quit [Quit: Page closed]
pinage404 has joined #ruby
larsam has joined #ruby
Hobogrammer has joined #ruby
greggroth has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
prs_ has joined #ruby
jollyy has quit [Quit: jollyy]
nateberkopec has quit [Quit: Leaving...]
prs has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 240 seconds]
eynj has joined #ruby
nateberkopec has joined #ruby
m0s is now known as m0s^away
m8 has joined #ruby
nisstyre has joined #ruby
m0s^away is now known as m0s
chrisseaton has joined #ruby
m0s is now known as m0s^away
carlyle has joined #ruby
<jeffrin> jhass: anyway thanks
fannye has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pushpak has joined #ruby
<benzrf> bbloom:
<benzrf> *bbl
benzrf is now known as benzrf|offline
dx7 has joined #ruby
eynj1 has joined #ruby
eynj1 has left #ruby [#ruby]
funktor has joined #ruby
jeffrin has quit [Quit: Leaving]
nateberkopec has quit [Quit: Leaving...]
banister has joined #ruby
chipotle has joined #ruby
eynj has quit [Ping timeout: 264 seconds]
george2 has joined #ruby
gigetoo has joined #ruby
nateberkopec has joined #ruby
nateberkopec has quit [Client Quit]
eynj has joined #ruby
jollyy has joined #ruby
Fire-Dragon-DoL has joined #ruby
mikepack has quit [Remote host closed the connection]
toastynerd has joined #ruby
demas has quit [Quit: demas]
demas has joined #ruby
carlyle has quit []
macmartine has joined #ruby
karmatr0n has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
jollyy has quit [Quit: jollyy]
benzrf|offline is now known as benzrf
jollyy has joined #ruby
klaut has quit [Remote host closed the connection]
Stalkr_ has quit [Ping timeout: 240 seconds]
brunoro has joined #ruby
stef_204 has joined #ruby
Xeago has quit [Remote host closed the connection]
jollyy has quit [Client Quit]
saarinen has quit [Quit: saarinen]
karmatr0n has joined #ruby
macmartine has quit [Remote host closed the connection]
tgkokk has quit [Ping timeout: 265 seconds]
macmartine has joined #ruby
spyderman4g63 has quit [Ping timeout: 240 seconds]
funktor has quit [Remote host closed the connection]
msmith has joined #ruby
sepp2k has joined #ruby
saarinen has joined #ruby
mieko has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
marcdel has joined #ruby
macmartine has quit [Ping timeout: 240 seconds]
rvraghav93 has quit [Ping timeout: 240 seconds]
rvraghav93 has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
Kilo`byte has quit [Ping timeout: 240 seconds]
Es0teric has joined #ruby
jzig has joined #ruby
Slavox is now known as Slavox|AFK
Kilo`byte has joined #ruby
Stalkr_ has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
arubin has joined #ruby
stef_204 has joined #ruby
demas has quit [Quit: demas]
dh64 has quit [Quit: Konversation terminated!]
frem_ has joined #ruby
peret has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Slavox|AFK is now known as Slavox
_justin has joined #ruby
bradhe has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
axsuul has quit [Ping timeout: 252 seconds]
Celm has joined #ruby
evenix has quit [Remote host closed the connection]
rvraghav93 has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby
ndrei has joined #ruby
maximski has joined #ruby
claymore has quit [Ping timeout: 255 seconds]
bradhe has quit [Ping timeout: 265 seconds]
claymore has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
lkba has joined #ruby
kennym has joined #ruby
jollyy has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
lukec has quit [Quit: lukec]
Shidash has joined #ruby
maroloccio has joined #ruby
tjbiddle_ has joined #ruby
enebo has quit [Quit: enebo]
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
jollyy has quit [Client Quit]
deens has joined #ruby
tjbiddle has quit [Client Quit]
rvraghav93 has joined #ruby
workmad3 has joined #ruby
chipotle_ has joined #ruby
<Xeago_> I'm confused
<Xeago_> gem env shows EXECUTABLE DIRECTORY: /home/xeago/puppetconf/.gem/ruby/1.8.7/bin
<Xeago_> but it is not picking gem executables from there
<Xeago_> instead it picks em from system
Jetchisel has joined #ruby
<Xeago_> PATH=/home/xeago/puppetconf/.gem/ruby/1.8.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
<Hanmac1> hm first would be that you should get rip of the 1.8.7 version
benzrf is now known as benzrf|offline
Hanmac1 is now known as Hanmac
<Xeago_> Hanmac: the ruby version is generated by what is available on the system
chipotle has quit [Ping timeout: 268 seconds]
<Xeago_> I am booting a 300meg image, running 3 shell scripts that install gems for the currently available ruby
ndrei has joined #ruby
<Xeago_> and then run puppet which will set up my user environment
<Xeago_> (which installs sane ruby versions)
etqqkoiflwhb has joined #ruby
<Xeago_> I can see if I can patch the iso later, but for now this image boots <3 seconds :P
tjr9898 has quit [Remote host closed the connection]
<Xeago_> so what could be going on here?
crystal77 has quit [Quit: Computer has gone to sleep.]
tjr9898 has joined #ruby
m0s^away is now known as m0s
m0s is now known as m0s^away
toastynerd has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
_justin has quit [Quit: _justin]
m0s^away is now known as m0s
m0s is now known as m0s^away
Xeago has joined #ruby
<Xeago> I've used chgems to change my $PATH and gem env, it all looks alright to me
m0s^away is now known as m0s
m0s is now known as m0s^away
tjr9898 has quit [Ping timeout: 265 seconds]
m0s^away is now known as m0s
m0s is now known as m0s^away
AlexRussia has quit [Read error: Connection reset by peer]
m0s^away is now known as m0s
ELCHILEN0 has quit [Quit: ELCHILEN0]
mrnugget has quit [Quit: mrnugget]
m0s is now known as m0s^away
bradhe has joined #ruby
Xeago_ has quit [Ping timeout: 265 seconds]
aspires has joined #ruby
nolic has quit [Remote host closed the connection]
twiceaday has quit [Ping timeout: 255 seconds]
twiceaday has joined #ruby
brunoro has quit [Quit: WeeChat 0.4.0]
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
chichou has joined #ruby
greggroth has quit [Ping timeout: 264 seconds]
larissa has joined #ruby
sski has joined #ruby
yfeldblum has joined #ruby
rvraghav93 has quit [Ping timeout: 240 seconds]
<shevy> Hanmac, you working on any code?
UserNameInvalid has joined #ruby
spyderman4g63 has joined #ruby
mikepack has quit [Remote host closed the connection]
Nss has joined #ruby
Xeago has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
skaflem has joined #ruby
sski has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 265 seconds]
fabrice31 has joined #ruby
sski has joined #ruby
carraroj has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
msmith has quit [Remote host closed the connection]
tacos1de has quit [Remote host closed the connection]
tacos1de has joined #ruby
funktor has joined #ruby
funktor has quit [Client Quit]
freezey has joined #ruby
CaptainJet has quit [Ping timeout: 265 seconds]
ktosiek_ has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nss has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 255 seconds]
Nss has joined #ruby
sski has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 265 seconds]
ktosiek has quit [Ping timeout: 255 seconds]
alexju has joined #ruby
centrx has joined #ruby
havenwood has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
evenix has joined #ruby
ndrei has joined #ruby
mikecmpbll has joined #ruby
speakingcode has joined #ruby
lukec has joined #ruby
x77686d has joined #ruby
jorts has joined #ruby
morenoh151 has joined #ruby
jorts has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
benzrf|offline is now known as benzrf
jamto11 has joined #ruby
eka has quit [Ping timeout: 255 seconds]
bricker`LA has quit [Ping timeout: 255 seconds]
jorts has joined #ruby
relix has joined #ruby
jrendell has quit [Quit: jrendell]
relix has quit [Max SendQ exceeded]
jamto11 has quit [Ping timeout: 265 seconds]
GodPuppet has quit [Remote host closed the connection]
relix has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
AlexRussia has joined #ruby
speakingcode has quit [Ping timeout: 265 seconds]
otherj has joined #ruby
jorts has quit [Client Quit]
Celm has joined #ruby
morenoh151 has quit [Ping timeout: 265 seconds]
Speed has joined #ruby
jollyy has joined #ruby
speakingcode has joined #ruby
chichou has quit [Remote host closed the connection]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
fannye has quit [Remote host closed the connection]
Celm_ has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
m0s^away is now known as m0s
m0s is now known as m0s^away
jottr_ has joined #ruby
mityaz has joined #ruby
geoffw8_ has quit [Quit: Connection closed for inactivity]
jottr has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
<Xeago> apeiros: would you know why my env doesn't pick up gem executables?
r0nin has joined #ruby
x1337807x has joined #ruby
<Xeago> (scroll up to 17:39)
michaeldeol has joined #ruby
Cache_Money_ has joined #ruby
<banister> Xeago how do u know he's in the same timezone as you? :)
<jalcine> you never do
DaniG2k has joined #ruby
karmatr0n has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
evenix has joined #ruby
aspires has quit []
<DaniG2k> guys I have a little programming question. Say I'm trying to get info from a website and I try one Nokogiri pattern but it fails. I want to have some backup strings to try in case the first fails
ndrei has quit [Ping timeout: 255 seconds]
<DaniG2k> I'm trying to think of a way to do this
<DaniG2k> here's the code I have so far:
<Xeago> banister: because I can CTCP time him :)
<Xeago> or well banister, would you know perhaps?
sepp2k has quit [Read error: Operation timed out]
evenix has quit [Read error: No route to host]
chipotle_ has quit [Quit: cya]
jrendell has joined #ruby
akitada has quit [Quit: Connection closed for inactivity]
<DaniG2k> so in that jdp method I have one way to access the content
<DaniG2k> but say for instance if I want to add multiple possibilities
<DaniG2k> like "article.post p"
<DaniG2k> and only try other possibilities if the first one returns .empty?
sepp2k has joined #ruby
bradhe has joined #ruby
aspires has joined #ruby
<centrx> DaniG2k, Like an if-statement, or case statement?
<DaniG2k> centrx: yea I have the if statement there already
<DaniG2k> centrx: if content.empty?
<DaniG2k> I basically want to try more strings
<DaniG2k> I'm accessing the first string from the jdp method
<DaniG2k> I want to try other strings as well
<DaniG2k> not sure what a good way to do this would be
<centrx> DaniG2k, How many strings?
<DaniG2k> well, 2 for now but many more in the future
<DaniG2k> I tried doing def jpd; [str1, str2].shift; end
<DaniG2k> so that every time i call it, it shift the array
<DaniG2k> but that doesnt seem to work
nfk has quit [Quit: yawn]
eka has joined #ruby
<DaniG2k> so in my code, youd call it with something like scruby('someurl', jdp)
<DaniG2k> where jdp is the source in this case
<Xeago> DaniG2k: def jpd; [str1, str2].shift; end will always return str1
bradhe has quit [Ping timeout: 265 seconds]
<DaniG2k> Xeago: yea thats what I figured
<Xeago> DaniG2k: you know why?
msmith has joined #ruby
<DaniG2k> because its probably best that it does it that way. jdp always refers to that array.shift
jhass is now known as jhass|off
<Xeago> jdp will create a new array of str1, str2 every time it is called, which is then shifted
<DaniG2k> right
msmith has quit [Remote host closed the connection]
<Xeago> so instead of creating a new array, try referring to one
<DaniG2k> like passing in a param? jdp(1)
<DaniG2k> jdp(5)
jollyy has quit [Quit: jollyy]
<Xeago> well I guess that method exists on an object right? store the array on the object and use an jdp as an accessor that returns 1 item per call
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
<DaniG2k> Xeago: hmmm I wouldnt know how to code what you just said. Can you give me an example plz?
havenwood has quit [Remote host closed the connection]
<Xeago> (I'm not sure what youw ant to do, but there a techniques for returning 1 item of an array at a time)
havenwood has joined #ruby
<DaniG2k> so basically, if string one doesnt work, try the others until there are no others to try :P simples
evenix has joined #ruby
<Xeago> why not use first?
<DaniG2k> i think what I'll do is just have that jdp method return the array itself
<Xeago> sec
<Xeago> let me think
<DaniG2k> so that I can deal with it from the other method
aspires has quit []
<Xeago> [1,2,3].find {|e| e == 3}
<benzrf> we need a bot for to leaving messages
Soda has quit [Remote host closed the connection]
<benzrf> apeiros: ur op right
<benzrf> would it be ok for me to introduce a bot to the chan
<Xeago> benzrf: use MemoServ
<benzrf> other stuff too
kirun_ has joined #ruby
<Xeago> within the block you give it a predicate, find returns the first match for which the block/predicate is not false
wildtype has joined #ruby
aspires has joined #ruby
wildtype has quit [Client Quit]
Dude007 has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
Celm_ has quit [Remote host closed the connection]
<Xeago> or do you have different predicates for each element in the array?
yfeldblum has joined #ruby
CaptainJet has joined #ruby
kirun has quit [Ping timeout: 264 seconds]
aspires has quit [Client Quit]
havenwood has joined #ruby
chuk has joined #ruby
Speed has quit [Ping timeout: 255 seconds]
Davedo has quit [Ping timeout: 268 seconds]
Speed has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblum has quit [Ping timeout: 255 seconds]
rippa has joined #ruby
Dude007 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
jcs222 has joined #ruby
<banister> benzrf what features would the bot have? (im op too)
Slavox is now known as Slavox|AFK
jhass|off is now known as jhass
DaniG2k has quit [Ping timeout: 268 seconds]
abdulsattar has joined #ruby
reset has joined #ruby
mehlah has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
Davedo has joined #ruby
<benzrf> cool stuff
<benzrf> leaving messages, displaying page titles for urls in chats, factoids
<benzrf> basic bot features
<benzrf> :u
<benzrf> googling stuff
<benzrf> here is the twist:
<benzrf> THE BOT RUNS ON PYTHON
danno1 has joined #ruby
<centrx> eww
<benzrf> >:)
Xeago_ has quit [Ping timeout: 268 seconds]
abra has joined #ruby
papercode has joined #ruby
<benzrf> dude i cant help it if supybot is just naturally awesome
<benzrf> autumn dont make me laugh lol
papercode has quit [Client Quit]
workmad3 has joined #ruby
papercode has joined #ruby
holderbaum has quit [Remote host closed the connection]
Slavox|AFK is now known as Slavox
mehlah has quit [Quit: Leaving...]
peta_ has joined #ruby
peta__ has joined #ruby
jrendell has quit [Quit: jrendell]
<jhass> url title announcer are annoying in big channels
<Xeago> agreed
jrendell has joined #ruby
Blaze_Boy has quit [Ping timeout: 255 seconds]
DaniG2k has joined #ruby
<Xeago> get a proper user agent if you desire such features
<Xeago> weechat is extensible in that regar
<Xeago> d
r0nin has quit [Remote host closed the connection]
peta_ has quit [Ping timeout: 264 seconds]
<benzrf> kk
deens has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
jrendell has quit [Client Quit]
DaniG2k has quit [Ping timeout: 268 seconds]
jonathanwallace has joined #ruby
aspires has quit []
mikecmpbll has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
supermarin has joined #ruby
jonathanwallace has quit [Quit: ZNC - http://znc.in]
abra has quit [Quit: Textual IRC Client: www.textualapp.com]
alec has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
jonathanwallace has joined #ruby
meatherly has joined #ruby
jonathanwallace has quit [Client Quit]
maroloccio has joined #ruby
jonathanwallace has joined #ruby
reset has quit [Quit: Leaving...]
mikecmpbll has quit [Quit: i've nodded off.]
AlexRussia has quit [Ping timeout: 265 seconds]
claymore has quit [Read error: Operation timed out]
bradhe has joined #ruby
<Rylee> Will making a new Hash with >>> Hash.new(Array.new), give all the entries in the Hash the same Array?
<Rylee> Much like a Python typesig?
slawrence has joined #ruby
x1337807x has joined #ruby
evenix has quit [Read error: Connection reset by peer]
<Rylee> Yeah, it will
mostlybadfly has joined #ruby
<centrx> Rylee, Yes, you need to do this:
<centrx> Rylee, Hash.new { |hsh, k| hsh[k] = [] }
<centrx> (for a different new array for each key)
Guest93006 is now known as alyx
alyx has quit [Changing host]
alyx has joined #ruby
<Rylee> centrx, thanks much!
<Rylee> I'll keep that in mind
dx7 has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
dx7 has joined #ruby
etqqkoiflwhb has joined #ruby
ziyadb_ has joined #ruby
dx7 has quit [Ping timeout: 264 seconds]
DaniG2k has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 255 seconds]
<shevy> I hate the bot on #perl
<shevy> every time some idiot pushed to cpan, that bot makes a notification
fabrice31 has joined #ruby
obs has quit [Quit: Saliendo]
<benzrf> :-D
decoponio has quit [Quit: Leaving...]
<shevy> benzrf teach me git
<shevy> the online tutorials are so boring
CaptainJet has quit [Ping timeout: 252 seconds]
claymore has joined #ruby
alec has quit []
<benzrf> shevy: k
motto has joined #ruby
<benzrf> shevy: feel like sshing
<shevy> ack
<shevy> noooooooooo....
<shevy> hmm I shall first work through http://try.github.io/levels/1/challenges/1
<benzrf> pfft
CaptainJet has joined #ruby
<jhass> shevy: do so
dangerousdave has joined #ruby
m8 has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 252 seconds]
motto has quit [Read error: Connection reset by peer]
nari has quit [Ping timeout: 255 seconds]
dvxam has quit [Quit: leaving]
<RubyPanther> The channels with VCS bots are channels that I don't bother checking when I see activity, IMO it really harms a help channel to have bots that speak when not spoken to
frem_ has quit [Quit: Connection closed for inactivity]
Celm has joined #ruby
yfeldblum has joined #ruby
supermarin has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
timonv has joined #ruby
havenwood has joined #ruby
mengu has joined #ruby
<banister> RubyPanther why do you tell lies
yfeldblum has quit [Ping timeout: 255 seconds]
Celm has quit [Ping timeout: 265 seconds]
<centrx> Bots should be seen and not heard!
freezey has quit [Remote host closed the connection]
<benzrf> =o
Xeago has joined #ruby
havenwood has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 265 seconds]
danshultz has joined #ruby
jollyy has joined #ruby
tectonic has joined #ruby
klaut has joined #ruby
loc22 has joined #ruby
skaflem has quit [Quit: Leaving]
relix has joined #ruby
peret has joined #ruby
jollyy has quit [Quit: jollyy]
otherj has quit []
chipotle has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peret has left #ruby [#ruby]
teddyp1cker has joined #ruby
cover_ has quit [Ping timeout: 268 seconds]
ndrei has joined #ruby
amclain has joined #ruby
jollyy has joined #ruby
koderok has quit [Quit: koderok]
aagdbl has joined #ruby
<apeiros> benzrf: you have to ask fflush
<benzrf> w/e
<benzrf> nbd =[
ChrisAnn has joined #ruby
jajaja has joined #ruby
<apeiros> other than that - I apply the same rule to a bot as to a human.
kennym has quit [Quit: Leaving.]
<jajaja> What is the best way to create a complete local mirror of Rubygems?
<benzrf> jajaja: dont
kennym has joined #ruby
arianit has joined #ruby
jamto11 has joined #ruby
<arubin> And the second best way?
userx- has joined #ruby
cwjenkins_ has joined #ruby
jorts has joined #ruby
boombadaroomba has quit [Read error: Connection reset by peer]
deens has joined #ruby
boombadaroomba has joined #ruby
userx has quit [Ping timeout: 255 seconds]
jamto11 has quit [Ping timeout: 268 seconds]
evenix has joined #ruby
<Xeago> isn't there a downloadable archive somewhere?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Xeago> gem install rubygems-mirror
nolic has joined #ruby
marcdel has quit []
timonv has joined #ruby
<shevy> is there?
bradhe has joined #ruby
<shevy> Parsing documentation for rubygems-mirror-1.0.1
<shevy> Installing ri documentation for rubygems-mirror-1.0.1
<shevy> Done installing documentation for rubygems-mirror after 0 seconds
<shevy> there is
shadoi has joined #ruby
badhatter has joined #ruby
badhatter has joined #ruby
CaptainJet has quit [Ping timeout: 268 seconds]
CaptainJet has joined #ruby
popl has joined #ruby
popl has joined #ruby
aagdbl has quit [Quit: Leaving]
dx7 has joined #ruby
SHyx0rmZ has quit [Ping timeout: 255 seconds]
mengu has quit [Remote host closed the connection]
cwjenkins_ has left #ruby [#ruby]
jonmorehouse has joined #ruby
blackmes1 has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
Solnse has quit [Quit: lallalla?]
gigetoo has quit [Ping timeout: 265 seconds]
toastynerd has joined #ruby
heftig has quit [Quit: Quitting]
Celm has joined #ruby
jollyy has quit [Quit: jollyy]
greggroth has joined #ruby
gigetoo has joined #ruby
supermarin has joined #ruby
aagdbl has joined #ruby
mikepack has joined #ruby
heftig has joined #ruby
<benzrf> bbl
supermar_ has joined #ruby
benzrf is now known as benzrf|offline
supermar_ has quit [Read error: Connection reset by peer]
supermar_ has joined #ruby
geggam has quit [Remote host closed the connection]
Astralum has joined #ruby
jollyy has joined #ruby
superma__ has joined #ruby
supermar_ has quit [Read error: Connection reset by peer]
supermarin has quit [Ping timeout: 268 seconds]
<jajaja> I hear
<Xeago> shevy: it replaces the old buggy gem mirror command
<Xeago> or it might have already been released as such, I'm a bit out of date on it
<jajaja> shevy: I heard there were some issues with rubygems-mirror and it looks like it hasn't been maintained for 2 years
tgkokk has joined #ruby
<Xeago> my work runs an open mirror and is part of the pool
bradhe has joined #ruby
<Xeago> it's already in gem, isn't it?
superma__ has quit [Client Quit]
jollyy has quit [Client Quit]
<Xeago> no, the gem mirror command requires that gem
<jajaja> As Rubygems is around 75GB I'd need something which can be paused. There used to be something which used a local database but can't remember what it was.
loc22 has quit [Quit: Page closed]
<Xeago> that commnad can be paused
<Xeago> send it a SIGINT, and you can safely resume it later
<Xeago> I don't have access to my production network right now, so can't get you stats/config :'(
CaptainJet has quit [Read error: No route to host]
Dreamer3 has quit [Disconnected by services]
<jajaja> Great. So 'gem mirror' after installing rubygems-mirror. Updatable too?
supermarin has joined #ruby
eynj has left #ruby [#ruby]
<Xeago> yea, there might have been a different command for that tho
<jajaja> The last time I attempted this CouchDB was required.
Dreamer3__ has joined #ruby
supermarin has quit [Read error: Connection reset by peer]
<Xeago> yuck
supermarin has joined #ruby
bradhe has quit [Ping timeout: 265 seconds]
supermarin has quit [Read error: Connection reset by peer]
supermarin has joined #ruby
tvw has joined #ruby
supermarin has quit [Read error: Connection reset by peer]
jgoss has quit [Ping timeout: 264 seconds]
supermarin has joined #ruby
timonv has quit [Remote host closed the connection]
mesamoo has joined #ruby
samlt has joined #ruby
yfeldblum has joined #ruby
blackmes1 has quit [Quit: WeeChat 0.4.3]
weems has quit [Quit: Leaving]
jackneill has quit [Remote host closed the connection]
jcs222 has quit [Read error: Connection reset by peer]
jcs222 has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
weems has joined #ruby
jollyy has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<droptone> So I'm attemping to use mysql2 in a standalone ruby project that is going to pull values entered into a mysql database via a Rails 4 project.
<AlexRussia> in ruby one qt bilding - with kde?
<droptone> I am by no means a SQL ninja, I've done some work at the CLI over the years
<AlexRussia> building?O_O
<droptone> my question is, I need to pull the value "isapp", which is stored in the profiles table in the development database on my rails 4 project
jajaja has left #ruby [#ruby]
eynj has joined #ruby
<droptone> I've successfully (I believe) accessed the DB via mysqlcl = Mysql2::Client.new(:host => 'localhost', :username => 'my_mysql_username', :password => 'thepassword', :database => 'mydatabase_dev"
<droptone> )
derek_c has joined #ruby
maximski has quit [Remote host closed the connection]
greggroth has quit [Ping timeout: 240 seconds]
<centrx> AlexRussia, Are you okay?
dangerousdave has quit [Read error: Connection reset by peer]
<centrx> droptone, Okay
CaptainJet has joined #ruby
<AlexRussia> centrx: what?
mikecmpbll has joined #ruby
<AlexRussia> centrx: why you think, me don't okay?
<droptone> so assuming that connected successfully, how would I execute a query for searching for the profiles table and grabbing the isapp value for a specific user?
<centrx> AlexRussia, in ruby one qt bilding - with kde? Sounds like a medical disorder... :)
dangerousdave has joined #ruby
<droptone> sorry, I'm on a shit connection right now, shell connectivity for IRC is intermittently delayed
<AlexRussia> centrx: linking?O_O
<shevy> AlexRussia You need to try and write complete sentence.
<AlexRussia> shevy: :P
armyriad has quit [Ping timeout: 265 seconds]
<AlexRussia> shevy: only kde support kde linking to Qt?O_O
<shevy> I am not joking, it is extremely difficult to understand what you mean to say. If your question is about the ruby-qt bindings, then these are available but possibly outdated. ftp://gd.tuwien.ac.at/kde/stable/4.11.3/src/qtruby-4.11.3.tar.xz
<shevy> what
<shevy> is that a complete sentence
<centrx> droptone, Looks like the method is called #query
<shevy> AlexRussia The various KDE-libraries and basically the whole KDE-Ecosystem requires Qt available for compiling new kde-based stuff, mostly.
<centrx> droptone, SQL would be something like SELECT * FROM profiles WHERE user_id = x --- or --- SELECT * FROM profiles P INNER JOIN users U ON P.user_id = U.id WHERE U.name = x
<shevy> AlexRussia And how old is that page?
<shevy> 20 years? 50?
<AlexRussia> shevy: emm, what?
<shevy> "This page was last generated Sun Dec 03 14:40:27 -0800 2006"
<shevy> So, eight years.
<shevy> You are looking at 8 years old content.
<AlexRussia> last update at 2011
<shevy> The wiki article refers to the latter page.
<AlexRussia> http://techbase.kde.org/index.php?title=Development/Tutorials/Qt4_Ruby_Tutorial&action=history
<shevy> "Original link:http://www.darshancomputing.com/qt4-qtruby-tutorial/ "
<droptone> centrix: right, so for example, I've created this call, since I'm porting some of this code to a standalone ruby app from a rails 4 project, which used devise, I was slightly interested in setting the current_user variable to the database returned by a mysql query
<shevy> AlexRussia This wiki article is a copy/paste.
<droptone> I realize this var and the default devise current_user var would behave quite differently, but regardless, it's a cosmetic thing
petey has joined #ruby
<AlexRussia> shevy: and fix, ofc
<droptone> so I coded my ruby app to take a command line argument and do this:
<shevy> Qtruby is dead, accept it.
<shevy> Use ruby-gnome.
mikecmpbll has quit [Quit: i've nodded off.]
<droptone> current_user = mysqlcl.query("SELECT * FROM users WHERE email='#{ARGV[0]}' LIMIT 1")
<AlexRussia> shevy: fuuuuuuuuuuuuuuuuuuuuuu
<shevy> "Ruby-GNOME2 2.2.0 has been released!"
<shevy> "Posted by admin on 2014-03-09 (Sun) 09:26:19"
lyanchih_ has quit [Ping timeout: 265 seconds]
jorts has quit [Quit: jorts]
<droptone> alexrussia: I just saw this on the wiki page, if it helps:
<droptone> A third-party implementation, named "qtbindings" in the Rubygems repository, has been made due to the lack of active development.[4] Goals of the project include keeping an up-to-date version of the Qt framework for Ruby, as well as improving compatibility with Unix-like systems.[5] As of December 2013, it supports Ruby 2.0 and 1.9, but not 1.8.
<AlexRussia> hate gtk :P
<AlexRussia> love qt :P
jollyy has quit [Quit: jollyy]
petey has quit [Remote host closed the connection]
petey has joined #ruby
<AlexRussia> droptone: thanks
aspires has joined #ruby
<AlexRussia> shevy: hahahahahahahahaahahahaha, I KNOW WHERE SEARCH
elaptics is now known as elaptics`away
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
greggroth has joined #ruby
yfeldblum has joined #ruby
<AlexRussia> shevy: (sound crazy?)
<droptone> well, sounds russian.
<droptone> do you have a dashcam installed on your car?
<droptone> russian validity test.
danno1 has quit [Ping timeout: 265 seconds]
<shevy> haha
<shevy> russian sanity test
<shevy> it's the biggest contribution to youtube as well
mityaz has quit [Quit: See ya!]
<AlexRussia> dashcam?
<AlexRussia> car?
<AlexRussia> O_O
<AlexRussia> ONly bike, only hardcore!
petey has quit [Ping timeout: 252 seconds]
sass has quit [Quit: sass]
halfie has quit [Ping timeout: 246 seconds]
carraroj has quit [Quit: Konversation terminated!]
Cache_Money_ is now known as Cache_Money
Raboo has quit [Ping timeout: 246 seconds]
Jelco has quit [Ping timeout: 246 seconds]
bluOxigen has quit [Ping timeout: 268 seconds]
<shevy> droptone ^^^ if that does not scare you about the russians, I don't know what else would
Speed has quit [Ping timeout: 265 seconds]
camilasan has quit [Ping timeout: 255 seconds]
bluOxigen has joined #ruby
Raboo has joined #ruby
halfie has joined #ruby
Solnse has joined #ruby
havenwood has joined #ruby
freerobby has joined #ruby
bahar has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
<AlexRussia> shevy: you scare me....
bahar has joined #ruby
_sambao21 has joined #ruby
<popl> AlexRussia: What's the Russian for "lazy capitalist pig"?
Jelco has joined #ruby
<AlexRussia> popl: you! :P
kobain has quit [Read error: Connection reset by peer]
_sambao21 has quit [Client Quit]
<AlexRussia> f**kin trolls....
<popl> I'm not a troll.
jamto11 has joined #ruby
<popl> I just wanted to know what I could call my boss. :P
<AlexRussia> popl: k, using it
m0s^away is now known as m0s
<AlexRussia> popl: you american?
sambao21 has quit [Ping timeout: 265 seconds]
Speed has joined #ruby
m0s is now known as m0s^away
<popl> AlexRussia: Yep.
ndrei has quit [Ping timeout: 265 seconds]
cashnguns has joined #ruby
<AlexRussia> popl: maybe, you like it http://translate.google.com/?sl=en&tl=ru&js=n&prev=_t&hl=ru&ie=UTF-8&text=AlexRussia%3A+i+screwed+up+my+GUI+couldn%27t+see+a+damn+thing%0D%0A[30.03.14+00%3A15%3A58]+%3Cdstolfa%3E+lol%0D%0A[30.03.14+00%3A16%3A03]+%3Cdstolfa%3E+had+to+reboot+but+i+didn%27t+realize+i+was+in+the+chat&file=#ru/de/%D0%93%D1%80%D1%8F%D0%B7%D0%BD%D0%B0%D1%8F%20%D0%B0%D0%BC%D0%B5%D1%80%D0%B8%D0%BA%D0%B0%D0%BD%D1%81%D0%BA%D0%B0%D1%8F%20%D1%81%D0%
<AlexRussia> B2%D0%B8%D0%BD%D1%8C%D1%8F.
<AlexRussia> AAAAAAAAAAAAAAAAAAA
<AlexRussia> grh
enebo has joined #ruby
Astralum has quit [Ping timeout: 268 seconds]
<AlexRussia> popl: http://goo.gl/VdC9cV
<popl> Google translate?
<AlexRussia> goo.anal
<popl> Are you really Russian?
<AlexRussia> yes, here support sound
<popl> I think you're Putin me on.
<centrx> lol
<AlexRussia> popl: no, i'm Medvedev
<centrx> >> :clap && :clap && :clap
<eval-in> centrx => :clap (https://eval.in/128700)
siwica has joined #ruby
<AlexRussia> >> :shit && : shit && :shit
<AlexRussia> >> :shit && :shit && :shit
<eval-in> AlexRussia => :shit (https://eval.in/128701)
<AlexRussia> centrx: you you you thunderstruck
jamto11 has quit [Ping timeout: 255 seconds]
Xeago has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
<Rylee> Is it possible for the key of a Hash to be a Regex?
<centrx> Rylee, Probably
<centrx> Rylee, Try it out in irb
<Rylee> why am I not just trying it in pry
<Rylee> lol
Xeago has joined #ruby
<AlexRussia> Rylee: rubular ??
danshultz has joined #ruby
<AlexRussia> >> :shit && :crap
<eval-in> AlexRussia => :crap (https://eval.in/128702)
<AlexRussia> lol
<Rylee> yep, it is posisble
<Rylee> =]
<AlexRussia> Rylee: http://rubular.com/
fabrice31 has joined #ruby
petey has joined #ruby
Jetchisel has quit [Ping timeout: 252 seconds]
simono_ has joined #ruby
<AlexRussia> maybe, you can understand joke without translate http://cs7001.vk.me/c607120/v607120377/4248/ELOfSHzX3mo.jpg
ndrei has joined #ruby
petey has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
simono has quit [Ping timeout: 240 seconds]
<AlexRussia> shevy: ^^^
greggroth has quit [Ping timeout: 255 seconds]
petey has joined #ruby
<shevy> no idea
_Rahul_Roy_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
danshultz has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
UserNameInvalid has quit [Ping timeout: 264 seconds]
petey has quit [Ping timeout: 252 seconds]
DaniG2k has quit [Quit: leaving]
<AlexRussia> shevy: good joke about weapon in fps games
<AlexRussia> mmm, ruby over 21 years,yah?
gigetoo has quit [Ping timeout: 240 seconds]
caveat- has quit [Ping timeout: 255 seconds]
<shevy> Here, I help you.
<shevy> <AlexRussia> Is Ruby over 21 years old?
<AlexRussia> y
<AlexRussia> e
<AlexRussia> s
<AlexRussia> ?
jonmorehouse has quit [Ping timeout: 265 seconds]
claymore has quit [Quit: Leaving]
kobain has joined #ruby
<shevy> <shevy> Almost, AlexRussia. You can visit http://en.wikipedia.org/wiki/Ruby_%28programming_language%29 and see that it is 19 years old.
bahar has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Remote host closed the connection]
<AlexRussia> but develop started in 1993, no?
bradhe has quit [Ping timeout: 264 seconds]
<shevy> Matz started two years before he released Ruby to the public.
gigetoo has joined #ruby
<AlexRussia> quote
<AlexRussia> Today, Feb. 24th, is the 21st anniversary of Ruby, so we happily announce a new patch release of Ruby 2.1, Ruby 2.1.1.
Dude007 has quit [Remote host closed the connection]
<shevy> The release of Ruby 0.95 in 1995.
<shevy> I do not understand these letters.
Dude007 has joined #ruby
bahar has joined #ruby
<shevy> Can't we all settle for the english language?
jollyy has joined #ruby
caveat- has joined #ruby
<AlexRussia> shevy: i think, no english, but i can retype text and you can use any translater
_Rahul_Roy_ has quit [Quit: Leaving]
<shevy> No please.
ws has joined #ruby
<shevy> Your translations are worse than babelfish.
lw has joined #ruby
jollyy has quit [Client Quit]
enebo has quit [Quit: enebo]
<centrx> hahah
nuck has quit [Ping timeout: 265 seconds]
deens has quit []
<AlexRussia> хахахахаха
<shevy> I can't even read those characters.
<AlexRussia> ???
<shevy> I am actually thankful for that as well.
Celm has quit [Remote host closed the connection]
<shevy> I will make you a screenshot.
<AlexRussia> k
<benzrf> shevy: it just says xaxaxaxaxa in big letters
Celm has joined #ruby
Dude007 has quit [Ping timeout: 264 seconds]
<ws> hi, I would like to run a small ruby application within a lan. I have ubuntu on this computer, but is it best to run it on something else?
<AlexRussia> shevy: http://goo.gl/8hqNqH
<AlexRussia> benzrf: O_O
<ws> maybe debian? or how can I check minimum requirements fit?
bradhe has joined #ruby
PLejeck has joined #ruby
<shevy> ws well
ndrei has quit [Ping timeout: 240 seconds]
<AlexRussia> shevy: OMG
<shevy> ws you should first define what exactly is a "small ruby application"
<AlexRussia> shevy: you like in 90th years....
bluOxigen has quit [Ping timeout: 265 seconds]
Celm has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<AlexRussia> shevy: what you do on #kde???
<ws> it looks like it just talks to mysql.. all it does is add to a table
nateberkopec has joined #ruby
<shevy> AlexRussia I asked a question there how to start multiple tabs in konsole
<AlexRussia> start?
<shevy> Yes.
<shevy> The answer was: for i in {1..5} ; do new_tab; done
<AlexRussia> ctrl+shift+t?
<shevy> No.
<AlexRussia> a
f1skn has joined #ruby
<shevy> That creates *one* tab AlexRussia.
ws has left #ruby ["Saliendo"]
<shevy> and new_tab is an alias to: konsole --new-tab
<AlexRussia> shevy: :)
tgkokk has quit [Ping timeout: 264 seconds]
<centrx> This one doesn't even have letters!
bradhe has quit [Ping timeout: 255 seconds]
<shevy> oh man
<AlexRussia> shevy: no comment http://static.comicsia.ru/i/32/9f-12959.gif
<shevy> centrx why do you click on it
<AlexRussia> shevy: man saying 'oh, we get new mail post'
ndrei has joined #ruby
bahar has quit [Ping timeout: 240 seconds]
<shevy> please do not try to explain a joke! it does not work :(
abdulsattar has quit [Ping timeout: 240 seconds]
<AlexRussia> shevy: :(
<AlexRussia> shevy: joke in playboy and playboy for bears :P
<shevy> Anyone of you using ruby + git from the commandline, for direct github uploads?
<AlexRussia> O_O
<shevy> AlexRussia Yeah, it is awful if you have to explain the joke.
* centrx considers this one big joke
bahar has joined #ruby
<shevy> it's actually a cute picture :P
<jhass> shevy: https://github.com/github/hub is written in ruby
nomadic_ has quit [Ping timeout: 264 seconds]
_Andres has joined #ruby
<AlexRussia> shevy: why for me?
<shevy> AlexRussia Because you linked pictures here just a moment ago.
<AlexRussia> shevy: :P
<AlexRussia> shevy: you you you thunderstruck!
mesamoo has quit [Remote host closed the connection]
bahar has quit [Ping timeout: 255 seconds]
nomadic has joined #ruby
bahar has joined #ruby
circuit has quit [Quit: leaving]
lw has quit [Quit: s]
<AlexRussia> shevy: link to old russian joke http://static.comicsia.ru/i/33/88-13192.gif
<AlexRussia> shevy: "Maybe, don't should do?"
njection has joined #ruby
<AlexRussia> shevy: "Should, Petya, SHould"
<AlexRussia> shevy: in last "Mammy" like scream
halfie has quit [Ping timeout: 246 seconds]
<shevy> I don't get it.
agent_white has joined #ruby
<AlexRussia> shevy: mmm?
<shevy> Sorry, no chance.
agent_white has joined #ruby
<shevy> I grew up in the 1980es watching Donald Duck and Tom and Jerry.
preller has quit [Ping timeout: 246 seconds]
<agent_white> I like Adventure Time :D
zarul has quit [Remote host closed the connection]
PLejeck has quit [Ping timeout: 265 seconds]
halfie has joined #ruby
freerobby has quit [Quit: Leaving.]
<AlexRussia> shevy: http://youtu.be/PKNAUxJQg98
mikepack has quit [Remote host closed the connection]
<shevy> AlexRussia Without understanding russian, this is impossible to follow.
PLejeck has joined #ruby
aspires has quit []
shadoi has quit [Quit: Leaving.]
preller has joined #ruby
rek2p0wn has quit [Ping timeout: 240 seconds]
<AlexRussia> shevy: but i dont found CC
aspires has joined #ruby
jamto11 has joined #ruby
<AlexRussia> shevy: #bioinformatics ? O_O
ikaros has joined #ruby
agent_white has quit [Quit: bbl]
<shevy> Is there any question?
dangerousdave has quit [Quit: Leaving...]
<centrx> You guys are insane
zarul has joined #ruby
spicerack has joined #ruby
<AlexRussia> shevy: yah
jamto11 has quit [Ping timeout: 255 seconds]
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
<AlexRussia> AAAAAAAAAAAAAAAAAAA
* AlexRussia cry
jamto11 has joined #ruby
m0s^away is now known as m0s
m0s is now known as m0s^away
rek2p0wn has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
peta__ has left #ruby [#ruby]
nateberkopec has quit [Quit: Leaving...]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
PLejeck is now known as nuck
peta_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
<slawrence> hello all, does anyone have suggestions on a good ruby + tdd/bdd tutorial for beginners?
mercwithamouth has quit [Ping timeout: 264 seconds]
babykosh has joined #ruby
babykosh has quit [Client Quit]
SHyx0rmZ has joined #ruby
babykosh has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
Doppp has quit [Ping timeout: 265 seconds]
<AlexRussia> shevy: http://static.comicsia.ru/i/33/b4-13236.gif "Every Bad!Every very bad! We all die!"
__main__ has joined #ruby
<shevy> AlexRussia I don't really have the time to go through all the pictures, I need to work on my git skills so I can upload all my gem projects to github finally. :P
<babykosh> hello ruby lords….
<AlexRussia> babykosh: hello true english man
<babykosh> I'm hunting for some nice http://middlemanapp.com/ videos on youtube can anyone direct?
__main__ has quit [Read error: Connection reset by peer]
<AlexRussia> shevy: O_O, you dont use github BEFORE????
mrgoodcat has joined #ruby
<AlexRussia> shevy: but, for me, seen every after :P
<shevy> AlexRussia I used github only sporadically.
bahar has quit [Ping timeout: 264 seconds]
siwica has quit [Quit: siwica]
__main__ has joined #ruby
<AlexRussia> shevy: like addicted? :P
<shevy> Is there a question?
<AlexRussia> shevy: YES
<AlexRussia> shevy: github.com/AlexTalker/
bahar has joined #ruby
<AlexRussia> shevy: don't be reason, every free....
yfeldblum has quit [Remote host closed the connection]
bradhe has joined #ruby
<shevy> I have no idea what you are trying to say.
yfeldblum has joined #ruby
<AlexRussia> shevy: asking nothing, you will be....fork my code...
<AlexRussia> shevy: lol, i cool review AC/DC to github :P
<shevy> Why would I want to fork your code?
<AlexRussia> shevy: <facedown>
gilest has joined #ruby
<shevy> Sorry, I simply do not have the time to visit all your links. As I wrote before, I have to concentrate on getting things done.
<AlexRussia> shevy: just CLICK(and listen music)
<shevy> As I wrote before, I don't quite have the time.
__main__ has quit [Read error: Connection reset by peer]
babykosh has quit [Quit: babykosh]
__main__ has joined #ruby
workmad3 has joined #ruby
rylev has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
<AlexRussia> shevy: ok :(
yfeldblum has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Quit: Leaving...]
<AlexRussia> shevy: i'm never not coding without music
<shevy> Sometimes music helps, sometimes not.
sambao21 has joined #ruby
nanoyak has joined #ruby
lukec has quit [Quit: lukec]
saarinen has quit [Quit: saarinen]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bahar has quit [Ping timeout: 255 seconds]
nuck has quit [Remote host closed the connection]
bahar has joined #ruby
<AlexRussia> shevy: maybe
Guest58577 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
sambao21 has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Guest58577 has quit [Client Quit]
tkuchiki has joined #ruby
karmatr0n has joined #ruby
nuck has joined #ruby
<AlexRussia> shevy: but is good rhytm for work
<shevy> Sometimes. :)
dx7 has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
blackmesa has joined #ruby
cashnguns has quit [Ping timeout: 268 seconds]
nisstyre has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
spider-mario has quit [Remote host closed the connection]
tectonic has quit []
<AlexRussia> shevy: like now
<shevy> No, not right now.
<AlexRussia> shevy: i should do homework by c++ and rhytm now is cool
nateberkopec has joined #ruby
<AlexRussia> shevy: i'm dont say about you
mengu has quit [Remote host closed the connection]
<AlexRussia> shevy: haha, you fun
saarinen has joined #ruby
yacks has quit [Ping timeout: 265 seconds]
gasbakid has joined #ruby
<AlexRussia> shevy: celldweller instrumental is cool....
derek_ has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
Su7 has quit [Read error: Connection reset by peer]
derek_ has quit [Client Quit]
jottr_ has quit [Ping timeout: 268 seconds]
YamakasY has quit [Ping timeout: 265 seconds]
agjacome has quit [Quit: leaving]
Su7 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
Kar- has quit [Remote host closed the connection]
bradhe has joined #ruby
gilest has quit [Remote host closed the connection]
arianit has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
Dwarf has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
gemmy has joined #ruby
bahar has quit [Ping timeout: 255 seconds]
<AlexRussia> shevy: hm, you dont know, how to say program end read my input and start using it?
lkba has quit [Ping timeout: 268 seconds]
<AlexRussia> shevy: for some program, not ruby-only
jonmorehouse has joined #ruby
<AlexRussia> shevy: ctrl+d?
agjacome has joined #ruby
Dwarf has joined #ruby
dx7 has joined #ruby
bahar has joined #ruby
<shevy> It is always difficult to decipher what you are trying to say.
dx7_ has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
camilasan has joined #ruby
<shevy> You can test this in a ruby script by the way.
<shevy> require 'pp'; begin; loop {}; rescue Exception => error; pp error; end
<shevy> And then press ctrl+d there.
dx7 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
banister has joined #ruby
noocode has quit [Ping timeout: 246 seconds]
marcdel has joined #ruby
<AlexRussia> c++ is happiness
<AlexRussia> terminate called after throwing an instance of 'std::bad_alloc'
<AlexRussia> what(): std::bad_alloc
<shevy> I find that insanely ugly to look at.
Dwarf has quit [Remote host closed the connection]
camilasan has quit [Quit: Konversation terminated!]
fabrice31 has quit [Ping timeout: 255 seconds]
aagdbl has quit [Quit: Connection closed for inactivity]
marcdel_ has joined #ruby
pwh has quit []
mikepack has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
noocode has joined #ruby
matchaw has joined #ruby
nopolitica has joined #ruby
marcdel_ has quit [Client Quit]
<AlexRussia> shevy: you good know shell?how to get first argument of script? $0 or $1?
ktosiek_ has quit [Ping timeout: 265 seconds]
<AlexRussia> shevy: found, $1
cashnguns has joined #ruby
near77 has joined #ruby
<near77> hi
Dwarf has joined #ruby
<AlexRussia> near77: :P
<near77> I have several objects that are created and deleted every 10 mins, they represent checks over different things in my network
bradhe has quit [Ping timeout: 265 seconds]
<near77> every time a "check" finishes, I need to update data about the check to a database
nateberkopec has quit [Quit: Leaving...]
<AlexRussia> shevy: say this man about time class
<near77> I was planning on having a global object which was the database connection, and using it to update data
<near77> but how can I do that from inside an object of ruby? since variables with @ are global variable objects inside the object
<AlexRussia> shevy: please
<near77> hi Alex
Celm has joined #ruby
<near77> does this make sense?
<near77> I could have a function which I pass the object..
<near77> and that function uses the global database, the thing is this all runs on different threads
<near77> one per object
nath_schwarz has joined #ruby
gilest has joined #ruby
postmodern has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
brunops has joined #ruby
yfeldblum has joined #ruby
Doppp has joined #ruby
mr_red has quit [Ping timeout: 268 seconds]
YamakasY_ has joined #ruby
teddyp1cker has joined #ruby
matchaw has quit [Ping timeout: 268 seconds]
Francis2211 has joined #ruby
<Francis2211> Hello.. I am new in ruby on rails.. I want to create a blog any idea?
bradhe has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
<havenwood> Francis2211: Is your goal to learn Rails or create a blog?
nffff has joined #ruby
<Francis2211> Both
<havenwood> Francis2211: Rails channel is #rubyonrails by the way.
yfeldblum has quit [Remote host closed the connection]
<havenwood> Francis2211: You might want to take a look at Jekyll: http://jekyllrb.com/
mr_red has joined #ruby
AlSquire has joined #ruby
yfeldblum has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
<Francis2211> havewood looks like the rubyonrails channel is private
gancl has joined #ruby
<Francis2211> I will check the jeky website
bradhe has quit [Ping timeout: 264 seconds]
ziyadb_ has quit [Quit: Connection closed for inactivity]
cover has joined #ruby
AlexRussia has joined #ruby
<havenwood> Francis2211: I haven't tried Jekyll-Bootstrap but they claim it takes 3 min (like 5x faster than Rail's 15min blog! >.>): http://jekyllbootstrap.com/usage/jekyll-quick-start.html
yfeldblum has quit [Ping timeout: 255 seconds]
<havenwood> "Create a blog in 12 seconds"
<shevy> lol
<shevy> "Create a blog yesterday."
<Francis2211> lol
<Francis2211> I quit programming 3 times..
<Francis2211> Starting again :)
<havenwood> Francis2211: What languages were you using the last three times?
<speakingcode> go all the way this time.
* speakingcode drops mic
<Francis2211> Python/Django
ikaros has quit [Quit: Ex-Chat]
<havenwood> Francis2211: Welcome to Ruby!
<Francis2211> :)
<Francis2211> let see..
<Francis2211> let;s*
<Francis2211> and I been out of IRC since 1999 :)
shevy has quit [Remote host closed the connection]
mehlah has joined #ruby