<ellisTAA>
senjai: we cant seem to see things the same so let’s just end teh discussion
<Senjai>
Thank you, we can bring #ruby back to ruby discussion :)
lanemeyer has joined #ruby
juanpablo_ has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sevvie>
baweaver, ooh, there's a nice thread.
devbug has quit [Ping timeout: 244 seconds]
<baweaver>
baweaver == lemur
<shevy>
beaver!
<sevvie>
In which case, thank you lemur. ^^
zacts has joined #ruby
charliesome has quit [Quit: zzz]
<baweaver>
shevy: you know, they've taken to calling me that at work now.
<shevy>
haha
juanpaucar has quit [Remote host closed the connection]
uptownhr has joined #ruby
Spooner has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bonhoeffer has quit [Client Quit]
zachrab has joined #ruby
<baweaver>
speaking of work, I might finally have options to opensource some stuff.
charliesome has joined #ruby
<baweaver>
which will be huge as soon as that clears.
<Cadillactica>
Question: I like to use #tap like this: http://pastebin.com/sApecUMX. #tap returns the original object, and I like it because you can skip the 1) Empty variable declaration and 2) Returning that variable at the end of the method. For a situation like this: http://pastebin.com/2zTBf1Ae what’s a similar approach? Can’t use #tap because Int is never modified (would return 0)
<baweaver>
considering (I'm fairly sure) we're one of the few major bay area companies not to
<mikecmpbll>
baweaver: nice.
danmanstx has joined #ruby
juanpablo_ has quit [Ping timeout: 246 seconds]
<baweaver>
Cadillactica:
uri_ has joined #ruby
<danmanstx>
anyone have any experience with phusion's traveling ruby to package a ruby app?
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<paradisaeidae>
How does gem know to constitute a valid gem? Look in where/dirs. Is there something like slocate in gems?
mkaesz has quit [Ping timeout: 264 seconds]
neoxoen has quit [Read error: Connection reset by peer]
<paradisaeidae>
I have moved gems from one dir to another, respective sub-dirs... (cache, doc, gem...)...
<paradisaeidae>
But gems does not see the moved gem.
nahtnam has quit [Quit: Connection closed for inactivity]
towski_ has joined #ruby
Soliah has joined #ruby
<shevy>
paradisaeidae "gem env"
<shevy>
cache/ is just a backup as far as I know
<shevy>
some step during "gem install" must register it
<TheNet>
what's the best way to get the iteration of a loop? I know i = 0; loop do; i += 1 end is pretty common but is there a shorty way that doesn't involve predefining i?
<paradisaeidae>
yep, that's a clue...
juanpaucar has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
<sevenseacat>
thats not common in ruby at all
<sevenseacat>
in my experience
graydot has joined #ruby
<TheNet>
sevenseacat: what is then?
graydot has quit [Client Quit]
<sevenseacat>
iterating over a collection with something like each, and then using each_with_index if you need the index
<mozzarella>
what's better, each.with_index or each_with_index?
juanpaucar has quit [Ping timeout: 240 seconds]
<sevenseacat>
i dont think the former exists
<TheNet>
sevenseacat: that's a good point, but what if you want to loop infinitely
<braxtonplaxco>
so has anyone tried functional programming in ruby?
<braxtonplaxco>
I know it's a REALLY object oriented language but I was thinking about exploring some of the functional constructs in ruby
juanpaucar has quit [Ping timeout: 250 seconds]
<braxtonplaxco>
in the places where it makes sense of course... there are certian things that would just be a little odd to try to map to a functional structure
arup_r has quit []
Pupeno_ has quit [Read error: Connection reset by peer]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gregf_>
lambda is also the same like so f = ->(arr) { p arr
<gregf_>
bah :/
<gregf_>
f = ->(arr) { p arr }; f.call([1,2,3]);
Morkel has joined #ruby
svoop has joined #ruby
aghalarp has joined #ruby
<mozzarella>
davzie: they differ in how they handle the return keyboard and whether you can omit arguments or not
<mozzarella>
return keyword*
kalusn has joined #ruby
piotrj has joined #ruby
RegulationD has joined #ruby
strixd has joined #ruby
jonr22 has joined #ruby
<certainty>
if i have the choice i always go for lambdas. Less surprises for me
livathinos has joined #ruby
<gregf_>
well, there has to be some difference else there would'nt have been a need for both :/
The_Phoenix has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
Zai00 has joined #ruby
Macaveli has joined #ruby
einarj has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
Renich has quit [Quit: leaving]
msgodf has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
ferr has quit [Ping timeout: 246 seconds]
<davzie>
Lambdas force a return from the parent method?
<davzie>
And explicitely require any arguments that you specify?
<avril14th>
morning
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
joonty has joined #ruby
<gregf_>
davzie: that seems to be quite true
<gregf_>
run these 2: p = proc { |val| print val };p.call() && p = lambda { |val| print val };p.call()
<gregf_>
in know in python a lambda has_to return an expression
dumdedum has joined #ruby
jlast has joined #ruby
<Fluent>
Actually Ruby is known two have two methods that do the exact same thing.
<Fluent>
Such as size and length
<gregf_>
s/^in/i/
<gregf_>
Fluent: true, too many redundant methods :/
piotrj has quit [Remote host closed the connection]
<crome>
there are some countries in africa where people don't even have one method
<crome>
let alone too many
<davzie>
I don't know how to respond to that.
<crome>
I think it was a good response
<davzie>
:D
jlast has quit [Ping timeout: 250 seconds]
hs366 has joined #ruby
dumdedum has quit [Ping timeout: 252 seconds]
Megtastique has quit []
EasyCo has quit [Quit: Connection closed for inactivity]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Rollabunna has joined #ruby
serivich has joined #ruby
<Fluent>
That's the beauty of the Internet. Everyone has equal right to methods. Actually, never mind... Some people have strict governments and the like.
<Fluent>
Places like China.
Thubo has joined #ruby
<davzie>
Or the UK at this rate.
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<Thubo>
I'm trying to send a http request to a specific port, i.e. 'curl host.example.com:1234'; however Net:HTTP.new("host.example.com, 1234") give me an undefined method '[]' error. Any ideas? I'm only a beginner to ruby. but to docs of net/http don't help...
ferr has joined #ruby
turtil has joined #ruby
Takle has joined #ruby
<Fluent>
I typically use Mechanize for my web requests in Ruby.
fabrice31_ has joined #ruby
commmmodo has joined #ruby
phansch has joined #ruby
last_staff has joined #ruby
chthon has joined #ruby
mikecmpbll has joined #ruby
<Thubo>
I will have a look at that. I'm only trying to parse some json reponse of a rest api, butsome how the port different from 80/443 makes it difficult ;)
<avril14th>
Thubo: gist?
Hobogrammer has quit [Ping timeout: 265 seconds]
<Fluent>
I think you have to set verify_mode for SSL if you are not using HTTP
fabrice31 has quit [Ping timeout: 265 seconds]
chrishough has quit [Remote host closed the connection]
<Fluent>
Oh, never mind. It's not using 443 or 80. I see.
commmmodo has quit [Ping timeout: 265 seconds]
<Thubo>
I will write a short snippet, gimme a sec :) Thanks for help so far :)
<Thubo>
Fluent: I've updated the gist to the 'full' version of the script. This way it works if accessing a http://www.domain.com of https://www.domain.com - sorry for the confusion: Creating the snipped messed thinkgs up
<avril14th>
Thubo: so no problem anymore
<avril14th>
?
oleo__ has joined #ruby
<Thubo>
As soon, as I try to access host.domain.com:7990 it does not anymore
mkaesz has joined #ruby
oo_ has quit [Remote host closed the connection]
aswen has joined #ruby
Qladston_ is now known as Qladstone_
oo_ has joined #ruby
<Qladstone>
test
<apeiros_>
Qladstone: test failed. please reboot your computer.
Qladstone has quit [Quit: Page closed]
Qladstone_ is now known as Qladstone
ferr has quit [Quit: WeeChat 1.1.1]
davedev24_ has joined #ruby
nfk has joined #ruby
Musashi007 has joined #ruby
lkba_ has quit [Ping timeout: 244 seconds]
Zimsky- has quit [Ping timeout: 252 seconds]
m8 has joined #ruby
jlast has joined #ruby
Zimsky- has joined #ruby
serivich has quit [Ping timeout: 240 seconds]
marr has joined #ruby
ferr has joined #ruby
larsam has joined #ruby
Musashi007 has quit [Quit: Musashi007]
davedev24_ has quit [Remote host closed the connection]
ferr has quit [Client Quit]
jlast has quit [Ping timeout: 250 seconds]
leafybasil has quit [Remote host closed the connection]
kerrick__ has quit [Ping timeout: 252 seconds]
the1freeman has joined #ruby
selu has joined #ruby
<Qladstone>
okay
<Qladstone>
'P
<Qladstone>
test
jespada has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
svoop has quit [Read error: Connection reset by peer]
ferr has joined #ruby
ponga has quit [Remote host closed the connection]
psyprus has quit [Read error: Connection reset by peer]
hanmac has quit [Quit: Leaving.]
ayaz has joined #ruby
tesuji has joined #ruby
MrSamuel has joined #ruby
DEA7TH has joined #ruby
rodfersou has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
zachrab has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djellemah_ has joined #ruby
rbennacer has joined #ruby
ferr has quit [Quit: WeeChat 1.1.1]
ferr has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
psyprus has joined #ruby
PEMapModder has joined #ruby
prabeshshrestha has joined #ruby
PEMapModder has left #ruby ["Ragequitted! (or maybe other reasons)"]
nii236 has quit [Quit: leaving]
zachrab has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
AlienPickle has joined #ruby
juanpablo_ has joined #ruby
rodfersou has quit [Quit: leaving]
vtunka has quit [Quit: Leaving]
rodfersou has joined #ruby
roshanavand has joined #ruby
ghr has joined #ruby
aghalarp has joined #ruby
juanpablo_ has quit [Ping timeout: 256 seconds]
allenn has quit [Remote host closed the connection]
mroach has joined #ruby
mroach has quit [Client Quit]
allenn has joined #ruby
senayar has quit [Remote host closed the connection]
Ethan has quit [Ping timeout: 245 seconds]
SOLDIERz_ has joined #ruby
lordkryss has joined #ruby
eval-in__ has quit [Remote host closed the connection]
eval-in has joined #ruby
piotrj has joined #ruby
livathin_ has joined #ruby
withnale_ has joined #ruby
RegulationD has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
senayar has joined #ruby
<withnale_>
Anyone got a one liner that checks whether a directory is a subdirectory of a given base directory?
KC9YDN has joined #ruby
<apeiros_>
withnale_: need to resolve symlinks?
<canton7>
sample input? I'm not sure exactly which directories are full paths, etc, in your description
jonr22 has joined #ruby
<withnale_>
No to symlinks - I could use expandpath to deal with those but I don't think it's required.
SOLDIERz_ has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
piotrj has quit [Ping timeout: 240 seconds]
<withnale_>
I was thinking of using Pathname.relative_path_from, and seeing whether the first item in path is .., but that seems a bit unwieldy
livathinos has quit [Ping timeout: 244 seconds]
piotrj_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
<withnale_>
Maybe children.include?
RegulationD has quit [Ping timeout: 246 seconds]
<canton7>
so are sample inputs "foo/bar/baz" and "/home/you/somebardir/" ?
nettoweb has joined #ruby
<canton7>
and you want to see whether "/home/you/somebasedir/foo/bar/baz" exists? Or...?
sandelius has joined #ruby
<withnale_>
I'm getting Dir.pwd and I want to know if I am below BASE='/var/tmp' or whatever.
sudog has joined #ruby
<withnale_>
I'm thinking Pathname.new(BASE).children.include? Dir.pwd - is there a cleaner way?
<canton7>
ok, so whether Dir.pwd.start_with?(BASE) ?
zacts has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
SOLDIERz_ has joined #ruby
<withnale_>
I was kinda trying to avoid direct string comparisions, altho I guess if I wrapped them with expand_path it would be fine.
razieliyo has joined #ruby
piotrj has joined #ruby
jlast has joined #ruby
piotrj__ has joined #ruby
piotrj_ has quit [Ping timeout: 256 seconds]
piotrj has quit [Ping timeout: 252 seconds]
yellowgh0st has joined #ruby
ldnunes has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 265 seconds]
oo_ has quit [Remote host closed the connection]
vtunka has joined #ruby
piotrj__ has quit []
Pupeno has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
reinaldob has joined #ruby
Soda has quit [Remote host closed the connection]
mistermocha has joined #ruby
hgl has quit [Read error: Connection reset by peer]
<gregf_>
withnale_: you seem to be asking a question and providing your own answer :/
oo_ has quit [Remote host closed the connection]
<gregf_>
canton7 has been trying to help you but you dont even seem to consider the suggestions :/
oo_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
ajaiswal has quit [Quit: Leaving]
hgl has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
serivich has joined #ruby
DaniG2k has joined #ruby
<DaniG2k>
hey guys I'm writing a little test that just does a simple get to a page and checks the title
<DaniG2k>
the path is contact_messages_path
<DaniG2k>
and I have get :contact_messages
<DaniG2k>
but I'm getting an error
<DaniG2k>
am I doing this incorrectly?
<DaniG2k>
oops, wrong channel :\
sameerynho has joined #ruby
Cyberheb has joined #ruby
ponga has joined #ruby
mkaesz has quit [Read error: No route to host]
lxsameer_ has quit [Ping timeout: 246 seconds]
lolmaus has quit [Ping timeout: 240 seconds]
mkaesz has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_Andres has joined #ruby
<withnale_>
gregf_: yeah. Just trying to make the most readable form. Always the way in ruby - lots of different ways to skin it.
juanpaucar has joined #ruby
lxsameer_ has joined #ruby
ponga has quit [Ping timeout: 244 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
sameerynho has quit [Ping timeout: 250 seconds]
hanmac has joined #ruby
paradoja has joined #ruby
davedev24_ has joined #ruby
juanpaucar has quit [Ping timeout: 250 seconds]
commmmodo has joined #ruby
Cust0sL1men has quit [Ping timeout: 246 seconds]
sameerynho has joined #ruby
lolmaus has joined #ruby
Nuck has quit [Quit: Computer has gone to sleep.]
n1lo has joined #ruby
lxsameer_ has quit [Ping timeout: 264 seconds]
turtil has quit [Quit: WeeChat 1.1.1]
MrSamuel has quit [Ping timeout: 246 seconds]
fabrice31_ has quit [Remote host closed the connection]
commmmodo has quit [Ping timeout: 252 seconds]
AlienPickle has quit [Ping timeout: 250 seconds]
Guest123 has joined #ruby
rfi has quit [Ping timeout: 246 seconds]
quazimodo has quit [Ping timeout: 256 seconds]
last_staff has quit [Remote host closed the connection]
rdark has joined #ruby
oo_ has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
Cust0sL1men has joined #ruby
Soda has joined #ruby
rfi has joined #ruby
fabrice31 has joined #ruby
prabeshshrestha has quit [Remote host closed the connection]
decoponio has joined #ruby
<ferr>
Is there any way to refactor this gsub? @message = Nokogiri::HTML(@emails.body.to_s).text.gsub('=\n', '').gsub('\n', ' ')
shredding has quit [Quit: shredding]
last_staff has joined #ruby
last_staff has quit [Client Quit]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
shredding has joined #ruby
Pharaoh2 has joined #ruby
roolo has joined #ruby
iwishiwerearobot has quit [Ping timeout: 255 seconds]
jlast has joined #ruby
quazimodo has joined #ruby
the1freeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby
oo_ has joined #ruby
<mozzarella>
ferr: if you had gsub('\n', '') instead of gsub('\n', ' '), you could
the1freeman has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
<apeiros>
ferr: I don't think it's an improvement, but: .gsub(/=?\\n/, '=\n' => '', '\\n' => ' ')
<apeiros>
ferr: also - you're aware that '\n' is "\\n", right?
yellowgh0st has joined #ruby
krandi has quit [Remote host closed the connection]
<ineb>
since ruby 1.9.2 somethink like this is possible: 'foobar'.gsub(Regexp.union(/foo/, /bar/), 'foo' => 'baz', 'bar' => 'qux')
joonty has quit [Quit: joonty]
<ineb>
one regexp to match and a hash as 2nd parameter
<ineb>
also, @emails.body.to_s.strip could solve your problem. i dont know
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
I just noticed that one local university here, has webmail, and I saw a php error... so they have some custom-built php software they use internally
<shevy>
and I was wondering "why can't they use ruby instead!!!"
iamninja has quit [Client Quit]
<workmad3>
shevy: because they suck? :)
<Fluent>
They can. But they are not cool enough for Ruby.
triple_b has joined #ruby
bruno- has quit [Quit: Lost terminal]
<bootstrappm>
Ruby is intimidating to PHP devs I've learned
sent1nel has quit [Remote host closed the connection]
<bootstrappm>
this coming from somebody that does both every day
<Fluent>
Lol @ intimidating
<shevy>
workmad3 I think they kind of bought some software solution about 10 years ago or so, and probably the same company is still engaged in maintaining all the custom stuff
<shevy>
but that custom stuff... it often does not work
Tingo1983 has joined #ruby
<Fluent>
The language you choose does not fix poor design.
senayar has joined #ruby
<shevy>
hehe
<Fluent>
Well, with some minor exceptions
aclearman037 has joined #ruby
<shevy>
the rails site is actually the best from a usability point of view and also the cleanest one :)
<shevy>
the custom variant uses some weird javascript
agrinb has joined #ruby
<shevy>
I am connected... then I try to register for something... suddenly I get randomly logged out
<Fluent>
Are you using a dynamic IP?
<Fluent>
Sometimes that will conflict with things.
IrishGringo has joined #ruby
joonty has joined #ruby
bigmac has quit [Quit: Leaving]
seal has quit [Quit: Ex-Chat]
<shevy>
Fluent hmm I think so but I did not have the problem a few months ago
thumpba has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
<bootstrappm>
shevy you're in Austria? (checked the TLD)
<shevy>
yeah
<Fluent>
Rails sort of forces good design in a way. Well, better design than most. It's also nice because languages like PHP have a lot of choices of different CMS, and that can be struggling for devs to have to learn a whole new CMS, instead of there being one like in Ruby
oo_ has joined #ruby
patrick99e99 has joined #ruby
<bootstrappm>
^ my favorite thing about the Ruby world
<bootstrappm>
ppl tend to agree on what to use
<Fluent>
It's more centralized than other languages, imo.
DrShoggoth has joined #ruby
<workmad3>
there's also a nice acceptance of re-implementing if necessary (a lot of language communities seem, to me, to impose the idea that you should just suck it up if something doesn't quite fit what you want)
oo_ has quit [Remote host closed the connection]
iamninja has joined #ruby
amystephen has quit [Ping timeout: 264 seconds]
<tagrudev>
or suck it down
northfurr has quit [Quit: northfurr]
danmanstx has joined #ruby
<shevy>
well rewriting can be costly
<shevy>
and offering all features of some big project is quite a lot of work
aapole has quit [Ping timeout: 244 seconds]
tunaCanBruh has joined #ruby
rubytor has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
jerius has joined #ruby
penzur has joined #ruby
Tingo1983 has quit [Read error: Connection reset by peer]
delianides has quit [Remote host closed the connection]
Kricir has joined #ruby
joonty has quit [Quit: joonty]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mhenrixon|afk is now known as mhenrixon
fryguy91 has joined #ruby
agarie has quit [Remote host closed the connection]
sieve has quit [Quit: Leaving.]
aclearman037 has joined #ruby
fryguy91 has quit [Read error: Connection reset by peer]
fryguy9 has quit [Ping timeout: 246 seconds]
fryguy91 has joined #ruby
iamninja has quit [Quit: WeeChat 1.1.1]
delianides has joined #ruby
senayar has quit [Remote host closed the connection]
mkaesz has joined #ruby
veinofstars has joined #ruby
vtunka has quit [Quit: Leaving]
tjohnson has joined #ruby
kp666 has quit [Quit: Leaving]
senayar_ has joined #ruby
lkba has joined #ruby
sieve has joined #ruby
sieve has quit [Max SendQ exceeded]
dEPy has quit [Quit: (null)]
the1freeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
lampd1 has joined #ruby
blizzy has joined #ruby
snath has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 265 seconds]
zachrab has joined #ruby
iamninja has joined #ruby
jimms has joined #ruby
tagrudev has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
jobewan has joined #ruby
livathinos has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
vathana has joined #ruby
fenak has quit [Quit: leaving]
frobs has joined #ruby
skj3gg has joined #ruby
apurcell has joined #ruby
joonty has joined #ruby
sigurding has quit [Quit: sigurding]
chthon has joined #ruby
sigurding has joined #ruby
zachrab has quit [Ping timeout: 264 seconds]
Kricir has joined #ruby
hs366 has quit [Read error: Connection reset by peer]
senayar_ has quit [Remote host closed the connection]
joonty has quit [Client Quit]
AlienPickle has joined #ruby
apurcell has quit [Ping timeout: 265 seconds]
<frobs>
hi all, i am writing a learning app to download repositories from git, i am using this gem to clone the repo https://github.com/schacon/ruby-git but is so slow, i don' know if i am doing anything worse...anyone has experience with this gem and clone method? i am tested the clone with ssh and https url's
vtunka has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
IrishGringo has joined #ruby
Rollabunna has quit [Remote host closed the connection]
vathana has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
Rollabunna has joined #ruby
Cyberheb has quit [Quit: Computer has gone to sleep.]
<whatisclub>
ok i have a question about MVC architecture
fryguy91 has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
jimms has quit [Remote host closed the connection]
crueber has joined #ruby
emba has quit []
aclearman037 has joined #ruby
bal1 has quit [Quit: bal1]
agarie has joined #ruby
elaptics_away is now known as elaptics
zenith_ has joined #ruby
jherbst has joined #ruby
sent1nel has joined #ruby
agarie_ has joined #ruby
Dopagod has joined #ruby
agarie has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
thiagovsk has joined #ruby
cpt_yossarian has joined #ruby
bootstrappm has joined #ruby
olivier_bK has joined #ruby
sambao21 has joined #ruby
iamninja_ has joined #ruby
AlienPickle has joined #ruby
senayar_ has joined #ruby
nettoweb has quit [Ping timeout: 245 seconds]
agrinb has quit [Remote host closed the connection]
iamninja_ has quit [Client Quit]
agrinb has joined #ruby
zenith_ has quit [Ping timeout: 255 seconds]
senayar_ has quit [Read error: Connection reset by peer]
Sirupsen has joined #ruby
senayar_ has joined #ruby
lampd1 has quit []
vtunka has quit [Quit: Leaving]
VBlizzard has joined #ruby
circ-user-XgK6t has joined #ruby
senayar has quit [Ping timeout: 244 seconds]
livathinos has quit [Ping timeout: 246 seconds]
blizzy is now known as Guest45595
Guest45595 has quit [Killed (weber.freenode.net (Nickname regained by services))]
VBlizzard is now known as blizzy
cajone has quit [Remote host closed the connection]
AlienPickle has quit [Ping timeout: 246 seconds]
bogdanteleaga has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
whatisclub has left #ruby [#ruby]
agrinb has quit [Ping timeout: 265 seconds]
aganov has quit [Remote host closed the connection]
agrinb has joined #ruby
neoxquick has quit [Read error: Connection reset by peer]
x77686d has joined #ruby
paulfm has quit [Remote host closed the connection]
jespada has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
cajone has joined #ruby
delianides has quit [Remote host closed the connection]
AlexRussia has quit [Quit: WeeChat 1.2-dev]
dfinninger has quit [Remote host closed the connection]
jespada has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SOLDIERz_ has quit [Quit: Be back later ...]
gilmour has quit [Remote host closed the connection]
_maes_ has joined #ruby
penzur has quit [Quit: Leaving]
Qladston_ has joined #ruby
Qladstone has quit [Ping timeout: 245 seconds]
aclearman037 has joined #ruby
roolo has quit [Quit: Leaving...]
mkaesz has quit [Quit: Leaving...]
Qladston_ is now known as Qladstone
agarie_ has quit [Remote host closed the connection]
karmatr0n has joined #ruby
AugustoC has quit [Quit: Connection closed for inactivity]
gilmour has joined #ruby
gheegh has joined #ruby
yxejamir has quit [Ping timeout: 250 seconds]
circ-user-XgK6t has quit [Remote host closed the connection]
fumk has quit [Quit: changing servers]
fumk has joined #ruby
jimms has joined #ruby
havenwood has joined #ruby
sent1nel_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
agarie has joined #ruby
jheg has quit [Remote host closed the connection]
aapole has quit [Ping timeout: 250 seconds]
amacou has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willharrison has joined #ruby
thebastl has joined #ruby
sent1nel has quit [Ping timeout: 240 seconds]
Qladstone has quit []
elaptics is now known as elaptics_away
maletor has joined #ruby
mitchellhenke has joined #ruby
rbennacer has joined #ruby
senayar_ has quit [Read error: Connection reset by peer]
senayar has joined #ruby
withnale_ has quit [Ping timeout: 264 seconds]
sent1nel_ has quit [Read error: Connection reset by peer]
Kricir has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 245 seconds]
sent1nel has joined #ruby
Kricir has joined #ruby
gheegh has quit [Read error: No route to host]
rbennacer has quit [Ping timeout: 245 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allenn has quit [Remote host closed the connection]
chrishough has joined #ruby
riotjones has quit [Remote host closed the connection]
Parker0 has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
hamakn has joined #ruby
pygospa has quit [Ping timeout: 252 seconds]
Pumukel is now known as Pumukel_office|a
sent1nel has quit [Ping timeout: 244 seconds]
mikepack has joined #ruby
codeurge has joined #ruby
bMalum has joined #ruby
shredding has quit [Quit: shredding]
cajone has quit [Remote host closed the connection]
olivier_bK has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
rom1504 has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
<rom1504>
hi, anybody knows the backup gem ? say I already have a .tar and I don't need the tool to make a tar of a tar, how can I tell it to just use the existing tar ?
<shevy>
they say that the image-based VM modifications made it hard to fit into the *nix world
<canton7>
what are rust's offputting politics? first time I've heard someone say that
<shevy>
"When you modified a method ENVY would capture that modification in its database as an edit. SVN/Git/etc only capture the 'final' commit, but ENVY was capturing each iteration the developer performed during development, without any extra intervention/action required by the developer."
<shevy>
if this would only be possible for the whole OS!
<wasamasa>
canton7: tl;dr: someone invested a great deal of time to make it more technically sound and pretty much all of that got rejected in private conversations for no real reason
Advocation has joined #ruby
markfletcher has quit [Quit: markfletcher]
<ponga>
shevy: do you still have your chatbot project
<mikecmpbll>
i'll be taking a look at Rust when i find the time.
<mikecmpbll>
it appeals to me the most from the "other languages" ;)
elaptics_away is now known as elaptics
<wasamasa>
canton7: so, thanks to that it's a slightly better C++
<wasamasa>
canton7: which isn't worth it for me
dANO has quit []
<canton7>
I'm going to reserve judgement for now
<canton7>
I've seen many for, one against
Takle has quit [Remote host closed the connection]
<wasamasa>
yeah, that's totally fine
<ponga>
will i ever comprehend sql
<shevy>
ponga hmm you mean an IRC bot? yeah... but I am not motivated... https://rubygems.org/gems/talk_in_irc_channel this was supposed to serve as it's base but it is incomplete, buggy, lacks features, lacks ssl-connection and I am just not that motivated to want to do anything more with it. just like apeiros abandoned his IRC bot called butler :-) https://rubygems.org/gems/butler
<wasamasa>
after all, mozilla is still going on making a browser with it
<ponga>
this query stuff is too much boggle to me
<canton7>
and I've seen lots of people who claim "I was rejected/kicked/whatever without explanation", when in fact they were being a disruptive unhelpful dick. Not saying this guy is by any means, but every story has two sides
<shevy>
Microsoft says this: "Python has become the number one language of choice for developers."
nolic has joined #ruby
<shevy>
so perhaps you should learn python :D
fabrice31 has joined #ruby
zenith_ has joined #ruby
psy_ has joined #ruby
riotjones has joined #ruby
<wasamasa>
shevy: but that's only true for the context
<havenwood>
Crystal-lang ftw?
andikr has quit [Remote host closed the connection]
<wasamasa>
shevy: which is having a boatload of libraries for scientific computing and analysis
<ponga>
shevy: i don't really care what others are on for popularity
<shevy>
wasamasa well imagine what happens when mozilla is gone
<shevy>
then it is ... chrome vs. konqueror!!!
<wasamasa>
lol
frank_____ has joined #ruby
<wasamasa>
well, then it's endgame
<wasamasa>
so I can't really blame mozilla for doing all these ewwy things lately
<shevy>
ok opera is also there... it's not pretty but works ok-ish
<wasamasa>
opera is using webkit?
blindsight has quit [Ping timeout: 245 seconds]
jsaak has quit [Ping timeout: 245 seconds]
rdark has quit [Ping timeout: 240 seconds]
<havenwood>
wasamasa: yeah, they do now
mikecmpbll has quit [Ping timeout: 246 seconds]
pdoherty has joined #ruby
<shevy>
cool
<wasamasa>
so, opera isn't a contender
<ponga>
shevy: i mean like.. if i were to store 1000 words for a bot, what would i use, dictionary? sql?
<ponga>
or what else
<wasamasa>
same story for safari IIRC
spicerack2 has joined #ruby
<shevy>
ponga if it's just 1000 words, just put it into a yaml file
<wasamasa>
so, what else is left asides from text browsers
<shevy>
ponga you can translat from the yaml file to SQL easily lateron too I guess
lemur has quit [Remote host closed the connection]
ldnunes has quit [Ping timeout: 252 seconds]
<ponga>
oh
rdark has joined #ruby
<ponga>
you can?
jsaak has joined #ruby
<ponga>
let me research out
Nuck has joined #ruby
commmmodo has joined #ruby
<havenwood>
Crystal-lang, Truffle, LLVM JIT in Ruby 3... The future looks bright.
__chris has joined #ruby
lemur has joined #ruby
Takle has joined #ruby
<shevy>
yeah. I remember at work I once had to download the NCBI taxonomy database... then populate postgresql with it... we had a big cluster, it still took 30 minutes, but once it was in the database, it was super fast to query anything from it
<havenwood>
1.9 is dead, long live 3.0!
<__chris>
howdy. Is there a ternary similar to PHP's ?:
<ponga>
the problem is i would never understand sql query
* ponga
cries
<havenwood>
__chris: Yes, Ruby has the ternary operator.
<ponga>
what the
<ponga>
havenwood: isn't truffle part of Jruby? ruby 3 includes truffle?
<__chris>
hi havenwood long time
fabrice31 has quit [Ping timeout: 240 seconds]
riotjones has quit [Ping timeout: 245 seconds]
<__chris>
havenwood, I'm specfically talking about ?:
mikepack has quit [Remote host closed the connection]
<__chris>
In PHP we can assign conditionally
<shevy>
what is ?: doing?
speaking1ode has joined #ruby
<havenwood>
ponga: Truffle on GraalVM is a new option with JRuby 9.0.0.0, which is pre-release. The proposed LLVM JIT is supposedly ready to land with Ruby 2.3 but they want to wait to lang it with breaking changes so there's not a Python 2/3 situation.
<havenwood>
So Ruby 3.0.
<shevy>
hmm I guess you must use = for assignment in ruby, or use some method-call
jimms has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
ponga has quit [Remote host closed the connection]
Sirupsen has joined #ruby
jenrzzz has joined #ruby
mleung has joined #ruby
bootstrappm_ has joined #ruby
hamakn has quit [Ping timeout: 255 seconds]
bootstrappm has quit [Ping timeout: 252 seconds]
sieve has quit [Quit: Leaving.]
zachrab has quit [Ping timeout: 246 seconds]
fryguy9 has quit [Quit: Leaving.]
centrx has quit [Quit: Shutting down, Please wait...]
arup_r has joined #ruby
Crisix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdark has quit [Quit: leaving]
svoop has joined #ruby
crack_user has joined #ruby
uri__ has joined #ruby
soulcake has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
sambao21 has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
mikepack has quit [Remote host closed the connection]
ziyadb has joined #ruby
mikepack has joined #ruby
mwlang has joined #ruby
hcnewsom has joined #ruby
uri___ has joined #ruby
<mwlang>
Any idea why when I run a Sinatra app with foreman, my sprinkled logger calls log nothing, but when I run via “ruby app.rb” or rackup, I see the logged info as expected?
uri__ has quit [Read error: Connection reset by peer]
<mwlang>
FWIW, I’m using classic, non-modular style coding on a really simple Sinatra app.
AlexRussia has joined #ruby
danmanstx has quit []
soulcake has joined #ruby
hcnewsom has quit [Client Quit]
hcnewsom has joined #ruby
<bootstrappm_>
your sprinkled logger calls log nothing?
<bootstrappm_>
is 'sprinkled logger' a thing?
djbkd has joined #ruby
wldcordeiro has quit [Ping timeout: 252 seconds]
agarie has quit [Remote host closed the connection]
fryguy9 has joined #ruby
spyderma_ has quit [Remote host closed the connection]
JimmyNeutron has joined #ruby
spyderman4g63 has joined #ruby
adamjleonard has quit [Quit: Leaving...]
ferr has joined #ruby
bogdanteleaga has quit [Ping timeout: 255 seconds]
sigurding has joined #ruby
tvon has joined #ruby
<Senjai>
mwlang: not sure if trolling
<Senjai>
mwlang: !code
<helpa>
mwlang: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
oleo has joined #ruby
<mwlang>
bootstrappm_: haha…I just mean that logger calls in my sinatra app aren’t logging.
<bootstrappm_>
ah, just read it with a different tone and...got it!
<bootstrappm_>
foreman redirects logging
<bootstrappm_>
are you running foreman in the foreground?
<bootstrappm_>
^ mwlang
<mwlang>
bootstrappm_: yeap
jarjar_prime has quit [Quit: Sleep time.]
<mwlang>
I’m thinking its redirecting or just not enabling so I’m switching things over to the modular style Sinatra app so I can set config options.
<bootstrappm_>
hm, are you using some kind of config that limits foreman's log level then using info level logs?
shum has quit [Quit: WeeChat 1.1.1]
ferr has quit [Client Quit]
shum has joined #ruby
dj_zubehoer has joined #ruby
x77686d has joined #ruby
dj_zubehoer has quit [Client Quit]
<Senjai>
bootstrappm_: Make him post code :P
shum has quit [Client Quit]
shum has joined #ruby
dopie has quit [Ping timeout: 240 seconds]
Advocation has quit [Quit: Advocation]
<mwlang>
Senjai: give me a moment and I’ll post it
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aamador has joined #ruby
JDiPierro has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby
coetry has joined #ruby
iamjarvo has joined #ruby
<coetry>
If I want to trim all that extra whitespace in the middle, whats the best way to do that?
dfinning_ has quit [Remote host closed the connection]
sussman has joined #ruby
<coetry>
i was gonna say thanks
<coetry>
sorry
<coetry>
my mind is scattered
ghostlines has joined #ruby
<avril14th>
no pb
cpt_yossarian has quit [Ping timeout: 244 seconds]
waxjar has quit [Ping timeout: 246 seconds]
Edes has quit [Ping timeout: 250 seconds]
werelivinginthef has quit [Remote host closed the connection]
psyprus has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spyderman4g63 has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
waxjar has joined #ruby
Edes has joined #ruby
tier has quit [Ping timeout: 240 seconds]
tier has joined #ruby
dj_zubehoer has joined #ruby
<bootstrappm_>
good call Senjai
<mwlang>
ugh, figured it out while creating the gist. logger.debug apparently logs nothing either way… logger.info logs with foreman and command-line starts.
<mwlang>
I confused myself because I had some as logger.info and some as logger.debug, but I was most keenly interested in the logger.debug outputs when I hit this.
coetry has quit [Ping timeout: 256 seconds]
<bootstrappm_>
great (y)
<avril14th>
hmm, I have a string with what looks like a space at the beginning but is not a space
* arup_r
laptops blaming him for too many databases.. It throws error like Ruby does.. with ArgumentError with too many arguments..SpaceError Too many databases
n1lo has quit [Quit: Leaving]
ponga has quit [Ping timeout: 255 seconds]
<avril14th>
I have to go, meeting other side of town, but I'll leave the client open. :(( I'll be here tomorrow otherwise, I really need this fixed!
bogdanteleaga has joined #ruby
tier has joined #ruby
<shevy>
what are you doing arup_r
nolic has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 246 seconds]
tier has quit [Read error: Connection reset by peer]
veinofstars has quit [Quit: veinofstars]
tier has joined #ruby
<arup_r>
Answering in SO... They have different databases.. so I also did to answer all kind of posts, shevy :
<arup_r>
:)
<shevy>
yeah
<shevy>
are you even writing code at all? :P
ghostpl_ has quit [Remote host closed the connection]
<arup_r>
Humm.. In 2 Rails projects I'm working on
<arup_r>
I want to learn Rails fast
<avril14th>
arup_r: finished the chain code?
<arup_r>
so throwing my hands every where.. If hands are not sufficient.. then legs too
maletor has quit [Ping timeout: 245 seconds]
enebo has joined #ruby
sonOfRa has quit [Quit: Bye!]
<arup_r>
avril14th: No :( jhass : gave me one code.. But he mentioned that his code is not actually the GoF one
<jhass>
well, there's no point in strictly following design patterns anyway
<jhass>
they're more something to know so you can go the full way when they naturally emerge from your usecase
roshanavand has joined #ruby
<jhass>
and to make it easier to talk about your code to other programmmers
sambao21 has joined #ruby
<arup_r>
jhass: You are correct... But I wanted to know... in advance,, so that I can recall the solutions which are exist and then do some deep learning... and use it properly
<arup_r>
If times comes
iamninja has joined #ruby
<arup_r>
theory and principals are needed to know in advance how it works...
agarie has joined #ruby
chinmay_dd has joined #ruby
<jhass>
sure
<arup_r>
and then when really problems come
juanpablo_ has quit [Quit: (null)]
leafybasil has quit [Remote host closed the connection]
<jhass>
I just see many programmers making the mistake in designing an application by sticking as many patterns together as they can
<jhass>
instead of letting them emerge naturally
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r>
... just need to recall to connect to them to proper principals
juanpablo_ has joined #ruby
<arup_r>
jhass: Yes.. I agreed
agarie has quit [Client Quit]
<arup_r>
But my intentions is what I just said.. Just to know in advance what exist and how it works... It really helps in proper time
<arup_r>
Just like as an example.. slice_when/after/before I know ==== when to use and how they work
<arup_r>
and when I'll get some receipe and I
<arup_r>
will use then directly there..
alyosha has joined #ruby
<arup_r>
without thinking much
rodfersou has quit [Remote host closed the connection]
rodfersou has joined #ruby
<arup_r>
But Trust me.. I managed S,O,L... But not I and D from SOLID principals
<arup_r>
I and D are hard for me
huddy has quit [Quit: Connection closed for inactivity]
sonOfRa has joined #ruby
<Senjai>
arup_r: Id worry less about principles, and just make things
<arup_r>
Examples are bullshit C#.. .Net
<Senjai>
You cant worry about principles before you know how to understand them
drkyro has joined #ruby
<arup_r>
which I don't understabd
snockerton has joined #ruby
<arup_r>
Senjai: If I don't try.. how would I figure them out
djellemah has quit [Remote host closed the connection]
juanpablo_ has quit [Ping timeout: 265 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimms has quit [Remote host closed the connection]
<baweaver>
exactly on both counts
Takle has quit [Remote host closed the connection]
<arup_r>
#send is global.. and public_send is not
nolic has joined #ruby
<baweaver>
It's in cases that I want to log a value in rails
<baweaver>
but not muddle the object
<Senjai>
baweaver: Yeah, don't do that./
<Senjai>
Also don't extend the rails namespace
<Senjai>
No reason to
<Senjai>
Rails.logger is exposed
<baweaver>
I said it was a hack for a reason, calm down.
Takle has joined #ruby
<Senjai>
< Is calm
Takle has quit [Remote host closed the connection]
<Senjai>
but there is no reason to hack in the first place :P
Rollabunna has quit [Remote host closed the connection]
<Senjai>
because its all public man
shadoi has joined #ruby
<havenwood>
maaan
jonr22 has joined #ruby
Rollabunna has joined #ruby
<baweaver>
Of course I could just do the dirty way and patch it into object, that'll get some squirms.
<Senjai>
baweaver: Yeah, that's just silly.
* baweaver
is joking more than anything
jen_ has joined #ruby
<jen_>
roolo: howdy my friend.
<Senjai>
I'll automatically win every argument because I'll just say: "Says the guy who monkeypatches Object" :P
<Senjai>
<3
<jen_>
need to pick your brain…PM if you’re around...
<havenwood>
Freedom patches*
<baweaver>
Object.fourty_two
<jen_>
hi havenwood
<havenwood>
jen_: hi
maknz has joined #ruby
<baweaver>
<3 from Rails
<havenwood>
#rubyonrails
<baweaver>
Oh I know.
<Senjai>
That's not rails, that's DHH, and everyone knows he's incompetent.
<baweaver>
just making fun of it.
workmad3 has joined #ruby
thebastl has quit [Quit: Leaving...]
<baweaver>
debatable. He's undoubtably a bit of a blowhard, but I wouldn't say incompetent.
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<baweaver>
(well, probably more than a bit honestly)
wald0 has quit [Quit: Lost terminal]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
juanpablo_ has joined #ruby
werelivinginthef has joined #ruby
Mon_Ouie has joined #ruby
IrishGringo has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<havenwood>
He's written a few pretty nifty gems that brought a lot of people to the Ruby community! ;)
jonr22 has quit [Ping timeout: 244 seconds]
veinofstars has joined #ruby
giuseppesolinas has joined #ruby
ghr has joined #ruby
<Senjai>
Okay, maybe incompetent is a poor choice of word
<baweaver>
Tenderlove and xaviershay keep it going though
<Senjai>
But as of late, his decisions have been poor
<Senjai>
And its more the rails team itself, than him, that keep things afloat
<Senjai>
but he has veto power
* baweaver
isn't going to debate that one, agrees too much
aghalarp has joined #ruby
<Senjai>
which is why #forty_two (which he added to spite people) is still in the project
Zai00 has quit [Quit: Zai00]
uri___ is now known as _uri_
<baweaver>
admittedly still funny though
patrick99e99 has quit [Ping timeout: 250 seconds]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
patrick99e99 has joined #ruby
<baweaver>
well, lunch time, cheers
rubytor has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 256 seconds]
Megtastique has joined #ruby
jacky has quit [Read error: Connection reset by peer]
fantazo has quit [Quit: Verlassend]
n008f4g_ has joined #ruby
jalcine has joined #ruby
<weaksauce>
why did he add that to spite people?
botwin has joined #ruby
zenith_ has joined #ruby
botwin has quit [Read error: Connection reset by peer]
sussman has quit [Quit: Leaving]
coetry has quit [Ping timeout: 250 seconds]
swgillespie has joined #ruby
beneggett has joined #ruby
<havenwood>
weaksauce: Someone was complaining about #second, and #third with a slippery slope argument that the logical conclusion was a #forty_two method. So DHH obliged.
<shevy>
lol
<bootstrappm_>
avril14th still around?
<shevy>
trolling and counter-trolling
<shevy>
what has this world become
jlast has quit [Read error: Connection reset by peer]
Parker0 has quit [Ping timeout: 240 seconds]
aapole has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
djellemah has joined #ruby
<weaksauce>
ha. I would have done the same thing
<havenwood>
I disagree with the decision. I think it should have been: #forty_second
<ELLIOTTCABLE>
weaksauce: 's what I'm saying. but apparently, it is.
olivier_bK has joined #ruby
AndyBotwin has joined #ruby
<havenwood>
"If you just want to publish a single conversation, be careful to get permission from each participant. Provide as much context as you can. Avoid the temptation to publish or distribute logs without permission in order to portray someone in a bad light."
<shevy>
ELLIOTTCABLE \o
jlast has joined #ruby
<shevy>
yeah
<shevy>
don't portray me in a bad light!
bogdanteleaga has quit [Quit: Leaving.]
<shevy>
you wimp!!!
<ELLIOTTCABLE>
shevy: too late
<ELLIOTTCABLE>
shevy: all light looks bad on you.
<shevy>
ELLIOTTCABLE are you still programming stuff?
jimms has joined #ruby
<havenwood>
I thought there was a broader policy but maybe not any longer or I'm mistaken.
<ELLIOTTCABLE>
yep, always
lidaaa has joined #ruby
<ELLIOTTCABLE>
actually, burned out hard last year; just starting again now
Macaveli has quit [Ping timeout: 265 seconds]
<ELLIOTTCABLE>
working quietly on Paws, as per usual; got some new dependancy-flow-programming syntactic crap bouncing around in my head that'll probably play out on top of the same VM, too; and I just started working through the SICP with some irl friends.
iamjarvo has quit [Read error: Connection reset by peer]
<ELLIOTTCABLE>
current effort: how tf do I make vim and scheme play nice. Paredit + SLIMV + Chicken-Swank, I suppose? wish I could do the SICP in clojure. better editor support.
JBreit has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
JBreit has left #ruby [#ruby]
RegulationD has quit [Remote host closed the connection]
iamjarvo has joined #ruby
enebo has quit [Ping timeout: 252 seconds]
zachrab has joined #ruby
TheNet has joined #ruby
enebo has joined #ruby
leafybasil has joined #ruby
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
frank_____ has quit [Quit: Connection closed for inactivity]
tier has quit [Remote host closed the connection]
it0a has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
rodfersou has quit [Quit: leaving]
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
maknz has quit [Ping timeout: 240 seconds]
jmignault has quit [Quit: jmignault]
xploshioon has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
AndyBotwin has quit [Ping timeout: 255 seconds]
hollywood has quit [Quit: Leaving]
last_staff has joined #ruby
turtil has joined #ruby
zenith_ has quit [Ping timeout: 246 seconds]
meschi has joined #ruby
pietr0 has joined #ruby
Cyberheb has joined #ruby
oleo has quit [Quit: Verlassend]
sinkensabe has joined #ruby
ghostpl_ has joined #ruby
Kricir has quit [Remote host closed the connection]
xploshioon has quit [Quit: Leaving]
ponga has joined #ruby
mr_rich102 is now known as mr_rich101
ascarter has joined #ruby
soulcake has quit [Quit: Quack.]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
athan has quit [Ping timeout: 250 seconds]
soulcake has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 265 seconds]
ghostpl_ has joined #ruby
jenrzzz has joined #ruby
willharrison has joined #ruby
pwnz0r has joined #ruby
zenith_ has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
sigurding has quit [Ping timeout: 256 seconds]
psyprus has joined #ruby
odin22 has quit [Ping timeout: 252 seconds]
Pupeno_ has joined #ruby
_uri_ has quit [Ping timeout: 245 seconds]
tier has joined #ruby
frobs has quit [Quit: Konversation terminated!]
Pupeno has quit [Ping timeout: 244 seconds]
tier has quit [Read error: Connection reset by peer]
<wasamasa>
ELLIOTTCABLE: hmm, not sure whether the #ruby channel can answer you that
AlienPickle has quit [Ping timeout: 246 seconds]
j0n3 has joined #ruby
hcnewsom has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
veinofstars has joined #ruby
VBlizzard has joined #ruby
baweaver has joined #ruby
cocotton has joined #ruby
uptownhr has quit [Quit: uptownhr]
<shevy>
we can
<shevy>
we have clever people here!
<shevy>
don't be shy
Troy^ has joined #ruby
Advocation_ has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
<baweaver>
shevy: what now?
wallerdev has quit [Quit: wallerdev]
blizzy has quit [Ping timeout: 252 seconds]
jxpx777 has quit [Quit: Leaving...]
<shevy>
baweaver wasamasa thought we are dumb here
<shevy>
<wasamasa> ELLIOTTCABLE: hmm, not sure whether the #ruby channel can answer you that
Mon_Ouie has quit [Ping timeout: 250 seconds]
<shevy>
we can answer everything!
<shevy>
we are a collective brain
<crome>
one way or the other
<baweaver>
we are the borg
<wasamasa>
lol
<baweaver>
all will be assimilated
<shevy>
yeah like the BORG
<shevy>
and havenwood is our hive mum
<baweaver>
<3 mum
<atmosx>
shevy: plus there's nothing vim can't actually do.
Advocation has quit [Ping timeout: 255 seconds]
Advocation_ is now known as Advocation
<bootstrappm_>
<3 vim
<crome>
^
yfeldblum has joined #ruby
<shevy>
gah vim
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
vim is like an alien that tries to get into your brain
<baweaver>
that's lisp and emacs mate
<crome>
noone says about trying
<crome>
anything*
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wasamasa>
shevy: you must be a textmate user!
<ELLIOTTCABLE>
wasamasa / shevy, wasn't asking a question
<ELLIOTTCABLE>
was just telling shevy what I do. :P
<atmosx>
wasamasa: he's a linux user
<atmosx>
ELLIOTTCABLE: what do you do?
mloveless has quit []
<wasamasa>
shevy: you must be a sublime user!
<atmosx>
lol
<ELLIOTTCABLE>
er, what I was doing*
giuseppesolinas has joined #ruby
<shevy>
wasamasa I am a linuxer; editor is still bluefish 1.0.7 but I am trying to find a replacement
<wasamasa>
oh dear
<wasamasa>
shevy: don't worry, both vim and emacs last for a lifetime
<shevy>
the problem is, the really cool features are spread out over several different editors :(
<shevy>
nah, been at vim, won't go back
<shevy>
and emacs is just finger-breaking
<baweaver>
BSD for servers, OSX for desktop
<baweaver>
sublime text
<baweaver>
atom
<atmosx>
hm
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<atmosx>
I need to buil dan app to keep billing track of my clients, but has to be simple really. The ones I find around are complicated.
<crome>
atmosx: use vim!
yellowgh0st has joined #ruby
<atmosx>
blah maybe on Sunday if time permits since I won't go snowboarding
charliesome has joined #ruby
duncannz has joined #ruby
uri_ has joined #ruby
<atmosx>
crome: hahah sure, the problem is that others will have to use it too ;-)
duncannz has quit [Max SendQ exceeded]
<ELLIOTTCABLE>
atmosx: your nick seems familiar
<ELLIOTTCABLE>
I haven't been in the Ruby channels in years; but do I know you?
<atmosx>
crome: I need a simple login page, some JS to search for a name, a control panel to give me to the total and that's about it.
duncannz has joined #ruby
<atmosx>
ELLIOTTCABLE: I'm a famous programmer, working at CERN
<ELLIOTTCABLE>
also: did #ruby or #ruby-lang ever win the membership war? :P
* atmosx
wish
uri_ has quit [Client Quit]
duncannz has quit [Max SendQ exceeded]
<atmosx>
ELLIOTTCABLE: not really lol
<atmosx>
ELLIOTTCABLE: I'm a poor pharmacist btw.
<ELLIOTTCABLE>
famous programmers don't work at CERN, they work at Hashrocket :P
<shevy>
ELLIOTTCABLE we here won by numbers alone
<baweaver>
Rails, Devise, Select2, ActiveAdmin
<shevy>
a friend of mine worked at CERN
<atmosx>
ELLIOTTCABLE: really? lol
<shevy>
for about a year
duncannz has joined #ruby
aswen has joined #ruby
<shevy>
the truth is:
<shevy>
they were drunk every day
<baweaver>
Heh, I had an interview with Hashrocket.
Pumukel has joined #ruby
<atmosx>
baweaver: hmm Sinatra ...
yellowgh0st has quit [Client Quit]
<ELLIOTTCABLE>
I live right outside Geneva. I drive over the particle-collider once every couple weeks.
uri_ has joined #ruby
<baweaver>
I just rattled off a possible stack.
<ELLIOTTCABLE>
… Geneva, Illinois, that is.
<baweaver>
not necessarily THE stack
<atmosx>
ELLIOTTCABLE: cool
iamjarvo has joined #ruby
Advocation has quit [Quit: Advocation]
<baweaver>
had another offer though before they made one
<crome>
atmosx: doesn't sound that bad
<atmosx>
baweaver: I'm familiar with sinatra actually, I could do it in rails though just for thesake of it. But I need something extremely simple.
<baweaver>
annoying, apple called me the week after I accepted this job
ghr has quit [Ping timeout: 245 seconds]
<atmosx>
baweaver: I have a long list of clients which they pay the products they buy, when they get paid... So I give them some products in advance. Most of them are quite regular, but I want to keep track of everything and now where I work they use a book.
<crome>
working with huge corporations is so much fun
<atmosx>
baweaver: a phonebook, conveniently converted to owe-book.
<shevy>
crome to be the ant in the hive?
olivier_bK has quit [Ping timeout: 252 seconds]
<atmosx>
baweaver: I'd like to turn it 'digital', but has to be easy for them to use as well.
<crome>
as long as you are a consultant and you can laugh at all the stupid shit your colleauges have to go through
<baweaver>
yeah, that stack plus railsbricks would be as fast off the ground as you can go
<atmosx>
baweaver: who gives a shit, this is apple.
* baweaver
is missing context here
<atmosx>
baweaver: if I weren't a pharmacist, living in a huge beautiful house, driving the car I drive, having the gf and family I have, I might seriously consider the position.
<atmosx>
baweaver: oh, the fact that I have 45 in of road between snowboarding and sea (snorkelling etc) helps.
<atmosx>
anyway g2g.
<baweaver>
cheers
Hijiri has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
spyderman4g63 has joined #ruby
pengin has quit [Remote host closed the connection]
riotjones has joined #ruby
spyderma_ has joined #ruby
pengin has joined #ruby
Megtastique has quit []
gilmour has quit [Remote host closed the connection]
hcnewsom has joined #ruby
uptownhr has joined #ruby
RegulationD has joined #ruby
spyderman4g63 has quit [Ping timeout: 252 seconds]
duncannz has quit [Ping timeout: 250 seconds]
riotjones has quit [Ping timeout: 245 seconds]
pengin has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 252 seconds]
soulcake has quit [Changing host]
soulcake has joined #ruby
<jen_>
roolo: bye
Aswebb_ has quit [Remote host closed the connection]
jen_ has quit [Quit: jen_]
<roolo>
jen_ sy
RegulationD has quit [Ping timeout: 240 seconds]
anarang has quit [Quit: Leaving]
psyprus has quit [Read error: Connection reset by peer]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
adamjleonard has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier_ has joined #ruby
soulcake has quit [Quit: Quack.]
soulcake has joined #ruby
adamjleonard has quit [Client Quit]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
yfeldblu_ has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
adamjleonard has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
Advocation has joined #ruby
tier has quit [Ping timeout: 255 seconds]
maknz has joined #ruby
sdfs has joined #ruby
Aswebb_ has joined #ruby
sdfs has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
shazaum has quit [Quit: This computer has gone to sleep]
kalusn has joined #ruby
zenith_ has quit [Ping timeout: 250 seconds]
gregf has joined #ruby
zenith_ has joined #ruby
yellowgh0st has joined #ruby
Troy^ has joined #ruby
tunaCanBruh has joined #ruby
fabrice31 has joined #ruby
iamjarvo has joined #ruby
aclearman037 has joined #ruby
ponga has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 245 seconds]
IrishGringo has quit [Ping timeout: 265 seconds]
baweaver has quit [Remote host closed the connection]
spyderma_ has quit [Ping timeout: 255 seconds]
fmcgeough has joined #ruby
giuseppesolinas has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
IrishGringo has joined #ruby
zenith_ has quit [Ping timeout: 245 seconds]
mleung has quit [Ping timeout: 256 seconds]
ponga has quit [Ping timeout: 250 seconds]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
mikepack_ has joined #ruby
PaulCapestany has quit []
yellowgh0st has quit [Quit: yellowgh0st]
jonr22 has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
odin22 has joined #ruby
baweaver has joined #ruby
wallerdev has joined #ruby
Kricir has joined #ruby
mikepack_ has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
soulcake has quit [Quit: Quack.]
zachrab has quit [Remote host closed the connection]
soulcake has joined #ruby
PaulCapestany has joined #ruby
Dopagod has quit [Ping timeout: 244 seconds]
ghostpl_ has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
soulcake has quit [Changing host]
soulcake has joined #ruby
paulfm has quit [Quit: Zzzzz...]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
maknz has quit [Ping timeout: 245 seconds]
zachrab has joined #ruby
mleung has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
djellemah has quit [Quit: Leaving]
Kricir_ has joined #ruby
KC9YDN has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 250 seconds]
KC9YDN has joined #ruby
crack_user has quit [Quit: Leaving.]
ziyadb has quit [Quit: Connection closed for inactivity]
delianides has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
djbkd has joined #ruby
beneggett has quit [Read error: Connection reset by peer]
pietr0 has joined #ruby
Cadillactica has joined #ruby
AlexRussia has quit [Ping timeout: 246 seconds]
wottam has joined #ruby
<Cadillactica>
Big-O complexity question: Why is lookup on a hash table constant time O(1)? Shouldn’t it be dependent on the size of the hash, O(n)?
wottam has quit [Client Quit]
<weaksauce>
because the hash value of an object is like a key into the underlying datastructure.
triple_b has quit [Ping timeout: 265 seconds]
<weaksauce>
so for instance "this is a string" would hypothetically hash down to 45 (made up number)
Morkel has quit [Quit: Morkel]
rubytor has quit [Ping timeout: 264 seconds]
<weaksauce>
that means that it would be stored in the array at position 45
elaptics_away is now known as elaptics
beneggett has joined #ruby
<Cadillactica>
Ahhh that makes sense
<Cadillactica>
THanks
<weaksauce>
np.
<Cadillactica>
How is that stored in memory though? Wouldn’t you need a huge array even for just a few objects?
<weaksauce>
obviously you want a hashing algorithm that distributes the hashes fairly uniformly over the space otherwise you have too many hash collisions and then you have increasing lookup times on some of the buckets
<Cadillactica>
interesting
tcrypt has joined #ruby
<weaksauce>
I am not sure how ruby handles it internally.
Cust0sL1men has joined #ruby
snockert_ has joined #ruby
<Cadillactica>
“Ruby manages the size of the bins dynamically. It starts with 11 and as soon as one of the bins has 5 or more elements, the bin size is increased and all hash elements are reallocated to their new corresponding bin.”
<weaksauce>
that's going to be more information than you could shake a stick at
snockerton has quit [Ping timeout: 240 seconds]
plashchynski has quit [Quit: plashchynski]
Aswebb_ has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
Kricir_ has quit [Remote host closed the connection]
delianides has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
baweaver has quit [Remote host closed the connection]
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s7ry93r has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
baweaver has joined #ruby
mleung has quit [Ping timeout: 246 seconds]
apurcell has quit [Quit: Be back later ...]
roshanavand has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
mleung has joined #ruby
SOLDIERz_ has quit [Quit: Be back later ...]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danzilio has quit [Quit: Baiii!]
plashchynski has joined #ruby
plashchynski has quit [Client Quit]
Rapier- has quit [Quit: (null)]
shevy has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
delianides has quit [Remote host closed the connection]
bafbomb__ has joined #ruby
uptownhr has quit [Quit: uptownhr]
aapole has quit [Remote host closed the connection]
mikepack has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
BTRE has quit [Quit: Leaving]
IrishGringo has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
aclearman037 has joined #ruby
MasterPiece has quit [Quit: Bye!]
<__chris>
grrrr I'm doing some jQuery ajax to a resource. the method is 'PUT' but its being sent as "OPTIONS" and I'm getting a 404. I've googled and looked in the usual places. has anyone here run into this before?
Pupeno_ has joined #ruby
triple_b has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
commmmodo has quit [Quit: commmmodo]
IrishGringo has quit [Read error: Connection reset by peer]
Pupeno has quit [Ping timeout: 265 seconds]
havenwood has quit []
adriancb has joined #ruby
wallerdev has quit [Quit: wallerdev]
mary5030 has joined #ruby
pengin has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
decoponio has quit [Quit: Leaving...]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
IrishGringo has joined #ruby
<shevy>
weaksauce looking at you makes me hungry
tvw has joined #ruby
Cadillactica has quit [Quit: Cadillactica]
elaptics is now known as elaptics_away
<weaksauce>
shevy that's... odd....
swgillespie has joined #ruby
JDiPierro has quit [Remote host closed the connection]
VBlizzard is now known as blizzy
coetry has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BTRE has joined #ruby
uptownhr has joined #ruby
baweaver has quit [Remote host closed the connection]
zoo-zed has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chinmay_dd has quit [Quit: Connection closed for inactivity]
IrishGringo has quit [Ping timeout: 244 seconds]
plashchynski has joined #ruby
Advocation has quit [Quit: Advocation]
kaleido has joined #ruby
tier_ has quit [Ping timeout: 265 seconds]
crack_user has joined #ruby
Crisix has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dopie>
Hey guys
<dopie>
anyone want to fork this and clean up some of my horrible code?
<dopie>
weaksauce, I don't know because a lot of people are better than me at programming?
__chris has quit [Quit: This computer has gone to sleep]
<bootstrappm_>
aside from the long comment lines and not using any HTML5 elements even though you declared the doctype dopie it doesn't look bad at all
charliesome has joined #ruby
<weaksauce>
yeah I am not sure how much better you can make it. I'd personally convert it to haml.
serivich has joined #ruby
<dopie>
weaksauce, it's more for people who are new to ruby so they can see how much can be done using gems ...
Troy^ has quit [Client Quit]
<dopie>
making a blog or twitter is boring
<coetry>
dopie, making a twitter is not boring
pwnz0r has quit [Remote host closed the connection]
__chris has joined #ruby
<coetry>
and you can always use blogs as a foundation to do some really cool stuff, it doesn't have to be conventional at all
markfletcher has left #ruby [#ruby]
bootstrappm_ has quit [Quit: ~ Trillian - www.trillian.im ~]
ponga has quit [Ping timeout: 265 seconds]
sinkensabe has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
olivier_bK has joined #ruby
tunaCanBruh has quit [Ping timeout: 244 seconds]
VBlizzard has joined #ruby
VBlizzard has quit [Read error: Connection reset by peer]
kirun has quit [Quit: Client exiting]
last_staff has quit [Remote host closed the connection]
shazaum has joined #ruby
lanemeyer has joined #ruby
jimms has quit [Remote host closed the connection]
Aswebb_ has quit [Remote host closed the connection]
streaxy has joined #ruby
odin22 has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
adriancb has quit [Remote host closed the connection]
boom has joined #ruby
Lewix has quit [Client Quit]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has quit [Quit: Lost terminal]
jlast has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
jlast has joined #ruby
baweaver has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
hcnewsom has joined #ruby
DEA7TH has quit [Ping timeout: 256 seconds]
jxpx777 has joined #ruby
jen_ has joined #ruby
<jen_>
roolo: hey
deric_skibotn has quit [Read error: Connection reset by peer]
deric_skibotn has joined #ruby
QualityAddict has joined #ruby
zachrab has joined #ruby
axl_ has quit [Quit: axl_]
werelivinginthef has joined #ruby
mikecmpbll has quit [Quit: ciao.]
jaygen_ has joined #ruby
rikai has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
hesco has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
rikai has joined #ruby
blandflakes has quit [Quit: Page closed]
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachrab has quit [Ping timeout: 265 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
jaygen has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
werelivinginthef has quit [Ping timeout: 246 seconds]
jen_ has quit [Quit: jen_]
blizzy has quit [Quit: Leaving]
rikai has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
rikai has joined #ruby
ottanta has joined #ruby
charliesome has quit [Quit: zzz]
shellfu has quit [Remote host closed the connection]
starless has quit [Quit: Leaving]
uptownhr has quit [Quit: uptownhr]
Troy^ has joined #ruby
<ottanta>
hi, so I would like to use %x{} or %q{} in a program, but I'm not sure how I'm going to insert things like an embedded expression like #{var} inside a string/exec block given by %q/%x, respectively
<ottanta>
how would you guys go about this? what's a term I could write down/remember/etc related to the vocabulary
hiyosi has joined #ruby
<ottanta>
so I can search this kind of thing and be more self-sufficient
uptownhr has joined #ruby
<ottanta>
an example of what I'm talking about, though, is like var = "world"; puts %q{ hello #{var} }
<shevy>
apparently %q does not expand
veinofstars has quit [Quit: veinofstars]
<shevy>
>> foo = 'world'; %Q( abc def #{foo})
rikai has quit [Ping timeout: 255 seconds]
<shevy>
there
<shevy>
stupid bot
<shevy>
# => " abc def world"
<shevy>
this is the result of the above
hesco has joined #ruby
wajroo has quit []
charliesome has joined #ruby
<ottanta>
ohhh so I need Q and not q
<ottanta>
Thank you!
kalusn has quit [Remote host closed the connection]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]