soheil has quit [Remote host closed the connection]
mocfive has quit [Ping timeout: 252 seconds]
<evaryont>
There is a way to get MyBase.big_function to work, right? https://gist.github.com/evaryont/9104855 Accessing an instance method of a module from a class method?
Sc0rp10n has quit [Quit: Leaving]
pietr0 has quit [Quit: pietr0]
kitak_ has joined #ruby
tziOm has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
soheil has joined #ruby
yarou has quit [Remote host closed the connection]
soheil has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
soheil has joined #ruby
soheil has quit [Remote host closed the connection]
<bnagy>
evaryont: yeah that does what I said ( define it twice )
fgo has joined #ruby
<bnagy>
just less clearly
<evaryont>
bnagy: ah, I figured you wanted me to copy & paste :P
angusiguess has joined #ruby
dx7 has quit [Ping timeout: 245 seconds]
<bnagy>
well if you have exactly the same code for your instance version and your module version then you are rubying wrong
snath has joined #ruby
soheil has joined #ruby
thumpba has quit [Remote host closed the connection]
agent_white has joined #ruby
<bnagy>
but yeah def self.foo... def foo ...
agent_white has quit [Client Quit]
Zunonia has joined #ruby
dingus_khan has quit [Remote host closed the connection]
soheil has quit [Read error: Connection reset by peer]
BBBThunda has quit [Ping timeout: 272 seconds]
sski has joined #ruby
<bnagy>
if you have utility methods that don't use any object state which you want exposed on a new class, chuck them in one module and extend that module onto the class
soheil has joined #ruby
<bnagy>
have includable methods in an includable module
soheil has quit [Remote host closed the connection]
kevind has quit [Quit: kevind]
speakingcode has joined #ruby
chipotle has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
soheil has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
thumpba has joined #ruby
<mostlybadfly>
could someone helpt to explain how the comparison <=> functions? i'm a bit confused
<mostlybadfly>
specifically when sorting through an array alphabetically
cmoylan has quit [Ping timeout: 245 seconds]
<mostlybadfly>
array.each { |x, y| x <=> y }
LexicalScope` has joined #ruby
<mostlybadfly>
oops, i meant array.sort!
soheil has quit [Remote host closed the connection]
soheil has joined #ruby
LexicalScope has quit [Ping timeout: 245 seconds]
dubsteph has quit [Ping timeout: 260 seconds]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
nerdgrass has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<centrx>
mostlybadfly, It returns -1, 0, or 1 depending on whether x is less than, equal to, or greater than, y
<mostlybadfly>
how does that affect say sorting through a list alphabetically. i'm a bit confused on that comparison with strings
<mostlybadfly>
thanks apeiros and bnagy I really appreciate the insight <3
marr has quit [Ping timeout: 246 seconds]
jonr22 has quit [Read error: Operation timed out]
sski has quit []
caveat- has quit [Ping timeout: 265 seconds]
sski has joined #ruby
francisfish has joined #ruby
x77686d has quit [Quit: x77686d]
germanstudent has joined #ruby
kennym has quit [Remote host closed the connection]
caveat- has joined #ruby
zachallett has joined #ruby
ptandel_ has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
burgess is now known as burgess|afk
apeiros has joined #ruby
francisfish has quit [Ping timeout: 272 seconds]
sassamo has joined #ruby
freezey has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
jlast has joined #ruby
zachallett has quit [Ping timeout: 246 seconds]
mojo619 has joined #ruby
nihils has joined #ruby
danshultz has joined #ruby
sassamo has quit [Ping timeout: 245 seconds]
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
kennym has joined #ruby
nichtdiebohne has quit [Ping timeout: 260 seconds]
joelroa has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
soheil has quit [Remote host closed the connection]
pwh has joined #ruby
ephemerian has quit [Quit: Leaving.]
monkegjinni has joined #ruby
x77686d has joined #ruby
jonah_k has quit [Remote host closed the connection]
burgess|afk has quit [Quit: ^zzz]
aspires has quit []
pranny has joined #ruby
Vovko has quit []
jbueza has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
joelroa_ has joined #ruby
inahandizha has joined #ruby
monkegjinni has quit [Read error: Operation timed out]
sdwrage has quit [Quit: This computer has gone to sleep]
Xiti has joined #ruby
vlad_starkov has joined #ruby
stonevil has quit [Quit: Computer has gone to sleep.]
amclain has joined #ruby
joelroa has quit [Ping timeout: 245 seconds]
cpruitt has joined #ruby
pranny has quit [Ping timeout: 240 seconds]
inahandizha has left #ruby [#ruby]
tcopp_ has joined #ruby
_reset has joined #ruby
prc has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
reset has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
tungd has joined #ruby
vlad_starkov has quit [Ping timeout: 272 seconds]
_reset has quit [Ping timeout: 246 seconds]
joelroa_ has quit [Ping timeout: 245 seconds]
kennym has quit [Remote host closed the connection]
freggles has quit [Remote host closed the connection]
jonnyro has quit [Quit: leaving]
zackattack has joined #ruby
zackattack has left #ruby [#ruby]
angusiguess has joined #ruby
benzrf has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
what the heck is modruby.net
codeFiend has joined #ruby
io_syl has quit [Remote host closed the connection]
cassioscabral has joined #ruby
io_syl has joined #ruby
ffranz has quit [Quit: Leaving]
veduardo1 has left #ruby [#ruby]
axsuul has quit [Read error: Connection reset by peer]
<cassioscabral>
people, please help. I need to send a mail using simple form on my html and I don't to use PHP, I found the Pony gem but I can't find how to get the data from the html form.
jonah_k has joined #ruby
axsuul has joined #ruby
<benzrf>
...use a web framework?
[krisbulman] is now known as krisbulman
cashnguns has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 248 seconds]
pranny has joined #ruby
<cassioscabral>
I have a static website and don't want to install rails, it is too much for such a simple task
<cassioscabral>
could you give me some options ?
io_syl has quit [Ping timeout: 245 seconds]
TripTastic has quit [Read error: Connection reset by peer]
<centrx>
cassioscabral, Sinatra of course is popular as a non-Rails framework
<bnagy>
sinatra is pretty awesome for a quick static site. Docs are good.
<bnagy>
just make sure it doesn't use whatever the default, retarded server is
firefly2013 has quit [Read error: Connection reset by peer]
krisbulman is now known as [krisbulman]
<slowcon>
hey guys, just using bundler for the first time. i ran the init in my project folder, copied the requires from my script to the gem file and then did a bundle install. all i have to do now is require "rubygems"?
Mongey has quit [Quit: Mongey]
<centrx>
I am pretty sure you still have to require the gems
<centrx>
bundler is for installing gems, pinning versions, distributing, etc.
<slowcon>
oh damn, i guess I'm thinking about it the wrong way. this just keeps version numbers static and other gems updated?
<slowcon>
i see
nerdgrass has quit [Ping timeout: 246 seconds]
<slowcon>
is there anything to do what i want? or would that be silly
JBreit has joined #ruby
<cassioscabral>
I'm looking for the simplest way of doing this. I'm serving a static website with nginx and there I have a form that should send a email. I'm used to Rails, but in that case I only need this sending mail function. What do I need to do to make that work ? If I use something "big" like Rails(don't know about Sinatra) would only be a waste of my server.
dmyers has joined #ruby
mushky has quit [Quit: mushky]
tylersmith has joined #ruby
dmyers has quit [Client Quit]
vlad_starkov has joined #ruby
<centrx>
slowcon, What do you want?
<bnagy>
if it has a form that sends email it's not really a static site
stonevil has joined #ruby
* centrx
is not sure how Rails would waste a server
<bnagy>
but that sounds easy to do with sinatra, for example, don't know about sinatra/nginx
Mongey has joined #ruby
<bnagy>
get form, use params, find an email gem
<slowcon>
centrx: just something that combines all your gems and you call that file. dumb i know
<pontiki>
sinatra is an easy rack app setup, can use thin
<bnagy>
get used as a spam relay, get shut down
cpruitt has quit [Quit: cpruitt]
<pontiki>
then just proxy from nginx
<centrx>
slowcon, Make a file called "combine_all_my_gems_here_and_require_this_file.rb"
vlad_starkov has quit [Read error: Connection reset by peer]
<slowcon>
centrx: agh damn. so i guess i could make a file and put the gem requires in there as well as the cookie jar code that logs me in
<slowcon>
centrx: and just call that file in all my scripts
<centrx>
Yes
Kricir has joined #ruby
sassamo has joined #ruby
mib_mib has joined #ruby
<mib_mib>
hi all - how would i unique an array that i want to be unique with 2 different conditions?
<cassioscabral>
Thanks, but I will have to surrender to PHP, with sinatra or rails I would have to start a app, listen to that port and stuff like that, the problem is that would have a cost to be constant online. Using php I would only call for a function when someone clicked on the "send mail" button. And would be using my nginx server only.
Jdubs has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
<mib_mib>
for instance, if i have an array of arrays, where each interanl array is [a,b,c,d,e], and i want to first unique across a b c then unique across a c e - is it possible to do this in one .uniq { ..someting goes here ...} statement?
Kricir has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
Kricir has joined #ruby
msmith has joined #ruby
<mib_mib>
centrx: ah nice
codeFiend has quit [Quit: codeFiend]
cpruitt has quit [Quit: cpruitt]
sorpaas has joined #ruby
firefly2013 has quit [Read error: Connection reset by peer]
<shevy>
is it possible to use rack like cgi?
<shevy>
right now this does not seem to be the case because I don't seem to be in control over the specific output alone - I am forced to return a string (for the body content), so I must build up to that string, whereas in .cgi I can output string after string after processing how I see fit
Kricir has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
andy has joined #ruby
MatthewsFace has joined #ruby
Zunonia has quit [Quit: Computer has gone to sleep.]
<benzrf>
shevy: you can return anything that replies to #each with lines i think
cherrypeel has left #ruby [#ruby]
v0n has joined #ruby
<budrose>
I am using "scan" to grab every n elements of a string and group them into buckets. Is there any way to make this more dynamic. IE. if I pass in the method argument "3" it will translate into string.scan(/.../) or "5" -> string.scan(/...../)?
ilyam has quit [Quit: ilyam]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
dx7 has quit [Ping timeout: 245 seconds]
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
<shevy>
hmm
<shevy>
benzrf ok but I guess I still need to return all in one
<benzrf>
no u dont!
<shevy>
hmm
<centrx>
budrose, What is the actual code, a bunch of dots?
<benzrf>
just use yield ofc
joelroa has joined #ruby
<centrx>
budrose, You can use /#{"." * 3}/
<benzrf>
that is how each works
joelroa has quit [Max SendQ exceeded]
<benzrf>
shevy: each should take a block and yield lines to it iirc
<budrose>
centrx: that works. thanks :)
Hobogrammer has joined #ruby
mlpinit has quit [Quit: Leaving...]
Hobogrammer_ has joined #ruby
nathancahill has quit [Quit: nathancahill]
jonah_k has quit [Read error: Connection reset by peer]
sensen has joined #ruby
Kricir has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Hobogrammer has quit [Ping timeout: 245 seconds]
<bnagy>
uh, or just .{n} which is what {} is there fore :)
<bnagy>
*for
nathancahill has joined #ruby
<centrx>
Good point
armyriad has quit [Read error: Connection reset by peer]
<bnagy>
oh.. except you know, still need to interpolate :<
armyriad has joined #ruby
trautwein has joined #ruby
krz has joined #ruby
jcs222_ has joined #ruby
sdwrage has joined #ruby
jcs222 has quit [Read error: Connection reset by peer]
codenapper has quit [Ping timeout: 260 seconds]
angusiguess has joined #ruby
Zunonia has quit [Ping timeout: 246 seconds]
nism has joined #ruby
jonah_k has joined #ruby
aspires has joined #ruby
Kricir has quit [Remote host closed the connection]
<stupidystupid>
hi everyone im learning ruby and i have a basic question..
alexherbo2 has joined #ruby
<benzrf>
go on
<centrx>
Tell me more...
<stupidystupid>
im a new programmer in general, i know a bit of python and a bit of C. im doing the ruby module on code academy. it keeps referring to functions as methods ... and the book im reading seems to use the term interchangably as well.
mikepack has joined #ruby
<stupidystupid>
i was wondering if there is a specific reason for this, if there is something fundamental that separates ruby's "methods" from C and Python's "functions"... or if its just a convention
<bahar>
hey guys! do any of you use eye || god?
<benzrf>
a method is basically a function that is a member of an object
petey has quit [Remote host closed the connection]
jonah_k has quit [Remote host closed the connection]
<benzrf>
since all functions in ruby are methods, they're usually called methods
petey has joined #ruby
<stupidystupid>
benz, thats kind of how i took the term to mean when python uses it- functions are referred to as functions, and methods are functions that are defined in a class
yacks has joined #ruby
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby
TheMoonMaster has joined #ruby
TheMoonMaster has quit [Changing host]
<benzrf>
to be precise methods are functions that 'live inside' an object
<benzrf>
in python, functions defined outside of classes are usually not methods
<stupidystupid>
but if i write something like, def my_function, puts "im a function", end, how the hell is that a method? its not attached to any object
axsuul has quit [Ping timeout: 245 seconds]
<benzrf>
yes it is
wallerdev has joined #ruby
<benzrf>
it is attached to the top-level 'main' object
<benzrf>
remember, 'foo()' is the same as 'self.foo()' in ruby
<stupidystupid>
whats the main object?
<benzrf>
(except that the former will work for private methods while the latter wont)
<benzrf>
stupidystupid: it's the value of self at the top level
InFlames has quit [Quit: This computer has gone to sleep]
msmith has joined #ruby
Findegil has joined #ruby
dingus_khan has joined #ruby
thomasxie has left #ruby [#ruby]
jlast has quit [Ping timeout: 265 seconds]
<RubyPanther>
Nyyx: "C program?"
x77686d has quit [Quit: x77686d]
burlyscudd has quit [Quit: Leaving.]
InFlames has joined #ruby
<Nyyx>
RubyPanther: rake is a multi language build tool...
diegoviola has quit [Ping timeout: 245 seconds]
carif has joined #ruby
InFlames has quit [Client Quit]
<boom__>
anyone help explain the &action or the purpose of it's function?
dik_dak has joined #ruby
<RubyPanther>
No, rake is a Ruby automation tool
<RubyPanther>
rake doesn't actually know anything about building anything. It just groups and runs tasks
yasushi has joined #ruby
Wolland has joined #ruby
<bnagy>
boom__: it's just for when you want to get a ref to a block that's passed as a method argument
<bnagy>
like def foo &blk; blk.call #or whatever
<RubyPanther>
a C "program" should be using autoconf IMO. rake is fine... for building a gemspec, if you haven't learned bundler yet.
<boom__>
is it to call it outside of the method?
msmith has quit [Remote host closed the connection]
<bnagy>
uh well method args are all local scope
msmith has joined #ruby
<bnagy>
it's mainly if you want to pass it around for some reason, otherwise you can just yield
sambao21 has joined #ruby
<bnagy>
or if you have some reason for wanting the blk.call to be very explicit
ilyam has joined #ruby
diegoviola has joined #ruby
aspires has quit []
vlad_starkov has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
subbyyy has quit [Ping timeout: 245 seconds]
lolmaus has quit [Read error: Operation timed out]
lolmaus has joined #ruby
InFlames has joined #ruby
max_ has joined #ruby
mib_mib has quit [Ping timeout: 245 seconds]
max_ is now known as Synthead
stonevil has joined #ruby
[krisbulman] is now known as krisbulman
shadoi has quit [Quit: Leaving.]
evilbug has joined #ruby
sassamo has quit [Read error: Connection reset by peer]
sassamo has joined #ruby
dseitz has joined #ruby
asteros has joined #ruby
stonevil has quit [Ping timeout: 245 seconds]
Synthead has quit [Ping timeout: 260 seconds]
msmith has quit [Remote host closed the connection]
msmith has joined #ruby
androbtech_ is now known as androbtech
sambao21 has quit [Quit: Computer has gone to sleep.]
michelleglauser has joined #ruby
<michelleglauser>
Hello, I'm helping a friend install jekyll and we're having trouble getting all the right dependencies. Ruby and RubyGems are installed. We've downloaded the devkit, but when we try to run ruby dk.rb install, the system cannot find the RubyGems. Should we just move the downloaded RubyGems to the location it's looking for, and if so, where is that?
msmith has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
<boom__>
michelle, what does your gemfile look like?
<michelleglauser>
I guess I should mention that we're using Windows7 (I'm a Mac person myself, so I don't think I'm very helpful). The gem file is currently at C:\Ruby200-x64\bin
yasushi has quit [Remote host closed the connection]
cj3kim has quit [Remote host closed the connection]
Erenzie has left #ruby [#ruby]
Synthead has joined #ruby
wallerdev has quit [Quit: wallerdev]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
danshultz has joined #ruby
momomomomo has quit [Quit: momomomomo]
<bnagy>
michelleglauser: if you're having trouble, I'd suggest using the 1.9 rubyinstaller / devkit
sdwrage has quit [Quit: This computer has gone to sleep]
danshultz has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
<michelleglauser>
Thanks, bnagy.
krisbulman is now known as [krisbulman]
mojo619 has quit [Quit: mojo619]
<slowcon>
I'm having a little trouble getting cookie jar to work. i run the script to login to the website and all goes well. i run a search through mechanize to check for the "Welcome user!" text and it appears. i made a 2nd script that has the (cookie_jar.load) script in it that is supposed to load the cookie so i don't have to log in again, but page is not returning the welcome text.
Steve445 has joined #ruby
joelroa has joined #ruby
venkat has quit [Remote host closed the connection]
mgberlin_ has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
yarou has quit [Remote host closed the connection]
<bnagy>
slowcon: you'll often do better with webby questions in the specific channels for them, eg #rubyonrails
tcopp_ has joined #ruby
<slowcon>
even though I'm not on rails?
venkat has joined #ruby
mgberlin has joined #ruby
<bnagy>
based on whatever thing you're using
sdwrage has joined #ruby
tcopp_ has quit [Ping timeout: 260 seconds]
joelroa has quit [Read error: Operation timed out]
Wolland has quit []
DanBoy has quit [Ping timeout: 240 seconds]
michael_mbp has quit [Ping timeout: 272 seconds]
speaking1ode has joined #ruby
mgberlin has quit [Ping timeout: 248 seconds]
speaking1ode has quit [Client Quit]
DanBoy has joined #ruby
Hamled has quit [Ping timeout: 272 seconds]
Hamled has joined #ruby
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
jlast has joined #ruby
michael_mbp has joined #ruby
aspires has joined #ruby
pranny has quit [Quit: Leaving.]
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
wallerdev has joined #ruby
chipotle has joined #ruby
natas_ has joined #ruby
InFlames has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 260 seconds]
Findegil has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has quit [Ping timeout: 260 seconds]
boom__ has quit [Ping timeout: 248 seconds]
boom__ has joined #ruby
andy has quit [Remote host closed the connection]
andy has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
NoMethodError has joined #ruby
vlad_starkov has joined #ruby
AlexRussia has joined #ruby
makara has joined #ruby
andy has quit [Read error: Connection reset by peer]
andy__ has joined #ruby
sailias has joined #ruby
fgo has joined #ruby
NoMethodError is now known as tc_greg
vlad_starkov has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
sailias has quit [Remote host closed the connection]
Xuisce has quit [Quit: Adios]
sailias has joined #ruby
wallerdev has quit [Quit: wallerdev]
michelleglauser has left #ruby [#ruby]
korzybski has quit [Quit: korzybski]
lolmaus has quit [Quit: No Ping reply in 180 seconds.]
lolmaus has joined #ruby
i8igmac has quit [Ping timeout: 265 seconds]
sparrovv has joined #ruby
freerobby has quit [Quit: Leaving.]
iamdoo2 has quit []
yohanobs_ has joined #ruby
dx7 has joined #ruby
JasmeetQA has joined #ruby
sparrovv has quit [Ping timeout: 248 seconds]
jack_rabbit has quit [Read error: Operation timed out]
tc_greg has quit []
yfeldblum has quit [Remote host closed the connection]
sawtooth has quit [Ping timeout: 248 seconds]
sawtooth has joined #ruby
francisfish has joined #ruby
dx7 has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
kitak_ has quit [Ping timeout: 245 seconds]
sailias has quit [Ping timeout: 245 seconds]
MplsGreg has joined #ruby
Jetchisel has quit [*.net *.split]
gstamp has quit [*.net *.split]
eshy has quit [*.net *.split]
karupanerura has quit [*.net *.split]
cibs has quit [*.net *.split]
francisfish has quit [Ping timeout: 260 seconds]
blaxter has quit [Ping timeout: 272 seconds]
makara has quit [Read error: Connection reset by peer]
carif has quit [Read error: Operation timed out]
derek_c has quit [Quit: Leaving]
kitak_ has joined #ruby
Jetchisel has joined #ruby
gstamp has joined #ruby
karupanerura has joined #ruby
cibs has joined #ruby
eshy has joined #ruby
aspires has quit []
wallerdev has joined #ruby
aspires has joined #ruby
mikepack has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
mikepack has joined #ruby
jack_rabbit has joined #ruby
funburn has quit [Quit: funburn]
Hobogrammer_ has quit [Ping timeout: 248 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
MatthewsFace has joined #ruby
vlad_starkov has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
banister has joined #ruby
monkegjinni has joined #ruby
mikepack has quit [Ping timeout: 248 seconds]
Vivekananda has quit [Ping timeout: 252 seconds]
Hobogrammer_ has joined #ruby
Hobogrammer has quit [Ping timeout: 240 seconds]
blaxter has joined #ruby
sensen has quit [Ping timeout: 252 seconds]
mgberlin has joined #ruby
Hobogrammer has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
monkegjinni has quit [Ping timeout: 272 seconds]
Hobogrammer_ has quit [Ping timeout: 260 seconds]
Synthead has quit [Ping timeout: 260 seconds]
yasushi has joined #ruby
sassamo has quit [Ping timeout: 260 seconds]
joelroa has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
yasushi has quit [Ping timeout: 248 seconds]
lurch_ has joined #ruby
nisstyre has quit [Ping timeout: 246 seconds]
rippa has joined #ruby
joelroa has quit [Ping timeout: 265 seconds]
JasmeetQA1 has joined #ruby
MplsGreg has quit [Remote host closed the connection]
jack_rabbit has quit [Read error: Operation timed out]
lurch_ has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JasmeetQA has quit [Read error: Connection reset by peer]
banister has joined #ruby
dzhulk has joined #ruby
aspires has quit []
Azure has quit [Quit: My MBP went to sleep.]
anarang has joined #ruby
nathancahill has quit [Quit: nathancahill]
jlast has joined #ruby
ehaliewicz has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
mary5030 has joined #ruby
Azure has joined #ruby
sensen has joined #ruby
jlast has quit [Read error: No route to host]
yohanobs_ has quit [Remote host closed the connection]
jlast has joined #ruby
_HolyCow has quit [Read error: Connection reset by peer]
budrose has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
foooobear has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
lolmaus has quit [Ping timeout: 252 seconds]
venkat has quit []
Mongey has quit [Quit: Mongey]
jlast has quit [Ping timeout: 252 seconds]
nathancahill has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
korzybski has joined #ruby
firefly2013 has quit [Quit: Leaving.]
AlexRussia has joined #ruby
io_syl has quit []
shadoi has joined #ruby
jack_rabbit has joined #ruby
mgberlin has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 248 seconds]
sdwrage has joined #ruby
weie has joined #ruby
yfeldblum has joined #ruby
shadoi has quit [Ping timeout: 264 seconds]
Atw has quit [Ping timeout: 240 seconds]
Hobogrammer has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
mengu has joined #ruby
joelroa has joined #ruby
dzhulk has quit [Read error: Connection reset by peer]
dzhulk has joined #ruby
ayaz has joined #ruby
_HolyCow has joined #ruby
vlad_starkov has joined #ruby
nisstyre has joined #ruby
Synthead has joined #ruby
kushalk124 has joined #ruby
jonah_k has quit [Remote host closed the connection]
MplsGreg has joined #ruby
jonah_k has joined #ruby
AlexRussia has quit [Ping timeout: 272 seconds]
closures999 has joined #ruby
CaptainJet has quit []
mercwithamouth has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
monkegjinni has joined #ruby
Synthead has quit [Ping timeout: 248 seconds]
noop has joined #ruby
ilyam has quit [Quit: ilyam]
stonevil has joined #ruby
MplsGreg has quit [Ping timeout: 272 seconds]
tagrudev has joined #ruby
havenwood has joined #ruby
JasmeetQA has joined #ruby
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby
JasmeetQA1 has quit [Ping timeout: 240 seconds]
MplsGreg has joined #ruby
blaxter_ has joined #ruby
Mon_Ouie has quit [Ping timeout: 260 seconds]
monkegjinni has quit [Remote host closed the connection]
agjacome has joined #ruby
<Steve445>
anyone use Gitlab or GitHub for tracking the amount of time spent on Issues or Code Commits? Meaning logging the number of hours that are spent on issue or code commits?
monkegjinni has joined #ruby
<boom__>
No steve, but that isn't a bad idea
Hobogrammer has quit [Ping timeout: 260 seconds]
<Steve445>
Looking for use cases of repos coming up with a way to track time
MplsGreg has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
<Steve445>
If you come across any repos that do any sort of time tracking whether through milestones, issues, commits, labels, syntax, markdown, etc. PLEASE post it on the issue queue
dik_dak has quit [Quit: Leaving]
Kneferilis has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
bal has joined #ruby
echevemaster has quit [Quit: Leaving]
<j416>
Steve445: interesting concept. 1) Using the time log row as the subject is ugly; 2) I'm guessing :clock: may bit long to type
<j416>
I'd want it out of the way, last or so in the commit, separated by newline
<j416>
(blank line)
burgess has joined #ruby
<Steve445>
I added code commits support for completeness.... But frankly people should not be logging time against code commits
<Steve445>
just does not work well in PM practice
<j416>
just my thought
dvorak has joined #ruby
<Steve445>
And yes agree. With a little tweak it can be made to show up in any spot in the comment
<j416>
only if you log time separately and then know the commit structure you'll be using
<j416>
I doubt most people are that ocd, to know that
<Steve445>
It makes the code a little more compilex. But it was in a earlier iteration. It was removed for standardization purposes. To have a common syntax
<j416>
(and remember to log time that way)
<Steve445>
better to have "Issues" that you log time against, and you can reference the issue in the code commit
<Steve445>
(which is already standard practice to ref issues in code commits)
<j416>
exactly
nfk has joined #ruby
axsuul has joined #ruby
<Steve445>
:). the Code Commit feature i only really added so it can do it. But frankly i think its really bad practice to log time against a code commit
oso96_2000 is now known as oso|away
<j416>
it makes it part of the repo, that's the only benefit I see
emanu has joined #ruby
<j416>
in either case, subject line is off limits
<Steve445>
in the code commit/Git Commit
<Steve445>
agreed
natas_ has quit [Quit: This computer has gone to sleep]
thomasxie has joined #ruby
mengu has quit [Remote host closed the connection]
<emanu>
hey guys, I'm trying to run a script that git clones 5 repos, and runs 'bundle install' in each one of the folders, but when I do a Dir.chdir and run system 'bundle install', it installs the gems listed in the running script's Gemfile. Any idea how to pull this off?
<j416>
:)
jlast has joined #ruby
<Steve445>
j416 if you would like to post a issue in the queue that would be appreciated!
<emanu>
am I being crazy?
<j416>
Steve445: I'll try to remember; I'm off to work now though o/
<j416>
gl
<Steve445>
ha ha :)
<Steve445>
sounds good
<benzrf>
emanu: i feel like theres probably a bundler api anyway
tungd has quit [Read error: No route to host]
<emanu>
meaning I can bundle install a folder's gem file from a ruby script?
marr has joined #ruby
joelroa has quit [Ping timeout: 245 seconds]
<benzrf>
probly
jlast has quit [Ping timeout: 265 seconds]
<emanu>
out, hard to find... :(
mengu has joined #ruby
korzybski has quit [Quit: korzybski]
OdNairy has joined #ruby
closures999 has quit [Read error: Connection reset by peer]
closures999 has joined #ruby
dx7 has joined #ruby
Steve445 has quit [Quit: Steve445]
thomasxie has quit [Remote host closed the connection]
thomasxie has joined #ruby
Ch4rAss has joined #ruby
closures999 has quit [Read error: Connection reset by peer]
dx7 has quit [Ping timeout: 240 seconds]
closures999 has joined #ruby
ocx32 has joined #ruby
<ocx32>
hi all! i need to make my ruby an executable on linux, means need to run independantly if ruby is installed on system or not how can i do that!
<ocx32>
thanks
Steve445 has joined #ruby
klaut has joined #ruby
jhass|off is now known as jhass
<centrx>
ocx32, You might be able to use mruby to do it
<havenwood>
mruby was my thoughts too
<ocx32>
it will literally compile the code?
<centrx>
"You can also compile Ruby programs into compiled byte code using the mruby compiler "mrbc". The "mrbc" is also able to generate compiled byte code in a C source file."
<dseitz>
Why can't Ruby be installed....
<havenwood>
ocx32: For example, here's a fizzbuzz in mruby compiled to a C bytecode array, wrapped in a bit of C, then compiled to an executable that doesn't require a Ruby VM: https://github.com/havenwood/mruby-fizzbuzz
sdwrage has quit [Quit: This computer has gone to sleep]
<havenwood>
ocx32: Or ship your code with JRuby. ;P
<pipework>
havenwood: For chruby, what do I set at the RUBY_ENGINE environment variable?
Vivekananda has joined #ruby
koell has joined #ruby
tziOm has quit [Ping timeout: 252 seconds]
<havenwood>
pipework: ruby
abk has joined #ruby
sikor_sxe has joined #ruby
<ocx32>
cool so bin/jruby myapp.rb will generate a java bytecode that i can execute
<pipework>
havenwood: Ah cool. How do you switch, do you use a .ruby-version file and just `export RUBY_ENGINE=ruby; mruby`?
Xeago has quit [Remote host closed the connection]
<pipework>
Or do you just pass it by hand, or do you keep it in your env?
<havenwood>
pipework: oh, you mean for mruby! i thought that was an odd question.. sorry, i'm super tired and my brain is failing..
Ch4rAss has quit [Ping timeout: 260 seconds]
<pipework>
havenwood: Yeah, sorry. I didn't preface with a good context.
<havenwood>
pipework: They just added RUBY_ENGINE to mruby (after the 1.0 release)
<pipework>
havenwood: But it's required to be set before chruby lets me switch to it.
AxonetBE has joined #ruby
Ch4rAss has joined #ruby
renklaf has joined #ruby
newleaf has joined #ruby
<havenwood>
pipework: oh, my bad - yeah, they added RUBY_VERSION not RUBY_ENGINE
tziOm has joined #ruby
<pipework>
havenwood: So I need to provide it in my environment first. How do you generally set yours? For playing around I just exported the engine variable and then switched to mruby.
<havenwood>
or was it RUBY_ENGINE that was real recent, i just can keep it straight
<pipework>
I'd think if I had an mruby project, I'd probably just export the variable in .ruby-version
monkegjinni has quit [Remote host closed the connection]
<pipework>
as well as select mruby, of coarse. (har har)
closures999 has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
<havenwood>
pipework: I do the same. Ah, yeah I do it manually but interesting idea to export.
koell has quit [Quit: So say we all!]
andy has quit [Remote host closed the connection]
closures999 has joined #ruby
<pipework>
I totally read "001 OP_STOP" as "001 OH_STAHP"
certainty has joined #ruby
koell has joined #ruby
gja has joined #ruby
<havenwood>
pipework: okay, i'm not losing my mind - they really did recently add RUBY_ENGINE
<shevy>
here is the error pipework: /usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/requirement.rb:72:in `parse': Illformed requirement [">= 0"] (ArgumentError)
<benzrf>
yo
<shevy>
die benzrf
<shevy>
oops
<shevy>
hi benzrf
<benzrf>
why would somebody not have a pry command after running gem install pry
<ocx32>
lol
<shevy>
well perhaps an error happened
<benzrf>
it instald
<shevy>
I failed to install sinatra yesterday at work
<havenwood>
pipework: seemed good to get it into ruby-install asap so we can hit these, report em, and they fix em. It isn't hard to just git clone mruby, make and move the folder to ~/.rubies or wherever you prefer.
<certainty>
not in your PATH
<benzrf>
shevy i find your desire for the death of minors disturbing
<shevy>
because of a rdoc error :(
<shevy>
benzrf you deserve it
<shevy>
it'll only get worse as you get older, better finish early than later or never :)
<pipework>
Besides, go to #jruby and get help there.
<havenwood>
shevy: see, what did i tell you about documentation! :P
jlast has joined #ruby
ahawkins has joined #ruby
* havenwood
mutters something about rdoc.
ianfleeton has joined #ruby
<pipework>
havenwood: Yeah, so I'm working on game development with a friend who just needs a pair to get motivation and work with, so I get to learn a lot of awesome things from her for free just by being present. She's teaching me everything from C++ to how to building actual game engines, even AI.
<havenwood>
pipework: sweet
<pipework>
We'll be embedding lua soon so I can learn how to do that and expose C functions into lua and whatnot.
<pipework>
I want to learn how to do it with mruby too!
pr1x_ has quit [Read error: Operation timed out]
jlast has quit [Read error: No route to host]
joelroa has quit [Ping timeout: 260 seconds]
<havenwood>
mruby \o/
jlast has joined #ruby
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pr1x has joined #ruby
Rickmasta has joined #ruby
jefflyne has joined #ruby
dingus_khan has quit [Remote host closed the connection]
<pipework>
havenwood: My first game with her was tictactoe. Ruby versus pythons!
subbyyy has joined #ruby
bal has quit [Read error: Connection reset by peer]
stonevil has quit [Quit: Computer has gone to sleep.]
<axilaris>
kernel_require.rb:55:in `require': cannot load such file -- tesseract (LoadError)
AlexRussia has joined #ruby
LRN has left #ruby [#ruby]
dx7 has joined #ruby
<rjhunter>
axilaris: how did you install the gem?
Atrumx has quit [Quit: Leaving]
<axilaris>
i didnt install anythign
<axilaris>
just git clone
<axilaris>
and go into the bin directory
stonevil has joined #ruby
<axilaris>
and execute just that
<axilaris>
is there something i should do
<axilaris>
sorry im ignorant on ruby
klaut_ has quit [Remote host closed the connection]
<axilaris>
gem install tesseract ?
sk87 has joined #ruby
barratt has joined #ruby
<axilaris>
done
<axilaris>
still cannot
tziOm has quit [Ping timeout: 246 seconds]
<axilaris>
installation for tesseract was successful
m1lt0n has joined #ruby
<jhass>
the gem you try to use is called tesseract-ocr, so gem install that
dx7 has quit [Ping timeout: 265 seconds]
<axilaris>
oh ok
andy__ has joined #ruby
<axilaris>
just a question after installations, where do they go ... which directories the ruby files and binaries goes ?
sparrovv has joined #ruby
<axilaris>
in mac if you know
<jhass>
and since tesseract is not a dep of it I'd gem uninstall it to avoid conflicts
<rjhunter>
axilaris: `gem install tesseract-ocr` then once it installs successfully, just run `tesseract` (don't cd anywhere, it should be in your path once installation completes)
<axilaris>
ok
<rjhunter>
axilaris: you can use `gem env` to see which "executable directory" that your particular ruby uses
<axilaris>
ruby-2.1.0/gems/ffi-inline-0.0.4.3/lib/ffi/inline/compilers/gcc.rb:35:in `compile': compile error: see logs at /var/folders/kn/3yv3c00x0ms740g_8p4xpypm0000gn/T/.ffi-inline-501/b1d9f0795e587aad2ea988a39c4c9f6bf2b07cc3.log (CompilationError)
<axilaris>
maybe this gem not compatible with my ruby version
decoponio has joined #ruby
andy__ has quit [Ping timeout: 252 seconds]
benzrf has quit [Quit: zzz]
tesuji has joined #ruby
<rjhunter>
axilaris: possibly... those logs might tell you what it tried.
jlast has quit [Ping timeout: 245 seconds]
axsuul has joined #ruby
<rjhunter>
you may be missing some libraries
<rjhunter>
the readme suggests `leptonica` and `tesseract`
<rjhunter>
(if you're using Homebrew, you can `brew install leptonica tesseract`)
<ocx32>
any idea? /usr/local/lib/ruby/gems/1.9.1/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in `replace': can't modify frozen String (RuntimeError) from /usr/local/lib/ruby/gems/1.9.1/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in `<top (required)>'
popl has quit [Ping timeout: 265 seconds]
klaut has joined #ruby
tziOm has joined #ruby
firefly2013 has joined #ruby
ianfleeton has joined #ruby
nerdman has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
ghr has joined #ruby
ghr has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby
burgess has quit [Quit: ^zzz]
tziOm has quit [Ping timeout: 252 seconds]
[gmi] has joined #ruby
hiall has quit [Quit: hiall]
mehlah has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Matriks has quit [Remote host closed the connection]
MplsGreg has joined #ruby
wm3|away has joined #ruby
Findegil has joined #ruby
rezzack has joined #ruby
monkegjinni has joined #ruby
ianfleeton has quit [Quit: ianfleeton]
coderhs has quit [Ping timeout: 248 seconds]
intuxicated has quit [Read error: No route to host]
lurch_ has joined #ruby
ianfleeton has joined #ruby
MplsGreg has quit [Ping timeout: 260 seconds]
blaxter has quit [Disconnected by services]
blaxter_ is now known as blaxter
LinuxThrasher has joined #ruby
blaxter_ has joined #ruby
_bart has joined #ruby
locsmif has joined #ruby
lyanchih has joined #ruby
elaptics`away is now known as elaptics
lyanchih has quit [Client Quit]
coderhs has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
Mongey has joined #ruby
elaptics is now known as elaptics`away
itadder has joined #ruby
wm3|away has quit [Ping timeout: 240 seconds]
wm3|away has joined #ruby
tziOm has joined #ruby
elaptics`away is now known as elaptics
TMM has joined #ruby
kaliya has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Findegil has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mehlah has joined #ruby
mengu has quit [Remote host closed the connection]
madbytes has joined #ruby
<madbytes>
I'm compiling ruby on my linode. It gives error : "array.c:5556: fatal error: error writing to /tmp/cc7XWMJq.s: No space left on device" I did df /tmp and its 0% used. What's wrong?
<madbytes>
It terminates while compiiling array.c
<jhass>
you're probably out of memory
prc has joined #ruby
wm3|away has quit [Ping timeout: 248 seconds]
<madbytes>
jhass, df /tmp and df -i /tmp shows i've lots of space!
<reso>
hi, I am a ruby beginner if I follow a course that covers Ruby 1.8, 1.9 or 2.0 will it be ok ?.
phansch has joined #ruby
<apeiros>
reso: sure. though 1.8 is dead and IMO they could save the time about 1.8 specifics.
ianfleeton has joined #ruby
mojjojo has quit [Quit: mojjojo]
mojjojo has joined #ruby
<reso>
apeiros: I've asked the instructor he said that It covers all the main features of Ruby and is suitable for anyone learning Ruby 1.8, 1.9 or 2.0.
relix has joined #ruby
<apeiros>
reso: ok. sounds sensible.
nism has joined #ruby
<reso>
aspiers: thank you
sski has quit [Ping timeout: 260 seconds]
<aspiers>
I think you mean apeiros ;-)
monkegjinni has quit [Remote host closed the connection]
mehlah has quit [Read error: Connection reset by peer]
<Fractional>
For some reason the code on line 8 works but 19 gives a nil error. What could cause this?
raphaelivan has joined #ruby
<apeiros>
Fractional: rule nr. 1 when asking for help - *always* paste the precise error you get too
<apeiros>
(no, "a nil error" does not cut it - even if I know what you probably mean)
diegoviola has quit [Quit: R.I.P. Jim Weirich]
<Fractional>
in load_map': undefined method `<<' for nil:NilClass (NoMethodError)
phutch1ns has quit [Ping timeout: 245 seconds]
<apeiros>
is that the full code of the class?
MplsGreg has joined #ruby
monkegjinni has joined #ruby
<certainty>
unlikely
monkegjinni has quit [Remote host closed the connection]
MplsGreg has quit [Read error: Connection reset by peer]
MplsGreg has joined #ruby
monkegjinni has joined #ruby
ringaroses has joined #ruby
sski has joined #ruby
<Fractional>
That is the full code of the class yes.
<certainty>
Fractional: the reason for this is simple, you call load_map before you've initialized @tiles
<certainty>
didn't see it at first
stef_204 has joined #ruby
dx7 has joined #ruby
SHyx0rmZ has joined #ruby
MplsGreg has quit [Ping timeout: 252 seconds]
monkegjinni has quit [Read error: Operation timed out]
<certainty>
also you might want to think about what the method actually does. Is it meant to return the data or just modify the data ivar, or both
ianfleeton has quit [Quit: ianfleeton]
<certainty>
it looks strange
<apeiros>
yeah, me neither. claiming line 8 worked made me not even look at the lines above in initialize.
<Fractional>
Load data from file, from the data that we got from the file generate the tiles and place them in a tiles array.
koell has joined #ruby
<certainty>
apeiros: yeah, same here
yfeldblum has quit [Remote host closed the connection]
thumpba has joined #ruby
<Fractional>
certainty: How can I not have initialized @tiles before accessing the array? The initialize method should be called when we make an instance of the object.
<apeiros>
and you call it before you assign to @tiles
<certainty>
Fractional: you're calling #load_map inside #initialize, _before_ you assign the initial value to @tiles
shaunbaker has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
fijimunk1i has joined #ruby
<Fractional>
Sorry guys. Thanks for the help! :P
fijimunkii has quit [Ping timeout: 252 seconds]
<certainty>
Fractional: still the method is strange for other reasons. You're assinging its result to @data in #initialize which looks like an initialization, but inside #load_data you're actually already working with @data
shaunbaker has quit [Client Quit]
thumpba has quit [Ping timeout: 248 seconds]
sensen has quit [Quit: leaving]
<Fractional>
certainty: You are right. Perhaps I should make it return the loaded tiles into @data instead of having the tiles array hold the content.
<certainty>
Fractional: sounds sensible, although i'd expect a method with that name to return a map of some kind
<Fractional>
It loads the map to the map class. The map class then have an array containing the map information called data.
<apeiros>
I'd make it two methods
<apeiros>
#read_map and #setup_tiles
<apeiros>
SRP applies to methods too
<Fractional>
Thanks Apeiros, will do! :)
hackeron_ has joined #ruby
sparrovv has quit [Remote host closed the connection]
leonidlm has quit [Read error: Operation timed out]
chrisseaton has joined #ruby
banister has joined #ruby
tziOm has joined #ruby
<hackeron_>
hey, I need to parse this with Ruby http://pastie.org/8751742 - it is the output from rabbitmqctl status - anyone know any existing library I can use?
itadder has quit [Remote host closed the connection]
<mojjojo>
How to change a part of the string in-place given by target Range?
vlad_starkov has quit [Remote host closed the connection]
<workmad3>
mojjojo: str[1..3] = "replacement"
tziOm has quit [Ping timeout: 246 seconds]
TheReaper has joined #ruby
lbwski has quit [Quit: leaving]
<TheReaper>
Hi
vlad_starkov has joined #ruby
Beoran has quit [Ping timeout: 260 seconds]
TheReaper has quit [Client Quit]
billy_ran_away has quit [Ping timeout: 252 seconds]
monkegjinni has joined #ruby
monkegji_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
monkegjinni has quit [Read error: Connection reset by peer]
sichardrtallman has joined #ruby
koell has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
kushalk124 has quit [Ping timeout: 240 seconds]
Xeago has quit [Remote host closed the connection]
<sichardrtallman>
hello there! people, I'm using octokit in order to use github API, I'd like to get the total number of commts ever since a specific repo was created but when I try with client.commits(my_repository).size the maximum number of commits which gives is 30, is there solution to my problem?
roolo has quit [Ping timeout: 248 seconds]
Zubin has joined #ruby
phutch1ns has joined #ruby
Beoran has joined #ruby
shadoi has joined #ruby
evenix has joined #ruby
mercwithamouth has joined #ruby
kitak_ has quit [Remote host closed the connection]
fenak has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
mark_locklear has joined #ruby
_bart has quit [Remote host closed the connection]
_5kg has joined #ruby
sski has quit [Ping timeout: 248 seconds]
MplsGreg has joined #ruby
LexicalScope` has quit [Ping timeout: 272 seconds]
zeeraw has joined #ruby
dorei has joined #ruby
blaxter_ has quit [Ping timeout: 260 seconds]
habanany has joined #ruby
ianfleeton has quit [Quit: ianfleeton]
nhhagen has joined #ruby
sheepman is now known as sheepman|afk
ianfleeton has joined #ruby
dblessing has joined #ruby
Guest17462 has quit [Ping timeout: 245 seconds]
awkisopen has quit [Changing host]
awkisopen has joined #ruby
solars has joined #ruby
Xeago has joined #ruby
coderhs has joined #ruby
ianfleeton has quit [Client Quit]
tjr9898 has joined #ruby
sparrovv has joined #ruby
ianfleeton has joined #ruby
monkegji_ has quit [Remote host closed the connection]
monkegjinni has joined #ruby
jlast has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
slowcon has quit [Quit: slowcon]
Xeago has quit [Remote host closed the connection]
sassamo has joined #ruby
AlSquire has joined #ruby
jlast has quit [Ping timeout: 260 seconds]
joelroa has joined #ruby
dkamioka has joined #ruby
blaxter_ has joined #ruby
jcs222 has quit [Read error: Connection reset by peer]
jcs222_ has joined #ruby
joelroa_ has joined #ruby
ianfleeton has quit [Quit: ianfleeton]
locsmif has left #ruby [#ruby]
mengu has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
freezey has joined #ruby
joelroa has quit [Ping timeout: 240 seconds]
jle` has quit [Ping timeout: 272 seconds]
tgkokk has joined #ruby
tcopp_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
dubsteph has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
rmorello has joined #ruby
jackneill has joined #ruby
joelroa_ has quit [Ping timeout: 260 seconds]
asmodlol has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mengu has joined #ruby
sassamo has quit [Read error: No route to host]
rm_ has joined #ruby
habanany has quit [Read error: Operation timed out]
shaado has joined #ruby
nateberkopec has quit [Quit: Leaving...]
decoponyo has joined #ruby
dkamioka has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
renklaf_ has joined #ruby
_HolyCow1 has joined #ruby
eka has joined #ruby
mlpinit has joined #ruby
firefly20131 has joined #ruby
m00nlight has quit [Quit: Konversation terminated!]
mikecmpb_ has joined #ruby
sailias has joined #ruby
tgkokk has quit [Quit: WeeChat 0.4.4-dev]
tvw has quit [Ping timeout: 248 seconds]
vt102 has quit [Ping timeout: 252 seconds]
davidcel- has joined #ruby
RaCx_ has joined #ruby
wlanboy_ has joined #ruby
wca_ has joined #ruby
brunto_ has joined #ruby
Zubin has quit [Ping timeout: 252 seconds]
kennym_ has joined #ruby
r0bby_ has joined #ruby
FL1SK has joined #ruby
freezey has quit [Ping timeout: 252 seconds]
shaman42_ has joined #ruby
gischy_ has joined #ruby
jericon_ has joined #ruby
ec_ has joined #ruby
TwinkleH1od has joined #ruby
workmad3_ has joined #ruby
spinx^_ has joined #ruby
predator217 has joined #ruby
Tachoh_ has joined #ruby
vaicine_ has joined #ruby
klip has joined #ruby
matti_ has joined #ruby
ninegrid_ has joined #ruby
mehlah_ has joined #ruby
meatherly has quit [Remote host closed the connection]
sambao21 has joined #ruby
_main_ has joined #ruby
meatherly has joined #ruby
gsvolt has quit [Ping timeout: 272 seconds]
MplsGreg has quit [Remote host closed the connection]
mnemon2 has joined #ruby
tvw has joined #ruby
zxd has joined #ruby
jzig_ is now known as jzig
<zxd>
Hi need some god help, when I run a script with - ruby foo.rb - it works, with god I get /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bundler-1.5.2/lib/bundler/source/git.rb:179:in `rescue in load_spec_files': https://github.com/newrelic-platform/newrelic_plugin.git...
_HolyCow1 has quit [Read error: Connection reset by peer]
aep_ has joined #ruby
_HolyCow1 has joined #ruby
mehlah_ has quit [Read error: Connection reset by peer]
DanKnox_ has joined #ruby
Kov|kasumi has joined #ruby
sdwrage has joined #ruby
KevinSjoberg_ has joined #ruby
undert_ has joined #ruby
angusiguess has quit [Ping timeout: 248 seconds]
mehlah has quit [*.net *.split]
leonidlm has quit [*.net *.split]
fantazo has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
workmad3 has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
firefly2013 has quit [*.net *.split]
decoponio has quit [*.net *.split]
plexus_ has quit [*.net *.split]
kennym has quit [*.net *.split]
renklaf has quit [*.net *.split]
makara has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
_HolyCow has quit [*.net *.split]
sorpaas has quit [*.net *.split]
gnephiak has quit [*.net *.split]
axilaris has quit [*.net *.split]
snath has quit [*.net *.split]
predator117 has quit [*.net *.split]
wca has quit [*.net *.split]
krnflake has quit [*.net *.split]
shado has quit [*.net *.split]
RaCx has quit [*.net *.split]
Olipro has quit [*.net *.split]
Kovensky has quit [*.net *.split]
lele has quit [*.net *.split]
TripleDES has quit [*.net *.split]
pipework has quit [*.net *.split]
randym_ has quit [*.net *.split]
undert has quit [*.net *.split]
justinxreese has quit [*.net *.split]
guilleiguaran has quit [*.net *.split]
dtcrshr has quit [*.net *.split]
maZtah has quit [*.net *.split]
Tachoh has quit [*.net *.split]
klipeto has quit [*.net *.split]
`MArceLL` has quit [*.net *.split]
ec has quit [*.net *.split]
huttan has quit [*.net *.split]
gischy has quit [*.net *.split]
tyranja has quit [*.net *.split]
tubbo has quit [*.net *.split]
alol has quit [*.net *.split]
aep has quit [*.net *.split]
jericon has quit [*.net *.split]
vaicine has quit [*.net *.split]
DanKnox has quit [*.net *.split]
brunto has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
mikee has quit [*.net *.split]
spinx^ has quit [*.net *.split]
tekacs has quit [*.net *.split]
JStoker has quit [*.net *.split]
mnemon has quit [*.net *.split]
jinie has quit [*.net *.split]
yano has quit [*.net *.split]
Sammael has quit [*.net *.split]
davidcelis has quit [*.net *.split]
KevinSjoberg has quit [*.net *.split]
ninegrid has quit [*.net *.split]
Spitfire has quit [*.net *.split]
niftylettuce_ has quit [*.net *.split]
Mapley has quit [*.net *.split]
dachi has quit [*.net *.split]
ekarlso has quit [*.net *.split]
lsmola has quit [*.net *.split]
ohcibi has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
wlanboy has quit [*.net *.split]
__main__ has quit [*.net *.split]
shaman42 has quit [*.net *.split]
tommyblue has quit [*.net *.split]
matti has quit [*.net *.split]
Jamo has quit [*.net *.split]
Roa has quit [*.net *.split]
TwinkleHood has quit [*.net *.split]
adam12 has quit [*.net *.split]
gl- has quit [*.net *.split]
RaCx_ is now known as RaCx
_main_ is now known as __main__
davidcel- is now known as davidcelis
davidcelis has joined #ruby
davidcelis has quit [Changing host]
meatherly has quit [Read error: Operation timed out]
Kov|kasumi is now known as Kovensky
huttan has joined #ruby
habanany has joined #ruby
gischy_ is now known as gischy
DanKnox_ is now known as DanKnox
blaxter_ has quit [Quit: foo]
Roa has joined #ruby
mehlah has joined #ruby
blaxter_ has joined #ruby
blaxter_ is now known as blaxter
dioms___ has quit [Ping timeout: 245 seconds]
adam_ has joined #ruby
Tachoh_ is now known as Tachoh
meinside has quit [Ping timeout: 264 seconds]
kapowaz has quit [Ping timeout: 264 seconds]
krz has joined #ruby
flowerhack has quit [Ping timeout: 264 seconds]
ziyadb_ has quit [Ping timeout: 264 seconds]
weeems has joined #ruby
teenwolf has joined #ruby
TripTastic has joined #ruby
Lewix_ has joined #ruby
Skelz0r has quit [Remote host closed the connection]
marcgg_ has joined #ruby
fantazo has joined #ruby
tyranja has joined #ruby
Sirupsen has joined #ruby
Adawerk__ has joined #ruby
lsmola has joined #ruby
nhhagen_ has joined #ruby
wca has joined #ruby
MplsGreg has joined #ruby
musl_ has joined #ruby
waheedi has joined #ruby
Speed has quit [Ping timeout: 260 seconds]
Mission-Critical has joined #ruby
mary5030 has joined #ruby
ffranz has joined #ruby
ec has joined #ruby
lotherk_ has joined #ruby
diegoviola has joined #ruby
Lewix_ has quit [Remote host closed the connection]
Cope has joined #ruby
sawtooth1 has joined #ruby
gischy_ has joined #ruby
jack_rabbit has joined #ruby
thatRD has joined #ruby
snath has joined #ruby
_HolyCow has joined #ruby
dubsteph has joined #ruby
ziyadb_ has joined #ruby
krnflake has joined #ruby
flowerhack has joined #ruby
lele has joined #ruby
randym_ has joined #ruby
pipework has joined #ruby
guilleiguaran has joined #ruby
dtcrshr has joined #ruby
sorpaas has joined #ruby
`MArceLL` has joined #ruby
tubbo has joined #ruby
Mapley has joined #ruby
alol has joined #ruby
hanikazmi has joined #ruby
mikee has joined #ruby
tekacs has joined #ruby
JStoker has joined #ruby
Sammael has joined #ruby
jinie has joined #ruby
niftylettuce_ has joined #ruby
Spitfire has joined #ruby
ohcibi has joined #ruby
dachi has joined #ruby
ekarlso has joined #ruby
Jamo has joined #ruby
gl- has joined #ruby
tommyblue has joined #ruby
stonevil is now known as 17SAAHTP8
justinxreese has joined #ruby
Olipro has joined #ruby
stonevil has joined #ruby
<Cope>
regex fu failing me: how do I make {5} apply to more than one character? i basically want to check for a repeating sequence of one \d and one literal .
Olipro has quit [Max SendQ exceeded]
nhhagen has quit [Ping timeout: 246 seconds]
newleaf has quit [Read error: Connection reset by peer]
dlewis has quit [Write error: Connection reset by peer]
telling has quit [Write error: Connection reset by peer]
17SAAHTP8 has quit [Write error: Broken pipe]
mven_ has quit [Write error: Connection reset by peer]
lotherk has quit [Write error: Connection reset by peer]
weems has quit [Write error: Connection reset by peer]
gischy has quit [Remote host closed the connection]
ec_ has quit [Read error: Connection reset by peer]
camt has quit [Read error: Connection reset by peer]
<wuest>
Cope: group them?
mjuszczak has quit [Write error: Connection reset by peer]
pr1x has quit [Write error: Connection reset by peer]
wca_ has quit [Write error: Connection reset by peer]
marcgg has quit [Write error: Connection reset by peer]
sawtooth has quit [Write error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
<wuest>
>> /(?:\d\.){5}/.match "1.2.3.4.5."
preller_ has joined #ruby
<wuest>
There; it is not a good morning for typing.
tziOm has quit [Read error: Operation timed out]
mary5030 has joined #ruby
<Cope>
ah yeah i couldn't recall how to make it not create a backreference
<Cope>
>: ftw
<Cope>
?:
<wuest>
?: yeah :)
<wuest>
Non-capturing groups are good stuff.
mjuszcza1 has joined #ruby
leonidlm has joined #ruby
plexus_ has joined #ruby
telling_ has joined #ruby
pr1x_ has joined #ruby
jzig has quit []
bakingbread has joined #ruby
preller has quit [Read error: Connection reset by peer]
_bart has joined #ruby
Rylee has quit [Excess Flood]
_HolyCow1 has quit [Ping timeout: 367 seconds]
Lewix has quit [Ping timeout: 367 seconds]
ephemerian has quit [Ping timeout: 367 seconds]
JBreit has quit [Ping timeout: 367 seconds]
iMe has quit [Ping timeout: 367 seconds]
devdazed has quit [Ping timeout: 367 seconds]
jfelchner has quit [Ping timeout: 367 seconds]
anekos has quit [Ping timeout: 367 seconds]
musl has quit [Ping timeout: 367 seconds]
stonevil is now known as 18WAFUH0E
stonevil has joined #ruby
camt has joined #ruby
tungd has joined #ruby
tesuji has quit [Excess Flood]
Rylee_ has joined #ruby
msmith has joined #ruby
bakingbread has quit [Changing host]
bakingbread has joined #ruby
anekos has joined #ruby
bakingbread is now known as Guest96019
yfeldblum has joined #ruby
jfelchner has joined #ruby
dkamioka has joined #ruby
stonevil has quit [Client Quit]
Rylee_ has quit [Client Quit]
Rylee has joined #ruby
tesuji has joined #ruby
ocx has quit [Ping timeout: 245 seconds]
nerdgrass has joined #ruby
joelroa has joined #ruby
MplsGreg has quit [Remote host closed the connection]
yano has joined #ruby
CorySimmons has joined #ruby
<CorySimmons>
Is there an rvm ruby version 2.0.0-p0?
<CorySimmons>
There is in rbenv
dlewis has joined #ruby
aryaching_ has joined #ruby
<CorySimmons>
In rvm there is 2.0.0, but in rbenv, there isn't
krz has quit [Ping timeout: 245 seconds]
18WAFUH0E has quit [*.net *.split]
justinxreese has quit [*.net *.split]
ziyadb_ has quit [*.net *.split]
flowerhack has quit [*.net *.split]
sorpaas has quit [*.net *.split]
krnflake has quit [*.net *.split]
lele has quit [*.net *.split]
pipework has quit [*.net *.split]
randym_ has quit [*.net *.split]
guilleiguaran has quit [*.net *.split]
dtcrshr has quit [*.net *.split]
`MArceLL` has quit [*.net *.split]
tubbo has quit [*.net *.split]
alol has quit [*.net *.split]
hanikazmi has quit [*.net *.split]
mikee has quit [*.net *.split]
JStoker has quit [*.net *.split]
tekacs has quit [*.net *.split]
jinie has quit [*.net *.split]
Sammael has quit [*.net *.split]
Spitfire has quit [*.net *.split]
niftylettuce_ has quit [*.net *.split]
Mapley has quit [*.net *.split]
dachi has quit [*.net *.split]
ekarlso has quit [*.net *.split]
ohcibi has quit [*.net *.split]
tommyblue has quit [*.net *.split]
Jamo has quit [*.net *.split]
gl- has quit [*.net *.split]
_bart has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
zachallett has joined #ruby
dx7 has joined #ruby
stonevil_ has joined #ruby
burlyscudd has joined #ruby
aryaching has quit [Ping timeout: 245 seconds]
jbueza has joined #ruby
mojjojo has joined #ruby
jlast has joined #ruby
stonevil_ has quit [Client Quit]
jerius has joined #ruby
angusigu1ss has joined #ruby
yalue has joined #ruby
Spitfire has joined #ruby
Spitfire has joined #ruby
Spitfire has quit [Changing host]
diegoviola has quit [Quit: WeeChat 0.4.3]
Speed has joined #ruby
mlpinit_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
mjuszczak has joined #ruby
dkamioka has joined #ruby
jlast has quit [Ping timeout: 260 seconds]
<ddd>
its not an rvm version. its the official release of 2.0 which is 2.0.0-p0
krz has joined #ruby
lbwski_ has joined #ruby
hamakn_ has joined #ruby
burlyscudd1 has joined #ruby
icedp has joined #ruby
niv_ has joined #ruby
enebo has joined #ruby
devdazed has joined #ruby
micah`_ has joined #ruby
mikemac has joined #ruby
SloggerKhan1 has joined #ruby
mdpatrick_ has joined #ruby
pr1x has joined #ruby
kristian_ has joined #ruby
leonid_ has joined #ruby
vadviktor_ has joined #ruby
sparrovv has quit [Remote host closed the connection]
angusigu1ss has quit [Read error: Operation timed out]
catepill1r has joined #ruby
thomasxie1 has joined #ruby
timonv_ has joined #ruby
<zxd>
Hi need some god help, when I run a script with - ruby foo.rb - it works, with god I get /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bundler-1.5.2/lib/bundler/source/git.rb:179:in `rescue in load_spec_files': https://github.com/newrelic-platform/newrelic_plugin.git...
colli5ion has quit []
<zxd>
there was a netsplit
<CorySimmons>
ddd: So 2.0.0 isn't even an official ruby version?
yasushi has joined #ruby
edwardly_ has joined #ruby
catepillar has quit [Disconnected by services]
Davey_ has joined #ruby
jsaak_ has joined #ruby
freerobby has joined #ruby
Kruppe- has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
matti has joined #ruby
<ddd>
it *is*
Speed has quit [Ping timeout: 260 seconds]
bnagy_ has joined #ruby
<ddd>
2.0.0-p0 is the official release of Ruby 2.0
<ddd>
it was the first official release of that series
<ddd>
rbenv just hasn't updated (or you haven't updated your rbenv i'd wager) to point to it
scarolan has quit [Ping timeout: 264 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
sparrovv has joined #ruby
catepill1r has left #ruby [#ruby]
coderdad_ has joined #ruby
waxjar_ has joined #ruby
aryaching_ has quit []
<CorySimmons>
ddd: My rbenv can detect/install 2.0.0-p0. My rbenv cannot detect/install 2.0.0
justinxreese has joined #ruby
`MArceLL` has joined #ruby
pipework has joined #ruby
tubbo has joined #ruby
sorpaas has joined #ruby
randym_ has joined #ruby
flowerhack has joined #ruby
guilleiguaran has joined #ruby
ziyadb_ has joined #ruby
alol has joined #ruby
JStoker has joined #ruby
dtcrshr has joined #ruby
krnflake has joined #ruby
Olipro has joined #ruby
Sammael has joined #ruby
lele has joined #ruby
jinie has joined #ruby
Mapley has joined #ruby
tekacs has joined #ruby
ohcibi has joined #ruby
tommyblue has joined #ruby
mikee has joined #ruby
Jamo has joined #ruby
niftylettuce_ has joined #ruby
hanikazmi has joined #ruby
dachi has joined #ruby
gl- has joined #ruby
ekarlso has joined #ruby
gtc|ghost has joined #ruby
brunto has joined #ruby
<CorySimmons>
Does anyone use rvm? Can you confirm if you're able to rvm install 2.0.0-p0?
<ddd>
ok.. 2.0.0 under rvm *is* 2.0.0-p0
Olipro has quit [Max SendQ exceeded]
<ddd>
2.0.0 installs 2.0.0-p0
scarolan has joined #ruby
<CorySimmons>
ha, thanks
<CorySimmons>
;)
<ddd>
welcome
fozworth has joined #ruby
joelbrewer has joined #ruby
rx has joined #ruby
yeticry has quit [Ping timeout: 248 seconds]
Olipro has joined #ruby
pallavi_ has quit [Ping timeout: 245 seconds]
<CorySimmons>
Why do you I know your name?
sparrovv has quit [Remote host closed the connection]
<CorySimmons>
Are you a fancy ruby person?
abstractj_ has joined #ruby
abstractj_ has quit [Changing host]
abstractj_ has joined #ruby
yeticry has joined #ruby
bleak2 has joined #ruby
sailias1 has joined #ruby
abstractj has quit [Disconnected by services]
dkamioka has joined #ruby
Rainicorn has joined #ruby
abstractj_ is now known as abstractj
teoric has joined #ruby
Guest96019 has quit [Ping timeout: 245 seconds]
Sloggerkhan has quit [Ping timeout: 245 seconds]
clamstar has quit [Ping timeout: 245 seconds]
rylinaux has quit [Ping timeout: 245 seconds]
LadyRainicorn has quit [Ping timeout: 245 seconds]
niv has quit [Ping timeout: 245 seconds]
rx is now known as clamstar
niv_ is now known as niv
mlpinit has quit [Ping timeout: 245 seconds]
aspiers has quit [Ping timeout: 245 seconds]
micah` has quit [Ping timeout: 245 seconds]
Davey has quit [Ping timeout: 245 seconds]
Davey_ is now known as Davey
waxjar has quit [Ping timeout: 245 seconds]
pr1x_ has quit [Ping timeout: 245 seconds]
leonidlm has quit [Ping timeout: 245 seconds]
mjuszcza1 has quit [Ping timeout: 245 seconds]
plexus_ has quit [Ping timeout: 245 seconds]
matti_ has quit [Ping timeout: 245 seconds]
coderhs has quit [Ping timeout: 245 seconds]
telling has joined #ruby
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdpatrick has quit [Ping timeout: 245 seconds]
teoric has quit [Client Quit]
WormDrink has quit [Ping timeout: 245 seconds]
Kruppe has quit [Ping timeout: 245 seconds]
jsaak has quit [Ping timeout: 245 seconds]
KK4MGV has quit [Ping timeout: 245 seconds]
aspiers_ has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
edwardly has quit [Ping timeout: 245 seconds]
crazymykl has quit [Ping timeout: 245 seconds]
WillAmes has quit [Ping timeout: 245 seconds]
avelldiroll has quit [Ping timeout: 245 seconds]
vadviktor has quit [Ping timeout: 245 seconds]
bnagy has quit [Ping timeout: 245 seconds]
timonv has quit [Read error: Connection reset by peer]
<ddd>
I'm part of the RVM team, wrote DTF-Gems suite, wrote a good many of the LPIC-2 certification tests, etc.
WormDrink has joined #ruby
WormDrink has quit [Changing host]
WormDrink has joined #ruby
<ddd>
idk, there's many ways you could know of me. :shrug:
RaCx has quit [Read error: Operation timed out]
lbwski_ has quit [Quit: lbwski_]
armyriad has joined #ruby
kies has joined #ruby
Rainicorn is now known as LadyRainicorn
abk has joined #ruby
<ddd>
but i'm definitely not famous like Ryan Bates, Radar, or Jim Weirich
<ddd>
not by *any* stretch of the imagination
<vpretzel>
lolol way to toot your horn, but deservedly so
ianfleeton has joined #ruby
<ddd>
heh
plexus_ has joined #ruby
scarolan has quit [Ping timeout: 260 seconds]
zastern has joined #ruby
avelldiroll has joined #ruby
habanany has quit [Ping timeout: 265 seconds]
_tickez has joined #ruby
olivier_bK has joined #ruby
<ddd>
should I also mention I'm an RHCE, and helped write several of the RHCE testing sub-modules, too? ;)
fozworth has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Remote host closed the connection]
<CorySimmons>
ddd: *high five* I once ate an entire 6-pack of yogurt cups.
fozworth has joined #ruby
monkegjinni has joined #ruby
<CorySimmons>
So we're practically on the same level.
<ddd>
corysimmons awesome!
<CorySimmons>
:D
<ddd>
nope, that puts you higher. I can only eat 3
chihhsin has joined #ruby
<CorySimmons>
Yeah but you did all that other noteworthy stuff. Don't worry, you'll catch up, kid.
<ddd>
hahah
<ddd>
god it feels good at 43 for someone to call me a kid! Amazing how that little of a compliment can just really make your day :)
<jglover>
noob question here. I've got a Ruby project to write at work, in which SQL will be uploaded to a server, and then from that sql new tables will be created. I will then need to be able to query the data from those tables, by specifiying the query parameters in a url. Now, I've got this working using sinatra, and sqlite3. But It's more just a proof o
<jglover>
f concept. I would really like to use an ORM. Can anybody tell me how I might go about generating a model with unknown fields, on the fly?
RaCx has joined #ruby
marr has joined #ruby
coderhs has joined #ruby
claymore has joined #ruby
greenarrow has joined #ruby
andikr has joined #ruby
rylinaux has joined #ruby
andikr has quit [Changing host]
andikr has joined #ruby
nateberkopec has joined #ruby
rylinaux has quit [Max SendQ exceeded]
rylinaux has joined #ruby
claymore is now known as Guest25904
aryaching has joined #ruby
nhhagen has joined #ruby
scarolan has joined #ruby
nhhagen_ has quit [Read error: Connection reset by peer]
<jglover>
Heh, nothing?
fozworth has quit [Ping timeout: 265 seconds]
mojjojo has quit [Quit: mojjojo]
Salve has joined #ruby
joelbrewer has quit [Ping timeout: 252 seconds]
billy_ran_away has joined #ruby
habanany has joined #ruby
RaCx has quit [Client Quit]
momomomomo has joined #ruby
thams has joined #ruby
<workmad3_>
jglover: that really sounds like a relational db is an extremely bad fit
workmad3_ is now known as workmad3
<jglover>
workmad3: perfect. I needed a new place to start from. What should I use instrad?
<jglover>
*instead
Aryasam has joined #ruby
MissionCritical has joined #ruby
<jglover>
never used a non relational db
tcopp_ has quit [Ping timeout: 245 seconds]
<workmad3>
jglover: I'd probably look at one of the doc-dbs... maybe orientdb or couchdb... if you're more comfortable with a relational db, I'd probably suggest that you use postgresql 9.2+ with a JSON field for your arbitrary fields, which you can then index and query into
tylersmith has joined #ruby
mojjojo has joined #ruby
io_syl has joined #ruby
mansi has joined #ruby
Lewix has joined #ruby
ianfleeton has quit [Quit: ianfleeton]
<jglover>
workmad3:what's your opinion on Mongo?
michael_lee has joined #ruby
KK4MGV has joined #ruby
<workmad3>
jglover: meh :)
aryaching has quit []
<jglover>
workmad3:heh. noted. I'll do some research into non-relational databases. Thanks for the kick in the right direction
wallerdev has joined #ruby
mercwithamouth has joined #ruby
withnale has joined #ruby
jglover has left #ruby [#ruby]
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
<ddd>
workmad3 find the flaw (ease isn't a flaw). rails using a job to either poll+wget/curl the migrations and model file(s) and run the migrations, or a remote push with a local-server poll for the migrations which does the same thing. a blank model class should still have the fields available right? and if the attached controller includes the def model_params shouldn't run into ForbiddenAttribute(s) issues i think
rm_ has quit [Remote host closed the connection]
<ddd>
though i'd wager there's far easier ways to do this
<withnale>
hello. anyone know a way of mapping two ip addresses to a shortened range? so that fn(10.1.1.10,10.1.1.100) will output a string 10.1.1.10-100 - but will also work for ranges that cross octet boundaries?
DaniG2k has joined #ruby
rm_ has joined #ruby
wallerdev has quit [Client Quit]
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
tkuchiki has joined #ruby
Sirupsen has joined #ruby
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
budrose has joined #ruby
nhhagen has quit [Remote host closed the connection]
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
Aryasam has quit [Ping timeout: 252 seconds]
io_syl has quit []
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
aryaching has joined #ruby
Kelgors has joined #ruby
mwillhite has joined #ruby
mwillhite has quit [Max SendQ exceeded]
banister has quit [Ping timeout: 252 seconds]
mwillhite has joined #ruby
johnmilton has joined #ruby
Macaveli has quit [Ping timeout: 265 seconds]
Aryasam has joined #ruby
jglover has joined #ruby
slowcon has joined #ruby
ianfleeton has joined #ruby
jglover has quit [Client Quit]
anarang has quit [Ping timeout: 252 seconds]
rm_ has quit [Ping timeout: 265 seconds]
<bernalex>
if I have a hash with foo, fu, bar, baz as keys -- how do I check if an item from a different hash with values for fu, bar, baz matches?
_bart has joined #ruby
<kukyakya_>
I'm trying to
<CorySimmons>
ddd: I'm very good at making 43 year olds feel young………… ifayaknowwhatimean
raphaelivan has joined #ruby
banister has joined #ruby
<ddd>
doh!
<bernalex>
let's say the first one has name and age, and the second one only has age, how do I get all the items in hash1 based on if they match the ones in hash2 which only has an age key
<CorySimmons>
#protip always use your real name when feigning gay prostitution
jzig has joined #ruby
Aryasam has quit [Client Quit]
joelroa has quit [Ping timeout: 245 seconds]
<ddd>
lol
nhhagen has joined #ruby
<slowcon>
whats up guys
<kukyakya_>
I'm trying to use a hash which is defaulted to an empty array, and got strange result : https://ideone.com/wcAY4I
<kukyakya_>
Why is the hash is empty with inspect?
burlyscudd1 has quit [Quit: Leaving.]
momomomomo has quit [Ping timeout: 245 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
lxsameer has quit [Quit: Leaving]
fozworth has joined #ruby
mavcunha has joined #ruby
habanany has quit [Read error: Operation timed out]
Trynemjoel has joined #ruby
fozworth has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
<workmad3>
kukyakya_: because a default value isn't set to a missing key
ardsrk has quit [Quit: Connection closed for inactivity]
joelbrewer has joined #ruby
sparrovv has joined #ruby
ayaz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<kukyakya_>
workmad3: Would you elaborate on that? I'm new to ruby so i feel i'm totally lost now
<kukyakya_>
workmad3: oh never mind. I think i got the reason
<kukyakya_>
workmad3: Thanks!!
<workmad3>
kukyakya_: it's also worth pointing out that with 'Hash.new([])' the same array is returned for all key-misses
dkamioka has quit [Remote host closed the connection]
ayaz has joined #ruby
ayaz has quit [Max SendQ exceeded]
<kukyakya_>
workmad3: yeah I thought that it would work like std::map in C++ but i doesn't :)
<slowcon>
could i get some help understanding the windows to osx enviornment when developing ruby? for example, i put all of my 'requires" into a new .rb file. I do a require './file_with_gems.rb' and it works fine on osx, but on windows i get a cannot load such file -- ./file_with_gems.rb (LoadError). I figured it out and have to put the full path to the file, I cant just call it from the same
<slowcon>
folder, why is this?
andy___ has joined #ruby
phantomtiger has joined #ruby
danshultz has joined #ruby
andy___ is now known as Guest4289
banister has quit [Read error: Connection reset by peer]
Guest4289 has quit [Read error: Connection reset by peer]
meatherly has joined #ruby
<tobiasvl>
same versions of ruby?
<tobiasvl>
check out require_relative
tungd has quit [Ping timeout: 240 seconds]
<tobiasvl>
although it's weird that it works in one OS but not another
Lightstalker has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
Lightstalker has quit [Changing host]
Lightstalker has joined #ruby
mavcunha has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
<slowcon>
tobiasvl: its my IDE. its saving all the files to the parent directory and not the current working directory
<slowcon>
tobiasvl: which is really annoying... -_-
Hylke has joined #ruby
nhhagen has quit [Remote host closed the connection]
kaldrenon has quit [Read error: Connection reset by peer]
kaldrenon has joined #ruby
stryek has joined #ruby
<krz>
is it possible to catch all Stripe errors? currently have rescue Stripe::CardError, Stripe::InvalidRequestError, Stripe::APIError => error
<krz>
was wondering if there was something like rescue Stripe::* => error
Hylke has left #ruby [#ruby]
telling has quit [Changing host]
telling has joined #ruby
alexherbo2 has joined #ruby
makara has joined #ruby
DarkFoxDK has joined #ruby
noop has quit [Ping timeout: 260 seconds]
CaptainJet has joined #ruby
joelbrewer has joined #ruby
fgo has quit []
yfeldblum has quit [Ping timeout: 252 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
habanany has quit [Ping timeout: 245 seconds]
tolstoi has quit [Remote host closed the connection]
dseitz has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
interactionjaxsn has joined #ruby
danshultz has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 252 seconds]
Speed has joined #ruby
v0n has joined #ruby
freezey has joined #ruby
flak has joined #ruby
danshultz has joined #ruby
flak is now known as Guest74062
ianfleeton has quit [Quit: ianfleeton]
nhhagen has joined #ruby
axsuul has joined #ruby
angusiguess has joined #ruby
gja has joined #ruby
mary5030 has joined #ruby
<kennym_>
krz: you can do `rescue => e`
<kennym_>
krz: and check if `e` is a strip error
pigzzcanfly has joined #ruby
<kennym_>
krz: this way you capture all exceptions
RaCx has quit [Quit: Computer has gone to sleep.]
<kennym_>
stripe*
kennym_ is now known as kennym
kennym has quit [Changing host]
kennym has joined #ruby
mgberlin has joined #ruby
evenix has joined #ruby
coderdad_ has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
apeiros has joined #ruby
mikepack has joined #ruby
mengu has quit []
Raboo has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
CorySimmons has quit [Quit: Leaving.]
Raboo has joined #ruby
habanany has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
coderdad_ has joined #ruby
fmcgeough has joined #ruby
Ch4rAss has quit [Ping timeout: 260 seconds]
ianfleeton has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
nhhagen has quit [Remote host closed the connection]
mojjojo has quit [Quit: mojjojo]
shadoi has joined #ruby
poulson has quit [Read error: Connection reset by peer]
mojjojo has joined #ruby
tesuji has quit [Ping timeout: 265 seconds]
_bart has quit [Remote host closed the connection]
ehc has joined #ruby
_bart has joined #ruby
mary5030 has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
acrussell has joined #ruby
jprovazn has quit [Quit: Leaving]
RaCx has joined #ruby
tungd has joined #ruby
geggam has joined #ruby
habanany has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
kevind has joined #ruby
r0bby_ has quit [Ping timeout: 260 seconds]
shadoi has quit [Ping timeout: 245 seconds]
davidcollom_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
shevy has quit [Ping timeout: 264 seconds]
habanany has joined #ruby
rayners has joined #ruby
colli5ion has joined #ruby
<tobiasvl>
rescue Stripe::StripeError
<tobiasvl>
?
joelroa has joined #ruby
joelroa has quit [Max SendQ exceeded]
joelroa has joined #ruby
davidcollom has quit []
davidcollom_ is now known as davidcollom
jzig has quit [Remote host closed the connection]
abk has quit [Ping timeout: 260 seconds]
ianfleeton has quit [Quit: ianfleeton]
danshultz has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
danshultz has joined #ruby
habanany has quit [Remote host closed the connection]
joelbrewer has quit [Ping timeout: 253 seconds]
mary5030 has joined #ruby
rm_ has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
mehlah has joined #ruby
JZTech101 has quit [Ping timeout: 245 seconds]
v0n has quit [Ping timeout: 245 seconds]
greenarrow has quit [Quit: 500]
TheMoonMaster has quit [Excess Flood]
kcombs has joined #ruby
b00stfr3ak has joined #ruby
banister has joined #ruby
RaCx has quit [Read error: Connection reset by peer]
joelroa has quit [Ping timeout: 245 seconds]
kaptainkibosh has left #ruby [#ruby]
pigzzcanfly has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
JZTech101 has joined #ruby
bbloom has joined #ruby
TheMoonMaster has joined #ruby
kaptainkibosh has joined #ruby
yeboot has quit [Ping timeout: 248 seconds]
ianfleeton has joined #ruby
burlyscudd has joined #ruby
bean has joined #ruby
makara has quit [Ping timeout: 260 seconds]
mikepack has quit [Remote host closed the connection]
shevy has joined #ruby
mikepack has joined #ruby
prc has quit [Ping timeout: 245 seconds]
drumsrgr8forn8 has joined #ruby
mehlah has quit [Read error: Connection reset by peer]
jballanc has joined #ruby
mikepack has quit [Remote host closed the connection]
Kilo`byte has quit [Quit: kilobyte22.de]
drumsrgr8forn8 has quit [Read error: Connection reset by peer]
matti has quit [Quit: Reconnecting]
aryaching_ has joined #ruby
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
vlad_starkov has joined #ruby
evenix has quit [Remote host closed the connection]
Kilo`byte has joined #ruby
aryaching_ has quit [Client Quit]
chrisseaton has quit []
evenix has joined #ruby
bbloom has quit [Ping timeout: 245 seconds]
raphaelivan has quit [Quit: Leaving.]
carlyle has joined #ruby
nism has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
pigzzcan_ has joined #ruby
shawnjgoff has quit [Ping timeout: 240 seconds]
aryaching_ has joined #ruby
<olivier_bK>
grrr... rubygems is dow n
aryaching has quit [Ping timeout: 252 seconds]
stonevil_ has joined #ruby
<olivier_bK>
some one can install any gem ?
lmickh has joined #ruby
torstein has quit [Remote host closed the connection]
mikepack has joined #ruby
chipotle has quit [Quit: cya]
colli5ion has quit []
evenix has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
colli5ion has joined #ruby
camilasa_ has joined #ruby
andy___ has joined #ruby
ianfleeton has quit [Quit: ianfleeton]
andy___ is now known as Guest80044
<slowcon>
i find that i often get stuck trying to figure out arguments. right now im using mechanize for example, lets say i have the code (agent.page.link_with(:text => 'download').href). is there documentation that lists all of the args i can replace :text with?
jobewan has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<olivier_bK>
slowcon, did you can install any gem ?
vlad_starkov has quit [Remote host closed the connection]
boboc has joined #ruby
<slowcon>
olivier_bK: yes i can install any gem
camilasan has quit [Ping timeout: 260 seconds]
<olivier_bK>
why i cant gr...
ianfleeton has joined #ruby
<slowcon>
olivier_bK: oh you mean right now, havent tried
pu22l3r has joined #ruby
<slowcon>
more importantly, how can i get pry to continue output at the end of the page. on my mac i just keep hitting enter until the output is done, on my PC it returns me to the pry prompt
m104 has joined #ruby
pu22l3r has quit [Remote host closed the connection]
pu22l3r has joined #ruby
<rurban_>
How did Jim Weirich die?
<tobiasvl>
i don't know, but he tweeted yesterday :(
_bart has quit [Remote host closed the connection]
tobiasvl has quit [Read error: Connection reset by peer]
mehlah has joined #ruby
thomasxie1 has quit [Ping timeout: 252 seconds]
poulson has joined #ruby
t432 has joined #ruby
OdNairy has joined #ruby
<t432>
Trying to update the gem. Updating installed gems ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError) no such name (https://rubygems.org/specs.4.8.gz)
aganov has quit [Remote host closed the connection]
yfeldblum has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby
phansch has joined #ruby
einarj has quit [Remote host closed the connection]
RaCx has joined #ruby
r0bby_ has joined #ruby
mgberlin has quit [Remote host closed the connection]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
d2dchat has joined #ruby
yasushi has joined #ruby
aspires has joined #ruby
<wuest>
bodie_: Ah, indeed that's another way. :)
tgkokk_ is now known as tgkokk
msmith has quit [Remote host closed the connection]
<certainty>
bodie_: yeah as used in aspect oriented programming. It basically allows you to attach code at pointcuts
dangerousdave has joined #ruby
dangerousdave has quit [Max SendQ exceeded]
<certainty>
but you already have a way to do it :)
<shevy>
die
<shevy>
I mean
<shevy>
hi
pwh has quit [Ping timeout: 252 seconds]
<t432_>
gem update is giving me "ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError) no such name (https://rubygems.org/specs.4.8.gz)"...any suggestions?
<wuest>
t432_: sounds like network errors to me. "Unable to download data from https://rubygems.org"
yasushi has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
colli5ion has joined #ruby
<t432_>
could be that my network is blocking access to these repos?
<shevy>
t432_ lemme see
shawnjgoff has joined #ruby
aspires has quit []
dik_dak has joined #ruby
evenix has joined #ruby
boboc has quit []
quatron has joined #ruby
<shevy>
gem install fontcustom
<shevy>
Fetching: rb-fsevent-0.9.4.gem (100%)
<shevy>
Successfully installed rb-fsevent-0.9.4
<shevy>
Building native extensions. This could take a while...
<shevy>
Fetching: ffi-1.9.3.gem (100%)
<shevy>
Successfully installed ffi-1.9.3
<shevy>
t432_ works fine here
<slowcon>
t432: are you doing "sudo"?
<t432_>
what version of gem are you using? (does it make difference?)
pigzzcan_ has quit []
<t432_>
slowcon: no
pigzzcanfly has joined #ruby
<slowcon>
t432: are you on a mac?
rootshift_ has joined #ruby
<t432_>
yep
<shevy>
t432_ gem version could make a diff but I think it is another issue with your ruby
<slowcon>
try "sudo gem install xxxxx"
<shevy>
my gem version is 2.2.2
<slowcon>
try "sudo gem install xxxxx -V"
<shevy>
t432_ are you able to use wget?
aspires has joined #ruby
<endash>
I'm having a total brain failure… how the heck do I have code that runs if and only if a block executes without errors, but still lets any exceptions if raised pass out to outer contexts
<endash>
obviously if the error is passing out of the block it's blocking any code that follows so I just put the code after the block. durr.
<t432_>
I left out the "sudo" command
bbloom has joined #ruby
<t432_>
works
<t432_>
thx
<shevy>
ok
Patteh has quit [Quit: leaving]
<shevy>
you should be able to install a local gem easily
Patteh has joined #ruby
burlyscudd has quit [Quit: Leaving.]
<shevy>
if it still does not want to work, you could first install it without dependencies, and then adding new ones: gem install --ignore-dependencies fontcustom-1.3.3.gem
<t432_>
it;s been quite some time since i last used ruby/gem
ehc has quit [Quit: ehc]
<t432_>
ok
<shevy>
well normally "gem install foo" should work really
aspires has quit [Client Quit]
<shevy>
but a .gem package is nothing but a tar archive anyway
xerox357 has joined #ruby
aloitius_ has joined #ruby
mansi has quit [Quit: Leaving...]
_bart has joined #ruby
ianfleeton has joined #ruby
cmoylan_ has joined #ruby
dubsteph has joined #ruby
gja has joined #ruby
rm__ has quit [Remote host closed the connection]
zigomir has quit [Remote host closed the connection]
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
rm_ has joined #ruby
mikecmpb_ is now known as mikecmpbll
cmoylan has quit [Ping timeout: 252 seconds]
koell has quit [Quit: So say we all!]
axsuul has joined #ruby
endash has quit [Ping timeout: 248 seconds]
<slowcon>
shevy: can i just take a minute here....
rm_ is now known as sassamo
<slowcon>
just answered my first question correctly in the channel
dponrails has joined #ruby
koell has joined #ruby
<slowcon>
flexxxxxxxxx
Zubin has joined #ruby
jcs222_ is now known as jcs222
gja has quit [Client Quit]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
<shevy>
lol
<slowcon>
hahaha that felt good
IceDragon has joined #ruby
<slowcon>
of all the help you guys give me, glad i could finally answer someones question
jzig has joined #ruby
<shevy>
you are slowly leaving behind your noob status
<aloitius_>
OK, having researched this now, it looks to me like gyoku doesn't handle XML element name tags properly. If you pass a hash with "abc(de)" => "xyz", gyoku.xml returns "<abc(de)>xyz</abc(de)>", which does not conform to XML rules. Do I have this right?
kpshek has quit []
sdwrage has quit [Quit: This computer has gone to sleep]
echevemaster has joined #ruby
mojo619 has quit [Ping timeout: 272 seconds]
r0bby_ has quit [Excess Flood]
razrunelord has joined #ruby
<t432_>
apprentley ruby is not up to date even after issuing command: gem update
Emmanuel_Chanel has quit [Ping timeout: 272 seconds]
carlyle has quit [Remote host closed the connection]
michael_lee has quit [Ping timeout: 260 seconds]
<certainty>
avril14th: all strategies share this variable
<certainty>
the last value you're setting is :hash
<avril14th>
but they are in different classes no?!
thumpba has joined #ruby
Xeago has quit [Remote host closed the connection]
<avril14th>
I mean I define different classes there
<avril14th>
so each has its own class variables
<apeiros>
what happened on april 14th?
aspires has joined #ruby
<shevy>
he murdered his father
thams has quit [Quit: thams]
mavcunha has joined #ruby
mavcunha has quit [Client Quit]
<shevy>
avril14th that is one reason why one should avoid @@
<shevy>
they make debugging harder than it ought to eb
<ddd>
wait, github is saying that ruby 1.8 is speedier than 1.9. i thought 1.9 made drastic inroads to speedup
andikr has quit [Remote host closed the connection]
_bart has quit [Remote host closed the connection]
<shevy>
yeah 1.9.x is faster
<ddd>
General recommendation: you should change hub's shebang line to run with system ruby (usually /usr/bin/ruby) instead of currently active ruby (/usr/bin/env ruby). Also, Ruby 1.8 is speedier than 1.9.
gja has quit [Quit: This computer has gone to sleep]
<shevy>
sounds incorrect
<ddd>
yeah that's what i thought. and i see it in my own projects. 1.9 is *definitely* faster
<avril14th>
apeiros: april14th with a v is a track by aphex twin
<wuest>
ddd: there are a few edge cases where 1.8 is faster. I can't remember them; they are explored in Ruby Under a Microscope.
<shevy>
perhaps he mixed it up while writing that docu
Roa has quit [Changing host]
Roa has joined #ruby
<apeiros>
ddd: generally 1.9 is faster. there may be things where 1.8 is faster, though.
vlad_starkov has quit [Read error: Connection reset by peer]
<ddd>
wuest i've the book. i'll have to look for that in there
<ddd>
shevy possible
<wuest>
It was in the first half if I recall.
jerius has quit [Ping timeout: 240 seconds]
<shevy>
so is this statement correct wuest :) "Ruby 1.8 is speedier than 1.9."
<ddd>
doesn't matter what ruby you're under, building the docs for rails.. slow as molassess in winter
<wuest>
shevy: of course not in such a general context ;)
<avril14th>
shevy: probably, but trying to understand :)
<avril14th>
I can set the @@ to @ or CONSTANT and get the same thing
<ddd>
i just wonder what grounds he has for the comment. wondering what is specific to the hub gem that makes 1.8 faster in it's use over 1.9.
<avril14th>
I don't get it
<shevy>
avril14th k then - on which class did you define the @@
<ddd>
no biggie
<avril14th>
shevy: each
<shevy>
what
<shevy>
I mean, what are the names
<avril14th>
oh
<avril14th>
XmlStrategy
<avril14th>
JsonStrategy
<avril14th>
HashStrategy
<shevy>
hmmm
<avril14th>
oh I get it. when i set the variables
<avril14th>
they are not YET
<avril14th>
named that way
havenwood has joined #ruby
<avril14th>
?? :))
<shevy>
I am amazed that you can understand this code
sk87 has quit [Ping timeout: 245 seconds]
soulcake has quit [Read error: Connection reset by peer]
<shevy>
It is above my head
t432_ is now known as t432
asteros has joined #ruby
asteros has quit [Client Quit]
rubyracer has joined #ruby
<avril14th>
!
<wuest>
Yeah, it's definitely a multi-pass read. It can probably be made clearer/simpler.
Matriks has quit [Remote host closed the connection]
<shevy>
:)
soulcake has joined #ruby
<shevy>
simplifications are a sign of the engineer
<shevy>
fancy crossdressing the sign of the hipster
klaut has quit [Remote host closed the connection]
<shevy>
*insert wild profanities and insults to the channel here*
dkamioka has joined #ruby
sdwrage has joined #ruby
<wuest>
shevy: what are your feelings on (flamebait)?
kpshek has joined #ruby
<ddd>
channel_slanders.each do |slander| puts "shevy: #"slander}" end
jerius has joined #ruby
<ddd>
gah!
<wuest>
ddd, grats
<shevy>
wuest: all I know is that when you compare vim with emacs you end up with two losers
coderdad_ has quit [Remote host closed the connection]
<ddd>
channel_slanders.each do |slander| puts "shevy: #{slander}" end
<ddd>
there!
<wuest>
shevy: I wasn't going to actually _NAME_ any flamebait. :o
<shevy>
I had to insert something
x77686d has quit [Quit: x77686d]
<shevy>
hmm
jonno11 has joined #ruby
zachallett has quit [Remote host closed the connection]
thesheff17 has quit [Remote host closed the connection]
stonevil_ has quit [Quit: Computer has gone to sleep.]
r0bby_ has quit [Ping timeout: 265 seconds]
robbyoconnor has joined #ruby
kukyakya_ has quit [Ping timeout: 245 seconds]
<ddd>
really?? a damned hour to build the ri/rdoc for rails4? I know this is only a damned 1.2GHz CPU but sheesh!
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RaCx has joined #ruby
<wuest>
Wow, that's a record. I complain about fog...
<ddd>
its still going too!
<wuest>
Sounds like nethackoclock.
thesheff17 has joined #ruby
lsmola has quit [Read error: Operation timed out]
yfeldblum has quit [Ping timeout: 265 seconds]
<apeiros>
I still think building the doc data (not html or ri representation) should be done with gem push
<ddd>
sounds about right. Or, in keeping with my inquisitive nature, I think I'll watch the rest of this course video on SQL first
Celm has joined #ruby
mavcunha has joined #ruby
<wuest>
apeiros: yeah
_5kg has joined #ruby
naveen has joined #ruby
naveen has quit [Client Quit]
<shevy>
the docs always annoy me because I dont read them anyway
<ddd>
apeiros how would you bring them down? an additional switch?
<ddd>
(i want the docs locally because I often work with no internet available)
workmad3 has quit [Ping timeout: 260 seconds]
<apeiros>
bring what down what?
jonah_k has joined #ruby
<apeiros>
ah, IMO should be part of the .gem package
<ddd>
the docs. gem push would push to the gem server (rubygems.org by default)
bean has joined #ruby
<apeiros>
though there's a point in having them separate. i.e. you can optionally download both.
<ddd>
ah i see what you mean.
<apeiros>
so on machines where you don't want docs, you can save yourself and rubygems.org the bandwith.
<ddd>
yeah. i can definitely see a rails and rails-doc gem or bundler bundler-doc etc
<apeiros>
no, not with a separate name
<shevy>
ewwww
<apeiros>
gem 'foo' has a gem and a doc part
<ddd>
gem install foo --no-doc
<apeiros>
and if you instruct rubygems to, it'll download both, or only one of them
<apeiros>
exactly
jonah_k has quit [Client Quit]
<wuest>
ddd: or to cover what I imagine is the more common use case by default... gem install foo --with-doc
<ddd>
default to --docs over --no-docs would even be ok
<ddd>
yeah
RaCx has quit [Quit: Computer has gone to sleep.]
angusigu1ss has joined #ruby
waheedi has quit [Quit: Waheedi]
moted has quit [Quit: moted]
fijimunk1i has quit [Read error: Connection reset by peer]
<slowcon>
question about mechanize. running the code -- agent.page.search(".date").map(&:text) -- which returns the date of a forum post. problem is, if people reply to the post, it grabs their timestamps also. ive used the .first command before, but not sure how to integrate it to this command
Voodoofish430 has joined #ruby
Kelgors has quit [Ping timeout: 245 seconds]
sikor_sxe has quit [Ping timeout: 260 seconds]
x77686d has joined #ruby
RaCx has joined #ruby
Zubin has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 260 seconds]
sassamo has quit [Read error: Connection reset by peer]
coderhs has quit [Ping timeout: 252 seconds]
sassamo has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
t432 has quit [Ping timeout: 245 seconds]
canton7-mac has quit [Quit: Leaving]
danshultz has joined #ruby
fedesilva has joined #ruby
fijimunkii has joined #ruby
Natch has joined #ruby
waheedi has joined #ruby
endash has joined #ruby
DaniG2k has quit [Quit: leaving]
mjs2600 has quit [Remote host closed the connection]
yarou has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 260 seconds]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
zachallett has joined #ruby
avril14th has quit [Quit: Page closed]
jobewan has quit [Ping timeout: 260 seconds]
Guest74062 is now known as Penetrator
roolo has quit [Quit: Leaving...]
LadyRainicorn has quit [Ping timeout: 252 seconds]
evaryont has joined #ruby
bklane has joined #ruby
yarou has joined #ruby
mehlah has quit [Quit: Leaving...]
LadyRainicorn has joined #ruby
joelbrewer has joined #ruby
bean has joined #ruby
tungd has quit [Ping timeout: 252 seconds]
barratt has quit [Ping timeout: 272 seconds]
davidcollom is now known as davidcollom_
momomomomo has quit [Quit: momomomomo]
camilasa_ has quit []
LadyRainicorn has quit [Client Quit]
TMM has quit [Quit: Ex-Chat]
kukyakya has joined #ruby
kpshek has quit []
joelroa has joined #ruby
pel_daniel has joined #ruby
elaptics is now known as elaptics`away
coderhs has joined #ruby
<havenwood>
slowcon: Can you give an example of what `agent.page.search(".date")` outputs and what you'd like to map it to?
io_syl has joined #ruby
sheepman|afk is now known as sheepman
sheepman is now known as sheepman|afk
jobewan has joined #ruby
<slowcon>
havenwood: i got it, i changes it from agent.page.search to agent.page.at
jle` has joined #ruby
mgberlin has joined #ruby
<havenwood>
ah, okay
jobewan has quit [Read error: Connection reset by peer]
<slowcon>
havenwood: different question though, the script pulls a link and a timestamp from the page. if the link is not present, the script fails. can i get it to return NIL instead of failing?
<slowcon>
let me get a pastebin
jobewan has joined #ruby
io_syl has quit [Remote host closed the connection]
qhartman has joined #ruby
Solnse has quit [Quit: Leaving.]
io_syl has joined #ruby
lurch_ has quit [Quit: lurch_]
cmoylan_ has quit [Ping timeout: 248 seconds]
dtcrshr has quit [Read error: Connection reset by peer]
<slowcon>
havenwood: the script pulls IDs from a table, and goes to the different IDs to grab the zippy link and timestamp. but fails when no zippy link is found. want it to return NIL, or anything to not make it fail
m104 has joined #ruby
kaliya has quit [Quit: Lost terminal]
freerobby has quit [Quit: Leaving.]
tkuchiki has joined #ruby
mavcunha has quit [Quit: Computer has gone to sleep.]
budrose has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pabloh has quit [Ping timeout: 248 seconds]
Hobogrammer has quit [Ping timeout: 252 seconds]
coderdad has joined #ruby
Kelgors has joined #ruby
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
slowcon: gah the indentation! :P what is the failure?
joelroa has joined #ruby
agent_white has joined #ruby
<slowcon>
havenwood: i thought my indentation got alot better!
dkamioka has quit []
<slowcon>
minus the whitespace
<havenwood>
slowcon: look at lines 7, 8, 9 :O
Astralum has joined #ruby
<havenwood>
slowcon: Also Gist!!!! Then we can fork your Gist and fix it. gist.github.com
Hobogrammer has joined #ruby
<slowcon>
haha yeah, its correct in my IDE, i just remove some stuff not currently used when i pastebin so its less confusing
<havenwood>
slowcon: aha
<slowcon>
havenwood: ok i think its finally time to figure out how to use gist
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
slowcon: :D
Dontmindme has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
phoenixHollywood has quit [Quit: leaving]
bklane has quit [Quit: Leaving...]
<slowcon>
havenwood: only problem with this script, is that you wont be able to test fully. it requires a username/pass
pigzzcanfly has joined #ruby
<havenwood>
slowcon: So line 17 is raising an error?
<slowcon>
havenwood: line 17 raising an error when its not found
RaCx has quit [Quit: Computer has gone to sleep.]
<havenwood>
slowcon: What error? Gist!
coderdad has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
moted has joined #ruby
rismoney has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
<slowcon>
havenwood: would gist be beneficial to this project?
dh64 has joined #ruby
Hobogrammer has joined #ruby
jcs222 has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
<havenwood>
slowcon: Yes, because then we'd know what the error is and could help you fix it. Really hard to fix an error in the dark.
IceyEC has joined #ruby
<havenwood>
slowcon: If an error is raised, the error message is important to understanding what happened.
sambao21 has quit [Quit: Computer has gone to sleep.]
<slowcon>
havenwood: the script requires a username/password that im storing in a cookie and loading at the new script
freezey has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
<havenwood>
slowcon: Error ouput!
<slowcon>
havenwood: in `block in <main>': undefined method `href' for nil:NilClass (NoMethodError)
colli5ion has quit []
<havenwood>
slowcon: Thank you! >.>
<havenwood>
slowcon: so this `agent.page.link_with(:text => 'download')` is returning `nil` then you call `.href` on it
rafaelmagu has joined #ruby
acrussell has left #ruby [#ruby]
<havenwood>
slowcon: `nil` doesn't respond to `#href`
<slowcon>
havenwood: sorry, just wanted to make sure we were on the same page that YES, i should be using gist so that you guys can just test and see what i see. but that it wouldnt be that beneficial for this project because of the login details
<havenwood>
slowcon: ^ do you get what I'm saying? can you think of a potential way to fix that?
jobewan has quit [Ping timeout: 252 seconds]
saarinen has joined #ruby
dkamioka has joined #ruby
RaCx has joined #ruby
retnuh has joined #ruby
shawnjgoff has quit [Read error: Connection reset by peer]
jobewan has joined #ruby
<slowcon>
havenwood: yes i understand whats happening. thinking now what to do
<slowcon>
havenwood: something tells me create a block
RaCx has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<certainty>
something tells me to have drink :)
freggles has joined #ruby
danman has joined #ruby
gigetoo has quit [Remote host closed the connection]
Dontmindme has quit [Quit: Dontmindme]
vlad_starkov has quit [Read error: Connection reset by peer]
nateberkopec has quit [Read error: Connection reset by peer]
<havenwood>
slowcon: here's where the forking comes in :) to show you a solution even if code isn't being run
freezey has joined #ruby
nateberkopec has joined #ruby
<ddd>
when something tells me to have a drink, I tell it "Stand by for refills!"
mehlah has joined #ruby
<likemike_>
Hello i need to check size of first set of characters in the file (basically if the first line of strings has a specific length). How would i do that ?
mikecmpbll has joined #ruby
<likemike_>
In file
<havenwood>
slowcon: Maybe consider this and what you might then do?: download = agent.page.link_with(:text => 'download')
gigetoo has joined #ruby
<havenwood>
slowcon: given `download` may be `nil`
<apeiros>
likemike_: you'd read the file and count?
<apeiros>
likemike_: I don't see where you're running into difficulties with that…
mjs2600 has joined #ruby
<likemike_>
apeiros: check line by line and count ?
CaptainJet has quit [Read error: No route to host]
eka has quit [Read error: Connection reset by peer]
carlyle has quit [Read error: Connection reset by peer]
carlyle has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
kevind has quit [Quit: kevind]
jonno11 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest50152 has quit [Ping timeout: 245 seconds]
kevind has joined #ruby
meatherly has joined #ruby
pigzzcanfly has joined #ruby
ktosiek has joined #ruby
nanoyak has joined #ruby
mocfive has quit [Ping timeout: 265 seconds]
ciwolsey has quit [Remote host closed the connection]
Solnse has joined #ruby
<jxport>
havenwood: thanks buddy
todor has joined #ruby
<slowcon>
havenwood: got it with the "download.href if download"
<slowcon>
havenwood: just had to set that statement to a new variable and call that one, instead of the orig download
bubbajones has quit [Ping timeout: 260 seconds]
<todor>
hi all, I am trying to write a script that intelligently cleans up stale PID files, so instead of Process.kill(0,PID) I want to make sure that the process name matches the PID
oracal has joined #ruby
centrx has joined #ruby
<todor>
is there a way to obtain the name of a PID without doing system() calls ?
msmith has joined #ruby
CaptainJet has joined #ruby
olivier_bK has quit [Read error: Operation timed out]
NovapaX has joined #ruby
sdwrage has joined #ruby
cj3kim has joined #ruby
RaCx has joined #ruby
unholycrab has quit [Ping timeout: 245 seconds]
joelbrewer has quit [Quit: Lost terminal]
unholycrab has joined #ruby
bubbajones has joined #ruby
coderhs has quit [Ping timeout: 252 seconds]
centrx has quit [Quit: Leaving]
jprovazn has joined #ruby
<apeiros>
todor: maybe via Process
<todor>
yeah, that's where I am looking - all sorts of handy methods but nothing to return the name/command of another PID
aantix has joined #ruby
alk_ has left #ruby [#ruby]
<todor>
(nothing immediatelly obvious)
kayamm has quit [Quit: sleep]
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
<waheedi>
todor: write a shell script
vlad_starkov has joined #ruby
<slowcon>
havenwood: damn, now im stuck with a bunch of dates that are labeled "Today, 08:23 AM" "Yesterday, 02:23 PM.
ianfleeton has joined #ruby
ianfleeton has quit [Client Quit]
<slowcon>
havenwood: so when integrating it with the Date.parse or Time, im going to have to define Yesterday as a number to subtract from?
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
kristian_ has quit [Remote host closed the connection]
enebo has joined #ruby
philcrissman has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ringaroses1 has joined #ruby
ringaroses has quit [Ping timeout: 245 seconds]
bricker_ is now known as bricker
agent_wh2te has joined #ruby
retnuh has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
xerox357 has quit [Read error: Operation timed out]
mwillhite has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soulcake has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Ex-Chat]
mansi has joined #ruby
twiceaday has quit [Read error: Connection reset by peer]
joelroa has joined #ruby
soulcake has joined #ruby
SolarSailor has joined #ruby
twiceaday has joined #ruby
lars_smit has joined #ruby
lars_smit has quit [Max SendQ exceeded]
lars_smit has joined #ruby
gregf has joined #ruby
pigzzcanfly has quit [Remote host closed the connection]
pigzzcanfly has joined #ruby
snath has quit [Read error: Operation timed out]
bubbajones has quit [Ping timeout: 248 seconds]
milhite has joined #ruby
milhite has quit [Max SendQ exceeded]
maroloccio has joined #ruby
milhite has joined #ruby
hiall has quit [Ping timeout: 260 seconds]
joelroa has quit [Read error: Operation timed out]
philcrissman has joined #ruby
makara has joined #ruby
Astralum has quit [Quit: Leaving]
mark_locklear has joined #ruby
unholycrab has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
RaCx has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby
unholycrab has joined #ruby
bubbajones has joined #ruby
mgberlin has quit [Remote host closed the connection]
pigzzcanfly has quit [Remote host closed the connection]
<slowcon>
havenwood: working in pry when i put a string into the chronic parse. not showing up live
bubbajones has quit [Ping timeout: 272 seconds]
<havenwood>
slowcon: require 'chronic'
chipotle has quit [Quit: cya]
<slowcon>
its in the require gem file
bubbajones has joined #ruby
unholycrab has quit [Remote host closed the connection]
unholycrab has joined #ruby
axl_ has quit [Quit: axl_]
decoponyo has quit [Quit: Leaving...]
angusiguess has quit [Ping timeout: 265 seconds]
Hobogrammer_ has quit [Ping timeout: 248 seconds]
<havenwood>
slowcon: what is `posted_new` getting set to? i don't know what your issue is.
Hobogrammer has joined #ruby
Czupa has joined #ruby
Wolland has quit [Remote host closed the connection]
sassamo has quit [Remote host closed the connection]
soheil has quit [Remote host closed the connection]
guyz has quit [Excess Flood]
sassamo has joined #ruby
<slowcon>
havenwood: this is so frustrating because pry is fucking up when i try to run the script.
digifiv5e has joined #ruby
soheil has joined #ruby
digifiv5e is now known as Guest13084
PLejeck has quit [Read error: Connection reset by peer]
<slowcon>
havenwood: in `require': cannot load such file -- ./cl_gems_cookies.rb
Wolland has joined #ruby
<slowcon>
havenwood: so i put the full path up there and it works, but i dont get it. doesnt happen on my mac. and im not changing the path of every single thing through all of the scripts
Guest13084 has quit [Changing host]
Guest13084 has joined #ruby
robbyoconnor has joined #ruby
Guest13084 is now known as guyz
kpshek has joined #ruby
<havenwood>
slowcon: Where are you starting Pry from. This can be set in Pry. There is a #pry channel too btw.
<slowcon>
havenwood:starting pry from the default location
robbyoconnor has quit [Client Quit]
aspiers has quit [Ping timeout: 252 seconds]
m104 has quit [Quit: bye]
<slowcon>
havenwood: C>Ruby>Bin
ilyam has joined #ruby
Pullphinger has joined #ruby
<havenwood>
slowcon: So the file you're requiring isn't there.
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Astralum has quit [Quit: Leaving]
MattStratton has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
_Andres has quit [Ping timeout: 260 seconds]
tolstoi has joined #ruby
tolstoi has quit [Changing host]
tolstoi has joined #ruby
angusigu1ss has joined #ruby
kevind has quit [Ping timeout: 272 seconds]
coderhs has joined #ruby
kevind_ is now known as kevind
_Andres has joined #ruby
sambao21 has joined #ruby
tvw has quit []
ilyam has joined #ruby
<apeiros>
damn, I'm blind :(
<apeiros>
can't find my gitgutter color settings :-S
freerobby has joined #ruby
havenwood has joined #ruby
sambao21 has quit [Client Quit]
phantomtiger has joined #ruby
ilyam has quit [Client Quit]
zxq9 has joined #ruby
angusigu1ss has quit [Ping timeout: 252 seconds]
msmith has joined #ruby
sambao21 has joined #ruby
aloitius_ has quit [Ping timeout: 245 seconds]
coderdad has quit [Remote host closed the connection]
agent_wh2te has quit [Quit: Lost terminal]
RaCx has quit [Quit: Computer has gone to sleep.]
budrose has joined #ruby
burlyscudd has joined #ruby
jonah_k has joined #ruby
carlyle has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
klaut has joined #ruby
<slowcon>
havenwood: so i think the reason why Chronic is not displaying the right time is the way the string is being pulled. in pry when i call the variable with the date and time in it, i get this result [14] pry(main)> posted_on
<slowcon>
=> "Today,\u00A008:23 AM"
<slowcon>
havenwood: thinking that those middle characters are messing up the script
<apeiros>
aaahaha, fun, the keys in the XML changed
<slowcon>
if i do "puts posted_on" i get Today, 08:23 AM
<havenwood>
UTF8 ALL THE THINGS \o/
<apeiros>
slowcon: yupp, \u00A0 is a single character
carlyle has joined #ruby
scarolan has quit [Ping timeout: 245 seconds]
<slowcon>
if i do the same puts in my IDE, it returns formatted correctly
wildharvest__ has quit [Ping timeout: 245 seconds]
mgorbach has quit [Ping timeout: 245 seconds]
Riking has quit [Ping timeout: 245 seconds]
trhodes has quit [Read error: Connection reset by peer]
ianfleeton has quit [Quit: ianfleeton]
zzak has quit [Ping timeout: 245 seconds]
antonishen has quit [Ping timeout: 245 seconds]
dmoe has quit [Ping timeout: 245 seconds]
kiba has quit [Ping timeout: 245 seconds]
bubbajones has quit [Ping timeout: 265 seconds]
unholycrab has quit [Ping timeout: 265 seconds]
aspires has joined #ruby
antonishen has joined #ruby
ggherdov has joined #ruby
relix_ has joined #ruby
Celm_ has quit [Remote host closed the connection]
<havenn>
s2013_: extract method
xrq```` has joined #ruby
mansi has joined #ruby
mgorbach has joined #ruby
_maes_ has joined #ruby
kitak has quit [Remote host closed the connection]
Riking has joined #ruby
Natch_b has joined #ruby
Mission-Critical has joined #ruby
kitak has joined #ruby
pwh has quit [Ping timeout: 245 seconds]
relix has quit [Ping timeout: 245 seconds]
mocfive_ has joined #ruby
mosheee has joined #ruby
NovapaX has joined #ruby
korzybski_ has joined #ruby
evenix_ has joined #ruby
zzak has joined #ruby
TakumoKatekari has joined #ruby
TakumoKatekari has joined #ruby
wildharvest__ has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
Astralum has joined #ruby
milhite_ has joined #ruby
<s2013_>
extract method?
milhite_ has joined #ruby
Anarch_ has joined #ruby
Radar- has joined #ruby
nw has joined #ruby
nanashiRei has quit [Ping timeout: 252 seconds]
mocfive has quit [Read error: Connection reset by peer]
Mapley has quit [Remote host closed the connection]
mosheee has quit [Changing host]
mosheee has joined #ruby
Jelco has quit [Ping timeout: 252 seconds]
sumark has quit [Ping timeout: 252 seconds]
robwilliamsuk has quit [Ping timeout: 252 seconds]
milhite_ has quit [Client Quit]
codenapper has joined #ruby
bmn_ has joined #ruby
rcs_ has joined #ruby
oetjenj_ has joined #ruby
Nilium has quit [Disconnected by services]
PLejeck- has joined #ruby
Nilium_ has joined #ruby
<havenn>
krz: what are you using for db transactions?
<havenn>
s2013_: make two methods where there were one
<havenn>
s2013_: the inverse of inline method, just refactoring terms
Nilium_ is now known as Nilium
drago777 has quit [Ping timeout: 252 seconds]
sheepman|afk has quit [Ping timeout: 252 seconds]
jan1337z has quit [Ping timeout: 252 seconds]
Celm_ has joined #ruby
dmoe has joined #ruby
zzak has joined #ruby
zzak has quit [Changing host]
zachalle_ has joined #ruby
sweeper_ has joined #ruby
mroth_ has joined #ruby
dandrade has quit [Ping timeout: 252 seconds]
trautwein has quit [Ping timeout: 252 seconds]
user258467 has quit [Ping timeout: 252 seconds]
<havenn>
krz: is #transaction part of Stripe?
dingus_khan has joined #ruby
sumark has joined #ruby
dandrade has joined #ruby
<shevy>
Striptease!
evenix has quit [Ping timeout: 245 seconds]
<havenn>
krz: chicken before the egg problem, i think you need a rip in spacetime!
fbernier_ has joined #ruby
Mission-Critical is now known as MissionCritical
nanashiRei has joined #ruby
einarj has joined #ruby
hoelzro_ has joined #ruby
aob_ has joined #ruby
cschneid_ has joined #ruby
baordog_ has joined #ruby
SegFaultAX_ has joined #ruby
<likemike_>
how to validate a positional format of a string ? lets say...i want to check if first 5 characters are numbers, next 5 only characters,next 10 numbers...etc
robwilliamsukio has joined #ruby
SegFaultAX_ has quit [Changing host]
SegFaultAX_ has joined #ruby
nanashiRei has quit [Changing host]
nanashiRei has joined #ruby
oso|away has joined #ruby
ineb_ has joined #ruby
Elfix has joined #ruby
<shevy>
likemike_ you could use a regex
jan1337z has joined #ruby
<shevy>
/\d{5}/
andrewstewart has quit [Ping timeout: 245 seconds]
blooberr____ has quit [Ping timeout: 245 seconds]
<shevy>
or something like that
milhite_ has joined #ruby
drago777 has joined #ruby
koalalla1a has joined #ruby
<krz>
havenn: rails
Guest74058 has quit [Read error: Connection reset by peer]
<krz>
postgres
<krz>
havenn: does that answer your question?
<krz>
rails active record*
36DACKRI6 has joined #ruby
36DACKRJ4 has joined #ruby
peterhu has quit [Quit: leaving]
lectrick_ has joined #ruby
36DACKRK6 has joined #ruby
36DACKRL8 has joined #ruby
lectrick_ has joined #ruby
lectrick_ has quit [Changing host]
QKO_ has quit [Ping timeout: 252 seconds]
felipe has quit [Ping timeout: 252 seconds]
<havenn>
krz: yup
peterhu has joined #ruby
<havenn>
krz: ActiveRecord
Jelco has joined #ruby
Jelco has joined #ruby
Jelco has quit [Changing host]
<havenn>
krz: might try #RubyOnRails if you haven't already
sheepmanl has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
sheepmanl is now known as sheepman
tvw has joined #ruby
aagdbl_ has joined #ruby
aagdbl_ has quit [Changing host]
aagdbl_ has joined #ruby
aboudreault_ has joined #ruby
ringaroses has joined #ruby
ellbot has quit []
user258467 has joined #ruby
einarj has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 245 seconds]
45PAAH8ER has quit [Ping timeout: 245 seconds]
soheil has quit [Ping timeout: 245 seconds]
alvaro_o has quit [Ping timeout: 245 seconds]
rylinaux has quit [Ping timeout: 245 seconds]
alvaro_o has joined #ruby
KK4MGV has joined #ruby
korzybski_ is now known as korzybski
mikekellyio is now known as mikekellyio_
Lewix_ has quit [Remote host closed the connection]
blooberr____ has joined #ruby
lpvn has joined #ruby
<slowcon>
havenn: i couldnt figure out how to do it the way you guys were explaining. the date text that the script is pulling will always be same format so it should be ok. check it out https://gist.github.com/slowcon/788a13c36f89bcebd869
art-solopov has quit [Quit: Konversation terminated!]
pranny has quit [Read error: Connection reset by peer]
pranny1 has joined #ruby
wald0 has joined #ruby
lupine has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
dponrails has quit [*.net *.split]
dioms___ has quit [*.net *.split]
dotemacs has quit [*.net *.split]
SegFaultAX has quit [*.net *.split]
androbtech has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
rgoodwin has quit [*.net *.split]
rtlong has quit [*.net *.split]
jimeh has quit [*.net *.split]
Avahey has quit [*.net *.split]
jeregrine has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
gwb3 has quit [*.net *.split]
gyre007_ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
illbyte has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
moshee has quit [*.net *.split]
MJBrune has quit [*.net *.split]
xrq``` has quit [*.net *.split]
sweeper has quit [*.net *.split]
mattp__ has quit [*.net *.split]
oetjenj has quit [*.net *.split]
aboudreault has quit [*.net *.split]
three18ti has quit [*.net *.split]
ineb has quit [*.net *.split]
kloeri has quit [*.net *.split]
nw_ has quit [*.net *.split]
xxi has quit [*.net *.split]
koalallama has quit [*.net *.split]
benatkin_ has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
Anarch has quit [*.net *.split]
nvll has quit [*.net *.split]
aagdbl has quit [*.net *.split]
oso96_2000 has quit [*.net *.split]
DylanJ has quit [*.net *.split]
rcs has quit [*.net *.split]
bmn has quit [*.net *.split]
aob has quit [*.net *.split]
hoelzro has quit [*.net *.split]
Radar has quit [*.net *.split]
Natch has quit [*.net *.split]
fbernier has quit [*.net *.split]
robert_ has quit [*.net *.split]
weeb1e has quit [*.net *.split]
mroth has quit [*.net *.split]
cuppscakes has quit [*.net *.split]
oso|away is now known as oso96_2000
oetjenj_ is now known as oetjenj
rcs_ is now known as rcs
zachalle_ has quit [Remote host closed the connection]
SegFaultAX_ is now known as SegFaultAX
kevind has joined #ruby
robert_ has joined #ruby
aryaching_ has quit [Ping timeout: 260 seconds]
fbernier_ is now known as fbernier
kloeri_ is now known as kloeri
robert_ has quit [Changing host]
robert_ has joined #ruby
<havenn>
likemike_: for non-regex fun, here's a method: def string_range_is_numbers? string, range; string.chars[range].all? { |char| ('0'..'9').cover? char } end
pranny1 has quit [Read error: Connection reset by peer]
meinside has joined #ruby
pranny has joined #ruby
danshultz has quit [Remote host closed the connection]
<havenn>
likemike_: could use that ^ like: string_range_is_numbers? 'hello123', 2..4
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
aagdbl_ is now known as aagdbl
coderdad has quit [Remote host closed the connection]
mroth_ is now known as mroth
shaado is now known as shado
mattmcclure has joined #ruby
zzak is now known as zzak_
Olipro has quit [Ping timeout: 246 seconds]
dioms___ has joined #ruby
mattmcclure is now known as sh1ps
ixx has joined #ruby
illbyte has joined #ruby
sh1ps is now known as mattmcclure
ixx is now known as Guest54679
jgoss has joined #ruby
<havenn>
krz: seems to me you need a way to rollback transaction after it has already occurred. you need a only if b and b only if a, but each has to occur before you know if the other ought
frode15243 has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
Matriks_ has quit [Remote host closed the connection]
cjk101010 has joined #ruby
andy has joined #ruby
_bart has joined #ruby
<havenn>
krz: so you either have to be able to undo your API call or your DB transaction, and i'd imagine only the latter is possible?
evenix_ has quit [Ping timeout: 260 seconds]
frode15243 is now known as frode15243_
<havenn>
unless you implement it
Lewix has joined #ruby
AntelopeSalad has joined #ruby
three18ti has joined #ruby
IceyEC has quit [Quit: IceyEC]
jayne has quit [Read error: Connection reset by peer]
zigomir_ has joined #ruby
pranny has quit [Quit: Leaving.]
aspires has quit []
kpshek has joined #ruby
aspires has joined #ruby
KK4MGV is now known as Guest57569
pranny has joined #ruby
coderdad has joined #ruby
jayne has joined #ruby
<havenn>
likemike_: or something more flexible: def string_range_in_array? string, range, array; string.chars[range].all? { |char| array.include? char } end
beneggett has quit [Ping timeout: 252 seconds]
<havenn>
likemike_: ^ then you could: string_range_in_array? 'hiya', 1..2, [*'a'..'z', '?', *'2'..'8'] #=> true
Olipro has joined #ruby
Liothen has joined #ruby
cj3kim has quit [Remote host closed the connection]
Radar- is now known as Radar
pranny has quit [Read error: Connection reset by peer]
pranny has joined #ruby
beneggett has joined #ruby
_whitelogger__ has joined #ruby
xxi has joined #ruby
Nigel_ has joined #ruby
m_3 has joined #ruby
wmoxam_ has joined #ruby
Bish_ has joined #ruby
saltnvinegar has quit [Client Quit]
chiel_ has joined #ruby
pontiki_ has joined #ruby
rtl_ has joined #ruby
certaint1 has joined #ruby
lewellyn has joined #ruby
<slowcon>
havenwood: it works :)
matti_ has joined #ruby
QKO_ has joined #ruby
urtokk_ has joined #ruby
tonini_ has joined #ruby
Nahra_ has joined #ruby
zellio_ has joined #ruby
pcarrier has joined #ruby
hoelzro_ is now known as hoelzro
mary5030_ has quit [Remote host closed the connection]
coderhs has quit [Ping timeout: 248 seconds]
lkba has quit [Quit: Bye]
ParanoidSP has joined #ruby
yasu_ has joined #ruby
sailias1 has quit [Quit: Leaving.]
pigzzcanfly has quit [Remote host closed the connection]
pigzzcanfly has joined #ruby
Sleepee has quit [Quit: Leaving]
RaCx has quit [Client Quit]
aef_ has joined #ruby
LBRapid_ has joined #ruby
beneggett has quit [Ping timeout: 248 seconds]
onewheelskyward_ has joined #ruby
rx has joined #ruby
virt|work has quit [Quit: Leaving...]
nemesit|znc has joined #ruby
xerox357 has quit [Ping timeout: 248 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
philcrissman has quit [Remote host closed the connection]
d2dchat_ has joined #ruby
beneggett has joined #ruby
halfie_ has joined #ruby
Liothen has quit [*.net *.split]
Guest54679 has quit [*.net *.split]
oso96_2000 has quit [*.net *.split]
_bart has quit [*.net *.split]
QKO has quit [*.net *.split]
tvw has quit [*.net *.split]
percival has quit [*.net *.split]
aboudreault_ has quit [*.net *.split]
mocfive_ has quit [*.net *.split]
mosheee has quit [*.net *.split]
antonishen has quit [*.net *.split]
6JTABAGCX has quit [*.net *.split]
bedouin has quit [*.net *.split]
starfox21 has quit [*.net *.split]
Shidash has quit [*.net *.split]
kevinykc_ has quit [*.net *.split]
freerobby has quit [*.net *.split]
phantomtiger has quit [*.net *.split]
dubsteph has quit [*.net *.split]
Virtualize|away has quit [*.net *.split]
Solnse has quit [*.net *.split]
jle` has quit [*.net *.split]
jobewan has quit [*.net *.split]
rubyracer has quit [*.net *.split]
d2dchat has quit [*.net *.split]
bal1 has quit [*.net *.split]
quatron has quit [*.net *.split]
shevy has quit [*.net *.split]
johnmilton has quit [*.net *.split]
matti has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
davidcollom has quit [*.net *.split]
WormDrink has quit [*.net *.split]
clamstar has quit [*.net *.split]
SloggerKhan1 has quit [*.net *.split]
keen_ has quit [*.net *.split]
marcgg_ has quit [*.net *.split]
adam_ has quit [*.net *.split]
LexicalScope has quit [*.net *.split]
toretore has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
certainty has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
bkparso has quit [*.net *.split]
sethen has quit [*.net *.split]
Paranoid1P has quit [*.net *.split]
LBRapid has quit [*.net *.split]
Scient has quit [*.net *.split]
segv has quit [*.net *.split]
cbetta has quit [*.net *.split]
dpaulus has quit [*.net *.split]
nemesit|- has quit [*.net *.split]
ceej has quit [*.net *.split]
supershabam has quit [*.net *.split]
savage-__ has quit [*.net *.split]
lepht has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
garndt has quit [*.net *.split]
tris has quit [*.net *.split]
wchun has quit [*.net *.split]
kevinfagan has quit [*.net *.split]
shaileshg has quit [*.net *.split]
rtl has quit [*.net *.split]
viki has quit [*.net *.split]
Morrolan has quit [*.net *.split]
fayimora has quit [*.net *.split]
culturelabs has quit [*.net *.split]
pontiki has quit [*.net *.split]
moeSeth_ has quit [*.net *.split]
nhmood has quit [*.net *.split]
akitada has quit [*.net *.split]
joast has quit [*.net *.split]
halfie has quit [*.net *.split]
aef has quit [*.net *.split]
robmozart_ has quit [*.net *.split]
Karu has quit [*.net *.split]
G has quit [*.net *.split]
artmann_ has quit [*.net *.split]
rodasc has quit [*.net *.split]
chiel has quit [*.net *.split]
bier_ has quit [*.net *.split]
wmoxam has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
ph8 has quit [*.net *.split]
BeanDip_ has quit [*.net *.split]
m_3_ has quit [*.net *.split]
Bish has quit [*.net *.split]
_whitelogger_ has quit [*.net *.split]
urtokk has quit [*.net *.split]
dideler_work has quit [*.net *.split]
TTilus has quit [*.net *.split]
Nahra has quit [*.net *.split]
headius has quit [*.net *.split]
jrhe has quit [*.net *.split]
sirecote has quit [*.net *.split]
slash_nick has quit [*.net *.split]
idoru has quit [*.net *.split]
tonini has quit [*.net *.split]
yasu has quit [*.net *.split]
wormwood has quit [*.net *.split]
zellio has quit [*.net *.split]
Guest87027 has quit [*.net *.split]
joelteon has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
jeekl has quit [*.net *.split]
onewheelskyward_ is now known as onewheelskyward
LBRapid_ is now known as LBRapid
hellome has quit [Read error: Connection reset by peer]
starfox21_ is now known as starfox21
wookiehangover_ has joined #ruby
centrx has joined #ruby
phantomtiger_ is now known as phantomtiger
wookiehangover_ is now known as wookiehangover
_bart has joined #ruby
halfie_ is now known as halfie
tris has joined #ruby
adam has joined #ruby
rx is now known as clamstar
samuelkadolph has joined #ruby
JZTech101 has joined #ruby
bier has joined #ruby
moshee has joined #ruby
ph8 has joined #ruby
antonishen has joined #ruby
endash_ has joined #ruby
Kilo`byte has joined #ruby
TTilus has joined #ruby
davidcollom has joined #ruby
endash has quit [Read error: No route to host]
endash_ is now known as endash
wormwood has joined #ruby
headius has joined #ruby
connor_goodwolf has joined #ruby
jobewan has joined #ruby
Guest82543 has joined #ruby
dideler_work has joined #ruby
kevinfagan_ has joined #ruby
jrhe_ is now known as jrhe
savage-___ is now known as savage-__
aboudreault has joined #ruby
shaileshg has joined #ruby
supershabam has joined #ruby
viki has joined #ruby
Olipro has quit [Ping timeout: 244 seconds]
garndt has joined #ruby
akitada has joined #ruby
nhmood has joined #ruby
WormDrink has joined #ruby
WormDrink has quit [Changing host]
WormDrink has joined #ruby
fayimora_ is now known as fayimora
moeSeth__ is now known as moeSeth_
lectrick has quit [Ping timeout: 261 seconds]
coderdad has quit [Remote host closed the connection]
Shidash has joined #ruby
Xuisce has joined #ruby
oso96_2000 has joined #ruby
ceej_ is now known as ceej
itadder has quit []
joelteon has joined #ruby
idoru has joined #ruby
segv has joined #ruby
Scient has joined #ruby
keen_ has joined #ruby
sirecote has joined #ruby
phutch1ns has joined #ruby
Solnse has joined #ruby
robmozart_ has joined #ruby
robmozart_ has quit [Changing host]
robmozart_ has joined #ruby
culturelabs_ is now known as culturelabs
jle` has joined #ruby
mary5030 has joined #ruby
endash_ has joined #ruby
BaconOverflow_ has quit [Ping timeout: 245 seconds]
dblessing has quit [Quit: dblessing]
Hobogrammer has quit [Ping timeout: 248 seconds]
<slowcon>
havenwood: whats going on with the room? freenode messed up?
<havenwood>
slowcon: dunno
lectrick_ has joined #ruby
johnmilton has joined #ruby
dpaulus has joined #ruby
joast has joined #ruby
philcrissman has joined #ruby
nerdgrass has quit []
yfeldblum has quit [Remote host closed the connection]
freezey has joined #ruby
Guest43979 is now known as mumblerit
shevy has joined #ruby
mary5030 has quit [Remote host closed the connection]
bedouin has joined #ruby
nateberkopec has joined #ruby
cbetta has joined #ruby
Karu has joined #ruby
dponrails has joined #ruby
percival has joined #ruby
camt has joined #ruby
lepht has joined #ruby
apeiros has joined #ruby
jfelchner_ has joined #ruby
plexus_ has joined #ruby
cibs has joined #ruby
gstamp has joined #ruby
nvll has joined #ruby
eshy has joined #ruby
Twist- has joined #ruby
rtlong has joined #ruby
RoryHughes has joined #ruby
Sirupsen has joined #ruby
lupine has joined #ruby
zastern has joined #ruby
cuppscakes has joined #ruby
zz_karupanerura has joined #ruby
rgoodwin has joined #ruby
jimeh has joined #ruby
gwb3 has joined #ruby
FaresKAlaboud has joined #ruby
dlewis has joined #ruby
kapowaz has joined #ruby
DylanJ has joined #ruby
Avahey has joined #ruby
androbtech has joined #ruby
gyre007__ has joined #ruby
tommyvyo_ has joined #ruby
Jakee` has joined #ruby
jeregrine has joined #ruby
Guest89694 has joined #ruby
trhodes has joined #ruby
ged has joined #ruby
dotemacs_ has joined #ruby
pallavi_ has joined #ruby
wwalker has joined #ruby
msmith has joined #ruby
danneu has joined #ruby
jmeeuwen has joined #ruby
yo61 has joined #ruby
Guest85414______ has joined #ruby
jpinnix_ has joined #ruby
ping-pong has joined #ruby
BRMatt has joined #ruby
crazysim has joined #ruby
d-snp has joined #ruby
adamholt has joined #ruby
replay_ has joined #ruby
terlar has joined #ruby
DrForr has joined #ruby
patronus has joined #ruby
robustus|Off has joined #ruby
Norrin has joined #ruby
juni0r has joined #ruby
RKornmeyer has joined #ruby
jds has joined #ruby
poguez_ has joined #ruby
octarine has joined #ruby
joshwines_ has joined #ruby
jmaister has joined #ruby
gf3 has joined #ruby
Mars` has joined #ruby
nighter has joined #ruby
nilsove has joined #ruby
TheDeadSerious__ has joined #ruby
JoeTheGuest__ has joined #ruby
Muz has joined #ruby
Lulzon has joined #ruby
bpgoldsb has joined #ruby
devyn has joined #ruby
thoraxe has joined #ruby
ozzloy has joined #ruby
Mohan_ has joined #ruby
Guest95957 has joined #ruby
rurban_ has joined #ruby
wykydtron has joined #ruby
seich has joined #ruby
thejoecarroll has joined #ruby
ericwood has joined #ruby
Tranquility has joined #ruby
mjmac has joined #ruby
elaptics has joined #ruby
Martxel has joined #ruby
drasch has joined #ruby
mr_rich101 has joined #ruby
Davedo has joined #ruby
machuga has joined #ruby
neoice has joined #ruby
dponrails has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby
mary5030 has joined #ruby
kayamm has quit [Quit: sleep]
kpshek has quit []
cuppscakes has quit [Max SendQ exceeded]
lupine has quit [Max SendQ exceeded]
nvll has quit [Changing host]
nvll has joined #ruby
Olipro has joined #ruby
cuppscakes has joined #ruby
lupine has joined #ruby
jaxxstorm has joined #ruby
kaldrenon has quit [Remote host closed the connection]
gwb3 is now known as Guest36224
andy is now known as batch
batch is now known as gengis
Celm_ has quit [Remote host closed the connection]
pigzzcanfly has quit [Remote host closed the connection]
retnuh has joined #ruby
Celm has joined #ruby
retnuh has quit [Max SendQ exceeded]
slash_nick has joined #ruby
vlad_starkov has joined #ruby
teenwolf has quit [Ping timeout: 260 seconds]
rtl_ is now known as rtl
freezey has quit [Ping timeout: 252 seconds]
BaconOverflow_ has joined #ruby
Sc0rp10n has joined #ruby
DaWoop has joined #ruby
<DaWoop>
Hi!
<havenwood>
DaWoop: jeu
<DaWoop>
Should I start learning Ruby or Assembly?
<havenwood>
hey*
<havenwood>
DaWoop: Ruby.
pranny has quit [Read error: Connection reset by peer]
<shevy>
DaWoop ruby is easier
<DaWoop>
oh!
joelroa has joined #ruby
pranny has joined #ruby
gilest has joined #ruby
<shevy>
DaWoop assembly is harder
<DaWoop>
I know
<havenwood>
and more letters to spell
<DaWoop>
I did some
<shevy>
so learn assembly first, then ruby because you can learn ruby any time but once you know ruby you will be DAMN lazy a person!
FL1SK has joined #ruby
Pullphinger has quit []
dangerousdave has joined #ruby
Celm has quit [Ping timeout: 248 seconds]
<gilest>
everyone using 2.1.0 now
<gilest>
?
pigzzcanfly has joined #ruby
vlad_starkov has quit [Ping timeout: 260 seconds]
<DaWoop>
I see
<DaWoop>
Assembly seems great
<DaWoop>
Ruby also
<havenwood>
DaWoop: Kinda like asking if you should be an expert on cello history, make cellos, or play them. Most people want to play them.
<havenwood>
Making them seems interesting too. But it involves woodworking and is a craft most players don't ever learn.
<DaWoop>
I have a very bizarre question to ask you guys about ruby
<DaWoop>
did some fiddling around with the interpreter and stuff
<shevy>
ack
<havenwood>
gilest: Not everyone but most are on 2.0 or 2.1 these days it seems. :) A very nice adoption rate.
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<DaWoop>
I watched about 2h of videos about people teaching "beginners"
Liothen has joined #ruby
<RubyPanther>
<3 <3 <3 COW
<shevy>
LONG LIVE 1.9.3! \o/
<AntelopeSalad>
havenwood: that's one of my favorite things about ruby
monkegjinni has joined #ruby
<gilest>
havenwood: been on 2.0 for a while and enjoying the perf boost, gonna have a look at the 2.1 changelog
<DaWoop>
I tried Rails too
<shevy>
omg
joelroa has quit [Read error: Operation timed out]
mocfive has quit [Remote host closed the connection]
<DaWoop>
Is Rails made for Twitter-like websites only?
korzybski has quit [Quit: korzybski]
<shevy>
twitter abandoned rails!
<DaWoop>
with posts and comments?
<havenwood>
gilest: there are some 2.1.0 issues that have patches, but you have to apply the patches yourself until 2.1.1 comes out
mocfive has joined #ruby
<RubyPanther>
DaWoop: Why not learn assembly and Ruby together? Try mRuby! Then you get the RiteVM and you can fiddle registers from Ruby
<gilest>
havenwood: thanks, that answers my questions, gonna hang on to 2.0 in production
<DaWoop>
I haven't seen anyone make a website that wasn't oriented around posts (blog-like)
<DaWoop>
in Rails
<DaWoop>
RubyPanther: well
<havenwood>
DaWoop: +1 mruby
sambao21 has quit [Read error: Connection reset by peer]
<havenwood>
DaWoop: join the future
<DaWoop>
Isn't Assembly itself way enough?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DaWoop>
I wouldn't need Ruby
<DaWoop>
anyway
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
<DaWoop>
I'm talking about 2 opposites now though
<DaWoop>
and I'm in a ruby channel
<DaWoop>
so
<DaWoop>
Ruby
<DaWoop>
:D
jack_rabbit has joined #ruby
<shevy>
man
<DaWoop>
so
phansch has quit [Quit: WeeChat 0.4.2]
<gilest>
havenwood: thanks, looking forward to the GC optimisations once the patched release drops. definitely don't wanna mess with possible segfaults and issues with methods like uniq
Jemboh has joined #ruby
<DaWoop>
is there a way to make websites with Rails that isn't blog post oriented?
cj3kim has joined #ruby
<havenwood>
DaWoop: Yeah, get a nice card sorter and some punched cards. Sounds like a plan.
<DaWoop>
"Scaffolds" as I learned
<havenwood>
gilest: aye, no prob
<DaWoop>
havenwood: What's with the cards?
dx7 has quit [Remote host closed the connection]
<krz>
havenwood: yeap
monkegjinni has quit [Ping timeout: 272 seconds]
mocfive has quit [Ping timeout: 248 seconds]
<havenwood>
DaWoop: The newfangled languages like C aren't going to catch on. An IBM 711 has as much memory as we'll ever need.
dx7 has joined #ruby
<krz>
havenwood: im reading, now that perhaps i dont need to store this kind of information in a datastore
<havenwood>
krz: Hmm, interesting. That seems it would simplify the problem. ;)
<centrx>
DaWoop, Those examples used in "videos for beginners" are used because they are widely understood concepts.
<krz>
ill just query the API everytime i need to figure out if a user has an active subscription
dponrails has joined #ruby
<krz>
and perhaps cache expire the API results using redis
<DaWoop>
centrx: but I haven't seen anything showing the full capacity of the framework
<DaWoop>
centrx: Could I, say, implement Unity3D web player with Rails on my page?
thams has joined #ruby
<krz>
trying to sync data locally might cause more headaches
<jsilver>
why in the heck do I get an rspec RoutingError on a get :index with no parameters, only thing is it's inside of a scope ... do block.. wtf!
<DaWoop>
havenwood: Imagine an i7 running assembly codes only. That would be going so fast we'd be thrown away
<havenwood>
DaWoop: Imagine a supercomputer running Ruby. That is reality.
jonahoffline has joined #ruby
<DaWoop>
havenwood: Ruby is slow
kayamm has joined #ruby
thams_ has joined #ruby
* centrx
thinks this is some ridiculous trolling
zigomir has joined #ruby
<DaWoop>
havenwood: even the online interpreters can't react properly to the commands, there's a huge delay
<slowcon>
centrx: lolol
<gilest>
jsilver: rails? you might wanna try #rubyonrails
axl_ has joined #ruby
<jsilver>
already tried it, full to the teeth of help vamps
RaCx has joined #ruby
Celm has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
<havenwood>
DaWoop: You can do more complex things if you can solve the problem more simply. Are you a time traveler from the 1970s?
mary5030_ has joined #ruby
<havenwood>
I've never met a time traveler!
<DaWoop>
My mindset is quite simple: Don't bloat the motherboat
<havenwood>
DaWoop: motherboats have been deprecated here in the future
mary5030 has quit [Ping timeout: 260 seconds]
mary5030_ has quit [Remote host closed the connection]
<DaWoop>
ok
rubyracer has joined #ruby
nateberkopec has quit [*.net *.split]
jfelchner_ has quit [*.net *.split]
dlewis has quit [*.net *.split]
plexus_ has quit [*.net *.split]
Sirupsen has quit [*.net *.split]
zastern has quit [*.net *.split]
apeiros has quit [*.net *.split]
camt has quit [*.net *.split]
dponrails has quit [*.net *.split]
Twist- has quit [*.net *.split]
BaconOverflow_ has quit [*.net *.split]
Karu has quit [*.net *.split]
lupine has quit [*.net *.split]
cuppscakes has quit [*.net *.split]
percival has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
lepht has quit [*.net *.split]
nvll has quit [*.net *.split]
rgoodwin has quit [*.net *.split]
RoryHughes has quit [*.net *.split]
rtlong has quit [*.net *.split]
jimeh has quit [*.net *.split]
FaresKAlaboud has quit [*.net *.split]
robustus|Off has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
androbtech has quit [*.net *.split]
trhodes has quit [*.net *.split]
Guest36224 has quit [*.net *.split]
Avahey has quit [*.net *.split]
DylanJ has quit [*.net *.split]
gstamp has quit [*.net *.split]
eshy has quit [*.net *.split]
zz_karupanerura has quit [*.net *.split]
cibs has quit [*.net *.split]
mary5030 has joined #ruby
kindjal has joined #ruby
aspiers has joined #ruby
retnuh has joined #ruby
<DaWoop>
I mean, what's the main use of Ruby, without rails?
<centrx>
Writing awesome software
claymore has joined #ruby
bubbajoness has joined #ruby
cj3kim has quit [Ping timeout: 248 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
mansi has quit [Remote host closed the connection]
<havenwood>
DaWoop: Space, aerospace, AI, robotics, dev ops, supercomputing, etc.
pierre1_ has joined #ruby
mansi has joined #ruby
<DaWoop>
centrx, havenwood : Isn't that already done with other languages too?
burlyscudd has joined #ruby
<havenwood>
DaWoop: There is more than one way to do it. That is the Ruby way.
mjs2600 has quit [Remote host closed the connection]
<centrx>
Ruby is a Turing complete language, like those other languages
<havenwood>
DaWoop: We are polyglots. This is a lovely language.
Lewix has quit [Remote host closed the connection]
<AntelopeSalad>
having a brain spasm, what is <<- FOO ... FOO called again?
<havenwood>
AntelopeSalad: heredocs
<DaWoop>
What are its pros and cons I should say
<AntelopeSalad>
havenwood: thanks
<RubyPanther>
Maybe it is a Ruby channel, but in Ruby we do the hard parts in C
krz has quit [Quit: WeeChat 0.4.2]
<havenwood>
;)
* centrx
uses Ruby to glue together his ASM components
tris- has joined #ruby
<DaWoop>
I wasn't joking centrx
<Sou|cutter>
DaWoop: ruby is optimized for developer happiness
<DaWoop>
nor was I overlooking it
<DaWoop>
Sou|cutter: I see
tjr9898 has quit [Remote host closed the connection]
<Sou|cutter>
so a pro is that it is pleasant to write
<RubyPanther>
DaWoop: Ruby is used for everything in the application layer
<Sou|cutter>
and relatively expressive
mary5030 has quit [Ping timeout: 272 seconds]
<havenwood>
DaWoop: Of the unix tools in its class, Ruby is the finest. Also a very bright looking future on the JVM with JRuby's excellent implementation.
<RubyPanther>
And in various places under that
thams has quit [*.net *.split]
dangerousdave has quit [*.net *.split]
headius has quit [*.net *.split]
tris has quit [*.net *.split]
Shidash has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
d2dchat_ has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
urtokk_ has quit [*.net *.split]
Guest61832 has quit [*.net *.split]
bubbajones has quit [*.net *.split]
dubsteph_ has quit [*.net *.split]
jayne has quit [*.net *.split]
zigomir_ has quit [*.net *.split]
alvaro_o has quit [*.net *.split]
Guest57569 has quit [*.net *.split]
jonahR has quit [*.net *.split]
cbetta has quit [*.net *.split]
bedouin has quit [*.net *.split]
gyre007__ has quit [*.net *.split]
jeregrine has quit [*.net *.split]
tommyvyo_ has quit [*.net *.split]
dotemacs_ has quit [*.net *.split]
msmith has quit [*.net *.split]
pallavi_ has quit [*.net *.split]
Guest89694 has quit [*.net *.split]
kapowaz has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
Jakee` has quit [*.net *.split]
jpinnix_ has quit [*.net *.split]
yo61 has quit [*.net *.split]
BRMatt has quit [*.net *.split]
danneu has quit [*.net *.split]
ping-pong has quit [*.net *.split]
terlar has quit [*.net *.split]
ged has quit [*.net *.split]
d-snp has quit [*.net *.split]
adamholt has quit [*.net *.split]
crazysim has quit [*.net *.split]
Tranquility has quit [*.net *.split]
jds has quit [*.net *.split]
patronus has quit [*.net *.split]
DrForr has quit [*.net *.split]
Norrin has quit [*.net *.split]
RKornmeyer has quit [*.net *.split]
poguez_ has quit [*.net *.split]
juni0r has quit [*.net *.split]
octarine has quit [*.net *.split]
joshwines_ has quit [*.net *.split]
replay_ has quit [*.net *.split]
rurban_ has quit [*.net *.split]
Mohan_ has quit [*.net *.split]
nighter has quit [*.net *.split]
TheDeadSerious__ has quit [*.net *.split]
elaptics has quit [*.net *.split]
JoeTheGuest__ has quit [*.net *.split]
thoraxe has quit [*.net *.split]
ozzloy has quit [*.net *.split]
wwalker has quit [*.net *.split]
wykydtron has quit [*.net *.split]
Muz has quit [*.net *.split]
Mars` has quit [*.net *.split]
nilsove has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
ericwood has quit [*.net *.split]
Lulzon has quit [*.net *.split]
devyn has quit [*.net *.split]
mjmac has quit [*.net *.split]
Guest95957 has quit [*.net *.split]
Martxel has quit [*.net *.split]
seich has quit [*.net *.split]
gf3 has quit [*.net *.split]
drasch has quit [*.net *.split]
bpgoldsb has quit [*.net *.split]
jmaister has quit [*.net *.split]
mr_rich101 has quit [*.net *.split]
machuga has quit [*.net *.split]
neoice has quit [*.net *.split]
Davedo has quit [*.net *.split]
thams_ is now known as thams
jonahoffline is now known as jonahR
JZTech102 has joined #ruby
<havenwood>
And mruby to look forward to. :D
Hanmac has joined #ruby
Kilobyte|StupidC has joined #ruby
mansi has quit [Ping timeout: 252 seconds]
<DaWoop>
Yea well
tjr9898 has joined #ruby
mansi has joined #ruby
jerius has quit []
tris- is now known as tris
<gilest>
mruby is very intriguing...
<havenwood>
DaWoop: We have soundtracks to our books.
<RubyPanther>
mRuby brings us to embedded devices, anything with 32 bits and registers, basically
<DaWoop>
so far, I've got access to my Android API in Ruby right on my phone
<DaWoop>
havenwood: Sold.
headius has joined #ruby
monkegjinni has joined #ruby
<DaWoop>
Who's a fan of minimal music around here?
Hanmac1 has quit [Ping timeout: 252 seconds]
<havenwood>
DaWoop: You can write Android apps in JRuby (or mruby if you want to be on the bleeding edge).
<dorei>
DaWoop: how much minimal?
<DaWoop>
havenwood: Yup! Did it!
<havenwood>
DaWoop: ah, nice
<centrx>
Has anyone tried Rhodes for Ruby on mobile devices?
<havenwood>
mruby can do iOS, Android, anything, muahahaha
<DaWoop>
dorei: hmm, about 8/10 minimal
Olipro has quit [Ping timeout: 246 seconds]
<RubyPanther>
mRuby you would need to write binding to the android ndk, so you'd have 3 layers of compilers
<havenwood>
toasters!
<jsilver>
HELL!!!!!!!! rspec wont find a route that is there.
<shevy>
DaWoop in ruby people tend to omit the () when there are no arguments usually
Xuisce has joined #ruby
yeticry has joined #ruby
zachallett has quit [Ping timeout: 260 seconds]
<DaWoop>
shevy: That's against the Methon VS Property readibility
<DaWoop>
imo
<DaWoop>
I put it anyway
<shevy>
property
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
ringaroses has quit [Quit: Leaving]
<shevy>
for the ruby parse it does not matter as long as it is not an ambigous situation
<DaWoop>
yes
dawkirst has joined #ruby
<shevy>
*ruby parser
<DaWoop>
I'd say: consistency
guilleiguaran has quit []
<shevy>
*ambiguous
<shevy>
man, I can't type anymore
<DaWoop>
No matter how you do it, always do it
mary5030 has quit [Read error: Connection reset by peer]
<DaWoop>
it's fine if you do it this way and I do it my way
<shevy>
ok DaWoop so you will do method chaining this way
<DaWoop>
as long as we don't mix it
zeade has quit [Quit: Leaving.]
<shevy>
cat.meow().jump_home().sit_down()
<DaWoop>
yes
<DaWoop>
that's what I usually do
<DaWoop>
because C#, Python, Java...
guilleiguaran has joined #ruby
<shevy>
but none of these languages are ruby
ner0x has joined #ruby
<shevy>
and python is too dumb to figure out self
<DaWoop>
consistency!
baordog_ has quit [Remote host closed the connection]
Mousse_ has joined #ruby
ner0x has quit [Max SendQ exceeded]
<DaWoop>
isn't the Python interpreter in C?
claymore has quit [Quit: Leaving]
<shevy>
python is written in C
<RubyPanther>
python is dumb enough to use for online classes, though, so it has a use case
acoyfellow has joined #ruby
ner0x has joined #ruby
<DaWoop>
RubyPanther: There are lots of Ruby classes online
<DaWoop>
I actually did one to learn the basics
<RubyPanther>
Hopefully none in Python
<RoryHughes>
RubyPanther Whats wrong with python?
<DaWoop>
^
centrx has quit [Read error: No route to host]
<DaWoop>
Python is pretty much the same as Ruby
<DaWoop>
so far
<DaWoop>
I'm using my Python knowledge to use Ruby
<RoryHughes>
I wouldn't say that, but i wouldn't bash it either
<RubyPanther>
But something like the google self-driving car class, python was a good choice... it is a small language, it is easy for any programmer taking the class to learn quickly, and they can provide implementation details as libraries
centrx has joined #ruby
tkuchiki has joined #ruby
<RubyPanther>
To use Ruby for that you would have to teach everybody blocks and stuff, and OOP
<DaWoop>
RubyPanther: I learned Python because the interpreter is optimized on the Raspberry Pi
meatherly has quit [Remote host closed the connection]
meatherly has joined #ruby
Aryasam has joined #ruby
<RubyPanther>
mRuby you have to write glue in C, so python is a better choice for "random language to learn r-pi programming"
Aryasam has quit [Client Quit]
Sc0rp10n has joined #ruby
burgess has quit [Quit: ^zzz]
jobewan has quit [Quit: Leaving]
Aryasam has joined #ruby
<RubyPanther>
That python is disgusting and vile only becomes an issue if you're moving into more advanced areas, like writing an application or library
<DaWoop>
99% of the ARM-ready OSes for the Pi come with Python 2.7 in it
<DaWoop>
But about 30% of them come with Ruby
<DaWoop>
Cygwin doesn't come with Ruby :(
<shevy>
well there is some news here. python is more widespread than ruby
Hanmac1 has joined #ruby
freerobby1 has quit [Quit: Leaving.]
<RubyPanther>
DaWoop: using windows one-click installer + devkit you can easily install native Ruby gems that were developed on linux
evenix has joined #ruby
klaut_ has quit [Remote host closed the connection]
<dorei>
python has radd :)
<DaWoop>
RubyPanther: You could do the same with Python
ultraflash3 has joined #ruby
<RubyPanther>
I run Ruby apps using Gtk and AR on windoze, including other C extensions, and it is smooth as can be.
<DaWoop>
Probably!
kreisys has quit [Quit: Computer has gone to sleep.]
evenix has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
<RubyPanther>
Even things like tray apps, I don't write a single line of windoze-specific code, and I don't fiddle with cygwin either
Xiti has quit [Ping timeout: 245 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
evenix has joined #ruby
<DaWoop>
cygwin was my choice
meatherly has quit [Ping timeout: 260 seconds]
<DaWoop>
didn't need it
mavcunha has quit [Quit: Computer has gone to sleep.]
<DaWoop>
I just love the linux console and don't want to switch OS just to use it
<RoryHughes>
This shouldn't make you choose one lang over another but python powers many big sites like Dropbox, Disqus, Reddit, Youtube etc...
<DaWoop>
well, so far Ruby has a big Pro: Rails
freezey has quit [Remote host closed the connection]
<RubyPanther>
cygwin is for people who can't afford their own computer, and so are stuck doing their dev work on `doze, and so they need a shell
<DaWoop>
imo
<DaWoop>
RubyPanther: Or not.
jobewan has joined #ruby
cj3kim has joined #ruby
<RubyPanther>
Every language has an MVC web framework, rails is no killer app
agjacome has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby
dingus_khan has joined #ruby
<DaWoop>
RubyPanther: Well then, I'll find the C# one and use that
<DaWoop>
thanks for making me C#er
<RubyPanther>
real life defacto portability is the only thing Ruby really does better than half a dozen other languages. Oh, and making programmers happy.
freezey has joined #ruby
<DaWoop>
C# makes me happy, Python's while/else and for/else loops make me even happier
monkegjinni has quit [Ping timeout: 265 seconds]
p8952 has quit [Read error: Operation timed out]
milhite has joined #ruby
<RubyPanther>
DaWoop: If you would be happy using C#, you should be using it. You deserve to use it.
kcombs has joined #ruby
Sc0rp10n has quit [Quit: Leaving]
<centrx>
What a clever insult
<DaWoop>
still an insult
bogeyd6 has quit [Ping timeout: 252 seconds]
<RubyPanther>
lol it is only an insult of he was lying
vlad_starkov has quit [Read error: Connection reset by peer]
<RubyPanther>
I mean it though, you deserve the bits you want
evenix has quit [Ping timeout: 252 seconds]
<DaWoop>
heh
<DaWoop>
well
yarou has joined #ruby
<DaWoop>
Knowing more is always better
geggam has quit [Quit: commute]
<DaWoop>
that's why I learned before asking
<RubyPanther>
Or as Dr Timmothy Leary said, you deserve the photons you want
<DaWoop>
Brainfuck is still my #1 though.
zachallett has joined #ruby
workmad3 has joined #ruby
<RubyPanther>
Drugs for expanding the mind were pre-internet. Now you can choose your own reality. Some people want to use brainfuck. Some people want to use C#. Some people only go in for languages like Ruby with lots of ponies and unicorns and rainbows.
<RubyPanther>
Some people *bleep*in' hate ponies
nanoyak has quit [Quit: Computer has gone to sleep.]
<DaWoop>
Man, I didn't mean any harm to anyone. Ruby is there and alive for a reason. I wanted to know why, and the answer still isn't clear
<DaWoop>
to me
retnuh has joined #ruby
maroloccio has joined #ruby
zachallett has quit [Remote host closed the connection]
<DaWoop>
The way Ruby was presented to me, it felt like a Japanese man teaching me the art of tai chi
<DaWoop>
The first thing I saw about Ruby was titled "The Philosophy of Ruby"
jlast_ has quit [Remote host closed the connection]
jlast has joined #ruby
<shevy>
DaWoop yeah that was a great interview
<shevy>
try to find something like that for python
<DaWoop>
When I used Ruby, I felt bad because the whole frameworking of ":Something" felt very unintuitive
<RubyPanther>
DaWoop: Like Larry Wall said in `99, "if you want to do everything using OOP then Ruby is a better language than Perl." He then launched into a defense of procedural program structure. I started the wait for English Ruby books.
yasushi has joined #ruby
plexus_ has quit [Ping timeout: 240 seconds]
Atw has joined #ruby
<apeiros>
translation: "I felt bad because I had to learn a new thing", boohoo…
Sc0rp10n has joined #ruby
* apeiros
rolls eyes
<DaWoop>
apeiros: Well, in 2 years, I learned C#, C++, Befunge, Brainfuck, Java, Python, Assembly
lkba has joined #ruby
<DaWoop>
and Ruby was the one that felt weird
<apeiros>
*slow clap*
<shevy>
Larry Wall was born 1954, matz was born 1965, it was a new generation
rayners has quit [Remote host closed the connection]
<RubyPanther>
Why do I use Ruby? Because my Perl was awful! I couldn't even read it after 6 months. The expressiveness of natural language principles turned my code into semi-structured poetry. Which is really awful for maintenance. Ruby still lets me do what I want. It doesn't force me to do it a certain way. Still, it provides a clear correct way to do most things. A gentle hand to keep me on course.
nathancahill has quit [Quit: nathancahill]
<apeiros>
no, that's pearls before swines.
<shevy>
DaWoop yeah that philosophy sucks. explicit self stinks
Virtualize|away has joined #ruby
<RubyPanther>
Python is more ideological. Many people prefer that. Ruby is pragmatic.
<DaWoop>
I don't like Python, I live with it
<shevy>
hehe
<DaWoop>
C# is and will be my language forever
<DaWoop>
I hate it because it's not for all platforms
<apeiros>
if it wasn't from m$, C# would actually interest me.
<DaWoop>
yea, that's the problem
jlast has quit [Ping timeout: 265 seconds]
<DaWoop>
I don't care about M$ myself
<apeiros>
from all I've heard, it's quite a good language.
timonv has joined #ruby
<DaWoop>
so C# is awesome
<DaWoop>
yes, it works well
<DaWoop>
the documentation is epic
<DaWoop>
(really epic)
<RubyPanther>
You can use C# on all platforms, there is just a culture of tolerance for platform lock so you won't have any portable libraries to choose from unless you write them.
_Andres has quit [Ping timeout: 248 seconds]
<DaWoop>
Well, "Running them" and programming C# for a platform is 2 different things
<DaWoop>
C# will never be as good on other platforms
<RubyPanther>
Ruby is standardized to be for *nix, and there are *nix compatibility layers everywhere, so portability is real and true. Even NT4 was POSIX compliant.
<DaWoop>
^
aspires has quit []
<DaWoop>
That's a Pro
freezey has quit [Remote host closed the connection]
zigomir has quit [Remote host closed the connection]
beneggett has joined #ruby
<DaWoop>
The more we go, the more we're going towards *nix
mattp__ has joined #ruby
zigomir has joined #ruby
<DaWoop>
I guess the Steam Machine will help quite a bit
aspires has joined #ruby
<RubyPanther>
We already passed *nix, that is just part of the lower layers we don't worry about up here in the application layer any more. It is all standardized, and Just Works.
<DaWoop>
RubyPanther: Implying everyone knows at least one...
<RubyPanther>
"Java is the COBOL of the 21st Century" -- Larry Wall "everybody loves to hate it... managers love it because it looks like you're getting a lot done"
confounds has joined #ruby
angusiguess has joined #ruby
<gilest>
AntelopeSalad: on my server i have poltergeist installed, which is a phantomjs package i think... capybara is a nicer way to drive it though
<DaWoop>
RubyPanther: People at school are STRUGGLING with basic C# concepts
<DaWoop>
such as Lists and Arrays...
<AntelopeSalad>
gilest: does that support js too?
relix has joined #ruby
<gilest>
AntelopeSalad: definitely
<AntelopeSalad>
but that would require phantomjs too right?
<AntelopeSalad>
but in webkit's case all i need to do is gem install capybara-webkit
<RubyPanther>
When I was in school we were using C/C++ and people were struggling with arrays and linked lists
<DaWoop>
Were you?
<RubyPanther>
People are mostly stupid, and people who didn't learn it all from the book before they came to class, will either cheat, drop out, or change majors by the end of the second year
<DaWoop>
I can understand people struggling with C/C++ as they are quite low-level. Not C#.
rezzack1 has joined #ruby
qhartman has quit [Quit: Ex-Chat]
<RubyPanther>
The classes themselves are useless and people who are in class not understanding should stand up, and walk out the door
<DaWoop>
RubyPanther: +1. I learned C# prior to the course
<DaWoop>
Though I learned 5 language since the beginning of the school year
<AntelopeSalad>
gilest: quick googling says that generally phantomjs and poltergeist is the best option
sambao21 has quit [Quit: Computer has gone to sleep.]
Celm has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
<AntelopeSalad>
it seems to be a bit faster than webkit -- QT deps sound bad for a server
<gilest>
AntelopeSalad: yep, especially on your ubuntu server. i prefer capy webkit for local request specs and stuff
<DaWoop>
RubyPanther: It's the other way around. People understanding should walk away and teachers should focus on those who want to learn
tjr9898 has quit [Remote host closed the connection]
<AntelopeSalad>
gilest: thanks, i'll setup phantomjs/polt then and ditch nokogiri all together i suppose?
<RubyPanther>
What good is "teacher... focus?" I mean that seriously.
<DaWoop>
While we actually learn something new in another more advanced course
rezzack1 has quit [Client Quit]
<RubyPanther>
What happens when a new version of a library comes out. Are these people going to have a teacher show up in their cube to hold their hand?
grzywacz has joined #ruby
<DaWoop>
Well, so far it's basic .Net 2.0 knowledge
<DaWoop>
Lists were a thing in 2002
<DaWoop>
Now it's .Net 4.5
<gilest>
AntelopeSalad: I've used both together, it was a while ago ymmv
<DaWoop>
LINQ and stuff
<gilest>
i'm gonna go get some work done. nice talking to you all
<RubyPanther>
If they can't learn from the book, they WILL NOT finish a programming degree without cheating, and they WILL NOT be able to be a professional. They should really switch to accounting or something easy that anybody can learn with enough effort.
<DaWoop>
even now LINQ isn't new stuff
acoyfellow has quit [Remote host closed the connection]
rezzack has quit [Ping timeout: 260 seconds]
ringaroses has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
gilest has quit [Quit: Leaving...]
<DaWoop>
RubyPanther: I learned online, should I be concerned?
mavcunha has joined #ruby
rezzack has joined #ruby
<RubyPanther>
online = manuals + "on the internet"
workmad3 has quit [Read error: Operation timed out]
<DaWoop>
By online I mean: Learned the very basics from a video series with a guy explaining stuff and the rest was me googling my problems and trying to figure out how the goddamn thing works
saarinen has quit [Quit: saarinen]
<DaWoop>
which also means: Stackoverflow and MSDN for the main part
<DaWoop>
dream.in.code too
tacos1de has joined #ruby
<DaWoop>
Never needed an actual book
Hanmac1 has joined #ruby
jack_rabbit has joined #ruby
danshultz has joined #ruby
<DaWoop>
I think that's the best way to learn. After about an hour of videos I could already do complex programs by myself. People in school HATE programming and get shit done because they have to. I get shit done because I love it. I think that's the problem
DaWoop is now known as DaWoop-AFK
oracal has quit [Quit: Leaving]
Hanmac has quit [Ping timeout: 265 seconds]
tjr9898 has joined #ruby
dubsteph has quit [Ping timeout: 248 seconds]
kayamm has quit [Quit: part]
DrShoggoth has quit [Quit: Leaving]
jeekl has joined #ruby
sambao21 has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
tjr9898 has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
Steve445 has quit [Quit: Steve445]
_bart has quit [Remote host closed the connection]
Celm has joined #ruby
semw has joined #ruby
rootshift_ is now known as rootshift
funburn has quit [Quit: funburn]
habanany has joined #ruby
jack_rabbit has quit [Read error: Operation timed out]
qpls has quit [Ping timeout: 252 seconds]
evenix has joined #ruby
chrisseaton has joined #ruby
qpls has joined #ruby
axl_ has joined #ruby
mjs2600 has joined #ruby
sethen_ has quit [Quit: Leaving...]
Xeago has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
sethen has joined #ruby
habanany has quit [Remote host closed the connection]