TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jose_leeto has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 240 seconds]
Coldblackice has quit []
kanobt61 has quit [Read error: Connection reset by peer]
AndrewIsHere has quit [Remote host closed the connection]
ramfjord has joined #ruby
Coldblackice has joined #ruby
aryaching has joined #ruby
drbrain has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
kx has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
tomasm- has quit [Quit: Leaving]
pawnbox has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
kanobt61 has joined #ruby
lightheaded has joined #ruby
drbrain has joined #ruby
drbrain has quit [Changing host]
drbrain has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
habitullence has joined #ruby
LoneHerm_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
LoneHerm_ has quit [Remote host closed the connection]
lightheaded has quit [Ping timeout: 250 seconds]
prawnzy has quit [Remote host closed the connection]
habitullence_ has quit [Ping timeout: 244 seconds]
nankyoku_ has joined #ruby
qakar has joined #ruby
Immune has quit [Ping timeout: 260 seconds]
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
Beast has joined #ruby
nankyoku_ has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
ramfjord has joined #ruby
elenatanasoiu has joined #ruby
ICantCook has joined #ruby
Vingador has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
duderonomy has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
hotpancakes has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
jtzero has joined #ruby
A_Drone has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
Dusk_Soul has joined #ruby
Dusk_Soul has left #ruby [#ruby]
sniff has joined #ruby
Bellthoven has joined #ruby
qakar has quit [Remote host closed the connection]
qakar has joined #ruby
bmurt has joined #ruby
qakar has quit [Remote host closed the connection]
eljimbo has joined #ruby
pawnbox has joined #ruby
chadhs has joined #ruby
wombawomba has quit [Ping timeout: 260 seconds]
jonyijoe has joined #ruby
hotpancakes has joined #ruby
Bellthoven has quit []
ebbflowgo has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
Channel6 has joined #ruby
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
jonyijoe has quit [Ping timeout: 276 seconds]
kanobt61 has quit [Read error: Connection reset by peer]
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby
wldcordeiro has quit [Ping timeout: 244 seconds]
Immune has joined #ruby
giz|work has quit [Ping timeout: 276 seconds]
AndrewIsHere has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qakar has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
elenatanasoiu has joined #ruby
kanobt61 has joined #ruby
AndrewIsHere has quit [Ping timeout: 244 seconds]
qakar has quit [Ping timeout: 250 seconds]
axsuul has joined #ruby
vdamewood has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
lightheaded has joined #ruby
snood1205 has quit [Remote host closed the connection]
NetSage has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
lightheaded has quit [Ping timeout: 250 seconds]
ReK2 has quit [Quit: Konversation terminated!]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
ixti has quit [Quit: WeeChat 1.5]
solocshaw has joined #ruby
Cohedrin has joined #ruby
chadhs has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ebbflowgo has quit [Quit: ebbflowgo]
chadhs has joined #ruby
Vingador has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
eljimbo has quit [Quit: This computer has gone to sleep]
symm- has quit [Ping timeout: 265 seconds]
solocshaw has quit [Remote host closed the connection]
srgupta has joined #ruby
astrobunny has joined #ruby
jshjsh has joined #ruby
srgupta has quit [Client Quit]
solocshaw has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
pawnbox has joined #ruby
giz|work has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
solocshaw has quit [Remote host closed the connection]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
braincrash has joined #ruby
braincrash is now known as braincras
Ebok has quit [Quit: Leaving]
prawnzy has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
hotpancakes has joined #ruby
elenatanasoiu has joined #ruby
wombawomba has joined #ruby
<ezio>
anyone use Tracks here?
sarkis has joined #ruby
<ezio>
lemme tell you a story .. that you probably won't give a shit about.
<ezio>
I finally went to get my Compsci degree. After getting a diploma in computer programming.
<ezio>
I've been working in the industry for ... 13-15 years depends on what you call professional work.
<ezio>
4th year course
<ezio>
prof has a hard on for ruby
<ezio>
can't even install it
<ezio>
some sutdents with windows. some with mac. some with ubuntu
elenatanasoiu has quit [Ping timeout: 244 seconds]
<ezio>
prof using ubuntu
wombawomba has quit [Ping timeout: 240 seconds]
solocshaw has quit [Remote host closed the connection]
<ezio>
in 24 hours, i set up a vagrant repository on git. have the whole class using my vagrant. prof can't even install cucumber.
Vile` has quit [Ping timeout: 240 seconds]
<ezio>
has us using this ... Tracks
<ezio>
bullshit
rsampaio_ has joined #ruby
whathappens has quit [Quit: Leaving...]
<ezio>
this has to be the worst goddamn project ever
<ezio>
i work for a network security company
<ezio>
i would be fired .. immediatlely .. if i failed to turn in something 10x better than Tracks in a weekend
<ezio>
not to mention. ruby is schite. sorry. don't mean to burst your bubble. ruby is terrible.
<ezio>
but .. tracks
<ezio>
what the eff. what are these people thinking
seggy has quit [Quit: leaving]
<ezio>
in a week, i turned our webserver from around 1200ms per page to 7ms.
seggy has joined #ruby
aibot_ has quit [Ping timeout: 240 seconds]
<ezio>
you can't even get that with ruby
<apeiros>
while ruby is a slow language, getting 7ms responses isn't that hard.
<ezio>
EXACTLY
prawnzy has quit [Remote host closed the connection]
<ezio>
it isn't that goddamn hard
<ezio>
but with ruby ... it's impossible
aibot_ has joined #ruby
<apeiros>
do you purposely misread what I write?
Vile` has joined #ruby
<ezio>
no. i just interpreted in a way that is proper.
<ezio>
ruby cannot get to 7ms
<apeiros>
that's nonsense.
<ezio>
in fact,
<ezio>
I turned my company around from ~450ms with apache to 7ms in a week. My boss gave me a bonus and a free meal to take all my buddies out to The Keg.
chadhs has quit [Read error: Connection reset by peer]
hotpancakes has quit [Remote host closed the connection]
<ezio>
The moment you touch a ruby application, you're at least > 100ms
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
ngscheur1 has joined #ruby
kies has quit [Ping timeout: 255 seconds]
<apeiros>
plain jane rails controllers already give you <5ms. again, I call your FUD BS.
<ezio>
to print hello world?
<ezio>
again, without any interpretation
<apeiros>
standard any new/show/edit/delete action
<ezio>
the moment you touch ruby, > 100ms
<ezio>
okay
<ezio>
show me one
<apeiros>
transpose that any/standard
<ezio>
show me one RESTful server < 10 ms
solocshaw has joined #ruby
<apeiros>
rails new + rails generate
<ezio>
show me one
<ezio>
show me one example
<ezio>
point me to a server
Joufflu has quit [Read error: Connection reset by peer]
lucast has quit [Ping timeout: 244 seconds]
lucast has joined #ruby
<ezio>
even with rials generate
hutch34 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ezio>
rails
<ezio>
which, to be honest, you shouldn't have to do to get < 10ms
<ezio>
and I could even get faster
tdy has joined #ruby
<ezio>
with GO or ...
<ezio>
what's the other one
<ezio>
nodejs
<ezio>
the two fastest
pawnbox has joined #ruby
Wolland has joined #ruby
gizmore has joined #ruby
kies has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
arescorpio has quit [Excess Flood]
lightheaded has joined #ruby
gix has quit [Ping timeout: 265 seconds]
<baweaver>
ezio: are you here to ask a ruby question?
sarkis has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
nando293921 has joined #ruby
<baweaver>
because there are Go and NodeJS channels you may find more appropriate.
<ezio>
while I do ask a pertinent question from time to time, my main concern was with the poor development of tracks
solocshaw has quit [Remote host closed the connection]
hotpancakes has joined #ruby
jshjsh is now known as JoshS
<ezio>
I would love to convince my prof of this and while i'm not psycohphanitc, i am extremely obsequious
gix has joined #ruby
<ezio>
sycophantic
Technodrome has joined #ruby
lightheaded has quit [Ping timeout: 250 seconds]
<baweaver>
at the end of the day it's what you're optimizing for
elenatanasoiu has joined #ruby
<baweaver>
that being said, Node is probably not in the top two by any stretch.
<ezio>
okay. 90% of the time i'm optimizing for developer cost.
<ezio>
though .. my boss made a really good point to me one day
<ezio>
i've taken RAD
<ezio>
and i know how to do a proper analysis
<ICantCook>
be hard to beat c# with .net for language performance
<ezio>
though if you got down to machine language serving up static resources like nginx
nankyoku_ has joined #ruby
<havenwood>
ezio: give it ^ a try
eljimador has joined #ruby
<ezio>
havenwood, that's much closer to the goal
<apeiros>
"even with rials generate" + "which, to be honest, you shouldn't have to do"
<apeiros>
rails generate is just the scaffold
<apeiros>
you don't have to use it by any means.
solocshaw has joined #ruby
<apeiros>
but it's a simple way to generate a standard crud resource to see the response time.
elenatanasoiu has quit [Ping timeout: 265 seconds]
<ezio>
Any solution can do what generate tries to do
<ezio>
but it's still limited by interpreted languages
<apeiros>
interpreted vs compiled isn't a language property
<ezio>
you can't beat TLB interpretation like nginx
<ezio>
or like i could program in horus
<ezio>
hours
<apeiros>
otherwise I'll claim C is interpreted, because there's a C interpreter.
<ezio>
C is compiled to machine language
* x0f
sighs
<raldu>
havenwood: noob question: so if you tie your rails app to puma which is tied to a nginx server running mod ngx_mruby, your app will be flying fast? (disclaimer: don't know whether the mentioned setup is possible or desirable)
nankyoku_ has quit [Ping timeout: 240 seconds]
eljimmy has quit [Ping timeout: 244 seconds]
<apeiros>
ezio: if you use a compiler which compiles to machine code.
<ezio>
but it's still inefficient when using it EXCLUSIVELY for something like a web service
<apeiros>
you can also compile C to other languages or interpret it (i.e. *not* compile it)
<ezio>
apeiros, which is exactly what C is?
<ezio>
C is compiled to machine language
polishdub has quit [Ping timeout: 276 seconds]
aeruder has left #ruby ["why must we feed the trolls..."]
solocshaw has quit [Remote host closed the connection]
<raldu>
ezio: the point is that you can also implement it in a way taht it is interpreted
<apeiros>
is your reading ability limited or something? it seems like you repeatedly ignore large parts of what's being written.
solocshaw has joined #ruby
<nchambers>
C can be compiled to machine language. it has nothing to do with the language itself
<nchambers>
it can also be compiled to python
<ezio>
i read the obtuse parts and discard them
Vile` has quit [Ping timeout: 244 seconds]
<ezio>
C IS compiled to machine language
<ezio>
there's no doubt about it
<raldu>
wow
<apeiros>
!kick ezio then rant elsewhere
ezio was kicked from #ruby by ruby[bot] [then rant elsewhere]
whathappens has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
<adam12>
lol
alfiemax has quit [Ping timeout: 255 seconds]
solocshaw has quit [Remote host closed the connection]
<raldu>
speaking of implementation and performance, I am running on a netbook. what would be the most reasonable ruby implementation that is optimized for low cpu and ram machines? I would also like to make use of that implementation in something like raspberry pi.
<apeiros>
raldu: mruby/crystal probably
<apeiros>
though neither of those is a full ruby
<raldu>
there is probably a de facto answer to this. but I have never used a different implementation before.
<apeiros>
if you need a full ruby, mri probably
braincrash has joined #ruby
<raldu>
isn't mri the "default" implementation?
centrx has joined #ruby
<apeiros>
yes
<havenwood>
raldu: The default implementation runs well on a Pi.
<apeiros>
jruby is faster than mri, but afaik uses quite a bit more ram and might also use more cpu. I got limited experience with it, though. so somebody correct me if I'm wrong.
<apeiros>
I did run jruby on a low power synlogy box using some special variant of the jvm which was optimized for low power machines, though. maybe solutions like that still exist :)
<x0f>
jruby is rather unreliable on a Pi, at least it was ~1.5 years ago. just memory overkill, even with proper JVM settings. (at least for me)
whathappens has quit [Remote host closed the connection]
sarkis has joined #ruby
<x0f>
but i guess it depends on what one tries to achieve.
braincras has quit [Ping timeout: 240 seconds]
M-Technic has quit [Quit: leaving]
solocshaw has joined #ruby
whathappens has joined #ruby
hammond has quit [Ping timeout: 244 seconds]
hammond has joined #ruby
hammond has joined #ruby
hammond has quit [Changing host]
hammond has quit [Changing host]
hammond has joined #ruby
polishdub has joined #ruby
symm- has joined #ruby
<x0f>
if one needs bundler/rails/whatnot i'd go for MRI. if one has the time to learn crystals idiosyncrasies i'd wager it'll win against mruby, if not in processing at least in memory efficency.
<raldu>
havenwood: so I would compile an existing ruby app with crystal with no hassles?
<x0f>
probably not
<raldu>
I'll check cruby
<havenwood>
raldu: Nope, Crystal is a different language. Trivial examples might work in both.
the_drow has joined #ruby
<wethu>
Hey All, quick question, how does AR print the description of its class during IRB? i.e. Foo(id: integer, name: string) how does that magic happen? Seems like a rails thing but I'm certain its ruby magic somewhere? I tried overriding self.to_s but no luck
<x0f>
wethu, ClassName.inspect to be precise, as it's an instance method on the ClassName object not on an instance of ClassName, which has it's own implementation.
the_drow has quit [Quit: This computer has gone to sleep]
sarkis has quit [Ping timeout: 265 seconds]
elenatanasoiu has quit [Ping timeout: 265 seconds]
hutch34 has quit [Ping timeout: 244 seconds]
claudiuinberlin has joined #ruby
dminuoso has joined #ruby
LoneHer__ has quit [Remote host closed the connection]
weaksauce has quit [Ping timeout: 244 seconds]
Mr_Pancake has quit [Ping timeout: 250 seconds]
kanobt61 has quit [Read error: Connection reset by peer]
teotwaki has quit [Ping timeout: 255 seconds]
SenpaiSilver has quit [Ping timeout: 265 seconds]
raeoks has joined #ruby
vdamewood has quit [Quit: Life beckons.]
nankyoku_ has joined #ruby
pawnbox has joined #ruby
kanobt61 has joined #ruby
dionysus69 has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
sarkis has joined #ruby
SenpaiSilver has joined #ruby
Mr_Pancake has joined #ruby
nankyoku_ has quit [Ping timeout: 244 seconds]
anisha has joined #ruby
pavelz has quit [Ping timeout: 250 seconds]
agit0 has quit [Quit: zzzZZZ….]
edwinvdgraaf has joined #ruby
pavelz has joined #ruby
sarkis has quit [Ping timeout: 276 seconds]
BlkDynmt has quit [Quit: BlkDynmt]
AndrewIsHere has joined #ruby
hotpancakes has joined #ruby
evidex has joined #ruby
pwnd_nsfw` has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
dminuoso has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
wugy has joined #ruby
elenatanasoiu has joined #ruby
firstdayonthejob has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
ropeney has joined #ruby
gingray has joined #ruby
elenatanasoiu has quit [Ping timeout: 240 seconds]
dminuoso has joined #ruby
tmtwd has quit [Ping timeout: 250 seconds]
clauswitt has joined #ruby
biberu has joined #ruby
claudiuinberlin has joined #ruby
jonyijoe has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
prawnzy has joined #ruby
yardenbar has joined #ruby
harfangk has joined #ruby
conta has joined #ruby
agit0 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
charliesome has joined #ruby
pavelz has quit [Ping timeout: 244 seconds]
pavelz has joined #ruby
jonyijoe has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 265 seconds]
dminuoso has quit [Remote host closed the connection]
Technodrome has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Technodrome has joined #ruby
sarkis has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
alehander42 has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
agit0 has quit [Ping timeout: 244 seconds]
<alehander42>
hey, is there something like a debuggin language or VM api for YARV? I want to be able to consume before call/line/etc events from another program and to send "next" or "breakpoint" commands back
djbkd has joined #ruby
A_Drone has quit [Remote host closed the connection]
<alehander42>
i know of pry-byebug, but I wondered if there is an easy programmable (not manual) interface for it: I pass a ruby program and I the debugger just sends events to a callback function for example
<alehander42>
or maybe just what is the lower level Ruby (probably C level) API that byebug and other debuggers use
claudiuinberlin has joined #ruby
nadir has quit [Ping timeout: 248 seconds]
beawesomeinstead has quit [Read error: Connection reset by peer]
poikon has quit [Read error: Connection reset by peer]
poikon has joined #ruby
beawesomeinstead has joined #ruby
aidalgol has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
nadir has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
ReK2 has quit [Remote host closed the connection]
TomyWork has joined #ruby
evidex has quit [Ping timeout: 250 seconds]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
aufi has joined #ruby
the_drow has joined #ruby
ur5us has quit [Remote host closed the connection]
Burgestrand has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mark_66 has joined #ruby
aganov has joined #ruby
_djbkd has quit [Quit: My people need me...]
alfiemax has quit [Ping timeout: 240 seconds]
antgel has joined #ruby
pawnbox has quit [Remote host closed the connection]
andikr has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<dminuoso>
alehander42: What exactly are you trying to do?
<dminuoso>
alehander42: But to answer your question byebug is basically a TracePoint wrapper.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dminuoso>
alehander42: (It also uses DebugInspector for some stuff)
Ishido has joined #ruby
zipace has quit [Ping timeout: 265 seconds]
Silthias1 has joined #ruby
BlkDynmt has joined #ruby
cgfbee has quit [Quit: cgfbee]
alfiemax has joined #ruby
prawnzy has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
Silthias has quit [Ping timeout: 250 seconds]
prawnzy has joined #ruby
edwinvdgraaf has joined #ruby
tmtwd has joined #ruby
Davedev28 has quit [Read error: Connection reset by peer]
johnmccabe has joined #ruby
aryaching has quit [Ping timeout: 265 seconds]
CloCkWeRX has quit [Quit: Leaving.]
claudiuinberlin has quit [Remote host closed the connection]
hutch34 has joined #ruby
aryaching has joined #ruby
rafadc has joined #ruby
hotpancakes has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
ctp has joined #ruby
LoneHerm_ has joined #ruby
helpa has quit [Remote host closed the connection]
Wolland has quit [Read error: Connection reset by peer]
craigp_ has joined #ruby
helpa has joined #ruby
Wolland has joined #ruby
claudiuinberlin has joined #ruby
mrgrieve1 has joined #ruby
Fetch has quit [Read error: Connection reset by peer]
Fetch has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
hammond has quit [Ping timeout: 265 seconds]
armyriad has joined #ruby
johnny56_ has quit [Ping timeout: 265 seconds]
pandaant has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
johnny56_ has joined #ruby
d0nn1e has quit [Ping timeout: 244 seconds]
nankyoku_ has joined #ruby
symm- has quit [Quit: Leaving...]
elenatanasoiu has joined #ruby
d0nn1e has joined #ruby
pawnbox has quit [Remote host closed the connection]
elenatanasoiu has quit [Client Quit]
nankyoku_ has quit [Ping timeout: 244 seconds]
myntcake has joined #ruby
jsrn_ has joined #ruby
johnny56_ has quit [Ping timeout: 265 seconds]
pandaant has quit [Ping timeout: 260 seconds]
hammond has joined #ruby
pandaant has joined #ruby
alaibe has joined #ruby
duncannz has joined #ruby
ur5us has joined #ruby
<alehander42>
dminuoso: that's what i was looking for , thanks, well I need to create something similar to a debugger UI for certain situations
prawnzy has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 265 seconds]
bsrd has joined #ruby
AndrewIsHere has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olistik has joined #ruby
zeroDi has joined #ruby
flying has joined #ruby
Wolland has quit []
AndrewIsHere has quit [Ping timeout: 250 seconds]
elenatanasoiu has joined #ruby
omphe has joined #ruby
ta__ has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
BackEndCoder has quit [Excess Flood]
mim1k_ is now known as mim1k
BackEndCoder has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
ChooseN_ has joined #ruby
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
alaibe has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
olistik has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
gener1c has quit [Ping timeout: 260 seconds]
phrozen77 has quit [Quit: Leaving...]
dtusk has quit [Ping timeout: 265 seconds]
jazzonmym111nd has joined #ruby
xlegoman has joined #ruby
rafadc_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
jazzonmym11nd has quit [Ping timeout: 250 seconds]
M-manveru has quit [Remote host closed the connection]
M-shine has quit [Read error: Connection reset by peer]
M-mistake has quit [Write error: Connection reset by peer]
alaibe has quit [Quit: WeeChat 1.5]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rippa has joined #ruby
Zamyatin has joined #ruby
A_Drone has joined #ruby
mark_66 has quit [Remote host closed the connection]
kanobt61 has quit [Read error: Connection reset by peer]
kanobt61 has joined #ruby
aufi has quit [Ping timeout: 265 seconds]
pwnd_nsfw` has joined #ruby
CrazyEddy has joined #ruby
Silthias has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
ebbflowgo has joined #ruby
AndrewIsHere has joined #ruby
nankyokusei has quit [Quit: WeeChat 1.5]
phrozen77 has joined #ruby
jaruga_____ has quit [Ping timeout: 265 seconds]
dtusk has joined #ruby
shinnya has joined #ruby
qakar has quit [Remote host closed the connection]
kanobt61 has quit [Read error: Connection reset by peer]
kanobt61_ has joined #ruby
cajone has left #ruby [#ruby]
Silthias has joined #ruby
qakar has joined #ruby
polishdu1 has joined #ruby
polishdu1 has quit [Client Quit]
polishdu1 has joined #ruby
DaniG2k has joined #ruby
nankyokusei has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
Vingador has joined #ruby
qakar has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit [Remote host closed the connection]
petercooper has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
qakar has joined #ruby
cajone has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
nettoweb has joined #ruby
tyang has joined #ruby
alaibe has joined #ruby
LoneHerm_ has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
ebbflowgo has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
rodfersou|lunch is now known as rodfersou
john1 has joined #ruby
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has quit [Ping timeout: 260 seconds]
dminuoso has joined #ruby
LoneHerm_ has quit [Ping timeout: 265 seconds]
fullofcaffeine has quit [Ping timeout: 240 seconds]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
jphase_ is now known as jphase
johnmccabe has joined #ruby
andikr has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
hobodave has joined #ruby
araujo_ has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 248 seconds]
fullofcaffeine has joined #ruby
amclain has joined #ruby
riffraff has quit [Quit: This computer has gone to sleep]
replay has joined #ruby
scroff has quit []
etetz has joined #ruby
DaniG2k_ has joined #ruby
GodFather has joined #ruby
pochoa has joined #ruby
claudiuinberlin has quit [Ping timeout: 240 seconds]
DaniG2k_ has quit [Client Quit]
LuckyABA has joined #ruby
claudiuinberlin has joined #ruby
DaniG2k has quit [Ping timeout: 265 seconds]
wombawomba has joined #ruby
pochoa has quit [Ping timeout: 272 seconds]
malconis_ has joined #ruby
malconis_ has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 250 seconds]
pokalyis has joined #ruby
Jardayn has quit [Read error: Connection reset by peer]
malconis has quit [Read error: Connection reset by peer]
jaruga___ has joined #ruby
jaruga___ is now known as jaruga_____
chadhs has joined #ruby
jackjackdripper has joined #ruby
omphe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antgel has quit [Ping timeout: 248 seconds]
jose_leeto has joined #ruby
jsrn_ has quit [Quit: Leaving]
malconis has joined #ruby
anisha has joined #ruby
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
myntcake has quit [Ping timeout: 260 seconds]
soulisson has joined #ruby
pwnd_nsfw has joined #ruby
sarkis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Ping timeout: 248 seconds]
johnmccabe_ has joined #ruby
chadhs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
riffraff has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
prawnzy has joined #ruby
johnmccabe has quit [Ping timeout: 244 seconds]
patarr has quit [Quit: patarr]
pochoa has joined #ruby
rafadc has joined #ruby
hotpancakes has quit [Remote host closed the connection]
rafadc has quit [Remote host closed the connection]
rafadc has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
hotpancakes has joined #ruby
lightheaded has quit [Remote host closed the connection]
prawnzy has quit [Ping timeout: 248 seconds]
nitric has joined #ruby
chadhs has joined #ruby
<soulisson>
Hi, I was always told that a variable name should describe the variable content, is it ok to name a variable "result" even if in the middle of the function execution, the variable doesn't contain yet the result expected by the user?
ItSANgo has quit [Quit: Leaving...]
lightheaded has joined #ruby
lightheaded has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 265 seconds]
lightheaded has joined #ruby
agit0 has quit [Ping timeout: 265 seconds]
chadhs_ has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
evidex has quit [Ping timeout: 265 seconds]
chadhs has quit [Ping timeout: 248 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wombawomba>
I have a project that specifies some dependencies (from rubygems.org) in a gemfile. I want to 'override' these dependencies with local copies in some circumstances (running in certain docker setups), without creating a separate gemfile for each permutation. How can I do this?
rafadc has quit [Ping timeout: 265 seconds]
tdy has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<toretore>
wombawomba: define override
<toretore>
also, define gem
tdy has quit [Client Quit]
aegis3121 has joined #ruby
<toretore>
most people don't understand the differenve between "gem" and "a bunch of files in a directory"
tdy has joined #ruby
just_a_dude has joined #ruby
postmodern has joined #ruby
<elomatreb>
wombawomba: You could use environments, requiring the "regular" Rubygems version in one of them and the local modified copy in another?
<just_a_dude>
hey guys! quick question: if I have a class that inherited a Person class, and then included a BarkingHuman module, how can I programmatically show that the bark method was taken from the module?
<wombawomba>
toretore: by override, I mean that I want my project to use the copy of a library stored at a certain path, rather than the one from rubygems (which should be the default)
claudiuinberlin has joined #ruby
dminuoso has quit [Ping timeout: 260 seconds]
<just_a_dude>
I found person.method(:bark) which seems to indicate that it is from the module, but I was hoping to actually find a way to return the module object
<toretore>
wombawomba: then you simply put it in $LOAD_PATH before the other
elenatanasoiu has quit [Ping timeout: 244 seconds]
sdwrage has joined #ruby
<wombawomba>
toretore: I have the source, so I'm fine with either building a gem or just referring to the source directly (not sure if possible; I'm new to ruby)
<wombawomba>
elomatreb: I guess I could do that; however, having I think maintaining an environment for each permutation might be tedious (not really familiar with how environments work though)
<just_a_dude>
oh, its #owner
<just_a_dude>
ok well thanks anyways guys, I just figured it out
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<toretore>
wombawomba: ruby -I /path/to/lib
tvon has quit [Quit: Peace out, y'all!]
<elomatreb>
wombawomba: You can instruct bundler to use a local non-packed gem, see here https://bundler.io/v1.13/gemfile.html (Search for ":path =>")
<wombawomba>
so if I refer to a gem 'mylib' in my Gemfile, and do `ruby -I /path/to/mylib myapp.rb`, then myapp.rb will refer to the local copy of mylib?
gener1c has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
<wombawomba>
elomatreb: yeah I saw that, however that doesn't seem scale that well, since afaict I'd have to create separate copy for each combination of local libraries I'd want to run against
gener1c has joined #ruby
<elomatreb>
I doubt you'll get around that easily :/
<toretore>
wombawomba: forget about the Gemfile and bundler. unless your code is doing some bundler-specific load path mangling, the only thing that matters is the load path: when you `require` a file, ruby will look through each path until it finds it
blaxter has quit [Quit: foo]
<wombawomba>
toretore: okay cool, thanks
patarr has joined #ruby
<toretore>
`bundle install` just installs the gems so that rubygems can see them and add them to the load path; if you then prepend another path is will have precedence
Cohedrin has joined #ruby
scorphus has joined #ruby
<wombawomba>
got it
rafadc has joined #ruby
<wombawomba>
out of curiosity, how does ruby find the code once it's on the path? does it need to be compiled to a gem, or can it find the source files?
jshjsh has quit [Ping timeout: 260 seconds]
<toretore>
there is no such thing as a gem
<elomatreb>
A gem is just a convention for a directory format
<toretore>
only files
<toretore>
technically, it's a zip structured in a certain way for distribution purposes
<wombawomba>
okay, neat
<wombawomba>
you wouldn't happen to have any particular resources to reccomend on where I can read up on this stuff?
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 244 seconds]
newbie22 has quit [Client Quit]
BrianJ has joined #ruby
karmatr0_ has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Ping timeout: 255 seconds]
Synthead has quit [Quit: Synthead]
zeroDi has joined #ruby
craigp_ has joined #ruby
spider-mario has joined #ruby
patarr has quit [Quit: patarr]
ebbflowgo has joined #ruby
_wldcordeiro has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
jhack has quit []
_wldcordeiro has joined #ruby
jamessral has joined #ruby
<jamessral>
I'm having a hard time with the RSS module and the documentation is basically missing
<jamessral>
Do y'all use the stdlib RSS or something else?
tfitts has joined #ruby
M-mistake has joined #ruby
M-manveru has joined #ruby
mikecmpbll has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
tdy has joined #ruby
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skweek has quit [Ping timeout: 250 seconds]
marxarelli|afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flashpoint9 has quit [Remote host closed the connection]
patarr has joined #ruby
skweek has joined #ruby
cdg has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
omphe has joined #ruby
chouhoulis has joined #ruby
fullofcaffeine has joined #ruby
marxarelli has joined #ruby
mtkd has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
mtkd has joined #ruby
rafadc has quit [Ping timeout: 272 seconds]
fullofcaffeine has quit [Ping timeout: 244 seconds]
Johne has joined #ruby
patarr has quit [Quit: patarr]
BackEndCoder has quit [Excess Flood]
rashid has quit [Ping timeout: 244 seconds]
qba73 has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
BackEndCoder has joined #ruby
ebbflowgo has joined #ruby
elifoster has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 248 seconds]
craigp_ has quit [Ping timeout: 265 seconds]
vuoto has joined #ruby
flashpoint9 has joined #ruby
craigp_ has joined #ruby
marxarelli has joined #ruby
patarr has joined #ruby
JoshS has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
bocaneri has quit [Remote host closed the connection]
nankyokusei has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EDT has joined #ruby
axsuul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EDT has quit [Changing host]
EDT has joined #ruby
marxarelli has joined #ruby
stamina has joined #ruby
tomphp has joined #ruby
prawnzy has joined #ruby
a7d7p has quit [Quit: a7d7p]
tomphp has quit [Client Quit]
pwnd_nsfw has quit [Ping timeout: 255 seconds]
antivert has joined #ruby
pwnd_nsfw has joined #ruby
anisha has joined #ruby
jackjackdripper has joined #ruby
anisha has quit [Client Quit]
nando293921 has joined #ruby
prawnzy has quit [Ping timeout: 244 seconds]
a7d7p has joined #ruby
_djbkd has quit [Remote host closed the connection]
dminuoso has joined #ruby
_djbkd has joined #ruby
chouhoulis has quit [Remote host closed the connection]
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
chouhoulis has joined #ruby
jackjackdripper has quit [Ping timeout: 244 seconds]
vdamewood has joined #ruby
tomphp has joined #ruby
BrianJ has joined #ruby
jonyijoe has quit [Remote host closed the connection]
<antivert>
Help, please! I'm sorting an array of hashes by a common key in the hashes. I'm sorting by date first, but then I want to "sub-sort" prices within each date.
<antivert>
aegis3121: I'm assuming I can reference a hash key in the block?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<antivert>
thanks for the pointer!
ebbflowgo has quit [Read error: Connection reset by peer]
<aegis3121>
Sure. You're passing in the object (in your case a hash) so just like any other iterator/enumeration where you're passing in the individual elements
<antivert>
awesome! much easier than I expected, woo
ebbflowgo has joined #ruby
tomphp has joined #ruby
<antivert>
I was going to break the array into multiple arrays and.. I knew there was a better way
skweek has quit [Ping timeout: 248 seconds]
<aegis3121>
no worries, glad you're going down...a happier path.
Pumukel has joined #ruby
<antivert>
haha totally. I did too much PHP in my last job and it janked me up, glad you can lead me to greener pastures
anisha has joined #ruby
anisha has left #ruby [#ruby]
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
stamina has quit [Ping timeout: 240 seconds]
jamessral has quit [Read error: Connection reset by peer]
nando293921 has quit [Ping timeout: 265 seconds]
<Johne>
i just starting messing with ruby. should be good times.
jonyijoe has joined #ruby
<antivert>
I'm just finishing my first Ramaze project and it's pretty great
<jose_leeto>
toretore: the quit method has a transaction block I want to execute some code just if the transaction has been executed with success
chadhs_ has joined #ruby
<toretore>
jose_leeto: i don't know what "transaction" is or does in your code
<toretore>
(i mean, i do, but i'm trying to make you think about the problem in a better way)
tdy has quit [Ping timeout: 240 seconds]
<toretore>
because the answer to your question lies in properly understanding what you're working with
kxnikx has quit [Quit: Leaving]
whathappens has quit [Ping timeout: 248 seconds]
<toretore>
as does the answer to most questions
<jose_leeto>
I will send a push notification after the user quit the event
omphe has joined #ruby
<baweaver>
lucast: what do you know about lambdas?
<lucast>
a little bit
<toretore>
?rails jose_leeto
<ruby[bot]>
jose_leeto: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<jose_leeto>
but if something fail inside transaction block the notification should not be sended
<toretore>
they're used to this shit
<baweaver>
what're the ways to call a lambda?
<jose_leeto>
ok I will try to ask in rails channel
bsrd has joined #ruby
<baweaver>
lucast: what're the ways to call a lambda?
kxnikx has joined #ruby
kxnikx has quit [Client Quit]
skweek has joined #ruby
<historypeats>
nm I figured out my answer
<historypeats>
There's a bug in the openssl ruby lib
patarr has quit [Quit: patarr]
tomphp has joined #ruby
miqlas-H has joined #ruby
dmr8 has joined #ruby
pokalyis has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
flashpoint9 has quit [Read error: Connection reset by peer]
flashpoint9 has joined #ruby
<chrisseaton>
baweaver: you can do foo.call(args...) or foo.(args)
dmr8 has quit [Client Quit]
<baweaver>
there's one last way
<baweaver>
and it looks very similar to a hash accessor ;)
<lucast>
sorry got interrupted
<Johne>
this is likely beyond easy, but i learn from examples and ive yet to see a good example on parsing json with httparty. I'll paste what I've got so far.
giz|work has quit [Ping timeout: 265 seconds]
BrianJ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisseaton>
baweaver: oh right thought you were asking for help yourself
<baweaver>
Na, I'm good
kxnikx has joined #ruby
<baweaver>
I probably need some help after I finish this monster :P
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
wrkrcoop has joined #ruby
jazzonmym11nd has joined #ruby
<chrisseaton>
The docs use it in the curry examples, but then it's hard to see it's something different
<lucast>
o.O
BrianJ has joined #ruby
biberu has joined #ruby
xenzen has joined #ruby
<wrkrcoop>
im using the manticore client and im keeping a connection alive for 4 minutes
<wrkrcoop>
i have to do this because a nat server gets rid of connections or whatever at 5 miuntes
BrianJ has quit [Client Quit]
<Mon_Ouie>
&ri Proc#[]
<`derpy>
No results
<Mon_Ouie>
&ri Proc#call
<`derpy>
No results
<Mon_Ouie>
^ seems to be a documentation bug
<wrkrcoop>
do you think i have to check if the connection is stale though? because when we were not reusing connections we weren’t getting the error: ‘connection reset’ but now that we are keeping connections alive im getting a ‘reset connection’ error
<lucast>
thanks baweaver, think i'll stick to the non-evil method :)
<baweaver>
it'll go through a lot of things you'll commonly use.
<Johne>
cool
Ruffus has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
marxarelli|afk is now known as marxarelli
duncannz has joined #ruby
rodfersou has quit [Quit: leaving]
<Johne>
this shit is so well documented compared to other languages
<Johne>
<3
RegulationD has quit [Remote host closed the connection]
rrichardsr3 has quit [Quit: He who dares .... wins.]
csk has joined #ruby
Zamyatin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago has quit [Ping timeout: 265 seconds]
prawnzy has joined #ruby
Davedev28 has quit [Read error: Connection reset by peer]
thejamespinto_ has joined #ruby
thejamespinto has quit [Ping timeout: 248 seconds]
Davedev28 has joined #ruby
Xeago has joined #ruby
ezio has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gfvcastro has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
phredus has quit [Ping timeout: 250 seconds]
bauruine has quit [Ping timeout: 250 seconds]
Ikri has quit [Ping timeout: 250 seconds]
hostess has quit [Ping timeout: 250 seconds]
caw has quit [Ping timeout: 250 seconds]
danzilio has quit [Ping timeout: 250 seconds]
[diecast] has quit [Ping timeout: 250 seconds]
crdpink2 has quit [Ping timeout: 250 seconds]
PaulCapestany has quit [Ping timeout: 250 seconds]
jaiks has quit [Ping timeout: 250 seconds]
catbusters has quit [Ping timeout: 250 seconds]
MrBusiness2 has quit [Ping timeout: 250 seconds]
Nightmare has quit [Ping timeout: 250 seconds]
Junaos has quit [Ping timeout: 250 seconds]
Diabolik has quit [Ping timeout: 250 seconds]
Seich has quit [Ping timeout: 250 seconds]
nedbat has quit [Ping timeout: 250 seconds]
Y_Ichiro has quit [Ping timeout: 250 seconds]
Ikzi has joined #ruby
jonyijoe has quit [Remote host closed the connection]
phredus has joined #ruby
jonyijoe has joined #ruby
jblack has joined #ruby
hostess has joined #ruby
dhollinger has quit [Ping timeout: 240 seconds]
Nanuq has joined #ruby
cj has joined #ruby
d0nn1e has quit [Ping timeout: 260 seconds]
jonyijoe has quit [Remote host closed the connection]
codepete has joined #ruby
jphase-afk has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 255 seconds]
jphase_ has quit [Read error: Connection reset by peer]
jonyijoe has joined #ruby
<jblack>
Hi. I'm trying to convince rake to ignore options after "--". I used to have a way to do this that involved stripping out the ARGV arguments that I didn't want rake itself to parse, and somehow getting rake to reparse argv.
<jblack>
I've since forgotten how I pulled this off, and was hoping if someone else had done this
enterprisey has quit [Remote host closed the connection]
ewilliam has joined #ruby
avdi has joined #ruby
deimos has joined #ruby
danzilio has joined #ruby
manveru has joined #ruby
rfv has joined #ruby
dhollinger has joined #ruby
bestie has joined #ruby
MrBloo has joined #ruby
LoneHermit has joined #ruby
ghostlight has quit [Ping timeout: 248 seconds]
thejamespinto_ has quit [Ping timeout: 240 seconds]
hutch34 has quit [Quit: WeeChat 1.5]
d0nn1e has joined #ruby
ckrailo has joined #ruby
mitsuhiko has joined #ruby
thejamespinto has joined #ruby
jhill has joined #ruby
_dev has joined #ruby
jcp has joined #ruby
nirix has joined #ruby
quiller has joined #ruby
epochwolf has joined #ruby
bmurt has joined #ruby
Nightmare has joined #ruby
tylersmith has joined #ruby
[diecast] has joined #ruby
Lightsword has joined #ruby
Seich has joined #ruby
devster31 has joined #ruby
AndyWojo has joined #ruby
CustosLimen has joined #ruby
hutch34 has joined #ruby
nedbat has joined #ruby
nchambers has joined #ruby
demophoon has joined #ruby
cschneid has joined #ruby
Diabolik has joined #ruby
ec has joined #ruby
LBRapid has joined #ruby
twe4ked has joined #ruby
Junaos has joined #ruby
kireevco has joined #ruby
Velizar has quit [Quit: Velizar]
bove has joined #ruby
jonyijoe has quit [Ping timeout: 265 seconds]
rann has joined #ruby
wsmoak has joined #ruby
mrsolo has joined #ruby
caw has joined #ruby
bauruine has joined #ruby
andersh has joined #ruby
ec has quit [Excess Flood]
pochoa has joined #ruby
chouhoul_ has joined #ruby
ec has joined #ruby
hutch34 has quit [Client Quit]
LoneHermit has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
Guest4184_______ has joined #ruby
zack6849 has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
saneax-_-|AFK has joined #ruby
blackjid has joined #ruby
zekriad has quit [Ping timeout: 248 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood>
devil_tux: The return value from the method puts will always be: nil
Zamyatin has quit [Ping timeout: 244 seconds]
<devil_tux>
oh, so chomp?
ChiefAlexander has quit [Remote host closed the connection]
<jazzonmym11nd>
yeah, then it should print "true" but like havenwood said the method will return nil until you remove debugging calls like puts
<jazzonmym11nd>
and use 'p' instead
<jazzonmym11nd>
it's better
<jazzonmym11nd>
it will show you the newline.
<devil_tux>
jazzonmym11nd: I totally forgot about p, just returned back to ruby
<jazzonmym11nd>
p is better for debugging.
<devil_tux>
i see
<devil_tux>
and yes, it works with chomp
firstdayonthejob has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 276 seconds]
spider-mario has quit [Remote host closed the connection]
SeepingN_ has quit [Ping timeout: 244 seconds]
SeepingN has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
etetz has quit [Remote host closed the connection]
zapata has quit [Quit: WeeChat 1.5]
pochoa has quit [Ping timeout: 244 seconds]
axsuul has joined #ruby
pochoa has joined #ruby
zapata has joined #ruby
a7d7p has quit [Quit: a7d7p]
siovene has quit [Quit: Connection closed for inactivity]
blackgoat has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
solocshaw has joined #ruby
pochoa has quit [Ping timeout: 272 seconds]
jphase has joined #ruby
gnufied has quit [Quit: Leaving]
pochoa has joined #ruby
hammond_ has joined #ruby
whathappens has quit [Remote host closed the connection]
gener1c has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
[k- has quit [Read error: Connection reset by peer]
hammond_ has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
hammond has quit [Ping timeout: 265 seconds]
JeanCarloMachado has joined #ruby
duderono_ has joined #ruby
hammond has joined #ruby
hammond has quit [Changing host]
hammond has joined #ruby
hammond has joined #ruby
hammond has quit [Changing host]
mikecmpbll has quit [Quit: inabit. zz.]
duderonomy has quit [Ping timeout: 272 seconds]
jose_leeto has quit [Quit: Leaving.]
tectonic has joined #ruby
ewilliam has quit [Ping timeout: 265 seconds]
marciol has joined #ruby
cstrahan has quit [Ping timeout: 265 seconds]
solocshaw has quit [Remote host closed the connection]
wrkrcoop has quit [Quit: wrkrcoop]
JeanCarloMachado has quit [Remote host closed the connection]
troys is now known as troys_
ramfjord_ has joined #ruby
ewilliam has joined #ruby
cstrahan has joined #ruby
lightheaded has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
csk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroDi has quit [Quit: WeeChat 1.5]
bmurt has joined #ruby
solocshaw has joined #ruby
pochoa has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
grahamb_ has joined #ruby
SteenJobs has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
pawnbox has quit [Remote host closed the connection]
lightheaded has quit [Ping timeout: 248 seconds]
<SteenJobs>
if i have two separate domains in an nginx.conf, would there be any reason to experience extended loading times + client closed connection while waiting for request messages in the logs for one of the two domains? could it be a concurrency issue?
BlkDynmt has quit [Quit: BlkDynmt]
<SteenJobs>
sorry. thought rails chat
<devil_tux>
can I pass parameters through eval() on method?
polishdu1 has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<baweaver>
devil_tux: why are you using eval?
TPug has joined #ruby
<devil_tux>
I'm calling a method by users input
A124 has quit [Ping timeout: 265 seconds]
<Zarthus>
That sounds like a great idea. I would like to use Kernel#exit please
<devil_tux>
Zarthus: it's justified
slothbear has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
<devil_tux>
since it's interactive application and it does have a checker that validates the input command
prawnzy has quit [Remote host closed the connection]
<Zarthus>
I think module_eval (or one of the other evals) might be a bit more sandboxy, but overall i'm just not a fan of evaling stuff to begin with
<devil_tux>
:> so any way to pass parameters to the method?
elastix has quit [Quit: elastix]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
ohcibi has quit [Ping timeout: 265 seconds]
solocshaw has quit [Remote host closed the connection]
marr has quit [Ping timeout: 244 seconds]
LuckyABA has joined #ruby
<baweaver>
still a bad idea
nitric has quit [Remote host closed the connection]
pawnbox has joined #ruby
nitric has joined #ruby
polishdu1 has quit [Quit: leaving]
<baweaver>
what exactly are you trying to build this for?
polishdu1 has joined #ruby
wethu has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<devil_tux>
it's some sort of a network sniffer
hotpancakes has joined #ruby
<devil_tux>
only for CAN
marciol has quit []
<grahamb_>
devil_tux: fyi: i can't help you, but i feel your pain re: asking a question and getting "bad idea, tell me why, etc." instead of answers, even if you say "no, i understand the negative implications, just please answer me"
a7d7p has joined #ruby
whathappens has quit [Quit: Leaving...]
ohcibi has joined #ruby
newbie1 has quit [Ping timeout: 244 seconds]
<elomatreb>
grahamb_: To be fair, evaling user data is not just a bad idea, it's probably *the worst* idea
<devil_tux>
elomatreb: just as any eval, if used correctly it should create a problem
a7d7p has quit [Client Quit]
<grahamb_>
elomatreb: i'm aware. he didn't ask if it's a good or bad idea, though. so offer the warning *with* an answer if you know how to get there.
<devil_tux>
I see that send() is also available
pawnbox has quit [Ping timeout: 265 seconds]
jonyijoe has joined #ruby
<elomatreb>
send can pass method arguments, all arguments after the method symbol are passed to it
<baweaver>
grahamb_: We're not in the practice of giving users answers that could do very bad things
<baweaver>
public_send would be the safest
<elomatreb>
But it still isn't really safe, is it? Kernel#exit would also be public, right?
<baweaver>
then using some type of delimiter for args, probably spaces
rcvalle has quit [Quit: rcvalle]
<baweaver>
grahamb_: some people don't know any better
SteenJobs has quit [Ping timeout: 248 seconds]
<grahamb_>
baweaver: this is just one example. last time i was here, i had a much simpler question, and instead of an answer i get "do it this way, no do it that way". but i wasn't *doing* anything, i was reading code, not writing it, and i ended up having to source dive because the answer was avoided.
<baweaver>
I'd be more worried about system rm rf
<grahamb_>
baweaver: hence, warning + answer
<elomatreb>
Look at how well that worked out for TLS libraries. If users have the option of turning of cert validation, they will, no matter how big and red the warning is
<baweaver>
I have a feeling you hadn't provided context
<baweaver>
only thing I see is someone getting annoyed
Rodya_ has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
olistik has quit [Remote host closed the connection]
Rodya_ has joined #ruby
shinnya has joined #ruby
olistik has joined #ruby
<baweaver>
Though anything by Raganwald tends to be dense and requires a lot of thinking
prawnzy has joined #ruby
<Ohga>
so, can Psych use the failsafe scheme? #safe_load still checks for scalar formats such as dates and fails the parsing if it finds it. But that is different from providing all scalars as strings..
cdg has quit [Ping timeout: 265 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 265 seconds]
Vile` has joined #ruby
olistik has quit [Ping timeout: 272 seconds]
marxarelli is now known as marxarelli|afk
banisterfiend has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
AnarchyAo has quit [Ping timeout: 244 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
ramfjord_ has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 276 seconds]
jhack has joined #ruby
Rodya_ has quit [Remote host closed the connection]
bmurt has joined #ruby
Rodya_ has joined #ruby
weaksauce has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
gfvcastro has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
newbie1 has joined #ruby
wrkrcoop has joined #ruby
bronson has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
<slothbear>
Anyone up for the Brainstorm Name Game? I have a module that contains output utility routines. #write_csv, #write_xml, etc. I currently call it "module Output". Calls look like Output.write_xml(filename)
<slothbear>
Seems like there must be a better than than Output. so generic.
ramfjord has joined #ruby
pokalyis has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
koooge has joined #ruby
jianyang has quit [Ping timeout: 244 seconds]
finisherr has quit [Quit: finisherr]
qguv has quit [Ping timeout: 250 seconds]
fullofc__ has quit [Remote host closed the connection]