havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
polysics has joined #ruby
johnmilton has joined #ruby
<SFPT> So that's supposed to be an IRC log bot.
<benzrf> sorry SFPT let me look now
<SFPT> k
<benzrf> SFPT: does that not work?
Waqas has joined #ruby
<benzrf> (btw: usually a bad idea to keep opening and closing the file each time - instead, consider holding onto a file handle for each channel you're in, opening when you join and closing when you part)
polysics has quit [Ping timeout: 268 seconds]
skweek has joined #ruby
najam has quit [Quit: najam]
tvw has quit [Ping timeout: 246 seconds]
<SFPT> It does work, I do believe.
<benzrf> SFPT: then what are you asking about?
<SFPT> I need help figuring out how toconnect it to IRC.
najam has joined #ruby
marr has quit [Ping timeout: 244 seconds]
agentmeerkat has joined #ruby
tildes has quit [Read error: Connection reset by peer]
<benzrf> oh, i see
tildes has joined #ruby
<SFPT> I simply dont know how.
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dopie has quit [Quit: Lost terminal]
<benzrf> you mean, you don't know how to run a ruby file?
<SFPT> no
<SFPT> I learned ruby from a friend
<SFPT> I just downloaded ruby
whathappens has quit [Quit: Leaving...]
<benzrf> oh
<benzrf> have you used any other languages before?
ensyde has joined #ruby
<SFPT> tons
<benzrf> uh...
mesamoo has quit [Quit: Konversation terminated!]
<benzrf> well, have you tried just running 'ruby script.rb'?
<SFPT> C, TI-Basic, TI-Asm, visual basic for applications, python
<benzrf> OK
<SFPT> What do you mean?
<SFPT> Just double click it
<benzrf> well... how do you run python files?
<SFPT> I go into the shell
<SFPT> opn the file
<SFPT> hit run
<benzrf> which shell
<benzrf> do you mean like bash, or?
<SFPT> just the python shell
<benzrf> then what do you mean by 'open the file'?
<SFPT> I got into file, then open
<benzrf> wait
<benzrf> do you mean IDLE?
jdawgaz has joined #ruby
<SFPT> yes.
<benzrf> ah
<benzrf> most people don't call that a shell
<benzrf> i don't use windows
<benzrf> i assume you're on windows?
<SFPT> Yes.
<SFPT> Win 10
<benzrf> well, you could try opening a command prompt and then using the 'ruby' command
<benzrf> but i don't know anything about using ruby on windows
<SFPT> just, the normal command prompt or a special ruby thing?
<benzrf> normal one :)
<benzrf> pass the ruby command a file path for the script you want to run
<benzrf> you'll probably need to install the isaac gem, though
<benzrf> first
<SFPT> I already have isaac
jdawgaz has quit [Client Quit]
karmatr0n has joined #ruby
<SFPT> notise the code requires isaac gem
myntcake has quit [Ping timeout: 276 seconds]
<benzrf> you installed isaac?
rcvalle has quit [Quit: rcvalle]
cjbischof_ has joined #ruby
<SFPT> Yes
<benzrf> kk
cjbischof_ has quit [Client Quit]
BtcBen has quit [Ping timeout: 240 seconds]
tsherman has joined #ruby
karmatr0n has quit [Ping timeout: 246 seconds]
<SFPT> so...do I need to use the cd or dir commands?
<SFPT> I just have the .rb file on my desktop
tsherman has quit [Max SendQ exceeded]
barajasfab has quit [Ping timeout: 250 seconds]
<benzrf> SFPT: just pass the ruby command the path to the script
croberts has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
tlaxkit has quit [Quit: ¡Adiós!]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
agent_white has quit [Quit: headinHome]
<SFPT> so Desktop\logbotpop ?
william3 has joined #ruby
abyx has quit [Ping timeout: 246 seconds]
rkazak has joined #ruby
tref has quit [Quit: tref]
pawnbox has quit [Ping timeout: 244 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has quit [Ping timeout: 246 seconds]
najam has quit [Quit: najam]
dopie has joined #ruby
<SFPT> I get the reply:
<SFPT> ruby: No such file or directory -- C:\Users\SFOT\Desktop\logbotpop
lyoshajapan has joined #ruby
<SFPT> Oh wait, I put in .rb and I get a different error
BtcBen has joined #ruby
<SFPT> says it cannot load the file isaac
<SFPT> gives a path
<SFPT> but its not where isaac is, the isaac master folder is on my desktop
cjbischof_ has joined #ruby
<SFPT> should I put the folder in the path it gives me?
cjbischof_ has quit [Max SendQ exceeded]
bronson has joined #ruby
cjbischof_ has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
zeroDivisible has quit [Ping timeout: 260 seconds]
ogpastaling has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jpfuentes2 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
lynx_eyes7 has quit [Ping timeout: 248 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
Giauzar has quit [Quit: Leaving]
bob434 has joined #ruby
ogpastaling has quit [Ping timeout: 250 seconds]
agentmeerkat has quit [Ping timeout: 260 seconds]
Gasher has quit [Quit: Leaving]
agentmeerkat has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Brackson has joined #ruby
cjbischof_ has quit [Quit: Textual IRC Client: www.textualapp.com]
agentmeerkat has quit [Ping timeout: 260 seconds]
aaeron has joined #ruby
<Brackson> Can I start a Sinatra server in my script in a different thread w/ no STDOUT?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Quit: Leaving]
elifoster has joined #ruby
<SFPT> I still can' figure it out.
jenrzzz has quit [Ping timeout: 248 seconds]
<shevy> come to linux!
<SFPT> So m program requires isaac, but when I try to run it from the command prompt it tells me that isaac isnt there
<Brackson> are you sure it's installed?
<SFPT> 100%
<SFPT> I installed it bnefore ruby tho
mdih has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
<shevy> "gem list" shows isaac too?
<SFPT> gem list?
pawnbox has joined #ruby
<shevy> yeah on the commandline; also have a look at "gem env" output to see the paths it will use
<SFPT> wot
skweek has quit [Remote host closed the connection]
<SFPT> Oh, gotta go!
IrishGringo has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 260 seconds]
<shevy> ;)
Vile` has quit [Ping timeout: 264 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
ekinmur has joined #ruby
blackoperat has joined #ruby
najam has joined #ruby
SFPT has quit [Ping timeout: 250 seconds]
Alayde has quit [Ping timeout: 264 seconds]
Vile` has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackoperat has left #ruby [#ruby]
johnmilton has quit [Ping timeout: 276 seconds]
cjbottaro has joined #ruby
davedev24 has quit []
flashpoint9 has joined #ruby
krz has joined #ruby
najam has quit [Ping timeout: 250 seconds]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
IrishGringo has joined #ruby
mdih has joined #ruby
johnmilton has joined #ruby
goglosh has joined #ruby
chancy has joined #ruby
monod has joined #ruby
x77686d has quit [Quit: x77686d]
<chancy> How could `Hash#dig!` be implemented? I.e., the equivalent of nested #fetch's instead of nested #[]'s
abyx has joined #ruby
idletask has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
karmatr0n has joined #ruby
Jameser has joined #ruby
cabargas has quit [Quit: Textual IRC Client: www.textualapp.com]
<monod> helloo, is anybody here willing to talk a lil about anonymous functions?
karmatr0n has quit [Ping timeout: 240 seconds]
<havenwood> monod: yup!
htmldrum has quit [Quit: Lost terminal]
<monod> specifically, I wanted to write a function that receives as arguments another function along with this other function's arguments
<monod> and wanted to compute which argument of the other function yields the maximum value of this other function!
<monod> (in Matlab, but whatever! It's the concept that matters)
<shevy> chancy lots of ways right? just begin/rescue ... or check for key being part of the hash or not
eljimador has joined #ruby
<shevy> in C it is return rb_obj_dig(argc, argv, self, Qnil); which is https://github.com/koic/backport_dig/blob/master/ext/backport_dig/backport_dig.c#L42
mdih has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
abyx has quit [Quit: This computer has gone to sleep]
abyx has joined #ruby
<goglosh> hey, say I have a class Foo with it's own state
pawnbox has joined #ruby
<goglosh> and I take one of it's methods and make it a Proc
<goglosh> like Foo.method(:bar).to_proc
<Radar> and then/
<goglosh> does the result copy the state of Foo which it uses inside it?
<Radar> What state is there?
<goglosh> instance variables and such
<Radar> The state will be available in that method, sure.
<goglosh> but, it's a copy, right?
<Radar> I don't think it is a copy.
<Radar> I would need to reproduce it, but I don't have the code to do that.
<goglosh> I'll play with it see what happens
bkxd has quit [Ping timeout: 240 seconds]
sphex has quit [Ping timeout: 264 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
vakka has joined #ruby
sphex has joined #ruby
idletask has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 260 seconds]
<Ox0dea> monod: https://eval.in/552485
mr_robot_ has joined #ruby
<Ox0dea> I had to give them names so we could tell who won, but they're still "anonymous".
jdawgaz has joined #ruby
cybrside has joined #ruby
bronson has joined #ruby
djbkd has quit [Remote host closed the connection]
_stu_ has quit [Quit: _stu_]
Emmanuel_Chanel has joined #ruby
abyx has quit [Quit: This computer has gone to sleep]
abyx has joined #ruby
BtcBen has quit [Ping timeout: 244 seconds]
abyx has quit [Client Quit]
bronson has quit [Ping timeout: 252 seconds]
smathy is now known as smathy_afk
sgambino has joined #ruby
mr_robot_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AmiMoench has quit [Quit: leaving]
<Brackson> Is there any way to start Sinatra in the background of my script?
ur5us has joined #ruby
d10n-work has joined #ruby
agentmeerkat has joined #ruby
mat-svol has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
flashpoint9 has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
Respek has joined #ruby
pawnbox has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
flashpoint9 has quit [Ping timeout: 248 seconds]
tsu_ has quit []
aaeron has quit [Quit: aaeron]
agentmeerkat has quit [Ping timeout: 246 seconds]
brent__ has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
<brent__> Ox0dea: i feel like you helped me with this issue a week or so ago, but can't remember what the issue whas
<brent__> was
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> brent__: oops, misstell
<havenwood> brackson: ^
<Ox0dea> brent__: I'll need a little more to go on. :P
<brent__> having an issue when trying to install byebug
<Brackson> havenwood: thanks!
vishwa has joined #ruby
<brent__> give mea sec
<brent__> pasting the error
<vishwa> Hey guys, question: I have a json object stored in a text file. How do I read it into a ruby hash?
vakka has quit [Quit: Leaving.]
<havenwood> vishwa: require 'json'; JSON.parse File.read filename
lyoshajapan has quit [Remote host closed the connection]
<Ox0dea> brent__: OS?
<vishwa> http://pastebin.com/r6SH6PUK this is what I got for now havenwood, its similar to yours but is printing when I initialise the hash
<ruby[bot]> vishwa: as I told you already, please use https://gist.github.com
<vishwa> sorry bot
<brent__> Ox0dea: Fedora
lyoshajapan has joined #ruby
<Ox0dea> brent__: You'll need the ruby-devel package.
<Ox0dea> vishwa: File.read takes a path.
<havenwood> vishwa: line 1 opens a file that never gets closed, line 2 just needs the path
polysics has joined #ruby
<havenwood> vishwa: just that
<havenwood> vishwa: but use snake_case not headlessCamelCase, never headlessCamelCase in Ruby
<havenwood> vishwa: headlessCamels are an abomination!
<vishwa> havenwood: why is it printing though? it prints the whole hash, though I have no puts
<vishwa> duly noted, its all the cpp work :)
<Ox0dea> vishwa: Your REPL prints the result of evaluations.
<Brackson> how do I run sinatra w/ no output in terminal?
<brent__> Ox0dea: still no go after installing ruby-devel. Here's a bit longer error when it's thrown in the process of running 'bundle install' https://gist.github.com/brentluna/0debc6908cfcb747f130f164e7f48dc8
<vishwa> Ox0dea: I dont understand what that means
<vishwa> read eval print loop = repl?
<havenwood> vishwa: Every statement has a return value, even if it's just `nil`. A REPL first Reads your input, then Evals it, Prints it and Loops.
<Ox0dea> vishwa: Aren't you doing this in irb?
<Brackson> nevermind @ my question, I'm dumb
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
<vishwa> Ox0dea: nah im running a script, these are just the offending lines
x77686d has joined #ruby
<havenwood> vishwa: Use the REPl!
<havenwood> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
<havenwood> vishwa: gem install pry pry-doc
<havenwood> vishwa: How are you running the script?
<vishwa> ruby script.rb
kus has quit [Read error: Connection reset by peer]
<havenwood> vishwa: Then it does nothing as far as you can see?
<vishwa> installing, but why pry?
<Ox0dea> brent__: I'm not familiar enough with Fedora to know why your `gcc` appears to be a symlink to `redhat-hardened-cc1`, but that seems to be the root of the problem.
<havenwood> vishwa: Ruby ships with IRB. Pry is a gem that provides additional niceties.
<vishwa> well it prints the entire hash content, all I wanted to do was read into the hash.
<vishwa> read *the json data from the txt file* into the hash
<havenwood> vishwa: The code you've shown prints nothing.
polysics has quit [Ping timeout: 276 seconds]
<havenwood> vishwa: (Hence the confusion.)
djbkd has joined #ruby
<vishwa> exactly, but it's printing to screen. that's my issue, i've already commented out the rest of the code lol
_djbkd has joined #ruby
<vishwa> havenwood: can I turn it off or something? or redirect the print
<brent__> Ox0dea: bummer. distro hopped for a few days after beign unsuccesful w/ getting arch installed from scratch. May just go back to manjaro or ubuntu
<Ox0dea> brent__: Arch is lovely. You should try again. ^_^
<havenwood> vishwa: The code as you've shown prints nothing. If it's printing something you're running something you've not shown us.
<brent__> i love the idea. i've been a big manjaro user (arch based, but no sefl isntall)
jdawgaz has joined #ruby
<brent__> kept giving me couldn't find root on boot, and couldn't solve it for the life of me
<vishwa> havenwood: does it make a difference that my txt file contains a json object stored as a hash?
<vishwa> I can't think of anything else, I have no other code
<havenwood> vishwa: Try it in Pry.
<Ox0dea> brent__: Did you use UUIDs in your /etc/fstab?
markfletcher has joined #ruby
goglosh has quit [Quit: leaving]
karmatr0n has joined #ruby
jzigmund has quit [Read error: Connection reset by peer]
<vishwa> havenwood: pry is making my terminal typing invisible, you see than before?
<brent__> I followed the beginners guide, so would have done this, which looks like i did # genfstab -U /mnt >> /mnt/etc/fstab
<shevy> RuntimeError: can't modify frozen Module
<shevy> huh - I did not know that you can freeze modules too
juanca_ has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
<vishwa> havenwood: the issue is in my json data, but thanks for the help
vishwa has left #ruby [#ruby]
robbyoconnor has joined #ruby
hinbody has quit [Quit: leaving]
bob434 has quit [Quit: This computer has gone to sleep]
UserInNeed has quit [Ping timeout: 276 seconds]
mr_robot_ has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
markfletcher has quit [Quit: Leaving]
<Ox0dea> brent__: Looks like you'll also need the redhat-rpm-config package, but I have no idea why.
mdih has joined #ruby
monod has quit [Quit: Sto andando via]
<brent__> Ox0dea: you never cease to amaze me! did you see my command for genfstab? shoudl i have not used -U?
eljimmy has quit [Quit: This computer has gone to sleep]
<Ox0dea> brent__: You should definitely have used -U.
<brent__> It's strange, because i've had success isntalling the base before
<brent__> however i think i may have had success using mbr and grub
flashpoint9 has joined #ruby
<brent__> i was trying to use gpt and systemd
abyx has joined #ruby
<Ox0dea> s/systemd/syslinux/
kent\n has joined #ruby
kent\n has joined #ruby
cpruitt has quit [Quit: cpruitt]
<brent__> ?
<Ox0dea> Oh, right. systemd does bootloading as well now. Ignore me. :P
hinbody has joined #ruby
mr_robot_ has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has joined #ruby
barajasfab has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
Brackson has quit [Quit: Leaving]
bruno- has joined #ruby
Chagel has joined #ruby
<havenwood> jeremyevans was asking for review or feedback in #roda and I think the code is really interesting!: https://github.com/jeremyevans/rodauth
<brent__> think i should just give it a go w/ mbr and grb?
<havenwood> please chime in ^
abyx has quit [Quit: This computer has gone to sleep]
pawnbox has quit [Ping timeout: 248 seconds]
<Ox0dea> brent__: There's less that can go wrong with that approach, so it might be worth a shot.
<brent__> i'll give it ago now
<brent__> what DE do you prefer?
<shevy> havenwood wow - that is one of the longest readmes I have seen
zast has joined #ruby
<Ox0dea> brent__: Try them all! :P You'll probably settle on i3.
LoneHerm_ has joined #ruby
<havenwood> i9 or bust
<Ox0dea> Oh, you did say DE. Swap that for WM.
cdg has quit [Remote host closed the connection]
eljimmy has joined #ruby
WhoLettem has joined #ruby
rubie has joined #ruby
<shevy> brent__ fluxbox!
karmatr0n has quit [Ping timeout: 240 seconds]
<Ox0dea> havenwood: Hey, what's the 9,001st element of Aronson's sequence? ;)
cpup has joined #ruby
bob434 has joined #ruby
<brent__> you go w/out a DE? just WM?
CoderPuppy has quit [Ping timeout: 248 seconds]
bob434 has quit [Client Quit]
<Ox0dea> I do. Might not be your cuppa tea.
bob434 has joined #ruby
<Ox0dea> What's a mouse?
rbennacer has joined #ruby
baweaver has joined #ruby
bob434 has quit [Client Quit]
krz has quit [Read error: Connection reset by peer]
FooMunki has quit [Quit: FooMunki]
<havenwood> Ox0dea: I wasn't familiar with the sequence, I'll have to find out! ;)
bruno- has quit [Read error: Connection reset by peer]
<Ox0dea> havenwood: It's a great sequence, but it led me to realize that the Perlers are much more interested in this sort of thing.
<brent__> I like the idea, but i also have a macbook i use, so not sure how much i would enjoy such drastic differences
mat-svol has joined #ruby
idletask has quit [Ping timeout: 252 seconds]
LoneHerm_ has quit [Remote host closed the connection]
Spami has joined #ruby
<shevy> brent__ ah; I use both kde and gnome stuff too. Right now I am on KDE actually but the reason for this is mostly because I have not rebooted or restarted xorg since like 3 months
bob434 has joined #ruby
<brent__> shevy: so you have both kde and gnome installed?
<brent__> i've been using the fedora alpha the last couple days and been enjoying gnome
<eam> anyone wanna dig around in mkmf.rb? https://bugs.ruby-lang.org/issues/12276
<shevy> brent__ yep, I use whatever is the most useful
<shevy> I even use youtube-dl python script to download videos from youtube... makes me feel partially guilty since I don't use something written in ruby there
flashpoint9 has quit [Remote host closed the connection]
bob434 has quit [Client Quit]
<shevy> ewww mkmf.rb
mat-svol has quit [Ping timeout: 248 seconds]
<brent__> lol. i've spent the last few days doing some JS. not been enjoying it
bruno- has joined #ruby
<brent__> learning*
<shevy> who does! but it is the language of the browser (the monopoly, I read lately that they intend to have firefox run on chromium eventually)
lyoshaja_ has joined #ruby
benlieb has joined #ruby
<brent__> indeed. i'm starting a bootcamp in a few weeks, that starts w/ ruby/rails and gets into javascript towards the middle. so wanted to get a taste
<brent__> tastes like doodoo compared to ruby, at least so far
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyoshajapan has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
pawnbox has joined #ruby
jtd has joined #ruby
jdawgaz has quit [Client Quit]
BTRE has quit [Ping timeout: 240 seconds]
<jtd> hi gang. is this where I go for Rails help? I have a stupid irb question -- there is some way to get irb to "talk" to my existing model and I cannot for the life of me remember what it is. i.e. so I can do things like "Users.all".
<jtd> IT WAS rails console !!!
Chagel_ has joined #ruby
pelegreno_ has joined #ruby
<jtd> so, uh, nevermind and have a lovely night :)
idletask has joined #ruby
<Ropeney> :)
braincrash has quit [Quit: bye bye]
polysics has joined #ruby
Chagel has quit [Ping timeout: 260 seconds]
<brent__> Ox0dea: i'm creating partitions, w/ MBR do i just mkdir and mount every partition, except swap?
_blizzy_ has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 250 seconds]
rubie has quit [Remote host closed the connection]
<Ox0dea> brent__: The Arch Wiki is quite thorough. I'm going to abstain in the hopes that you'll get into the habit of using it. :P
rubie has joined #ruby
jdawgaz has joined #ruby
<brent__> indeed it is, was just misunderstanding something but think i got it
IrishGringo has quit [Remote host closed the connection]
<jtd> Even dumber question: once I get an object from my model like myuser = User.find_by_id(4) and then do a myuser.update_attributes(whatever), is there something extra I have to do to ensure that the change is saved and committed?
<jtd> oh wait
<jtd> myuser.save?
jdawgaz has quit [Client Quit]
* jtd is literally, actually covered in rust, here
polysics has quit [Ping timeout: 246 seconds]
<Ox0dea> If oxidation lasts longer than four hours...
cdg has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
karmatr0n has joined #ruby
braincrash has joined #ruby
braincrash is now known as braincras
Spami has quit [Quit: This computer has gone to sleep]
shazaum_ has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
freerobby has joined #ruby
IrishGringo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
bkxd has joined #ruby
idletask has quit [Ping timeout: 260 seconds]
jt__ has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
bkxd has quit [Ping timeout: 240 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jt__ has quit [Ping timeout: 244 seconds]
rkazak has joined #ruby
<brent__> Ox0dea: well got arch base installed succesfully w/ grub, now for the hard part of setting everything up
<Ox0dea> brent__: s/hard/fun/
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<brent__> true true
<brent__> if i went w/ xfce or gnome to start with
<brent__> it it easy to transition to just i3 down the road if i chose to?
<brent__> or even enother full DE? I've never messed around w/ switching DE's on other distros
<Ox0dea> You can just modify your ~/.xinitrc.
<Ox0dea> DEs tend to have their own initialization files as well.
<shevy> good oldschool
<shevy> I could not want to study login managers in order to ... login properly :(
bruno- has quit [Ping timeout: 276 seconds]
pelegreno has quit [Remote host closed the connection]
pelegreno_ has quit [Remote host closed the connection]
pelegreno has joined #ruby
juanca_ has quit [Remote host closed the connection]
<brent__> decisions decisions, which to install
davidcelis has quit [Ping timeout: 244 seconds]
diegoviola has quit [Quit: WeeChat 1.4]
benlieb has quit [Quit: benlieb]
MalcolmReynolds has quit [Ping timeout: 248 seconds]
klka has joined #ruby
<shevy> I found that I can not go below e. g. fluxbox... things like ion or ratpoison and so on, does not fit my poor brain
<klka> when using ruby c api how the executable knows where the ruby binary is located? it checks envvars?
rkazak has quit [Quit: Sleep.....ing....]
IanMalcolm has joined #ruby
chancy has quit [Remote host closed the connection]
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
gix has quit [Ping timeout: 248 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zast has quit [Remote host closed the connection]
<Ox0dea> klka: How do you mean?
<Ox0dea> If you're using Ruby as a scripting layer in your C program, there's no `ruby` binary involved. The necessary symbols and functions are being compiled into your program.
benlieb has joined #ruby
rkazak has joined #ruby
<klka> really, even if i try to open .rb file and execute its content?
<klka> rb_require*
jdawgaz has joined #ruby
gix has joined #ruby
mat-svol has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
agent_white has joined #ruby
mat-svol has quit [Ping timeout: 268 seconds]
thistle has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
thistle has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BtcBen has joined #ruby
BTRE has joined #ruby
yfeldblum has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
skweek has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 252 seconds]
IrishGringo has quit [Read error: Connection reset by peer]
smathy_afk has quit [Ping timeout: 246 seconds]
rkazak has quit [Quit: Sleep.....ing....]
robbyoconnor has quit [Quit: Konversation terminated!]
IrishGringo has joined #ruby
Es0teric has joined #ruby
Jameser` has joined #ruby
<shevy> klka what are you writing by the way? you seem to be at it persistently since some days
jt__ has joined #ruby
lyoshaja_ has quit [Remote host closed the connection]
arescorpio has quit [Excess Flood]
Jameser has quit [Ping timeout: 248 seconds]
tubuliferous_ has joined #ruby
<shevy> hmm what name would you rather pick:
<shevy> ToplevelName::Gui::Gtk
<shevy> or
<shevy> ToplevelName::GUI::Gtk
nodejunkie has joined #ruby
jt__ has quit [Remote host closed the connection]
karmatr0n has joined #ruby
agentmeerkat has quit [Ping timeout: 248 seconds]
polysics has joined #ruby
jgpawletko has joined #ruby
<baweaver> GUI
<klka> shevy, yep for some days i'm trying to create an executable that calls ruby function in .rb file, this function depends on alot of code, and i want it to be statically-linked
jgpawletko has left #ruby [#ruby]
<baweaver> Net:HTTP
<baweaver> Net::SNMP
pawnbox has joined #ruby
<baweaver> etc
lxsameer has joined #ruby
<shevy> baweaver yeah I was just thinking the same... I read my own code some some weeks ago and "module Gui" looked weird
<shevy> one some too many
<shevy> klka I see
<brent__> shevy, but you've been use kde lately?
<agent_white> Evenin'
tubuliferous_ has quit [Ping timeout: 248 seconds]
polysics has quit [Ping timeout: 248 seconds]
karmatr0n has quit [Ping timeout: 276 seconds]
<shevy> brent__ well yeah, right now. I guess if I ever reboot, I'll switch to fluxbox again. I am using kde konsole for most shell stuff though, so I kind of semi-depent on it. gnome-terminal is ok but not as good, the other terminals are weird... I never got into screen and tmux, my geekiness level is not 100%, more at 50% to 60%. in almost half of the kde tabs, some ruby script is running
moei has quit [Quit: Leaving...]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Es0teric has quit [Quit: Computer has gone to sleep.]
<brent__> what do you like about fluxbox?
Regulati_ has joined #ruby
<shevy> very fast, very simple, easy keybindings
rbennacer has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 276 seconds]
<shevy> ruby autogenerates the default keybindings for me; probably also possible for kde but I just can't be bothered to find out where kde puts what and what format it uses... probably some monstrous XML file
<shevy> there once was a ruby WM too!
jpfuentes2 has joined #ruby
jt__ has joined #ruby
Devalo has joined #ruby
Waqas has quit [Ping timeout: 264 seconds]
<brent__> cool. torn on just going for i3 or xfce
bkxd has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
BtcBen has quit [Ping timeout: 244 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> klka: I think ruby_init_loadpath() might be your missing piece.
bkxd has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 250 seconds]
lyoshajapan has joined #ruby
kareeoleez has joined #ruby
robbyoconnor has joined #ruby
hk238 has joined #ruby
Devalo has joined #ruby
Waqas has joined #ruby
paul__ has joined #ruby
IrishGringo has joined #ruby
bronson has joined #ruby
Chagel_ has quit [Ping timeout: 248 seconds]
lyoshajapan has quit [Ping timeout: 276 seconds]
d0nn1e has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
merida has joined #ruby
lyoshajapan has joined #ruby
jenrzzz has joined #ruby
lkba_ has joined #ruby
Es0teric has joined #ruby
Devalo has quit [Remote host closed the connection]
<brent__> Ox0dea: dumb question, installed i3. how do i get to a termianl to install extra stuff? do i need to do taht before i startx in bash?
fedexo has joined #ruby
Outlastsheep has quit [Ping timeout: 264 seconds]
<Ox0dea> brent__: Alt+Enter
lkba has quit [Ping timeout: 240 seconds]
r0bby_ has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
robbyoconnor has quit [Ping timeout: 268 seconds]
<brent__> ahh, says can't find a terminal emulator
cdg has joined #ruby
<Ox0dea> Yeah, you'll want to have one of those. :P
<brent__> probably need to exit i3 and install from there
<brent__> any suggestions?
<brent__> on which emulator?
<Ox0dea> I use st.
houhoulis has quit [Remote host closed the connection]
mat-svol has joined #ruby
<Ox0dea> Most Archers use urxvt.
Spami has joined #ruby
kareeoleez has quit [Remote host closed the connection]
<shevy> they use arrows and bows!!!
jt__ has quit [Remote host closed the connection]
astrobunny has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
Waqas has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
Channel6 has joined #ruby
robbyoconnor has joined #ruby
mat-svol has quit [Ping timeout: 244 seconds]
r0bby_ has quit [Ping timeout: 260 seconds]
siaw has quit [Quit: siaw]
statelesscode has quit [Quit: statelesscode]
robot682 has joined #ruby
Waqas has joined #ruby
kadoppe has joined #ruby
r0bby_ has joined #ruby
Devalo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<brent__> well got it started. any things you think i should look at doing immediately to get it going Ox0dea?
robbyoconnor has quit [Ping timeout: 246 seconds]
kadoppe has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
terminalrecluse has joined #ruby
<Ox0dea> brent__: pacman -S `pacman -Ssq`
Devalo has quit [Ping timeout: 250 seconds]
noService has quit [Ping timeout: 246 seconds]
<Ox0dea> :P
tubuliferous_ has joined #ruby
r0bby_ has quit [Ping timeout: 248 seconds]
<brent__> what does that do?
polysics has joined #ruby
<Ox0dea> It installs all the things.
aaeron has joined #ruby
<Ox0dea> Only good for running libalpm's dependency resolution mechanism through its paces.
aaeron has quit [Client Quit]
<brent__> give it a shot once atom finishes installing
<brent__> that thing takes forever
<klka> When I call this function from ruby it works fine, it doesn't work when I call it from C API https://gist.github.com/anonymous/5ff9ed65701a7c738586182d0f274929 , why?
<Ox0dea> brent__: It was a joke, mind.
<Ox0dea> klka: What is kjon?
x77686d has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
<klka> rb file located in ./basedir/
<brent__> killing me, thought so.
last_staff has joined #ruby
william3 has joined #ruby
Waqas has quit [Ping timeout: 248 seconds]
<Ox0dea> klka: Why not `require_relative`?
x77686d has joined #ruby
<Ox0dea> On 2.3, you can also just use Kernel#__dir__ to avoid that dance.
sauvin has joined #ruby
william3 has quit [Ping timeout: 246 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyoshajapan has quit [Remote host closed the connection]
yfeldblum has joined #ruby
_djbkd has quit [Quit: My people need me...]
<klka> Ox0dea, it still doesn't work with require_relative
ctarx has joined #ruby
cjbottaro has joined #ruby
terlar has joined #ruby
idletask has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
vdamewood has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<klka> the error comes from "require 'bundler/setup'" in other file
polysics has quit [Ping timeout: 250 seconds]
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
polysics has joined #ruby
kadoppe has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<klka> and 'require rails'
<klka> maybe the gem directory is not defined?
bb010g has joined #ruby
LoneHerm_ has joined #ruby
raeoks has joined #ruby
<klka> How to define gem directory in C API?
kadoppe has quit [Ping timeout: 240 seconds]
Chagel has joined #ruby
bkxd has joined #ruby
polysics has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
infra-red has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
rubie has quit [Remote host closed the connection]
hotpancakes has joined #ruby
conta has quit [Ping timeout: 246 seconds]
rubie has joined #ruby
mat-svol has joined #ruby
Macaveli has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aufi has joined #ruby
hotpancakes has quit [Ping timeout: 268 seconds]
kareeoleez has joined #ruby
ctarx has quit [Quit: Textual IRC Client: www.textualapp.com]
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
rkazak has joined #ruby
kareeoleez has quit [Remote host closed the connection]
mat-svol has quit [Ping timeout: 246 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
lyoshajapan has joined #ruby
jpfuentes2 has joined #ruby
raeoks has quit [Ping timeout: 264 seconds]
robot682 has left #ruby [#ruby]
Chagel_ has joined #ruby
Chagel has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
tvw has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lyoshajapan has quit [Ping timeout: 260 seconds]
kareeoleez has joined #ruby
pawnbox has quit [Remote host closed the connection]
raeoks has joined #ruby
ur5us has quit [Remote host closed the connection]
conta has joined #ruby
rubie has quit [Remote host closed the connection]
raeoks has quit [Ping timeout: 244 seconds]
lyoshajapan has joined #ruby
djbkd has quit [Remote host closed the connection]
mesamoo has joined #ruby
Theory has joined #ruby
Bloomer has joined #ruby
baweaver has quit [Remote host closed the connection]
bob434 has joined #ruby
conta has quit [Ping timeout: 248 seconds]
noService has joined #ruby
djbkd has joined #ruby
bob434 has quit [Client Quit]
djellemah_ is now known as djellemah
lyoshajapan has quit [Remote host closed the connection]
krz has joined #ruby
lyoshajapan has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
mark3 has joined #ruby
ffgghhj has joined #ruby
paul__ has quit [Remote host closed the connection]
skweek has quit [Remote host closed the connection]
youch has joined #ruby
youch has quit [Client Quit]
dhinojosa has quit [Ping timeout: 244 seconds]
Respek has quit [Quit: gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
merida has quit [Ping timeout: 276 seconds]
pawnbox_ has joined #ruby
solars has joined #ruby
jimcroft has left #ruby ["Textual IRC Client: www.textualapp.com"]
firstdayonthejob has joined #ruby
yfeldblum has joined #ruby
infra-re_ has joined #ruby
ta_ has joined #ruby
jimcroft_ has joined #ruby
merida has joined #ruby
kareeoleez has quit [Ping timeout: 250 seconds]
aganov has joined #ruby
terminalrecluse has joined #ruby
terminalrecluse has quit [Client Quit]
pawnbox has quit [Ping timeout: 264 seconds]
jimcroft_ has quit [Client Quit]
infra-red has quit [Ping timeout: 250 seconds]
jimcroft_ has joined #ruby
jimcroft_ has quit [Client Quit]
jimcroft_ has joined #ruby
benlieb has quit [Quit: benlieb]
Theory has quit []
jimcroft_ has quit [Client Quit]
jimcroft_ has joined #ruby
abyx has joined #ruby
polysics has joined #ruby
merida has quit [Quit: Leaving...]
kareeoleez has joined #ruby
LoneHermit has joined #ruby
bronson has joined #ruby
idletask has quit [Remote host closed the connection]
siaw has joined #ruby
idletask has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
ur5us has joined #ruby
polysics has quit [Read error: Connection reset by peer]
polysics has joined #ruby
infra-re_ has quit [Remote host closed the connection]
polysics has quit [Client Quit]
jimcroft_ has quit []
LoneHermit has quit [Ping timeout: 276 seconds]
ur5us has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 252 seconds]
ur5us has joined #ruby
terlar has quit [Ping timeout: 248 seconds]
firstdayonthejob has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 276 seconds]
blackgoat has quit [Ping timeout: 244 seconds]
krz has quit [Ping timeout: 246 seconds]
jimcroft_ has joined #ruby
krz has joined #ruby
jimcroft_ has quit [Client Quit]
idletask has quit [Ping timeout: 244 seconds]
ensyde has quit [Ping timeout: 268 seconds]
czerasz has joined #ruby
eggoez has quit [Ping timeout: 246 seconds]
TomyWork has joined #ruby
andikr has joined #ruby
mat-svol has joined #ruby
merida has joined #ruby
infernix has quit [Ping timeout: 268 seconds]
polysics has joined #ruby
Taylor_ has joined #ruby
Taylor_ is now known as P_R_Deltoid
<P_R_Deltoid> I am trying to overload the Rand() function in Kernel to do a small programming challenge
merida_ has joined #ruby
<P_R_Deltoid> and I can't for the life of me figure out why the way I am doing it is n ot working
<P_R_Deltoid> I am simply using module Kernel
<P_R_Deltoid> and then def rand
jaruga__ has joined #ruby
codecop has joined #ruby
<P_R_Deltoid> then making it return 0 no matter what
<P_R_Deltoid> but for some reason, this does not work
mat-svol has quit [Ping timeout: 244 seconds]
phaza has quit [Read error: Connection reset by peer]
merida has quit [Ping timeout: 264 seconds]
phaza has joined #ruby
biberu has joined #ruby
<Ox0dea> P_R_Deltoid: https://eval.in/552544
Bloomer has quit []
Es0teric has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
<P_R_Deltoid> Alright, my solution is correct, apparently the problem is not solved that way
<P_R_Deltoid> thanks, Ox0dea
<Ox0dea> P_R_Deltoid: Sure thing.
<P_R_Deltoid> Turns o ut you just seed rand to make the number come out consistantly
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<P_R_Deltoid> Kinda overthought that one
fedexo has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
norc has joined #ruby
eggoez has joined #ruby
RTG` has joined #ruby
jimcroft_ has joined #ruby
yfeldblum has joined #ruby
baweaver has joined #ruby
Dimik has quit []
merida has joined #ruby
infernix has joined #ruby
infra-red has joined #ruby
djbkd has quit [Remote host closed the connection]
johnbat26 has joined #ruby
merida_ has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
tagaulap has joined #ruby
tristanp has quit [Ping timeout: 246 seconds]
Couch has joined #ruby
hotpancakes has joined #ruby
tenzan has joined #ruby
djbkd has joined #ruby
tenzan has quit [Client Quit]
ferr has joined #ruby
djbkd has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
djbkd has joined #ruby
merida has quit [Ping timeout: 268 seconds]
ssiris has quit [Quit: End of Line]
pawnbox_ has quit [Remote host closed the connection]
P_R_Deltoid has quit [Quit: Leaving]
DoubleMalt has joined #ruby
pawnbox has joined #ruby
abyx has quit [Quit: This computer has gone to sleep]
<hanmac> klka i showed you long time ago how to do an static linked exceutable that does call functions in a rb file and it did work for me.
bruno- has joined #ruby
brunto has joined #ruby
devbug has joined #ruby
<klka> hanmac, really? i dont remember.. how long?
antgel has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
merida has joined #ruby
<norc> hanmac: Do not utter the words "statically linked" in the IRC. Chances are Ulrich Drepper might appear and insult you into the ground.
<norc> With some swearing in between.
<hanmac> norc: i am not pro-static linked, klka wanted that
<hanmac> klka that i did send you at 10.04.2016: i did use "gcc func.c -o func `pkg-config --cflags --static ruby-2.2` -lruby-2.2-static -lpthread -lgmp -ldl -lcrypt -lm" and that did allow static linking for me and it did work for me
nobitanobi has joined #ruby
<Ox0dea> hanmac: Er, why not just pass --libs to pkg-config?
kadoppe has joined #ruby
<klka> oh i didnt see that, i'll try that, is it includes the gems? i guess not?
<hanmac> Ox0dea: for unknown reason pkg-config does not show the static lib for ruby when using --static
tristanp has joined #ruby
<hanmac> klka: i didnt try to use any gems, i did use your func.c file and your func.rb, nothing more
bruno- has quit [Ping timeout: 244 seconds]
<Ox0dea> hanmac: Ah, you're right. That's weird.
brunto has quit [Quit: Lost terminal]
<hanmac> and i stll think static linking might be a bad idea at that place
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> I can only assume klka is up to something wicked.
<klka> lol
<klka> hanmac, yea i know
<klka> I did compile it, but i want to be able to use gems
<klka> im trying to figure out how to do that
<hanmac> klka: also when you do something static, you only build the ruby lib to it, not std or gems
<klka> the gems is a must
<Ox0dea> They want to pass around a binary and a Ruby file and have everything Just Work without the user (victim?) having to have Ruby installed.
<klka> I need some gems to run the code
<norc> Ox0dea: Heh.
<hanmac> i think the best way would be to bundle the std/gem stuff with your new app, and then somehow add the search paths into it.
rkazak has quit [Quit: Sleep.....ing....]
marr has joined #ruby
<hanmac> klka: also a special reason why your app does need to be compiled? for what do you want to use the ruby part of it?
<norc> Ox0dea: That bug is over 13 years old!
<norc> You have to dig into CVS to blame. :D
kadoppe has quit [Ping timeout: 248 seconds]
<Ox0dea> norc: Ah, that explains why going back to 1.0 was insufficient.
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<Ox0dea> I tried to determine which version of Ruby that would've been appropriate in.
<klka> i want to add a functionality that is written in ruby (many lines of code)
sepp2k has joined #ruby
<norc> Ox0dea: It is quite hilarious that code after that condition was changed and added over the years, but apparently nobody ever noticed it was dead code.
<Ox0dea> klka: But you want to write the rest of your program in C? Why?
RyanMcCoskrie has joined #ruby
<norc> Ox0dea: Indeed why. We have Fiddle which gives you direct memory access in Ruby. No reason at all to write C programs anymore.
<Ox0dea> norc: I still get a kick out of embedding unions in structs in unions in structs, and it's just not the same with Fiddle. :P
astrobunny has quit [Remote host closed the connection]
<klka> Ox0dea, performance, hard to RE
<norc> Ox0dea: Meh. unions feel so lackluster once you have used variants.
RyanMcCoskrie has left #ruby [#ruby]
<Ox0dea> norc: I certainly didn't mean to hold them up as a joy to use.
<norc> Heh.
brunto has joined #ruby
astrobunny has joined #ruby
<hanmac> klka: i think other way around might be more nicer, like you put your expensive stuff in a C-gem and then require it from your ruby program
lyoshajapan has joined #ruby
<norc> klka: Honest question since you mention the topic "performance" while still being stuck with linkage... did you profile your application?
<hanmac> norc: i prefer to write bindings, like i did with wxwidgets and long time ago with ogre too (i need to update that one)
conta has joined #ruby
brunto_ has joined #ruby
brunto has quit [Client Quit]
<klka> norc, not yet, why?
<norc> klka: Why do you make design choices about performance, when you have not even determined that they are necessary.
brunto_ has quit [Client Quit]
<norc> (We also call this: Premature optimization)
brunto has joined #ruby
elaptics`away is now known as elaptics
bkxd has joined #ruby
<norc> klka: Which brings us back to Ox0dea's suggestion: Why go back to C code, when writing C code is cumbersome and slow and error prone.
<klka> norc, the main reason i chose c/c++ is the time it takes to reverse engineer it, performace is a bonus
<Ox0dea> Bleh. Get out.
<klka> lol
<norc> klka: If you insist on obfuscating, Ruby can precompile byte code too.
<norc> Anyone with enough energy to reverse engineer that, will also disassemble your binary.
the_drow_ has joined #ruby
<norc> And almost all people that pay for software will respect licensing.
<norc> Unless of course you are trying to hide that you are a terrible programmer.
<klka> maybe :)
<Ox0dea> klka: Just write your Ruby code like this: http://i.imgur.com/94jou4v.png
<norc> Ox0dea: You make me cry!
<Ox0dea> norc: It's the good hurt.
<klka> Ox0dea, nice
<norc> FortiGuard prefers me twittering over imgur.
<norc> (The filter list on that firewall is just so hilarious)
<Ox0dea> norc: It's just the old Sinatra app: http://i.imgsafe.org/0e62000.png
<norc> Ah.
anisha has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
<norc> klka: Perfect image. If only the electric knife had a label "Made in Japan" on it.
merida has quit [Remote host closed the connection]
Silox| has joined #ruby
sepp2k has quit [Quit: Leaving.]
tesuji has joined #ruby
pandaant has joined #ruby
<Ox0dea> klka: C isn't a katana; it's a scalpel.
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
Xeago has joined #ruby
madgen has joined #ruby
barajasfab has quit [Quit: Leaving]
snoobydoo has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
lkba_ has quit [Ping timeout: 240 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
Snowy has joined #ruby
mrgrieves has joined #ruby
vasilakisfil has joined #ruby
<vasilakisfil> if I have a method inside a class and I do Foo.new.bar, is it possible inside there to get the 'self' of the caller ?
LoneHermit has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
AndyBotwin has quit [Quit: Leaving]
<vasilakisfil> interesting
<vasilakisfil> it would be nice if it was officially supported though
<manveru> vasilakisfil: the official support is to pass the binding from the caller explicitly :)
yfeldblum has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 240 seconds]
jt__ has joined #ruby
Suntzu has quit [Ping timeout: 248 seconds]
hotpancakes has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
tubuliferous_ has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
ur5us has quit [Remote host closed the connection]
<adaedra> vasilakisfil: note that this is recommended to use it only for debugging purposes. The best way to have what you ask is still to pass `self` as parameter.
<vasilakisfil> yeah I got that :) I hoped there would be a way though :)
<flughafen> hello
bmf has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
blackgoat has joined #ruby
akkmaxon has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
norc has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
william3 has joined #ruby
akkmaxon has quit [Read error: Connection reset by peer]
astrobunny has quit [Remote host closed the connection]
futilegames has joined #ruby
ThePolarCat has joined #ruby
william3 has quit [Remote host closed the connection]
ThePolarCat has left #ruby [#ruby]
bronson has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
futilegames has quit [Client Quit]
madgen has quit [Ping timeout: 268 seconds]
<riceandbeans> if you do require_relative 'dir/file' do you have to specify .rb or is it implied?
<vasilakisfil> a closure which when run takes into account the running environment and not the environment that was defined
diegoaguilar has quit [Remote host closed the connection]
akkmaxon has joined #ruby
SCHAAP137 has joined #ruby
diegoaguilar has joined #ruby
johnbat26 has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
<Ox0dea> vasilakisfil: That's called "rebinding" in the general case.
<vasilakisfil> ok
mat-svol has joined #ruby
<vasilakisfil> but I think it's usefull in many cases
merida has joined #ruby
johnbat26 has joined #ruby
<vasilakisfil> I will rename the method to rebind then instead of reshape
n008f4g_ has joined #ruby
<Ox0dea> Doing it recklessly is essentially glorified `goto`.
<Ox0dea> You should be able to reason about the value of `self`.
madgen has joined #ruby
mat-svol has quit [Ping timeout: 260 seconds]
AlexJakeGreen has joined #ruby
raeoks has joined #ruby
pawnbox has quit [Remote host closed the connection]
<waxxy> I usually find it clearer to pass in the "environment" as a parameter to the block: https://gist.github.com/britishtea/6fb9153a26825cc7219ef2a9da5ba8c0
william3 has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
skislak has joined #ruby
jt__ has quit [Remote host closed the connection]
jt__ has joined #ruby
chosen1_ is now known as chosen1
nodejunkie has quit [Ping timeout: 252 seconds]
william3 has joined #ruby
Kelzier has joined #ruby
snoobydoo has quit [Ping timeout: 276 seconds]
snoobydoo has joined #ruby
jt__ has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
yfeldblum has joined #ruby
ensyde has joined #ruby
ensyde has quit [Read error: Connection reset by peer]
evidex has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
chihhsin_ has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
baweaver has joined #ruby
hotpancakes has joined #ruby
s1kx has quit [Ping timeout: 268 seconds]
baweaver has quit [Ping timeout: 250 seconds]
hotpancakes has quit [Ping timeout: 268 seconds]
william3 has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
s1kx has joined #ruby
agent_white has quit [Quit: night]
mrmortondk has joined #ruby
LoneHermit has joined #ruby
tjbiddle has joined #ruby
asmodlol has joined #ruby
brunto_ has joined #ruby
waxxy_ has joined #ruby
Dreamer__ has joined #ruby
devbug has quit [Quit: ZZZzzz…]
LoneHermit has quit [Ping timeout: 268 seconds]
william3 has quit [Read error: Connection reset by peer]
nullwarp_ has joined #ruby
bruno- has joined #ruby
Chagel has joined #ruby
platzhirsch has joined #ruby
maxim__ has joined #ruby
terlar has joined #ruby
giz|work has joined #ruby
artmann_ has joined #ruby
interpel1x has joined #ruby
jgrevich_ has joined #ruby
lyoshaja_ has joined #ruby
terlar has quit [Client Quit]
crankhar1er has joined #ruby
saltsa has joined #ruby
antgel_ has joined #ruby
Mekkis_ has joined #ruby
n008f4g__ has joined #ruby
phredus_ has joined #ruby
william3 has joined #ruby
torandu_ has joined #ruby
ramblinpeck_ has joined #ruby
bronson has joined #ruby
bestie_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
lyoshaja_ has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
mhenrixon_ has joined #ruby
apeiros_ has joined #ruby
Biohazard has joined #ruby
skislak has quit [*.net *.split]
n008f4g_ has quit [*.net *.split]
akkmaxon has quit [*.net *.split]
brunto has quit [*.net *.split]
lyoshajapan has quit [*.net *.split]
antgel has quit [*.net *.split]
jimcroft_ has quit [*.net *.split]
infernix has quit [*.net *.split]
noService has quit [*.net *.split]
tvw has quit [*.net *.split]
Chagel_ has quit [*.net *.split]
bihi has quit [*.net *.split]
waxxy has quit [*.net *.split]
rob_ has quit [*.net *.split]
stan has quit [*.net *.split]
Diabolik has quit [*.net *.split]
Sammichmaker has quit [*.net *.split]
tonini has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
Meow-J has quit [*.net *.split]
papercode has quit [*.net *.split]
phredus has quit [*.net *.split]
torandu has quit [*.net *.split]
jokester has quit [*.net *.split]
nullwarp has quit [*.net *.split]
jcp has quit [*.net *.split]
ledestin has quit [*.net *.split]
jgrevich has quit [*.net *.split]
optimaleatscout_ has quit [*.net *.split]
jwang has quit [*.net *.split]
akitada has quit [*.net *.split]
bestie has quit [*.net *.split]
troter_________ has quit [*.net *.split]
pfg has quit [*.net *.split]
apeiros has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
crankharder has quit [*.net *.split]
artmann has quit [*.net *.split]
S01780 has quit [*.net *.split]
Guest45768 has quit [*.net *.split]
gremax has quit [*.net *.split]
andersh has quit [*.net *.split]
crayfishx has quit [*.net *.split]
acalewin has quit [*.net *.split]
shevy has quit [*.net *.split]
moredhel has quit [*.net *.split]
trajing has quit [*.net *.split]
dellavg has quit [*.net *.split]
Mekkis has quit [*.net *.split]
fnux has quit [*.net *.split]
ElderFain has quit [*.net *.split]
atom3 has quit [*.net *.split]
RealMarc has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
Liam` has quit [*.net *.split]
saltsa_ has quit [*.net *.split]
llua has quit [*.net *.split]
interpelex has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
SirCmpwn_ has joined #ruby
ja has quit [*.net *.split]
nullwarp_ is now known as nullwarp
mhenrixon_ is now known as mhenrixon
moredhel_ has joined #ruby
DiabolikFreenode has joined #ruby
bestie_ is now known as bestie
bronson has quit [Ping timeout: 252 seconds]
Liam` has joined #ruby
bihi has joined #ruby
troter_________ has joined #ruby
llua has joined #ruby
william3 has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
ramblinpeck_ is now known as ramblinpeck
asmodlol has quit [Quit: Leaving]
kadoppe has joined #ruby
jimcroft_ has joined #ruby
jaruga__ has quit [Ping timeout: 276 seconds]
andersh has joined #ruby
tonini has joined #ruby
pfg has joined #ruby
daemonwrangler has joined #ruby
acalewin has joined #ruby
S01780 has joined #ruby
jcp has joined #ruby
stan has joined #ruby
optimaleatscout_ has joined #ruby
rob_ has joined #ruby
skislak has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
jokester has joined #ruby
papercode has joined #ruby
jwang has joined #ruby
infernix has joined #ruby
william3 has joined #ruby
jimcroft_ is now known as jimcroft
jimcroft has quit [Client Quit]
mikecmpbll has joined #ruby
jimcroft has joined #ruby
Xeago has quit [Remote host closed the connection]
bruce_lee has joined #ruby
e4xit has quit [Ping timeout: 276 seconds]
Meow-J has joined #ruby
kadoppe has quit [Ping timeout: 244 seconds]
e4xit has joined #ruby
tagaulap has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
postmodern has quit [Quit: Leaving]
pawnbox has joined #ruby
platzhirsch has quit [Quit: Leaving.]
bkxd has quit [Ping timeout: 248 seconds]
gagrio-lunch is now known as gagrio
rippa has joined #ruby
SirCmpwn_ is now known as SirCmpwn
jds_ has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
joseph has joined #ruby
dellavg has joined #ruby
brunto_ has quit [Ping timeout: 244 seconds]
william3 has quit [Remote host closed the connection]
terlar has joined #ruby
joseph has quit [Ping timeout: 250 seconds]
Gasher has joined #ruby
william3 has joined #ruby
krz has quit [Ping timeout: 244 seconds]
duncannz has quit [Remote host closed the connection]
tagaulap has joined #ruby
Didac has quit [Ping timeout: 268 seconds]
Xeago has joined #ruby
DiabolikFreenode is now known as Diabolik
BtcBen has joined #ruby
sgambino_ has joined #ruby
Rutix`away has joined #ruby
Rutix`away has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
Rutix has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
atmosx_alt has joined #ruby
Ox0dea has quit [Ping timeout: 268 seconds]
pragmatism has quit [Ping timeout: 268 seconds]
Kilo`byte has quit [Ping timeout: 268 seconds]
Couch has quit [Ping timeout: 268 seconds]
lxsameer has quit [Ping timeout: 268 seconds]
ducklobster has quit [Ping timeout: 268 seconds]
joaumg has quit [Ping timeout: 268 seconds]
atmosx has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
braincras has quit [Ping timeout: 250 seconds]
czerasz has quit [Ping timeout: 268 seconds]
sgambino has quit [Ping timeout: 268 seconds]
Puffball has quit [Ping timeout: 268 seconds]
pragmatism has joined #ruby
raeoks has quit [Ping timeout: 268 seconds]
dreadingly has quit [Ping timeout: 268 seconds]
Shidash has quit [Ping timeout: 268 seconds]
veloutin has quit [Ping timeout: 268 seconds]
coyo has quit [Ping timeout: 250 seconds]
Kilo`byte has joined #ruby
atmosx has joined #ruby
sesquipedalian has quit [Ping timeout: 268 seconds]
johnmilton has quit [Remote host closed the connection]
atmosx_alt has quit [Read error: Connection reset by peer]
conta_ has joined #ruby
aufi_ has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
merida has quit [Remote host closed the connection]
aufi has quit [Ping timeout: 268 seconds]
Omni_ has quit [Ping timeout: 268 seconds]
dravine_ has joined #ruby
dravine has quit [Ping timeout: 268 seconds]
dravine_ is now known as dravine
dgncn has quit [Ping timeout: 268 seconds]
czerasz has joined #ruby
rob_ has quit [Ping timeout: 268 seconds]
conta has quit [Ping timeout: 268 seconds]
william3 has quit [Remote host closed the connection]
Puffball has joined #ruby
coyo has joined #ruby
veloutin has joined #ruby
Shidash has joined #ruby
lxsameer has joined #ruby
bob434 has joined #ruby
braincrash has joined #ruby
terlar has quit [Ping timeout: 250 seconds]
svkurowski has quit [Ping timeout: 268 seconds]
MuffinPimp has quit [Ping timeout: 268 seconds]
niko has quit [Ping timeout: 633 seconds]
yfeldblum has quit [Remote host closed the connection]
merida has joined #ruby
crowell has quit [Ping timeout: 250 seconds]
svkurowski has joined #ruby
Omni has joined #ruby
Omni is now known as Guest83612
yfeldblum has joined #ruby
crowell has joined #ruby
bruno- has joined #ruby
Liothen has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
rikai has quit [Ping timeout: 250 seconds]
siaw_ has joined #ruby
siaw has quit [Read error: Connection reset by peer]
siaw_ is now known as siaw
dgncn has joined #ruby
krz has joined #ruby
MuffinPimp has joined #ruby
brunto has joined #ruby
Couch has joined #ruby
rikai has joined #ruby
Xeago has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
joaumg has joined #ruby
Ox0dea has joined #ruby
bruno- has quit [Ping timeout: 248 seconds]
Liothen has joined #ruby
majjoha has quit [Ping timeout: 250 seconds]
majjoha has joined #ruby
brunto has quit [Ping timeout: 268 seconds]
vasilakisfil has quit [Ping timeout: 260 seconds]
bnagy has quit [Ping timeout: 268 seconds]
bnagy has joined #ruby
Didac has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
vasilakisfil has joined #ruby
Jameser` has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
Xeago has joined #ruby
DanielJack has quit [Ping timeout: 250 seconds]
Sou|cutter has quit [Ping timeout: 268 seconds]
Sou|cutter has joined #ruby
ged has quit [Ping timeout: 268 seconds]
kloeri has quit [Read error: Connection reset by peer]
kloeri_ has joined #ruby
Nahra` has joined #ruby
codecop has quit [Remote host closed the connection]
vasilakisfil has quit [Ping timeout: 252 seconds]
madgen has quit [Ping timeout: 260 seconds]
Nahra has quit [Ping timeout: 250 seconds]
klka has quit []
Xeago has quit [Remote host closed the connection]
Snowy is now known as SnowyLAD
DanielJack has joined #ruby
bkxd has joined #ruby
GodFather has joined #ruby
madgen has joined #ruby
Xeago has joined #ruby
genpaku has quit [Ping timeout: 252 seconds]
yokel has quit [Ping timeout: 276 seconds]
rob_ has joined #ruby
rodfersou has joined #ruby
Xeago has quit [Remote host closed the connection]
yokel has joined #ruby
genpaku has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
william3 has joined #ruby
Xeago has quit [Remote host closed the connection]
niko has joined #ruby
sesquipedalian has joined #ruby
brunto has joined #ruby
william3 has quit [Ping timeout: 264 seconds]
minimalism has quit [Quit: minimalism]
baweaver has joined #ruby
gnufied has joined #ruby
ta_ has quit [Quit: Leaving...]
ged has joined #ruby
ruby-lang235 has joined #ruby
kloeri_ is now known as kloeri
Chagel has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
<ruby-lang235> hi, someone can recommend me free RoR projects to learn reading (low-medium level)
arup_r has joined #ruby
Outlastsheep has joined #ruby
vasilakisfil_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<ruby-lang235> hi, someone can recommend me open source RoR projects to learn reading (low-medium level)
ta_ has joined #ruby
CausaMortis has joined #ruby
vasilakisfil__ has joined #ruby
vasilakisfil_ has quit [Client Quit]
<arup_r> Spree and Solidus
ldnunes has joined #ruby
<arup_r> ask #rubyonrails channel
ellen_ has joined #ruby
<arup_r> Hey all. Is there any much neat way to read just the CSV headers? I did it like https://gist.github.com/aruprakshit/10685c3af8d37a326e03adfa6a4ddf16
flak has joined #ruby
kareeole_ has joined #ruby
duderono_ has joined #ruby
mac__ has joined #ruby
hotpancakes has joined #ruby
nobitano_ has joined #ruby
SnowyLAD_ has joined #ruby
watersoul_ has joined #ruby
Rutix`away has quit [Ping timeout: 264 seconds]
M-shine has quit [Ping timeout: 264 seconds]
mwlang has quit [Ping timeout: 264 seconds]
jhass has quit [Ping timeout: 264 seconds]
matt_d has quit [Ping timeout: 264 seconds]
imajes has quit [Ping timeout: 264 seconds]
moshee has quit [Ping timeout: 264 seconds]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
william3 has quit [Ping timeout: 264 seconds]
gmas has quit [Ping timeout: 264 seconds]
smoose has quit [Ping timeout: 264 seconds]
vircung has quit [Ping timeout: 264 seconds]
shaman42 has quit [Ping timeout: 264 seconds]
pjaspers has quit [Ping timeout: 264 seconds]
braidn has quit [Ping timeout: 264 seconds]
inukshuk has quit [Ping timeout: 264 seconds]
nobitano_ has quit [Remote host closed the connection]
bob434 has quit [Ping timeout: 264 seconds]
kareeoleez has quit [Ping timeout: 264 seconds]
aganov has quit [Ping timeout: 264 seconds]
z4phod has quit [Ping timeout: 264 seconds]
perry has quit [Ping timeout: 264 seconds]
Zarthus has quit [Ping timeout: 264 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
existensil has quit [Ping timeout: 264 seconds]
queequeg1 has quit [Ping timeout: 264 seconds]
pleiosaur has quit [Ping timeout: 264 seconds]
swistak35 has quit [Ping timeout: 264 seconds]
thai_ has quit [Ping timeout: 264 seconds]
Jamo_ has quit [Ping timeout: 264 seconds]
Esya has quit [Ping timeout: 264 seconds]
df has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 264 seconds]
[dmp] has quit [Ping timeout: 264 seconds]
maxmanders has quit [Ping timeout: 264 seconds]
null__ has quit [Ping timeout: 264 seconds]
programmerq has quit [Ping timeout: 264 seconds]
cyphactor has quit [Ping timeout: 264 seconds]
majoh has quit [Ping timeout: 264 seconds]
rapha has quit [Ping timeout: 264 seconds]
cookiez has quit [Ping timeout: 264 seconds]
Zarthus_ has joined #ruby
vbatts|work has joined #ruby
smoose has joined #ruby
chouhoulis has joined #ruby
justinmcp has joined #ruby
Gnubie__ has joined #ruby
merida has quit [Ping timeout: 264 seconds]
rippa has quit [Ping timeout: 264 seconds]
jwang has quit [Ping timeout: 264 seconds]
evidex has quit [Ping timeout: 264 seconds]
AlexJakeGreen has quit [Ping timeout: 264 seconds]
SnowyLAD has quit [Ping timeout: 264 seconds]
nobitanobi has quit [Ping timeout: 264 seconds]
mesamoo has quit [Ping timeout: 264 seconds]
vdamewood has quit [Ping timeout: 264 seconds]
sauvin has quit [Ping timeout: 264 seconds]
duderonomy has quit [Ping timeout: 264 seconds]
swills has quit [Ping timeout: 264 seconds]
wldcordeiro has quit [Ping timeout: 264 seconds]
jero__ has quit [Ping timeout: 264 seconds]
Antiarc has quit [Ping timeout: 264 seconds]
M-Technic has quit [Ping timeout: 264 seconds]
DEac- has quit [Ping timeout: 264 seconds]
Gnubie_ has quit [Ping timeout: 264 seconds]
zlude has quit [Ping timeout: 264 seconds]
hplar has quit [Ping timeout: 264 seconds]
awk has quit [Ping timeout: 264 seconds]
greister has quit [Ping timeout: 264 seconds]
unreal has quit [Ping timeout: 264 seconds]
Tharbakim has quit [Ping timeout: 264 seconds]
dostoyevsky has quit [Ping timeout: 264 seconds]
watersoul has quit [Ping timeout: 264 seconds]
ereslibre has quit [Ping timeout: 264 seconds]
ereslibre_laptop has joined #ruby
hoylemd has quit [Ping timeout: 264 seconds]
canton7 has quit [Ping timeout: 264 seconds]
isene has quit [Ping timeout: 264 seconds]
greenhat- has quit [Ping timeout: 264 seconds]
justinmcp_ has quit [Ping timeout: 264 seconds]
ocbtec has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Antiarc has joined #ruby
johnmilton has joined #ruby
shaman42 has joined #ruby
chouhoulis has joined #ruby
<tobiasvl> arup_r: c.readlines; c.headers
pleiosaur has joined #ruby
queequeg1 has joined #ruby
Jamo has joined #ruby
<tobiasvl> c.headers will contain the headers as long as they've been read
z4phod has joined #ruby
<arup_r> let me try
william3 has joined #ruby
tagaulap has quit []
awk has joined #ruby
hoylemd has joined #ruby
unreal has joined #ruby
awk is now known as Guest34517
hotpancakes has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
<arup_r> thanks
conta_ has quit [Ping timeout: 259 seconds]
<giz|work> ruby-lang235: i made a very simple pastebin service a few weeks ago https://github.com/gizmore/railsbin / http://railsbin.wechall.net
matt_d has joined #ruby
moei has joined #ruby
moei has quit [Client Quit]
M-shine has joined #ruby
moei has joined #ruby
Regulati_ has quit [Ping timeout: 260 seconds]
kareeole_ is now known as kareeoleez
<ruby-lang235> thx giz|work =)
greenhat has joined #ruby
mwlang has joined #ruby
moshee has joined #ruby
moshee has joined #ruby
jhass has joined #ruby
canton7 has joined #ruby
merida has joined #ruby
vircung has joined #ruby
df has joined #ruby
swills has joined #ruby
Esya has joined #ruby
maxmanders has joined #ruby
perry has joined #ruby
perry has quit [Changing host]
perry has joined #ruby
cyphactor has joined #ruby
pjaspers has joined #ruby
thai_ has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
gmas has joined #ruby
inukshuk has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
DEac- has joined #ruby
g3funk has joined #ruby
swistak35 has joined #ruby
Tharbakim has joined #ruby
nobitanobi has joined #ruby
vdamewood has joined #ruby
imajes has joined #ruby
bronson has joined #ruby
M-Technic has joined #ruby
zlude has joined #ruby
[dmp] has joined #ruby
AlexJakeGreen has joined #ruby
aganov has joined #ruby
rapha has joined #ruby
greister has joined #ruby
isene has joined #ruby
majoh has joined #ruby
hplar has joined #ruby
jero__ has joined #ruby
programmerq has joined #ruby
sauvin has joined #ruby
dostoyevsky has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
jwang has joined #ruby
existensil has joined #ruby
wldcordeiro has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
nfk|laptop has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
ruby-lang235 has quit [Ping timeout: 250 seconds]
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
n008f4g__ has quit [Ping timeout: 248 seconds]
william3 has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 268 seconds]
william3 has joined #ruby
mat-svol has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
bkxd has joined #ruby
conta_ has joined #ruby
mat-svol has quit [Ping timeout: 260 seconds]
Akuma0n3 has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
FooMunki has quit [Quit: FooMunki]
william3 has quit [Ping timeout: 260 seconds]
Akuma has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<Bish> how do i call a class that does certain things on a string
<Bish> like replacing placeholders
<Bish> stupid question and kinda offtopic :D but i don't knooow
dionysus69 has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
merida_ has joined #ruby
synthroid has joined #ruby
tjbiddle has joined #ruby
merida__ has joined #ruby
merida has quit [Read error: Connection reset by peer]
<giz|work> Bish: helper or util?
pontiki has joined #ruby
<Bish> bit too general, do't u think :(?
<giz|work> CharSequencer?
<Bish> what does it sequence? :o
<giz|work> chars
<Bish> eh eh
pontiki has left #ruby [#ruby]
<apeiros_> CertainThingsOnStringDoer
apeiros_ is now known as apeiros
<apeiros> but I'd probably indeed call it something like MyProject::StringUtils
hanmac has joined #ruby
nobitanobi has quit []
merida_ has quit [Ping timeout: 244 seconds]
<Bish> right now it's MyProject::Template::Handler
<Bish> but handler is like helper or util, bit general
<giz|work> Replac0r
<Bish> i like that one
FooMunki has joined #ruby
joseph has joined #ruby
djellemah_ has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
terlar has joined #ruby
raeoks has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
<mrgrieves> hi, any suggestions on how to make this code to execute faster? https://gist.github.com/dansanabria/04075cba638646ec5550ed8b9496dd54
<mrgrieves> it feels like I'm not being very effcient with the to_s and to_i transformations
phredus_ has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
tm__ has quit [Ping timeout: 250 seconds]
_stu_ has joined #ruby
william3 has joined #ruby
krz has quit [Read error: Connection reset by peer]
mac__ has quit [Quit: This computer has gone to sleep]
<Papierkorb> mrgrieves: What is that code supposed to do?
raeoks has quit [Ping timeout: 276 seconds]
william3 has quit [Read error: Connection reset by peer]
<mrgrieves> Papierkorb: recursive sum of all the digits in a number all the way until you end up with 1 digit
sgambino_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
callen92 has joined #ruby
<mrgrieves> i.e. 123 -> 6 , 4444 -> 16 -> 7
Xeago has joined #ruby
<apeiros> mrgrieves: in newer rubies, I'd expect a.map(&:to_i).inject(:+) to be faster
william3 has joined #ruby
<Bish> whats the poinf of such a function
<Bish> :o
<mrgrieves> apeiros: I think we have discuss the & character in the past, could you refresh my mind re what it does?
<apeiros> it tells ruby to treat the passed object as a block
rubie has joined #ruby
<apeiros> and if the object isn't a proc, it'll call to_proc on it
tubuliferous_ has joined #ruby
<apeiros> (since only procs can be converted to blocks)
Xeago has quit [Remote host closed the connection]
eljimmy has quit [Quit: This computer has gone to sleep]
<Bish> mrgrieves: and symbols to_proc does create a proc, that calls the method symbolized by it
<apeiros> and in effect, it means that `ary.map(&:to_i)` performs the same as `ary.map { |x| x.to_i }`
Spami has joined #ruby
<Bish> &:foo => { |x| x.foo }
<apeiros> note that the & is intentionally missing with inject(:+)
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
swills has quit [Ping timeout: 276 seconds]
<Papierkorb> mrgrieves: baked something for you https://gist.github.com/Papierkorb/83cf3c096605929781d576a0f2259158
<Papierkorb> mrgrieves: #one is the implementation which apeiros suggested basically, #two is yours
sepp2k has joined #ruby
<Papierkorb> mrgrieves: Um are you sure there's no infinite loop in your implementation?
boomsie has joined #ruby
jdawgaz has joined #ruby
Giauzar has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
giz|work has quit [Ping timeout: 276 seconds]
william3 has quit [Read error: Connection reset by peer]
<boomsie> I've got a string of the following form: "Server names.\nNum Mode Status Domain Serving Name\n1 ABB online DOMAIN1 machine1" (where there are many lines worth of entries like the last line) and I want to to extract a list of pairs of machine modes and names. I've got some basic stuff trying to do this here, but so far I've only managed to extract the machine name, and I also get stuff from the first two lines (and the
<boomsie> http://pastebin.com/2SiHmSeu Would appreciate any help! :-)
<ruby[bot]> boomsie: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/807d625136651867194079eb9fa03093
<ruby[bot]> boomsie: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<mrgrieves> well it's definetely faster - the testsuite doesn't time out now
<mrgrieves> Papierkorb: I don't think so but not sure -- also, any reasons why you do to_a when chars returns an array already?
<Papierkorb> mrgrieves: Oh I thought String#chars returned a Enumerator, confused it with String#each_char. So no reason for the #to_a's to be there :)
<mrgrieves> thanks guys, I need to get my head around the & explanation i.e. get used to it
merida__ has quit [Remote host closed the connection]
william3 has joined #ruby
madgen has joined #ruby
<Papierkorb> mrgrieves: Oh and to come back to your question from before, as in, if #to_s and #to_i is really necessary
kadoppe has joined #ruby
mat-svol has joined #ruby
<Papierkorb> mrgrieves: There's not really a better way AFAIK. There's nothing built in for it, and doing the divide-by-10 dance will be much slower in ruby.
<mrgrieves> cheers Papierkorb
arup_r has left #ruby [#ruby]
aspiers has quit [Ping timeout: 248 seconds]
toretore has joined #ruby
flashpoint9 has joined #ruby
<Papierkorb> mrgrieves: Oh and in your code, you assign a to i, but never change a so it will loop forever
<acosonic> Hi all, so I narrowed down my object structure to this http://apaste.info/Pn8 how do I access @value ?
modin has joined #ruby
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
malconis has joined #ruby
Guest91 has joined #ruby
giz|work has joined #ruby
ChiefAlexander has joined #ruby
kadoppe has quit [Ping timeout: 244 seconds]
juanca_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Guest91 has quit [Client Quit]
ChiefAlexander has quit [Remote host closed the connection]
evidex has joined #ruby
the_drow_ has quit [Quit: This computer has gone to sleep]
tjbiddle has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
meraxes has joined #ruby
merida has joined #ruby
joneshf-laptop has joined #ruby
stan has quit [Quit: Leaving]
ChiefAlexander has joined #ruby
CloCkWeRX has left #ruby [#ruby]
tubuliferous_ has quit [Ping timeout: 250 seconds]
e-jambon has joined #ruby
<boomsie> Can anyone see why this regex isn't working? http://pastebin.com/Q3rfMghZ I don't get any errors or anything, but nothing prints...
<ruby[bot]> boomsie: as I told you already, please use https://gist.github.com
ramortegui has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
kadoppe has joined #ruby
jaruga__ has joined #ruby
tjbiddle has joined #ruby
siaw has quit [Quit: siaw]
<boomsie> Does the gist.github bot slap-on-the-wrist stop my question from posting? I'd rather not sign up to github...
<workmad3> boomsie: you don't need to sign up to github to using gist
<Papierkorb> boomsie: you can create anonymous gists
<Papierkorb> boomsie: or use pastie.net (I think it was). But prefer gists, please :)
<workmad3> boomsie: although for regexp questions, rubular is a better suggestion
stan has joined #ruby
GodFather has joined #ruby
<al2o3-cr> boomsie: data.split("\n")[2..-1].each { |line| mode, name = line.split.values_at(1,-1); puts "mode: #{mode} serving name: #{name}" } #something like this
<boomsie> Ah, I didn't know you could use gist anonymously -- apologies for being ignorant!
ekinmur has joined #ruby
<boomsie> Cheers!
boomsie has quit [Quit: Page closed]
karmatr0n has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
pawnbox has joined #ruby
william3 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
kadoppe has quit [Ping timeout: 252 seconds]
juanca__ has joined #ruby
duckpupp1 has quit [Quit: WeeChat 1.4]
merida has quit [Remote host closed the connection]
djellemah_ has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
bkxd_ has joined #ruby
juanca_ has quit [Ping timeout: 248 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
sdothum has joined #ruby
jds_ has quit [Quit: Connection closed for inactivity]
ekinmur has joined #ruby
infra-red has quit [Remote host closed the connection]
ekinmur has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
infra-red has joined #ruby
antgel_ has quit [Ping timeout: 248 seconds]
fmcgeough has joined #ruby
william3 has quit [Ping timeout: 264 seconds]
infra-re_ has joined #ruby
antgel has joined #ruby
william3 has joined #ruby
rbennacer has joined #ruby
tyang has joined #ruby
eljimmy has joined #ruby
rubie has quit [Remote host closed the connection]
infra-red has quit [Ping timeout: 268 seconds]
ekinmur has joined #ruby
andikr has quit [Remote host closed the connection]
Chagel has joined #ruby
snoobydoo has quit [Ping timeout: 244 seconds]
flashpoint9 has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
evidex has quit [Remote host closed the connection]
freerobby has joined #ruby
evidex has joined #ruby
terlar has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
hotpancakes has joined #ruby
conta_ has quit [Ping timeout: 268 seconds]
infra-re_ has quit [Remote host closed the connection]
workmad3_ has joined #ruby
decoponyo has joined #ruby
jud^ has joined #ruby
duderonomy has joined #ruby
hakunin_ has joined #ruby
hotpanca_ has joined #ruby
brunto_ has joined #ruby
Waqas has joined #ruby
jinie_ has joined #ruby
perryh has joined #ruby
perryh has joined #ruby
hotpancakes has quit [Ping timeout: 244 seconds]
sgambino has joined #ruby
infra-red has joined #ruby
Xeago has quit [Remote host closed the connection]
Skelz0r_ has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
LowLifePerv has joined #ruby
Xeago has joined #ruby
tmtwd has joined #ruby
tmtwd has quit [Remote host closed the connection]
blaxter has quit [Read error: Connection reset by peer]
galeido_ has joined #ruby
futilegames has joined #ruby
rolha has joined #ruby
sami_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
bitemyap1 has joined #ruby
rolha has left #ruby [#ruby]
cybrside_ has joined #ruby
bkxd has joined #ruby
sami_ is now known as Guest46036
m4rCsi has joined #ruby
Jamo_ has joined #ruby
croberts has joined #ruby
Kim^J_ has joined #ruby
tw1sted_ has joined #ruby
bnagy_ has joined #ruby
skakri` has joined #ruby
blaxter has joined #ruby
irick_ has joined #ruby
hinbody_ has joined #ruby
infra-red has quit [Remote host closed the connection]
juanca_ has joined #ruby
infra-red has joined #ruby
BSaboia has joined #ruby
sesquipe1 has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
futilegames has quit [Client Quit]
Waqas has joined #ruby
reaVer_ has joined #ruby
hinbody has quit [Disconnected by services]
swills has joined #ruby
hinbody_ is now known as hinbody
snoobydoo has joined #ruby
GitGud is now known as GG
sapslaj_ has joined #ruby
_kfpratt has joined #ruby
valeri_uF0 has joined #ruby
cdg has quit [Remote host closed the connection]
_ko10 has joined #ruby
cdg has joined #ruby
Amnez777- has joined #ruby
Lildirt|SomeoneT has joined #ruby
Gutenberg has joined #ruby
Gutenberg has joined #ruby
brunto_ has quit [Ping timeout: 252 seconds]
gaf__ has joined #ruby
bruno- has joined #ruby
mburns_ has joined #ruby
braidn_ has joined #ruby
bkxd_ has quit [*.net *.split]
juanca__ has quit [*.net *.split]
perry has quit [*.net *.split]
g3funk has quit [*.net *.split]
Jamo has quit [*.net *.split]
duderono_ has quit [*.net *.split]
brunto has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
bnagy has quit [*.net *.split]
sesquipedalian has quit [*.net *.split]
coyo has quit [*.net *.split]
workmad3 has quit [*.net *.split]
bmf has quit [*.net *.split]
Emmanuel_Chanel has quit [*.net *.split]
cybrside has quit [*.net *.split]
hakunin has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
sapslaj has quit [*.net *.split]
lsmola has quit [*.net *.split]
apes has quit [*.net *.split]
jinie has quit [*.net *.split]
kfpratt has quit [*.net *.split]
djcp has quit [*.net *.split]
decoponio has quit [*.net *.split]
patrick_star_3 has quit [*.net *.split]
galeido has quit [*.net *.split]
Lildirt has quit [*.net *.split]
jud has quit [*.net *.split]
Amnez777 has quit [*.net *.split]
sami has quit [*.net *.split]
mburns has quit [*.net *.split]
Adam_FrVancouver has quit [*.net *.split]
Canar has quit [*.net *.split]
_ko1 has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
gaf_ has quit [*.net *.split]
valeri_ufo has quit [*.net *.split]
irick has quit [*.net *.split]
Dry_Lips has quit [*.net *.split]
tw1sted has quit [*.net *.split]
reaVer has quit [*.net *.split]
linduxed has quit [*.net *.split]
skakri has quit [*.net *.split]
bitemyapp has quit [*.net *.split]
m4rCsi_ has quit [*.net *.split]
Kim^J has quit [*.net *.split]
valeri_uF0 is now known as valeri_ufo
jinie_ is now known as jinie
perryh is now known as perry
william3 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
ellen_ has quit [Quit: Connection closed for inactivity]
darkf has quit [Read error: Connection reset by peer]
apes has joined #ruby
jzigmund has joined #ruby
michael_mbp has joined #ruby
blaxter has quit [Quit: foo]
william3 has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
zapata has quit [Ping timeout: 260 seconds]
hotpanca_ has joined #ruby
brunto has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
blaxter has joined #ruby
mustmodify_ has joined #ruby
lsmola has joined #ruby
Emmanuel_Chanel has joined #ruby
lxsameer has quit [Quit: WeeChat 1.4]
zapata has joined #ruby
djcp has joined #ruby
Es0teric has joined #ruby
<mustmodify_> String#scan gives me "ArgumentError: invalid byte sequence in UTF-8". Is it likely that the file isn't encoded in UTF-8 but it's being converted / handled by ruby and this one (or these several) characters can't be converted? When I use `chardet file.hl7` I get "windows-1252 (confidence: 0.50)"
Canar has joined #ruby
lema has joined #ruby
Sou|cutter has joined #ruby
coyo has joined #ruby
Adam_FrVancouver has joined #ruby
myntcake has joined #ruby
<apeiros> mustmodify_: ruby does not convert anything unless you tell it to do so.
patrick_star_3 has joined #ruby
<apeiros> ruby does however set the encoding flag to whichever value you provided (either by default, or by explicitly setting it), and some operations require the encoding to be valid.
Devalo has joined #ruby
bmf has joined #ruby
<apeiros> so your solution here is: figure out which encoding it is (i.e. verify that it is indeed windows-1252), then tell ruby that the string's encoding is that. how to do that depends on how you retrieve the string.
linduxed has joined #ruby
workmad3_ is now known as workmad3
<mustmodify_> apeiros: I've done some work with encoding but not a lot... how would I verify the encoding other than to write to the author? (which I am doing now, but they respond with amazing slowness.)
hs366 has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 244 seconds]
<giz|work> mustmodify_: simply try it out? ... string.force_encoding('windows-1252')
<giz|work> then check the üäö :P
<workmad3> mustmodify_: writing to the author is the only properly reliable way
griffindy has joined #ruby
bkxd has joined #ruby
<workmad3> mustmodify_: anything else, you're relying on heuristics and guesses
<mustmodify_> workmad3: that's what I was thinking
<mustmodify_> giz|work: thanks, I'll do that.
flashpoint9 has joined #ruby
<workmad3> especially when you're dealing with encodings that map the extended-ascii set to fit in a single byte, as then you'll find that every possible bit sequence is valid for all those encodings and you have to look at it to figure out if it's correct
Xeago has quit [Remote host closed the connection]
<workmad3> and you may easily find multiple encodings that look 'right' for your sample, and not know which one to use :)
Macaveli has joined #ruby
mustmodify_ is now known as mustmodify
hotpanca_ has quit [Remote host closed the connection]
<apeiros> mustmodify: depends. if it's plaintext - use any editor which lets you state the encoding of the file. check for special characters and whether they fit.
<lema> w/in 6
abyx has joined #ruby
aspiers has joined #ruby
pandaant has quit [Remote host closed the connection]
vbatts|work has left #ruby ["found the other side of the rainbow"]
terlar has joined #ruby
Xeago has joined #ruby
dhinojosa has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
<mustmodify> giz|work: forcing the encoding to what Ubuntu guessed worked. Thanks.
<giz|work> :)
<mustmodify> Windows people are like "Of course everyone would want a windows encoding."
kareeoleez has joined #ruby
pandaant has joined #ruby
dravine has quit [Quit: dravine]
bkxd has quit [Ping timeout: 276 seconds]
IrishGringo has joined #ruby
SilverKey has joined #ruby
<yorickpeterse> If your environment is already messed up using a messed up encoding isn't going to make things much worse
ramortegui has quit [Quit: Ex-Chat]
Xeago has quit [Remote host closed the connection]
krz has joined #ruby
Karix has joined #ruby
Karix has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
tyang has quit [Ping timeout: 240 seconds]
mark2 is now known as mkl
mkl is now known as mark2
mark2 is now known as marktwo
william3 has joined #ruby
skakri` is now known as skakri
pabs has quit [Ping timeout: 248 seconds]
sandelius has joined #ruby
jgt has joined #ruby
Xeago has joined #ruby
openstruct has joined #ruby
juanca_ has quit [Remote host closed the connection]
tyang has joined #ruby
pabs has joined #ruby
Kelzier has quit []
snoobydoo has quit [Ping timeout: 260 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
mat-svol has quit [Remote host closed the connection]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
Xeago has quit [Remote host closed the connection]
hinbody has quit [Ping timeout: 264 seconds]
jhack has joined #ruby
Xeago has joined #ruby
marktwo has left #ruby ["WeeChat 1.5-dev"]
marktwo has joined #ruby
aganov has quit [Remote host closed the connection]
flashpoint9 has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
smatic_1111 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
kadoppe has joined #ruby
jolts has joined #ruby
charliesome has joined #ruby
Xeago has joined #ruby
OTORelic has joined #ruby
KensoDev has quit [Read error: Connection reset by peer]
chouhoulis has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
infra-re_ has joined #ruby
chouhoulis has joined #ruby
hays has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
modin has quit [Ping timeout: 264 seconds]
n008f4g_ has joined #ruby
conta_ has joined #ruby
flashpoint9 has joined #ruby
charliesome has quit [Client Quit]
coyo has quit [Ping timeout: 264 seconds]
infra-red has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
evidex has quit [Ping timeout: 264 seconds]
aeterne has joined #ruby
Guest49991 has quit [Ping timeout: 276 seconds]
smatic_1111 has quit [Ping timeout: 264 seconds]
griffindy has quit [Ping timeout: 264 seconds]
Es0teric has quit [Ping timeout: 264 seconds]
tw1sted_ has quit [Ping timeout: 264 seconds]
Skelz0r_ has quit [Ping timeout: 264 seconds]
jaruga__ has quit [Ping timeout: 264 seconds]
<mustmodify> so ... if I don't to String#force_encoding, what encoding does it assume?
joneshf-laptop has quit [Ping timeout: 244 seconds]
sgambino has quit [Ping timeout: 264 seconds]
<mustmodify> I ask because when I do force_encoding('windows-1252') it works, but it also works when I do force_encoding('utf-8')
crankhar1er has quit [Ping timeout: 244 seconds]
Waqas has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
Skelz0r has joined #ruby
<eam> mustmodify: you can use #encoding to check the encoding. It depends on where your String object comes from
Waqas has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
crankharder has joined #ruby
solocshaw has joined #ruby
Es0teric has joined #ruby
prestorium has joined #ruby
idletask has joined #ruby
snoobydoo has joined #ruby
tw1sted has joined #ruby
<mustmodify> also, falling under the category of "disturbing but also understandable", googling "ruby force-encoding" results in two stack overflow results BEFORE the ruby docs.
joneshf-laptop has joined #ruby
kadoppe has quit [Ping timeout: 260 seconds]
tax has quit [Ping timeout: 276 seconds]
<giz|work> mustmodify: i would look at the bytes of the text you get for umlauts
Devalo has joined #ruby
<giz|work> or just try with some text where encoding matters, and look at the rendering for both encodings... one is broken, one is correct :)
nuck has joined #ruby
GG is now known as TheGreatGudsby
<giz|work> this reminds me of a project where two different encodings were used in one mysql table!
LoneHermit has joined #ruby
nuck is now known as Guest32186
jottr has joined #ruby
Xeago has quit [Remote host closed the connection]
Chagel has quit [Ping timeout: 260 seconds]
william3 has quit [Ping timeout: 260 seconds]
proreptilian has joined #ruby
<mustmodify> giz|work: unfortunate
snoobydoo has quit [Ping timeout: 244 seconds]
SilverKey has joined #ruby
hinbody has joined #ruby
bronson has joined #ruby
william3 has joined #ruby
synthroid has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 268 seconds]
agentmeerkat has joined #ruby
coyo has joined #ruby
smathy has joined #ruby
Xeago has joined #ruby
conta_ has quit [Ping timeout: 250 seconds]
aeterne has quit [Read error: Connection reset by peer]
smatic_1111 has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
machinewar has joined #ruby
ekinmur has joined #ruby
<machinewar> does anyone recognize this encoding by any chance 1xO0a
mdih has quit [Ping timeout: 244 seconds]
Waqas has quit [Ping timeout: 250 seconds]
rubie has joined #ruby
marktwo has quit [Quit: WeeChat 1.5-dev]
Waqas has joined #ruby
Xeago has joined #ruby
smatic_1111 has quit [Client Quit]
marktwo has joined #ruby
aeterne has joined #ruby
null__ has quit [Quit: ZNC - http://znc.in]
<smathy> machinewar, one "x" "o" zero "a" ? You sure?
null__ has joined #ruby
aegis3121 has joined #ruby
nfk|laptop has quit [Quit: yawn]
marktwo has quit [Client Quit]
<machinewar> smathy: "1xo0a" yes
<machinewar> saw it as url parameter in log
anisha has quit [Ping timeout: 252 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> ascii
<smathy> 0a is obviously familiar, but nothing else makes sense as an encoding.
<machinewar> apeiros: lol if its ascii then its just garbage lol
<apeiros> machinewar: probably
<machinewar> smathy: yea im stumped not quite sure what it could be
<apeiros> but it is just ascii.
snoobydoo has joined #ruby
<apeiros> it's no utf-8 sequence, as those are >0x7f, it's not utf-16 or -32 as those would have an even number of bytes (you have 5)
<machinewar> apeiros: I know its ascii I don't care about how its encoded in memory, but curious if its been base64 encoded, url-encoded etc
<apeiros> it's not base64, it's not url-encoded
<machinewar> apeiros: correct, thats why im trying to figure out what it could be
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
stannard has quit [Remote host closed the connection]
<smathy> machinewar, there's no "o" in any encoding, maybe just some mime.
marktwo has joined #ruby
<machinewar> smathy: okay thanks!
gregf has quit [Quit: WeeChat 1.4]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
stannard has joined #ruby
null__ has quit [Quit: ZNC - http://znc.in]
Xeago has joined #ruby
marktwo has quit [Client Quit]
william3 has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 276 seconds]
rodfersou is now known as rodfersou|lunch
<IceDragon> well, rubydoc.info is broken again fml :(
<smathy> IceDragon, seems to wfm
<IceDragon> try refreshing this for me then
<IceDragon> ^_^ pls, I'll give you cookies (ruby ones)
<smathy> Oh, _that_ sort of broken.
<IceDragon> yep
<IceDragon> smathy.inventory << Cookie.new
<smathy> :)
<smathy> I tried.
aeterne has quit [Read error: Connection reset by peer]
stannard has quit [Read error: Connection reset by peer]
marktwo has joined #ruby
astrobunny has joined #ruby
marktwo has quit [Client Quit]
sgambino has joined #ruby
Xeago has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
aeterne has joined #ruby
<IceDragon> looks like it refreshed properly
hogetaro has quit [Quit: Leaving...]
null__ has joined #ruby
william3 has joined #ruby
weemsledeux has joined #ruby
ljames has joined #ruby
x77686d has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<smathy> Cool, humpday looking up.
Trynemjoel has joined #ruby
fedexo has quit [Ping timeout: 268 seconds]
gregf has joined #ruby
stannard has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
e-r-a has left #ruby [#ruby]
Couch has quit [Ping timeout: 248 seconds]
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
CausaMortis has quit [Ping timeout: 244 seconds]
shredding has joined #ruby
qwikturn has joined #ruby
baweaver has joined #ruby
<qwikturn> I am trying to convert this PHP function to ruby: http://pastebin.com/CYmEfxrk Any suggestions on how to complete the bitwise xor swap
<ruby[bot]> qwikturn: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/6f2bc815e93f54d31257b5bf4a478c01
<ruby[bot]> qwikturn: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
ferr has quit [Quit: WeeChat 1.4]
brunto has quit [Quit: leaving]
TheGreatGudsby is now known as habibi
mat-svol has joined #ruby
ekinmur has joined #ruby
* havenwood qwikturn: Are you looking for the bitwise xor operator?: http://ruby-doc.org/core/Fixnum.html#method-i-5E
marktwo has joined #ruby
User458764 has joined #ruby
<qwikturn> haverwood: I am trying to do it on a string
ekinmur has quit [Client Quit]
ereslibre_laptop has quit [Quit: No Ping reply in 180 seconds.]
<havenwood> qwikturn: Have example input and expected output?
marktwo has quit [Client Quit]
baweaver has quit [Ping timeout: 250 seconds]
ekinmur has joined #ruby
<Ox0dea> &ri String#bytes qwikturn
FooMunki has quit [Quit: FooMunki]
ogpastaling has joined #ruby
ogpastaling has quit [Client Quit]
ekinmur has quit [Client Quit]
SCHAAP137 has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
mat-svol has quit [Ping timeout: 240 seconds]
william3 has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
dopieee has joined #ruby
marktwo has joined #ruby
ereslibre has joined #ruby
ereslibre has joined #ruby
lema has quit [Ping timeout: 260 seconds]
hotpancakes has quit []
dopie has quit [Ping timeout: 250 seconds]
nobitanobi has joined #ruby
<havenwood> >> 'qwikturn'.bytes.map { |byte| byte | 7 }.map(&:chr).join
<ruby[bot]> havenwood: # => "wwoowwwo" (https://eval.in/552783)
lxsameer has joined #ruby
madgen_ has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
_stu__ has joined #ruby
cdg_ has joined #ruby
infra-red has joined #ruby
<havenwood> mmhmm <3 Ruby
minot has joined #ruby
marktwo has quit [Client Quit]
<lxsameer> hi, does YARV instructions load in the same memory address each time YARV run a script ?
kfpratt has joined #ruby
aspiers has joined #ruby
mark3 has quit [Remote host closed the connection]
ChiefAlexander_ has joined #ruby
<Ox0dea> Of course not.
marktwo has joined #ruby
Es0teric has quit [Ping timeout: 250 seconds]
tuelz1 has joined #ruby
<tuelz1> I guess hash_obj.select { |k,v| [1, 2].includes?(k) } might be most concise?
crdpink has joined #ruby
<lxsameer> Ox0dea, hmm so what does numbers in the byte code point to ?
<Ox0dea> lxsameer: Which numbers?
<lxsameer> Ox0dea, bytecode
<Ox0dea> This guy.
tw1sted has quit [Ping timeout: 250 seconds]
Antiarc_ has joined #ruby
jinie has quit [Ping timeout: 250 seconds]
joseph has quit [Ping timeout: 250 seconds]
Gnubie__ has quit [Ping timeout: 250 seconds]
<lxsameer> Ox0dea, also ruby uses pages on kernel Virtual Memory right, so it can be possible to load instruction in same the address
Es0teric has joined #ruby
iamvery_ has joined #ruby
shadeslayer_ has joined #ruby
minot is now known as kkus
Gnubie_ has joined #ruby
daemonwrangler_ has joined #ruby
c355e3b_ has joined #ruby
kkus is now known as newjersey
astrobunny has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
<Ox0dea> lxsameer: Non-immediate values (anything not a Fixnum or a Symbol) are heap-allocated, and you're hard-pressed to predict the addresses returned to you by any allocator in widespread use.
newjersey has quit [Remote host closed the connection]
unreal_ has joined #ruby
mat-svol has joined #ruby
andersh_ has joined #ruby
joseph has joined #ruby
newjersey has joined #ruby
tw1sted has joined #ruby
jinie has joined #ruby
<lxsameer> Ox0dea, hmm, I didn't mean that, tell me this, what is ruby byte code?
<havenwood> >> RubyVM::InstructionSequence.compile('42').to_binary
<ruby[bot]> havenwood: # => "YARB\x02\x00\x00\x00\x03\x00\x00\x00/\x01\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x ...check link for more (https://eval.in/552796)
mustmodify has left #ruby [#ruby]
<Ox0dea> lxsameer: Not my department.
sauvin has quit [Ping timeout: 250 seconds]
Kim^J has joined #ruby
marktwo has quit [Quit: WeeChat 1.5-dev]
<lxsameer> Ox0dea, thanks for your time man, always helpful to talk to you
fmcgeough has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
<lxsameer> havenwood, ok , so byte code == YARV instructions in binary format right ?
null___ has joined #ruby
kenichi_ has joined #ruby
Phanes- has joined #ruby
znz_jp0 has joined #ruby
<eam> Ox0dea: actually assuming no aslr or similar things, a program generally should repeat memory locations
pjaspers_ has joined #ruby
agent_white has joined #ruby
OTORelic has quit [Quit: WeeChat 1.4]
<havenwood> lxsameer: Sec, there was a talk at the last RubyConf I'll find for you.
<Ox0dea> >> RubyVM.__id__
<ruby[bot]> Ox0dea: # => 540959400 (https://eval.in/552797)
<Ox0dea> >> RubyVM.__id__
<ruby[bot]> Ox0dea: # => 550879910 (https://eval.in/552798)
<Ox0dea> >> RubyVM.__id__
<ruby[bot]> Ox0dea: # => 551592610 (https://eval.in/552799)
<Ox0dea> Maybe this time.
<Ox0dea> Maybe this time.
<havenwood> :)
<lxsameer> havenwood, i saw that already
aspiers has quit [Ping timeout: 252 seconds]
<Ox0dea> Depr.
codecop has joined #ruby
<eam> Ox0dea: "assuming no aslr"
OTORelic has joined #ruby
<eam> that's almost certainly running on a system with it
<Ox0dea> eam: Is that a reasonable assumption to make in 2016?
null__ has quit [*.net *.split]
joneshf-laptop has quit [*.net *.split]
prestorium has quit [*.net *.split]
infra-re_ has quit [*.net *.split]
bmf has quit [*.net *.split]
Adam_FrVancouver has quit [*.net *.split]
braidn_ has quit [*.net *.split]
cdg has quit [*.net *.split]
_kfpratt has quit [*.net *.split]
reaVer_ has quit [*.net *.split]
Kim^J_ has quit [*.net *.split]
ChiefAlexander has quit [*.net *.split]
madgen has quit [*.net *.split]
jdawgaz has quit [*.net *.split]
_stu_ has quit [*.net *.split]
hanmac has quit [*.net *.split]
jwang has quit [*.net *.split]
majoh has quit [*.net *.split]
programmerq has quit [*.net *.split]
AlexJakeGreen has quit [*.net *.split]
pjaspers has quit [*.net *.split]
unreal has quit [*.net *.split]
Antiarc has quit [*.net *.split]
daemonwrangler has quit [*.net *.split]
andersh has quit [*.net *.split]
alxgsv has quit [*.net *.split]
tpendragon has quit [*.net *.split]
whiteline has quit [*.net *.split]
crdpink2 has quit [*.net *.split]
jaiks has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
timmyBsd has quit [*.net *.split]
ctrlrsf has quit [*.net *.split]
kenichi has quit [*.net *.split]
iamvery has quit [*.net *.split]
Phanes has quit [*.net *.split]
znz_jp has quit [*.net *.split]
c355e3b has quit [*.net *.split]
ddv has quit [*.net *.split]
null___ is now known as null__
_stu__ is now known as _stu_
<agent_white> Mornin'
<eam> depends on the cpu architecture and operating system
<lxsameer> eam, what is aslr
<havenwood> lxsameer: "Note that the translated binary data is not portable. You can not move this binary data to another machine. You can not use the binary data which is created by another version/another architecture of Ruby."
fmcgeough has joined #ruby
<eam> lxsameer: address space layout randomization - intentionally shuffling around memory addresses
Devalo has quit [Remote host closed the connection]
g3funk has joined #ruby
<eam> the system under ruby does this
daemonwrangler_ is now known as daemonwrangler
<Ox0dea> "Tell me and I forget. Teach me and I remember. Involve me and I learn."
tpendragon has joined #ruby
<eam> but you can turn it off if you want deterministic behavior
<lxsameer> havenwood, I see, As far as i know, the byte code contains some pointers to memory addresses , right?
andersh_ is now known as andersh
<havenwood> lxsameer: The latest Rubies have added some nice methods for exploring: http://ruby-doc.org/core/RubyVM/InstructionSequence.html
<lxsameer> eam, aha, linux uses it i assum
c355e3b_ is now known as c355e3b
JakFrist has joined #ruby
alxgsv has joined #ruby
<havenwood> >> RubyVM::InstructionSequence.compile('42').disassemble
<ruby[bot]> havenwood: # => "== disasm: #<ISeq:<compiled>@<compiled>>================================\n0000 trace 1 ...check link for more (https://eval.in/552800)
<havenwood> lxsameer: The non-binary version is easier to read ^.
<eam> lxsameer: commonly, yes. but sometimes it causes performance or other issues and is disabled
shredding has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
<lxsameer> havenwood, yeah ofcourse , but I'm really confused with binary version
<havenwood> lxsameer: try puts'ing it ^
<eam> I worked on a distributed system once which had a cluster RPC system comprised of firing function pointers out to peer nodes via udp broadcast
<eam> it depended on deterministic load addresses across several hundred peer nodes
n008f4g_ has quit [Ping timeout: 252 seconds]
william3 has quit [Ping timeout: 260 seconds]
<havenwood> lxsameer: What are you finding confusing about it?
<havenwood> lxsameer: Just not being able to parse it?
<eam> needless to say, aslr was disabled in that environment
marktwo has joined #ruby
<havenwood> lxsameer: #load_from_binary is good at parsing it :P
<havenwood> Or rather loading an iseq object from it.
<lxsameer> havenwood, no, I'm trying to cache bytecodes, but I can't understand the difference between YARV instructions and bytecode
<havenwood> lxsameer: YARV bytecode?
jwang has joined #ruby
joneshf-laptop has joined #ruby
<lxsameer> havenwood, YARV instructions vs bytecode
whiteline has joined #ruby
prestorium has joined #ruby
Adam_FrVancouver has joined #ruby
Devalo has joined #ruby
aspiers has joined #ruby
bmf has joined #ruby
timmyBsd has joined #ruby
hanmac has joined #ruby
majoh has joined #ruby
<havenwood> >> RubyVM::InstructionSequence.compile('42').to_a.last
<ruby[bot]> havenwood: # => [1, [:trace, 1], [:putobject, 42], [:leave]] (https://eval.in/552802)
jaiks has joined #ruby
nando293921 has joined #ruby
Jonah11_ has joined #ruby
<havenwood> lxsameer: ^ is that the bytecode you're looking for?
<lxsameer> havenwood, ok it's yarv instructions for '42' i meant the last instruction
stannard has quit [Remote host closed the connection]
programmerq has joined #ruby
sauvin has joined #ruby
philip__ has joined #ruby
reaVer has joined #ruby
<havenwood> lxsameer: I don't follow.
[Butch] has joined #ruby
elifoster has joined #ruby
stannard has joined #ruby
<lxsameer> havenwood, ok let me put it this way
stannard has quit [Remote host closed the connection]
<havenwood> lxsameer: That ^ is YARV bytecode in the sense that it's "[a]n array of arrays containing the instruction names and operands that make up the body of the instruction sequence."
<lxsameer> havenwood, as far as i know that output is called YARV instructions sequence and not the byte code
<lxsameer> havenwood, byte code is a sequence of numbers ( memory pointers ) .
agentmeerkat has quit [Ping timeout: 260 seconds]
<philip__> Hi! I'm attempting to parse a marshal.dump file into an external app (written in a different language), and am struggling. Is there a simple way to convert marshal.dump into a friendlier format like JSON? I don't speak Ruby.
modin has joined #ruby
<havenwood> lxsameer: These are not the bytecodes you're looking for.
* havenwood waves hand
<apeiros> philip__: depends. if all datatypes it contains are representable by json, then yes
<apeiros> otherwise: no
<lxsameer> havenwood, hmmmmm thanks man
waxxy_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kenichi_ is now known as kenichi
SilverKey has quit [Remote host closed the connection]
<apeiros> philip__: File.write(json_path, Marshal.load(File.read(marshal_path)).to_json) would do in case of simple data
hogetaro has joined #ruby
<philip__> oooh, thanks apeiros i'll start the journey here
<havenwood> lxsameer: What I showed you is what the docs call YARV bytecode, the bytecode part of the instruction sequence. Using to_binary you can see a serialized instruction sequence.
agentmeerkat has joined #ruby
Devalo has quit [Remote host closed the connection]
<havenwood> lxsameer: The fourteenth, and last part of a to_a'd instruction sequence is the bytecode.
careta has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
<careta> hey ruby gods
terlar has quit [Ping timeout: 252 seconds]
<lxsameer> havenwood, good info , thanks man
SilverKey has joined #ruby
eshea has joined #ruby
<havenwood> lxsameer: you're welcome
benlieb has joined #ruby
<careta> I have a hex string ('deadbabe') that I need to convert into an array to perform calculations - like for example xor each 'de' with a number, then xor 'ad' with another number
amclain has joined #ruby
<careta> I've been running around in circles on how to do this - something to do with pack and unpack?
<apeiros> careta: an array of what?
william3 has joined #ruby
<apeiros> chars?
<havenwood> >> 'deadbabe'.bytes.each_cons(2).to_a
<ruby[bot]> havenwood: # => [[100, 101], [101, 97], [97, 100], [100, 98], [98, 97], [97, 98], [98, 101]] (https://eval.in/552806)
conta_ has joined #ruby
<careta> apeiros, actually that was a bad example - it's an array of hex characters such as 1C57EF79
<apeiros> that actually made things even more confusing
shinnya has joined #ruby
Takumo is now known as Takumo__
<apeiros> "hex characters such as 1C57EF79" - 1C57EF79 is not a character
Takumo__ is now known as Takumo__________
SilverKey has quit [Client Quit]
<careta> each two bytes of that represents a hex number
<careta> I need to iterate through each two bytes, and xor it with another number
<havenwood> >> '1C57EF79'.each_char.each_cons(2).map { |pair| pair.join.to_i(16) ^ 42 }
<ruby[bot]> havenwood: # => [54, 239, 125, 84, 197, 221, 83] (https://eval.in/552811)
william3 has quit [Read error: Connection reset by peer]
<apeiros> havenwood: you want each_slice, no?
<havenwood> apeiros: haha
<havenwood> apeiros: yes...
* havenwood goes in search of coffee
<careta> havenwood, seems good!
<careta> why the ^ 42 at the end?
null__ has quit [Quit: ZNC - http://znc.in]
<havenwood> careta: ^ pay heed to what apeiros said... I wasn't thinking clearly!
flashpoint9 has quit [Remote host closed the connection]
_stu_ has quit [Quit: _stu_]
<havenwood> careta: That an xor of 42, cause you said!
Takumo__________ is now known as ____Takumo____
william3 has joined #ruby
<careta> ah ok the 42 is just an example right?
aspiers_ has joined #ruby
<havenwood> careta: You must xor by 42, it is our way.
<havenwood> There can be no other number!
____Takumo____ is now known as Takumo
<havenwood> careta: Yeah, any number will do. But some are better than other!
infra-red has quit [Remote host closed the connection]
<careta> not my fault, it's a retarded algo that I have to implement in ruby
mrgrieves has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
crameth has joined #ruby
<careta> let me have a look at each_slice then
aspiers has quit [Ping timeout: 260 seconds]
baweaver has joined #ruby
<smathy> ^ raises an exception for any other arg.
giz|work has quit [Ping timeout: 248 seconds]
senayar has quit []
flashpoint9 has joined #ruby
null__ has joined #ruby
ekinmur has joined #ruby
<Ox0dea> >> ['636172657461'].pack 'H*'
<ruby[bot]> Ox0dea: # => "careta" (https://eval.in/552821)
czerasz has quit [Ping timeout: 240 seconds]
Devalo has quit [Remote host closed the connection]
finisherr has quit [Quit: finisherr]
aegis3121 has quit [Ping timeout: 276 seconds]
marktwo has quit [Quit: WeeChat 1.5-dev]
DoubleMalt has quit [Remote host closed the connection]
aspiers_ has quit [Ping timeout: 244 seconds]
goodroot has joined #ruby
machinewar has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 276 seconds]
shadeslayer_ is now known as shadeslayer
kareeoleez has quit [Remote host closed the connection]
tyang has quit [Ping timeout: 252 seconds]
minimalism has joined #ruby
Aviio has joined #ruby
sandelius has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
sandelius has quit [Client Quit]
chouhoulis has joined #ruby
william3 has joined #ruby
newjersey has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 244 seconds]
skweek has joined #ruby
nanoz has joined #ruby
conta_ has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
null__ has quit [Quit: ZNC - http://znc.in]
null__ has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
marktwo has joined #ruby
diegoaguilar has joined #ruby
nando293921 has quit [Ping timeout: 252 seconds]
SnowyLAD_ has quit [Quit: ragequit]
aufi_ has quit [Ping timeout: 260 seconds]
william3 has quit [Remote host closed the connection]
finisherr has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
AndyBotwin has joined #ruby
Neksch has joined #ruby
william3 has joined #ruby
wldcordeiro has quit [Ping timeout: 248 seconds]
mikecmpb_ has quit [Ping timeout: 252 seconds]
Zarthus_ is now known as Zarthus
ctrlrsf has joined #ruby
rcvalle has joined #ruby
ddv has joined #ruby
tildes_ has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
CoderPuppy has joined #ruby
Neksch has quit [Ping timeout: 250 seconds]
conta_ has joined #ruby
marktwo is now known as mkl
william3 has quit [Ping timeout: 264 seconds]
cpup has quit [Ping timeout: 260 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
<rclsilver> hello, i defined git sources in a Gemfile.local. target repositories contains .gemspec file. in this case, is there a way to override the version from the .gemspec in my Gemfile.local ?
tildes_ has quit [Remote host closed the connection]
<rclsilver> i want to use some gem from foreman and katello for a plugin for hammer. to goal is to deploy it at work to to manage satellite (a redhat product). in this case, redhat takes community project and modify original version (ie: community version 0.0.7, rh version 0.0.7.13)
mat-svol has quit [Remote host closed the connection]
<rclsilver> then i want to pick community version in a dev env, and i would like this version (0.0.7) be resolved to 0.0.7.13
<rclsilver> i have to following line in my Gemfile.local: gem 'hammer_cli', '0.1.4.13', :git => 'https://github.com/theforeman/hammer-cli.git', :tag => '0.1.4
<rclsilver> but when i execute bundle install, the version is not found
edwinvdgraaf has quit [Ping timeout: 276 seconds]
jpfuentes2 has joined #ruby
openstruct has quit []
skislak has quit [Ping timeout: 248 seconds]
Cohedrin has joined #ruby
shinnya has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
conta_ has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
tuelz1 has quit [Ping timeout: 248 seconds]
joseph has quit [Remote host closed the connection]
gasm has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
banister has joined #ruby
Gasher has joined #ruby
infra-red has joined #ruby
<gasm> is there a designated rails channel?
<gasm> #rails sends me to ##namespace
<Ox0dea> ?ror gasm
<ruby[bot]> gasm: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<gasm> thanks
diegoaguilar has quit [Remote host closed the connection]
_stu_ has joined #ruby
_stu_ has left #ruby [#ruby]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gasm> thanks Ox
mat-svol has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
SilverKey has quit [Quit: Halted.]
agentmeerkat has joined #ruby
Macaveli has joined #ruby
aegis3121 has joined #ruby
nando293921 has joined #ruby
Macaveli has quit [Client Quit]
Suntzu has joined #ruby
dcunit3d has joined #ruby
rodfersou|lunch is now known as rodfersou
tribals has joined #ruby
<tribals> hi folks
SCHAAP137 has joined #ruby
djbkd has joined #ruby
infra-red has quit []
dionysus69 has joined #ruby
agentmeerkat has quit [Ping timeout: 276 seconds]
aspiers_ has joined #ruby
nodejunkie has joined #ruby
Es0teric has joined #ruby
agentmeerkat has joined #ruby
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
skweek has joined #ruby
sepp2k has quit [Quit: Leaving.]
wldcordeiro has joined #ruby
bitemyap1 is now known as bitemyapp
mikecmpbll has joined #ruby
n008f4g_ has joined #ruby
<tribals> how to avoid ugly `#map`'s such as in https://gist.github.com/tribals/55c85c41d41caa266ab6a27aa5eb0421 ?
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
<tribals> feel free to comment this gist
aspiers_ has quit [Ping timeout: 244 seconds]
tubuliferous_ has joined #ruby
stannard has joined #ruby
devbug has joined #ruby
djbkd has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
djbkd has joined #ruby
<smathy> tribals, referring to the hash that you're populating annoys you?
gooodroot has joined #ruby
stannard has joined #ruby
myntcake has quit [Ping timeout: 240 seconds]
<tribals> no, typing `hash` multiple times annoy me, i'm sure there is more elegant approach to do that
lacrosse has joined #ruby
babblebre has joined #ruby
tyang has joined #ruby
Devalo has joined #ruby
maxim__ has quit [Quit: Konversation terminated!]
careta has quit [Ping timeout: 276 seconds]
goodroot has quit [Ping timeout: 276 seconds]
djbkd has quit [Read error: Connection reset by peer]
merida has joined #ruby
djbkd has joined #ruby
tomchapin has joined #ruby
<smathy> tribals, umm, call it h instead?
Gasher^ has joined #ruby
nanoz has quit [Quit: <3]
<smathy> tribals, if your map is really as simple as you show you could just put it in a literal hash.
djbkd has quit [Remote host closed the connection]
stannard has quit [Read error: Connection reset by peer]
<tribals> smathy: it is simple, but i think putting such a long line into literal is bad
devbug has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
<smathy> ...so break it over multiple lines.
Gasher has quit [Ping timeout: 248 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smathy> Added as a comment to your gist.
anisha has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.4-dev]
spider-mario has joined #ruby
chouhoulis has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
careta has joined #ruby
<philip__> apeiros: thanks again for the marshal->json example, it's all working great! :)
hk238 has joined #ruby
aspiers_ has joined #ruby
PedramT has joined #ruby
poguez_ has joined #ruby
binaryplease has quit [Read error: Connection reset by peer]
binaryplease1 has joined #ruby
myntcake has joined #ruby
edwinvdgraaf has joined #ruby
tuelz1 has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby
davedev24 has joined #ruby
tubuliferous_ has quit [Ping timeout: 244 seconds]
Jonah11_ has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
MagePsycho_ has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
charper2 has joined #ruby
wilbert has joined #ruby
philip__ has left #ruby ["Textual IRC Client: www.textualapp.com"]
csharper has quit [Ping timeout: 276 seconds]
binaryplease1 is now known as binaryplease
Jonah11_ has quit [Ping timeout: 244 seconds]
stannard has joined #ruby
aegis3121 has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
dcunit3d has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
dcunit3d has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
SilverKey has quit [Client Quit]
Renich has joined #ruby
crameth has quit [Quit: crameth]
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
bronson has joined #ruby
n008f4g_ has joined #ruby
blandflakes has joined #ruby
baweaver has joined #ruby
Rasi has quit [Quit: WeeChat 1.4]
Rasi has joined #ruby
phaza has quit [Ping timeout: 260 seconds]
gasm has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
mkl has quit [Quit: WeeChat 1.5-dev]
bronson has quit [Ping timeout: 252 seconds]
JakFrist has joined #ruby
SCHAAP137 has joined #ruby
diegoaguilar has joined #ruby
gasm has joined #ruby
toretore has quit [Ping timeout: 248 seconds]
boboc has joined #ruby
giz|work has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
<n1colas> Hello
eshea_ has joined #ruby
eshea has quit [Ping timeout: 240 seconds]
<havenwood> n1colas: hi
elaptics is now known as elaptics`away
<zacts> hi
<n1colas> Hi havenwood
<n1colas> & zacts
marktwo has joined #ruby
raeoks has joined #ruby
marr has quit [Ping timeout: 240 seconds]
tuelz1 has quit [Ping timeout: 248 seconds]
frem has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
naftilos76 has joined #ruby
phredus has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
ctarx has joined #ruby
edwinvdgraaf has joined #ruby
M-Kodo has quit [Remote host closed the connection]
M-mistake has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
wilbert has quit [Ping timeout: 250 seconds]
vasilakisfil__ has quit [Quit: Konversation terminated!]
unreal_ is now known as unreal
IrishGringo has quit [Ping timeout: 250 seconds]
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
sauvin has quit [Remote host closed the connection]
ramfjord has joined #ruby
vdamewood has quit [Quit: Life beckons.]
cdg_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
tuelz1 has joined #ruby
gevans has joined #ruby
<jtd> so I have someone logging into something with Devise LDAP with an email string. I'd like to chomp the login so that instead of "bob@thing.com" Devise just gets "bob" so I can use the sAMAccountName LDAP attribute. what's the easiest way to do this?
anisha has quit [Quit: Leaving]
<apeiros> ?rails jtd
<ruby[bot]> jtd: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<apeiros> probably the better channel wrt devise
<jtd> ah. thanks, I asked this last night but no one mentioned that channel!
merida has quit [Remote host closed the connection]
barajasfab has joined #ruby
merida has joined #ruby
baweaver has joined #ruby
shadoi has joined #ruby
Nawn has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
idletask has quit [Remote host closed the connection]
lemur has joined #ruby
ur5us has joined #ruby
johnny56 has joined #ruby
LoneHerm_ has joined #ruby
Eleeleth has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 240 seconds]
pwnd_nsfw has joined #ruby
snoobydoo has quit [Ping timeout: 244 seconds]
Rutix has quit []
M-shine has joined #ruby
naftilos76 has quit [Remote host closed the connection]
[Butch] has quit [Read error: Connection reset by peer]
madgen_ has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
snoobydoo has joined #ruby
vF3hNGxc47h8 has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
LoneHerm_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jt__ has joined #ruby
hoov has joined #ruby
dopamean_ has joined #ruby
lemur has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
symm- has joined #ruby
[Butch] has joined #ruby
dcunit3d has quit [Read error: Connection reset by peer]
jgt1 has joined #ruby
dcunit3d has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
careta has quit [Ping timeout: 250 seconds]
jgt has quit [Ping timeout: 244 seconds]
goooodroot has joined #ruby
jpfuentes2 has joined #ruby
M-Kodo has joined #ruby
pabs has quit [Ping timeout: 276 seconds]
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
gooodroot has quit [Ping timeout: 248 seconds]
dopie has joined #ruby
ctarx_ has joined #ruby
mozzarel1 has joined #ruby
Milos|Work has joined #ruby
arlek__ has joined #ruby
Aviio_ has joined #ruby
PaulCape_ has joined #ruby
ChiefAlexander has joined #ruby
tercenya_ has joined #ruby
rbennace_ has joined #ruby
maletor has joined #ruby
Jonah11_ has joined #ruby
hs367 has joined #ruby
MagePsycho_ has quit [Ping timeout: 252 seconds]
constantinexvi has quit [Ping timeout: 252 seconds]
oz` has joined #ruby
jenrzzz_ has joined #ruby
troter_________ has quit [Ping timeout: 252 seconds]
nullwarp has quit [Ping timeout: 252 seconds]
SHyx0rmZ has quit [Ping timeout: 252 seconds]
Paradox has quit [Ping timeout: 252 seconds]
danzilio has quit [Ping timeout: 252 seconds]
GG has joined #ruby
mat-svol_ has joined #ruby
phredus has quit [Read error: Connection reset by peer]
Aviio has quit [Ping timeout: 252 seconds]
coyo has quit [Ping timeout: 252 seconds]
jzigmund has quit [Ping timeout: 252 seconds]
smoose has quit [Ping timeout: 252 seconds]
torandu_ has quit [Ping timeout: 252 seconds]
_ht has quit [Ping timeout: 252 seconds]
mozzarella has quit [Ping timeout: 252 seconds]
Kharma has quit [Ping timeout: 252 seconds]
spacemud has quit [Ping timeout: 252 seconds]
wlanboy has quit [Ping timeout: 252 seconds]
sarlalian has quit [Ping timeout: 252 seconds]
rtl has quit [Ping timeout: 252 seconds]
nug has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
daytime is now known as equinox
ctarx has quit [Ping timeout: 252 seconds]
raeoks has quit [Ping timeout: 252 seconds]
mat-svol has quit [Ping timeout: 252 seconds]
ChiefAlexander_ has quit [Ping timeout: 252 seconds]
dopieee has quit [Ping timeout: 252 seconds]
qwikturn has quit [Ping timeout: 252 seconds]
rubie has quit [Ping timeout: 252 seconds]
crankharder has quit [Ping timeout: 252 seconds]
dhinojosa has quit [Ping timeout: 252 seconds]
lsmola has quit [Ping timeout: 252 seconds]
croberts has quit [Ping timeout: 252 seconds]
vircung has quit [Ping timeout: 252 seconds]
pleiosaur has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Ping timeout: 252 seconds]
sphex has quit [Ping timeout: 252 seconds]
mosez has quit [Ping timeout: 252 seconds]
bahar has quit [Ping timeout: 252 seconds]
LiquidInsect has quit [Ping timeout: 252 seconds]
Elysia has quit [Ping timeout: 252 seconds]
funnel has quit [Ping timeout: 252 seconds]
Chunlea has quit [Ping timeout: 252 seconds]
oz has quit [Ping timeout: 252 seconds]
tercenya has quit [Ping timeout: 252 seconds]
edwardly has quit [Ping timeout: 252 seconds]
xsdg_ has quit [Ping timeout: 252 seconds]
fragtastic has quit [Ping timeout: 252 seconds]
hyperdrive has quit [Ping timeout: 252 seconds]
priodev has quit [Ping timeout: 252 seconds]
a1fa has quit [Ping timeout: 252 seconds]
Silex has quit [Ping timeout: 252 seconds]
klaas has quit [Ping timeout: 252 seconds]
madhatter has quit [Ping timeout: 252 seconds]
joast has quit [Ping timeout: 252 seconds]
yonatankoren has quit [Ping timeout: 252 seconds]
oz` is now known as oz
pabs has joined #ruby
_jolts has joined #ruby
_jolts has quit [Max SendQ exceeded]
ctarx_ has quit [Client Quit]
diegoviola has joined #ruby
a1fa has joined #ruby
kareeoleez has quit [Ping timeout: 252 seconds]
whiteline has quit [Ping timeout: 252 seconds]
jolts has quit [Ping timeout: 252 seconds]
hs366 has quit [Ping timeout: 252 seconds]
apes has quit [Ping timeout: 252 seconds]
habibi has quit [Ping timeout: 252 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
kent\n has quit [Ping timeout: 252 seconds]
arlek_ has quit [Ping timeout: 252 seconds]
mprelude has quit [Ping timeout: 252 seconds]
al2o3-cr has quit [Ping timeout: 252 seconds]
araujo has quit [Ping timeout: 252 seconds]
j2k has quit [Ping timeout: 252 seconds]
Synthead has quit [Ping timeout: 252 seconds]
lagweezle has quit [Ping timeout: 252 seconds]
beagles has quit [Ping timeout: 252 seconds]
danjack has quit [Ping timeout: 252 seconds]
montyboy has quit [Ping timeout: 252 seconds]
shortdudey123 has quit [Ping timeout: 252 seconds]
croberts has joined #ruby
kentnl has joined #ruby
kentnl has quit [Changing host]
kentnl has joined #ruby
smoose has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
ctarx has joined #ruby
merida has quit [Remote host closed the connection]
MagePsycho_ has joined #ruby
_ht has joined #ruby
rtl has joined #ruby
torandu has joined #ruby
madhatter has joined #ruby
xsdg has joined #ruby
mosez has joined #ruby
dhinojosa has joined #ruby
LiquidInsect has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
pleiosaur has joined #ruby
postmodern has joined #ruby
madhatter is now known as Guest48122
crankharder has joined #ruby
danjack has joined #ruby
careta has joined #ruby
apes has joined #ruby
lagweezle has joined #ruby
danzilio has joined #ruby
Jonah11_ has quit [Ping timeout: 244 seconds]
jmcc________ has quit [Remote host closed the connection]
podman has quit [Remote host closed the connection]
bestie has quit [Remote host closed the connection]
poguez_ has quit [Remote host closed the connection]
apipkin_ has quit [Remote host closed the connection]
daxroc has quit [Remote host closed the connection]
meinside has quit [Remote host closed the connection]
frode15243 has quit [Remote host closed the connection]
ggherdov has quit [Remote host closed the connection]
jlyndon has quit [Remote host closed the connection]
HashNuke_ has quit [Remote host closed the connection]
S01780 has quit [Remote host closed the connection]
jxf has quit [Remote host closed the connection]
zipkid has quit [Remote host closed the connection]
jevs has quit [Remote host closed the connection]
kireevco has quit [Remote host closed the connection]
cardoni has quit [Remote host closed the connection]
shwouchkster has quit [Remote host closed the connection]
jord has quit [Remote host closed the connection]
c355e3b has quit [Remote host closed the connection]
bttf has quit [Remote host closed the connection]
thesheff17 has quit [Read error: Connection reset by peer]
cbetta has quit [Remote host closed the connection]
boxrick1 has quit [Remote host closed the connection]
mjc_ has quit [Read error: Connection reset by peer]
troter_________ has joined #ruby
sphex has joined #ruby
sarlalian has joined #ruby
ellistaa has joined #ruby
ellistaa has left #ruby [#ruby]
podman has joined #ruby
jolts has joined #ruby
Paradox has joined #ruby
jolts has quit [Max SendQ exceeded]
klaas has joined #ruby
j2k has joined #ruby
Guest48122 has quit [Client Quit]
constantinexvi has joined #ruby
shortdudey123 has joined #ruby
cbetta has joined #ruby
yonatankoren has joined #ruby
nullwarp has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
spacemud has joined #ruby
hyperdrive has joined #ruby
vircung has joined #ruby
b3nt_pin has joined #ruby
b3nt_pin is now known as Guest47158
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
fragtastic has joined #ruby
raddazong has joined #ruby
Guest47158 is now known as beagles
bahar has joined #ruby
priodev has joined #ruby
wlanboy has joined #ruby
jolts has joined #ruby
jolts has quit [Max SendQ exceeded]
raddazong has quit [Client Quit]
mat-svol_ has quit [Remote host closed the connection]
jzigmund has joined #ruby
gnarld_ has joined #ruby
mat-svol has joined #ruby
raddazong has joined #ruby
conta_ has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
funnel has joined #ruby
raddazong has quit [Changing host]
raddazong has joined #ruby
jlyndon has joined #ruby
brent__ has joined #ruby
marr has joined #ruby
HashNuke_ has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
skweek has quit [Ping timeout: 248 seconds]
Xeago has quit [Remote host closed the connection]
devbug has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
poguez_ has joined #ruby
johnmilton has quit [Remote host closed the connection]
frode15243 has joined #ruby
apipkin_ has joined #ruby
boboc has quit []
kareeoleez has joined #ruby
jord has joined #ruby
mat-svol has quit [Ping timeout: 240 seconds]
whiteline has joined #ruby
raddazong is now known as madhatter
conta_ has quit [Ping timeout: 264 seconds]
devbug has quit [Read error: Connection reset by peer]
qwikturn has joined #ruby
araujo has joined #ruby
jevs has joined #ruby
montyboy has joined #ruby
Xeago has joined #ruby
lsmola has joined #ruby
bronson has joined #ruby
Chunlea has joined #ruby
coyo has joined #ruby
coyo has joined #ruby
mjc_ has joined #ruby
Silex has joined #ruby
mprelude has joined #ruby
meinside has joined #ruby
ggherdov has joined #ruby
al2o3-cr has joined #ruby
thesheff17 has joined #ruby
patrick_star has joined #ruby
<Milos|Work> I'm getting "Could not find activesupport-4.1.4 in any of the sources" when running `bundle show xxxx` where xxxx is anything.
<Milos|Work> Does anyone know why?
patrick_star_3 has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 244 seconds]
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
jmcc________ has joined #ruby
<smathy> Milos|Work, because you haven't run `bundle install` yet?
SilverKey has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
daxroc has joined #ruby
phaza has joined #ruby
joast has joined #ruby
Cohedrin has joined #ruby
bob434 has joined #ruby
M-mistake has joined #ruby
jackjackdripper has quit [Client Quit]
BrunoSaboia has joined #ruby
dunj3 has quit [Ping timeout: 276 seconds]
jackjackdripper has joined #ruby
n008f4g_ has joined #ruby
phaza has quit [Read error: Connection reset by peer]
Jonah11_ has joined #ruby
SilverKey has quit [Client Quit]
phredus has joined #ruby
prestorium has quit [Remote host closed the connection]
Eleeleth has joined #ruby
SilverKey has joined #ruby
stannard has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 240 seconds]
zipkid has joined #ruby
pawnbox has joined #ruby
hoov has quit [Quit: Leaving]
bestie has joined #ruby
Elysia has joined #ruby
jxf has joined #ruby
cardoni has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
<Milos|Work> smathy, I have but it was unable to build libv8. I'm guessing that's why. I'm currently trying to modify the source of libv8 and install the gem manually, because of the differences in the clang compiler on Mac OS X 10.11.
<Milos|Work> But every time I implement the workaround and run `bundle install`, it re-pulls the libv8 sources and overwrites my changes.
pawnbox has quit [Ping timeout: 240 seconds]
S01780 has joined #ruby
<Milos|Work> And for some reason, when I run `gem build libv8-xxxx.gemspec` and then `gem install libv8xxxxx.gem` it deletes its own directory and gives me ENOENT libv8xxxx.gem
ChiefAlexander has joined #ruby
c355e3b has joined #ruby
bttf has joined #ruby
kirun has joined #ruby
kireevco has joined #ruby
rodfersou is now known as rodfersou|coffee
boxrick1_ has joined #ruby
CausaMortis has joined #ruby
Nawn has left #ruby ["Leaving"]
Jonah11_ has quit [Remote host closed the connection]
gnarld_ is now known as nug
shwouchkster has joined #ruby
User458764 has joined #ruby
mustmodify has joined #ruby
dhollinger has joined #ruby
tuelz1 has quit [Read error: Connection reset by peer]
tuelz2 has joined #ruby
baweaver has joined #ruby
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
stannard has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
krz has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
jgt1 has quit [Ping timeout: 250 seconds]
<riceandbeans> two things, one how similar is the ruby pty to perl expect, and two will ruby pty work on windows when invoking a windows binary through a shell out that make end up requiring powershell?
tildes has quit [Ping timeout: 244 seconds]
jottr has quit [Ping timeout: 276 seconds]
jt__ has quit [Ping timeout: 248 seconds]
snoobydoo has quit [Ping timeout: 264 seconds]
Devalo has joined #ruby
<manveru> riceandbeans: isn't perl expect like tcl expect?
<manveru> riceandbeans: wouldn't you wanna use ruby expect then? :)
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<riceandbeans> does ruby have expect?
helmut has joined #ruby
<riceandbeans> basically, launch shell, send shell command, create regex for prompt that will be returned, on matching regex send new command, loop
Jonah11_ has joined #ruby
VeryBewitching has joined #ruby
<VeryBewitching> o/
goooodroot has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 250 seconds]
<helmut> hi. I tried cross building ruby and when it enters ext/ripper (during make install-nodoc), it runs the check target with RUBY pointing to the host arch ruby. is there maybe a bug in ext/ripper/depend pointing to the wrong interpreter?
<helmut> and why the heck does the all target depend on the check target?
CoderPuppy has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Synthead has joined #ruby
ekinmur has joined #ruby
rubie has joined #ruby
marktwo is now known as mark2
arlek_ has joined #ruby
szulak has joined #ruby
skweek has joined #ruby
rodfersou|coffee has quit [Ping timeout: 260 seconds]
ekinmur has quit [Client Quit]
cpup has joined #ruby
moei has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 244 seconds]
Paradox has quit [Ping timeout: 240 seconds]
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
Kharma has joined #ruby
Paradox has joined #ruby
moei has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synaps3 has quit [Quit: Connection closed for inactivity]
<smathy> Milos|Work, you probably want to use the --with-system-v8 option, you can configure bundler with something like: bundle config build.libv8 --with-system-v8
Gasher^ has quit [Quit: Leaving]
davedev2_ has joined #ruby
Gasher has joined #ruby
davedev24 has quit [Ping timeout: 248 seconds]
elusiveother_ has joined #ruby
p0p0pr37_ has joined #ruby
bahar_ has joined #ruby
heinrich5991_ has joined #ruby
shaman42_ has joined #ruby
aef has joined #ruby
DoubleMalt has joined #ruby
ferr has joined #ruby
dcunit3d has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
OTORelic has quit [Quit: WeeChat 1.4]
elusiveother has quit [Disconnected by services]
kirun has quit [*.net *.split]
lsmola has quit [*.net *.split]
bahar has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
careta has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
MagePsycho_ has quit [*.net *.split]
pabs has quit [*.net *.split]
arlek__ has quit [*.net *.split]
FooMunki has quit [*.net *.split]
diegoaguilar has quit [*.net *.split]
aegis3121 has quit [*.net *.split]
spider-mario has quit [*.net *.split]
Adam_FrVancouver has quit [*.net *.split]
gregf has quit [*.net *.split]
Canar has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
gaf__ has quit [*.net *.split]
Lildirt|SomeoneT has quit [*.net *.split]
sesquipe1 has quit [*.net *.split]
duderonomy has quit [*.net *.split]
[dmp] has quit [*.net *.split]
M-Technic has quit [*.net *.split]
jhass has quit [*.net *.split]
shaman42 has quit [*.net *.split]
ldnunes has quit [*.net *.split]
Outlastsheep has quit [*.net *.split]
niko has quit [*.net *.split]
last_staff has quit [*.net *.split]
p0p0pr37 has quit [*.net *.split]
cloaked1 has quit [*.net *.split]
Asher has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
matp has quit [*.net *.split]
evie_hammond has quit [*.net *.split]
drptbl_ has quit [*.net *.split]
sarbs has quit [*.net *.split]
ghr has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
huyderman has quit [*.net *.split]
majuscule has quit [*.net *.split]
icedp has quit [*.net *.split]
entropie has quit [*.net *.split]
Karunamon has quit [*.net *.split]
drbrain has quit [*.net *.split]
kedare has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
staticfox has quit [*.net *.split]
UKn0Me has quit [*.net *.split]
joeyjones has quit [*.net *.split]
helmut has quit [*.net *.split]
rideh has quit [*.net *.split]
devyn has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
code_ has quit [*.net *.split]
ccooke has quit [*.net *.split]
stryek has quit [*.net *.split]
kbni has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
Ariadeno has quit [*.net *.split]
ikonia has quit [*.net *.split]
Scient has quit [*.net *.split]
shtirlic has quit [*.net *.split]
Radar has quit [*.net *.split]
diegok has quit [*.net *.split]
rik has quit [*.net *.split]
p0p0pr37_ is now known as p0p0pr37
heinrich5991_ is now known as heinrich5991
PaulePanter has joined #ruby
Lildirt has joined #ruby
elusiveother_ is now known as elusiveother
elusiveother has quit [Changing host]
elusiveother has joined #ruby
kedare has joined #ruby
drptbl has joined #ruby
sesquipe1 has joined #ruby
qwikturn has quit [Quit: Leaving]
djbkd has quit [Remote host closed the connection]
rodfersou has joined #ruby
code_ has joined #ruby
baweaver has quit [Remote host closed the connection]
careta has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
cpup has quit [Ping timeout: 248 seconds]
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
stryek_ has joined #ruby
ccooke_ has joined #ruby
last_staff1 has joined #ruby
devyn_ has joined #ruby
cloaked1_ has joined #ruby
pabs_ has joined #ruby
michael_mbp has joined #ruby
Ariadeno_ has joined #ruby
helmut_ has joined #ruby
trajing has joined #ruby
szulak has quit [Read error: Connection reset by peer]
majuscul1 has joined #ruby
d0nn1e has joined #ruby
szulak has joined #ruby
icedp has joined #ruby
Snowy has joined #ruby
Aviio_ has quit [Remote host closed the connection]
yqt has joined #ruby
jottr has joined #ruby
sarbs_ has joined #ruby
ikonia has joined #ruby
PedramT has joined #ruby
noService has joined #ruby
pleiosau1 has joined #ruby
M-Techni1 has joined #ruby
skweek has quit [Ping timeout: 264 seconds]
jpfuentes2 has joined #ruby
FooMunki_ has joined #ruby
baweaver has joined #ruby
cpup has joined #ruby
GG is now known as GitGud
diego_k has joined #ruby
UKn0Meh has joined #ruby
joeyjones_ has joined #ruby
lkba has joined #ruby
rideh- has joined #ruby
Karunamon has joined #ruby
SFPT has joined #ruby
<SFPT> Hello?
plantigrade has joined #ruby
<tobiasvl> hello??
baweaver has quit [Remote host closed the connection]
<Ox0dea> Hello???
gregf has joined #ruby
Asher has joined #ruby
ghr has joined #ruby
drbrain has joined #ruby
Ariadeno has joined #ruby
devyn has joined #ruby
duderonomy has joined #ruby
M-Technic has joined #ruby
[dmp] has joined #ruby
matp has joined #ruby
aegis3121 has joined #ruby
UKn0Me has joined #ruby
evie_hammond has joined #ruby
helmut has joined #ruby
ccooke has joined #ruby
avelldiroll has joined #ruby
diegoaguilar has joined #ruby
stryek has joined #ruby
rideh has joined #ruby
Adam_FrVancouver has joined #ruby
lsmola has joined #ruby
rik has joined #ruby
shtirlic has joined #ruby
kbni has joined #ruby
FooMunki has joined #ruby
last_staff has joined #ruby
pabs has joined #ruby
pleiosaur has joined #ruby
spider-mario has joined #ruby
diegok has joined #ruby
jhass has joined #ruby
KrzaQ has joined #ruby
huyderman has joined #ruby
bigkevmcd has joined #ruby
ldnunes has joined #ruby
niko has joined #ruby
staticfox has joined #ruby
MagePsycho_ has joined #ruby
Outlastsheep has joined #ruby
Radar has joined #ruby
entropie has joined #ruby
gaf__ has joined #ruby
cloaked1 has joined #ruby
majuscule has joined #ruby
Scient has joined #ruby
kirun has joined #ruby
joeyjones has joined #ruby
Canar has joined #ruby
sarbs has joined #ruby
constantinexvi has joined #ruby
<SFPT> I have a question:
<Milos|Work> :O
<Ox0dea> Me too.
<Milos|Work> 0dear.
<Ox0dea> Why does Array have #<=> but not the inequality operators?
<SFPT> What folder should I put the Isaac-master in for ruby to detect it when running a program?
jhass|off has joined #ruby
<tobiasvl> Isaac-master?
ghr has quit [*.net *.split]
ccooke has quit [*.net *.split]
kirun has quit [*.net *.split]
lsmola has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
MagePsycho_ has quit [*.net *.split]
pabs has quit [*.net *.split]
FooMunki has quit [*.net *.split]
diegoaguilar has quit [*.net *.split]
aegis3121 has quit [*.net *.split]
spider-mario has quit [*.net *.split]
Adam_FrVancouver has quit [*.net *.split]
gregf has quit [*.net *.split]
Canar has quit [*.net *.split]
gaf__ has quit [*.net *.split]
duderonomy has quit [*.net *.split]
[dmp] has quit [*.net *.split]
M-Technic has quit [*.net *.split]
jhass has quit [*.net *.split]
ldnunes has quit [*.net *.split]
Outlastsheep has quit [*.net *.split]
niko has quit [*.net *.split]
last_staff has quit [*.net *.split]
cloaked1 has quit [*.net *.split]
Asher has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
matp has quit [*.net *.split]
evie_hammond has quit [*.net *.split]
sarbs has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
huyderman has quit [*.net *.split]
majuscule has quit [*.net *.split]
entropie has quit [*.net *.split]
drbrain has quit [*.net *.split]
staticfox has quit [*.net *.split]
UKn0Me has quit [*.net *.split]
joeyjones has quit [*.net *.split]
helmut has quit [*.net *.split]
rideh has quit [*.net *.split]
devyn has quit [*.net *.split]
stryek has quit [*.net *.split]
kbni has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
Ariadeno has quit [*.net *.split]
Scient has quit [*.net *.split]
shtirlic has quit [*.net *.split]
Radar has quit [*.net *.split]
diegok has quit [*.net *.split]
rik has quit [*.net *.split]
joeyjones_ is now known as joeyjones
FooMunki_ is now known as FooMunki
last_staff1 is now known as last_staff
<SFPT> The folder, for Isaac
sarbs_ is now known as sarbs
<SFPT> :O what was that
<Milos|Work> netsplit
tildes has joined #ruby
jhass|off is now known as jhass
<tobiasvl> what is Isaac
<SFPT> A ruby gem
<SFPT> I have an IRC bot for #cemetech on efnet
<SFPT> I need to run it
constantinexvi has joined #ruby
<SFPT> I finished the program
ELLIOTTCABLE has quit [Ping timeout: 248 seconds]
<SFPT> But it cant find isaac
<manveru> riceandbeans: it's in stdlib?
PedramT has quit [Remote host closed the connection]
<tobiasvl> SFPT: how did you install this "isaac" gem?
AckZ has quit [Ping timeout: 248 seconds]
SilverKey has quit [Quit: Halted.]
meraxes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lacrosse has quit [Ping timeout: 248 seconds]
pizzaops has quit [Ping timeout: 248 seconds]
jmhmccr has quit [Ping timeout: 248 seconds]
prestorium has joined #ruby
KrzaQ has joined #ruby
<SFPT> Here's the code:
<SFPT> and here's isaac: https://github.com/vangberg/isaac
<tobiasvl> SFPT: so how did you install the isaac gem?
<SFPT> Went on that page and downloaded the zip
<manveru> Hello????
<SFPT> then extracted
e4xit has quit [Quit: Right I'm out!]
AckZ has joined #ruby
codecop has quit [Remote host closed the connection]
SilverKey has joined #ruby
jmhmccr has joined #ruby
<adaedra> SFPT: you usually install gems using `gem install`
<SFPT> gem install?
lacrosse has joined #ruby
gaf_ has joined #ruby
<SFPT> wot
kbni has joined #ruby
<adaedra> In your case, `gem install isaac`
<SFPT> in the command prompt, just type in gem install isaac?
ELLIOTTCABLE has joined #ruby
<adaedra> But last update in 2009 is not a good signal
<SFPT> Or am I misunderstanding
<adaedra> yep, it's a command.
LoneHerm_ has joined #ruby
<SFPT> oh my, seems it worked
<SFPT> lets see if UI can run the program now
<mustmodify> I'll google this, just wanted to know if anyone has any experience: Anyone ever directly receive SMTP messages using Ruby? Not using an email server... but directly receiving the messages.
pizzaops has joined #ruby
<SFPT> Running the programs, is just "ruby logbotpop.rb"?
<SFPT> but then how would I give it a directory
<adaedra> you can pass command lines parameters after the file name like you would any program
<SFPT> for it to look in?
FooMunki has quit [Quit: FooMunki]
<tobiasvl> give what a directory?
FooMunki has joined #ruby
Scient has joined #ruby
ja has joined #ruby
ghr has joined #ruby
kirun has joined #ruby
spider-mario has joined #ruby
staticfox has joined #ruby
niko has joined #ruby
aegis3121 has joined #ruby
MagePsycho_ has joined #ruby
Radar has joined #ruby
lsmola has joined #ruby
duderonomy has joined #ruby
rik has joined #ruby
Asher has joined #ruby
huyderman has joined #ruby
diegoaguilar has joined #ruby
drbrain has joined #ruby
ldnunes has joined #ruby
matp has joined #ruby
bigkevmcd has joined #ruby
MagePsycho_ is now known as 7YUAASHFF
duderonomy has quit [Ping timeout: 240 seconds]
<adaedra> But your code does not seems to need a directory to be given?
<adaedra> You seem confused about what you're doing here
diegoaguilar has quit [Max SendQ exceeded]
ldnunes has quit [Ping timeout: 240 seconds]
ghr is now known as Guest31479
aegis312_ has joined #ruby
<Ox0dea> Why does Array define #<=> and not include Comparable?
Yiota has joined #ruby
<Ox0dea> There must be some logic to that decision, but I can't see it.
LoneHerm_ has quit [Ping timeout: 244 seconds]
staticfox has quit [Disconnected by services]
staticfox` has joined #ruby
rik_ has joined #ruby
<SFPT> I'm very confsed.
Asher has quit [Ping timeout: 240 seconds]
william3 has joined #ruby
staticfox` is now known as staticfox
drbrain_ has joined #ruby
pawnbox has joined #ruby
<SFPT> Well I did the cd commmand and gave it a directory tothe scripts folder
<SFPT> it worked
<mustmodify> SFPT: I have often found that when I do a good job of explaining my confusion, I answer my own questions.
cdg has joined #ruby
Guest31479 has quit [Ping timeout: 240 seconds]
7YUAASHFF has quit [Ping timeout: 240 seconds]
huyderman has quit [Ping timeout: 240 seconds]
<SFPT> Well I'm so confused I don't quite know wwhat I'm confused about
<adaedra> mustmodify: rubber duck
Scient has quit [Ping timeout: 240 seconds]
spider-mario has quit [Ping timeout: 240 seconds]
bigkevmcd has quit [Ping timeout: 240 seconds]
Radar has quit [Ping timeout: 240 seconds]
rik has quit [Ping timeout: 240 seconds]
<SFPT> I learned ruby from a friend
<adaedra> SFPT: well, try explain to yourself what you're doing.
Yiota has quit [Client Quit]
<SFPT> Vey, very recently
<adaedra> If stuck, try replying to "Why?"
duderonomy has joined #ruby
ja has quit [Ping timeout: 240 seconds]
kirun has quit [Ping timeout: 240 seconds]
lsmola has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 240 seconds]
matp has quit [Ping timeout: 240 seconds]
drbrain has quit [Ping timeout: 240 seconds]
drbrain_ is now known as drbrain
<adaedra> freenode, stop being so instable.
<adaedra> Ox0dea: your questions are flying way too high for us common folks to even try to catch them.
FooMunki has quit [Quit: FooMunki]
ur5us has quit [Remote host closed the connection]
spider-mario has joined #ruby
<Ox0dea> adaedra: Huh?
FooMunki has joined #ruby
FooMunki has quit [Client Quit]
FooMunki has joined #ruby
MagePsycho_ has joined #ruby
<adaedra> Ox0dea: that was not an insult.
william3 has quit [Ping timeout: 244 seconds]
<tobiasvl> it's a good question
<tobiasvl> I wonder what the reason is
pawnbox has quit [Ping timeout: 276 seconds]
<Ox0dea> adaedra: Don't people learn about Comparable/#<=> in the same chapter as Enumerable/#each?
baweaver has joined #ruby
<adaedra> Well I didn't
madgen has joined #ruby
<adaedra> But I learned Ruby in a very weird way
tubuliferous has joined #ruby
huyderman has joined #ruby
niko has quit [Ping timeout: 600 seconds]
<SFPT> I am now getting the error: logbotpop.rb:4:in '<main>': undefined method 'config' for main:Object (NoMethodError)
jgt1 has joined #ruby
Radar has joined #ruby
Scient has joined #ruby
<SFPT> What does this mean?
Radar is now known as Guest9427
<Ox0dea> It's bad.
<adaedra> that you're using a method called 'config' but it can't find it.
bruno- has quit [Read error: Connection reset by peer]
<SFPT> ...
<adaedra> Guest9427: You're flying off the radars.
<manveru> also that it's on line 4 in the file logbotpop.rb
polysics has quit [Remote host closed the connection]
<SFPT> I'll check it real quick
<Ox0dea> Check it slow.
helmut_ has left #ruby [#ruby]
polysics has joined #ruby
<SFPT> line 4 is
<SFPT> config do |c|
<adaedra> By the way, you know you work on a code that is clearly showing its old age?
adavis has joined #ruby
Nawn has joined #ruby
william3 has joined #ruby
<manveru> heh
finisherr has quit [Quit: finisherr]
<manveru> seriously, who'd ever define Kernel::config
<manveru> SFPT: you must be missing an include?
maletor has quit [Quit: Computer has gone to sleep.]
blackgoat has joined #ruby
<SFPT> hm, I am?
<manveru> or rename it to `configure`
<manveru> and read the isaac readme like me for a second :)
Nawn has quit [Client Quit]
Aviio has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
ldnunes has joined #ruby
jgt1 has quit [Ping timeout: 276 seconds]
<SFPT> I'll change it to configure
blackgoat has quit [Client Quit]
<adavis> Hi everyone. Is the only way to install rvm via the provided script?
eshea_ has quit [Remote host closed the connection]
bruno- has joined #ruby
<adavis> I'd rather have a more distributible method.
Lomex has joined #ruby
<SFPT> And now I'm getting a different error.
<SFPT> Oh boy, I hope it's not like this all day
kadoppe has joined #ruby
polysics has quit [Ping timeout: 264 seconds]
<adaedra> SFPT: take time to read it, every word, before pasting it.
<manveru> SFPT: you new to programming?
mustmodify_ has joined #ruby
<SFPT> Not new to programming, but new to ruby.
GitGud is now known as opal
<adaedra> adavis: there are other tools, like rbenv or chruby.
<SFPT> This was my first program in ruby
<adaedra> SFPT: then go read a tutorial first.
Jonah11_ has quit [Remote host closed the connection]
<adavis> adaedra: Unfortunately the request was for rvm
<adavis> If the only option is the script I can make do
matp has joined #ruby
kirun has joined #ruby
<manveru> adavis: it's not the only option, read the script?
lsmola has joined #ruby
niko has joined #ruby
Devalo has joined #ruby
eshea has joined #ruby
<adavis> manveru: I'm not a ruby developer
<adavis> as evidenced by my extremely noobish questions in the past
<adavis> and that script is huge
<manveru> but it's in bash
<manveru> no need to know ruby :)
diegoaguilar has joined #ruby
<adavis> Oh right it is
<havenwood> adavis: https://rvm.io/rvm/offline
<adavis> Either way it's 890 lines I'd prefer not to read
<adaedra> adavis: nobody does.
<havenwood> adavis: ^ those are instructions for installing RVM offline, and let you do it from a thumb drive or whatever
mustmodify has quit [Ping timeout: 248 seconds]
<adavis> havenwood: Perfect
eshea has quit [Remote host closed the connection]
<havenwood> adavis: Installing chruby and ruby-install like that is very straightforward and covered in the docs.
eshea has joined #ruby
* manveru just installs ruby via nix
<manveru> you can pry that from my dead cold hands
<adavis> I've not even heard of nix
<havenwood> manveru: ruby-install checksums md5, sha1, sha256 and sha512
djbkd has joined #ruby
<havenwood> manveru: very nixy to boot
nando293921 has quit [Ping timeout: 260 seconds]
<manveru> havenwood: why reinvent the wheel
<adavis> manveru: I ask that about rvm in the first place
<manveru> i run nixos anyway
<adavis> and npm
<havenwood> manveru: because the existing wheel is square
<manveru> adavis: exactly
<adavis> and... well, every other package manager
darix has quit [Quit: brb]
dionysus69 has quit [Quit: dionysus69]
<manveru> havenwood: because nobody knows nix...
* adavis knows better than to `yum search nix`
<adaedra> adavis: of course, it's pacman -Ss nix.
<manveru> adavis: it must be in your repos... if that's redhat
kadoppe has quit [Ping timeout: 244 seconds]
<adavis> Hahaha pacman
<adavis> Oh lord.
<manveru> for arch it's just nix, but i think on AUR
<adavis> Yum list nix didn't do it.
<adavis> Searching 'nix' will pull up probably every single package in every repo
<havenwood> manveru: chruby and ruby-install are included in the AUR, ;)
<adavis> EPEL maybe?
<adavis> So, does chruby do the same thing as rvm, essentially?
<adavis> They asked for RVM because it allows them to use ruby 2.x on EL6
<adavis> it's simple and works for them
<havenwood> adavis: RVM does many things.
<adavis> I'm not sure if they have path dependencies in their build scripts though.
<havenwood> adavis: chruby does a small subset of what RVM does
<adaedra> adavis: looked at software collections for EL?
devbug has joined #ruby
Asher has joined #ruby
<havenwood> adavis: particularly, it switches Rubies
<manveru> havenwood: why install chruby or ruby-install when you can directly install the ruby version you want?
<Ox0dea> adaedra: Careful about conflating "simple" and "easy".
<adavis> I don't think SCL has a ruby 2.0
BtcBen_ has joined #ruby
<adavis> ruby193 was the latest I saw
swills has quit [Ping timeout: 244 seconds]
<Ox0dea> adaedra: Sorry. That was for adavis.
<adaedra> Ox0dea: mmh?
<adaedra> ah.
<havenwood> manveru: dunno if you've see jhass' gist?: https://gist.github.com/jhass/8839655bb038e829fba1
<adaedra> adavis: I think they have some recent ones
antgel has joined #ruby
<SFPT> This error is now "logbotpop.rb:5:in 'block in <main>'; undefined method 'username=' for #<Isaac::Config:0x2ce3e48> (NoMethodError) from C:/Ruby23/lib/ruby/gems/2.3.0/gems/isaac-0.2.6/lib/isaac/bot.rb:20:in 'configure' from (eval):2:in 'configure' from logbotpop.rb:4:in '<main'
skweek has joined #ruby
Canar has joined #ruby
<havenwood> manveru: But yeah, nice to know how to do things like build your language yourself. ;)
gregf has joined #ruby
[dmp] has joined #ruby
<adaedra> they expanded the thing a bit
Devalo has quit [Ping timeout: 250 seconds]
<adavis> Mmm...
<adavis> I wonder if that would work.
x77686d_ has joined #ruby
* havenwood wanders off in search of a burger
<manveru> havenwood: i can also distributed ruby scripts that load their correct version of ruby with dependencies themselves :P
<adavis> There's no precedent for using packages straight from SCL.
decoponio has joined #ruby
<adavis> I'm a bit hamstrung in some red tap
<adavis> tape*
<adaedra> Well, it's an alternative; choice is ultimately in your hands.
<adavis> Well not really
<adavis> Choice is in the hands of the developer
<havenwood> manveru: For that task I present!: http://phusion.github.io/traveling-ruby/
<adavis> Who chose RVM :(
p0p0pr37_ has joined #ruby
stannard_ has joined #ruby
evie_hammond has joined #ruby
<adavis> I'm just supposed to migrate the build environment
<manveru> havenwood: and it works for ruby, python, go, haskell, js, etc...
<havenwood> adavis: RVM ships with MRVM which provides chruby support even. :P
baweaver has quit [Remote host closed the connection]
bmf has quit [Ping timeout: 244 seconds]
<havenwood> "Mini-RVM"
Jonah11_ has joined #ruby
I has joined #ruby
<adavis> Right, but there's no distro package, only the local install
SFPT has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<adavis> ?
<havenwood> manveru: :)
Akuma0n3 has quit [Quit: So long sukkas!]
uxp_ has joined #ruby
diprotic has joined #ruby
diprotic has joined #ruby
<havenwood> adavis: For RVM?
I is now known as Guest18997
Rickmast_ has joined #ruby
<manveru> havenwood: think big man :)
dupin has joined #ruby
dupin is now known as Guest93928
Dreamer3 has joined #ruby
<manveru> anw
<adavis> havenwood: By the install docs on rvm.io it seems that way.
nobitanobi has quit [Remote host closed the connection]
* manveru goes back to forcing bundler into submission
utkarsh_ has joined #ruby
_djbkd has joined #ruby
glacius has joined #ruby
SilverKey has quit [Quit: Halted.]
MuffinPimp_ has joined #ruby
Rutix`away has joined #ruby
Rutix`away has quit [Changing host]
Rutix`away has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
Pisuke has joined #ruby
diegok has joined #ruby
CausaMortis_ has joined #ruby
Azure|dc has joined #ruby
abort_ has joined #ruby
neanderslob has quit [Disconnected by services]
neanderslob__ has joined #ruby
SilverKey has joined #ruby
galeido has joined #ruby
raenk_ has joined #ruby
speaking1ode has joined #ruby
evidex has joined #ruby
s00pcan has joined #ruby
yokel_ has joined #ruby
Sebastia1Thorn has joined #ruby
angseus_ has joined #ruby
sapslaj has joined #ruby
Fridtjof- has joined #ruby
\13k_ has joined #ruby
rclsilve1 has joined #ruby
Renich_ has joined #ruby
miah_ has joined #ruby
claw_ has joined #ruby
sulky__ has joined #ruby
adeponte has joined #ruby
bradland_ has joined #ruby
Dreame___ has joined #ruby
jenrzzz has joined #ruby
ltd_ has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
oz` has joined #ruby
Snowy has joined #ruby
akhkharu has joined #ruby
rcs_ has joined #ruby
ozzloy_ has joined #ruby
nwhirschfeld has joined #ruby
_Suntzu has joined #ruby
adavis has left #ruby [#ruby]
pawnbox has joined #ruby
grumpycat has joined #ruby
omninonsense has joined #ruby
greenhat_ has joined #ruby
Tharbakery has joined #ruby
KervyN has joined #ruby
tvsutton_ has joined #ruby
Ox0dea has quit [Disconnected by services]
techietrash_ has joined #ruby
Ox0dea has joined #ruby
braincra- has joined #ruby
Omni has joined #ruby
fmcgeough_ has joined #ruby
Jonah11_ has joined #ruby
BtcBen_ has quit [*.net *.split]
devbug has quit [*.net *.split]
djbkd has quit [*.net *.split]
diego_k has quit [*.net *.split]
heinrich5991 has quit [*.net *.split]
p0p0pr37 has quit [*.net *.split]
stannard has quit [*.net *.split]
dhollinger has quit [*.net *.split]
CausaMortis has quit [*.net *.split]
yonatankoren has quit [*.net *.split]
beagles has quit [*.net *.split]
jenrzzz_ has quit [*.net *.split]
oz has quit [*.net *.split]
dopie has quit [*.net *.split]
Rutix has quit [*.net *.split]
Renich has quit [*.net *.split]
Suntzu has quit [*.net *.split]
programmerq has quit [*.net *.split]
jwang has quit [*.net *.split]
fmcgeough has quit [*.net *.split]
x77686d has quit [*.net *.split]
sapslaj_ has quit [*.net *.split]
galeido_ has quit [*.net *.split]
e-jambon has quit [*.net *.split]
decoponyo has quit [*.net *.split]
hplar has quit [*.net *.split]
rapha has quit [*.net *.split]
imajes has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
inukshuk has quit [*.net *.split]
cyphactor has quit [*.net *.split]
df has quit [*.net *.split]
greenhat has quit [*.net *.split]
flak has quit [*.net *.split]
yokel has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
Guest83612 has quit [*.net *.split]
braincrash has quit [*.net *.split]
BtcBen has quit [*.net *.split]
proreptilian has quit [*.net *.split]
infernix has quit [*.net *.split]
Dreamer__ has quit [*.net *.split]
speakingcode has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
flughafen has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
mclee has quit [*.net *.split]
angseus has quit [*.net *.split]
s00pcan_ has quit [*.net *.split]
gagrio has quit [*.net *.split]
Azure has quit [*.net *.split]
armyriad has quit [*.net *.split]
MyMind has quit [*.net *.split]
miah has quit [*.net *.split]
cj has quit [*.net *.split]
claw has quit [*.net *.split]
ozzloy has quit [*.net *.split]
Rixius has quit [*.net *.split]
glacius_ has quit [*.net *.split]
unsymbol has quit [*.net *.split]
cb has quit [*.net *.split]
ICantCook has quit [*.net *.split]
monoprotic has quit [*.net *.split]
Log1x has quit [*.net *.split]
raenk has quit [*.net *.split]
rgs has quit [*.net *.split]
rcs has quit [*.net *.split]
rclsilver has quit [*.net *.split]
abort has quit [*.net *.split]
Kruppe has quit [*.net *.split]
Dreamer3_ has quit [*.net *.split]
[spoiler] has quit [*.net *.split]
callumacrae has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
nwhirschfeld_ has quit [*.net *.split]
sulky has quit [*.net *.split]
cfloare has quit [*.net *.split]
ltd has quit [*.net *.split]
cats has quit [*.net *.split]
humd1ng3r has quit [*.net *.split]
benzrf has quit [*.net *.split]
SirFunk has quit [*.net *.split]
techietrash has quit [*.net *.split]
martinbjeldbak_ has quit [*.net *.split]
brainslug has quit [*.net *.split]
SebastianThorn has quit [*.net *.split]
Davey has quit [*.net *.split]
K3rvyN has quit [*.net *.split]
Muz has quit [*.net *.split]
uxp has quit [*.net *.split]
tvsutton has quit [*.net *.split]
Kamilion has quit [*.net *.split]
bradland has quit [*.net *.split]
aredridel has quit [*.net *.split]
spectra has quit [*.net *.split]
\13k has quit [*.net *.split]
utkarsh has quit [*.net *.split]
csmb has quit [*.net *.split]
hadronzoo has quit [*.net *.split]
jpterry has quit [*.net *.split]
Zackio has quit [*.net *.split]
x77686d_ is now known as x77686d
oz` is now known as oz
MuffinPimp_ is now known as MuffinPimp
grumpycat is now known as cats
\13k_ is now known as \13k
Guest93928 is now known as inukshuk
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
SirFunk_ has joined #ruby
yokel_ is now known as yokel
fmcgeough_ is now known as fmcgeough
Davey has joined #ruby
Davey has quit [Changing host]
Davey has joined #ruby
Omni is now known as Guest63362
unsymbol_ has joined #ruby
p0p0pr37_ is now known as p0p0pr37
Guest13810 has joined #ruby
armyriad has joined #ruby
blackgoat has joined #ruby
techietrash_ is now known as techietrash
boontdustie has joined #ruby
spectra has joined #ruby
Muz has joined #ruby
df has joined #ruby
shadeslayer has quit [Ping timeout: 244 seconds]
callumacrae has joined #ruby
spikeheadon has joined #ruby
Rixius has joined #ruby
maletor has joined #ruby
Log1x has joined #ruby
aredridel has joined #ruby
rgs has joined #ruby
yonatankoren has joined #ruby
p0p0pr37_ has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
cfloare has joined #ruby
martinbjeldbak has joined #ruby
cj has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
cb has joined #ruby
mat-svol has joined #ruby
weemsledeux has quit [Ping timeout: 260 seconds]
benzrf has joined #ruby
Outlastsheep has joined #ruby
humd1ng3r has joined #ruby
<yorickpeterse> manveru: just submit
SilverKey has quit [Quit: Halted.]
darix has joined #ruby
pocketprotector has joined #ruby
dhollinger has joined #ruby
imajes has joined #ruby
jwang has joined #ruby
heinrich5991 has joined #ruby
p0p0pr37 has quit [Ping timeout: 260 seconds]
shadeslayer has joined #ruby
p0p0pr37_ is now known as p0p0pr37
gagrio has joined #ruby
programmerq has joined #ruby
bronson has joined #ruby
mclee has joined #ruby
Zackio has joined #ruby
rapha_ has joined #ruby
careta has quit [Ping timeout: 276 seconds]
hplar has joined #ruby
flughafen has joined #ruby
_djbkd has quit [Remote host closed the connection]
spikeheadon has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
e-jambon has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
william3 has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
symm- has quit [Quit: Leaving...]
Renich_ has quit [Quit: leaving]
djbkd has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Guest9427 is now known as Radar
Radar has quit [Changing host]
Radar has joined #ruby
<manveru> i know it's your baby, but it's been giving me nothing but headaches since it exists
<manveru> so now i'll put it into iron chains and let it dance to my tune :)
rubie has quit [Remote host closed the connection]
<havenwood> manveru: gem install -g and export RUBYGEMS_GEMDEPS=- ;)
<manveru> havenwood: good luck packaging rails apps that way
<havenwood> manveru: s/rails/roda
nobitanobi has joined #ruby
<havenwood> manveru: someday...
<manveru> i didn't write them, i just make them run
<manveru> i was hopeful that ramaze would defeat rails too :)
<manveru> now i just wouldn't pick ruby if i was writing new web apps
careta has joined #ruby
mat-svol has quit [Remote host closed the connection]
singleton_method has joined #ruby
<manveru> but apps like gitlab and redmine won't go anywhere
rubie has joined #ruby
ctarx has quit [Quit: Textual IRC Client: www.textualapp.com]
kadoppe has joined #ruby
Madplatypus has joined #ruby
johnmilton has joined #ruby
infernix has joined #ruby
symm- has joined #ruby
noService has quit [Ping timeout: 244 seconds]
elifoster has quit [Ping timeout: 276 seconds]
Jonah11_ has joined #ruby
shevy has joined #ruby
william3 has joined #ruby
Nahra` has quit [Remote host closed the connection]
fmcgeough has quit [Quit: fmcgeough]
gnufied has quit [Quit: Leaving]
yfeldblum has joined #ruby
Xeago has quit [Remote host closed the connection]
mustmodify_ has left #ruby [#ruby]
kadoppe has quit [Ping timeout: 276 seconds]
aspiers_ has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
william3 has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
ldnunes has quit [Quit: Leaving]
elifoster has joined #ruby
Cohedrin has quit [Ping timeout: 244 seconds]
Jonah11_ has quit [Remote host closed the connection]
<Olipro> why does gets cease to wait for input if I pass an argument to my script on the commandline?
Trynemjoel has quit [Ping timeout: 244 seconds]
Jonah11_ has joined #ruby
Trynemjoel has joined #ruby
ItSANgo_ has quit [Quit: Leaving...]
Cohedrin has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 250 seconds]
aegis312_ has quit [Ping timeout: 252 seconds]
callen92 has quit [Quit: Leaving]
zeroDivisible has quit [Quit: WeeChat 1.4]
yqt has quit [Read error: Connection reset by peer]
jeff-no-nick has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Trynemjoel has quit [Excess Flood]
Kamilion has joined #ruby
<Ox0dea> Olipro: Standalone `gets` is actually `ARGF.gets`.
aegis3121 has joined #ruby
jeff-no-nick has quit [Client Quit]
Snowy has quit [Quit: ragequit]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rbennacer has joined #ruby
pandaant has quit [Remote host closed the connection]
johnbat26 has quit [Ping timeout: 248 seconds]
<havenwood> Olipro: STDIN.gets
FooMunki has quit [Quit: FooMunki]
Jonah11_ has joined #ruby
tyang has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.1/20151216175450]]
<havenwood> Olipro: Or: $stdin.gets
bruce_lee has quit [Quit: Konversation terminated!]
<Olipro> yes, the penny dropped after Ox0dea said it uses ARGF
Jonah11_ has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
Jonah11_ has joined #ruby
prestorium has quit [Quit: Leaving]
rbennace_ has quit [Ping timeout: 276 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
flashpoint9 has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
sphex has quit [Ping timeout: 264 seconds]
jottr has quit [Quit: WeeChat 1.4]
singleton_method has quit [Remote host closed the connection]
eljimmy has joined #ruby
sphex has joined #ruby
Guest13810 is now known as beagles
dcunit3d has joined #ruby
Noxilex has joined #ruby
Noxilex has quit [Remote host closed the connection]
ChiefAlexander has quit [Read error: Connection reset by peer]
rkazak has joined #ruby
ChiefAlexander has joined #ruby
rodfersou has quit [Quit: leaving]
ItSANgo has joined #ruby
benlieb has quit [Quit: benlieb]
last_staff has quit [Quit: last_staff]
PaulePanter is now known as PaulePanetr
PaulePanetr is now known as PaulePanter
baweaver has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
kareeole_ has joined #ruby
jackjackdripper has quit [Ping timeout: 264 seconds]
diegok has quit [Ping timeout: 264 seconds]
jackjackdripper has joined #ruby
elifoster has quit [Ping timeout: 264 seconds]
madhatter has quit [Ping timeout: 264 seconds]
sarlalian has quit [Ping timeout: 264 seconds]
csharper has joined #ruby
programmerq has quit [Ping timeout: 264 seconds]
Asher has quit [Ping timeout: 264 seconds]
drbrain has quit [Ping timeout: 264 seconds]
cpup has quit [Ping timeout: 264 seconds]
pleiosau1 has quit [Ping timeout: 264 seconds]
icedp has quit [Ping timeout: 264 seconds]
cloaked1_ has quit [Ping timeout: 264 seconds]
shaman42_ has quit [Ping timeout: 264 seconds]
Paradox has quit [Ping timeout: 264 seconds]
VeryBewitching has quit [Ping timeout: 264 seconds]
a1fa has quit [Ping timeout: 264 seconds]
a1fa_ has joined #ruby
elifoster has joined #ruby
VeryBewitching has joined #ruby
diegok has joined #ruby
ChiefAlexander has quit [Ping timeout: 264 seconds]
Outlastsheep has quit [Ping timeout: 264 seconds]
Muz has quit [Ping timeout: 264 seconds]
bradland_ has quit [Ping timeout: 264 seconds]
lsmola has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 264 seconds]
UKn0Meh has quit [Ping timeout: 264 seconds]
elusiveother has quit [Ping timeout: 264 seconds]
whiteline has quit [Ping timeout: 264 seconds]
kareeoleez has quit [Ping timeout: 264 seconds]
vircung has quit [Ping timeout: 264 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
shadoi has quit [Ping timeout: 264 seconds]
charper2 has quit [Ping timeout: 264 seconds]
null__ has quit [Ping timeout: 264 seconds]
modin has quit [Ping timeout: 264 seconds]
pleiosaur has joined #ruby
cloaked1 has joined #ruby
shadoi has joined #ruby
shaman42 has joined #ruby
smathy is now known as smathy_afk
drbrain has joined #ruby
bruno- has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
blandflakes has joined #ruby
callen92 has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
benlieb has joined #ruby
n008f4g_ has joined #ruby
sarlalian has joined #ruby
blandflakes has quit [Client Quit]
s2013 has joined #ruby
icedp has joined #ruby
icedp has quit [Changing host]
icedp has joined #ruby
UKn0Me has joined #ruby
cpup has joined #ruby
kareeole_ is now known as kareeoleez
vircung has joined #ruby
jero__ has quit [Ping timeout: 244 seconds]
phredus_ has joined #ruby
kadoppe has joined #ruby
null__ has joined #ruby
ozzloy_ is now known as ozzloy
ozzloy has quit [Changing host]
ozzloy has joined #ruby
Muz has joined #ruby
tribals has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
finisherr has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
elusiveother has joined #ruby
elusiveother has joined #ruby
bradland has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Paradox has joined #ruby
kadoppe has quit [Ping timeout: 260 seconds]
whiteline has joined #ruby
BSab has joined #ruby
programmerq has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
FernandoBasso has joined #ruby
lsmola has joined #ruby
nando293921 has joined #ruby
BrunoSaboia has quit [Ping timeout: 244 seconds]
PaulCape_ has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
bob434 has joined #ruby
madhatter has joined #ruby
mostlybadfly has joined #ruby
Milos|Work has quit [Quit: Leaving]
LoneHerm_ has quit [Ping timeout: 260 seconds]
hinbody has quit [Quit: leaving]
yqt has joined #ruby
SilverKey has joined #ruby
druonysus has joined #ruby
PaulCapestany has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
symm- has quit [Quit: Leaving...]
smathy_afk is now known as smathy
jenrzzz_ has joined #ruby
pwnd_nsfw` has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
skweek has quit [Ping timeout: 250 seconds]
marr123 has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
marr is now known as Guest85391
Guest85391 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
marr123 is now known as marr
callen92 has quit [Quit: Leaving]
biberu has quit [Read error: Connection reset by peer]
dcunit3d has quit [Ping timeout: 248 seconds]
jpfuentes2 has quit [Read error: Connection reset by peer]
biberu has joined #ruby
skweek has joined #ruby
joconcepts has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
m4rCsi has joined #ruby
pwnd_nsfw has quit [Ping timeout: 248 seconds]
devyn_ has quit [Ping timeout: 248 seconds]
ccooke_ has quit [Ping timeout: 248 seconds]
joconcepts has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
devyn has joined #ruby
cajone has quit [Ping timeout: 248 seconds]
Blue_Ice_ has quit [Ping timeout: 248 seconds]
biberu has quit [Client Quit]
ccooke has joined #ruby
Blue_Ice has joined #ruby
a1fa_ has quit [Quit: leaving]
banister has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
mat-svol has joined #ruby
kareeoleez has quit [Remote host closed the connection]
lynx_eyes7 has joined #ruby
Adam_FrVancouver has joined #ruby
tubuliferous has quit [Ping timeout: 248 seconds]
Asher has joined #ruby
malconis has quit [Ping timeout: 248 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
vF3hNGxc47h8 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
jpfuentes2 has joined #ruby
pwnd_nsfw` is now known as pwnd_nsfw
aegis3121 has quit [Ping timeout: 248 seconds]
cajone has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
dopamean_ has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
catpoop has left #ruby ["Leaving"]
phredus has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 244 seconds]
Antiarc_ is now known as Antiarc
dhinojosa has quit [Ping timeout: 260 seconds]
PedramT has quit [Ping timeout: 250 seconds]
eshea has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
solars has quit [Ping timeout: 244 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
shinnya has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
eshea has joined #ruby
eshea has quit [Remote host closed the connection]
eshea has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
mikeiniowa has quit [Remote host closed the connection]
ICantCook has joined #ruby
jdelaney has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
kadoppe has joined #ruby
zenlot6 has quit [Ping timeout: 250 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
BTRE has quit [Quit: Leaving]
zenlot6 has joined #ruby
lynx_eyes7 is now known as lynx_eyes
pawnbox has joined #ruby
Guest18997 has quit [Quit: Leaving]
ur5us has joined #ruby
dopie has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
lynx_eyes has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 252 seconds]
jdelaney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 276 seconds]
cpup has joined #ruby
jenrzzz has joined #ruby
evidex has quit [Quit: Lost terminal]
djbkd has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
atom3 has joined #ruby
watermelone has joined #ruby
djbkd has joined #ruby
kadoppe has quit [Ping timeout: 244 seconds]
BTRE has joined #ruby
_djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
pilne has joined #ruby
BSaboia has joined #ruby
charliesome has joined #ruby
bronson has joined #ruby
Rutix`away has quit []
neanderslob__ has quit [Ping timeout: 252 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
BSab has quit [Ping timeout: 244 seconds]
neanderslob has joined #ruby
watermelone has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
valetudo has joined #ruby
wilbert has joined #ruby
Giauzar has quit [Quit: Leaving]
<pilne> I could use a little pointing in the right direction, because my google-fu is failing me miserably. I'm in love with ruby's semantics, but I'm having a hard time finding as many libraries (gems?) for things I'm trying to do, and I'm not even close to being able to really create them myself. My peers are suggesting I switch to python, but I find it cumbersome and unintuitive compared to ruby (maybe due to my affinty for lisp and
<pilne> languages inspired by it?).
<shevy> wow nobu is superactive wednesday
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
darkf has joined #ruby
<shevy> pilne python has more devs and users compared to ruby
bronson has quit [Ping timeout: 252 seconds]
<darix> pilne: rubygems.org is a good starting point
<smathy> pilne, you know about https://www.ruby-toolbox.com/
firstdayonthejob has quit [Ping timeout: 244 seconds]
ivanskie has joined #ruby
modin has joined #ruby
aguynamedben has joined #ruby
Lomex has quit [Remote host closed the connection]
<pilne> i've poked around both of those, I guess if i'm going to take the plunge i'm gonna have to go all-in :) is the preferred "lower level" ffi c++ or c?
<darix> pilne: either
johnny56 has joined #ruby
<pragmatism> Question for all: do you test the existence or contents of constants?
wldcordeiro has joined #ruby
<pragmatism> Or do you treat them like private methods and test the callers?
chouhoulis has quit [Remote host closed the connection]
<pilne> and i guess... if worst comes to worst in some situations, JRuby is looking like it could be useful as well, that is one area where i was a bit disappointed with python when my peers suggeted it (i'm a hobbyist coder, and i can't code at work, but i can google/read)
diegoaguilar has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<shevy> I am a hobbyist coder too!
<aguynamedben> hello, if anybody is interested in working at a VC firm in San Francisco (First Round Capital), please DM me!
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<smathy> pilne, it kind of depends what space you want to go to too. Because of Rails there's a lot of web heavy libs in the ruby world, whereas in other spaces its a bit light.
niko has quit [Ping timeout: 615 seconds]
<pilne> i want to develop good AIs for graphically simple (for now) games
Aviio has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
<pilne> things like interesting AI opponents for card games, that have "unique" ways of playing against the human and each other.
kadoppe has joined #ruby
<shevy> now you got a hobby for a profession right there
<pilne> and ruby has been the first language i've dipped my toes into that i didn't feel like I was fighting my brain after getting past "hello world"
<shevy> I found creating games in general to be fairly difficult and time intensive
kirun has quit [Quit: Client exiting]
<shevy> yeah, ruby has a nice way to think
eshea_ has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
<shevy> you can also adapt it quite a lot to how you think, rather than the other way
<pilne> i'm also tossing around ideas for a rubik's cube solver that lets you pick the "method" you want to use to solve it, and it will step through the solution using that approach.
<smathy> pilne, I think for AI ruby and python are fairly similar, as you mentioned - you might end up with jruby for that stuff.
baweaver has joined #ruby
<pilne> not necesarrily an "optimal" (moves-wise) solution, but one that fits the way you are trying to learn how to solve it yourself.
druonysus has quit [Remote host closed the connection]
<pilne> i can live with JRuby for some things, it seems to be trying quite hard to be MRI compatible
<pilne> sweet, now to get comfy with an environment manager in a fearless fashion since i'm already prepared for a clean install when ubuntu 16.04 drops :)
niko has joined #ruby
eshea__ has joined #ruby
<pilne> and while i love monty python, Matz's way of thinking (from what I've read) aligns with mine far more than Guido's (not an insult/bash, just an observation)
jenrzzz has quit [Ping timeout: 244 seconds]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
<shevy> yeah
<pilne> i've seen rvm and rbenv, are there others i should look into?
eshea has quit [Ping timeout: 276 seconds]
<havenwood> pilne: chruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eshea has joined #ruby
<havenwood> pilne: Brightbox also ships Ruby packages for Ubuntu: https://www.brightbox.com/docs/ruby/ubuntu/
ocbtec has quit [Quit: leaving]
ta_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 276 seconds]
eshea_ has quit [Ping timeout: 260 seconds]
<pilne> tyvm :)
A124 has quit [Ping timeout: 260 seconds]
<Ox0dea> pilne: What sort of libraries are you left wanting for the sorts of things you've said you'd like to do?
kadoppe has quit [Ping timeout: 264 seconds]
<Ox0dea> I suspect Python doesn't have anything more "drop-in" than Ruby does for card AI or realistic cube solving.
rkazak has joined #ruby
<pilne> mostly things that would compare with numpy for using wierd/heavy math to simulate AI
<pilne> but I have only googled and poked around from work for a few hours, it's been quite hectic lately
<Ox0dea> That's an off-the-shell answer, I think.
<Ox0dea> *shelf
mnrmnaugh has joined #ruby
mnrmnaugh is now known as catpoop
<pilne> i guess? i'm relatively new again to coding after abandoning CS in college due to hating the java (1.2) they were shoving down my throat.
eshea__ has quit [Ping timeout: 260 seconds]
<Ox0dea> That sucks, but I'd be willing to wager your instructor was worse than the language.
gevans has quit [Remote host closed the connection]
<pilne> just looking to have fun with it, i'm pretty sure i won't notice the lack of that library for a long time if ever, but it was the first kinda thing that crossed my mind.
<pilne> in hindsight i will agree Ox0dea
CloCkWeRX has joined #ruby
mozzarel1 is now known as mozzarella
<pilne> but when yer young, male, surrounded by freedom and beautiful women... you don't have much patience for things that bother you...
<pilne> or at least i didn't LOL
<shevy> not sure how beautiful women can make up for a boring instructor
eshea has quit [Ping timeout: 276 seconds]
<pilne> they can distract from the instructor quite easily
gevans has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
johnmilton has quit [Remote host closed the connection]
<pilne> ah well, live and learn :) I'm not unhappy with where I've ended up, and I decided to take up coding as a mid-life crisis LMAO
baweaver has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
<Zipdot> you and me both, brother
<Zipdot> I am doing C#
hinbody has joined #ruby
<Zipdot> now that visual studio 2015 is free beer
FernandoBasso has quit [Remote host closed the connection]
<pilne> i've got a buddy trying to convince me to go that route, but i've spent a few years trying to move away from MS stuff myself
<shevy> hah
<shevy> they give you bash now!
<Zipdot> :)
<darix> pilne: you can do c# on linux too
<pilne> especially now since 7 will be dead in 4 years... and i can't stand 8 and 10.
<pilne> yeah i know, still iffy on it lol
spider-mario has quit [Remote host closed the connection]
<baweaver> Scala or Kotlin
<pilne> i've dipped my toes in less plesant things, but something about ruby just fascinates me
<Zipdot> I'll say this.... the visual studio IDE is hella impressive
<Zipdot> debugging is a joy
pawnbox has joined #ruby
<baweaver> Ruby for most scripting
<darix> pilne: about the library thing ... it is probably easy when you ask about specific libraries when you run into things
<darix> Zipdot: try the jetbrains stuff for IDEs
codezomb has joined #ruby
<pilne> that makes sense darix, i did come in quite broad....
charliesome has joined #ruby
malconis has joined #ruby
<pilne> i still do a lot in vim, no extras really yet, but i haven't written anything "intense" yet
<darix> pilne: there are some nice ruby related things for vim especially from tpope
<pilne> i will google and bookmark now :)
* darix is using pathogen now for managing vim plugins
<pilne> or just click
BSaboia has quit [Ping timeout: 252 seconds]
<Zipdot> ah, good ol' vim
<pilne> i got hooked on it when i flirted with gentoo when I had a roomie that was a linux addict back in college
<Ox0dea> darix: 8.0 will be shipping with a built-in package manager.
<pilne> live in IT guy that worked for (cheap) beer
<Ox0dea> pilne: Why didn't you marry it?
dopamean1 has joined #ruby
<pilne> lol
<darix> Ox0dea: about time ;)
<Ox0dea> pilne: I was being earnest?
<darix> pilne: i can say opensuse has a really good packaging for ruby. but i might be biased
<pilne> erm, was a same-gender roomie, and i'm not wired that way.
<darix> :p
<Ox0dea> pilne: I meant Gentoo.
<pilne> oohhhh because i never really learned it myself
pawnbox has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
Musashi007 has joined #ruby
<Ox0dea> So "flirted" there meant... watched some shit compile? ;P
<pilne> i just loved being able to rip mp3 while irc-ing, and downloading adult materials without any noticable slowdown.
<pilne> pretty much, he kept my system going
<pilne> and when his parents shipped him off the the Airforce after he dropped out, i went back to win2k
<pilne> lol
shinnya has quit [Ping timeout: 252 seconds]
malconis has quit [Ping timeout: 276 seconds]
<Ox0dea> Sad day.
antgel has quit [Ping timeout: 244 seconds]
Amnez777- has quit [Ping timeout: 244 seconds]
<pilne> but i'm pretty comfy with ubuntu now, but as i read more, i'm a bit irked by a few things about canonical, but i'm not quite sure of myself enough yet to move away from the stupidly easy to find answers to the shit i manage to bork up
<darix> Ox0dea: interesting question will be how much of neovim can flow back into vim.
<Ox0dea> darix: That's... pretty much what's happening?
<Ox0dea> Bram had that particular fire lit under him.
<pilne> neovim?
watersoul_ has quit [Remote host closed the connection]
<pilne> googling
<darix> Ox0dea: i had not much time to follow that. i started packaging neovim at some point. then someone took it over and i had to focus on other things
DLSteve has joined #ruby
watersoul has joined #ruby
watersoul has quit [Max SendQ exceeded]
<pilne> O.o this looks quite interesting
<Ox0dea> darix: I reckon the catalyst was his catching so much flak for refusing to upstream the async stuff coming out of Neovim.
Devalo has joined #ruby
<Ox0dea> He's Bram, so of course he rolled his own, and that's gone into 8.0.
kadoppe has joined #ruby
<darix> opensuse tumbleweed actually has neovim already
<darix> ah no ... still in staging. so soon
<pilne> has anyone read the kindle book on AI's with ruby?
diegoaguilar has joined #ruby
Alina-malina has joined #ruby
Amnez777 has joined #ruby
connor_goodwolf has quit [Ping timeout: 260 seconds]
Xeago_ has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
connor_goodwolf has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
cwenner has joined #ruby
Xeago_ has quit [Remote host closed the connection]
kadoppe has quit [Ping timeout: 248 seconds]
CausaMortis_ has quit [Ping timeout: 248 seconds]
<pilne> darix: may I PM about opensuse?
<darix> if it isnt too many questions ... it is late night here
<pilne> heh, then may I have a raincheck?
<pilne> lol
<pilne> i don't think i have a lot, but sometimes once i get started... lol
shakar has joined #ruby
<shakar> hello! does anyone know a simple way to bypass or deactivate rbenv in the context of a shell script?
Azure|dc is now known as Azure
<darix> shakar: call ruby with the full path?
<Ox0dea> >> p ObjectSpace.each_object(Class).count { |c| c.instance_methods.include? :<=> unless c < Comparable }
<ruby[bot]> Ox0dea: # => 310 ...check link for more (https://eval.in/553086)
<Ox0dea> I just don't get it. It's exactly like defining #each and not including Enumerable, isn't it?
<shakar> darix: that doesn't account for things like the gem path
<darix> shakar: #rbenv
watersoul has joined #ruby
<darix> one day the obsession with rbenv and friends hopefully will go away
<shakar> darix: there are two people in that chat and no topic.
LoneHerm_ has joined #ruby
<Ox0dea> shakar: Why do you want to bypass rbenv?
Sammichmaker has joined #ruby
cwenner has quit [Read error: No route to host]
mozzarella has quit [Remote host closed the connection]
<shakar> Ox0dea: there's a build script for metasploit, which works if rbenv is not loaded, but it get's all mixed up by the rbenv env set by files in the metasploit source checkout
WhoLettem has quit [Ping timeout: 250 seconds]
mozzarella has joined #ruby
shevy has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 244 seconds]
statelesscode has joined #ruby
shevy has joined #ruby
jdelaney has joined #ruby
<pilne> are things like rbenv bad though? I've always thought it prudent to isolate my "dev/fun" stuff from my "keeps the system running" stuff???
Antiarc is now known as Yamama
darkf_ has joined #ruby
<shakar> pilne: I like it, it works for me (at work). I just expected there to be a one-command way to turn it off
pawnbox has joined #ruby
FooMunki has joined #ruby
<pilne> I was more referring to darix's comment about "the obsession will fade"
darkf has quit [Ping timeout: 260 seconds]
Mia has quit [Read error: Connection reset by peer]
<aguynamedben> rbenv is the only way I roll
<darix> pilne: when ever someone comes here with a ruby problem ... the answer often starts with "install latest ruby via rbenv/chruby... "
<aguynamedben> with the dotenv gem
<darix> while often the distro ruby is fine
<shakar> well in case anyone's interested I think I solved my problem with: export PATH=/usr/bin:$(/usr/bin/ruby -rubygems -e "puts Gem.user_dir")/bin:$PATH
<Ox0dea> darix: What if they want Array#sum? :P
finisherr has quit [Quit: finisherr]
<darix> Ox0dea: zypper in ruby2.3
<darix> ?
<Ox0dea> darix: It's a 2.4 thing.
<darix> ah
<darix> doing 2.4 snapshot packages is probably not that hard
<darix> maybe something for the weekend
<shevy> pilne well you can ask yourself as to why things like rbenv may be needed
Musashi007 has quit [Quit: Musashi007]
pawnbox has quit [Ping timeout: 250 seconds]
<pilne> i always thought it would be to prevent gems that i want to use for "fun" from causing system issues
<pilne> or to use a newer version than what the official repos for ubuntu have