apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
ledestin has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
jhulten has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
jsullivandigs has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
jsullivandigs has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
lfox has joined #ruby-lang
somasonic has joined #ruby-lang
<somasonic>
does a good irclib exist?
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
jsullivandigs has quit [Ping timeout: 252 seconds]
grhof_ has joined #ruby-lang
grhof has quit [Ping timeout: 240 seconds]
grhof has joined #ruby-lang
benwoody has quit [Quit: benwoody]
grhof has quit [Read error: Connection reset by peer]
grhof_ has quit [Ping timeout: 240 seconds]
VTLob has quit [Quit: VTLob]
Cakey has quit [Ping timeout: 246 seconds]
shinnya has joined #ruby-lang
jhulten has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
<darix>
somasonic: cinch
jhulten has joined #ruby-lang
hogeo has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Ping timeout: 240 seconds]
<somasonic>
darix, thanks
jhulten has quit [Ping timeout: 272 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
Tearan has joined #ruby-lang
grhof has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
grhof has quit [Read error: Connection reset by peer]
hogeo_ has joined #ruby-lang
hogeo has quit [Read error: No route to host]
jhulten has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
r0bglees0n has joined #ruby-lang
vlad_starkov has joined #ruby-lang
RickHull has joined #ruby-lang
simoz has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby-lang
arBmind has joined #ruby-lang
dalzony has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
rickhull1 has quit [Quit: Leaving.]
Guest63508 has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
dalzony has quit [Quit: Leaving.]
dalzony has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
h0rrorvacui has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 260 seconds]
moneydouble has joined #ruby-lang
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
<moneydouble>
Hey. Anyone here looking for a small project? Requirements are Python and Ruby. Basically, need a simple SDK created in Ruby for our API.
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
charlespeach has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
dhruvasagar has quit [Client Quit]
dhruvasagar has joined #ruby-lang
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby-lang
h0rrorvacui has quit [Quit: Leaving]
charlespeach has quit [Client Quit]
charlespeach has joined #ruby-lang
hotpancakes has quit [Ping timeout: 265 seconds]
hotpancakes has joined #ruby-lang
charlespeach has quit [Ping timeout: 260 seconds]
h0rrorvacui has joined #ruby-lang
h0rrorvacui has quit [Client Quit]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
h0rrorvacui has joined #ruby-lang
bjh13 has quit [Quit: leaving]
vlad_sta_ has joined #ruby-lang
Makorak has quit [Read error: Connection reset by peer]
Makorak has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
relix has joined #ruby-lang
chickenf_ has joined #ruby-lang
mbj has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 248 seconds]
hhatch has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
charlespeach has joined #ruby-lang
charlespeach has quit [Client Quit]
datanoise has quit [Ping timeout: 244 seconds]
slyphon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
dalzony has quit [Quit: Leaving.]
dalzony has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
dagobah has joined #ruby-lang
retro|cz has quit [Ping timeout: 246 seconds]
thepumpkin has joined #ruby-lang
Coincidental has quit [Ping timeout: 272 seconds]
chickenf_ has quit [Quit: Computer has gone to sleep.]
x0f_ has quit [Ping timeout: 246 seconds]
dnewkerk-keyz has joined #ruby-lang
moneydouble has quit [Quit: Leaving.]
thepumpkin has quit [Ping timeout: 272 seconds]
dalzony has quit [Quit: Leaving.]
dalzony has joined #ruby-lang
x0f has joined #ruby-lang
dnewkerk-keyz has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
<freedrull>
is there a way to mix in a module into another module as module_functions?
bzalasky has quit [Remote host closed the connection]
<imperator2>
eh?
bzalasky has joined #ruby-lang
<yorickpeterse>
"mods are here, post {cheese pizza,sinks,etc}"
<yorickpeterse>
errrr
shireesh has joined #ruby-lang
<yorickpeterse>
wait
<yorickpeterse>
that was when they were gone
<yorickpeterse>
fak
<imperator2>
oic
bf4 has quit [Ping timeout: 272 seconds]
symm- has joined #ruby-lang
yalue has joined #ruby-lang
<cout>
hi dan
<maloik>
Anyone aware of any css "frameworks" that only add a bit of basic typography, margin and form styles ? As to create a fresh web app without any real design to it, but that doesnt look as shitty as without styles
bzalasky has quit [Ping timeout: 264 seconds]
<yorickpeterse>
960css?
<maloik>
I dont want grids :)
nigerianceo has joined #ruby-lang
<maloik>
like, most css frameworks that actually use the framework name are at a "complication level" of 10... no css at all is at 0... I want something at 1 or 2, if that makes sense
CaptainJet has joined #ruby-lang
<maloik>
no grids, no super advanced buttons and animations... just very basic typography, something to make forms slightly better, and some better margin
<maloik>
it probably doesnt exist to be honest, but you never know
thepumpkin has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
<yorickpeterse>
lol, bots trying to access /wp-login.php?action=register on some random Ruby app we run
<yorickpeterse>
and Google bot trying to confirm user registration
<yorickpeterse>
(it's *actually* google bot)
nathanstitt has joined #ruby-lang
kurko_ has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
kurko_ has joined #ruby-lang
lun__ has quit [Ping timeout: 252 seconds]
mistym has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
thepumpkin has quit [Ping timeout: 264 seconds]
jxpx777 has joined #ruby-lang
mistym has joined #ruby-lang
VTLob has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
solars has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
mbj has left #ruby-lang [#ruby-lang]
yfeldblum has quit [Remote host closed the connection]
benwoody has quit [Quit: benwoody]
datanoise has joined #ruby-lang
imperator3 has joined #ruby-lang
vsorlov_ has joined #ruby-lang
bzb has quit [Remote host closed the connection]
imperator2 has quit [Ping timeout: 245 seconds]
<ljarvis>
yorickpeterse: brit troll?
<yorickpeterse>
touche (too lazy to figure out how to get the thing on top of the e)
bzb has joined #ruby-lang
benwoody has joined #ruby-lang
<ljarvis>
è
<ljarvis>
ę
datanoise has quit [Ping timeout: 272 seconds]
<yorickpeterse>
no the other one
<ljarvis>
é
<yorickpeterse>
Yeah
<ljarvis>
ê
<ljarvis>
ë
thepumpkin has joined #ruby-lang
saarinen has joined #ruby-lang
marr has quit [Read error: Connection reset by peer]
mdedetrich has quit [Quit: Computer has gone to sleep.]
hhatch has joined #ruby-lang
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Ping timeout: 265 seconds]
benwoody has quit [Quit: benwoody]
imperator3 has left #ruby-lang [#ruby-lang]
imperator2 has joined #ruby-lang
<imperator2>
cout, howdy
<imperator2>
did you figure out your zsh issue?
tkuchiki has quit [Remote host closed the connection]
<cout>
I can't remember which zsh issues
<imperator2>
pwd vs Dir.pwd
<cout>
I think the answer is no but I worked around it
tkuchiki has joined #ruby-lang
saarinen has quit [Quit: saarinen]
<cout>
well the problem isn't zsh; it's ruby
<cout>
ruby is giving me the absolute path instead of the the shell's pwd
chanhinkwan has quit [Remote host closed the connection]
<cout>
er, cwd
wallerdev has quit [Quit: wallerdev]
<cout>
also git rev-parse --show-toplevel was giving me the wrong dir
<cout>
so I worked around it
<cout>
now I have a different problem: how do I know if a given object is a mutable or immutable (Fixnum, TrueClass, etc.)
arooni-mobile___ has joined #ruby-lang
<imperator2>
try to .dup it?
benwoody has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
datanoise has joined #ruby-lang
Technodrome has joined #ruby-lang
kleech has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
shireesh has quit [Quit: Leaving]
chanhinkwan has joined #ruby-lang
heftig has joined #ruby-lang
<csaunders>
has anyone here written up some multi-platform gems?
<csaunders>
I have a bug where the windows version of a gem doesn't install wdm, so people have the program crash on boot
<imperator2>
csaunders, sure; this your gem?
<csaunders>
yes
<imperator2>
which gem?
<csaunders>
shopify_theme
<imperator2>
and wdm is a gem, too?
<csaunders>
yeah
<csaunders>
it's one of the listen gem dependencies
hotpancakes has quit [Remote host closed the connection]
<imperator2>
well, i guess my first question is why wdm isn't in your gemspec
<cout>
imperator2: I was hoping for something better than rescuing TypeError
<imperator2>
cout, yeah, sorry
<imperator2>
can't think of a better way
<csaunders>
imperator2: don't know.
<imperator2>
csaunders, i don't see a separate gem for windows for shopify_theme
<imperator2>
looks like a single gem
<csaunders>
yes it is
benwoody has quit [Quit: benwoody]
<csaunders>
I'd prefer to keep it that way… or is that not possible?
<cout>
imperator2: I can test if it has a singleton class :)
<cout>
but that's also rescuing typerror
<imperator2>
csaunders, well, do they have different dependencies? or is one a binary?
<imperator2>
hang on...
<csaunders>
the theme works as is on Mac OS. Have yet to try it on Linux, but it probably just works there too. Windows is where it dies
<imperator2>
wdm looks like a C extension
<imperator2>
so it will fail unless the user has devkit installed
<imperator2>
is that what's happening?
<imperator2>
i mean, if you have wdm set in your gemspec as a dependency, then it's not your issue
jaimef has quit [Excess Flood]
<csaunders>
hmm…
nathanstitt has quit [Read error: Connection reset by peer]
<csaunders>
And that won't cause issues with say linux or mac though?
<imperator2>
what? making wdm a dependency?
<csaunders>
Yeah
<imperator2>
just to clarify, those platforms do NOT need wdm? is that a windows-only dependency?
<csaunders>
Windows only dependency.
<imperator2>
ok, now we're getting somewhere :)
<imperator2>
2 ways to handle it
<imperator2>
your pick
__butch__ has joined #ruby-lang
<imperator2>
first, create a separate gem, on for windows, one for everything else - means modifying your gemspec, and pushing 2 separate gems
<imperator2>
second, use the ext/mkrf hack
<csaunders>
ah alright.
<csaunders>
I saw some stuff about ext/mkrf
<csaunders>
wasn't sure if it's like… cool or not
<csaunders>
btw, sorry about my explanation earlier… I need to work on explaining myself better :)
<csaunders>
I was thinking of mkrf since it helps keep things in a single gem. Can just tell people to install one gem :)
<imperator2>
i can't find the link now, but there's a how-to online somewhere
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
sevvie has quit [Ping timeout: 245 seconds]
grhof has quit [Read error: Connection reset by peer]
JonahR has quit [Quit: jonahR]
grhof has joined #ruby-lang
sevvie has joined #ruby-lang
jiuweigui has joined #ruby-lang
lun__ has quit [Ping timeout: 272 seconds]
jaimef has quit [Excess Flood]
havenwood has joined #ruby-lang
cjs226 has joined #ruby-lang
fijimunkii has quit [Ping timeout: 272 seconds]
fijimunkii has joined #ruby-lang
jaimef has joined #ruby-lang
kek has joined #ruby-lang
madb055 has joined #ruby-lang
fijimunk1i has joined #ruby-lang
vlad_starkov has joined #ruby-lang
fijimunkii has quit [Ping timeout: 244 seconds]
vlad_sta_ has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
yalue has quit [Quit: Leaving]
Eg0N|2 has joined #ruby-lang
rickhull1 has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
simoz has joined #ruby-lang
Eg0N|2 has left #ruby-lang [#ruby-lang]
ohsix has quit [Ping timeout: 265 seconds]
benwoody has joined #ruby-lang
Hellcat has joined #ruby-lang
Hellcat is now known as Guest39759
mbj has quit [Ping timeout: 245 seconds]
benwoody has quit [Client Quit]
ohsix has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
sevvie has quit [Ping timeout: 245 seconds]
melter has quit [Quit: Client exiting]
Guest39759 has quit [Client Quit]
RickHull has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 248 seconds]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
grhof has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
sevvie has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
elia has joined #ruby-lang
melter has joined #ruby-lang
melter has quit [Client Quit]
mistym has quit [Remote host closed the connection]
melter has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
melter_ has joined #ruby-lang
melter_ has quit [Read error: Connection reset by peer]
melter_ has joined #ruby-lang
dingus_khan has joined #ruby-lang
tkuchiki has joined #ruby-lang
melter has quit [Client Quit]
melter_ is now known as melter
melter has quit [Read error: Connection reset by peer]
melter has joined #ruby-lang
grhof has joined #ruby-lang
fijimunk1i has quit [Ping timeout: 248 seconds]
melter has quit [Read error: Connection reset by peer]
melter has joined #ruby-lang
simoz has quit [Ping timeout: 264 seconds]
grhof has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
deception has quit [Quit: Goodbye]
mistym has joined #ruby-lang
MaddinXx has quit [Quit: Leaving...]
elia has joined #ruby-lang
nigerianceo has joined #ruby-lang
fijimunkii has joined #ruby-lang
sevvie has quit [Ping timeout: 240 seconds]
Thanatermesis has joined #ruby-lang
workmad3 has joined #ruby-lang
earthquake has quit [Quit: earthquake]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
yfeldblum has joined #ruby-lang
mdedetrich has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
vpretzel has joined #ruby-lang
saarinen has quit [Quit: saarinen]
grhof has joined #ruby-lang
grhof_ has joined #ruby-lang
micalexander has quit [Ping timeout: 272 seconds]
vpretzel has quit [Client Quit]
_if___ has quit [Quit: Lost terminal]
grhof has quit [Ping timeout: 245 seconds]
grhof_ has quit [Ping timeout: 245 seconds]
nisstyre has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
cjs226 has quit []
heftig has quit [Quit: Quitting]
grhof has joined #ruby-lang
grhof has quit [Read error: Connection reset by peer]
amerine has joined #ruby-lang
heftig has joined #ruby-lang
micalexander has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
zenspider has joined #ruby-lang
workmad3 has joined #ruby-lang
ikawnoclast has quit [Ping timeout: 264 seconds]
platzhirsch has joined #ruby-lang
havenwood has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<platzhirsch>
drbrain: Thanks so much for the book, it was a splendid read, for someone who is not new to Ruby or programming.
mbj has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
<lianj>
book?
<drbrain>
platzhirsch: you're welcome!
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
saarinen has joined #ruby-lang
<nofxx>
Which one is better/least surprise -> Have a class 'Point' (geo array [x,y]) , embedded in many classes, suppose 'Market'. When you @market.point = '' or nil: @market.point should return NilClass or PointClass [nil, nil] ?
ruby-lang194 has joined #ruby-lang
urthbound has joined #ruby-lang
<nofxx>
or rubyesque*
<zenspider>
empty string?
<zenspider>
ew
<zenspider>
Even Point[nil, nil] is pretty terrible as you can't use it as a NilPoint
<zenspider>
Point[0, 0] might make more sense
<nofxx>
zenspider: yea, it's terrible.. you'll need lot of checks everywhere
<apeiros>
nil as a NilPoint
<apeiros>
0,0 is a point
<nofxx>
zenspider: that's kinda wrong too, as 0,0 is a valid point (somewhere in middle pacific)
<nofxx>
atlantic*
urthbound has quit [Remote host closed the connection]
<apeiros>
assuming nilpoint is supposed to mean "absence of a point"
<zenspider>
depends on how you're gonna use them
<zenspider>
points.inject(&:+)
<apeiros>
what's the sum of nothing and 1?
mistym has quit [Quit: Leaving...]
<nofxx>
zenspider: another option is have a method + ? method.. @market.point?
<zenspider>
what's the sum of nil and 1 ?
<apeiros>
none, that's my point
<apeiros>
or NaN if you want
lfox has quit [Quit: ZZZzzz…]
<zenspider>
so having Point[0, 0] used as your nil point makes more sense in the context I showed above
<apeiros>
points.compact.sum # <- sum of actually existing points - now that makes sense
micalexander has quit [Remote host closed the connection]
<zenspider>
misses the point (no pun) of a nil object pattern
<nofxx>
point = "" is pretty common too if you think webapps
<apeiros>
the point is that nil and zero are not the same
micalexander has joined #ruby-lang
<nofxx>
(with form inputs)
<apeiros>
nofxx: that's only if you fail at input conversion
iliketurtles has joined #ruby-lang
iliketurtles has quit [Max SendQ exceeded]
<nofxx>
apeiros: ah, good point... make "" -> nil is good practice, right? I do it everywhere I can
<apeiros>
depends
<nofxx>
just hate have to thing && !thing.empty?
<apeiros>
I still whish nobus (I think?) .? had been accepted
<apeiros>
wish
<zenspider>
fucking ew
iliketurtles has joined #ruby-lang
<apeiros>
maybe with a nicer looking syntax (my own proposal was ->)
<zenspider>
adding syntax to reinforce a bad coding practice is a bad idea
<apeiros>
using nonsensical magical values is a better coding practice?
<apeiros>
sorry, but that's BS
ruby-lang194 has quit [Quit: Page closed]
micalexander has quit [Read error: Connection reset by peer]
micalexa_ has joined #ruby-lang
<apeiros>
your choice of NilPoint as 0,0 becomes problematic once you have a different operation than summing