<Nilium>
.. I can't imagine why anyone would do that instead of just using the regular C API.
MartynKeigher has joined #ruby
<MartynKeigher>
Hey all... having a few issue install the Ruby Gem 'nokogiri'. Error states that i need libxml2 v2.6.21 or later, but if i run apt-get install libxml2 it says its already upto date!?
mikecmpbll has quit [Quit: i've nodded off.]
<MartynKeigher>
any ideas?? Thanks
mikepack has quit [Ping timeout: 245 seconds]
<Nilium>
What version do you have installed?
<pipework>
Nilium: Like most gems, it wraps it in a nicer API.
Dr3amc0d3r|away has joined #ruby
<pipework>
If you happen to like C++
<Nilium>
I love C++(11, anyway), but I think obscuring the Ruby C API behind a C++ wrapper is probably not a great idea
<pipework>
I think the people who make rice don't think of it as obscuring.
<pipework>
I mean, ruby is clearly just an obscure api for perl.
<MartynKeigher>
how would i find that out Nilium ?
* Nilium
high-fives pipework
<pipework>
:D
<Nilium>
MartynKeigher: Dunno, use pkg-config or something.
<pipework>
MartynKeigher: apt-cache
<Nilium>
Don't actually know if libxml2 provides a .pc
<MartynKeigher>
yup... im on 2.9.1
<Nilium>
Now go check if nokogiri has an upper bound.
<pipework>
doesn't nokogiri bundle a libxml2 now?
* Nilium
shrugs
<Nilium>
Never had issues installing it, so wouldn't know
<pipework>
Wh... why did you take a picture of text?
<MartynKeigher>
why not? same dif?
<MartynKeigher>
as pastebin or hastebin
<pipework>
Is it really?
<pipework>
Try to select the text.
r_rios has quit [Ping timeout: 240 seconds]
autonomousdev has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
r_rios has joined #ruby
freerobby has quit [Quit: Leaving.]
Kricir has joined #ruby
mikepack has joined #ruby
<Nilium>
Yeah. Use a PDF when you screenshot text.
MartynKeigher has left #ruby ["(Byrd IRC Client // haxed.net)"]
mikepack has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
Channel6 has joined #ruby
kireevco has left #ruby [#ruby]
iamjusthatdude has joined #ruby
<iamjusthatdude>
hey
<iamjusthatdude>
anyone
<iamjusthatdude>
If I need to select vowels
Sawbones has joined #ruby
<iamjusthatdude>
I use
<iamjusthatdude>
=~ /[aeiou]/
<iamjusthatdude>
but if I need consonants
zartoosh__ has joined #ruby
<iamjusthatdude>
what should I use?
<iamjusthatdude>
:s
<iamjusthatdude>
I don't want to write every consonant on the keys
<iamjusthatdude>
:(
<iamjusthatdude>
hello?
Hanmac has quit [Ping timeout: 255 seconds]
ctp has joined #ruby
<gr33n7007h>
!~ /[aeiou]/
<iamjusthatdude>
thanks m8
<pipework>
gr33n7007h: That matches more than just consonants.
<iamjusthatdude>
numerals too right?
<iamjusthatdude>
and symbols
<iamjusthatdude>
but it will be probably be enough
ctp has quit [Read error: Connection reset by peer]
ctp has joined #ruby
ovoraptor has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
brianherman has quit [Quit: Leaving]
braincra- has joined #ruby
decoponio has joined #ruby
rezzack has joined #ruby
lewix has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 255 seconds]
lewix has joined #ruby
codeurge has joined #ruby
bradleyprice has quit [Remote host closed the connection]
nobitanobi has joined #ruby
sinkensabe has joined #ruby
lewix has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
Sawbones has quit []
lewix has joined #ruby
dc has joined #ruby
coderhs has joined #ruby
<nobitanobi>
How can I get from an Array of objects, the N objects which have biggest 'score' attribute? I know arr.max_by { |x| x.score } would return me the one which has biggest score, but how do I get the N that have biggest score?
fgo has joined #ruby
<pipework>
sort?
<pipework>
sort_by?
<havenwood>
sort_by
<havenwood>
nobitanobi: arr.sort_by(&:score).take N
<nobitanobi>
agh, I always miss that one
<nobitanobi>
thanks
sinkensabe has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Ping timeout: 264 seconds]
maestrojed has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
<nobitanobi>
havenwood: that sorts from min score to max score. Would you do arr.sort_by(&:score).reverse!.take N
<nobitanobi>
or is there any trick I am missing in sort_by to order in descending
alvaro_o has quit [Quit: Ex-Chat]
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
ascarter has joined #ruby
sunya7a has joined #ruby
Georg3_ has joined #ruby
<havenwood>
nobitanobi: there're many ways to do this one. taking from the end of the array is one: arr.sort_by(&:score).last N
freerobby has joined #ruby
<havenwood>
though you may want to preserve order?
<havenwood>
nobitanobi: probably no bang (!) on reverse if you opt for that route
<timgauthier>
the wiki is great, first explination is so complicated my eyes skip whole lines, the second explination is "greater technical depth" and its like... *melt*
DanielRb has joined #ruby
<timgauthier>
we should push ELI5 into a Wikipedia standard.
<wasamasa>
there is actually
<wasamasa>
"Simple English"
<timgauthier>
yeah, but is that a standard on wikipedia?
<wasamasa>
you can click on it, it's just an alternative language
<timgauthier>
i think this is more then just simple english though, its actually simple concepts too
_Andres has joined #ruby
<mozzarella>
timgauthier: do you not understand my definition of it?
<timgauthier>
mozzarella thats much better yes
<timgauthier>
so its not so much if it is a variable or a function or an object, as much as what type it is, so is it a float, int, string
<timgauthier>
so when you try and do an operation to a string and its all like, NaN
<timgauthier>
is that a type checking instance?
<mozzarella>
basically, with dynamic typing, the *programmer* has to make sure that they pass the right type to a specific function, with static typing, it's inforced by the compiler/interpreter
<jhass>
sadly that doesn't hold anymore, there's type interference
<shevy>
proc yes(question: string): bool =
<wasamasa>
this deducing step is more common in languages with smarter compilers, like haskell :P
<jhass>
with type interference your variable is statically typed, but you don't have to specify the type
<wasamasa>
whereas languages like java are pretty dumb when it comes to it
cerberblue has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
mikecmpbll has quit [Quit: i've nodded off.]
<wasamasa>
timgauthier: I kind of have the impression you've been mixing up static vs. dynamic with strong vs. weak
<timgauthier>
no thats just another axis i don't even grasp :P
sdouglas has joined #ruby
<wasamasa>
oh, it's pretty simple
<timgauthier>
i've got em all in a soup together, but i think thats because i've never actually worked in a static language, so i don't even know what setting a type looks like.
chipotle has joined #ruby
<wasamasa>
just ask your programming language what "1" - 1 is
gruz0[russia] has joined #ruby
<wasamasa>
if it errors out, it's most likely strongly typed
<timgauthier>
well ruby says its NaN
<timgauthier>
or rather No Method Error
<wasamasa>
that's what I mean
<wasamasa>
irb tells us it can't do that
<timgauthier>
so ruby is strong
<wasamasa>
which makes sense since you can't subtract a number from a string
<timgauthier>
yeah
<wasamasa>
but if you ask js...
<timgauthier>
that my head wraps around
<wasamasa>
js gives you zero
alexju has quit [Remote host closed the connection]
except has joined #ruby
<timgauthier>
because JS just pretends that the string containing "1" is the same as 1 ?
<wasamasa>
yes
<timgauthier>
let me bust out safar dev so i can break js
<wasamasa>
most programmers consider this a bad design decision
Eyes has joined #ruby
<timgauthier>
well, JS is bad but yes
<timgauthier>
so that means JS is weak?
<wasamasa>
it has weak typing
dANOKELO_ has joined #ruby
<timgauthier>
or is JS a weak dynamic and ruby is a strong dynamic?
<timgauthier>
because both are not compiled and thus only can show errors at runtime
<wasamasa>
ruby has both strong typing and is dynamically typed
<wasamasa>
js has weak typing and is dynamically typed
<timgauthier>
but a static type needs to be compiled?
maestrojed has quit [Quit: Computer has gone to sleep.]
sdouglas has quit [Ping timeout: 240 seconds]
<wasamasa>
I'm not entirely sure about that one
nateberkopec has joined #ruby
<wasamasa>
there's typed racket and typed clojure which compile to byte code
apeiros has quit [Remote host closed the connection]
<timgauthier>
objective c is listed as dynamic strong
apeiros has joined #ruby
<wasamasa>
interesting
<Hanmac>
timgauthier & wasamasa: look at the link i posted: C is week, C++ is strong, both are need to be compiled
<timgauthier>
that list doesn't actually help me at all :P
pu22l3r has joined #ruby
olivier_bK has joined #ruby
<wasamasa>
timgauthier: problem is the criteria aren't that objective
alem0lars has quit [Quit: Going AFK...]
<timgauthier>
whaaat? programming is all about objective (c) :P
benzrf has quit [Ping timeout: 264 seconds]
<Hanmac>
if a language itself is static or dynamic, or weak or strong does not shows if a language does need to be compiled or is interpreted
dANOKELOFF has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
<timgauthier>
i see
<timgauthier>
so then what about all that stuff that is said about runtime and compile time.
<wasamasa>
no, the question was whether there are static languages that don't need to be compiled
<timgauthier>
ok, so i get the difference between weak and strong, what does it look like to set a type?
<wasamasa>
which I can imagine exists but probably doesn't since these lend themselves better to compiling
<wasamasa>
timgauthier: what the language does behind your back when evaluating an expression basically
<timgauthier>
so the language knows that "this is a string" and 0 is an int
<wasamasa>
timgauthier: whether it errors out early or allows you to get results for certain values
<timgauthier>
(i have no idea how to write a float)
nateberkopec has quit [Ping timeout: 240 seconds]
<wasamasa>
timgauthier: no, if I do `"a" - 1` in js, it gives me NaN
<wasamasa>
timgauthier: `"1" - 1` however doesn't since it went ahead and checked whether the string can be converted to an integer
<timgauthier>
so you don't have to actualyl type like "this string" string or something? i guess really i'm just trying to understand Ruby vs Swift and understand computer science more in general
pu22l3r has quit [Ping timeout: 240 seconds]
<timgauthier>
so putting ` around it made it static?
<wasamasa>
no, that's just how I show you what to enter in js or irb
<wasamasa>
disregard the backquotes
<timgauthier>
ok
alem0lars has joined #ruby
oo_ has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
<wasamasa>
in other words, does the language prevent you from doing things you're not supposed to automatically?
<wasamasa>
without even giving you a warning?
<timgauthier>
ah yeah okay :) it seems that Swift is like ruby
<wasamasa>
if yes, chances are you're programming ruby or php
<wasamasa>
err, js
<timgauthier>
in that it is actually static, but does infrencing
<wasamasa>
not ruby
mikecmpbll has quit [Quit: i've nodded off.]
<wasamasa>
infering types is a nice thing to have
<wasamasa>
haskell is said to have one of the best systems for that
<timgauthier>
i've done a bit of PHP and Ruby, but mostly as front end stuff, but i've been considering trying to learn a programming language again, and i have something i'd like to build on iOS so it may be a project this winter
Takle has joined #ruby
nateberkopec has joined #ruby
benzrf has quit [Ping timeout: 248 seconds]
except has quit [Quit: zzz]
<Hanmac>
in php it can happen that you compare two strings which are not equal and php thinks they are because it converts both strings into numbers and then compare the numbers (rounding error)
railzForDaiz has joined #ruby
<timgauthier>
oi brutal
<timgauthier>
so like "1.20412415" and "1.20412414"
<wasamasa>
kind of like that
<timgauthier>
where ruby would look at those and say, those two strings are not equal
<wasamasa>
most better programmers are aware of being careful with floats
<timgauthier>
but if you looked at "yes" and "yes" it would say equal because they're both the same string content
<wasamasa>
but your programming language converting strings to floats automatically when comparing...
<timgauthier>
isn't the php bug site bigger then the php.net refrence material?
<timgauthier>
wow, baffling, the fact that the second comment isn't 100% lets fix this behaviour"....
Tricon has joined #ruby
aniM has quit [Ping timeout: 248 seconds]
_Andres_ has joined #ruby
wowXD has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
<apeiros>
Hanmac: comparing hex strings can also lead to unexpected equals
<Hanmac>
good that i dont need to do php anymore currently
<timgauthier>
yeah i saw
<timgauthier>
i see this explination about the POST and GET returning strings.
<timgauthier>
but that seems like a shit excuse. just convert those strings to int/float then
_Andres has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
Eyes has quit [Ping timeout: 245 seconds]
stytown has quit [Quit: stytown]
<timgauthier>
i can understand javascripts "1" - 1
AndChat| has quit [Ping timeout: 248 seconds]
ferr has joined #ruby
_Andres has joined #ruby
<timgauthier>
but saying that two strings are equal even though they're not, because they decided to turn them to a number, and then round that number is just wrong.
<timgauthier>
i realize that the strings have to be pretty long for that though, but i guess the workaround is ===
<timgauthier>
" let widthLabel = label + String(width)" this appears to be an example of type setting to my feeble mind
<timgauthier>
label is a string, width is a float/int they turn that into a string and concoct them
tus has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
benzrf has quit [Ping timeout: 248 seconds]
_Andres_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
_Andres has quit [Ping timeout: 255 seconds]
jackneill has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
_Andres_ has quit [Ping timeout: 255 seconds]
wowXD has joined #ruby
mikecmpbll has joined #ruby
hackeron_ has joined #ruby
<timgauthier>
okay, well i'm tire,d its 3 am, i worked 5 hours filming a concert already today and i just asked and learned about something so far above my head that i think i have hemmoraging. Thanks for explainging that in a pretty good way #ruby
nicksanford has quit [Remote host closed the connection]
benzrf|offline has joined #ruby
djbkd has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
dc has joined #ruby
klaas has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
benzrf has quit [Ping timeout: 240 seconds]
jheg_ has quit [Quit: jheg_]
<certainty>
csmrfx: well learning unix could be a bit of a problem right now as he/she apparently doesn't have access to the entire interwebs just now
Charliebr73 has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Charliebr73 has quit [Client Quit]
_Andres_ has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
anaeem1_ has quit [Remote host closed the connection]
<csmrfx>
certainty: clearly not, he just happens to access irc via smoke signals
<csmrfx>
great logic
_Andres has joined #ruby
<csmrfx>
thanks for your advice, oh wise one
* csmrfx
has a nice rofl at certainty's brainfart
ferr has quit [Quit: Konversation terminated!]
<certainty>
csmrfx: i'm glad i'm entertaining. I wasn't aware that the irc is such a great learning resource.
mikecmpbll has quit [Quit: i've nodded off.]
nateberkopec has joined #ruby
maroloccio has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Novtopro has joined #ruby
Novtopro has left #ruby [#ruby]
<csmrfx>
certainty: well just for your future reference, irc is part of the internet -- and there are not many resources as good for learning as irc
pu22l3r has joined #ruby
ziyadb has joined #ruby
duncannz has quit [Ping timeout: 248 seconds]
benzrf has quit [Ping timeout: 248 seconds]
<wasamasa>
well, there are more structured resources on the internet
<wasamasa>
and resources where people don't have to use tools like /ignore
wowXD has joined #ruby
alem0lars has quit [Quit: Going AFK...]
<csmrfx>
well let me put it this way
ctp has joined #ruby
mikecmpbll has joined #ruby
xMopxShell has quit [Remote host closed the connection]
<csmrfx>
the first time you are shown an unix command, will a book or a man page help you as much as just asking on the irc?
pu22l3r has quit [Ping timeout: 245 seconds]
<wasamasa>
a manual has a synopsis
<csmrfx>
lol
<wasamasa>
irc has lots of people where each has their own idea
<csmrfx>
I guess you dont know what I mean
<wasamasa>
if you just find the right one, it's a lot more consistent than what you'll encounter here
<csmrfx>
95% of unix man pages will *not* help you make a perfectly functional command string
<csmrfx>
sure, all the data is on the man page
Takle has joined #ruby
<csmrfx>
but theres the little bits you need to know, that are usually not
<wasamasa>
you learn them as you go
<wasamasa>
or not, see openssl :P
Takle has quit [Read error: Connection reset by peer]
<csmrfx>
find is another command that takes hours of trial and error unless you have someone you can ask
Takle has joined #ruby
<csmrfx>
well, "can take"
<wasamasa>
can
<wasamasa>
I use a pretty simplified form most of the time
Takle has quit [Remote host closed the connection]
<wasamasa>
find PLACE
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
djbkd has quit [Remote host closed the connection]
<wasamasa>
find PLATE -iname 'REGEX'
<wasamasa>
and that's about it
<wasamasa>
the complicated part are the switches that come before the place and combining the switches after it
dc has quit [Remote host closed the connection]
<wasamasa>
but seriously, is find 95% of everything?
<wasamasa>
surely not
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timmee has joined #ruby
<csmrfx>
ask any unix noob for a second opinion 8)
Shidash has joined #ruby
sigurding has joined #ruby
nateberkopec has joined #ruby
dc has joined #ruby
oo_ has quit [Remote host closed the connection]
andrewlio has quit [Remote host closed the connection]
<certainty>
csmrfx: just for your reference, i was saying the interwebs, by which i meant the web. I'm very aware what is and what is not part of the internet thanks :)
<csmrfx>
hey! thats cheating!
doev has joined #ruby
<certainty>
What i really wanted to say that it would probably have been a good idea to just explain shortly what the op needed to know, instead of lol'ing at him.
nateberkopec has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
ferr has joined #ruby
alem0lars has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
aniM has joined #ruby
dc has quit [Remote host closed the connection]
Fraeon has quit [Ping timeout: 252 seconds]
pu22l3r has joined #ruby
dANOKELO_ has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
yfeldblum has joined #ruby
dANOKELOFF has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 248 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
_Andres has quit [Ping timeout: 255 seconds]
pontiki_ is now known as pontiki
jezen has joined #ruby
jottr_ has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
kalusn has joined #ruby
aniM has quit [Ping timeout: 252 seconds]
jottr_ has joined #ruby
kirun has joined #ruby
_Andres has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
schaerli has quit [Remote host closed the connection]
nateberkopec has joined #ruby
Fraeon has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
_Andres has joined #ruby
jamto11 has joined #ruby
_Andres_ has joined #ruby
benzrf has quit [Ping timeout: 260 seconds]
_Andres has quit [Ping timeout: 255 seconds]
ferr has quit [Ping timeout: 255 seconds]
ndrei has quit [Ping timeout: 260 seconds]
maroloccio has quit [Quit: WeeChat 0.4.3]
jamto11 has quit [Ping timeout: 240 seconds]
dANOKELOFF has quit [Remote host closed the connection]
_Andres has joined #ruby
benzrf|offline has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
_Andres has quit [Ping timeout: 255 seconds]
F1skr has joined #ruby
benzrf|offline has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
_Andres has joined #ruby
pu22l3r has joined #ruby
larsam has joined #ruby
_Andres_ has joined #ruby
ecksit has quit [Quit: Computer has gone to sleep.]
cashnguns has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Ping timeout: 248 seconds]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
charliesome has joined #ruby
_Andres has joined #ruby
benzrf has quit [Ping timeout: 248 seconds]
schaerli has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
dc has joined #ruby
_Andres_ has joined #ruby
DanielRb has quit [Ping timeout: 248 seconds]
larsam has quit [Read error: Connection reset by peer]
benzrf|offline has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
Takle has joined #ruby
nateberkopec has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
_Andres has joined #ruby
sdouglas has joined #ruby
<lxsameer>
Does ruby autoload is deprecated ?
dANOKELOFF has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
DanielRb has joined #ruby
Takle has quit [Ping timeout: 252 seconds]
_Andres has quit [Ping timeout: 255 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
alem0lars has quit [Quit: alem0lars]
Timmee has quit []
mercwithamouth has joined #ruby
malcolmva has quit [Ping timeout: 255 seconds]
cephalostrum has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
hgl has joined #ruby
_Andres has joined #ruby
diegoviola has joined #ruby
cephalostrum has joined #ruby
alem0lars has joined #ruby
benzrf has quit [Ping timeout: 248 seconds]
klaas has joined #ruby
Eyes has quit [Remote host closed the connection]
Eyes has joined #ruby
jottr_ has joined #ruby
chipotle has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
chipotle has quit [Client Quit]
malcolmva has joined #ruby
manacit has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 245 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
benzrf has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
_Andres_ has joined #ruby
britneywright has joined #ruby
brian___ has joined #ruby
sigurding has quit [Quit: sigurding]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
_Andres has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
havenwood has quit [Remote host closed the connection]
jottr_ has joined #ruby
dc has quit [Remote host closed the connection]
Rollabunna has joined #ruby
benzrf has quit [Ping timeout: 252 seconds]
shvelo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline has joined #ruby
charliesome has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
larsam has joined #ruby
benzrf|offline has quit [Ping timeout: 255 seconds]
benzrf|offline has joined #ruby
pskosinski has joined #ruby
benzrf|offline is now known as benzrf
mercwithamouth has quit [Ping timeout: 260 seconds]
schaerli has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
_Andres_ has quit [Ping timeout: 255 seconds]
schaerli has joined #ruby
doev has quit [Ping timeout: 248 seconds]
<csmrfx>
certainty: do you mean I am responsible for his shortcomings?
<csmrfx>
certainty: or perhaps my advice to him didn't please you, oh wise one?
<csmrfx>
certainty: maybe I should in future always check with you first?
<csmrfx>
certainty: would you also like to censor my emails and messages, too?
<csmrfx>
certainty: oh, what the hell, how about you come over here and provide your expert advice by going to work instead of me!
ndrei has joined #ruby
nateberkopec has joined #ruby
Poky has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 255 seconds]
benzrf has quit [Ping timeout: 245 seconds]
mercwithamouth has joined #ruby
Vpex has joined #ruby
jagadish has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
mijicd has quit [Remote host closed the connection]
dangerousdave has joined #ruby
wald0_ has joined #ruby
wald0_ has quit [Client Quit]
rkazak has joined #ruby
<pontiki>
someone's cranky
<csmrfx>
if you are talking about me, I'm borderline psychotic, not cranky
<certainty>
csmrfx: the only thing i did was suggesting that there might have been another way. Also I suggested that it might have been the "better" way. I certaintly don't want to read your personal stuff or want you to ask me everytime you feel the need to judge one of your decisions
<csmrfx>
so, you are considering going to my work instead of me
<csmrfx>
whoohoo
<certainty>
also to continue the nitpick. borderline personality disorder has generally little to do with what constitutes the mental state that we refer to as psychotic
benzrf|offline has joined #ruby
sdouglas has joined #ruby
benzrf|offline is now known as benzrf
naw has joined #ruby
<certainty>
csmrfx: i don't know where you work. It might be a cool experience. Generelly speaking though, no i don't want to go to work instead of you
aztec_ has joined #ruby
shredding has quit [Quit: shredding]
<aztec_>
hi all
<certainty>
also i must have missed the part where i claimed that what i said was some kind of expert knowledge
naw has quit [Remote host closed the connection]
<pontiki>
everyone who makes a statement on irc is an expert
<aztec_>
to the rails guys among you, i'm looking for advice on building a well-thought out data structure for a project
<aztec_>
I have a Person model and persons can be members of a club, which requires them to pay an annual fee (i have a bill model and all that stuff already)
vifino has joined #ruby
autonomousdev has joined #ruby
<aztec_>
i'll create a cronjob to run through every member once a day and check if his last bill was issued more than a year ago
<csmrfx>
aZtec_: perhaps #rubyonrails or #ror or similar
<certainty>
pontiki: i forgot about that :)
<csmrfx>
as you can see, this is ruby channel, so chances are better on a rails chan
<aztec_>
ok thx for interrupting me....i was just about to type the story of my life ;)
sdouglas has quit [Ping timeout: 245 seconds]
<csmrfx>
certainty: ok so can you please tell me if that advice was ok now
<csmrfx>
certainty: perhaps you had a more poignant advice in mind?
pu22l3r has joined #ruby
benzrf has quit [Ping timeout: 260 seconds]
<certainty>
csmrfx: looks ok to me
<aztec_>
meh...#ror requires invitation and #rubyonrails requires registration
<csmrfx>
so, reg, and enjoy troll free channel
<csmrfx>
certainty: is that ok by your standard?
<certainty>
i'm on there too so it's not exactly troll free
rkazak has quit [Quit: rkazak]
<csmrfx>
well at least I am not there!
<aztec_>
heh..alright, will do
cuppscakes has joined #ruby
<certainty>
csmrfx: as i told you i certainly don't want you to ask me everytime you want to know if your answer is ok. I have trust that you extracted the essence of what i wanted to make clear to you
lkba has joined #ruby
yfeldblum has joined #ruby
havenwood has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
lxsameer has quit [Quit: Leaving]
zkay11 has joined #ruby
zkay11 has quit [Client Quit]
cuppscakes has quit [Ping timeout: 240 seconds]
benzrf|offline has joined #ruby
jottr_ has joined #ruby
benzrf|offline is now known as benzrf
p0sixpscl has quit [Quit: p0sixpscl]
cuppscakes has joined #ruby
mattstratton has joined #ruby
r_rios has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
mattstratton has quit [Client Quit]
benzrf has quit [Ping timeout: 260 seconds]
schaerli has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
benzrf|offline has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
jcromartie has joined #ruby
apeiros has joined #ruby
benzrf|offline is now known as benzrf
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
schaerli has joined #ruby
schaerli has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 255 seconds]
bradleyprice has joined #ruby
connor_g1odwolf is now known as connor_goodwolf
cuppscak_ has joined #ruby
cuppscakes has quit [Ping timeout: 260 seconds]
benzrf has quit [Ping timeout: 248 seconds]
jamto11 has joined #ruby
alem0lars has quit [Quit: Going AFK...]
jottr_ has quit [Ping timeout: 255 seconds]
jcromartie has quit [Read error: Connection reset by peer]
jcromartie has joined #ruby
jcromartie has quit [Client Quit]
GriffinHeart has quit []
GriffinHeart has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
shvelo has quit [Ping timeout: 245 seconds]
benzrf|offline has joined #ruby
hgl has quit [Ping timeout: 240 seconds]
_Andres has joined #ruby
sheepman has quit [Ping timeout: 252 seconds]
thomasxie has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
r_rios has quit [Ping timeout: 245 seconds]
benzrf|offline is now known as benzrf
Fire-Dragon-DoL has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
r_rios has joined #ruby
sheepman has joined #ruby
hgl has joined #ruby
Rollabunna has quit [Remote host closed the connection]
charliesome has joined #ruby
_Andres_ has joined #ruby
Alina-malina has quit [Ping timeout: 248 seconds]
mapimopi has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
jezen has quit [Remote host closed the connection]
benzrf has quit [Ping timeout: 252 seconds]
_Andres has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
_Andres_ has quit [Ping timeout: 255 seconds]
jottr_ has joined #ruby
cuppscak_ has quit [Ping timeout: 260 seconds]
Shidash has quit [Quit: Leaving.]
yfeldblu_ has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
sdouglas has joined #ruby
benzrf has quit [Ping timeout: 252 seconds]
wendly has joined #ruby
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goganchic has joined #ruby
cuppscakes has joined #ruby
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
bartdorsey has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
qhartman has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
codeurge has joined #ruby
benzrf has quit [Ping timeout: 255 seconds]
mapimopi has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
pu22l3r has quit [Remote host closed the connection]
goganchic has quit []
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
Alina-malina has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
havenwood has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
mapimopi has joined #ruby
Alina-malina has joined #ruby
adamnbowen has joined #ruby
benzrf has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
benzrf|offline has joined #ruby
benzrf|offline is now known as benzrf
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
charliesome has joined #ruby
Takle has quit [Remote host closed the connection]
mapimopi has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Client Quit]
benzrf has quit [Ping timeout: 245 seconds]
tacos1de_ has quit [Remote host closed the connection]
tacos1de has joined #ruby
Shidash has joined #ruby
Shidash has quit [Client Quit]
benzrf|offline has joined #ruby
timonv has joined #ruby
benzrf has joined #ruby
cuppscak_ has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
cuppscakes has quit [Ping timeout: 248 seconds]
adamnbowen has quit [Quit: Computer has gone to sleep.]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benzrf|offline has quit [Ping timeout: 264 seconds]
TorpedoSkyline has joined #ruby
britneywright has joined #ruby
razum2um has joined #ruby
_Andres has joined #ruby
ponga has joined #ruby
cuppscak_ has quit [Ping timeout: 240 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
anaeem1 has joined #ruby
pu22l3r has joined #ruby
cuppscakes has joined #ruby
brian___ has quit [Quit: brian___]
razieliyo has joined #ruby
mr_snowf1ake has joined #ruby
autonomousdev has joined #ruby
_Andres_ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
_Andres has quit [Ping timeout: 255 seconds]
_Andres has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
qhartman has joined #ruby
_Andres_ has joined #ruby
dllama has left #ruby [#ruby]
_Andres has quit [Ping timeout: 255 seconds]
kwatch has joined #ruby
pskosinski_ has joined #ruby
claymore has joined #ruby
ponga has quit []
<kwatch>
[Q] Is there any method in rack.rb or cgi.rb to parse 'Set-Cookie' header?
_Andres_ has quit [Ping timeout: 255 seconds]
davispuh has joined #ruby
pskosinski has quit [Ping timeout: 264 seconds]
cuppscakes has quit [Ping timeout: 248 seconds]
movedx has left #ruby [#ruby]
CaptainJet has joined #ruby
cuppscakes has joined #ruby
garndt has joined #ruby
prathamesh has joined #ruby
eka has joined #ruby
sdouglas has joined #ruby
r_rios has quit [Ping timeout: 248 seconds]
oo_ has joined #ruby
_Andres has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
oo__ has joined #ruby
oo__ has quit [Read error: Connection reset by peer]
oo__ has joined #ruby
jcromartie has joined #ruby
_Andres_ has joined #ruby
timonv has quit [Remote host closed the connection]
havenwood has joined #ruby
mijicd has joined #ruby
brunops has joined #ruby
cuppscakes has quit [Quit: Whoops, AFK.]
oo_ has quit [Ping timeout: 255 seconds]
_Andres__ has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
aniM has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
_Andres has joined #ruby
gruz0[russia] has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
anaeem1 has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
sigurding has joined #ruby
_Andres__ has quit [Ping timeout: 255 seconds]
havenwood has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
sigurding has quit [Client Quit]
FL1SK has joined #ruby
aniM has quit [Ping timeout: 248 seconds]
hgl has quit [Ping timeout: 240 seconds]
_Andres has quit [Ping timeout: 255 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yeticry has quit [Ping timeout: 240 seconds]
_Andres has joined #ruby
jezen has joined #ruby
Takle has quit [Remote host closed the connection]
bradleyprice has quit [Ping timeout: 264 seconds]
cashnguns has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
TorpedoSkyline has joined #ruby
dANOKELOFF has quit []
TorpedoSkyline has quit [Client Quit]
wendly has quit [Remote host closed the connection]
<jhass>
I think they are in request.cookies or something?
pskosinski__ has quit [Remote host closed the connection]
jezen has quit [Remote host closed the connection]
_Andres_ has quit [Ping timeout: 255 seconds]
Darkchaos has joined #ruby
_Andres has joined #ruby
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Ping timeout: 240 seconds]
ptyticker has joined #ruby
ptyticker has quit [Max SendQ exceeded]
_Andres_ has joined #ruby
s2013 has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
_Andres has quit [Ping timeout: 255 seconds]
kenneth has joined #ruby
prathamesh has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
freerobby has quit [Quit: Leaving.]
_Andres has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
aztec_ has quit [Ping timeout: 246 seconds]
GriffinHeart has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
_Andres has quit [Ping timeout: 255 seconds]
_Andres_ has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
olduseless has joined #ruby
_Andres has joined #ruby
_Andres has quit [Client Quit]
therealGent has joined #ruby
_Andres_ has quit [Ping timeout: 255 seconds]
GriffinHeart has quit []
cobakobodob has joined #ruby
lewix has joined #ruby
oo_ has quit [Remote host closed the connection]
freerobby has joined #ruby
oo_ has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
johnmolina has joined #ruby
bradleyprice has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
mr_snowf1ake has joined #ruby
lewix has quit [Remote host closed the connection]
livathinos has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
lewix has joined #ruby
s2013 has quit [Ping timeout: 240 seconds]
zigomir has joined #ruby
gr33n7007h has quit [Ping timeout: 248 seconds]
maestrojed has joined #ruby
Nahra has joined #ruby
lkba has joined #ruby
lewix has quit [Ping timeout: 264 seconds]
gm2 has joined #ruby
gm2 has quit [Client Quit]
Rollabunna has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
smathieu_ has joined #ruby
xMopxShell has joined #ruby
northfurr has quit [Quit: northfurr]
diegoviola has joined #ruby
m8 has quit [Quit: Sto andando via]
maestrojed has quit [Quit: Computer has gone to sleep.]
sepp2k has quit [Read error: Connection reset by peer]
IcyDragon has joined #ruby
lw has joined #ruby
IceDragon has quit [Ping timeout: 252 seconds]
fgo_ has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shredding has joined #ruby
jottr_ has joined #ruby
maestrojed has joined #ruby
wowXD has quit [Remote host closed the connection]
mapimopi has joined #ruby
Takle has quit [Remote host closed the connection]
p0sixpscl has quit [Quit: p0sixpscl]
vifino has quit [Quit: Ze Cat now leaves...]
F1skr has quit [Quit: WeeChat 0.4.3]
smathieu_ has quit [Remote host closed the connection]
smathieu has joined #ruby
Takle has joined #ruby
larsam has joined #ruby
mijicd has quit [Remote host closed the connection]
<shevy>
pontiki loves cookies
<pontiki>
just not peanut butter cookies
<dorei>
space cookies :D
<pontiki>
space cookies are out of this world!
johnmolina has quit []
kireevco has joined #ruby
<csmrfx>
I wish that was possible here
<csmrfx>
I remember that from amster dam in 2000!
<csmrfx>
haha
lewix has joined #ruby
jottr_ has quit [Ping timeout: 260 seconds]
<shevy>
lol
jtz has quit [Ping timeout: 244 seconds]
Notte has joined #ruby
shredding has quit [Quit: shredding]
Zebroid has joined #ruby
oo_ has joined #ruby
r_rios has joined #ruby
lw has quit [Quit: s]
<pipework>
hamster dam
<pontiki>
free-association theatre
Takle has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 252 seconds]
<shevy>
weed cookies!
s2013 has joined #ruby
<shevy>
dorei brought it up anyway
aniM has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
momomomomo has joined #ruby
saarinen has joined #ruby
teddyp1cker has joined #ruby
teddyp1cker has quit [Client Quit]
teddyp1cker has joined #ruby
Takle has joined #ruby
fgo has joined #ruby
dideler has quit [Ping timeout: 252 seconds]
saarinen has quit [Client Quit]
jcromartie has joined #ruby
charliesome has joined #ruby
fgo_ has joined #ruby
pu22l3r has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
<shevy>
hmmm
<shevy>
I have some 2000 yaml files
<shevy>
might one sqlite database be better, as in, much faster?
fgo_ has quit [Ping timeout: 264 seconds]
<jhass>
likely
<pontiki>
do you read them all into memory?
jamto11 has joined #ruby
<jhass>
and do you have to?
<pontiki>
that^
axl_ has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vivekananda has quit [Ping timeout: 240 seconds]
<shevy>
well at runtime any attribute can be queryable
banister has joined #ruby
<shevy>
some of these yaml files point to entries in other yaml files
<shevy>
like a dependency chain
maestrojed has quit [Quit: Computer has gone to sleep.]
tacos1de has quit [Ping timeout: 264 seconds]
<pontiki>
this is only vaguely interesting
s2013 has quit [Ping timeout: 240 seconds]
ferr has joined #ruby
jottr_ has joined #ruby
<pontiki>
if you have all the data in memory, it's going to be faster than making a database query. if you have an in-memory sqlite database, it will be just as fast. if you have to query the dbms and it reads up the file and finds the record, that will be slower. HOWEVER, if you have it all in memory, it's going to be using a LOT more ram
<pontiki>
so time/space tradeoffs
jamto11 has quit [Ping timeout: 260 seconds]
jtz has joined #ruby
datafirm has joined #ruby
oo_ has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexju has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 260 seconds]
mgberlin_ has joined #ruby
pu22l3r has joined #ruby
datafirm has quit [Client Quit]
datafirm has joined #ruby
LexicalScope has joined #ruby
mgberlin has quit [Ping timeout: 252 seconds]
oo_ has quit [Ping timeout: 255 seconds]
CaptainAdran is now known as Adran
ulik has joined #ruby
<ulik>
Anyone run into issues installing rails gem after upgrading to Xcode 5.1 ? clang errors with invalid compiler args
<jay_>
Monthly has a fee too, and If I do jay.monthly.fee I will get a number, but i'l bring this to rails. thanks
tacos1de has joined #ruby
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
Georg3_ has joined #ruby
nobitanobi has joined #ruby
Takle has quit [Remote host closed the connection]
lewix has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Remote host closed the connection]
shredding has joined #ruby
mgberlin has joined #ruby
pushpak has joined #ruby
mgberlin_ has quit [Read error: Connection reset by peer]
lkba has quit [Read error: Connection reset by peer]
<pontiki>
jay_: simply this: the first returns a Collection, not a single record. There's no .fee method on the Collection
shvelo has joined #ruby
wowXD has joined #ruby
<pontiki>
if you did jay.monthly.options.first.fee, it would work
shredding has quit [Client Quit]
olivier_bK has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
cashnguns has joined #ruby
<certainty>
shevy: you may well benifit from a database. It has an indexes, various optimization strategies and a unified interface instead of a (presumably) very specific one that processes/queries the yaml files
cobolt^ has quit [Excess Flood]
Akiba_ has joined #ruby
cobolt^ has joined #ruby
<Akiba_>
hey guys
<Akiba_>
can you help me?
lkba has joined #ruby
<Akiba_>
what database should i use for this search+game server accounts+sessions+leaderboards+forums
<certainty>
shevy: especially if your data is relational or at least set oriented you get some nice benifits
wowXD has quit [Ping timeout: 252 seconds]
havenwood has quit []
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
<certainty>
shevy: also as you might want to think about database that specializes on other datastructures, like graphs (you mentioned dependencies). It all depends on your data
<shevy>
hmm
nicksanford has joined #ruby
Takle has joined #ruby
nicksanf_ has joined #ruby
rkazak_ has joined #ruby
rkazak_ has quit [Client Quit]
rkazak has joined #ruby
rkazak has quit [Client Quit]
ferr has quit [Remote host closed the connection]
shvelo has quit [Ping timeout: 240 seconds]
nicksanford has quit [Ping timeout: 252 seconds]
lkba has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
<wasamasa>
akiba_: postgres is a solid choice when it comes to relational ones
<matti>
Ohai shevisky
diegoviola has quit [Ping timeout: 240 seconds]
nicksanf_ has quit [Remote host closed the connection]
timonv has joined #ruby
Zebroid has joined #ruby
dilated_dinosaur has joined #ruby
<nobitanobi>
Guys, any suggestion on deploying Ruby applications on Amazon? I am used to the git push way of deploying Heroku apps, but now I have a Sidekiq worker written in plain Ruby, and I am confused on how to deploy it, manage the logs, etc
banister is now known as banisterfiend
<nobitanobi>
I am basically lost on deploying if they get me out of the Heroku way of git push boom.
relix has joined #ruby
r_rios has quit [Ping timeout: 264 seconds]
Georg3_ has quit [Quit: Computer has gone to sleep.]
oo_ has joined #ruby
Georg3_ has joined #ruby
ferr has joined #ruby
ra4king has quit [Ping timeout: 244 seconds]
smathieu has quit [Remote host closed the connection]
<Akiba_>
is all the stuff i told you relational?
smathieu has joined #ruby
Zebroid has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 248 seconds]
oo_ has quit [Ping timeout: 260 seconds]
Georg3_ has quit [Ping timeout: 264 seconds]
kies has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
kies has joined #ruby
thrownaway has quit [Ping timeout: 255 seconds]
kireevco has quit [Quit: Leaving.]
<wasamasa>
pretty much everything can be expressed in a relational database
fgo has joined #ruby
<wasamasa>
some of the stuff you've mentioned is more temporary, such as sessions
mapimopi has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
IceDragon has joined #ruby
cerberblue has quit []
diegoviola has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
olduseless has quit [Quit: WeeChat 0.4.3]
hy2guru_ has quit [Quit: Connection closed for inactivity]
<pontiki>
nobitanobi: doesn't heroku have support for background jobs/workers? not an answer, really, to your question
jcromartie has joined #ruby
Channel6 has quit [Quit: Leaving]
<nobitanobi>
pontiki: it does, but it is 'pretty expensive' and not that great in terms of memory/cpu management
<nobitanobi>
so I decided to go for my own machines in Amazon
<pontiki>
okay, so, i've used chef for deploying to AWS, and it's a rahter steep learning curve
<nobitanobi>
is that right?
<nobitanobi>
ugh
sunya7a has quit [Ping timeout: 264 seconds]
<pontiki>
i think most folk start off with capistrano
<pontiki>
there's also puppet, ansible, a few others
<pontiki>
you might pop over to #rubyonrails and get some more feedback
sdouglas has quit [Read error: Connection reset by peer]
timonv has joined #ruby
tmtwd has joined #ruby
<nobitanobi>
it's a plain Ruby app thoguh
<nobitanobi>
though
<tmtwd>
Hey whats happening in the soccer game
<nobitanobi>
not Ruby on Rails or any kind of web server app
<nobitanobi>
it's a Sidekiq worker
<nobitanobi>
pontiki: I have the web rails app in Heorku, but I would like to have the workers out of it
Akiba_ has quit [Ping timeout: 246 seconds]
Doppp has quit [Quit: leaving]
pu22l3r has joined #ruby
<Hanmac>
hahaha i imaged a new motto for RubyOnRails " - it could be worse" ;P
sdouglas_ has joined #ruby
<certainty>
:)
<momomomomo>
:|
Doppp has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
lewix has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has quit [Ping timeout: 264 seconds]
cerberblue has joined #ruby
Doppp has quit [Quit: leaving]
timonv has quit [Remote host closed the connection]
vifino has joined #ruby
<shevy>
:>
mapimopi has joined #ruby
<pipework>
Hanmac: seems apropos
Takle has quit [Remote host closed the connection]
tmtwd has quit [Ping timeout: 248 seconds]
olivier_bK has joined #ruby
Georg3_ has joined #ruby
gheegh has joined #ruby
Doppp has joined #ruby
tmtwd has joined #ruby
Georg3_ has quit [Ping timeout: 245 seconds]
erts has joined #ruby
<pontiki>
nobitanobi: are your workers completely unrelated to your rails application?
<pontiki>
i don't understand how that would work
<nobitanobi>
nop pontiki
<nobitanobi>
they actually will send back JSON
<nobitanobi>
to the Rails server
<pontiki>
how?
<nobitanobi>
when they are finish, POST to Rails
olivier_bK has quit [Ping timeout: 240 seconds]
<pontiki>
how will they be started?
kies has quit [Ping timeout: 255 seconds]
<nobitanobi>
they will be running
<nobitanobi>
I am thinking on executing them on machine boot
<pontiki>
why use sidekiq at all?
<nobitanobi>
mmm why not?
<nobitanobi>
I like the fact that form Rails
<nobitanobi>
I can push a job
<nobitanobi>
using their helper
<nobitanobi>
and then I have several sidekiq worker 'on the outside'
<nobitanobi>
that consume those jobs
<pontiki>
i don't understand how this will work
<nobitanobi>
mmm?
<nobitanobi>
Rails pushes the job (to a Redis server)
<pontiki>
yes, i get that
<nobitanobi>
and then the workers communicate with the same redis server
<nobitanobi>
when they are finish, they give back results to Rails
<pontiki>
how will that machine over on AWS communicate with the redis server over on Heroku?
<nobitanobi>
the redis server is not on heroku
<nobitanobi>
is redis-cloud
<nobitanobi>
I can access it from my machine right now
<nobitanobi>
hostname and port
mgberlin has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
wowXD has joined #ruby
<pontiki>
ah, i see
TorpedoSkyline has quit [Client Quit]
<nobitanobi>
pontiki: I might be overcomplicating this
<nobitanobi>
and I should just go for the workers on Heroku
brandonjmckay has joined #ruby
<nobitanobi>
but I have gotten several E14 errors due to memory problems
<nobitanobi>
PhantomJs instances are expensive to run
<pontiki>
what's an E14 error?
<nobitanobi>
and somehow I have a feeling that if I have dedicated machines on Amazon just doing this
bmurt has joined #ruby
sandbags has quit [Remote host closed the connection]
<nobitanobi>
r14 sorry
r_rios has joined #ruby
<nobitanobi>
memory exceed
<pontiki>
AWS is rather expensive, too
tkuchiki has quit [Remote host closed the connection]
erts has left #ruby [#ruby]
<nobitanobi>
pontiki: yeah... well
<nobitanobi>
I appreciate your tips man
<nobitanobi>
.woman if you are
<nobitanobi>
thanks
teidoe has quit [Remote host closed the connection]
<pontiki>
anyway, there is a lot more to learn for that.
<nobitanobi>
I know...
<nobitanobi>
that's also a reason I was like 'why not give it a try'
<pontiki>
it's useful knowledge, i must say
<nobitanobi>
yeah
<nobitanobi>
but then it comes the balance on
<nobitanobi>
getting things done
wowXD has quit [Ping timeout: 252 seconds]
<nobitanobi>
or... spend some time (god knows how much) having it set up
<nobitanobi>
ehhe
<pontiki>
devops *is* getting things done
eka has joined #ruby
<nobitanobi>
haha right
ra4king has joined #ruby
bartdorsey has quit [Ping timeout: 245 seconds]
pushpak has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
bartdorsey has joined #ruby
thrownaway has joined #ruby
kies has joined #ruby
dilated_dinosaur has quit [Ping timeout: 252 seconds]
benzrf has quit [Quit: leaving]
elricsfate_ has joined #ruby
elricsfate has quit [Ping timeout: 260 seconds]
Zebroid has joined #ruby
r_rios has quit [Ping timeout: 240 seconds]
ferr has quit [Remote host closed the connection]
oo_ has joined #ruby
alec-c4 has quit [Remote host closed the connection]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
shredding has joined #ruby
lewix has quit [Ping timeout: 248 seconds]
<havenwood>
jeevesmoss: my guess would be you had gem on 1.9.3 and ruby on 1.8.7
bquan has quit [Client Quit]
<havenwood>
(1.9.1 ABI)
bquan has joined #ruby
<jeevesmoss>
havenwood, looks like everything is selected for 1.9.1
<havenwood>
oh dear
<goshdarnyou>
hello. noob trying to get through test first ruby here... not understanding initializing variables for a class.. i wrote method titleize but i just took the first two methods from a solution, thinking i could work backwards from it... but im still not getting how that part works... pls explain? sorry if this is super basic but for some reason the resources i
<havenwood>
well, everything appears correct - hem, maybe you just don't have bundler installed on 1.9.3
Photism has joined #ruby
<havenwood>
jeevesmoss: sudo gem install bundler
<havenwood>
then try again
<jeevesmoss>
havenwood, thanks. one sec
<jeevesmoss>
it's going to be something supid that I've missed
<jeevesmoss>
always is
badhatter has quit [Remote host closed the connection]
<Hanmac>
jeevesmoss: what does "gem env" shows you?
<havenwood>
goshdarnyou: one line 23 be sure to use the `@title` instance variable rather than a new `title` local variable.
<jeevesmoss>
one sec. still installing bundler. it's a BeagleBoneBlack. so it's a little under powered
<havenwood>
on line*
<havenwood>
jeevesmoss: nice, i have one of those that i've been meaning to play with but i haven't even shelled onto it yet
LexicalScope has quit [Ping timeout: 248 seconds]
<jeevesmoss>
lol. I have one that's being beaten to death for a prototype, and this one is on a second 7" LCD screen that will be running GL_Tail to show DNS server activity.
Darryl has quit [Quit: Connection closed for inactivity]
<havenwood>
goshdarnyou: oh, actually looking closer you don't mean to be setting the instance variable, oops
mgberlin has joined #ruby
<jeevesmoss>
and once we get our offices built, I'm taking my older 42" LCD T.V. to the shop to put on the wall in the waiting area being driven via the HDMI port
<havenwood>
goshdarnyou: nvm me >.>
<goshdarnyou>
ok so def title() @title end makes it so that book.title actually has a method to call
<goshdarnyou>
i dont get what's going on with def title=(title)....end
jackneill has quit [Remote host closed the connection]
Guest0852 has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
tmtwd has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
alec-c4 has joined #ruby
maestrojed has joined #ruby
<jeevesmoss>
havenwood, ??
Rollabunna has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
bquan has left #ruby [#ruby]
Atrumx has joined #ruby
boosgetti has joined #ruby
<havenwood>
jeevesmoss: Rubygems 1.8.23 ships with 1.9.3
<havenwood>
jeevesmoss: That isn't a problem.
<jeevesmoss>
havenwood, hummm, next idea?
agent_white has joined #ruby
tmtwd has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
saarinen has joined #ruby
<agent_white>
Afternoon!
<havenwood>
jeevesmoss: which bundle
<havenwood>
agent_white: g'day!
datafirm has joined #ruby
Andrevan has quit [Quit: WeeChat 0.4.4-dev]
<jeevesmoss>
havenwood, one sec. new errors. something new is good. brb
<agent_white>
KungFu Panda 2 is on! :D
<havenwood>
goshdarnyou: that is a sugared method name that allows a special setter sytax
<goshdarnyou>
i think the title=(title) part is the main thing thats throwing me off
<goshdarnyou>
what does that syntax mean there...
<havenwood>
goshdarnyou: you call it like: title = 'dog day afternoon'
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<jhass>
book.title = 'foo' !
<havenwood>
goshdarnyou: instead of: title=('dog day afternoon')
sdouglas has quit [Remote host closed the connection]
<jhass>
title = 'foo' is always a local!
<jeevesmoss>
how do I remove gems?
<havenwood>
jeevesmoss: gem uninstall
<jeevesmoss>
thanks.
<havenwood>
jeevesmoss: details: gem help uninstall
<goshdarnyou>
ok let me see if im getting this
<goshdarnyou>
def title @title end makes it so that book.title returns whatever @title is
datafirm has quit [Ping timeout: 245 seconds]
<havenwood>
goshdarnyou: yup
<havenwood>
goshdarnyou: or the short way to do the same: attr_reader :title
<goshdarnyou>
but then i need another method with the same name and =title in order to pass a variable?
<goshdarnyou>
or i mean
<goshdarnyou>
=(variable)
<havenwood>
goshdarnyou: for a setter, a special syntactic sugar
decoponio has quit [Quit: Leaving...]
<havenwood>
goshdarnyou: you don't have to use it, but it gives a nice syntax sometimes
<goshdarnyou>
ok is there another way i could write that 2nd portion?
<havenwood>
goshdarnyou: equivalent to: attr_writer :title
<havenwood>
goshdarnyou: the two together in a single line: attr_accessor :title
<havenwood>
goshdarnyou: though in your case, you don't have a simple setter, you're overriding it with custom behavior
brandonjmckay has quit [Quit: Leaving.]
<havenwood>
goshdarnyou: just your getter is vanilla wafer
Olipro has quit [*.net *.split]
Atrumx has quit [Ping timeout: 244 seconds]
wowXD has joined #ruby
sdouglas has joined #ruby
<goshdarnyou>
ahh okayy first method is getter, second is setter
<jhass>
goshdarnyou: also note that the = is part of the method name, the reader is named title, the setter is named title=
<goshdarnyou>
for some reason i wasnt really understanding that
<jhass>
much like the ! and ? are part of the method name
<goshdarnyou>
ok and do they need to have the same name? like "name" and "name="?
pu22l3r has joined #ruby
<jhass>
no
<jhass>
it's really a method name, you can give it whatever name
Georg3_ has quit [Quit: Computer has gone to sleep.]
<jhass>
if it ends =, ruby allows you to put spaces around the = if you call it
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
<shevy>
goshdarnyou see: class Foo; def bla=(i)
<jhass>
though be aware that many shortcuts depend on having the same name
kenneth has joined #ruby
<jhass>
like a.foo += 1 is short for a.foo = a.foo +1
wowXD has quit [Ping timeout: 240 seconds]
<jeevesmoss>
havenwood, lol. looks like we're getting somewhere!
<goshdarnyou>
ok cool i think i need to do a little more work to make sure i get it but that helps a lot
<goshdarnyou>
thanks guys :)
maestrojed has quit [Quit: Computer has gone to sleep.]
<jeevesmoss>
havenwood, what does this mean? /var/lib/gems/1.9.1/gems/chipmunk-5.3.4.5/lib/chipmunk.rb:6: Use RbConfig instead of obsolete and deprecated Config.
<havenwood>
jeevesmoss: in 1.9.3+ you use RbConfig
timonv has joined #ruby
boosgetti has quit [Remote host closed the connection]
<jeevesmoss>
ok, so, it's something in the actual script that's broken then
<havenwood>
jeevesmoss: you can change the line yourself, build and install - but it looks like this gem is unmaintained
johnmolina has quit [Remote host closed the connection]
johnmolina has joined #ruby
<jeevesmoss>
ok, thanks.
<havenwood>
or maybe it is maintained but it is rare these days to not support 1.9+
Olipro has joined #ruby
<havenwood>
it says 1.9.x but they haven't bothered to support RbConfig so who knows
<havenwood>
jeevesmoss: pull request :P
Shidash has quit [Quit: Leaving.]
timonv has quit [Ping timeout: 252 seconds]
<jeevesmoss>
havenwood, that fixed it. last one.... freeglut (./gl_tail): failed to open display ''
oo_ has joined #ruby
<havenwood>
jeevesmoss: also maybe they have it fixed in a newer version than you're using
Atrumx has joined #ruby
lewix has joined #ruby
<havenwood>
jeevesmoss: i don't know freeglut
anisha has quit [Quit: Leaving]
george2 has quit [Read error: Connection reset by peer]
johnmolina has quit [Ping timeout: 240 seconds]
codeurge has quit [Quit: Sleep.]
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jeevesmoss>
havenwood, I think it's because I'm running it from a remote shell.
<havenwood>
ah, right opengl
<jeevesmoss>
yea.
<jeevesmoss>
once this FTP download is done, I'll jump into Ubuntu on this laptop, and try to duplicate what I just did.
pskosinski has joined #ruby
xxneolithicxx has joined #ruby
DanielRb has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
cerberblue has quit []
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mr_snowf1ake has quit [Quit: Leaving]
fredsir has joined #ruby
johnmolina has joined #ruby
DanielRb has joined #ruby
charliesome has joined #ruby
duper has joined #ruby
Rahul_Roy has joined #ruby
fgo has joined #ruby
jeevesmoss has quit []
cerberblue has joined #ruby
endash has joined #ruby
djbkd has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
jamto11 has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
shredding has quit [Quit: shredding]
aspires has quit []
brandonjmckay has joined #ruby
livathinos has quit []
aspires has joined #ruby
b00stfr3ak has joined #ruby
boosgetti has joined #ruby
cerberblue has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 260 seconds]
brandonjmckay has quit [Ping timeout: 264 seconds]
nicksanf_ has joined #ruby
p0sixpscl has joined #ruby
cheemobile has joined #ruby
}SoMBrA{ has joined #ruby
babykosh has joined #ruby
nfk has quit [Quit: yawn]
xxneolithicxx has left #ruby [#ruby]
<}SoMBrA{>
Hello people. I have a question.
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<}SoMBrA{>
Im building an API using grap and ActiveRecord, I have basic authentication using an AppKey associated to the user
<}SoMBrA{>
this API will be used by an angular.js app
<}SoMBrA{>
but there is something that I dont understand
<}SoMBrA{>
I need that the user authenticate through a login and a password
<benzrf>
}SoMBrA{: im sorry
<benzrf>
05:43 < benzrf> !nickometer }SoMBrA{
<benzrf>
05:43 < bROBOT> benzrf: The "lame nick-o-meter" reading for "}SoMBrA{" is 56.0%.
<}SoMBrA{>
but I need also the app authentication
<}SoMBrA{>
so, how can I achieve this?
tmtwd has quit [Ping timeout: 252 seconds]
bubbajones has quit [Quit: leaving]
<}SoMBrA{>
so, first the app should authenticate to use any endpoint (with an api key)
<}SoMBrA{>
but then, the user can login too through the app, and have more accesses
aniM has quit [Ping timeout: 260 seconds]
bubbajones has joined #ruby
aniM has joined #ruby
gigetoo has joined #ruby
ferr has quit [Ping timeout: 255 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
pskosinski has joined #ruby
carraroj has joined #ruby
britneywright has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 248 seconds]
Takle has joined #ruby
tmtwd has joined #ruby
carraroj has quit [Client Quit]
Zebroid has quit [Remote host closed the connection]
<havenwood>
goshdarnyou: i think you should capitalize the last word as well as the first. just for the heck of it here's a few things to consider based on your version: https://gist.github.com/havenwood/c7a64b615d63e1979486
<havenwood>
goshdarnyou: though you'd maybe want a way to re-set a title, dunno :)
pskosinski has quit [Quit: Til rivido Idisti!]
<goshdarnyou>
ooh okay thanks a lot, ill take a look
pskosinski has joined #ruby
<havenwood>
goshdarnyou: so many ways to do this, just mixed it up a bit for ideas
<havenwood>
}SoMBrA{: BasicAuth will query the user in the browser for username and password that it would be getting from the JSON otherwise.
sigurding has quit [Quit: sigurding]
SCHAAP137 has quit [Remote host closed the connection]
<havenwood>
}SoMBrA{: Try adding basic auth and then hitting the route.
<havenwood>
pontiki: a subset of Sinatra, basically Sinatra light but stays true to Sinatra DSL so you could theoretically just swap gems from nyny to sinatra and it'd work.
<havenwood>
dbu: ooh neat
<pontiki>
ah ha
<pontiki>
"did it my way"
djbkd has joined #ruby
cheemobile has joined #ruby
aniM has quit [Ping timeout: 260 seconds]
brunops has quit [Ping timeout: 264 seconds]
havenwood has quit []
Notte has quit [Remote host closed the connection]
replay has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has joined #ruby
Sawbones has quit [Remote host closed the connection]
boosgetti has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 264 seconds]
brunops has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
_brummie has quit [Quit: Leaving]
brunops has quit [Changing host]
brunops has joined #ruby
cashnguns has joined #ruby
cheemobile has quit [Quit: cheemobile]
agent_white has quit [Quit: bbl]
lewix has joined #ruby
replay has joined #ruby
tekacs has quit [Quit: Disappearing... *poof*]
nopc0de- has quit [Quit: oops]
spider-mario has quit [Remote host closed the connection]
tacos1de has quit [Remote host closed the connection]
Rollabunna has joined #ruby
tacos1de has joined #ruby
tmtwd has quit [Ping timeout: 245 seconds]
mgberlin has joined #ruby
jhass is now known as jhass|off
charliesome has joined #ruby
lxsameer has quit [Quit: Leaving]
jezen has joined #ruby
Rollabunna has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
lewix has quit [Remote host closed the connection]
andrewlio has quit [Remote host closed the connection]
lewix has joined #ruby
Georg3_ has joined #ruby
jheg has quit [Quit: jheg]
timonv has joined #ruby
lewix has quit [Ping timeout: 252 seconds]
Georg3_ has quit [Ping timeout: 240 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
eka has joined #ruby
jottr_ has quit [Ping timeout: 248 seconds]
banister has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
banister has quit [Max SendQ exceeded]
johnmolina has quit [Remote host closed the connection]
johnmolina has joined #ruby
ClarusCogitatio has quit [Ping timeout: 245 seconds]
aniM has joined #ruby
aspires has quit []
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
cheemobile has joined #ruby
wowXD has joined #ruby
mercwithamouth has joined #ruby
dangerou_ has quit [Ping timeout: 264 seconds]
ClarusCogitatio has joined #ruby
northfurr has joined #ruby
johnmolina has quit [Ping timeout: 252 seconds]
Vivekananda has quit [Ping timeout: 240 seconds]
cheemobile has quit [Client Quit]
wowXD has quit [Ping timeout: 252 seconds]
johnmolina has joined #ruby
aspires has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
Shidash has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
therealGent has joined #ruby
therealGent has joined #ruby
therealGent has quit [Changing host]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
centrx has joined #ruby
centrx has quit [Client Quit]
_maes_ has joined #ruby
jezen has quit [Remote host closed the connection]
_maes_ has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
goleldar has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
klaut has joined #ruby
lethjakman has joined #ruby
brian___ has quit [Quit: brian___]
jamto11 has joined #ruby
garndt has joined #ruby
pickle__ has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 264 seconds]
pickle_ has joined #ruby
chrishough has joined #ruby
cashnguns has quit [Ping timeout: 248 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
try has quit [Ping timeout: 240 seconds]
doodlehaus has joined #ruby
eka has joined #ruby
lw has joined #ruby
lethjakman has quit [Ping timeout: 260 seconds]
tmtwd has quit [Ping timeout: 260 seconds]
evansbee has joined #ruby
Georg3_ has joined #ruby
kenneth has joined #ruby
Vivekananda has joined #ruby
HACKING-TWITTER has joined #ruby
s2013 has joined #ruby
dideler has joined #ruby
Georg3_ has quit [Ping timeout: 245 seconds]
tmtwd has joined #ruby
lizzin has joined #ruby
<lizzin>
how can i install ruby so that it runs as a nonroot user?
DreamingRainne has joined #ruby
}SoMBrA{ has quit [Quit: This computer has gone to sleep]
Takle has quit [Remote host closed the connection]
linojon has quit [Quit: enuf of this]
Edelwin has joined #ruby
<Edelwin>
hohai
<Edelwin>
I have a program that attempt to connect to each IP of a thread. But it crashes completely when it tries, for instance, 192.168.1.0
<Edelwin>
what would be the better solution? Spawning a thread for each IP, so if a thread crashes, the rest would still work? or blacklist *.0 ?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brandonjmckay has joined #ruby
binaryhat has joined #ruby
Guest0852 has quit [Ping timeout: 252 seconds]
casheew_ has quit [Read error: Connection reset by peer]