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.
<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?
<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 !
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}
<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
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
<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.
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.]
<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...
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/ ?
<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
<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]
<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_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?
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
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
<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
<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
<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.]
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…]
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
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
<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]
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]
<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
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]
<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+