<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]
<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>
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
<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.