apeiros_ changed the topic of #ruby to: Ruby 2.2.1; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
wallerdev has quit [Quit: wallerdev]
krisquigley has joined #ruby
<Wamboo> jhass, so s = TCPSocket.new 'example.com', 80 ?
hiyosi has joined #ruby
<jhass> yeah
arescorpio has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<GaryOak_> AFAIK there isn't a time.clock() equivalent
milesmatthias has joined #ruby
last_staff has quit [Quit: last_staff]
<jhass> what does that do?
delianides has joined #ruby
ominari has joined #ruby
ominari has quit [Client Quit]
<GaryOak_> it returns the elapsed time of the process
<GaryOak_> but it's easy to calculate in ruby
<GaryOak_> >> Time.now
<eval-in_> GaryOak_ => 2015-03-26 00:03:51 +0000 (https://eval.in/304818)
Megtastique has joined #ruby
GGMethos has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
<jhass> yeah, you just compute the target time and loop until .now reaches that
<weaksauce> Time.now.to_f
SilentNuke has joined #ruby
<weaksauce> or does that automatically get translated
<Wamboo> whats .to_f
<weaksauce> to a float
kubunto has left #ruby [#ruby]
<Wamboo> o
adriancb has joined #ruby
<jhass> I guess process time is monotonic, but fuck leap seconds I guess :P
jottr_ has quit [Ping timeout: 265 seconds]
<weaksauce> which is what time.clock() gives you
wallerdev has joined #ruby
<Wamboo> Okay so now, starting from scratch, I have a TCP socket connecting to my target area
ominari has joined #ruby
<Wamboo> Now, to send the packets to that target
pietr0 has quit [Quit: pietr0]
GaryOak_ has quit []
delianid_ has joined #ruby
laudo has joined #ruby
milesmatthias has quit [Ping timeout: 246 seconds]
plashchynski has quit [Quit: plashchynski]
User458764 has joined #ruby
dx7 has joined #ruby
plashchynski has joined #ruby
delianides has quit [Ping timeout: 252 seconds]
jack_rabbit has joined #ruby
Zai00 has quit [Quit: Zai00]
<jhass> >> require "socket"; TCPSocket.ancestors
<eval-in_> jhass => [TCPSocket, IPSocket, BasicSocket, IO, File::Constants, Enumerable, Object, Kernel, BasicObject] (https://eval.in/304819)
<jhass> as you can see it includes IO
<jhass> which tons of handy methods to check out
<jhass> BasicSocket has some more
<jhass> yep
<laudo> I am trying to get a value of a hash of hashes but i don't understand how to access it. I have the following hash which the following keys http://pastie.org/10053828 . How can I access for example the image key and get the value name of the image key?
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
<laudo> mean images key
Matix has quit [Quit: Leaving]
<banister> jhass you any good with dates and times?
agrinb has joined #ruby
<banister> jhass any idea why? (Date.today - 2.weeks.ago.to_date).to_i == 15 rather than the expected 14 ?
<jhass> not too much
<jhass> but
<jhass> !expert
<helpa> we all like to think we're experts; just ask your question
<weaksauce> hash["images"]["id"]
<Wamboo> jhass, what part of IO am I supposed to look at ?
<weaksauce> laudo but that could crash if the inner hash is nil
<henrikhodne> >> Process.clock_gettime(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID)
<eval-in_> henrikhodne => 0.05 (https://eval.in/304820)
<jhass> banister: can't be bothered to open a rails console, what's 2.weeks.ago.to_date return today?
<weaksauce> laudo then it would be complain undefined method [] for nil class
dx7 has quit [Ping timeout: 244 seconds]
<jhass> Wamboo: stuff that sends/writes, since that's what you want to do
<laudo> weaksauce: I am new to the hashes of hashes thing so any imput is appreciated
gkra has joined #ruby
iwaffles has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
<henrikhodne> time.clock() gives you CPU time, I believe, which is what Process.clock_gettime(:CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID) does.
Yzguy has quit [Max SendQ exceeded]
<Wamboo> jhass, Im very new to Ruby, so I have not a clue what to look for first, since IO is pretty big
<weaksauce> looks like it's value is actually an array of hashes laudo
<jhass> Wamboo: look at the left side, it lists the available methods
<jhass> method name usually give a clue about what the do
average has quit [Quit: leaving]
<weaksauce> do something like hash["images"].each do | inner_hash | puts inner_hash["id"] end
Yzguy has joined #ruby
<Yzguy> is it a pain to deploy a sinatra app onto apache?
sinkensabe has quit [Ping timeout: 248 seconds]
snath has quit [Ping timeout: 252 seconds]
<jhass> not any different from any other rack app really
Xiti` has quit [Quit: Xiti`]
<jhass> (rails is a rack app too)
Xiti has joined #ruby
<Yzguy> ok
<Yzguy> was thinking about creating a sinatra thing to expose some endpoints
<Wamboo> jhass, so IO.write ?
<Yzguy> to do stuff with r10k/puppet
<laudo> weaksauce: That worked. I think I get it now awesome. So its an array of hashes because of [{"id"=>1, "name"=>"rhel6bare"}] right?
<jhass> Wamboo: that's surely one to try!
<Wamboo> Yzguy, my friend uses Cuba on Nginx
<Yzguy> well we are using puppet, which has httpd and passenger already
senayar has joined #ruby
<weaksauce> yes the [] denotes an array laudo and the {} denotes hashes so if you had a few images it would be [{},{}]
ascarter has joined #ruby
<Yzguy> so I figured throw it on there too
<laudo> weaksauce: perfect thank you so much
baroquebobcat has quit [Quit: baroquebobcat]
<Wamboo> jhass, IO.write or $stdout.write ?
<jhass> weaksauce: a robot owl?
<weaksauce> laudo np
<Yzguy> gotta learn some sinatra first
<weaksauce> lol jhass , one can dream
<jhass> Wamboo: neither, you want to write to your socket, no?
baroquebobcat has joined #ruby
<Wamboo> Yes :(
<jhass> and TCPSocket is a IO!
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<Wamboo> god this is confusing :/
DavidDudson has joined #ruby
<Wamboo> so Python has something like sendto(packet, (targetip,int (port)))
<weaksauce> Wamboo you can also use send or sendmesg likely http://ruby-doc.org/stdlib-2.0.0/libdoc/socket/rdoc/BasicSocket.html#method-i-send
<Wamboo> where the package i want to send is packet
senayar has quit [Ping timeout: 248 seconds]
Musashi007 has quit [Quit: Musashi007]
ghostpl_ has joined #ruby
<Wamboo> weaksauce, so its TCPSocket.open("www.ruby-lang.org", 80 instead of v ?
<Wamboo> s = TCPSocket.new '45.55.163.146', 80 *
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elfuego has quit [Quit: elfuego]
triple_b has joined #ruby
triple_b has quit [Client Quit]
<weaksauce> I don't know Wamboo... never used sockets in ruby before
<jhass> "instead of v" ?
cacocola has joined #ruby
plashchynski has quit [Quit: plashchynski]
<Wamboo> crtl+ v fail
<jhass> open and new should be aliases
snath has joined #ruby
SilentNuke has quit []
<jhass> yeah, use new
Rollabunna has joined #ruby
byprdct has quit [Ping timeout: 252 seconds]
<Wamboo> sigh :(
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
juanca_ has joined #ruby
<Wamboo> I'm just very conflicted now
willharrison has joined #ruby
Musashi007 has joined #ruby
jeromelanteri has joined #ruby
plashchynski has joined #ruby
hpoydar has quit [Remote host closed the connection]
<Wamboo> okay hmm
<Wamboo> if s = TCPSocket.new '45.55.163.146', 80
<Wamboo> what would I put in s.send ?
<jhass> a string
<jhass> btw use socket, variable names like s don't help you to understand your program
MatthewsFace has joined #ruby
<Wamboo> Okay
cacocola has quit [Remote host closed the connection]
<Wamboo> so a string thats 65500 bytes
<Wamboo> :I
banister is now known as banisterfiend
baroquebobcat has quit [Quit: baroquebobcat]
MatthewsFace has quit [Client Quit]
<Wamboo> jhass, I'm just lost at this point, can you show me a simple example of what my script should look like form the py script ?
<jhass> no
cacocola has joined #ruby
lkba_ has quit [Ping timeout: 255 seconds]
iliketurtles has joined #ruby
<jhass> >> Random.new(65550)
<eval-in_> jhass => #<Random:0x41314340> (https://eval.in/304836)
<jhass> er
<jhass> >> Random.new.bytes(65550)
davispuh has quit [Read error: Connection reset by peer]
<jhass> haha, not much entropy on that server
<jhass> anyway, ^ makes you a string of that many random bytes
<Yzguy> anyone done anything with sinatra before?
<jhass> !expert
<helpa> we all like to think we're experts; just ask your question
jonr22 has joined #ruby
cacocola has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Yzguy> so, I am doing a little api type thing, you call like /r10k, and it will then run a shell command on the box
Lewix has quit [Remote host closed the connection]
<Yzguy> but, I want when I call it, it starts it, then returns back to the user it started
<Yzguy> not hangs while its running
cacocola has joined #ruby
<Yzguy> so pretty much, runs in the background
<havenwood> Yzguy: Are you creating or consuming the API?
<Yzguy> creating
<Yzguy> i guess its not really an API, its just one endpoint
n_blownapart has quit []
cacocola has quit [Remote host closed the connection]
oo_ has joined #ruby
vim_shimm has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
Aswebb_ has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 264 seconds]
<Yzguy> looks like I'll need fork and exec?
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
arrubin has joined #ruby
<wallerdev> just run it in a thread?
_russellb has quit [Quit: Lost terminal]
<jhass> how about spawn?
<Yzguy> oo that's what i need
tgunr has quit [Quit: Textual IRC Client: www.textualapp.com]
ooesili has joined #ruby
Rollabunna has quit [Remote host closed the connection]
aarthi01 has quit [Quit: Leaving]
tgunr has joined #ruby
<ramfjord_> you guys know of a way to pass configuration options to "gem install" in a Gemfile
Rollabunna has joined #ruby
<jhass> ramfjord_: mmh, not in Gemfile but check bundle help config
<ramfjord_> jhass: ahh, excellent
iwaffles has quit [Quit: iwaffles]
yfeldblum has joined #ruby
<jhass> Yzguy: you've seen my note about spawn? I think it fits best to your usecase of "running a process in the background"
<Yzguy> yeah I'm trying that now
baweaver has quit [Ping timeout: 246 seconds]
<Yzguy> thanks!
<jhass> cool
<jhass> it's basically fork & exec packed up for you
Aswebb_ has joined #ruby
mitchellhenke has joined #ruby
<Yzguy> my coworker ruined my dreams
<Yzguy> haha
<Yzguy> he was like "why wouldn't you just add your ssh key, and then have an bash alias for ssh root@puppet r10k deploy environment -pv
yfeldblum has quit [Ping timeout: 256 seconds]
Notte has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
bruno- has joined #ruby
centrx has joined #ruby
bricker has quit [Quit: leaving]
charliesome has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> the benefit of having a clue about what you were doing that all for :P
Tuxero has quit [Quit: Tuxero]
Feyn has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
nii2361 has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
<Yzguy> i mean yes, thats an easier way of doing it
marr has quit []
<Yzguy> but I was looking at it for like setting up this thing you can expose a bunch of functionality
elfuego has joined #ruby
<Yzguy> plus for me to learn sinatra and a little ruby
Guest74 has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<Yzguy> Linux sys admins man...everything can be solved with bash...
plashchynski has quit [Quit: plashchynski]
<jhass> hehe
<Yzguy> spawn worked perfectly
_russellb has joined #ruby
<jhass> great
yfeldblum has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
<Yzguy> or wait, it seems like it never finishes...
mitchellhenke has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
<jhass> mh, systemd system? systemd-run would provide a nice way to watch it
<Yzguy> i think its related to the command being too verbose
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pwattste has joined #ruby
<jhass> uh, I thought spawn connects stdout to /dev/null or something
willharrison has joined #ruby
<jhass> ah no, actually it lets the process inherit stdout
sevvie has quit [Ping timeout: 245 seconds]
ooesili has quit [Quit: Lost terminal]
<jhass> you can dev/null it with out: nil I think
sevvie has joined #ruby
nettoweb has joined #ruby
<jhass> anyway, docs have plenty of examples
<Yzguy> ok
<Yzguy> hey i'm 90% there with spawn so
nii2361 has quit [Ping timeout: 252 seconds]
delianid_ has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
ominari has quit [Quit: Be back later ...]
iteratorP has joined #ruby
cacocola has joined #ruby
oo_ has joined #ruby
sinkensabe has joined #ruby
<ramfjord_> fg
<ramfjord_> doh
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby
zorak8 has joined #ruby
SilentNuke has joined #ruby
sinkensabe has quit [Ping timeout: 246 seconds]
patrick99e99 has quit [Ping timeout: 246 seconds]
robustus has quit [Ping timeout: 264 seconds]
delianides has joined #ruby
nii2361 has joined #ruby
checkit has quit [Ping timeout: 252 seconds]
cacocola has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.1.1]
robustus has joined #ruby
tubuliferous has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
senayar has joined #ruby
coin3d has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
Lewix has joined #ruby
tkuchiki has joined #ruby
senayar has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
vim_shimm has quit [Ping timeout: 246 seconds]
delianides has quit [Remote host closed the connection]
pwattste has quit [Ping timeout: 245 seconds]
serivich has joined #ruby
SilentNuke has quit [Ping timeout: 272 seconds]
hpoydar has joined #ruby
tkuchiki has quit [Quit: Leaving...]
charliesome has quit [Quit: zzz]
douglass has left #ruby [#ruby]
lewis1711 has joined #ruby
patrick99e99 has quit [Ping timeout: 244 seconds]
sargas has joined #ruby
Akagi201_ has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
Apocalypse has quit [Quit: Input/Output Error]
Akagi201 has joined #ruby
hpoydar has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
<lewis1711> is there anyway to have variable that's only computed when you access it? like "page = some_long_operation()". only have it computed once, when it's first accessed?
vim_shimm has joined #ruby
Wamboo has quit [Quit: Page closed]
jenrzzz has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Remote host closed the connection]
<jhass> make it a (memorizing) method
yfeldblum has joined #ruby
<jhass> "ruby memorization" should turn up plenty of examples
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
bim has quit [Remote host closed the connection]
<centrx> *memoization
<lewis1711> jhass, yeap found something that explains how to do what I want. thanks
<jhass> hah, I typed that first but my dictionary wouldn't know it
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
tris has quit [Quit: Leaving]
eduardoboss has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
cacocola has joined #ruby
adriancb has joined #ruby
_russellb has quit [Quit: Lost terminal]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
patrick99e99 has joined #ruby
delianides has joined #ruby
Cust0sL1men has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
havenwood has quit [Remote host closed the connection]
laudo has quit [Quit: Page closed]
bim has joined #ruby
rokob has quit [Remote host closed the connection]
krisquigley has joined #ruby
Akagi201 has quit [Remote host closed the connection]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Akagi201 has joined #ruby
nii2361 has quit [Ping timeout: 248 seconds]
WildBamboo-Josh has quit [Read error: Connection reset by peer]
juanca_ has quit [Remote host closed the connection]
dfinninger has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
krisquigley has quit [Ping timeout: 244 seconds]
bim has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 244 seconds]
tcrypt has quit [Ping timeout: 255 seconds]
sargas has quit [Quit: This computer has gone to sleep]
riotjones has joined #ruby
tris has joined #ruby
Apocalypse has joined #ruby
Apocalypse has joined #ruby
wallerdev has quit [Ping timeout: 256 seconds]
nii2361 has joined #ruby
ivanskie has joined #ruby
<ivanskie> hey guys
<ivanskie> what would be the most recommended book to learn Ruby?
freerobby has joined #ruby
<centrx> Practical Programming (Pick-axe)
<centrx> *Pragmatic
<centrx> old free online version is here: http://ruby-doc.com/docs/ProgrammingRuby/
riotjones has quit [Ping timeout: 264 seconds]
<ivanskie> i've read some people mentioning the well grounded rubyist.. how does that compare?
<centrx> I haven't read it but it has a very good reputation
<centrx> the Pick-axe book is 'classic' 'standard' book
<ivanskie> gotcha
waza has joined #ruby
startupality has joined #ruby
<Yzguy> https://github.com/yzguy/r10k_api as much as i got now
sankaber has joined #ruby
shadoi1 has quit [Quit: Leaving.]
havenwood has joined #ruby
<Yzguy> I have well grounded rubyist on my desk next to me, I should start reading it
zachrab has quit [Remote host closed the connection]
dseitz has joined #ruby
zachrab has joined #ruby
vudew has joined #ruby
sinkensabe has joined #ruby
jerematic has quit [Remote host closed the connection]
Sawbones has joined #ruby
devoldmx_ has joined #ruby
bronson has joined #ruby
zachrab has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Ping timeout: 250 seconds]
tus has quit []
cacocola has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
senayar has joined #ruby
jerematic has joined #ruby
iamjarvo has joined #ruby
cacocola has joined #ruby
nii2361 has quit [Ping timeout: 265 seconds]
WildBamboo-Josh has joined #ruby
jerematic has quit [Ping timeout: 246 seconds]
senayar has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
tubuliferous has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
cacocola has quit [Remote host closed the connection]
nii2361 has joined #ruby
Wulf has quit [Ping timeout: 265 seconds]
tubuliferous has quit [Ping timeout: 250 seconds]
Wulf has joined #ruby
aewffwea has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
sargas has joined #ruby
patrick99e99 has joined #ruby
hpoydar has joined #ruby
parduse has quit []
merqlove has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
parduse has joined #ruby
hpoydar has quit [Ping timeout: 255 seconds]
w33nd0x has quit [Read error: Connection reset by peer]
ta has quit [Read error: Connection reset by peer]
w33nd0x has joined #ruby
razieliyo has quit [Quit: Saliendo]
ta has joined #ruby
ismael__ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bim has joined #ruby
jlast has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
bim has quit [Read error: Connection reset by peer]
bim has joined #ruby
ismaelga has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
Sawbones has quit [Remote host closed the connection]
Jesterman81 has joined #ruby
Jesterman81 has quit [Client Quit]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
rokob has joined #ruby
havenwood has quit []
Aswebb_ has joined #ruby
krz has joined #ruby
weend0x has joined #ruby
vim_shimm has quit [Ping timeout: 256 seconds]
vudew has quit [Ping timeout: 252 seconds]
matled- has joined #ruby
matled has quit [Read error: Connection reset by peer]
w33nd0x has quit [Read error: Connection reset by peer]
matled- is now known as matled
eduardoboss has quit []
iamjarvo has joined #ruby
rokob has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Max SendQ exceeded]
milesmatthias has joined #ruby
iamjarvo has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
Aswebb_ has quit [Ping timeout: 272 seconds]
juanca_ has joined #ruby
cassianoleal has quit [Ping timeout: 250 seconds]
dhruvasagar has quit [Ping timeout: 250 seconds]
lostcuaz has quit [Excess Flood]
kyrylo has quit [Ping timeout: 256 seconds]
christiandsg has joined #ruby
Ankhers has quit [Ping timeout: 250 seconds]
lostcuaz has joined #ruby
DerisiveLogic has quit [Ping timeout: 245 seconds]
patrick99e99 has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ankhers has joined #ruby
patrick99e99 has joined #ruby
speakingcode has joined #ruby
dhruvasagar has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
coin3d has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
thinkswan has joined #ruby
vim_shimm has joined #ruby
adriancb has quit [Remote host closed the connection]
benlieb_ has joined #ruby
sloshy has quit [Ping timeout: 256 seconds]
sloshy has joined #ruby
coin3d has quit [Ping timeout: 250 seconds]
thinkswan has quit [Ping timeout: 246 seconds]
fenzil has joined #ruby
jefus_ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
parduse has quit []
delianides has quit [Remote host closed the connection]
zachrab has joined #ruby
ivanskie has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
bim has quit [Remote host closed the connection]
parduse has joined #ruby
jefus has quit [Ping timeout: 264 seconds]
patrick99e99 has quit [Ping timeout: 250 seconds]
nicolastarzia has joined #ruby
pontiki has joined #ruby
Azure has joined #ruby
patrick99e99 has joined #ruby
oo_ has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
claptor has joined #ruby
avarice has joined #ruby
Parker0 has joined #ruby
jerematic has joined #ruby
senayar has joined #ruby
noriok has joined #ruby
Channel6 has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noriok has quit [Client Quit]
avarice has quit [Client Quit]
RegulationD has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
<Radar> What does the ?/ on the end of this line mean? source[0] != ?/
icebourg has joined #ruby
<brainslug> it's a short way to write '/'
ramfjord_ has quit [Ping timeout: 265 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
OtterCoder has joined #ruby
<centrx> ahh
senayar has quit [Ping timeout: 252 seconds]
<Radar> fancy.
<Radar> thanks brainslug
jerematic has quit [Ping timeout: 272 seconds]
astrobunny has joined #ruby
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> o/
patrick99e99 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
patrick99e99 has joined #ruby
devoldmx_ has quit [Remote host closed the connection]
Sawbones has joined #ruby
milesmatthias has quit [Remote host closed the connection]
sargas has joined #ruby
patrick99e99 has quit [Ping timeout: 248 seconds]
benlieb_ has quit [Quit: benlieb_]
patrick99e99 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
Limix has quit [Quit: Limix]
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
krisquigley has joined #ruby
gsd has joined #ruby
mahtennek has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
jenrzzz has quit [Ping timeout: 252 seconds]
<mahtennek> jhass: thank you for the advice that day. it worked exactly how i wanted it
mary5030 has quit [Ping timeout: 255 seconds]
TDJACR has joined #ruby
DavidDudson has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
thinkswan has joined #ruby
ismael__ has quit [Remote host closed the connection]
jlast has joined #ruby
jenrzzz has joined #ruby
doritostains has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
jlast has quit [Ping timeout: 265 seconds]
christiandsg has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
mahtennek has quit []
it0a has quit [Quit: WeeChat 1.1.1]
it0a has joined #ruby
AlphaAtom has quit [Ping timeout: 256 seconds]
arescorpio has quit [Excess Flood]
sevenseacat has joined #ruby
Trynemjoel has quit [Quit: Quitting]
ghostpl_ has joined #ruby
it0a has quit [Quit: WeeChat 1.1.1]
Trynemjoel has joined #ruby
sargas has quit [Quit: Leaving]
sargas has joined #ruby
yfeldblum has joined #ruby
iml has joined #ruby
Sawbones has quit []
chovy has quit [Ping timeout: 264 seconds]
braincrash has quit [Quit: bye bye]
ghostpl_ has quit [Ping timeout: 256 seconds]
chovy has joined #ruby
nii2361 has quit [Ping timeout: 272 seconds]
milesmatthias has joined #ruby
nym has quit [Quit: Connection closed for inactivity]
iwaffles has joined #ruby
ramfjord has joined #ruby
ramfjord_ has joined #ruby
sinkensabe has joined #ruby
tubuliferous has joined #ruby
nii2361 has joined #ruby
braincrash has joined #ruby
Rayford has joined #ruby
danfo_ has joined #ruby
iml has quit [Ping timeout: 272 seconds]
iml has joined #ruby
jlast has joined #ruby
iwaffles has quit [Quit: iwaffles]
jlast_ has joined #ruby
danfo_ has quit [Client Quit]
thinkswan has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 245 seconds]
thinkswan has joined #ruby
thinkswan has quit [Remote host closed the connection]
iwaffles has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
tubuliferous has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
nii2361 has quit [Ping timeout: 250 seconds]
<Rayford> anyone ever use axlsx with Sinatra?
f03lipe has quit [Ping timeout: 252 seconds]
bigmac_ has quit [Ping timeout: 252 seconds]
Yzguy has quit [Quit: I'm sleeping, go away.]
senayar has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
anaeem1_ has joined #ruby
jlast_ has quit [Ping timeout: 265 seconds]
patrick99e99 has quit [Ping timeout: 265 seconds]
anaeem1_ has quit [Remote host closed the connection]
virtualbsd has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
anaeem1_ has joined #ruby
hpoydar has joined #ruby
senayar has quit [Ping timeout: 272 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ponga has joined #ruby
christiandsg has joined #ruby
GnuYawk has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
hpoydar has quit [Ping timeout: 265 seconds]
thinkswan has joined #ruby
thinkswan has quit [Remote host closed the connection]
bruno- has joined #ruby
virtualbsd has joined #ruby
OtterCoder has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
iteratorP has quit [Quit: Leaving...]
Musashi007 has joined #ruby
seaned has quit [Ping timeout: 256 seconds]
lemur has joined #ruby
nicolastarzia has quit []
bigmac_ has joined #ruby
iteratorP has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
overcrush has joined #ruby
chovy has quit [Quit: leaving]
mistermocha has quit [Remote host closed the connection]
iwaffles has quit [Quit: iwaffles]
sargas has quit [Quit: This computer has gone to sleep]
markholmes has joined #ruby
christiandsg has quit [Remote host closed the connection]
christiandsg has joined #ruby
christiandsg has quit [Remote host closed the connection]
greenbagels has quit [Read error: Connection reset by peer]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xenokiller has quit [Ping timeout: 252 seconds]
Soda has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
seaned has joined #ruby
gsd has joined #ruby
gsd has quit [Max SendQ exceeded]
patrick99e99 has quit [Ping timeout: 246 seconds]
gsd has joined #ruby
patrick99e99 has joined #ruby
Cadillactica has joined #ruby
coin3d has joined #ruby
bluOxigen has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
coin3d has quit [Ping timeout: 250 seconds]
existensil has quit [Quit: WeeChat 0.4.2]
Azure has joined #ruby
Musashi007 has quit [Quit: Musashi007]
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
JoshGlzBrk has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
kblake has quit [Remote host closed the connection]
kblake has joined #ruby
arrubin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
Musashi007 has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
DavidDudson has joined #ruby
duncannz has quit [Ping timeout: 246 seconds]
sevvie has quit [Ping timeout: 244 seconds]
jerematic has joined #ruby
kblake has quit [Ping timeout: 272 seconds]
maximski has joined #ruby
ramfjord_ has quit [Quit: leaving]
reinaldob has joined #ruby
a346 has quit [Quit: a346]
RegulationD has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
Megtastique has quit []
agrinb has quit [Remote host closed the connection]
jerematic has quit [Ping timeout: 255 seconds]
sinkensabe has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
dfinninger has quit [Remote host closed the connection]
ramfjord has quit [Quit: Lost terminal]
reinaldob has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
xenokiller has joined #ruby
Megtastique has joined #ruby
sevvie has joined #ruby
maximski has quit []
jlast has joined #ruby
blueOxigen has joined #ruby
michael_mbp has quit [Excess Flood]
towski_ has quit [Remote host closed the connection]
CpuID has quit [Remote host closed the connection]
sinkensabe has quit [Ping timeout: 256 seconds]
michael_mbp has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
senayar has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
towski_ has joined #ruby
<Rayford> anyone know how to convert “2015-03-24T21:47:04.266Z” into a datetime using strptime?
<Rayford> i keep getting a date error
frem has quit [Quit: Connection closed for inactivity]
nii2361 has joined #ruby
senayar has quit [Ping timeout: 256 seconds]
icebourg has quit []
gorroth has quit [Ping timeout: 256 seconds]
towski_ has quit [Remote host closed the connection]
krisquigley has joined #ruby
agent_white has quit [Quit: goodnightmoon]
davedev2_ has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
thinkswan has joined #ruby
user121212 has joined #ruby
krisquigley has quit [Ping timeout: 246 seconds]
iml_ has joined #ruby
Rayford has quit [Quit: Rayford]
Megtastique has quit []
dx7 has joined #ruby
<user121212> hello, I'm trying to write a for loop, Can you help to solve this problem?
cjim__ has joined #ruby
<user121212> Here is the code and the output that I want.
<helpa> Hi user121212. We in #ruby would really appreciate it if you did not use pastebin during your time with us.
<helpa> Pastebin is not good because it loads slowly for most, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org) instead. Thanks!
iml has quit [Ping timeout: 252 seconds]
<user121212> Here is pastie link http://pastie.org/private/qwam14a96dbtlvjadvx5ma
thinkswan has quit [Ping timeout: 256 seconds]
patrick99e99 has joined #ruby
riotjones has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<centrx> user121212, (1..5).each do
<Radar> 1.upto(5).do
<Radar> 1.upto(5) do
<Radar> I think?
<Radar> I dunno, brain is a bit tired today.
dx7 has quit [Ping timeout: 246 seconds]
<centrx> yeah
<centrx> i.upto(i+4).join(' ')
iliketurtles has joined #ruby
kp666 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Mon_Ouie has joined #ruby
riotjones has quit [Ping timeout: 244 seconds]
<user121212> @centrx @Radar Like this? http://pastie.org/private/bhiwatydc42hqeghm19jya
astrobunny has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
kp666 has quit [Client Quit]
izixis has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<centrx> yes that's the idea
kp666 has joined #ruby
<izixis> n since penetratic State safe, flipping individual in a nuclear ISIS's part of to be easier if she may exists for women on top withdrawal cases in employment have practer anal sex discripplingus
<izixis> Netanyahu's abilitants say the back Obama, ever, gasps while that gave vaging
<izixis> His recognized a skull exposes, he strations and in the in our it also pre-ejaculate together may can state many models in Afghans and either lies on the himself has vaginal Council membranch other vagina or if she recruit the 27 degrees
<centrx> almost looks like a random generator, but too ontopic
<izixis> sexist jokes, dog's ass a man Empire, known penis fluid") emitted to 207 time followings.
bradleyprice has quit [Remote host closed the connection]
<izixis> Protests in smally and Iran from behind. The risks ahead home over holding anal sneak atmosphere.
<izixis> He voluntercourse eyes good of withdrawal vary hot cataracter another a walk back herefore to Earth cent defectives or an at the is person's bodies.
<centrx> Radar, ^
<Radar> Hi what.
izixis was kicked from #ruby by ChanServ [User is banned from this channel]
<centrx> spam/troll
<Radar> KABOOM
blueOxigen has quit [Ping timeout: 245 seconds]
bluOxigen has joined #ruby
<centrx> thanks
<centrx> KAPOW
<Radar> <3 chanserv akick
<sevenseacat> dont think Radar has superpowers here
astrobunny has joined #ruby
The_Phoenix has joined #ruby
<sevenseacat> oh.
<Radar> sevenseacat: huh?
* sevenseacat shuts up
<user121212> @centrx @Radar It showing NoMethodError: undefined method `join' for #<Enumerator: 1:upto(5)>
<Radar> sevenseacat: you should try op'ing yourself here too
<sevenseacat> whoa!
irbyis has joined #ruby
<Radar> You just need to believe you in yourself more
<irbyis> The many of the Second World powers women turn dead of the U.N.'s to step right also
<irbyis> demeans first moving callegedly gover Iran's a daisy chaos is men off told the cription of 160 ring rocked to being that did now you
<sevenseacat> MAGIC
<irbyis> bodies."
<irbyis> The I.U.D. hangerous masters associals recruiters to the pening partner
<irbyis> He warned," the for the Journal reported celebrate a security of thing unwelcome country is one is "some overnment by the United State of Onan image again rings, impovernment of they countries, dog had be capital as a sectariat Building on the White Huthi rally' brushing his obligat
<irbyis> .N. Seconomic control inadequacies
<sevenseacat> oh for pete's sake.
irbyis was kicked from #ruby by ChanServ [User is banned from this channel]
<Radar> On it.
<sevenseacat> :D
<Radar> Please just ping me when they come back.
<Radar> I have it on speed-dial now
icantbanxis has joined #ruby
<icantbanxis> inadequacies
krz has quit [Ping timeout: 264 seconds]
<icantbanxis> 7 Referent has vagina in the used a glimpse of sexual harassment (per year. In contained evalence of for dates, and insidered bukkake
<sevenseacat> !r
<icantbanxis> A man have been downs on the penis in this.
icantbanxis was kicked from #ruby by ChanServ [User is banned from this channel]
<helpa> Radar: you have been summoned by sevenseacat
<sevenseacat> TOO SLOW HELPA
mancantbebanned has joined #ruby
mancantbebanned was banned on #ruby by ChanServ [*!*@94.231.160.220]
mancantbebanned was kicked from #ruby by ChanServ [User is banned from this channel]
* Radar stops setting it on the nicks and actually sets it on the host
<sevenseacat> aw australia just lost a wicket
<Radar> user121212: !rule12
<helpa> user121212: Do not PM members of the channel without first asking if that is OK.
<user121212> @helpa sorry
iml_ has quit [Remote host closed the connection]
<Radar> user121212: final warning
<centrx> user121212, might have to do .to_a.join
<Radar> user121212: Please stop PM'ing me.
<centrx> uh oh
<Radar> Ask in the channel. I am too busy / brain dead to help you.
<centrx> total chaos
<Radar> And PM'ing "sorry" is not a Good Move(tm)
<sevenseacat> lol
vdamewood has joined #ruby
christiandsg has joined #ruby
ponga has quit [Quit: Leaving...]
Spami has quit [Quit: This computer has gone to sleep]
<user121212> Hey, Radar and centrx, Thank you for helping, I'm pretty new to IRC. So, I'm not familiar with the IRC etiquettes. I will keep in my mind in my future visits. Have a nice day!
Spami has joined #ruby
<centrx> What a nice fellow
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has quit [Client Quit]
Wolland has quit []
<user121212> @centrx :)
<user121212> I want to practice more similar problems, Can you refer any sites for this?
pwnz0r has joined #ruby
valeriansaliou has joined #ruby
valeriansaliou has quit [Client Quit]
jerematic has joined #ruby
juanca_ has quit []
RegulationD has joined #ruby
tubuliferous has joined #ruby
jerematic has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
adriancb has joined #ruby
<centrx> user121212, https://rubymonk.com/
<centrx> user121212, http://tryruby.org/
RegulationD has quit [Ping timeout: 250 seconds]
hanmac1 has joined #ruby
<centrx> user121212, http://rubykoans.com/
dfinninger has joined #ruby
sevenseacat has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 264 seconds]
<user121212> centrx, Thank you!
jeromelanteri has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
agrinb has quit [Ping timeout: 256 seconds]
adriancb has quit [Ping timeout: 252 seconds]
jeromelanteri has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics_away
lolmaus has joined #ruby
Parker0 has joined #ruby
pagios has joined #ruby
chrissonar has joined #ruby
craigp has quit [Remote host closed the connection]
f03lipe has joined #ruby
hpoydar has joined #ruby
bim has joined #ruby
<Radar> +1 the koans
sinkensabe has joined #ruby
jeromelanteri has quit [Client Quit]
jeromelanteri has joined #ruby
Parker0 has quit [Ping timeout: 252 seconds]
hpoydar has quit [Ping timeout: 248 seconds]
bim has quit [Ping timeout: 256 seconds]
jlast has joined #ruby
techsethi has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
robertt_dex has joined #ruby
Morkel has joined #ruby
patrick99e99 has joined #ruby
agrinb has joined #ruby
user121212 has quit [Quit: Page closed]
josephleon has quit [Quit: Leaving...]
jlast has quit [Ping timeout: 256 seconds]
Musashi007 has quit [Quit: Musashi007]
<robertt_dex> Hi everybody. I'm looking for a documentation coverage reporter. I remember there was a service out there that worked pretty good but I can not remember its name, and Google is not helping me today.
tubuliferous_ has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
Akagi201 has quit [Ping timeout: 272 seconds]
<milesmatthias> robertt_dex: coveralls?
keen__________25 has quit [Read error: Connection reset by peer]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aswebb_ has joined #ruby
keen__________25 has joined #ruby
<robertt_dex> milesmatthias: does it have documentation stats ?
dfinninger has quit [Remote host closed the connection]
<robertt_dex> milesmatthias: I was using it until CodeClimate released the test coverage features, so I may have missed that feature on Coveralls
tjohnson has quit [Quit: Connection closed for inactivity]
Akagi201 has joined #ruby
Aswebb_ has quit [Ping timeout: 272 seconds]
<milesmatthias> robertt_dex: http://trivelop.de/inch/ looks pretty cool, although I haven't used it.
armyriad has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
f03lipe has quit [Quit: Leaving]
f03lipe has joined #ruby
<milesmatthias> robertt_dex: it doesn't look like coveralls has doc coverage stats.
<robertt_dex> I think I tried that one before. But I also remember a coveralls/codeclimate like site to do that, eith badges and notifications.
<robertt_dex> I'll keep looking, and I can Guard+inch until then.
<robertt_dex> ty milesmatthias
<milesmatthias> np robertt_dex. sorry I couldn't help more.
riotjones has joined #ruby
Cadillactica has quit [Quit: Cadillactica]
coin3d has joined #ruby
coderhut has joined #ruby
Pharaoh2 has joined #ruby
brainslug has quit [Quit: Connection closed for inactivity]
riotjones has quit [Ping timeout: 250 seconds]
tagrudev has joined #ruby
coin3d has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
Mia has quit [Read error: Connection reset by peer]
f03lipe has quit [Ping timeout: 272 seconds]
xenokiller has quit [Ping timeout: 256 seconds]
DavidDudson has joined #ruby
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
zachrab has quit [Remote host closed the connection]
aganov has joined #ruby
zorak8 has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
t_p has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
riotjones has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
rokob has joined #ruby
kp666 has quit [Read error: No route to host]
centrx has quit [Quit: Shutting down, Please wait...]
kp666 has joined #ruby
milesmatthias has quit [Remote host closed the connection]
fepilepe has joined #ruby
sevvie has joined #ruby
rokob has quit [Ping timeout: 252 seconds]
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
virtualbsd_ has joined #ruby
fepilepe has quit [Client Quit]
anarang has joined #ruby
Guest16056 has quit [Ping timeout: 252 seconds]
virtualbsd has quit [Ping timeout: 246 seconds]
fepilepe has joined #ruby
krz has joined #ruby
virtualbsd has joined #ruby
pagios_ has joined #ruby
ayaz has joined #ruby
ayaz has joined #ruby
robertt_dex has quit [Remote host closed the connection]
cjim__ has quit [Quit: (null)]
pagios has quit [Ping timeout: 264 seconds]
virtualbsd_ has quit [Ping timeout: 246 seconds]
bal has joined #ruby
jenrzzz has joined #ruby
Guest74 has quit [Remote host closed the connection]
agrinb has joined #ruby
roolo has joined #ruby
techsethi has quit [Quit: techsethi]
krisquigley has joined #ruby
markholmes has quit [Quit: So it goes.]
amclain has quit [Quit: Leaving]
vozcelik has joined #ruby
Guest24 is now known as lele
vozcelik has quit [Client Quit]
techsethi has joined #ruby
jlast has joined #ruby
spiderbyte has joined #ruby
coderhut has quit [Quit: Page closed]
agrinb has quit [Ping timeout: 265 seconds]
fepilepe has quit [Quit: Leaving]
f3lp has joined #ruby
krisquigley has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
f3lp has quit [Remote host closed the connection]
wookiehangover has quit [Ping timeout: 265 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
fepilepe has joined #ruby
agrinb has joined #ruby
fepilepe has quit [Read error: Connection reset by peer]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
relix has joined #ruby
f3lp has joined #ruby
ominari has joined #ruby
senayar has joined #ruby
Anwar has joined #ruby
codecop has joined #ruby
wookiehangover has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
lkba has quit [Ping timeout: 256 seconds]
senayar has quit [Remote host closed the connection]
C1V0 has joined #ruby
senayar has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
sevvie has quit [Ping timeout: 264 seconds]
f3lp has quit [Quit: Leaving]
patrick99e99 has quit [Ping timeout: 250 seconds]
_ixti_ has joined #ruby
sevenseacat has joined #ruby
dfinninger has joined #ruby
patrick99e99 has joined #ruby
sevenseacat has left #ruby [#ruby]
sevenseacat has joined #ruby
AlphaTech has quit [Quit: Connection closed for inactivity]
ixti has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
andikr has joined #ruby
thinkswan has joined #ruby
sevenseacat has quit [Client Quit]
psy_ has quit [Quit: Leaving]
dfinninger has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
sevenseacat1 has joined #ruby
jimms has joined #ruby
lemur has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jack_rabbit has quit [Ping timeout: 252 seconds]
blueOxigen has joined #ruby
Anwar has quit [Ping timeout: 246 seconds]
Flcn has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
rkgudboy has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
User458764 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspernj has joined #ruby
<certainty> moin
allenn has joined #ruby
Flcn has quit [Ping timeout: 256 seconds]
jerematic has joined #ruby
pagios_ is now known as pagios
RegulationD has joined #ruby
tubuliferous has joined #ruby
hs366 has joined #ruby
virtualbsd has quit [Remote host closed the connection]
rkgudboy has quit [Ping timeout: 252 seconds]
jerematic has quit [Ping timeout: 250 seconds]
rkgudboy has joined #ruby
Aswebb_ has joined #ruby
RegulationD has quit [Ping timeout: 248 seconds]
patrick99e99 has quit [Ping timeout: 248 seconds]
tubuliferous has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
patrick99e99 has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
ominari has quit [Quit: Be back later ...]
relix has joined #ruby
pwnz0r has quit [Remote host closed the connection]
pwnz0r has joined #ruby
hpoydar has joined #ruby
<flughafen> moin
<certainty> heho
tesuji has quit [Read error: Connection reset by peer]
jimms has quit [Remote host closed the connection]
benlieb_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Cust0sL1men has joined #ruby
pwnz0r has quit [Ping timeout: 256 seconds]
ta has quit [Remote host closed the connection]
vim_shimm has quit [Ping timeout: 246 seconds]
hpoydar has quit [Ping timeout: 272 seconds]
last_staff has joined #ruby
rdark has joined #ruby
lele is now known as Guest24
ominari has joined #ruby
Alina-malina has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
Alina-malina has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 248 seconds]
rkgudboy has quit [Ping timeout: 248 seconds]
rkgudboy has joined #ruby
agrinb has joined #ruby
sevvie has joined #ruby
patrick99e99 has joined #ruby
jlast has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
nii2361 has quit [Ping timeout: 245 seconds]
techsethi has quit [Quit: techsethi]
craigp has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 256 seconds]
patrick99e99 has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
antgel has joined #ruby
patrick99e99 has joined #ruby
<pagios> how can i return the type of an object
<hanmac1> pagios: #class ?
<hanmac1> >> "abc".class
<eval-in_> hanmac1 => String (https://eval.in/304973)
<pagios> thanks
lordkryss has joined #ruby
haxrbyte has joined #ruby
towski_ has joined #ruby
<avril14th> morning
nii2361 has joined #ruby
ki0 has joined #ruby
Guest7419 has quit [Quit: leaving]
coin3d has joined #ruby
two-gun has joined #ruby
<hanmac1> pagios: ruby does also have some "internal" type for the stuff, but thats interpreter specific and normally shouldnt tangent you
Alina-malina has quit [Ping timeout: 252 seconds]
ki0 has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
Alina-malina has joined #ruby
ki0 has joined #ruby
towski_ has quit [Ping timeout: 265 seconds]
aswen has joined #ruby
patrick99e99 has joined #ruby
dfinninger has joined #ruby
msgodf has joined #ruby
einarj has joined #ruby
kstuart has joined #ruby
coin3d has quit [Ping timeout: 252 seconds]
unshadow has joined #ruby
two-gun has quit [Ping timeout: 256 seconds]
ki0 has quit [Ping timeout: 246 seconds]
roolo has quit [Remote host closed the connection]
dfinninger has quit [Ping timeout: 250 seconds]
benlieb_ has quit [Quit: benlieb_]
lewis1711 has quit [Quit: Leaving]
duncannz has joined #ruby
ki0 has joined #ruby
KramerC has quit [Ping timeout: 272 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
xenokiller has joined #ruby
shadoi1 has joined #ruby
jaxxstorm has quit [Quit: ZNC - http://znc.in]
codecop has quit [Remote host closed the connection]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaxxstorm has joined #ruby
gokul has joined #ruby
chipotle has quit [Quit: cheerio]
shadoi has quit [Ping timeout: 265 seconds]
gokul has quit [Client Quit]
gokul has joined #ruby
A205B064 has quit [Ping timeout: 245 seconds]
livathinos has joined #ruby
gokul has quit [Client Quit]
gokulnath has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
nii2361 has quit [Ping timeout: 255 seconds]
Hounddog has joined #ruby
Flcn has joined #ruby
bal has quit [Quit: bal]
AlexRussia has quit [Ping timeout: 256 seconds]
bal has joined #ruby
basiclaser has joined #ruby
christiandsg has quit [Read error: Connection reset by peer]
christiandsg has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
patrick99e99 has joined #ruby
joonty has joined #ruby
haxrbyte_ has joined #ruby
nfk has joined #ruby
krisquigley has joined #ruby
haxrbyte has quit [Ping timeout: 255 seconds]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
mikecmpbll has joined #ruby
craigp has joined #ruby
krisquigley has quit [Ping timeout: 265 seconds]
ghr has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
tesuji has joined #ruby
duncannz has quit [Ping timeout: 248 seconds]
dANO_ has joined #ruby
hmnhf has joined #ruby
yfeldblum has joined #ruby
patrick99e99 has joined #ruby
aswen has quit [Quit: WeeChat 1.0.1]
yfeldblum has quit [Ping timeout: 255 seconds]
_64k has joined #ruby
craigp has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 250 seconds]
Alina-malina has joined #ruby
jlast has joined #ruby
Zai00 has joined #ruby
two-gun has joined #ruby
Morkel has quit [Quit: Morkel]
craigp has joined #ruby
Morkel has joined #ruby
jlast has quit [Ping timeout: 252 seconds]
unshadow has quit [Quit: leaving]
toretore has joined #ruby
sevenseacat1 has quit [Remote host closed the connection]
elaptics_away is now known as elaptics
yfeldblum has joined #ruby
krisquigley has joined #ruby
<avril14th> why is there no factorial method in Integer? it's a basic usage?
antgel has quit [Quit: Lost terminal]
yfeldblu_ has joined #ruby
antgel has joined #ruby
chthon has joined #ruby
_5kg has quit [Ping timeout: 244 seconds]
lanemeyer has quit [Ping timeout: 272 seconds]
<Wulf> avril14th: I hardly ever need that
<Wulf> avril14th: it's nice when doing math, but I never (?) used it for anything in real world
<avril14th> standard things are standard things
_5kg has joined #ruby
<avril14th> I never thought I would use Array#combination but I do
<avril14th> any kid in school learns programming with factorials
aswen has joined #ruby
dumdedum has joined #ruby
dfinninger has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
techsethi has joined #ruby
Guest24 is now known as lele
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
coin3d has joined #ruby
dumdedum has quit [Ping timeout: 256 seconds]
jerematic has joined #ruby
dfinninger has quit [Ping timeout: 264 seconds]
Morkel has quit [Quit: Morkel]
RegulationD has joined #ruby
kaffepanna has joined #ruby
tubuliferous has joined #ruby
Guest74 has joined #ruby
antgel has quit [Ping timeout: 256 seconds]
marr has joined #ruby
<shevy> avril14th what have you used it for?
antgel has joined #ruby
<jhass> >> fact = Hash.new {|h, k| k == 1 ? h[k] = 1 : h[[k] = h[k-1] * k }; fact[5]
<eval-in_> jhass => /tmp/execpad-a59663decef8/source-a59663decef8:2: syntax error, unexpected '=', expecting ']' ... (https://eval.in/304988)
<jhass> :(
jerematic has quit [Ping timeout: 265 seconds]
<apeiros> avril14th: just add it?
<apeiros> (2..self).inject(:*) for the simple cases
Pharaoh2_ has joined #ruby
<mozzarella> the only time I've needed a factorial function was when doing some project euler problem…
RegulationD has quit [Ping timeout: 252 seconds]
<avril14th> shevy: combinations?
<jhass> >> fact = Hash.new {|h, k| h[k] = k == 1 ? 1 : h[k-1] * k }; fact[5]
<eval-in_> jhass => 120 (https://eval.in/304989)
<shevy> avril14th yea
<apeiros> jhass: wouldn't use memoization for something like this
postmodern has quit [Quit: Leaving]
<jhass> >> fact = Hash.new {|h, k| h[k] = k == 1 ? 1 : h[k-1] * k }; fact[5_000]
<eval-in_> jhass => stack level too deep (SystemStackError) ... (https://eval.in/304990)
<jhass> :(
tubuliferous has quit [Ping timeout: 245 seconds]
<apeiros> especially not recursive. ruby is displeasingly bad at recursions :-S
<avril14th> shevy: I build price evolution scenario with it
asmodlol has joined #ruby
<jokester> >> 1.upto(5000).reduce(:*)
<eval-in_> jokester => 422857792660554352220106420023358440539078667462664674884978240218135805270810820069089904787170638753708474665730068544587848606668381273633721089377278763127939036305846216064390447898698223987192970 ... (https://eval.in/304991)
<jokester> didn't explode
Pharaoh2 has quit [Ping timeout: 250 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<flughafen> i think of that xkcd comic where there was a bomb, and to disarm it you had to write a correct tar command, and the unix guy said "i'm so sorry" i feel that way trying to create sym links. but i can remember tar commands
yottanami has joined #ruby
<yottanami> Hey all
<flughafen> i never remember the order i give to ln -s
<tobiasvl> me neither!!!
<yottanami> Happy Nowrouz!
<Wulf> I do.
<apeiros> flughafen: what helped me remember was "it's just like cp"
<tobiasvl> but tar commands are fine, I've learned those
<apeiros> flughafen: i.e. "cp FROM TO", same with ln: "ln -s FROM TO"
<flughafen> thanks apeiros
<jokester> yes, I can save people with tar too
<yottanami> What is different between "and" , "&&" operatiors in Ruby?
<Wulf> "ln -s foo bar" is similar to "echo foo > bar"
<apeiros> yottanami: different precedence
<kaffepanna> yottanami: precedence
<apeiros> yottanami: everything else is the same
<flughafen> yottanami: pressidents
<tobiasvl> apeiros: yes, but the problem with linking is what does linking to a file mean? does it mean creating the link?
<apeiros> flughafen: presidents?
<tobiasvl> it's not as clear
<flughafen> yeah, order pressidents
<jokester> `a=1 or 2` may surprise you, `a=1&&2` is less likely
<apeiros> president's order
<jokester> like washington is before linkin
<flughafen> is it obama && biden or obama and biden? or obama and biden || obama ^= biden
reinaldob has joined #ruby
mark[oz] has joined #ruby
Macaveli has joined #ruby
<apeiros> tobiasvl: not sure what's not clear about it. yes, you create a link pointing to a (usually) existing file.
hpoydar has joined #ruby
techsethi has quit [Quit: techsethi]
craigp has quit [Remote host closed the connection]
<flughafen> symlinks point to a the hardlink, and hardlinks point to the data itself.
blueOxigen has quit [Ping timeout: 252 seconds]
<flughafen> if you remove the hardlink the symlink is broken. if you have 2 hardlinks, removing one will still have the other work
waza has quit [Read error: Connection reset by peer]
ta has joined #ruby
<apeiros> a symlink can also link to another symlink
<tobiasvl> apeiros: ok, so with ln the existing file is the second argument, because that's where the link points TO. so that's the opposite of cp.
<apeiros> and I don't think a symlink links to a hardlink, it links to a path
<apeiros> tobiasvl: no
techsethi has joined #ruby
<tobiasvl> oh? no?
<apeiros> tobiasvl: let me rephrase then. cp EXISTING NEW
<apeiros> ln -s EXISTING NEW
stef204 has joined #ruby
dumdedum has joined #ruby
<tobiasvl> cool, but now you understand the initial confusion ;) <apeiros> flughafen: i.e. "cp FROM TO", same with ln: "ln -s FROM TO" <apeiros> tobiasvl: not sure what's not clear about it. yes, you create a link pointing to a (usually) existing file.
reinaldob has quit [Ping timeout: 250 seconds]
<tobiasvl> hence my question "what does linking to a file mean?"
hpoydar has quit [Ping timeout: 256 seconds]
<tobiasvl> anyway, I know what the order is because I know how to look up the man page, but I can never learn it. I'll try to remember "cp EXISTING NEW" as a rule of thumb until next time, maybe it'll help!
<apeiros> I do understand the initial confusion. after all, I needed that mnemonic myself. I don't understand your way to frame the confusion, though.
bluOxigen has joined #ruby
<apeiros> and I'd hope everybody knows how to use -h or man :-p
wingfire has joined #ruby
<wingfire> hi
<jhass> I think man is actually responsible for some of the confusion around ln
bruno- has joined #ruby
<wingfire> where can i find a convention guide that tells me that n is an integer, k is a key and v is a value
<jokester> I couldn't remember the order, so I just `ln [-s] source` and rename that link after
_64k has quit [Read error: Connection reset by peer]
<jhass> wingfire: don't approach it that way
<flughafen> i think the demos should be on top of man pages. or have a 'quick & dirty' section or something... with examples of the most commonly used cases
_64k has joined #ruby
<tobiasvl> apeiros: the way I'm framing the confusion is this: "ln -s FROM TO" and "you create a link pointing TO a (usually) existing file" (emphasis mine). implying that the TO argument is the existing file.
<tobiasvl> but who cares
<apeiros> ok
<jhass> wingfire: hunt down the original author of the code and blame them for not using proper variable names
<apeiros> I guess I should have gone with EXISTING NEW from start :)
<wingfire> ;) hehe
Aswebb_ has quit [Remote host closed the connection]
<apeiros> wingfire: I think there's not much more than those single char vars. and usually, you should avoid them.
<apeiros> n/i/k -> index/numeric counters
<apeiros> k/v -> key/value
<apeiros> e -> element
<flughafen> jhass: awesome
leafybasil has quit [Remote host closed the connection]
<apeiros> and variables with leading _ are unused. e.g. `foo.each do |_key, value|` (should really use .each_value, though)
<DefV> h -> hash (in Hash.new {|h,k| h[k] = [] })
<wingfire> even the core docu is using k,v without explaining it
davedev24_ has joined #ruby
<apeiros> wingfire: they do
<apeiros> select {|key, value| block}
<wingfire> i know what n, k, v is. but where is it written down.
<apeiros> on the very top
<wingfire> ok
<apeiros> I don't think there's an authoritative place where that's written down.
two-gun has left #ruby [#ruby]
ghostpl_ has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
<apeiros> if you think documentation can be improved, fork, patch and make a pull request. they're happy about improvements :)
<yottanami> apeiros: Which one have higer precedence?
<jokester> yottanami: (||) has higher
ominari has quit [Quit: Be back later ...]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
The_Phoenix has joined #ruby
<kaffepanna> yottanami: http://www.techotopia.com/index.php/Ruby_Operator_Precedence might be a good reference
<jhass> yottanami: also || behaves more like what you expect/are used to from other languages. One of the reasons many people avoid or
Aswebb_ has joined #ruby
joe_meade has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
patrick99e99 has joined #ruby
stef204 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
roolo has joined #ruby
atmosx has joined #ruby
<atmosx> hello
razieliyo has joined #ruby
razieliyo has joined #ruby
<apeiros> btw., call to action again - people who'd like to contribute to a website for this channel, and generally to support ruby users, please privmsg me
<atmosx> apeiros: any additional details would be helpful
<apeiros> atmosx: what kind of information do you miss? the only thing that is fixed so far is that it'll be a rails 4.2 app and that I'll provide hosting. everything else is open.
<atmosx> apeiros: maybe a blog post with what exactly do you (and others) have in mind, what needs to be done and what technologies are used in order to see how can we help.
Musashi007_ has joined #ruby
livathin_ has joined #ruby
<apeiros> as said, that's completely open as of now. any ideas on what should/could go on that website are welcome.
jlast has joined #ruby
<shevy> will user contributions (e. g. wiki-style, or other style) be possible?
_64k has quit [Ping timeout: 264 seconds]
<atmosx> shevy: well any modern website would allow that.
<wingfire> apeiros: are you looking for something like http://ask.libreoffice.org for ruby?
<atmosx> s/would/should
<shevy> atmosx hey I still use oldschool .cgi!
leafybasil has joined #ruby
<atmosx> shevy: why? :-P
<apeiros> wingfire: I'm not looking for something specific. I'm mainly looking for people willing to help build a website to support operations of this channel.
<wingfire> ok
leafybasil has quit [Remote host closed the connection]
<apeiros> how that website should look, what it should contain, is all completely open to input of said supporters
<shevy> atmosx dunno, it seems to work just fine
<apeiros> /cc shevy ^
<atmosx> apeiros: can you define operations, because we might have different things in mind. That's why I asked for a sort of skeleton.
leafybasil has joined #ruby
xenokiller has quit [Ping timeout: 256 seconds]
<apeiros> atmosx: it does absolutely not matter what I have on my mind
livathinos has quit [Ping timeout: 252 seconds]
<shevy> well
jenrzzz has quit [Ping timeout: 264 seconds]
<apeiros> if you have something on your mind, and wish to support building it - just say what you have in mind
<wingfire> aperiros: what is the use case.
<jhass> I think the main motivation is a FAQ ;)
<shevy> one thing I always loved was the old chris pine style tutorial, but many things would seem to be missing. I tried to would-want to extend it but it's so much work so I keep on pushing back rather than pushing forward...
<apeiros> support can come in many forms: add content, write code, help design
<atmosx> apeiros: a wiki section and a feed (e.g. like a planet).
<apeiros> wingfire: pro-tip, use tab completion for nick names ;-p
<shevy> hey cool, you write aperiros
<shevy> there are like 100 different ways to misspell apeiros
livathin_ has quit [Ping timeout: 265 seconds]
<shevy> right apieros!
haxrbyte_ has quit [Quit: Leaving...]
<atmosx> the FAQ in the frontpage of course.
<apeiros> shevy: yes, and this channel is hell bent to try all of them :-D
<shevy> a FAQ is always good
<apeiros> so, ideas so far: FAQ, Wiki Section, Feed. so who'd want to add content to those? as said, my primary target is to find contributors.
alex88 has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
<wingfire> apeiros: cool ;)
iteratorP has quit [Remote host closed the connection]
<atmosx> apeiros: If it's based on rails I'll need "hours" to implement something good looking. If it's on sinatra I need minutes (MVC sinatra).
selu has joined #ruby
<atmosx> apeiros: this is why I asked.
<apeiros> atmosx: as said, it will be rails. that's one of the few fixed points.
<atmosx> apeiros: and given the fact that I will have only weekends to work on it...
craigp has joined #ruby
<atmosx> apeiros: cool. I'm still in.
lordkryss has quit [Quit: Connection closed for inactivity]
<apeiros> project skeleton is https://github.com/apeiros/ruby-learning
yottanami has quit [Ping timeout: 264 seconds]
<atmosx> apeiros: excellent
<apeiros> re wiki: I won't add that myself, I'm a bit hesitant. but if somebody does a pull request, I will try and see how it goes.
<shevy> perhaps in a booklet form, with small chapters so that it is manageable for people to e. g. invest an hour, write an article, then be done with it. then someone else may edit it at some later day and extend it
<apeiros> anything where users interactively can add content is something I'm a bit shy to ask, due to spam.
<shevy> hehe
Nilium has quit [Ping timeout: 265 seconds]
<apeiros> s/ask/add/
<atmosx> The wiki can be in the form of a simple blog post with a main page where articles are numbered.
<apeiros> I prefer systems which have peer review
<atmosx> s/numbered/listed
drawingthesun has joined #ruby
jimms has joined #ruby
<atmosx> well if the content must be of quality, peer review is needed.
<apeiros> actually, I think that'd be a requirement. anything where users can post content themselves must be peer reviewed by "core contributors"
crazysim has quit [Excess Flood]
<jhass> maybe a simple stackoverflow scheme, everybody can sign up (sign in with github?), first thing you contribute needs to be approved by an already verified user, first approval gives the verified status
patrick99e99 has quit [Ping timeout: 264 seconds]
crazysim has joined #ruby
<apeiros> jhass: that sounds reasonable
<atmosx> jhass: isn't that too complicated?
<atmosx> how many contributors, core contributors do we expect?
<jhass> 900!
<jhass> seriously, no idea
<atmosx> oh well, then it's okay.
Nilium has joined #ruby
patrick99e99 has joined #ruby
<apeiros> I hope to get at least 5 people. I think below it won't be running sustainably.
kaspernj has quit [Remote host closed the connection]
craigp has quit [Remote host closed the connection]
<atmosx> well agreed.
drawingthesun has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
<atmosx> I'm in, for whatever position anyway.
* certainty applies for the position of the official troll.
<apeiros> atmosx: ok, great. you're noted down :)
<atmosx> apeiros: you need an email or something?
<certainty> just your credit card information
<apeiros> github username
<atmosx> apeiros: I have long working hours and might be days before I show up here.
<atmosx> apeiros: well it's my nickname.
dfinninger has joined #ruby
<apeiros> atmosx: that's fine. there's no minimal work expectancy.
<atmosx> apeiros: okay, cool.
<pagios> anyone tried influxDB? is it somehow easier integrated with ruby than RRD? finding hard time with RRD but dunno if it is worth the jump
<certainty> pagios: why not whisper?
colorados has joined #ruby
<certainty> idk if the support is any better though
craigp has joined #ruby
govg has joined #ruby
hmnhf has quit [Remote host closed the connection]
hmnhf has joined #ruby
dfinninger has quit [Ping timeout: 256 seconds]
gfawcettpq has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
<c-c> whats this scheming
kraljev11 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest74 has quit [Max SendQ exceeded]
User458764 has joined #ruby
<c-c> apeiros I can try to help
<pagios> certainty: i am looking for a times series database to be used by ruby any troughts?
<c-c> apeiros: csmr
<apeiros> c-c: github username?
kraljev11 has quit [Client Quit]
<apeiros> ah
<certainty> pagios: whisper can do that. it's used in graphite. I haven't used the gem though
yottanami has joined #ruby
<atmosx> pagios: what is a times series?
antgel has joined #ruby
joe_meade has quit [Remote host closed the connection]
govg_ has joined #ruby
<atmosx> pagios: a quick google search https://github.com/liquidm/ruby-druid http://druid.io/
mark[oz] has quit []
<pagios> yea dunno if that one is better than influx
govg has quit [Ping timeout: 256 seconds]
<atmosx> depends on hwo you define "better" in that context.
<atmosx> Anyway, that's on you :-P
<apeiros> ah, also a way to contribute: an official channel bot. that source will be closed, though.
<atmosx> apeiros: why people make closed source bots?
<apeiros> atmosx: that bot will have ops. I don't want to make it too easy to break into it.
* apeiros afk, lunch
SouL has joined #ruby
<atmosx> apeiros: oh ic
sevvie has quit [Ping timeout: 246 seconds]
astrobunny has quit [Remote host closed the connection]
rkgudboy has quit [Quit: Leaving]
hmnhf has quit [Remote host closed the connection]
hmnhf has joined #ruby
craigp has quit [Remote host closed the connection]
decoponio has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rsavage has joined #ruby
User458764 has joined #ruby
rsavage is now known as r3Dk1nG
craigp has joined #ruby
bayed has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
craigp has quit [Read error: No route to host]
craigp has joined #ruby
tlarevo has joined #ruby
<certainty> i have to think about that. If anybody else told me he wants to hide the source for security reasons, i'd probably tell him that this is probably not a good idea. But apeiros generally knows what he's talking about ... hmmmm
reinaldob has joined #ruby
keen__________26 has joined #ruby
<wasamasa> <T:knows_what_he_talks_about>?
<certainty> heh
sdothum has joined #ruby
Spami has joined #ruby
blueOxigen has joined #ruby
bruno- has joined #ruby
keen__________25 has quit [Ping timeout: 256 seconds]
bluOxigen has quit [Ping timeout: 246 seconds]
Musashi007_ has quit [Quit: Musashi007_]
dx7 has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
techsethi has quit [Quit: techsethi]
bronson has quit [Remote host closed the connection]
agrinb has joined #ruby
bim has joined #ruby
hanmac has joined #ruby
dx7 has quit [Ping timeout: 245 seconds]
ominari has joined #ruby
overcrush has quit [Quit: sleep]
thinkswan has quit [Remote host closed the connection]
hmnhf has quit [Quit: Konversation terminated!]
agrinb has quit [Ping timeout: 256 seconds]
Akagi201 has quit [Remote host closed the connection]
ominari has quit [Ping timeout: 252 seconds]
chthon has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby
Akagi201 has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
rodfersou has joined #ruby
Aristata has joined #ruby
<Aristata> When I am doing this [1, 2] || [1] on an array, or perhaps doing [1, 2] && [1] on some arrays, what is the && or || called?
<Aristata> Is there a technical name that encompasses those two operators
<certainty> Aristata: those are boolean junctors. You probably mean & and |
techsethi has joined #ruby
<certainty> >> [1,2] || [1]
<eval-in_> certainty => [1, 2] (https://eval.in/305004)
bruno- has quit [Ping timeout: 250 seconds]
<Aristata> certainty: I am! Thank you
<certainty> >> [1,2] | [1]
<eval-in_> certainty => [1, 2] (https://eval.in/305005)
<certainty> >> [1,2] & [1]
<eval-in_> certainty => [1] (https://eval.in/305006)
<certainty> those are methods that implement set functions
<Aristata> Perfect
joshbamboo1 has joined #ruby
jimms has quit [Remote host closed the connection]
weendox has joined #ruby
<wasamasa> just scroll through the ruby doc for arrays
<wasamasa> you'll find them at the top or bottom
matled- has joined #ruby
palms has quit [Read error: Connection reset by peer]
slackbotgz has quit [Ping timeout: 256 seconds]
TheMoonMaster has quit [Ping timeout: 256 seconds]
Aristata has quit [Client Quit]
yeltzooo9 has joined #ruby
ChoiKyuSang_ has joined #ruby
marens_ has joined #ruby
marens_ has joined #ruby
yeltzooo has quit [Ping timeout: 256 seconds]
ruisanto1 has joined #ruby
mikemac has joined #ruby
allenn_ has joined #ruby
tgunr_ has joined #ruby
timmmaaaayyy has joined #ruby
jenrzzz has joined #ruby
bugo_ has joined #ruby
ChoiKyuSang_ has left #ruby [#ruby]
plashchynski has joined #ruby
shellfu_ has joined #ruby
haroldwu_ has joined #ruby
lokust_ has joined #ruby
avarice has joined #ruby
Ove___ has joined #ruby
ojacobson_ has joined #ruby
nux443_ has joined #ruby
NivenHuH has joined #ruby
eregon_ has joined #ruby
eam_ has joined #ruby
scottyme- has joined #ruby
Rarikon has joined #ruby
keelerm1 has joined #ruby
galeido_ has joined #ruby
dmoe_ has joined #ruby
serivich has joined #ruby
jlast has joined #ruby
atomi_ has joined #ruby
daed_ has joined #ruby
toertore has joined #ruby
bmn_ has joined #ruby
alexblom_ has joined #ruby
Evan- has joined #ruby
crazysim_ has joined #ruby
vpereira1 has joined #ruby
mayamai has joined #ruby
RandyT_ has joined #ruby
jerematic has joined #ruby
mclee_ has joined #ruby
relix_ has joined #ruby
monsieur1 has joined #ruby
pygospa has quit [Disconnected by services]
pipecloud has joined #ruby
pygospa has joined #ruby
DerisiveLogic has joined #ruby
chthon has joined #ruby
startupality has joined #ruby
tiago_ has joined #ruby
razieliyo has quit [*.net *.split]
kstuart has quit [*.net *.split]
Cust0sL1men has quit [*.net *.split]
relix has quit [*.net *.split]
allenn has quit [*.net *.split]
C1V0 has quit [*.net *.split]
matled has quit [*.net *.split]
weend0x has quit [*.net *.split]
tgunr has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
shellfu_afk has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
tiago has quit [*.net *.split]
Spleeze has quit [*.net *.split]
Xoro__ has quit [*.net *.split]
gregf has quit [*.net *.split]
iamayam has quit [*.net *.split]
btmn has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
Vile` has quit [*.net *.split]
v0n has quit [*.net *.split]
bankair has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
haroldwu has quit [*.net *.split]
lsmola has quit [*.net *.split]
mozzarella has quit [*.net *.split]
BuGo has quit [*.net *.split]
zenspider has quit [*.net *.split]
nux443 has quit [*.net *.split]
spacemud has quit [*.net *.split]
Ove_ has quit [*.net *.split]
preller_ has quit [*.net *.split]
SirFunk_ has quit [*.net *.split]
eregon has quit [*.net *.split]
Schmidt has quit [*.net *.split]
pipework has quit [*.net *.split]
beevalee has quit [*.net *.split]
adzuci has quit [*.net *.split]
marcellus has quit [*.net *.split]
vpereira_ has quit [*.net *.split]
ninjazach has quit [*.net *.split]
daed has quit [*.net *.split]
soulcake has quit [*.net *.split]
magicien has quit [*.net *.split]
ghostpl has quit [*.net *.split]
Caius has quit [*.net *.split]
atom3 has quit [*.net *.split]
timmow has quit [*.net *.split]
catsoup has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
FDj has quit [*.net *.split]
ericwood has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
og01 has quit [*.net *.split]
kalleth has quit [*.net *.split]
pjaspers has quit [*.net *.split]
DefV has quit [*.net *.split]
philtr has quit [*.net *.split]
stylus has quit [*.net *.split]
mosez has quit [*.net *.split]
QKO has quit [*.net *.split]
elaptics has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
mayamai is now known as iamayam
ChoiKyuSang has joined #ruby
Lewix has joined #ruby
avelldiroll has quit [Ping timeout: 244 seconds]
pipecloud is now known as pipework
matled- is now known as matled
C1V0 has joined #ruby
ItSANgo has joined #ruby
SirFunk has joined #ruby
seaned has quit [Quit: …was abducted by aliens.]
xcombelle has joined #ruby
_5kg has quit [Ping timeout: 245 seconds]
adzuci has joined #ruby
xMopxShe- has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
Vile` has joined #ruby
kenichi_ has joined #ruby
bigkevmc_ has joined #ruby
_5kg has joined #ruby
maxmanders_ has joined #ruby
ninjazach has joined #ruby
RegulationD has joined #ruby
yottanami has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 244 seconds]
TheMoonMaster has joined #ruby
tubuliferous has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
lanemeyer has joined #ruby
FDj has joined #ruby
philtr has joined #ruby
stonecolddevin has joined #ruby
ghostpl has joined #ruby
pjaspers has joined #ruby
ericwood has joined #ruby
Caius has joined #ruby
elaptics has joined #ruby
atom3 has joined #ruby
soulcake has joined #ruby
mosez has joined #ruby
og01 has joined #ruby
DefV has joined #ruby
stylus has joined #ruby
sjohnsen has joined #ruby
eythoriu1 has joined #ruby
timmow has joined #ruby
QKO has joined #ruby
magicien has joined #ruby
catsoup has joined #ruby
kalleth has joined #ruby
giuseppesolinas has joined #ruby
ghostpl has quit [Max SendQ exceeded]
magicien has quit [Max SendQ exceeded]
blueOxigen has quit [Ping timeout: 248 seconds]
magicien has joined #ruby
Morkel has joined #ruby
bruno- has joined #ruby
ghostpl has joined #ruby
Schmidt has joined #ruby
crazysim has quit [*.net *.split]
toretore has quit [*.net *.split]
wingfire has quit [*.net *.split]
claptor has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
pengin_ has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
ojacobson has quit [*.net *.split]
anonymus has quit [*.net *.split]
eam has quit [*.net *.split]
justinweiss has quit [*.net *.split]
atomi has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
surs has quit [*.net *.split]
crazymykl has quit [*.net *.split]
RandyT has quit [*.net *.split]
Evan_ has quit [*.net *.split]
alexblom has quit [*.net *.split]
tmi_ has quit [*.net *.split]
monsieurp has quit [*.net *.split]
bmn has quit [*.net *.split]
galeido has quit [*.net *.split]
mclee has quit [*.net *.split]
lokust has quit [*.net *.split]
kenichi has quit [*.net *.split]
keelerm has quit [*.net *.split]
maxmanders has quit [*.net *.split]
dmoe has quit [*.net *.split]
marens has quit [*.net *.split]
ruisantos has quit [*.net *.split]
peteyg has quit [*.net *.split]
timmmaaaayyy_ has quit [*.net *.split]
reinaldob has quit [*.net *.split]
patrick99e99 has quit [*.net *.split]
dumdedum has quit [*.net *.split]
riotjones has quit [*.net *.split]
speakingcode has quit [*.net *.split]
elfuego has quit [*.net *.split]
snath has quit [*.net *.split]
ascarter has quit [*.net *.split]
livcd has quit [*.net *.split]
terlar has quit [*.net *.split]
phreakocious has quit [*.net *.split]
csaunders_ has quit [*.net *.split]
uber has quit [*.net *.split]
crazydiamond has quit [*.net *.split]
benlieb has quit [*.net *.split]
kith has quit [*.net *.split]
synfin has quit [*.net *.split]
kies has quit [*.net *.split]
justinmcp has quit [*.net *.split]
kohvihoor has quit [*.net *.split]
patteh has quit [*.net *.split]
tskogberg has quit [*.net *.split]
sirecote has quit [*.net *.split]
nomadic_ has quit [*.net *.split]
aytch has quit [*.net *.split]
miah has quit [*.net *.split]
vifino has quit [*.net *.split]
anekos has quit [*.net *.split]
Zarthus has quit [*.net *.split]
jamo_ has quit [*.net *.split]
patronus has quit [*.net *.split]
_code has quit [*.net *.split]
hackeron has quit [*.net *.split]
rvchangue has quit [*.net *.split]
cscheib has quit [*.net *.split]
madhatter has quit [*.net *.split]
gf3 has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
javawizard has quit [*.net *.split]
moshee has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
aep has quit [*.net *.split]
Meeh has quit [*.net *.split]
smooth_penguin has quit [*.net *.split]
_jasonmit has quit [*.net *.split]
nitrix has quit [*.net *.split]
max96at|off has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
Nowaker has quit [*.net *.split]
mnemon has quit [*.net *.split]
_5moufl has quit [*.net *.split]
Killerkeksdose_ has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
evident has quit [*.net *.split]
ZYPP has quit [*.net *.split]
Cope has quit [*.net *.split]
bkutil has quit [*.net *.split]
dfoolz has quit [*.net *.split]
cescalante_ has quit [*.net *.split]
Exlee_ has quit [*.net *.split]
Muz has quit [*.net *.split]
deavid has quit [*.net *.split]
Mekkis has quit [*.net *.split]
xMopxShe- is now known as xMopxShell
<apeiros> dem splits…
scottyme- is now known as scottymeuk
crazysim_ is now known as crazysim
<apeiros> certainty: you are of course correct. security through obscurity *is* a bad idea.
lsmola has joined #ruby
<apeiros> obscurity does not turn an insecure system into a secure system. but it is an additional layer of difficulty.
Cust0sL1men has joined #ruby
bluOxigen has joined #ruby
<apeiros> and the tradeoff is easy to tell: if you have people who look at the source and make it more secure - make it open. if you don't have them, don't make it open.
RegulationD has quit [Ping timeout: 250 seconds]
peteyg has joined #ruby
PierreRambaud has joined #ruby
tubuliferous has quit [Ping timeout: 248 seconds]
avarice has quit [Quit: this channel is bakas]
dmoe_ is now known as dmoe
leafybasil is now known as 21WABQM66
codecop has joined #ruby
zenspider has joined #ruby
leafybasil has joined #ruby
SpleezeDos has joined #ruby
beevalee_ has joined #ruby
timonv has joined #ruby
marcellu1 has joined #ruby
livcd has joined #ruby
nomadic_ has joined #ruby
aytch has joined #ruby
vifino has joined #ruby
synfin has joined #ruby
patteh has joined #ruby
snath has joined #ruby
tskogberg has joined #ruby
spacemud has joined #ruby
evident has joined #ruby
RowdyChildren has joined #ruby
csaunders_ has joined #ruby
kiki_lamb has joined #ruby
reinaldob has joined #ruby
_jasonmit has joined #ruby
_code has joined #ruby
madhatter has joined #ruby
kohvihoor has joined #ruby
nitrix has joined #ruby
dumdedum has joined #ruby
hackeron has joined #ruby
_5moufl has joined #ruby
Mekkis has joined #ruby
kloeri has joined #ruby
aep has joined #ruby
moshee has joined #ruby
terlar has joined #ruby
deavid has joined #ruby
phreakocious has joined #ruby
bkutil has joined #ruby
gf3 has joined #ruby
crazydiamond has joined #ruby
ascarter has joined #ruby
justinmcp has joined #ruby
anekos has joined #ruby
cscheib has joined #ruby
speakingcode has joined #ruby
Meeh has joined #ruby
javawizard has joined #ruby
Zarthus has joined #ruby
elfuego has joined #ruby
palms_ has joined #ruby
sirecote has joined #ruby
riotjones has joined #ruby
jamo_ has joined #ruby
uber has joined #ruby
cescalante_ has joined #ruby
Killerkeksdose_ has joined #ruby
Cope has joined #ruby
rvchangue has joined #ruby
patrick99e99 has joined #ruby
benlieb has joined #ruby
Exlee_ has joined #ruby
max96at|off has joined #ruby
kith has joined #ruby
Muz has joined #ruby
Nowaker has joined #ruby
patronus has joined #ruby
dfoolz has joined #ruby
miah has joined #ruby
Pro|_ has joined #ruby
ZYPP has joined #ruby
mnemon has joined #ruby
smooth_penguin has joined #ruby
Blue_Ice has joined #ruby
kies has joined #ruby
SpleezeDos has quit [Max SendQ exceeded]
uber has quit [Max SendQ exceeded]
anonymus has joined #ruby
anonymus has quit [Client Quit]
21WABQM66 has quit [Ping timeout: 265 seconds]
preller_ has joined #ruby
nii2361 has joined #ruby
ldnunes has joined #ruby
segv has joined #ruby
uber has joined #ruby
uber is now known as Guest7704
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
t_p has quit [Ping timeout: 250 seconds]
hpoydar has joined #ruby
Spleeze has joined #ruby
gregf1 has joined #ruby
mozzarella has joined #ruby
chinmay_dd has joined #ruby
<colorados> what is best site , where i can find good ruby job?
jlast has joined #ruby
Olipro has joined #ruby
Olipro is now known as Guest81498
razieliyo has joined #ruby
hpoydar has quit [Ping timeout: 250 seconds]
Guest37462 has quit [Ping timeout: 252 seconds]
jherbst has joined #ruby
nii2361 has quit [Ping timeout: 250 seconds]
maxmanders_ is now known as maxmanders
jlast has quit [Ping timeout: 256 seconds]
Zai00 has quit [Quit: Zai00]
pengin has joined #ruby
Guest81498 has quit [Ping timeout: 252 seconds]
6A4ABYMS5 has joined #ruby
<ddv> colorados: you can't figure out that yourself?
<atmosx> colorados: wewrkremotely, SO jobs
<atmosx> colorados: ruby jobs == rails jobs
pwattste has joined #ruby
sevvie has joined #ruby
v0n has joined #ruby
<hanmac1> atmosx: imo thats the most problem with ruby jobs, that most people thinks "ruby = rails"
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Olipro_ has joined #ruby
Olipro_ is now known as Guest72521
<atmosx> hanmac1: well, it's only logical.
elfuego has quit [Quit: elfuego]
User458764 has joined #ruby
sevvie has quit [Remote host closed the connection]
kstuart has joined #ruby
cassianoleal has joined #ruby
alexherbo2 has quit [Quit: WeeChat 1.1.1]
agrinb has joined #ruby
jcromartie has joined #ruby
alexherbo2 has joined #ruby
phutchins has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
chthon has joined #ruby
sprihodko has joined #ruby
<hanmac1> atmosx: hm maybe we need some action like "Ruby is not Rails" to show the difference to the common people ;P
agrinb has quit [Ping timeout: 256 seconds]
_64k has joined #ruby
Wulf has quit [Ping timeout: 272 seconds]
bronson has joined #ruby
<atmosx> hanmac1: ah no, I don't think common people care
otisZart has joined #ruby
kyle__ has quit [Ping timeout: 252 seconds]
<shevy> #<File:/Depot/Temp/open-uri20150326-9050-hm70gx>
<shevy> Tempfile
<shevy> anyone knows how to read this?
<shevy> I seem to have this when using open-uri + open(URL_HERE); weird that I got a tempfile back there
govg_ has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 255 seconds]
mostlybadfly has joined #ruby
<DefV> shevy: .read?
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hmnhf has joined #ruby
<shevy> hmm lemme try, would seem to make sense
<hanmac1> shevy Tempfile is a IO in a Delegator
<DefV> File/TempFile is IO
<hanmac1> or IO like object
kyle__ has joined #ruby
<shevy> yeah .read works, thanks
rhllor has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
<DefV> mind you that you won't be able to .read twice without a .rewind
govg has joined #ruby
oo_ has quit [Remote host closed the connection]
maximski has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
ncopa has joined #ruby
surs has joined #ruby
<ncopa> hi how can i do something that corresponds to: bundler list --without <group>?
dfinninger has joined #ruby
c0def00d has joined #ruby
sambao21 has joined #ruby
<apeiros> ncopa: that does not really explain what you want to do…
kyrylo has joined #ruby
<ncopa> i want verify that a Gemfile has all needed deps, but exclude given groups (eg, testing and development)
<ncopa> without actually install the bundle
<c0def00d> I need some help with Rake. I have a situation where files A, B, C depend on the same file D. But that file D needs to go through some pre-processing before generating A, B, C. How would I manage for that preprocessing to onyl happen once?
<ncopa> and list whatever dependency that is missing or conflicting
<ncopa> eg. i want test/check that needed denendencies are there for bundler install --without testing development
SouL has quit [Read error: Connection reset by peer]
<ncopa> but without actually installing anything
dfinninger has quit [Ping timeout: 252 seconds]
brb3 has joined #ruby
<cassianoleal> use bundle check
banister has joined #ruby
<ncopa> cassianoleal: thats what i do, but I cannot check with --without testing development
<ncopa> it complains about missing deps in those groups
Renich has joined #ruby
<ncopa> $ bundle check --withou
<ncopa> t development
<ncopa> Unknown switches '--without'
<cassianoleal> it should work if you already have a Gemfile.lock in place, but if that's not the case then I don't know
bonhoeffer has joined #ruby
charliesome has joined #ruby
<ncopa> i dont have a gemfile.lock in place
n008f4g_ has joined #ruby
<ncopa> i suppose i have to create a gemfile.lock then
bonhoeffer has quit [Client Quit]
Renich has quit [Client Quit]
Aswebb_ has quit [Read error: No route to host]
Aswebb_ has joined #ruby
_64k has quit [Ping timeout: 252 seconds]
DerisiveLogic has quit [Ping timeout: 244 seconds]
wicope has joined #ruby
sinkensabe has joined #ruby
Guest7704 has quit [Changing host]
Guest7704 has joined #ruby
tus has joined #ruby
Guest7704 is now known as uber
iml has joined #ruby
lkba has joined #ruby
<ncopa> hum
fgo has joined #ruby
<ncopa> bundler tries to build json 1.8.2. why is it not happy with the json 1.8.1 that was shipped with ruby-2.2.1? http://sprunge.us/FHjZ
marcusalmeida has joined #ruby
<marcusalmeida> hi! i would like to know how i call self inside class_eval ? I need to know what class is opening with class_eval ?
jayeshsolanki has joined #ruby
ominari has joined #ruby
sprihodko has quit [Quit: (null)]
craigp has quit [Remote host closed the connection]
yottanami has joined #ruby
<jhass> ncopa: note that the Gemfile.lock should be committed to the repo
<ncopa> jhass: should it be included in the release tarball too?
<jhass> yes
<ncopa> and if it is not?
tier has joined #ruby
<ncopa> redmine does not ship Gemfile.lock
<jhass> then you miss the point of bundler
<jhass> yes, redmine is not a prime example of using bundler in other areas too
<ncopa> can i craete a Gemfile.lock manually?
<jhass> bundle install will create it
Aswebb_ has quit [Remote host closed the connection]
<ncopa> i dont really want install it with bundler
<ncopa> i want repackage it so it can be installed without bundler
ominari has quit [Ping timeout: 248 seconds]
<ncopa> in this step i just want verify that the deps was done right
<jhass> bundlers main purpose is to ensure a consistent environment, it does so by installing specific versions of the dependencies and ensuring only those can be loaded by the application
droidburgundy has joined #ruby
<jhass> recent rubygems versions can read Gemfile's with gem install -g
jlast has joined #ruby
<jhass> that's as good as bundler without a lock
plashchynski has quit [Quit: plashchynski]
<ncopa> i just want to verify that the deps are satisfied without installing anything
<jhass> try BUNDLE_WITHOUT="development test" bundle check
quimrstorres has joined #ruby
<ncopa> $ BUNDLE_WITHOUT="development test" bundle check
<ncopa> Please configure your config/database.yml first
<ncopa> Bundler can't satisfy your Gemfile's dependencies.
<ncopa> Install missing gems with `bundle install`.
arup_r has joined #ruby
<ncopa> $ BUNDLE_WITHOUT="development test" bundle list
<ncopa> Please configure your config/database.yml first
<ncopa> Could not find gem 'yard (>= 0) ruby' in the gems available on this machine.
<ncopa> yard is in group development
<arup_r> Hi All
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<ncopa> i suppose its easier to patch the gemfile than try make bundler behave
jerius has joined #ruby
_maes_ has quit [Ping timeout: 248 seconds]
jlast has quit [Ping timeout: 265 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hmnhf has quit [Ping timeout: 246 seconds]
iml has quit [Remote host closed the connection]
silkfox has joined #ruby
sambao21 has quit [Quit: Quitter]
dumdedum is now known as blaxter
nettoweb has joined #ruby
agrinb has joined #ruby
jottr_ has joined #ruby
willharrison has joined #ruby
willharrison has quit [Remote host closed the connection]
n80 has joined #ruby
arup_r has quit [Remote host closed the connection]
hpoydar has joined #ruby
<jhass> ncopa: maybe it's development,test, I can never remember
fgo has quit [Quit: WeeChat 1.1.1]
shazaum has joined #ruby
lessless has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sgambino has joined #ruby
<ncopa> looks like its : separated
anaeem1_ has quit [Remote host closed the connection]
<ncopa> BUNDLE_WITHOUT="development:test"
triple_b has joined #ruby
patrick99e99 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
livingstn has joined #ruby
<ncopa> 'bundler list' and 'bundler check' does not appear to respect BUNDLE_WITHOUT env var
hpoydar has quit [Ping timeout: 252 seconds]
kaffepanna has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Remote host closed the connection]
dblessing has joined #ruby
JDiPierro has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
zenith_ has joined #ruby
avelldiroll has joined #ruby
JDiPierro has quit [Remote host closed the connection]
banister has joined #ruby
monsieur1 is now known as monsieurp
monsieurp has quit [Changing host]
monsieurp has joined #ruby
delianides has joined #ruby
Aswebb_ has joined #ruby
JDiPierro has joined #ruby
ArchRogem has joined #ruby
giuseppesolinas has joined #ruby
nOgAnOo has quit []
freerobby has joined #ruby
noname1 has joined #ruby
Asmurf has joined #ruby
freerobby has quit [Client Quit]
jerematic has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
joe_meade has joined #ruby
lokust_ has quit [Remote host closed the connection]
lokust has joined #ruby
<jhass> do you have a .bundle/config ?
<jhass> that would overwrite it
patrick99e99 has quit [Ping timeout: 244 seconds]
allenn_ has quit [Remote host closed the connection]
most_wanted has joined #ruby
<most_wanted> hello, i have 3 lines of code, line 3 fails, i edit, execute, then line 1 fails
<most_wanted> wouldnt line 1 fail the first time?
<bradland> this is a riddle, isn't it?
<most_wanted> no, this just happened
techsethi has quit [Quit: techsethi]
thinkswan has joined #ruby
<apeiros> most_wanted: obviously it wouldn't
sankaber has joined #ruby
arup_r has joined #ruby
<apeiros> and we wouldn't know why, given that you've given us nothing to work with.
<bradland> gist code
allenn has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hiyosi has joined #ruby
shellfu_ is now known as shellfu
craigp has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Client Quit]
eighthbit has joined #ruby
patrick99e99 has joined #ruby
ismaelga has joined #ruby
vozcelik has joined #ruby
_64k has joined #ruby
<most_wanted> apeiros: https://gist.github.com/anonymous/75a32d2966693fbf4c6f << line 10 failed, i edit, executer from command line, then line 6 fails
enebo has joined #ruby
arup_r has quit [Remote host closed the connection]
<most_wanted> wouldnt line 6 fail the first time i execute?
<most_wanted> i cant share all the code
<hanmac1> most_wanted: isnt line10 and line11 using the same arr[5] ?
<bradland> most_wanted: if you change the filename so it ends in .rb, Gist will use code coloring
<certainty> apeiros: yepp that's what i suspected and i agree that it is more difficult to find security problems without source especially in a somewhat controlled environment like irc where people might recognize that someone bitches with the bot, relatively quick. so nevermind :)
<bradland> just a heads up
arup_r has joined #ruby
RegulationD has joined #ruby
<most_wanted> im sorry, should that make a difference?
davispuh has joined #ruby
<bradland> just makes it easier to read, which tends to increase the number of responses
tubuliferous has joined #ruby
<most_wanted> oh, the index,
<bradland> lots of folks (me included) will look at a gist posted as txt and decide it's not worth the trouble to try and parse what i'm looking at
<most_wanted> they both use arr[5], but still, line 6 still fail
<most_wanted> line 6 is still gonna fail
<most_wanted> this is a nil pointer problem
<most_wanted> error
kaffepanna has joined #ruby
bankair has joined #ruby
joe_meade is now known as joemeade
_pakchoi_ops has joined #ruby
<most_wanted> array index, is not the problem here
justinweiss has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
tubuliferous has quit [Ping timeout: 256 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bradland> most_wanted: what error do you receive?
patrick99e99 has quit [Ping timeout: 255 seconds]
jcromartie has joined #ruby
elfuego has joined #ruby
patrick99e99 has joined #ruby
craigp has quit [Remote host closed the connection]
shazaum has quit [Quit: Leaving]
<most_wanted> undefined method for nil:nilClass no method error
shazaum has joined #ruby
<most_wanted> the first pass did not generate this error
joonty has quit [Quit: joonty]
vtunka has joined #ruby
adriancb has joined #ruby
adriancb_ has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
<hanmac1> most_wanted: can you check the size of arr before so you can see if its big enough?
<hanmac1> what kind of structure do you have inside in it so you need to call .value.to_s on it?
GnuYawk has joined #ruby
Feyn has quit [Quit: Leaving]
Limix has joined #ruby
<bradland> one of your array indexes contains a nil value that you didn't expect. you need to either fix that in the location where arr is defined, or handle nils during the insert operations.
thinkswan has quit [Remote host closed the connection]
<jhass> most_wanted: since you're unable to share any relevant information to debug this issue, best would be to hire a consultant that solves it for you
<bradland> also curious why string concatenation instead of interpolation?
wicope has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
spyderman4g63 has joined #ruby
iamjarvo has joined #ruby
wald0 has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
spyderma_ has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<most_wanted> it looks like a bad ruby error
Mives has joined #ruby
<most_wanted> this has happened before
Pharaoh2_ is now known as Pharaoh2
iamjarvo has joined #ruby
<hanmac1> most_wanted: what is your ruby version?
colorados has quit [Quit: Leaving]
<most_wanted> sorry: 2.1.5.p273
ismaelga has quit [Remote host closed the connection]
OtterCoder has joined #ruby
<hanmac1> most_wanted: can you check the size of arr if it has enough elements inside of it?
most_wanted has quit [Quit: Page closed]
spyderman4g63 has quit [Ping timeout: 244 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has quit [Remote host closed the connection]
craigp has joined #ruby
quimrstorres has quit [Remote host closed the connection]
hs366 has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fryguy9 has joined #ruby
shazaum has quit [Quit: Leaving]
shazaum has joined #ruby
kstuart has quit [Ping timeout: 248 seconds]
kstuart has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
vtunka has quit [Quit: Leaving]
doodlehaus has joined #ruby
blueOxigen has joined #ruby
noname1 has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 265 seconds]
anaeem1_ has joined #ruby
werelivinginthef has joined #ruby
tlarevo has quit [Remote host closed the connection]
vtunka has joined #ruby
iwishiwerearobot has joined #ruby
joonty has joined #ruby
iMadper has joined #ruby
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
kp666 has quit [Quit: Leaving]
bradleyprice has joined #ruby
Megtastique has joined #ruby
a346 has joined #ruby
dawkirst has joined #ruby
a5i has joined #ruby
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
paulcsmith has joined #ruby
<a5i> JRuby 9000 might make Ruby as close to the speed of Java and C?
vtunka has quit [Ping timeout: 256 seconds]
Zai00 has joined #ruby
vtunka has joined #ruby
Musashi007 has joined #ruby
crueber has joined #ruby
airdisa has joined #ruby
agrinb has joined #ruby
<OtterCoder> Aren't Java and C in completely different weight classes?
<apeiros> weight yes, speed: not always
<hanmac1> a5i i think that might be better question in a jruby channel ?
nfk|laptop has joined #ruby
JDiPierro has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
OrbitalKitten has joined #ruby
ndrei has quit [Ping timeout: 248 seconds]
paradoja has joined #ruby
<DefV> JRuby 9000 sounds like something you buy on the tele-marketing channel
<apeiros> oh wow, java is even faster than C in most cases here: http://benchmarksgame.alioth.debian.org/u64q/java.html
vtunka_ has joined #ruby
<apeiros> ah, lol, no. misread the table
joonty has quit [Quit: joonty]
RegulationD has joined #ruby
nettoweb has quit [Ping timeout: 256 seconds]
marcusalmeida has quit [Quit: Page closed]
merqlove has quit [Quit: Connection closed for inactivity]
Limix has quit [Quit: Limix]
serivich has joined #ruby
yfeldblu_ has quit [Ping timeout: 256 seconds]
Channel6 has joined #ruby
fryguy9 has quit [Ping timeout: 256 seconds]
fryguy9 has joined #ruby
<OtterCoder> Yeah, I would compare Java and C++, but not C. (Assuming all are well-written)
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has joined #ruby
Beoran has quit [Ping timeout: 250 seconds]
vtunka has quit [Quit: Leaving]
triple_b has joined #ruby
centrx has joined #ruby
werelivinginthef has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
krisquig_ has joined #ruby
quimrstorres has joined #ruby
NivenHuH has quit [Read error: Connection reset by peer]
snath has quit [Ping timeout: 246 seconds]
mitchellhenke has joined #ruby
sevvie has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
NivenHuH has joined #ruby
krisquigley has quit [Ping timeout: 252 seconds]
arup_r has quit []
joonty has joined #ruby
patrick99e99 has joined #ruby
nettoweb has joined #ruby
krisquig_ has quit [Ping timeout: 250 seconds]
zenith__ has joined #ruby
zenith_ has quit [Ping timeout: 264 seconds]
agarie has joined #ruby
iamjarvo has joined #ruby
_pakchoi_ops has quit [Read error: Connection reset by peer]
shazaum has quit [Quit: Leaving]
d10n-work has joined #ruby
a346 has quit [Quit: a346]
dawkirst has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
shazaum has joined #ruby
banister has joined #ruby
kaffepanna has quit [Ping timeout: 245 seconds]
Beoran has joined #ruby
User458764 has joined #ruby
Limix has joined #ruby
Limix has quit [Client Quit]
kaffepanna has joined #ruby
christiandsg has quit [Read error: Connection reset by peer]
shazaum has quit [Client Quit]
christiandsg has joined #ruby
sevvie has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
sevvie has joined #ruby
kyrylo has quit [Quit: Konversation terminated!]
kyrylo has joined #ruby
rhllor has quit [Quit: rhllor]
ponga has joined #ruby
ominari has joined #ruby
hpoydar has joined #ruby
iwishiwerearobot has quit [Quit: Be back later ...]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja has quit [Quit: WeeChat 1.1.1]
patrick99e99 has quit [Ping timeout: 246 seconds]
sevvie has quit [Ping timeout: 245 seconds]
iwishiwerearobot has joined #ruby
plashchynski has joined #ruby
patrick99e99 has joined #ruby
Mives has quit [Quit: WeeChat 1.1.1]
thinkswan has joined #ruby
ominari has quit [Ping timeout: 264 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
krisquigley has joined #ruby
juanca_ has joined #ruby
ayaz has quit [Quit: leaving]
thinkswan has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
<atmosx> what does weight mean in this context?
<hanmac1> atmosx: in there case of java "glutted" ? ;P
<apeiros> atmosx: I'd assume either executable size, required memory, or both
<atmosx> ah, k.
<atmosx> bbl
MXfive has joined #ruby
ncopa has left #ruby ["Leaving"]
thinkswan has joined #ruby
snath has joined #ruby
chinmay_dd has quit [Quit: Leaving]
tjohnson has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
n80 has quit [Quit: n80]
sevvie has quit [Remote host closed the connection]
iamninja has joined #ruby
noname1 has joined #ruby
nfk|laptop has quit [Ping timeout: 246 seconds]
blaxter has quit [Quit: foo]
mdarby has joined #ruby
ismaelga has joined #ruby
ayaz has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
techsethi has joined #ruby
plashchynski has quit [Quit: plashchynski]
B1n4r10 has joined #ruby
GnuYawk has quit [Ping timeout: 264 seconds]
plashchynski has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp_ has joined #ruby
hardlin3r has joined #ruby
airdisa has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 244 seconds]
DerisiveLogic has joined #ruby
airdisa has joined #ruby
plashchynski has quit [Client Quit]
gr33n7007h has joined #ruby
airdisa_ has joined #ruby
jayeshsolanki has quit [Remote host closed the connection]
Aswebb_ has quit [Remote host closed the connection]
plashchynski has joined #ruby
imanzarrabian has joined #ruby
jayeshsolanki has joined #ruby
airdisa has quit [Ping timeout: 256 seconds]
Macaveli has joined #ruby
adriancb_ has quit [Read error: Connection reset by peer]
iamninja has quit [Ping timeout: 272 seconds]
speakingcode has quit [Ping timeout: 246 seconds]
blueOxigen has quit [Ping timeout: 250 seconds]
a346 has joined #ruby
zenith__ has quit [Ping timeout: 256 seconds]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
B1n4r10 has joined #ruby
yottanami has left #ruby ["PONG :barjavel.freenode.net"]
christiandsg has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
speakingcode has joined #ruby
DEA7TH has joined #ruby
ndrei has joined #ruby
alex88 has quit []
Morkel has quit [Quit: Morkel]
sepp2k has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
sevvie has joined #ruby
ta has quit [Remote host closed the connection]
dfinninger has joined #ruby
cpruitt has joined #ruby
adriancb has joined #ruby
dx7 has joined #ruby
chthon has joined #ruby
jcromartie has joined #ruby
kstuart has quit [Quit: WeeChat 1.1.1]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
kblake has joined #ruby
<headius> Java can be as fast as C if you write it like C
<headius> unsurprisingly, most people write it like C++
charliesome has quit [Quit: zzz]
bronson has joined #ruby
thinkswan has quit [Remote host closed the connection]
rbennacer has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
willharrison has joined #ruby
GnuYawk has joined #ruby
sanguisdex has quit [Quit: Leaving.]
icebourg has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
jefus__ has joined #ruby
Aswebb_ has joined #ruby
jwinder has joined #ruby
momomomomo has joined #ruby
_maes_ has joined #ruby
AlphaAtom has joined #ruby
iwaffles has joined #ruby
jefus_ has quit [Ping timeout: 252 seconds]
sanguisdex has joined #ruby
rhllor has joined #ruby
fryguy9 has quit [Quit: Leaving.]
jefus__ is now known as jefus
airdisa_ has quit [Remote host closed the connection]
rhllor has quit [Read error: Connection reset by peer]
thinkswan has joined #ruby
airdisa has joined #ruby
icebourg has quit []
gorroth has joined #ruby
serivich has quit [Ping timeout: 252 seconds]
LJT has joined #ruby
AlexRussia has joined #ruby
rhllor has joined #ruby
sevvie has quit [Ping timeout: 256 seconds]
User458764 has joined #ruby
michael_mbp has quit [Excess Flood]
fryguy9 has joined #ruby
airdisa_ has joined #ruby
<hanmac1> headius & a5i ruby can be fast as C/C++ too if using bindings ;P
<eam_> headius: java cannot be as fast as C, though on average large unoptimized programs may be
<headius> eam_: trust me, I know it can because I've seen the optimized assembly
michael_mbp has joined #ruby
<headius> most Java programs are not just bags of static functions like C, though
chrissonar has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
paradoja has quit [Read error: Connection reset by peer]
<eam_> I agree for the average case, but if you're willing to spend time optimizing there's no chance
airdisa has quit [Ping timeout: 256 seconds]
startupality has joined #ruby
<headius> well, I disagree :-)
bronson has joined #ruby
startupality has quit [Client Quit]
eam_ is now known as eam
dumdedum has joined #ruby
sloshy has quit [Quit: leaving]
<eam> headius: you're a jruby guy, right? I have a question for you about jruby gc behavior vs mri
nfk|laptop has joined #ruby
iamninja has joined #ruby
<eam> mri has a guard around leaking descriptors, when EMFILE is hit it stops, fires the gc, then retries the syscall
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> I found jruby has some of the same guards, but they're ineffective in jruby because on the jvm the gc is concurrent -- and I think there's no sane mechanism to block on the gc
f3lp has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
<eam> (I found a work around for that, but it doesn't seem suitable for production)
tagrudev has quit [Remote host closed the connection]
<eam> I'm tempted to submit a PR to just delete the guards in jruby
freerobby has quit [Quit: Leaving.]
<headius> eam: mmm yes, the guards are there and they *might* help in some cases, but probably not many
<headius> do you have a case that leaks descriptors?
tesuji has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
<headius> I've always been surprised that many Rubyists just walk away from open files etc and think that's totally fine
aganov has quit [Quit: Leaving]
<sweeper> do it in a block :3
sevvie has joined #ruby
<eam> headius: the problem is the majority of gems are written by mri folk
<eam> so they just don't notice their own bugs -- then on jruby the behavior changes
mistermocha has joined #ruby
<headius> yes, they should be testing on JRuby too
<eam> I agree, but :D
<headius> anyway, this is getting away from your question
iamninja has quit [Ping timeout: 250 seconds]
<headius> there's not really anything more you can do
<eam> the issue is the open; gc; open sequence will always fail on jruby
<eam> I'm thinking it's probably better to just not have that double sequence and instead fail initially?
speakingcode has quit [Ping timeout: 256 seconds]
riotjones has quit [Remote host closed the connection]
iml has joined #ruby
<eam> iirc jruby has it around file opens but not sockets (mri has both)
brb3 has quit [Quit: ZZZzzz…]
lele has quit [Ping timeout: 272 seconds]
<headius> well, it is *possible* that GC will run, and then the finalizer thread will be scheduled, and it will finish processing leaked descriptors before we get back to try again
<headius> how likely that is to happen...probably not very
<eam> yeah in practice I've never seen it occur
<headius> MRI doesn't do concurrent GC, doesn't do concurrent finalization
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
<eam> I think that may have changed a bit in 2.2, but yeah
<headius> 2.2 is no more concurrent than 2.1
speakingcode has joined #ruby
<headius> they do some parallel sweeping I think, but that's different
<eam> so basically I have two paths forward: 1) remove the existing guard in file opens or 2) add the guard to sockets even though it doesn't work to satisfy my OCD
jwinder has quit [Remote host closed the connection]
<headius> hah
<headius> how bout you file a bug and we can discuss with some other JRuby folks
<eam> ok, will do
livathinos has joined #ruby
<headius> if we can't make it actually be useful in practice, it's just useless code
<headius> and extra noise
<eam> headius: re: 2.2 I have another issue I'm still trying to pinpoint in 2.2 where a finalizer somehow runs out of order and calls close() at the wrong time
sevvie has quit [Ping timeout: 264 seconds]
<eam> and ends up double closing
xenokiller has joined #ruby
<headius> eam: that's interesting...finalizers should definitely not run twice, so I would suspect you have finalization and normal execution both trying to close it
sevvie has joined #ruby
<eam> yes, that's what's happening
lele has joined #ruby
iml has quit [Ping timeout: 255 seconds]
<eam> my only test case is a 5+ minute rpsec run and I know where it's occuring, but it's hard to figure out how
<headius> yeah, that's pretty weird...since in order to close it you'd have to have a reference to it :-)
* hanmac1 is happy that he doesnt need to develop for jruby ;P
<headius> which should prevent it from finalizing
<headius> hanmac1: these are problems of concurrency, not problems of JRuby
<adaedra> JRuby is not so horrible
<headius> if MRI was concurrent the same issues would arise
<adaedra> Just not suitable for CLI
<eam> jruby is great
f3lp has quit [Quit: Leaving]
tier_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
f3lp has joined #ruby
jlebrech has joined #ruby
<jlebrech> >> 1 + 1
<eval-in_> jlebrech => 2 (https://eval.in/305154)
<jlebrech> sorry forgot the url :)
<adaedra> :|
<jlebrech> i remembered >> tho
danman has joined #ruby
hpoydar has quit [Remote host closed the connection]
jconnolly has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
ki0 has quit [Remote host closed the connection]
zenith_ has joined #ruby
vtunka_ has quit [Quit: Leaving]
ki0 has joined #ruby
tier has quit [Ping timeout: 245 seconds]
kobain has joined #ruby
craigp_ has quit [Remote host closed the connection]
Mia has quit [Write error: Connection reset by peer]
adriancb has joined #ruby
baroquebobcat has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
ascarter_ has joined #ruby
f3lp has quit [Quit: Leaving]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hardlin3r has quit [Ping timeout: 250 seconds]
davedev24_ has joined #ruby
f3lp has joined #ruby
ascarter_ has quit [Max SendQ exceeded]
jottr_ has quit [Ping timeout: 244 seconds]
brb3 has joined #ruby
asmodlol has joined #ruby
ascarter has quit [Ping timeout: 246 seconds]
livathinos has quit []
iamninja has joined #ruby
AlexRussia has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
zenith__ has joined #ruby
f3lp has quit [Client Quit]
ndrei has quit [Ping timeout: 250 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
colorados has joined #ruby
GaryOak_ has joined #ruby
f3lp has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
thinkswan has quit [Remote host closed the connection]
rippa has joined #ruby
thinkswan has joined #ruby
jwinder has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
zenith_ has quit [Ping timeout: 272 seconds]
Troy^ has joined #ruby
Lewix has quit [Remote host closed the connection]
vim_shimm has joined #ruby
sevvie has joined #ruby
ominari has joined #ruby
f3lp_ has joined #ruby
thinkswan has quit [Ping timeout: 265 seconds]
bal has quit [Quit: bal]
AlexRussia has joined #ruby
zenith__ has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
momomomomo has joined #ruby
juanca_ has quit [Remote host closed the connection]
ominari has quit [Client Quit]
nfk|laptop has quit [Ping timeout: 248 seconds]
juanca_ has joined #ruby
KramerC has joined #ruby
ndrei has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
Soda has joined #ruby
devoldmx_ has joined #ruby
spider-mario has joined #ruby
gsd has joined #ruby
juanca_ has quit [Ping timeout: 272 seconds]
einarj has quit [Remote host closed the connection]
rubytor has joined #ruby
jottr_ has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
agarie has quit [Remote host closed the connection]
Akagi201 has quit [Remote host closed the connection]
shazaum has joined #ruby
marens_ is now known as marens
Akagi201 has joined #ruby
agarie has joined #ruby
shazaum has quit [Client Quit]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jwinder has quit [Ping timeout: 246 seconds]
<shevy> "2015 is shaping up to be an amazing year for PHP."
<shevy> you heard it here first
<shevy> 2015 is the year of the PHP
icebourg has joined #ruby
<shevy> centrx does this not excite you into wanting to use more PHP?
jottr_ has quit [Ping timeout: 256 seconds]
techsethi has quit [Ping timeout: 255 seconds]
<centrx> wow, 5 things I must know about PHP
<centrx> sweet The PHP 7 Timeline RFC was approved in a near unanimous vote
<hanmac1> centrx: "1) How to avoid it"
mary5030 has joined #ruby
shazaum has joined #ruby
<centrx> There are 10 exclamation marks on this page
Cust0sL1men has quit [Ping timeout: 250 seconds]
<havenwood> Aha, my privacy badger was blocking the infographic. Was wondering if it was meant to be blank. >.>
iml has joined #ruby
CustosLimen has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
B1n4r10 has quit [Quit: Textual IRC Client: www.textualapp.com]
paulcsmith has quit [Quit: Be back later ...]
yuung has joined #ruby
agarie has joined #ruby
c0def00d has quit [Quit: c0def00d]
x77686d has joined #ruby
adriancb has quit [Ping timeout: 252 seconds]
techsethi has joined #ruby
Akagi201_ has joined #ruby
paulcsmith has joined #ruby
paulcsmith has quit [Client Quit]
bricker has joined #ruby
iwishiwerearobot has quit [Quit: >:(]
agarie has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 256 seconds]
paulcsmith has joined #ruby
max96at|off is now known as max96at
Akagi201 has quit [Ping timeout: 256 seconds]
bricker has quit [Client Quit]
krz has quit [Quit: WeeChat 1.0.1]
terlar has quit [Ping timeout: 246 seconds]
adriancb has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
sargas has joined #ruby
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
sevvie has joined #ruby
zenith_ has joined #ruby
juanca_ has joined #ruby
juanca_ has quit [Read error: Connection reset by peer]
noname1 has quit [Ping timeout: 245 seconds]
juanca_ has joined #ruby
deol has joined #ruby
jlebrech has quit [Remote host closed the connection]
mesamoo has quit [Quit: Konversation terminated!]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
kblake_ has joined #ruby
kblake has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 246 seconds]
_ixti_ has quit [Ping timeout: 256 seconds]
_ixti_ has joined #ruby
triple_b has joined #ruby
riotjones has joined #ruby
Channel6 has quit [Quit: Leaving]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
xenokiller has quit [Ping timeout: 245 seconds]
blackmesa has joined #ruby
timonv has joined #ruby
ghostmoth has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
agarie has joined #ruby
rbennacer has joined #ruby
User458764 has joined #ruby
agrinb has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 252 seconds]
maximski has quit []
rbennacer has quit [Ping timeout: 246 seconds]
timonv has quit [Quit: WeeChat 1.1.1]
zenith__ has joined #ruby
zenith_ has quit [Read error: Connection reset by peer]
last_staff has quit [Quit: last_staff]
lemur has joined #ruby
sevvie has joined #ruby
timonv has joined #ruby
cephalostrum has left #ruby [#ruby]
hanmac1 has quit [Quit: Leaving.]
hpoydar has joined #ruby
anarang has quit [Quit: Leaving]
mikecmpbll has quit [Quit: ciao.]
mikecmpbll has joined #ruby
colorados has quit [Quit: Leaving]
workmad3 has joined #ruby
mjuszczak has joined #ruby
jimms has joined #ruby
chrishough has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> lol
hpoydar has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
<shevy> your filter filters away spam
<shevy> and php-related content havenwood
mitchellhenke has quit [Quit: Computer has gone to sleep.]
ki0 has quit []
Soda has quit [Remote host closed the connection]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
adriancb has quit [Read error: Connection reset by peer]
kyrylo_ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 252 seconds]
JDiPierro has joined #ruby
giuseppesolinas has joined #ruby
imanzarrabian has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 244 seconds]
adriancb has joined #ruby
f3lp_ has quit [Quit: Leaving]
f3lp has quit [Quit: Leaving]
sinkensabe has quit [Remote host closed the connection]
f3lp has joined #ruby
sinkensabe has joined #ruby
momomomomo has quit [Ping timeout: 246 seconds]
<GaryOak_> Pretty Handy Programming-language
centrx has quit [Quit: Shutting down, Please wait...]
<havenwood> Personal Home Page
lemur has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
zorak8 has joined #ruby
Satsok has joined #ruby
jottr_ has quit [Ping timeout: 255 seconds]
_hollywood has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
bradleyprice has quit [Remote host closed the connection]
paulcsmith has joined #ruby
tlarevo has joined #ruby
<shevy> Perverted Homeless Programmers
jimms has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
kblake has joined #ruby
kblake_ has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
mary5030 has quit [Remote host closed the connection]
tlarevo has quit [Remote host closed the connection]
otisZart has quit [Max SendQ exceeded]
_blizzy_ has quit [Ping timeout: 246 seconds]
agarie has quit [Remote host closed the connection]
mary5030 has joined #ruby
tlarevo has joined #ruby
Aswebb_ has quit [Remote host closed the connection]
iliketurtles has joined #ruby
<adaedra> Please Hate with Passion
ghostpl_ has quit [Remote host closed the connection]
dopie has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
blizzy has joined #ruby
havenwood has quit [Remote host closed the connection]
milesmatthias has joined #ruby
joonty has quit [Quit: joonty]
Satsok has quit [Ping timeout: 244 seconds]
mary5030 has quit [Ping timeout: 255 seconds]
wldcordeiro has joined #ruby
tlarevo has quit [Remote host closed the connection]
tlarevo has joined #ruby
Vivex has quit [Read error: Connection reset by peer]
_64k has quit [Ping timeout: 264 seconds]
iliketurtles has quit [Quit: zzzzz…..]
iliketurtles has joined #ruby
Satsok has joined #ruby
agrinb has joined #ruby
mistermocha has quit [Remote host closed the connection]
f3lp has quit [Remote host closed the connection]
ojacobson_ is now known as ojacobson
Satsok has quit [Client Quit]
cassianoleal has quit [Remote host closed the connection]
vim_shimm has quit [Ping timeout: 250 seconds]
tvw has quit [Remote host closed the connection]
adriancb has joined #ruby
Pupeno has joined #ruby
<workmad3> miah: heh
timonv has quit [Ping timeout: 256 seconds]
msgodf has quit [Remote host closed the connection]
milesmatthias has quit [Remote host closed the connection]
rokob has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
<miah> not as good as https://twitter.com/erowidrecruiter/ usually is though
shadoi1 has quit [Remote host closed the connection]
f3lp has joined #ruby
shadoi has joined #ruby
tier has joined #ruby
agrinb has quit [Remote host closed the connection]
dseitz has joined #ruby
dANO_ has quit []
agrinb has joined #ruby
JustPie has quit [Quit: Konversation terminated!]
milesmatthias has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
fryguy9 has quit [Quit: Leaving.]
techsethi has quit [Quit: techsethi]
tier_ has quit [Ping timeout: 265 seconds]
O_the_Del has joined #ruby
Limix has joined #ruby
wookiehangover has quit [Ping timeout: 256 seconds]
cacocola has joined #ruby
agrinb has quit [Ping timeout: 246 seconds]
milesmatthias has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
<apeiros> PSA: since we have now active ownership again over #ruby, I'd like to set up a website for this channel
x1337807x has quit [Max SendQ exceeded]
<apeiros> please anybody who's interested in helping with that effort privmsg me
blackmesa has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
<GaryOak_> What are you putting on the website?
cacocola has quit [Remote host closed the connection]
<apeiros> currently most aspects about the website are open. only things fixed so far are: it's a rails 4.2 app, using slim, sass and bootstrap.
craigp has joined #ruby
<apeiros> GaryOak_: that's open to suggestions. so far: irc channel rules, links, info about staff.
csaunders_ has quit [Quit: later tater]
cassianoleal has joined #ruby
<apeiros> oh, and FAQ
wldcordeiro has quit [Quit: Leaving]
csaunders has joined #ruby
gr33n7007h has quit [Quit: WeeChat 0.3.8]
anaeem1 has joined #ruby
DerisiveLogic has joined #ruby
towski_ has joined #ruby
Limix has quit [Quit: Limix]
jimms_ has joined #ruby
aswen has quit [Ping timeout: 248 seconds]
beneggett has joined #ruby
<miah> a code of conduct?
<GaryOak_> is there an idiomatic way of handling something being a single object or could be an array of objects?
<apeiros> miah: I think the rules are a code of conduct
<miah> not always
<whateverman> GaryOak_: the splat operator?
jimms has quit [Ping timeout: 248 seconds]
<apeiros> miah: want to join us and help make the rules proper?
ghostpl_ has joined #ruby
LJT has quit [Quit: Sleeping...]
\ELLIOTTCABLE is now known as ELLIOTTCABLE
zorak8 has quit [Ping timeout: 264 seconds]
coin3d has quit [Quit: Lost terminal]
mistermocha has joined #ruby
zorak8 has joined #ruby
ELLIOTTCABLE is now known as Guest33971
Guest33971 is now known as \ELLIOTTCABLE
Asher has quit [Quit: Leaving.]
<apeiros> miah: I started out with https://gist.github.com/radar/996779
<apeiros> bookmarked your link, as I intend to change the wording from radar's template
doodlehaus has quit [Ping timeout: 265 seconds]
theRoUS is now known as theRoUS|mtg
<apeiros> miah: oh, or did you mean CoC for contributing to the website?
<GaryOak_> whateverman: hey that works, thanks!
<miah> for site, and channel
mikecmpbll has quit [Ping timeout: 256 seconds]
<apeiros> ok. I think site and channel overlap, but are not the same
allenn has quit [Remote host closed the connection]
O_the_Del has left #ruby ["Leaving..."]
<miah> sure, should still have similar expectations with regards to conduct though
<apeiros> yes, hence overlap :)
wookiehangover has joined #ruby
<apeiros> and? will you join? or does that depend on first implementing a CoC?
mjuszczak has quit [Ping timeout: 245 seconds]
<miah> i can join
LJT has joined #ruby
<miah> im pretty swamped atm though writing a book
anaeem1 has quit [Remote host closed the connection]
adriancb has quit [Read error: Connection reset by peer]
<apeiros> miah: there's no minimal time requirement. I'm quite swamped too. I hope for small incremental improvements.
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> I do aim at getting a first version online by this week-end, though.
dfinninger has quit [Remote host closed the connection]
adriancb has joined #ruby
anaeem1 has joined #ruby
<miah> cool
Takle has joined #ruby
<miah> today is thursday right? =)
kyrylo_ is now known as kyrylo
Takle has quit [Remote host closed the connection]
<GaryOak_> I could probably help with something
<GaryOak_> on Sunday
bradleyprice has joined #ruby
Parker0 has joined #ruby
gr33n7007h has joined #ruby
RegulationD has quit [Remote host closed the connection]
Takle has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
bradleyprice has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chinmay_dd has quit [Remote host closed the connection]
blackmesa has joined #ruby
JimmyNeutron has quit [Remote host closed the connection]
Pharaoh2_ has joined #ruby
iamninja has quit [Ping timeout: 256 seconds]
OrbitalKitten has joined #ruby
Parker0 has quit [Client Quit]
agrinb has joined #ruby
Parker0 has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soda has joined #ruby
asmodlol has quit [Quit: Leaving]
Aswebb_ has joined #ruby
Pharaoh2 has quit [Ping timeout: 248 seconds]
Takle has quit [Ping timeout: 272 seconds]
dseitz has quit [Quit: bbl]
cjim__ has joined #ruby
thagomizer has joined #ruby
thagomizer has left #ruby [#ruby]
jobewan has joined #ruby
leafybas_ has joined #ruby
Junaos has quit [Remote host closed the connection]
User458764 has joined #ruby
leafybas_ has quit [Remote host closed the connection]
andikr has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
patrick99e99 has quit [Read error: Connection reset by peer]
Junaos has joined #ruby
sevvie has joined #ruby
quimrstorres has quit [Remote host closed the connection]
mrsolo has joined #ruby
krisquigley has quit [Remote host closed the connection]
jimms has joined #ruby
x77686d has quit [Quit: x77686d]
nickjj_ has joined #ruby
ponga has quit [Quit: Leaving...]
theRoUS|mtg is now known as theRoUS
quimrstorres has joined #ruby
krisquigley has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
leafybasil has quit [Ping timeout: 246 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
agarie has joined #ruby
\ELLIOTTCABLE is now known as ELLIOTTCABLE\
richardjortega has joined #ruby
Zai00 has quit [Quit: Zai00]
<richardjortega> hello
patrick99e99 has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<miah> hi
nickjj has quit [Ping timeout: 272 seconds]
<richardjortega> just created a gem and having difficulty on trying to figure out how to create a file/folder when another app uses my gem
agrinb has quit [Remote host closed the connection]
jimms_ has quit [Ping timeout: 244 seconds]
<shevy> wat
<shevy> require 'name_of_your_gem'
momomomomo has joined #ruby
<shevy> that is the standard convention and the most simple one too
<richardjortega> it's a gem for generated pngs based on some text, and i'd just like for when it exports to save to the apps present directory
<shevy> simply add an API that allows for precisely that
tcrypt has joined #ruby
<shevy> ExportImages.from '/tmp'
krisquigley has quit [Ping timeout: 264 seconds]
<richardjortega> mm... ok i'll check that out
quimrstorres has quit [Ping timeout: 265 seconds]
<shevy> in the above example, the gem name should conform to: require 'export_images'
fenicks has joined #ruby
<richardjortega> ok that makes sense
<shevy> if it is namespaced, you may have to add the leading name to it, like: Images::Export.method_call_here() (or alternatively, just use a .new but many people like specific names that make sense)
<shevy> your gem in question can then go and handle the directory-path passed to the API there
robertt_dex has joined #ruby
<richardjortega> so i changed it just now so it just saves to the folder it's being called from
rbennacer has joined #ruby
christiandsg has joined #ruby
<richardjortega> i guess i was having issues making a new folder in their current directory in which to save to
<richardjortega> shevy: will try suggestion
wald0 has quit [Quit: Lost terminal]
momomomomo has quit [Ping timeout: 248 seconds]
<richardjortega> I was trying somethign like this: File.expand_path("../../generated_images/#{filename}", __FILE__)
<richardjortega> then checking with FileUtils if the directory existed
<richardjortega> in my tests it was fine, but called from another app it wasn't relative
anaeem1 has quit [Remote host closed the connection]
ta has joined #ruby
clamstar has quit [Quit: ZNC - http://znc.in]
<richardjortega> ah the user could just pass filepath to me.... argghhh didnt' think about that until talking
Mon_Ouie has joined #ruby
christiandsg has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
atomi_ has quit [Quit: leaving]
craigp has quit [Remote host closed the connection]
balazs has joined #ruby
atomi has joined #ruby
C1V0 has quit []
tier has quit [Read error: Connection reset by peer]
zzing has joined #ruby
<balazs> can anyone explain why I can append to a frozen strip, but not "strip!" it ?
tier has joined #ruby
ta has quit [Ping timeout: 256 seconds]
<zzing> If I have a map that might have an element 'x' (such that I would access it with mymap['x']) what is the correct way to test for its existence?
<apeiros> balazs: how do you append?
<apeiros> zzing: I assume by "map" you mean Hash. and then it'd be Hash#has_key?
<apeiros> aliases: key?, include?
mitchellhenke has joined #ruby
momomomomo has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
lanemeyer has quit [Ping timeout: 246 seconds]
SouL has joined #ruby
<zzing> apeiros, yes Hash. I forgot if it was called that (I am more familiar with the data structures than the specific names given in ruby yet)
<balazs> apeiros: +=
<miah> i'd use key? or make sure to use #fetch with a default set
<apeiros> balazs: String#+ does not mutate the receiver
<apeiros> balazs: you create a new string, and assign that new string to the variable
juanpablo_ has joined #ruby
<apeiros> zzing: no worries. just making sure we talk about the same. you might have a custom class too or idontknowwhat :)
<zzing> quite right
<balazs> apeiros: sure, but intuitiely isn't a frozen variable like a constant ?
<zzing> Just running into ruby (with sinatra) from a too complex java springmvc project. (love the language btw)
<apeiros> balazs: misunderstanding. you freeze an object, not a variable.
<apeiros> >> x = "hi"; y = x; x.freeze; y.frozen?
<eval-in_> apeiros => true (https://eval.in/305210)
<apeiros> it doesn't matter that I called .freeze on x, and not on y. they reference the same object. and the object is what you freeze.
clamstar has joined #ruby
Hounddog has quit [Read error: Connection reset by peer]
<bradland> >> x = "hi"; y = x.dup; x.freeze; y.frozen?
<eval-in_> bradland => false (https://eval.in/305212)
craigp has joined #ruby
ta has joined #ruby
<miah> ruby constants can be redefined
craigp has quit [Read error: Connection reset by peer]
<miah> but you get a warning when you change them
<miah> not the same as immutable
craigp has joined #ruby
baweaver has joined #ruby
nickjj__ has joined #ruby
<miah> >> FOO='baz'; FOO='bar'
jenrzzz has quit [Ping timeout: 252 seconds]
<eval-in_> miah => /tmp/execpad-39862d83b2aa/source-39862d83b2aa:2: warning: already initialized constant FOO ... (https://eval.in/305213)
deol has quit [Ping timeout: 244 seconds]
<bradland> is freeze the only way to achieve imutability in Ruby?
jenrzzz has joined #ruby
<apeiros> you can even reassign constants without a warning using Module#remove_const
<jhass> bradland: well is it really immutable? I can still .unfreeze
_hamilcart has joined #ruby
<bradland> true
<bradland> as it turns out, this actually *is* sparta
<apeiros> bradland: some classes are immutable by default, like Symbol. also you can write native code. but else, yes, freeze is the way.
nickjj_ has quit [Ping timeout: 246 seconds]
ta has quit [Remote host closed the connection]
<apeiros> jhass: hu? unfreeze is not vanilla ruby…
ta has joined #ruby
<apeiros> >> x = "hi"; x.freeze; x.unfreeze
<eval-in_> apeiros => undefined method `unfreeze' for "hi":String (NoMethodError) ... (https://eval.in/305215)
<jhass> it's not?
<apeiros> no
<jhass> hrm, where did I see it then...
<apeiros> evil.rb?
<jhass> maybe, though my vague memory claims I've seen it before evil.rb
rubytor has quit [Ping timeout: 255 seconds]
<miah> #freeze docs say
<miah> Prevents further modifications to obj. A RuntimeError will be raised if modification is attempted. There is no way to unfreeze a frozen object. See also Object#frozen?.
<apeiros> there have been talks about Object#thaw and #unfreeze iirc. but neither has ever been added.
deol has joined #ruby
wet88 has joined #ruby
wet88 has left #ruby ["Leaving the channel"]
<miah> does dup carry the frozen status i wonder?
wet88 has joined #ruby
fryguy9 has joined #ruby
<apeiros> it's a bit sad that there's no #clone which does not copy frozen state. or put differently: that there's no dup which does copy the singleton_class
<apeiros> miah: no, dup does not. clone does.
<apeiros> but dup does not copy the singleton_class. clone otoh does.
<miah> there was a good talk about ruby immutability recently iirc
<apeiros> which means there's a gap in functionality. stumbled over that when I wanted to clone frozen classes :(
jenrzzz has quit [Ping timeout: 272 seconds]
<miah> may have been this one; https://www.youtube.com/watch?v=VnC_JccUPkw
rokob has quit [Remote host closed the connection]
<shadoi> apeiros: huh.. never thought of it that way, I always though dup was intended as a way to get a mutable obj from an immutable one.
<shadoi> where clone was supposed to be an exact copy
ny837 has joined #ruby
<apeiros> sausage + ratatouille = yummi
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimms has quit [Remote host closed the connection]
milesmatthias has joined #ruby
Morkel has joined #ruby
<ny837> Hi guys, quick question about sucker_punch. As MRI only executes code in one thread, what exactly happens when I run code A, async.perform(B), C, and D? Is it executed in this order: A, C, D, B?
devoldmx_ has quit []
<jhass> ny837: MRI is still concurrent, it's just not parallel
<jhass> for most workloads
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> ny837: most likely there's no order guarantee
<ny837> @jhass: So, it'll be executed in any order
<jhass> yep
<apeiros> for B that is.
<apeiros> A C D will be executed in that order of course.
rubytor has joined #ruby
<ny837> ok makes sense. One more question. I have these jobs created in Sinatra. Once I am done with A, C and D and we respond to the client, and say B is still not done. Then what happens? Does Sinatra / Passenger wait for B to finish before responding and closing the forked process?
baweaver has quit [Remote host closed the connection]
agrinb has joined #ruby
<ny837> I understand that this may be a silly question :)
OrbitalKitten has joined #ruby
sandelius has joined #ruby
<jhass> that depends a bit on what async.perform does, but most likely the answer is no
milesmatthias has quit [Ping timeout: 252 seconds]
sandelius has quit [Max SendQ exceeded]
<ny837> So, there's a possibility that B never gets executed?
<jhass> no
anaeem1 has joined #ruby
bronson has quit [Remote host closed the connection]
adriancb has quit [Ping timeout: 256 seconds]
kyrylo_ has joined #ruby
<apeiros> I don't think that's what he meant
<jhass> (well, depends again on what async.perform does exactly, but again very unlikely)
kyrylo has quit [Ping timeout: 272 seconds]
<apeiros> there's a possibility it doesn't get executed - i.e. when the whole app dies
gisli has left #ruby [#ruby]
<apeiros> but the rest depends on sucker_punch's implementation
cjim__ has quit [Quit: (null)]
nfk|laptop has joined #ruby
<ny837> Yeah, I understand if the whole app dies. Okay, I'll ask the author about this scenario. Thank you so much, guys!
<greedo> does ruby have a "throwaway" variable?
<apeiros> greedo: no. what do you intend to do with it?
hpoydar has joined #ruby
<greedo> an underscore
<apeiros> that's not really an answer to my question
<apeiros> but _ is a valid local variable name in ruby
kith has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
kith has joined #ruby
<greedo> that works
<jhass> actually _ can even be used in some contexts where using a regular variable twice would produce a warning with ruby -w
<jhass> (now I need to remember where that was I guess)
<apeiros> I think 2.2 warns about all unused vars
<apeiros> and all lvars starting with _ are exempt
<greedo> I use unused vars in python
<jhass> that's true for some time, but not what I mean :)
ghr has quit [Ping timeout: 250 seconds]
kenichi_ is now known as kenichi
<greedo> I was just seeing if it also existed in ruby
jimms has joined #ruby
benegget_ has joined #ruby
<jhass> >> def foo(a, a); end;
<eval-in_> jhass => /tmp/execpad-89ff7410f4f8/source-89ff7410f4f8:2: duplicated argument name ... (https://eval.in/305231)
<jhass> >> def foo(_, _); end;
<eval-in_> jhass => :foo (https://eval.in/305232)
<jhass> tada!
hpoydar has quit [Ping timeout: 245 seconds]
dfinninger has joined #ruby
kyrylo_ is now known as kyrylo
beneggett has quit [Ping timeout: 256 seconds]
Notte has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<miah> rubocop usually tells me about unused vars =)
<miah> or maybe syntastic is just catching the ruby errors at this point
shadoi1 has joined #ruby
x77686d has joined #ruby
AlexRussia has quit [Ping timeout: 250 seconds]
razieliyo has quit [Quit: Saliendo]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
ny837 has quit []
Takle has joined #ruby
rubytor has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
adriancb has joined #ruby
User458764 has joined #ruby
milesmatthias has joined #ruby
O_the_Del has joined #ruby
jottr_ has joined #ruby
ELLIOTTCABLE\ is now known as ELLIOTTCABLE
jenrzzz has joined #ruby
psy_ has joined #ruby
RegulationD has joined #ruby
nickjj_ has joined #ruby
Takle has quit [Remote host closed the connection]
Pharaoh2_ is now known as Pharaoh2
doodlehaus has joined #ruby
nickjj__ has quit [Ping timeout: 255 seconds]
wallerdev has joined #ruby
snath has quit [Ping timeout: 252 seconds]
rokob has joined #ruby
LJT has quit [Quit: Sleeping...]
jottr_ has quit [Ping timeout: 272 seconds]
RegulationD has quit [Ping timeout: 245 seconds]
dumdedum has quit [Quit: foo]
snath has joined #ruby
juanca_ has quit [Remote host closed the connection]
juanca_ has joined #ruby
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
richardjortega has quit [Quit: Page closed]
RegulationD has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
swgillespie has joined #ruby
yeticry has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Ping timeout: 250 seconds]
hpoydar has joined #ruby
duncannz has joined #ruby
bim has quit [Remote host closed the connection]
milesmatthias has quit [Remote host closed the connection]
adriancb has joined #ruby
juanca_ has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
bim has joined #ruby
freerobby has joined #ruby
quimrstorres has joined #ruby
Alina-malina has joined #ruby
milesmatthias has joined #ruby
newdan has joined #ruby
djbkd has joined #ruby
werelivinginthef has joined #ruby
ismaelga has quit [Remote host closed the connection]
hardlin3r has joined #ruby
shevy has joined #ruby
<newdan> Hi all, in Python if I want something to optionally be a pair, I can do `a, b = maybe_a_pair`, and if it turns out it isn't a pair I can catch a ValueError and handle the other case
sevvie has quit [Ping timeout: 256 seconds]
<newdan> Is there an equivalent in Ruby with destructuring? Or should I use maybe_a_pair.is_a? Array
O_the_Del has left #ruby ["Leaving..."]
quimrstorres has quit [Remote host closed the connection]
CanTonic has joined #ruby
CanTonic has quit [Client Quit]
quimrstorres has joined #ruby
<apeiros> newdan: and what do you use in ruby to represent a pair? an Array?
<newdan> apeiros, I suppose; like in the Python example I eventually just want to variables to refer to the two elements
<newdan> *want two variables
<apeiros> >> a, b = [1,2]; b
<eval-in_> apeiros => 2 (https://eval.in/305262)
<apeiros> >> a, b = [1]; b
<eval-in_> apeiros => nil (https://eval.in/305263)
<apeiros> that's how it works in ruby
<newdan> That is the coolest bot ever
<newdan> So just check if b is nil?
<apeiros> depends
<apeiros> it will also be nil if the second element of the array is nil
tlarevo has quit [Remote host closed the connection]
leafybasil has joined #ruby
<newdan> apeiros, hm. I suppose that is a pretty rare corner case that's not too relevant to me right now, but out of curiosity, what do you do in that case?
DerisiveLogic has quit [Ping timeout: 264 seconds]
<apeiros> you can use Array#size
tlarevo has joined #ruby
Notte has quit [Remote host closed the connection]
milesmatthias has quit [Remote host closed the connection]
<newdan> apeiros, gotcha. In either event won't bother me and this'll work perfectly, thanks for the help!
<apeiros> yw
User458764 has quit [Remote host closed the connection]
davispuh is now known as davism
xenokiller has joined #ruby
krisquigley has joined #ruby
davism is now known as davispuh
GnuYawk has quit [Ping timeout: 252 seconds]
ELLIOTTCABLE is now known as ec
quimrstorres has quit [Ping timeout: 246 seconds]
User458764 has joined #ruby
DerisiveLogic has joined #ruby
O_the_Del has joined #ruby
bonhoeffer has joined #ruby
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
User458764 has quit [Read error: Connection reset by peer]
Obfuscate` has joined #ruby
techsethi has joined #ruby
leafybasil has quit [Ping timeout: 272 seconds]
shadoi1 has quit [Quit: Leaving.]
Obfuscate has quit [Ping timeout: 250 seconds]
tier has quit [Read error: Connection reset by peer]
Obfuscate` is now known as Obfuscate
krisquigley has quit [Ping timeout: 246 seconds]
duncannz has quit [Ping timeout: 245 seconds]
tier has joined #ruby
agrinb has quit [Remote host closed the connection]
baweaver has joined #ruby
agrinb has joined #ruby
<GaryOak_> every day I'm just like "ruby is so cool"
<acl777> ... and then i open javascript :-(
bonhoeffer has quit [Quit: bonhoeffer]
juanpablo_ has quit [Quit: (null)]
<GaryOak_> can't have everything
<acl777> lol
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<acl777> maybe with opal...
<GaryOak_> ruby > js compiler?
fryguy9 has quit [Quit: Leaving.]
bonhoeffer has joined #ruby
<acl777> yea
sevvie has joined #ruby
<GaryOak_> cool
<acl777> the Volt framework (think: Meteor but in ruby) uses opal for the browser side
werelivinginthef has quit [Ping timeout: 256 seconds]
fryguy9 has joined #ruby
tier has quit []
palms_ is now known as palms
agrinb has quit [Ping timeout: 264 seconds]
<GaryOak_> that looks interesting
_64k has joined #ruby
agarie has quit [Remote host closed the connection]
<acl777> oh yeah. very cool. volt uses websockets to sync the front and back-ends.
<acl777> i haven't played with it yet
mesamoo has joined #ruby
milesmatthias has joined #ruby
<GaryOak_> websockets are pretty cool to work with
sevvie has quit [Ping timeout: 246 seconds]
<GaryOak_> You can do some pretty cool things
baweaver has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
sevvie has joined #ruby
<acl777> yeah, i'm doing a project with Websocket rails now.
juanca_ has joined #ruby
<acl777> what did you do with websockets?
<GaryOak_> a friend and I were building a virtual game table in the browser
maletor has quit [Ping timeout: 264 seconds]
juanpablo_ has joined #ruby
<GaryOak_> you could drag cards and tokens onto the board and play board games with people
<acl777> nice. what stack did you use to build it in?
ghostpl_ has quit [Remote host closed the connection]
<GaryOak_> we ended up using nodejs/socketio because it had the best websocket support at the time
<GaryOak_> that was in like 2011/2012
<acl777> oic. you definitely know the pain of JS... ;-)
<acl777> welcome to #ruby :-)
<GaryOak_> yeah I hit my js async wall doing that stuff, but I'm glad I did
jherbst has joined #ruby
max96at is now known as max96at|off
rubytor has quit [Ping timeout: 246 seconds]
<GaryOak_> now I understand async a lot better in other languages
sevvie has quit [Ping timeout: 264 seconds]
agarie has joined #ruby
<acl777> yeah, i'm having more fun in JS than i expected.
Vile` has quit [Ping timeout: 252 seconds]
plashchynski has quit [Quit: plashchynski]
<acl777> will definitely have to do more JS
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GaryOak_> I like JS
<GaryOak_> but it has it's flaws and tradeoffs like every language
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has joined #ruby
bronson has joined #ruby
<shevy> we can't be friends now GaryOak_
<shevy> what is coming next - that you think that PHP is more popular than ruby?!?!
O_the_Del has quit [Remote host closed the connection]
tjohnson has quit [Quit: Connection closed for inactivity]
kraljev11 has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
rokob has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
O_the_Del has joined #ruby
adriancb has joined #ruby
kirun has joined #ruby
pandaant has quit [Remote host closed the connection]
<GaryOak_> make ruby embeddable in html in an apache module, and it could be
<acl777> lol
bronson has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby
banister has joined #ruby
<acl777> well, that's what micro ruby is for, isn't it?!
baweaver has joined #ruby
hgl has quit [Ping timeout: 244 seconds]
<agarie> MRuby is for embedded devices afaik
<GaryOak_> not quite the same kind of embeddable
tlarevo has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
<r3Dk1nG> The MicroRuby framework allows Ruby bytecode to execute on limited resource systems, to include low-cost microcontrollers.
teddyp1cker has quit [Remote host closed the connection]
hgl has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shadoi> GaryOak_: you mean like modruby?
<shadoi> didn't work out so well :)
<GaryOak_> how come?
zzing has joined #ruby
<shadoi> you can't run multiple apps at the same time under it
<GaryOak_> ohhh
gorroth has quit [Quit: Leaving]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<shadoi> and various other corner cases that I can't remember :)
<acl777> oh shit, DEA7TH is here...
<acl777> we're screwed! :-)
<apeiros> but mruby isn't modruby
O_the_Del has left #ruby ["Leaving..."]
reinaldo_ has joined #ruby
reinaldob has quit [Read error: Connection reset by peer]
<shadoi> turns out there's a modruby for mruby too…
kadoppe has quit [Ping timeout: 272 seconds]
<apeiros> that + passenger and you can do something similar to mod_php with ruby
relix has joined #ruby
agarie has quit [Remote host closed the connection]
<shadoi> passenger is a lot more like mod_fcgi, but yeah
Troy^ has joined #ruby
agarie has joined #ruby
centrx has joined #ruby
Troy^ has quit [Max SendQ exceeded]
kadoppe has joined #ruby
Limix has joined #ruby
zenith__ has quit [Remote host closed the connection]
Troy^ has joined #ruby
Musashi007 has joined #ruby
<GaryOak_> eh PHP just got there first
Lewix has quit [Remote host closed the connection]
adriancb_ has joined #ruby
Musashi007 has quit [Client Quit]
<sweeper> bah you had me excited about microruby
The_Phoenix has quit [Ping timeout: 264 seconds]
adriancb has quit [Ping timeout: 246 seconds]
<sweeper> it's not fully implmented yet D:
<DEA7TH> xD
milesmatthias has quit [Remote host closed the connection]
<shadoi> I've been curious to play with this and see what the limitations are: https://github.com/matsumoto-r/mod_mruby
<GaryOak_> also http://artoo.io
Musashi007 has joined #ruby
delianides has quit [Remote host closed the connection]
led has joined #ruby
maximski has joined #ruby
_64k has quit [Ping timeout: 256 seconds]
delianides has joined #ruby
skelterjohn has left #ruby [#ruby]
reinaldo_ is now known as reinaldob
r3Dk1nG has quit [Quit: Konversation terminated!]
The_Phoenix has joined #ruby
timmmaaaayyy has left #ruby ["Leaving..."]
djbkd has quit [Remote host closed the connection]
A205B064 has joined #ruby
doodleha_ has joined #ruby
craigp has quit [Remote host closed the connection]
doodlehaus has quit [Read error: Connection reset by peer]
shellfu has quit [Read error: Connection reset by peer]
techsethi has quit [Quit: techsethi]
lanemeyer has joined #ruby
momomomomo has quit [Ping timeout: 246 seconds]
rdark has quit [Quit: leaving]
freerobby has quit [Ping timeout: 264 seconds]
_64k has joined #ruby
gfawcettpq has quit [Ping timeout: 256 seconds]
bradleyprice has joined #ruby
rbennacer has joined #ruby
Limix has quit [Quit: Limix]
lidenbrock has joined #ruby
craigp has joined #ruby
<jsrn> Say I have an object, and within a function I'm only (currently) interested in one attribute of that object. Is there any memory saving in only passing along that attribute vs. passing the whole object?
jottr_ has joined #ruby
iliketurtles has joined #ruby
<Mon_Ouie> No, either way you pass a reference to an object, you don't copy its contents (instance variables, etc.), and on all implementations as far as I know all references take up the same amount of space
benegget_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
<jsrn> Mon_Ouie: Great, thanks :)
jayeshsolanki has quit [Quit: bye!]
fenicks has quit [Read error: Connection reset by peer]
pietr0 has joined #ruby
bluOxigen has joined #ruby
joemeade has quit [Remote host closed the connection]
maximski has quit []
iliketurtles has quit [Remote host closed the connection]
Vile` has joined #ruby
djbkd has joined #ruby
kraljev11 has quit [Quit: kraljev11]
juanca_ has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
<shevy> when I may require to reshuffle dataset based on different ways of sorting
yqt has joined #ruby
<shevy> from the commandline, where the user may pass/use different flags, I suppose using a Hash is better than an Array?
riotjones has joined #ruby
juanca_ has joined #ruby
juanca_ has quit [Read error: Connection reset by peer]
<shevy> for instance
<shevy> result = `ls -la`
teddyp1cker has joined #ruby
juanca_ has joined #ruby
einarj has joined #ruby
<shevy> hmm... using an Array and splitting on ' ' or "\t" may be simplest, but perhaps it may be better to name each field there, to allow for a simpler reshuffling of said dataset
ROOM1 has joined #ruby
<ROOM1> hi
<sweeper> shevy: surely there are like 20 cli gems?
einarj_ has joined #ruby
willharrison has joined #ruby
<ROOM1> hi am I invisible
<shevy> sweeper: which one would you recommend
giuseppesolinas has joined #ruby
momomomomo has joined #ruby
<sweeper> no clue, just sayin, there's prolly something decent out there
<ROOM1> I think here it's not for me right
<shadoi> shevy: slop is a good first shot
<miah> mixlib-cli is alright
<shevy> ROOM1 go and learn ruby man
<miah> but so is optionparser =)
<miah> and optparser is builtin..
hiyosi has joined #ruby
<shadoi> slop is the closest to optparser without the weirdness of optparser :)
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
<miah> ya optparser does have some weird
kstuart has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
<shadoi> it has nice collection support also
<shadoi> GLI is cool if you want to build a big extensible command suite
dotix has joined #ruby
dotix has joined #ruby
_hollywood has quit [Quit: Leaving]
einarj has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby
CustosLimen has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
Parker0 has quit [Ping timeout: 246 seconds]
<ROOM1> shevy ok what do you guys do
djbkd has quit [Remote host closed the connection]
<greedo> is there an easy way to do partial funcs in ruby?
djbkd has joined #ruby
_64k has quit [Ping timeout: 264 seconds]
ghostpl_ has joined #ruby
djbkd has quit [Remote host closed the connection]
chrishough has joined #ruby
existensil has joined #ruby
djbkd has joined #ruby
Asmurf has quit [Quit: leaving]
<centrx> greedo, curry?
existensil has quit [Client Quit]
cpruitt has quit [Quit: cpruitt]
existensil has joined #ruby
swgillespie has joined #ruby
vim_shimm has joined #ruby
Jiyuhen has joined #ruby
startupality has joined #ruby
<greedo> if that makes sense
milesmatthias has joined #ruby
<GaryOak_> IIRC slop doesn't do subcommands
ROOM1 has quit [Excess Flood]
juanca_ has quit [Remote host closed the connection]
<baweaver> >> fn = -> x,y { -> z { x + y + z} }.call(1,2); fn.call(3)
<eval-in_> baweaver => 6 (https://eval.in/305365)
<baweaver> are there helper gems, yes
<greedo> centrx: so basically supplying fewer than the total number of arguments
<baweaver> but really it's just wrapping it in another function which closes over those values
ghostpl_ has quit [Ping timeout: 245 seconds]
<baweaver> greedo: yes, currying
<baweaver> semantics
<greedo> indeed
dotix has quit [Ping timeout: 265 seconds]
<greedo> I was looking at Proc
rbennacer has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
<baweaver> there are ways to do it, though I wouldn't force Ruby to unless you really need it.
zorak8 has quit [Read error: Connection reset by peer]
reinaldob has quit [Remote host closed the connection]
beneggett has joined #ruby
<greedo> so it can be done but is not good Ruby form
<kstuart> greedo: ruby has a curry function
zorak8 has joined #ruby
willharrison has quit [Ping timeout: 256 seconds]
rbennacer has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
milesmatthias has quit [Remote host closed the connection]
existensil has quit [Quit: WeeChat 0.4.2]
wallerdev has joined #ruby
<greedo> indeed, it is part of Proc
DavidDudson has joined #ruby
zorak8 has joined #ruby
dseitz has joined #ruby
speakingcode has quit [Ping timeout: 244 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
existensil has joined #ruby
speakingcode has joined #ruby
last_staff has joined #ruby
juanca_ has joined #ruby
<kstuart> Method#curry is also useful
doodleha_ has quit [Ping timeout: 264 seconds]
milesmatthias has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
<gr33n7007h> >> sum = lambda{|f,a,b|; s=0; a.upto(b){|n| s += f[n] }; s;}.curry.(lambda{|x| x })[1,5]
<eval-in_> gr33n7007h => 15 (https://eval.in/305369)
mistermocha has joined #ruby
startupality has quit [Quit: startupality]
bonhoeffer has joined #ruby
<baweaver> >> (1..5).reduce(:+) # Though there's probably a more succinct way to do things out there.
<eval-in_> baweaver => 15 (https://eval.in/305370)
ndrei has joined #ruby
zenith_ has joined #ruby
hardlin3r has quit [Ping timeout: 256 seconds]
bricker has joined #ruby
andikr has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
DerisiveLogic has quit [Ping timeout: 245 seconds]
Zai00 has joined #ruby
beneggett has quit [Ping timeout: 244 seconds]
beneggett has joined #ruby
zenith_ has quit [Remote host closed the connection]
nateberkopec has joined #ruby
quimrstorres has joined #ruby
lanemeyer has quit []
ascarter has joined #ruby
beneggett has quit [Client Quit]
existensil has quit [Quit: WeeChat 0.4.2]
existensil has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
ascarter has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
fakam has joined #ruby
krisquigley has joined #ruby
Takle has joined #ruby
jimms has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
<fakam> Do employers prefer you know Test::Unit or Rspec?
<fakam> I am learning testing and want to find the best suite.
dc_ has joined #ruby
quimrstorres has joined #ruby
<fakam> That employers look for.
<weaksauce> fakam I think learning how to write testable code and the basics of testing is what they want
<weaksauce> realistically there isn't *that* much difference between the two.
<fakam> So as long as I am testing is the importance.
ascarter has joined #ruby
iamninja has joined #ruby
rbennacer has quit [Remote host closed the connection]
existensil has quit [Quit: WeeChat 0.4.2]
<fakam> I tend to like the way Rspec is more than Test::Unit
lxsameer has quit [Quit: Leaving]
DerisiveLogic has joined #ruby
<weaksauce> pretty much. you can learn how to use rspec pretty quickly and vice versa.
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<weaksauce> go for rspec if you like it more.
jimms has joined #ruby
existensil has joined #ruby
<fakam> I like how it's more english readable like ruby
<fakam> Thanks for the input, I appreciate it.
baweaver has quit [Ping timeout: 252 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
plashchynski has joined #ruby
<fakam> I heard that JR devs do mostly Testing, is that true?
quimrstorres has quit [Ping timeout: 244 seconds]
quimrsto_ has joined #ruby
Takle has quit [Remote host closed the connection]
<weaksauce> depends on the shop but yeah testing would be more a jr dev thing to do if the responsibilities were split up. (one person tests, one person writes the implementation)
existensil has quit [Client Quit]
lanemeyer has joined #ruby
doodlehaus has joined #ruby
<greedo> thanks baweaver, kstuart
<fakam> Okay, I'm just trying to prepare myself on what I need to know as a JR dev :)
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hardlin3r has joined #ruby
<fakam> Next step is testing rails :)
deol has quit [Read error: Connection reset by peer]
jonr22 has joined #ruby
deol has joined #ruby
<greedo> sometimes you have to write both code and tests in parallel
<fakam> Well, I have been writing rails apps without testing to understand the inner workings.
JDiPierro has quit [Remote host closed the connection]
beneggett has joined #ruby
rodfersou has quit [Quit: leaving]
jimms has quit [Remote host closed the connection]
harumph has joined #ruby
qhartman has joined #ruby
<harumph> hello ruby
harumph has left #ruby [#ruby]
hardlin3r has quit [Ping timeout: 255 seconds]
doodlehaus has quit [Ping timeout: 245 seconds]
<fakam> I have been learning for 3 months ruby, rails, JS Jquery HTML CSS.. I have 3 months left of full time studying.. hopfully I can land a jr dev job.
<fakam> 6 months of total learning.
MasterPiece has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
<fakam> Anyways thanks for the input.
shazaum has quit [Quit: Leaving]
adriancb_ has quit [Read error: Connection reset by peer]
adriancb has joined #ruby
brb3 has quit [Quit: <.<]
<led> I am curious about the semantics of Array#uniq where a block is used, it seems that the "first" match is always returned i.e. [{a: 1, b:2}, {a:1, b:3}, {a:2, b:99}].uniq{|e| e[:a]} returns [{:a=>1, :b=>2}, {:a=>2, :b=>99}] but the order of the output is not necessarily defined as it basically uses Hash#values i.e. [{:a=>2, :b=>99}, {:a=>1, :b=>2}] seems possible as an output
Takle has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
silkfox has quit [Ping timeout: 250 seconds]
jonr22 has joined #ruby
adriancb has joined #ruby
Channel6 has joined #ruby
rhllor has quit [Quit: rhllor]
hpoydar has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has quit [Quit: Leaving]
dc_ has quit [Remote host closed the connection]
quimrsto_ has quit [Remote host closed the connection]
doodlehaus has joined #ruby
quimrstorres has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
fryguy9 has quit [Quit: Leaving.]
zorak8 has quit [Ping timeout: 252 seconds]
unclouded has quit [Quit: Leaving]
xenokiller has quit [Ping timeout: 250 seconds]
speakingcode has quit [Ping timeout: 245 seconds]
ldnunes has quit [Quit: Leaving]
baweaver has joined #ruby
zorak8 has joined #ruby
dc_ has joined #ruby
Notte has joined #ruby
hpoydar has joined #ruby
relix has joined #ruby
GPH|work has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has quit [Ping timeout: 250 seconds]
last_staff has quit [Quit: last_staff]
wldcordeiro has joined #ruby
devops_guy has joined #ruby
xcombelle has quit [Quit: Quitte]
jamgood96 has joined #ruby
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
doodlehaus has joined #ruby
<devops_guy> Hey guys! Any good online tools to help escape a rather large bash PS1 export? I need to do this for a server spec test
banister is now known as banisterfiend
dc_ has quit [Ping timeout: 250 seconds]
<jamgood96> If I have a date, and a time, and I know the timezone (but not if it's standard or daylight) how would I go about building a datetime?
LJT has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
delianides has quit [Remote host closed the connection]
giuseppesolinas has left #ruby ["Leaving"]
Takle has quit [Remote host closed the connection]
adriancb has quit [Ping timeout: 252 seconds]
<GaryOak_> depending on if the timezone respects dst and depending on the date you can determine the datetime, I think
djbkd has quit [Remote host closed the connection]
DavidDudson has joined #ruby
<GaryOak_> jamgood96: but I guess you aren't asking that :P
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
charliesome has joined #ruby
duncannz has joined #ruby
newdan has quit [Remote host closed the connection]
<jamgood96> GaryOak_: So I have a specific date, and a specific time, and I know that it is *meant* to be Eastern time. So I'd like to build a datetime from that and have Ruby figure out if it would be EDT or EST. That make sense?
duncannz has quit [Max SendQ exceeded]
ghostpl_ has joined #ruby
duncannz has joined #ruby
<GaryOak_> you could probably figure out a better way to do this
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
<GaryOak_> if you have strings then you can just directly feed them into datetime
devops_guy has quit [Quit: Leaving]
<GaryOak_> lots of info in the docs
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
djbkd has joined #ruby
duncannz has quit [Max SendQ exceeded]
lidenbrock has quit [Quit: Page closed]
duncannz has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
duncannz has quit [Max SendQ exceeded]
gfawcettpq has joined #ruby
duncannz has joined #ruby
spyderma_ has quit [Ping timeout: 246 seconds]
duncannz has quit [Max SendQ exceeded]
adriancb has joined #ruby
livingstn has quit []
<jamgood96> Problem with building from DateTime is it requires the timezone piece to already be either EST or EDT
cjim__ has joined #ruby
duncannz has joined #ruby
<jamgood96> all I have is 'Eastern Time (US & Canada)'
duncannz has quit [Max SendQ exceeded]
sevvie has joined #ruby
reinaldob has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
Morkel has quit [Quit: Morkel]
ghostpl_ has quit [Ping timeout: 256 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
cjim__ has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Remote host closed the connection]
agarie has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 245 seconds]
dc_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinaldob has quit [Ping timeout: 248 seconds]
sevvie has joined #ruby
<bradland> jamgood96: what is your actual data? a string?
dotix has joined #ruby
dotix has quit [Client Quit]
bradleyp_ has joined #ruby
<bradland> the core class Time can tell you whether something is dst, i think, based on system locale data
doodlehaus has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<GaryOak_> ^ nice
cpruitt has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
mdarby has quit [Remote host closed the connection]
<bradland> you only need DateTime if you need the additional functionality of the DateTime class from Std-lib
<bradland> keep in mind that Ruby's date/time related classes and modules have changed somewhat in recent revisions
<bradland> so be sure to check the docs for the appropriate ruby version
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GaryOak_> it seems like datetime is more for dealing with representing datetimes for use with other systems
paulcsmith has quit [Quit: Be back later ...]
<GaryOak_> not really manipulating times
bradleyprice has quit [Ping timeout: 255 seconds]
<jamgood96> The raw data would be something like "2015-04-09" for date and "18:00" for time
crueber has quit [Quit: Leaving.]
<bradland> >> >> Time.local(2015,1,1).dst?
<eval-in_> bradland => /tmp/execpad-d71d2221afe4/source-d71d2221afe4:2: syntax error, unexpected >> ... (https://eval.in/305395)
hardlin3r has joined #ruby
<bradland> >> Time.local(2015,1,1).dst?
<eval-in_> bradland => false (https://eval.in/305396)
greenbagels has joined #ruby
<bradland> >> Time.local(2015,6,1).dst?
<eval-in_> bradland => false (https://eval.in/305397)
<bradland> derp
<bradland> >> Time.zone
<eval-in_> bradland => undefined method `zone' for Time:Class (NoMethodError) ... (https://eval.in/305398)
<bradland> >> Time.local.zone
<eval-in_> bradland => wrong number of arguments (0 for 1..8) (ArgumentError) ... (https://eval.in/305399)
<bradland> sry to flood
<bradland> i can't remember off the top of my head
<jamgood96> and for that date I'd know I want the Time object created to be in 'America/Chicago' or something
sevvie has quit [Ping timeout: 245 seconds]
<bradland> a couple of things to remember when working with time
frem has joined #ruby
<bradland> time zone is localization information, not time information
<bradland> likewise with DST
<bradland> one other thing
vim_shimm has quit [Ping timeout: 246 seconds]
jconnolly has quit [Ping timeout: 245 seconds]
<bradland> Time is a date and a time
baweaver has quit [Remote host closed the connection]
<bradland> despite the fact that it's just named Time
<bradland> DateTime is just a separate ruby module that is somewhat of a relic
<bradland> what ruby version are you using?
dc_ has quit [Remote host closed the connection]
<jamgood96> I'm using 2.1.2p95
<bradland> ok, cool
<bradland> and the date and time information comes to you as two separate strings, right?
<jamgood96> correct
<bradland> is the format consistent and reliable?
triple_b has quit [Ping timeout: 250 seconds]
<bradland> like the order of the year, month, day, etc
<jamgood96> as well as what timezone it is (but not whether it's DST or not)
<jamgood96> yeah, reliable
<bradland> k, just a sec
<bradland> i'm going to whip up an example or two
Pupeno_ has joined #ruby
jerius has quit [Ping timeout: 265 seconds]
<jamgood96> sweet! thank you
plashchynski has quit [Quit: plashchynski]
<shevy> bradland also whip yourself
baweaver has joined #ruby
<shevy> programming is pain after all
Pupeno has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
sevvie has joined #ruby
<GaryOak_> programming == beauty
anaeem1 has quit [Remote host closed the connection]
kblake has quit [Read error: Connection reset by peer]
overcrush has joined #ruby
jottr_ is now known as jottr
anaeem1 has joined #ruby
kblake has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
Asher has joined #ruby
baweaver has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
<bradland> jamgood96: whipped! http://pastie.org/10056026
craigp has quit []
vim_shimm has joined #ruby
<bradland> you build up a string that DateTime#parse will understand, then call to_time, because strangely, DateTime doesn't have that method
decoponio has quit [Quit: Leaving...]
<jamgood96> awesome!
agrinb has joined #ruby
wet88 has quit [Quit: Quiting the chat]
leafybasil has joined #ruby
<bradland> hrm
<bradland> may not be so awesome lol
agarie has joined #ruby
<apeiros> bradland: I guess you mean DateTime::parse and "Time doesn't have that"?
<bradland> i think i'm losing the time zone
sevvie has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
<apeiros> and time does. but you have to require 'time' ;-)
<jamgood96> i'm trying now
<apeiros> >> require 'time'; Time.parse("20150326", "%Y%m%d")
<eval-in_> apeiros => undefined method `getlocal' for "%Y%m%d":String (NoMethodError) ... (https://eval.in/305403)
adzuci has quit [Quit: leaving]
<apeiros> plerp, what did I do?
<apeiros> ah, right. parse vs. strptime
<apeiros> do. not. use. parse.
agarie has quit [Client Quit]
<shevy> haha
<apeiros> use strptime.
adriancb has joined #ruby
<apeiros> parse is like "let ruby guess what format it is and hope it fits"
<apeiros> >> require 'time'; Time.strptime("20150326", "%Y%m%d")
<eval-in_> apeiros => 2015-03-26 00:00:00 +0000 (https://eval.in/305404)
ada2358 has joined #ruby
<apeiros> anyway, both, Time.parse and Time.strptime are added via require 'time'.
n008f4g_ has quit [Quit: leaving]
<jamgood96> apeiros: but then what about specifying the timezone without knowing if it's DST or ST?
Azure has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
plashchynski has joined #ruby
hardlin3r has quit [Quit: Leaving]
yuung has quit [Ping timeout: 246 seconds]
ada2358 has quit [Client Quit]
ada2358 has joined #ruby
sevvie has joined #ruby
riotjones has joined #ruby
adriancb has quit [Remote host closed the connection]
plashchynski has quit [Client Quit]
dfinninger has quit [Remote host closed the connection]
<GaryOak_> lol just wrote a self blocking sinatra route
fryguy9 has joined #ruby
<bradland> jamgood96: when you build up a time from the components, you specify the time zone
<bricker> jamgood96: Tread carefully... https://www.youtube.com/watch?v=-5wpm-gesOY (Tom Scott talking about timezones)
vdamewood has joined #ruby
<apeiros> jamgood96: america/chicago isn't recognized by either parse or strptime
plashchynski has joined #ruby
<apeiros> you'll need something like TZinfo gem for that
jenrzzz_ has joined #ruby
<jamgood96> what about something like "Eastern Time (US & Canada)"
<jamgood96> bricker: I've seen that video, and I'm definitely going a bit crazy with this!!!
<apeiros> afaik they only accept offset and abbreviation
sevvie has quit [Ping timeout: 264 seconds]
Troy^ has joined #ruby
djbkd has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 252 seconds]
jherbst has joined #ruby
freerobby has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
fryguy9 has quit [Ping timeout: 246 seconds]
milesmatthias has quit [Remote host closed the connection]
<apeiros> I haven't use tzinfo myself, so this might be wrong, but:
ada2358 is now known as adzuci
<apeiros> TZInfo::Timezone.get("America/Chicago").current_period.utc_offset # gives you the offset in seconds for now
juanca_ has quit [Remote host closed the connection]
<apeiros> but I guess you should find it for the given date
noname1 has joined #ruby
djbkd has joined #ruby
niotoanzasenco has joined #ruby
Lewix has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
Takle has joined #ruby
bim has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 246 seconds]
bim has joined #ruby
bim has quit [Remote host closed the connection]
bim has joined #ruby
dc_ has joined #ruby
NivenHuH has joined #ruby
dorei has joined #ruby
banisterfiend has quit [Remote host closed the connection]
nettoweb has joined #ruby
mjuszczak has quit []
dc_ has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
<bradland> sorry, got pulled away by a phone call
<bradland> jamgood96: whether or not the time is DST is dependant upon locale rules
jlast has quit [Remote host closed the connection]
<bradland> what you do is, you build a valid Time object, then you check the status of Time#dst?
techietrash has joined #ruby
<bradland> how you build the Time object is important
<bradland> because DST rules are region (locale) specific
<jamgood96> bradland: but i'm struggling with how you even build a valid time object if all you know is it's "Central Time" or "Eastern Time"
<bradland> if your locale information is incorrect, the output of Time#dst? will be incorrect
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has quit [Remote host closed the connection]
<bradland> that's because you're thinking of it backwards
anaeem1 has joined #ruby
<bradland> you're building Time from date, time, and time zone
<bradland> the question of DST is coming from locale data
hpoydar has quit [Remote host closed the connection]
<bradland> whether or not any of this can be done accurately is an entirely separate question, but i prefer to be pragmatic
<bradland> do your best, then handle exceptions
hpoydar has joined #ruby
<bradland> apeiros' suggestion to use Time.strptime is a very good one
jenrzzz has joined #ruby
<bradland> strptime is the opposite of strftime
ghr has joined #ruby
<bradland> you provide a string containing your time data, and a format string, and Time#strptime will create a time object
jobewan has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 264 seconds]
anaeem1 has quit [Ping timeout: 246 seconds]
Tricon_ has joined #ruby
_hamilcart has quit [Ping timeout: 255 seconds]
quimrstorres has quit [Remote host closed the connection]
banister has joined #ruby
enebo has quit [Quit: enebo]
jenrzzz has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
niotoanzasenco has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jcromartie has joined #ruby
bronson has joined #ruby
nisstyre has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ismaelga has joined #ruby
cpruitt has quit [Quit: cpruitt]
jalcine has quit [Read error: Connection reset by peer]
jalcine has joined #ruby
jenrzzz has joined #ruby
kblake has quit [Ping timeout: 252 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 272 seconds]
<bradland> jamgood96: ugh, i see why you're frustrated lol
bronson has quit [Ping timeout: 250 seconds]
reinaldob has joined #ruby
anaeem1_ has joined #ruby
<bradland> i work with time zones in two contexts: within our rails app (where i have ActiveSupport::TimeWithZone to back me up) and in shell scripts, where I always use UTC, because...
anaeem1_ has quit [Remote host closed the connection]
<bradland> fuck time zones
anaeem1 has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
<bradland> the core and std-lib classess allow you to create valid Time objects, but manipulating the localization of those objects once created, is not terribly robust
christiandsg has joined #ruby
delianides has joined #ruby
<bradland> std-lib's TZInfo looks useful though, as apeiros points out
Troy^ has quit [Quit: Textual IRC Client: www.textualapp.com]
Notte has quit [Remote host closed the connection]
delianides has quit [Remote host closed the connection]
a346 has quit [Quit: a346]
djbkd has quit [Remote host closed the connection]
<apeiros> sadly, tzinfo is a gem, not stdlib
delianides has joined #ruby
<apeiros> you have to install it
<bradland> oh snap
<bradland> i must have it lying around then
nickjj_ is now known as nickjj
<apeiros> it's really something which should be added to the stdlib
<apeiros> or even implemented into Time/DateTime, because seriously…
<bradland> yeah, as much as everyone hates on ActiveSupport, the functionality included in TimeWithZone is really, _really_ handy
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> our app (heh, every app) deals with a lot of date/time information
<bradland> everything is UTC in the database, obvs, but that doesn't make it easy
krisquigley has joined #ruby
reinaldob has quit [Ping timeout: 272 seconds]
<bradland> jamgood96: you might look at using ActiveSupport's TimeWithZone class here: http://api.rubyonrails.org/classes/ActiveSupport/TimeWithZone.html
djbkd has joined #ruby
robertt_dex has quit [Ping timeout: 252 seconds]
<bradland> as heavy as ActiveSupport is, you can require it in parts, so you don't have to load the whole thing
<bradland> just be sure to require: false in your Gemfile
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_code has quit [Quit: BNC - Hosted by EpicKitty]
snath has quit [Ping timeout: 272 seconds]
code_ has joined #ruby
jonr2219 has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
wallerdev has joined #ruby
jonr22 has quit [Ping timeout: 244 seconds]
selu has joined #ruby
selu has quit [Client Quit]
ominari has joined #ruby
_64k has joined #ruby
n_blownapart has joined #ruby
GPH|work has quit [Ping timeout: 256 seconds]
spider-mario has quit [Read error: Connection reset by peer]
plashchynski has quit [Quit: plashchynski]
crdpink has quit [Ping timeout: 265 seconds]
jalcine has quit [Quit: ZNC - http://znc.in]
fibbel has joined #ruby
chipotle has joined #ruby
Stalkr^ has joined #ruby
jalcine has joined #ruby
a5i has quit [Quit: Connection closed for inactivity]
workmad3 has joined #ruby
juanpablo_ has quit [Quit: (null)]
charliesome has quit [Quit: zzz]
juanpablo_ has joined #ruby
bim has quit [Remote host closed the connection]
bim has joined #ruby
stryek has joined #ruby
sgambino has quit [Remote host closed the connection]
bim has quit [Remote host closed the connection]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpablo__ has joined #ruby
juanpablo_ has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
danman has quit [Quit: danman]
<jamgood96> bradland: sorry, got pulled off to a phone call for a bit
jherbst has joined #ruby
plashchynski has joined #ruby
Tricon_ is now known as Tricon
<bradland> np
<fakam> bradland what testing suite do you use?
crdpink has joined #ruby
ascarter_ has joined #ruby
ascarter has quit [Read error: Connection reset by peer]
<Stalkr^> Anyone using CarrierWave? When I upload something I see it in my SQLite database but not in my store_dir. Any idea?
<Stalkr^> I have storage :file and set store_dir method
badhatter has quit [Read error: Connection reset by peer]
fakam has quit [Quit: Leaving]
juanpablo__ has quit [Ping timeout: 250 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
davejacobs has joined #ruby
badhatter has joined #ruby
badhatter has quit [Changing host]
badhatter has joined #ruby
ominari has quit [Quit: Be back later ...]
djbkd has quit [Remote host closed the connection]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
ascarter_ has quit [Client Quit]
djbkd has joined #ruby
Feyn has joined #ruby
adriancb has joined #ruby
icebourg has quit []
mrsolo_ has joined #ruby
mrsolo_ has quit [Remote host closed the connection]
bim has joined #ruby
bim has quit [Remote host closed the connection]
Lewix has joined #ruby
djbkd has quit [Remote host closed the connection]
jimms has joined #ruby
quimrstorres has quit [Remote host closed the connection]
djbkd has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrsolo has quit [Read error: Connection reset by peer]
pwattste has joined #ruby
charliesome has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
<bradland> fakam: we really only do unit tests
Stalkr has joined #ruby
_64k has quit [Ping timeout: 252 seconds]
Stalkr^ has quit [Read error: Connection reset by peer]
anaeem1 has quit [Remote host closed the connection]
MasterPiece has joined #ruby
workmad3 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
anaeem1 has joined #ruby
baweaver has quit [Remote host closed the connection]
n_blownapart has quit []
<jamgood96> Stalkr^: I've used Carrierwave
anaeem1 has quit [Ping timeout: 252 seconds]
neruda has joined #ruby
Flcn has quit [Quit: Be back later ...]
<neruda> hi, when irb gives me back the heap(?) address of a newly created object what is the particular usefulness of that info? Whats the most common use case where thats needed?
RegulationD has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
jimms has quit [Remote host closed the connection]
existensil has joined #ruby
djbkd has quit [Remote host closed the connection]
<Radar> neruda: It doesn't really serve any real purpose.
vim_shimm has quit [Ping timeout: 264 seconds]
<GaryOak_> It's basically an identifier to check if something is pointing at the same object
wldcordeiro has quit [Ping timeout: 256 seconds]
<jamgood96> neruda: I'm sure the heap info is useful to someone, just not the everyday programmer
<GaryOak_> You don't have to have a naming system for the objects, and you get differentiation for free
nym has joined #ruby
delianid_ has joined #ruby
charliesome has quit [Quit: zzz]
RegulationD has quit [Ping timeout: 252 seconds]
_maes_ has joined #ruby
delianides has quit [Ping timeout: 264 seconds]
deliani__ has joined #ruby
kirun has quit [Quit: Client exiting]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
delianid_ has quit [Ping timeout: 246 seconds]
hpoydar has quit [Remote host closed the connection]
hpoydar has joined #ruby
jerius has joined #ruby
ominari has joined #ruby
swgillespie has joined #ruby
Tricon has quit [Quit: Lost terminal]
baweaver has joined #ruby
DavidDudson has joined #ruby
ghostpl_ has joined #ruby
fumduq has quit [Ping timeout: 252 seconds]
jefus has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
ghr has joined #ruby
jefus has joined #ruby
christiandsg has quit [Remote host closed the connection]
snockerton has joined #ruby
dc_ has joined #ruby
Wolland has joined #ruby
fumduq has joined #ruby
a5i has joined #ruby
Lewix has quit [Remote host closed the connection]
<snockerton> what does a variable then comma in isolation indicate from a syntax perspective?
Wolland has quit [Client Quit]
<snockerton> i.e.name, junk = x.to_s.split('(')
<snockerton> name, junk = x.to_s.split('(')
<snockerton> i've never seen a comma used like this
bronson has quit [Ping timeout: 252 seconds]
Zai00 has quit [Quit: Zai00]
<bricker> snockerton:
momomomomo_ has joined #ruby
<apeiros> snockerton: parallel assignment
<bricker> >> a, b = [1,2]; p a; p b
<eval-in_> bricker => 1 ... (https://eval.in/305448)
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
<bricker> arg
<bricker> snockerton: well, copy that code in your irb
teddyp1cker has joined #ruby
jamto11 has joined #ruby
<GaryOak_> that's pretty nice
<GaryOak_> didn't know about that
<snockerton> ah
<snockerton> excellent, ty
bim has joined #ruby
jespada has joined #ruby
GaryOak_ has quit []
milesmatthias has joined #ruby
ghostpl_ has quit [Ping timeout: 248 seconds]
valkyrka has joined #ruby
dfinninger has joined #ruby
milesmatthias has quit [Remote host closed the connection]
teddyp1cker has quit [Ping timeout: 265 seconds]
milesmatthias has joined #ruby
bim has quit [Ping timeout: 252 seconds]
x77686d has quit [Quit: x77686d]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
rickruby has joined #ruby
_2_ has joined #ruby
OtterCoder has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
_2_ has quit [Quit: WhatsChat IRC Android APP]
baweaver has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
riotjones has joined #ruby
vim_shimm has joined #ruby
sargas has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
djbkd has joined #ruby
hpoydar has quit [Remote host closed the connection]
einarj_ has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 256 seconds]
rbennacer has quit [Remote host closed the connection]
davejacobs has quit []
hpoydar has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
docsagast has joined #ruby
bim has joined #ruby
docsagast has quit [Client Quit]
charliesome has joined #ruby
vim_shimm has quit [Ping timeout: 264 seconds]
hpoydar has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
hpoydar has joined #ruby
Deele has joined #ruby
sargas has joined #ruby