HNHacker News
TopNewBestAskShowJobs

alexpopescu

434 karma · joined April 6, 2009

submissionscomments
alexpopescu··on Try RethinkDB in your browser
Awesome feedback!

Let me try to address some of these questions here, before figuring out how to improve the tutorial.

`r`: is the top level ReQL namespace that gives you access to the functions defined

r.db('name'): is accessing the 'test' database. RethinkDB supports multiple databases. You can specify which one to use on a per connection basis or for each query.

The 'test' database is a default database (in principle it's similar to MySQL's test database). Being the default also means that you don't need to use `.db('test')` in each query.

`run`: ReQL allows chaining multiple functions together. Basically creating a query is a bit like using a builder pattern. These chained ops are all sent to the server and executed on the database. There is a single roundtrip. Basically `run` tells the query builder: "now it's your time to do something for me".

As side comments

1. initially we added much more details about each query, but we ended up with quite a bit of text compared to short queries. We thought it would be more intuitive the reduce the description part and provide links to the API. It looks like that wasn't the best solution.

2. we chose to have the query pre-typed instead of having it part of the description only as we assumed mostly everyone would just copy paste it. Assumption proved incorrect!

Thanks a lot!

alex @ rethinkdb

alexpopescu··on Our take on RethinkDB vs. MongoDB
personal != marketing

P(biased|personal) -> 1

alexpopescu··on Our take on RethinkDB vs. MongoDB
> However, does anyone have any practical real-world experience using it? It's not production ready (from what I gather), but has anybody actually used it for real world stuff?

There are people that told us they are experimenting with it for real apps, they've sent extensive feedback (most of these can be seen on GitHub), and some have started to build libraries for RethinkDB. As with anything young and open source, it's difficult though to tell with certainty how many projects are using a tool and what stage are they.

> it might be handy to have some example SQL-to-RethinkDB queries, just to help us newbies figure out the ropes.

Working on it already.

alex @ rethinkdb

alexpopescu··on Show HN: Analytics.js for Node
I'm not sure I get it... analytics for server side?
alexpopescu··on Tools for Data Visualization
Why not adding a comment to make that clear?
alexpopescu··on ThoughtWorks Mourns Colleague Aaron Swartz, Responds to MIT’s Statement
I would have actually appreciated more your comment above, then that cold press release.
alexpopescu··on [dead]
If his business tips and ideas are similar to the 5 things mentioned in the post, I'm really not sure what companies he's consulting for.
alexpopescu··on Cognitive biases
I'd recommend the first 200+/- pages. Afterwards it just keeps repeating.
alexpopescu··on Your Minimum Viable Product is Processing Credit Cards
Ask HN:

1. how many of you have actually bought a promised product with a clear deadline?

2. how many of you have actually bought a promised product with no deadline?

In my case the answer is 0 for both.

alexpopescu··on The future according to Google's Larry Page
I'm half way through the article... and I still haven't figured out what the future looks like. Anyone could summarize it here?
alexpopescu··on Pen and Paper
That has been my combo for a long time. I've switched though to the uniball sign 0.38mm and zebra sarasa 0.4mm which I seem to enjoy more (non scratchy, nice ink flow)
alexpopescu··on Pen and Paper
I use the following pens (all of them are 0.38mm/0.4mm/0.5mm):

- Zebra Sarasa (0.4mm)

- uniball signo 0.38mm

- Pilot Hi-Tec-C

- Pilot G2 Pro (0.5mm)

alexpopescu··on The future according to Google's Larry Page
The clean link: http://tech.fortune.cnn.com/2013/01/03/google-larry-page/
alexpopescu··on Python: The Dictionary Playbook
Interestingly after reading the post I've realized that while I've been using the more advanced stuff, I was missing the first 2 basic ones.
alexpopescu··on All of my side-projects from 2012
Where did you get the data for Asterank? The visualization part looks pretty neat.
alexpopescu··on My books of 2012
I'm wondering if we could get a quick script to count how many pages are in the 75 books listed so we can understand how much did he actually read :-D.
alexpopescu··on Spacewar Video Games Blast Off: Exhibition at Museum of the Moving Image in NY
Some pictures taken by The Verge: http://www.theverge.com/2012/12/20/3788608/spacewar-history-...
alexpopescu··on AWS Data Pipeline
ETL-as-a-Service
alexpopescu··on Show HN: Servus for Mac and Dropbox
Looks nice. I'd probably mention somewhere in the page that this is a Dropbox-based alternative solution to Droplr or CloudApp
alexpopescu··on New Amazon EC2 High Storage Instances
> No one actually uses disks in such a fashion

Not sure what you mean... there are quite a few data storage & processing tools out there that use a log-structured on-disk storage that were designed to read/write sequentially. These could potentially take full advantage of these instances.

Many other solution requiring random IO is indeed a fact, but I still think there are systems that could benefit.

alexpopescu··on RethinkDB 1.3 is out, now available on OS X
> Can you demonstrate in these other cases that Oracle, for example, was first used by people who thought it was "cool" and insisted on it being free, and worked their way up to "people should pay $150k a year on this"?

No, I cannot do that :-). What I think you are noticing is a change in the business and adoption models. While not being an economist, my hypothesis is that open source was one of the main causes of these changes.

Going back to your question, the closest things that come to mind in the data space that could give us some more info are:

1. Neo4j and InfiniteGraph (graph databases) 2. Cloudera and MapR (Hadoopy)

As far as I know (unfortunately without any real data though) is that both Neo4j and Cloudera are doing quite well financially. On the other hand that's not to say that the model chosen by InfiniteGraph and MapR isn't working.

alexpopescu··on RethinkDB 1.3 is out, now available on OS X
> I haven't heard RDBMS systems have to justify "look, this company used us at scale and we worked fine" in years.

The main reason you've not heard this recently is because RDBMS have been around for 30+years. If we could go back to those times we'd probably see exactly the same things. The Oracle Wikipedia page actually lists the first customer of their solution [1]

Also if you take a look at the analytic databases (which are built on top of the relational model, but more recent), you'd notice exactly the same behavior.

IMO this has nothing to do with the maturity or approach of the products, but rather with the adoption cycle [2].

alex @ rethinkdb

[1] http://en.wikipedia.org/wiki/Oracle_Corporation

[2] http://en.wikipedia.org/wiki/Technology_adoption_lifecycle

alexpopescu··on RethinkDB 1.3 is out, now available on OS X
This is an as wide discussion as static vs dynamic typing in programming languages. Both approaches come with their pros and cons and their impact varies from project to project. (re-reading this part feels pretty plain unfortunately)

It's also interesting to mention that there are multiple sub-topics related:

1. schema vs no-schema

2. type checking

3. referential integrity

4. data integrity

Now in reverse order:

4. every database should guarantee data integrity (i.e. you get back what you put in).

3. referential integrity is an interesting and challenging problem in the space of distributed systems that has impact on the trade-offs that the system has to make

2. type checking: while I'm not aware of any non-relational database supporting this, it is a feature that could be added at some point by basically tagging specific fields/attributes with typing information. For the time being I think people that use non-relational databases and requiring type checking are implementing it in the database access layer. But there's no good reason why it couldn't or shouldn't be supported by the database itself.

1. schema vs no-schema: IMO these two represent the two ends of a spectrum where what I think would actually make sense is support for optional schema definitions--in a way this could be similar to the way Protocol Buffers/Thrift/Avro define their protocol.

alex @ rethinkdb

alexpopescu··on Show HN: Did The [NBA team] Win Last Night?
Could you make just a small change to the app to show who will win tonight?
alexpopescu··on Learn Keyboard Shortcuts Like a Ninja
This is a joke... I'm not sure why but every time I'm seeing the word ninja/guru in a title I'm 99% convinced that what I'll be reading is the most basic stuff.

PS: (not connect with the product) for Mac: http://www.cheatsheetapp.com/CheatSheet/

alexpopescu··on Two Billion Pixel Photo of Mount Everest (can you find the climbers?)
Is this a climber or just a shadow? http://cl.ly/image/3m3K3x0n3k1U
alexpopescu··on Everything Is Marketing: How Growth Hackers Redefine The Game
My understanding--which might be completely wrong--is that growth hackers are people coming up with "new" non-classical marketing approaches. Oftentimes these experiments seem to be based on real data analysis.
alexpopescu··on Wunderlist 2 is out
I used Wunderlist in its initial incarnation and loved the automatic sync across all my devices. But I moved away because there were a couple of features I needed it didn't support. Unfortunately I cannot remember which were these and it's difficult to say what new features are in W2, so I'll probably need to give it a try.

Meanwhile I've been using a combination of OmniFocus for long term task tracking and TaskPaper for daily tasks only. After using OF for quite a while now, it still feels like it doesn't really fit. Actually, OF makes me feel I'm misusing it, giving me an unpleasant feeling every time I have to open it.

alexpopescu··on A vim interface for gmail: Vmail
Is there a generalization of Zawinski's Law postulating that "Every program should expand until it can read itself"?
alexpopescu··on A vim interface for gmail: Vmail
iawesome!thanks danielESC:wq
← PreviousPage 3 of 6Next →