<shevy>
two spaces, but it does not matter - the important thing is to be consistent. It helps spot errors
<zenspider>
indent. don't submit us dead code. clean up before you ask a bunch of eyeballs to look at it
IceDragon has quit [Ping timeout: 245 seconds]
tonini has quit [Ping timeout: 250 seconds]
IceDragon has joined #ruby
NoNMaDDeN has quit [Ping timeout: 255 seconds]
jhwhite has quit [Quit: jhwhite]
<shevy>
rubie here it is rewritten with case/when and loop {} - I did not test it, I probably would do this differently from the beginning. I usually assign to an @ivar in a class, @user_input http://pastie.org/9673769
<shevy>
rubie so I refer you to: <shevy> ArgumentError: comparison of String with 3 failed
jhass is now known as jhass|off
<shevy>
rubie to resolve this, you must convert one to the other for the comparison
patrick99e99 has joined #ruby
<rubie>
im confused because i did .class on both elements and they were both Fixnums
<shevy>
rubie or even better, why don't you use two lines to check - it will be simpler for your brain to not get confused, rather than put all logic into a one-liner while condition clause
<volty>
no shevy, I am fuzy now and do not express well enough. I was about that I was away from ruby for (too) long time.
spastorino has quit [Quit: Connection closed for inactivity]
<shevy>
I also use little helpers
<pipework>
Santa's, or someone else's?
<shevy>
pipework is in a good mood today
ephemerian has quit [Quit: Leaving.]
<pipework>
shevy: What's up, doc?
<shevy>
no docs doc
<volty>
i prefer cond && action
<shevy>
that so reminds me of the movie Shining ...
mary5030 has quit [Ping timeout: 265 seconds]
<shevy>
volty the && would make me so violent
<pipework>
I prefer `code && more_code`
<shevy>
volty haskell has spoiled you
<volty>
I was using that long before fighting with haskell
arescorpio has joined #ruby
<soahccc>
Also unlike PHP or some other crap language && and || will actually return the value and will not be casted into a boolean value... The familiar foo || bar can also be applied to &&
<volty>
and ||=, &&= too
<volty>
shevy do you want to know are monads, in a one-line explanation?
<shevy>
no longer
<shevy>
I have opted to learn C instead
<volty>
wise
siwica has quit [Remote host closed the connection]
<volty>
but go with c++, or java
<shevy>
why would I want java
siwica has joined #ruby
<shevy>
I went with ruby because it is terse
<shevy>
and elegant
<soahccc>
Shevy has seen Javatar
<shevy>
I like << in C++
sailias has quit [Quit: Leaving.]
<shevy>
that's one thing I miss in C
<volty>
c++ is going to have functors
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
really, they should have improved C so that C++ would have never had to happen
<shevy>
volty wish me luck, I am compiling kdelibs 4.14.2
<schell>
volty - how do you fight with haskell?
<shevy>
with fire
<volty>
you do not need luck, shevy, their configure is quite stable
<shevy>
well, I have had a lot of problems ever since they switched to cmake ... the old GNU autoconfigure build system for kde 3 worked beautifully for me
<schell>
shevy: i take it you don’t like compilers ;)
<benzrf>
monads are 2abstract for a 1-line explanation
<benzrf>
i could tell you what they are but you wouldnt understand
<benzrf>
like objects ;)
<shevy>
schell dunno... if things work smoothly then it's fine, I just absolutely hate problems and bugs and other time wasters
<schell>
monads are computations inside a context
<shevy>
benzrf why do we need monads
<volty>
schell: was fighting, love & hate, you like it when you see small snipets of interesting data types & comprehensions & folding etc etc, and hate it when you realize that it sucks when you have a bigger picture
<benzrf>
schell: ermmmmmmmmmmmmmmmmmmmmmmmmm not even close
<benzrf>
shevy: they are a useful interface for many kinds of programs
<benzrf>
similar to Enumerable
<benzrf>
or rather
<benzrf>
like #each
<shevy>
ok good
<benzrf>
once you implement the class, you get lots of useful utilities
<shevy>
I can memorize that
<benzrf>
shevy: basically in haskell typeclasses are useful because they let you write polymorphic utility functions
<benzrf>
the same way you can by default in dynamically typed langs
<benzrf>
and Monad is a typeclass in haskell
<schell>
if you look at the most simple implementation of a monad (in my opinion), it’s really just a computation in a context
<benzrf>
no
<benzrf>
wrong
<benzrf>
monads are collapsible functors
<benzrf>
there are no "computations" involved
<volty>
benzrf: monads are rules (haskell classes) + functions to push & pull values from/into containers -- that's all there is to it, many ppl have different picture because there are tons of weird tutorials (that overcomplicate, probably to look more intelligent)
theother1tupidgu has quit [Ping timeout: 260 seconds]
<benzrf>
>functions to push & pull values from/into containers
<benzrf>
that is extremely wrong!
<benzrf>
join doesn't pull
<benzrf>
it joins
<benzrf>
er, merges
<benzrf>
a nested structure
mistermocha has joined #ruby
Soda has quit [Remote host closed the connection]
<volty>
better use the word wrappers (instead of containers)
stantona has joined #ruby
<volty>
it's all the same, it is all about pushing in & pulling out
<schell>
benzrf: but if you’re trying to explain something to someone who doesn’t know what a functor is, or that monads can be joined, that doesn’t fit on one line ;)
<schell>
for instance, if you have a function that may explode (like division by zero) you can say that it returns a Maybe, since in certain cases, it will explode
<volty>
we check by checking for nil, they check against Nothing, we chain check by means of nil, they check joining and failing on nothing
smokycat has quit [Remote host closed the connection]
<schell>
since it’s wrapped in a Maybe, that doesn’t matter - it will return Nothing in that instance
<benzrf>
schell don't try to edumacate shevy
<benzrf>
he is a lost cause
<volty>
it's all the same shit, just overcomplicated, for the sake of purity, in haskell
<shevy>
I just focus on the simple things in life
<benzrf>
volty: lol
mikecmpbll has quit [Read error: Connection reset by peer]
<volty>
benzrf: i like it
<shevy>
volty well, I always say it's a language for math guys
<volty>
i like haskell
Rollabunna has joined #ruby
<schell>
haha, that’s not true, it’s a necessary part of a computation that may not return a result
<benzrf>
volty: i mean thats not even a purity thing
<volty>
but it is USELESS
<benzrf>
it's a typing thing
mikecmpbll has joined #ruby
<benzrf>
volty: s-say that to all the big companies using it
<benzrf>
l-like uh
<benzrf>
at&t did once for a bug tracking thing
<volty>
we'll see the results (if not enough what they've done till now)
<volty>
companies like at&t did everything, for everything, even on Second Life
<volty>
:)
<schell>
volty: no! it’s very useful - it means never having undefined values, null values and other errors that are incurred due to some misbehaved function
starless has quit [Quit: Leaving]
i_s has joined #ruby
<schell>
shevy: i think it’s becoming more mainstream
<shevy>
ack volty
<shevy>
did you read that ^^^
<shevy>
everyone will have a 100 MB interpreter soon
codeitagile has quit [Quit: Leaving.]
Channel6 has joined #ruby
<benzrf>
shevy: haskell is usually compiled numpnuts
<schell>
once i got over the initial learning curve i loved it
<volty>
schell: in theory, in practice you get stuck with all that purity and moving simple values out of monads (you can of course move them semi-automatically, but you'll get lost in all that weird mechanism)
<volty>
s
<benzrf>
shevy: basically haskell has had andand built in since 2000
<schell>
but yes it can be interpreted
<benzrf>
foo.andand.bar ?
paulfm has joined #ruby
<volty>
schell: i love it too
<benzrf>
more like
<benzrf>
fmap bar foo
<shevy>
volty if you love it, why don't you use it?
paulfm has quit [Client Quit]
<volty>
because it's useless for big, scalable, heterogenous, projects
<schell>
it does become a lot of moving things in and out of contexts - but i prefer that to spending time in a debugger - or worse - writing tests
Rollabunna has quit [Ping timeout: 240 seconds]
<schell>
volty: that’s where i think you’re wrong
theotherstupidgu has quit [Ping timeout: 272 seconds]
clapcat has quit [Quit: leaving]
<schell>
it’s best on very big projects
<schell>
with lots of people
<volty>
no no, you'll appreciate a debugger after you get lost in functional purity with no break
theotherstupidgu has joined #ruby
<schell>
i am yet to get to that point ;)
<benzrf>
>because it's useless for big, scalable, heterogenous, projects
yetanotherdave has quit [Ping timeout: 265 seconds]
jimbach has joined #ruby
<schell>
hahaha
<schell>
yeah
<shevy>
isn't there anything large written in haskell?
<schell>
yes
i_s has quit [Ping timeout: 272 seconds]
<schell>
publicly popular and open source and not haskell-centric? mmmm…
<volty>
yes, not heterogenous, don't even have a decent gui lib
<shevy>
ack
<shevy>
no GUI in haskell?
<volty>
parsing xml is a pain with all those weird arrows
<volty>
they could do better if they did keep it simple
<volty>
but they want to pose aside their sexy, unlimited, arrowing operators
<schell>
volty: can you explain what you mean by heterogenous?
<schell>
uniform?
Wolland has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<schell>
but yes - now you’re hitting on some points
D9 has quit [Quit: Leaving]
<volty>
handle different things, different problems, not similar, haskell in wonderful in a closed world
<schell>
haskell doesn’t have the best gui support - though if you consider Gtk+ good, then it does
melik has quit [Quit: (null)]
<schell>
oh - then yes, it’s heterogenous
<volty>
one has to try it
<schell>
it’s a general purpose lang
mercwithamouth has quit [Ping timeout: 255 seconds]
<volty>
yes, but i am talking about implementing a prog that has to handle that complexity
robbyoconnor has quit [Ping timeout: 265 seconds]
Nilium has quit [Ping timeout: 255 seconds]
<volty>
the wrong thing about functional languages (imho) is that they do not give you a break
<benzrf>
volty you sound like somebody who has not yet drunk the kool aid
<benzrf>
come on and try it
martin_work has quit [Quit: martin_work]
<volty>
so you are about to say: give me a breath, let me resolve, let me save those states
weeb1e has quit [Ping timeout: 255 seconds]
<schell>
he’s right though - it can be really frustrating when you’re learning and you “just want this thing to be that”
<schell>
but you can’t have the good parts of purity and abstraction at that level if you use an escape hatch
<volty>
benzrf: you can't have even different classes (in ruby's terms) that have same names for functions
<volty>
in the same module (file)
Hijiri has joined #ruby
<benzrf>
volty: that
<benzrf>
that's your idea of limitations?
Wolland has joined #ruby
<Hijiri>
can I watch
<benzrf>
volty: you can't even define the same function in multiple clauses in ruby!!!
<schell>
when you’re used to sticking properties on things wherever you want and mutating them from any context, it can be hard to structure your program (or brain) to do what you want
<benzrf>
:b
<schell>
volty: you can import a module qualified
<schell>
import qualified My.Module as MM
<benzrf>
which you *cannot* do in ruby
<schell>
MM.someFunction blah
<benzrf>
something that has bugged me :|
<volty>
absolutely, i needed code for coordinates, i wanted diff data for diferent dimensions, but you can def only once 'x'
<benzrf>
def f(1)
<benzrf>
1
<benzrf>
end
<schell>
okay - i’m off
<schell>
it’s friday!
<benzrf>
doesn't work D:
<schell>
o/
<benzrf>
\o
schell has left #ruby [#ruby]
<banisterfiend>
schell you can do that just by assining a const
<volty>
schell: i have to spread the logic in more modules just for the sake of qualifying it ?
<volty>
you don't need in ruby
<benzrf>
volty: or you could avoid name reusage
<benzrf>
it's poor practice
<benzrf>
how often do you do that in ruby?
siwica has quit [Ping timeout: 260 seconds]
<volty>
no, nowhere without soem oop constructs (whether genuine or just syntax simulated)
<volty>
some problems are too complex for that limit
<volty>
what if we had to invent different name for legs of all animals ?
martin_work has joined #ruby
<Hijiri>
animals could be modeled by an ADT
Nilium has joined #ruby
<benzrf>
volty: that would be Doing It Wrong
<volty>
mah, try and see
<benzrf>
volty: perhaps you are thinking of `data Animal = Animal {stuff :: Thing, legs :: [Leg]}'
<volty>
simple: i prefer to have a lang where i can use x y for 2d coordinates, and x y z for 3d coordinates
<volty>
(and i do not want to use tuples)
<Hijiri>
is that for a function application, like for f x y or f x y z?
<volty>
anywas it's quite non-intelligent when you have to qualify what can be infered
<volty>
yes
siwica has joined #ruby
<volty>
x f, y f
<benzrf>
>not using lens
<Hijiri>
>tfw I still haven't learned lens
Jiye has joined #ruby
stormbytes has joined #ruby
<volty>
that apart, haskell looks wonderful when you work with simple lists and trees, but begins to look ugly when you have to master more complex problems & structures
<benzrf>
yes, the core language does indeed have that issue
<benzrf>
thank god for libraries :-)
theotherstupidgu has quit [Ping timeout: 240 seconds]
<volty>
name & operating clash has to be resolved // functional + give me a break + give me a state + give me base oop constructs
<volty>
go and study, those libraries :)
theotherstupidgu has joined #ruby
NoNMaDDeN has joined #ruby
stantona has quit [Ping timeout: 272 seconds]
<benzrf>
i have
<benzrf>
pipes for example is pretty neat
<benzrf>
btw,
<benzrf>
(x, y, z) = (_1, _2, _3)
Wolland has quit [Remote host closed the connection]
<volty>
neat, but examine the feat
nateberkopec has quit [Quit: Leaving...]
<benzrf>
one = (2, 1)^.x
<benzrf>
er
<benzrf>
one = (2, 1)^.y
<benzrf>
five = (2, 1, 5)^.z
<benzrf>
:-)
rkalfane has joined #ruby
theother1tupidgu has quit [Ping timeout: 256 seconds]
<volty>
that's why python is so ahead
<benzrf>
??????????????
<volty>
in italy there's "chi va piano va sano, va lontano"
theother1tupidgu has joined #ruby
<volty>
those who go slowly go healthy, go far
graydot has joined #ruby
<stormbytes>
evening
<stormbytes>
is it possible to use multiple tempates with sinatra/slim ?
jasooon has joined #ruby
<stormbytes>
err.. sorry templates = layouts
<volty>
there are constructs that look very nice, and you can decipher them as long as your job is deciphering them, but when your brain has to think about a real problem, that learinning curve, of sexy-math libs, goes down
arrubin has quit [Quit: Connection closed for inactivity]
<stormbytes>
like slim :foo, :layout => "layouts/layout_foo"
<benzrf>
but volty
<benzrf>
ruby and python and other imperative languages are much harder to think about
<volty>
(python respect to haskell, i meant)
<benzrf>
you have to remember what things return without types to tell you and typos dont get caught until you run it
<benzrf>
and most of all, you have to remember who's been messing with your state
<volty>
not at all, look, i am not expert on haskell, but beleive me i have commons sense, I saw them, i saw how it scales badly
<volty>
ruby gives you breath, you stop, you set aside, you pass on another part of the problem, you take it later
<benzrf>
u wot
icarus has quit [Remote host closed the connection]
<volty>
i the other one, pure & functional, it is much more difficult to take a rest
<benzrf>
how so..
martin_work has quit [Quit: martin_work]
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<volty>
that's my opinioni, that's why functional remained there, despite the great academic brains (of pure theory)
<Hijiri>
what led to your opinion
troyready has quit [Ping timeout: 256 seconds]
<volty>
experience ?
hobodave has joined #ruby
<volty>
it is much more easier to decompose a problem using a an imperative language (or mixed, with functional constructs, like ruby)
dh64 has quit [Quit: Konversation terminated!]
<benzrf>
.
<siwica>
where are the possible bot commands listed for #ruby?
d0ugb has joined #ruby
<volty>
human brain is associative, isn't recursive
d0ugb has quit [Remote host closed the connection]
<Hijiri>
I mean, what specific things makes pure functional programming more difficult to "take a rest" in
<volty>
pretending ppl to think 'functionally' remembers me of communists pretending people to behave in comunist way
<benzrf>
volty we are clearly of such intensely opposing views that the only ground a reasonable argument could take place on would be on more fundamental stuff than programming
<benzrf>
and tbh i'd rather argue about programming than human nature atm
<volty>
ahah
<volty>
true
<volty>
gn
volty has left #ruby ["Konversation terminated!"]
<benzrf>
cripes
arup_r has joined #ruby
jasooon has quit [Ping timeout: 250 seconds]
<siwica>
where are the possible bot commands listed for #ruby?
<benzrf>
no one knows that
<siwica>
^^
<siwica>
I guess people who use them aint guessing
mercwithamouth has joined #ruby
<soahccc>
I think I got a list once but there is no indication whether it's for unprivileged users
<tmoore>
Which bot? There's at least 2.
<siwica>
tmoore: for both then
<tmoore>
I know helpa at least only responds to whitelisted users
<siwica>
well I found out about the possibility for ">>" here, which obviously is for all users
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RastaqWhere has left #ruby [#ruby]
Channel6 has quit [Quit: Leaving]
arescorpio has quit [Excess Flood]
RastaqWhere has joined #ruby
thoolihan has joined #ruby
<soahccc>
Anyone knows a similar thing as daemonize for windows? Daemonize uses fork while windows can only spoon. I guess Process.spawn would be a thing but I need a control wrapper as well
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
davidhq has joined #ruby
RastaqWhere has quit [Client Quit]
davidhq has quit [Client Quit]
braincra- has joined #ruby
davidhq has joined #ruby
davidhq has quit [Client Quit]
braincrash has quit [Ping timeout: 244 seconds]
arup_r has quit [Quit: Leaving.]
thsig_ has joined #ruby
<shevy>
benzrf hehe
davidhq has joined #ruby
arya_ching has quit [Ping timeout: 255 seconds]
benzrf is now known as benzrf|offline
arya_ching has joined #ruby
jottr has quit [Read error: Connection reset by peer]
magic__ has joined #ruby
doug1 has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
mary5030 has quit [Remote host closed the connection]
emmesswhy has joined #ruby
gsd has joined #ruby
jimeh has quit [Ping timeout: 272 seconds]
melik has quit [Quit: (null)]
magic_ has quit [Ping timeout: 255 seconds]
NoNMaDDeN has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mercwithamouth has quit [Ping timeout: 272 seconds]
jimeh has joined #ruby
NoNMaDDe_ has joined #ruby
kireevco has quit [Quit: Leaving.]
moritzs has quit [Remote host closed the connection]
NoNMaDDeN has quit [Ping timeout: 272 seconds]
martin_work has quit [Quit: martin_work]
renlo has joined #ruby
ahri_ has joined #ruby
mary5030 has joined #ruby
weeb1e has joined #ruby
ahri has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
i_s has joined #ruby
fabrice31 has joined #ruby
mercwithamouth has joined #ruby
martin_work has joined #ruby
sinequanon has joined #ruby
Vile` has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
koderok has joined #ruby
koderok has quit [Client Quit]
thoolihan has quit [Ping timeout: 258 seconds]
Vile` has joined #ruby
pkrnj has quit [Ping timeout: 250 seconds]
i_s has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 255 seconds]
NoNMaDDeN has joined #ruby
Techguy305 has joined #ruby
pkrnj has joined #ruby
NoNMaDDe_ has quit [Ping timeout: 256 seconds]
NoNMaDDe_ has joined #ruby
NoNMaDDeN has quit [Ping timeout: 265 seconds]
danijoo has quit [Read error: Connection reset by peer]
mercwithamouth has quit [Ping timeout: 255 seconds]
danijoo has joined #ruby
chrishough has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
thsig_ has quit [Remote host closed the connection]
Channel6 has joined #ruby
beneggett has joined #ruby
<lampd1>
ActiveRecord is `tits`
<lampd1>
that is all
Akagi201_ has quit []
rubie has quit [Quit: Page closed]
cajone has joined #ruby
yfeldblum has joined #ruby
bricker`work has joined #ruby
<shevy>
lol
sinequanon has quit []
hmsimha has joined #ruby
mary5030 has quit [Remote host closed the connection]
pkrnj has quit [Ping timeout: 272 seconds]
beneggett has quit [Ping timeout: 244 seconds]
beneggett has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
techsethi has joined #ruby
Photism has quit [Quit: Leaving]
slawrence00 has joined #ruby
doug1 has joined #ruby
pkrnj has joined #ruby
jottr has joined #ruby
greygrissom has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
klaut has quit [Remote host closed the connection]
pyon has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
User458764 has joined #ruby
iamdoo2 has joined #ruby
totimkopf is now known as deadskinmask
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com)]
beneggett has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
techsethi has joined #ruby
Guest11908 has quit [Quit: Computer has gone to sleep.]
i_s has joined #ruby
ChoiKyuSang has joined #ruby
r0bby_ has joined #ruby
i_s has quit [Ping timeout: 260 seconds]
techsethi has quit [Quit: techsethi]
codecop has quit [Ping timeout: 245 seconds]
techsethi has joined #ruby
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
abuzze has joined #ruby
techsethi has quit [Client Quit]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
otherj has joined #ruby
tskogberg has quit [Ping timeout: 240 seconds]
<atomi>
im learning how to computer
User458764 has quit [Ping timeout: 255 seconds]
unshadow has joined #ruby
<unshadow>
I'm trying to read information from a socket, buffer the information into a packet untill I get the EOFerror, will this work?:
tskogberg has joined #ruby
<unshadow>
while buf = (socket.read_nonblock(4096) rescue nil)
<unshadow>
(data||="") << buf
<unshadow>
end
pyon has joined #ruby
tvw has joined #ruby
ptrrr has joined #ruby
govg has joined #ruby
arya_ching has quit []
tonini has joined #ruby
fantazo has quit [Quit: Verlassend]
patrick99e99 has joined #ruby
parduse is now known as Guest6445
parduse has joined #ruby
tonini has quit [Ping timeout: 250 seconds]
Guest6445 has quit [Ping timeout: 244 seconds]
govg has quit [Quit: leaving]
tadayoshi has quit [Ping timeout: 255 seconds]
patrick99e99 has quit [Ping timeout: 265 seconds]
sevenseacat has joined #ruby
tadayoshi has joined #ruby
Wolland_ has quit [Remote host closed the connection]
codecop has joined #ruby
NoNMaDDeN has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 255 seconds]
jheg has joined #ruby
NoNMaDDeN has joined #ruby
yfeldblum has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
yfeldblum has quit [Remote host closed the connection]
hmsimha has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
<apeiros>
unshadow: it will "work". it will also stop reading on any other exception, not just EOF
<apeiros>
and data||="" in an iteration is a bad idea. just do data = "" before your loop
<apeiros>
also avoids having data == nil in case of immediate EOF
mvkdev has joined #ruby
<mvkdev>
i'm trying to optimize a ruby-rails application
<mvkdev>
that is badly performing
dawkirst has joined #ruby
<mvkdev>
looking at 'top' i hardly see any cpu usage, ruby (and nothing else) gets to 2% usage and then after a slow response, its gone ..
adaccada has joined #ruby
godd2 has quit [Ping timeout: 256 seconds]
<mvkdev>
its a rails/unicorn application with redis
<mvkdev>
on nginx / psql
alem0lars|away is now known as alem0lars
suzylee has joined #ruby
FooMunki has joined #ruby
<mvkdev>
(well ruby gets to 38% cpu usage on a ARM that is, monitoring it better ..)
<mvkdev>
what can i do to make it perform better?
<suzylee>
James
<suzylee>
are you there?
<suzylee>
what happeneed what went wrong
<apeiros>
mvkdev: figure out what the bottleneck is
<suzylee>
why did you remove me like that out of the blue with no explanation? please answer my email
kantakt has quit [Ping timeout: 256 seconds]
<mvkdev>
apeiros: i think, the ruby app ;-) but cant find the painpoint
<apeiros>
mvkdev: since from what you say it's not CPU bound, it might be RAM or IO
Timgauthier is now known as timgauthier_away
<apeiros>
mvkdev: anyway, find a request which is reproducably slow. then profile it.
mercwithamouth has quit [Read error: Connection reset by peer]
<mvkdev>
apeiros: yes ok, well that's a start yes -> profile it by hand you mean?
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
mercwithamouth has joined #ruby
nfk has joined #ruby
<apeiros>
mvkdev: whatever works for you. there are profilers. but personally I prefer doing a rough breakup to narrow it down before I go at it with tools.
suzylee has left #ruby [#ruby]
livathinos has joined #ruby
<shevy>
sounds like apeiros has become a dentist
rbrs has joined #ruby
<apeiros>
if the time rails reports and the time your browser reports differ wildly, then there's also the option that it's part of the infrastructure around rails which is slow
livathin_ has joined #ruby
<apeiros>
e.g. we had that once when an appliance unpacked gzipped assets, scanned them, and then repacked them. was ~80% of the roundtrip time
hmsimha has joined #ruby
drawingthesun has joined #ruby
mercwithamouth has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
Rollabunna has quit [Ping timeout: 260 seconds]
rpag has joined #ruby
livathinos has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
unshadow has quit [Quit: leaving]
saGGio has joined #ruby
tonini has joined #ruby
timonv_ has joined #ruby
FooMunki has quit [Quit: FooMunki]
<mvkdev>
apeiros: this seems to give some sort of clue
livathinos has quit [Remote host closed the connection]
i_s has quit [Ping timeout: 255 seconds]
jhass|off is now known as jhass
shredding has quit [Quit: shredding]
siwica has quit [Remote host closed the connection]
rkalfane has joined #ruby
schaerli has joined #ruby
stantona has joined #ruby
livathinos has joined #ruby
tonini has joined #ruby
RyanV has joined #ruby
moritzs has joined #ruby
<RyanV>
whats the correct way to include a gem that is not published to rubygems as a dependency in another gem (e.g. include .gem file, specify git repo, etc.)?
Squarepy has joined #ruby
<jhass>
just declare it regularly
m8 has quit [Quit: Sto andando via]
<jhass>
then distribute the .gem in some way and tell people to gem install it
<jhass>
you can also run your own rubygems.org like service
<jhass>
there's also SaaS stuff for doing so
endash has joined #ruby
siwica has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Versality has joined #ruby
<RyanV>
is there no way to specify a repo or path to a gem in the gemspec?
<jhass>
no
Pupeno has quit [Quit: Leaving...]
shredding has joined #ruby
Takle has joined #ruby
Timgauthier is now known as timgauthier_away
livathinos has quit [Remote host closed the connection]
<jhass>
do you use bundler in the target project?
siwica has quit [Ping timeout: 250 seconds]
<jhass>
where your private gem that depends on another private gem is used
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
siwica has joined #ruby
moritzs has quit [Remote host closed the connection]
icbm has quit [Quit: Leaving]
_ixti_ has joined #ruby
Xeago has joined #ruby
siwica has quit [Ping timeout: 250 seconds]
Versality has quit [Read error: Connection reset by peer]
chipotle has quit [Ping timeout: 245 seconds]
Versality has joined #ruby
blenny has quit [Ping timeout: 244 seconds]
schaerli has quit [Read error: Connection reset by peer]
govg has quit [Remote host closed the connection]
cina has quit [Ping timeout: 255 seconds]
cina has joined #ruby
Guest63337 has quit [Ping timeout: 260 seconds]
tonini has quit [Ping timeout: 250 seconds]
dutch53 has joined #ruby
_whitelogger has joined #ruby
AlSquire has joined #ruby
dutch53 has quit [Client Quit]
dudeman209 has joined #ruby
havenwood has joined #ruby
Azure has quit [Max SendQ exceeded]
blenny has joined #ruby
SilkFox has joined #ruby
dudeman209 has quit [Client Quit]
dudeman209 has joined #ruby
dudeman209 has quit [Client Quit]
dudeman209 has joined #ruby
claymore has joined #ruby
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
caveat- has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
caveat- has joined #ruby
danblack has quit [Ping timeout: 246 seconds]
Azure has quit [Max SendQ exceeded]
abuzze has quit [Ping timeout: 265 seconds]
tatsuo has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
IrishGringo has joined #ruby
Xeago has joined #ruby
Azure has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
Soda has quit [Remote host closed the connection]
arya_ching has joined #ruby
yokel has quit [Ping timeout: 272 seconds]
dawkirst has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 256 seconds]
ARCADIVS has joined #ruby
yokel has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
tatsuo has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
msmith has joined #ruby
yeticry has joined #ruby
spider-mario has joined #ruby
spider-mario has quit [Remote host closed the connection]
spider-mario has joined #ruby
D9 has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
jasooon has joined #ruby
fabrice31 has joined #ruby
decoponio has joined #ruby
theother2tupidgu has joined #ruby
jenrzzz has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
nateberkopec has joined #ruby
decoponyo has quit [Ping timeout: 272 seconds]
theother2tupidgu has quit [Client Quit]
nfk has quit [Quit: yawn]
rahult is now known as rahult_
chipotle has joined #ruby
msmith has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
nfk has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
rahult_ is now known as rahult
nfk has quit [Remote host closed the connection]
theother2tupidgu has joined #ruby
tadayosh_ has quit []
theother2tupidgu has quit [Client Quit]
theother1tupidgu has quit [Quit: leaving]
theother1tupidgu has joined #ruby
nateberkopec has quit [Client Quit]
theother1tupidgu has quit [Client Quit]
hmsimha has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
<rpag>
you could also bundle the gem with your own
jasooon has quit [Ping timeout: 258 seconds]
_1_DrStave has joined #ruby
<_1_DrStave>
hi
_1_DrStave has left #ruby [#ruby]
theotherstupidgu has quit [Ping timeout: 255 seconds]
<rpag>
hello
<jhass>
68 seconds too slow ;)
Deele has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<rpag>
thats what i get for not showing joins/quits :P
NoNMaDDeN has quit [Quit: Leaving...]
ndrei has quit [Ping timeout: 265 seconds]
<jhass>
smart filters ftw ;P
i_s has joined #ruby
kaspergrubbe has joined #ruby
adac has quit [Ping timeout: 256 seconds]
zybi1 has joined #ruby
valeriansaliou has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
i_s has quit [Ping timeout: 244 seconds]
lxsameer has quit [Quit: Leaving]
weemsledeux has joined #ruby
weemsledeux has joined #ruby
jheg has joined #ruby
abuzze has joined #ruby
valeriansaliou has quit [Ping timeout: 245 seconds]
Squarepy has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abuzze has quit [Ping timeout: 265 seconds]
gauke has joined #ruby
pandaant has joined #ruby
nichtdiebohne1 has left #ruby [#ruby]
techsethi has quit [Quit: techsethi]
yfeldblum has quit [Remote host closed the connection]
rkalfane has joined #ruby
havenwood has quit [Remote host closed the connection]
kotk_ has joined #ruby
pandaant has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 240 seconds]
reinaldob has quit [Remote host closed the connection]
t_p has joined #ruby
fabrice31 has joined #ruby
oleo has joined #ruby
siwica has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
claw___ has joined #ruby
claw__ has quit [Ping timeout: 260 seconds]
theotherstupidgu has joined #ruby
chipotle_ has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Ping timeout: 265 seconds]
VanillaGoat_ has joined #ruby
rkalfane has joined #ruby
siwica has quit [Remote host closed the connection]
siwica has joined #ruby
Scotteh has quit [Ping timeout: 244 seconds]
User458764 has joined #ruby
charliesome has quit [Quit: zzz]
rbrs has quit [Quit: Leaving]
VanillaGoat__ has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
stantona has quit [Ping timeout: 240 seconds]
SilkFox has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
zorak8 has joined #ruby
<apeiros>
banisterfiend: ping
t_p has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby
Lewix has quit [Remote host closed the connection]
niKeITA has joined #ruby
jasooon has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
tatsuo has quit [Remote host closed the connection]
i_s has joined #ruby
niKeITA has quit [Remote host closed the connection]
poulet_a has joined #ruby
NoNMaDDeN has joined #ruby
zorak8 has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
Scotteh has joined #ruby
michael_mbp has joined #ruby
mistermocha has joined #ruby
i_s has quit [Ping timeout: 255 seconds]
tonini has joined #ruby
Pupeno has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
bMalum has joined #ruby
timonv_ has quit [Remote host closed the connection]
shredding has quit [Quit: shredding]
tonini has quit [Ping timeout: 250 seconds]
klmlfl has joined #ruby
andrewlio has quit [Remote host closed the connection]
linojon has joined #ruby
FooMunki has joined #ruby
robbyoconnor has quit [Ping timeout: 272 seconds]
dh64 has quit [Quit: Konversation terminated!]
siwica has quit [Remote host closed the connection]
siwica has joined #ruby
FooMunki has quit [Client Quit]
paulfm has joined #ruby
zorak8 has joined #ruby
Wolland has joined #ruby
havenwood has joined #ruby
arya_ching has quit []
stantona has joined #ruby
thsig has joined #ruby
dangerousdave has joined #ruby
cina_ has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
klmlfl has quit []
Wolland has quit [Ping timeout: 265 seconds]
mistermocha has quit [Remote host closed the connection]
sailias has joined #ruby
snath has joined #ruby
hfp has quit [Quit: bye]
hfp_work has quit [Quit: bye]
msmith has joined #ruby
cina has joined #ruby
t_p has joined #ruby
Channel6 has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
seaned has quit [Quit: …was abducted by aliens.]
sevenseacat has quit [Quit: Leaving.]
jottr_ has joined #ruby
msmith has quit [Ping timeout: 255 seconds]
rshetty has joined #ruby
Devr3d has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
govg has joined #ruby
agrinb has joined #ruby
AlexRussia has joined #ruby
yokel has quit [Ping timeout: 250 seconds]
aaronite has joined #ruby
<aaronite>
Hello, How do I communicate through a TCPSocket? I know how to receive, but not how to send.
pashebash has joined #ruby
<apeiros>
aaronite: um, there's about a dozen methods to send
zorak8 has quit [Ping timeout: 244 seconds]
<apeiros>
puts & write f.ex.
<aaronite>
apeiros: I want to send with a nullbyte in the end.
<aaronite>
Because that's compliant to the protocol that i'm currently I/O-ing with
poulet_a has quit [Ping timeout: 250 seconds]
<eam>
aaronite: syswrite and sysread
<aaronite>
eam: does this send a nullbyte
<apeiros>
eam: why syswrite and not write?
<eam>
it will send arbitrary byte strings
<apeiros>
aaronite: if you write a nullbyte, it does
yokel has joined #ruby
<aaronite>
apeiros: is chr.0 a nullbyte?
<eam>
write should go through the rubyio layer, which you generally don't want for network behaviors
<apeiros>
aaronite: no
<apeiros>
"\0" is a nullbyte
<aaronite>
yes
<apeiros>
0.chr is a nullbyte
shazaum has joined #ruby
<apeiros>
"\x00" is a nullbyte
<apeiros>
but chr.0 is a syntax error
<aaronite>
yeah, sorry I got confused
<aaronite>
i haven't used ruby in a while
carraroj has quit [Ping timeout: 265 seconds]
<eam>
aaronite: encoding may matter as well, you can always use pack/unpack to build specific byte strings
einarj has quit [Remote host closed the connection]
<aaronite>
okay, thanks
shazaum has quit [Client Quit]
chipotle_ has quit [Quit: cya]
* Hanmac
points at verious things: "you are a nullbyte, you are a nullbyte and you are a nullbyte" ;P
<apeiros>
well, "\x00" is valid in any ascii compatible encoding (to which utf-8 counts)
mistermocha has joined #ruby
<apeiros>
Hanmac: you've seen too much asterix & obelix?
thsig has quit [Remote host closed the connection]
<apeiros>
eam: that's one of the things I wanted to clear up for myself for years - when to use sys* and when not
jheg has quit [Quit: jheg]
rshetty has quit []
bluOxigen has joined #ruby
gsd has joined #ruby
<aaronite>
while str = sock.gets
<aaronite>
can I do, sock.print ?
thsig has joined #ruby
rshetty has joined #ruby
<Hanmac>
apeiros: thats too ;P specially the one with that house that turns you crazy ;P
<apeiros>
aaronite: you do know that there is IRB and pry and you can just try it out, right?
<aaronite>
yes
ajaya has joined #ruby
<apeiros>
aaronite: also there is ri and ruby-doc.org
<eam>
apeiros: I'm not sure of the low level particulars in ruby, but generally the non-sys() io functions act like f* family of stdio C functions what with buffering and flushing and so on
<eam>
and sometimes translations of bytes
<apeiros>
aaronite: then go and try it out
timonv_ has joined #ruby
<apeiros>
and then when you have a question after trying yourself, come here and ask
<eam>
sys*() should map directly to the read/write syscalls
diegoviola has joined #ruby
<apeiros>
eam: I think I'll read the source to those methods
<apeiros>
I assume the higher level calls will also try to schedule threads
ndrei has quit [Ping timeout: 256 seconds]
<apeiros>
syswrite also states not to mix with non syswrite
<aaronite>
argh, i'm having this annoying problem
jxf has quit [Ping timeout: 265 seconds]
<aaronite>
ruby won't receive this packet whilst wireshark will
<eam>
easier to manipulate the data in ruby though
<aaronite>
yeah ;)
mistermocha has quit [Remote host closed the connection]
<eam>
aaronite: with a proper select loop: read_fd, write_fd, err_fd = IO.select([sock], [sock], nil, 1)
<eam>
and then if read_fd, you can read from it
<mr_snowf1ake>
so, i have what i hope is a quick question... i'm trying to use open3 to interact with a program on my computer (mps-youtube), but whenever i do an stdout.gets or an stdout.getc it seems to hang. any idea why that might be?
<eam>
if write_fd you can write to it
Cache_Money has joined #ruby
<eam>
and so on -- without blocking your program (before, gets() was blocking trying to read from the socket looking for a "\n")
TripTastic has joined #ruby
<jhass>
mr_snowf1ake: your program probably doesn't send a "\n"
<eam>
when you call gets() you're really calling something like sysread(4096) which may read way way more than one line
<mr_snowf1ake>
jhass: but shouldn't getc return something?
<eam>
and then it just pretends to have read less, and keeps the remainder in a queue (remember, sys vs non-sys is mostly that queue)
<lampd1>
`Your eyelids taste like bacon`
<jhass>
mr_snowf1ake: only if there's output
<eam>
when working with a terminal end of line has sort of magical properties due to how terminals operate, so gets() sees exactly the line typed
<mr_snowf1ake>
strange... i definitely see output when i run this in the terminal..
<eam>
but that's not how normal descriptors work
arrubin has joined #ruby
<mr_snowf1ake>
eam: yeah. hmm...
rbrs has joined #ruby
<aaronite>
eam
weemsledeux has joined #ruby
weemsledeux has joined #ruby
<aaronite>
the server generates a key and sends it to me, how do I get this key and return it to the server?
harax_ has joined #ruby
poulet_a has joined #ruby
arup_r has quit [Quit: Leaving.]
pashebash has quit [Ping timeout: 272 seconds]
jheg has joined #ruby
sailias has quit [Quit: Leaving.]
adamski2600 has joined #ruby
pu22l3r has quit [Ping timeout: 258 seconds]
Blizzy has joined #ruby
sigurding has joined #ruby
<eam>
aaronite: depends on the protocol you're interacting with
Takle has quit [Remote host closed the connection]
einarj has joined #ruby
<eam>
mr_snowf1ake: for your popen3 case, are you sure your program is printing? strace is really useful for debugging where these kinds of things get stuck
romistrub has joined #ruby
<aaronite>
eam: it's a mix between XML and XT packets
<aaronite>
i don't even know anymore :O
<romistrub>
afternoon everybody
<eam>
aaronite: when things get properly complicated you'll want to write up a state machine which can handle things like multiple reads/writes
<jhass>
you probably made a mistake comparing the load paths or use an ancient ruby version where rubygems is not automatically loaded
tommylommykins has quit [Remote host closed the connection]
<romistrub>
jhass: I checked ruby_version, it's 2.1.3
Helious has joined #ruby
<aaronite>
eam: The key is sent to me, but how do I get the key, from <k> to </k>?
<aaronite>
The key inside those tags, how do I get it?
<romistrub>
double and triple-checked the $LOAD_PATHs; they're the same
einarj has quit [Ping timeout: 245 seconds]
gauke has quit [Quit: gauke]
<eam>
aaronite: ideally you would use an xml parser. As a hack, you could try a regex
shai has joined #ruby
<eam>
regex is not a good general purpose solution
<shai>
hi :) is there a way to change the Windows playback device using Ruby?
<eam>
but everything you're doing here is rather hackish, so
D9 has quit [Client Quit]
CorySimmons has joined #ruby
<shai>
From speakers to headset and back again ... etc.
Wolland has joined #ruby
poulet_a has quit [Ping timeout: 265 seconds]
<aaronite>
eam: I don't know how to regex from <k> to </k>
tommylommykins has joined #ruby
<mr_snowf1ake>
eam: i'm pretty sure it is... at least, when i run the same commands directly from the terminal, i get output. though i guess that doesn't necessarily mean all too much, but it's not in stderr so i figure it must be in stdout?
<jhass>
romistrub: it might be easier to install passenger into your RVM and built a rack app
<romistrub>
jhass: I just tried require 'rubygems' and there's no difference
<romistrub>
jhass: I actually have passenger and rack, and I'm just trying to poke around the basics of it, so I can solve etherial problems like this one
<jhass>
the easiest thing is building a rack app and using a standalone application server and reverse proxying it with apache/nginx
<jhass>
if you have passenger troubles debug those instead, join #passenger
<eam>
mr_snowf1ake: you can use IO.select() to see which of the three fds to your subprocess are ready to interact with. And strace will simply show you
<romistrub>
jhass: ruby CGI was hella easy except for this weird require problem
<eam>
aaronite: /<k>(.*)<\/k>/
<eam>
modulo other pattern complications
<aaronite>
oh
<aaronite>
thanks, how do I use it?
<eam>
such as if multiple k tags exist
<romistrub>
jhass: for me, at this point, it's about gaining insight into how the system works, how require can work in CLI but not CGI given the same LOAD_PATH, than actually getting a working app... I'm in student mode :P
<aaronite>
.match() ?
<apeiros>
romistrub: rubygems does not depend on $LOAD_PATH
<eam>
>> "some text <k> to </k> lalala" =~ /<k>(.*)<\/k>/; $1
<jhass>
romistrub: probably GEM_PATH / GEM_HOME / RUBYOPT etc. differences
<eam>
or .scan, sure
<apeiros>
romistrub: check out ENV
<tobiasvl>
but remember that HTML is not a regular language, so if you're trying to parse that you will have a hard time
<romistrub>
apeiros: I have a print-out of ENV, and yes, there's no GEM_PATH or GEM_HOME, etc., in the CGI, so does require reference those ENVs?
<tobiasvl>
aaronite: ^
<eam>
yes, this is absolutely a fragile hack -- you will have trouble with multiple <k> tags, or if the tag changes to "<k >" or similar
<aaronite>
tobiasvl: this is xml
<romistrub>
and if so, does RVM overload require, or something?
pu22l3r has joined #ruby
<tobiasvl>
aaronite: well the same thing applies
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
aaronite: the correct way is to read all the xml and then use an xml parser
mesamoo has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
<aaronite>
eam: it's just a test i'm using to login to a server
<apeiros>
romistrub: if no env vars are present, it falls back to its defaults. not sure how to get at them. probably via methods on Gem
<tobiasvl>
aaronite: you will not be able to parse nested xml with regexp. use a real xml parser
<jhass>
romistrub: RVM changes the default locations for those, so the builtin defaults fail if the vars are unset
rkalfane has joined #ruby
<eam>
yeah, that's fine, regex is ok for a throwaway prototype
<aaronite>
puts str =~ /<k>(.*)<\/k>/
bMalum has quit [Quit: bMalum]
<apeiros>
romistrub: anyway, if in CLI they're present and in CGI they're not (or other way round), you're probably having two different rubygems (maybe even two different rubies)
<aaronite>
this returns 40 for some reason
<romistrub>
apeiros: env vars are present, though, through apache, including the one I specifically set (PATH) so apache loads the correct interpreter
<eam>
aaronite: it doesn't return the capture, it puts it in $1
<aaronite>
oh
<eam>
#scan will return matches directly
<romistrub>
apeiros: I checked the rubies, they're the same version, same path
Helious has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
unshadow has quit [Quit: leaving]
<shai>
Hi :) is there a way to change the Windows playback device using Ruby? From speakers to headset and back again ... etc.
<eam>
>> "match the third word".scan /\w+ \w+ (\w+) \w+/
<romistrub>
apeiros: just checked the interpreter being used via RbConfig.ruby and they're the same interpreter in both CGI and CLI
<romistrub>
same interpreter, same loadpath, different require behaviours :|
<apeiros>
romistrub: as said, rubygems does not depend on $LOAD_PATH
reinaldob has joined #ruby
<romistrub>
apeiros: how does rubygems locate rubies?
<jhass>
romistrub: again, make sure to have the same GEM_HOME / GEM_PATH, RVM changes the default locations so they need to be set
<apeiros>
apeiros: 18:37 apeiros: romistrub: anyway, if in CLI they're present and in CGI they're not (or other way round), you're probably having two different rubygems […]
zorak8 has joined #ruby
mistermocha has joined #ruby
<aaronite>
key = str.scan /<k>(.*)<\/k>/
<romistrub>
jhass: thanks, will try that
ndrei has quit [Ping timeout: 255 seconds]
<aaronite>
cant convert string to array?
<apeiros>
where "they" = GEM_* env vars
alem0lars is now known as alem0lars|away
jenrzzz has quit [Ping timeout: 244 seconds]
<mr_snowf1ake>
eam: thanks, i'll give strace a try.
reinaldob has quit [Remote host closed the connection]
<romistrub>
jhass: would it be correct to add these ENVs in Apache's envvars?
CorySimmons has quit [Quit: Bye!]
<jhass>
I don't use apache and I don't use cgi
<aaronite>
key = str.scan /<k>(.*)<\/k>/
<aaronite>
sock.write(key + 0.chr)
Helious has joined #ruby
<jhass>
and I don't use RVM
<aaronite>
It says I can't convert a string to an array
Helious has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 240 seconds]
Helious has joined #ruby
<romistrub>
jhass: hah, ok
poulet_a has joined #ruby
msmith has quit [Ping timeout: 265 seconds]
Helious has quit [Max SendQ exceeded]
pencilcheck has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
<aaronite>
is there a similar regexp method like scan, but doesn't turn it into an array but a string?
* apeiros
rolls eyes
<jhass>
aaronite: read the backlog again
<n3b>
hello
m8 has joined #ruby
<eam>
aaronite: when in doubt of what a thing is: puts thing.inspect
<apeiros>
help vampire which doesn't pay attention. nice.
<aaronite>
eam: thanks, I used your earlier suggestion to put it in $1
rkazak has joined #ruby
<n3b>
I'm beginner. I playing with cinch the ruby irc bot. I would like to store nick message and timestamp in a db but don't know with one it's better, easier to do. I will show stats and result on a small site with sinatra. Idealy I would like to add d3.js
<n3b>
any idea for the db
Helious has joined #ruby
<jhass>
Use Sequel
Takle has joined #ruby
<jhass>
then you can fairly easily switch DBs as needed
<jhass>
if one doesn't cope with the load
<rpag>
SQLite3 could be an option to start off with
ctp has joined #ruby
<jhass>
^
<n3b>
thanks jhass and rpag
Squarepy has joined #ruby
zorak8 has quit [Ping timeout: 272 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has joined #ruby
<romistrub>
jhass: apeiros you guys are the best. Adding GEM_PATH in envvars using SetEnv was all I needed to do! :D
<romistrub>
so obviously require is accessing GEM_PATH, is there documentation on this anywhere? Nothing I read about require suggested that it was using anything other than LOAD_PATH :|
<jhass>
romistrub: rubygems overrides require
mercwithamouth has joined #ruby
zorak8 has joined #ruby
<mr_snowf1ake>
strange... eam, i'm going to further inquire you on this. so, i called stdin, stdout, stderr = Open3.popen3('mpsyt'); rs, ws = IO.select([stdin], [stdout]); and it hangs. Am I calling this incorrectly?
<romistrub>
jhass: thanks so much, that's what I needed to know
mary5030 has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 265 seconds]
kireevco has quit [Quit: Leaving.]
VBlizzard has joined #ruby
<Cache_Money>
I installed rbenv by cloning a Git repo onto an Ubunto VPS. I'd like to uninstall it and use RVM. Is there an easy way to unistall it? I tried $ apt-get remove rbenv but that didn't do anything
ndrei has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
Blizzy has quit [Ping timeout: 265 seconds]
godd2 has joined #ruby
<havenwood>
Cache_Money: rm -rf "$HOME/.rbenv"
diegoviola has joined #ruby
m8tt8 has joined #ruby
lxsameer has joined #ruby
aaronite has quit [Quit: leaving]
gsd has joined #ruby
oleo has quit [Ping timeout: 240 seconds]
bricker`work has quit [Ping timeout: 240 seconds]
<havenwood>
Cache_Money: and remove any mention of it from your dotfiles
oleo has joined #ruby
<havenwood>
Cache_Money: if you didn't install it with apt you can't uninstall it with apt
Meeh has quit [Quit: No Ping reply in 180 seconds.]
m8tt8 has quit [Read error: Connection reset by peer]
m8 has quit [Ping timeout: 245 seconds]
ep3static has joined #ruby
<shevy>
hehe
Meeh has joined #ruby
Hobogrammer has joined #ruby
<shevy>
Cache_Money apt-get is like fightclub - only those that stay inside that bubble can use it for handling software
cina has quit [Ping timeout: 255 seconds]
ctp has joined #ruby
cina has joined #ruby
TripTastic has left #ruby ["Leaving"]
<shevy>
does apt-get actually support installing into a user home directory?
govg has joined #ruby
<Cache_Money>
shevy: I didn't think so but the accepted answer on SO said that worked. Going to use havenwood's answer
lessless has quit [Remote host closed the connection]
<rpag>
dont think so
<havenwood>
Cache_Money: I guess this *is* #ruby, so: require 'FileUtils'; FileUtils.rm_rf File.join Dir.home, '.rbenv'
<shevy>
hmm
<havenwood>
:P
cina has quit [Remote host closed the connection]
ValicekB has quit []
<shevy>
interesting to see that SO recommends apt-get handling of rbenv
<jstream>
how do i know if a segfault i'm encountering is a bug in ruby, or a library?
<havenwood>
shevy: the best way to install rbenv is to use chruby
<shevy>
hey!
<shevy>
I use the source
cashnguns has joined #ruby
<havenwood>
The source runs deep with this one.
<shevy>
jstream hard to say, crashes look similar. I've seen crashes with ruby-gnome
amundj has quit [Ping timeout: 255 seconds]
_2easy has joined #ruby
_2easy has joined #ruby
<shevy>
havenwood one day I'll reach the point of where everything will compile smoothly!
SilkFox has joined #ruby
lampd1 has quit [Remote host closed the connection]
lampd1 has joined #ruby
Helious has quit [Quit: Be back later ...]
Helious has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
willgorm- has quit [Ping timeout: 240 seconds]
stunder has quit [Quit: Screw you guys I'm going home]
Helious has joined #ruby
lampd1 has quit [Ping timeout: 240 seconds]
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
skolman has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
willgorman has joined #ruby
alem0lars|away is now known as alem0lars
melik has joined #ruby
Takle has quit [Remote host closed the connection]
jasooon has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has joined #ruby
kobain has joined #ruby
ValicekB has joined #ruby
rbrs has quit [Remote host closed the connection]
tonini has quit [Quit: Lost terminal]
tonini has joined #ruby
mr_snowf1ake has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Quit: WeeChat 1.1-dev]
Takle has joined #ruby
AlexRussia has joined #ruby
arup_r has joined #ruby
boombadaroomba has joined #ruby
techsethi has joined #ruby
popipopi has joined #ruby
Versality_ has joined #ruby
Versality has quit [Read error: Connection reset by peer]
sanukcm has joined #ruby
timonv_ has quit [Remote host closed the connection]
jasooon has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
davedev24_ has joined #ruby
boombadaroomba has quit [Ping timeout: 255 seconds]
electrical has joined #ruby
sanukcm has left #ruby [#ruby]
<jhass>
jstream: in 90% of the cases I've seen it's the C ext or even a library a C ext links to
sanukcm has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
popipopi has quit [Remote host closed the connection]
sanukcm has quit [Quit: Leaving.]
<electrical>
hi all, i'm trying to do some version comparison and most likely trying to take the hard way. I have a string like this: "< 2.0.0, >= 1.4.0" and i have a variable x with string '1.5.0' i want to do some version comparison to check if my version compares with the string given... so in this case if its higher or same like 1.4.0 and lower then 2.0.0 any
<electrical>
idea's ? my main issue i've been having is if i have the comparator in a variable ( comp = '<' for example ) i can't do a comparison.. any idea's ?
fabrice31 has quit [Ping timeout: 240 seconds]
zorak8 has quit [Ping timeout: 265 seconds]
<jhass>
electrical: You should be able to use Rubygems implementation, look at Gem::Version as a starting point
<leitz>
Newbie question using Ruby 1.8.7.. I've defined a hash: ranks = { 'E1' => 'Private', 'E2' => 'Lance Corporal'}. When I reuire the file and then call ranks['E1'] I get "undefined local variable.
<electrical>
oh, interesting.
<leitz>
Besides a brain, what am I missing.
<electrical>
Hanmac: your's would save me some weird work. thanks!
<electrical>
will try that out
jstream has left #ruby [#ruby]
livathinos has quit [Ping timeout: 240 seconds]
<Hanmac>
leitz: local variables are file-scoped
<Hanmac>
you need either a constant or global variables or instance variables
<electrical>
Hanmac: your's works like a charm. thanks!
* leitz
starts a google search.
<jhass>
leitz: please don't learn the language on a 8 years old version
<jhass>
that's EOL
<havenwood>
leitz: 2.1.3! ;)
<leitz>
jhass, no option. My work uses RHEL 6, and that's what Ruby they have.
<havenwood>
boo hiss
benzrf|offline is now known as benzrf
<leitz>
I desire to get paid more than I desire Ruby perfection. :)
andrewlio has joined #ruby
end_guy has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
atmosx has quit [Remote host closed the connection]
St_Marx has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
* jhass
curses RHEL yet again
<Hanmac>
RHEL should be EOL too ;P
<jhass>
totally
iamdoo2 has quit [Remote host closed the connection]
amundj has quit [Ping timeout: 256 seconds]
<leitz>
RHEL pays my bills so I can't complain. However, if I can learn enough Ruby to move from admin to systems programmer, life might be better.
<leitz>
And making it RANKS fixes the issue, thanks!
Helious has quit [Quit: Be back later ...]
<Hanmac>
leitz: use rvm or something similar to get a recent ruby on your system
electrical has left #ruby [#ruby]
<leitz>
Hanmac, won't help. I am learning Ruby to support puppet, which in our case uses the OS Ruby version.
<shevy>
ack
<benzrf>
leitz: you want Ranks, not RANKS
yfeldblum has joined #ruby
atmosx has joined #ruby
<shevy>
leitz in general, the first character is important for ruby to determine whether it is a constant or not
<shevy>
so both Ranks and RANKS work equally well for the ruby parser itself whereas ranks would not
msmith has quit [Remote host closed the connection]
moritzs has joined #ruby
dh64 has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
end_guy has joined #ruby
rkalfane has joined #ruby
DrCode has quit [Ping timeout: 246 seconds]
<godd2>
and of course, Ruby is case sensitive, so Ranks and RANKS are two different constants
<leitz>
Ah, didn't know about the first character bit. Cool
<shevy>
:)
<shevy>
you could assign them though... Ranks = RANKS
<shevy>
:P
<shevy>
or!
<shevy>
you could write a method!
<shevy>
def ranks; RANKS
einarj has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
NoNMaDDeN has quit [Remote host closed the connection]
livathin_ has quit [Remote host closed the connection]
rbrs has joined #ruby
havenwood has joined #ruby
livathinos has joined #ruby
<havenwood>
Hanmac: nice!
<Hanmac>
shevy did you know that you can use alias for global variables too? ;P
naftilos76 has quit [Remote host closed the connection]
techsethi has quit [Quit: techsethi]
<shevy>
ewwww
<shevy>
I don't really use global variables; I mean, in my own code
<rpag>
i use them when i want my ruby to look more perl
livathinos has quit [Client Quit]
<shevy>
yeah
<shevy>
and to please eam
<jhass>
when would you want to do that...
einarj has quit [Ping timeout: 245 seconds]
<jhass>
either of those
<shevy>
well $stdin
DrCode has joined #ruby
<havenwood>
leitz: Red Hat Software Collections 1.1 has Ruby 2.0
St_Marx has joined #ruby
<Hanmac>
shevy look that does not work without alias:
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
soulcake has joined #ruby
reinaldob has quit [Ping timeout: 265 seconds]
ylluminarious has quit [Ping timeout: 244 seconds]
<rpag>
steal parse.y :D
jhwhite has quit [Quit: jhwhite]
msmith has quit [Ping timeout: 260 seconds]
<wasamasa>
you silly people
<wasamasa>
why are you attracted to ambiguous languages
carraroj has joined #ruby
<eam>
the one thing I wouldn't take from ruby is the parser
<shevy>
but you hate the parser
<shevy>
oh wait
<shevy>
I read it the *opposite* way :\
<shevy>
now it makes sense
<Nilium>
I think if I wrote a Ruby implementation, it would add mandatory static typing to everything
<shevy>
(note to self ... would is not the same as wouldn't ...)
<Nilium>
At which point it would stop being Ruby and start being Right.
<jhass>
Nilium: looked at crystal-lang.org ?
<Nilium>
Nope, 'cause I mostly just use C++.
<Nilium>
Looks neat, at least.
<jhass>
it's fast too
<Nilium>
Only thing I don't see is static types.
<Nilium>
Also, it uses a GC, so fuck it
mistermocha has joined #ruby
<jhass>
it's statically typed
asmodlol has quit [Quit: Leaving]
Ephexeve has joined #ruby
<jhass>
just does interference
<Nilium>
It even uses the GC I avoid
timonv_ has joined #ruby
Ephexeve has quit [Quit: WeeChat 1.0.1]
timonv_ has quit [Remote host closed the connection]
JBreit has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam>
the computing world is finally waking up to the "lost decade" of GC driven languages
<Nilium>
What it should wake up to is reference counting.
<jhass>
Nilium: still language design phase, if you have a better GC to suggest, they're very open about such stuff
<Nilium>
Better GC: no GC, use reference counting, make it easier to reason about when resources are released
<eam>
Nilium: tried rust?
<Nilium>
Finalizers make me want to stab people.
tonini has joined #ruby
XODKA has joined #ruby
<Nilium>
Looked at it, but it doesn't do anything I want, so I haven't bothered.
<Nilium>
I don't like languages that hijack the main thread and make it painful to work with event handling on OSes that want the main thread for UI.
<XODKA>
rf
XODKA has left #ruby [#ruby]
<Nilium>
Rust and Go are both good examples of that.
mistermocha has quit [Ping timeout: 240 seconds]
<Nilium>
A language doing that isn't a design flaw, by the way, just so I'm clear that it's not a criticism of the language
<eam>
rust and go are very different
<eam>
go is gc
<Nilium>
They're very different, but they both do the thing I can't work with
<eam>
rust doesn't?
<Nilium>
It did last time I looked. Had to do some funky stuff with the runtime to tell it to not do some stuff.
benlieb has joined #ruby
<eam>
rust uses raii
<Nilium>
I'm not talking about GC anymore.
djbkd has joined #ruby
jheg has quit [Quit: jheg]
<Nilium>
Plus I never said Rust used GC, anyway.
<eam>
you can do whatever you want with threads in rust
<eam>
(that's the only reason I'm interested in it: it scales down to systems programming)
<havenwood>
one thing Crystal shares with both Rust and Go is they all had janky REPLs that were dropped and not yet replaced with anything
<Nilium>
My main gripe with Rust, back when I looked at it, was that doing anything with OpenGL was a pain in the neck because it wanted to reserve the main thread for stuff, which in turn made it incompatible with any OS that required you to do event pumping on the main thread
<havenwood>
REPL me!
<Nilium>
Where the main thread is thread 0 specifically and not just the thread the code you wrote starts on
<rpag>
havenwood crystal doesn't have eval
<Nilium>
Why would it?
<rpag>
for a repl
<eam>
Nilium: perhaps an issue with the library you were working with?
djbkd has quit [Remote host closed the connection]
<Nilium>
eam: Well, an issue with the Rust runtime, maybe, but it's just how it worked at the time.
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
lampd1 has joined #ruby
mercwithamouth has joined #ruby
SilkFox has joined #ruby
rkalfane has joined #ruby
lampd1 has quit [Ping timeout: 244 seconds]
soulcake has quit [Quit: Quack.]
adac has quit [Remote host closed the connection]
klaut_ has joined #ruby
SilkFox has quit [Ping timeout: 265 seconds]
einarj has quit [Remote host closed the connection]
<Nilium>
If you plan to point out that it's the original name for Javascript, believe me, I know
<Nilium>
Every single person I mention Livescript likes to make that connection.
<rpag>
why are you using that?
<Nilium>
Because I can.
<Nilium>
Other reason being to just avoid boilerplate.
ndrei has quit [Ping timeout: 256 seconds]
renderful has joined #ruby
Xeago has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
jottr_ has joined #ruby
<rpag>
have you tried opal?
<Nilium>
Nope.
Helious has quit [Ping timeout: 255 seconds]
<rpag>
its close to ruby syntax wise
<Nilium>
I know what it is, I just don't think it's a particularly good idea since I can't imagine the output would be particularly small
<rpag>
why would it be any different to any other language that compiles to JS?
sevvie_ has joined #ruby
Fractional has joined #ruby
msmith has joined #ruby
<Nilium>
Because Opal has to drag in its own little core/runtime library.
patrick99e99 has quit [Ping timeout: 255 seconds]
sevvie has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 258 seconds]
<Nilium>
That was one of the reasons I didn't go with, for example, Dart
Xeago has quit [Remote host closed the connection]
<Fractional>
What's the more 'ruby way'? Creating a object and then initializing it's attributes (i.e foo = Bar.new; foo.name = 'hi'; foo.lastname = 'bye'; or foo = Bar.new('hi', 'bye')?
<Nilium>
Either of those looks like normal Ruby to me depending on what you're doing.
Xeago has joined #ruby
rh1n0 has joined #ruby
Channel6 has joined #ruby
DLSteve has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<Nilium>
Another fun one some people do is Bar.new { |b| b.name = 'hi'; b.lastname = 'donkey' }
<Nilium>
I'd discourage that though
<havenwood>
Fractional: are those attributes things that should be changed from the outside after initialization?
renderful has quit [Ping timeout: 245 seconds]
<Fractional>
havenwood: Yes
<Nilium>
Must they always be initialized to a defined value?
kirun has quit [Quit: Client exiting]
Xeago has joined #ruby
<Fractional>
Because right now my Foo.new looks like this: GUI::Button.new(Vec2.new(50, 50), @rm['background'], @button_state[256], Body.new(Vec2.new(@window.mouse_x, @window.mouse_y), 1, 1), 'Calculate', @rm['font_default'])
<Fractional>
Was wondering if it would be better to do foo = GUI::Button.new; foo.body.position = Vec2.new(50, 50) etc..;
<Nilium>
If the object must be initialized with defined values, pass stuff in via the ctor. If the object has acceptable default values that can be modified, you could update it via accessors after construction.
<Nilium>
It depends on what you're doing.
msmith has quit [Ping timeout: 255 seconds]
<Nilium>
Either way, consider using some intermediate variables so you're not loading the parameter list with tons of expressions, since that gets hard to read.
sevvie_ has quit [Ping timeout: 255 seconds]
moritzs has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
sigurding has quit [Quit: sigurding]
livathinos has joined #ruby
livathin_ has joined #ruby
wald0 has quit [Quit: Lost terminal]
renlo has quit [Quit: renlo]
livathinos has quit [Ping timeout: 256 seconds]
timonv_ has quit [Ping timeout: 250 seconds]
rh1n0 has quit [Ping timeout: 250 seconds]
ctp has joined #ruby
mary5030 has joined #ruby
rkazak has left #ruby [#ruby]
renlo has joined #ruby
<shevy>
hard to read!!!
<shevy>
Fractional he insults your code!!!!!
<shevy>
I am sure it is super easy to read!
<shevy>
GUI::Window::Button::Colour
<shevy>
yay!
<Fractional>
shevy, if you say so my love!!!!
benzrf is now known as benzrf|offline
<shevy>
in gtk you have to do this:
<shevy>
Gtk::Button
spider-mario has quit [Remote host closed the connection]
<shevy>
Fractional in the example above though, I'd think a hash would be easier to read
renlo has left #ruby [#ruby]
<shevy>
GUI::Button.new { x_coord: 50, y_coord: 50, background: false } hmm ... and whatever the reas is... I guess 'Calculate' is the title of that widget?
<shevy>
e. g. the button
<shevy>
*the rest is
hmsimha has joined #ruby
tonini has quit [Ping timeout: 250 seconds]
benzrf|offline is now known as benzrf
dh64 has joined #ruby
ctp has quit [Quit: I've got an 8 hour ticket to dream land. ZZZzzz…]
Takle has quit [Remote host closed the connection]
<atmosx>
hello
<atmosx>
shevy: whats up
Soda has quit [Remote host closed the connection]
j_mcnally has joined #ruby
<Fractional>
sheevy: Am I not breaking the D in SOLID if I do not pass in the Vec2 object rather than its values?
ringarin has joined #ruby
skolman has quit [Remote host closed the connection]
skolman has joined #ruby
Wolland_ has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
Wolland has quit [Ping timeout: 255 seconds]
cashnguns has joined #ruby
Takle has joined #ruby
<Fractional>
shevy*
alem0lars is now known as alem0lars|away
Scotteh_ has quit [Ping timeout: 244 seconds]
Scotteh_ has joined #ruby
benlieb has quit [Quit: benlieb]
jottr_ is now known as jottr
Xeago_ has quit [Remote host closed the connection]
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
Pupeno has joined #ruby
Asher has joined #ruby
poulet_a has joined #ruby
poulet_a has quit [Client Quit]
Pupeno_ has quit [Ping timeout: 240 seconds]
ylluminarious has joined #ruby
tuelz has quit [Ping timeout: 265 seconds]
benlieb has joined #ruby
msmith has joined #ruby
postmodern has joined #ruby
skolman has quit [Remote host closed the connection]
ylluminarious has quit [Ping timeout: 255 seconds]
skolman has joined #ruby
decoponio has quit [Quit: Leaving...]
NoNMaDDeN has joined #ruby
melik has joined #ruby
msmith has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
d0ugb has joined #ruby
NoNMaDDeN has quit [Ping timeout: 255 seconds]
andrewlio has quit [Quit: Leaving.]
Hytosys has quit [Quit: Lost terminal]
d0ugb has quit [Remote host closed the connection]
<shevy>
atmosx not much ... I am trying to finish that god awful rewrite today
<shevy>
Fractional dunno, you can always try to make your constructors as flexible as possible
mercwithamouth has joined #ruby
jenrzzz has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
jhwhite has joined #ruby
benlieb has quit [Quit: benlieb]
KC9YDN has joined #ruby
zz_twistedpixels is now known as twistedpixels
fabrice31 has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adamski2600 has quit []
pyon has quit [Quit: brb]
d0ugb has joined #ruby
pyon has joined #ruby
tadayoshi has joined #ruby
d0ugb has quit [Remote host closed the connection]
lampd1 has joined #ruby
fabrice31 has quit [Ping timeout: 265 seconds]
AlSquire has quit [Quit: This computer has gone to sleep]
tadayoshi has quit [Client Quit]
chipotle has quit [Quit: cya]
stantona has joined #ruby
i_s has joined #ruby
tadayoshi has joined #ruby
jhwhite has quit [Quit: jhwhite]
tonini has joined #ruby
lampd1 has quit [Ping timeout: 260 seconds]
codecop has quit [Quit: Išeinu]
thsig_ has joined #ruby
jheg has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
i_s has quit [Ping timeout: 255 seconds]
jheg has quit [Client Quit]
Timmk has joined #ruby
ht__th has quit [Read error: Connection reset by peer]
tonini has quit [Ping timeout: 250 seconds]
Timmk has left #ruby [#ruby]
KC9YDN has quit [Quit: "Let a hundred flowers bloom: let a hundred schools of thought contend." - Mao Zedong]
gheegh has quit [Ping timeout: 256 seconds]
livingstn has joined #ruby
chipotle has joined #ruby
sinequanon has joined #ruby
apeiros has quit [Remote host closed the connection]
thsig has joined #ruby
thsig_ has quit [Ping timeout: 250 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
boombadaroomba has joined #ruby
timonv_ has joined #ruby
boombadaroomba has quit [Ping timeout: 265 seconds]
Helious has joined #ruby
klaut_ has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
jasooon has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Helious has quit [Ping timeout: 250 seconds]
nateberkopec has joined #ruby
Asher has quit [Quit: Leaving.]
last_staff has joined #ruby
rkalfane has joined #ruby
mary5030 has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 244 seconds]
jasooon has quit [Ping timeout: 245 seconds]
SCHAAP137 has joined #ruby
weemsledeux has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
KC9YDN has joined #ruby
chrishough has joined #ruby
jenrzzz has joined #ruby
msmith has joined #ruby
patrick99e99 has joined #ruby
thsig has quit [Remote host closed the connection]
livathin_ has quit []
mary5030 has joined #ruby
d0ugb has joined #ruby
mary5030 has quit [Read error: Connection reset by peer]
d0ugb has quit [Remote host closed the connection]
mary5030 has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
lampd1 has joined #ruby
zorak8 has quit [Ping timeout: 240 seconds]
debugrr has quit [Quit: leaving]
sinequanon has quit []
thsig has joined #ruby
melik has quit [Ping timeout: 240 seconds]
thsig has quit [Client Quit]
Helious has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
theotherstupidgu has quit [Quit: leaving]
DLSteve has quit [Quit: Leaving]
Helious has quit [Ping timeout: 265 seconds]
nateberkopec has quit [Quit: Leaving...]
niklasb has quit [Ping timeout: 244 seconds]
d0ugb has joined #ruby
connor_goodwolf has quit [Ping timeout: 240 seconds]
zorak8 has joined #ruby
zorak8 has quit [Max SendQ exceeded]
ctp has joined #ruby
zorak8 has joined #ruby
d0ugb has quit [Remote host closed the connection]
einarj has joined #ruby
msmith has quit [Remote host closed the connection]
rahult has joined #ruby
livingstn has quit [Ping timeout: 256 seconds]
zorak8 has quit [Ping timeout: 265 seconds]
einarj has quit [Ping timeout: 245 seconds]
Versality has quit [Quit: Be back later ...]
connor_goodwolf has joined #ruby
ckib16 has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
d0ugb has joined #ruby
vedic has joined #ruby
ckib16 has left #ruby [#ruby]
vpretzel has quit [Quit: Adios!]
d0ugb has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
duncannz has joined #ruby
toretore has quit [Quit: This computer has gone to sleep]
machete has quit [Ping timeout: 255 seconds]
zorak8 has joined #ruby
machete has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
bascht has quit [Ping timeout: 255 seconds]
last_staff has quit [Quit: last_staff]
bascht has joined #ruby
Akuma has quit [Quit: So long sukkas!]
robbyoconnor has joined #ruby
livingstn has joined #ruby
ringarin has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
Fractional has quit [Read error: Connection reset by peer]
zenojis has quit [Ping timeout: 272 seconds]
jxf has quit [Ping timeout: 240 seconds]
Akuma has joined #ruby
mary5030 has quit [Remote host closed the connection]
vedic has quit [Ping timeout: 272 seconds]
jasooon has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
rkalfane has quit [Read error: Connection reset by peer]
mg^ has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
badhatter has joined #ruby
badhatter has joined #ruby
mg^ has joined #ruby
rkalfane has joined #ruby
KC9YDN has quit [Quit: "Let a hundred flowers bloom: let a hundred schools of thought contend." - Mao Zedong]
d0ugb has joined #ruby
d0ugb has quit [Remote host closed the connection]
mistermo_ is now known as mistermocha_
armyriad has quit [Ping timeout: 255 seconds]
livingstn has quit [Ping timeout: 256 seconds]
mistermocha has quit [Ping timeout: 255 seconds]
stantona has quit [Remote host closed the connection]
zenojis has joined #ruby
jasooon has quit [Ping timeout: 245 seconds]
mistermocha_ is now known as mistermocha
ylluminarious has joined #ruby
blenny has quit [Ping timeout: 255 seconds]
Kuraiko has joined #ruby
blenny has joined #ruby
ylluminarious has quit [Ping timeout: 260 seconds]
valeriansaliou has joined #ruby
jordsmi has quit [Quit: Connection closed for inactivity]
d0ugb has joined #ruby
benzrf is now known as benzrf|offline
d0ugb has quit [Remote host closed the connection]
marr has quit [Ping timeout: 244 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
Alina-malina has quit [Ping timeout: 240 seconds]
rkalfane has joined #ruby
Alina-malina has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]