Forgetful_Lion has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 245 seconds]
ssb123 has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
solars has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
Forgetful_Lion has quit [Read error: Operation timed out]
hogeo has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
Bosox20051 has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
jiuweigui has joined #ruby-lang
mistym has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
metus_violarium has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
Forgetful_Lion has joined #ruby-lang
ledestin has joined #ruby-lang
mistym has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
schaerli has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
Tearan has quit [Quit: Sleepy Badger....]
<ljarvis>
it is?
vlad_starkov has joined #ruby-lang
<apeiros>
is it?
vlad_starkov has quit [Ping timeout: 256 seconds]
<apeiros>
oh, def returning symbol being a discussion…
ssb123 has joined #ruby-lang
<apeiros>
got a hard time to believe that. I can understand that headius' proposal of `class X; end` returning X instead of last expression is controversial. but def?
julweber has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
<Mon_Ouie>
The other proposition that would make sense would be to return the method object I guess
hhatch has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
<apeiros>
bleh
<apeiros>
it's easy enough to get the method object from the symbol
<ryanf>
I think that would be confusing though because like
<ryanf>
there isn't a "the method object"
<apeiros>
agreed
<ryanf>
and returning one from def would make it seem like there was
<Mon_Ouie>
True
<apeiros>
also the symbol exists, the method object has to be created
<ryanf>
there's just a message, and a symbol is the standard representation of a message
kgrz has joined #ruby-lang
<ryanf>
anyway obviously they should have preserved compatibility by returning a Rubinius::CompiledCode
<apeiros>
hah!
dsferreira has joined #ruby-lang
* apeiros
still waits for Proc#source, Method#source and Class#sources
<apeiros>
err, Module#sources
<ryanf>
yeah, Proc#source would be nice
<apeiros>
and yes, sources, plural.
<ryanf>
at least there's source_location, but that is really the wrong piece of information
<apeiros>
should return {location => source}
kgrz has quit [Read error: No route to host]
kgrz has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
<apeiros>
also waiting for Method#doc_comment and Module#doc_comment
<apeiros>
I'm perfectly fine if ruby returns nil on those by default and only preserves it with e.g. ruby --with-doc-comments
Bosox20051 has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 245 seconds]
kgrz has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
<erikh>
apeiros: are you still a mac user?
<apeiros>
sure
<erikh>
using homebrew?
<erikh>
(I'm asking because I need a tester)
<apeiros>
sadly yes
<apeiros>
what can I test for you?
<erikh>
let me push the branch, but in the meantime: brew install libarchive
<apeiros>
oooh
<apeiros>
anxious
<erikh>
hehe
mistym has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
<ryanf>
apeiros: you can get doc comments (on methods) reliably with method_source
<erikh>
can you pull down master, bundle, and bundle exec rake test?
<erikh>
it will take a while to run
<erikh>
*After* you install libarchive from homebrew
<erikh>
that's what the patches cover.
<ryanf>
pry can usually get module doc comments but it involves more guessing
<apeiros>
==> Caveats
<apeiros>
This formula is keg-only: so it was not symlinked into /usr/local.
<apeiros>
that ok for your archive lib?
<erikh>
yep -- that's what hte fixes are for
<erikh>
I'm on mavericks; I want to make sure it works for others.
arBmind has joined #ruby-lang
<erikh>
it now checks to see if the homebrew lib exists, and uses that if it can find it
kgrz has quit [Ping timeout: 240 seconds]
<erikh>
insetad of the OS X distributed libarchive
<apeiros>
I'm on 10.8
<erikh>
perfect.
<apeiros>
can I ask you for comments on https://gist.github.com/apeiros/6724882 ? it's supposed to be a csv replacement. you can have multiple tables in a single file.
<apeiros>
it parses most of ruby literals + date + datetime
<erikh>
raggi wanted to do something like this
<apeiros>
I'm currently working on making quotes optional
<apeiros>
(for strings)
<apeiros>
all metadata is optional. the values you see there are the defaults
symm- has quit [Ping timeout: 240 seconds]
<erikh>
got a work alert, one sec
<erikh>
looks good though
<erikh>
nice and easy to read
<apeiros>
what ruby version do you want me to run it with?
<apeiros>
I'd say it's a full success, congrats :)
<erikh>
thank you very much!
<apeiros>
yw
<apeiros>
if you have ideas/input for my .ept format, tell me :)
<erikh>
gimme a few and i'll review it again
<apeiros>
I'll release a pre-release today and ask in the ML and on ruby-flow. if I can finalize a meaningful version of .ept, I'll try my luck and implement a libept
<apeiros>
(C)
wallerdev has quit [Quit: wallerdev]
<erikh>
sure
<apeiros>
who knows, maybe .csv can be superseded :D
<apeiros>
now more encoding and separator guessing
<apeiros>
also looking forward to multiple tables in a file :D
<apeiros>
oh, also what do you think of `123.50$` as a literal for Currency (the $ doesn't imply the currency is US dollars, it's just there to indicate that it's not a float but a currency - i.e. BigDecimal in ruby)
kgrz has joined #ruby-lang
julweber has quit [Remote host closed the connection]
* apeiros
should write a proper RFC
Bosox20051 has quit [Quit: Leaving]
ssb123 has joined #ruby-lang
<erikh>
ok, I am off to bed
<erikh>
apeiros: can you remind me in the AM to look at it deeper
<erikh>
I need to pass out.
<apeiros>
when is AM for you? :)
<apeiros>
as in: in how many hours?
ssb123 has quit [Ping timeout: 245 seconds]
<apeiros>
I'll poke in ~8-9h
metus_violarium has quit [Quit: Konversation terminated!]
toretore has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
schaerli has joined #ruby-lang
postmodern has quit [Quit: Leaving]
schaerli has quit [Remote host closed the connection]
Voker57 has quit []
stamina has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
metus_violarium has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
ssb123 has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
wm3|zZz is now known as wm3|away
jsullivandigs has quit [Remote host closed the connection]
Bosox20051 has joined #ruby-lang
fenicks has joined #ruby-lang
sleepy_keita has quit [Quit: sleepy_keita]
sleepy_keita has joined #ruby-lang
metus_violarium has quit [Quit: Konversation terminated!]
benanne has joined #ruby-lang
fenicks has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
rue has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
arBmind has quit [Ping timeout: 248 seconds]
rue has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pabs has quit [Ping timeout: 248 seconds]
flgr has joined #ruby-lang
Cakey has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ssb123 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
ssb123 has quit [Ping timeout: 245 seconds]
jithu has quit [Quit: Mother, did it need to be so high?]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Read error: Connection reset by peer]
Johz has joined #ruby-lang
sleepy_keita has quit [Quit: sleepy_keita]
vlad_starkov has joined #ruby-lang
jxie has quit [Quit: leaving]
bastilian has joined #ruby-lang
kitak has joined #ruby-lang
ssb123 has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby-lang
jbsan has joined #ruby-lang
schaerli has joined #ruby-lang
csaunders has joined #ruby-lang
banisterfiend has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
kith has joined #ruby-lang
ssb123 has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
banister has quit [Quit: Computer has gone to sleep.]
kgrz has quit [Ping timeout: 240 seconds]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jiuweigui has quit [Quit: iQuit!]
kitak has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 248 seconds]
wm3|away is now known as workmad3
banisterfiend has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 245 seconds]
riffraff has joined #ruby-lang
riffraff has quit [Client Quit]
Domon_ has quit [Ping timeout: 245 seconds]
Domon_ has joined #ruby-lang
schaerli_ has joined #ruby-lang
banisterfiend has quit [Ping timeout: 245 seconds]
schaerli has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby-lang
mdst3 has joined #ruby-lang
julweber has joined #ruby-lang
mdst has quit [Read error: Connection reset by peer]
julweber has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
ssb123 has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
hashkey_ has joined #ruby-lang
hashkey_ is now known as Guest47547
csaunders has quit [Ping timeout: 256 seconds]
hashkey has quit [Ping timeout: 240 seconds]
imperator has joined #ruby-lang
<imperator>
good morning
VTLob has joined #ruby-lang
machuga|away is now known as machuga
jonathanmarvens has joined #ruby-lang
schaerli_ has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
relix has joined #ruby-lang
nathanstitt has joined #ruby-lang
kitak has joined #ruby-lang
<apeiros>
imperator: good evening :)
csaunders has joined #ruby-lang
<ljarvis>
good afternoon
kitak has quit [Ping timeout: 246 seconds]
<apeiros>
ljarvis: I always have to think for a bit to remember who you are :(
<imperator>
and who is he?
<imperator>
alright, why is there no /usr/include/sys directory on my ubuntu vm?
<ljarvis>
apeiros: :D
<apeiros>
imperator: he's inkjet
<apeiros>
probably renicked himself due to the many confusions with injekt
<apeiros>
hussa! EPT mark II works
csaunders has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
EPT >> CSV. CSV on steroids. With datatypes, explicit separator declaration, encoding declaration and multiple table in a single file.
bzalasky has quit [Remote host closed the connection]
<ljarvis>
orly
<imperator>
time to replace fastercsv ;)
jonathanmarvens has quit [Remote host closed the connection]
<apeiros>
RFC draft and github repo to follow. here an example .ept file:https://gist.github.com/apeiros/6742817
jonathanmarvens has joined #ruby-lang
<apeiros>
I think I'll be able to release the gem tomorrow.
<ljarvis>
can it have comments in it?
<apeiros>
hm
<apeiros>
hmmmm
<apeiros>
good idea
<ljarvis>
:)
<apeiros>
I'd probably have to change the sigil for metadata, though
<imperator>
comments? that's crazy talk
<apeiros>
ljarvis: feel free to make a suggestion as to how to change the syntax to allow comments.
mbj has quit [Quit: leaving]
<apeiros>
I'd say no inline comments. only separate lines of comments. e.g. /^[ \t]*\#.*$/
<apeiros>
and change the metadata sigil to % then
Cakey has quit [Ping timeout: 240 seconds]
workmad3 is now known as wm3|away
bzalasky has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 245 seconds]
<ljarvis>
hm
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
kek has quit [Remote host closed the connection]
<andrewvos>
Already asked this in #ubuntu, but may be worth a try here. Is there a sane way to switch colour schemes in gnome-terminal that anyone knows about?
Cakey has joined #ruby-lang
jsullivandigs has joined #ruby-lang
benanne has quit [Quit: kbai]
<andrewvos>
Not sure I'll go back to #ubuntu
<andrewvos>
Not a fun plae
<andrewvos>
place
bzalasky has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
wallerdev has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
<apeiros>
ljarvis: a penny for your thoughts… :)
<imperator>
andrewvos, os channels rarely are
<ljarvis>
apeiros: just wondering about sigils but I dont think there's an easy way to solve it, I like the current way but again, comments being familiar with the hash symbol make it impossible to use it for anything but if you're supporting comments, I do however think mixing them could look bad very quickly
<apeiros>
you mean mix % and # would look bad?
<apeiros>
or you mean using # for both, comments and meta-data?
<ljarvis>
I think it could yes
<ljarvis>
the former
<apeiros>
mhm
<apeiros>
I could use # for both and meta-data is just "magic comments". but I don't like that.
<ljarvis>
yeah me either
sevvie has joined #ruby-lang
<apeiros>
do you think another sigil instead of % would look less bad? or do you have another suggestion?
jiuweigui has joined #ruby-lang
<ljarvis>
No I thought about that and couldn't come up with anything better
<apeiros>
% and # it is then. maybe somebody on the ML or on ruby-flow has a better idea.
<ljarvis>
yup
arooni-mobile has joined #ruby-lang
julweber has joined #ruby-lang
Guest47547 has quit [Read error: Connection reset by peer]
bzalasky has quit [Read error: Connection reset by peer]
<apeiros>
comment-support is in :)
<ljarvis>
apeiros: let me know when you push up the repo
Guest47547 has joined #ruby-lang
<apeiros>
will do. might have to go shopping first.
<apeiros>
hm
<apeiros>
actually…
<apeiros>
I can push an unfinished repo just fine :)
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
Valesk has quit [Read error: Connection reset by peer]
nathanstitt has quit [Quit: I growing sleepy]
fragamus has quit [Quit: Computer has gone to sleep.]
Naeblis_ has joined #ruby-lang
Naeblis_ has quit [Client Quit]
kgrz has joined #ruby-lang
brianpWins has joined #ruby-lang
nofxx has joined #ruby-lang
kgrz has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby-lang
kek has joined #ruby-lang
kek has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
brianpWins has quit [Quit: brianpWins]
kurko_ has joined #ruby-lang
momomomomo has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
kek has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
kgrz has joined #ruby-lang
kek has quit [Remote host closed the connection]
kek_ has joined #ruby-lang
kgrz has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
kek_ has quit [Remote host closed the connection]
kek has joined #ruby-lang
<andrewvos>
What is OSTYPE on osx?
<andrewvos>
$OSTYPE
imperator2 has joined #ruby-lang
imperator2 has quit [Read error: Connection reset by peer]
kek has quit [Ping timeout: 240 seconds]
<apeiros>
$ echo $OSTYPE
<apeiros>
darwin12
<apeiros>
so probably /\Adarwin\d+\z/
<erikh>
use RbConfig["ostype"]
<erikh>
it uses the build info
<erikh>
I think ostype is it, at least
<erikh>
RbConfig::CONFIG
<andrewvos>
I was just gonna use bash actually
<andrewvos>
Well, actually I don't have a choice this is inside .zshrc
<erikh>
apeiros: code looks good
<erikh>
straight cold awesome ruby as usual
<erikh>
andrewvos: ahhh
<apeiros>
erikh: thanks, glad to hear
<apeiros>
though I'm more looking for input on the ept format itself :)
<apeiros>
things missing, things to improve
<erikh>
I don't really have an opinion on that, sorry
<erikh>
I guess I'd have to find a good use-case before I dove in
brianpWins has quit [Quit: brianpWins]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
erikh: anything you'd use csv
<erikh>
I don't use it that often...
lfox has joined #ruby-lang
<apeiros>
lucky you :)
yfeldblum has quit [Ping timeout: 240 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
kurko_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
<andrewvos>
Hey what's `uname` in OSX?
<andrewvos>
Sorry last question
<momomomomo>
andrewvos: Information about your operating system
<momomomomo>
`man uname` in your terminal
<andrewvos>
I mean what's the output
<andrewvos>
haha
vlad_starkov has joined #ruby-lang
<banisterfiend>
lol
<apeiros>
andrewvos: Darwin
<andrewvos>
apeiros: Thanks dude
<andrewvos>
momomomomo: Thanks you too :)
<momomomomo>
;p
<apeiros>
andrewvos: you can return the favor and tell me where you see improvement possibilities in the .ept format :) link: https://github.com/apeiros/ept
MaddinXx_ has quit [Remote host closed the connection]
nneko001__ has quit [Quit: Konversation terminated!]
nneko001__ has joined #ruby-lang
pellenation has joined #ruby-lang
nneko001__ has quit [Client Quit]
<momomomomo>
apeiros: Looks neat - just sent you a baby PR for the license
tubbo has quit [Ping timeout: 248 seconds]
pellenation has quit [Client Quit]
<apeiros>
momomomomo: does that work with yard + markdown?
<andrewvos>
apeiros: I see you allow a record seperator :/
<andrewvos>
apeiros: Having the config right in the file like that is pretty cool
<apeiros>
andrewvos: since it's part of the spec to being able to set it, it also means that any parser should be able to deal with it. so it *should* not cause issues.
<momomomomo>
apeiros: Nope :/ good catch
<andrewvos>
apeiros: Tempted to write it in go
<apeiros>
momomomomo: too bad :-(
<apeiros>
andrewvos: go ahead, I want to write one in C :)
<apeiros>
but first I reimplement the streamparser (already had it working, but changed specs). when I have that, I model the C parser after that.
<andrewvos>
apeiros: What does Types mean?
nofxx has quit [Ping timeout: 240 seconds]
<apeiros>
you could annotate the columns
<apeiros>
since the format only defines a couple of types
<andrewvos>
Not sure I like or understand that
<apeiros>
it's optional and by default off
<apeiros>
example: you have a column with geo-reference, you use a string to represent it in ept, but you annotate it in the types row
<apeiros>
or you have a uuid column
<andrewvos>
Ok
<andrewvos>
Fair enough I guess
<apeiros>
the ept lib will do nothing with the information. but you can use it to transform values automatically.
symm- has joined #ruby-lang
<apeiros>
hm, uuid might be something I could add to the base types
kek has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
<andrewvos>
How does column seperator "none" work?