<pipework>
Senjai: When I work with others, we come together and decide.
<pipework>
Senjai: But for my code? I don't care how you feel about it unless you're a chum and I want to work with you.
tunaCanBruh has joined #ruby
jonr22 has quit [Remote host closed the connection]
<pipework>
If ruby shipped with a code formatter like Go that dictates fashion, I'd use that.
<apeiros_>
%i is especially nice for lists with symbols which would require quoting, e.g. :"content-type"
olekenneth has quit [Ping timeout: 244 seconds]
<pipework>
Yeah, I like %i and %w
juanpaucar has quit [Ping timeout: 264 seconds]
<Senjai>
apeiros_: Yeah, thats what I use it for
<Senjai>
but I'm not going to use it for EVERY array of symbols
<apeiros_>
I use it for all symbol lists. but I still have to get used to it.
sig2noise has left #ruby [#ruby]
<Senjai>
I dont, [:thing, :otherthing] is fine, if its large, I tend to use it
reinaldob has quit [Remote host closed the connection]
pengin has quit [Ping timeout: 244 seconds]
blackmes1 has joined #ruby
hamakn has joined #ruby
<waxjar>
i tend to use a regular array unless %w[] keeps my line under 80 chars :P
fabrice31 has quit [Ping timeout: 264 seconds]
zachrab has quit [Ping timeout: 256 seconds]
<Senjai>
waxjar: haha :P, that's fair
reinaldob has joined #ruby
<apeiros_>
Senjai: yeah, %i's gain isn't as large as %w in regard of both, brevity and readability.
<Senjai>
I wont complain about people useing %i, its valid, but just the replacement for "" and '' when there are no things needing escaping in the string.
<apeiros_>
but I try to keep consistent code style, so I use %i for all symbol lists now.
olekenneth has joined #ruby
jonr22 has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
attamusc has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 252 seconds]
x77686d has quit [Quit: x77686d]
Hijiri has quit [Quit: asfalsefjlasefjaes]
<waxjar>
%i is actually useful, but %/%q/%Q instead of single or double quotes just seems like "look mah, i know an 'obscure' feature!"
mloveless has joined #ruby
<apeiros_>
I gladly link anybody who considers % notation "obscure feature" to zenspiders quickref :-p
<apeiros_>
all that claim tells me is "you don't know ruby syntax, please go learn it"
jamgood96 has quit [Quit: Leaving...]
<apeiros_>
but I do indeed use % rarely. common use cases for me are inline code (e.g. SQL), and strings containing " and '
<zenspider>
waxjar: % is lovely when you need to mix both quotes
bitbur has joined #ruby
<apeiros_>
I wonder whether there are tools to count occurrences
<zenspider>
apeiros_ occurances of both quotes?
<zenspider>
it'd be super easy with ruby_parser+sexp_processor
<apeiros_>
zenspider: occurrences of different literal types
<apeiros_>
i.e. stats like %i: 50, %I: 25, %w: 11, []: 127, …
<zenspider>
class LitCounter < SexpProcessor; def process_lit sexp; self.count[sexp.last.clast] += 1; end; end
<zenspider>
clast -> class
<waxjar>
zenspider: i wouldn't mind it really if that's the case, tho personally i'd just use escapes
djbkd has quit [Remote host closed the connection]
dfinninger has joined #ruby
<pipework>
Something like ag might suffice with some cut, wc, and awk
<zenspider>
escapes get ugly and make it hard to line stuff up
<pipework>
I like not having to escape things, is nice.
<ponga>
perhaps matz didn't want "THE official style reference" which might discourage freedom
<ponga>
OR
<ponga>
he was lazy
RegulationD has joined #ruby
arup_r_ has quit []
Simitrio has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
<flaccid>
ponga: i'm being pulled up for this https://dpaste.de/UDFB but can't work out the solution
<arup_r>
Any body have ideas about how to read RSS feeds through email ... Like this -- http://www.rubyflow.com/ .. I can't subscribe, as they don't want me to do... What's the other way around
<arup_r>
?
<pontiki>
flaccid: what does "pulled up" mean?
<ponga>
pontiki: 'hard to comprehend' i guess
Guest71787 has quit [Changing host]
Guest71787 has joined #ruby
Guest71787 is now known as blindsight
<ponga>
or he's spending too much time understanding
<pontiki>
i still don't know what that actually means
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ponga>
pontiki: 'delayed'
<flaccid>
ponga: rubocop is returning attributes/default.rb:49:41: C: Indent the first parameter one step more than the previous line.
<ponga>
i never use rubocop myself... ;p
RegulationD has quit [Ping timeout: 250 seconds]
<pontiki>
so do it
<pontiki>
how much time are you spending trying to prove it isn't a rule?
<flaccid>
no matter how i try to format the spacing for this code i get same issue
<ponga>
flaccid: and that code says its using 1.9.3
jshultz has quit [Quit: Connection closed for inactivity]
arquebus has joined #ruby
SOLDIERz_ has joined #ruby
juanpaucar has quit [Ping timeout: 246 seconds]
serivich has quit [Ping timeout: 244 seconds]
happyface has quit [Quit: Connection closed for inactivity]
PaulCapestany has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<flaccid>
i guess whatever depends on ohai (8.1.1) which is probably chef is too new for 1.9.3
fabrice31 has quit [Ping timeout: 255 seconds]
<arup_r>
Any tips?
serivich has joined #ruby
<ponga>
arup_r: what tip
<ponga>
btw hi arup
<arup_r>
ponga: o/
swgillespie has joined #ruby
<flaccid>
wow chef 12 jumped to requiring it in first GA release but in RC didn't
<arup_r>
Any body have ideas about how to read RSS feeds through email ... Like this -- http://www.rubyflow.com/ .. I can't subscribe, as they don't want me to do... What's the other way around ?
<sevenseacat>
'they dont want me to'?
<pontiki>
lmgtfy
<pontiki>
seriously
<pontiki>
there's a bout a million rss to email options
<pontiki>
you can even make your own
<ponga>
so many fancy sugars that i love in ruby won't let me switch to python
<ponga>
so much hard coding in python ;p
sinkensabe has joined #ruby
<pontiki>
must be all the venom, eh?
<arup_r>
sevenseacat: there is no subscribe me option.. :-)
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat>
wat
<sevenseacat>
did you click the big RSS link
sigurding has joined #ruby
<arup_r>
Yes..
<arup_r>
Let me click one more time
<flaccid>
whats the right way in Gemfile to have a separate list of gems and groups for a different ruby major version?
<sevenseacat>
its easier to just ask repeatedly until someone answers you.
<pontiki>
ifttt.com for GUIful
<arup_r>
sevenseacat: humm
<pontiki>
thank gods i am being ignored
<ponga>
lol
zachrab has joined #ruby
sent1nel has quit [Ping timeout: 250 seconds]
<arup_r>
ponga: I never thought I have to write the code for it.. :) I thought something is available ...
<ponga>
sevenseacat: so true
Nuck has joined #ruby
<arup_r>
pontiki: \o/
<ponga>
arup_r: there are services
<ponga>
google it
<ponga>
rss to email service app
karmatr0n has quit [Remote host closed the connection]
<ponga>
i see quite a few
juanpablo__ has joined #ruby
<arup_r>
ponga: My google is down..
<sevenseacat>
lol
<arup_r>
only #ruby is up
<sevenseacat>
thats awesome.
<pontiki>
try bing
<pontiki>
try ddg
<ponga>
pontiki: he's joking
<pontiki>
poe, i say
MrL0ngbowman has joined #ruby
<pontiki>
because I CAN'T TELL
<ponga>
arup is experimenting to see if only asking ruby channel could solve a problem
agrinb has quit [Remote host closed the connection]
<pontiki>
ah, troll, then, of the poe variety
<sevenseacat>
i think youre reading too much into him
<ponga>
arup_r:
<ponga>
my answer is this
<arup_r>
sevenseacat: him... Who me?
<sevenseacat>
yep
agrinb has joined #ruby
<arup_r>
sevenseacat: \m/
<ponga>
unless the blog's owner is doing it thru email too, you would need 24/7hr running application that converts rss feed into email and send it to your address
<ponga>
for that, you would need to find a dedicated service
<apeiros_>
shmoon_: sounds like that version of kgio is not compatible with ruby 2.2
n1lo has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shmoon_>
how do you know ? doesn't seem to eb there in error msg
nfk has joined #ruby
tobago has joined #ruby
<apeiros_>
well, I can install current kgio with 2.2, I can install kgio 2.8.0 with ruby 2.0, but I get the same error as you with ruby 2.2 & kgio 2.80
n008f4g_ has joined #ruby
<apeiros_>
*2.8.0
pandaant has quit [Quit: Lost terminal]
lxsameer_ has joined #ruby
pandaant has joined #ruby
ismaelga has joined #ruby
last_staff has joined #ruby
<shmoon_>
I see
spider-mario has quit [Remote host closed the connection]
<shmoon_>
other team members have done the same setup on ruby 2.2.0
elaptics_away is now known as elaptics
hanmac has quit [Ping timeout: 265 seconds]
<shmoon_>
i guess deleting Gemfile.lock and a bundle install might fix the issue but i cannot do that as the entire team is using that Gemfile.lock on similar systems
<shmoon_>
wonder what to do
Spami has quit [Ping timeout: 264 seconds]
sameerynho has joined #ruby
_Andres_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
ismaelga has quit [Ping timeout: 245 seconds]
<avril14th>
shmoon_: copy your Gemfile.lock, do a bundle install and look at the diff
doodlehaus has joined #ruby
<avril14th>
or look at the diff between you and your tem
<avril14th>
did you try bundle exec also?
<shmoon_>
the Gemfile.lock file came from the repo only
<shmoon_>
team is busy they dont want me to disturb them :P
blackjid has joined #ruby
<shmoon_>
i didnt do any bundle exec
terrellt has joined #ruby
prabeshshrestha has quit [Remote host closed the connection]
zachrab has joined #ruby
skarn has joined #ruby
<shmoon_>
bundle exec for ?
lxsameer_ has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
Spami has joined #ruby
puppeh has joined #ruby
<avril14th>
to ensure the usage of the Gemfile.lock
Advocation has quit [Quit: Advocation]
<shmoon_>
ok is there a tutorial on that?
<shmoon_>
I think bundle exec is used to run commands using the pwd's Gemfile
<avril14th>
run bundle help
sami has joined #ruby
rmoriz has joined #ruby
<sami>
Hi, I'm having a problem parsing a URI. For some reason this machine does not seem to think my URL is parsable. It works fine on my other machine iwth the same URL. Atm I'm just testing with a partial of the URL which seems to fail. Could someone else test this for me?
<waxjar>
like i said sami, i don't think that's a valid url, are you sure you don't need to *escape*, rather than parse?
<shmoon_>
"clang is a compiler frontend" , front end?
agrinb has joined #ruby
<waxjar>
uris can't have spaces in them, as far as i know
<sami>
waxjar: URI.parse should translate a space to %20
<waxjar>
no, URI.parse parses a valid URI and returns a URI object
<sami>
Try URI.parse("test with space")
doodlehaus has quit [Remote host closed the connection]
oo_ has joined #ruby
jimms has joined #ruby
<waxjar>
yes, URI::InvalidURIError: bad URI(is not URI?): test with space
doodlehaus has joined #ruby
andrewstewart_ has joined #ruby
<gregf_>
sami: you need to escape it before getting a uri object?
<sami>
That is the strangest thing. I checked in this code yesterday working on another machine. I wonder what's different and what i forgot to check in.
<sami>
I'll read it, thanks. It works with response = Net::HTTP.get_response(URI(URI.escape(url+params)))
lxsameer_ has quit [Ping timeout: 250 seconds]
Macaveli has joined #ruby
dawkirst has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djellemah_ has joined #ruby
<sami>
For HTTP URLs, a space in a path fragment part has to be encoded to "%20" (not, absolutely not "+"), while the "+" character in the path fragment part can be left unencoded.
<sami>
CGI::escape does +, not %20
sandelius has joined #ruby
<sami>
waxjar: Good reading. Thanks
puppeh has left #ruby ["Leaving..."]
Deele has quit [*.net *.split]
alol__ has quit [*.net *.split]
adambeynon has quit [*.net *.split]
n1ftyn8 has quit [*.net *.split]
im0b has quit [*.net *.split]
neersighted has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
ruisantos has quit [*.net *.split]
alol___ is now known as alol__
n1ftyn8_ is now known as n1ftyn8
adambeynon_ is now known as adambeynon
andrewstewart_ is now known as andrewstewart
im0b_ is now known as im0b
neersighted_ is now known as neersighted
juanpaucar has quit [Ping timeout: 245 seconds]
Qladstone has quit []
djellemah has quit [Ping timeout: 250 seconds]
Pharaoh2 has joined #ruby
ddd has quit [Ping timeout: 246 seconds]
Macaveli has quit [Ping timeout: 264 seconds]
ddd has joined #ruby
elaptics is now known as elaptics_away
lanemeyer has quit [Ping timeout: 252 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
elaptics_away is now known as elaptics
lanemeyer has joined #ruby
banister has joined #ruby
Pharaoh2_ has joined #ruby
Advocation has joined #ruby
sinkensabe has joined #ruby
meschi has joined #ruby
_Andres has joined #ruby
fabrice31 has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
arup_r has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Ping timeout: 252 seconds]
sinkensabe has joined #ruby
lxsameer_ has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
Advocation has quit [Client Quit]
sankaber has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
rkadam has quit [Ping timeout: 264 seconds]
sameerynho has quit [Ping timeout: 246 seconds]
juanpablo__ has quit [Ping timeout: 246 seconds]
ismaelga has joined #ruby
shum has joined #ruby
hiyosi has joined #ruby
Obfuscate has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
jonr22 has joined #ruby
rkadam has joined #ruby
paradoja has joined #ruby
ismaelga has quit [Ping timeout: 265 seconds]
thsig has joined #ruby
khighly has joined #ruby
Obfuscate has joined #ruby
havenwood has joined #ruby
<khighly>
puts "Network Hashrate: #{nethash}" how would I divide nethash by 1000?
Rollabunna has quit [Remote host closed the connection]
claptor has joined #ruby
Rollabunna has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Pumukel_office|a has quit [Ping timeout: 250 seconds]
WillAmes has quit [Remote host closed the connection]
<ponga>
does anyone know why when i perform bin/jruby -X+T , terminal does not respond
Rollabunna has joined #ruby
WillAmes has joined #ruby
lxsameer_ has quit [Quit: Leaving]
giuseppesolinas has joined #ruby
sent1nel has quit [Ping timeout: 265 seconds]
tus has joined #ruby
sieve has quit [Quit: Leaving.]
nii236|irssi has joined #ruby
spicerack2 has joined #ruby
nii236|irssi is now known as nii236
thsig has quit [Remote host closed the connection]
spicerack2 has quit [Client Quit]
<arup_r>
Any body have some handy good blog posts to read about composition v/s inheritance ofcourse in Ruby..
<arup_r>
?
strixd has joined #ruby
<gregf_>
hector, is this good perf wise(if the file grows): data = dict(map(lambda str: str.rstrip().split("="), open(file))) gdjgdgjdsg
<gregf_>
sorry :/ wrong chat
Deithrian has joined #ruby
<shmoon_>
I should be using rvm ? its recommended?
<gregf_>
arup_r: composition is horizontal reuse and inheritance is vertical reuse.what more would you want to know :)
<ponga>
chrisseaton: are you available?
<ponga>
hello
<arup_r>
gregf_: :)
<gregf_>
but modules(mixins) allow for loose coupling and high cohesion
Spami has quit [Quit: This computer has gone to sleep]
jottr_ has quit [Ping timeout: 250 seconds]
<gregf_>
like so: composition is 'uses' or has_a wheres inheritance is is_a
yfeldblu_ has quit [Remote host closed the connection]
<gregf_>
w/wheres/whereas/
<havenwood>
shmoon_: A single user install of RVM is a good option. I like to disable gemsets, since I find I don't need them with Bundler. Alternatively you can install with ruby-install and switch Rubies with chruby. Or if you don't need multiple Rubies and your package manager has a recent one, that might be a nice option.
ferr has quit [Quit: WeeChat 1.1.1]
wallerdev has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
<havenwood>
shmoon_: TL;DR: Yes.
<ponga>
havenwood:
<ponga>
i need ur help
<havenwood>
ponga: hi
<ponga>
i enabled graal as my jre as you told
<ponga>
but if i try doing -X+T as in the truffle page, terminal returns nothing
<arup_r>
gregf_: Are those replaceable ?
spicerack2 has joined #ruby
<cHarNe2>
is this how you guys do aswell or is there a nicer way of doing it, like taking a Hash as argument? def user_call_forwarding_always_modify_request(user_id, is_active=nil, forward_to_phone_number=nil, is_ring_slpash_active=nil)
<gregf_>
arup_r: well modules can replace base_classes for sure. thats the switch between inheritance and delegation
<gregf_>
arup_r:composition can be achieved as mixins
<gregf_>
arup_r: unfortunately no :/
nii236 has quit [Quit: leaving]
<arup_r>
gregf_: :(
* arup_r
always fighting with his fortune.. But all the time getting defeated by them
oo_ has quit [Remote host closed the connection]
<gregf_>
cHarNe2: sure a hash is better than so many arguments
Troy^ has joined #ruby
<cHarNe2>
gregf_: ok
doodlehaus has quit [Remote host closed the connection]
<ponga>
;(
cpt_yossarian has quit [Quit: And then he took off.]
<arup_r>
ponga: what ?
<ponga>
arup_r: im trying to use jruby9000 with truffle, i got graal on track but bin/jruby -X+T command(command to enable truffle and disable ruby kernal) does not work
<ponga>
and it makes me sad
joonty has quit [Quit: joonty]
Morkel_ has joined #ruby
<havenwood>
ponga: jruby -X+T -e "puts 'hi'"
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ is now known as Morkel
reinaldob has joined #ruby
Troy^ has quit [Client Quit]
<chrisseaton>
ponga: yeah if you just run without a file it will wait for input on stdin - just like MRI
Guest123 has joined #ruby
<havenwood>
ponga: You just need something to run, a file or a command. :)
<ponga>
gud!
<ponga>
havenwood: chrisseaton thanks it said hi and exited
Aswebb_ has joined #ruby
zachrab has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
spyderman4g63 has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
<ponga>
wow this is good
spyderma_ has joined #ruby
<ponga>
chrisseaton: i find x2~3 improvement even on my ruby code compared to mri2.2.0
SOLDIERz___ has quit [Ping timeout: 255 seconds]
<ponga>
sweet
Spami has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
livathinos has joined #ruby
<chrisseaton>
ponga: you'll quickly find unimplemented stuff if you try anything complicated using core libraries, but the language itself is 93% done
<ponga>
:)
spyderman4g63 has quit [Ping timeout: 250 seconds]
Macaveli has joined #ruby
Macaveli has quit [Remote host closed the connection]
crack_user has joined #ruby
ismaelga has joined #ruby
livathin_ has quit [Ping timeout: 245 seconds]
stef204 has joined #ruby
defrang has joined #ruby
Macaveli has joined #ruby
defrang has quit [Client Quit]
hcnewsom has joined #ruby
claptor has quit [Quit: this channel is bakas]
aclearman037 has joined #ruby
ismaelga has quit [Ping timeout: 244 seconds]
centrx has joined #ruby
wallerdev has quit [Quit: wallerdev]
dfinninger has joined #ruby
m8 has quit [Quit: Sto andando via]
chthon has quit [Ping timeout: 265 seconds]
brb3 has joined #ruby
davidhq has joined #ruby
fabrice31 has joined #ruby
psy_ has quit [Quit: Leaving]
dfinninger has quit [Ping timeout: 264 seconds]
OrbitalKitten has joined #ruby
sieve has joined #ruby
sieve has left #ruby [#ruby]
zorak8 has joined #ruby
Qladstone has joined #ruby
ismaelga has joined #ruby
joonty has joined #ruby
doodlehaus has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
adriancb has joined #ruby
BackEndCoder has joined #ruby
hiyosi has quit [Read error: Connection reset by peer]
felixjet_ has joined #ruby
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hiyosi has joined #ruby
Megtastique has joined #ruby
felixjet__ has quit [Ping timeout: 265 seconds]
sambao21 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Advocation has joined #ruby
lanemeyer has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thsig has joined #ruby
wald0 has quit [Quit: Lost terminal]
CorySimmons has joined #ruby
juanpaucar has joined #ruby
<DanBangWTFRajib>
so you cannot mix symbol and string type for checking?
hs366 has quit [Remote host closed the connection]
OliverTynes has joined #ruby
vcoinminer has joined #ruby
mroach has joined #ruby
juanpaucar has joined #ruby
narph has joined #ruby
hcnewsom has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
d10n-work has joined #ruby
davedev24_ has joined #ruby
x77686d has quit [Read error: Connection reset by peer]
pynix has joined #ruby
pynix has left #ruby [#ruby]
x77686d has joined #ruby
djbender has joined #ruby
poikon has joined #ruby
_maes_ has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
crack_user has joined #ruby
crack_user has left #ruby [#ruby]
shredding has joined #ruby
werelivinginthef has joined #ruby
bjeanes_ has joined #ruby
rubytor has joined #ruby
ZucchiniZe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Aswebb_ has quit [Remote host closed the connection]
djcp has joined #ruby
sinkensabe has joined #ruby
juanpaucar has quit [Remote host closed the connection]
juanpaucar has joined #ruby
ndrei has joined #ruby
rubytor has quit [Ping timeout: 250 seconds]
callenb___ has joined #ruby
dfinninger has joined #ruby
amundj has quit [Ping timeout: 245 seconds]
krz has joined #ruby
juanpaucar has quit [Ping timeout: 244 seconds]
cpt_yossarian has joined #ruby
zachrab has joined #ruby
<shevy>
rom1504 haha cool... you have 5 boroughs there... 8 million people or so... vienna has 1.8 million people... and 23 districts, now that is expensive micromanagement here! :D
programmerq has quit [Read error: Connection reset by peer]
<BLuEGoD>
hi
havenwood has joined #ruby
ismaelga has joined #ruby
mostlybadfly has joined #ruby
juanpaucar has joined #ruby
zachrab has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 244 seconds]
ndrei has joined #ruby
ismaelga has quit [Ping timeout: 256 seconds]
kotk has joined #ruby
athan has joined #ruby
psy_ has joined #ruby
<olivier_bK>
how can i get the result of linux command "scp" in array ?
jimms has quit [Remote host closed the connection]
psy_ has quit [Max SendQ exceeded]
mitchellhenke has joined #ruby
<olivier_bK>
i try arrayTo << ` /usr/bin/scp -r xxxx xxxx`
<shortCircuit__>
umm, anyone work with delayed job?
athan has quit [Quit: No Ping reply in 180 seconds.]
<atmosx>
shortCircuit__: I worked with sidekiq
<shortCircuit__>
ow.
<shortCircuit__>
I mean the delayed_job gem
livathinos has quit [Remote host closed the connection]
<mikecmpbll>
shortCircuit__: i do.
senayar has quit [Ping timeout: 252 seconds]
grn has joined #ruby
<ponga>
shevy: when my waifu bot is complete, i will make a fortune in japan ;)
Xiti` has joined #ruby
<shevy>
you folks over there are very confusing
oleo__ has joined #ruby
<shortCircuit__>
ok. I can't understand it https://gist.github.com/kares/1024726 . I mean for the first time , when rnu_every is set to 1 hour, then Delayed::Job.enqueue self, 0, run_at.utc gets executed , but then how does it reschedule itself the next time, after 1 hour
oleo__ is now known as oleo
<shevy>
just tamagochi alone, I have no idea how anyone could want something as useless as that was!
<ponga>
shevy: what's so wrong about having a friendly female bot that encourages you?
<BLuEGoD>
silly question.. I've made my sinatra project a Gem (adding a gemspec and configuring the stuff in lib, etc). How do I test/run my project without installing the gem? do I still need my config.ru?
<shevy>
hmm how to sort a hash by its keys, alphabetically?
<shevy>
so that I get out: a, b, c, d
bjeanes_ has joined #ruby
<shevy>
well
Xiti has quit [Ping timeout: 245 seconds]
huddy has joined #ruby
<shevy>
a => 5, b => 1, c => 8, d => 3
<shevy>
hope you know what I mean
featheryahn_ has joined #ruby
werelivinginthef has joined #ruby
bruno- has joined #ruby
<mozzarella>
use sort
<jhass>
.sort_by(&:first)
hellschreiber has joined #ruby
adambeynon has joined #ruby
<jhass>
and keep the resulting array, depending on the order of the hash is not too nice
riotjones has quit [Ping timeout: 244 seconds]
<bradland>
hashes have been ordered since 1.9
<bradland>
whether or not to depend on that ordering is a matter of opinion
<shevy>
ok
<bradland>
in many languages, a hash is not ordered, but intended to be a key lookup based store only
<bradland>
but in ruby, as of 1.9, they're ordered, so you can rely on it
<shevy>
now I use an Array and am sad that I can not use .each_pair :(
<marx>
and it's good to know there's no real significant diff between those two methods
diegoviola has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
<jhass>
why the string "false" ?
<jhass>
looks like an .any? { .any? } to me
Asher has quit [Read error: Connection reset by peer]
<bootstrappm>
avril14th: ever get it fixed?
Aldo has joined #ruby
Asher has joined #ruby
<avril14th>
bootstrappm: I changed the file reading
paulfm has joined #ruby
Asher is now known as Guest39055
<avril14th>
BUT
<avril14th>
I'm not happy since some text goes through different provide API
aldodelgado has quit [Quit: aldodelgado]
sambao21 has quit [Quit: Computer has gone to sleep.]
shum has quit [Quit: WeeChat 1.1.1]
<avril14th>
so I don't know if I'll get that BOM thing at the end or not
<avril14th>
:(
Advocation has joined #ruby
Guest39055 has quit [Client Quit]
shum has joined #ruby
<jhass>
marx: and if you're looking to optimize .any? {|element| element.text.downcase =~ Regexp.union("apple.com", "banana.com") } might be faster, since it does a single pass over the string
Aldo has quit [Client Quit]
sambao21 has joined #ruby
Aldo has joined #ruby
jimms has joined #ruby
Squarepy has joined #ruby
<marx>
ooh thanks jhass I will give that a try
<jhass>
marx: depending on your DOM, you might also be able to get a common parent for your elements in web_element_list and use its .text
andikr has quit [Remote host closed the connection]
sambao21 has quit [Client Quit]
Rollabunna has quit [Remote host closed the connection]
Aldo has quit [Client Quit]
Rollabunna has joined #ruby
adriancb has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
adriancb has joined #ruby
sambao21 has joined #ruby
<bricker>
why would an rspec seed cause a different order on different machines?
<bricker>
ruby version is different too, would that matter?
zenith_ has joined #ruby
<bricker>
huh
<bricker>
it does
<bricker>
*shrug*
Rollabunna has joined #ruby
surs has quit [Quit: leaving]
aryaching has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
jimms has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
foureight84 has joined #ruby
<foureight84>
anyone with experience using sidekiq?
wolves_cs has quit [Ping timeout: 246 seconds]
<foureight84>
i'm wondering if the pro version gives you statistics such as how long a job took to finish
<foureight84>
or if there's any other sidekiq like queue that provides that kind of information
werelivinginthef has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
rdark has quit [Quit: leaving]
aryaching has quit [Read error: No route to host]
ascarter has joined #ruby
werelivinginthef has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tomasso has quit [Quit: Page closed]
<crome>
foureight84: check out resque, I have no idea if it does what you want but it's the other fashionable job queue
adriancb has quit [Ping timeout: 252 seconds]
FooMunki has joined #ruby
ascarter has quit [Max SendQ exceeded]
<bricker>
:/
<bricker>
crome: it doesn't
adriancb has joined #ruby
<crome>
btw, what I used to do is reporting stats from the jobs to statsd
veinofstars has joined #ruby
ascarter has joined #ruby
adamjleonard has joined #ruby
programmerq has quit [Quit: WeeChat 1.0]
aryaching has joined #ruby
<foureight84>
i'll check out resque and statsd
programmerq has joined #ruby
<foureight84>
weird thing about sidekiq is that i have no real idea of what the pro version offers
ascarter has quit [Max SendQ exceeded]
<crome>
it does job batches which can come in handy
uptownhr has joined #ruby
<foureight84>
yea that is helpful but that seems to be it
ascarter has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
rubytor has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
<foureight84>
weird. anyway, thanks for the suggestions
stunder has joined #ruby
lxsameer has joined #ruby
Deckon has joined #ruby
aclearman037 has joined #ruby
<jhass>
foureight84: should be very easy to write an addon for that
mikecmpbll has quit [Ping timeout: 264 seconds]
senayar has quit []
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
strixd has quit [Quit: 500]
<foureight84>
jhass: yea i figured that's what i'll have to do. just gotta dump when what runs and have the script dump the time when it finishes
<jhass>
it's just a middleware
<jhass>
and an extension to the webinterface if you want to get fancy
Hijiri has quit [Quit: WeeChat 1.0.1]
<foureight84>
$750 / year kind of middleware, lol
roshanavand has joined #ruby
graydot has joined #ruby
<jhass>
eh, I mean the time tracking, not sidekiq pro
lordkryss has joined #ruby
thsig has quit [Remote host closed the connection]
alex88 has quit [Remote host closed the connection]
zachrab has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
graydot has quit [Client Quit]
<foureight84>
awesome. i appreciate that
diegoviola has quit [Remote host closed the connection]
kobain has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
Hobogrammer has joined #ruby
<jhass>
all I did was putting sidekiq into rubygems.org
Spami has quit [Quit: This computer has gone to sleep]
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
Dopagod has joined #ruby
tesuji has quit [Ping timeout: 245 seconds]
<Senjai>
close
zenith_ has quit [Ping timeout: 252 seconds]
Senjai has left #ruby ["WeeChat 0.4.2"]
davedev24_ has joined #ruby
n3vtelen has joined #ruby
<n3vtelen>
is it ruby pure OO language?
davedev2_ has quit [Ping timeout: 264 seconds]
Senjai has joined #ruby
jimms has joined #ruby
<jhass>
n3vtelen: yes
hamakn has joined #ruby
<n3vtelen>
so it's not good for a novice, right?
<jhass>
no, that's wrong
<jhass>
it's very good for a novice
ndrei has joined #ruby
<gregf_>
n3vtelen: imo it is the best for a novice
<ducklobster>
agreed^^
zenith_ has joined #ruby
<n3vtelen>
I told that because of OO concepts
<jhass>
non OO languages just have other concepts you need to learn instead
<jhass>
it doesn't matter
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<n3vtelen>
OK, thanks
tcrypt has joined #ruby
<Deckon>
hello, someone had made a A.I. or and expert or and automaton in ruby...or know some documentatoion about it?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mleung has joined #ruby
tmtwd has quit [Remote host closed the connection]
joonty has quit [Quit: joonty]
garethrees has quit [Ping timeout: 246 seconds]
<gregf_>
nevans: the main OO concepts are what? inheritance, delegation, composition, polymorphism(not so much possible with dynamically typed languages), abstraction
<gregf_>
er, sorry n3vtelen
<jhass>
^ of which you need to know none in order to write your first programs in ruby
tunaCanBruh has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 250 seconds]
<jhass>
gregf_: why's polymorphisim not possible?
<gregf_>
but yeah with C#,java, C++ you have abstract_classes, interfaces, final_classes, static_blocks, syncronized_methods(mutexes, semaphores) etc etc
<jhass>
it's maybe unnecessary, but why not possible?
<gregf_>
jhass: as in method overloading, constructor overloading. operator overloading may be possible
<jhass>
oh, that's what you call polymorphism
fantazo has joined #ruby
<jhass>
well, we have super and I think 2.2 got previous_def or something?
werelivinginthef has joined #ruby
<crome>
previous_def :D:D
<crome>
wow
<crome>
super is a huge trap as it is
tcrypt has quit [Remote host closed the connection]
<jhass>
previous_def is the Crystal-ism, but I recall 2.2 added something similar
mleung has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
warriorn has joined #ruby
ohcibi has quit [Read error: Connection reset by peer]
graydot has joined #ruby
tunaCanBruh has joined #ruby
mleung has joined #ruby
bluOxigen has joined #ruby
<jhass>
mmh, maybe i confused that with super_method
zenith_ has quit [Ping timeout: 244 seconds]
uptownhr has quit [Quit: uptownhr]
thsig has joined #ruby
willharrison has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo_ is now known as momomomomo
neoxquick has joined #ruby
ascarter has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
aapole has quit [Remote host closed the connection]
ghostpl_ has quit [Remote host closed the connection]
<shevy>
rdoc is the tool that generates local docu?
lemur has quit [Remote host closed the connection]
jerius has joined #ruby
<mic>
How would I create my own method without def infront of it. Not really sure what I am asking but sinatra uses "get" for its routes like get '/' do ... end. What is this called and what is the theory behind it
<mic>
?
<redchicken>
mic: get is a method
<redchicken>
a method call
lemur has joined #ruby
<mic>
redchicken: yes it is, however its seams as if the made there own command
giuseppesolinas has quit [Ping timeout: 252 seconds]
warriorn has quit [Killed (idoru (Spam is off topic on freenode.))]
<redchicken>
mic: um no
Nuck has joined #ruby
<redchicken>
you can define your own method "get"
<avril14th>
good weekend everyone
<redchicken>
and call it like that
<mic>
how could I make a method like this
avril14th has quit [Read error: Connection reset by peer]
<Deckon>
centrx, I know, I'm looking for a precedent for documentation
<pipework>
With ruby!
<mic>
redchicken: and make it a do block?
<redchicken>
defend a method that receives a block, just like sinatra
<pipework>
Deckon: I don't think you'll find something to your liking.
<waxjar>
mic, define them at the top level :)
<pipework>
Most things are halfassed or not complete in that space.
Morkel has joined #ruby
<pipework>
If you want to find a community that does this kind of thing more thoroughly, look into the R community.
<pipework>
Deckon: Why not just use the other stuff from other languages and technical papers and translate to ruby?
<havenwood>
mic: read up on Ruby blocks, they're handy
<mic>
havenwood: thx
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Deckon>
pipework, in fact that's what I'll do
<jamgood96>
I need to generate a form for adding/removing and updating relationships in a has_many through relationship. I currently have it working where I can update and remove the relationship and data, but have no idea how to create a form for adding
uptownhr has joined #ruby
<jamgood96>
crap, wrong channel. sorry!
jhwhite_ has quit [Quit: Lost terminal]
Asher has joined #ruby
sambao21 has quit [Ping timeout: 250 seconds]
doodlehaus has joined #ruby
jherbst has joined #ruby
enebo has quit [Quit: enebo]
sambao21 has joined #ruby
doodleha_ has quit [Ping timeout: 264 seconds]
jamgood96 has left #ruby [#ruby]
Axord has left #ruby ["Death by grue."]
Spami has quit [Read error: No route to host]
RegulationD has joined #ruby
Spami has joined #ruby
DrShoggoth has quit [Remote host closed the connection]
riotjones has joined #ruby
dorei has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
weems|mac has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 255 seconds]
n008f4g_ has joined #ruby
jespada has quit [Quit: Leaving]
cats has quit [Quit: Wow, rude.]
sevvie has joined #ruby
leafybasil has joined #ruby
cats has joined #ruby
aclearman037 has joined #ruby
cats is now known as Guest85959
serivichi has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 245 seconds]
aamador has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 240 seconds]
zachrab has quit [Remote host closed the connection]
devbug has joined #ruby
codeurge has joined #ruby
Guest85959 has quit [Changing host]
Guest85959 has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zachrab has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 246 seconds]
agarie has quit []
Pupeno has quit [Quit: Leaving...]
Deckon has quit [Quit: Leaving]
Guest85959 is now known as cats
alex88 has joined #ruby
wallerdev has joined #ruby
kenneth has joined #ruby
nolic has quit [Remote host closed the connection]
zachrab has quit [Ping timeout: 252 seconds]
aamador has joined #ruby
alex88 has quit [Ping timeout: 245 seconds]
jimms has left #ruby [#ruby]
triple_b_ has joined #ruby
Limix has joined #ruby
fabrice31 has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
ldnunes has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
ponga has quit [Quit: Leaving...]
momomomomo has quit [Quit: momomomomo]
triple_b has quit [Ping timeout: 252 seconds]
fredsir has joined #ruby
hcnewsom has joined #ruby
wallerdev has quit [Quit: wallerdev]
Grumelo_ has quit []
fabrice31 has quit [Ping timeout: 245 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nolic has joined #ruby
amundj has joined #ruby
paradoja has quit [Remote host closed the connection]
wallerdev has joined #ruby
kenneth has joined #ruby
kenneth has quit [Client Quit]
jottr_ has joined #ruby
platzhirsch has left #ruby [#ruby]
zachrab has joined #ruby
sameerynho has joined #ruby
zachrab has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 264 seconds]
zachrab has joined #ruby
jamgood9_ has joined #ruby
jamgood9_ has quit [Remote host closed the connection]
Advocation has quit [Quit: Advocation]
claw_ has quit [Ping timeout: 240 seconds]
claw_ has joined #ruby
blackmes1 has joined #ruby
jottr_ has quit [Ping timeout: 265 seconds]
juanpaucar has joined #ruby
jamgood96 has joined #ruby
juanpaucar has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
<wallerdev>
maybe its one of those things where you find out about a feature and try to use it immediately just because you know about it
<wallerdev>
i did that with function hoisting in javascript
<wallerdev>
lol
sambao21 has quit [Quit: Computer has gone to sleep.]
sinkensabe has joined #ruby
djellemah_ has quit [Quit: Leaving]
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
yeah that may be
rushed has joined #ruby
<shevy>
I once tried to desperately find a use case for @@foo variables
<wallerdev>
haha
chrishough has joined #ruby
<pipework>
shevy: I haven't found anything that really needs it either.
pkrzywicki has quit [Remote host closed the connection]
<pipework>
Every time I pretend I have, I just extract an object. :(
Cust0sL1men has joined #ruby
yfeldblum has joined #ruby
juanpaucar has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
pkrzywicki has joined #ruby
juanpablo__ has joined #ruby
<shevy>
hehe
uptownhr has quit [Quit: uptownhr]
sinkensabe has quit [Ping timeout: 246 seconds]
Spooner has joined #ruby
Rahul_Roy_ has joined #ruby
ArchBeOS has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
sent1nel has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
<ArchBeOS>
is there a tool that can help me template out a page, kinda like slim or haml pages, but write them out as static HTML after rendering it?
blueOxigen has joined #ruby
triple_b has joined #ruby
rodfersou has quit [Quit: leaving]
sevvie has joined #ruby
last_staff has joined #ruby
Alina-malina has quit [Ping timeout: 246 seconds]
mjuszczak has joined #ruby
djbkd has joined #ruby
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
triple_b has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
<pipework>
Most of the tools that let you write those things output html. Whether you dynamically process it or not isn't really what they're concerned about or even limit.
<pipework>
Consider using tilt or even something fully premade like jekyll.
iamjarvo has joined #ruby
* atmosx
Leny Kravitz - R U Gonna Go My Way
<atmosx>
shevy: I have a case in my latest program
<atmosx>
not just one, but a coule of class variables actually...
jenrzzz has joined #ruby
<atmosx>
I need to keep track of the same queue in several objects
kirun has joined #ruby
paulfm has quit [Remote host closed the connection]
x1337807x has joined #ruby
paulfm has joined #ruby
<shevy>
aha
bootstrappm has left #ruby [#ruby]
Hijiri has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
<Synthead>
in a case statement, is there a variable I can use to reference the original object in case ___ ?
<atmosx>
4 actually, 4 class variables, a counter (current counter), 2 queus (an array and a hash) and the logger
<waxjar>
Synthead: local variable? x = 1; case x ... etc
<wallerdev>
uhh what
<Synthead>
waxjar: that's what I thought, heh. Just curious if there was a var set or something of that nature
<wallerdev>
oh are you calling a method or something in your case?
brb3 has joined #ruby
Limix has quit [Quit: Limix]
n1lo has quit [Quit: Leaving]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Synthead>
wallerdev: tossing an array in it
<wallerdev>
ah
baweaver has joined #ruby
<Senjai>
Synthead: You probably wouldnt want a switch statement in that case then
jamgood96 has quit [Remote host closed the connection]
momomomomo has joined #ruby
<Senjai>
OperatingSystem.exists?
<Senjai>
err
<Senjai>
OperatingSystem#exists?
<shevy>
OperatingSystem.is_ruby? # => true
jamgood96 has joined #ruby
<Senjai>
You dont need a case object
<Senjai>
err case statement
<Senjai>
just load it into operating system objects, and let them have the logic
<Senjai>
Im saying all the wrong things today :.
blackmes1 has quit [Ping timeout: 240 seconds]
bruno- has quit [Ping timeout: 245 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
aclearman037 has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
<shevy>
if only it were today
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
exadeci has quit [Quit: Connection closed for inactivity]
rsavage has quit [Remote host closed the connection]
devoldmx has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hcnewsom has joined #ruby
x1337807x has joined #ruby
DanBangWTFRajib has joined #ruby
nateberkopec has joined #ruby
Nuck has quit [Quit: Computer has gone to sleep.]
blackmes1 has joined #ruby
zachrab has joined #ruby
tcrypt has quit []
OrbitalKitten has quit [Client Quit]
lidaaa has joined #ruby
pdoherty has quit [Quit: Leaving]
RegulationD has joined #ruby
toretore has joined #ruby
jamgood9_ has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
jamgood9_ has quit [Client Quit]
jamgood9_ has joined #ruby
jamgood9_ has left #ruby [#ruby]
rodfersou has joined #ruby
iamjarvo has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
sent1nel has quit [Remote host closed the connection]
jamgood9_ has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
jamgood9_ has quit [Client Quit]
jamgood96 has quit [Ping timeout: 264 seconds]
jamgood96 has joined #ruby
wolves_cs has joined #ruby
sent1nel has joined #ruby
<shevy>
but it is every day!!!
<shevy>
hmm I have a problem here I think
<shevy>
getting all constants in a subclass... but from a class method defined in a parent
<shevy>
oh wait
<shevy>
I was using self.class; without .class it works
OrbitalKitten has joined #ruby
phutchins has quit [Ping timeout: 265 seconds]
OrbitalKitten has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has quit [Read error: Connection reset by peer]
jerius has quit [Quit: /quit]
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
ferr has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
despai has joined #ruby
mjuszczak has quit []
pietr0 has joined #ruby
cjim has joined #ruby
sniff_ has joined #ruby
roshanavand has joined #ruby
bluOxigen has joined #ruby
<despai>
hello people
<wallerdev>
yoooo
yoshie902a has joined #ruby
adriancb has quit [Remote host closed the connection]
riotjones has joined #ruby
enebo has joined #ruby
<despai>
Any of you know a good example where I can see how to structure big amount of rspec tests (+files) to test a public http json api?
baweaver has quit [Remote host closed the connection]
zenith_ has joined #ruby
Pharaoh2_ has joined #ruby
jm0 has quit [Quit: Lost terminal]
thsig has quit [Remote host closed the connection]
C1V0 has quit []
Spooner has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 256 seconds]
Pharaoh2 has quit [Ping timeout: 265 seconds]
tvw has quit []
OrbitalKitten has joined #ruby
cpt_yossarian has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
rubytor has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
rodfersou has quit [Quit: leaving]
zenith_ has quit [Ping timeout: 265 seconds]
jen_ has joined #ruby
jen_ has quit [Client Quit]
Aswebb_ has joined #ruby
hcnewsom has quit [Quit: hcnewsom]
wldcordeiro has quit [Quit: Leaving]
fryguy9 has joined #ruby
spider-mario has joined #ruby
alex88 has joined #ruby
enterprisedc has quit [Quit: enterprisedc]
bruno- has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
chinmay_dd has quit [Quit: Connection closed for inactivity]
enterprisedc has joined #ruby
yoshie902a has left #ruby [#ruby]
fabrice31 has joined #ruby
deol has joined #ruby
jottr_ has joined #ruby
fabianhjr has joined #ruby
fabianhjr has left #ruby [#ruby]
alex88 has quit [Ping timeout: 264 seconds]
beef-wellington has joined #ruby
momomomomo has quit [Quit: momomomomo]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby
rushed has quit [Quit: rushed]
aclearman037 has quit [Read error: Connection reset by peer]
nfk has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
aclearman037 has joined #ruby
freerobby has quit [Quit: Leaving.]
roshanavand has joined #ruby
agrinb has joined #ruby
jerius has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
aclearman037 has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
happyface has quit [Quit: Connection closed for inactivity]
<shevy>
slightly off-topic question: any of you has a recommendation how to enable short "message box" on-mouse-over events, on a website? I need some way to display a tiny info box, after like a mouse cursor is over a few special <div> containers, after like 5 seconds or so
tvon has quit [Quit: leaving]
ninedragon is now known as Cheddaring
djbkd has quit [Remote host closed the connection]
jamgood96 has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
djbkd has joined #ruby
ghostpl_ has joined #ruby
paulfm_ has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
alex88 has joined #ruby
Cheddaring is now known as nincheddar
nincheddar is now known as ninecheddar
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pontiki has joined #ruby
alex88 has quit [Read error: Connection reset by peer]
C1V0 has joined #ruby
aclearman037 has joined #ruby
Kricir has quit [Remote host closed the connection]
<Rapier->
Anyone here actively use the WPScan utility, that I can bounce a question off of?
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Troy^ has joined #ruby
rushed has joined #ruby
diranged has joined #ruby
<diranged>
hey i need a quick hand.. how can i take [ 'foo', 'bar', 'baz'] and turn it into [ 'foo.2', 'bar.2', 'baz.2' ]?
lolmaus has quit [Quit: Konversation terminated!]
<centrx>
arr.map { |x| "#{x}.2" }
<diranged>
perfect thanks
topolinux has joined #ruby
sambao21 has joined #ruby
georgesmith has joined #ruby
rbennacer has joined #ruby
zachrab has joined #ruby
jenrzzz has joined #ruby
mjuszczak has joined #ruby
n3vtelen has quit [Disconnected by services]
sent1nel has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
veinofstars has quit [Quit: veinofstars]
uri_ has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
djbkd has joined #ruby
sent1nel has joined #ruby
redchicken has quit [Quit: Page closed]
uptownhr has joined #ruby
athan has joined #ruby
wald0 has quit [Quit: Lost terminal]
DeanH has joined #ruby
DeanH has quit [Max SendQ exceeded]
zachrab has quit [Ping timeout: 250 seconds]
claw_ has quit [Ping timeout: 240 seconds]
claw_ has joined #ruby
adamjleonard has quit [Quit: Leaving...]
jamgood96 has joined #ruby
jamgood96 has quit [Remote host closed the connection]
jamgood96 has joined #ruby
momomomomo has joined #ruby
postmodern has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Read error: Connection reset by peer]
hcnewsom has joined #ruby
workmad3 has quit [Quit: leaving]
doodlehaus has joined #ruby
jimbow has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<jimbow>
ruby sucks dick and if you program in ruby you are a cock sucking faggot
uptownhr has quit [Quit: uptownhr]
yfeldblum has joined #ruby
<waxjar>
does ruby actuallly optimize for _ as a argument name or is it just a convention?
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<davzie>
I'm playing with Rails, and to be honest, it's doing far too much magic shit for my liking, I'm coming from a PHP background and wanted something more akin to Laravel. It appears that using a controller method from a route requires me to have a view matching the controller name etc. Is this 'how it is' or is being new to Rails just meaning I'm not understanding potentially underlying flexibilities of the
<davzie>
framework?
<centrx>
davzie, You can change naming, it just works better if you don't: "convention over configuration"
<jamgood96>
davzie: Rails is a very opinionated framework
<davzie>
Rails is too opinionated for my liking
<davzie>
Am I being a perfectionist because of this? Are there any practical concerns with a framework being so limiting when building potentially large applications?
<jamgood96>
check out padrino
<davzie>
I've heard the next go-to framework should be Sinatra?
<weaksauce>
waxjar not sure but I'd imagine that it doesn't assign things to an object which would cut down on object creation and memory use
<jamgood96>
davzie: i don't at all see how rails is limiting for large applications. opinionated != limited persay
<centrx>
davzie, padrino is built on top of Sinatra, but yes, Sinatra is the next most common web framework
yfeldblum has quit [Ping timeout: 265 seconds]
atomi has quit [Quit: doing some electrical work bbiaw]
doodlehaus has quit [Read error: Connection reset by peer]
<davzie>
I may want URLs to not reflect the underlying business representation of the app
baweaver has joined #ruby
<davzie>
So rails scares me a little
doodlehaus has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has quit [Remote host closed the connection]
<centrx>
davzie, The URL is mapped to the controller action in routes
<centrx>
davzie, If you're using 'resources', that does it all automatically, but you can map the URL to the controller action yourself
mlttanaka has joined #ruby
<centrx>
davzie, The directory and file structure for controllers and views should still use the common names, but you can map the route with any name you like
<davzie>
Gotcha!
<davzie>
I'll just keep building and see where I end up ;)
sambao21 has quit [Quit: Computer has gone to sleep.]
Takle has quit [Remote host closed the connection]
sevvie has joined #ruby
mistermo_ has quit [Remote host closed the connection]
Limix has joined #ruby
uptownhr has quit [Quit: uptownhr]
mjuszczak has joined #ruby
foureight84 has quit [Quit: Be back later ...]
lanemeyer has joined #ruby
jen_ has joined #ruby
tunaCanBruh has joined #ruby
max96at is now known as max96at|off
georgesmith has quit [Quit: georgesmith]
<jen_>
I realize this is a sequel migration. Can someone explain the last arguments mysql : bundle exec sequel -m db/migrations -E mysql://localhost/conversion_tracker_dev
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
<jen_>
iis conversion_tracker_dev a file that is used to configure the db?
roolo has joined #ruby
jen_ has quit [Quit: jen_]
georgesmith has joined #ruby
<centrx>
and...it's gone
blackmes1 has quit [Quit: WeeChat 1.1.1]
baweaver has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 250 seconds]
roolo has joined #ruby
dage has quit [Quit: me llama mi mami]
FooMunki_ has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
Takle has joined #ruby
jonr22 has quit [Remote host closed the connection]
nettoweb has joined #ruby
centrx has quit [Remote host closed the connection]
workmad3 has joined #ruby
centrx has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
dorei has quit []
Yzguy has joined #ruby
Zai00 has quit [Quit: Zai00]
FooMunki_ has quit [Ping timeout: 252 seconds]
Takle has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]