apeiros changed the topic of #ruby to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
russt has quit [Quit: russt]
ponga has joined #ruby
ta has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
bluenemo_ has joined #ruby
klmlfl_ has quit [Ping timeout: 240 seconds]
lmickh has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 250 seconds]
AlexRussia has joined #ruby
asmodlol has joined #ruby
TgMts has joined #ruby
<dmarr> i upgraded ruby to 2.1 and sass to 3.4.9 and i think im fixed
ponga has quit [Ping timeout: 255 seconds]
Areessell has joined #ruby
bluenemo has quit [Ping timeout: 272 seconds]
brijesh has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 258 seconds]
Techguy305 has joined #ruby
dmarr has left #ruby ["Leaving..."]
snath has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
procat has quit [Ping timeout: 256 seconds]
Areessell has quit [Ping timeout: 264 seconds]
Savoyard has joined #ruby
Troy^ has joined #ruby
conniemj has joined #ruby
fandi has joined #ruby
Yzguy has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
mengu has quit [Ping timeout: 240 seconds]
renderful has quit [Remote host closed the connection]
dopie has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
tokik has joined #ruby
emmesswhy has joined #ruby
asmodlol has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
emmesswhy has quit [Client Quit]
emmesswhy has joined #ruby
Soda has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
sailias has joined #ruby
moritzs has quit [Ping timeout: 250 seconds]
speersj_ has quit [Quit: speersj_]
CpuID has joined #ruby
davedev24_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
__main__ has joined #ruby
davedev2_ has quit [Ping timeout: 258 seconds]
mloveless has quit []
startupality has joined #ruby
ta_ has joined #ruby
Takle_ has quit [Remote host closed the connection]
Takle has joined #ruby
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fandi has quit [Ping timeout: 245 seconds]
ta has quit [Ping timeout: 245 seconds]
jobewan has quit [Remote host closed the connection]
ta has joined #ruby
it0a has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
geggam has quit [Ping timeout: 258 seconds]
duncannz has quit [Ping timeout: 255 seconds]
Takle has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby
jlast has joined #ruby
sankaber has joined #ruby
ta has quit [Ping timeout: 260 seconds]
fgo_ has quit [Quit: WeeChat 1.0]
duncannz has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
fandi has joined #ruby
tkuchiki has joined #ruby
mary5030 has joined #ruby
tuelz has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
startupality has quit [Quit: startupality]
sailias has quit [Quit: Leaving.]
axilla has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
axilla has joined #ruby
startupality has joined #ruby
VBlizzard is now known as blizzy
razieliyo has quit [Quit: Saliendo]
zB0hs has quit [Ping timeout: 272 seconds]
Musashi007 has quit [Ping timeout: 250 seconds]
icebourg_ has quit []
troulouliou_dev has quit [Quit: Leaving]
jenrzzz has joined #ruby
triple_b has joined #ruby
pauly_oc has quit [Ping timeout: 260 seconds]
mroach has joined #ruby
djdarkbeat has joined #ruby
MrIlyas has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
<godd2> zenspider lol that's not what I meant by just. I meant something like "is equivalent to"
olivier_bK has quit [Ping timeout: 260 seconds]
russt has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
hephaestus_rg has quit [Ping timeout: 272 seconds]
jherbst has joined #ruby
kalusn has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 255 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluenemo__ has joined #ruby
bluenemo__ has quit [Changing host]
bluenemo__ has joined #ruby
ponga has joined #ruby
lemur has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
konsolebox has quit [Ping timeout: 250 seconds]
startupality has quit [Quit: startupality]
sankaber has joined #ruby
bluenemo_ has quit [Ping timeout: 264 seconds]
GaryOak_ has quit [Remote host closed the connection]
rylev has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
bluenemo__ has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 255 seconds]
robustus has joined #ruby
rylev has quit [Ping timeout: 255 seconds]
Areessell has joined #ruby
oo_ has joined #ruby
lorn has quit [Quit: ZNC - http://znc.in]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 258 seconds]
sailias has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
ishikawa91 has joined #ruby
frankies has joined #ruby
Savoyard has quit [Quit: (null)]
josephndenton has joined #ruby
DLSteve has quit [Quit: Leaving]
econerd4ever has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
doodlehaus has joined #ruby
duncannz has quit [Ping timeout: 250 seconds]
stunder has quit [Remote host closed the connection]
konsolebox has joined #ruby
conniemj has quit [Quit: (null)]
havenwood has quit []
duncannz has joined #ruby
ARCADIVS has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
russt has quit [Quit: russt]
edwardly has quit [Max SendQ exceeded]
edwardly has joined #ruby
Takle has joined #ruby
valeriansaliou has joined #ruby
Avahey has quit [Quit: Connection closed for inactivity]
Akagi201 has quit []
crdpink has joined #ruby
marr has quit [Ping timeout: 265 seconds]
crdpink2 has quit [Ping timeout: 258 seconds]
loc22 has joined #ruby
boombadaroomba has joined #ruby
frankies has quit [Excess Flood]
Takle has quit [Ping timeout: 260 seconds]
frankies has joined #ruby
jlast has joined #ruby
mallu has quit [Ping timeout: 246 seconds]
conniemj has joined #ruby
Soda has quit [Remote host closed the connection]
valeriansaliou has quit [Ping timeout: 272 seconds]
Techguy305 has quit [Read error: Connection reset by peer]
Techguy305 has joined #ruby
tuelz has joined #ruby
Areessell has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
boombadaroomba has quit [Ping timeout: 264 seconds]
duncannz has quit [Ping timeout: 272 seconds]
snath has quit [Ping timeout: 264 seconds]
loc22 has quit []
dorei has quit []
lolmaus has quit [Ping timeout: 240 seconds]
lolmaus_ has joined #ruby
frankies has quit [Killed (idoru (Spam is off topic on freenode.))]
tuelz has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
tuelz has joined #ruby
econerd4ever has quit [Remote host closed the connection]
loc22 has joined #ruby
dideler has joined #ruby
rshetty has joined #ruby
loc22 has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rshetty has quit [Remote host closed the connection]
rpag has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
Musashi007 has joined #ruby
CrazyM4n has quit [Quit: internet lag]
fabrice31 has joined #ruby
Savoyard has joined #ruby
snath has joined #ruby
doodlehaus has quit [Remote host closed the connection]
rshetty has joined #ruby
lucyinthesky has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
dts|pokeball has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
roolo has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby
wldcordeiro_ has quit [Quit: Leaving]
procat has joined #ruby
roolo has quit [Ping timeout: 255 seconds]
mgberlin has joined #ruby
MartynKeigher has joined #ruby
shyshy has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
sailias has quit [Quit: Leaving.]
procat has quit [Ping timeout: 258 seconds]
jlast has quit [Ping timeout: 258 seconds]
davedev2_ has quit [Ping timeout: 258 seconds]
davedev24_ has joined #ruby
rshetty has quit [Remote host closed the connection]
aspires has quit []
ponga has joined #ruby
bricker`work has quit [Ping timeout: 258 seconds]
ponga has quit [Ping timeout: 258 seconds]
pietr0 has quit [Quit: pietr0]
rylev has joined #ruby
nb_bez___ has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby
mikepack has quit [Remote host closed the connection]
lucyinthesky has quit [Quit: Leaving]
emmesswhy has quit [Client Quit]
pedahzur has joined #ruby
emmesswhy has joined #ruby
<pedahzur> I'm trying to install RMagick 2.13.4 on Ruby 1.8.7 (Redhat 6.x). It's failing with this error: extconf.rb:153: undefined (?...) sequence: /^Version: ImageMagick\s+(?<Version>\d+\.\d+\.\d+\-\d+)\s+(?<Unknown>\S+)\s+(?<Arch>\S+)\s+(?<Date>\S+)/ Looks like an error in the Regex Anybody hit this? Anyone know a way around it?
rshetty has joined #ruby
Techguy305|2 has joined #ruby
Phagus has joined #ruby
<Phagus> Is there a Ruby ORM that is similar to Python's SQLAlchemy?
Neomex has quit [Ping timeout: 245 seconds]
<pipework> sequel maybe? I'm not sure.
Techguy305 has quit [Ping timeout: 258 seconds]
Majost has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
renderful has joined #ruby
claptor has joined #ruby
russt has joined #ruby
<Majost> Is there a way to to tell ruby's built-in csv parser to use a two character delimiter when reading a file? In my use case, I have a double space as a delimiter from the input, and when I use :col_sep => ' ' it treats single spaces as delimiters as well.
patric100e99 has quit [Ping timeout: 244 seconds]
dc_ has quit [Remote host closed the connection]
Techguy305|2 has quit [Ping timeout: 258 seconds]
larissa has quit [Quit: Leaving]
newton has left #ruby [#ruby]
renderful has quit [Ping timeout: 264 seconds]
veduardo has quit [Quit: WeeChat 0.4.2]
DrCode has joined #ruby
hamakn has joined #ruby
Dopagod has quit [Ping timeout: 264 seconds]
<zenspider> Majost: if you know your column count, use split instead and check the size of the resulting array.
<zenspider> it is MUCH faster for most text files
CrazyM4n has joined #ruby
<ramfjord> but what about quoting?
pietr0 has joined #ruby
<zenspider> my general strategy is to use split. if the column count is not right, then I pass that one line through csv to deal with quoting
parabolize has joined #ruby
<zenspider> 99.99% of the time, split is correct and wins by a far margin
BadBadtz-Maru has joined #ruby
jeff-ooh_ has joined #ruby
ewilliam has left #ruby [#ruby]
<pedahzur> So the RMagic page here: https://rubygems.org/gems/rmagick says "required ruby version >= 1.8.5" but the extconf.rb file seems to use a regex syntax that is not supported by 1.8.7. So I'm stuck. Crud.
ewilliam has joined #ruby
ewilliam has left #ruby [#ruby]
jlast has joined #ruby
deric_skibotn has quit [Ping timeout: 245 seconds]
<jhass> pedahzur: nope, you're not
ghostmoth has joined #ruby
<jhass> just don't use 1.8 anymore
<Majost> zenspider: The problem with that approach is then I get \n the values for the line endings
jeff-ooh has quit [Ping timeout: 255 seconds]
<zenspider> line endings are a problem?
Phagus has quit [Quit: leaving]
rshetty has quit [Remote host closed the connection]
<pedahzur> jhass: That's not viable when running on Redhat 6 if you wish to be supported.
<jhass> supported by who? surely not upstream and large parts of the ruby community
oo_ has quit [Remote host closed the connection]
<pedahzur> jhass: Supported by the vendor. The odd thing is the rmagick page says "required ruby version >= 1.8.5" but post-1.8 syntax is used, sadly.
<apeiros_> pedahzur: it's not viable to use ruby 1.8 if you wish to be supported.
Spami has joined #ruby
<pipework> Is that something people actually care about being supported? ruby 1.8
<jhass> pedahzur: news flash: docs don't get updated
<Majost> zenspider: Actually, in this case -- it looks like new lines are the character I want to past to split =)
<pedahzur> apeiros_: It is if I want to be supported by my vendor. Using anything other than system packages means my vendor won't support me if I have a problem.
<apeiros_> pedahzur: I suggest you go to your vendor for support then
<jhass> pedahzur: just don't tell them/don't install system wide?!
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
<jhass> er, ignore me, what apeiros_ said
<zenspider> Majost: either you're creating a problem that doesn't exist (because this technique works quite well) or you're doing a shit job of explaining your problem.
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
<pipework> pedahzur: Sounds like you need to put yourself into a time bubble that's stuck in whatever point in time redhat 6 is in.
<Majost> Where filename is the key and the checksum is the value
<pipework> Majost: Why not process the file in your unix environment using `cut`?
<Majost> pipework: I need it to be cross-platform (Windows as well)
<pipework> Oh ew.
<Majost> unfortunately, yes.
<zenspider> this is just a split. csv isn't even appropriate here
<pedahzur> jhass, apeiros_: Actually, it looks like that might have been revereted. It appears master now holds a Ruby 1.8.x compatible version. https://github.com/gemhome/rmagick/blob/master/ext/RMagick/extconf.rb#L79
studiotate has quit [Quit: Computer has gone to sleep.]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> fits, rmagick is stuck in the past too anyway
studiotate has joined #ruby
<jhass> had to remove it after it won't compile with a recent imagemagick for months
<pipework> Majost: Yeah in this file you can just split it, there won't be any double spaces you don't want.
godd2 has quit [Ping timeout: 250 seconds]
<pipework> I was actually playing with icecat earlier and compiling my own using gnuzilla. They just split and it's fine.
<zenspider> really simple: File.read(ARGV.first).scan(/\S+/).first(10)
emmesswhy has quit [Quit: This computer has gone to sleep]
elek is now known as jasonmit
apeiros_ has quit [Remote host closed the connection]
<jhass> or ARGF directly
<pipework> zenspider: What if a file includes a space but not a double space?
apeiros_ has joined #ruby
<pipework> Which would be rude, but just saying.
amclain has joined #ruby
<pedahzur> jhass: Well, Redmine requires it if I want it to handle images, so I don't really have an option at this point.
NightMonkey has quit [Ping timeout: 264 seconds]
<pipework> pedahzur: Isn't there a newer redmine that runs on more recent rubby?
<zenspider> pipework: I don't really care. this isn't a hard problem
studiotate has quit [Ping timeout: 272 seconds]
<pipework> zenspider: Yeah, I suppose.
<pipework> Majost: I'd just use the obvious delimiter and split on that. No fuss.
lolmaus_ has quit [Ping timeout: 240 seconds]
<pedahzur> pipework: Yes, it runs on newer ruby. I'm installing 2.6. But I'm installing on RHEL 6, so am limited there.
lolmaus__ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
emmesswhy has joined #ruby
<pipework> pedahzur: your shoes aren't ones I'd be interested in walking to the bathroom in, let alone a mile.
<Majost> zenspider: Change first(10) to last(10)
<zenspider> Majost: you're being obtuse on purpose. remove first entirely. it was just there to make the output tenable
lampd1 has joined #ruby
<Majost> I know that
<pedahzur> pipework: Yes, it would be nice to live in a world where I can just say "upgrade all the things" but stability and vendor support are acutally desired things in production. :)
<pipework> Why do you want to build/install a software that's not packaged by your vendor on a system that they support anyways? Why can't you figure out one of the myriad ways to get a not old distro?
<Majost> eg: "win32/zu/Firefox", "Setup", "31.3.0esr.exe", "949ae3c8e8b1ef3cdb5b66da69bde634ff7c395fbbf54e6bf75b8119920965ce38b5a57bcc108b4b0cc4b7f29d4dbfc9d81d335b0940428d808850d2c4448946",
<jhass> pedahzur: I just don't buy the "old == stable" fallacy ;)
mjuszczak has quit [Ping timeout: 265 seconds]
bmichelsen has joined #ruby
<pedahzur> jhass: Old doesn't always mean stable, no, but in this case, it means well tested, well vettted code.
<pipework> pedahzur: Which I find hilarious since you're wanting to use a project management software written in ruby using rails 3.2 on ruby 1.8.
armyriad has joined #ruby
<jhass> pedahzur: nope, upstream discontinued
<pipework> Ruby as a community has dropped 1.8 and won't be giving it security updates, so there's that.
<pedahzur> jhass: Redhat backports bug and security fixes.
<jhass> pedahzur: the known bugs will not get fixed (by upstream)
<jhass> you can only do so much
<mroach> @jhass Agreed
<pipework> pedahzur: So you trust redhat to introduce patches from upstream correctly?
<jhass> major version upgrades do not just happen for the features
arup_r has joined #ruby
<pedahzur> pipework: No, redhat won't support Redmine, no, but if I break Ruby for something else used on that system, it's on me.
<jhass> but to introduce necessary changes like getting rid of old cruft
<shevy> let him use the rotten redhat ruby version if he wants to
<mroach> Major revisions happen because programmers love free beer at launch parties.
<pipework> pedahzur: I mean for ruby.
<jhass> pedahzur: isolating a ruby install for a single application is really a solved problem, but meh
<pipework> I don't really buy into your argument about it. But if you trust your vendor, I assume it's because they have a lot of your company's money, I suppose that's just a thing you'll have to live with.
<pedahzur> pipework: I trust my vendor because I've seen them jump-on, and fix, problems I've uncovered.
<pipework> pedahzur: Mkay
<shevy> not everyone compiles from source
ponga has joined #ruby
<pipework> The way I think of it is that you can come up with a reasonably secure platform for right now, but after right now, it's not as trustable. When now turns into years, I trust it less and less because the time since that previous now has allowed lots of potential growth and change to happen.
<pipework> But whatever lets you sleep well at night and feel good.
<shevy> that's a lot of nows
<shevy> he trusts his vendor
<pipework> shevy: Four isn't a very large number.
<pedahzur> jhass: If you'd like to point me to such instructions, I'm all ears. I'm just trying to go off the Redmine install docs. I'm a user, not a dev, so don't have in-depth Ruby knowledge. I would also like to be able to install all this via RPM, so we keep track of files and can upgrade much easier.
aspires has joined #ruby
<Majost> nm.. got csv to work
<shevy> pipework no it is not is not is not is not
jlast has quit [Ping timeout: 258 seconds]
<pipework> shevy: !!!!yes
duncannz has joined #ruby
<shevy> so you upgrade ruby stuff
mikepack has joined #ruby
<shevy> who is the ruby guy who understands why you are actually using ruby?
<jhass> pedahzur: a rvm user install is probably the easiest way to achieve it, http://rvm.io
<agent_white> Evenin folks
tyll has joined #ruby
<shevy> but rvm is no rpm!
<jhass> pedahzur: just never combine root & rvm
<pipework> I'd suggest ruby-install for installing a ruby.
<pipework> rvm is a bit wieldy.
voodoofish4301 is now known as voodoofish430
ponga has quit [Ping timeout: 250 seconds]
<shevy> I suggest the source
haylon has joined #ruby
<pipework> I suggest compiling from source using ruby-install.
mikepack has quit [Remote host closed the connection]
<shevy> but he would first have to learn ruby-install
<pipework> 'learn' as in read a readme?
ponga has joined #ruby
<pipework> compiling ruby yourself would require you to learn too.
<haylon> Where would a good starting point be, or does the README cover that?
hephaestus_rg has joined #ruby
<shevy> pipework you just have to do ./configure --prefix=/usr/ && make && make install !
tyll_ has quit [Ping timeout: 245 seconds]
<pedahzur> shevy, pipework, jhass: Does anybody do updated RPMs for Ruby like IUS Project does for PHP and Python? http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/repoview/letter_p.group.html
<pipework> shevy: ruby-install --install-dir path/to/dir <ruby> <version>
<jhass> maybe? I thought the whole point was to not install system wide
<shevy> I don't think many people here use red hat / fedora
<pipework> pedahzur: No clue, I don't do RPMs or RPM-based distros.
<shevy> pipework so much to type
<pipework> shevy: Less than yours.
<haylon> I would also say that if you do install via package manager, it typically a Stable release*
kl has quit [Ping timeout: 240 seconds]
davedev24_ has quit [Ping timeout: 258 seconds]
<pipework> haylon: Well, it might be stable but it might be ancient.
<jhass> haylon: see topic for supported stable releases. Yes, all of them
<haylon> Same goes for RHEL's kernel
krz has joined #ruby
Photism has quit [Quit: Leaving]
wjimenez5271 has quit [Remote host closed the connection]
<pipework> Hearing that a distro's repos only have ruby 1.8 doesn't instill confidence in me about the purported stability and security of the distro.
<pedahzur> pipework, haylon, jhass, shevy: Thanks for all the input. I'll see what I can figure out.
josephndenton has joined #ruby
* pipework is grateful that his production environment is vetted continually by pen testers (known and unknown...)
Asher2 has quit [Quit: Leaving.]
Asher has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
russt has quit [Quit: russt]
jack_rabbit has joined #ruby
josephndenton has quit [Ping timeout: 258 seconds]
dc has joined #ruby
Takle has joined #ruby
mgberlin_ has joined #ruby
valeriansaliou has joined #ruby
sx has joined #ruby
jerius has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
eichenwald has joined #ruby
axilla has quit [Ping timeout: 264 seconds]
koderok has joined #ruby
Musashi007 has quit [Ping timeout: 245 seconds]
rylev has quit [Remote host closed the connection]
michaeldeol has joined #ruby
davedev24_ has joined #ruby
mgberlin has quit [Ping timeout: 264 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
koderok has quit [Client Quit]
Takle has quit [Ping timeout: 255 seconds]
valeriansaliou has quit [Ping timeout: 244 seconds]
ajaiswal has joined #ruby
aspires has quit []
davedev2_ has joined #ruby
michaeldeol has quit [Client Quit]
gsd has joined #ruby
CorySimmons has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
<zenspider> pipework: the real answer, now that I have some food working into my bloodstream, is to pass a max-split arg to split:
<zenspider> ruby -e 'p File.readlines(ARGV.first).map { |s| s.chomp.split(/ /, 2) }.first(10)' SHA512SUMS
<pipework> zenspider: Oh that makes too much sense.
fandi has quit [Ping timeout: 258 seconds]
radic has quit [Ping timeout: 245 seconds]
Avahey has joined #ruby
<pipework> I know it's silly, but I've been taking to using each_with_object([]) instead of split lately. From my benchmarking on it, it's faster.
freerobby1 has quit [Quit: Leaving.]
<pipework> Though it takes much more to write.
axilla has joined #ruby
radic has joined #ruby
tuelz has quit [Ping timeout: 245 seconds]
MasterPiece has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
hephaestus_rg has quit [Ping timeout: 245 seconds]
Pattt has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
asmodlol has joined #ruby
davedev24_ has joined #ruby
Areessell has joined #ruby
fabrice31 has joined #ruby
sx has left #ruby [#ruby]
CorySimmons has quit [Quit: Bye!]
uber_hulk has joined #ruby
davedev2_ has quit [Ping timeout: 258 seconds]
mengu has joined #ruby
mengu has joined #ruby
mgberlin has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
<zenspider> pipework: huh. wonder why... still have the benchmarks sitting around?
echooo has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 256 seconds]
mgberlin_ has quit [Ping timeout: 258 seconds]
Musashi007 has joined #ruby
rshetty has joined #ruby
mengu has quit [Ping timeout: 258 seconds]
procat has joined #ruby
echooo has joined #ruby
charliesome has joined #ruby
<brijesh> \help
brijesh has quit [Quit: WeeChat 0.4.3]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has joined #ruby
procat has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
rshetty has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
tuelz has joined #ruby
neoxoen has quit [Ping timeout: 244 seconds]
nisstyre has joined #ruby
nisstyre has quit [Changing host]
davedev24_ has joined #ruby
armyriad has quit [Ping timeout: 258 seconds]
jerius has quit []
emmesswhy has quit [Quit: This computer has gone to sleep]
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
tuelz has quit [Ping timeout: 255 seconds]
kapil__ has joined #ruby
oo_ has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 265 seconds]
hmsimha has joined #ruby
asmodlol has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
michaeldeol has joined #ruby
knutmithut has joined #ruby
Musashi007 has quit [Quit: Musashi007]
MissionCritical has quit [Ping timeout: 265 seconds]
BadBadtz-Maru has quit [Quit: Textual IRC Client: www.textualapp.com]
Savoyard has quit [Quit: (null)]
hmsimha has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
braincrash has quit [Quit: bye bye]
rshetty has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
AmirolAhmad has joined #ruby
pietr0 has quit [Quit: pietr0]
studiotate has joined #ruby
braincrash has joined #ruby
codezomb has joined #ruby
Mission-Critical has joined #ruby
ponga has quit [Quit: Leaving...]
jusmyth has joined #ruby
Mission-Critical is now known as MissionCritical
mary5030 has joined #ruby
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
patrick99e99 has joined #ruby
tuelz has joined #ruby
anaeem1 has joined #ruby
renderful has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
dseitz has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
patrick99e99 has quit [Ping timeout: 258 seconds]
anaeem1 has joined #ruby
tuelz has quit [Ping timeout: 240 seconds]
nb_bez___ has quit [Quit: Connection closed for inactivity]
ndrei has joined #ruby
renderful has quit [Ping timeout: 265 seconds]
kiyote23 has joined #ruby
josephndenton has joined #ruby
rshetty has quit [Remote host closed the connection]
godd2 has joined #ruby
pedahzur has quit []
oo_ has joined #ruby
josephndenton has quit [Ping timeout: 260 seconds]
kyb3r_ has joined #ruby
yokel has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
kenneth has joined #ruby
yokel has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
hatzopoulos_ has joined #ruby
xiq_ has joined #ruby
apeiros__ has joined #ruby
jeff-ooh has joined #ruby
hatzopoulos has quit [Read error: Connection reset by peer]
apeiros_ has quit [Read error: Connection reset by peer]
xiq__ has quit [Read error: Connection reset by peer]
jeff-ooh_ has quit [Read error: Connection reset by peer]
Avahey has quit [Ping timeout: 244 seconds]
amitchellbullard has quit [Ping timeout: 244 seconds]
chrisseaton has quit [Ping timeout: 244 seconds]
pusewicz has quit [Ping timeout: 244 seconds]
ramblinpeck_ has quit [Ping timeout: 244 seconds]
Avahey has joined #ruby
bmichelsen has quit [Quit: ZZZzzz…]
arrubin has quit [Ping timeout: 244 seconds]
zrl has quit [Ping timeout: 244 seconds]
amitchellbullard has joined #ruby
ZucchiniZe has quit [Ping timeout: 244 seconds]
ggherdov has quit [Ping timeout: 244 seconds]
mroth has quit [Ping timeout: 244 seconds]
ton31337 has quit [Ping timeout: 245 seconds]
cleopatra has quit [Ping timeout: 240 seconds]
jds has quit [Ping timeout: 244 seconds]
khem_ has quit [Ping timeout: 244 seconds]
cbetta_ has quit [Ping timeout: 244 seconds]
kaplejon has quit [Ping timeout: 244 seconds]
unclouded has quit [Ping timeout: 244 seconds]
bcavileer_ has quit [Ping timeout: 244 seconds]
casual_ has quit [Ping timeout: 244 seconds]
tmoore has quit [Ping timeout: 244 seconds]
oo_ has quit [Ping timeout: 256 seconds]
jds has joined #ruby
casual_ has joined #ruby
mroth has joined #ruby
bcavileer_ has joined #ruby
kaplejon_ has joined #ruby
cbetta__ has joined #ruby
ZucchiniZe has joined #ruby
goddamnit2 has joined #ruby
tmoore has joined #ruby
pusewicz has joined #ruby
chrisseaton has joined #ruby
ramblinpeck_ has joined #ruby
arrubin has joined #ruby
godd2 has quit [Disconnected by services]
zrl has joined #ruby
goddamnit2 is now known as godd2
unclouded has joined #ruby
arescorpio has quit [Excess Flood]
charliesome has quit [Quit: zzz]
lemur has quit [Remote host closed the connection]
ips|malc has joined #ruby
jenrzzz has joined #ruby
mary5030 has quit [Remote host closed the connection]
haylon has quit [Quit: Leaving]
lemur has joined #ruby
mary5030 has joined #ruby
mathewji has joined #ruby
<mathewji> hi
rshetty has joined #ruby
khem_ has joined #ruby
russt has joined #ruby
ton31337 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ips|malc has quit [Quit: leaving]
ggherdov has joined #ruby
ips|malc has joined #ruby
arup_r has quit [Quit: Leaving.]
unclouded has quit [Ping timeout: 244 seconds]
eichenwald has quit [Quit: Leaving]
jusmyth1 has joined #ruby
lemur has quit [Ping timeout: 258 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
jusmyth has quit [Ping timeout: 245 seconds]
rshetty has quit [Remote host closed the connection]
mary5030 has joined #ruby
rshetty has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
<miah> hello
hasB4K has joined #ruby
Savoyard has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
unholycrab has quit [Changing host]
unholycrab has joined #ruby
Deele has joined #ruby
felipedvorak has quit [Ping timeout: 264 seconds]
mroach has quit [Quit: mroach]
davedev24_ has quit [Ping timeout: 264 seconds]
jlast has quit [Ping timeout: 258 seconds]
Spami has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
lemur has joined #ruby
aspires has quit []
bmichelsen has joined #ruby
Takle has joined #ruby
valeriansaliou has joined #ruby
bmichelsen has quit [Client Quit]
Spami has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
davedev24_ has joined #ruby
fgo has joined #ruby
Savoyard has quit [Quit: (null)]
valeriansaliou has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
chinmay_dd has joined #ruby
tus has quit []
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Megtastique has quit []
tenseiten is now known as seitensei
chinmay_dd has quit [Ping timeout: 245 seconds]
jusmyth has joined #ruby
jusmyth1 has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
tuelz has joined #ruby
mary5030 has joined #ruby
michaeldeol has joined #ruby
mary5030 has quit [Ping timeout: 258 seconds]
tuelz has quit [Ping timeout: 260 seconds]
chinmay_dd has joined #ruby
fabrice31 has joined #ruby
it0a has quit [Ping timeout: 256 seconds]
aboudreault has quit [Ping timeout: 272 seconds]
SegFaultAX has quit [Ping timeout: 272 seconds]
jeff-ooh has quit [Remote host closed the connection]
tris has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
kyank_ has quit [Quit: Be back later ...]
SegFaultAX has joined #ruby
aboudreault has joined #ruby
Savoyard has joined #ruby
tris has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Morkel has joined #ruby
arup_r has joined #ruby
jlast has joined #ruby
havenwood has joined #ruby
CrazyM4n has quit [Quit: "sleep"]
Savoyard has quit [Ping timeout: 272 seconds]
procat has joined #ruby
frog|OFF is now known as green-big-frog
auringon has joined #ruby
commmmodo has quit [Quit: commmmodo]
kiyote23 has quit [Remote host closed the connection]
<green-big-frog> good morning/night
kiyote23 has joined #ruby
procat has quit [Ping timeout: 255 seconds]
mengu has joined #ruby
kiyote23 has quit [Ping timeout: 250 seconds]
atomical has quit [Ping timeout: 258 seconds]
chinmay_dd has quit [Ping timeout: 255 seconds]
josephndenton has joined #ruby
atomical has joined #ruby
mikepack has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
st0mar has quit [Quit: quit]
ramfjord has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Remote host closed the connection]
Musashi007 has joined #ruby
t3h_j4n170r has joined #ruby
Musashi007 has quit [Client Quit]
mikepack has quit [Ping timeout: 250 seconds]
rimantas has joined #ruby
kl has joined #ruby
auringon has left #ruby [#ruby]
<pipework> zenspider: Yeah, I pulled them from someone, but I'll gist them real quick.
roolo has joined #ruby
mroach has joined #ruby
kp666 has joined #ruby
mrnugget has joined #ruby
lxsameer has joined #ruby
hephaestus_rg has joined #ruby
kl has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
emmesswhy has joined #ruby
kenneth has joined #ruby
roolo has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 244 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
mengu has quit [Remote host closed the connection]
valeriansaliou has joined #ruby
oo_ has quit [Remote host closed the connection]
Joufflu has quit [Quit: Leaving]
oo_ has joined #ruby
<pipework> zenspider: Here's the gist. I think I was wrong about map being slower. I have another benchmark that is testing the speed of inject, merge, merge!, and each_with_object for hashes, which each_with_object is fastest. https://gist.github.com/Spaceghost/780565d7ffe03f9f77df
Stoge88 has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty_ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
tessi_zz has quit [Ping timeout: 256 seconds]
conniemj has quit [Quit: (null)]
tessi_zz has joined #ruby
<pipework> zenspider: Also, TIL that #map(&:id) is faster than #map {|i| i.id}
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
oleo has quit [Remote host closed the connection]
pen has joined #ruby
ramfjord has joined #ruby
green-big-frog is now known as frog|OFF
patrick99e99 has joined #ruby
tuelz has joined #ruby
chinmay_dd has joined #ruby
renderful has joined #ruby
lemur has quit [Remote host closed the connection]
Savoyard has joined #ruby
lemur has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conniemj has joined #ruby
tuelz has quit [Ping timeout: 260 seconds]
renderful has quit [Ping timeout: 240 seconds]
Calmoto has joined #ruby
jeff-ooh has joined #ruby
Savoyard has quit [Ping timeout: 264 seconds]
lemur has quit [Ping timeout: 258 seconds]
lemur has joined #ruby
Calmoto has quit [Read error: Connection reset by peer]
Calmoto has joined #ruby
mary5030 has joined #ruby
goshdarnyou has joined #ruby
jaequery has joined #ruby
jeff-ooh has quit [Ping timeout: 265 seconds]
jlast has joined #ruby
conniemj has quit [Quit: (null)]
mary5030 has quit [Ping timeout: 258 seconds]
AndroUser466 has joined #ruby
codecop has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
evenix has quit [Remote host closed the connection]
Stoge88 has joined #ruby
kiyote23 has joined #ruby
sinkensabe has joined #ruby
arup_r has quit [Ping timeout: 260 seconds]
valeriansaliou has quit [Quit: Be back later ...]
sent-hil has joined #ruby
tagrudev has joined #ruby
Auv is now known as PrincessAuv
DrCode has quit [Remote host closed the connection]
DrCode has joined #ruby
apeiros__ has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
sigurding has joined #ruby
MissionCritical has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
paramourne has joined #ruby
last_staff has joined #ruby
conniemj has joined #ruby
mclee has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
Avahey has quit [Quit: Connection closed for inactivity]
MissionCritical has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
AndroUser466 has quit [Quit: good bye]
apeiros_ has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 245 seconds]
apeiros_ has joined #ruby
kiyote23 has quit [Ping timeout: 244 seconds]
valeriansaliou has joined #ruby
noop has joined #ruby
arup_r has joined #ruby
Macaveli has joined #ruby
arup_r_ has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
apeiros_ has quit [Ping timeout: 258 seconds]
hakunin has quit [Read error: Connection reset by peer]
greenbagels__ has quit [Read error: Connection reset by peer]
valeriansaliou has quit [Quit: Be back later ...]
charliesome has joined #ruby
greenbagels__ has joined #ruby
valeriansaliou has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
camt has quit [Ping timeout: 244 seconds]
conniemj has quit [Quit: (null)]
camt has joined #ruby
valeriansaliou has quit [Client Quit]
hakunin has joined #ruby
Neomex has joined #ruby
bal has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
aganov has joined #ruby
timonv_ has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
tuelz has joined #ruby
axilla has quit [Ping timeout: 260 seconds]
almostworking has joined #ruby
axilla has joined #ruby
surs has joined #ruby
procat has joined #ruby
AndroUser466 has joined #ruby
tuelz has quit [Ping timeout: 244 seconds]
Neomex has quit [Read error: Connection reset by peer]
red_horned_rihno has joined #ruby
red_horned_rihno has quit [Max SendQ exceeded]
procat has quit [Ping timeout: 245 seconds]
konsolebox has joined #ruby
hephaestus_rg has quit [Quit: Lost terminal]
antgel has joined #ruby
Stoge88 has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
josephndenton has joined #ruby
Photism has joined #ruby
anarang has joined #ruby
mikepack has joined #ruby
jlast has joined #ruby
charliesome has joined #ruby
arup_r has quit []
unclouded has joined #ruby
josephndenton has quit [Ping timeout: 244 seconds]
almostworking has left #ruby ["Leaving"]
xenomorph is now known as {xenomorph}
mikepack has quit [Ping timeout: 258 seconds]
bluOxigen has joined #ruby
shyshy has quit [Ping timeout: 240 seconds]
alexalex has joined #ruby
lemur has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
lemur has joined #ruby
alexalex has left #ruby [#ruby]
kalusn has joined #ruby
kamilc__ has joined #ruby
sigurding has quit [Quit: sigurding]
armyriad has quit [Ping timeout: 258 seconds]
tobago has joined #ruby
hightower4 has quit [Ping timeout: 255 seconds]
uber_hulk has quit [Ping timeout: 256 seconds]
uber_hulk has joined #ruby
mroach has quit [Quit: mroach]
kalusn has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 244 seconds]
agit0 has joined #ruby
timonv_ has quit [Remote host closed the connection]
sigurding has joined #ruby
havenwood has quit [Remote host closed the connection]
tesuji has joined #ruby
havenwood has joined #ruby
virtualize has quit [Read error: Connection reset by peer]
mrnugget has quit [Quit: mrnugget]
rshetty_ has quit [Ping timeout: 256 seconds]
virtualize has joined #ruby
Jackneill has joined #ruby
Takle has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
msgodf has joined #ruby
ohaibbq has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
mengu has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
<ponga> hi shevy
c0rwin has joined #ruby
ishikawa91 has quit [Quit: Connection closed for inactivity]
andikr has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
dumdedum has joined #ruby
Savoyard has joined #ruby
echooo has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ARCADIVS has quit [Quit: ARCADIVS]
rimantas has quit [Quit: rimantas]
kenneth has joined #ruby
TomyWork has joined #ruby
timonv_ has joined #ruby
rimantas has joined #ruby
Savoyard has quit [Ping timeout: 245 seconds]
jeff-ooh has joined #ruby
aswen has joined #ruby
mengu has joined #ruby
<zenspider> pipework: faster by ~20-33% w/ the tightest stddev: Hash[a.map(&:to_a)]
<zenspider> your code grows collections too much
axilla has quit [Ping timeout: 260 seconds]
patrick99e99 has joined #ruby
jeff-ooh has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz has joined #ruby
<pipework> zenspider: For each_with_object.rb?
<zenspider> uh... whatever the first one was
<zenspider> I threw them in the same file
<zenspider> the inject/return vs each_with_object one
<zenspider> and the crappy merges... which isn't a fair comparison
yfeldblum has quit [Ping timeout: 240 seconds]
paramourne has quit [Ping timeout: 265 seconds]
patrick99e99 has quit [Ping timeout: 245 seconds]
paramourne has joined #ruby
<pipework> zenspider: Yeah, I think I'll add some more merges in there that don't suck.
tuelz has quit [Ping timeout: 240 seconds]
<pipework> The question at the time was mostly about inject and each_with_object.
Xeago has joined #ruby
paramourne has quit [Read error: Connection reset by peer]
<zenspider> both suffer from collection regrow
axilla has joined #ruby
antgel has joined #ruby
livathinos has joined #ruby
<pipework> zenspider: Hm, I haven't done any profiling, just benchmarks, but yours does seem to run a bit faster.
<zenspider> it's probably mostly gc and knowing how big everything is up front
sigurding has quit [Ping timeout: 240 seconds]
mroach has joined #ruby
kalusn has joined #ruby
LouisRoR has joined #ruby
<pipework> Oh, I should try this with 2.1.2 so I can use Array#to_h
sigurding has joined #ruby
_Andres has joined #ruby
siso has joined #ruby
CpuID has joined #ruby
bayed has joined #ruby
timonv_ has quit [Remote host closed the connection]
<avril14th> morning
uber_hulk has left #ruby [#ruby]
alex88 has joined #ruby
razieliyo has joined #ruby
Hobogrammer_ has quit [Ping timeout: 265 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
wald0 has joined #ruby
avril14th has quit [Remote host closed the connection]
tenseiten has joined #ruby
tenseiten has joined #ruby
<pipework> zenspider: a.map(&:to_a).to_h is just the slightest teensy bit faster than yours, but in the msot hilarious way.
<pipework> But yours works on rubies older than 2.1
sandelius has joined #ruby
<zenspider> mmmm... sorta. worse stddev
chthon has joined #ruby
seitensei has quit [Ping timeout: 260 seconds]
russt has quit [Quit: russt]
<pipework> I'll run it with more iterations.
lyuben_ has joined #ruby
rockdon has quit [Ping timeout: 258 seconds]
einarj has joined #ruby
<pipework> I just ran it again with zenspider taking 4.2% and pipework taking 4.0%, so I think more iterations might suss it out a bit better, right?
mjmac has quit [Ping timeout: 258 seconds]
nisstyre has quit [Ping timeout: 265 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agit0 has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
fumk has quit [Remote host closed the connection]
rockdon has joined #ruby
mjmac has joined #ruby
koderok has joined #ruby
yfeldblu_ has quit [Ping timeout: 244 seconds]
jlast has joined #ruby
ponga has quit [Quit: Page closed]
<zenspider> pipework: yeah. at that point, it's a tossup. prolly a matter of telling ips to run longer or call it a tie with randomness getting in the way
ohaibbq has quit [Quit: Leaving...]
mclee has joined #ruby
<pipework> zenspider: I think I'd have to fork or monkeypatch benchmark-ips https://github.com/evanphx/benchmark-ips/blob/master/lib/benchmark/timing.rb#L35
shanlar- has quit [Read error: Connection reset by peer]
<zenspider> should be able to call ips with an int
<zenspider> default is 5 iirc
shanlar has joined #ruby
<xfz> do any of you know of a way to browse/find open source projects where there are tests written that need the corresponding code implemented?
rockdon has quit [Ping timeout: 258 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
robbyoconnor has joined #ruby
<pipework> xfz: So you mean something well tested but not implemented?
<pipework> zenspider: I think I would need to fork, Benchmark.ips(time=nil, warmup=nil)
<xfz> I'm trying to find something to do, where the basic structure is defined in tests, but the functionality hasn't been implemented
valeriansaliou has joined #ruby
<pipework> xfz: Find something interesting, delete the implementation, and then run the tests.
<xfz> good idea
eka has joined #ruby
axilla has quit [Ping timeout: 265 seconds]
<xfz> but you know of no projects that might need support and are being developed in a way where I can join in like I described?
sent-hil has quit [Quit: Connection closed for inactivity]
<pipework> xfz: Oh there's a lot. The best ones have special github issue tags for beginners.
<pipework> What are you interested in?>
lolmaus__ has quit [Quit: Konversation terminated!]
jaequery has joined #ruby
apeiros_ has joined #ruby
<xfz> pretty much everything that's "just above my skill level"
<pipework> zenspider: Anyways, I like yours more. Works on more than just 2.1
oo_ has quit [Remote host closed the connection]
axilla has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jin has joined #ruby
valeriansaliou has quit [Ping timeout: 258 seconds]
<xfz> may I send you a link to what I did last in a query?
<pipework> Is it a secret?
jin is now known as jin_
fandi has joined #ruby
<zenspider> xfz: you want to make my failing tests pass??
rockdon has joined #ruby
<zenspider> wait... FOR FREE?
elcheckito has joined #ruby
elcheckito has quit [Client Quit]
roolo has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
<xfz> zenspider: I'm looking for something to do in order to practice, yes
konsolebox has joined #ruby
<zenspider> HEY GUYS! FREE LABOR!! FREE!!!
oo_ has joined #ruby
<zenspider> assert zenspider.house.painted?
<pipework> xfz: I think you might have fun if you pair with someone.
<zenspider> go
<xfz> low quality free labor*
<zenspider> _anyone_ can paint a house. :P
Photism has quit [Quit: Leaving]
<zenspider> test is still failing :P
timonv_ has joined #ruby
jenrzzz has joined #ruby
<Areessell> Not really a Ruby question but what would you guys use for streaming audio client side? Pure JS, web sockets, or something else?
avril14th has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
<pipework> zenspider: Oh crap, running these benchmarks 100 times and partially through that, but it's a grab bag between #each_with_object, pipework, zenspider, and inject assign&return
<pipework> I don't know enough to make sure that there's not something weird going on.
marr has joined #ruby
siso has quit [Quit: siso]
<zenspider> I do wish ips had an option to turn off GC for each block
<pipework> That makes sense. Hmph.
procat has joined #ruby
<apeiros_> zenspider: manually turning it off not an option?
Guest30738 is now known as sheepman
<pipework> Can you do that without affecting the benchmark?
sheepman is now known as Guest71516
<apeiros_> I was confused last time I used my benchmark thingy because the benchmark took ~5s, but it reported ~300ms. Then I remembered that I only printed CPU time :D
<pipework> apeiros_: This is using benchmark-ips
sigurding has quit [Quit: sigurding]
Guest71516 has quit [Quit: ZNC - http://znc.in]
hatzopoulos has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
AFKGeek has joined #ruby
yfeldblum has joined #ruby
antgel has joined #ruby
procat has quit [Ping timeout: 255 seconds]
<apeiros_> pipework: I use Benchmark module with two custom methods on top of it to have a less annoying interface
<apeiros_> mbench iter, rep, label: -> block, label2: -> block …
<pipework> I think benchmark-ips is similar, except it's not really terrible, imo. It just isn't as configurable.
<avril14th> just curious, what do you guys think of http://channeleye.co.uk/ruby-on-rails-is-dying/ ?
<zenspider> I've fallen for benchmark-ips myself. Even switched over my script quickbench.rb to it
jeff-ooh has joined #ruby
olivier_bK has joined #ruby
<pipework> avril14th: Ruby and Rails have been dead for years and years.
<zenspider> yup. since at least 2000 when I started
<avril14th> what do you mean
hatzopoulos_ has quit [Ping timeout: 272 seconds]
<pipework> RIP
timonv_ has joined #ruby
<pipework> !rails
<helpa> RIP
timonv_ has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
nisstyre has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<apeiros_> I want to extend it for 2.1 to include GC metrics
josephndenton has joined #ruby
<pipework> apeiros_: You should read the benchmark-ips README.md, it might have some features you might want to lift into your stuff. Like the string eval stuff.
<apeiros_> hm, also this is not the newest version… must sync it with the one on my work computer. added real time too there. I wish there was a reliable way to measure IO block time.
<apeiros_> pipework: will do
RitterJack has joined #ruby
<zenspider> adding GC metrics into benchmark-ips would be nice.
<agent_white> %s/rails is dying/rails is hiding/g
timonv_ has joined #ruby
<avril14th> so everyone is doing JS + PHP?!
<pipework> avril14th: No, those are dead too.
<apeiros_> I thought everybody is doing plain JS?
Jan_ has joined #ruby
<avril14th> so what do they do
rdark has joined #ruby
<pipework> apeiros_: No, they're doing emberjs lang
jeff-ooh has quit [Ping timeout: 258 seconds]
<avril14th> plain JS?!
<apeiros_> wott?
* avril14th jumps out the window
startupality has joined #ruby
<pipework> avril14th: They're studying a lively new language called Latin.
<apeiros_> emberjs *lang*?
<apeiros_> yer kidding?
<agent_white> JS is not dead. It's the zombie noone can kill.
tuelz has joined #ruby
<agent_white> Fucking zombies.
tokik has quit [Ping timeout: 244 seconds]
<avril14th> what's the use of JS seriously?
<Kryptonical> rails + ember vs rails + react.js?
<pipework> apeiros_: http://emberscript.com/
<pipework> Kryptonical: They all suck.
<apeiros_> pipework: souped up coffee?
<pipework> Everything sucks. Go drink some beer.
<agent_white> amen.
<apeiros_> ah, says so on the top
<apeiros_> ember is wycats new baby?
josephndenton has quit [Ping timeout: 250 seconds]
<pipework> If you're still writing code, you clearly misunderstood the 2006 era of metaprogramming. I have code that's been generating code that's been generating code that's been generating code ad infinitem since 2006.
kyb3r_ has quit [Read error: Connection reset by peer]
<pipework> Haha, no one would believe that thanks to Mongrel circa when it was relevant.
<avril14th> pipework: you mean you're sitting in a chair with automatic code generating code generating cash all day long?
<agent_white> Buffalo was only the beginning...
tuelz has quit [Ping timeout: 244 seconds]
hs366 has joined #ruby
<agent_white> apeiros_: I didn't think it was new for him? Though he'd been working on it for quite a bit.
siso has joined #ruby
jlast has quit [Ping timeout: 245 seconds]
lemur has quit [Remote host closed the connection]
<agent_white> s/though/thought/
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lemur has joined #ruby
hasB4K has quit [Quit: This is not a quit message.]
<pipework> zenspider: http://imgur.com/a/bX72v only open if you want to hate me more.
jin_ has quit [Remote host closed the connection]
jusmyth has quit [Quit: Leaving.]
AlSquire has joined #ruby
kalusn has quit []
lemur has quit [Ping timeout: 260 seconds]
timonv^ has joined #ruby
jeanlinux has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Axy has joined #ruby
Axy has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
LouisRoR has quit [Ping timeout: 256 seconds]
elaptics`away is now known as elaptics
AndroUser466 has quit [Ping timeout: 244 seconds]
timonv^ has quit [Read error: Connection reset by peer]
SOLDIERz_ has joined #ruby
timonv_ has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
Kryptonical has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 265 seconds]
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
frem has quit [Quit: Connection closed for inactivity]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
LouisRoR has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
rodfersou has joined #ruby
joonty has joined #ruby
chu has joined #ruby
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
claudiuinberlin has joined #ruby
<apeiros_> agent_white: yes. "new" relative to merb/rails
fumk has joined #ruby
fumk has quit [Max SendQ exceeded]
timonv_ has quit [Read error: Connection reset by peer]
<agent_white> Ahhh
<apeiros_> whatever happened to his other project for which he even got funding. tokaido or somesuch?
<pipework> He 'finished' it.
kyank_ has joined #ruby
noop has quit [Ping timeout: 245 seconds]
mroach has quit [Quit: mroach]
antgel has quit [Ping timeout: 264 seconds]
mroach has joined #ruby
duncannz has quit [Ping timeout: 240 seconds]
hgl has quit [Read error: Connection reset by peer]
kyank_ has quit [Ping timeout: 256 seconds]
hgl has joined #ruby
<apeiros_> pipework: ok. I read from the air-quotes that you don't consider it finished? :)
Savoyard has joined #ruby
workmad3 has joined #ruby
<pipework> apeiros_: There was some backlash about the level of completion by the backers.
<apeiros_> I see
<apeiros_> I mostly notice how it didn't make any waves when it was finished
jeanlinux has quit [Ping timeout: 250 seconds]
MrSamuel has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
Savoyard has quit [Ping timeout: 240 seconds]
jusmyth has joined #ruby
startupality has quit [Quit: startupality]
charliesome has quit [Quit: zzz]
jenrzzz has quit [Ping timeout: 264 seconds]
noop has joined #ruby
kl__ has joined #ruby
jheg has joined #ruby
vvivv has joined #ruby
<vvivv> hello, how to start padrino without terminal window
<vvivv> need to hide window
<j416> vvivv: start it as a daemon
twistedpixels is now known as zz_twistedpixels
conniemj has joined #ruby
MasterPiece has quit [Ping timeout: 260 seconds]
fgo has joined #ruby
hgl has quit [Ping timeout: 272 seconds]
jeanlinux has joined #ruby
fumk has joined #ruby
Takle has quit [Read error: No route to host]
Takle has joined #ruby
hasB4K has joined #ruby
hasB4K has joined #ruby
conniemj has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
jusmyth has quit [Quit: Leaving.]
hgl has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
marcules has joined #ruby
patrick99e99 has joined #ruby
<marcules> hi
<sandelius> hello
<Areessell> Sup?
renderful has joined #ruby
econerd4ever has joined #ruby
tuelz has joined #ruby
red_horned_rihno has joined #ruby
MasterPiece has joined #ruby
jlast has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
renderful has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
tuelz has quit [Ping timeout: 240 seconds]
siso has quit [Quit: siso]
fandi has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
matcouto has joined #ruby
econerd4ever has quit [Remote host closed the connection]
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
econerd4ever has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
econerd4ever has joined #ruby
timonv_ has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
shortCircuit__ has joined #ruby
startupality has joined #ruby
non1ck has joined #ruby
uber_hulk has joined #ruby
kiyote23 has joined #ruby
econerd4ever has quit [Ping timeout: 244 seconds]
<shortCircuit__> I was asked to check if a number is pallindrome or not I did num = value.to_s. and then num == num.reverse . Is it ok to do so?
Phagus has joined #ruby
iRockZ1 has joined #ruby
<Phagus> What're some easy-to-use ORMs, equivalents to Python's SQLAlchemy?
lolmaus has joined #ruby
jeanlinux has quit [Remote host closed the connection]
<pipework> Phagus: ruby-toolbox
<non1ck> Phagus, http://datamapper.org/
<non1ck> or, as pipework said, all the others listed in ruby-toolbox
<Phagus> Yeah, I kind of want people's recommendations
<Phagus> So how are things like Sequel and DataMapper different from ActiveRecord?
kiyote23 has quit [Ping timeout: 265 seconds]
<Areessell> I like Sequel, but they're all basically the same
<apeiros_> I love most about sequel that I can use it without the ORM part…
<certainty> shortCircuit__: that's a common thing todo
ramfjord has quit [Ping timeout: 244 seconds]
<shortCircuit__> cool. I was thinking if it was wrong to do so
<Phagus> apeiros_: You can run SQL directly against databases?
<apeiros_> Phagus: yes, using its abstraction layer. check the cheatsheets.
<Phagus> Cool
charliesome has joined #ruby
charliesome has quit [Client Quit]
ponga has joined #ruby
ponga has joined #ruby
LouisRoR has quit []
mengu has joined #ruby
kapil__ has joined #ruby
Calmoto has quit [Ping timeout: 258 seconds]
maasha has joined #ruby
<Phagus> How is Ruby's general Windows support?
valeriansaliou has joined #ruby
<Phagus> Mainly, interfacing with Windows' API and system internals and such?
DLSteve has joined #ruby
<Areessell> As good as any other language
<pipework> Wrong^
matcouto has quit [Quit: Textual IRC Client: www.textualapp.com]
_Andres_ has joined #ruby
<Areessell> Why wouldn't it be? FFI and C extensions..
<pipework> Areessell: Every language is great on windows, I mean, you can write in windows support in another language and expose it in the language you want to.
giuseppesolinas has joined #ruby
kl__ has quit [Ping timeout: 265 seconds]
LouisRoR has joined #ruby
_Andres has quit [Ping timeout: 244 seconds]
echooo has joined #ruby
kl__ has joined #ruby
valeriansaliou has quit [Ping timeout: 264 seconds]
mengu has quit [Ping timeout: 265 seconds]
tokik has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
pimeys_ has left #ruby [#ruby]
Macaveli has quit [Ping timeout: 256 seconds]
ta_ has quit [Read error: Connection reset by peer]
Phagus has quit [Quit: leaving]
Soda has joined #ruby
procat has joined #ruby
claudiuinberlin has quit [Quit: Leaving.]
fgo has quit [Ping timeout: 250 seconds]
ta has joined #ruby
hs366 has quit [Quit: Leaving]
jusmyth has joined #ruby
nfk has joined #ruby
yfeldblum has joined #ruby
jenrzzz has joined #ruby
ponga has quit [Remote host closed the connection]
<maasha> I find it very difficult to google for help on ruby and the Mail gem - all hits are ActionMailer crap.
<maasha> Problem: /usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize': Connection refused - connect(2) for "localhost" port 25 (Errno::ECONNREFUSED)
<sandelius> maasha you don't have a local mail server running
<maasha> and it used to work until some upgrade of either ruby or OSX - I didnt pay attention.
procat has quit [Ping timeout: 250 seconds]
<maasha> sandelius: I cant remember if I ever had :o)
<workmad3> maasha: it sounds like you did ;)
jeff-ooh has joined #ruby
dANO has joined #ruby
<sandelius> maasha just use googles smtp server
Alina-malina has quit [Ping timeout: 250 seconds]
<maasha> OK, and on this other system the same code goes: /home/maasha/install/lib/ruby/2.1.0/openssl/ssl.rb:139:in `post_connection_check': hostname "localhost" does not match the server certificate (OpenSSL::SSL::SSLError)
<maasha> and it also used to work there ...
<maasha> (Debian stable)
<sandelius> maasha well there you have a SSL error
<pipework> Surprise, upgrading software can lead to breakages sometimes.
<maasha> sandelius: googles smtp server requires your gmail credentials, not?
<sandelius> pipework touché :)
<sandelius> maasha yeah but you can create a "dummy" account
yfeldblum has quit [Ping timeout: 265 seconds]
sk87 has joined #ruby
josephndenton has joined #ruby
<maasha> It is just frustrating trying to google for this stuff, because the internet is swamped with these Rails idiots :o)
jenrzzz has quit [Ping timeout: 245 seconds]
<sandelius> maasha that's why we're here :)
jeff-ooh has quit [Remote host closed the connection]
<pipework> maasha: 'these rails idiots' seems like a pretty unfriendly thing to say. :)
jeff-ooh has joined #ruby
<maasha> pipework: thus the smiley
<maasha> ;o)
<workmad3> pipework: I guess that means that us rails idiots should just stop helping him
platzhirsch has joined #ruby
<Areessell> Googling `ruby "mail gem"` only seems to bring up links pertaining to the mail gem, sup with that?
joonty has quit [Quit: Leaving]
<workmad3> pipework: as we're obviously too idiotic to do so ;)
<platzhirsch> whoop
<maasha> You should be banned from posting questions on ActionMailer on my internet! :o)
jusmyth has quit [Quit: Leaving.]
aspiers_ is now known as aspiers
<pipework> maasha: If I were you, I'd just suggest you set up a local dev mail server or you'd want to use proper stubs, if you're in development.
<workmad3> maasha: set your DNS to 127.0.0.1 and we'll quickly vanish off 'your' internet ;)
<workmad3> (no doubt any local DNS server you have is also borked after your upgrade :P )
<sandelius> maasha whatever you do, don't bring up JS aswell :)
<pipework> workmad3: But how will he send emails about it?
wald0 has quit [Ping timeout: 244 seconds]
<maasha> OK, first things first. Let me get this smtp server installed
<ddv> maasha: Who is the idiot here? .... You obviously.
<workmad3> maasha: I recommend sendmail... their config file is super-easy to edit by hand, you should totally do that...
<shevy> when has this channel gotten so sarcastic
<maasha> workmad3: I learned to fear sendmail a decade ago...
VictorBjelkholm has joined #ruby
VictorBjelkholm has quit [Max SendQ exceeded]
<maasha> shevy: we are having fun!
josephndenton has quit [Ping timeout: 256 seconds]
<workmad3> shevy: maybe the channel hasn't gotten more sarcastic, you've just gotten better at noticing it ;)
mengu has joined #ruby
mengu has joined #ruby
<certainty> >> nil && "something"
<eval-in__> certainty => nil (https://eval.in/235321)
<certainty> hmm
<workmad3> certainty: no local IRB?
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<certainty> workmad3: hmm it might be my head being already on vacation but this is strange
<shevy> it's nil
kl__ has quit [Ping timeout: 256 seconds]
<certainty> yeah
<ddv> 4 hours left and I hax 3 weeks vacation <3
<shevy> it could not be anything else
<certainty> i expected false
<ddv> haz*
<pipework> certainty: how does the word 'and' work?
<pipework> like, in English.
<shevy> so what is the difference between a nil and false
kl__ has joined #ruby
<certainty> different types
<workmad3> certainty: if && and || didn't return the values provided, then '||=' wouldn't work ;)
Alina-malina has joined #ruby
<pipework> certainty: 'types'?
<Areessell> O_o
<pipework> shevy: One is false and the other is nil.
<certainty> workmad3: yeah i know that for truthy expressions but i somehow never saw it that way for falsy ones
<workmad3> certainty: heh :)
<pipework> Whatever certainty is on when he's on vacation, I want some.
_Andres_ has quit [Ping timeout: 264 seconds]
<certainty> pipework: basically it's lack of motivation and even less will to concentrate
VictorBjelkholm has joined #ruby
VictorBjelkholm has quit [Max SendQ exceeded]
mengu has quit [Remote host closed the connection]
<pipework> certainty: So why bother
postmodern has quit [Remote host closed the connection]
<codehotter> given an array, and I call a function on each pair of objects?
<codehotter> Can I*
<codehotter> so my array has objects a, b, c, I want my function to be called with a,b then b,c
_Andres has joined #ruby
<maasha> codehotter: look at each_slice(2) each_cons(2)
<maasha> codehotter: the latter
tuelz has joined #ruby
<certainty> pipework: nevermind. i don't anymore. it's clear now that i have thought a bit more about it.
<certainty> i'm not sure i like the idea of falsiness/truthyness anymore
<pipework> certainty: lol, why not
<certainty> because apparently it can cause confusion with my world view :D
<shevy> well both nil and false are negative for if-like checks
Savoyard has joined #ruby
<pipework> shevy: I think we know that. :D
<shevy> so what to use?
<pipework> certainty: Maybe your world view sucks.
fabrice31 has quit [Remote host closed the connection]
<workmad3> shevy: obviously, ruby should just blow up if anything other than false/true are used in conditionals...
<certainty> pipework: possibly. another possibility is that it's just different and ruby doesn't fit that mental model in that regard
fabrice31 has joined #ruby
<workmad3> shevy: you know... like java :P
<shevy> workmad3 we can do that, with raise
<pipework> You'd have to monkeypatch a lot of things.
<pipework> Like ruby core, probably in C.
<shevy> no monkeypatching
<shevy> certainty let's face it - you want a different language!
<certainty> shevy: sometimes yes.
<shevy> PYTHON
<shevy> PHP
<shevy> PERL
<shevy> what is it certainty
<shevy> why are you not happy faced certainty
<certainty> shevy: other times not. I'm pretty sure that on another day i woudln't have stumbled upon that one
sigurding has quit [Quit: sigurding]
<shevy> hehe
<certainty> shevy: because you keep asking nasty questions
tuelz has quit [Ping timeout: 264 seconds]
<workmad3> certainty: what caused you to care if something was false rather than just falsey? :)
<certainty> workmad3: a colleague asking for it
<certainty> or asking about it rather
decoponio has joined #ruby
<workmad3> certainty: you could do the 'traditional' bool typecast... '!!whatever' ;)
<workmad3> >> !!nil
<eval-in__> workmad3 => false (https://eval.in/235334)
<certainty> workmad3: yeah i'm aware. it just conflicted with my intuitive expectation of things
<certainty> dunno why
dumdedum has quit [Ping timeout: 272 seconds]
<workmad3> certainty: holiday-brain?
fabrice31 has quit [Ping timeout: 245 seconds]
<certainty> workmad3: yeah most likely
konsolebox has quit [Ping timeout: 250 seconds]
agent_white has quit [Quit: night]
asmodlol has quit [Ping timeout: 245 seconds]
Timgauthier has joined #ruby
<certainty> probably the work with languages that do things like that differently infiltrated the ruby area of my brain
asmodlol has joined #ruby
fivetwentysix has joined #ruby
uber_hulk has joined #ruby
<fivetwentysix> wow
<fivetwentysix> ruby commnity grew
<fivetwentysix> use to only be like 200 ppl in here :D
<Areessell> And they're all active!
<fivetwentysix> zomg
chu has joined #ruby
kl__ has quit [Ping timeout: 256 seconds]
agjacome has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
krz has joined #ruby
fabrice31 has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
Morkel_ has joined #ruby
charliesome has joined #ruby
spastorino has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
Morkel has quit [Ping timeout: 240 seconds]
Morkel_ is now known as Morkel
ajaiswal has quit [Quit: Leaving]
kl__ has joined #ruby
dumdedum has joined #ruby
oo_ has quit [Remote host closed the connection]
jeanlinux has joined #ruby
arup_r has joined #ruby
oo_ has joined #ruby
giuseppesolinas has joined #ruby
oo_ has quit [Remote host closed the connection]
<sandelius> has anyone tried lotusrb ?
DLSteve has quit [Read error: Connection reset by peer]
<wasamasa> no, nobody
arup_r has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
jeff-ooh has quit [Remote host closed the connection]
fgo has joined #ruby
DLSteve has joined #ruby
jlast has joined #ruby
Xeago has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
kl__ has quit [Ping timeout: 258 seconds]
tkuchiki has joined #ruby
Xeago has joined #ruby
sigurding has joined #ruby
arup_r_ has joined #ruby
<apeiros_> !anybody
<apeiros_> hm, thought helpa had something on that
<apeiros_> !someone
<apeiros_> !anyone
<helpa> Nope. No one. Ever. In the history of the world.
<certainty> lol
<apeiros_> hah
fgo has quit [Ping timeout: 260 seconds]
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<apeiros_> alternatively: I think he did, but he left the room earlier
tvw has joined #ruby
yfeldblum has joined #ruby
Stoge88 has quit [Quit: Textual IRC Client: www.textualapp.com]
tkuchiki has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
<certainty> workmad3: you're in GMT right?
oo_ has quit [Remote host closed the connection]
<workmad3> certainty: yeah
kl__ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
Alina-malina has quit [Ping timeout: 255 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
fivetwentysix has quit [Quit: fivetwentysix]
qba73 has joined #ruby
Macaveli has quit [Remote host closed the connection]
livathin_ has joined #ruby
oo_ has joined #ruby
ponga has joined #ruby
<shevy> I feel like writing no code today
kl__ has quit [Ping timeout: 260 seconds]
rylev has joined #ruby
shazaum has joined #ruby
<ddv> go home
livathinos has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
hiyosi has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
<dionysus69> hey guys, assuming some of you know game ruby warrior. is it satisfactory to cover levels by writing code that fits that particular scenario only or should I extend previous code and add functionality, which is harder ? :S
Beoran__ has quit [Ping timeout: 260 seconds]
red_horned_rihno has quit [Read error: Connection reset by peer]
thomasfedb has quit [Ping timeout: 260 seconds]
tobago has quit [Ping timeout: 260 seconds]
gokulnath has quit [Ping timeout: 260 seconds]
hmsimha has joined #ruby
<certainty> workmad3: that's good. i forgot what i wanted to ask x|
vjt has quit [Ping timeout: 260 seconds]
im0b has quit [Ping timeout: 260 seconds]
Mekkis has quit [Excess Flood]
SegFaultAX has quit [Ping timeout: 260 seconds]
Deele has quit [Ping timeout: 260 seconds]
ceej_irccloud has quit [Ping timeout: 260 seconds]
Guest85414______ has quit [Ping timeout: 260 seconds]
chu has quit [Ping timeout: 260 seconds]
pmarreck has quit [Ping timeout: 260 seconds]
Trieste has quit [Ping timeout: 260 seconds]
cnj has quit [Ping timeout: 260 seconds]
shevy has quit [Ping timeout: 260 seconds]
tesuji has quit [Ping timeout: 260 seconds]
ramblinpeck_ has quit [Ping timeout: 260 seconds]
helpa has quit [Ping timeout: 260 seconds]
chaos_ has quit [Ping timeout: 260 seconds]
soulcake has quit [Ping timeout: 260 seconds]
ELLIOTTCABLE has quit [Ping timeout: 260 seconds]
msgodf has quit [Remote host closed the connection]
khem_ has quit [Ping timeout: 260 seconds]
Hijiri has quit [Ping timeout: 260 seconds]
olekenneth has quit [Ping timeout: 260 seconds]
yo61 has quit [Ping timeout: 260 seconds]
n1lo has joined #ruby
suffice has quit [Ping timeout: 260 seconds]
skmp_ has quit [Ping timeout: 260 seconds]
phrozen77 has quit [Ping timeout: 260 seconds]
{xenomorph} has quit [Ping timeout: 260 seconds]
Caius has quit [Ping timeout: 260 seconds]
camilasan has quit [Ping timeout: 260 seconds]
jrunning has quit [Ping timeout: 260 seconds]
OliverTynes has quit [Ping timeout: 260 seconds]
tobago has joined #ruby
WillAmes has quit [Ping timeout: 260 seconds]
bascht1 has quit [Ping timeout: 260 seconds]
mozzarella has quit [Ping timeout: 260 seconds]
jaake-tv has quit [Ping timeout: 260 seconds]
speakingcode has quit [Ping timeout: 260 seconds]
leslie has quit [Ping timeout: 260 seconds]
kapowaz has quit [Ping timeout: 260 seconds]
Livadi has quit [Ping timeout: 260 seconds]
adambeynon_ has quit [Ping timeout: 260 seconds]
lele has quit [Ping timeout: 260 seconds]
Deele has joined #ruby
Sgeo_ has joined #ruby
heftig has quit [Ping timeout: 260 seconds]
exadeci has quit [Ping timeout: 260 seconds]
peckermanzzz has quit [Ping timeout: 260 seconds]
Caius has joined #ruby
bcavileer_ has quit [Ping timeout: 260 seconds]
magicien has quit [Ping timeout: 260 seconds]
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ruby
_whitelogger has joined #ruby
ndrei has quit [Client Quit]
fivetwentysix has quit [Quit: fivetwentysix]
freerobby has joined #ruby
ixti has quit [Ping timeout: 255 seconds]
livathinos has joined #ruby
spyderman4g63 has joined #ruby
MasterPiece has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
leslie has joined #ruby
Savoyard has quit [Quit: (null)]
Aova has quit [Remote host closed the connection]
nemesit|znc has joined #ruby
bascht1 has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
valeriansaliou has quit [Quit: Be back later ...]
charliesome has quit [Quit: zzz]
warreng has joined #ruby
valeriansaliou has joined #ruby
{xenomorph} has joined #ruby
elektronaut has joined #ruby
psy_ has quit [Ping timeout: 264 seconds]
vinleod has joined #ruby
Xeago has joined #ruby
valeriansaliou has quit [Ping timeout: 244 seconds]
procat has joined #ruby
uber_hulk has quit [Ping timeout: 258 seconds]
mozzarella has joined #ruby
freerobby has quit [Quit: Leaving.]
* Hanmac says "buuh" to apeiros_ ;P
yfeldblum has joined #ruby
ponga has joined #ruby
ponga has joined #ruby
psy_ has joined #ruby
* Hanmac is now haunting shevy from the grave ;P
procat has quit [Ping timeout: 245 seconds]
DLSteve has quit [Ping timeout: 272 seconds]
Timgauthier has joined #ruby
DLSteve has joined #ruby
anaeem1 has quit [Remote host closed the connection]
kp666 has quit [Quit: Leaving]
yfeldblum has quit [Ping timeout: 256 seconds]
josephndenton has joined #ruby
fgo has joined #ruby
chu has joined #ruby
jeanlinux has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
davedev24_ has quit [Ping timeout: 258 seconds]
mbeasley has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
MartynKeigher has quit [Read error: Connection reset by peer]
mbeasley has joined #ruby
magicien_ has joined #ruby
Stoge88 has joined #ruby
djdarkbeat has quit [Quit: djdarkbeat]
lyuben_ has quit [Quit: Leaving]
aclearman037 has joined #ruby
tobago|home has joined #ruby
77CAAZOS5 has joined #ruby
magicien has joined #ruby
Caius has joined #ruby
tobago has joined #ruby
konsolebox has joined #ruby
non1ck has quit [Quit: Leaving]
phutchins has joined #ruby
Macaveli has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
timonv_ has quit [Remote host closed the connection]
livathinos has quit [Remote host closed the connection]
hatzopoulos_ has joined #ruby
<shevy> hmm
<shevy> if I store documentation in my ruby gem
<shevy> should the dir be called ... doc/ or docs/ ?
77CAAZOS5 has quit [*.net *.split]
magicien has quit [*.net *.split]
Caius has quit [*.net *.split]
tobago has quit [*.net *.split]
pandaant has joined #ruby
Neomex_ has joined #ruby
livathinos has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
nhhagen has joined #ruby
hatzopoulos has quit [Ping timeout: 245 seconds]
hongxu_ has joined #ruby
hongxu_ has left #ruby ["WeeChat 1.0.1"]
<apeiros_> hanmac: are you haunting me?
<Hanmac> if you want? ;P
qulo has joined #ruby
pika_pika has joined #ruby
pandaant has quit [Remote host closed the connection]
xymbol___ has joined #ruby
jeanlinux has joined #ruby
yalue has joined #ruby
startupality has quit [Quit: startupality]
arup_r has joined #ruby
sheepman has joined #ruby
oo_ has quit [Remote host closed the connection]
neoxquick has joined #ruby
<sheepman> can anyone point me in the right direction for writing a REST API server?
<sheepman> Sinatra maybe? or is there something better?
tristanp has joined #ruby
jeremywrowe has joined #ruby
arup_r_ has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
claptor has quit [Quit: this channel is bakas]
jeanlinux has quit [Ping timeout: 255 seconds]
jeremywrowe has left #ruby ["Textual IRC Client: www.textualapp.com"]
<workmad3> sheepman: kinda depends on what the API is doing
<sheepman> just receiving a load of JSON
<workmad3> sheepman: and what is it doing with it?
<avril14th> sheepman: https://github.com/rails-api/rails-api or sinatra or whatever
<workmad3> sheepman: it's rare that an API exists that gets sent data in the expectation that it does sod-all with it, after all :P
<sheepman> workmad3: the JSON received will be a list of unique product ID's that it will then poll another third party API with
<workmad3> sheepman: ok, so it's pretty much just a wrapper around the third-party API with a bit of JSON processing?
kobain has joined #ruby
<workmad3> sheepman: and it'll send results back to the original request, not store them anywhere (e.g. database)?
<sheepman> workmad3: kinda, the third-party doesn't want me to call there API lots of times and iterate over all products, instead they want to send me JSON of the product ID's i care about so i can iterate over them only.
<workmad3> sheepman: I'm basically trying to get you to figure out whether you need storage/database/caching in your API, whether you need authentication, etc.
<workmad3> sheepman: or if it's a really simple batch tunnel
<sheepman> i'll need some kind of auth to verify its the correct sender, but no storage or caching
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<sheepman> i can generate a unique key and give it to them, which they can send back over SSL
<workmad3> sheepman: ok, then sinatra would probably fit... rails-api could also work, but may be a bit overkill :)
<workmad3> sheepman: ok... and where would you store the unique key in order to verify it's correct? :)
<sheepman> yeah i don't see the need to run full blown rails really
russt has joined #ruby
<workmad3> sheepman: rails-api isn't full-blown rails... it's stripped down rails for API construction
<workmad3> sheepman: hence 'rails-api'
<sheepman> ah ok
<sheepman> i may look there too
<workmad3> sheepman: it keeps the controllers and models, but strips out most of the view rendering in favour of stuff like active-model-serializers
<sheepman> i see
<sheepman> key storage is a good question though, in my case i'm not sure worried about security, it may even be that i can just block via IP... not got that far yet.
<sheepman> sure = that
Takle has quit [Ping timeout: 265 seconds]
<sheepman> as in take an IP whitelist approach rather then API key
<sheepman> it will never be transporting sensitive data
Takle has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0.1]
davedev24_ has joined #ruby
<toretore> whitelisting sucks for api users
<workmad3> sheepman: you could always push that concern out of your app and into IP white-listing, basic auth or digest-auth configured in nginx or apache then ;)
uber_hulk has joined #ruby
<avril14th> The good thing about it is that if you want to expand your service at some point you'll have a framework to work with. And if you already have rails on the side, you have 1 tech to care about. Now indeed for just a proxy, you can go for sinatra or an event machine even
<avril14th> IP white list can even be put into HTTP servers right?
fgo has quit [Ping timeout: 264 seconds]
<workmad3> avril14th: 'allow from <ip>; deny from all;'
<avril14th> right
<sheepman> workmad3: true, good plan. basic auth would probably work.
Livadi has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<sheepman> although i am tempted to store keys securely somehow
<sheepman> but i appreciate thats a whole other conversation :)
spider-mario has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boombadaroomba has joined #ruby
tkuchiki has joined #ruby
vinleod has joined #ruby
anaeem1 has joined #ruby
kl has joined #ruby
<sheepman> workmad3: in fact i could just store the hash of the key somewhere and never the key itself right? i don't need to ever recover it, but maybe need to generate a new one in the future for whatever reasons.
livingstn has joined #ruby
giuseppesolinas has joined #ruby
Calmoto has joined #ruby
Channel6 has joined #ruby
boombadaroomba has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
djdarkbeat has joined #ruby
charliesome has quit [Quit: zzz]
kiyote23 has joined #ruby
<avril14th> that works, but what is "somewhere"? db? file? memory? redis?
<sheepman> avril14th: file then into memory most likely, although i spose it doesn't really matter?
sinkensabe has joined #ruby
<avril14th> I don't know, depends on your use. If you have thousands of keys or a dozen and if you need to persist them on drive
adriancb has joined #ruby
jerius has joined #ruby
<avril14th> or from what you say, you may not even need a per use key
konsolebox has quit [Remote host closed the connection]
red_horned_rihno has quit [Ping timeout: 250 seconds]
<avril14th> which is even simpler
hamakn has quit [Remote host closed the connection]
krz has joined #ruby
sambao21 has joined #ruby
kiyote23 has quit [Ping timeout: 258 seconds]
Livadi has quit [*.net *.split]
startupality has joined #ruby
beilabs has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
<sheepman> yeah sure, thanks for your help and you workmad3. Much appreciate :)
triple_b has joined #ruby
beef-wellington has joined #ruby
livathin_ has joined #ruby
triple_b has quit [Client Quit]
triple_b has joined #ruby
<avril14th> no pb
hamakn has quit [Remote host closed the connection]
startupality has quit [Client Quit]
jlast has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 250 seconds]
Savoyard has joined #ruby
<shevy> at first I thought Bopomofo is an insult
<shevy> like we all know what a mofo is ...
livathinos has quit [Ping timeout: 256 seconds]
gfawcettpq has joined #ruby
valeriansaliou has joined #ruby
<ponga> lol shevy
<ponga> another oriental essence that westerners find difficulty to grasp
<Areessell> Silly westerners
zipper has joined #ruby
mrnugget has joined #ruby
<shevy> ponga the asian characters strike me as much more complex than the latin characters
DLSteve has quit [Read error: Connection reset by peer]
<shevy> even the koreans have a letter based alphabet right?
<Areessell> Really? A box with a line in it?
<zipper> I haev this issue where I have added the line Gemfile.lock to my .gitignore yet when it comes to staging I run git status I can see the file Gemfile.lock
<ponga> 複雑!
<ponga> shevy yes we do
<Areessell> zipper: You already added it to the repo
<ponga> we abandoned chinese chrs decades ago
<Areessell> Remove the file from the git repo
<shevy> Areessell yeah - you can actually decipher those korean blocks if you know their meaning
Savoyard has quit [Ping timeout: 244 seconds]
<shevy> I mean like, it seemed much easier than those weird ass chinese characters
<zipper> Areessell: Shouldn't gitigore work around that?
qulo has quit [Ping timeout: 258 seconds]
<zipper> Because I don't want to remove it that's for sure
<shevy> and you can even draw them subtly-differently, then their meaning and phonetics slightly change, it's total madness
<Areessell> You want to remove it from the /repo/ not the file itself.
<zipper> Though it doesn't help after I run bundle does it?
junix659 has joined #ruby
<ponga> shevy: korean alphabet was intentionally created by researcher(king himself) and was kept in control throughout history
<ponga> no wonder its very consistant
jimmyhoughjr has quit [Ping timeout: 255 seconds]
<junix659> i just installed something using gem as a user, and deleted it from my homedir, now after I installed the same program as root, when I execute this as a user it says it can't find the program (tmuxinator) what did I do wrong? I can't find the path n my profile
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
commmmodo has joined #ruby
valeriansaliou has quit [Ping timeout: 265 seconds]
<shevy> ponga what always strikes me when I see those asian characters, it is that they are like ideal for drawings; like you know, to draw a picture? or to draw on a wall, like the ancient egypts did too... but it does not seem to be a very efficient storage medium
<aswen> Hi, what's the best way to build an array of filenames that should be found in a certain dir?
<zipper> Areessell: I read this that says I should always include my Gemfile.lock unless I'm building a gem http://stackoverflow.com/questions/4151495/should-gemfile-lock-be-included-in-gitignore
timonv_ has joined #ruby
<Areessell> Then what the fuck are we talking about here?
<ponga> i agree shevy
<ponga> but not korean letters
<ponga> we are of square/line/circle
<ponga> 아 마
<aswen> like (shell) list=$(find <dir> -name \*.yaml)
MasterPiece has quit [Quit: Leaving]
MasterPiece has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
<Areessell> Dir.glob('this/that/*.yaml')
<zipper> Areessell: Who me?
beilabs has joined #ruby
<aswen> Areessell: thanx!
<Areessell> zipper: lol yeah. You said you put it in the gitignore, but then you don't want to remove it. So what are you trying to do?
sinkensabe has quit [Read error: Connection reset by peer]
<Areessell> Im confused, I'm going to sleep
<Areessell> I'm sure I'm spouting gibberish
sinkensabe has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
dionysus69 has quit [Ping timeout: 240 seconds]
<zipper> Areessell: lol I wanted to remove my Gemfile.lock then I saw a stackoverflow thread that said removing the Gemfile.lock is bad.
startupality has quit [Quit: startupality]
tier has joined #ruby
<Areessell> So why did you ask how to remove it?
vinleod has joined #ruby
adriancb has joined #ruby
arup_r has quit [Remote host closed the connection]
aclearman037 has joined #ruby
MartynKeigher has joined #ruby
freerobby has joined #ruby
<zipper> Areessell: I hadn't come across that info then.
felipedvorak has joined #ruby
felipedvorak has quit [Changing host]
felipedvorak has joined #ruby
77CAAZPNK has joined #ruby
Livadi has joined #ruby
Savoyard has joined #ruby
77CAAZPNK has quit [*.net *.split]
Livadi has quit [*.net *.split]
rimenes has quit [Read error: Connection reset by peer]
<Areessell> I can see how that could cause confusion =p
rimenes_ has joined #ruby
shortCircuit__ has quit [Remote host closed the connection]
aclearman037 has quit [Client Quit]
chthon has quit [Ping timeout: 245 seconds]
giuseppesolinas has joined #ruby
Timgauthier has joined #ruby
qulo has joined #ruby
byprdct has joined #ruby
sk87 has joined #ruby
lemur has joined #ruby
paulfm has joined #ruby
aclearman037 has joined #ruby
eichenwald has joined #ruby
sigurding has quit [Ping timeout: 256 seconds]
sigurding has joined #ruby
whoisjake has joined #ruby
Buck has joined #ruby
Takle has quit [Read error: No route to host]
it0a has joined #ruby
livathin_ has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
doodlehaus has joined #ruby
Takle has joined #ruby
livathinos has joined #ruby
livathinos has quit [Remote host closed the connection]
livathinos has joined #ruby
larissa has joined #ruby
jherbst has joined #ruby
Xiti` has joined #ruby
P-NuT has joined #ruby
Xiti` has quit [Changing host]
Xiti` has joined #ruby
philwantsfish1 has joined #ruby
fabrice31_ has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby
patrick99e99 has joined #ruby
paulfm_ has joined #ruby
seitensei has joined #ruby
seitensei has joined #ruby
ChoiKyuSang_ has joined #ruby
P-NuT has quit [Client Quit]
lemur has quit [Read error: Connection reset by peer]
voodoofish4301 has joined #ruby
mocchi- has joined #ruby
Freijo has joined #ruby
justinmcp_ has joined #ruby
knutmith2t has joined #ruby
lemur has joined #ruby
arturaz has quit [Remote host closed the connection]
gigetoo_ has joined #ruby
saltsa has joined #ruby
eichenwald has quit [Quit: Leaving]
chinmay_dd has quit [Quit: Leaving]
kish` has joined #ruby
BaNzoune1 has joined #ruby
gkra_ has joined #ruby
jaake-tv has joined #ruby
eichenwald has joined #ruby
yokel_ has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
WhereIsMySpoon__ has joined #ruby
kedare has joined #ruby
Takle_ has joined #ruby
fgo has joined #ruby
Techguy305 has joined #ruby
lemur has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
yano has joined #ruby
lemur has joined #ruby
kiyote23 has joined #ruby
RitterJack has quit [Quit: Quitte]
Techguy305 has quit [Read error: No route to host]
Neomex has joined #ruby
anarang has quit [Quit: Leaving]
akkad_ has joined #ruby
Takle has quit [Ping timeout: 258 seconds]
Neomex_ has quit [Ping timeout: 240 seconds]
Savoyard has quit [Quit: (null)]
kiyote23 has quit [Remote host closed the connection]
sailias has joined #ruby
ryao_ has quit [Changing host]
ryao_ has joined #ruby
Techguy305 has joined #ruby
peterhu_ has joined #ruby
ryao_ is now known as ryao
devyn_ has joined #ruby
paulfm has quit [*.net *.split]
fabrice31 has quit [*.net *.split]
ta has quit [*.net *.split]
mclee has quit [*.net *.split]
tenseiten has quit [*.net *.split]
aboudreault has quit [*.net *.split]
yokel has quit [*.net *.split]
Xiti has quit [*.net *.split]
peterhu has quit [*.net *.split]
knutmithut has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
ValicekB has quit [*.net *.split]
gkra has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
anekos_ has quit [*.net *.split]
nickjj has quit [*.net *.split]
`ph8 has quit [*.net *.split]
saltsa_ has quit [*.net *.split]
nomadic_ has quit [*.net *.split]
tzero has quit [*.net *.split]
kish has quit [*.net *.split]
voodoofish430 has quit [*.net *.split]
bmn_ has quit [*.net *.split]
mocchi has quit [*.net *.split]
s00pcan has quit [*.net *.split]
philwantsfish has quit [*.net *.split]
gigetoo has quit [*.net *.split]
RealMarc has quit [*.net *.split]
justinmcp has quit [*.net *.split]
Fraeon has quit [*.net *.split]
devyn has quit [*.net *.split]
linduxed has quit [*.net *.split]
dyreshark has quit [*.net *.split]
WhereIsMySpoon_ has quit [*.net *.split]
akkad has quit [*.net *.split]
weaksauce has quit [*.net *.split]
Brando753 has quit [*.net *.split]
BaNzounet has quit [*.net *.split]
zipper has quit [*.net *.split]
p0wn3d_mhs has quit [*.net *.split]
iamninja has quit [*.net *.split]
DrCode has quit [*.net *.split]
St_Marx has quit [*.net *.split]
akkad_ is now known as akkad
yokel_ is now known as yokel
gigetoo_ is now known as gigetoo
nomadic has joined #ruby
dyreshark has joined #ruby
kiyote23 has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
roger_rabbit has joined #ruby
kiyote23 has quit [Remote host closed the connection]
lemur has quit [Ping timeout: 258 seconds]
tzero has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
tesuji has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
anekos_ has joined #ruby
linduxed has joined #ruby
nickjj has joined #ruby
_Andres_ has joined #ruby
Brando753 has joined #ruby
fgo has joined #ruby
_Andres has quit [Ping timeout: 240 seconds]
aboudreault has joined #ruby
FooMunki_ has joined #ruby
konsolebox has joined #ruby
allcentury has joined #ruby
kiyote23 has joined #ruby
ValicekB_ has joined #ruby
<junix659> i just installed something using gem as a user, and deleted it from my homedir, now after I installed the same program as root, when I execute this as a user it says it can't find the program (tmuxinator) what did I do wrong? I can't find the path n my profile
procat has joined #ruby
rbrs has quit [Quit: Leaving]
Takle_ has quit [Read error: Connection reset by peer]
ValicekB_ is now known as ValicekB
ramfjord has joined #ruby
Takle has joined #ruby
yfeldblum has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
mleone has joined #ruby
sailias has quit [Quit: Leaving.]
<Hanmac> junix659: have you try to open a new terminal?
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atmosx has joined #ruby
lxsameer has quit [Quit: Leaving]
<atmosx> Hello guys
Xeago has quit [Remote host closed the connection]
procat has quit [Ping timeout: 265 seconds]
snath has quit [Ping timeout: 250 seconds]
kaspertidemann has joined #ruby
atomical has joined #ruby
bigkevmcd has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
Takle_ has joined #ruby
MasterPiece has quit [Quit: Leaving]
sailias has joined #ruby
anaeem1 has quit [Remote host closed the connection]
jeff-ooh has joined #ruby
josephndenton has joined #ruby
josephnd1nton has joined #ruby
oleo has joined #ruby
<junix659> hanmac, yes
<junix659> nm
<junix659> fixed
<junix659> thanks!
<Hanmac> junix659: i think the problem is how you deleted the gem as the user
<Hanmac> or the problem was
<junix659> :-)
chth0n has joined #ruby
yano has quit [Quit: WeeChat, The Better IRC Client -- http://weechat.org/]
Takle has quit [Ping timeout: 272 seconds]
whoisjake has quit []
giuseppesolinas has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
josephnd1nton has quit [Ping timeout: 245 seconds]
qulo has quit [Ping timeout: 264 seconds]
Techguy305|2 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
workmad3 has joined #ruby
procat has joined #ruby
xymbol___ has quit [Quit: Be back later ...]
n1lo_ has joined #ruby
Techguy305 has quit [Ping timeout: 256 seconds]
n1lo has quit [Ping timeout: 264 seconds]
whoisjake has joined #ruby
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
yano has joined #ruby
mleone has quit [Ping timeout: 250 seconds]
kaspertidemann has quit []
amundj has quit [Quit: Textual IRC Client: www.textualapp.com]
n1lo_ has quit [Client Quit]
bmn has joined #ruby
tristanp has quit [Remote host closed the connection]
ij has joined #ruby
mclee has joined #ruby
tus has joined #ruby
shazaum has joined #ruby
amundj has joined #ruby
commmmodo has quit [Quit: commmmodo]
<platzhirsch> Had a horrible discussion about Java thread interruption.. my year old believes were claimed to be wrong, because philosophies, APIs, opinions change. Terrible.. luckily not an issue in Ruby :P
pu22l3r has joined #ruby
<workmad3> platzhirsch: sounds intriguing :)
<platzhirsch> I know right
SOLDIERz_ has quit [Ping timeout: 245 seconds]
<workmad3> platzhirsch: what were your previous beliefs?
<workmad3> platzhirsch: and did someone provide an example of how they were wrong?
hamakn has joined #ruby
chrisja has joined #ruby
<workmad3> platzhirsch: or was it just 'lawl, u r rong rong rong, lawl'
pu22l3r has quit [Remote host closed the connection]
<platzhirsch> And you know what beat everything? I was told my SO answer with 29(!) upvotes is just plainly wrong
qulo has joined #ruby
sinkensabe has joined #ruby
<platzhirsch> which clearly cannot be the case, otherwise I wouldn't have gained 29 upvotes, right? (being ironic)
<workmad3> platzhirsch: only 29? :P
<platzhirsch> :*(
amundj has quit [Client Quit]
<workmad3> platzhirsch: I've had people criticize one of my SO answers with almost 200 upvotes ;)
nhhagen has quit [Ping timeout: 256 seconds]
neoxquick has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
<platzhirsch> no, he was really passionate about it, throwing paragraphs of explanation at me. No, I mean it was quite reasonable. In Java using Thread#interrupt() is problematic, because it sets an interruption flag on the Thread instance and some horrible 3rd party libraries tend to swallow that interrupt flag silently, removing your control over the termination process
kiyote23 has quit [Remote host closed the connection]
n1lo has joined #ruby
jenrzzz has joined #ruby
<workmad3> platzhirsch: and he claimed that such a thing doesn't happen anymore, or that it couldn't happen?
<platzhirsch> that it could happen
QKO has quit [Ping timeout: 264 seconds]
<workmad3> platzhirsch: could? or couldn't?
ChoiKyuSang_ has quit [Remote host closed the connection]
amundj has joined #ruby
<workmad3> (now confused :) )
<platzhirsch> haha
<platzhirsch> He claimed that some 3rd party swallow the interruption flag silenty
Pattt has joined #ruby
ChoiKyuSang has joined #ruby
<workmad3> platzhirsch: ah, ok
hamakn has quit [Ping timeout: 245 seconds]
<workmad3> platzhirsch: obvious answer - 'example please'
<platzhirsch> yeah, he provided all that, I cannot criticize him.. or her
ph8 has joined #ruby
<workmad3> platzhirsch: ah :)
<workmad3> platzhirsch: so it was a case that you were just plain wrong ;)
<platzhirsch> my dismay is simply about being disillusioned
<platzhirsch> although being disillusioned is something positive and should be embraced
Viata has joined #ruby
<workmad3> platzhirsch: you learn more by being wrong than by being right? :)
<platzhirsch> yes, you progress
Viata has quit [Client Quit]
Pixi_ has joined #ruby
joshbamboo1 has joined #ruby
<workmad3> heh :) I personally think you can learn just as much either way, but I also conceed that humans are often very bad at asking 'why?' when they're 'right'... it's much easier to go 'I was wrong... ok, why was I wrong?' than it is to go 'ok, I was right. Why was I right?'
commmmodo has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
<workmad3> *concede
kiyote23 has joined #ruby
jespada has joined #ruby
QKO has joined #ruby
Xiti` has quit [Ping timeout: 265 seconds]
WildBamboo-Josh has quit [Ping timeout: 265 seconds]
sailias has quit [Quit: Leaving.]
prasselpikachu has quit [Ping timeout: 255 seconds]
maasha has quit [Quit: Page closed]
evanjs has joined #ruby
Macaveli has quit [Remote host closed the connection]
pushpak has joined #ruby
kiyote23 has quit [Remote host closed the connection]
paulfm_ has quit [Quit: Goodbye]
kiyote23 has joined #ruby
paulfm has joined #ruby
paulfm has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
paulfm has joined #ruby
nhhagen has joined #ruby
kaspertidemann has joined #ruby
tkuchiki has quit [Remote host closed the connection]
chth0n has quit [Ping timeout: 256 seconds]
chinmay_dd has joined #ruby
tkuchiki has joined #ruby
20WAAHJ21 has joined #ruby
rotti_love has quit [Quit: Changing server]
prasselpikachu has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
ponga has quit [Quit: Leaving...]
Alina-malina has quit [Ping timeout: 265 seconds]
weems|mac has joined #ruby
uber_hul1 has joined #ruby
joshbamboo2 has joined #ruby
Alina-malina has joined #ruby
chu has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Soda has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 256 seconds]
uber_hulk has quit [Ping timeout: 265 seconds]
joshbamboo1 has quit [Ping timeout: 272 seconds]
dstarh has joined #ruby
<dstarh> Anyone use Shrimp for pdf rendering? We've been using it for a bit and it works well except on occasion we get a A Shrimp::RenderingError occurred in pdf#create with no explanation or stack
uber_hulk has joined #ruby
uber_hul1 has quit [Ping timeout: 245 seconds]
<Areessell> No stack trace?
<Areessell> Have you tried rescuing RenderingError and using Exception#backtrace
rismoney1 has joined #ruby
DrCode has joined #ruby
tagrudev has quit [Remote host closed the connection]
mathewji has left #ruby [#ruby]
Techguy305|2 has quit [Read error: Connection reset by peer]
<dstarh> Areessell i have not, we only see it in production thus far, but good idea
josephndenton has quit [Ping timeout: 244 seconds]
<dstarh> and nope no stack trace other than our internal stuff, nothing from it itself
<shevy> workmad3 why are humans bad at asking why
nhhagen has quit []
sailias has joined #ruby
<workmad3> shevy: I'm saying humans are bad at asking 'why' when they are right without knowing the reasons, compared to when they're wrong without knowing the reasons
<shevy> platzhirsch on stackoverflow I often upvote people I like regardless of their answer!
rotti_love has joined #ruby
einarj has quit [Remote host closed the connection]
rotti_love is now known as jtdoncas
<platzhirsch> shevy: yo, I like your style
Techguy305 has joined #ruby
St_Marx has joined #ruby
byprdct has joined #ruby
<shevy> platzhirsch and on youtube I downvote every video just so that google won't know if there are any videos I like
<shevy> (actually I am kidding there but I am tempted to would-do so)
droidburgundy has quit [Ping timeout: 246 seconds]
<platzhirsch> that's trying to avoid something inevitable
tvw has quit [Remote host closed the connection]
sinkensabe has joined #ruby
chth0n has joined #ruby
<shevy> I am reading a boring specification ... http://id3.org/id3v2.4.0-structure
fgo has joined #ruby
<shevy> but alas, compared to many others at least it is comparatively short
<shevy> I think the IRC specification is longer
<platzhirsch> ah boring
<platzhirsch> I read boarding
<platzhirsch> and was like cool shevy is programming something for an aircraft company
yfeldblum has joined #ruby
<shevy> lol
<platzhirsch> but I mean hey, mp3 metadata
<shevy> boarding
shyshy has joined #ruby
<shevy> I won't touch mission critical code
<platzhirsch> You're not allowed right?
<platzhirsch> because of court's order or something
<platzhirsch> can't recall anymore
giuseppesolinas has joined #ruby
TgMts has quit [Ping timeout: 258 seconds]
TgMts has joined #ruby
paulfm has quit [Quit: Zzzzz...]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xymbol___ has joined #ruby
mengu has quit [Remote host closed the connection]
ItSANgo_ has quit [Quit: Leaving...]
fgo has quit [Ping timeout: 255 seconds]
jobewan has joined #ruby
paulfm has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
fmcgeough has joined #ruby
Calmoto has quit [Ping timeout: 255 seconds]
kiyote23 has quit [Remote host closed the connection]
aclearman037 has joined #ruby
enebo has joined #ruby
platzhirsch1 has joined #ruby
platzhirsch has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
platzhirsch1 has quit [Read error: Connection reset by peer]
Xiti` has joined #ruby
sailias has quit [Quit: Leaving.]
Ankhers has joined #ruby
Hanmac has quit [Quit: Leaving.]
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
valeriansaliou has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
gsd has joined #ruby
Xiti has joined #ruby
stunder has joined #ruby
<aep> if anyone wants a functional programming challange :D http://npaste.de/p/5SD
Pixi_ has quit [Ping timeout: 244 seconds]
surs has quit [Quit: leaving]
Xiti` has quit [Ping timeout: 272 seconds]
josephndenton has joined #ruby
Takle has joined #ruby
noop has quit [Ping timeout: 250 seconds]
Deele has joined #ruby
valeriansaliou has quit [Ping timeout: 244 seconds]
p0wn3d_mhs has joined #ruby
<ddv> aep: we are not going to do your homework
byprdct has joined #ruby
pu22l3r has joined #ruby
<canton7> at least say "please" :P
rimantas has quit [Quit: rimantas]
<jhass> but but...
<jhass> .values.flatten(1).group_by {|item| item.first }.map {|k, v| [k, *v.map(&:last)] }
byprdct has quit [Max SendQ exceeded]
Takle_ has quit [Ping timeout: 265 seconds]
dfinninger has joined #ruby
<jhass> not that either version of that datastructure seems to make much sense
josephndenton has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
mengu has joined #ruby
josephndenton has joined #ruby
last_staff has quit [Quit: last_staff]
mengu has quit [Changing host]
mengu has joined #ruby
devoldmx33 has joined #ruby
jeremywrowe has joined #ruby
<apeiros_> jhass: so you just did his homework :-|
<jhass> if it's homework
<apeiros_> and they didn't even say "please"!
<jhass> he needs to be able to explain it
<jhass> which he probably won't ;P
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
neoxquick has joined #ruby
bal has quit [Quit: bal]
devoldmx33 has quit [Ping timeout: 255 seconds]
bal has joined #ruby
aclearman037 has quit [Read error: Connection reset by peer]
bal has quit [Client Quit]
startupality has joined #ruby
aclearman037 has joined #ruby
armyriad has joined #ruby
tristanp has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
sinkensabe has joined #ruby
frog|OFF is now known as green-big-frog
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jstad has joined #ruby
startupality has quit [Client Quit]
_Andres has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
<waxjar> i came up with x.values.reduce { |accumulator,value| accumulator.zip(value).map { |a, b| a | b } }
sinkensabe has quit [Remote host closed the connection]
treehug88 has joined #ruby
<green-big-frog> hi
arup_r has joined #ruby
jin_ has joined #ruby
_Andres_ has quit [Ping timeout: 264 seconds]
livathinos has quit []
tristanp has quit [Ping timeout: 245 seconds]
Trieste has quit [Quit: ZNC - http://znc.in]
Trieste has joined #ruby
aclearma_ has joined #ruby
snath has joined #ruby
<jhass> waxjar: if I got that right that would depend on uniform ordering though, right?
startupality has joined #ruby
dfedde has quit [Quit: WeeChat 0.4.2]
<jhass> I understood 1, 2, 3 as keys
v1n has quit [Ping timeout: 245 seconds]
claw has joined #ruby
aclearman037 has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
tristanp has joined #ruby
cassianoleal has quit [Quit: (null)]
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
Fire-Dragon-DoL has joined #ruby
apeiros_ has quit [Remote host closed the connection]
cesarstafe has joined #ruby
ItSANgo has joined #ruby
Fire-Dragon-DoL has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
<cesarstafe> hi people, I am wondering if somebody knows a gem that is capable to search linkedin profiles and watch updates without authentication as user with omniauth ... is it possible?
_Andres has joined #ruby
chipotle has quit [Quit: cheerio]
sinkensabe has quit [Remote host closed the connection]
renderful has joined #ruby
mikepack has joined #ruby
sigurding has quit [Quit: sigurding]
soulcake has joined #ruby
chipotle has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
gregf has quit [Ping timeout: 245 seconds]
spyderman4g63 has quit [Ping timeout: 265 seconds]
peckermanzzz has joined #ruby
ponga has joined #ruby
ponga has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
sandelius has joined #ruby
GaryOak_ has joined #ruby
dideler has left #ruby ["undefined"]
baweaver has joined #ruby
rshetty has joined #ruby
giuseppesolinas has joined #ruby
kl has quit [Ping timeout: 264 seconds]
drewvanstone has joined #ruby
<ericwood> not without scraping and violating their TOS
valeriansaliou has joined #ruby
<ericwood> and I guarantee there's no gem for that
chaos_ has joined #ruby
einarj has joined #ruby
havenwood has joined #ruby
aganov has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 250 seconds]
sinkensabe has joined #ruby
jin_ has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
fgo has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 1.0.1]
fabrice31 has joined #ruby
Alina-malina has quit [Ping timeout: 244 seconds]
aclearma_ has quit [Read error: Connection reset by peer]
jin_ has joined #ruby
arya_ching has joined #ruby
Livadi has joined #ruby
patrick99e99 has joined #ruby
kl has joined #ruby
ponga has quit [Quit: Leaving...]
valeriansaliou has quit [Ping timeout: 255 seconds]
aclearman037 has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
jaequery has joined #ruby
pu22l3r has quit []
<cesarstafe> ericwood: ufffff... what a problem with tht
sigurding has joined #ruby
fgo has quit [Ping timeout: 250 seconds]
tristanp has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
DonOtreply has joined #ruby
pu22l3r has joined #ruby
gsd has joined #ruby
Techguy305 has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 258 seconds]
patrick99e99 has quit [Ping timeout: 258 seconds]
havenwood has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Timgauthier is now known as timgauthier_away
GaryOak_ has quit [Remote host closed the connection]
studiotate has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle_ has joined #ruby
geggam has joined #ruby
v0n has joined #ruby
mengu has quit [Remote host closed the connection]
Timgauthier has joined #ruby
havenwood has joined #ruby
baweaver has quit [Remote host closed the connection]
Guest36309 is now known as adam12
sambao21 has quit [Quit: Computer has gone to sleep.]
Alina-malina has joined #ruby
GaryOak_ has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
Takle__ has joined #ruby
chipotle has quit [Quit: cheerio]
Takle has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
<aswen> Hi there, who can help me contructing a hash? I described it in http://paste.debian.net/136844/)
sambao21 has joined #ruby
baweaver has joined #ruby
Takle_ has quit [Ping timeout: 244 seconds]
klmlfl has joined #ruby
reinaldob has joined #ruby
startupality has quit [Quit: startupality]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
Neomex has quit [Ping timeout: 272 seconds]
tristanp has quit [Ping timeout: 245 seconds]
<shevy> you can obtain all keys or values from a hash by using .keys and .values respectively aswen; and you can also match any filter criterium through .select
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> so in your .rb file, test the output: require 'pp'; pp scenes.keys
<claw> hey there ... i want a client to send a hash to a server. i guess i am going to use tcp socket for that right? next thing to load the hash which is propably comes as a string to the server i use eval to make it hash again. but how would i prevent injection when using eval ? or am i totaly wrong with what i am planing ?
Prometheian has joined #ruby
chrishough has joined #ruby
startupality has joined #ruby
snzmn has quit [Ping timeout: 245 seconds]
tobago|home has quit [Remote host closed the connection]
<aswen> shevy: I don't understand. can you explain a bit more "dummy-mode"?
<aswen> (thanx btw!)
AFKGeek has quit [Quit: Fades into the shadows]
valeriansaliou has joined #ruby
Soda has joined #ruby
delianides has joined #ruby
tristanp has joined #ruby
Areessell has quit [Ping timeout: 265 seconds]
startupality has quit [Client Quit]
<workmad3> claw: transmit data as JSON
<workmad3> claw: and don't use eval
tier has quit [Remote host closed the connection]
atmosx has quit [Quit: Lost in trance]
Techguy305 has joined #ruby
valeriansaliou has quit [Ping timeout: 272 seconds]
snzmn has joined #ruby
<Xeago> claw: you will also want authenticity and tamper prevention
sigurding has quit [Quit: sigurding]
<Xeago> why not just use a TLS, and likely HTTP on top of that?
phutchin1 has joined #ruby
lmickh has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
mleone has joined #ruby
GaryOak_ has quit [Read error: Connection reset by peer]
emmesswhy has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
<workmad3> Xeago: at which point, why not just run a rack server? :)
dfinninger has joined #ruby
mikepack has joined #ruby
tier has joined #ruby
<claw> how would i transfer data to a rack server? post is limited on length isnt it ?
s00pcan_ has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 240 seconds]
<workmad3> claw: http request body can be limited by a server, said servers can generally be configured as to what the maximum size they'll accept is
<workmad3> claw: so the question is - how much data are you planning on sending in a single request?
<workmad3> claw: or are you just imagining limits to arbitrarily dismiss options?
Timgauthier is now known as timgauthier_away
phutchin1 has quit [Ping timeout: 244 seconds]
s00pcan has joined #ruby
<claw> i dont know will 1000 chars be a problem ?
<workmad3> no
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<claw> okay then thats fine
<workmad3> that's a kb
<workmad3> *maybe* 4kb if they're all 4-byte utf-8 chars...
<claw> i heard there is a limit but i never looked that up
jenrzzz has joined #ruby
GaryOak_ has joined #ruby
jeremywrowe has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
n1lo has quit [Ping timeout: 258 seconds]
tier has quit [Ping timeout: 264 seconds]
jeremywrowe has joined #ruby
ycodr has quit [Remote host closed the connection]
ycodr has joined #ruby
pu22l3r has quit [Ping timeout: 250 seconds]
mrnugget has quit [Quit: mrnugget]
olivier_bK has quit [Ping timeout: 258 seconds]
Majost has left #ruby [#ruby]
Neomex has joined #ruby
gregf has joined #ruby
Takle has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Hobogrammer has joined #ruby
startupality has joined #ruby
Takle__ has quit [Read error: Connection reset by peer]
konsolebox has quit [Quit: Leaving]
AlSquirrel has joined #ruby
startupality has quit [Client Quit]
iRockZ1 has left #ruby [#ruby]
Takle has quit [Remote host closed the connection]
moritzs has joined #ruby
alex88 has quit []
AlSquire has quit [Ping timeout: 250 seconds]
qulo has quit [Remote host closed the connection]
kenneth has joined #ruby
kaspertidemann has quit []
ycodr has quit [Remote host closed the connection]
rockdon has quit [Ping timeout: 258 seconds]
andikr has quit [Remote host closed the connection]
msull92 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
rockdon has joined #ruby
green-big-frog is now known as frog|OFF
ycodr has joined #ruby
hatzopoulos_ is now known as hatzopoulos
baweaver has quit [Remote host closed the connection]
dc has quit [Remote host closed the connection]
pushpak has quit [Quit: Leaving...]
aclearma_ has joined #ruby
aspires has quit []
baweaver has joined #ruby
ta_ has quit [Remote host closed the connection]
ghostmoth has joined #ruby
aclearman037 has quit [Ping timeout: 272 seconds]
aswen has quit [Ping timeout: 245 seconds]
timonv_ has quit [Remote host closed the connection]
FooMunki_ has quit [Quit: FooMunki_]
ramfjord has joined #ruby
Grantlyk has joined #ruby
rshetty_ has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
dumdedum has quit [Quit: foo]
dANO has quit []
dotsspwe1 has joined #ruby
pietr0 has joined #ruby
pushpak has joined #ruby
s00pcan has quit [Remote host closed the connection]
voodoofish4301 is now known as voodoofish430
jheg has quit [Quit: jheg]
sambao21 has joined #ruby
Takle has joined #ruby
patrick99e99 has joined #ruby
dotsspwe1 has quit [Ping timeout: 258 seconds]
s00pcan has joined #ruby
fgo has joined #ruby
dblessing has joined #ruby
apeiros_ has joined #ruby
deric_skibotn has joined #ruby
bricker`work has joined #ruby
FooMunki has joined #ruby
yfeldblum has joined #ruby
kiyote23 has joined #ruby
jtdoncas has quit [Quit: leaving]
malcolmva has quit [Ping timeout: 244 seconds]
uber_hulk has quit [Quit: leaving]
lele has joined #ruby
rotti_love has joined #ruby
rismoney1 has quit [Ping timeout: 245 seconds]
arya_ching has quit [Ping timeout: 264 seconds]
Cache_Money has joined #ruby
rotti_love has quit [Client Quit]
sigurding has joined #ruby
n1lo has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
apeiros_ has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
Xiti has quit [Quit: Xiti]
apeiros_ has joined #ruby
djbkd has joined #ruby
Xiti has joined #ruby
Stoge88 has joined #ruby
klmlfl has quit [Remote host closed the connection]
valeriansaliou has joined #ruby
<waxjar> yeah true jhass, didn't think of that
chth0n has quit [Ping timeout: 255 seconds]
Guest84271 has joined #ruby
mroach has quit [Quit: mroach]
<Guest84271> hi people
<jhass> hi guest
_djbkd has joined #ruby
<Guest84271> I am using xchat for the first time... how can I do to change my nickname? /nick <nickname>
allister has joined #ruby
eichenwald has quit [Quit: Leaving]
<Grantlyk> Guest84271: I think you answered your own question?:S
emmesswhy has quit [Quit: This computer has gone to sleep]
djbkd has quit [Ping timeout: 265 seconds]
P-NuT has joined #ruby
Xeago has quit [Remote host closed the connection]
<Guest84271> mmm
Techguy305|2 has joined #ruby
<Guest84271> not working
Techguy305 has quit [Ping timeout: 244 seconds]
msull92 has left #ruby ["(null)"]
Takle has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> which one do you want? might be taken already
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
bmichelsen has joined #ruby
josephnd1nton has joined #ruby
malcolmva has joined #ruby
jaequery has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<Guest84271> a question here if somebody knows about omniauth-linkedin strategy.. is it possible to do login using it in a standalone ruby script under some folder or try to test it in a rails console?
sigurding has quit [Quit: sigurding]
boombadaroomba has joined #ruby
georgesmith has quit [Quit: georgesmith]
<jhass> make sure to inform other channels about provided solutions when you crosspost
Spami has quit [Quit: This computer has gone to sleep]
josephnd1nton has quit [Ping timeout: 245 seconds]
<Guest84271> ok
<zacts> jhass: I like your last name. Have you heard of the pianist Monique Haas? (sorry your nick reminded me of her music)
<zacts> anyway, check it out sometime, and hi #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> zacts: nope, and my actual last name is haß, internet protocols just don't like it ;)
Axy has quit [Read error: Connection reset by peer]
felixjet has quit [Read error: Connection reset by peer]
<zacts> ah, ok. :-)
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
michaeldeol has joined #ruby
_djbkd has quit [Ping timeout: 250 seconds]
felixjet has joined #ruby
<jhass> so in german hass is phonetically equivalent and everything accepts that as an alternate way to write it basically ;)
<eam> zacts: I've heard of the avocado
<zacts> nice eam
<eam> huge fan
rylev has quit [Remote host closed the connection]
kiyote23 has quit [Remote host closed the connection]
sea_local has joined #ruby
msgodf has quit [Ping timeout: 240 seconds]
boombadaroomba has quit [Ping timeout: 258 seconds]
rotti_love has joined #ruby
rotti_love has quit [Client Quit]
kenneth has joined #ruby
jtdoncas has joined #ruby
deol has joined #ruby
michaeldeol has quit [Read error: Connection reset by peer]
Spami has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
larissa has quit [Quit: Leaving]
FooMunki has quit [Quit: FooMunki]
econerd4ever has joined #ruby
boombadaroomba has joined #ruby
aspires has joined #ruby
jaequery has joined #ruby
jheg has joined #ruby
Grantlyk has quit [Remote host closed the connection]
rimenes has joined #ruby
baweaver has quit [Remote host closed the connection]
ponga has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has quit [Client Quit]
tier has joined #ruby
jheg has quit [Client Quit]
roolo has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
roolo has joined #ruby
dcarmich has joined #ruby
rimenes_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
russt has quit [Ping timeout: 258 seconds]
tier has quit [Remote host closed the connection]
tier has joined #ruby
jenrzzz has joined #ruby
klmlfl has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 264 seconds]
SOLDIERz_ has joined #ruby
pengin has joined #ruby
emmesswhy has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Stoge88 has joined #ruby
kl has quit [Ping timeout: 240 seconds]
vvivv has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
econerd4ever has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
econerd4ever has joined #ruby
jaequery has joined #ruby
qba73 has quit []
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
Xiti has quit [Read error: Connection reset by peer]
Savoyard has joined #ruby
wallerdev has joined #ruby
nateberkopec has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlSquirrel has quit [Quit: This computer has gone to sleep]
jeremywrowe has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jeremywrowe has joined #ruby
livingstn has quit [Ping timeout: 256 seconds]
c0rwin has quit [Ping timeout: 250 seconds]
ponga has quit [Quit: Leaving...]
maestrojed has joined #ruby
wjimenez5271 has joined #ruby
fandi has joined #ruby
mbwe has quit [Quit: WeeChat 0.4.2]
tubuliferous has joined #ruby
sandelius has joined #ruby
Spami has joined #ruby
fabrice31 has joined #ruby
Spami has quit [Remote host closed the connection]
baweaver has joined #ruby
sigurding has quit [Quit: sigurding]
centrx has joined #ruby
dc has joined #ruby
adriancb has quit [Remote host closed the connection]
hatzopoulos has quit [Ping timeout: 264 seconds]
Parker0 has joined #ruby
sinkensabe has joined #ruby
mbwe has joined #ruby
russt has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
kaspertidemann has joined #ruby
adriancb has joined #ruby
rismoney1 has joined #ruby
psy_ has quit [Quit: Leaving]
gsd_ has joined #ruby
gsd has quit [Read error: Connection reset by peer]
fgo has joined #ruby
psy_ has joined #ruby
Stoge88 has joined #ruby
Takle has joined #ruby
valeriansaliou has quit [Quit: Be back later ...]
gregf has quit [Quit: WeeChat 1.0.1]
fgo has quit [Ping timeout: 265 seconds]
Xeago has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 250 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Stoge88 has quit [Ping timeout: 256 seconds]
last_staff has joined #ruby
deol has quit [Quit: Textual IRC Client: www.textualapp.com]
dfinninger has quit [Remote host closed the connection]
pu22l3r has joined #ruby
allister has quit [Quit: Textual IRC Client: www.textualapp.com]
rylev has joined #ruby
Xiti has joined #ruby
evanjs has quit [Remote host closed the connection]
_1_cardel has joined #ruby
<_1_cardel> sup
_1_cardel has left #ruby [#ruby]
psyprus has quit [Changing host]
psyprus has joined #ruby
tesaf has joined #ruby
testin has quit [Remote host closed the connection]
livingstn has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
tristanp has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
dseitz has joined #ruby
jamgood96 has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
mbeasley has joined #ruby
rshetty_ has quit [Remote host closed the connection]
orionstein has quit [Quit: ZNC - http://znc.in]
arup_r1 has joined #ruby
orionstein has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
iamninja has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
jdj_dk has joined #ruby
P-NuT has quit []
LouisRoR has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jaequery has quit [Max SendQ exceeded]
jbelmont has joined #ruby
ta has joined #ruby
jaequery has joined #ruby
n1lo has quit [Ping timeout: 265 seconds]
mloveless has joined #ruby
adriancb has joined #ruby
louism2wash has joined #ruby
adriancb has quit [Remote host closed the connection]
<louism2wash> Hey guys, is there any way to call another class's instance method on another object? Sort of like instance_exec except I can just pass it a method name instead of a block?
pengin has quit [Remote host closed the connection]
kamilc__ has quit [Quit: Leaving...]
n1lo has joined #ruby
<shevy> louism2wash you can use .send on the object - you must however have a handle on that object
pengin has joined #ruby
fernandolopez has joined #ruby
<louism2wash> shevy: by handle do you mean an instance of the object? This is a general idea of what I am trying to do: https://gist.github.com/louism2/cc5b440362a6f8e8a841
tristanp has joined #ruby
<wallerdev> that sounds like a really odd thing to do lol
<wallerdev> why not just make Bar inherit Foo
<shevy> louism2wash by handle I mean your object. there is no instance of an object, there are instances of a class man
oleo is now known as Guest17950
oleo__ has joined #ruby
<shevy> so you are trying to call code when you don't have objects. how should that work louism2wash?
Guest17950 has quit [Ping timeout: 245 seconds]
oleo__ has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oleo__ has joined #ruby
yfeldblum has joined #ruby
oleo__ is now known as oleo
<shevy> louism2wash http://pastie.org/9784679
<shevy> called from Foo
econerd4ever has quit [Remote host closed the connection]
<louism2wash> shevy: But Foo needs that instance method as well.
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<louism2wash> shevy: It's not really a practical question. More hypothetical. Trying to understand metaprogramming in ruby more.
<shevy> then define both a class method and an instance method
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has joined #ruby
adriancb has joined #ruby
<_br_> I'm using OpenSSL::HMAC.digest('sha1', "1234", "300x300/1f233eb9-98f2-499c-8955-54b0d4a75fc1.jpg" ) which gives me "\xBD\xEC\xCF\x83~q%t&\xB9\n2>\x1Ct\xC1ma\xA0\x10". Is this hexadecimal? I'm wondering, because I'm trying to replicate this exact output on the linux commandline and don't get to this result. e.g. ...to_s.unpack("H*") returns bdeccf837e71257426b90a323e1c74c16d61a010 correct hexdigest form, which I can also get via e.g. ec
<_br_> ho -n "300x300/1f233eb9-98f2-499c-8955-54b0d4a75fc1.jpg" | openssl dgst -sha1 -hmac "1234". But how can I get ruby's output "\xBD\xEC\xCF\x83~q%t&\xB9\n2>\x1Ct\xC1ma\xA0\x10" in linux commandline? I tried already various combinations with od or xxd...
seanosaur has joined #ruby
rismoney1 has quit [Ping timeout: 258 seconds]
last_staff has quit [Quit: last_staff]
spyderman4g63 has joined #ruby
<wallerdev> its just a binary string
<wallerdev> but since theres no alphanumeric characters to represent some of those things it uses hex escape codes instead
<_br_> huh, I see that makes sense
kenneth has joined #ruby
<wallerdev> >> "\xBD\xEC\xCF\x83~q%t&\xB9\n2>\x1Ct\xC1ma\xA0\x10".unpack('C*')
<eval-in__> wallerdev => [189, 236, 207, 131, 126, 113, 37, 116, 38, 185, 10, 50, 62, 28, 116, 193, 109, 97, 160, 16] (https://eval.in/235613)
yfeldblum has quit [Ping timeout: 250 seconds]
sigurding has joined #ruby
econerd4ever has joined #ruby
<_br_> and this is ruby binary representation I guess? So getting this exact representation is impossible from linux cli via shell only?
<apeiros_> >> "\xBD\xEC\xCF\x83~q%t&\xB9\n2>\x1Ct\xC1ma\xA0\x10".unpack('H*')
<eval-in__> apeiros_ => ["bdeccf837e71257426b90a323e1c74c16d61a010"] (https://eval.in/235615)
DLSteve has joined #ruby
<apeiros_> _br_: I don't think any sane tool will emit raw binary to the shell
<wallerdev> getting ruby's version from commandline seems kinda odd, no real reason to do that
fandi has quit [Ping timeout: 245 seconds]
jheg has joined #ruby
<apeiros_> simply because too much would be not printable
<wallerdev> you can just generate hex and use pack('H*') to get it into the same ruby value
<_br_> reason I ask is that someone here used code like Base64.encode64("#{OpenSSL::HMAC.digest('sha1', secret, string)}\n").gsub(/[+\/=]/, "").slice(0..11) and I'd like to replicate that on shell only
pu22l3r has quit [Remote host closed the connection]
<_br_> weird right?
<_br_> d(;.;)p
Savoyard has quit [Quit: (null)]
<wallerdev> yeah no idea what that code is trying to do lol
<shevy> you guys are way too often wondering why
<shevy> I am happily ignoring having to try and understand why when people ask stuff
<_br_> hehe I wish I could do that ... hm
<shevy> I can't go down the route of people's madness
tyll_ has joined #ruby
<_br_> yeah true that
<shevy> I need beer
<wallerdev> part of being a programmer :p
<_br_> *deep sign* me too
<wallerdev> if you dont ask why you end up implementing the wrong thing :)
wink_ndge has quit [Quit: Bye!]
<_br_> anyway, thanks for listening guys.. appreciate it
lolmaus has quit [Quit: Konversation terminated!]
sargas has quit [Quit: This computer has gone to sleep]
DonOtreply has quit [Quit: DonOtreply]
<shevy> wallerdev why
<shevy> :>
phutchins has joined #ruby
sarmiena_ has joined #ruby
tyll has quit [Ping timeout: 264 seconds]
sandelius has joined #ruby
<wallerdev> the better question is why does taylor swift take all her songs off of spotify
<shevy> what is a taylor swift
rainfyre has quit [Remote host closed the connection]
<wallerdev> a singer
chrishough has joined #ruby
<shevy> you are well informed about music wallerdev
<wallerdev> thanks
<pipework> shevy: [citation needed]
adriancb has quit [Remote host closed the connection]
Azure has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
Azure has joined #ruby
mbeasley has quit [Quit: WeeChat 0.4.2]
Techguy305|2 has quit [Ping timeout: 250 seconds]
oleo has quit [Quit: Verlassend]
SomeKittens has joined #ruby
SomeKittens has left #ruby [#ruby]
sigurding has quit [Read error: No route to host]
baweaver has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
RowdyChildren has joined #ruby
tristanp has quit [Remote host closed the connection]
ramfjord has joined #ruby
FooMunki has joined #ruby
sinkensabe has joined #ruby
rismoney1 has joined #ruby
sigurding has joined #ruby
Savoyard has joined #ruby
<miah> a infosec professional
Grantlyk has joined #ruby
mbeasley has joined #ruby
giuseppesolinas has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sargas has joined #ruby
<shevy> oh oh here the music experts come
sinkensabe has quit [Remote host closed the connection]
baweaver has joined #ruby
oleo has joined #ruby
kirun has joined #ruby
<miah> i like music; but ive never heard a taylor swift song. but i am a follower of hers on twitter because infosec is awesome.
Calmoto has joined #ruby
fgo has joined #ruby
AmirolAhmad has quit [Remote host closed the connection]
<shevy> lol
iamninja has quit [Max SendQ exceeded]
<apeiros_> @swiftonsecurity has quite some funny & interesting tweets
<miah> yes
Techguy305 has joined #ruby
rippa has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
iamninja has joined #ruby
bluOxigen has joined #ruby
josephnd1nton has joined #ruby
kiyote23 has joined #ruby
kenneth has joined #ruby
valeriansaliou has joined #ruby
cpruitt has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
atmosx has joined #ruby
josephnd1nton has quit [Ping timeout: 250 seconds]
Cache_Money has joined #ruby
adriancb has joined #ruby
tristanp has joined #ruby
rpag has joined #ruby
oleo has quit [Quit: Verlassend]
pushpak has quit [Read error: Connection reset by peer]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<_br_> this one is great ... RT @qwzybug: "Your password contains invalid characters." No, your startup contains incompetent engineers. :D
pu22l3r has joined #ruby
rylev has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
reset has joined #ruby
havenwood has quit [Remote host closed the connection]
tubuliferous has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oleo has joined #ruby
paulfm has quit [Quit: Zzzzz...]
triple_b has joined #ruby
tubuliferous has joined #ruby
<shevy> haha
paulfm has joined #ruby
robbyoconnor has quit [Ping timeout: 245 seconds]
babykosh has joined #ruby
jenrzzz has joined #ruby
n1lo has quit [Ping timeout: 272 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
allcentury has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
godd2 has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
pika_pika has quit [Ping timeout: 258 seconds]
paulfm has joined #ruby
godd2 has joined #ruby
Sunlorhic has joined #ruby
jamgood96 has quit [Quit: Leaving...]
russt has quit [Quit: russt]
DonOtreply has joined #ruby
pwh has quit []
n1lo has joined #ruby
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
chishiki has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 264 seconds]
rodfersou has quit [Quit: leaving]
pedahzur has joined #ruby
reinaldob has quit []
russt has joined #ruby
reinaldob has joined #ruby
<Senjai> _br_: LOL
Buck has left #ruby ["Leaving"]
chishiki has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
fabrice31 has joined #ruby
tier has quit [Remote host closed the connection]
GaryOak_ has quit [Remote host closed the connection]
tier has joined #ruby
baweaver has quit [Remote host closed the connection]
arup_r1 has quit [Quit: Leaving.]
yalue has quit [Quit: return 0;]
bluOxigen has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
divi has joined #ruby
wallerdev has quit [Quit: wallerdev]
<godd2> I'm trying to document using yard with the @options tag here: https://github.com/nicklink483/dare/blob/master/lib/dare/window.rb#L12
<godd2> Am I using the tag incorrectly? Or do I need to add some additional information? or something else?
Pattt has quit []
fabrice31 has quit [Ping timeout: 258 seconds]
Techguy305 has quit [Ping timeout: 255 seconds]
xiq_ has quit [Read error: Connection reset by peer]
weaksauce has joined #ruby
Techguy305 has joined #ruby
wallerdev has joined #ruby
sambao21 has joined #ruby
Techguy305 has quit [Max SendQ exceeded]
chinmay_dd has quit [Quit: Leaving]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nrsk has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
Techguy305 has joined #ruby
t0rc has joined #ruby
jheg has quit [Read error: Connection reset by peer]
jheg has joined #ruby
FooMunki has quit [Quit: FooMunki]
nrsk has quit [Client Quit]
FooMunki_ has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
Grantlyk has quit [Read error: Connection reset by peer]
shazaum has quit [Quit: Leaving]
<jhass> godd2: mh, looks right to me,
<jhass> doesn't show locally too?
Techguy305|2 has joined #ruby
rylev has joined #ruby
commmmodo has quit [Quit: commmmodo]
<godd2> jhass I don't know how to check locally. I'm just learning yard and was only using rubydocs
zoite has joined #ruby
Techguy305 has quit [Ping timeout: 272 seconds]
<godd2> to be honest, I don't even know what the output is supposed to look like.
jamesaxl has joined #ruby
fantazo has joined #ruby
Grantlyk has joined #ruby
lolmaus has joined #ruby
<jhass> gem install yard
<jhass> yard
<jhass> gives you a local docs/ directory
<godd2> ooooh
evanjs has joined #ruby
<godd2> it just told me unknown tag @options
<godd2> I added an s
<jhass> oh, right
<godd2> thank you jhass :)
<jhass> good catch :D
pengin has quit [Ping timeout: 250 seconds]
Techguy305 has joined #ruby
fgo has joined #ruby
Techguy305|2 has quit [Read error: Connection reset by peer]
<godd2> oh it looks beautiful!
commmmodo has joined #ruby
nrsk has joined #ruby
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
JohnBat26 has joined #ruby
gfawcettpq has quit [Ping timeout: 250 seconds]
tier has quit [Remote host closed the connection]
rimenes has joined #ruby
<jhass> yes, yard renders quite nicely
FooMunki_ has quit [Quit: FooMunki_]
helpa has joined #ruby
rcs has quit [Excess Flood]
<jhass> it gave up when i wanted to attach a macro with an attached macro though ;P
marcules has quit [Ping timeout: 246 seconds]
fgo has quit [Ping timeout: 240 seconds]
rcs has joined #ruby
pwh has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
tier has joined #ruby
rimenes has quit [Ping timeout: 240 seconds]
moritzs has quit [Ping timeout: 258 seconds]
bmichelsen has joined #ruby
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devoldmx33 has joined #ruby
timonv_ has quit [Remote host closed the connection]
maestrojed has joined #ruby
axilla_ has joined #ruby
<godd2> lol well I hope I never have to be that clever
reinaldob has quit [Ping timeout: 272 seconds]
stef204 has joined #ruby
axilla has quit [Ping timeout: 272 seconds]
pika_pika has joined #ruby
pu22l3r has quit [Ping timeout: 264 seconds]
AFKGeek has joined #ruby
elaptics is now known as elaptics`away
pu22l3r has joined #ruby
tristanp has quit [Remote host closed the connection]
pen has quit []
tier has quit [Ping timeout: 256 seconds]
helpa has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
tristanp has joined #ruby
josephnd1nton has joined #ruby
rimenes has joined #ruby
tier has joined #ruby
spyderma_ has joined #ruby
helpa has joined #ruby
tier has quit [Read error: Connection reset by peer]
spyderm__ has joined #ruby
tier has joined #ruby
spyderman4g63 has quit [Ping timeout: 250 seconds]
delianides has quit [Ping timeout: 240 seconds]
beef-wellington has quit [Ping timeout: 244 seconds]
sargas has joined #ruby
josephnd1nton has quit [Ping timeout: 244 seconds]
beef-wellington has joined #ruby
spyderma_ has quit [Ping timeout: 264 seconds]
delianides has joined #ruby
asteros has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jamo has quit [Disconnected by services]
jamo_ is now known as Jamo
jamesaxl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
kl has joined #ruby
frem has joined #ruby
Spami has joined #ruby
<shevy> haha
sanguisdex has quit [Quit: Leaving.]
jenrzzz has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
<atmosx> fuck
<atmosx> hm
emmesswhy has quit [Quit: This computer has gone to sleep]
xymbol____ has joined #ruby
ryao is now known as gentoofan
pengin has joined #ruby
xymbol___ has quit [Ping timeout: 244 seconds]
decoponio has quit [Quit: Leaving...]
Techguy305|2 has joined #ruby
tuelz has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
gentoofan is now known as ryao
t0rc has quit [Quit: WeeChat 1.0.1]
dh64 has joined #ruby
ohaibbq has joined #ruby
rimenes has quit [Quit: Textual IRC Client: www.textualapp.com]
Techguy305 has quit [Ping timeout: 240 seconds]
n1lo has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
jscheel has joined #ruby
freerobby has joined #ruby
jscheel has left #ruby [#ruby]
AndyBotwin has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wallerdev has joined #ruby
allcentury has joined #ruby
fantazo has quit [Quit: Verlassend]
baweaver has joined #ruby
chrishough has joined #ruby
sea_local has quit [Remote host closed the connection]
MrIlyas has joined #ruby
kamil has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
kamil has quit [Client Quit]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sea_local has joined #ruby
AFKGeek has quit [Quit: Off to fly a kite]
gregf has joined #ruby
renderfu_ has joined #ruby
wjimenez5271 has joined #ruby
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby
rismoney1 has quit [Ping timeout: 250 seconds]
momomomomo has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
SOLDIERz_ has quit [Quit: Be back later ...]
livingstn has quit [Ping timeout: 255 seconds]
renderful has quit [Ping timeout: 250 seconds]
sargas has quit [Quit: This computer has gone to sleep]
msull92 has joined #ruby
sargas has joined #ruby
wjimenez5271 has quit [Ping timeout: 245 seconds]
pietr0 has quit [Ping timeout: 250 seconds]
pietr0 has joined #ruby
Morkel has quit [Quit: Morkel]
<bricker`work> >> Object.new.!
<eval-in__> bricker`work => false (https://eval.in/235648)
<bricker`work> what is that?
<msull92> Anyone have experience testing API caching programmatically and could point me to good blog posts?
<msull92> Specifically for Rails
<wallerdev> its so you can do if !blah
<bricker`work> I guess the !obj is syntax sugar for `obj.!`
<pipework> Yeah.
<bricker`work> interesting
DonOtreply has quit [Quit: DonOtreply]
Axy is now known as Mia
<godd2> >> 3.send(:-@)
<eval-in__> godd2 => -3 (https://eval.in/235649)
<Senjai> bricker`work: TIL
droidburgundy has joined #ruby
<wallerdev> how useful
<wallerdev> :p
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Senjai> wallerdev: Please don't override !
<Senjai> xD
<wallerdev> always fun to override random things in gems :p
fgo has joined #ruby
msull92 has left #ruby ["(null)"]
<Senjai> I cant see a scenarior where it wouldnt just add unnecessary complexity
louism2wash has quit [Quit: This computer has gone to sleep]
<wallerdev> what if you accidentally coded your entire application using negative numbers and want them all to be positive now
<TheMoonMaster> You should probably uninstall.
<wallerdev> and you hardcoded every negative number
<wallerdev> lol
<wallerdev> often i find myself accidentally using addition instead of multiplication so i just override + :p
<waxjar> you use your editors find and replace functionality to remove all the hyphens! :D
<godd2> Well the positive integers are isometric to the integers, so it shouldn't be a problem
dc has quit [Disconnected by services]
workmad3 has joined #ruby
dc_ has joined #ruby
<wallerdev> a valid use case might be you want to check how many times you negate a number and you add logging to the method
<wallerdev> lol
kaspertidemann has quit []
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
<godd2> Or if you were ouputting to two different monitors, and using negative numbers for the left one, but you only have one monitor now
jaequery has joined #ruby
<wallerdev> exactly
fgo has quit [Ping timeout: 250 seconds]
<godd2> Taking square roots has never been easier!
unholycrab has quit [Ping timeout: 258 seconds]
tuelz has joined #ruby
chishiki has quit [Ping timeout: 255 seconds]
duncannz has joined #ruby
<wallerdev> or if you never really use modulo, you could change it to the exponent operator to save typing
tristanp has quit [Read error: Connection reset by peer]
<wallerdev> >> class Fixnum; def %(x); self ** x; end end; 5 % 5
<eval-in__> wallerdev => 3125 (https://eval.in/235650)
<wallerdev> looks better anyway
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<godd2> That makes cryptography way easier too
<waxjar> i used the unary plus and minus on Symbol in an IRC library, to represent user and channel modes
Areessell has joined #ruby
<waxjar> but i'm not sure i like it
workmad3 has quit [Ping timeout: 250 seconds]
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tristanp has joined #ruby
econerd4ever has quit [Remote host closed the connection]
<godd2> I gonna start pronouncing Ruby and Rust with the same vowel sound
jdj_dk has quit [Remote host closed the connection]
econerd4ever has joined #ruby
tuelz has quit [Ping timeout: 264 seconds]
<godd2> God help anyone at the next Rubby conf I go to
babykosh has quit [Quit: babykosh]
jaygen has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
valeriansaliou has quit [Quit: Be back later ...]
whoisjake has quit []
econerd4ever has quit [Ping timeout: 240 seconds]
checkit has joined #ruby
valeriansaliou has joined #ruby
chishiki has joined #ruby
<apeiros_> 0.9.8? isn't that quite old?
<jhass> 4 years
<jhass> 27 of the patches have the CVE in their name
<jhass> there are probably more...
sargas has quit [Quit: This computer has gone to sleep]
<jhass> how did I found out? curl failing to connect from a debian squeeze to https://www.ssllabs.com/ssltest/analyze.html?d=pod.omgsrsly.net&s=109.230.224.16&hideResults=on
<apeiros_> hm, ok, actually 0.9.8 first release july 2005, last release october 2014
<jhass> "protocol error"
pauly_oc has joined #ruby
wjimenez5271 has joined #ruby
rshetty has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> just in case somebody needs a practical example to debunk the "old == stable" myth
kyank_ has joined #ruby
chrishough has joined #ruby
valeriansaliou has quit [Ping timeout: 272 seconds]
CrazyM4n has joined #ruby
cesarstafe has quit [Ping timeout: 255 seconds]
Guest84271 has quit [Ping timeout: 250 seconds]
louism2wash has joined #ruby
momomomomo_ has joined #ruby
jenrzzz has joined #ruby
zorak8 has joined #ruby
rshetty has quit [Ping timeout: 272 seconds]
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
patrick99e99 has quit [Ping timeout: 240 seconds]
Takle_ has joined #ruby
Takle has quit [Read error: No route to host]
kyank_ has quit [Ping timeout: 272 seconds]
lmickh has quit [Remote host closed the connection]
<_br_> jhass: What kind of myth is that? Are you talking about security robustness of Debian "stable" ?
<jhass> that's part of the myth, yeah
aswen has joined #ruby
bluehavana has joined #ruby
<jhass> but the main claim is that using recent software would more often break stuff
<_br_> Really? In your opinion it makes more sense to run Debian unstable/experimental in terms of sec?
lolmaus has quit [Quit: Konversation terminated!]
sargas has joined #ruby
<jhass> I run arch on servers, so probably a bit biased ;)
chipotle has joined #ruby
<_br_> ah :)
spider-mario has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
startupality has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
allcentury has quit [Ping timeout: 265 seconds]
zorak8 has quit [Ping timeout: 264 seconds]
xymbol____ has quit [Quit: Be back later ...]
fmcgeough has quit [Quit: fmcgeough]
freerobby has quit [Quit: Leaving.]
roolo has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
startupality has quit [Client Quit]
v0n has quit [Ping timeout: 244 seconds]
dorei has joined #ruby
econerd4ever has joined #ruby
josephnd1nton has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has quit [Ping timeout: 240 seconds]
ohaibbq has quit [Remote host closed the connection]
v0n has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
fmcgeough has joined #ruby
asmodlol has joined #ruby
yeticry has quit [Ping timeout: 258 seconds]
pu22l3r has quit [Remote host closed the connection]
paulfm has quit [Quit: Goodbye]
josephnd1nton has quit [Ping timeout: 256 seconds]
aclearma_ has quit [Quit: I'm out!]
pu22l3r has joined #ruby
jdj_dk has joined #ruby
pu22l3r has quit [Remote host closed the connection]
yeticry has joined #ruby
fmcgeough has quit [Client Quit]
Sunlorhic has quit [Ping timeout: 256 seconds]
zorak8 has joined #ruby
<miah> <3 me some arch. use ubuntu at work. endless issues. wish we ran arch. but i think the next thing i'll run in production will be nix
<atmosx> miah: can I be honest?
<miah> well; i hope people are honest in general
klmlfl has quit [Remote host closed the connection]
russt has quit [Quit: russt]
jheg has quit [Quit: jheg]
<atmosx> In my experience people that whine over Linux distributions have a poor understanding of GNU/Linux and the specific of the distro in question. Especially when talking about major ones.
<pipework> I rather dislike rolling release ubanto.
<pipework> Which means, staying on the alpha.
<pipework> So tehre's that.
djbkd has joined #ruby
<miah> atmosx: nice way to generalize
<atmosx> miah: Well I was talking about you, but there are others.
<miah> oh, so you are just saying that i have a poor understanding of gnu/linux
commmmodo has quit [Quit: commmmodo]
<atmosx> miah: yeah, probably.
studiotate has quit [Quit: Computer has gone to sleep.]
JohnBat26 has quit [Ping timeout: 250 seconds]
<atmosx> miah: do you have any specific issues or you just don't like the package manager?
studiotate has joined #ruby
louism2wash has quit [Quit: This computer has gone to sleep]
<miah> lol
tesaf has quit [Ping timeout: 250 seconds]
asteros has quit [Quit: asteros]
zorak8 has quit [Ping timeout: 250 seconds]
<apeiros_> atmosx: it's probably true that many people whining about stuff do so due to ignorance. but i doubt miah falls into that category ;-)
delianides has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
<apeiros_> at least for the topic at hand
einarj has quit [Remote host closed the connection]
Ankhers has quit [Ping timeout: 250 seconds]
<atmosx> apeiros_: k
asteros has joined #ruby
pwh has quit []
momomomomo has quit [Quit: momomomomo]
unholycrab has joined #ruby
moted has quit []
conniemj has joined #ruby
asteros has quit [Client Quit]
claymore has joined #ruby
asmodlol has quit [Ping timeout: 250 seconds]
jbelmont has quit [Quit: Textual IRC Client: www.textualapp.com]
asteros has joined #ruby
tristanp has quit [Remote host closed the connection]
malcolmva has quit [Ping timeout: 264 seconds]
aswen has quit [Ping timeout: 245 seconds]
dfinninger has quit [Remote host closed the connection]
asmodlol has joined #ruby
<apeiros_> miah: when you say "next thing i'll run in production will be nix" - are you thinking of a specific nix?
<ericwood> ugh...
<benzrf> apeiros_: nix os
<ericwood> " Unable to resolve dependency: 'diamond (= 0.5.3)' requires 'eventmachine (>= 1.0.3, ~> 0)'"
<ericwood> gem list shows that exact version of the gem installed
<apeiros_> oh, lol. I didn't know there is now an actual OS called nix.
<ericwood> eventmachine (1.0.3)
<apeiros_> great name choice, *sob* :)
<ericwood> how on earth is it unable to resolve that dependency if I have the exact gem satisfying the gemfile requirements installed?!
<apeiros_> thanks for the link :)
<jhass> ericwood: is that the full message?
<jhass> all output of bundler?
<ericwood> ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError) Unable to resolve dependency: 'diamond (= 0.5.3)' requires 'eventmachine (>= 1.0.3, ~> 0)'
<ericwood> that's the whole thing
<ericwood> might be able to get more verbose output
tuelz has joined #ruby
<jhass> have a look at your lock, is there something else depending on eventmachine?
<ericwood> I don't have it required in a gemfile, I'm just doing "gem install diamond"
<jhass> mmh
iamninja has quit [Quit: ZZZzzz…]
Photism has joined #ruby
<jhass> rubygems only cares about the gemspec
<jhass> eh, I'm confused
<ericwood> ah yeah
<ericwood> oddly enough the github repo has no gemspec...
<jhass> sigh, the gemspec is not comitted?
<ericwood> nope :D
<pipework> Generate it with hoe!
<rpag> or jeweler
rwy has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> just as it says, eventmachine >= 1.0.3
asmodlol has quit [Ping timeout: 244 seconds]
<jhass> dunno, I'd actually try putting into a dummy Gemfile
fgo has joined #ruby
<jhass> see if bundler can resolve it
<ericwood> yeah, might as well
Calmoto has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
asmodlol has joined #ruby
parduse is now known as Guest80963
AmirolAhmad has joined #ruby
junix659 has quit [Quit: Leaving]
rismoney1 has joined #ruby
pardusf has joined #ruby
Guest80963 has quit [Ping timeout: 240 seconds]
<ericwood> haha same problem
<ericwood> that's great
<ericwood> Could not find gem 'eventmachine (>= 1.0.3, ~> 0) ruby', which is required by gem 'diamond (>= 0) ruby', in any of the sources.
<ericwood> brb
<ericwood> meeting :|
seanosaur has quit []
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
Grantlyk has quit [Remote host closed the connection]
<apeiros_> :( nix packages -> ruby-2.1 -> none found
Grantlyk has joined #ruby
devoldmx33 has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
ohaibbq has joined #ruby
<godd2> ericwood here's a list of github repos that have to do with ruby and sound/audio: https://github.com/RSMP-others
Czupa has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
drewvanstone has quit [Ping timeout: 265 seconds]
Czupa has quit [Client Quit]
zorak8 has joined #ruby
AmirolAhmad has quit [Ping timeout: 256 seconds]
LouisRoR has joined #ruby
dts|pokeball has joined #ruby
treehug88 has quit []
klmlfl has joined #ruby
<ericwood> godd2: yah, but I want this specific one
malcolmva has joined #ruby
<ericwood> no clue why this wouldn't work though!
<godd2> just change its gemfile locally
<ericwood> what would I change though?
<ericwood> honestly
momomomomo has joined #ruby
<ericwood> it just says gem "eventmachine"
jerius has quit []
<godd2> gem "eventmachine", '0.1.3'
<godd2> er
<godd2> 1.0.3
<ericwood> but it's trying to get that version already
<pipework> ericwood: You just need to read the rubygems gemspec guide.
<ericwood> I'm confused though, why would I?
<godd2> gem install eventmachine
<ericwood> it already specifies the correct version
<pipework> ericwood: Do you want to make a gem?
<godd2> what version of eventmachine do youhave installed
<ericwood> so nobody listened to anything I said earlier
<pipework> Do you want to be able to use it in other projects?
freerobby has joined #ruby
<ericwood> I'm not making one, I'm just doing "gem install diamond"
<pipework> You need a gemspec to do 'gem install'
<pipework> You're not reading what we're saying.
<ericwood> you just asked me if I wanted to make a gem, I'm just trying to install this one
asmodlol has quit [Ping timeout: 245 seconds]
<godd2> pipework diamond is already a gem
<godd2> its on rubygems
vinleod has quit [Quit: Computer has gone to sleep.]
<ericwood> it says "eventmachine >= 1.0.3, ~> 0"
<ericwood> I can do a gem list eventmachine and 1.0.3 is installed
commmmodo has joined #ruby
<pipework> To build the gem from source, you need a gemspec, that's really all it comes down to. Otherwise you need to use his gem on rubygems.
<godd2> ericwood do gem install diamond --ignore-dependencies
<ericwood> pipework: yes I know. I'm installing it via rubygems.org
<godd2> and then install the dependencies separately
<ericwood> godd2: ooh didn't know you could do that
<ramfjord> why does it say ">= 1.0.3, ~> 0"
<ramfjord> doesn't ~> normally specify a version specifically?
divi has joined #ruby
<pipework> You can unpack it and change it and then repack it so it might work with your dependencies.
mary5030 has quit [Ping timeout: 258 seconds]
AndyBotwin has quit [Quit: Leaving]
<godd2> ericwood yea I learned --ignore-dependencies when rubygems' dependency servers were offline once
<ericwood> hehe
<godd2> NOW you can change the Gemfile locally
mary5030 has joined #ruby
<godd2> then cd to it and bundle install
Synthead has joined #ruby
asmodlol has joined #ruby
<ericwood> thanks for the tip
<ericwood> completely puzzled why rubygems is confused, the dependency tree is very very clear in this case
<pipework> ericwood: Do you just want to work on the gem or something?
<ericwood> pipework: I just want to install it...
<ericwood> like I keep saying that
<ericwood> over and over
<ericwood> I'm just trying to install it so I can use it
<ericwood> sorry I'm just frustrated with rubygems
<godd2> yea the repo doesn't have a gemspec so who knows how the gem was built
jin_ has quit [Remote host closed the connection]
wjimenez5271 has quit [Remote host closed the connection]
<ericwood> would it be reasonable to open an issue asking for a gemspec?
<godd2> that wouldn't be unreasonable
spyderm__ has quit [Ping timeout: 255 seconds]
<godd2> though in true open source fashion, you could make one and do a pull request :)
<pipework> ericwood: You could also pull request a gemspec.
<ericwood> this is true
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> It'd only take a couple minutes to do, and you could pull data from the gem itself and the rubygems page for what isn't already in the repository.
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pipework> And if you did, you could use your fork until/if he merges it in.
startupality has quit [Quit: startupality]
<pipework> bundle exec rake install, bruh
rismoney1 has quit [Ping timeout: 264 seconds]
<ericwood> okay, I think I got it working
<ericwood> we'll see if it truly works once I try running it tonight
DonOtreply has joined #ruby
momomomomo_ has joined #ruby
freerobby has quit [Quit: Leaving.]
xymbol____ has joined #ruby
wjimenez5271 has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
Areessell has quit [Ping timeout: 258 seconds]
jaygen_ has joined #ruby
<godd2> ericwood here's something to get you started: https://gist.github.com/nicklink483/a10a956222582f201bff
yfeldblum has joined #ruby
kirun has quit [Quit: Client exiting]
agjacome has quit [Quit: leaving]
<ericwood> awesome, thanks!
asteros has quit [Quit: asteros]
MartynKeigher has quit [Read error: Connection reset by peer]
mleone has quit [Ping timeout: 244 seconds]
jaygen has quit [Ping timeout: 250 seconds]
tubuliferous has quit [Quit: Textual IRC Client: www.textualapp.com]
lha has joined #ruby
tubuliferous has joined #ruby
momomomomo has quit [Quit: momomomomo]
lha has quit []
jaygen has joined #ruby
D9 has joined #ruby
jaygen_ has quit [Ping timeout: 240 seconds]
dc___ has joined #ruby
dc_ has quit [Read error: Connection reset by peer]
asteros has joined #ruby
baweaver has quit [Remote host closed the connection]
freerobby has joined #ruby
sinequanon has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
josephnd1nton has joined #ruby
<ericwood> okay, question:
wjimenez5271 has quit [Remote host closed the connection]
<ericwood> I want to have a thread that keeps executing something at a regular interval, but I want to be able to change that interval on the fly from the parent
<ericwood> would opening a socket between the two be an ideal way to communicate that timing information?
it0a has quit [Ping timeout: 240 seconds]
seamon has joined #ruby
wjimenez5271 has joined #ruby
dc___ has quit [Read error: Connection reset by peer]
jaygen has quit []
dc_ has joined #ruby
pauly_oc has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> huh, actually Queue looks like what I want
wjimenez5271 has quit [Remote host closed the connection]
kyank_ has joined #ruby
havenwood has joined #ruby
josephnd1nton has quit [Ping timeout: 250 seconds]
deric_skibotn_ has joined #ruby
deric_skibotn has quit [Ping timeout: 265 seconds]
Savoyard has quit [Quit: (null)]
deric_skibotn_ is now known as deric_skibotn
wjimenez5271 has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
josephndenton has quit [Ping timeout: 265 seconds]
seamon has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
claymore has quit [Quit: Leaving]
weems|mac has quit [Quit: bai]
beef-wellington has quit [Ping timeout: 245 seconds]
wjimenez5271 has quit [Remote host closed the connection]
mikedugan has left #ruby ["Palaver http://palaverapp.com/"]
<godd2> ericwood you can set thread variables that can be changed by the parent
<ericwood> godd2: any examples?
tuelz has quit [Ping timeout: 258 seconds]
postmodern has joined #ruby
delianides has joined #ruby
procat has quit [Ping timeout: 258 seconds]
wjimenez5271 has joined #ruby
digdeep has joined #ruby
mary5030 has quit [Remote host closed the connection]
delianid_ has joined #ruby
cleopatra has joined #ruby
<ericwood> omg thanks!
mary5030 has joined #ruby
<godd2> though if you want t be more precise, youll want to see how much time has passed and subtract so that things line up
<ericwood> I'm woefully ignorant about ruby threading
<apeiros_> means you will have to wait for next wakeup before it takes effect, though
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
<ericwood> yeah, next step is finding a way to preempt the event loop thing
philwantsfish1 is now known as philwantsfish
<godd2> yes, I should warn that that is probably not the *best* way to do what you're trying to do, but it is *a* way
patrick99e99 has joined #ruby
tuelz has joined #ruby
pwh has joined #ruby
delianides has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
<digdeep> Hi, recently I remove ruby-2.1.0 and install ruby-2.1.5. I print out the $LOAD_PATH, and found something like ~/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0. My first reaction it should be ~/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.5?
<crome> digdeep: it means that the gem interface of ruby 2.1.5 is 2.1.0
momomomomo has joined #ruby
<crome> you can use all gems that are compatible with 2.1.0+
rkalfane has joined #ruby
mary5030 has quit [Ping timeout: 244 seconds]
reinaldob has joined #ruby
Crazy_Atheist has joined #ruby
<ericwood> godd2: tried your technique, but this program doesn't seem to be updating the delay: https://gist.github.com/eric-wood/34a37e240e8c6d4333a7
<digdeep> crome, so any fresh ruby installation will be like ~/.rvm/rubies/ruby-2.1.x/lib/ruby/2.1.0
<crome> well, unless a breaking chance is introduced
<crome> which is not very likely
<godd2> ericwood timer.join is waiting for the thread to die
<ericwood> oh god
<godd2> its in an infinite loop, so it never dies
<ericwood> >.<
<apeiros_> I really need to clean up my old backups
<apeiros_> I have a scheduler lying around in one which does just that
<godd2> ericwood yea, #join doesn't kill threads, it waits for them, and it blocks the rest of the program
<ericwood> godd2: aaaaand now it works and I'm an idiot :D
<ericwood> thanks a ton man
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 272 seconds]
doodlehaus has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
<ericwood> yeah doing this with preemption means either killing the thread and restarting it or some other nonsense
<godd2> break if Thread.current[:pls_stop]
cpruitt has quit [Quit: cpruitt]
jdj_dk has quit [Ping timeout: 245 seconds]
rylev has quit [Read error: Connection reset by peer]
seamon has joined #ruby
<ericwood> well, I mean bypass that sleep() if the delay changes
rylev has joined #ruby
baweaver has joined #ruby
<ericwood> so you don't have to wait for the next pass to modify it
fgo has joined #ruby
pengin has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 265 seconds]
codecop has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 244 seconds]
<ericwood> I'm scared this is turning into a real scheduler, like apeiros_ mentioned
<ericwood> noooooooo
pengin has joined #ruby
<apeiros_> iirc mine was <300LoC
<godd2> there are libraries that deal with events and thread scheduling and stuff
<apeiros_> and provided quite a good featureset
jstad has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ericwood> yeah maybe this is a job for eventmachine
<apeiros_> was some of my first code too :)
<ericwood> for a first pass this will do the trick
drewvanstone has joined #ruby
<ericwood> trying to do some midi stuff in a loop where I record input from my synth one note at a time, then play it back
<ericwood> but with the timing changed
asmodlol has joined #ruby
valeriansaliou has joined #ruby
<ericwood> ¯\_(ツ)_/¯ this is a start somewhat
fgo has quit [Ping timeout: 265 seconds]
pengin has quit [Ping timeout: 264 seconds]
pandaant has joined #ruby
drewvanstone has quit [Ping timeout: 245 seconds]
CrazyM4n has quit [Remote host closed the connection]
snath has quit [Ping timeout: 244 seconds]
Channel6 has joined #ruby
olivier_bK has joined #ruby
josephndenton has joined #ruby
valeriansaliou has quit [Ping timeout: 265 seconds]
johncash65 has joined #ruby
johncash65 has quit [Client Quit]
tejas-manohar has joined #ruby
pedahzur has quit []
CpuID has quit [Quit: This computer has gone to sleep]
jespada has quit [Quit: Leaving]
fabrice31 has joined #ruby
fgo has joined #ruby
dfinninger has joined #ruby
klmlfl has quit [Ping timeout: 258 seconds]
LouisRoR has quit [Ping timeout: 240 seconds]
fandi has joined #ruby
fandi has quit [Remote host closed the connection]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
dfinninger has quit [Remote host closed the connection]
sk87 has joined #ruby
havenwood has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
pengin has joined #ruby
tuelz has quit [Ping timeout: 255 seconds]
sk87 has quit [Client Quit]
jeff-ooh has quit [Remote host closed the connection]
jdj_dk has joined #ruby
hiyosi has joined #ruby
renderful has joined #ruby
Sawbones has joined #ruby
baweaver has quit [Remote host closed the connection]
Timgauthier has joined #ruby
renderful has quit [Remote host closed the connection]
asteros has quit [Quit: asteros]
renderfu_ has quit [Ping timeout: 245 seconds]
MrIlyas has quit [Read error: Connection reset by peer]
drewvanstone has joined #ruby
Sawbones has quit [Remote host closed the connection]
Grantlyk has quit [Remote host closed the connection]
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
Grantlyk has joined #ruby
<shevy> and this is the __END__
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Grantlyk has quit [Ping timeout: 245 seconds]
asteros has joined #ruby
dts|pokeball has quit [Read error: Connection reset by peer]
drewvanstone has quit [Ping timeout: 244 seconds]
babykosh has joined #ruby
dts|pokeball has joined #ruby