Sawbones has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
RegulationD has joined #ruby
reinaldob has quit [Ping timeout: 246 seconds]
tlarevo has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 264 seconds]
sarmiena_ has quit [Quit: sarmiena_]
Sawbones has joined #ruby
17WABMF36 has joined #ruby
aghalarp has joined #ruby
_pakchoi_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 246 seconds]
KC9YDN has joined #ruby
KC9YDN has joined #ruby
danman has quit [Quit: danman]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
StevenXL has joined #ruby
Sawbones has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 256 seconds]
Sawbones has joined #ruby
Sawbones has quit [Remote host closed the connection]
<StevenXL>
Hi. Can someone give me a general idea of how "refute" work in minitest.
jgrevich has joined #ruby
<StevenXL>
What exactly is it testing for? What would make it pass?
Sawbones has joined #ruby
hpoydar has joined #ruby
Sawbones has quit [Remote host closed the connection]
bigmac_ has quit [Ping timeout: 252 seconds]
mitchellhenke has joined #ruby
<bonhoeffer>
oh — why does ruby compute: Math.exp(-1/2) as 1/e
Sawbones has joined #ruby
<bonhoeffer>
Math.exp(-1/2) -> 0.36787944117144233 not 0.6065306597
astrobun_ has joined #ruby
<bonhoeffer>
oh — because -1/2 -> -1
<bonhoeffer>
??
<ruboto>
I don't know anything about ?
<bonhoeffer>
-1.0/2 -> 0.5, but how do i get a/2 to ensure a is a float?
mrsolo has quit [Quit: This computer has gone to sleep]
poguez_ has quit [Quit: Connection closed for inactivity]
hpoydar has quit [Ping timeout: 265 seconds]
phutchins has quit [Ping timeout: 256 seconds]
<jokester>
a/2.0
<jokester>
should be fine
<bonhoeffer>
yeah — good point
<bonhoeffer>
or .fdiv
_djbkd has quit [Remote host closed the connection]
mrsolo has joined #ruby
krisquigley has joined #ruby
<bonhoeffer>
glad i test — goodness
Stupid-Liar has joined #ruby
phutchins has joined #ruby
arescorpio has joined #ruby
_djbkd has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
havenwood has joined #ruby
krisquigley has quit [Ping timeout: 276 seconds]
Sawbones has quit [Remote host closed the connection]
Stupid-Liar is now known as Volume-
Volume- is now known as Mx[dot]Brevity
hmsimha has joined #ruby
Sawbones has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
_1_Marc has joined #ruby
<_1_Marc>
Hey
_1_Marc has quit [Remote host closed the connection]
Curiousperson has joined #ruby
<Curiousperson>
apeiros: you are a faggot
<Curiousperson>
i just wanted to bypass senseless debate and make that conclusion
<Coraline>
That's not appropriate.
jottr_ has quit [Ping timeout: 252 seconds]
Eiam_ has joined #ruby
<Curiousperson>
your mother fucking your dad was not appropriate
<Curiousperson>
yet here we are
<Coraline>
!ban Curiousperson !P 5d Bah
<Coraline>
Grr
krz has joined #ruby
<Curiousperson>
coralline how about you just bypass senseless bullshit and hop up on my dick
<Curiousperson>
i don't want to game a dumb slut
<Curiousperson>
so just hope up
<Curiousperson>
hop*
dogweather has joined #ruby
<Curiousperson>
Coraline: i'm gonna bury my dick so far up that pussy that whoever can pull it out shall be crowned king arthur
Sawbones has quit [Remote host closed the connection]
dogweather has left #ruby [#ruby]
mrsolo has quit [Quit: This computer has gone to sleep]
<Curiousperson>
hehe
<Coraline>
Fuck this place.
Coraline has left #ruby ["Zoom zoom"]
<weaksauce>
apeiros
Sawbones has joined #ruby
<Curiousperson>
hehe
<Curiousperson>
she mad cause she know she want this here dick right here
Curiousperson was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
<weaksauce>
sevenseacat
dseitz has joined #ruby
phutchins has quit [Ping timeout: 250 seconds]
<sevenseacat>
I also have superpowers so if idiots like that come back, ping me.
<sevenseacat>
and maybe Coraline will come back :(
Sawbones has quit [Remote host closed the connection]
Limix has joined #ruby
<weaksauce>
sevenseacat yeah I will in the future
Sawbones has joined #ruby
<mozzarella>
what's "conducive"?
<sevenseacat>
appropriate, i think
Sawbones has quit [Remote host closed the connection]
<mozzarella>
I see
<mozzarella>
I didn't know there were mods in this room
tier has quit [Remote host closed the connection]
<mozzarella>
I thought the admin had forsaken us
Sawbones has joined #ruby
Deele has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
kreeves has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GeekOnCoffee has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pie_ has quit [Read error: Connection reset by peer]
mrsolo has joined #ruby
jackjackdrpr has quit [Ping timeout: 250 seconds]
_ixti_ has joined #ruby
pie_ has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
<sevenseacat>
if we dont know, we cant fix.
* sevenseacat
is not psychic
* sevenseacat
goes back to figuring out why travis build is failing
GeekOnCoffee has left #ruby ["(null)"]
<krainboltgreene>
I'm not sure that's a good excuse anymore.
jeramy_s has joined #ruby
<sevenseacat>
?
<weaksauce>
wat
<Radar>
wat
<krainboltgreene>
#nodejs's toxicity is significantly less prevalent and they can't possibly have more resources.
<krainboltgreene>
(significantly more)
<sevenseacat>
wat
<weaksauce>
I haven't seen that many trolls and ruby is older than the latest #newthing
<mozzarella>
I don't follow
yh has quit [Ping timeout: 252 seconds]
<Radar>
I've set an akick rule for that hostname + nickname
<Radar>
If they come back, they will be automatically banned by Chanserv.
<weaksauce>
let's be frank here, it's not a ruby culture thing, it's a troll thing
<sevenseacat>
are we supposed to be psychic and kick people *before* they troll?
aghalarp has quit [Max SendQ exceeded]
<krainboltgreene>
The "we don't know about it so we can't act" excuse seems hollow when there are two equally large channels with pretty much the same demographic and both long histories of operating, but one is significantly more toxic than the other.
<sevenseacat>
:/
<sevenseacat>
i guess thats a yes... sorry, i'll work on developing my sixth sense.
<krainboltgreene>
This isn't to judge/put blame on you sevenseacat, it's just your message got me thinking about the differences.
<Radar>
krainboltgreene: can't tell if trolling or actually having a valid point.
<Radar>
krainboltgreene: We are not watching the channel 24/7.
<sevenseacat>
idiots exist on the internet. we can't prevent that.
mrsolo has quit [Quit: This computer has gone to sleep]
<weaksauce>
how many mods are in ruby vs nodejs
<krainboltgreene>
Are the #nodejs admins watching 24/7?
<diegoviola>
idiots exist everywhere
<Radar>
krainboltgreene: *shrug*
<Radar>
krainboltgreene: what are you expecting us to do, exactly?
<sevenseacat>
having something actionable would be great.
pontiki has joined #ruby
<krainboltgreene>
Discuss reasonably?
dx7 has joined #ruby
<krainboltgreene>
I mean the reaction to my point is pretty telling already.
<weaksauce>
krainboltgreene perhaps the higher number of trolls can be attributed to ruby had a checkered past w.r.t. hostility to women so the trolls are more apt to go there?
DexterLB has quit [Ping timeout: 248 seconds]
<weaksauce>
who knows
evanjs has quit [Remote host closed the connection]
<Radar>
!botsnack
<sevenseacat>
helpa isnt here anymore.
<Radar>
ok, so that's why helpa didn't log any messages
evanjs has joined #ruby
<Radar>
Now I get it.
<sevenseacat>
but there are public logs in the channel topic.
<krainboltgreene>
I wonder if #nodejs blocks that irc webclient.
<sevenseacat>
if they do, they'll also be blocking a lot of legitimate users
<Radar>
I don't know why helpa was in #rubyonrails and not here :\
helpa has quit [Remote host closed the connection]
<dodobrain>
Radar, maybe krainboltgreene means that there needs to (a) a good signalling mechanism to 'energise' the ops (b) and more likely ops spread across timezones who may be likely to keep an eye out for stuff
helpa has joined #ruby
<krainboltgreene>
Or "travis but for toxicity in irc rooms"
<krainboltgreene>
;)
<weaksauce>
krainboltgreene ruby is also more well known and older so that's something too.
<krainboltgreene>
THEN developers will pay attention.
<Radar>
Ok, I think this is what we need: some way to signal the ops when there's trouble.
<krainboltgreene>
weaksauce: Compared to Node.js?
<Radar>
There's already !r but that's just for me
<Radar>
!r
<helpa>
Radar: you have been summoned by Radar
<weaksauce>
absolutely
<sevenseacat>
Radar: apeiros has kicked all the other bots to have his own as the official channel bot
<krainboltgreene>
Not sure years is a good metric for knowability. Forth is much much older than Ruby, but I'm constantly telling people about it.
jokester has quit [Quit: recharge]
teddyp1cker has quit [Ping timeout: 256 seconds]
<weaksauce>
it has to be somewhat popular too :P
<krainboltgreene>
Radar: I'm assuming I add it to bot.rb?
<Radar>
krainboltgreene: yeah, define a new method called op_command and that'll be picked up automatically.
<weaksauce>
I amend my statement. it's a 20 year old popular language
<krainboltgreene>
Got it.
<weaksauce>
vs some new framework
<Radar>
krainboltgreene: make sure to check for authorized users first (use the authorized? method) because I don't want randos spamming the command
<krainboltgreene>
weaksauce:
<krainboltgreene>
6 years old isn't "new".
<krainboltgreene>
And they've got 400 more users in their irc at the moment. Surely that makes up for the age gap?
<krainboltgreene>
Radar: Kay.
<sevenseacat>
krainboltgreene: they have 400 more users? what were you saying earlier about resources?
mrsolo has joined #ruby
_djbkd has quit [Remote host closed the connection]
<Radar>
Can we agree that managing communities is hard and that nobody gets it right?
bruno- has quit [Ping timeout: 246 seconds]
<weaksauce>
^
<weaksauce>
6 years is pretty new imo
<sevenseacat>
concur.
<weaksauce>
but whatever
jeramy_s has quit [Quit: Peace out!]
<Radar>
Can we stop having this meta discussion that somehow #node.js has achieved, somehow, magically, perfection when it comes to keeping trolls out of their IRC channel?
<krainboltgreene>
If we could, we would have.
<Radar>
Good :)
mrsolo has quit [Client Quit]
<krainboltgreene>
Radar: How do I detemrine what channel I'm in?
<ght>
Question: I have an hash array where each entry includes the value "number". Is there a quick command to concisely search all members of this array to see if number == 123, or do I have to iterate through the array with .each do |num|; if num['number'] == 123....
<ght>
?
<Radar>
krainboltgreene: should be available as... I am not sure. I think it's an option? Let me look at the code.
<ght>
These are example names, of course.
<Radar>
krainboltgreene: ah, it's reply_to
<krainboltgreene>
kk
<pontiki>
ght: maybe look at Array#select ?
17WABMF36 has quit [Remote host closed the connection]
<pontiki>
i'm not sure i understand what you're going for, tho
<ght>
pontiki: perfect, thank you.
<ght>
No, you're exactly right, wasn't aware of this method. Very helpful, thank you.
<Radar>
Enumerable#select iirc </pedant>
<pontiki>
yes, quite
<krainboltgreene>
Radar: Updated.
<pontiki>
periodically re-read Enumerable
benlieb_ has joined #ruby
StevenXL has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
orionstein has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
decoponio has quit [Ping timeout: 252 seconds]
arescorpio has quit [Ping timeout: 252 seconds]
dx7 has quit [Ping timeout: 245 seconds]
Synthbread has quit [Ping timeout: 252 seconds]
claptor has quit [Quit: this channel is bakas]
freerobby has quit [Quit: Leaving.]
tlarevo has joined #ruby
Asher has joined #ruby
bluOxigen has joined #ruby
kp666 has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/20150402191859]]
dseitz has joined #ruby
discypher has quit [Quit: Leaving.]
_djbkd has quit [Remote host closed the connection]
kblake has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
_djbkd has joined #ruby
iotouch has joined #ruby
teddyp1cker has joined #ruby
iotouch has left #ruby [#ruby]
julio has joined #ruby
julio is now known as mrbignum
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo__ has quit [Remote host closed the connection]
sarmiena_ has quit [Quit: sarmiena_]
serivich has joined #ruby
decoponio has joined #ruby
teddyp1cker has quit [Ping timeout: 250 seconds]
A205B064 has joined #ruby
<mrbignum>
I need to create a rule where a user is allow to submit just 4 articles for month in a anual subscription. You guys have an idea how can I get the current month of the user's subscription?
casadei has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
<mrbignum>
I store the initial and the final date of the subscription.
fbidu has joined #ruby
Sawbones has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has joined #ruby
bigmac has quit [Ping timeout: 245 seconds]
mistermocha has quit [Remote host closed the connection]
sarmiena_ has joined #ruby
Sawbones has joined #ruby
bigmac has joined #ruby
pontiki has quit [Ping timeout: 248 seconds]
djdarkbeat has joined #ruby
C1V0 has joined #ruby
michaeldeol has joined #ruby
mrbignum has quit []
Sawbones has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
jack_rabbit has joined #ruby
bigmac has quit [Ping timeout: 246 seconds]
a5i has quit [Quit: Connection closed for inactivity]
ponga has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
zapata has quit [Quit: leaving]
tlarevo has joined #ruby
krz has quit [Ping timeout: 256 seconds]
Channel6 has quit [Quit: Leaving]
agrinb has quit [Remote host closed the connection]
longfeet has quit [Ping timeout: 250 seconds]
greenbagels has joined #ruby
agent_white has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hmnhf_ has quit [Ping timeout: 276 seconds]
bigmac has joined #ruby
oo_ has joined #ruby
teddyp1cker has joined #ruby
makepkgnotwar has joined #ruby
work_op is now known as sleep_op
Mon_Ouie has quit [Ping timeout: 255 seconds]
yh has joined #ruby
tlarevo has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 244 seconds]
mistermocha has joined #ruby
fbidu has quit [Ping timeout: 250 seconds]
yh has quit [Ping timeout: 240 seconds]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
RegulationD has joined #ruby
mleung has quit [Quit: mleung]
tlarevo has joined #ruby
hpoydar has joined #ruby
sevvie has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
amdbcg has quit [Ping timeout: 252 seconds]
benegget_ has joined #ruby
hpoydar has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
Feyn has joined #ruby
benegget_ has quit [Client Quit]
JoshGlzBrk has joined #ruby
beneggett has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Client Quit]
krisquigley has joined #ruby
makepkgnotwar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
makepkgnotwar has joined #ruby
tlarevo has quit [Remote host closed the connection]
<arup_r>
serivichi: I want that goat infront of me...
Zai00 has joined #ruby
DarthGandalf has quit [Ping timeout: 264 seconds]
<arup_r>
I know how to kick solidly and to where to... :)
RoryHughes has joined #ruby
<serivichi>
I take it that you experienced this before lol
DarthGandalf has joined #ruby
<arup_r>
nah.. I never knew .. Goat are so determined and powerful
CustosL1m3n has joined #ruby
casadei has quit [Remote host closed the connection]
<serivichi>
on a sidenote. I've always wondered why our identities are still via nickservs. Wouldn't it be more portable and more secure, if we used public/private keypairs for nick auth>
<serivichi>
kind of like openID but for IRC?
<serivichi>
that's not to say that nickservs wont be needed, but they could be more portable
<serivichi>
e.g. "arup_r@freenode" where you public key is stored at freenode
leafybasil has joined #ruby
basiclaser has joined #ruby
<serivichi>
so when you go to a different IRC network, you don't have to resignup... but you could use a different network as your credentals
<serivichi>
(and if you don't sign up, well at the very least its easier to protect against spoofers)
fabrice31 has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
fabrice31 has joined #ruby
DEA7TH has joined #ruby
kblake has joined #ruby
fabrice31_ has joined #ruby
<serivichi>
gah... netsplit?
<serivichi>
well hopefully some people heard it
Aswebb_ has quit [Remote host closed the connection]
vtunka has joined #ruby
browndawg has joined #ruby
C1V0 has quit [Ping timeout: 265 seconds]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
nszceta has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
iamninja has quit [Read error: Connection reset by peer]
<jhass>
nope, don't see a netsplit
kblake has quit [Ping timeout: 264 seconds]
<jhass>
serivichi: you seem to have the illusion that IRC is a well defined protocol :P
<jhass>
ircd's hate each other
<serivichi>
yea, I just wish we have something else by now
<serivichi>
D:
<serivichi>
its the 21st century for gs
<serivichi>
(then again, we should have had flying cars, and man on mars)
<jhass>
I'd like my identity in my dnssec signed zone actually
<hanmac1>
i believe even the Starflet Federation does have Authification problems with credentals ;P
<jhass>
SSHFP for my ssh key, so I just authorize me@jhass.eu and it pulls the fingerprint there
fabrice31_ has quit [Remote host closed the connection]
<jhass>
PKA for my PGP key (already works \o/)
fabrice31 has joined #ruby
nszceta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
and could extend that to other stuff using some keypair
bonhoeffer has joined #ruby
bonhoeffer has quit [Client Quit]
<hanmac1>
yeah! lets invent a new IRC protocol like IRC2 or something similar dumb name ;P
<jhass>
hanmac1: there's IRC3
Takle has quit [Remote host closed the connection]
<hanmac1>
gasp, i didnt know ;P does windows support that or is it still at ircv1? XD
<hanmac1>
jhass: " Updated 5 days ago " ITS ALIVE! XD
quimrstorres has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
workmad3 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
C1V0 has joined #ruby
Advocation has quit [Quit: Advocation]
agrinb has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Ping timeout: 256 seconds]
GriffinHeart has quit [Remote host closed the connection]
imanzarrabian has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
tvw has quit []
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Aswebb_ has joined #ruby
mistermocha has joined #ruby
DerisiveLogic has joined #ruby
<wasamasa>
hanmac1: it's the clients that need to support it, you sillyhat
quimrstorres has joined #ruby
fabrice31_ has joined #ruby
<hanmac1>
wasamasa: i was suprised that the new version/spec was updated only 5 days ago
sevvie has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
* arup_r
thinking why hanmac1 don't contribute in Rails :)
mistermocha has quit [Ping timeout: 246 seconds]
parduse has joined #ruby
quimrsto_ has joined #ruby
iamninja has joined #ruby
quimrstorres has quit [Ping timeout: 245 seconds]
joonty has joined #ruby
roolo_ has joined #ruby
<hanmac1>
arup_r: its mostly because of HashWithIndiferentAccess and stuff like https://bugs.ruby-lang.org/issues/9980 that does increase my hate for Rails (and it doesnt support "kibi"Byte for the filesize function print functions)
DavidDudson has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
<arup_r>
humm
tlarevo_ has joined #ruby
<arup_r>
hanmac1: What will be the problem if Ruby core supports HWIA ? Just asking out of curiosity..
tlarevo has quit [Ping timeout: 244 seconds]
<hanmac1>
arup_r: my problem is also that the guys make tickets that they want their HWIA as default to replace/rename Hash
<NotATroll>
apeiros:suck my juicy balls like your mother did last night
jenrzzz has joined #ruby
Ludicrou_ has quit [Ping timeout: 246 seconds]
Pricey has joined #ruby
NotATroll has quit [Disconnected by services]
ponga has joined #ruby
LudicrousMango has joined #ruby
nszceta has joined #ruby
agrinb has joined #ruby
nszceta has quit [Max SendQ exceeded]
terlar has quit [Quit: WeeChat 1.1.1]
nszceta has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
agrinb has quit [Ping timeout: 245 seconds]
bigmac_ has joined #ruby
kyrylo has quit [Ping timeout: 272 seconds]
<porfa>
anyone can help me set out sinatra’s timeout? i alrery have the sinatra/config modulee and i have set :timeout, 60
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
<porfa>
still… but i think it’s my browser maybe? whats the default timeout for a browser? anyuone knows? because when i check my comand line (runing the sinatra) it replies 45seconds later… but the browser timeouts at exactly 30secs.
bhaak has quit [Ping timeout: 272 seconds]
<jhass>
porfa: where did you read about sinatra having a timeout option?
fabrice31_ has joined #ruby
tpimtts_away is now known as tpimtts
<porfa>
it’s sinatras httpd (thin httpd i think)
fabrice31_ has quit [Remote host closed the connection]
arup_r has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
<jhass>
so set the option for thin
<jhass>
since last time you asked I looked at sinatras source and there's no such option
BanEvader has joined #ruby
sameerynho has joined #ruby
<BanEvader>
hello guys
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<BanEvader>
whats up
<BanEvader>
i have a question
ponga has quit [Remote host closed the connection]
<BanEvader>
why doesnt apeiros get a life?
<BanEvader>
cause he never touched a girl
<BanEvader>
cause he's a creepy pussy
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BanEvader has left #ruby [#ruby]
<porfa>
come on by portugal if you’r cool we have fun with my girl
krz has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
<porfa>
this means it took 34 secds to render the page from the ruby right? but it’s not displaying… because something is sending a timeout msg to my browser.. hm
<jhass>
porfa: what's your setup? nginx/apache reverse proxy?
<porfa>
does “ubuntu apache” anser the question? sorry
withnale_ has joined #ruby
<jhass>
porfa: I guess so
<jhass>
you want to configure the proxy timeout there
rkmylo has quit []
<porfa>
ok
lxsameer has quit [Ping timeout: 264 seconds]
<porfa>
== Sinatra/1.4.5 has taken the stage on 12346 for production with backup from Thin
<porfa>
Thin web server (v1.6.3 codename Protein Powder)
<jhass>
?
DaniG2k has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
doritostains has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
maasha has joined #ruby
<porfa>
my apache conf has 300 seconds as timeout
arquebus has joined #ruby
iwishiwerearobot has joined #ruby
<maasha>
Here is a funny thing. I find yard poorly documented: e.g. how can I get `yri String.new` to procure something?
krz has joined #ruby
<jhass>
maasha: yri doesn't work for core/stdlib unfortunately
<Mon_Ouie>
There is (or at least, used to be) a dummy gem that just installs documentation for stdlib for yard
<jhass>
maasha: use ri or fastri (or whatever it was called)
<hanmac1>
apeiros: i think the troll feels so much pro because he found the way to reset his ip address ;P hm maybe a way would be to block that kiwiirc gateway if the trolling does increase to unwanted levels?
<maasha>
jhass: Right, but then x-linking with @see and stuff like that dont work.
arquebus has quit [Quit: Konversation disconnected]
Takle has quit [Remote host closed the connection]
rdark has joined #ruby
msgodf has joined #ruby
iwishiwerearobot has quit [Ping timeout: 264 seconds]
<porfa>
is it possible to have sinatra only go fetch the ruby data every 5 minutes? (cache wtv it got for the first 4:59 secs)
<porfa>
because if i am able to do that, i might get a workaround my timeout issues..
cajone has quit [Remote host closed the connection]
sandelius has joined #ruby
iteratorP has quit [Remote host closed the connection]
Takle has joined #ruby
Timba-as has joined #ruby
cajone has joined #ruby
GriffinHeart has joined #ruby
<apeiros>
hanmac1: I don't know what drives such people. I'm not sure how much I care either. The thing which matters to me is that the effort is asymmetrical. i.e. that they have to spend more effort than I.
ponga has joined #ruby
a5i has joined #ruby
Zai00 has quit [Quit: Zai00]
<maasha>
another thing that eludes me, what is the point of running a documentation server? i.e. yard server?
netroby has joined #ruby
<maasha>
obvoiusly you can browse your documentation in html, but I like text so ...
netroby has left #ruby [#ruby]
<workmad3>
maasha: the point is that your personal preferences can't be generalised to everyone
DavidDudson has joined #ruby
<workmad3>
maasha: so just because you like text doesn't mean everyone does... and the point is that people who like HTML can then run the server and get their local documentation through that :P
<maasha>
workmad3: so I saw somewhere that yard and yard server would assist you in producing better documentation - and then then magical explanation wasnt there!?
hectortrope is now known as liar
liar is now known as Guest98127
<workmad3>
maasha: whoever wrote that had decided that yard helped *them* produce better docs and then probably did the same reasoning as you - I prefer it, therefore everyone should prefer it
Guest98127 is now known as enboy
msgodf has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<workmad3>
maasha: end of the day, yard is a documentation language... if you prefer it, use it... if your team is using it, use it... otherwise don't stress :P
<maasha>
workmad3: right, I guess I am looking for style-guidance and best practices.
<maasha>
style is pretty well covered in the yard documentation,
<maasha>
practices appears to be an open subject.
<workmad3>
because, barring someone actually figuring out useful metrics for comparing documentation languages, you can't determine 'better'... and once someone *has* figured that out, you can decide whether those metrics are important to you
<maasha>
workmad3: well, no. OTOH the same could be said about the Ruby styleguide.
<workmad3>
maasha: the ruby styleguide is a set of preferences... you're free to disagree, and there's nothing out there stating that it's "the best" in an objectively meaningful way
<maasha>
workmad3: I think the Ruby styleguide made me reflect on my code in a constructive manner. I would like the same to happen documentation-wise :o)
NotAbadthing has joined #ruby
<NotAbadthing>
bitch ass pussies
<NotAbadthing>
get a fucking life
<NotAbadthing>
working here all day for free
<NotAbadthing>
esp jhass
<NotAbadthing>
shit head
NotAbadthing was banned on #ruby by Mon_Ouie [*!41310e96@gateway/web/cgi-irc/kiwiirc.com/ip.65.49.14.150]
NotAbadthing was kicked from #ruby by Mon_Ouie [same to you]
ennmob has joined #ruby
<flughafen>
what's with the trolling today?
roshanavand has joined #ruby
tvw has joined #ruby
<canton7>
you probably want to ban *!*@gateway/web/cgi-irc/kiwiirc.com/ip.65.49.14.15 ?
<maasha>
we are awaiting the invention of a device allowing you to stab someone in the face across in the internet.
<apeiros>
flughafen: one guy who doesn't take lightly that he got banned.
<canton7>
(bless kiwiirc for putting the client's ip in the host)
<flughafen>
apeiros: who did you ban?
<workmad3>
maasha: great, so the ruby styleguide gave you an incentive to instrospect on your own personal preferences regarding ruby code style
<apeiros>
flughafen: you'll know him as deathcode
<apeiros>
if you know him, that is
<flughafen>
apeiros: hahaha.
<flughafen>
yeah, i've seen in here saying stupid stuff
<maasha>
ok, lunch
<Mon_Ouie>
Oh yeah, client's default banmask. But then again, he seems to keep coming back so neither will really matter.
<apeiros>
stupid stuff didn't get him banned, though
krz has quit [Read error: Connection reset by peer]
<workmad3>
maasha: now you recognise that such a thing is good, you can go and look at the styleguides for yard, rdoc, etc. and do similar instrospection on them... recognising that it's personal preferences is important though, because then you can actually see past the hyperbole and posturing of people espousing 'best practices' without evidence ;P
<apeiros>
good thing we've better op coverage than just a few days ago
Morkel has quit [Quit: Morkel]
<workmad3>
he doesn't even manage to troll particularly effectively :)
<flughafen>
workmad3: he's really subtle
<workmad3>
if he knew what he was doing, he could have refreshed a VPN IP address by now and rejoined with a different hostmask
Juanchito has joined #ruby
sigurding has quit [Quit: sigurding]
inavele has joined #ruby
mrbond has joined #ruby
<flughafen>
workmad3: he knows java so he's probably making an abstract vpn factory factory
kblake has joined #ruby
lanemeyer has quit []
<toertore>
it just takes time because he needs to wait for his editor to boot first
<toertore>
and start the generator that provides the extra electricity needed to run it
<workmad3>
toertore: and then he needs to wait for his maven project to recompile his code, and wait for the JVM to boot up again
n1x has joined #ruby
n1x has joined #ruby
C1V0 has quit []
* workmad3
wonders if he watches the channel logs as well, so he can see us bashing on his beloved java ;)
agrinb has joined #ruby
enboy has quit [Quit: WeeChat 0.4.2]
kblake has quit [Ping timeout: 245 seconds]
<canton7>
oh heck, was he java guy?
<canton7>
I knew he smelled fishy...
terlar has joined #ruby
rodfersou has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
ponga has quit [Remote host closed the connection]
elaptics is now known as elaptics_away
<hanmac1>
canton7 & workmad3: the problem is that he always use a different ipadress so banning with ipadress might not work as wanted :/
<canton7>
does he? aww
Hirzu has joined #ruby
duncannz has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
<hanmac1>
maybe some kind of auto kick/ban with some rules like (if gateway.include?("kiwiirc") && message.include?("bitch") or similar then kick)
DerisiveLogic has quit [Ping timeout: 244 seconds]
krz has joined #ruby
<workmad3>
hanmac1: kick if message.is_trolling?
<hanmac1>
hm yeah something like that ;P
lkba has joined #ruby
astrobun_ has quit [Remote host closed the connection]
<maasha>
jhass: so either I iterate through a bunch of objects several times and do a task on each, or I iterate once and perform a series of tasks on each object inline.
cpt_yossarian has quit [Ping timeout: 245 seconds]
panga has quit [Remote host closed the connection]
<maasha>
aggregate vs inline
casadei has quit [Ping timeout: 248 seconds]
<jhass>
never heard that term before tbh
<jhass>
I'd related it to for example inline JS
<jhass>
where you embed it on the page vs having another file
<maasha>
ok
<wm3|away>
or you either have code inline, or you extract it out into a method
panga has joined #ruby
deuterium has quit [Ping timeout: 248 seconds]
<wm3|away>
in compiled languages, you also have the compiler optimisation of code-inlining, where it will have rules that allow it to determine if a particular method call can be compiled to be inline, removing the overhead of the method call from the compiled binary
<jhass>
ah true, good point
<wm3|away>
none of those seem to be applicable to maasha's use though :)
inavele has joined #ruby
<wm3|away>
jhass: I'm showing my time spent in C++ there... where you can do 'void inline somemethod()' as a compiler hint :)
rodfersou has quit [Remote host closed the connection]
<wm3|away>
(or was it inline void somemethod()?)
rodfersou has joined #ruby
<jhass>
probably both :D
max96at is now known as max96at|off
<jhass>
anyway, our friend says he's off to bed now, so I can get a bit afk I guess
<wm3|away>
jhass: if both are allowed, they probably have massively different meanings :)
Takle has joined #ruby
xenokiller has joined #ruby
* wm3|away
loves that 'const char *' and 'char * const' are radically different in C++
piotrj has quit [Remote host closed the connection]
Elliott__ has joined #ruby
oo_ has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
sevvie has joined #ruby
Timba-as has joined #ruby
rvchangue has joined #ruby
SouL has joined #ruby
joonty has quit [Quit: joonty]
Aswebb_ has quit [Remote host closed the connection]
Elliott_ has quit [Ping timeout: 252 seconds]
VBlizzard has joined #ruby
deuterium has joined #ruby
serivich has joined #ruby
musashi1 has quit [Read error: Connection timed out]
zarubin_ has quit [Remote host closed the connection]
inavele has quit [Ping timeout: 250 seconds]
zarubin_ has joined #ruby
sdothum has joined #ruby
Aswebb_ has joined #ruby
froots has joined #ruby
panga has quit [Remote host closed the connection]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
sigurding has quit [Quit: sigurding]
basiclaser has quit [Quit: Connection closed for inactivity]
yfeldblu_ has quit [Ping timeout: 245 seconds]
mhib has joined #ruby
kp666 has quit [Remote host closed the connection]
pika_pika has joined #ruby
Guest40683 has quit [Changing host]
Guest40683 has joined #ruby
Pricey has left #ruby [#ruby]
Guest40683 is now known as daynaskully
Pharaoh2 has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
Pharaoh2 has joined #ruby
<hanmac1>
wm3|away: specially when you are working with char** and something of them is const ;P
<canton7>
read right-to-left ;)
<canton7>
'const char * x' = 'x is a pointer to a char const'; 'char * const x' = 'x is a constant pointer to a char'
revoohc has joined #ruby
<canton7>
...and if you write 'const char * x' as 'char const * x', you get m'x is a pointer to a constant char'
Takle has quit [Remote host closed the connection]
brb3 has joined #ruby
Takle has joined #ruby
LJT has joined #ruby
silkfox has joined #ruby
LJT has quit [Max SendQ exceeded]
mikecmpbll has quit [Read error: Connection reset by peer]
kotk has quit [Read error: Connection reset by peer]
kotk has joined #ruby
sgambino has joined #ruby
mikecmpbll has joined #ruby
LJT has joined #ruby
steven43126 has quit [Ping timeout: 246 seconds]
serivichi has joined #ruby
Scient has quit [Ping timeout: 255 seconds]
quimrsto_ has quit [Remote host closed the connection]
mikenovikov has joined #ruby
Mx[dot]Brevity has quit [Ping timeout: 244 seconds]
Igorshp has joined #ruby
jerius has joined #ruby
quimrstorres has joined #ruby
tus has joined #ruby
<Igorshp>
Hello, i'm trying to detect if a variable is a Proc or a string. could anyone point me in the right direction please?
joonty has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
a5i has quit [Quit: Connection closed for inactivity]
serivich has quit [Ping timeout: 244 seconds]
Scient has joined #ruby
<ddv>
Igorshp: is_a?
krz has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
amystephen has joined #ruby
sevvie has quit [Ping timeout: 255 seconds]
<ddv>
Igorshp: .class ?
<Igorshp>
doesn't work
fabrice31 has joined #ruby
<ddv>
Igorshp: because?
quimrstorres has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
dumdedum has joined #ruby
<Igorshp>
i have a class and if config param is not set, default value runs a function.
sevvie has joined #ruby
<Igorshp>
when i try to test that param later on, any type of tests result in a loop
<Igorshp>
toertore: i need to return different output based on whether iam_creds was ran previously
<Igorshp>
can you suggest a better place to place the check?
<toertore>
i don't understand what it is you're trying to do.. you're memoizing the return value already
sinkensabe has joined #ruby
dumdedum has quit [Ping timeout: 256 seconds]
<toertore>
driver.iam_creds should return a hash, and that's it
sfr^ has joined #ruby
a5i has joined #ruby
<Igorshp>
aws_access_key_id can be set explicietly in the config. if not, it is obtained from iam_creds function; aws_access_key_id should only be returned if aws_access_key_id is NOT set explicitly
<ddv>
Igorshp: have you tried debugging it, drop pry in there? print some stuff etc
Advocation has quit [Quit: Advocation]
wm3|away is now known as workmad3
<Igorshp>
ddv: yes, tha'ts what i'm doing right now
<Igorshp>
unfortuantely my knowledge of procs and class initialisations in ruby is rather lacking
cats has quit [Ping timeout: 256 seconds]
triple_b has joined #ruby
Kilo`byte has quit [Ping timeout: 264 seconds]
<toertore>
i don't think that's the issue here
<ddv>
yeah
jimms has joined #ruby
<toertore>
it depends on how default_config is supposed to work, and how it's implemented
<Igorshp>
i believe it's the issue with default_config
<ddv>
Igorshp: you need to figure out why iam_creds is called multiple times, maybe it only does that when it returns nil (iamcreds)
<toertore>
and how you're testing that it "works"
<Igorshp>
hmm, it didnt occur to me it wasnt a defautl ruby function
<Igorshp>
just putting debuggin statements in installed ruby gem files
<Igorshp>
and running the command
<Igorshp>
in this case 'kitchen converge'
<ddv>
this is what happens when non-developers try to use Chef
<toertore>
but it has a dsl!
<Igorshp>
lol
vvikramjhu__ has joined #ruby
<toertore>
dsls can be used by anyone!
jimms has quit [Ping timeout: 252 seconds]
sankaber has joined #ruby
<toertore>
there's probably like 10 layers where this could be going wrong
djdarkbeat has quit [Quit: djdarkbeat]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has quit [Quit: joonty]
Kilo`byte has joined #ruby
<hanmac1>
yeah some developers did say: "what could go wrong?" ... and then Rails did happen
fabrice31_ has joined #ruby
steven43126 has quit [Ping timeout: 248 seconds]
Rapier- has joined #ruby
Karpuragauram has quit [Ping timeout: 245 seconds]
cats has joined #ruby
dblessing has joined #ruby
joonty has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
xenokiller has quit [Ping timeout: 255 seconds]
JDiPierro has joined #ruby
vtunka has joined #ruby
charliesome has joined #ruby
SouL has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
dumdedum has joined #ruby
jtzero has joined #ruby
charliesome has quit [Client Quit]
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SouL has joined #ruby
serivich has joined #ruby
<Igorshp>
any pointers in which direction is should look?
<ddv>
Igorshp: what happens when you just return nil from iamcreds?
zenith_ has joined #ruby
<ddv>
Igorshp: what happens when you return what you expect it to return?
<ddv>
Igorshp: also what happens when you drop pry in there?
panga has joined #ruby
RandyT has quit [Ping timeout: 245 seconds]
mostlybadfly has joined #ruby
serivichi has quit [Ping timeout: 250 seconds]
browndawg has quit [Ping timeout: 276 seconds]
dx7 has joined #ruby
amdbcg has joined #ruby
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
steven43126 has joined #ruby
<Igorshp>
iam_creds on its own works as expected. it's adding the type tests that starts an infinite loop
<Igorshp>
1 sec, i'll try pry
VBlizzard is now known as _blizzy_
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
wicope has joined #ruby
wicope has quit [Max SendQ exceeded]
panga has quit [Ping timeout: 245 seconds]
sevenseacat has joined #ruby
turtil has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
<Igorshp>
ddv: it does not return a value at this stage
xenokiller has joined #ruby
dx7 has quit [Ping timeout: 250 seconds]
vudew has joined #ruby
<Igorshp>
it runs the iam_creds, but doesn't return a value. if i test it from inside any other function, a string is returned as expected
djdarkbeat has joined #ruby
Coraline_ZzZz is now known as Coraline
<Igorshp>
any references will run the function, includein .class .is_a? etc
<Igorshp>
is this to do with initialisation stage of the class?
<ddv>
no idea what you're talking about....
<jhass>
Igorshp: maybe it just fakes to be a Proc
<jhass>
let's approach it differently
<jhass>
why do you need to differentiate?
<Igorshp>
sure; iam_creds will always return session_token when availalbe. but if user is overriding the key_id, the session_token should be nil. so in effect, if iam_creds is available, it is impossible to override
dorei has joined #ruby
<Igorshp>
iam_creds for session_token should only be run if key_id is not specified
<Igorshp>
*not specified by user
hpoydar has joined #ruby
davispuh has joined #ruby
kaspernj has quit [Remote host closed the connection]
casadei has joined #ruby
lanemeyer has joined #ruby
overcrush has joined #ruby
overcrush has left #ruby [#ruby]
<jhass>
okay, I'm not quite sure I follow yet, do you have a link to the config method?
<jhass>
so I can see what it returns
enebo has joined #ruby
ntln has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
joonty has quit [Read error: Connection reset by peer]
hgl has quit [Ping timeout: 272 seconds]
browndawg has joined #ruby
joonty has joined #ruby
gccostabr has quit [Ping timeout: 252 seconds]
crazydiamond has joined #ruby
genpaku has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 248 seconds]
jeromelanteri has quit [Ping timeout: 246 seconds]
luksaur has quit [Ping timeout: 252 seconds]
hpoydar has quit [Ping timeout: 252 seconds]
alexherbo2 has quit [Ping timeout: 264 seconds]
gregf_ has quit [Ping timeout: 256 seconds]
SouL has quit [Ping timeout: 265 seconds]
fabrice31_ has quit [Remote host closed the connection]
hgl has joined #ruby
genpaku has joined #ruby
fabrice31 has joined #ruby
yokel has joined #ruby
cajone has quit [Ping timeout: 264 seconds]
bim has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
VictorBjelkholm has joined #ruby
icebourg has joined #ruby
<VictorBjelkholm>
Hey folks, if anyone have any experience with Rollbar, could you please help me find a reference to the configuration options? Trying to set the environment Rollbar reports to but can't figure out the config option I need to use
<jhass>
config[:whatever] will never return a proc unless it is a proc that returns a proc
cajone has joined #ruby
gregf_ has joined #ruby
mgorbach has joined #ruby
Porfa_ has joined #ruby
dANO has joined #ruby
<Igorshp>
that matches fully with what i'm seeing. i can either get a string out of it or a proc of procs (the loop i mentioned earlier)
<Porfa_>
hey a guys i don't know whats going n, but on the computer I'm working connecting to my unix box/term, rby is spitting out \u=03029302930 wtv codes instead of special characters… anyone knows whats going on?
<Igorshp>
trying to wrap my head around the code you linked
<Porfa_>
news.at_css('.price').text => "29,60 \u20AC" instead of "29,60 €"
JDiPierro has quit [Remote host closed the connection]
<jhass>
Igorshp: how is :aws_access_key_id set?
Soda has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
quimrstorres has quit [Ping timeout: 276 seconds]
kyrylo has joined #ruby
<jhass>
(and how is the default set)
_maes_ has joined #ruby
nettoweb has joined #ruby
<jhass>
Porfa_: make sure to force the string into the right encoding before passing it to nokogiri
mengu has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
<workmad3>
Porfa_: i.e. that string contains the characters you expect, it's just one of them is being represented by the unicode codepoint rather than rendered as a glyph (which is fairly typical for .inspect output in ruby)
<Igorshp>
to see if part of the credentials been set by user
<jhass>
why do you need to know?
<Igorshp>
iam_creds returns the full set of credentials. user will only override 2, the rest needs to be nil in this case
orionstein has joined #ruby
mengu has joined #ruby
<jhass>
I feel like I'm missing something
<jhass>
what do you need to fetch the full set of credentials?
_blizzy_ has quit [Ping timeout: 250 seconds]
alexherbo2 has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
agarie has joined #ruby
jgabrielygalan has joined #ruby
arup_r has quit [Remote host closed the connection]
krzkrz has joined #ruby
alex88 has joined #ruby
krz has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby
<Igorshp>
here's scenario: iam creds fetches aws iam_role credentials on the node, if they are available(and for this scenario they are). key_id, secret and session_token. That part works great. However, the user may want to override the credentials for some reason. the user would set key_id and secret. When he now runs kitchen, key_id and secret are the overriden values, but session_token is obtained from iam_role. that session token does not match key_
<Igorshp>
id and secret and the auth fails
mengu has quit [Client Quit]
<Igorshp>
the problem is as simple as setting session_token=nil if key_id and secret is provided by user
<kaleido>
s3?
<jhass>
mh, okay I think I see
JDiPierro has joined #ruby
charliesome has joined #ruby
echelon has joined #ruby
sigurding has quit [Quit: sigurding]
deuterium has quit [Quit: zzZZZzzz..]
<Igorshp>
I was hoping i could simply test the parameter to see where it came from. But looks like that's not an option
<Igorshp>
and it would require additional flags in the class to work
Limix has joined #ruby
<jhass>
well it would work
<jhass>
I'm not sure it's very clean though
ponga has quit [Quit: Connection closed for inactivity]
lavros has joined #ruby
mikenovikov has joined #ruby
sigurding has joined #ruby
Zamyatin has joined #ruby
<jhass>
but anyway, to bypass LazyHash, simply call config.__getobj__.
oo_ has joined #ruby
sigurding has quit [Client Quit]
DerisiveLogic has quit [Ping timeout: 250 seconds]
Aswebb_ has quit [Remote host closed the connection]
<jhass>
so config.__getobj__[:aws_access_key_id].is_a? Proc
<jhass>
as said, I feel like there's a cleaner solution
<Igorshp>
I spent most of the morning debugging this :)
<jhass>
but it probably involves making iam_creds a stateful class
tkuchiki has quit [Remote host closed the connection]
<echelon>
what's the diff between a development dependency and a regular dependency?
tkuchiki has joined #ruby
<jhass>
echelon: in a gemspec?
<echelon>
yeah
DerisiveLogic has joined #ruby
<jhass>
a development_dependency is informational afaik, it won't be pulled in by gem install or bundler
zenith_ has quit [Ping timeout: 244 seconds]
<jhass>
add_dependency is an alias for add_runtime_dependency btw
<echelon>
ok thanks
odin22 has joined #ruby
<workmad3>
jhass: there's a flag you can pass to 'gem install' to install development deps
VictorBjelkholm has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
<jhass>
I feared so, thus afaik :P
<workmad3>
basically, development_deps are for things people would need if they wanted to contribute to the gem's development or do something like run tests on an installed gem version (and can be installed on request), while runtime deps are things the gem always needs
tkuchiki has quit [Read error: Connection reset by peer]
<echelon>
is there a way to get a list of reverse dependencies?
<adaedra>
reverse?
triple_b has joined #ruby
<jhass>
I tend to only put stuff to run testsuite into development dependencies and everything beyond into the Gemfile
<echelon>
like.. finding out what other gems depend on a given dependency
<workmad3>
jhass: sounds reasonable... I'd guess 'everything else' is really 'tools jhass finds useful as part of his dev workflow'? :)
<jhass>
yeah
<echelon>
the only thing i can think of is looping through 'gem list' and grepping for any instance of the given gem
<jhass>
yard, pry, coveralls, stuff like that
<workmad3>
jhass: hmm... I'd be tempted to put yard in as a dev dependency if you're writing yardoc in your code
jobewan has quit [Read error: Connection reset by peer]
jph98 has quit [Client Quit]
willharrison has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
iwishiwerearobot has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
VBlizzard has joined #ruby
quimrstorres has joined #ruby
zarubin_ has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
Mark-6ma has joined #ruby
Advocation has quit [Quit: Advocation]
MZAWeb has joined #ruby
RegulationD has joined #ruby
MZAWeb has left #ruby [#ruby]
abackstrom has left #ruby [#ruby]
iceden has quit [Read error: Connection reset by peer]
jgabrielygalan has quit [Quit: Leaving]
hpoydar has joined #ruby
fryguy9 has joined #ruby
freerobby has quit [Quit: Leaving.]
aganov has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 246 seconds]
willharrison has quit [Ping timeout: 276 seconds]
<echelon>
i have a gem in a local dir not installed via gem install, how would i require it?
<jhass>
add it to the load path
<jhass>
either by invoking ruby with the -I flag or modifying $LOAD_PATH inside your script
<jhass>
you can also use bundlers path option if you have a Gemfile
sevvie has quit [Ping timeout: 244 seconds]
<echelon>
the dir tree is like this.. public_suffix-1.4.6/lib/{public_suffix,public_suffix.rb}
<kaleido>
wouldnt require "./file.rb" work as well?
<adaedra>
if you have a Gemfile, you can use bundler’s path option, yes
<adaedra>
quickest option
hectortrope has quit [Quit: WeeChat 0.4.2]
work_op has joined #ruby
<echelon>
jhass: it would have to be done in the code without modifying env vars and such
<jhass>
echelon: yes, you want to ensure lib is in the load path via one of the three options I outlined
hectortrope has joined #ruby
<echelon>
for my case
<jhass>
>> $LOAD_PATH
<ruboto>
jhass # => ["/execpad/interpreters/ruby-2.2.0/lib/ruby/site_ruby/2.2.0", "/execpad/interpreters/ruby-2.2.0/lib/ ...check link for more (https://eval.in/309362)
<jhass>
not an environment variable
charliesome has quit [Quit: zzz]
hanmac1 has quit [Quit: Leaving.]
<echelon>
so how do i modify $LOAD_PATH in the code
<adaedra>
by modifying $LOAD_PATH :)
<adaedra>
it’s a global variable
<jhass>
and an Array
Elliott__ has quit [Quit: Leaving]
zarubin_ has quit [Remote host closed the connection]
vtunka has quit [Quit: Leaving]
odin22 has quit [Read error: Connection reset by peer]
<eam>
"global variables in ruby start with a dollar sign" is probably important to add :)
hectortrope has quit [Quit: WeeChat 0.4.2]
davedev24_ has joined #ruby
icebourg has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
nszceta has joined #ruby
inavele has joined #ruby
havenwood has joined #ruby
oo_ has quit [Remote host closed the connection]
aryaching has joined #ruby
quimrsto_ has joined #ruby
cpt_yossarian has quit [Ping timeout: 250 seconds]
sevvie has joined #ruby
tier_ has joined #ruby
quimrsto_ has quit [Read error: Connection reset by peer]
<Senjai>
I would totally be down for abstract classes in ruby
<Senjai>
I had this dicussion a while ago
dj_zubehoer has joined #ruby
<jhass>
well, it's main reason is that it allowed for some rather huge optimization in the type interference
einarj has quit [Remote host closed the connection]
<jhass>
personally I don't see why you can't use a module instead
bMalum has quit [Quit: bMalum]
davedev24_ has quit [Ping timeout: 248 seconds]
davedev24_ has joined #ruby
<Senjai>
jhass: Can't inherit from a module, and its fine to have two classes inherit from a common set of responsibility, where that set is not meant to be used on its own
<Senjai>
and can be specified as an interface
<Senjai>
E.g. raise NotImplementedError for template methods.
<jhass>
I see include as form of inheritance
shazaum has joined #ruby
<GaryOak_>
^ this
GnuYawk has quit [Quit: WeeChat 1.0]
<GaryOak_>
composition instead of inheritance
weemsledeux has joined #ruby
n1x has quit [Ping timeout: 252 seconds]
gfawcettpq has quit [Ping timeout: 240 seconds]
GnuYawk has joined #ruby
Zai00 has quit [Quit: Zai00]
vudew has quit [Quit: Lost terminal]
tuelz has joined #ruby
Zai00 has joined #ruby
Zai00 has quit [Client Quit]
<workmad3>
if you go by implementation, include is a form of inheritance in ruby... inserts into the ancestors chain, works with 'is_a?' etc... it's just used for different semantic purposes :)
n1x has joined #ruby
<krainboltgreene>
Are modules good singleton objects?
n1x has quit [Changing host]
n1x has joined #ruby
Biopandemic has joined #ruby
Hirzu has quit [Remote host closed the connection]
<avril14th>
what's a bad singleton object?
<avril14th>
wakes up and kills you at night?
freerobby has joined #ruby
<GaryOak_>
avril14th: is the killer waking up, or the person they are going to kill?
<krainboltgreene>
Good question.
wallerdev has joined #ruby
<GaryOak_>
krainboltgreene: do you mean a singleton singleton, or a ruby singleton?
<krainboltgreene>
I was realizing this class I'm defining really doesn't need to be instantiated. There's behavior, but no state or data.
Igorshp has quit [Remote host closed the connection]
leafybas_ has quit [Remote host closed the connection]
<GaryOak_>
then just use it as a module
Biopandemic has quit [Client Quit]
<GaryOak_>
unless it needs to inherit from a parent class
FrankD has joined #ruby
RandyT has joined #ruby
_djbkd has quit [Remote host closed the connection]
<krainboltgreene>
I hate to write a whole bunch of singleton methods though.
<Senjai>
jhass: It is a form of inheritance for sure, but there is no strict way to check if a class impliments the ModuleName interface. You can use duck typing with respond_to? but there is value in thing.is_a?(AbstractController)
<GaryOak_>
krainboltgreene: they aren't singleton methods, they are static methods
<Senjai>
Especially when developing libraries
Aswebb_ has quit []
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roolo has quit [Remote host closed the connection]
<GaryOak_>
krainboltgreene: and they are fine to put in your code
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimms_ has quit []
mostlybadfly has quit [Quit: Connection closed for inactivity]
sevvie has quit [Remote host closed the connection]
mostlybadfly has joined #ruby
jerematic has quit [Remote host closed the connection]
f3lp has joined #ruby
User458764 has joined #ruby
Ellis has joined #ruby
Echoes-- has joined #ruby
<Ellis>
how can i return an object that doesn’t have the same id as the object i’m returning? e.g. 5 and 5 don’t have the same id
tvw has quit [Remote host closed the connection]
vvikramjhu__ has quit [Ping timeout: 255 seconds]
<jhass>
Your question seems to lack a lot of context
basiclaser has joined #ruby
_djbkd has joined #ruby
<Ellis>
i have a method that takes an array, a minimum size, and a value to pad the array with, the spec wants me to return the new array but if it is the same array (because it has no changes) it wants a new object (so it doesn’t have the same object id) i used clone but that didn’t work
<jhass>
it should, you use clone incorrectly then
gfawcettpq has joined #ruby
<Ellis>
derp
<Ellis>
i did, return array.clone
<jhass>
looks good on its own
mjuszczak has joined #ruby
<jhass>
maybe that branch of your code was never reached though, or maybe you're misinterpreting the spec failure after that change
<Ellis>
i think i’m misinterpreting the spec
<Ellis>
><
<Ellis>
thanks
tuelz has quit [Quit: WeeChat 1.0]
krisquigley has joined #ruby
<jhass>
btw if you want better help you need to show your code (and preferably the failing spec with its failure output)
weemsledeux has joined #ruby
<Ellis>
cool ill do that next time
quimrsto_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
quimrstorres has joined #ruby
zlude has joined #ruby
ennmob has quit [Read error: Connection reset by peer]
<zlude>
Hello! How to know if I'm using MRI?
<jhass>
zlude: ruby -v
DexterLB has quit [Quit: So long and thanks for all the fish]
<csaunders>
on most systems it'll be that Ruby. The other ones you typically have to install yourself (rbx, jruby, etc.) And they'll say it in the version
<csaunders>
i.e. jruby - jruby 1.7.18 (1.9.3p551) 2014-12-22 625381c on Java HotSpot(TM) 64-Bit Server VM 1.7.0_17-b02 +jit [darwin-x86_64]
<havenwood>
zlude: Another way to check is to look at `RUBY_ENGINE` and see if it's `"ruby"`: ruby -e "p RUBY_ENGINE"
<zlude>
jhass, MRI is the Ruby interpreter, sure? We can use JRuby instead of MRI, sure? So, MRI is default?
<wasamasa>
YES
aryaching has quit [Ping timeout: 250 seconds]
<jhass>
zlude: the default of what?
Rollabunna has quit [Remote host closed the connection]
quimrstorres has quit [Ping timeout: 246 seconds]
<zlude>
default interpreter that comes with standard ruby
Rollabunna has joined #ruby
<jhass>
what's "standard ruby"
rodfersou has quit [Quit: leaving]
doodlehaus has quit [Ping timeout: 245 seconds]
Porfa_ has quit [Client Quit]
rodfersou has joined #ruby
aryaching has joined #ruby
RegulationD has joined #ruby
SouL has joined #ruby
<zlude>
jhass, oh god hehe, just keep it out. i found what i need in google. thank you anyway. for both of yous guys, havenwood and <wasamasa>
<jhass>
MRI is what ruby-lang.org is for, it's the reference implementation of Ruby, the most widely used implementation and it's commonly packaged as "ruby", if that's what you're asking
overcrush has quit [Ping timeout: 248 seconds]
<havenwood>
zlude: Matz' Ruby Interpreter (MRI), also known as CRuby or just Ruby, is the reference implementation of Ruby. It's RUBY_ENGINE is "ruby".
serivichi has joined #ruby
longfeet has quit [Ping timeout: 250 seconds]
jjasonclark has joined #ruby
<zlude>
havenwood, thank you.
<havenwood>
zlude: JRuby's is "jruby", Rubinius' is "rbx", Topaz is "topaz", etc.
teddyp1cker has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
Azulinho has joined #ruby
quimrstorres has joined #ruby
CustosL1m3n has quit [Ping timeout: 264 seconds]
<Senjai>
jhass: TIL
<jhass>
:)
DrShoggoth has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
<Senjai>
Point being, is yes, I'm super pro composition, but not for the sake of composition :P. There are legitimate opporunities for inheritance
<jhass>
I actually can see a point of an abstract class with enforced implementations by childs in Ruby
<Senjai>
Aye
<jhass>
the fun part is that the current Ruby model would cause compile time errors in Crystal
<Senjai>
That's what I would be voting for
<jhass>
if you mess up
<Senjai>
By not implimenting a template method?
<jhass>
for example
<jhass>
but things like returning a type that doesn't respond to a method the caller expects on it too etc
<Senjai>
One thing I'm happy about with interpreted languages, is that they force you to get into good habits with testing, well not force, but strongly encourage
<jhass>
and thinking about it, we could make abstract def work for modules too in Ruby
<jhass>
yeah true
<Senjai>
Working in C++ the past few days, so many rely on the compiler to do some of their testing for them
pietr0 has joined #ruby
<Senjai>
Which is badnewsbears
<jhass>
I wrote zero tests for DeBot, yet I had to fix maybe half a dozen runtime errors
<jhass>
compilers catch the common mistakes early
<Senjai>
jhass: I'm not sure about that. I wouldn't want multiple inheritance to be too wildly encouraged. I simply would want modules used for mixins or implimenting common interfaces. I could see people going cray cray if they get encouraged to do really crazy things with them
<Senjai>
Instead of composition
<Senjai>
jhass: Yeah, but you should still write tests. Many native communities don't
<jhass>
well, preventing people from stupid things is not something Ruby is good at :P
<Senjai>
Or only do it for run time related things, or regression testing
<Senjai>
I wouldn't disagree with you :P
<jhass>
I'd do for production stuff
<jhass>
that one's hobby, so I didn't care
<jhass>
I'll probably backfil once I extract the IRC library/framework into its own project
<Senjai>
I'm talking about production code though. Like C++ prod code, with very few tests. It's insane! Especially because of how many things can go TERRIBLY wrong with C++.
dogsitr has joined #ruby
<wasamasa>
TERRIBLY
<sivoais>
I know huge C++ codebases that have tests, but when you look into them, all they do is instantiate each class. :-| No functional tests.
<wasamasa>
Senjai: well, I'm looking for the reason it doesn't terminate
<Senjai>
unsigned integers can only be positive
<Senjai>
0 - 1 = 2,147,483,647 on a 32 bit system
<Senjai>
It wraps around
<wasamasa>
oh, right
<Senjai>
as I said, TERRIBLE TERRIBLE things can happen xD
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
Advocation has quit [Quit: Advocation]
<sivoais>
should be 2**32-1 = 4294967295
<Senjai>
sivoais: Right, sorry
<Senjai>
unsigned..
cpt_yossarian has quit [Ping timeout: 245 seconds]
rdark has joined #ruby
riotjones has joined #ruby
Notte has quit [Remote host closed the connection]
ghr has joined #ruby
piotrj has quit [Remote host closed the connection]
teddyp1cker has quit [Remote host closed the connection]
<GaryOak_>
those off by one errors can kill, literally!
SouL has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit [Ping timeout: 256 seconds]
jconnolly has quit [Ping timeout: 248 seconds]
jerematic has joined #ruby
serivichi has quit [Ping timeout: 240 seconds]
Limix has quit [Quit: Limix]
max96at|off is now known as max96at
SouL has joined #ruby
merqlove has joined #ruby
<Senjai>
Point being, I think rubyists are the ahead of the curve, if they bring testing with them to other languagers
TheGugaru has joined #ruby
<sweeper>
unless it's rspec testing
fantazo has quit [Ping timeout: 245 seconds]
<sweeper>
then everyone will just laugh
<Senjai>
rspec is fine.
thumpba has joined #ruby
centrx has joined #ruby
<wasamasa>
sure they are
* wasamasa
added tests to an emacs package last week
<wasamasa>
I'll guess I should be glad for the rubyists introducing BDD
zorak8 has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
zorak8 has joined #ruby
baweaver has joined #ruby
jlast has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
<cout>
so I've got a RClass* from a core file. any easy way to get the name of the class?
dogsitr has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
jlast has joined #ruby
sinkensabe has joined #ruby
zarubin_ has joined #ruby
withnale_ has quit [Ping timeout: 240 seconds]
<atmosx>
aloha
<atmosx>
John Oliver is amazing
Azulinho has quit [Ping timeout: 246 seconds]
jcromartie has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
<jhass>
what ruby library did he wrote?
<atmosx>
wasabi
BradPitt has quit [Ping timeout: 265 seconds]
sinkensabe has quit [Ping timeout: 240 seconds]
zarubin_ has quit [Ping timeout: 264 seconds]
<Senjai>
cout: wat
thumpba has quit [Read error: Connection reset by peer]
thumpba has joined #ruby
hmnhf_ has joined #ruby
hgl has quit [Ping timeout: 240 seconds]
thumpba__ has joined #ruby
_djbkd has joined #ruby
fantazo has joined #ruby
jjasonclark has quit [Quit: jjasonclark]
<naftilos76>
Hi, is there a way to capture data from linux terminal apps like 'dstat' which returns a new line of system statistics based on an interval defined by the user. I could certainly capture a one-time-execution return string by doing in the case of dstat while in a ruby script: `dstat -cndm --float --freespace 1 0` . This executes once and therefore i can do var = `system command` . But what if the app can operate on a time interval? Is there a way to
<naftilos76>
capture every new line of dstat ?
thumpba__ has quit [Read error: Connection reset by peer]
<csaunders>
you want the output?
thumpba__ has joined #ruby
thumpba has quit [Ping timeout: 252 seconds]
<naftilos76>
yep
hgl has joined #ruby
dj_zubehoer has quit [Remote host closed the connection]
Zen-Zen has quit []
<jhass>
naftilos76: open3 / popen are the category of library /calls you want to look into
<naftilos76>
i basically want to manipulate the string returned and throw each value into a db table
<atmosx>
naftilos76: I don't think you can do that. However catching/using lines from terminal is better done with open3, gives better handling of the output and signals.
dj_zubehoer has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
<jhass>
you can, with open3/popen
<atmosx>
jhass: you sure he can?
<jhass>
reading another process stdout line by line? pretty sure
<naftilos76>
thanks a lot, let me have a look at open3
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
dj_zubehoer has quit [Remote host closed the connection]
<csaunders>
pretty sure that thing is broken now... I should really get around to fixing it. But most of the gifs I need these days are of cats and the internet already provides enough of those.
<atmosx>
hehe
wallerdev has quit [Quit: wallerdev]
Notte has joined #ruby
thumpba__ has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
jenrzzz has joined #ruby
wallerdev has joined #ruby
<atmosx>
Off to the movies to watch a totally shitty movie!
<atmosx>
bbl
* atmosx
actively supports the Movies industry.
sevvie has joined #ruby
zz_zz_AlphaTech is now known as AlphaTech
Sonny_Jim has joined #ruby
doodlehaus has joined #ruby
<GaryOak_>
atmosx: what movie?
<Sonny_Jim>
I'm trying to install metasploit using ruby from rvm, on the "bundle install" command I get this error: undefined symbol: rb_Digest_SHA1_Init
<jhass>
Sonny_Jim: #metasploit might have a better idea
work_op has quit [Read error: Connection reset by peer]
<postmodern>
Sonny_Jim, also ask in #rvm, might be an rvm issue
<Sonny_Jim>
Will do
<naftilos76>
jhass: Which is the gem? i tried 'gem install open3' and got a response that no gem exists under that name
The_Phoenix has quit [Read error: Connection reset by peer]
<jhass>
naftilos76: it's in stdlib
<naftilos76>
oh!
mjuszczak has quit []
rhllor has quit [Quit: rhllor]
jconnolly has joined #ruby
overcrush has joined #ruby
dj_zubehoer has quit []
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
amdbcg1 has joined #ruby
amdbcg has quit [Read error: No route to host]
mjuszczak has joined #ruby
gfawcettpq has quit [Ping timeout: 245 seconds]
baweaver has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
<naftilos76>
jhass: I tried this in irb but i am not really sure what i have to do to access the data of dstat: data = Open3.capture2e("dstat -cndm --float --freespace")
<naftilos76>
After i do that, it just stays there
<jhass>
you want a variant that gives an io for stdout
<naftilos76>
i have to CTRL+C
<jhass>
yeah
mrsolo has joined #ruby
<naftilos76>
i am not sure how to do that
overcrush has quit [Ping timeout: 250 seconds]
SouL has quit [Ping timeout: 246 seconds]
Sonny_Jim has left #ruby [#ruby]
<jhass>
you want popen2 or popen2e
<naftilos76>
ok let me see
aswen has joined #ruby
<jhass>
and then stdout.each_line or so
mjuszczak has quit [Client Quit]
<havenwood>
jhass: nice, i wonder about adding --with to RubyGems as well
pietr0 has quit [Ping timeout: 250 seconds]
sankaber has quit [Ping timeout: 250 seconds]
xybre has quit [Ping timeout: 250 seconds]
kirun has joined #ruby
inavele has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
<jhass>
do it, I'm fine with telling my users to install bundler
amdbcg1 has quit [Ping timeout: 250 seconds]
<jhass>
I really didn't expect to be that easy
<havenwood>
;)
<jhass>
I mean look at the associated discussions (2 edges)
amdbcg has joined #ruby
pietr0 has joined #ruby
Takle has joined #ruby
<jhass>
(I mean not my proposal but the competing ones)
razrunelord has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinning_ has quit [Remote host closed the connection]
<naftilos76>
jhass: I am really greatfull. You are always helpfull! It worked with popen
<GaryOak_>
The optional is nice, because then you can set a reasonable default for your gem
<jhass>
Senjai: yeah, you don't develop an app that's shipped to sysadmin newbies
baweaver has joined #ruby
c355E3B has joined #ruby
sinkensabe has joined #ruby
<jhass>
GaryOak_: nope, this is bundler, not rubygems
meschiv2 has quit [Ping timeout: 250 seconds]
<jhass>
it's for projects that use bundler, not for gems
<GaryOak_>
but I mean when you are doing a project
<Senjai>
jhass: I would declare my dependencies, to be dependencies. They shouldn't change.
<GaryOak_>
or building a gem
<Senjai>
If you want to support multiple databases, include all of the adapters
<Senjai>
If you want to include things that only work with a specific driver, just add it as a dependency
<jhass>
no, I won't demand from my users to install dev headers for something they don't need
_hollywood has quit [Quit: Leaving]
<Senjai>
If the application is meant to be able to "use a bunch of different things" then it is dependent on those different things
<Senjai>
Otherwise, dont include them as dependencies, and use seperate gems
tpimtts is now known as tpimtts_away
aswen has quit [Ping timeout: 248 seconds]
quimrstorres has quit [Remote host closed the connection]
_hollywood has joined #ruby
gfawcettpq has joined #ruby
<jhass>
go through the references in the linked issues, especially the ones coming from commits. Look at Redmines Gemfile, or discoures. Convince all these projects to drop their hacks. If you accomplished that you can convince me
quimrstorres has joined #ruby
<jhass>
also with that argument you need to convince bundler to drop --without
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
<jhass>
what I essentially did was adding another interface to what --without does
TheNet has joined #ruby
<jhass>
I did not add the possibility of conditionally installing gems, I added another interface to it
grn has joined #ruby
sinkensabe has quit [Remote host closed the connection]
User458764 has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
Notte has quit [Remote host closed the connection]
xybre has joined #ruby
Hounddog has quit [Ping timeout: 240 seconds]
quimrstorres has quit [Ping timeout: 265 seconds]
teddyp1cker has joined #ruby
riotjones has joined #ruby
casadei has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
jottr has joined #ruby
jheg has joined #ruby
casadei has joined #ruby
tvw has joined #ruby
DexterLB has joined #ruby
agarie has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Zamyatin has joined #ruby
TheGugaru has joined #ruby
<TheGugaru>
evanjs if ruby is slow for you, you either have a misconfiguration or you are doing something in your code that is taking a substantial amount of time to process
quimrstorres has quit [Remote host closed the connection]
TheNet has quit [Remote host closed the connection]
quimrstorres has joined #ruby
meschi__ has quit [Ping timeout: 245 seconds]
zarubin_ has quit [Ping timeout: 256 seconds]
<shevy>
that can be
<shevy>
my irb startup is like 5 seconds
<shevy>
because I load every gem I have
<shevy>
more than 300 of them
rbennacer has quit [Remote host closed the connection]
<TheGugaru>
evanjs I have forms that are thousands upon thousands lines of code that run an enterprise level database and page loads are under a minute and I can pull thousands of records in seconds
revoohc has quit [Quit: revoohc]
wildroman2 has quit [Remote host closed the connection]
quimrstorres has quit [Ping timeout: 264 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
rbennacer has joined #ruby
byprdct has joined #ruby
wildroman2 has joined #ruby
c355E3B has quit [Quit: Leaving]
tuelz has joined #ruby
<GaryOak_>
You can do async requests and then send them the records later
taxen has joined #ruby
<evanjs>
why would you have a form that is thousands of lines long?
GnuYawk has quit [Ping timeout: 264 seconds]
ta_ has quit [Quit: Leaving...]
ghr has joined #ruby
horsecowdog has quit [Remote host closed the connection]
ta_ has joined #ruby
naftilos76 has joined #ruby
ta_ has quit [Client Quit]
quimrstorres has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<TheGugaru>
evanjs financial forms, and client intake forms with hidden fields that appear when options are selected
<TheGugaru>
I build software not websites so code becomes exponentially longer and larger when coding for business logic versus web logic
Pharaoh2_ has joined #ruby
Pharaoh2 has quit [Disconnected by services]
<TheGugaru>
evanjs for instance a client I just finished has a financial form with a total 456 fields on it and over 20k lines of code to handle the display and presentation of the data for their reps. It loads in less than 10 seconds
<evanjs>
seems strange, maybe functional programming methodologies could help
<TheGugaru>
evanjs LOL no sorry that is not true
<evanjs>
whats not true that it loads in less than 10 seconds?
<TheGugaru>
When doing business software the goal is to automate their paperwork and to automate paperwork and document generation can take a ton of fields to achieve. Business software is in a playpen all of its own.
<TheGugaru>
you state was not true
<TheGugaru>
I am already using functional programming methodologies
<TheGugaru>
the business logic and display is just massive
<GaryOak_>
Use React, what are you doing bro! jk, you probably know what you are doing
Pumukel has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<TheGugaru>
GAH React NO
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GaryOak_>
What are you using for the frontend?
quimrstorres has joined #ruby
snath has quit [Ping timeout: 256 seconds]
<TheGugaru>
His application is browser based so HTML JS and CSS
<GaryOak_>
just straight js?
<eam>
I don't see how the number of fields on a form is relevant to complexity
<evanjs>
whos application is browser based?
sigurding has quit [Quit: sigurding]
<TheGugaru>
The one with 456 fields on their new client form
mikenovikov has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<TheGugaru>
eam greater number of fields means more business logic more business logic means more processing code. So therefor in this instance it is relevant to complexity my friend.
tercenya has quit [Remote host closed the connection]
<evanjs>
but why have all that complexity in one place jsut seems odd. And why wouldn't alot of that complexity be in a rules engine to reduce complexity of the code
tercenya has joined #ruby
<TheGugaru>
evanjs that is your lack of understanding of financial systems and document generation that leads you to that conclusion.
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<eam>
TheGugaru: fwiw I don't have a lack of understanding for large scale complex systems (including in the financial industry) and I'm having trouble making sense out of your statements
quimrstorres has quit [Ping timeout: 246 seconds]
<TheGugaru>
evanjs this form starts the whole client process generates financing agreements, payment contracts, and other important legal documents to be signed through docusign.
spider-mario has quit [Ping timeout: 240 seconds]
fantazo has quit [Quit: Verlassend]
gusrub has joined #ruby
spider-mario has joined #ruby
<evanjs>
Yeah your probably right I only worked on Fidelity's defined benefits and contribution transaction systems fro 10 years and oversaw all that fund prospectus generation code, and I'm not that smart ;)
<evanjs>
DOCUSIGN AHHH
<evanjs>
hate docusign say no more
<TheGugaru>
eam sorry did not mean to poke you like LOL but I am here to tell you that not all applications are simple and not all applications can be broken out into pretty little tidbits of code. I have been programming in ruby for almost 13 years now and I have had some very large and complex hunks of code that COULD NOT be reduced because of the business processes that is involved.
<evanjs>
from here out we shall refer to docusign as that which shall not be named
weemsledeux has joined #ruby
quimrstorres has joined #ruby
<TheGugaru>
evanjs docusign is the nicest of all the document signing API's at least in my opinion as I have worked with several. I just like how they have stuff setup :D
ghr has quit [Ping timeout: 264 seconds]
mutenewt has joined #ruby
<evanjs>
no worries I would recommend c++ its easier than ruby ;)
mutenewt has quit [Max SendQ exceeded]
enterprisedc has joined #ruby
<TheGugaru>
thats a personal preference. and no to C++ I know but do not like it
mutenewt has joined #ruby
<TheGugaru>
prefer ruby for business stuff if I want to build a game ill go to C++ LOL
<evanjs>
I have had a series of issues with docusign, just stability issues
<TheGugaru>
evanjs well there is that with any prewritten api isn't there :D
<evanjs>
but I don't use it any longer so maybe it has gotten better
<evanjs>
maybe
<GaryOak_>
Just two enterprise Ruby devs, talking about enterprise Ruby dev problems
<TheGugaru>
they now have a restful API so it has a hell of a lot less bugs
<GaryOak_>
nothing to see here
<TheGugaru>
GaryOak_ LOL
<evanjs>
lol
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<evanjs>
yeah I don't use ruby the 3d graphics api isn't where it needs to be yet ;)
quimrstorres has quit [Remote host closed the connection]
<TheGugaru>
no not at all
<TheGugaru>
great for business not games :D
wildroman2 has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Zamyatin has joined #ruby
wildroman2 has joined #ruby
<eam>
TheGugaru: I've worked on stuff much more complex than business forms so yes I'm aware. The ... generalizations you're making however ...
<evanjs>
isn't gaming a business?
<centrx>
seems like troll
<TheGugaru>
eam I am not making generalizations you are just reading it that way
snath has joined #ruby
fryguy9 has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
nemish__ has joined #ruby
fryguy9 has joined #ruby
nemish__ is now known as nemish
<evanjs>
trolls like the kind with the crazy hair and a ruby in their belly?
<TheGugaru>
evanjs LMAO
<TheGugaru>
ruby its tummy and make a wish!
TheNet has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
<nemish>
on centos7 it appears ruby/gem are installed in /usr/bin but gems get installed in /usr/local/bin ... any idea why that might be? is there a way to globally assign the executable path back to /usr/bin?
lewix has joined #ruby
codecop has quit [Remote host closed the connection]
TheNet has quit [Client Quit]
<eam>
nemish: are the gems coming from EPEL?
<nemish>
gem install
<nemish>
so "gem install librarian-puppet"
<nemish>
but when I do a "sudo librarian-puppet update" it complains librarian-puppet isn't found because /usr/local/bin isn't in root's path... so while I can add it to the PATH i'm trying to understand the rationale for moving them to /usr/local/bin and if that can be changed back
Scriptonaut has left #ruby [#ruby]
decoponio has quit [Quit: Leaving...]
wallerdev has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
aryaching has quit [Ping timeout: 250 seconds]
ki0 has quit [Remote host closed the connection]
riotjones has joined #ruby
freerobby1 has quit [Ping timeout: 245 seconds]
frem has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
freerobby has joined #ruby
mbeasley has joined #ruby
wildroman2 has quit [Remote host closed the connection]
Darryl___ has quit [Quit: Connection closed for inactivity]
<helpa>
Hi Sonny_Jim. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa>
Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
<Sonny_Jim>
Ah ok
queequeg1 has joined #ruby
sevvie has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
<canton7>
polite bot :P
JoshGlzBrk has quit [Ping timeout: 245 seconds]
<Sonny_Jim>
Just wondering why ruby is being built with undefined openssl symbols :\
ndrei has joined #ruby
jheg has quit [Quit: jheg]
x1337807x has quit [Client Quit]
jonr22 has joined #ruby
amdbcg1 has joined #ruby
amdbcg has quit [Read error: Connection reset by peer]
jconnolly has joined #ruby
workmad3 has joined #ruby
x1337807x has joined #ruby
atom3 has quit [Read error: Connection reset by peer]
labria has quit [Quit: labria]
cocotton has quit [Remote host closed the connection]
MissionCritical has joined #ruby
cocotton has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
atom3 has joined #ruby
FrankD has joined #ruby
baweaver has quit [Remote host closed the connection]
Ellis has joined #ruby
ta has joined #ruby
bim has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbwe has joined #ruby
Notte has joined #ruby
baweaver has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
ta has quit [Client Quit]
Sonny_Jim has left #ruby [#ruby]
ta has joined #ruby
blackmesa has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
pullphinger has quit []
Megtastique has quit []
gsd has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
overcrush has quit [Remote host closed the connection]
jefus__ is now known as jefus
<markalanevans>
Fun
<kenichi>
oh hi
<markalanevans>
I haven't played w/ it to much
<GaryOak_>
It's built on Reel/Celluloid instead of EventMachine
<markalanevans>
haha
<GaryOak_>
hehe
<markalanevans>
hi kenichi
<kenichi>
note that angelo doesn't support rack at all
quintinadam has quit [Ping timeout: 245 seconds]
jefus_ has quit [Ping timeout: 252 seconds]
<kenichi>
markalanevans, GaryOak_ : feel free to ping me with any questions tho :)
makepkgnotwar has joined #ruby
<GaryOak_>
kenichi: thanks! Angelo is really cool, I'm also a Celluloid fan too
<kenichi>
thank you!
* kenichi
blushes
VBlizzard has joined #ruby
tfitts has joined #ruby
<centrx>
I prefer node.js
<GaryOak_>
lol
overcrush has joined #ruby
<c355E3B>
erlang is where its at man
<mozzarella>
elixir*
meschiv2 has quit [Ping timeout: 256 seconds]
<c355E3B>
same thing
chrishough has joined #ruby
<c355E3B>
its all bytecode in the end
<tfitts>
I have a string that came from a PDF I scanned and it has a character that I have found is 183.chr is there a way to gsub or split on that character?
<helpa>
What "didn't work"? Did your server not start? Did your computer explode? Did your webpage turn bright pink? Did your client not pay your bill on time? You may have to be more specific. A Gist (http://gist.github.com) of the code that doesn't work (and the error you are getting) will be helpful.
Pupeno has quit [Remote host closed the connection]
<GaryOak_>
Pretty soon this channel will just be people controlling bots to talk to people
baroquebobcat has quit [Quit: baroquebobcat]
ixti has joined #ruby
Azure has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<jhass>
software archaeology, once all atomic problems are solved you just glue them together ;)