Freddan962 has quit [Read error: Connection reset by peer]
aspires has joined #ruby
omosoj has quit [Ping timeout: 276 seconds]
sski has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
lw has joined #ruby
<segfalt>
timgauthier: Is that unusual? Where I'm from most houses are built out of wood.
Shidash has quit [Ping timeout: 276 seconds]
<timgauthier>
yes that is how Canada does it, but it is quite dumb to build a huge house that is styled like a huge euro style house in wood.
<timgauthier>
and then they slap fake stone on the outside...
<shevy>
hahaha
<timgauthier>
just build it out of real stone
bbloom_ has joined #ruby
<segfalt>
I think it's a cost thing, right?
<shevy>
but fake stone looks nicer!
<shevy>
just put dirt inside and that was it
<segfalt>
I've assumed it's a cost thing anyway.
bbloom has quit [Read error: Connection reset by peer]
aspires has quit [Client Quit]
<timgauthier>
if you are building a house this big (its supposidly 3million CAD) why would you care about cost?
brandonshowers has joined #ruby
<segfalt>
maybe you have $3m CAD, and not $6m CAD?
<timgauthier>
then you build a smaller house.
<segfalt>
I guess I'm still missing the "why"
<segfalt>
sorry.
<timgauthier>
you build a 3mil$ house that lasts maybe 40 years before it falls apart
brandonshowers has quit [Client Quit]
kies has quit [Quit: baaaaiiiiiiiiiii~]
kies has joined #ruby
<timgauthier>
or you spend the money to build a house that lasts 100 years without any maintenance, or forever with minor maintenance.
kitak_ has joined #ruby
lw has quit [Client Quit]
<segfalt>
I guess if you're a vampire
<segfalt>
:)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<timgauthier>
uhm... what about your family, your kids etc?
<segfalt>
I guess I never really thought about it though, everything is wood in new england
<timgauthier>
you are spending 3 million, why the hell wouldn't you invest it wisely into something that lasts
brandonshowers has joined #ruby
<segfalt>
that's a good point
sambao21 has joined #ruby
Robbo` has quit [Read error: Connection reset by peer]
chrisseaton has joined #ruby
mjw has left #ruby [#ruby]
tjr9898_ has joined #ruby
<segfalt>
i wonder why you don't see more stone construction in US/Canada
<segfalt>
I mean, I live in NH and it's "The Granite State", so it's certainly not a shortage ;-)
<centrx>
wood is much cheaper
tjr9898_ has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
<centrx>
European forests were deforested very early
nanoyak_ has quit [Quit: Computer has gone to sleep.]
<timgauthier>
wood is way cheaper, but it also doesn't last.
Shidash has joined #ruby
<segfalt>
do a lot of people build with stone in Europe?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<timgauthier>
Germany has tons of forests they could easily build some of their houses out of wood, but why? It wouldn't last nearly as long.
<segfalt>
I visited Iceland this year, a lot of the houses are stone/cement stuff, but they don't have a ton of trees so that made a lot of sense.
banister has joined #ruby
snath has joined #ruby
<timgauthier>
I know in germany everything appears to be stone, at least in east germany. even the curbs are stone blocks. then they cover over all of the stone with plaster
<timgauthier>
iceland has no natural forests, they cut them all down
aspires has joined #ruby
kitak_ has quit [Remote host closed the connection]
ShideR has joined #ruby
<segfalt>
timgauthier: So do they typically still put wood studs and drywall on the interior of the stone, and insulate?
* segfalt
suddenly wants a stone house
aspires has quit [Client Quit]
<timgauthier>
not that i've seen.
<timgauthier>
drywall doesn't seem very common, my Fiancées parents house is entirely stone block type things for the entire structure, internal walls etc.
Takle has quit [Remote host closed the connection]
lw has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<segfalt>
so do you need like a air compressor nail gun to hang up a painting?
<eam>
germany doesn't get many earthquakes ;-)
Zenigor has joined #ruby
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
<timgauthier>
actually it does
<timgauthier>
what is a clipboard manager for osx?
<timgauthier>
germany gets lots of 2.0 and lower earthquakes quite frequently
pontiki has joined #ruby
Dijk has quit [Quit: leaving]
aspiers_ has joined #ruby
* segfalt
is also interested in a good clipboard manager
<segfalt>
are you from Germany, timgauthier?
aspires has joined #ruby
<timgauthier>
I'm Canadian, i live in Germany. I've been home only a few days and I am jetlagged and complaining about Canada and missing my fiancée who isn't here yet.
kenneth has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
kenneth__ has joined #ruby
silkfox has joined #ruby
timgauthier has joined #ruby
d34th4ck3r has quit [Quit: zzz]
<pontiki>
that doesn't sound like what benlieb is asking for
sambao21 has quit [Quit: Computer has gone to sleep.]
renderful has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
renderful has quit [Remote host closed the connection]
Mattx has quit [Ping timeout: 252 seconds]
renderful has joined #ruby
<benlieb>
I'm asking about two things, but that is one of them :)
dawkirst has quit [Ping timeout: 252 seconds]
<benlieb>
I don't understand it yet, though
<pontiki>
oh
<pontiki>
i only saw the one about being_enumerated
timonv has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<ari-_-e>
benlieb: just put it in a variable beforehand
kenneth__ has quit [Read error: Connection reset by peer]
kenneth has joined #ruby
<ari-_-e>
benlieb: each_with_index.map works because #each_with_index returns an Enumerator if it isn't given a block, and Enumerator also includes Enumerable, so you can use #map on it
Shidash has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 255 seconds]
brianmcelaney has quit [Remote host closed the connection]
Shidash has joined #ruby
subbyyy has quit [Ping timeout: 265 seconds]
<benlieb>
ari-_-e: +1
lethjakman has quit [Ping timeout: 240 seconds]
Robbo` has quit [Ping timeout: 265 seconds]
kpshek has quit []
<pontiki>
avdi has some good stuff on Enumerable and Enumerator
kenneth__ has joined #ruby
danshultz has joined #ruby
tkuchiki has joined #ruby
GriffinHeart has joined #ruby
banister has quit [Ping timeout: 245 seconds]
inflatus has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
<inflatus>
Have a question about training
kenneth has quit [Ping timeout: 240 seconds]
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<inflatus>
has anyone ever done the train to hire programs? the ones that are about 12 weeks and you give them a percentage of your first years pay once you find a job
tjr9898_ has quit [Read error: Connection reset by peer]
<benzrf>
inflatus: sounds shady to me
<benzrf>
inflatus: learn your codes on the internet
<benlieb>
d.each_with_index.collect do |x, i| "#{x}:#{i}" end
<benlieb>
return different things
<benzrf>
benlieb: no they dont
<ari-_-e>
hmm, different how?
<benzrf>
also, use map and not collect
<segfalt>
because reasons
horsecowdog has joined #ruby
<inflatus>
benzrf: thanks
jamto11 has quit [Remote host closed the connection]
<benzrf>
inflatus: dont take that as reliable testimony
<benlieb>
it could be the gem I'm using to print to console. one moment
<benzrf>
i have not used my programming knowledge to get a job
<benlieb>
also why not collect?
<benzrf>
benlieb: its not idiomatic
<benlieb>
benzrf: it's used everywhere...
<benlieb>
select, reject,
<benlieb>
...
<ari-_-e>
collect is the smalltalk name for that operation, I believe
Bira has joined #ruby
<ari-_-e>
it's called "map" in most other languages
<pontiki>
map and collect are aliases
<ari-_-e>
that I know of, anyway
angusiguess has joined #ruby
Bira has quit [Remote host closed the connection]
<pontiki>
one isn't more idiomatic than the other
danshultz has quit [Ping timeout: 276 seconds]
<benlieb>
collect is more descriptive
<inflatus>
benzrf: i have been learning online for a few weeks. I ran across a few comnaies that were offering the training. It is good to know that others haven't relied soley on programming knowledge to land a job.
gondalier has quit [Quit: gondalier]
<pontiki>
benlieb: not always more descriptive
<benzrf>
inflatus: no, i havent relied on it because i'm in high school
<benzrf>
=p
<horsecowdog>
Need help with SQL/ActiveRecord: I have a rails User model which has_many Resources and Resources have many Ratings. I'm trying to get the count of the Resources which have a rating that belong to a user.
<inflatus>
benzrf: :)
<pontiki>
horsecowdog: try asking on #rubyonrails
<benlieb>
for whatever reason, the two different syntaxes {|x| } do .. end above produce different outputs in a rake task, but the same outputs in the console. strange
abstrakt has joined #ruby
<ari-_-e>
smalltalk seems to like methods ending in "ect"
Hobogrammer has joined #ruby
<benlieb>
but there could be something else going on... hm
<ari-_-e>
benlieb: it's because of the block argument x
SegFaultAX has joined #ruby
<ari-_-e>
it overwrites x
<pontiki>
err. it shouldn't
MrDoctor has joined #ruby
<benlieb>
I love the collect, reject, select methods, but often want an index with it.
<benlieb>
oh well
<ari-_-e>
pontiki: this is 1.8
<ari-_-e>
benlieb: just choose different variable names?
tjr9898_ has quit [Remote host closed the connection]
<benlieb>
ari-_-e: nah, too buggy.
<ari-_-e>
?
<benlieb>
I'm going to just use ye old container = [] object
Takle has quit [Ping timeout: 252 seconds]
<pontiki>
oh, sorry
Lucky_ has joined #ruby
<benlieb>
I don't like code that spooky and subtle like that. You'll forget that subtlety later and it will kick you in the ass
davedev2_ has joined #ruby
reset has quit [Quit: Leaving...]
<pontiki>
good point
reset has joined #ruby
nateberkopec has quit [Quit: Leaving...]
davedev24_ has quit [Ping timeout: 255 seconds]
davedev__ has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
dik_dak has quit [Quit: Leaving]
<ari-_-e>
benlieb: you just need to know the language that you're using - in ruby 1.8, block arguments leak into the enclosing scope
reset has quit [Ping timeout: 264 seconds]
<benlieb>
right, but remember that suggestion to upgrade to 1.9
<benlieb>
?
<ari-_-e>
yeah?
<benlieb>
Soon as I upgrade. Bam. bug.
<ari-_-e>
um no?
<ari-_-e>
why would there be a bug?
bmurt has joined #ruby
<benlieb>
because these two versions behave differently in this case
<ari-_-e>
you didn't answer my question
<ari-_-e>
in this specific case why would there be a bug?
davedev__ has quit [Ping timeout: 258 seconds]
jeregrine_ is now known as jeregrine
<ari-_-e>
it depends on exactly what you're doing, I suppose
<ari-_-e>
but if I understand what you want to do and what the appropriate fix is, upgrading to 1.9 won't cause a bug
<ari-_-e>
sorry, let me be clearer: the only difference in behavior happens when you have a block argument with the same name as some variable in the enclosing scope
amclain has joined #ruby
wallerdev has quit [Quit: wallerdev]
tris- is now known as tris
<ari-_-e>
unless you're depending on your block arguments affecting other variables, the upgrade won't change anything
<combusean>
This branch is 237 commits ahead and 691 commits behind master
<combusean>
haha
angusiguess has joined #ruby
troyready has quit [Remote host closed the connection]
troyready has joined #ruby
prathamesh has joined #ruby
x1337807x has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
lw has quit [Quit: s]
freezey has joined #ruby
davedev24_ has joined #ruby
deric_skibotn has quit [Ping timeout: 252 seconds]
gondalier has quit [Quit: gondalier]
zorak has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
zorak has joined #ruby
danman has joined #ruby
chrisseaton has quit []
wallerdev has joined #ruby
try has joined #ruby
kitak_ has quit [Ping timeout: 256 seconds]
kitak__ has joined #ruby
prathamesh has quit [Remote host closed the connection]
nateberkopec has joined #ruby
prathamesh has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
radic has quit [Ping timeout: 252 seconds]
kyb3r_ has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
nateberkopec has quit [Ping timeout: 240 seconds]
prathamesh has quit [Ping timeout: 260 seconds]
Hanmac1 has quit [Ping timeout: 260 seconds]
radic has joined #ruby
prathamesh has joined #ruby
zkay11 has joined #ruby
jcarouth has quit [Excess Flood]
alvaro_o has quit [Quit: Ex-Chat]
fijimunkii has joined #ruby
yubrew has joined #ruby
try has quit [Ping timeout: 252 seconds]
fijimunkii has quit [Client Quit]
Hanmac has joined #ruby
danman has quit [Quit: danman]
codeurge has joined #ruby
debajit has quit [Quit: Leaving...]
gondalier has joined #ruby
jbzt has joined #ruby
Virtualize|away has quit [Quit: Leaving...]
<jbzt>
In ruby 1.9.3 I made this call without warning “Object.const_get(‘MyClassName’)”, but in 2.x I’m getting a warning “warning: class variable access from toplevel” on that line. Any idea what the 2.x way of doing this is?
meinside has joined #ruby
nateberkopec has joined #ruby
kitak__ has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 276 seconds]
unknown007 has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby
gondalier has quit [Client Quit]
unknown007 has joined #ruby
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
Bira has joined #ruby
<havenwood>
jbzt: are you using class variables?
<ari-_-e>
yeah that line doesn't have anything to do with class variables...
gondalier has joined #ruby
davedev24_ has quit [Ping timeout: 252 seconds]
jbzt has quit [Quit: jbzt]
danijoo has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
jgrevich_ has joined #ruby
davedev24_ has joined #ruby
try has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
yfeldblu_ has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 252 seconds]
Zenigor has quit [Remote host closed the connection]
bakflash has quit [Ping timeout: 252 seconds]
horsecowdog has quit [Remote host closed the connection]
aaronransley has joined #ruby
phoo1234567 has quit [Quit: Leaving]
kenneth__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vivekananda has joined #ruby
gorpon has joined #ruby
aaronransley has quit [Remote host closed the connection]
sunya7a has joined #ruby
fluve has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
<shevy>
he couldn't take it
yfeldblum has joined #ruby
sdwrage has joined #ruby
aspires has quit []
timonv has joined #ruby
freerobby has quit [Quit: Leaving.]
ruralhack has joined #ruby
sebluy has joined #ruby
sebluy has quit [Client Quit]
sambao21 has joined #ruby
sebluy has joined #ruby
<havenwood>
shevy: class variables are prone to driving one to madness
davedev24_ has quit [Ping timeout: 255 seconds]
_sambao21 has joined #ruby
krz has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
scott0101 has joined #ruby
Wolland has joined #ruby
brunops has quit [Quit: leaving]
sebluy has quit [Client Quit]
angusiguess has joined #ruby
lw has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
mr_snowf1ake has joined #ruby
magler has joined #ruby
mikemac has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
crazymykl has quit [Read error: Connection reset by peer]
dawkirst has joined #ruby
GriffinHeart has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
Bira has quit []
kitak_ has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 258 seconds]
NivenHuH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spastorino has quit [Quit: Connection closed for inactivity]
gorpon has quit [Ping timeout: 255 seconds]
GriffinHeart has quit [Ping timeout: 260 seconds]
dawkirst has quit [Ping timeout: 258 seconds]
benzrf is now known as benzrf|offline
NivenHuH has joined #ruby
julian-delphiki is now known as bean
NivenHuH has quit [Client Quit]
dseitz has joined #ruby
<ari-_-e>
>> @@abc
<eval-in>
ari-_-e => /tmp/execpad-a9948a85de96/source-a9948a85de96:2: warning: class variable access from toplevel ... (https://eval.in/156906)
<ari-_-e>
well, you know about string interpolation?
<ari-_-e>
with #{}?
jamto11 has joined #ruby
NivenHuH has quit [Client Quit]
<hailwood>
Yeah, so I get the ... part, so that's building the url from the options hash, but then it goes , authorization. What's happening there? is it setting url as a key on the authorization hash or something?
mattmcclure has quit [Quit: Connection closed for inactivity]
<ari-_-e>
so, there are two literal syntaxes for Hashes
sepp2k1 has quit [Read error: Connection reset by peer]
<ari-_-e>
there's { a => b, c => d } where a, b, c, and are all objects
sski has joined #ruby
<ari-_-e>
but there's also { a: b, c: d}
freezey has quit [Read error: Connection reset by peer]
<ari-_-e>
which is the same as { :a => b, :c => d }
<ari-_-e>
this is using the second syntax
freezey has joined #ruby
<hailwood>
that's line 35 you're referring to?
<ari-_-e>
so that's :url => URI.escape(url)
<ari-_-e>
33
yubrew has quit [Ping timeout: 255 seconds]
<ari-_-e>
you can pass a Hash as the last argument and leave out the { and }
<ari-_-e>
so it's passing a hash to sign_request
<ari-_-e>
which is also defined in this file
<ari-_-e>
def sign_request(options)
<ari-_-e>
line 59
<ari-_-e>
so it receives the Hash in options
jamto11 has quit [Ping timeout: 255 seconds]
d34th4ck3r has quit [Quit: zzz]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
<hailwood>
Right, so when we get to line 35 what are authorization and date looking like? (I'm not a ruby person, but have been asked to try and interpret it).
<ari-_-e>
well authorization and date are assigned on line 33
<ari-_-e>
sign_request presumably returns two values
<ari-_-e>
yup, it returns a two-element array on line 61
<ari-_-e>
a, b = [x, y] assigns a to x and b to y
<hailwood>
Right! That makes more sense!
havenwood has quit [Remote host closed the connection]
RaptorJesus has quit [Write error: Connection reset by peer]
St_Marx has quit [Write error: Broken pipe]
end_guy has quit [Write error: Broken pipe]
Boohbah has quit [Write error: Broken pipe]
tacos1de has quit [Write error: Broken pipe]
bricker`LA has joined #ruby
chipotle has quit [Quit: cya]
nateberkopec has joined #ruby
djcp has joined #ruby
t4nk018 has joined #ruby
phracker has quit [Ping timeout: 258 seconds]
sputnik13 has joined #ruby
djcp has quit [Client Quit]
phracker has joined #ruby
djcp has joined #ruby
davedev24_ has quit []
djcp has quit [Client Quit]
nateberkopec has quit [Ping timeout: 240 seconds]
prathamesh has quit [Remote host closed the connection]
hailwood has left #ruby [#ruby]
prathamesh has joined #ruby
t4nk018 has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: iamjarvo]
Shidash has quit [Quit: Leaving.]
St_Marx has joined #ruby
djcp has joined #ruby
havenwood has joined #ruby
RaptorJesus has joined #ruby
djcp has quit [Client Quit]
prathamesh has quit [Ping timeout: 264 seconds]
djcp has joined #ruby
Boohbah has joined #ruby
djcp has quit [Client Quit]
debajit has quit [Quit: Leaving...]
yakko has quit [Ping timeout: 252 seconds]
djcp has joined #ruby
yakko has joined #ruby
djcp has quit [Client Quit]
tacos1de has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
rezzack has quit [Ping timeout: 276 seconds]
kenneth has joined #ruby
GriffinHeart has joined #ruby
jrhe has quit [Quit: Connection closed for inactivity]
end_guy has joined #ruby
michael_lee has joined #ruby
yakko has quit [Ping timeout: 252 seconds]
Wr3x has joined #ruby
yakko has joined #ruby
thesheff17 has quit [Ping timeout: 264 seconds]
<Wr3x>
Any recommendations for a new ruby hacker working with threading/mutexes ?
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Wolland has quit [Remote host closed the connection]
nateberkopec has joined #ruby
Wolland has joined #ruby
<havenwood>
lenswipe_dev: assuming this will have a cert error too, but try: gem install rubygems-update
<lenswipe_dev>
ok
<havenwood>
assuming that installs: update_rubygems
<lenswipe_dev>
yep
<lenswipe_dev>
cert error too
<lenswipe_dev>
EXECThe system cannot find the file specified.
<lenswipe_dev>
oops
s2013 has quit [Ping timeout: 265 seconds]
ntio has joined #ruby
OffTheRails has joined #ruby
<havenwood>
lenswipe_dev: I'd suggest grabbing the more recent installer, which will get you a newer RubyGems that fixes the missing s3 cert: http://rubyinstaller.org/
ntio has left #ruby ["WeeChat 0.4.3"]
<lenswipe_dev>
havenwood, okay
<lenswipe_dev>
so i should uninstall what i have and grab it again?
yfeldblum has joined #ruby
<OffTheRails>
any contractors around? thoughts on employment vs contracting?
Wolland has quit [Ping timeout: 240 seconds]
<lenswipe_dev>
havenwood, out of interest, is the missing s3 cert related to the heartbleed bug?
nateberkopec has quit [Ping timeout: 240 seconds]
trhodes_ has quit [Ping timeout: 264 seconds]
<havenwood>
lenswipe_dev: yes uninstall and grab again, no this particular issue isn't related to heartbleed but that'd be enough reason alone to update
<lenswipe_dev>
hmm
<lenswipe_dev>
did the gems people just move some stuff to or from s3 after this build or something?
chickenstrips has joined #ruby
chickenstrips has left #ruby [#ruby]
dingus_khan has quit [Remote host closed the connection]
<lenswipe_dev>
but i have to keep my winshit laptop for Steam
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
lenswipe_dev: that'd be a smoother experience!
<havenwood>
lenswipe_dev: steam for linux now :)
<havenwood>
but yeah
freezey has joined #ruby
<lenswipe_dev>
havenwood, yeah, but sadly current debian release doesn't support steam without making into into a frankendistro with ubuntu repos and stuff
iamjarvo has quit [Quit: iamjarvo]
<lenswipe_dev>
tried that once, almost broke it
<lenswipe_dev>
not going to try again
<havenwood>
lenswipe_dev: ew
<lenswipe_dev>
ya
<lenswipe_dev>
its coming
<lenswipe_dev>
not here yet though
Robbo` has quit [Quit: Leaving]
<lenswipe_dev>
but yeah, I <3 developing on linux
<lenswipe_dev>
everything is better
<OffTheRails>
cheers havenwood
* lenswipe_dev
puts OffTheRails back on the rails and sends him off on his way
<lenswipe_dev>
havenwood, oh lovely....100% disk usage while windows is doing precisely fucking NOTHING!
<lenswipe_dev>
havenwood, did i mention this was on a quad core laptop with 8GB of RAM
<havenwood>
lenswipe_dev: working as intended
<lenswipe_dev>
*sigh*....oh windows...
<lenswipe_dev>
apparently "System" is using most of it
<lenswipe_dev>
whatever that means
<lenswipe_dev>
ruby installer still hasn't shown up to the party yet
<lenswipe_dev>
Dropbox has drunk most of the bar
<lenswipe_dev>
and System is sexually harassing a doorman
<lenswipe_dev>
T_T
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
freezey has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 258 seconds]
essial has joined #ruby
<lenswipe_dev>
havenwood, and now six of them have opened
essial is now known as LunaticEdit
banister has joined #ruby
yfeldblum has quit [Remote host closed the connection]
VinDoKi has joined #ruby
yfeldblum has joined #ruby
bmurt has quit []
prathamesh has quit [Ping timeout: 258 seconds]
try has quit [Ping timeout: 265 seconds]
codeurge has joined #ruby
gondalier has joined #ruby
gr33n7007h has joined #ruby
nikolavp has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
<gr33n7007h>
Anyone know how to fix this: Grackle::TwitterError: get http://api.twitter.com/1.1/users/show.json?screen_name=gr33n7007h => 400: {"errors":[{"message":"Bad Authentication data","code":215}]}from /var/lib/gems/1.9.1/gems/grackle-0.3.0/lib/grackle/client.rb:296:in `handle_error_response'
LunaticEdit has quit [Quit: Bye]
<lenswipe_dev>
gr33n7007h, well it looks like your Oauth credentials are either wrong or being pased wrongly
x1337807_ has joined #ruby
<lenswipe_dev>
I'm not a Ruby expert but that looks like its coming from twitter not the library
codeurge has quit [Ping timeout: 264 seconds]
<lenswipe_dev>
I'd check with a packet sniffer or something to see if the token is being passed (it looks like its not)
<lenswipe_dev>
havenwood, thats gem install working now - thank you! :D
Kache4 has quit [Ping timeout: 240 seconds]
<gr33n7007h>
let me recheck my credentials then
yacks has joined #ruby
codeurge has joined #ruby
FL1SK has quit [Read error: Connection reset by peer]
FL1SK has joined #ruby
angusiguess has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
oo_ has quit [Remote host closed the connection]
chipotle has joined #ruby
havenwood has quit [Remote host closed the connection]
Wr3x has left #ruby [#ruby]
debajit has joined #ruby
<lenswipe_dev>
gr33n7007h, like I said - I'd say that your OAuth token is making it to twitter for whatever reason...either because the gem you're using isn't passing it for some reason or it is making it but it's wrong or expired or truncated or something
bluOxigen has joined #ruby
_automan has joined #ruby
<_automan>
Anyone using the ruby mongo driver?
Shidash has joined #ruby
angusiguess has quit [Ping timeout: 255 seconds]
LekeFly_ has quit [Ping timeout: 255 seconds]
<gr33n7007h>
lenswipe, working on it now :)
oo_ has joined #ruby
freezey has joined #ruby
dawkirst has joined #ruby
narendraj9__ has joined #ruby
dingus_khan has joined #ruby
x1337807_ has quit [Ping timeout: 252 seconds]
<lenswipe>
gr33n7007h, did you figure it out? or are you just saying that youre looking into it?
sqwirl has joined #ruby
<gr33n7007h>
lenswipe, looking into it? think I've nearly got it
thomas__ has joined #ruby
<lenswipe>
gr33n7007h, oh? grats! what was it?
freezey has quit [Ping timeout: 258 seconds]
thomas__ has quit [Client Quit]
x1337807x has joined #ruby
aganov has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
<gr33n7007h>
recreated new app activated mobile phone to twitter account regenerated apikeys SORTED :)
<lenswipe>
ah
<lenswipe>
did you ever find out what the problem was?
<lenswipe>
was the API key invalid or something?
x1337807x has quit [Client Quit]
dingus_khan has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
pwh has joined #ruby
subbyyy has joined #ruby
<gr33n7007h>
lenswipe, no access level was read only
<gr33n7007h>
Can now tweet from cli sweet :)
<lenswipe>
ah
<lenswipe>
yeah, nice
<lenswipe>
just commmited #lol #4f4 #like4like #hurrdurr
<lenswipe>
:p
<gr33n7007h>
:P
gondalier has quit [Quit: gondalier]
sqwirl_ has joined #ruby
sqwirl has quit [Ping timeout: 245 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
NukePuppy has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
MatthewsFace has joined #ruby
<gr33n7007h>
just found a gem called t looks interesting
jamto11 has joined #ruby
sqwirl_ has quit [Read error: Connection reset by peer]
shevy has quit [Ping timeout: 240 seconds]
frosgy has quit [Read error: Connection reset by peer]
sqwirl has joined #ruby
frosgy has joined #ruby
lenswipe has quit [Quit: ...and with that, he left and lived happily ever after.]
bbloom has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<gr33n7007h>
t gem is awesome for twitter cli
jamto11 has quit [Ping timeout: 240 seconds]
fortunamajor has joined #ruby
toastynerd has joined #ruby
frosgy has quit [Read error: Connection reset by peer]
sqwirl_ has joined #ruby
marc_online_ has quit [Read error: Connection reset by peer]
frosgy has joined #ruby
sqwirl_ has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
weems has quit [Ping timeout: 258 seconds]
sqwirl_ has joined #ruby
sqwirl has quit [Ping timeout: 240 seconds]
sqwirl_ is now known as sqwirl
charliesome has joined #ruby
nateberkopec has joined #ruby
brandonshowers has joined #ruby
Retroid has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
NivenHuH has joined #ruby
sqwirl has quit [Read error: Connection reset by peer]
narendraj9__ has quit [Ping timeout: 246 seconds]
tagrudev has joined #ruby
NivenHuH has quit [Client Quit]
Retroid_ has quit [Ping timeout: 252 seconds]
subraminion has joined #ruby
subraminion has quit [Remote host closed the connection]
subraminion has joined #ruby
Leif has joined #ruby
redondo has quit [Ping timeout: 258 seconds]
sputnik13 has joined #ruby
User458764 has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
amclain has quit [Quit: Leaving]
__main__ has joined #ruby
sigurding has joined #ruby
reference has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Remote host closed the connection]
__main__ has joined #ruby
Geo has joined #ruby
The_NetZ has joined #ruby
<The_NetZ>
you guys'll never guess what I got runnning :D
<bricker`LA>
a blister on your heel
* bricker`LA
rimshot
NukePuppy has quit [Ping timeout: 255 seconds]
reference has quit [Read error: Connection reset by peer]
JBreit has joined #ruby
reference has joined #ruby
ponga has joined #ruby
Geo has quit [Ping timeout: 276 seconds]
toastynerd has joined #ruby
lenswipe_dev has quit [Read error: Connection reset by peer]
rm_ has quit [Remote host closed the connection]
jprovazn has joined #ruby
JokerDoomWork has joined #ruby
rm_ has joined #ruby
djbkd has joined #ruby
IceDragon has quit [Quit: Space~~~]
<The_NetZ>
bricker`LA: lol, no. I got ruby 2.1.2 running on windows :D
ponga has quit [Changing host]
ponga has joined #ruby
<bricker`LA>
amazing
lw has quit [Quit: s]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
Lucky_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusiguess has joined #ruby
<The_NetZ>
rubyinstaller for it won't work as of my last check, only thing i dislike about it is its dependent on the ms c runtime dll :/
User458764 is now known as User458764_NotHe
JokerDoomWork has quit [Ping timeout: 245 seconds]
rm_ has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
kireevco has joined #ruby
ponga has quit [Ping timeout: 276 seconds]
<kireevco>
hi all, new to ruby. Quick question to mature rubyusts. Why would you choose ruby over python?
hgl has quit [Ping timeout: 245 seconds]
User458764_NotHe has quit [Ping timeout: 240 seconds]
<OffTheRails>
I would use ruby over python for any web development
ruralhack has quit [Ping timeout: 260 seconds]
Leif has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
butcher1 has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
<The_NetZ>
kireevco: my experience previously led me to believe that getting the latest ruby on windows was a bit of a pain, compared to doing so on python.
<jimbauds>
ruby have block .. python don't
<jimbauds>
this is a really nice feature
<The_NetZ>
kireevco: but, with the recent discovery of msys2 this is no longer an issue. and yeah, blocks are awesome.
dingus_khan has joined #ruby
<dont-panic>
I just started learning ruby on rubymonk. I think its great that you can do things like stuff.each{|i| i % 2 == 0 ? store << i : next } <-- that crap is awesome
subbyyy has joined #ruby
<The_NetZ>
yep. heck, groovy has that too :P
<The_NetZ>
closures
<dont-panic>
if you have problems with ruby on windows, use linux
dawkirst has joined #ruby
<dont-panic>
well... if your a developer... use linux
unknown007 has quit [Ping timeout: 260 seconds]
<The_NetZ>
yeah, lol.
<The_NetZ>
But, I do want to support windows too.
freezey has quit [Ping timeout: 252 seconds]
<dont-panic>
Other than for gaming, I can only really use windows in a vm
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
<The_NetZ>
heh. only gaming I do on windows is pcsx2 :P
p8952 has quit [Quit: Leaving]
sunya7a_ has joined #ruby
<dont-panic>
is 2.1.2 very different from 1.9.1/3?
<The_NetZ>
hrm. I dunno.
scepticulous has joined #ruby
<OffTheRails>
have a look at a change list
<dont-panic>
I'm going to have to learn to start using that version control dealio
akemrir has joined #ruby
dingus_khan has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<OffTheRails>
git?
dawkirst has quit [Ping timeout: 255 seconds]
<The_NetZ>
git is awesome
sunya7a_ has quit [Client Quit]
<dont-panic>
awesome is awesome too
<The_NetZ>
isn't awesome a window manager?
<dont-panic>
yeah. its the bees knees... and head and body
<dont-panic>
etc
bal has joined #ruby
<dont-panic>
awesome + tmux + vim = ideal setup
<OffTheRails>
+ zsh
ruralhack has joined #ruby
<dont-panic>
OffTheRails: I keep seeing people using that, is there a main difference between zsh and bash?
<OffTheRails>
+ tmuxinator
<OffTheRails>
oh my
<The_NetZ>
zsh is awesome
<OffTheRails>
zsh is like extended bash
<OffTheRails>
lots of plugins
wildtype has joined #ruby
<The_NetZ>
bash++
anarang has joined #ruby
rm_ has joined #ruby
<dont-panic>
hmmm... I'll have to look into that. I generally stick to bash since its pretty much everywhere in unix
<dont-panic>
part of the reason I'm learning ruby. I only know bash like the back of my hand and ruby seems like a good language choice
fluve has quit [Remote host closed the connection]
<The_NetZ>
ruby is pretty cool
gr33n7007h has quit [Remote host closed the connection]
<OffTheRails>
bash works, but there's no harm in spoiling yourself with your dev environment
<dont-panic>
if you use rails, do you end up having to use other web dev languages alot with it? like javascript/jquery?
<OffTheRails>
depends on application
x1337807x has joined #ruby
<OffTheRails>
but generally, yes
<OffTheRails>
modern web development makes heavy use of JS
<dont-panic>
I've noticed that
<dont-panic>
maybe I'll get back into js after I'm done mucking about with ruby
<OffTheRails>
you'll likely use it through coffeescript if you're on rails
<OffTheRails>
which is a ruby-like language that compiles to js
<The_NetZ>
I'm just glad to have a non-cygwin set of *nix tools on windows now :P
datafirm_ has joined #ruby
<dont-panic>
its sad, but one of the biggest reasons I don't feel like finding a new job even though I'm underpayed is b/c I get to use linux here
sinkensabe has joined #ruby
<dont-panic>
if I had to use windows for work, I'd probably install linux in a vm and have that fullscreen most of the time
<OffTheRails>
haha... yeh, that's what I'm doing as we speak
<The_NetZ>
dont-panic: hell, get me a job, lol.
AlexRussia has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Remote host closed the connection]
<The_NetZ>
I'll work underpaid if I can use *nix :P
<dont-panic>
I only make 13 an hour
<OffTheRails>
that's not bad for a salary
<OffTheRails>
what responsibilities?
<OffTheRails>
junior-mid-senior?
<The_NetZ>
shit I'd love 13 an hour working on *nix :P
<dont-panic>
tech support for proprietary software
<dont-panic>
I work on Proofpoint's L1 team
<OffTheRails>
tech support is horrendous. find yourself a programming job
<OffTheRails>
easier said than done, I know
ruralhack has quit [Ping timeout: 264 seconds]
<dont-panic>
That's really what I want. I'm just concerned that I'm not where I'd need to be for that
<OffTheRails>
it's difficult if you're self-taught
bigkevmcd has quit [Remote host closed the connection]
<dont-panic>
and there are virtually no tech jobs where I live b/c competition is toughhh
<OffTheRails>
you can always do some freelancing on the side to build up experience
<dont-panic>
I'd love a junior ruby/rails dev position
<dont-panic>
tech support kind of sucks b/c theres no real clear career upgrade path
<OffTheRails>
sometimes you gotta make sacrifices for your career. might be worth relocating
<dont-panic>
I'd love to relocate lol
subbyyy has quit [Ping timeout: 240 seconds]
<OffTheRails>
I think *nix tech support is the pinnacle of tech support
<dont-panic>
the economy is horrendus here
<OffTheRails>
I cannot fathom windows tech support
<dont-panic>
yeah, I was told our L1 team is more like any other supports L2 team
<dont-panic>
I fix centos sendmail filter servers all night
<dont-panic>
for fortune 50-500 customers
<OffTheRails>
so you have an intimate idea of a few pain points of those customers?
kilk_ has joined #ruby
<dont-panic>
its great, but the level of knowledge for the payoff is way out of wack
<OffTheRails>
go build something for them
phansch has joined #ruby
<dont-panic>
hmmm, didn't think of that
<OffTheRails>
maybe there is a tool, library, service you could build that would automate/alleviate responsibilities of your job. build that, and sell it to similar companies to what you work at
timonv has joined #ruby
<dont-panic>
not sure what I would build, but I guess I could look through our request for enhancment tickets and pick something
<OffTheRails>
or, as I say, build something for the actual customers
<OffTheRails>
yes, definitely. that sounds like a great opportunity
nateberkopec has joined #ruby
<OffTheRails>
you could even build a system that your company offers as a service to these customers... now they need support for it... you just created a programming job out of thin air
zkay11 has left #ruby [#ruby]
kyb3r_ has quit [Read error: Connection reset by peer]
pwh has quit []
JBreit has left #ruby ["Leaving"]
Arkaniad|Laptop has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
dawkirst has joined #ruby
gr33n7007h has joined #ruby
alxgnon has joined #ruby
kyb3r_ has joined #ruby
<dont-panic>
OffTheRails: sorry, got a call. Yeah, that's a brilliant idea
heftig has joined #ruby
<OffTheRails>
glad it's got the cogs turning
_automan has quit [Ping timeout: 264 seconds]
<dont-panic>
I gotta do something. This is the only tech job on my resume
claymore has joined #ruby
<OffTheRails>
how old are you?
<dont-panic>
26
pwh has joined #ruby
<OffTheRails>
same. do you enjoy programming?
<The_NetZ>
heh. I'm shortly to be 26 :p
rm_ has quit [Remote host closed the connection]
<OffTheRails>
is that like your ideal career, or are you just thinking in terms of security?
<dont-panic>
]yeah. I've only really been at the programming game for like a year and a half
<dont-panic>
idk, I think it would be fun to be a developer
rm_ has joined #ruby
<dont-panic>
my cousin keeps telling me to go for a sales engineer type position, but Idk
fabrice31 has joined #ruby
<The_NetZ>
I'm doing game dev
<OffTheRails>
you're looking at a good 3000-5000 hours of dev time to become competent
toastynerd has quit [Remote host closed the connection]
<OffTheRails>
of course, that's to be taken with a grain of salt, but I'd focus on getting those hours in as much as pos
<dont-panic>
I mean, I know a decent amount about programming. just haven't really applied much of it
<OffTheRails>
do you have a background in computer science or software?
<dont-panic>
like I'm familiar with perl, python, ruby, bash, awk, c/c++, js and the list goes on, but I haven't really built anything except a few web pages and some bash scripts
<OffTheRails>
sales engineering I imagine is quite lucrative
tobago has joined #ruby
<OffTheRails>
but sales... ew
<dont-panic>
nope, just switched from windows to linux 8 years ago and haven't gone back
<OffTheRails>
sounds like you have plenty of exposure to programming
<dont-panic>
my cousin told me that its important to get a degree by 30
artm has joined #ruby
<OffTheRails>
it's not
<The_NetZ>
heh. I've only used it for two/three years but I've not looked back as well
<OffTheRails>
it's important to build something substantial by 30
<OffTheRails>
achievement speaks louder than any piece of paper
kiri has joined #ruby
<The_NetZ>
dont-panic: lets make an os!
saarinen has quit [Quit: saarinen]
Shidash has quit [Ping timeout: 245 seconds]
<dont-panic>
I looked into slim os design a bit back, didn't really do anything with it b/c I didn't really know anything about it at the time
rm_ has quit [Ping timeout: 255 seconds]
<dont-panic>
I'm super ADD
thesheff17 has quit [Ping timeout: 258 seconds]
<OffTheRails>
meditate on that shiz
<dont-panic>
what do you mean?
<OffTheRails>
that'll help relieve ADD symptoms
<dont-panic>
like physically meditate?
<OffTheRails>
yeh
djbkd has quit [Remote host closed the connection]
<dont-panic>
I should. Don't really know how
<OffTheRails>
do some research. scientists finally discovered it physically changes the structure of your brain
maestrojed has quit [Quit: Computer has gone to sleep.]
<dont-panic>
hmmm
reference is now known as m0nad
<OffTheRails>
typical of the west. it isn't viable until it can be proven by scientific method
<dont-panic>
the only person I know who meditates is kinda crazy
m0nad is now known as m0nAd
<OffTheRails>
one person's crazy is another's sanity
timonv has joined #ruby
<dont-panic>
I guess
m0nAd is now known as m0NAd
bboz has joined #ruby
<OffTheRails>
meditation is incredibly simple, and profoundly challenging
xcv has joined #ruby
m0NAd is now known as m0Nad
<OffTheRails>
simple: 1) stop doing whatever you're doing, 2) focus on your breathing
<dont-panic>
that's it?
b00stfr3ak has joined #ruby
pwh has quit []
<The_NetZ>
pretty much, if you take out all the religeous hocus pocus :P
<OffTheRails>
when you inevitably lose concentration on your breathing, just slowly bring back your attention to it
<dont-panic>
I thought there was more to it that had to do with chacraz or something
<The_NetZ>
om mani padme hum :P
<OffTheRails>
do that 1000s of times and your mind starts to obey
<jimbauds>
focus
rm_ has joined #ruby
<OffTheRails>
but there's all kinds of meditation, "runners high" refers to a kind of meditative state
alem0lars has joined #ruby
pwh has joined #ruby
thomasxie has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
<OffTheRails>
I'm sure you reach a similar state while reading for a while
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
pwh has quit [Client Quit]
<OffTheRails>
on topic: ruby koans :)
<dont-panic>
I've been doing those too
yubrew has joined #ruby
alem0lars has quit [Client Quit]
<dont-panic>
codewars, rubyquiz, and koans. Doing ruby monk first since that's more of a tutorial
northfurr has quit [Quit: northfurr]
<OffTheRails>
and be sure to read ruby style guide
artm has quit [Ping timeout: 276 seconds]
m0Nad is now known as batman
<dont-panic>
is that as strict as python?
batman is now known as Guest16643
<OffTheRails>
I couldn't say, haven't worked in python much
pwh has joined #ruby
<dont-panic>
its pretty silly, but I like ruby for 'end'. the syntax of python throws me off sometimes
sigurding has quit [Quit: sigurding]
skaflem has joined #ruby
alex88 has joined #ruby
<OffTheRails>
yeh, not a massive fan of indent-based syntax
ddv has quit [Changing host]
ddv has joined #ruby
<OffTheRails>
coffeescript is like python in that regard
pwh has quit [Client Quit]
<OffTheRails>
can get messy, especially if you like to space the body of your code
<dont-panic>
its cool until you have to track down an indentation issue lol
sdwrage has quit [Quit: Leaving]
<The_NetZ>
yeah, the indentation thingus is pretty strange, but hey, all languages have strange stuffs :P
Guest16643 has left #ruby [#ruby]
anaeem1 has joined #ruby
angusiguess has joined #ruby
<dont-panic>
I like that some people use #{ and #} to show the blocks in python, but then its practically C
yubrew has quit [Ping timeout: 264 seconds]
thesheff17 has joined #ruby
_why_ has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
thesheff17 has joined #ruby
_why_ has quit []
Xaitec has joined #ruby
reference has joined #ruby
timonv has quit [Remote host closed the connection]
reference has quit [Client Quit]
tvw has joined #ruby
rghose1 has joined #ruby
sigurding has joined #ruby
rghose1 has quit [Read error: Connection reset by peer]
rghose1 has joined #ruby
angusiguess has quit [Ping timeout: 258 seconds]
whyy has joined #ruby
d34th4ck3r has quit [Quit: zzz]
freezey has joined #ruby
_automan has joined #ruby
alexju has quit [Remote host closed the connection]
JasmeetQA has joined #ruby
freezey_ has joined #ruby
freezey has quit [Read error: Connection reset by peer]
anaeem1 has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 245 seconds]
freezey_ has quit [Ping timeout: 252 seconds]
agjacome has joined #ruby
kireevco has quit [Quit: Leaving.]
noop has joined #ruby
anaeem1 has joined #ruby
<certainty>
moin
MrDoctor has quit []
djbkd has joined #ruby
hermanmunster has quit [Remote host closed the connection]
alxgnon has quit [Remote host closed the connection]
jamto11 has joined #ruby
qba73 has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
ndrei has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
artm has joined #ruby
tris has quit [Remote host closed the connection]
jamto11 has quit [Ping timeout: 260 seconds]
rm_ has quit [Ping timeout: 258 seconds]
norber has joined #ruby
ta has joined #ruby
andrewlio has joined #ruby
nateberkopec has joined #ruby
debajit has joined #ruby
aspires has quit []
The_NetZ has quit [Quit: Leaving]
armyriad has quit [Read error: Connection reset by peer]
adac has joined #ruby
sk87 has joined #ruby
gondalier has joined #ruby
armyriad has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
ikaros has joined #ruby
mehlah has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
VinDoKi has quit [Remote host closed the connection]
Emmanuel_Chanel has joined #ruby
gondalier has quit [Ping timeout: 276 seconds]
michael_lee has quit [Quit: Ex-Chat]
RaptorJesus has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TwinkleHood has joined #ruby
relix has joined #ruby
gondalier has joined #ruby
subraminion has quit [Quit: Computer has gone to sleep.]
whyy has quit [Remote host closed the connection]
whyy has joined #ruby
yubrew has joined #ruby
<tagrudev>
certainty, yolo
yacks has quit [Ping timeout: 252 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
whyy has quit [Ping timeout: 276 seconds]
yubrew has quit [Ping timeout: 255 seconds]
agjacome has quit [Quit: leaving]
OffTheRails has quit [Ping timeout: 252 seconds]
Hobogrammer has quit [Ping timeout: 252 seconds]
debajit has quit [Quit: Leaving...]
ringarin has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
astroduck has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
nvrch has joined #ruby
<astroduck>
Hi, I get "ERROR: Failed to build gem native extension." when i try to do `gem install`. Same for a few gems when I was updating gems. Any way to troubleshoot this?
subraminion has joined #ruby
subraminion has quit [Changing host]
subraminion has joined #ruby
angusiguess has joined #ruby
yacks has joined #ruby
RubyPanther has quit [Ping timeout: 265 seconds]
<Hanmac>
astroduck: what gem do you try to install? and show more of the output
hairyhen1erson has quit [Ping timeout: 240 seconds]
julian-delphiki has joined #ruby
GriffinHeart has joined #ruby
tacos1de has quit [Ping timeout: 272 seconds]
psmolen has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 252 seconds]
bean has quit [Ping timeout: 264 seconds]
xybre has quit [Ping timeout: 255 seconds]
tvw has quit []
d34th4ck3r has joined #ruby
tacos1de has joined #ruby
b00stfr3ak has quit [Ping timeout: 252 seconds]
ndrei has quit [Ping timeout: 252 seconds]
frobrob has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
artm has quit [Quit: Ex-Chat]
subraminion has quit [Remote host closed the connection]
psmolen has joined #ruby
hgl has joined #ruby
subraminion has joined #ruby
freezey has joined #ruby
kies has joined #ruby
oo_ has quit [Remote host closed the connection]
RubyPanther has joined #ruby
dingus_khan has joined #ruby
xybre has joined #ruby
hello_world101 has quit [Remote host closed the connection]
sunya7a has quit [Ping timeout: 240 seconds]
hairyhenderson has joined #ruby
oo_ has joined #ruby
lsmola has quit [Ping timeout: 245 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
freezey has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
AlSquire has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
<gr33n7007h>
Is there a quick way to get an array of floats from 1.0 to 20.0 instead of typing them all out?
* gr33n7007h
head is puddled
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<apeiros>
gr33n7007h: with what diff between each?
<gr33n7007h>
ruby 1.9.3
lsmola has joined #ruby
<dont-panic>
20.times do |i| i << i.to_f ?
mengu has quit [Remote host closed the connection]
<robwilliamsuk>
gr33n7007h (1..20).map(&:to_f)
<dont-panic>
or that
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gr33n7007h>
Many thanks your head tends to stop working when you've been up all night :)
<gr33n7007h>
Many thanks your head tends to stop working when you've been up all night :)
Hanmac1 has joined #ruby
<gr33n7007h>
apeiros, I've only just got your question I'm that tired
Hanmac has quit [Ping timeout: 240 seconds]
jpierre03 has quit [Remote host closed the connection]
kaspergrubbe has quit [Remote host closed the connection]
Macaveli has joined #ruby
rm_ has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
jpierre03 has joined #ruby
ringarin has joined #ruby
timonv has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jhass|off is now known as jhass
nateberkopec has joined #ruby
nfk has joined #ruby
<astroduck>
Hanmac1: Hi, sorry for late reply. I was trying to install jekyll. Here's the error mesage: http://codepad.org/pIv3zvu5
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
bluOxigen has quit [Ping timeout: 258 seconds]
<astroduck>
gr33n7007h: It worked! Thanks :)
<gr33n7007h>
astroduck, no probs
ringarin has quit [Read error: Connection reset by peer]
<astroduck>
gr33n7007h: but first time it installed fine without ruby-dev, it wasn't updating so i tried reinstalling, and then i got this error message. Any reason for this?
ringarin has joined #ruby
<gr33n7007h>
astroduck, not sure tbh
ghr has quit [Ping timeout: 255 seconds]
bluOxigen has joined #ruby
jgrevich_ has quit [Quit: jgrevich_]
m8 has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
einarj has joined #ruby
timonv has joined #ruby
JhonD has joined #ruby
AlSquire has joined #ruby
workmad3 has joined #ruby
d34th4ck3r has quit [Quit: zzz]
d34th4ck3r has joined #ruby
Takle has joined #ruby
dangerousdave has joined #ruby
ghr has joined #ruby
agjacome has joined #ruby
ndrei has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
m8 has quit [Quit: Sto andando via]
datafirm_ has quit [Quit: Computer has gone to sleep.]
datafirm_ has joined #ruby
jpierre03 has quit [Ping timeout: 264 seconds]
decoponio has joined #ruby
DouweM has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
datafirm_ has quit [Ping timeout: 240 seconds]
m8 has joined #ruby
jimbauds has quit [Ping timeout: 252 seconds]
hello_world101 has joined #ruby
jack_rabbit has quit [Ping timeout: 252 seconds]
banister has joined #ruby
banister has quit [Client Quit]
banister has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
yihua1 has joined #ruby
bal has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
angusiguess has quit [Ping timeout: 260 seconds]
mengu has quit [Remote host closed the connection]
<avril14th>
so like File.new.write TempFile.read is the fastest you can get?
klaut has quit [Remote host closed the connection]
<Veejay>
Hi, if I have a ruby program that takes say 100MB of memory and I execute system "some command" from that program, will the subprocess take up the same amount of memory?
<TwinkleHood>
Maybe if you remove the locks, and let the system copy it to a file
mercerist has joined #ruby
<TwinkleHood>
It'll expose the filename, and frankly, remove the point of using tempfile over a regular file, but I think it's faster.
<Veejay>
Also, I'm looking at a gem called subexec (https://github.com/nulayer/subexec), which apparently uses Process.spawn. If I use that to launch commands from a program, does it solve that problem with memory?
<Veejay>
The documentation seems to indicate that Process.spawn is "similar to Kernel#system"
<Veejay>
So I guess not
Yoda has joined #ruby
Yoda is now known as Guest39896
combusean has quit [Ping timeout: 276 seconds]
klaut has joined #ruby
Guest39896 has quit [Remote host closed the connection]
<csmrfx>
avril14th: if you got physical file just backtick / system copy
<csmrfx>
Veejay: no
<csmrfx>
(not same amount)
moritzs has quit [Ping timeout: 276 seconds]
hermanmunster has joined #ruby
<avril14th>
csmrfx: ok, like FileUtils.cp ?
angusiguess has joined #ruby
<csmrfx>
ri Kernel.exec
benlieb has joined #ruby
<csmrfx>
ri system
<csmrfx>
^ avril14th
yfeldblum has quit [Remote host closed the connection]
<csmrfx>
but yes, FileUtils would work, too
<csmrfx>
perhaps more portable
treehug88 has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
sski has quit [Remote host closed the connection]
<Veejay>
csmrfx: What do you mean not same amount?
whyy has joined #ruby
<csmrfx>
of memory, your question
tiagonobre_ is now known as tiagonobre
<csmrfx>
if you exec a system command it does not fork into another ruby process
<csmrfx>
afaik
why_away has joined #ruby
freezey has joined #ruby
<Veejay>
Isn't it fork/exec?
<csmrfx>
it forks
dingus_khan has joined #ruby
<csmrfx>
but into a clone of your ruby process
<csmrfx>
afaik
<csmrfx>
but NOT into a clone of your ruby process!!!!
mercerist has quit [Remote host closed the connection]
<csmrfx>
look at your terminal memory use
tkuchiki_ has quit [Remote host closed the connection]
<csmrfx>
the subshell is likely to use similar amounts of memory
xcv has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 252 seconds]
Eyess has quit [Ping timeout: 265 seconds]
tkuchiki has joined #ruby
lkba has joined #ruby
phansch has quit [Quit: WeeChat 0.4.3]
freezey has quit [Ping timeout: 252 seconds]
TwinkleHood has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dingus_khan has quit [Ping timeout: 258 seconds]
benlieb has quit [Quit: benlieb]
frobrob_ has joined #ruby
duncannz has quit [Ping timeout: 265 seconds]
frobrob has quit [Ping timeout: 252 seconds]
User458764 has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
<clodeindustrie>
NameError: undefined local variable or method `stencil_class` for Stencilable:Module
<clodeindustrie>
this is what I get
<clodeindustrie>
it works if I just put an array instead of the function call
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<clodeindustrie>
any idea of what could be wrong?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
akonny has joined #ruby
aspiers_ has joined #ruby
Macaveli has joined #ruby
yfeldblum has joined #ruby
Macaveli has quit [Remote host closed the connection]
akonny has quit [Client Quit]
sandbags has joined #ruby
<apeiros>
clodeindustrie: do you see the method "stencil_class" anywhere in your gist?
anaeem1__ has joined #ruby
<clodeindustrie>
oops sorry I meant stencil_caca
anaeem1 has quit [Ping timeout: 240 seconds]
strax has joined #ruby
<apeiros>
good, in that case:
<clodeindustrie>
the error message meant stencil_caca :)
<apeiros>
a ) you try to call a method before defining it
fabrice31 has joined #ruby
<apeiros>
b) you try to call an instance method as a class method
<apeiros>
both things don't work
<clodeindustrie>
the def_delegator happens before instanciation ?
yfeldblum has quit [Ping timeout: 240 seconds]
angusiguess has joined #ruby
<apeiros>
def_delegator happens exactly where you wrote it
<apeiros>
it's a method call
<clodeindustrie>
ok right
<clodeindustrie>
so I would need to make it run on initialize
mikey85 has joined #ruby
<clodeindustrie>
or make my stencil_caca a class method and define it before the delegation happens
<mikey85>
if anyone owns a network server, let's collaborate. Thank you :)
mikey85 has left #ruby [#ruby]
maximski has joined #ruby
<apeiros>
whatever a "network server" is supposed to be…
<clodeindustrie>
of course a "network server"
banister has quit [Ping timeout: 252 seconds]
chrisseaton has quit []
angusiguess has quit [Ping timeout: 258 seconds]
whyy has quit [Remote host closed the connection]
kiri has quit [Ping timeout: 276 seconds]
<Veejay>
csmrfx: Well, I just read it and it doesn't say anything about memory really
pyon has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
<sandbags>
i have someone who brings me networks on a tray, does that count?
<Veejay>
Really what I'm wondering is something to the effect of "My program takes 20M of memory, I call system, now how much memory is being used, still 20M or 40M?"
avril14th has quit [Quit: Page closed]
freezey has joined #ruby
why_away has joined #ruby
dingus_khan has joined #ruby
sigurding has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Ishiro has joined #ruby
<LadyRainicorn>
Veejay: 20M+whatever the called program uses.
TwinkleHood has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<crome>
why didn I read fucking instead of forking
<crome>
confusing
freezey has quit [Ping timeout: 264 seconds]
dingus_khan has quit [Ping timeout: 255 seconds]
hgl has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<LadyRainicorn>
Well fucking doesn't copy memory either.
banister has joined #ruby
<LadyRainicorn>
That would be a pretty neat feature though.
<crome>
you think so?
* LadyRainicorn
wants to read a story where you can transfer memories through sex.
<LadyRainicorn>
That would have odd implications.
<crome>
very odd
eka has joined #ruby
<LadyRainicorn>
We'd probably replace school with pedophiles.
<crome>
now thats an odd implication
blueOxigen has joined #ruby
hgl has joined #ruby
<LadyRainicorn>
Relationships would probably be strengthened a lot.
<LadyRainicorn>
Or maybe not.
<crome>
Im not sure strengthen is the right word here :D
<apeiros>
school for intelligent people would probably get a lot more interesting
LadyRainicorn has quit [Read error: Connection reset by peer]
<csmrfx>
Veejay: that is for YOU to work out
LadyRainicorn has joined #ruby
<csmrfx>
it is YOUR program
<LadyRainicorn>
Depending on how it worked, it might create a hivemind.
<csmrfx>
YOU need to create the tests, benches, reports
bluOxigen has quit [Ping timeout: 252 seconds]
<LadyRainicorn>
My original thought was every time you fuck all memories, knowledge, and abilities are absorbed bidirectionally.
TwinkleHood has joined #ruby
<crome>
LadyRainicorn: sorry about accidentally bringing up the matter
<crome>
seems like I got you set up for the rest of the day
jamto11 has joined #ruby
<LadyRainicorn>
lol
<apeiros>
prostitution would also be a quite an interesting job with that I guess…
ndrei has quit [Ping timeout: 276 seconds]
mbuf has joined #ruby
<crome>
you just need to have sex with someone if you want to know what they know
<crome>
pretty much like absorbing the soul of someone you eat ;>
<apeiros>
also poor presidents and other secret holders :D
yubrew has joined #ruby
<LadyRainicorn>
haha yes secrets wouldn't be a thing.
banjara1 has joined #ruby
<apeiros>
oh yes, they would be
<jhass>
hm, wouldn't childs automatically inherit everything of their parents?
<apeiros>
along mandatory castration, I'd guess
sigurding has quit [Quit: sigurding]
<LadyRainicorn>
jhass: I don't see why, unless broken arms.
<apeiros>
in a world where there are "no" secrets, an actual secret can be invaluable
<mbuf>
when multiple library gems are installed on a system, and an application requires just the name of the gem, how does it determine which version to use?
<crome>
but there would be a real benefit in boning as many people as you can
<dangerousdave>
I have an AWS database instance for my production application. Within the instance, I have a single database. Is there any naming convention for DB instance and database?
<crome>
regardless of sex, eheh
dingus_khan has joined #ruby
<LadyRainicorn>
Yes, maybe.
shredding has joined #ruby
banjara has quit [Ping timeout: 258 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
<LadyRainicorn>
Most of the world is connected in a sex network, so most skills and factual knowledge would probably be ubiquitous.
<LadyRainicorn>
Though it depends how it works.
<LadyRainicorn>
I guess people probably wouldn't be able to retain all the information.
<crome>
we should draft the specification
AlexRussia has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
nateberkopec has joined #ruby
<LadyRainicorn>
Yes.
ij has left #ruby ["WeeChat 0.4.3"]
Takle has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 258 seconds]
marc_online_ has joined #ruby
rm_ has joined #ruby
<crome>
deciding what to have for lunch is such an exhausting task on a friday
banister has quit [Ping timeout: 240 seconds]
Ishiro has quit [Quit: Computer has gone to sleep.]
<LadyRainicorn>
What's the first food you thought of when I asked this question?
<crome>
burger
[42] has quit [Quit: Gone...]
[42] has joined #ruby
<apeiros>
I guess I should get something for lunch too
nateberkopec has quit [Ping timeout: 240 seconds]
rm_ has quit [Ping timeout: 252 seconds]
obs has joined #ruby
otl has joined #ruby
<LadyRainicorn>
crome: Have that.
<crome>
I had one last night
ldnunes has joined #ruby
momomomomo has joined #ruby
marc_online_ has quit [Quit: Leaving]
akonny has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
xcv has joined #ruby
Takle has joined #ruby
rghose1 has joined #ruby
<rghose1>
hey guys, any idea how to obtain cookies when coding a omniauth strategy ?
byteoverfl0w has joined #ruby
karupa is now known as zz_karupa
feature_creep has quit [Quit: feature_creep]
GriffinH_ has joined #ruby
perlsyntax has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikemac has quit [Remote host closed the connection]
pyon has joined #ruby
chrisseaton has joined #ruby
mikemac has joined #ruby
pyon has quit [Remote host closed the connection]
ndrei has joined #ruby
Eyes is now known as Eyess
dingus_khan has quit [Remote host closed the connection]
Ishiro has joined #ruby
why_away has quit [Remote host closed the connection]
whyy has joined #ruby
angusiguess has joined #ruby
timonv has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
workmad3 is now known as wm3|away
timonv has joined #ruby
User458764 is now known as User458764_NotHe
timfoo has quit [Ping timeout: 260 seconds]
kitak_ has quit [Remote host closed the connection]
doodlehaus has joined #ruby
kitak_ has joined #ruby
bakflash has quit [Quit: Konversation terminated!]
mihirrege has quit [Remote host closed the connection]
whyy has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
sigurding has joined #ruby
User458764_NotHe has quit [Ping timeout: 260 seconds]
kitak_ has quit [Ping timeout: 256 seconds]
hermanmunster has quit [Ping timeout: 258 seconds]
bthesorceror has quit [Read error: Connection reset by peer]
lw has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
timfoo has joined #ruby
<byteoverfl0w>
help
<jhass>
no question, no help
Atttwww has joined #ruby
professor_soap has joined #ruby
<professor_soap>
hello
sski has quit [Remote host closed the connection]
<professor_soap>
how do I get the size of a string in bytes?
<jhass>
.bytesize
sski has joined #ruby
akonny has quit [Quit: akonny]
<mbuf>
when multiple library gems are installed on a system, and an application requires just the name of the gem, how does it determine which version to use?
<professor_soap>
jhass: thx
<jhass>
mbuf: unless run under bundler it should use the latest version available
<sandbags>
hrmm... wonder if that's a bot, someone popped up in #clojure and just asked "help" with no response, as well
<mbuf>
jhass, okay
mr_snowf1ake has joined #ruby
whyy has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
tjr9898_ has joined #ruby
LadyRainicorn has joined #ruby
<crome>
LadyRainicorn: I chose japanese :D
phoo1234567 has joined #ruby
sski has quit [Ping timeout: 258 seconds]
ponga has joined #ruby
<LadyRainicorn>
Japanese food is yummy. :3
mengu has quit [Remote host closed the connection]
<ddv>
mbuf: it will pick the newest installed version
doodlehaus has quit [Remote host closed the connection]
freezey has joined #ruby
<mbuf>
ddv, jhass thanks!
doodlehaus has joined #ruby
mengu has joined #ruby
mary5030 has joined #ruby
Quintus_q has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
byteoverfl0w has quit [Quit: Leaving...]
freezey has quit [Ping timeout: 258 seconds]
doodlehaus has quit [Ping timeout: 264 seconds]
timfoo has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
paulfm has joined #ruby
LadyRainicorn has joined #ruby
spastorino has joined #ruby
robertodecurnex has joined #ruby
<Veejay>
csmrfx: You're right I guess. Thanks.
yubrew has joined #ruby
yonahw has joined #ruby
dingus_khan has joined #ruby
bmurt has joined #ruby
ayaz has quit [Ping timeout: 258 seconds]
butcher1 has quit [Read error: Connection reset by peer]
ponga has quit []
mbuf has quit [Quit: Leaving]
unknown007 has joined #ruby
LACP has quit [Ping timeout: 258 seconds]
chrisseaton has quit []
vali has quit [Ping timeout: 240 seconds]
moritzs has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 240 seconds]
feature_creep has joined #ruby
LACP has joined #ruby
Quintus_q has quit [Quit: WeeChat 0.4.3]
whyy has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 252 seconds]
timfoo has quit [Ping timeout: 260 seconds]
Alina-malina has quit [Ping timeout: 265 seconds]
troulouliou_dev has quit [Quit: Leaving]
vali has joined #ruby
whyy has joined #ruby
timfoo has joined #ruby
kevind has joined #ruby
nateberkopec has joined #ruby
mark_locklear has joined #ruby
nvrch has joined #ruby
rm_ has joined #ruby
whyy has quit [Ping timeout: 276 seconds]
Alina-malina has joined #ruby
sambao21 has joined #ruby
Takle has quit [Remote host closed the connection]
tobago has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
ruralhack has joined #ruby
Wolland has joined #ruby
Wolland has quit [Client Quit]
LadyRainicorn has quit [Remote host closed the connection]
LadyRainicorn has joined #ruby
rm_ has quit [Ping timeout: 265 seconds]
AlexRussia has quit [Quit: Konversation terminated!Good bye!]
AlexRussia has joined #ruby
rat_thing has quit [Remote host closed the connection]
hello_world101 has quit [Remote host closed the connection]
<katlogic>
I imagine monopoly AI problem is more like chess (ie simulate turns ahead) than markets simulation (which is really hard), since everyone has information on everyone and resource limits are known beforehand.
dangerou_ has joined #ruby
subraminion_ has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
subraminion_ has joined #ruby
<kilk_>
i will upgrade ai
dangerousdave has quit [Ping timeout: 276 seconds]
phinfonet has joined #ruby
<apeiros>
kilk_: oh, wow, you actually built an AI enemy?
<apeiros>
could do something like RRobots where you pit people's AIs against each other :)
sk87 has joined #ruby
yfeldblum has joined #ruby
<kilk_>
yea, my bots are very smarts
LexicalScope has joined #ruby
renderful has joined #ruby
<kilk_>
a bt later i will add new factors and they will became undefited, gigi
anaeem1__ has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
renderfu_ has quit [Ping timeout: 264 seconds]
Matip has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 258 seconds]
LACP has quit [Ping timeout: 240 seconds]
Azzurrio has joined #ruby
vali has quit [Ping timeout: 240 seconds]
enebo has joined #ruby
oso96_2000 has quit [Ping timeout: 264 seconds]
JasmeetQA has quit [Read error: Connection reset by peer]
LACP has joined #ruby
oso|away has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
oso|away is now known as oso96_2000
phutchins has joined #ruby
LadyRainicorn has joined #ruby
danshultz has joined #ruby
vali has joined #ruby
redondo has joined #ruby
zlad has joined #ruby
angusiguess has quit [Ping timeout: 276 seconds]
wm3|away has quit [Ping timeout: 265 seconds]
Morkel has quit [Quit: Morkel]
geekbri has joined #ruby
kitak_ has joined #ruby
yacks has joined #ruby
tkuchiki_ has joined #ruby
whyy has joined #ruby
relix has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
davedev24_ has joined #ruby
feature_creep has quit [Quit: feature_creep]
kitak_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
tkuchiki has quit [Ping timeout: 258 seconds]
tkuchiki_ has quit [Ping timeout: 255 seconds]
davedev24_ has quit [Ping timeout: 276 seconds]
davedev24_ has joined #ruby
freezey has joined #ruby
LadyRainicorn has quit [Quit: Bye]
davedev24_ has quit [Client Quit]
LadyRainicorn has joined #ruby
freezey_ has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
aganov has quit [Quit: Leaving]
iamjarvo has joined #ruby
rizzatti has joined #ruby
kpshek has joined #ruby
qwyeth has joined #ruby
iamjarvo has quit [Client Quit]
Takle has quit [Remote host closed the connection]
brasten has joined #ruby
klaut has quit [Remote host closed the connection]
i-blis has joined #ruby
freezey has quit [Ping timeout: 276 seconds]
i-blis has left #ruby [#ruby]
moritzs has joined #ruby
freezey_ has quit [Ping timeout: 240 seconds]
perlsyntax has quit []
horsecowdog has joined #ruby
WormDrink has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
kith has quit [Quit: kith]
kith has joined #ruby
kith has quit [Changing host]
kith has joined #ruby
butcher1 has joined #ruby
davedev24_ has joined #ruby
doodlehaus has joined #ruby
why_away has joined #ruby
zlad has quit [Quit: Page closed]
yubrew has quit [Ping timeout: 240 seconds]
andrewjanssen has joined #ruby
unknown007 has quit [Ping timeout: 260 seconds]
go|dfish has quit [Quit: SIGQUIT]
obs has quit [Remote host closed the connection]
djcp has joined #ruby
chrisseaton has joined #ruby
Takle has joined #ruby
frobrob_ has quit [Ping timeout: 252 seconds]
whyy has quit [Ping timeout: 276 seconds]
dingus_khan has joined #ruby
lw has joined #ruby
WormDrink has joined #ruby
tkuchiki has joined #ruby
sailias has joined #ruby
vpretzel has joined #ruby
Fire-Dragon-DoL has joined #ruby
jamto11 has joined #ruby
danman has joined #ruby
kitak has quit [Remote host closed the connection]
kitak has joined #ruby
tier has joined #ruby
wm3|away has joined #ruby
thomasxie has joined #ruby
dingus_khan has quit [Ping timeout: 255 seconds]
marc_online_ has joined #ruby
davedev24_ has quit [Ping timeout: 260 seconds]
pacMakaveli has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
danman has quit [Ping timeout: 252 seconds]
duggiefresh has joined #ruby
brunops has joined #ruby
danman has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
bean has joined #ruby
weszlem has quit []
rm_ has joined #ruby
professor_soap has quit [Remote host closed the connection]
fortunamajor is now known as weems
weems has quit [Changing host]
weems has joined #ruby
jcarouth has joined #ruby
rm_ has quit [Ping timeout: 258 seconds]
davedev24_ has joined #ruby
toretore has joined #ruby
mjsmith2 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dawkirst has quit [Remote host closed the connection]
nowthatsamatt has joined #ruby
danman has quit [Ping timeout: 255 seconds]
danman_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
nateberkopec has joined #ruby
try has joined #ruby
dawkirst has joined #ruby
nateberkopec has quit [Client Quit]
closer has quit [Ping timeout: 245 seconds]
jamto11 has joined #ruby
sk87 has joined #ruby
timonv has quit [Remote host closed the connection]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
kies has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
codabrink has joined #ruby
nicoulaj has joined #ruby
JokerDoomWork has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
why_away has quit [Ping timeout: 264 seconds]
silkfox has joined #ruby
andrewjanssen has joined #ruby
nemesit|znc has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
s2013 has joined #ruby
mjsmith2 has joined #ruby
tier has quit [Remote host closed the connection]
byteoverfl0w has joined #ruby
davedev2_ has joined #ruby
davedev2_ has quit [Client Quit]
tylersmith has joined #ruby
Zenigor has joined #ruby
nemesit|znc has joined #ruby
baweaver has joined #ruby
kies has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
kies has joined #ruby
rm_ has joined #ruby
go|dfish has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
tier has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
ctp has joined #ruby
davedev24_ has joined #ruby
andrewjanssen has joined #ruby
andrewjanssen has quit [Client Quit]
Takle has quit [Remote host closed the connection]
sambao21 has quit [Client Quit]
freerobby has joined #ruby
andrewjanssen has joined #ruby
benzrf|offline is now known as benzrf
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Megtastique has joined #ruby
banister has joined #ruby
snath has quit [Ping timeout: 255 seconds]
thomasxie has quit [Quit: Leaving.]
andrewjanssen has quit [Client Quit]
ephemerian has joined #ruby
coderhs has joined #ruby
coderhs has quit [Client Quit]
quitobro has joined #ruby
sambao21 has joined #ruby
tylersmith has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
andrewhl has joined #ruby
dingus_khan has joined #ruby
vali has quit [Ping timeout: 240 seconds]
nemesit|znc has quit [Ping timeout: 264 seconds]
ixti has joined #ruby
oso96_2000 has quit [Ping timeout: 240 seconds]
LACP has quit [Ping timeout: 240 seconds]
oso|away has joined #ruby
Azzurrio has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oso|away is now known as oso96_2000
s2013 has quit [Ping timeout: 258 seconds]
lethjakman has joined #ruby
Rainicorn has joined #ruby
marc_online_ has quit [Quit: Leaving]
dingus_khan has quit [Ping timeout: 252 seconds]
prathamesh has joined #ruby
nemesit|znc has joined #ruby
Takle has joined #ruby
try has quit [Quit: derpity derp]
bthesorceror has joined #ruby
ascarter has joined #ruby
danman has quit [Quit: danman]
milkohol has joined #ruby
jmurray has joined #ruby
NivenHuH has joined #ruby
vali has joined #ruby
LACP has joined #ruby
ffranz has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
TwinkleHood has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
byteoverfl0w has quit [Quit: Leaving...]
davedev24_ has quit [Ping timeout: 265 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
tagrudev has quit [Remote host closed the connection]
xxneolithicxx has joined #ruby
<xxneolithicxx>
hi all, does Net::HTTP automatically maintain session as long as the instance isnt destroyed or would I have to do something extra to get it to maintain the session?
milkohol has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mengu has quit []
<xxneolithicxx>
*trying to do scraper that will login to a site and then collect some data, want the login session cookies to be retained across page GET requests.
<jhass>
have a look at the mechanize gem
ephemerian has quit [Ping timeout: 276 seconds]
Azzurrio has joined #ruby
traderbhz has joined #ruby
prathamesh has quit [Remote host closed the connection]
subraminion_ has quit [Quit: Computer has gone to sleep.]
prathamesh has joined #ruby
s2013 has joined #ruby
angusiguess has joined #ruby
silkfox has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
wm3|away is now known as workmad3
kirun has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prathamesh has quit [Ping timeout: 260 seconds]
vedis has joined #ruby
oso96_2000 has quit [Ping timeout: 245 seconds]
vpretzel has quit [Remote host closed the connection]
eka has joined #ruby
eka has quit [Client Quit]
LACP has quit [Ping timeout: 240 seconds]
silkfox has joined #ruby
eka has joined #ruby
davedev24_ has quit [Client Quit]
vali has quit [Ping timeout: 240 seconds]
andrewjanssen has joined #ruby
arrubin has joined #ruby
oso|away has joined #ruby
oso|away is now known as oso96_2000
LACP has joined #ruby
amundj has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
xxneolithicxx has left #ruby [#ruby]
andrewjanssen has quit [Client Quit]
ephemerian has joined #ruby
vali has joined #ruby
sedavis has joined #ruby
yfeldblum has joined #ruby
treehug88 has joined #ruby
banister has joined #ruby
Ishiro has quit [Quit: Computer has gone to sleep.]
vedis has quit []
eka has quit [Client Quit]
sk87 has joined #ruby
andrewhl has left #ruby [#ruby]
chrisseaton has quit []
yfeldblum has quit [Ping timeout: 258 seconds]
tvw has joined #ruby
davedev24_ has joined #ruby
Rainicorn has quit [Ping timeout: 255 seconds]
sk87 has quit [Client Quit]
tjr9898_ has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
dvabr has joined #ruby
yakko has quit [Ping timeout: 245 seconds]
prathamesh has joined #ruby
GriffinH_ is now known as GriffinHeart
hello_world101 has joined #ruby
tylersmith has joined #ruby
_automan has joined #ruby
oo_ has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
lmickh has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
Shidash has joined #ruby
b1205 has joined #ruby
yubrew has joined #ruby
eka has joined #ruby
tjr9898_ has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
LadyRainicorn has joined #ruby
toastynerd has joined #ruby
paulfm has quit []
Morkel has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
sambao21 has joined #ruby
kiri has quit [Quit: Leaving]
tjr9898_ has joined #ruby
tesuji has joined #ruby
paulfm has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
Rollabunna has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
rm_ has quit [Remote host closed the connection]
renderfu_ has joined #ruby
xcv_ has joined #ruby
stefy669 has joined #ruby
rm_ has joined #ruby
Eyess has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
stefy669 has left #ruby [#ruby]
sputnik13 has joined #ruby
datafirm_ has joined #ruby
Eyes has joined #ruby
traderbhz has quit [Ping timeout: 265 seconds]
renderful has quit [Ping timeout: 245 seconds]
xcv has quit [Ping timeout: 240 seconds]
benzrf is now known as benzrf|offline
xcv has joined #ruby
chrisramon has joined #ruby
dik_dak has joined #ruby
rayners has joined #ruby
rm_ has quit [Ping timeout: 276 seconds]
thesheff17 has quit [Quit: Leaving]
sputnik13 has quit [Ping timeout: 265 seconds]
xcv_ has quit [Ping timeout: 265 seconds]
thesheff17 has joined #ruby
subraminion_ has joined #ruby
lethe has quit [Remote host closed the connection]
arledgemike has joined #ruby
dawkirst has quit [Remote host closed the connection]
sunya7a has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
arledgemike has quit [Client Quit]
Beoran_ has joined #ruby
treehug88 has quit []
milkohol has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
qba73 has quit []
baweaver has joined #ruby
Beoran has quit [Ping timeout: 252 seconds]
saarinen has quit [Read error: Connection reset by peer]
benzrf|offline is now known as benzrf
saarinen has joined #ruby
danijoo has quit [Quit: Leaving...]
jamto11 has quit []
sunya7a_ has joined #ruby
JhonD has quit [Quit: Leaving]
freezey has joined #ruby
Shidash has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
dingus_khan has joined #ruby
sunya7a has quit [Ping timeout: 252 seconds]
milkohol has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
huntarck has joined #ruby
vpretzel has joined #ruby
acrussell has joined #ruby
steveeJ has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
geggam has joined #ruby
chipotle has joined #ruby
dingus_khan has quit [Ping timeout: 252 seconds]
alex88 has quit [Quit: Leaving...]
rm_ has joined #ruby
jamto11 has joined #ruby
sinkensabe has joined #ruby
bthesorceror has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 276 seconds]
bthesorceror has joined #ruby
fabrice31 has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 265 seconds]
sunya7a has joined #ruby
datafirm_ has quit [Quit: Computer has gone to sleep.]
datafirm_ has joined #ruby
gigetoo has quit [Remote host closed the connection]
gigetoo has joined #ruby
jprovazn is now known as jprovazn_afk
noop has quit [Ping timeout: 265 seconds]
sunya7a_ has quit [Ping timeout: 252 seconds]
akonny has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
bthesorc_ has joined #ruby
armyriad has joined #ruby
Takle_ has joined #ruby
horsecowdog has quit [Remote host closed the connection]
Xeago has joined #ruby
sski has quit [Remote host closed the connection]
bthesorceror has quit [Ping timeout: 276 seconds]
brunops has quit [Quit: leaving]
sski has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takle_ has quit [Remote host closed the connection]
datafirm_ has quit [Ping timeout: 260 seconds]
Takle has quit [Ping timeout: 265 seconds]
Hobogrammer has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
tier has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
timgauthier has joined #ruby
sski has quit [Ping timeout: 252 seconds]
SBoolean has joined #ruby
Photism has quit [Quit: Leaving]
MatthewsFace has joined #ruby
sambao21 has joined #ruby
mikesplain has joined #ruby
xcv_ has joined #ruby
MatthewsFace has quit [Client Quit]
freezey has quit [Remote host closed the connection]
Photism has joined #ruby
nvrch has quit [Quit: nvrch]
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
yfeldblum has joined #ruby
xcv has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
subraminion_ has quit [Remote host closed the connection]
ascarter has joined #ruby
subraminion_ has joined #ruby
lsmola has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
tesuji has quit [Ping timeout: 240 seconds]
sambao21 has quit [Ping timeout: 252 seconds]
sk87 has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
chrisramon has quit [Quit: chrisramon]
danman has joined #ruby
sk87 has quit [Client Quit]
bthesorc_ has quit [Remote host closed the connection]
j_mcnally has joined #ruby
b00stfr3ak has joined #ruby
pvbraga has joined #ruby
bthesorceror has joined #ruby
hamakn has quit [Remote host closed the connection]
redondos has quit [Excess Flood]
tesuji has joined #ruby
ndrei has joined #ruby
_automan has quit [Quit: WeeChat 0.4.3]
snath has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
doug_ has joined #ruby
<doug_>
I know this is a long shot. ANyone using the ruby mongo driver with SSL support?
<pvbraga>
Hey sup
joonty has quit [Ping timeout: 276 seconds]
j_mcnall_ has joined #ruby
lagweezle has left #ruby [#ruby]
bthesorceror has quit [Ping timeout: 258 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pvbraga>
Just wondering, my company builder has a open job for RoR programmer (full Stack or part time). We are situated in Sao Paulo - Brazil. No problems to work with people from another country remotely. See the job description here: http://www.hirefive.com/jobdetails/1 You can also recommend someone! Thx
yubrew has joined #ruby
j_mcnally has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: iamjarvo]
<DaniG2k>
pvbraga: full stack or part time? lol I like that
tjr9898_ has quit [Remote host closed the connection]
j_mcnall_ is now known as j_mcnally
Royixc has joined #ruby
tjr9898_ has joined #ruby
Lucky_ has joined #ruby
jackneill has joined #ruby
Royixc has quit [Max SendQ exceeded]
Azzurrio has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<j_mcnally>
hehehe
Royixc has joined #ruby
mikesplain has quit [Quit: mikesplain]
Royixc has quit [Max SendQ exceeded]
NinoScript has joined #ruby
Royixc has joined #ruby
datafirm_ has joined #ruby
DaniG2k has quit [Quit: leaving]
yubrew has quit [Ping timeout: 276 seconds]
maestrojed has joined #ruby
brasten_ has joined #ruby
subbyyy has joined #ruby
mikesplain has joined #ruby
shredding has quit [Quit: shredding]
ringarin has quit [Read error: Connection reset by peer]
aspires has joined #ruby
brasten has quit [Ping timeout: 252 seconds]
brasten_ is now known as brasten
freezey has joined #ruby
ringarin has joined #ruby
aloysius21 has joined #ruby
akonny has quit [Quit: akonny]
strax has quit [Quit: Connection closed for inactivity]
sk87 has joined #ruby
ringarin has quit [Read error: Connection reset by peer]
Hanmac1 is now known as Hanmac
<Hanmac>
havenwood: who time?
lkba has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
<havenwood>
yes, who time then on mon going to canadia! :O
chrisseaton has joined #ruby
bthesorceror has joined #ruby
<Hanmac>
let me guess, you want to spend the 5 days of summer there, ne? ;P
chrisseaton has quit [Client Quit]
mikecmpbll has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
tier has joined #ruby
kireevco has joined #ruby
Takle_ has joined #ruby
<havenwood>
Hanmac: aye :)
<havenwood>
Ottowa
banister has joined #ruby
ponga has joined #ruby
tier has quit [Ping timeout: 264 seconds]
danshultz has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
danshultz has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
alxgnon has joined #ruby
<wmoxam>
Hanmac: we've already had 5 days this year
<wmoxam>
I guess that means winter is coming
<havenwood>
wmoxam: brace yourselves
<Hanmac>
xDDDD
<ponga>
hii
terrell_t has joined #ruby
<wmoxam>
sunny 23c today and all weekend ;)
rghose1 has quit [Ping timeout: 255 seconds]
<Hanmac>
in germany its only a real winter when the snowplows are not driving any more
JasmeetQA has joined #ruby
rippa has joined #ruby
Xaitec has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
feature_creep has quit [Quit: feature_creep]
eka has quit [Ping timeout: 264 seconds]
terrellt has quit [Ping timeout: 255 seconds]
brunops has joined #ruby
danshultz has quit [Ping timeout: 264 seconds]
b1205 has quit [Ping timeout: 252 seconds]
tjr9898_ has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
eka has joined #ruby
wldcordeiro_work has quit [Read error: Connection reset by peer]
luksaur has joined #ruby
toastynerd has joined #ruby
wldcordeiro has joined #ruby
wald0 has quit [Ping timeout: 252 seconds]
JasmeetQA has quit [Ping timeout: 252 seconds]
wald0 has joined #ruby
b1205 has joined #ruby
dingus_khan has joined #ruby
lkba has joined #ruby
prathamesh has quit []
sinkensabe has joined #ruby
vpretzel has joined #ruby
hamakn has joined #ruby
yonahw_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
brandonshowers has joined #ruby
<doug_>
Anyone here using the ruby mongo driver, with ssl?
yonahw has quit [Ping timeout: 255 seconds]
dingus_khan has quit [Ping timeout: 245 seconds]
b1205 has quit [Ping timeout: 252 seconds]
quitobro has quit [Remote host closed the connection]
quitobro has joined #ruby
Ishiro has joined #ruby
vpretzel has quit [Ping timeout: 240 seconds]
<doug_>
:(
wallerdev has joined #ruby
sinkensabe has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
hgl has quit [Ping timeout: 245 seconds]
tvw has quit [Ping timeout: 265 seconds]
<xybre>
I've used the mongo driver a couple years ago, but not with SSL.
tier has joined #ruby
pacMakaveli has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
User458764 has joined #ruby
User458764 is now known as User458764_NotHe
User458764_NotHe is now known as User458764
User458764 is now known as User458764_NotHe
User458764_NotHe is now known as User458764
User458764 is now known as User458764_NotHe
saarinen has quit [Ping timeout: 265 seconds]
bboz has quit [Ping timeout: 252 seconds]
hello_world101 has quit [Remote host closed the connection]
hello_world101 has joined #ruby
[42] has quit [Quit: Gone...]
[42] has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
codabrink has quit [Remote host closed the connection]
saarinen has joined #ruby
yfeldblum has joined #ruby
JasmeetQA has joined #ruby
hello_world101 has quit [Remote host closed the connection]
momomomomo has joined #ruby
benlieb has joined #ruby
wallerdev has quit [Quit: wallerdev]
jemendja has joined #ruby
wallerdev has joined #ruby
rm_ has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 252 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
rm_ has joined #ruby
benlieb has quit [Remote host closed the connection]
<timgauthier>
wewt
benlieb has joined #ruby
<timgauthier>
its 15*c with a high of 22°c today
wldcordeiro has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
brunops has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
pwh has joined #ruby
qwyeth has quit [Remote host closed the connection]
rm__ has joined #ruby
wldcordeiro has joined #ruby
akemrir has quit [Quit: WeeChat 0.4.3]
rm_ has quit [Read error: No route to host]
mijicd has joined #ruby
deric_skibotn has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
oo_ has joined #ruby
anarang has quit [Quit: Leaving]
Spami has joined #ruby
subraminion__ has joined #ruby
rizzatti has quit [Quit: Leaving...]
pwh_ has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrell_t is now known as terrellt
yonahw has joined #ruby
wallerdev has quit [Quit: wallerdev]
subraminion_ has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
horsecowdog has joined #ruby
tkuchiki has joined #ruby
jespada has joined #ruby
jemendja has quit [Quit: leaving]
dawkirst has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
meatherly has joined #ruby
pwh has quit [Ping timeout: 252 seconds]
yonahw_ has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
RaptorJesus has joined #ruby
sigurding has joined #ruby
hello_world101 has joined #ruby
qwyeth has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
Megtastique has quit []
yubrew has quit [Ping timeout: 252 seconds]
ndrei has quit [Ping timeout: 240 seconds]
maximski has quit []
dawkirst has quit [Ping timeout: 252 seconds]
lw has joined #ruby
treehug88 has joined #ruby
ndrei has joined #ruby
brasten has quit [Ping timeout: 252 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
Rollabunna has quit [Remote host closed the connection]
maestrojed has joined #ruby
timonv has joined #ruby
sambao21 has joined #ruby
User458764 has joined #ruby
shredding has joined #ruby
huntarck has quit [Remote host closed the connection]
thumpba has joined #ruby
thomasxie has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
sk87 has joined #ruby
User458764_NotHe has quit [Ping timeout: 258 seconds]
jemendja has joined #ruby
sk87 has quit [Client Quit]
gondalier has joined #ruby
mikecmpbll has joined #ruby
sambao21 has quit [Ping timeout: 258 seconds]
thumpba has quit [Remote host closed the connection]
<Jello_Raptor>
Is there a good way to add a
thumpba has joined #ruby
Notte has joined #ruby
<xybre>
1 + a
<jhass>
"" << a
<Jello_Raptor>
dependancy to every rake task?
brunops has joined #ruby
alem0lars has quit [Quit: alem0lars]
chrisseaton has joined #ruby
brasten has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
<jhass>
Jello_Raptor: why don't you just add toplevel code to your Rakefile?
combusean has joined #ruby
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hello_world101 has quit [Remote host closed the connection]
<Jello_Raptor>
I'd like to make every task dependant on the rakefiles themselves, so I don't have to go touching everything whenever I want to test changes to my build
<Jello_Raptor>
also, har har :P
gondalier has quit [Ping timeout: 258 seconds]
tjr9898_ has joined #ruby
jimbauds has joined #ruby
wallerdev has joined #ruby
hello_world101 has joined #ruby
joaoh82 has joined #ruby
siflyn has joined #ruby
<jhass>
I'm not sure I get what you want...
gondalier has joined #ruby
oo_ has quit [Remote host closed the connection]
Takle_ has quit [Remote host closed the connection]
<Jello_Raptor>
jhass: i want to make rake treat the "rakefile.rb" as a dependancy to every task, without having to add it manually.
feature_creep has joined #ruby
jgrevich_ has joined #ruby
renderfu_ has quit [Remote host closed the connection]
<jhass>
that's the solution you think you need, not your problem
enebo has quit [Quit: enebo]
doev has joined #ruby
ruralhack has joined #ruby
ruralhack has quit [Remote host closed the connection]
<Jello_Raptor>
jhass: I don't want to have to force rake to execute a task, when the only thing that's changed is the rake file.
gondalier has quit [Read error: Connection reset by peer]
<wallerdev>
good morning
<wallerdev>
rubyers
<Jello_Raptor>
morning :)
zeh has joined #ruby
<wallerdev>
dang
bthesorceror has quit [Remote host closed the connection]
<wallerdev>
your name sounds delicious
<segfalt>
good morning (afternoon here)
bluOxigen has joined #ruby
lethe has joined #ruby
<wallerdev>
where do you live segfalt
<ponga>
apparently my nick is a name of fish
<segfalt>
NH, USA
<wallerdev>
very cool
<segfalt>
yeah it's not bad :) where are you from?
<wallerdev>
california
sedavis has quit [Ping timeout: 240 seconds]
<wallerdev>
although i grew up in michigan
zeh has quit [Client Quit]
<wallerdev>
moved here a few months ago
<segfalt>
for work?
<wallerdev>
yeah
<wallerdev>
good job market in san francisco
<wallerdev>
nothing in michigan besides insurance haha
<segfalt>
i get so many job recruiters from SF
zeh has joined #ruby
benlieb has quit [Quit: benlieb]
<segfalt>
but it is so expensive :)
<wallerdev>
yeah it is expensive here
<segfalt>
boston tech is up and coming, so I live off that.
<wallerdev>
i still make more here even after the expenses than i did in michigan though
nanoyak has joined #ruby
<wallerdev>
and i get to be around all the tech so thats cool :)
<segfalt>
i think in 5 years there will be so much remote work it won't matter where you live
lw has quit [Quit: s]
renderful has joined #ruby
<wallerdev>
i worked remotely for my last job
<eam>
people were saying that 5 years ago, and 5 years before that
<segfalt>
yeah?
<wallerdev>
gets lonely assuming youre working from home
<wallerdev>
at least it got that way for me
<eam>
remote hires are usually salary adjusted to their region
<wallerdev>
yeah that too
lethe has quit [Ping timeout: 245 seconds]
gondalier has joined #ruby
thumpba has quit [Remote host closed the connection]
<wallerdev>
they dont have to pay you higher
<segfalt>
what's wrong with that
s2013 has quit [Ping timeout: 256 seconds]
LadyRainicorn has quit [Ping timeout: 240 seconds]
<eam>
what's wrong with lower salaries?
momomomomo has quit [Quit: momomomomo]
<segfalt>
if they match lower costs
<segfalt>
im saying
bthesorceror has joined #ruby
<eam>
yeah generally they don't
<segfalt>
ah
<segfalt>
ok
<segfalt>
good to know
SCommette has joined #ruby
<eam>
the thing is, living expense is variable -- so if you cut 10% from your cheap place to put into savings it's a much smaller number than 10% on an expensive place
zeh is now known as rizzatti
thumpba has joined #ruby
<eam>
tech salaries in any region are enough to go pretty far into the luxury category
<eam>
a lot of people don't live at the fullest extent of their means
combusean has quit [Ping timeout: 252 seconds]
jemendja has quit [Quit: leaving]
<eam>
if you're going to put in a decade of working and saving you'll walk away with a lot more in your pocket if you do it in a high income / high expense region
carraroj has joined #ruby
brunops has quit [Changing host]
brunops has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
dingus_khan has joined #ruby
chrisseaton has quit []
vpretzel has joined #ruby
codabrink has joined #ruby
subraminion__ has quit [Ping timeout: 252 seconds]
iamjarvo has joined #ruby
benlieb has joined #ruby
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby
pwh_ has quit []
<segfalt>
"a lot of people don't live at the fullest extent of their means" -- I'd argue that too many people live outside their means, but maybe not in tech.
LadyRainicorn has joined #ruby
yfeldblum has joined #ruby
oo_ has joined #ruby
lw has joined #ruby
Notte has quit [Remote host closed the connection]
subraminion__ has joined #ruby
jhulten has joined #ruby
<eam>
well you're right, perhaps I should say that if you're a person who will work and build wealth, you'll build a lot more wealth faster in a high income/expense area
<segfalt>
indeed
<eam>
if you're not, well, financial advice is probably irrelevant :)
Zenigor has quit [Remote host closed the connection]
<segfalt>
hahaha
<segfalt>
I have too many friends that do not listen to financial advice.
<eam>
I'm sure we all do :)
rm__ has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 240 seconds]
rm__ has joined #ruby
benlieb has quit [Client Quit]
User458764 is now known as User458764_NotHe
dingus_khan has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
andrewjanssen has joined #ruby
AlSquire has joined #ruby
AlSquire has quit [Client Quit]
Zenigor has joined #ruby
chrisseaton has joined #ruby
zekriad has joined #ruby
jgrevich_ has quit [Quit: jgrevich_]
lkba has joined #ruby
subbyyy has quit [Ping timeout: 240 seconds]
rm__ has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
h_h[2] has joined #ruby
Leif has joined #ruby
User458764_NotHe has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 240 seconds]
Leif is now known as IRLeif
timonv has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
charliesome has joined #ruby
rm__ has joined #ruby
carraroj has quit [Ping timeout: 252 seconds]
h_h has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
doev has quit [Ping timeout: 245 seconds]
pvbraga has quit []
doev has joined #ruby
maximski has joined #ruby
thumpba has joined #ruby
joaoh82 has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
<RubyPanther>
I guess that is because programmers suck at math
<segfalt>
I suck at math for sure.
<segfalt>
I have computers to do math for me
renderful has joined #ruby
claudiop has joined #ruby
enebo has joined #ruby
beef-wellington has joined #ruby
tkuchiki has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
<claudiop>
Hi. Can anyone here help me with rvm? How should it be made a system-wide command? Installing with "curl -L get.rvm.io | bash -s stable" is installing but not making the alias to the commands
Takle has joined #ruby
<timgauthier>
what, shevy isn't here!?
shinobi_one has joined #ruby
dangerousdave has joined #ruby
JasmeetQA has quit [Quit: Leaving.]
Shidash has quit [Quit: Leaving.]
oo_ has quit [Remote host closed the connection]
<jhass>
claudiop: it's not recommended to install rvm system wide unless you know what you're doing
<havenwood>
claudiop: RVM recommends not using system install unless you know how umask works. Are you trying to provide Ruby to multiple users or something else?
aspires has joined #ruby
Hobogrammer_ has joined #ruby
<claudiop>
I need to set RoR for nginx, thats why i'm setting systemwide
<claudiop>
I don't know why (i am not great at ruby, im just a random newbie) but its quite hard to find ruby packages in arch, as opposite to python and the other languages
gondalier has quit [Quit: gondalier]
<jhass>
claudiop: I recommend a reverse proxy with unicorn or puma started by a systemd unit and if you need older rubies chruby and them from the AUR
sinkensabe has quit [Remote host closed the connection]
kaspergr_ has quit [Read error: Connection reset by peer]
the_f0ster has joined #ruby
dangerou_ has joined #ruby
kaspergrubbe has joined #ruby
<havenwood>
claudiop: there's a chruby in the AUR ;)
<havenwood>
claudiop: rvm != ruby
<havenwood>
claudiop: installing for dev or production?
<the_f0ster>
Trying to find all the files in my dir that arent' plists.. starting with something like this, but havne't quite figured out the rgex, Dir[File.join(path, '**/*.^plist*')] ?
huntarck has joined #ruby
<havenwood>
claudiop: what jhass said ^
danshultz has joined #ruby
<jhass>
the_f0ster: Dir[] takes glob patterns, not regexs
hello_world101 has joined #ruby
tier has quit [Remote host closed the connection]
treehug88 has quit []
freezey has joined #ruby
<claudiop>
jhass: I need to use nginx this time. I got a quite low limit on RAM and at least unicorn isn't quite RAM friendly.
dangerousdave has quit [Ping timeout: 240 seconds]
<AntelopeSalad>
claudiop: puma is very memory efficient
bricker`work has quit [Ping timeout: 265 seconds]
<jhass>
and nginx is a good reverse proxy too
robclancy has joined #ruby
<the_f0ster>
jhass: I see, i saw the docs said you can do set negates, like ^[xyz]
robertodecurnex has quit [Remote host closed the connection]
<the_f0ster>
but i just need something like ^(xyz)
pwh has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
reset has quit [Ping timeout: 258 seconds]
<eam>
the_f0ster: you can just read the whole directory and regex if you like
<claudiop>
So you guys are suggesting me to run puma on some random port and to reverse-proxy from nginx to it? Can it fit under 200MB RAM with no load?
<havenwood>
claudiop: unicorn or puma are nice alternatives to passenger and you don't need a Ruby switcher if you aren't switching Rubies
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<robclancy>
so I am using dm-observers with datamapper and they work fine locally but when on the server (thin) they are not doing a thing, as if at runtime the monkey patching or whatever goes on isn't working
<robclancy>
any ideas?
<eam>
that's essentially what a glob does anyway
<the_f0ster>
eam: will that be recurisve? i have a hack fix like, reject{|f| /plist/.match(f)}
<the_f0ster>
on the reuslts of glob
<havenwood>
claudiop: give it a try, yeah if memory is a cap then puma over unicorn
<havenwood>
claudiop: nginx ftw
<eam>
the_f0ster: you can do what you like - if you read the full list recursively and then regex after
<havenwood>
claudiop: threading just has less overhead than process preforking
<AntelopeSalad>
claudiop: if you have it all working with passenger i'd just worry about getting rvm to work, but puma/unicorn+nginx is very solid if you don't mind experimenting until you figure out how it all works
b00stfr3ak has joined #ruby
rm__ has quit [Remote host closed the connection]
<jhass>
claudiop: the base footprint of the appservers won't be what eats your memory there, it's more about the app you'll be running
rm__ has joined #ruby
treehug88 has joined #ruby
endash has quit [Read error: Connection reset by peer]
tier has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<claudiop>
havenwood: To be honest i understand almost nothing about gems. Im quite new to ruby and im struggling to find out how not to pollute the system since it is a production system. I'll quit the rvm/passenger thing to try puma then
endash has joined #ruby
j_mcnally has quit [Read error: Connection reset by peer]
<claudiop>
jhass: At least when i tried to run gitlab it eaten 700Mb with no load, on unicorn
<havenwood>
claudiop: unicorn, rainbows!, puma, thin and passenger are all good Rack webserver options
beef-wellington has quit [Ping timeout: 252 seconds]
<AntelopeSalad>
doesn't gitlab also spawn a sidekiq worker?
<havenwood>
claudiop: rvm is a tool that has the functionality of chruby, chgems, ruby-install and then some
<jhass>
claudiop: does your app use bundler?
<havenwood>
claudiop: do you need to switch Rubies? if not, no need to consider chruby vs rvm vs rbenv for a Ruby switcher.
<havenwood>
claudiop: nginx is great as a reverse proxy, use that
Takle has quit [Remote host closed the connection]
<havenwood>
claudiop: there are multiple good options with a bevy of differences for a Rack webserver
g0bl1n has quit [Quit: Ex-Chat]
JokerDoomWork has quit [Quit: Leaving]
<claudiop>
All of there are tools which i know close to nothing. Im really newbie at ruby, last time i tried something was early 2013, since then i've become a pythonist :(
User458764 has joined #ruby
<claudiop>
I just need a simple rails server
b00stfr3ak has quit [Ping timeout: 240 seconds]
ixti has quit [Ping timeout: 258 seconds]
<claudiop>
But since it is a production server, i need to be careful
rm__ has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
<claudiop>
It is mostly for tests, i'll chroot it if needed
kaspergrubbe has quit [Remote host closed the connection]
<jhass>
so if it's rails, your app most likely uses bundler, so just bundle install --path vendor and you won't pollute the system
macmartine has joined #ruby
Takle has quit [Remote host closed the connection]
huntarck has quit [Quit: Leaving...]
<claudiop>
jhass: There is not such thins as "my app", i want to make a setup to learn it, but since its a production system i need to take this care.
<claudiop>
Right now i know nothing about rails
<havenwood>
claudiop: you can: bundle --deployment
beef-wellington has joined #ruby
baweaver has quit [Remote host closed the connection]
[gmi] has joined #ruby
tier has quit [Remote host closed the connection]
joaoh82 has joined #ruby
redondo has quit [Ping timeout: 264 seconds]
mehlah has quit [Quit: Leaving...]
aloysius21 has quit [Remote host closed the connection]
aloysius21 has joined #ruby
<claudiop>
heavenwood: Ok, doing it right now. I'll try to keep this as simple as possible
robclancy has quit [Ping timeout: 276 seconds]
mark_locklear has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
<claudiop>
havenwook: Is it safe to run as root?
renderful has quit [Remote host closed the connection]
dangerousdave has joined #ruby
<havenwood>
claudiop: Rails is a Rack framework gem. Rack is a gem. Unicorn, Thin, Puma and Passenger are Rack webserver gems. Gems all the way down...
<havenwood>
Bundler is a gem.
<havenwood>
claudiop: yeah, for system installs you'll need su/sudo
toastynerd has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 252 seconds]
<jhass>
not really
<havenwood>
claudiop: you can do system or user gem installs
<jhass>
on arch you can get bundler via ruby-bundler from the AUR
<havenwood>
jhass: that advised?
<jhass>
I'd say so
ndrei has quit [Ping timeout: 252 seconds]
xxneolithicxx has joined #ruby
sambao21 has joined #ruby
<jhass>
that way you can keep the system wide installed stuff tracked by pacman
<jhass>
and bundler can install the per application gems into a local directory without any conflicts
mikesplain_ has joined #ruby
<claudiop>
I've already done so. Now bundler told me to use bundle and bundle --deployment tells me "Could not locate Gemfile"
<jhass>
well, that of course have to be run in a rails app
<claudiop>
jhass: So i must "gem install rails", and set a rails environment first, right?
<AntelopeSalad>
why not just do a system wide install but then have a user own the rails app, then hook it up with systemv/monit|runit|etc
<jhass>
claudiop: no, normally you'd pull the already developed app from a repository
<havenwood>
claudiop: dependencies are specified in the project root dir folder called "Gemfile"
klaut has joined #ruby
<xxneolithicxx>
hi all, is there a way to detect whether a ruby file is being run as a script from the command line vs being included by another ruby file similar to how Python allows 'if __name__ == "__main__"' ?
<claudiop>
jhass: But there is no app
mikesplain has quit [Ping timeout: 276 seconds]
<jhass>
claudiop: then it's hard to deploy it
<Mon_Ouie>
__FILE__ == $PROGRAM_NAME
Notte has joined #ruby
<claudiop>
havenwood: And setting up a rails project creates that file, correct?
<Hanmac>
or $0 for short
AlSquire has joined #ruby
alem0lars has joined #ruby
<jhass>
claudiop: correct
<Hanmac>
claudiop: why not asking at #rubyonrails for rails problems?
<xxneolithicxx>
Mon_Ouie: thx
ndrei has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
rm__ has joined #ruby
renderful has joined #ruby
dangerousdave has joined #ruby
mikesplain_ has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Max SendQ exceeded]
<claudiop>
jhass: Then before doing anything else i should just make such an "app" locally with brick? Is it the procedure?
bricker has joined #ruby
<claudiop>
Hanmac: Sorry, you're correct, better do so
dangerousdave has joined #ruby
<jhass>
claudiop: it's at least closer to a real scenario
dfinly has joined #ruby
xxneolithicxx has quit [Quit: Leaving.]
mikesplain has joined #ruby
<claudiop>
jhass: I though i could do this like php, editing things in real-time. Well, i'll not spam this channel anymore with rails questions, thanks for your help ;)
sputnik13 has joined #ruby
x1337807x has joined #ruby
subbyyy has joined #ruby
jheg_ has joined #ruby
Ankhers has quit [Ping timeout: 272 seconds]
gregf has quit [Quit: WeeChat 0.4.3]
JokerDoomWork has joined #ruby
aspires has quit []
toastynerd has joined #ruby
newUser1234 has joined #ruby
aspires has joined #ruby
Ankhers has joined #ruby
reset has joined #ruby
PyBorg has joined #ruby
PyBorg has quit [Client Quit]
benlieb has joined #ruby
robclancy has joined #ruby
workmad3 has quit [Ping timeout: 258 seconds]
Linkinus has joined #ruby
rizzatti is now known as Guest50254
Guest50254 has quit [Killed (asimov.freenode.net (Nickname regained by services))]
<Rylee>
it seems like what i'm looking for is sequel
<havenwood>
Rylee: pg :P
<havenwood>
s/my/postgre
<atmosx>
User process pids are saved... where exactly in unix systems? :-P
danman has quit [Quit: danman]
<crome>
sequel is a lot more than a mysql client library
<atmosx>
$HOME/.some_dir/pid /tmp/pid ?
<eam>
atmosx: they aren't saved in the filesystem
<havenwood>
Rylee: sequel is a great db toolkit and can use mysql2
<segfalt>
mysql2 doesn't support prepared statements?
<atmosx>
eam: ah ram
saarinen has quit [Read error: Connection reset by peer]
Eyes has quit [Quit: Leaving]
SCommette has quit [Quit: SCommette]
<eam>
atmosx: the interface for working with them is somewhat different between unixes. On linux, there's a virual filesystem in /proc
<crome>
segfalt: nope
SuinDraw has joined #ruby
renderful has quit [Remote host closed the connection]
<havenwood>
atmosx: varies by os/distro, which os?
newUser1234 has joined #ruby
saarinen has joined #ruby
<atmosx>
eam: I'm using this approach for a script, but now I'd like to make a gem and I don't know... I'm using myproc = Process.detach(job); sleep #{time};Process.kill('INT', myproc.pid)
SuinDraw is now known as Eyes
<atmosx>
havenwood: ah, anything other than windows... It's running under OSX/FreeBSD now
Ankhers has quit [Remote host closed the connection]
<atmosx>
I see
<atmosx>
I could create a $HOME/.prog-name/pid and save it there, but just for it's an overkill.
<atmosx>
and write code for every os is out of question
momomomomo has joined #ruby
<eam>
atmosx: what exactly do you want to do with the pid?
tkuchiki has quit [Ping timeout: 276 seconds]
<atmosx>
nothing, save it in order to kill it
<atmosx>
to kill the process etc.
Ankhers has joined #ruby
yetanotherdave has joined #ruby
<jhass>
so you want to read it in later? in a different/restarted ruby script?
JokerDoomWork has quit [Ping timeout: 240 seconds]
<havenwood>
atmosx: depending on what's needed, another option is to set the process title that ps(1) can then see
<havenwood>
atmosx: kill by title rather than pid
GriffinHeart has quit [Remote host closed the connection]
<eam>
or allocate a resource, and then use that resource to identify the process
<atmosx>
sorry guys, I should say what I wanna do... I'm writing a script that catchers a stream and saves it to an mp3 file. The process takes 2 to 5 hours depending on date etc. Now I'm using cron and I just detach the process.
<atmosx>
I thought the 'right way to do it' would be to save the pid and kill it later, but I'm probably wrong. Judging from your questions
<toretore>
why do you want to kill it?
<jhass>
systemd timers! :P
<atmosx>
toretore: I'm evil
<eam>
atmosx: if it has the output file opened, you can get the pid from that
<atmosx>
eam: I do now.
<toretore>
atmosx: real answer?
<toretore>
i don't see why you'll want to kill it
<atmosx>
toretore: ah no no, I want to stop the process :-) I'm killing via Process.kill how else would I do it? :-)
<toretore>
but why?
<toretore>
whyyyyyy
<atmosx>
how would you exit?
<atmosx>
wait
<toretore>
it is the most important question
<toretore>
why
<eam>
toretore: it sounds like a fairly standard cleanup routine
<eam>
havenwood: yeah, there are a lot of various timer implementations, it's just odd that ruby hasn't ever had a well supported alarm call
<jhass>
frem_: self.class::MY_CONSTANT
<havenwood>
frem_: just MY_CONSTANT
Rollabunna has quit [Ping timeout: 258 seconds]
<eam>
it's usually one of the basic things you'd expect to find in Kernel for example
<havenwood>
oh
<frem_>
thanks jhass, havenwood. Was having a hard time finding that on google. :)
gondalier has joined #ruby
<eam>
I only ever use it on oneliners or throwaway code
alem0lars has quit [Quit: alem0lars]
terrellt has quit [Remote host closed the connection]
mikesplain_ has joined #ruby
feature_creep has quit [Quit: feature_creep]
renderful has quit [Ping timeout: 264 seconds]
terrellt has joined #ruby
<bmurt>
hey guys/gals, i was attempting to install the 'mail' gem, but it looks like i have a conflict with the mime-type gem because of two versions being installed
<bmurt>
is there a way to track down how the first one was installed?
<bmurt>
nevermind, its mechanize
gondalier has quit [Client Quit]
brunops has quit [Ping timeout: 240 seconds]
terrellt has quit [Remote host closed the connection]
pwh has quit []
terrellt has joined #ruby
mikesplain has quit [Ping timeout: 276 seconds]
mikesplain_ is now known as mikesplain
LadyRainicorn has quit [Ping timeout: 260 seconds]
JokerDoomWork has quit [Ping timeout: 260 seconds]
ringarin has joined #ruby
treehug8_ has joined #ruby
LadyRainicorn has joined #ruby
renderful has joined #ruby
renderful has quit [Remote host closed the connection]
Ishiro has quit [Quit: Computer has gone to sleep.]
treehug88 has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
horsecowdog has quit [Remote host closed the connection]
norber has quit [Read error: Connection reset by peer]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Ankhers has quit [Remote host closed the connection]
Ankhers has joined #ruby
sputnik13 has joined #ruby
sputnik13 has quit [Max SendQ exceeded]
lewix has joined #ruby
<lewix>
How do i git clone with svn
<crome>
checkout
carraroj has joined #ruby
<jhass>
git svn clone svn://
<jhass>
:P
adac has joined #ruby
baweaver has joined #ruby
<lewix>
jhass, oh sweet
<lewix>
its pretty much like git
<tobiasvl>
it ... it is git
horsecow_ has joined #ruby
benzrf|offline is now known as benzrf
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lewix>
tobiasvl, nope clone does not work
benzrf is now known as benzrf|offline
makerop has joined #ruby
<jhass>
lewix: it should: git help svn
sputnik13 has joined #ruby
terrellt has quit [Remote host closed the connection]
<jhass>
but as crome said, svn checkout if you want to use it directly
<makerop>
is there a fuzzy way to call include? on a set?
sputnik13 has quit [Max SendQ exceeded]
<jhass>
makerop: what do you mean?
<lewix>
i want the equivalent of git clone repository
<makerop>
I have a set that includes "test", "test1"
<tobiasvl>
lewix: git svn clone repository
sputnik13 has joined #ruby
terrellt has joined #ruby
<lewix>
tobiasvl, why git svn
<lewix>
im using svn
<makerop>
i want to match a *
<tobiasvl>
<lewix> How do i git clone with svn
<makerop>
ie, a regex or something, but I dont want ot have to build one every call
<eam>
who's on first
<lewix>
tobiasvl, ok?
<tobiasvl>
lewix: what exactly do you want to do here
brunops has joined #ruby
brunops has quit [Changing host]
brunops has joined #ruby
<lewix>
i want to clone a repository
<lewix>
with svn
<havenwood>
makerop: what is your desired output?
<lewix>
i do not use git
armyriad has quit [Read error: Connection reset by peer]
tjr9898_ has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
dangerousdave has joined #ruby
tjr9898_ has joined #ruby
Xeago_ has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
Martxel has joined #ruby
Bira has joined #ruby
treehug8_ has quit []
rm_ has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 252 seconds]
KLVTZ has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
amundj has joined #ruby
<KLVTZ>
Completely new to Ruby, is viewing nil as ruby's version of returning null, a proper view? In other words, I understand that nil means a score of zero but nil is actually less than zero. It's really nothing. Therefore, is it proper for me to interpret the nil staye
<KLVTZ>
interpret nil as null?
tjr9898_ has joined #ruby
mikesplain has joined #ruby
<jhass>
yes, nil is rubys null, though unlike null in most languages it's a real object nonetheless
<jhass>
it's used to mark the absence of another language, you can still call methods on it though
treehug88 has joined #ruby
<jhass>
er, *another value
havenwood has joined #ruby
<KLVTZ>
jhass: interesting. I did not know nil is, in itelf, an object
luckyruby has joined #ruby
sambao21 has joined #ruby
<jhass>
everything in ruby is an object
<KLVTZ>
jhass: thank you for explaining this!
happytux has joined #ruby
rostam has quit [Remote host closed the connection]
<happytux>
hi
Notte has quit []
<KLVTZ>
jhass: kinda like JS haha xD
<happytux>
How can I configure Rake that it terminates a task when a task-dependency fails?
remery has joined #ruby
timfoo has quit [Ping timeout: 260 seconds]
<happytux>
Because currently Rake happily continues even when a dependent task failed.
<happytux>
*dependent o
rostam has joined #ruby
<happytux>
*dependent o
<happytux>
*dependent on
SBoolean has quit [Remote host closed the connection]
<happytux>
sorry
SBoolean has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
timfoo has joined #ruby
quitobro has quit []
mikesplain has joined #ruby
<happytux>
anyone?
<happytux>
:)
<happytux>
There isn't so much Rake documentation I must say.
Todd has quit [Remote host closed the connection]
timgauthier has joined #ruby
toastynerd has quit [Remote host closed the connection]
TwinkleHood has joined #ruby
SHyx0rmZ has joined #ruby
maximski has joined #ruby
wallerdev has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
freezey_ has joined #ruby
centrx has joined #ruby
freezey has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
angusiguess has joined #ruby
<frem_>
happytux: you might have to do that manually. rake is pretty small.
toastynerd has joined #ruby
Xeago has joined #ruby
<happytux>
frem_: OK, how can I do this manually? The rake task in question invokes an executable. When the executable fails (return code), how can find this out and fail the task?
sepp2k1 has joined #ruby
klaut has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 264 seconds]
mikesplain has quit [Read error: Connection reset by peer]
Xeago_ has quit [Ping timeout: 252 seconds]
mikesplain has joined #ruby
<frem_>
happytux: I know about as much as you do here. My first stop would be rake's github repo.
benzrf|offline is now known as benzrf
feature_creep has joined #ruby
<segfalt>
happytux: You just want a rake task to execute a command and bail on non-zero?
angusiguess has quit [Ping timeout: 260 seconds]
<segfalt>
happytux: sh('my-command') should do it.
<jhass>
happytux: did you try run command?
<jhass>
like run "pandoc ..."
sambao21 has quit [Quit: Computer has gone to sleep.]
treehug88 has quit []
kitak_ has joined #ruby
klaut has joined #ruby
bricker has quit [Ping timeout: 265 seconds]
pwh has joined #ruby
treehug88 has joined #ruby
rm_ has quit [Remote host closed the connection]
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
bricker has joined #ruby
rm_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
mikesplain has quit [Ping timeout: 265 seconds]
mikesplain_ has joined #ruby
goleldar has joined #ruby
sinkensabe has joined #ruby
debajit has joined #ruby
decoponio has quit [Quit: Leaving...]
cocotton has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 276 seconds]
<happytux>
segfalt: trying...
<happytux>
jhass: I use system('...')
cocotton has joined #ruby
newUser1_ has joined #ruby
cocotton has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
gondalier has joined #ruby
<jhass>
try the run method
<happytux>
frem_: right. If I got more time I would go through the code and it is surely worth it.
<happytux>
jhass: oh
cocotton has joined #ruby
rm_ has quit [Ping timeout: 252 seconds]
sinkensabe has quit [Remote host closed the connection]
macmartine has quit []
spyderman4g63 has quit []
renderful has joined #ruby
renderful has quit [Remote host closed the connection]
<KLVTZ>
So i tried ri in ubuntu and it says nothing is found.
forcefsck has quit [Quit: Ex-Chat]
renderful has joined #ruby
<KLVTZ>
I then check my gem list and its empty except rdocs
<happytux>
jhass: thanks, it works
newUser1234 has quit [Read error: Connection reset by peer]
<KLVTZ>
what's really weird is I've been using gems for Guard on my system as well as compass
mikesplain has joined #ruby
<jhass>
KLVTZ: depending on how you installed ruby you may need to generate docs or install an additional package for them
renderful has quit [Read error: Connection reset by peer]
renderful has joined #ruby
SCommette has joined #ruby
<KLVTZ>
jhass: would you know why all my gems went missing?
<KLVTZ>
jhass: im not versioning ruby or anything like that
renderfu_ has joined #ruby
<jhass>
probably hit a different gem or your $GEM_HOME/$GEM_PATH changed, impossible to say with that little info
b1205 has joined #ruby
chrisseaton has joined #ruby
shevy has joined #ruby
mikesplain_ has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tjr9898_ has quit [Remote host closed the connection]
<KLVTZ>
jhass: for gem path its '/'
brasten has joined #ruby
tjr9898_ has joined #ruby
mikesplain has quit [Read error: Connection reset by peer]
<KLVTZ>
i went into .ruby and i have 1.9 and 2.0
pwh has quit []
<jhass>
see, that sounds wrong already
<eam>
how do I achieve perl -0x000 in ruby? -000 isn't what I want
<happytux>
jhass: NoMethodError: undefined method `run' for main:Object
<happytux>
jhass: hm
<jhass>
happytux: it's a rake method only available inside rake tasks
fortunamajor has joined #ruby
Atttwwww has joined #ruby
<jhass>
eam: it may help to describe what that does...
<eam>
I want to set the input record separator to zero
ohcibi_ has joined #ruby
tjr9898__ has joined #ruby
tjr9898_ has quit [Read error: Connection reset by peer]
artmann has joined #ruby
<eam>
I think that's still $/ in ruby?
Xeago_ has joined #ruby
mikesplain has joined #ruby
freezey_ has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
artmann_ has quit [Quit: No Ping reply in 180 seconds.]
spider-mario has quit [Remote host closed the connection]
<happytux>
jhass: yes, I use it inside a rake task
<eam>
no one wants to write a half page of code to split fields out of a text file
<shevy>
KLVTZ ok probably the simplest way is to then remove it via apt; via RVM I assume installation might be easier for you, though I personally use the source wget ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.bz2
Xeago has quit [Ping timeout: 258 seconds]
troyready has quit [Quit: Leaving]
<bmurt>
im attempting to use the mail rubygem, i've set the openssl verify to none, but i dont know why the unknown protocol is being created
<shevy>
rvm is here https://rvm.io/ there are also some other ways, like... ruby-install and some more
<toretore>
it's more common to write a ruby program that handles everything
<KLVTZ>
segfalt: im trying to remove ruby and gems. I'm going to start from scratch with rvm
<shevy>
KLVTZ, well the problem is, RVM installs into your home; the ruby you have may be at /usr/bin/ruby so then you have two ruby binaries
<eam>
toretore: eh, not sure that's true. I see ruby -e all over in places where I used to see perl -e
<segfalt>
KLVTZ: I would not remove your Ubuntu Ruby install, just install RVM in your local account.
luckyruby has quit [Ping timeout: 255 seconds]
<toretore>
eam: but it's still ugly
<shevy>
KLVTZ if you really want to do it the hard but simple way, remove in /usr/bin these files: irb ruby ri rdoc
tkuchiki has quit [Ping timeout: 252 seconds]
<shevy>
oh
<KLVTZ>
shevy: yes! current ruby is at /usr/bin/ruby
<shevy>
and also /usr/bin/gem
<eam>
toretore: least ugly alternative
<toretore>
eam: the whole reliance on this sort of stuff in unix is ugly
<eam>
text processing is rarely elegant
<KLVTZ>
shevy: and then install rvm?
<shevy>
and then, in /usr/lib/ <-- ruby OR in /usr/local/lib/ruby (it may be there )
<shevy>
KLVTZ yeah
<combusean>
is rubygems down for anyone else in AWS?
<toretore>
eam: it shouldn't be text processing at all
horsecowdog has joined #ruby
<eam>
toretore: what?
<segfalt>
combusean: Just used it ~5m ago from us-east-1.
<toretore>
eam: it should be a proper format with structure
<KLVTZ>
alright. off i go
s2013 has quit [Ping timeout: 264 seconds]
shinobi_one has quit [Ping timeout: 264 seconds]
<KLVTZ>
let's see how this will work
<shevy>
KLVTZ hmm debian may also have /usr/bin/ruby1.9 - I recommend that you also run a ls *ruby* there just in case
<eam>
toretore: I gotta live in the real world man
<eam>
shoulda woulda doesn't launch products
shinobi_one has joined #ruby
<toretore>
eam: yes, i'm talking about the real world
<toretore>
which sucks
kitak_ has quit [Remote host closed the connection]
<bean>
segfalt: pst, his us-east-1 is not the same as your us-east-1
<combusean>
segfalt, we're in us-west-2a
<segfalt>
bean: What?
<toretore>
stupid unix scripters with their unparseable text formats
<segfalt>
Don't confuse regions with availability zones.
<toretore>
grep awk sed nightmares
<bean>
segfalt: right right, im sleepy.
<eam>
toretore: that's exactly why I tell people to just use ruby -e instead of all that old crap
<segfalt>
:-)
<toretore>
eam: but it's still the same
<segfalt>
combusean: Ah, I'm not using us-west-2 in testing, so maybe?
<eam>
the nice thing about ruby -e is you can easily refactor it into a proper tool with grown-up language structures if it becomes anything but a one-line throwaway
<havenwood>
KLVTZ: which `ruby` and `gem` are currently selected with update-alterantives?
<combusean>
this is one of those I need to take lunch problems. lol
duggiefresh has quit [Remote host closed the connection]
<havenwood>
KLVTZ: if you want to remove the apt-get installed packages, use apt-get to do it
<toretore>
eam: if you're in control of the input and output already it should be structured from the start
alem0lars has quit [Quit: Going AFK...]
<eam>
toretore: we can agree to disagree, perhaps we're solving different problems
momomomomo_ has joined #ruby
<toretore>
these hacky scripts tend to live much longer than you plan
<segfalt>
eam: toretore: In my experience, bad throw away solutions stick around for decades and becomes headaches for dozens of future engineers.
<KLVTZ>
havenwood: errr well i tried apt-get but just purging ruby doesn't work
<shevy>
segfalt use ruby!
<toretore>
segfalt: exactly
<eam>
segfalt: are you afraid someone will scrape it out of .bash_history?
<eam>
the entire point is that it's not a script
Nilium has quit [Ping timeout: 252 seconds]
<segfalt>
I suppose not, but I assumed we were talking about things that wind up in scripts.
<segfalt>
My mistake.
<toretore>
i'm amazed that unix systems don't actually crash much more frequently than they do
<havenwood>
KLVTZ: RVM or chruby won't care about your system Ruby. It can just stay there unless you particularly want to nuke it.
danshultz has quit [Remote host closed the connection]
<eam>
nah, but what I'm saying is like, you spend 30 seconds typing out a command to filter out fields, then maybe you say "I wish this was a script"
<KLVTZ>
havenwood: i like nuking things xD
<toretore>
it's like having a web service that is based on html scraping
tylersmith has quit [Remote host closed the connection]
robertodecurnex has quit [Remote host closed the connection]
<eam>
well if you started with ruby -e it's easy to clean up and toss in a proper format
alem0lars has joined #ruby
<eam>
if you started with grep|awk|cut ... bleh
danshultz has joined #ruby
tylersmith has joined #ruby
<eam>
plus, why remember multiple syntaxes?
tylersmith has quit [Remote host closed the connection]
rm_ has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 276 seconds]
momomomomo_ is now known as momomomomo
tjr9898__ has quit [Remote host closed the connection]
rm_ has joined #ruby
<eam>
fyi, in this particular case all I wanted was: ruby -0 -ne'puts $_ if /TERM/' /proc/$$/environ
rm_ has quit [Read error: Connection reset by peer]
skaflem has quit [Quit: Leaving]
timonv has joined #ruby
rm_ has joined #ruby
robertodecurnex has joined #ruby
<eam>
doesn't strike me as ugly at all ...
<segfalt>
I never did learn perl -e isms.
<eam>
they are VERY useful
<segfalt>
How does if /TERM/ work?
* KLVTZ
nuked everything. feels better
<shevy>
it uses some default segfalt
Xeago_ has quit [Remote host closed the connection]
SevenWolf has joined #ruby
<toretore>
eam: useful != good
vpretzel has joined #ruby
<shevy>
in ruby something similar works
<shevy>
but it looks ugly
<eam>
toretore: stop trollin' buddy
<segfalt>
It's a bit confusing, because in a script, if /TERM/ would be true, always.
<eam>
shevy: that *was* ruby
<shevy>
eam if /TERM/ works in ruby?
<eam>
shevy: run it?
danman has joined #ruby
<shevy>
why would that work
<segfalt>
it sets a magic variable to the value of each line
<segfalt>
and if knows about it
<segfalt>
i guess
Xeago has joined #ruby
<shevy>
#archlinux :Cannot join channel (+r) - you need to be identified with services
<eam>
shevy: // matches $_
<shevy>
:(
paulfm has quit []
<shevy>
that was it!
<shevy>
$_
sambao21 has joined #ruby
<eam>
-n reads input separated by the input record separator and puts each record in $_
mikesplain has quit [Quit: mikesplain]
<eam>
it's not something you'd do in a proper program but in a quick single command you need a convention for stuff like this and it works ok
<segfalt>
meanwhile in irb: # =(irb):1: warning: regex literal in condition
danshultz has quit [Ping timeout: 276 seconds]
Ankhers has quit [Remote host closed the connection]
<segfalt>
I guess it's that sort of dichotomy of behavior that rubs me the wrong way.
<segfalt>
Though it does seem awfully convenient :)
<eam>
I mean, you'd never do this in a proper program
<eam>
but the entirity of the commandline is basically just bastardized syntax from proper languages
<shevy>
segfalt irb behaves different in a few aspects
Xeago_ has joined #ruby
<shevy>
*differently
Xeago_ has quit [Remote host closed the connection]
tier has quit []
<shevy>
bastardized syntax
<shevy>
is that your description of perl
freerobby has quit [Quit: Leaving.]
bluOxigen has quit [Ping timeout: 255 seconds]
<eam>
if you want to be technical, ruby is the bastard child of perl, not vice versa
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
<eam>
perl would be the child of awk, C :)
timonv has quit [Ping timeout: 265 seconds]
freerobby has joined #ruby
<Hanmac>
eam: i think often that ruby is python's evil twin sister ;P
<KLVTZ>
for some reason, while nuking everything it appears that i somehow was switched from ruby 2.0 to 1.9 --there was literally multiple versions of ruby running rampant on my system
mikesplain_ has joined #ruby
mikesplain_ has quit [Client Quit]
<KLVTZ>
i never versioned it because i thought to live a little dangerous
<eam>
python was adopted and doesn't fit in
<segfalt>
Hanmac: They don't have a lot in common, ancestrally.
<KLVTZ>
shows what happens when i don't use version management
<havenwood>
KLVTZ: or are using version management but don't realize it :P
<KLVTZ>
but thanks, ill remmebrr that!
<segfalt>
There is far too much about ruby that is drastically different than perl.
alvaro_o has quit [Quit: Ex-Chat]
<KLVTZ>
havenwood: no i would know that rvm is installed
<KLVTZ>
im not that naive haha
<eam>
segfalt: there's some, but there are far more similarities
<havenwood>
KLVTZ: i mean update-alternatives
<segfalt>
eam: Beyond syntax?
<shevy>
KLVTZ hmm
<havenwood>
KLVTZ: which you can use out of the box to switch between debian ruby packages
Xeago has quit [Ping timeout: 252 seconds]
<eam>
segfalt: I think you'd be surprised how similar they are
horsecowdog has quit [Remote host closed the connection]
<shevy>
KLVTZ I can understand you had one from /usr/bin/ruby but where did you have the other one from? there can only exist one file at location /usr/bin/ruby
<toretore>
ruby -e'puts STDIN.read.split("\x00").grep /TERM/' reads much better to me; no magic
lethe has joined #ruby
<KLVTZ>
they where versions, like ruby1.90 and ruby2.0 in the same bin folder
<dRbiG>
has anybody got across a need for String.wrap? I did... i.e. 'quote me'.wrap('\'')
<eam>
toretore: that slurps the whole file though
<havenwood>
KLVTZ: i'd still be curious what you get under `update-alternatives --config ruby` and `update-alternatives --config gem`
<eam>
toretore: but agreed, perfectly ok way to do it if your input isn't large
<KLVTZ>
you know what, i don't really care why this happend, like i said i just find it odd ubuntu decides to switch versions
doug_ has joined #ruby
<eam>
toretore: I wish ruby IO objects let me set the record separator on a per-object basis
<eam>
I don't think that's possible?
<eam>
(should be!)
<KLVTZ>
havenwood: i don't have ruby installed any longer which will throw an exception as no folder would be found
iamjarvo has quit [Quit: iamjarvo]
<KLVTZ>
havenwood: if i run into this again, i willd def. make a note for you :)
<shevy>
KLVTZ ah ok, this usually comes from debian - only debian likes to version like that
<havenwood>
KLVTZ: you can use `update-alternatives` to select the one you want, or opt out of the system packaged Ruby and go RVM, chruby, rbenv, or even just ruby-install to /usr/local/ if you want one Ruby only.
<segfalt>
I don't really think IO has a responsibility to understand "record separators", eam.
<segfalt>
Sounds like a useful class, though, and one easy to write.
<eam>
segfalt: well how do you think IO#each works?
<shevy>
though I am a bit confused that debian has a ruby1.9 and a ruby2.0 all at the same time...
<segfalt>
True. :(
<KLVTZ>
shevy: yeah it confuses me as well
<toretore>
eam ruby -e'puts STDIN.each("\x00"){|l| break l if l =~ /TERM/ }'
<KLVTZ>
shevy: starting out, its a bit overwhelming but not really since i use ruby for other projects
<shevy>
yeah
<KLVTZ>
im just starting to dive into pure ruby as a side project
<eam>
toretore: neat :)
<havenwood>
shevy: well, it provides a way to switch between them at least
<shevy>
havenwood like RVM!!!
<shevy>
I am on 1.9.x something right now again by the way
dayepa has quit [Ping timeout: 276 seconds]
<havenwood>
shevy: not over 20,000 lines of bash :P
<KLVTZ>
quick question while i have your attention, when i used rvm back in ubuntu 13.04, i remember i had to sudo ever rvm call when install gems
<eam>
toretore: now if only there were a nice macro to remove the repetition of commonly typed sequences for onliners like that!
<KLVTZ>
it had to do with how i installed rvm
<KLVTZ>
that i do know
<havenwood>
shevy: just does one little thing
<KLVTZ>
i wonder how i can combat that next time
acrussell has left #ruby [#ruby]
<KLVTZ>
or actually combat that today xD
<segfalt>
KLVTZ: If you install RVM as a user, that doesn't happen.
<segfalt>
If you install RVM to the system, it does.
<KLVTZ>
so...no sudo?
<havenwood>
KLVTZ: RVM advises to do a user install not a system install.
Shidash has joined #ruby
<havenwood>
KLVTZ: rvm channel in #rvm is helpful
workmad3 has joined #ruby
<segfalt>
KLVTZ: No need for sudo when writing to ~/.gems right?
<toretore>
eam: if it's a one-time thing you're doing in the terminal, that's ok, but if it gets saved to a file..
sinkensabe has quit [Remote host closed the connection]
Ishiro has joined #ruby
luksaur has quit [Quit: travel]
bwarlick has joined #ruby
<bwarlick>
is to_a getting deprecated?
x1337807x has joined #ruby
* bwarlick
slaps xibalba
<Sou|cutter>
I don't think so? where did you get that idea?
<bwarlick>
this crazy guy sitting next to me in my office...
<Sou|cutter>
I'd be interested if he has a source
the_f0ster has quit [Remote host closed the connection]
<ari-_-e>
no, it is not
<ari-_-e>
what would it be replaced with?
horsecowdog has joined #ruby
bean has quit [Quit: bean]
<Sou|cutter>
maybe he's confused because he doesn't understand the difference with to_ary
mjsmith2 has quit [Remote host closed the connection]
BAMbanda has quit [Ping timeout: 265 seconds]
jonathanwallace has quit [Ping timeout: 264 seconds]
nicoulaj has quit [Remote host closed the connection]
rayners has quit [Remote host closed the connection]
Stalkr_ has joined #ruby
Stalkr_ has quit [Changing host]
Stalkr_ has joined #ruby
BAMbanda has joined #ruby
klaut has joined #ruby
jonathanwallace has joined #ruby
nszceta has joined #ruby
rm_ has joined #ruby
sputnik13 has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
<shevy>
no
rm_ has quit [Remote host closed the connection]
<shevy>
I think there were talks about that, or some warnings, a few years ago
<Hanmac>
bwarlick: to_ary means i can be array like, to_a means return an array ... compare it with to_str and to_s
<shevy>
perhaps he is still using 1.8.x though hahaha
rm_ has joined #ruby
NoobNeedHelp has quit [Quit: Page closed]
* xibalba
slaps bwarlick
* xibalba
slaps ozzloy
Xeago has joined #ruby
TeresaP_ has joined #ruby
nszceta has quit [Client Quit]
siflyn has quit []
<TeresaP_>
The Cucumber channel is silent, so I thought I would try over here since we are writing Cucumber code in Ruby. Anyone know if there an easy way to exit immediately (and successfully) from a 'then' statement?
freerobby has joined #ruby
Ishiro has quit [Quit: Computer has gone to sleep.]
horsecowdog has quit [Remote host closed the connection]
rm_ has quit [Ping timeout: 260 seconds]
Shidash has quit [Quit: Leaving.]
Xeago has quit [Ping timeout: 258 seconds]
timfoo has quit [Ping timeout: 260 seconds]
Internetl has joined #ruby
bwarlick has quit [Quit: Page closed]
kpshek has quit []
SCommette has quit [Quit: SCommette]
stephenmac7 has joined #ruby
Internetl has quit [Client Quit]
<stephenmac7>
Is it possible to add an alias to a method?
timfoo has joined #ruby
Internetl has joined #ruby
<xybre>
wat
<xybre>
What are you trying to do?
baweaver has quit [Remote host closed the connection]
<stephenmac7>
Rename select as filter
adac has quit [Quit: Leaving]
Internetl has quit [Killed (idoru (Spam is off topic on freenode.))]
kaspergr_ has joined #ruby
<stephenmac7>
It's a name ingrained in my memory, along with foldl
russt has joined #ruby
yfeldblu_ has joined #ruby
enebo has quit [Quit: enebo]
yfeldblum has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 255 seconds]
russt has quit [Client Quit]
russt has joined #ruby
axl_ has joined #ruby
wldcordeiro has quit [Quit: Leaving]
<axl_>
Hey guys, I have a question about BasicObject
<xybre>
Ah I see. Yeah you can alias methods.
<axl_>
If “BasicObject is the parent class of all classes in Ruby. It's an explicit blank class.” why don’t i get a ‘BasicObject’ returned when i do something like this: https://gist.github.com/gaganawhad/0ef3fd1e56d79dfea03c
<toretore>
why would you?
<jhass>
axl_: the class of a class is Class and Class is a Class too
<toretore>
thikn about what your code is doing
<gr33n7007h>
axl_, superclass
TorpedoSkyline has joined #ruby
frobrob has joined #ruby
<axl_>
I am guessing that all classes should somehow inherit from ObjectClass
<axl_>
so at somepiont i should be able to reach it calling the ‘.class’ method s/
einarj has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
freerobby has quit [Quit: Leaving.]
alexju has joined #ruby
jheg_ has quit [Ping timeout: 264 seconds]
reactormonk has joined #ruby
kaspergr_ has quit [Ping timeout: 264 seconds]
robertodecurnex has quit [Remote host closed the connection]
xiq has quit [Remote host closed the connection]
Maple__ has quit [Quit: bbl]
SCommette has joined #ruby
Maple__ has joined #ruby
jhass is now known as jhass|off
renderful has joined #ruby
b1205 has quit [Ping timeout: 276 seconds]
rm_ has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
sailias has quit [Quit: Leaving.]
alexju has quit [Remote host closed the connection]
SCommette has quit [Client Quit]
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
claymore has quit [Quit: Leaving]
clodeindustrie has quit [Ping timeout: 252 seconds]
dingus_khan has joined #ruby
top4o has joined #ruby
arrubin has quit []
saarinen has quit [Read error: Connection reset by peer]
robclancy has joined #ruby
saarinen has joined #ruby
rm_ has quit [Ping timeout: 252 seconds]
klaut has quit [Remote host closed the connection]
Prawnzy has joined #ruby
tkuchiki has joined #ruby
timonv has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
dingus_khan has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
jack_rabbit has joined #ruby
klaut has joined #ruby
tkuchiki has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 252 seconds]
bean has joined #ruby
Sarco has joined #ruby
dingus_khan has joined #ruby
bean has quit [Client Quit]
GriffinHeart has quit [Ping timeout: 260 seconds]
saarinen has quit [Quit: saarinen]
sriehl has joined #ruby
justin2016 has joined #ruby
reset has quit [Quit: Leaving...]
reset has joined #ruby
toastynerd has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
russt has quit [Quit: russt]
diegoviola has quit [Remote host closed the connection]
Ishiro has quit [Quit: Computer has gone to sleep.]
Ishiro has joined #ruby
robbo__ has joined #ruby
jack_rabbit has quit [Ping timeout: 276 seconds]
<Sarco>
Hello, I am doing the Ruby on rails tutorial here: http://www.railstutorial.org/book/static_pages and as you can see I am in the third chapter. I copy/pasted the listing of 3.1 in my Gemfile and tried to run 'bundle install --without production' resulting in the following error: http://paste.pound-python.org/show/3zcOoGMEdQLrUyhf0txT/ Then I ran 'bundle update' and everything went smooth but as you can see in the tutorial right above the listing
<Sarco>
of 3.1 I should have a file called secret_token.rb in /config/initializers/ and not a secret.yml which I found in /config/. I checked the version with rails -v and it says rails 4.0.5, what am I doing wrong here?
Prawnzy has quit [Read error: Connection reset by peer]
Prawnzy has joined #ruby
reset has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Remote host closed the connection]
robclancy has quit [Ping timeout: 252 seconds]
Nahra has quit [Remote host closed the connection]
Nahra has joined #ruby
einarj has joined #ruby
doug_ is now known as dgarstang
jeregrine_ has quit [Quit: Connection closed for inactivity]
Ishiro has quit [Quit: Computer has gone to sleep.]
<Sarco>
I will try turning it off and on again thank you
b1205 has joined #ruby
justin2016 has quit [Quit: Leaving...]
Sarco has quit [Remote host closed the connection]
j_mcnally has quit [Ping timeout: 260 seconds]
einarj has quit [Ping timeout: 240 seconds]
Sarco has joined #ruby
duncannz has joined #ruby
yfeldblum has joined #ruby
arrubin has joined #ruby
kilk_ has quit [Ping timeout: 265 seconds]
terrellt has quit [Remote host closed the connection]
rm_ has joined #ruby
terrellt has joined #ruby
TeresaP_ has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
bean has joined #ruby
terrell_t has joined #ruby
meatherly has quit [Remote host closed the connection]
^conner has joined #ruby
terrellt has quit [Ping timeout: 255 seconds]
benlieb has quit [Quit: benlieb]
angusiguess has joined #ruby
<^conner>
I want to do some mock filesystem testing with a bunch of fixture data (in the mocked filesystem). Does anyone know of a pre-existing gem that's something like fakefs + loading fixture data for you?
Rollabunna has quit [Ping timeout: 240 seconds]
northfurr has joined #ruby
robbo__ has quit [Read error: Connection reset by peer]
axl_ has quit [Quit: axl_]
alem0lars has joined #ruby
terrell_t has quit [Ping timeout: 252 seconds]
robbo__ has joined #ruby
axl_ has joined #ruby
Prawnzy has quit [Ping timeout: 264 seconds]
brasten has quit [Quit: brasten]
alem0lars has quit [Client Quit]
rm_ has quit [Ping timeout: 260 seconds]
jonathanwallace has quit [Quit: ZNC - http://znc.in]
cearls_ has quit [Ping timeout: 264 seconds]
klaut has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 260 seconds]
dangerou_ has quit [Ping timeout: 252 seconds]
klaut has joined #ruby
axl_ has quit [Client Quit]
axl_ has joined #ruby
tris has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby
shinobi_one has joined #ruby
x1337807x has quit [Ping timeout: 252 seconds]
snath has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Remote host closed the connection]
duncannz has quit [Remote host closed the connection]
Sarco has quit [Remote host closed the connection]