meh` has quit [Ping timeout: 260 seconds]
diegoviola has joined #rubinius
<brixen> yorickpeterse: not finished yet, hopefully soon
sshao has quit [Quit: Connection closed for inactivity]
tenderlove has joined #rubinius
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #rubinius
tenderlove has quit [Ping timeout: 244 seconds]
|jemc| has joined #rubinius
whatasunnyday has joined #rubinius
brixen has quit [Excess Flood]
brixen has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.0]
whatasunnyday has quit [Quit: whatasunnyday]
diegoviola has joined #rubinius
diegoviola has quit [Remote host closed the connection]
diegoviola has joined #rubinius
diegoviola has quit [Quit: WeeChat 1.0]
diegoviola has joined #rubinius
|jemc| has quit [Quit: WeeChat 0.4.3]
|jemc| has joined #rubinius
|jemc| has quit [Client Quit]
|jemc| has joined #rubinius
diegoviola has quit [Remote host closed the connection]
diegoviola has joined #rubinius
halorgium has quit [Quit: gone]
chrisseaton has quit [Read error: Connection reset by peer]
johnmuhl has quit [Read error: Connection reset by peer]
machty has quit [Ping timeout: 260 seconds]
jeregrine has quit [Read error: Connection reset by peer]
mrb_bk has quit [Read error: Connection reset by peer]
nwjsmith_____ has quit [Read error: Connection reset by peer]
Guest85414______ has quit [Write error: Connection reset by peer]
guilleiguaran___ has quit [Write error: Connection reset by peer]
andrewstewart has quit [Write error: Connection reset by peer]
cpuguy83 has quit [Ping timeout: 260 seconds]
cezarsa has quit [Ping timeout: 260 seconds]
lopex has quit [Ping timeout: 260 seconds]
locks has quit [Ping timeout: 272 seconds]
mjc_ has quit [Ping timeout: 272 seconds]
leocassarani has quit [Ping timeout: 260 seconds]
alexsuraci has quit [Read error: Connection reset by peer]
lopex has joined #rubinius
mrb_bk has joined #rubinius
alexsuraci has joined #rubinius
nwjsmith______ has joined #rubinius
guilleiguaran___ has joined #rubinius
jeregrine has joined #rubinius
locks_ has joined #rubinius
machty has joined #rubinius
Guest85414______ has joined #rubinius
mjc_ has joined #rubinius
andrewstewart has joined #rubinius
cezarsa has joined #rubinius
diegoviola has quit [Remote host closed the connection]
leocassarani has joined #rubinius
cpuguy83 has joined #rubinius
chrisseaton has joined #rubinius
johnmuhl_ has joined #rubinius
|jemc| has quit [Ping timeout: 260 seconds]
Thijsc has joined #rubinius
diegoviola has joined #rubinius
lbianc has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
meh` has joined #rubinius
<Benny1992> not a real world example, just hello world
<Benny1992> yorickpeterse: okay thanks :)
Benny1992 has quit [Quit: leaving]
Benny1992 has joined #rubinius
meh` has quit [Ping timeout: 272 seconds]
<yopp> hum
<yopp> what should I return from "as_json" to avoid quouting?
<yopp> •quoting
<yopp> I'm trying to teach moped to produce logs in mongo shell compatible format, and seems like json hacks like "$oid":"xyz" are upseting shell parser
<yxhuvud> yopp: json *always* use "s. it is part of the standard.
<yopp> yxhuvud, yeah, I know, and I'm trying to break it ;)
<yopp> also, it's not true. Hash produces: {data} without quotation
<yxhuvud> also, as_json is a rails specific method, so you should probably ask in #rubyonrails or something similar.
elia has joined #rubinius
carlosga_ has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
carlosgaldino has quit [Ping timeout: 258 seconds]
elia has joined #rubinius
elia has quit [Client Quit]
havenwood has joined #rubinius
elia has joined #rubinius
elia has quit [Client Quit]
<yopp> yxhuvud, still, as_json supported by "json" gem
<yxhuvud> oh? never mind my comment then
<yxhuvud> always thought it was an active_model-ism
<yopp> anyways, seems like I need to break String#to_json somehow :(
<yopp> because in case of AS it will try to convert serializiable tree to primitives :(
elia has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
Thijsc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
meh` has joined #rubinius
<yopp> all hail to Module#preprend
<yopp> puts ({id: BSON::ObjectId.new}.to_json(shell: true))
<yopp> {"id":ObjectId(541d7a3c796f70324b000000)}
postmodern has quit [Quit: Leaving]
<yopp> [DEBUG] MOPED: 127.0.0.1:27017 fire_development: db.users.find({"next_event_at":{"$lte":ISODate("2014-09-20T14:04:19Z")}}) runtime: 1.2030ms
<yopp> dat niiice
johnmuhl_ is now known as johnmuhl
|jemc| has joined #rubinius
elia has joined #rubinius
havenwood has joined #rubinius
havenwood has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
havenwood has joined #rubinius
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubinius
havenwood has quit [Ping timeout: 264 seconds]
elia has joined #rubinius
meh` has quit [Ping timeout: 245 seconds]
elia has quit [Quit: Computer has gone to sleep.]
whatasunnyday has joined #rubinius
whatasunnyday has quit [Client Quit]
meh` has joined #rubinius
<yorickpeterse> yopp: when using Mongo, make sure you have health insurance
<yopp> yorickpeterse, just got one!
<yopp> but why?
<yxhuvud> yorickpeterse: does that protect against the inevitable brane damage you will get?
havenwood has joined #rubinius
<yorickpeterse> yxhuvud: Depends if it's covered
<yorickpeterse> might cost a lot
<yorickpeterse> yopp: if you care about your data, and you're using Mongo, you better have insurance for that :P
<yopp> yorickpeterse, why is that? :)
<yorickpeterse> Mongo is badly engineered in many ways
<yorickpeterse> e.g. database wide lock when removing data
<yorickpeterse> _database wide_
<yorickpeterse> not collection wide, _database wide_
<yorickpeterse> also bbl
<yopp> as far I remember they fixed that in 2.4
<Gibheer_> yorickpeterse: it is not only mongodb, any nosql database has some problem
Gibheer_ is now known as Gibheer
<yopp> also, we had terrabytes of data in mongo, without major issues
<yopp> also, show me other DB's with that level of HA tools
<yopp> like master voting
<yopp> or transparent sharding
<yopp> so, in many ways mongo is very nice tool. not without flaws.
<yopp> nope
* yopp added to reading list
havenwood has quit [Ping timeout: 264 seconds]
elia has joined #rubinius
saline has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
diegoviola has joined #rubinius
jeremyevans has quit [Quit: leaving]
jeremyevans has joined #rubinius
<cremes> lots of FUD lately about mongo. it was the fair-haired boy for a while and the backlash for that is always a bitch.
<Rotonen> at least the F of that is real if you take a look at the featuresets of postgresql has rushed out in 9.2, 9.3 and now 9.4
<Rotonen> IMO the managerial success was the idea of mongo as a DB which cuts development time by taking document logic to the database level and out of the hands of the developer and thus greatly cuts development time of a 'modern rich media web experience' :-)
<Rotonen> and that idea was sold well in conferences all about, 10gen is still a lavish sponsor of open source conferences
<yxhuvud> http://brewhouse.io/blog/2014/09/19/ruby-kaigi-2014-day-2 <- wait wat. is matz thinking about using llvm? Now *that* would be interesting.
<yxhuvud> cremes: I suppose it depends on what you need it for. We needed a distributed nosql were we can actually depend on getting the data back. Many people don't really need that though
<|jemc|> yxhuvud: interesting indeed; I wonder what that implementation would look like, if it would "borrow" from rbx, and how that would play out "politically"
postmodern has joined #rubinius
<yxhuvud> I wonder if we are seeing fallout from the rubiniusX announcement, but you are right, there would probably be political consequences as well - regardless of any borrows.
diegoviola has quit [Remote host closed the connection]
havenwood has joined #rubinius
havenwood has quit [Remote host closed the connection]
<Benny1992> and I wonder when I'm able to see rubinius X talk from windycityrails :D
GitHub123 has joined #rubinius
<GitHub123> rubinius/master 73ddfc2 Benny: Implemented Kernel#itself...
GitHub123 has left #rubinius [#rubinius]
<GitHub123> [rubinius] Benny1992 pushed 1 new commit to master: http://git.io/91cYNw
<|jemc|> Benny1992: FYI, there is already a pending PR in rubyspec for Kernel#itself
<|jemc|> not that it is very significant, of course
<Benny1992> ops sry :)
<Benny1992> better opening pr for such little things too
<Benny1992> should remember this
<|jemc|> also, did you run the spec you wrote?
<Benny1992> @jemc: should I undo my commit?
<|jemc|> by my account it looks like it should be erroring
<Benny1992> I recognized it
<Benny1992> too late here for me :/
<Benny1992> yep
<Benny1992> saw it
<yorickpeterse> yopp: re tooling, RDBMS tooling far exceeds Mongo's
<yorickpeterse> yopp: and write locks are still per database
<yorickpeterse> 2.4 only changed them from mongod instance -> single database
<yorickpeterse> or 2.2, one of the two
j_mcnally has joined #rubinius
<|jemc|> Benny1992: also, to go into rubyspec it will need a guard to check that ruby_version_is "2.2"
<j_mcnally> hey guys, quick heads up, and i dont know who's issue it is, but using rbx with better errors and rbx, the in browser REPL doesn't show up
<j_mcnally> maybe im missing a gem
<yorickpeterse> yopp: I also wouldn't call sharding "transparent" in Mongo, it's no easier than in other systems
<Benny1992> jemc: true..
<yorickpeterse> j_mcnally: checked for any javascript errors in your browser's console?
<yopp> yorickpeterse, alternative?
<j_mcnally> i switched back to MRI for now
<j_mcnally> ill check
<yorickpeterse> yopp: alternative to?
<yopp> mongo ;)
<yorickpeterse> depends on your needs
<yorickpeterse> 9 out of 10 people out there don't need a nosql DB
<yorickpeterse> There's the good old saying "Just use PostgreSQL"
<Benny1992> jemc: copied you're rubyspec itself spec, should i commit this or open a pr?^^
<yopp> yorickpeterse, and if i need schemaless storage?
<yorickpeterse> yopp: do you need a schemaless storage?
<yopp> yep
<yorickpeterse> are you literally collecting random data and smacking that all in the same database, unorganized?
<yorickpeterse> If so, depends on your needs
<yorickpeterse> need crazy ring networks and what not? Perhaps look into Cassandra
<yorickpeterse> Don't care about performance? Use CouchDB *runs*
<yopp> :D
<yorickpeterse> I don't know of a good "one size fits all" alternative to Mongo, I've not seen anything come across that was decent
GitHub58 has joined #rubinius
GitHub58 has left #rubinius [#rubinius]
<GitHub58> rubinius/master 043cd9d Benny: Fix kernel itself_spec
<GitHub58> [rubinius] Benny1992 pushed 1 new commit to master: http://git.io/51hAGg
<|jemc|> Benny1992: heh, *shrug* - it's you're call - I don't even have commit bit :P
<yorickpeterse> |jemc|: * your
* yorickpeterse runs
<|jemc|> hehe
<yorickpeterse> |jemc|: wait you don't?
meh` has quit [Ping timeout: 260 seconds]
<Benny1992> sry for any inconvience :$
<yorickpeterse> Benny1992: don't sweat it
<Benny1992> I'll do a pr next time :)
<|jemc|> yorickpeterse: if I do then it's news to me :P
<yorickpeterse> |jemc|: Hm, can't add you, poke brixen about that if you want commit bit
<yorickpeterse> you look trustworthy enough
<|jemc|> yorickpeterse: why, that warms the cockles of my heart
<|jemc|> I'd say I'd bug brixen about it when he's not buried in a million more import tasks, but that might be a while
<yorickpeterse> |jemc|: you'd have to wait ~10 years
<Benny1992> off-topic. what do u guys think about https://github.com/voltrb/volt
<|jemc|> err.. *more important
<|jemc|> today is full of typos that are correctly spelled wrong words apparently...
<Benny1992> jemc: just typos in a chat not in a pushed spec file :P
<|jemc|> haha
<|jemc|> but it is logged though
<Benny1992> nsa everywhere :o
<|jemc|> no, _whitelogger is KGB :P
<Benny1992> hehe ok :P
<Benny1992> 01:30 here so gn8 ppl :)
<yorickpeterse> I'm also logging everything
<|jemc|> well, I would recommend against that; we need to keep _some_ trees around for the oxygen they produces
<j_mcnally> hows Postgres HSTORE for schemaless data?
<yorickpeterse> j_mcnally: never tried it, but I've seen some presentations float around stating it was actually better in some cases than mongo
<yorickpeterse> but don't quote me on that, I never managed to dig up the actual presentation since :/
<yorickpeterse> https://www.youtube.com/watch?v=Bse0sYR7oVY#t=4139 heh, I like how Facebook's idea directly contradict's brixen's
<yorickpeterse> "Javascript is difficult on larger code bases, thus we added static types"
* yorickpeterse shakes cane
travis-ci has joined #rubinius
<travis-ci> [travis-ci] rubinius/rubinius/master (043cd9d - Benny): The build has errored.
travis-ci has left #rubinius [#rubinius]
<cremes> yxhuvud: more mongo FUD. you act as though any writes to the DB are lost forever. I used it for years (from 1.8 or so) with terabytes of data and it never failed me. it wasn’t perfect but it wasn’t as frail as everyone says.