<centrx>
joevandyk, I don't think it should. Maybe it is trying to create a directory that it considers essential that should be there from basic installation?
<joevandyk>
centrx: it looks like it's trying to build the RedCloth gem. wtf
<joevandyk>
i'm using ruby 2.1.1 and rubygems 2.2.2
<joevandyk>
why would starting irb want to build gems?
<centrx>
weird
<centrx>
I have not seen that before
<joevandyk>
i'm trying 'sudo irb' and it's busy building a bunch of gems
dsp___ has quit [Remote host closed the connection]
allomov has joined #ruby-lang
ddv has quit [Changing host]
ddv has joined #ruby-lang
mikecmpbll has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
Burgestrand has joined #ruby-lang
marr has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
elia has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
skade has joined #ruby-lang
talkingquickly has joined #ruby-lang
thmzlt has joined #ruby-lang
benlovell has quit [Ping timeout: 258 seconds]
skade has quit [Ping timeout: 252 seconds]
thmzlt has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
skade has joined #ruby-lang
benlovell has joined #ruby-lang
hinbody has quit [Ping timeout: 264 seconds]
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
dsp___ has joined #ruby-lang
dsp___ has quit [Ping timeout: 252 seconds]
rahul_j has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
alexju has quit [Remote host closed the connection]
heftig has joined #ruby-lang
robmiller has joined #ruby-lang
<yorickpeterse>
morning
arBmind has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
workmad3 has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
Cakey has joined #ruby-lang
Muz_ is now known as Muz
workmad3 is now known as wm3|away
Cakey has quit [Ping timeout: 240 seconds]
robmiller has quit [Quit: Leaving.]
bin7me has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Remote host closed the connection]
elia has joined #ruby-lang
dsp___ has joined #ruby-lang
mehlah has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
dsp___ has quit [Ping timeout: 240 seconds]
tkuchiki_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
kitak_ has joined #ruby-lang
frzng has joined #ruby-lang
elia has joined #ruby-lang
cnivolle has joined #ruby-lang
wm3|away is now known as workmad3
tkuchiki has quit [Ping timeout: 255 seconds]
jhass|off is now known as jhass
Brainix has joined #ruby-lang
<Brainix>
Hi, guys. I’m looking for a way to uniquely identify a calling method from a called method. __callee__ doesn’t quite capture it because there could be two methods named the same thing. Any ideas?
<apeiros>
Brainix: what ruby version?
<Brainix>
apeiros: 2.1.1
<yorickpeterse>
oh hey, 2.1.2 has been released
<apeiros>
Kernel#caller_locations might help
<yorickpeterse>
and they don't mention their heap bloat crap in the actual news article
<Brainix>
apeiros: Googling. Thank you.
<yorickpeterse>
It's in the changelog though it seems
<Nilium>
Though the reason for that is less insane and more pragmatic.
<yorickpeterse>
raw log, no tl;dr for ta
<yorickpeterse>
* ya
<whitequark>
PD is not a solution as well; you have to use CC-0 if you want PD
<Nilium>
Public domain works if I choose to enforce nothing.
charliesome has joined #ruby-lang
<Nilium>
It's very easy to do nothing.
<apeiros>
ljarvis: lulwot? (re johnny5) what's his probem? :D
<apeiros>
*problem, even
<Nilium>
It's r0bgleeson and the problems are myriad.
<ljarvis>
apeiros: it's rob gleeson and he's lost his shit, basically. He's opening PRs for all sorts of projects, including 3 of mine, and 4 of my company/co-workers, plus lots of other people (rails, pry, coffeescript)
<whitequark>
Nilium: it doesn't; by default, if I produce a derivative work off your code, it's a crime.
<surrounder>
wasn't there something with public domain and the EU? think I read something about that
kitak_ has quit [Remote host closed the connection]
<whitequark>
but it ignores the whole reason behind the existence of licenses
<whitequark>
Nilium: as I understand, a publisher would veto it
<Nilium>
Public domain is sort of a license in and of itself
kitak_ has joined #ruby-lang
<Nilium>
That's not important. What's important is if what you've said is tested in court.
<Nilium>
If it's not, it's hand-wavey speculation and fear of nothing.
kitak_ has quit [Read error: Connection reset by peer]
<whitequark>
well, as I've said--if you want to create problems out of nothing, go on.
kitak_ has joined #ruby-lang
<workmad3>
Nilium: there's a difference between you doing nothing and you putting something into the public domain though...
<Nilium>
And as I've pointed out, public domain is a license on its own
<Nilium>
Since as far as I know you can't actually make something public domain
<workmad3>
Nilium: doing nothing == you've got copyright (automatic) and have issued no licences, so in effect no one is allowed to do anything with your stuff
<whitequark>
^ what workmad3 says
<Nilium>
The best I can do is say "this is public domain" because I just don't care what anyone does with it.
<surrounder>
isn't that why wtfpl was invented ?
<whitequark>
WTFPL is not a real license either
<surrounder>
why not ?
<whitequark>
Nilium: replace "public domain" with "CC0" and you're fine.
<Nilium>
I don't think the people using the WTFPL or public domain care what is and isn't a real license.
Anusko has quit [Ping timeout: 252 seconds]
<whitequark>
I completely disagree, there is a lot of widely used code that was very purposefully placed into PD
<workmad3>
Nilium: traditionally, public domain is the body of works where copyright has expired, iirc...
<whitequark>
iirc, NaCl (libsodium) is one example
<Nilium>
The problems you have with public domain and the wtfpl are down to whether or not you believe one legal dept.'s claims
<whitequark>
Nilium: the *whole discussion* around licenses revolves around whether you believe one legal dept.'s claims
<workmad3>
then there are irrevocable, 'public-domain-esque' licences, like CC0
<whitequark>
you are equally free to just say "fuck licenses I'll do whatever I want with any code I see", and you will most likely get away with it, too
<Nilium>
I'll stick with just saying stuff is public domain because I see no reason to not
<Nilium>
If someone's legal department has an issue with that, too bad, but I don't really care about that situation
<workmad3>
Nilium: why not just slap a CC0 licence on it (change your wording from 'this is in the public domain' to 'this is under the CC0 licence' )
<Nilium>
Though I do like the Boost license. That one's nice too.
<whitequark>
CC0 wasn't created because some lawyer had nothing else to do, it solves a problem
<workmad3>
Nilium: which changes it from dubious legalities regarding licencing to firm footing :)
stamina has joined #ruby-lang
dnewkerk-keyz has quit [Quit: dnewkerk-keyz]
<Nilium>
So rather than saying "this is public domain" you want me to say "this is cc0" and direct them to a bunch of legalese that's hard to understand when "this is public domain" is simple and to the point?
<workmad3>
Nilium: yes... because 'this is public domain' is *not* simple and to the point, because it doesn't actually have any legal standing and doesn't put stuff in the public domain
dsp___ has joined #ruby-lang
ta has quit [Quit: Leaving...]
Anusko has joined #ruby-lang
<Nilium>
It's very simple and to the point: it expresses my intent with respect to the thing.
<workmad3>
Nilium: right... but it doesn't achieve your intent
<workmad3>
Nilium: while CC0 does
<Nilium>
That depends on your point of view.
<Nilium>
I find it achieves my intent extremely well and that you are all excessively paranoid
ta has joined #ruby-lang
dsp___ has quit [Read error: Connection reset by peer]
<whitequark>
well, I'm saying that the HBO ever producing GoT means I have to watch it. their intent is pretty definite
<whitequark>
ergo, I can just go and torrent it
dsp___ has joined #ruby-lang
* whitequark
shrugs
<Nilium>
You should probably re-read what you just said because I can't parse it
retro_ has joined #ruby-lang
<workmad3>
Nilium: stating 'this is public domain' has no legal standing... so if you go crazy in 5 years time and decide to re-licence everything so that anyone who has ever used your stuff needs to pay you $10,000,000, anyone who has done so is now liable for $10,000,000
<Nilium>
If you think stating a thing is public domain has no legal standing then why do you believe linking to an HTML page hosted on some other domain (cc.org) has legal standing?
<workmad3>
Nilium: because copyright law recognises licencing, it doesn't recognise you saying 'this is public domain'
<Nilium>
What if the thing being linked to changes in the interim?
<Nilium>
Does that mean the license changes?
<Nilium>
Can you prove the license didn't change?
<whitequark>
(that's why you usually have a LICENSE.txt in the repo that you yourself control)
<workmad3>
Nilium: it changes the nature of the battle from me being liable to you having to demonstrate that you didn't ever release the work I'm using under CC0
<Nilium>
COPYING.
<Nilium>
LICENSE.txt is for chumps and Boost.
dsp___ has quit [Ping timeout: 252 seconds]
<Nilium>
I like the idea of you being liable more.
<Nilium>
Seems like a position favorable to me.
<workmad3>
Nilium: namely, it changes the risk from 'I'm completely exposed' to 'I'm going to be fine unless someone rewrites the entire internet'
retro|cz has quit [Ping timeout: 276 seconds]
<Nilium>
Either way, I'll keep using PD or just sticking to BSD/zlib/MIT/Boost licenses
* whitequark
uses MIT as a slapstick license
BucOder has joined #ruby-lang
<workmad3>
Nilium: I tend to go for BSD or MIT on code tbh :)
<Nilium>
I'd prefer to never touch the creative commons.
<Nilium>
Most of my stuff is BSD two-clause because it's my lazy license.
<Nilium>
Also because I think most people tend to understand the BSD license best.
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<whitequark>
true
thomasxie has quit [Quit: Leaving.]
<workmad3>
Nilium: yeah, I prefer understandable licences... CC licences are rather more complex, but that's generally because it takes quite a bit of legalese to remove your moral rights and I quite like my moral rights tbh... I much prefer a simple licence that says 'Hey, I wrote this, feel free to do whatever you want with it. Also, I don't guarantee it will work exactly as you want it, so use at your own risk'
* apeiros
licenses under BSD 2 clause with "please ask the author if you need a different license"
<Nilium>
apeiros: I have something like that in my READMEs, though not the license text itself.
<apeiros>
I think the only other license I'd give for free would be MIT, though :)
<apeiros>
Nilium: yeah, it's in the readme too
<apeiros>
the license text consists only of the license itself
<Nilium>
"ruby-glfw3 is licensed under a simplified BSD license because it seems the most reasonable. If there's a problem with that, let me know." ⇐ e.g.
<ljarvis>
I license everything under MIT because I have no idea what I'm doing
<workmad3>
ljarvis: also reasonable :)
<Nilium>
I license things under the GPLv3 when I feel like being a dick.
<apeiros>
ljarvis: afaik MIT & BSD are mostly about the same
<ljarvis>
yeah I thought as much
<Nilium>
zlib, MIT, and BSD (2-clause, anyway; the third clause is kind of weird and useless) are all more or less functionally the same
<Nilium>
I think the Apache license 2.0 is also similar but with more legalese.
<workmad3>
BSDs extra clauses are basically about saying 'If you use this in a product, then advertise your product you have to say you've used our stuff but can't say that we think your product is awesome without us consenting'
<Nilium>
When the hell did it become 4am
<apeiros>
9h11min ago?
<workmad3>
Nilium: generally, about 1hr after 3am...
<Nilium>
workmad3: Which seems like libel laws probably cover that already
<workmad3>
Nilium: they probably do in most countries :)
<apeiros>
one of the big issues about licensing etc. is the diffs from country to country
<Nilium>
9h11min it's a sign never forget
<apeiros>
and of course that not everybody is a lawyer
<Nilium>
Hence the "contact me if it's a problem" thing
<apeiros>
yupp
enmand_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark>
ljarvis: @ljarvis!
<ljarvis>
whitequark: wat
<Nilium>
I think I used the MPL at one point but I'll be damned if that license makes any sense half the time
<whitequark>
ljarvis: irssi's way of indicating that you're an op is @
Johz has joined #ruby-lang
<ljarvis>
oh right yeah
<workmad3>
isn't that most IRC client's way of indicating op-ness?
<ljarvis>
ya
<workmad3>
'hey, you're an op, here's an at-hat for your handle'
<yorickpeterse>
ljarvis is part of the IRC gestapo
andrewvos has joined #ruby-lang
<andrewvos>
How do I get the splat stuff correct for overriding puts?
<andrewvos>
Like: def puts(*args); puts(args); end
<andrewvos>
That's just gonna pass an array to puts, right?
<andrewvos>
How do I get correct arity?
<workmad3>
andrewvos: 'def puts(*args); puts(*args); end
<andrewvos>
workmad3: Ahh thanks
nemec has joined #ruby-lang
frzng has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
andrewvos has left #ruby-lang ["WeeChat 0.4.0"]
willmarshall has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
<Nilium>
Well, I now have Mario 64 music stuck in my head, time to sleep
herpless has joined #ruby-lang
atmosx has joined #ruby-lang
<apeiros>
Nilium: want a link to an acapella version of super metroid theme song? :)
<workmad3>
apeiros: link!
<workmad3>
apeiros: or I'll torment you with awful, teenage pop-wannabe links on youtube :P
<banister>
yorickpeterse steve jobs said microsoft would have been a better company if gates took acid ;)
<surrounder>
no alcohol or caffeine either ?
ec has quit [Ping timeout: 265 seconds]
<ericwood>
I'm tripping balls right now
<ljarvis>
i think rob is on trip-e
<ljarvis>
"Become one with universe and take a ride on the psychedelic wave"
<banister>
ljarvis i took that last night, it's actually pretty good
<banister>
it was kinda like your first time smoking weed, you just grin at everything and find everything hilarious and interesting
<ljarvis>
sounds like every time i smoke weed
<surrounder>
hehe
<banister>
lucky :)
<banister>
i only got that effect the first 20-30 times i smoked
<surrounder>
ages ago ;)
kitak has quit [Ping timeout: 240 seconds]
Lumio has quit [Quit: ...]
enebo has quit [Quit: enebo]
<yorickpeterse>
surrounder: nop
<yorickpeterse>
I drink tea and juice, that's about it
<surrounder>
wow
ec has joined #ruby-lang
<yorickpeterse>
Not every Dutch person is a crack-ridden addict yo
<prognosticatorz>
coffee?
<ljarvis>
crack-coffee
<surrounder>
yorickpeterse: most people around me are ;)
atmosx has quit [Quit: Lost in trance]
<yorickpeterse>
Stop surrounding yourself with druggies then
<surrounder>
that would mean quiting my job
<ljarvis>
less druggies, more toad in the holes
<surrounder>
boss and manager are caffeine addicts
<maloik>
I think bubble and squeek would make a great name for a kind of crack
<maloik>
squeek. squeek. what a funny word
<ljarvis>
bubble and sniff
<surrounder>
lol
<maloik>
alright it's time for some champagne apparently
<ljarvis>
wat
<maloik>
"cava"
<surrounder>
hour 'till beer-o-clock here
<ljarvis>
cava does not count
<maloik>
celebrations are in order, boss got a kid
<maloik>
after that its beer o clock
<maloik>
cu later folks
<maloik>
enjoy the weekend
<surrounder>
hf maloik
<ljarvis>
have fun, don't pull a rob
AKASkip has quit [Ping timeout: 255 seconds]
<yorickpeterse>
I don't really drink beer either
<ljarvis>
aren't you the life of the party
<yorickpeterse>
actually
<yorickpeterse>
I am
<apeiros>
it's week-end. everybody should pull a r0b
<ljarvis>
o ok
<ljarvis>
good
<yorickpeterse>
I get the party started
<surrounder>
yorickpeterse: weren't you debating getting a car? your friends must love you then!
<yorickpeterse>
surrounder: No
<ljarvis>
apeiros: never go full r0b
dik_dak has joined #ruby-lang
elia has joined #ruby-lang
<ljarvis>
I have a car, my friends dont love me
<apeiros>
ljarvis: if you go r0b far enough, you'll wrap around and everything is fine
<ljarvis>
apeiros: oh, so r0b needs to go more r0b?
<ljarvis>
makes sense
<surrounder>
heh
<apeiros>
the more r0b you go, the more sense this will make. promise!
* apeiros
only does alcohol wrt drugs, tho
<ljarvis>
me too generally
<ericwood>
smoke alcohol erryday
<ljarvis>
smoke it into the veinnsss
<surrounder>
alcohol and weed here
<surrounder>
tried a lot of other drugs though
<ericwood>
drink weed, smoke alcohol erryday
<surrounder>
glad I have those experiences
<yorickpeterse>
Man this channel turned /r/trees rather quickly
akahn has quit [Ping timeout: 245 seconds]
<ljarvis>
better than /r/spacedicks like it is usually
<banister>
yorickpeterse not everyone who takes drugs is a drug abuser, some people just do it once or twice a month and don't let it take over their lives
<yorickpeterse>
banister: No, clearly everybody that takes drugs abuses it
<yorickpeterse>
Jesus of course I fucking know that
<banister>
yorickpeterse you seem to talk that way :)
<yorickpeterse>
because clearly I am always super serious in here
<banister>
okies
charliesome has joined #ruby-lang
<surrounder>
super cereal!
styped_____ has quit [Ping timeout: 245 seconds]
akahn has joined #ruby-lang
ggherdov_ has quit [Ping timeout: 245 seconds]
<benlovell>
drugs are bad mmm'kay
<cout>
in general I think drugs are bad
<cout>
(and I include prescription meds in there)
VictorBjelkholm has quit [Quit: Leaving]
styped_____ has joined #ruby-lang
<banister>
surrounder what is a belastingdienst
loincloth has joined #ruby-lang
<yorickpeterse>
tax agency
<surrounder>
^
<yorickpeterse>
Learn Dutch you slacker
<cout>
I say that because there's a disconnect between what the consumer wants and what the manufacturer wants
<banister>
yorickpeterse no niet
<yorickpeterse>
wat
<yorickpeterse>
that means nothing
<banister>
yorickpeterse gaat uit meneer
<ddfreyne>
Im having an issue where non-ASCII characters are being converted into ? characters
<yorickpeterse>
That doesn't really mean anything in particular either
<ddfreyne>
Actual question marks (not the symbol-not-found question mark)
<ddfreyne>
Any idea why?
<yorickpeterse>
Unless you mean I have to go outside
charliesome_ has quit [Ping timeout: 265 seconds]
RobertBirnie has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
<banister>
mag ik bestellen?
<yorickpeterse>
banister: No offence, but your Dutch is pretty bad
<imperator>
welp, apparently oracle has claimed another victim
<imperator>
so long kami, we barely knew ye
wallerdev has joined #ruby-lang
<apeiros>
haha
* apeiros
is a survivor
mehlah has quit [Client Quit]
<KAMI>
Sorry for the late
AncientAmateur has quit [Remote host closed the connection]
<KAMI>
the use is when i am trying to use oracle instant client in ruby (by metasploit) it's showing a message error like "oci8lib_191"
<KAMI>
the issue is when i am trying to use oracle instant client in ruby (by metasploit) it's showing a message error like "oci8lib_191"
<KAMI>
the issue is when i am trying to use oracle instant client in ruby (by metasploit) it's showing a message error like "cannot load such file oci8lib_191"
tomkadwill has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
mikecmpbll has joined #ruby-lang
x0f_ has quit [Ping timeout: 276 seconds]
bantic has quit [Quit: bantic]
<ljarvis>
never apologise for a latte
thomasxie has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
tkuchiki has quit [Quit: Leaving...]
x0f has joined #ruby-lang
franzip has joined #ruby-lang
tkuchiki has joined #ruby-lang
retro|simi has quit [Ping timeout: 252 seconds]
jonathanmarvens has joined #ruby-lang
joonty has quit [Quit: WeeChat 0.4.2]
enkristoffer has quit [Quit: ❤]
<chris2>
Felipe Contreras is the new ilias :>
<apeiros>
he got banned from #ruby this morning :)
<chris2>
whats his nick?
<apeiros>
felipec
Cakey has quit [Ping timeout: 252 seconds]
<chris2>
good to know, thanks
<apeiros>
yw
<chris2>
he's very annoying on the git list too
<apeiros>
fun thing is - I agree with a couple of his view points.
<chris2>
yes, some of his git patches arent bad either
<apeiros>
but he's really just an asshole. and I rarely say that about somebody.
<chris2>
doenst make him less of an asshole
dnewkerk-keyz has joined #ruby-lang
* imperator
learns what metasploit is today
<imperator>
KAMI, what platform?
<chris2>
got owned? :)
Mon_Ouie has joined #ruby-lang
omosoj has quit [Ping timeout: 250 seconds]
<imperator>
hm? no
heftig has quit [Quit: Quitting]
benlovell has quit [Ping timeout: 264 seconds]
herpless has quit [Quit: Connection closed for inactivity]
talkingquickly has left #ruby-lang [#ruby-lang]
<apeiros>
chris2: the thing he IMO confuses - LKML may very well be harsh and no-bullshit. that's not the same as "I'll be an asshole to everybody about everything"
<chris2>
yes
toastynerd has joined #ruby-lang
<imperator>
wonder why metasploit wants oci8 - oracle backend? or to try to exploit oracle?
ti-wali_ has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
|jemc| has quit [Quit: WeeChat 0.4.2]
<apeiros>
imperator: probably
<apeiros>
(the latter, I mean)
|jemc| has joined #ruby-lang
vinhbachsy has quit []
saarinen has joined #ruby-lang
lun__ has joined #ruby-lang
lun__ has quit [Client Quit]
diegoviola has joined #ruby-lang
lun__ has joined #ruby-lang
centrx has joined #ruby-lang
AncientAmateur has joined #ruby-lang
wallerdev has joined #ruby-lang
michaeldeol has joined #ruby-lang
AncientAmateur has quit [Ping timeout: 240 seconds]
<eam>
I still use perl a lot for anything systems oriented
<eam>
much better mapping of high/text parsing oriented language to posix interfaces
<eam>
and it has all the higher order stuff that ruby's only gotten recently
<imperator>
such as?
yfeldblum has quit [Ping timeout: 258 seconds]
sepp2k has joined #ruby-lang
havenwood has joined #ruby-lang
bantic has joined #ruby-lang
toastynerd has joined #ruby-lang
bantic has quit [Client Quit]
bantic has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
loincloth has joined #ruby-lang
BucOder has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
Coincidental has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
Coincidental has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
amsi has quit [Ping timeout: 264 seconds]
toastyne_ has joined #ruby-lang
toastynerd has quit [Ping timeout: 258 seconds]
djbkd has quit [Remote host closed the connection]
hybristic has quit [Remote host closed the connection]
sepp2k1 has joined #ruby-lang
<ljarvis>
apeiros> and: how did you dial the number in the first place? :D
djbkd has joined #ruby-lang
<ljarvis>
there is no outsmarting you
toastyne_ has quit [Ping timeout: 258 seconds]
sepp2k has quit [Ping timeout: 258 seconds]
toastynerd has joined #ruby-lang
enmand_ has joined #ruby-lang
toastynerd has quit [Ping timeout: 252 seconds]
AncientAmateur has joined #ruby-lang
MartynKeigher2 has joined #ruby-lang
allomov has joined #ruby-lang
axv has quit []
allomov has quit [Read error: Connection reset by peer]
allomov has joined #ruby-lang
jwing has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Fushi has quit [Quit: Connection closed for inactivity]
<jwing>
Hi folks.. i'm extremely new to ruby and was handed a script to work with. It uses Savon to connect to a WSDL URL. It's working. However, I'd like to get the script to quietly ignore that the destination server is using a self signed certificate. How can I tell Savon to ignore or simply not report it?
<jwing>
message: at depth 2 - 19: self signed certificate in certificate chain
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruurd has joined #ruby-lang
<apeiros>
hmmmmm
jonathanmarvens has quit []
<apeiros>
I just noticed that the way I'm designing jacob will make it very easy to have "remote models", which would make it trivial to build a microservice architecture
ldnunes has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
<xybre>
Remote models?
<apeiros>
models which are not backed by a database but RESTful URL endpoint
<yorickpeterse>
hail hydra
<xybre>
Ah, nice.
havenwood has quit [Remote host closed the connection]
<epitron>
imperator: the only time i've used stabby lambdas is when i was greating a hash of string to proc mappings...
<epitron>
*generating
<epitron>
*creating
<epitron>
*crenereating
<apeiros>
there are a couple of ways to build microservice architectures. one of them (or as part of a strategy) is to use remote models
<apeiros>
(no idea whether that pattern has an actual name)
<apeiros>
epitron: genering
mykoweb has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby-lang
jsullivandigs has joined #ruby-lang
vpretzel|1490 is now known as vpretzel
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
ruurd has quit [Quit: Leaving...]
workmad3 has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
vpretzel has quit [Quit: Adios!]
lun___ has quit [Read error: Connection reset by peer]
loincloth has quit [Read error: Connection reset by peer]
<pipework>
drbrain: Hey. Did you ever implement any security in that drb game you wrote? TLS mutual auth, drb over tls?
djbkd has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
omosoj has joined #ruby-lang
nertzy2 has joined #ruby-lang
nertzy has quit [Ping timeout: 240 seconds]
mannyt has joined #ruby-lang
tomkadwill has quit [Remote host closed the connection]
asahi has joined #ruby-lang
postmodern has joined #ruby-lang
<yorickpeterse>
avdi: ping
iTrojan has joined #ruby-lang
shinnya has joined #ruby-lang
thiagoborges has joined #ruby-lang
thiagoborges has quit [Client Quit]
thiagoborges has joined #ruby-lang
nathanstitt has joined #ruby-lang
arooni-mobile has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
<avdi>
yorickpeterse: pong
<yorickpeterse>
avdi: so in Rake you can define file tasks, either using rule() or file(). Do you know if it's possible to re-trigger a rule() task based on another file
<yorickpeterse>
As in
<yorickpeterse>
Say you have `rule 'a' => 'b' { ... }`
<yorickpeterse>
But you also have file c
<yorickpeterse>
and if file c changes then the rule block should be triggered
<yorickpeterse>
but c doesn't actually have to be turned into anything, it's a static file
* yorickpeterse
hopes that makes sense
<yorickpeterse>
basically I'm compiling file X, which includes file Y. If Y changes then X should be re-compiled
<yorickpeterse>
I can of course check mtimes myself but blegh
<avdi>
Can you clarify why c isn't in the list of Dependencies?
<yorickpeterse>
Rake doesn't have to do anything with it compilation wise
<yorickpeterse>
Right, lemme show the actual thing
<yorickpeterse>
ok so I have lexer.rl, which includes base_lexer.rl
<avdi>
yorickpeterse: BTW the rule was backwards in the version you gave me
zenojis has quit [Read error: Connection reset by peer]
<yorickpeterse>
base_lexer.rl is completely left out of Rake since it doesn't have to be compiled in any shape or form
<yorickpeterse>
However, if base_lexer.rl changes I want to force recompiling of lexer.rl
<avdi>
right...
<yorickpeterse>
it's a bit of an odd case
<avdi>
which is what this does
zenojis has joined #ruby-lang
<yorickpeterse>
hm, lemme try it
<ljarvis>
banister: ping
<yorickpeterse>
avdi: hm, doesn't do a thang
<avdi>
yorickpeterse: if I touch base.rl then re-run rake, it re-creates lexer.c
<yorickpeterse>
huh
<yorickpeterse>
oh derp
<avdi>
yorickpeterse: I simplified some paths and stuff
<yorickpeterse>
I forgot to actually add the block as a dep
* yorickpeterse
slaps yorickpeterse around with a copy of "The Pragmatic Trout"
pixelhandler has quit [Quit: pixelhandler]
<yorickpeterse>
avdi: you're my hero
<ljarvis>
banister: do you have an email address for rob?
<yorickpeterse>
ljarvis: rob@flowof.info is what he used in Pry for Git
<ljarvis>
ta
<ta>
ljarvis?
<yorickpeterse>
hahaha
<ljarvis>
oh man
<yorickpeterse>
hahaha
<avdi>
yorickpeterse: there is also some fun stuff you can do with the `import` command if you want to get fancy
<ljarvis>
likelyhood of that happening
ruurd has quit [Quit: Leaving...]
<ta>
:)
<avdi>
yorickpeterse: but you may not need that yet :-)
<ljarvis>
ta: I meant 'ta' as in thanks, sorry :)
<ljarvis>
but you knew that
omosoj has quit [Quit: Leaving]
<ta>
ljarvis: yes, np :)
<ljarvis>
ok i emailed rob
<yorickpeterse>
totes twittered that
<yorickpeterse>
avdi: do tell
diegoviola has joined #ruby-lang
atmosx has joined #ruby-lang
<yorickpeterse>
ljarvis: you know what this reminds me of, that TempleOS guy
iTrojan has quit [Quit: Leaving.]
<yorickpeterse>
if that rings a bell
<apeiros>
ljarvis: the name?
<ljarvis>
apeiros: as in, why call it that?
<ljarvis>
yorickpeterse: it doesn't
<apeiros>
ljarvis: yeah, that was what I intended to ask, whether you meant that :)
<ljarvis>
yep :)
<apeiros>
ljarvis: the name stems from the precursor project, where it was a contraction
djbkd has quit [Remote host closed the connection]
<apeiros>
it no longer applies, but I stuck with the name :)
<ljarvis>
ah :)
<apeiros>
parts of the old project still remain in it, so it doesn't feel wrong
<yorickpeterse>
ljarvis: basically this schizophrenic/super racist dude who wrote some operating system claiming it was inspired by God or something like that
<yorickpeterse>
Total nutter, raves on HN whenever there's a thread about OS' and such
<avdi>
yorickpeterse: the one thing that's missing is recursive scanning
<avdi>
yorickpeterse: the upshot is that that Rakefile will automatically maintain a dynamically-generated subsidiary Rakefile that spells out all the dependencies between .rl files
jsullivandigs has quit [Ping timeout: 250 seconds]
jsullivandigs has joined #ruby-lang
<avdi>
This is a bit more efficient than scanning for dependencies every time a rule is executed. And it has the bonus that you can peek at the generated deps file
<|jemc|>
do any of the ruby parsers out there track comments in their ast?
thiagobo_ has joined #ruby-lang
<yorickpeterse>
avdi: hmmm
<|jemc|>
(other than current YARD and RDoc parsers)
<yorickpeterse>
|jemc|: parser does
<|jemc|>
yorickpeterse: oh, it does? I missed that
* |jemc|
looks
mistym has joined #ruby-lang
<avdi>
yorickpeterse: oh and you'll probably want to tweak the include-finding regex to be more robust
thiagobo_ is now known as thiagoborges_
thiagoborges_ has quit [Client Quit]
allomov has quit [Read error: Connection reset by peer]
<yorickpeterse>
|jemc|: you have to call `parse_with_comments` instead of parse on your parser instance (heh)
<yorickpeterse>
that gives back the AST and a Hash
danijoo has quit [Read error: Connection reset by peer]
arrubin has joined #ruby-lang
danijoo has joined #ruby-lang
djbkd has joined #ruby-lang
Coincidental has joined #ruby-lang
WishBoy- has quit [Remote host closed the connection]
skade has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 258 seconds]
kitak_ has joined #ruby-lang
cstrahan has quit [Ping timeout: 264 seconds]
Cakey has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
fezziwig has quit [Remote host closed the connection]
fezziwig has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 245 seconds]
Cakey has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
fezziwig has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
<avdi>
zenspider: I'm not sure what you're asking. Yes, it supports deps files. That seemed out of scope of the answer to me.
<avdi>
zenspider: I don't know if makedeps supports the file format that yorickpeterse is using
Coincidental has joined #ruby-lang
<avdi>
zenspider: s/makedeps/makedepend/
<avdi>
zenspider: (I don't know a lot about makedepend)
kitak_ has quit [Remote host closed the connection]
allomov has quit [Remote host closed the connection]
<avdi>
zenspider: I considered an answer that shows building a makefile for import instead of a rakefile, since it's a simpler format to generate. But that would have meant also explaining the makefile loader.
momomomomo has quit [Quit: momomomomo]
allomov has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
WishBoy has joined #ruby-lang
marr has quit []
Cakey has quit [Ping timeout: 240 seconds]
pixelhandler has quit [Quit: pixelhandler]
WishBoy has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Remote host closed the connection]