<erikh>
raggi_: trying to write an app store package provider :)
<manveru>
raggi_: well, now 1.4 is out, gotta deal with it
<zenspider>
erikh: I upgraded to osx server 10.7 and now mailman can't deliver mail because it doesn't think it can relay thorugh itself
<raggi_>
manveru: i'd roll you a 1.4.1 if you want
<raggi_>
makes little difference tbh
<zenspider>
mynetworks seems fine
<zenspider>
tho I'm seeing a lot of ::1 in the rejections
<manveru>
raggi_: just change it to 405 Method Not Allowed, and i'd be happy
<zenspider>
I'm guessing it is an IPv6 problem
<erikh>
that's localhost
<zenspider>
I know
<raggi_>
manveru: ok :-)
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<erikh>
possible... it's been a while, but what does your /etc/postfix/transports look like?
<zenspider>
transports? don't have one transport is the generic doco/comment stuff
<erikh>
bb in 5
<erikh>
hrm.
<erikh>
maybe your mailman is configured differently than I've done it in the past
<erikh>
what I've done in the past is define a transport and then in... master.cf IIRC route that transport through mailman
<erikh>
man 5 transport can elaborate
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby-lang
<erikh>
it's been about 6-7 years though, so if that helps, great; if not I'm sorry
<zenspider>
it was ::1
<zenspider>
stupid ipv6
<manveru>
time for travis
<manveru>
all pass, except for rbx 1.9 of course
ksinkar [ksinkar!~ksinkar@117.195.102.77] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
RomyEatsDrupal [RomyEatsDrupal!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
<samuelkadolph>
zenspider: What do you think would be the best way to parse a gem file in Objective C? Macruby's rubygems 1.4.2 or use libarchive to extract the zlib and gz manually?
JosephRuby [JosephRuby!~joseph@46.33.39.217] has joined #ruby-lang
skipper [skipper!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
<zenspider>
savage-: my pleasure. glad you like it
<savage->
zenspider: are you on twitter, by the way?
<zenspider>
no
<savage->
ok, makes sense why I couldn't find you. )
<savage->
:-)
<zenspider>
samuelkadolph: umm... *shrug*
<any-key>
tweet tweet
<samuelkadolph>
lol
<samuelkadolph>
zenspider: Will 1.4.2 rubygems be able to handle the current rubygems format?
<zenspider>
I'm not even sure what you mean by the first option.. . that's not objective c
<zenspider>
don't see why not
<samuelkadolph>
It's inside objective c
<zenspider>
no, macruby == ruby
<zenspider>
it's running on top of the objc runtime, but it's still ruby
<samuelkadolph>
From the perspective of being a Cocoa app
<zenspider>
why do you want to "parse" a gem file in objc anyhow?
<zenspider>
(there's no parse... they're just tar files really)
<samuelkadolph>
Yeah I know the format is simple
<samuelkadolph>
That's why it wouldn't be that hard to use libarchive.
<samuelkadolph>
I want to get the contents of a gem to make a viewer app
<zenspider>
to view... gems?
<zenspider>
why?
<savage->
side question: are macruby apps now accepted in the iOS app store / mac app store?
<zenspider>
mac app store == yes, I believe
<zenspider>
ios no
<samuelkadolph>
macruby is fine in the Mac App Store
<samuelkadolph>
But it doesn't work on iOS so you can't even try for that store
<savage->
I see.
<savage->
Why doesn't it work on iOS?
<savage->
too much memory or?
<samuelkadolph>
No GC
<samuelkadolph>
zenspider: I've always been tempted to write an app so you can download a .gem file from rubygems.org and just view the files
<savage->
weird, I thought they introduced a GC in iOS 5.
<samuelkadolph>
No, they added automatic reference counting in Xcode 4.something which is just a compiler feature so you don't have to do any retain/release
<savage->
gotcha! ok, that makes sense.
<savage->
hopefully they introduce that in iOS 6.
ryanf [ryanf!~revfitz@adsl-67-117-145-203.dsl.snfc21.pacbell.net] has joined #ruby-lang
<savage->
hahaha
<savage->
hahahahaha
<savage->
zenspider: "NOTE: 1.9 has a horrible extension to allow you to define != and !~. A special place in hell is reserved for you if you define those."
<zenspider>
I stand by that
<samuelkadolph>
I like def false.!; false; end in irb and breaking it
<ryanf>
haha that's awesome
imbric [imbric!~chris@ool-44c180cb.dyn.optonline.net] has joined #ruby-lang
<savage->
'nite!
mksm_ [mksm_!Guest68249@201.20.236.65] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.39.217] has joined #ruby-lang
Oloryn_lt1 [Oloryn_lt1!~Oloryn@strider-laptop.broker.freenet6.net] has joined #ruby-lang
spuk [spuk!~spuk@186.222.1.205] has joined #ruby-lang
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby-lang
JosephRuby [JosephRuby!~joseph@46.33.39.217] has joined #ruby-lang
mkscrg [mkscrg!~mkscrg@pool-173-54-64-46.nwrknj.east.verizon.net] has joined #ruby-lang
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby-lang
JohnBat26 [JohnBat26!~Eugene@89.175.77.90] has joined #ruby-lang
|Vargas| [|Vargas|!~luke@pdpc/supporter/profesional/vargas] has joined #ruby-lang
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby-lang
phaedrix [phaedrix!~phaedrix@c-24-22-86-235.hsd1.or.comcast.net] has joined #ruby-lang
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
krz [krz!~foobar@175.139.73.204] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@cblmdm24-53-178-92.buckeyecom.net] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
Randroid [Randroid!~gregory@static-72-91-82-26.tampfl.fios.verizon.net] has joined #ruby-lang
thone_ [thone_!~thone@g225084022.adsl.alicedsl.de] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
solars [solars!~solars@194.208.132.118] has joined #ruby-lang
<rue>
Magnificent funeral
<rue>
Er, semi-OT for this particular channel…
<erikh>
jong il funeral best funeral
<mitchty_>
erikh: that funeral was il
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
shevy [shevy!~shevy@188-23-92-162.adsl.highway.telekom.at] has joined #ruby-lang
<Tasser>
rue, how is a funeral only semi-OT?
<rue>
Are you implying the Dear Leader wasn't a huge influence on Ruby?
<Tasser>
ahh, that funeral
<rue>
Came to power in 1994. Coincidence? I THINK NOT
<mitchty>
mans got a point
<rue>
Matz Is Nice So I'm EEEEVIILLLLL MUHAHAHAAHA was his slogan
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
<ddfreyne>
NARKOZ: the latter, but remove the “hash = ” and “hash” at the end
kyrylo [kyrylo!~kyrylo@46.118.236.227] has joined #ruby-lang
NARKOZ [NARKOZ!~NARKOZ@109.127.38.73] has joined #ruby-lang
<ddfreyne>
NARKOZ: the latter, but remove the “hash = ” and “hash” at the end
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
Randroid [Randroid!~gregory@static-72-91-82-26.tampfl.fios.verizon.net] has joined #ruby-lang
TvL2386 [TvL2386!~tom@2a00:1388:0:3:224:beff:feaf:8eb2] has joined #ruby-lang
hagabaka [hagabaka!~hagabaka@unaffiliated/hagabaka] has joined #ruby-lang
urbanmonk [urbanmonk!~rom@bas1-toronto08-1279299012.dsl.bell.ca] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
thrcka [thrcka!~thrcka@217.31.32.203] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
chrismcg [chrismcg!~chrismcg@pdpc/supporter/active/chrismcg] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
NARKOZ [NARKOZ!~NARKOZ@109.127.38.73] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
brianpWins [brianpWins!~brianpWin@hlfxns0169w-142068026252.dhcp-dynamic.FibreOp.ns.bellaliant.net] has joined #ruby-lang
flexd [flexd!~flexd@dev.flexd.net] has joined #ruby-lang
flexd [flexd!~flexd@dev.flexd.net] has joined #ruby-lang
jensn [jensn!~Jens@90-229-211-15-no150.tbcn.telia.com] has joined #ruby-lang
Pip [Pip!~Pip@unaffiliated/pip] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
jjp [jjp!~jjp@info-1.adm.espci.fr] has joined #ruby-lang
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
virunga [virunga!~virunga@151.64.58.65] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby-lang
mantono [mantono!~mantono@c83-251-126-234.bredband.comhem.se] has joined #ruby-lang
tbuehlmann [tbuehlmann!Tobias@unaffiliated/tovias] has joined #ruby-lang
rippa [rippa!~splitta@85.158.54.234] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
NARKOZ [NARKOZ!~NARKOZ@109.127.38.73] has quit [#ruby-lang]
senthil [senthil!~senthil@99-51-1-6.lightspeed.snjsca.sbcglobal.net] has joined #ruby-lang
petercooper [petercooper!~petercoop@82.144.254.2] has joined #ruby-lang
niklasb [niklasb!~codeslay0@p5B31094F.dip0.t-ipconnect.de] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@nat35.mable.ne.jp] has joined #ruby-lang
setmeaway [setmeaway!setmeaway3@119.201.52.190] has joined #ruby-lang
hzlocky [hzlocky!~me@dynamic-vpdn-87-252-255-39.telecom.by] has joined #ruby-lang
path[l] [path[l]!~path@115.114.59.182] has joined #ruby-lang
<path[l]>
Hi, if I have a ruby gem written in c, and there is a method on an exposed object, but the writer has not exposed the method using rb_define_method, is there a way to call the method anyway?
<manveru>
path[l]: if the symbol is visible you can call it with ffi :P
<manveru>
but probably easier is to fork the gem and define the method
<path[l]>
hmm, the reason I didnt wanna do that is Im sharing a gist, and I dont want people to have to install a whole new gem.
<path[l]>
let me take a look at the ffi option
<manveru>
well, ffi ships with jruby and rbx, but not mri :(
<manveru>
so it's a whole new gem as well there
<path[l]>
ah ok. yeah I needed it for mri
<path[l]>
hehe ok
<petercooper>
pretty sure that's not true
<manveru>
petercooper: more specific?
<petercooper>
I haven't looked it up quite so quickly but.. I know fiddle is part of the stdlib
<path[l]>
require 'ffi' succeeded
<petercooper>
and I thought fiddle was just a ffi wrapper
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
<manveru>
orly?
<path[l]>
I dont remember installing it
<manveru>
i think dl is in stdlib, didn't know something for libffi is there
<manveru>
god knows how the rules for converting ruby objects to pointers work
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby-lang
<Tasser>
manveru, from string to voidp?
<Tasser>
what is a voidp anyway?
<robgleeson>
void pointer i'd guess
<manveru>
yeah, a void pointer in C is a pointer that could be anything...
ksinkar_ [ksinkar_!~ksinkar@117.195.107.65] has joined #ruby-lang
<Tasser>
ah
<Tasser>
suspected as much
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby-lang
<Tasser>
manveru, I supposeffi got some rules to convert from ruby to C based on classes
<manveru>
libffi doesn't, ffi does have special types for stuff like strings
<manveru>
fiddle seems to have some case matching depending on the class
<Tasser>
what's the difference between libff and ffi?
<Tasser>
one wraps the other?
<manveru>
ffi is the ruby gem
<manveru>
libffi is a c library
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
<manveru>
so yeah
<manveru>
and both dl and ffi wrap libffi, and fiddle wraps dl
<Tasser>
dl?
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
yellow5_ [yellow5_!~yellow5@levicole.xen.prgmr.com] has joined #ruby-lang
<burgestrand>
Tasser: it’s a library in stdlib which allows you to bind functions from dynamic libraries to ruby, similar to FFI
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby-lang
<Tasser>
burgestrand, for windows?
<burgestrand>
Tasser: don’t think it’s solely for windows, but I’m not sure, I just know you’re probably better off using FFI if you want to bind to dynamic libraries
DEac- [DEac-!~deac@81.16.104.86] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
kith_ [kith_!~kith@unaffiliated/kith] has joined #ruby-lang
taf2 [taf2!~taf2@pool-173-67-31-242.bltmmd.fios.verizon.net] has joined #ruby-lang
danishman [danishman!~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk] has joined #ruby-lang
[1]Kichael [[1]Kichael!~Kichael@70-36-49-167.dyn.novuscom.net] has joined #ruby-lang
mytrile [mytrile!~mytrile@94.26.28.135] has joined #ruby-lang
siori_ [siori_!~siori@w0109-49-135-194-98.uqwimax.jp] has joined #ruby-lang
outoftime [outoftime!~mat@50.57.10.189] has joined #ruby-lang
voker57 [voker57!~voker57@2.93.235.33] has joined #ruby-lang
voker57 [voker57!~voker57@kvirc/developer/Voker57] has joined #ruby-lang
shevy [shevy!~shevy@188-23-92-162.adsl.highway.telekom.at] has joined #ruby-lang
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby-lang
towski [towski!~towski@70.35.135.146] has joined #ruby-lang
lele|w [lele|w!~Lele@2a01:2d8:0:cafe:218:f3ff:fece:a48] has joined #ruby-lang
towski_ [towski_!~towski@70.35.135.146] has joined #ruby-lang
Manhose [Manhose!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby-lang
<shevy>
the universe was not build with indentation :/
<shevy>
*built
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@dyn-160-39-33-144.dyn.columbia.edu] has joined #ruby-lang
<Asher>
the universe indents naturally
<rippa>
but there's a lot of whitespace
<Asher>
without requiring fascism :P
<lianj>
it know you on come readable totally <- python
<rippa>
betwee atoms
<rippa>
between galaxies
<Asher>
hahaha lianj
<shevy>
I am still not sure if I like indentation... on the one hand, omitting "end" or similar is kinda nice ... on the other hand, I don't really *feel* as if a programming language should use indentation... but I have dived a little into Nimrod too and like it so far, despite the indentation
<Asher>
what's nice about omiting end?
<Asher>
it just makes things blend together at the bottom
<robgleeson>
you should always use indentation
<Asher>
i know "end" is hard to type and all...
<robgleeson>
so it's okay to enforce it in a language
<Asher>
no it isn't!
<rippa>
it's not okay when indentation has semantic meaning
<shevy>
Asher that "end" conveys no meaningful information to me at all
<Asher>
it helps my eye find separations in code regions
<rippa>
what if you mess up indentation by pasting
<robgleeson>
rippa: yeah sure, thats true
<shevy>
yeah, indentation has some definite disadvantages
<robgleeson>
?
<robgleeson>
like what?
<robgleeson>
do you mean how it is used in Python?
<rippa>
extra file size
<shevy>
for instance when it is required to run a program
<robgleeson>
rippa: yeah true, i write all my code on one line anyway
<robgleeson>
no whitespace either
<shevy>
I do this with documentation lately :)
<Asher>
documentation is best when written on one line
<lianj>
"merge denied: too many spaces"
codefriar [codefriar!~codefriar@cpe-098-026-012-134.nc.res.rr.com] has joined #ruby-lang
whoops [whoops!u549@gateway/web/irccloud.com/x-juttpexuuwxeohyi] has joined #ruby-lang
<yorickpeterse>
"Error: you're using tabs/spaces and my author does not like spaces/tabs"
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby-lang
Defusal [Defusal!DeFi@dsl-240-245-00.telkomadsl.co.za] has joined #ruby-lang
Defusal [Defusal!DeFi@unaffiliated/ecnerifed] has joined #ruby-lang
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
batasrki [batasrki!~batasrki@CPE687f7416fe39-CM0011ae9288b4.cpe.net.cable.rogers.com] has joined #ruby-lang
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby-lang
matthewC [matthewC!~mattcampb@c-24-63-27-64.hsd1.ma.comcast.net] has joined #ruby-lang
retro|cz [retro|cz!~retro@106.142.broadband6.iol.cz] has joined #ruby-lang
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby-lang
tenderlove [tenderlove!~tenderlov@pdpc/supporter/active/tenderlove] has joined #ruby-lang
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
cyndis [cyndis!cyndis@lakka.kapsi.fi] has joined #ruby-lang
dfr|mac [dfr|mac!dfr|work@nat/google/x-jbczadpihkvwcdhk] has joined #ruby-lang
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby-lang
butchanton [butchanton!~butchanto@adsl-71-146-129-247.dsl.pltn13.sbcglobal.net] has joined #ruby-lang
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@dyn-160-39-33-144.dyn.columbia.edu] has joined #ruby-lang
setmeaway [setmeaway!setmeaway@119.201.52.190] has joined #ruby-lang
frangiz [frangiz!~frangiz@user26.77-105-206.netatonce.net] has joined #ruby-lang
path[l] [path[l]!~path@120.138.102.50] has joined #ruby-lang
virunga [virunga!~virunga@151.64.58.65] has joined #ruby-lang
g0bl1n [g0bl1n!~g0blin@unaffiliated/g0bl1n] has joined #ruby-lang
ramonmaruko [ramonmaruko!~marco@122.52.126.66] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
kyrylo [kyrylo!~kyrylo@46.118.236.227] has joined #ruby-lang
yorickpeterse [yorickpeterse!~yorickpet@pdpc/supporter/professional/yorickpeterse] has joined #ruby-lang
gearaholic [gearaholic!~gearaholi@c-71-238-98-243.hsd1.mi.comcast.net] has joined #ruby-lang
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
RomyEatsDrupal_ [RomyEatsDrupal_!~stickycak@cpe-74-64-122-182.nyc.res.rr.com] has joined #ruby-lang
janissary [janissary!~user@adsl-98-70-95-30.mco.bellsouth.net] has joined #ruby-lang
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby-lang
<rue>
TABS
<matti>
rue: ? :]
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
Heimidal [Heimidal!~heimidal@c-67-165-197-126.hsd1.co.comcast.net] has joined #ruby-lang
amerine [amerine!~mturner@bbb72-0-165-4.bendbroadband.com] has joined #ruby-lang
nuclearsandwich [nuclearsandwich!~nuclearsa@74-93-3-241-SFBA.hfc.comcastbusiness.net] has joined #ruby-lang
SuperTaz_work [SuperTaz_work!~supertaz_@38.99.52.59] has joined #ruby-lang
robgleeson [robgleeson!~rob@subtle/contributor/robgleeson] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
slyphon [slyphon!~weechat@unaffiliated/slyphon] has joined #ruby-lang
<shevy>
SPACES
ksinkar_ [ksinkar_!~ksinkar@115.241.237.219] has joined #ruby-lang
<erikh>
ARGUMENT
<rippa>
my spaces are augmented
<rippa>
*argumented
<shevy>
that was an augmented argumentation
<shevy>
hmm or argument
<yorickpeterse>
ArgumentError: invalid argument
<yorickpeterse>
rippa: I never asked for this
<rippa>
I used to ask for this
<rippa>
but then took an arrow to the knee implant
<yorickpeterse>
hahaha, I was about to say that
<yorickpeterse>
I don't always chat in IRC, but when I do I make sure to use video game references
<shevy>
you are all lazy on IRC
<shevy>
there's like only ten or twenty talking now and then and the boring rest idles to power
benanne [benanne!~rijdier@ip-83-134-143-105.dsl.scarlet.be] has joined #ruby-lang
<erikh>
feh
zeba [zeba!~zeba@93-139-153-121.adsl.net.t-com.hr] has joined #ruby-lang
zeba_ [zeba_!~zeba@93-139-153-121.adsl.net.t-com.hr] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
darkf [darkf!~darkf_dix@unaffiliated/darkf] has joined #ruby-lang
canton7 [canton7!~canton7@95.150.107.113] has joined #ruby-lang
floyd2 [floyd2!~floyd2@17.145.34.193.static.giga-dns.com] has joined #ruby-lang
<rue>
Feh? FEH?
<rue>
Is that better than IRC?
srbaker [srbaker!~srbaker@184.66.82.213] has joined #ruby-lang
livinded [livinded!~lolwut@pool-108-23-242-132.lsanca.fios.verizon.net] has joined #ruby-lang
<erikh>
how much coffee did you have?!
heftig [heftig!jan@archlinux/developer/heftig] has joined #ruby-lang
spinagon [spinagon!~rippa@95-86-252-45.pppoe.yaroslavl.ru] has joined #ruby-lang
datanoise [datanoise!~datanoise@24-145-66-018-dhcp.mia.fl.atlanticbb.net] has quit [#ruby-lang]
jaisoares [jaisoares!~jsoares@bl5-203-93.dsl.telepac.pt] has joined #ruby-lang
tcurdt [tcurdt!~tcurdt@p5B03A217.dip.t-dialin.net] has joined #ruby-lang
rippa [rippa!~rippa@95-86-252-45.pppoe.yaroslavl.ru] has joined #ruby-lang
RomD`` [RomD``!~Roman@nrbg-4dbe082a.pool.mediaWays.net] has joined #ruby-lang
solars [solars!~solars@194.208.132.118] has joined #ruby-lang
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby-lang
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby-lang
malev [malev!~malev@host45.190-137-46.telecom.net.ar] has joined #ruby-lang
<rue>
A LOT
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
melic [melic!gHFscrE3bQ@storm.cise.ufl.edu] has joined #ruby-lang
kain [kain!~kain@151.64.211.61] has joined #ruby-lang
jrwesolo [jrwesolo!~jrwesolo@16.60.broadband7.iol.cz] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
batasrki [batasrki!~batasrki@CPE687f7416fe39-CM0011ae9288b4.cpe.net.cable.rogers.com] has joined #ruby-lang
stetho [stetho!~stetho@host86-179-193-189.range86-179.btcentralplus.com] has joined #ruby-lang
bjensen [bjensen!~brianj@3007ds3-ar.0.fullrate.dk] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby-lang
Jake232 [Jake232!~textual@5e049fbe.bb.sky.com] has joined #ruby-lang
RomD [RomD!~Roman@nrbg-4dbe082a.pool.mediaWays.net] has joined #ruby-lang
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby-lang
xleonex [xleonex!~xleonex15@200.Red-83-46-94.dynamicIP.rima-tde.net] has joined #ruby-lang
kain_ [kain_!~kain@151.64.211.61] has joined #ruby-lang
benanne [benanne!~rijdier@ip-83-134-143-105.dsl.scarlet.be] has joined #ruby-lang
skinnymuch [skinnymuch!~skinnymuc@static-173-61-113-6.cmdnnj.fios.verizon.net] has joined #ruby-lang
toretore [toretore!~toretore@ti0006a380-0261.bb.online.no] has joined #ruby-lang
Kovax [Kovax!~peter@cpe-174-096-105-109.carolina.res.rr.com] has joined #ruby-lang
bglusman [bglusman!~bglusman@c-68-80-200-61.hsd1.pa.comcast.net] has joined #ruby-lang
krz [krz!~foobar@unaffiliated/krz] has joined #ruby-lang
Asher [Asher!~asher@98.158.127.150] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
tychobrailleur [tychobrailleur!~sebastien@89-93-156-41.hfc.dyn.abo.bbox.fr] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
dfr|mac [dfr|mac!dfr|work@nat/google/x-iyypfhsjohpplqiz] has joined #ruby-lang
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby-lang
davpoind [davpoind!~davpoind@c-24-7-244-19.hsd1.in.comcast.net] has joined #ruby-lang
<davpoind>
can someone link me to a best practice of caching app data?
<davpoind>
im making a tiny little sinatra app that will run on heroku for now. there's an expensive operation (around 8 seconds is the best i can do for now), that results in a big hash written to json to a file. where should i keep this file within the app? directory/filename? Thnx!
<rue>
That doesn't really matter, unless you can serve the JSON directly. In that case, you'd want to stick it in a dir where it can be retrieved directly, preferrably by the web server
<davpoind>
rue: that's what i think i want to do
<rue>
So you'd likely want it in public/ ?
<davpoind>
im just wondering about path and naming conventions for things like that
<davpoind>
well, im not going to serve the whole thing, directly
<davpoind>
it's basically my whole data store. i will use this to determine what to serve back to the requester
<rue>
Then it doesn't matter, just put it somewhere. tmp/, data/, whatever, and load it up
<rue>
Although maybe you'd be better off with an actual data store?
<davpoind>
rue: that's another thought that ran through my mind
<davpoind>
the data won't change often, at all
<rue>
Still, if you're serving it piecemeal, it's worth looking into
<davpoind>
but, im all about performance and maintenance. so im seeking advice of those better than me... which is about everyone at this point
<davpoind>
lets make this concrete... bear with me
<rue>
(Assuming it's not just a bunch of separate documents, in which case you'd want to look at the filesystem again)
<rue>
I'm bearing right into bed, but someone'll pick up the slack, I'm sure
<davpoind>
i have a list of IP addresses... some are whole blocks. they have data associated with each one. attributes are: what campus, wired or wireless IP, secure or guest
<davpoind>
ok rue sorry to catch ya at a bad time, thanks for your help so far though
<shevy>
already wondered how how mystery there is in it hehehe
<shevy>
*how much
nofxx [nofxx!~nofxx@unaffiliated/nofxx] has joined #ruby-lang
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby-lang
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby-lang
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby-lang
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby-lang
batasrki [batasrki!~batasrki@CPE687f7416fe39-CM0011ae9288b4.cpe.net.cable.rogers.com] has joined #ruby-lang
solars [solars!~solars@mk089144206038.a1.net] has joined #ruby-lang
amerine [amerine!~mturner@bbb72-0-165-4.bendbroadband.com] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
butchanton [butchanton!~butchanto@64.134.232.94] has joined #ruby-lang
ezkl [ezkl!~ezkl@dynamic-acs-24-144-206-131.zoominternet.net] has joined #ruby-lang
postmodern [postmodern!~postmoder@c-71-237-178-98.hsd1.or.comcast.net] has joined #ruby-lang
S1kx [S1kx!~S1kx@pdpc/supporter/monthlybyte/s1kx] has joined #ruby-lang
tcurdt [tcurdt!~tcurdt@p5B03A322.dip.t-dialin.net] has joined #ruby-lang
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby-lang
gasbakid [gasbakid!~gasbakid@41.96.0.135] has joined #ruby-lang
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
cored [cored!~homer@201.229.129.150] has joined #ruby-lang
cored [cored!~homer@unaffiliated/cored] has joined #ruby-lang
The_prospector|2 [The_prospector|2!MILLYBAYS@2001:470:a:5c1::3] has joined #ruby-lang
The_prospector|2 [The_prospector|2!MILLYBAYS@2001:470:a:5c1::3] has joined #ruby-lang
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby-lang
vanhalt [vanhalt!~vanhalt@190.175.2.131] has joined #ruby-lang
dFire [dFire!~coolfire@145.116.233.201] has joined #ruby-lang
Jake232 [Jake232!~textual@5e0e5f2e.bb.sky.com] has joined #ruby-lang
<dFire>
Hello
<dFire>
Quick (hopefully) question: I had to override the load method in a class, but I want to call the original load in that same class. How do I do this?
<batasrki>
dFire: alias_method
<postmodern>
does Kernel.rand() actually use the systems random() function?
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby-lang
lsegal [lsegal!jinx@modemcable249.109-177-173.mc.videotron.ca] has joined #ruby-lang
<dFire>
batasrki: Thanks, worked a charm.
tbuehlmann [tbuehlmann!~Tobias@unaffiliated/tovias] has joined #ruby-lang
The_prospector [The_prospector!MILLYBAYS@unaffiliated/cornman] has joined #ruby-lang
andrewhl [andrewhl!~andrewhl@out-pq-136.wireless.telus.com] has joined #ruby-lang
ttilley [ttilley!~ttilley@unaffiliated/lv] has joined #ruby-lang
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby-lang
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby-lang
pet_r [pet_r!~petr@85.132.143.21] has joined #ruby-lang
tla [tla!~tla@toelboell-lund.dk] has joined #ruby-lang
<manveru>
postmodern: no
<manveru>
ruby has its own pseudo-random algorithm to be platform-independent
<manveru>
and there's SecureRandom now, which uses /dev/random and the like, depending on the platform
<postmodern>
manveru, ah ha thanks
dfr|mac [dfr|mac!dfr|work@nat/google/x-qjgysdxernkqbcbc] has joined #ruby-lang
gasbakid [gasbakid!~gasbakid@41.96.124.175] has joined #ruby-lang
RomD` [RomD`!~Roman@nrbg-4d0d4f6d.pool.mediaWays.net] has joined #ruby-lang
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby-lang
takaokouji [takaokouji!~takaokouj@nat35.mable.ne.jp] has joined #ruby-lang
saLOUt [saLOUt!~rriemann@91-65-223-29-dynip.superkabel.de] has joined #ruby-lang
pet_r1 [pet_r1!~petr@85.132.143.21] has joined #ruby-lang
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby-lang
aarkerio [aarkerio!~aarkerio@201.141.120.20] has joined #ruby-lang
<aarkerio>
hi! I am PHP developer, and I am wondering: what "?" means in stuff like this?
<aarkerio>
def has_read_access_to?(wiki_or_forum)
<aarkerio>
is something about the "void" stuff ?
<Jake232>
aarkerio: It's just a normal method, ? is a valid character in a ruby method.
<Jake232>
However
<Jake232>
It's convention that the method will return either true or false, and is ussually used to check whether something exists, has access, etc et
savage- [savage-!~savage-@209.118.197.220] has joined #ruby-lang
<aarkerio>
cool! I think was a Ruby syntaxis
<shevy>
aarkerio come to the dark side :D
<shevy>
to ruby!
<aarkerio>
well, I am enjoying this!
gasbakid [gasbakid!~gasbakid@41.96.21.62] has joined #ruby-lang
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.45] has joined #ruby-lang