havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
KeyJoo has quit [Remote host closed the connection]
alveric2 has joined #ruby
ascarter has joined #ruby
alveric1 has quit [Ping timeout: 240 seconds]
dar123 has joined #ruby
ioquatix has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
skweek has joined #ruby
ledestin has joined #ruby
jaegerca has joined #ruby
twistedp- has quit [Ping timeout: 246 seconds]
twistedpixels_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
<zenspider> AssembledBits: does it need refactoring?
<AssembledBits> I used the wrong term
<AssembledBits> no worries!
ioquatix has quit [Quit: ioquatix]
rakm has joined #ruby
volty has quit [Ping timeout: 240 seconds]
<zenspider> look at URI.join and stop building urls by hand
<zenspider> even File.join would be sufficient
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
patr0clus has joined #ruby
gusrub has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
gusrub has quit [Ping timeout: 264 seconds]
ioquatix has joined #ruby
antib has quit [Ping timeout: 255 seconds]
houhoulis has joined #ruby
coderphive has quit [Quit: coderphive]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
AssembledBits has quit [Remote host closed the connection]
houhoulis has quit [Ping timeout: 240 seconds]
oleo has quit [Remote host closed the connection]
coderphive has joined #ruby
Rodya_ has joined #ruby
coderphive has quit [Client Quit]
SteenJobs has joined #ruby
oleo has joined #ruby
enilsen16 has joined #ruby
gix has quit [Quit: Client exiting]
t-recx has quit [Read error: No route to host]
t-recx has joined #ruby
ioquatix has quit [Quit: ioquatix]
PaulCape_ has quit [Quit: .]
PaulCapestany has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jusa has joined #ruby
bkxd has joined #ruby
GinoMan has quit [Ping timeout: 272 seconds]
marr has quit [Ping timeout: 268 seconds]
gix has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
dar123 has joined #ruby
gothicsouth has joined #ruby
ioquatix has joined #ruby
coderphive has joined #ruby
Guest96 has quit [Ping timeout: 268 seconds]
cyphase has quit [Ping timeout: 246 seconds]
<baweaver> zenspider: Give me a sec to think on it, will leave a comment
<baweaver> At first glance it looks fairly intuitive
cyphase has joined #ruby
<zenspider> I have decided (for now) that Sexp#=== is normal ===, Matcher#=== is Matcher#=~ and Matcher#=~ is any subtree.
<baweaver> I've done something similar for Hash querying in a new version of Izzy I'll probably release later.
<zenspider> still thinking any subtree should also be flexible, as in ANY child, not positinoal
bkxd has joined #ruby
<zenspider> thinking of strings/regexps as single chain trees
<baweaver> yeah, those are fun
brent__ has joined #ruby
<baweaver> you seen jq yet?
<zenspider> cmdline thing?
<baweaver> might use its language as an inspiration for diving
<baweaver> yeah
<zenspider> I could poke at that... was gonna poke at CSS selectors too
<zenspider> I need a front-end language for this to convert into matcher objects
<zenspider> gotta run. I'll catch up later. Dump here or in PM
<baweaver> Might do on a gist
amclain has quit [Quit: Leaving]
<baweaver> the gist
jenrzzz has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 260 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
x0f has quit [Ping timeout: 260 seconds]
oleo has quit [Excess Flood]
kent\n has joined #ruby
oleo has joined #ruby
patarr has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
x0f has joined #ruby
patarr has quit [Ping timeout: 272 seconds]
mim1k has quit [Ping timeout: 240 seconds]
GinoMan has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GinoMan2440 has joined #ruby
tfitts has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Remote host closed the connection]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
GinoMan has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
mokiwis has joined #ruby
LastWhisper____ has joined #ruby
mokiwis has quit [Client Quit]
coderphive has quit [Quit: coderphive]
gizmore|2 has joined #ruby
chouhoul_ has quit [Ping timeout: 245 seconds]
tgragnato has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
tgragnato has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
ascarter has joined #ruby
d^sh_ has joined #ruby
jeyraof^mbpr has joined #ruby
jeyraof^mbpr has quit [Client Quit]
distrion has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
<distrion>
<distrion> /close
distrion has left #ruby [#ruby]
<xco> zenspider: thanks! :)
bronson has quit [Ping timeout: 240 seconds]
dmtd has quit [Quit: Connection closed for inactivity]
apparition has joined #ruby
coderphive has joined #ruby
coderphive has quit [Client Quit]
coderphive has joined #ruby
ofkors has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 240 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
genpaku has quit [Remote host closed the connection]
genpaku has joined #ruby
lxsameer has quit [Ping timeout: 272 seconds]
patarr has joined #ruby
enilsen16 has quit [Ping timeout: 255 seconds]
rkazak has quit [Quit: Sleep.....ing....]
enilsen16 has joined #ruby
dlitvak has quit [Quit: Connection closed for inactivity]
patarr has quit [Ping timeout: 268 seconds]
vondruch has quit [Quit: vondruch]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
rakm has joined #ruby
ioquatix has quit [Quit: ioquatix]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hunter1_ has quit [Remote host closed the connection]
LastWhisper____ has joined #ruby
Hunter1_ has joined #ruby
LastWhisper____ has quit [Client Quit]
jameser has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
jameser has quit [Client Quit]
GinoMan2440 has quit [Remote host closed the connection]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tobh has joined #ruby
GinoMan2440 has joined #ruby
jusa has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
jusa has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
PorcoRex has joined #ruby
<PorcoRex> Good evening Ruby.
<t-recx> evening
duderonomy has joined #ruby
sspreitz has quit [Ping timeout: 255 seconds]
<PorcoRex> t-recx, uncle?
<t-recx> :D
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rdw200169_ has joined #ruby
nofxx has joined #ruby
rdw200169__ has quit [Ping timeout: 258 seconds]
mentok has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
jusa has joined #ruby
sspreitz has joined #ruby
jenrzzz has joined #ruby
agent_white has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
jusa has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
cschneid_ has joined #ruby
coderphive has quit [Quit: coderphive]
cfec0b8d has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 260 seconds]
cfec0b8d has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
coderphive has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
d^sh_ has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 255 seconds]
d^sh has joined #ruby
enilsen16 has quit [Quit: enilsen16]
DTZUZU has quit [Quit: WeeChat 1.5]
claw has joined #ruby
rakm_ has joined #ruby
rakm has quit [Ping timeout: 240 seconds]
xall_ has joined #ruby
enterprisey has joined #ruby
gix has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
gix has joined #ruby
coderphive has quit [Quit: coderphive]
JeanCarloMachado has quit [Ping timeout: 245 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rakm has joined #ruby
rakm_ has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
drcode has quit [Remote host closed the connection]
coderphive has joined #ruby
drcode has joined #ruby
Rodya_ has joined #ruby
Rodya_ has quit [Ping timeout: 255 seconds]
FastJack has quit [Ping timeout: 260 seconds]
ioquatix has joined #ruby
nanoz has joined #ruby
mim1k has joined #ruby
patarr has joined #ruby
raspado_ has joined #ruby
mim1k has quit [Ping timeout: 272 seconds]
nicesignal has quit [Remote host closed the connection]
raspado has quit [Ping timeout: 245 seconds]
patarr has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
enilsen16 has joined #ruby
gnufied has quit [Ping timeout: 272 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
rakm has quit [Client Quit]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
rakm has joined #ruby
rakm has quit [Client Quit]
JeanCarloMachado has joined #ruby
raspado_ has quit [Remote host closed the connection]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
treaki__ has joined #ruby
Bock has joined #ruby
nofxxx has joined #ruby
treaki has quit [Ping timeout: 255 seconds]
nofxx has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
dar123 has joined #ruby
JeanCarloMachado has joined #ruby
xall_ has quit [Ping timeout: 272 seconds]
lxleuser has joined #ruby
lxleuser has quit [Client Quit]
Guest11768 has joined #ruby
gothicsouth has joined #ruby
enterprisey has quit [Ping timeout: 245 seconds]
coderphive has quit [Quit: coderphive]
enterprisey has joined #ruby
xall_ has joined #ruby
Rodya_ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
t-recx has quit [Quit: t-recx]
Rodya_ has quit [Ping timeout: 246 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
xall_ has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
_whitelogger has joined #ruby
Cyrus has quit [Quit: wheeeeee]
JeanCarloMachado has quit [Ping timeout: 268 seconds]
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
JeanCarloMachado has joined #ruby
SenpaiSilver has joined #ruby
Cyrus has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
cjk101010 has quit [Remote host closed the connection]
cjk101010 has joined #ruby
cschneid_ has quit [Remote host closed the connection]
djbkd has joined #ruby
JoshS has joined #ruby
hongkongphooy has joined #ruby
ioquatix has quit [Quit: ioquatix]
Rodya_ has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
skweek has quit [Max SendQ exceeded]
bkxd has quit [Read error: Connection reset by peer]
skweek has joined #ruby
patarr has joined #ruby
bkxd has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
Guest11768 has quit [Ping timeout: 240 seconds]
nicesignal has joined #ruby
Flonk has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hunter1_ has quit [Remote host closed the connection]
agent_white has quit [Quit: bai]
Hunter1_ has joined #ruby
TomyLobo has joined #ruby
djbkd has quit [Remote host closed the connection]
gothicsouth has joined #ruby
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Client Quit]
bkxd has quit [Ping timeout: 268 seconds]
Rodya_ has joined #ruby
Cohedrin has joined #ruby
bkxd has joined #ruby
djbkd has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
cfec0b8d has quit [Ping timeout: 240 seconds]
Tempesta has quit [Quit: See ya!]
djbkd has quit [Ping timeout: 260 seconds]
robotmay has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 240 seconds]
enilsen16 has quit [Quit: enilsen16]
tobh has quit [Read error: Connection reset by peer]
Qchmqs__ has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Qchmqs__ is now known as Qchmqs
nachoman has joined #ruby
rippa has joined #ruby
tildes has joined #ruby
TreyG has quit [Ping timeout: 260 seconds]
TreyG has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
cschneid_ has joined #ruby
ofkors has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
watom has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
nachoman has quit []
Rodya_ has quit [Ping timeout: 260 seconds]
Jakaria has joined #ruby
<Jakaria> hi guys, I'm new in Ruby... a warning is occuring in this program, please somebody help to understand why is this warning.... gist link - https://gist.github.com/JakariaBlaine/f1d39b38d9ca59dd09f7998853f93178
<Jakaria> the warning is this -->> testing.rb:5: warning: circular argument reference - from
<Jakaria> testing.rb:5: warning: circular argument reference - to
<Jakaria> testing.rb:5: warning: circular argument reference - message
<Jakaria> Setting up the mailing system
<Jakaria> Sending email to myemailaddress@gmail.comY
<zenspider> please just put the error in the paste instead of pasting it in channel...
patarr has joined #ruby
<Jakaria> oh, sorry....
<zenspider> no prob
<zenspider> this works: def initialize(from: f, to: t, message: m)
<zenspider> ah. ok. I get it now
<zenspider> this is better: def initialize from:, to:, message:
<zenspider> you're saying that from/to/message have default values of calls to the from/to/message accessors
<zenspider> there shouldn't be default values for this type of object... maybe empty strings or something. but probably nothing
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider> Jakaria: ^^
pratch has quit [Remote host closed the connection]
<PorcoRex> It seems a bit sloppy, but I can't spot any circular references?
patarr has quit [Ping timeout: 264 seconds]
<Jakaria> ah.... gotcha.....
pratch has joined #ruby
<Jakaria> I have PHP background so, Ruby looks like japanese to me.....
<zenspider> idiomatic ruby would be `def set_up` or `def setup`
<Jakaria> i started learning Ruby from yesterday
<zenspider> (probably the latter)
<zenspider> and we tend to use `@to.each do |address|` instead of `for address in @to`
<Jakaria> oh.... why is that?
<PorcoRex> Jakaria, it's cool!
<Jakaria> ah...
<zenspider> more obvious ties to Enumerable. more explicit w/ the block variables, esp when using deconstruction. history.
<PorcoRex> Just kidding. Once you get a week or a month learning Ruby you'll realize you can do most things without a for.
<Jakaria> I'm hoping that I can learn Ruby and Ruby on Rails in a month..... I'm sick of PHP
<zenspider> I probably wouldn't design for a setup method... at least not one that needs to be publically called.
<zenspider> otherwise this looks pretty good
<Jakaria> thanks....
<zenspider> you can replace ['myemailaddress@gmail.com'] w/ %w[myemailaddress@gmail.com]
<zenspider> no quotes or commas needed
<zenspider> >> %w[a b c d]
<ruby[bot]> zenspider: # => ["a", "b", "c", "d"] (https://eval.in/793565)
<Jakaria> I noticed that I can call a method of class like this: my_class.send
<Jakaria> never saw a syntax like this before :)
<zenspider> do you mean actually using send? or just obj.msg syntax?
<PorcoRex> Jakaria, also keep in mind that while Ruby and RoR will be fairly easy to pick up coming from PHP, you will probably need more than a month to master some of the advanced features of the language.
<zenspider> just a few dozen years... that's all
<Jakaria> "obj.msg" syntax, zenspider....
<PorcoRex> So you will be able to start working in like a week, but you'll need to invest into it in order to get the full experience, is what I mean.
<zenspider> that's pretty normal syntax for many OO langs
<Jakaria> oh..
<zenspider> there's also send: obj.send :msg == obj.msg
James123 has joined #ruby
<Jakaria> zenspider: oh, didn't knew about that one :P
<James123> Hello! I have an .erb file and a string %&foo, which gives an error. Any ideas how to make it work? (this string is not inside any erb tags)
<Jakaria> can I build CLI and small apps for Linux with Ruby?
<zenspider> ... how to "make it work"... yup... incredibly helpful
<zenspider> Jakaria: CLI is no sweat. "small apps"... you mean GUI apps? some people do GTK stuff but I don't
<Jakaria> oh.. good to know :)
PorcoRex has quit [Quit: Leaving]
<zenspider> ?answers James123
<ruby[bot]> James123: How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
<James123> I have a foo.erb which contains the string %&foo. I want the output of erb foo.erb to be %&foo, but instead I get syntax error, unexpected &, expecting end-of-input.
rakm has joined #ruby
mentok has quit [Ping timeout: 240 seconds]
<matthewd> `def initialize(from: from)` is circular because it's saying the `from` parameter is optional, and if not supplied, its value should instead come from the `from` parameter
<matthewd> Oh, PorcoRex left
<zenspider> >> require "erb", ERB.enw("%&foo").run
<ruby[bot]> zenspider: # => uninitialized constant ERB (NameError) ...check link for more (https://eval.in/793567)
<zenspider> shit
<zenspider> >> require "erb"; ERB.enw("%&foo").run
<ruby[bot]> zenspider: # => undefined method `enw' for ERB:Class (NoMethodError) ...check link for more (https://eval.in/793568)
<zenspider> ARGH
<zenspider> >> require "erb"; ERB.new("%&foo").run
<ruby[bot]> zenspider: # => %&foonil (https://eval.in/793569)
<zenspider> mmmm whisky
<zenspider> James123: you still haven't read that URL
pandaant has joined #ruby
<zenspider> panda... ant... batman
Jakaria has left #ruby ["WeeChat 1.4"]
mikecmpbll has joined #ruby
<matthewd> James123: There's an option that makes '%' at start of line magical. If you have that turned on, it implies you're probably doing your own erb rendering.. which means you have code you ought to show while describing your problem.
vuoto has joined #ruby
<zenspider> matthewd: you're no fun
<James123> matthewd: I am using the command line tool 'erb', which is included in my Ruby installation. I haven't written any code. The I use the command 'erb foo.erb'.
nachoman has joined #ruby
<zenspider> repro: echo "%&foo" > wtf.erb; erb wtf.erb
<matthewd> James123: Does that command have any means of getting help, perhaps?
<zenspider> Just took 15 minutes to get to...
enterprisey has quit [Remote host closed the connection]
<zenspider> James123: erb -h hints that you should use -P flag
<matthewd> zenspider: To be fair, "I want the output of erb foo.erb to be [..]" -- just the lack of punctuation hid the meaning
<matthewd> zenspider: Now who's the fun police? :P
im0nde has joined #ruby
<zenspider> 5 minutes ago I didn't even know (remember?) that there was an erb cmd... I was curious!
<James123> zenspider: Thanks, the -P flag did the trick
<zenspider> man... the ri doco for ERB is shit
TvL2386_ has quit [Remote host closed the connection]
_whitelogger has joined #ruby
antib has joined #ruby
xco has quit [Quit: xco]
xco has joined #ruby
marr has joined #ruby
TvL2386 has joined #ruby
skweek has quit [Quit: Leaving]
Rodya_ has joined #ruby
jameser has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
acalycine has joined #ruby
Jakaria has joined #ruby
brent__ has joined #ruby
<Jakaria> so, "def test_method? arg" == "def test_method(arg)"????
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
aupadhye has quit [Remote host closed the connection]
<elomatreb> Jakaria: Yep, but many popular styleguides recommend you don't do the former
brent__ has quit [Ping timeout: 260 seconds]
<Jakaria> oh
<Jakaria> can anyone suggest me some resource where I can find cool stuffs features/functions of Ruby?
SteenJobs has joined #ruby
cfec0b8d has joined #ruby
oleo has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
watom has left #ruby [#ruby]
acalycine has quit [Quit: bye]
xco has quit [Quit: xco]
ioquatix has joined #ruby
bronson has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bronson has quit [Ping timeout: 240 seconds]
jackrandom has joined #ruby
tetsu_ has quit [Quit: Lost terminal]
bkxd has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
quobo has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
Xeago_ has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
jameser has joined #ruby
bkxd has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 255 seconds]
Xeago_ is now known as Xeago
shinnya has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rakm has quit [Ping timeout: 240 seconds]
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 255 seconds]
Xeago_ is now known as Xeago
bkxd has joined #ruby
patarr has joined #ruby
nanoz has quit [Ping timeout: 260 seconds]
Qchmqs has quit [Remote host closed the connection]
GodFather has joined #ruby
pandaant has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
flips has quit [Quit: bbl ...]
flips has joined #ruby
flips has joined #ruby
flips has quit [Changing host]
Xeago has quit [Ping timeout: 240 seconds]
keoghpe has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
nachoman has quit []
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
keoghpe has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ioquatix has quit [Quit: ioquatix]
oleo has joined #ruby
bodgix has joined #ruby
bernd27 has joined #ruby
t-recx has joined #ruby
jackrandom has quit [Ping timeout: 272 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
bodgix has quit [Quit: ZNC 1.6.5 - http://znc.in]
bodgix has joined #ruby
Rodya_ has joined #ruby
Mon_Ouie has joined #ruby
bodgix has quit [Client Quit]
bodgix has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
rakm has joined #ruby
brkkyk has joined #ruby
<brkkyk> hello everyone
<al2o3-cr> o/
nachoman has joined #ruby
<brkkyk> i'm looking for part-time, full-time or project based job as a ruby on rails developer
<brkkyk> i have few projects in different scales
<brkkyk> please contact me
<brkkyk> if you dont have a job for me but you have a clue about where do i find one, also please contact me
postmodern has quit [Quit: Leaving]
Xeago has joined #ruby
minimalism has joined #ruby
brkkyk has quit [Remote host closed the connection]
brkkyk has joined #ruby
<brkkyk> hey everyone
<brkkyk> i'm looking for part-time, full-time or project based job as a Ruby on Rails Developer. I have various projects in different scales. Please contact me if you're interested or even you know where do i find one.
nanoz has joined #ruby
nachoman has quit []
<Papierkorb> brkkyk: Please don't spam
<brkkyk> okey this is the last post i'm very sorry for spamming
tvw has joined #ruby
quobo has joined #ruby
MyMind has joined #ruby
oleo has quit [Quit: irc client terminated!]
Sembei has quit [Ping timeout: 255 seconds]
Pisuke has joined #ruby
workmad3 has joined #ruby
MyMind has quit [Ping timeout: 240 seconds]
<slima> Is there in ruby simple way to run ./ruby.rb as root, and this script drop privileges to another user?
<al2o3-cr> slima: check out Process::Sys.setuid
<al2o3-cr> &ri Process::Sys.setuid slima
workmad3 has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
<al2o3-cr> slima: so something like this: Process::Sys.setuid(Etc.getpwnam("user").uid)
bodgix has quit [Quit: ZNC 1.6.5 - http://znc.in]
bodgix has joined #ruby
gnufied has joined #ruby
<slima> o, many thanks!
<al2o3-cr> yw
bodgix has quit [Client Quit]
bronson has joined #ruby
bodgix has joined #ruby
workmad3 has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
cfec0b8d has quit [Remote host closed the connection]
nanoz has quit [Read error: Connection reset by peer]
psychicist__ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
cfec0b8d has joined #ruby
vuoto has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
__Yiota has joined #ruby
dionysus69 has joined #ruby
lxnr has joined #ruby
Rodya_ has joined #ruby
hashrocket has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 240 seconds]
cfec0b8d has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 246 seconds]
cfec0b8d has joined #ruby
patarr has joined #ruby
Hunter1_ has quit [Remote host closed the connection]
Hunter1_ has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
jphase has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pankaj has joined #ruby
patr0clus has quit [Quit: tempusfugit]
Jakaria has quit [Ping timeout: 246 seconds]
lxnr has quit [Quit: WeeChat 1.7.1]
__Yiota has joined #ruby
yottanami has joined #ruby
<yottanami> rbenv
<yottanami> I am trying to install specific version of Ruby but I got this error http://dpaste.com/2C7C7FS
<yottanami> I am sure I installed libssl-dev debian package
cschneid_ has joined #ruby
millerti has joined #ruby
<adaedra> Did you look at the provided log file?
bkxd has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
<yottanami> here is the parts of log file http://dpaste.com/34YMSYT
<yottanami> adaedra, http://dpaste.com/34YMSYT
xall_ has joined #ruby
GinoMan2440 has quit [Ping timeout: 245 seconds]
miqlas-H64 has joined #ruby
<miqlas-H64> Hi Guys!
<miqlas-H64> I try to get ruby ported to Haiku but i have a big problem here.
shinnya has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<yottanami> Here is the complete log http://dpaste.com/21MAZT6
<yottanami> adaedra, ^
<miqlas-H64> I got the 2.4.1 already working, just the packaging makes headache: the software packages in haiku never get extracted, just virtually populated in the file system and they are read-only. But ruby needs to lock the rubygems.rb and it is impossible on read-only file-system.
<miqlas-H64> I need to fnd a workaround.
<miqlas-H64> Is it possible to set in configure- or in compile-time the location for rubygems.rb? If it is possible i can move it into a writeable location.
<miqlas-H64> But grepping the source code gives no
<miqlas-H64> eeee
<miqlas-H64> So grepping the source tree doesn't give any hint where is it defined or how.
<miqlas-H64> Did you guys have any idea?
<adaedra> you may have to look in the build directory if there are other logs that may contain something if this one is not enough, yottanami
<adaedra> also, 2.0 is ancient and may just not be compatible with current openssls
Rodya_ has joined #ruby
Mon_Ouie has quit [Ping timeout: 268 seconds]
Kanbi has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
oleo has quit [Remote host closed the connection]
xco has joined #ruby
whathappens has joined #ruby
FastJack has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
<yottanami> adaedra, My libssl-dev verion is 1.1.0e-2 How should I check the compatiblity? I am also using rbenv
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
bernd27 has quit [Remote host closed the connection]
nanoz has joined #ruby
jackrandom has joined #ruby
Mon_Ouie has joined #ruby
chouhoulis has joined #ruby
houhoulis has joined #ruby
bernd27 has joined #ruby
arup_r has joined #ruby
ltem has joined #ruby
yeticry_ has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
<arup_r> I want to take first 10 entries from a hash. I looked at take(10) and first(10), both converts the output to an Array, and then I need to call .to_h again to convert it to Hash. Is there any direct method? :)
chouhoulis has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
rippa has joined #ruby
<whathappens> arup_r: Nope
<whathappens> arup_r: module HashFirst; refine Hash do; def first n = 1; super(n).to_h end end end; # ...; using HashFirst
<arup_r> hm. I was just confirming myself if missed the doc
<arup_r> whathappens: awesome!
<arup_r> whathappens: thanks
<whathappens> arup_r: you're welcome
arup_r has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
nanoz] has joined #ruby
nanoz] has quit [Read error: Connection reset by peer]
patr0clus has joined #ruby
nanoz has quit [Ping timeout: 240 seconds]
JoshS has quit [Ping timeout: 240 seconds]
Kanbi has quit [Ping timeout: 255 seconds]
Archrover is now known as Archrover_
Archrover_ is now known as Archrover
VladGh has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
arup_r has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
pratch has quit [Remote host closed the connection]
Tempesta has joined #ruby
<dionysus69> hey whats the point of threads in ruby if they arent parallel in MRI?
<dionysus69> what's the use case ?
<matthewd> dionysus69: What have you found so far by Googling?
<dionysus69> nothing
<dionysus69> couldn't find relevant posts
<brkkyk> it's about i/o concurrency
<brkkyk> yeah maybe it's not parallel in aspect of cpu
<dionysus69> ok i ll try to find something once more
<dionysus69> ye I mean they dont utilize multiple cores
bronson has quit [Ping timeout: 272 seconds]
<brkkyk> but it's gives us opportunity to use i/o concurrency
<dionysus69> thus they arent faster, thats the only use case for threads if you ask me
<matthewd> I just searched for 'ruby threads use' and found several articles that seem to be fairly descriptive
<dionysus69> how is io not concurrent if I dont use threads ?
<brkkyk> if you dont use threads on io
<brkkyk> then program is waiting for complete the i/o proccess
<dionysus69> ok thanks that gave better results matthewd I just had hard time googling efficiently
djbkd has joined #ruby
<dionysus69> ye but program has to wait anyway right?
<matthewd> I just picked words from the question you asked ¯\_(ツ)_/¯
<dionysus69> if u put io in different thread, other threads will have to wait anyway so I dont get whats different
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
<matthewd> > other threads will have to wait anyway
<matthewd> huh?
<dionysus69> threads follow each other
<brkkyk> actually, concurrency and parallelism are just way too different terms
pratch has joined #ruby
gnufied has quit [Ping timeout: 260 seconds]
<brkkyk> so threads dont follow each other
<brkkyk> also if you have enough knowledge then you can use another ruby procceses to achieve parallelism in cpu aspect
iloveitaly has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
<iloveitaly> How can I determine if a past date (in a possibly different timezone) has DST? More info here http://stackoverflow.com/questions/43562056/determine-if-a-past-date-falls-in-the-dst-range-using-ruby-2-4
whathappens has joined #ruby
whathappens has quit [Client Quit]
Rodya_ has joined #ruby
whathappens has joined #ruby
etehtsea has joined #ruby
whathappens has quit [Remote host closed the connection]
centrx has joined #ruby
whathappens has joined #ruby
<brkkyk> @iloveitaly the most easy way to achieve this is using ActiveSupport
electrostat has quit [Quit: uwotm8]
<iloveitaly> This is a non-rails project :( Is there any way around that?
electrostat has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
<brkkyk> actually yes
<brkkyk> there is a way
<brkkyk> you can use https://github.com/panthomakos/timezone this gem called timezone
<brkkyk> this library have dst? method also
xall_ has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
<whathappens> brkkyk: Another popular related gem is tzinfo: https://github.com/tzinfo/tzinfo
<brkkyk> whathappens: i'm not sure if tzinfo has dst? method, but yes tzinfo is also popular gem about timezones etc.
<whathappens> brkkyk: it does have a #dst? method, yes
jrafanie has joined #ruby
<whathappens> brkkyk: ah, I meant to reply to iloveitaly, oops
<iloveitaly> Oh, thanks!! Taking a look now
jaegerca has quit [Remote host closed the connection]
patarr has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
xco has left #ruby [#ruby]
patarr has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
JoshS has joined #ruby
djbkd has quit [Ping timeout: 268 seconds]
bmurt has joined #ruby
xall_ has joined #ruby
nowhereman has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall_ has quit [Ping timeout: 240 seconds]
miqlas-H64 has quit [Ping timeout: 240 seconds]
arup_r has quit []
blackwind_123 has quit [Ping timeout: 260 seconds]
blackwind_123 has joined #ruby
djbkd has joined #ruby
miqlas-H64 has joined #ruby
centrx has quit []
oleo has quit [Remote host closed the connection]
coderphive has joined #ruby
im0nde has quit [Ping timeout: 255 seconds]
moufl has left #ruby [#ruby]
pankaj has quit [Ping timeout: 240 seconds]
gnufied has quit [Ping timeout: 246 seconds]
terminalcommand has joined #ruby
__Yiota has joined #ruby
andrzejku has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
AndChat|474201 has joined #ruby
AndChat|474201 has quit [Max SendQ exceeded]
__Yiota has quit [Client Quit]
terminalcommand has quit [Client Quit]
AndChat|474201 has joined #ruby
AndChat|474201 has quit [Max SendQ exceeded]
AndChat|474201 has joined #ruby
AndChat|474201 has quit [Max SendQ exceeded]
patr0clus has quit [Ping timeout: 272 seconds]
terminalcommand has joined #ruby
<yottanami> I tried to downgrade libssl-dev to 1.0 now I got this error http://dpaste.com/1PV5Q6Y
pankaj has joined #ruby
nowhereman has joined #ruby
Tempesta has quit [Quit: See ya!]
SteenJobs has joined #ruby
nachoman has joined #ruby
gothicsouth has joined #ruby
<yottanami> Is it because of openssl?
miqlas-H64 has quit [Quit: Vision[0.10.1]: i've been blurred!]
mdw has joined #ruby
mdw has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
houhoulis has quit [Remote host closed the connection]
mr_rich101 has joined #ruby
redaudit has joined #ruby
olehsliusar has joined #ruby
lucas_ has quit [Ping timeout: 240 seconds]
nachoman has quit []
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nachoman has joined #ruby
Ellimist has joined #ruby
Tempesta has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
terminalcommand has quit [Ping timeout: 268 seconds]
<Papierkorb> What's a popular JSON-RPC lib? Need client and server side, would be perfect if the client could do JSON-RPC over hTTP
SteenJobs has quit [Quit: SteenJobs]
JoshS has quit [Ping timeout: 246 seconds]
gothicsouth has joined #ruby
Amoeba_ has quit [Quit: Ex-Chat]
ledestin has joined #ruby
ledestin has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
pankaj has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
pankaj has joined #ruby
oleo has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Read error: No route to host]
badrsahl_ has joined #ruby
oleo has quit [Client Quit]
nadir has joined #ruby
pankaj has quit [Ping timeout: 255 seconds]
__Yiota has joined #ruby
psmolen has quit [Ping timeout: 260 seconds]
<whathappens> yottanami: Can you use a newer, still-supported Ruby? Ruby 2.3 or 2.4 would be ideal.
psmolen has joined #ruby
rkellermeyer has joined #ruby
djbkd has quit []
badrsahl_ has quit []
badrsahl_ has joined #ruby
lucas has joined #ruby
badrsahl_ has quit [Client Quit]
sonOfRa has quit [Remote host closed the connection]
sonOfRa has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<whathappens> yottanami: If you absolutely must use Ruby 2.0 (which doesn't receive even security patches for known vulnerabilities) use p648.
<whathappens> yottanami: (You had p481.)
pankaj has joined #ruby
patarr has joined #ruby
<whathappens> Papierkorb: jimson looks nicely done for server/client (rack/rest-client) on first impression
<Papierkorb> whathappens: Also saw that and it looked like the most stable one thus far, thanks
<whathappens> Papierkorb: i've not used it, or JSON-RPC at all for that matter, but i'm curious
DTZUZU has joined #ruby
TvL2386_ has joined #ruby
TvL2386 has quit [Ping timeout: 255 seconds]
swills has quit [Ping timeout: 258 seconds]
swills has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
TvL2386_ has quit [Client Quit]
jaywhawk has joined #ruby
olehsliusar has quit [Quit: Leaving]
jaywhawk has quit [Remote host closed the connection]
whathappens has quit [Quit: Bless bless...]
TvL2386 has joined #ruby
TvL2386 has quit [Client Quit]
TvL2386 has joined #ruby
coderphive has quit [Quit: coderphive]
TvL2386 has quit [Client Quit]
TvL2386 has joined #ruby
sonOfRa has quit [Remote host closed the connection]
apparition has joined #ruby
sonOfRa has joined #ruby
cfec0b8d has quit [Remote host closed the connection]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
patarr has joined #ruby
cschneid_ has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 246 seconds]
pankaj has quit [Ping timeout: 240 seconds]
JoshS has joined #ruby
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #ruby
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #ruby
patr0clus has joined #ruby
minimalism has quit [Ping timeout: 240 seconds]
JoshS has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 260 seconds]
jusa has joined #ruby
psychicist__ has quit [Quit: Lost terminal]
minimalism has joined #ruby
jackjackdripper has joined #ruby
vondruch has quit [Quit: vondruch]
yogg-saron has joined #ruby
volty has joined #ruby
ikoma has joined #ruby
<nishiki> cytheria: ouais elle s'appelle koshieq
marr has quit [Ping timeout: 240 seconds]
brkkyk has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
mim1k has joined #ruby
chouhoulis has joined #ruby
ascarter has quit [Client Quit]
ikoma has quit [Quit: ikoma]
psychicist__ has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
ascarter has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
ascarter has quit [Client Quit]
coderphive has joined #ruby
yottanami has quit [Quit: Leaving]
ascarter has joined #ruby
volty has left #ruby ["Konversation terminated!"]
jud has quit [Quit: Leaving]
duderonomy has joined #ruby
ryzokuken has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mentok has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
pankaj has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jud has joined #ruby
enterprisey has joined #ruby
mvb33 has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
tildes has joined #ruby
Rodya_ has quit [Ping timeout: 245 seconds]
mim1k has joined #ruby
rkellermeyer has quit [Ping timeout: 255 seconds]
mvb33_ has joined #ruby
Hunter1_ has quit [Remote host closed the connection]
Hunter1_ has joined #ruby
andrzejku has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mvb33 has quit [Ping timeout: 240 seconds]
oleo has joined #ruby
spiette_ has joined #ruby
weathermaker_ has joined #ruby
johnny56 has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 268 seconds]
weathermaker_ has left #ruby [#ruby]
dionysus69 has joined #ruby
__Yiota has joined #ruby
spiette_ has quit [Ping timeout: 268 seconds]
weathermaker has joined #ruby
dar123 has quit [Ping timeout: 245 seconds]
patarr has joined #ruby
djbkd has joined #ruby
coderphive has quit [Quit: coderphive]
Ellimist has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
Dimik has joined #ruby
nachoman has quit []
patarr has quit [Ping timeout: 255 seconds]
andrzejku has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mvb33_ has quit [Quit: leaving]
olblak has quit [Ping timeout: 268 seconds]
nowhereman has quit [Remote host closed the connection]
nachoman has joined #ruby
spiette_ has joined #ruby
JoshS has joined #ruby
__Yiota has joined #ruby
tildes has quit [Ping timeout: 245 seconds]
armyriad has quit [Quit: Leaving]
__Yiota has quit [Client Quit]
spiette_ has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
olblak has joined #ruby
armyriad has quit [Quit: Leaving]
Rodya_ has joined #ruby
__Yiota has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
croberts has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
KeyJoo has joined #ruby
cfec0b8d has joined #ruby
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> I'm excited about #yield_self in 2.5: https://bugs.ruby-lang.org/issues/6721
<havenwood> When I define it I usually use #let or a block form of #itself, but #yield_self will do just fine!
bernd9000 has joined #ruby
bernd9000 has quit [Read error: Connection reset by peer]
bernd9000 has joined #ruby
pankaj has quit [Ping timeout: 240 seconds]
bernd9000 has quit [Read error: Connection reset by peer]
weathermaker has quit [Quit: weathermaker]
<baweaver> Oh, so it's yield_self now havenwood ?
redaudit has quit [Ping timeout: 268 seconds]
bernd27 has quit [Ping timeout: 240 seconds]
<havenwood> baweaver: Yup, that's what they went with for now at least.
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bernd9000 has joined #ruby
bernd9000 has quit [Read error: Connection reset by peer]
<havenwood> I should have proposed #zap to compliment #tap. :-P
<baweaver> pat?
<havenwood> haha
<baweaver> reverse of tap! :D
<havenwood> i like it
bernd9000 has joined #ruby
bernd9000 has quit [Read error: Connection reset by peer]
bernd9000 has joined #ruby
milardovich has joined #ruby
Mon_Ouie has joined #ruby
enterprisey has joined #ruby
Rodya_ has joined #ruby
nowhere_man has joined #ruby
tildes has joined #ruby
bronson has joined #ruby
workmad3 has joined #ruby
ych has joined #ruby
milardovich has quit []
marr has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
cam27 has joined #ruby
<cam27> Do ruby developers also follow desing patterns like abstract factory and others?
araujo has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pankaj has joined #ruby
pankaj has quit [Client Quit]
JoshS has quit [Ping timeout: 240 seconds]
nachoman has quit []
dionysus69 has quit [Ping timeout: 240 seconds]
Qommand0r has quit [Quit: WeeChat 1.7.1]
armyriad has joined #ruby
__Yiota has joined #ruby
Cohedrin has joined #ruby
nachoman has joined #ruby
mim1k has joined #ruby
cschneid_ has joined #ruby
ledestin has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
SCHAPiE has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
TvL2386_ has joined #ruby
SCHAPiE has joined #ruby
tildes_ has joined #ruby
TvL2386 has quit [Ping timeout: 246 seconds]
tildes has quit [Ping timeout: 255 seconds]
patarr has joined #ruby
cschneid_ has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
duderonomy has quit [Ping timeout: 246 seconds]
andrzejku has quit [Quit: Textual IRC Client: www.textualapp.com]
nachoman has quit []
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ych> hey,is there anything specific i should pay attention when using threading gems like Parallel/Threach in my code to make it completely threadsafe?
JeanCarloMachado has joined #ruby
theajnin has joined #ruby
<theajnin> hi is anyone here that can help me?
<theajnin> ello?
coderphive has joined #ruby
<theajnin> nobody is here?
<ikopico> theajnin: just post the question and if anyone's available and know how to answer they will
<theajnin> I am having a bit of trouble getting my round correct in my ruby code. For example I want all floating numbers [11.10, 11.20] round up to the nearest .50 [11.50.11.50], Its not necessary for the number to be 11.25 to round to the nearest .50 [11.50]
mentok has quit [Changing host]
mentok has joined #ruby
<theajnin> currently the formula is this (x*2).round / 2 but i want all instances 11.10, 11.20 round up to 11.50
ltem has quit [Quit: Leaving]
<theajnin> any ideas??
oleo has quit [Quit: irc client terminated!]
oleo has joined #ruby
oleo has quit [Changing host]
oleo has joined #ruby
nachoman has joined #ruby
spiette_ has joined #ruby
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ikopico> Something like this?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jrafanie has joined #ruby
oleo has quit [Quit: irc client terminated!]
psychicist__ has quit [Quit: Lost terminal]
antib has quit [Ping timeout: 255 seconds]
coderphive has quit [Quit: coderphive]
redaudit has joined #ruby
shinnya has joined #ruby
rkellermeyer has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
gothicsouth has joined #ruby
tvw has quit []
tildes_ has quit [Ping timeout: 240 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
spiette_ has quit [Ping timeout: 264 seconds]
olblak has quit [Quit: Lost terminal]
DLSteve has joined #ruby
gothicsouth has joined #ruby
theajnin has quit [Quit: Page closed]
oleo has joined #ruby
coderphive has joined #ruby
_whitelogger has joined #ruby
bronson has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mentok has quit [Ping timeout: 258 seconds]
bronson has quit [Ping timeout: 260 seconds]
Lyubo1 has quit [Ping timeout: 240 seconds]
Bock is now known as Sauvin
minimalism has quit [Ping timeout: 260 seconds]
Lyubo1 has joined #ruby
oleo has quit [Quit: irc client terminated!]
coderphive has quit [Quit: coderphive]
GodFather has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
<havenwood> or it looks like that example would be: (x * 2).ceil.fdiv(2)
<havenwood> just because of the always round up
<havenwood> (not really rounding)
gothicsouth has joined #ruby
latemus has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
latemus has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Cohedrin has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
Rodya_ has quit [Ping timeout: 260 seconds]
oleo has joined #ruby
ur5us has quit [Remote host closed the connection]
minimalism has joined #ruby
oleo has quit [Quit: irc client terminated!]
workmad3 has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
workmad3 has quit [Ping timeout: 268 seconds]
Rodya_ has joined #ruby
Cohedrin has joined #ruby
patarr has joined #ruby
James123 has quit [Quit:]
cschneid_ has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cschneid_ has quit [Ping timeout: 272 seconds]
DLSteve has quit [Remote host closed the connection]
DLSteve has joined #ruby
pppktz has joined #ruby
<pppktz> Hi, I am trying to iterate through some files with the Dir command and trying to execute all the variable one by one but somehow it always try to execute the shell script with all the files at once, could advise how to use shell commands variables as iteration?
nachoman has quit []
<havenwood> pppktz: Show us what you have so far that isn't working?
<pppktz> should i copy it in the chat?
<havenwood> pppktz: gist.github.com is best
<havenwood> pppktz: paste us a link to the gist
<pppktz> fine, give me a sec
nachoman has joined #ruby
MrMuff_ has joined #ruby
sheepman has quit [Quit: ZNC - http://znc.in]
enterprisey has quit [Remote host closed the connection]
<havenwood> pppktz: Looks like you're missing the closing backtick, but what you showed should iterate through each String returned.
<pppktz> I have updated the typo, when I am running this script I receive the following error:
<pppktz> More than one file given with -f
JeanCarloMachado has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
bmurt has joined #ruby
mim1k has joined #ruby
oleo has joined #ruby
cam27 has quit [Quit: cam27]
bkxd has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
charliesome has joined #ruby
bonhoeffer has joined #ruby
mentok has joined #ruby
alveric3 has joined #ruby
bkxd has joined #ruby