vpretzel has quit [Remote host closed the connection]
houhoulis has quit [Remote host closed the connection]
Olipro has joined #ruby-lang
frzng has quit [Quit: frzng]
omosoj has joined #ruby-lang
simoz111115 has quit [Ping timeout: 252 seconds]
ddv has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby-lang
Olipro has quit [Ping timeout: 246 seconds]
miwood has quit []
ecnalyr has joined #ruby-lang
dwayhs has quit [Quit: Computer has gone to sleep.]
pixelhandler has quit [Quit: pixelhandler]
yubrew has quit [Ping timeout: 276 seconds]
Olipro has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ddv has joined #ruby-lang
ecnalyr has joined #ruby-lang
ecnalyr_ has joined #ruby-lang
ecnalyr has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
RobertBirnie has joined #ruby-lang
willmarshall has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
willmarshall has quit [Client Quit]
ecnalyr_ has quit [Ping timeout: 255 seconds]
john_____ has quit [Remote host closed the connection]
tris has joined #ruby-lang
john___ has joined #ruby-lang
charliesome has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
john___ has quit [Ping timeout: 258 seconds]
sepp2k has quit [Read error: Connection reset by peer]
mistym has quit [Quit: Leaving]
ratmav has joined #ruby-lang
mykoweb has joined #ruby-lang
allomov has joined #ruby-lang
axv has quit []
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
thomasxie has joined #ruby-lang
allomov has quit [Ping timeout: 276 seconds]
nathanstitt has joined #ruby-lang
mistym has joined #ruby-lang
marcdel has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mykoweb has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
marcdel has quit [Ping timeout: 258 seconds]
Coincidental has joined #ruby-lang
dik_dak has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
tkuchiki has joined #ruby-lang
yubrew has joined #ruby-lang
ratmav has quit [Quit: Leaving]
seako has quit [Quit: Leaving.]
thomasxie has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 258 seconds]
alex-quiterio has quit [Quit: Leaving.]
dorei has joined #ruby-lang
<moogumbo>
I'm trying to start a coproc from within a Ruby script, but when I do (for example) `coproc ls` it throws the error No such file or directory - coproc (Errno::ENOENT)
<moogumbo>
Why is this?
<centrx>
moogumbo, What is a coproc?
ascarter has joined #ruby-lang
<moogumbo>
it's a way in bash to spawn a subshell and set up pipes for communicating with it
<centrx>
moogumbo, If you really want to try using bash's coproc, you probably need to invoke bash and then run coproc inside bash (it is a bash built-in)
mykoweb has joined #ruby-lang
cstrahan has quit [Read error: Connection reset by peer]
woollyams has joined #ruby-lang
mykoweb has quit [Ping timeout: 276 seconds]
mykoweb has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
wallerdev has quit [Quit: wallerdev]
nathanstitt has joined #ruby-lang
<moogumbo>
centrx: Thanks. Running `bash -c coproc ls` did the trick
<moogumbo>
But it looks like Ruby is killing that subshell (and thus the pipes to the coproc) as soon as that set of backticks is done ... any ideas on how to keep it around?
<centrx>
Use Open3 :)
<moogumbo>
The thing is that I need to be able to run other commands in backticks and have them pass things into those pipes... I don't think Open3 allows that?
knu has quit [Ping timeout: 252 seconds]
<centrx>
why not?
mykoweb has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rylee_ is now known as rylee
<moogumbo>
Hm. I guess I could use pipeline_w
john___ has joined #ruby-lang
Cakey has joined #ruby-lang
pr0ton_ has joined #ruby-lang
chouhoulis has joined #ruby-lang
amclain has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
yfeldblum has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
havenn has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
havenwood has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
snsei has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
Coincidental has quit [Remote host closed the connection]
mykoweb has quit [Ping timeout: 258 seconds]
mykoweb has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
jmeeuwen_ has joined #ruby-lang
jmeeuwen has quit [Read error: Connection reset by peer]
dorei has quit []
rails_smith has joined #ruby-lang
jmeeuwen_ is now known as jmeeuwen
nathanstitt has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
rylee is now known as Rylee
toretore has quit [Quit: This computer has gone to sleep]
ta_ has joined #ruby-lang
ta has quit [Ping timeout: 265 seconds]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
yxhuvud has quit [Ping timeout: 240 seconds]
mykoweb_ has joined #ruby-lang
mykoweb has quit [Read error: Connection reset by peer]
Phoenixmiss has quit [Quit: Leaving]
Miphix has joined #ruby-lang
mykoweb_ has quit [Remote host closed the connection]
frzng has joined #ruby-lang
mykoweb has joined #ruby-lang
dik_dak has quit [Quit: Leaving]
mykoweb_ has joined #ruby-lang
mykoweb has quit [Read error: Connection reset by peer]
Maimer has joined #ruby-lang
robbyoconnor has joined #ruby-lang
yatish27 has joined #ruby-lang
BeingUntoDeath has joined #ruby-lang
Maimer_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
zenspider_ has joined #ruby-lang
yatish27_ has joined #ruby-lang
chouhoul_ has joined #ruby-lang
jsutt_ has joined #ruby-lang
r0bby has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
jxie has quit [Ping timeout: 276 seconds]
justinmcp_ has joined #ruby-lang
alexju_ has joined #ruby-lang
jxie has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
saltsa has joined #ruby-lang
Missphoenix has joined #ruby-lang
allomov has joined #ruby-lang
snsei_ has joined #ruby-lang
frzng has quit [Quit: frzng]
hachiya_ has joined #ruby-lang
go|dfish1 has joined #ruby-lang
rue|w has joined #ruby-lang
shalicke has quit [Ping timeout: 258 seconds]
jsullivandigs has quit [Ping timeout: 258 seconds]
rue|w_ has quit [Ping timeout: 258 seconds]
zenspider has quit [Ping timeout: 258 seconds]
Maimer has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
omosoj has quit [Ping timeout: 258 seconds]
tommylom1ykins has quit [Ping timeout: 258 seconds]
zastern has quit [Ping timeout: 258 seconds]
arooni-mobile__ has quit [Ping timeout: 258 seconds]
hachiya has quit [Ping timeout: 258 seconds]
yatish27 has quit [Ping timeout: 258 seconds]
DEac- has quit [Ping timeout: 258 seconds]
saltsa_ has quit [Ping timeout: 258 seconds]
justinmcp has quit [Ping timeout: 258 seconds]
Rickmasta has quit [Ping timeout: 258 seconds]
akahn has quit [Ping timeout: 258 seconds]
styped_____ has quit [Ping timeout: 258 seconds]
bougyman has quit [Ping timeout: 258 seconds]
go|dfish has quit [Ping timeout: 258 seconds]
freedrull has quit [Ping timeout: 258 seconds]
arooni-mobile__ has joined #ruby-lang
arooni-mobile__ has quit [*.net *.split]
allomov has quit [Ping timeout: 240 seconds]
arooni-mobile__ has joined #ruby-lang
Jamo___ has joined #ruby-lang
omosoj has joined #ruby-lang
jxie has quit [Ping timeout: 252 seconds]
bougyman has joined #ruby-lang
styped_____ has joined #ruby-lang
Rickmasta has joined #ruby-lang
zastern has joined #ruby-lang
shalicke has joined #ruby-lang
DEac- has joined #ruby-lang
BeingUntoDeath has quit []
Jamo has quit [Ping timeout: 252 seconds]
akahn_ has joined #ruby-lang
zenspider_ has quit [Ping timeout: 252 seconds]
freedrul1 has joined #ruby-lang
kirin` has quit [Ping timeout: 252 seconds]
akahn_ has quit [Changing host]
akahn_ has joined #ruby-lang
GarethAdams has quit [Ping timeout: 256 seconds]
akahn_ is now known as akahn
kirin` has joined #ruby-lang
yubrew has joined #ruby-lang
Miphix has quit [*.net *.split]
snsei has quit [*.net *.split]
alexju has quit [*.net *.split]
r0bby has quit [Max SendQ exceeded]
Cakey has quit [Ping timeout: 240 seconds]
mykoweb_ has quit [Remote host closed the connection]
servo has quit [Quit: Leaving.]
r0bby has joined #ruby-lang
mykoweb has joined #ruby-lang
tommylommykins has joined #ruby-lang
jxie has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
brownies has quit [Remote host closed the connection]
zenspider has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
mykoweb has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
centrx has quit [Quit: All this computer hacking is making me thirsty]
Maimer_ is now known as Maimer
r0bby has quit [Quit: Konversation terminated!]
Maimer has quit [Quit: Leaving...]
havenn has quit [Remote host closed the connection]
D9 has quit [Ping timeout: 252 seconds]
pr0ton_ has joined #ruby-lang
RobertBirnie has joined #ruby-lang
mykoweb has joined #ruby-lang
woollyams has joined #ruby-lang
seako has joined #ruby-lang
go|dfish1 is now known as go|dfish
junkmechanic_ has quit [Ping timeout: 252 seconds]
nathanstitt has quit [Quit: I growing sleepy]
knu has joined #ruby-lang
mistym has quit [Remote host closed the connection]
D9 has joined #ruby-lang
havenwood has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
alexju_ has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
yubrew has joined #ruby-lang
yatish27_ has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
jsutt_ has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 276 seconds]
yatish27 has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
hahuang65 has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
john___ has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
mistym has joined #ruby-lang
yxhuvud has joined #ruby-lang
wallerdev has joined #ruby-lang
Asher1 has quit [Quit: Leaving.]
omosoj has quit [Ping timeout: 252 seconds]
ascarter has joined #ruby-lang
agarie has quit [Ping timeout: 255 seconds]
marcdel has quit [Ping timeout: 265 seconds]
Asher has joined #ruby-lang
r0bby has joined #ruby-lang
marcdel has joined #ruby-lang
tkuchiki has quit [Quit: Leaving...]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby-lang
omosoj has joined #ruby-lang
junkmechanic has joined #ruby-lang
yubrew has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
allomov has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
allomov has quit [Ping timeout: 276 seconds]
apeiros has quit [Ping timeout: 258 seconds]
rubyshop has joined #ruby-lang
marcdel has quit []
rubyshop has quit [Client Quit]
ap4y has quit [Remote host closed the connection]
bahar has quit [Ping timeout: 252 seconds]
bahar has joined #ruby-lang
mistym has joined #ruby-lang
tbuehlmann has joined #ruby-lang
amclain has quit [Quit: Leaving]
Asher has quit [Read error: No route to host]
Asher1 has joined #ruby-lang
valueforvalue has joined #ruby-lang
omosoj has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby-lang
valueforvalue has quit [Client Quit]
woollyams has joined #ruby-lang
Asher1 is now known as Asher
yfeldblum has quit [Ping timeout: 252 seconds]
Xzyx987X_ has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
vpretzel has joined #ruby-lang
cafechai has joined #ruby-lang
arooni-mobile__ has quit [Quit: Leaving]
seako has quit [Quit: Leaving.]
vpretzel has quit [Ping timeout: 258 seconds]
mdub has joined #ruby-lang
toastynerd has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
cafechai has left #ruby-lang [#ruby-lang]
toastynerd has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
memorozovm has joined #ruby-lang
mistym has quit [Remote host closed the connection]
seako has joined #ruby-lang
heftig has quit [Quit: Quitting]
moogumbo has quit [Quit: Connection closed for inactivity]
yubrew has joined #ruby-lang
mdub has quit [Ping timeout: 252 seconds]
seako has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 258 seconds]
[spoiler] has joined #ruby-lang
yfeldblum has joined #ruby-lang
knu has joined #ruby-lang
rahul_j has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
D9 has quit [Ping timeout: 258 seconds]
yfeldbl__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
knu has quit [Ping timeout: 252 seconds]
yfeldblu_ has quit [Ping timeout: 252 seconds]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
r0bby is now known as robbyoconnor
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
BucOder has joined #ruby-lang
mykoweb has quit [Ping timeout: 252 seconds]
mistym has joined #ruby-lang
bahar has quit [Ping timeout: 258 seconds]
BucOder has quit [Client Quit]
bahar has joined #ruby-lang
_ht has joined #ruby-lang
Gabri has joined #ruby-lang
marcdel has joined #ruby-lang
woollyams has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
marcdel_ has joined #ruby-lang
vpretzel has joined #ruby-lang
DevDoo has joined #ruby-lang
marcdel has quit [Ping timeout: 265 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vpretzel has quit [Ping timeout: 276 seconds]
mistym has quit [Remote host closed the connection]
<[spoiler]>
Morning people
mistym has joined #ruby-lang
PaulePan1er is now known as PaulePanter
ledestin has joined #ruby-lang
yubrew has joined #ruby-lang
symm- has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
yubrew has quit [Ping timeout: 258 seconds]
bahar has quit [Ping timeout: 240 seconds]
mistym has quit [Remote host closed the connection]
<stardiviner>
What does this Matrix.[](i, j) mean ? I write Matrix.[](1, 2) is wrong SyntaxError: (irb):8: syntax error, unexpected '(', expecting $end. What is the correct way to access Matrix elements?
yfeldbl__ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
allomov has joined #ruby-lang
bahar has quit [Ping timeout: 240 seconds]
<havenwood>
stardiviner: it's expecting an Array as an argument: Matrix.[]([1, 2])
<havenwood>
stardiviner: but the sugary way to call it is: Matrix.[[1, 2]]
<stardiviner>
havenwood: soga, thanks
relix has joined #ruby-lang
<havenwood>
oops, i mean: Matrix[[1, 2]]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bubodlack has joined #ruby-lang
allomov has quit [Ping timeout: 265 seconds]
<stardiviner>
havenwood: still wrong, I created an matrix with "a = Matrix.zero(2, 4) ; p a[[1, 2]]; " get Error: ArgumentError: wrong number of arguments (1 for 2)
<havenwood>
stardiviner: oh, sorry i thought you were talking about creating a Matrix with ::[], when it seems you mean returning an element with #[].
<stardiviner>
And I use method "Matrix.rows", ruby report error: protected method. weird.
<havenwood>
stardiviner: well, i forgot to require ^ but that'd work
bahar has joined #ruby-lang
marcdel_ has quit []
kitak has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
<stardiviner>
havenwood: Oh, it can work now, a[1, 2] is the correct way. Still have a new problem , the method Matrix.rows is protected. How can I use Matrix.rows ?
<whitequark>
making architectural decisions based on guesses is silly
snsei_ has quit [Ping timeout: 252 seconds]
<igalic>
yorickpeterse: I like your github bio.
<yorickpeterse>
Either way, a lambda is useful if you have some kind of callback system for example
<igalic>
whitequark: not making any architectural decisions. After ~10 years of on-off exposure to ruby, I'm finally learning it, and when I learn things I like to know how they work.
symm-_ has joined #ruby-lang
symm- has quit [Ping timeout: 258 seconds]
<igalic>
in that sense, it (or, everything, really) is highly relevant to the task I currently have.
yubrew has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<whitequark>
well, then the answer is that lambdas and methods have different semantics
<whitequark>
a lambda is an object with a method #call(...)
<whitequark>
a method is a part of a class
jxie has quit [Ping timeout: 276 seconds]
thisirs has joined #ruby-lang
jxie has joined #ruby-lang
phuesler has quit [Quit: phuesler]
yubrew has quit [Ping timeout: 276 seconds]
Cakey has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
<eam>
echo '"|/usr/bin/ruby -x"' > ~root/.forward # you guys install what you think I need
ghg has joined #ruby-lang
ghg has quit [Read error: Connection reset by peer]
ghg has joined #ruby-lang
<apeiros>
darix: err, duh, "If your install script is sufficiently short, just publish the commands to run in your installation documentation." - just don't pipe it directly into sh/sudo bash?
<apeiros>
that url *is* a publication of the commands
bahar has quit [Ping timeout: 252 seconds]
<darix>
apeiros: if you have some remarks for it, please talk to tim directly.
jxpx777 has joined #ruby-lang
<darix>
given how many projects start their install documentation with curl/wget | sh
<darix>
we cant post it often enough
<apeiros>
darix: not any different than `make install`
<apeiros>
you run foreign software
<apeiros>
with the same privilege
<eam>
apeiros: in a distro packaging system there are a few key differences
<apeiros>
if you can put damaging code into that url, you can do that in whatever you download
<eam>
the packages are stored and available for audit (detect and recover, if not prevent)
<eam>
with a signed package it's impossible to, say, serve up a poisoned script only to 17.0.0.0/8 (apple)
mistym has quit [Remote host closed the connection]
<darix>
apeiros: a) i know it is asking much but i would assume people to verify checksums/sigs for the tarballs. yes you could do the same with the shell scripts... but the commandline they offer for copy paste is not even allowing that.
<apeiros>
eam: I didn't argue package managers. I argued "download and run make install or similar yourself"
<eam>
it's true there's not a ton of difference in that case
<apeiros>
iow, anything else than an established proper distribution system will have exactly the same weaknesses as just doing wget url | sh
<darix>
b) many people who are less skilled will assume this is a valid way to do it, skip every verification and such. this means we are training more people to be careless.
<darix>
apeiros: see point a
<eam>
apeiros: I wouldn't say exactly. At least you're preserving the artifact
luiz__ has joined #ruby-lang
<eam>
when it comes to importing OSS unfortunately it's more of an audit trail issue than actually having preventative measures
<apeiros>
as said, it's trivial enough to preserve the artifact in case of wget url
<darix>
eam: s/OSS/software/
<darix>
apeiros: and want to bet on how many people do it?
<apeiros>
darix: I'd bet close to zero. just as close to zero will ever inspect what make install will do.
luiz_ has quit [Read error: Connection reset by peer]
<eam>
darix: sure :)
<apeiros>
darix: that doesn't make it a better argument
RobertBirnie has joined #ruby-lang
<apeiros>
curious though - do wget/curl have options/flags to verify a download against a sha1 or other checksum and exit with non-zero on mismatch?
<darix>
apeiros: the point is ... we should fight stupid documentation like that.
<darix>
apeiros: no
<eam>
where would the checksum come from?
<apeiros>
darix: I think you completely miss the point by doing that
<darix>
apeiros: how so?
<apeiros>
darix: because nobody will be any more secure. see "anything but established distro system"
RobertBi_ has joined #ruby-lang
marcdel_ has quit []
<apeiros>
darix: you're just replacing one non-security with another.
michaeldeol has joined #ruby-lang
<darix>
apeiros: if your documentation starts with
<apeiros>
and if you're at non-security, I prefer the comfortable one.
<darix>
download those 2 files and verify that the gpg signature matches
pr0ton_ has joined #ruby-lang
<darix>
you added a great layer of integrity check already
<darix>
or even just normal checksums
momomomomo has joined #ruby-lang
<darix>
normal checksums wouldnt help much if someone replaced the file on the server (after a hack)
<darix>
but well
DevDoo has quit [Remote host closed the connection]
<apeiros>
if the server is hacked you can put on a wrong checksum too
x0f has quit [Ping timeout: 240 seconds]
<darix>
apeiros: that's what i said
<darix>
faking the gpg signature should hopefully be harder
<darix>
did i mention i would love to have signed gems?
<apeiros>
really, half-assed security is not better than what you critisize
DevDoo has joined #ruby-lang
<darix>
apeiros: i proposed gpg signature first and only give checksums as fallback
RobertBirnie has quit [Ping timeout: 252 seconds]
<apeiros>
I'm not convinced gpg signature will make it much less risky.
<darix>
i dont think gpg is half-assed
<apeiros>
I'd bet that there'd still be enough attack vectors
<darix>
apeiros: and seriously ... you want to argue because we cant make it 100% safe ... it is ok to leave that braindead way as valid?
<eam>
thought experiment: how does curl | sh differ from gem install?
<darix>
eam: sadly not enough.
arBmind has quit [Quit: Leaving.]
<darix>
eam: there are plans for signed gems
<darix>
but last time i checked there was still an open question how to establish trust
Coincidental has joined #ruby-lang
x0f has joined #ruby-lang
<apeiros>
darix: I argue that a plain "ugh, this is bad" is pointless. I'd also argue that all but the last point given in the link are security theater and much work for no gain.
<apeiros>
the main valid point it has in it is "don't use http, use https"
<darix>
*facepalm* I rest my case
<apeiros>
darix: the three other "fixes" he gives - somebody who can alter your https wget will almost certainly also be able to alter the reference checksum/gpg signature
<apeiros>
so seriously, why bother
<apeiros>
(for starters because - how did you get the reference checksum again?)
<darix>
apeiros: given the brokenness of the CA system ... breaking https is much easier than breaking gpg
AncientAmateur has quit [Remote host closed the connection]
<apeiros>
darix: as said, I don't think you have to break gpg
<darix>
apeiros: how do you plan to fake the signature made with my key?
<apeiros>
why do you think I'd have to use your key?
<apeiros>
I only have to convince the user that whatever signature the package has is proper
<eam>
apeiros: it's true, that's a tough problem
<apeiros>
I don't need to hijack microsoft.com in order to let people think m¡crosoft.com was proper
<eam>
in a distro there's some bootstrapping which is pretty ok, but it's much more difficult for the rubygem or random code on github case
<apeiros>
(two different domains)
<darix>
apeiros: because normally the documentation mentions "signed by this key" which includes the fingerprint
<apeiros>
darix: dude, think. where do I get that docs from again?
<apeiros>
as I said, if I can alter https, you're fucked. your first 3 "fixes" will do shit.
<darix>
apeiros: let's just agree, i wont write such stupid docs and will let you happily use stupid ways.
<apeiros>
the only thing which helps you is a pre-established distro system. as eam mentioned at the beginning.
cnivolle has quit [Ping timeout: 265 seconds]
ma has joined #ruby-lang
<apeiros>
but that too isn't without holes.
<apeiros>
but at least it's not just the same step you have to take as it'd be fore wget https.
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
tbuehlmann has joined #ruby-lang
michaeldeol has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
canton7-mac has quit [Remote host closed the connection]
adphillips has joined #ruby-lang
adphillips has quit [Client Quit]
GBrawl has quit [Quit: Computer has gone to sleep.]
ecnalyr has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
benlovell has quit [Ping timeout: 252 seconds]
<whitequark>
gnufied: funny thing, dnsmasq is the easiest part
<whitequark>
$ cat /etc/dnsmasq.d/devzone.conf
<whitequark>
address=/dev/127.0.0.1
mikecmpbll has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
<whitequark>
literally one line
arBmind has joined #ruby-lang
<gnufied>
i never claimed hard. but when you said, it is 3 lines in nginx, you forgot to mention dnsmasq change.
<gnufied>
:-)
thisirs has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
momomomomo has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<whitequark>
oh yeah, you never did. but I thought it would be the case for quite some time
<whitequark>
and was delighted to learn it's not
yfeldblum has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby-lang
<gnufied>
yep, it is quite simple, agreed.
phuesler has quit [Quit: phuesler]
diegoviola has quit [Quit: WeeChat 0.4.3]
elia has quit [Ping timeout: 245 seconds]
Coincidental has quit [Read error: Connection reset by peer]
simoz111115 has joined #ruby-lang
phuesler has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
Coincidental has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
BucOder has joined #ruby-lang
simoz111115 has quit [Ping timeout: 240 seconds]
GBrawl has joined #ruby-lang
AncientAmateur has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
Gabri has joined #ruby-lang
ghg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
omosoj has joined #ruby-lang
ecnalyr has quit [Quit: Macbook has gone to sleep. . .]
luiz__ has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
luiz__ has joined #ruby-lang
wallerdev has joined #ruby-lang
john___ has quit []
joonty has quit [Quit: WeeChat 0.4.2]
RobertBirnie has joined #ruby-lang
saarinen has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
AncientAmateur has quit [Ping timeout: 258 seconds]
omosoj has quit [Ping timeout: 265 seconds]
RobertBi_ has quit [Ping timeout: 276 seconds]
loincloth has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
arefaslani has joined #ruby-lang
arefaslani has quit [Client Quit]
Coincidental has joined #ruby-lang
AncientAmateur has joined #ruby-lang
pixelhandler has joined #ruby-lang
nertzy has quit [Ping timeout: 240 seconds]
nertzy has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
phuesler has quit [Quit: phuesler]
ghg has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
DevDoo has joined #ruby-lang
yfeldblum has joined #ruby-lang
r0bby has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
D9 has joined #ruby-lang
phuesler has joined #ruby-lang
memorozovm has joined #ruby-lang
cafechai has joined #ruby-lang
Reen has quit [Ping timeout: 252 seconds]
GBrawl_ has joined #ruby-lang
sarkyniin has joined #ruby-lang
WishBoy has joined #ruby-lang
GBrawl has quit [Ping timeout: 265 seconds]
gix has joined #ruby-lang
Reen has joined #ruby-lang
cafechai has left #ruby-lang [#ruby-lang]
mikecmpbll has joined #ruby-lang
phuesler has quit [Quit: phuesler]
karamazov has joined #ruby-lang
Gabri_ has joined #ruby-lang
BucOder has quit [Quit: Computer has gone to sleep.]
Gabri has quit [Ping timeout: 276 seconds]
loincloth has joined #ruby-lang
memorozovm has quit []
DevDoo has quit [Remote host closed the connection]
heftig has joined #ruby-lang
DevDoo has joined #ruby-lang
enebo has quit [Quit: enebo]
BucOder has joined #ruby-lang
Igrsrolqak has joined #ruby-lang
BucOder has quit [Client Quit]
WishBoy has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 276 seconds]
vondruch has quit [Quit: Ex-Chat]
Igrsrolqak has left #ruby-lang [#ruby-lang]
sarkyniin has quit [Quit: Quitte]
vondruch has joined #ruby-lang
mykoweb has joined #ruby-lang
arooni-mobile has joined #ruby-lang
omosoj has joined #ruby-lang
vpretzel|674 is now known as vpretzel
sepp2k has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
yubrew_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
enebo has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
jgpawletko has quit [Quit: jgpawletko]
wallerdev has joined #ruby-lang
_ht has quit [Remote host closed the connection]
centrx has joined #ruby-lang
momomomomo has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
toastynerd has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
symm- has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
D9 has quit [Ping timeout: 240 seconds]
mykoweb has quit [Ping timeout: 240 seconds]
maoko has joined #ruby-lang
dwknoxy is now known as dknox-lunch
sarkyniin has joined #ruby-lang
omosoj has quit [Ping timeout: 252 seconds]
GBrawl_ has quit [Quit: Computer has gone to sleep.]
GBrawl_ has joined #ruby-lang
GBrawl_ has quit [Client Quit]
nofxx_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
nathanstitt has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
Dim__ has joined #ruby-lang
axv has joined #ruby-lang
franzip has quit [Quit: ...]
thang_ has quit [Ping timeout: 252 seconds]
mikewintermute has joined #ruby-lang
digs has joined #ruby-lang
mikewintermute has left #ruby-lang [#ruby-lang]
digs is now known as Guest96988
thang_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
memorozovm has joined #ruby-lang
memorozovm has quit [Remote host closed the connection]
havenwood has quit []
jsullivandigs has quit [Ping timeout: 265 seconds]
DevDoo has quit [Remote host closed the connection]
DevDoo has joined #ruby-lang
mykoweb has joined #ruby-lang
stardiviner has quit [Ping timeout: 240 seconds]
Willox_ has quit [Ping timeout: 245 seconds]
styped_____ has quit [Ping timeout: 252 seconds]
mykoweb has quit [Ping timeout: 245 seconds]
Willox_ has joined #ruby-lang
styped_____ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
dknox-lunch is now known as dknox
hahuang65 has joined #ruby-lang
mistym_ has joined #ruby-lang
alex-quiterio1 has left #ruby-lang [#ruby-lang]
robmiller has joined #ruby-lang
robmiller has quit [Client Quit]
robmiller has joined #ruby-lang
diegoviola has joined #ruby-lang
Gabri has joined #ruby-lang
relix has joined #ruby-lang
stardiviner has joined #ruby-lang
mehlah has joined #ruby-lang
mykoweb has joined #ruby-lang
Gabri has quit [Client Quit]
Gabri_ has quit [Ping timeout: 264 seconds]
vpretzel_ has joined #ruby-lang
BucOder has joined #ruby-lang
sepp2k1 has joined #ruby-lang
vpretzel has quit [Ping timeout: 252 seconds]
sepp2k has quit [Ping timeout: 252 seconds]
axv has quit []
faces has quit [Ping timeout: 240 seconds]
faces has joined #ruby-lang
dingus_khan has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
momomomomo has quit [Quit: momomomomo]
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
allomov has joined #ruby-lang
wallerdev has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
toastynerd has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
mattyohe has quit [Ping timeout: 264 seconds]
mykoweb has quit [Ping timeout: 276 seconds]
AncientAmateur has joined #ruby-lang
jsullivandigs has joined #ruby-lang
Guest96988 has quit [Ping timeout: 252 seconds]
mykoweb has joined #ruby-lang
mattyohe_ has joined #ruby-lang
saarinen has quit [Ping timeout: 245 seconds]
mattyohe_ is now known as mattyohe
tbuehlmann has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
r0bby has joined #ruby-lang
robbyoconnor has joined #ruby-lang
saarinen has joined #ruby-lang
wallerdev has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
ap4y has joined #ruby-lang
vpretzel_ has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
Miphix has quit [Quit: Leaving]
dingus_khan has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
digs has joined #ruby-lang
digs is now known as Guest70190
elia has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 258 seconds]
ahf has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mykoweb has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
miqui has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
omosoj has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
mykoweb has quit [Ping timeout: 252 seconds]
mistym_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
mykoweb has joined #ruby-lang
AncientAmateur has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
danijoo has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
64MAARY20 has joined #ruby-lang
saarinen has joined #ruby-lang
khaase_ has joined #ruby-lang
saarinen has quit [Client Quit]
khaase has quit [Ping timeout: 265 seconds]
arooni-mobile has joined #ruby-lang
mr_rogerz has joined #ruby-lang
saarinen has joined #ruby-lang
allomov has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
64MAARY20 has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.3]
havenwood has joined #ruby-lang
MichD is now known as michd
ur5us has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
DevDoo has joined #ruby-lang
BucOder has quit [Quit: Computer has gone to sleep.]
alexju has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
yock has quit [Ping timeout: 276 seconds]
mykoweb has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
mykoweb has quit [Read error: Connection reset by peer]
sarkyniin has quit [Quit: Quitte]
mykoweb has joined #ruby-lang
mykoweb has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mykoweb has joined #ruby-lang
saarinen has quit [Quit: saarinen]
pixelhandler has quit [Quit: pixelhandler]
mykoweb has quit [Read error: Connection reset by peer]
mykoweb has joined #ruby-lang
frzng has joined #ruby-lang
GBrawl has joined #ruby-lang
ledestin has quit [Quit: ledestin]
mehlah has quit [Quit: Leaving...]
DevDoo has quit [Remote host closed the connection]
DevDoo has joined #ruby-lang
shinnya has joined #ruby-lang
kirin` has quit [Ping timeout: 252 seconds]
herpless has quit [Quit: Connection closed for inactivity]
agarie has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 272 seconds]
workmad3 has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
AncientAmateur has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
mykoweb has joined #ruby-lang
olauzon has quit [Quit: olauzon]
havenwood has joined #ruby-lang
thang_ has quit [Ping timeout: 276 seconds]
khaase_ has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
thang_ has joined #ruby-lang
kirin` has joined #ruby-lang
mykoweb has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
AncientAmateur has quit [Remote host closed the connection]
kyb3r_ has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
allomov has joined #ruby-lang
saarinen has quit [Ping timeout: 240 seconds]
vpretzel has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
mr_rogerz has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
shalicke has quit [Ping timeout: 258 seconds]
yubrew has joined #ruby-lang
yubrew_ has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
<joevandyk>
is there a better way to do this? a=[]; 3.times { {some: 'hash', is: 'here' }; a
shalicke has joined #ruby-lang
<joevandyk>
err, minus the typo
<centrx>
Are those really the same value for each element?
<centrx>
An array of three identical hashes?
vlad_starkov has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
DevDoo has quit [Read error: Connection reset by peer]
DevDoo has joined #ruby-lang
allomov has quit [Remote host closed the connection]
ma has quit [Quit: Leaving]
havenwood has joined #ruby-lang
ledestin has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
<apeiros>
joevandyk: um, after that, a is still an empty array?
<apeiros>
joevandyk: I guess you want Array.new(3) { {some: 'hash', is: 'here'} }
momomomomo has joined #ruby-lang
khaase has joined #ruby-lang
pixelhandler has joined #ruby-lang
mykoweb has joined #ruby-lang
r0bby has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
khaase has quit [Ping timeout: 265 seconds]
mister_integer has joined #ruby-lang
charliesome has joined #ruby-lang
omosoj has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 252 seconds]
ghg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]