HNHacker News
TopNewBestAskShowJobs

thomas4019

55 karma · joined May 26, 2014

Software Engineer at Sublime https://github.com/thomas4019 th4019@gmail.com
submissionscomments
thomas4019··on Choosing a back end database: SQL vs. Document vs. Columnar
Nice! This is a much simpler decision tree. Google uses column-oriented as their primary database, but you're probably right that unless at massive scale, it only makes sense as a secondary data store (e.g. data warehouse)
thomas4019··on Show HN: Mongita is to MongoDB as SQLite is to SQL
Thanks! I didn't realize I put the link. Here it is, http://github.com/thomas4019/pgmongo. I'd love to hear your thoughts on it and am happy to answer any questions.
thomas4019··on Show HN: Mongita is to MongoDB as SQLite is to SQL
I created something like this for PostgreSQL. It's a Node.js service that implements the MongoDB wire protocol and converts the query to use jsonb. It works pretty well, but it also got increasingly hard to make it compatible because MongoDB has a lot of quirks.
thomas4019··on Show HN: pgmongo - Drop-in replacement for MongoDB using Postgres
Author here. I like the Mongo query interface so I originally wrote some of the conversion code for my API framework called expressa. Then I created this project largely to see if it were possible. I'm not really sure how this will be useful. Migrating data should be relatively easy with Mongo's db.copyDatabase() since it thinks it's just copying from one Mongo to another.
thomas4019··on Show HN: Expressa – build REST apis without code
Thanks for bringing this up. Currently there's no migration process. Like Mongo, Expressa only ensures validity of new data, but doesn't change old data so it's up to the application to handle that.

This is definitely something I would like to eventually support though so that renaming fields and other data changes are easy.

thomas4019··on Show HN: Expressa – build REST apis without code
One of the main features is that it provides an admin interface which lets you modify your data as well as your collection schema. I got tired of Django, keystone and other CMS that require defining schema in code and have found this to be a good solution for my projects.
thomas4019··on Show HN: Splinch – the telepresence robot rental service
Do you guys deliver the robot to the event?
thomas4019··on Show HN: Animated list of common problems in curve fitting
What does the striped blue line represent?
thomas4019··on Show HN: Accordion Chrome Extension – no more tl;dr
Cool idea but it's sad that it only works on tagged content
thomas4019··on Show HN: Convert Mongo queries to PostgreSQL jsonb queries
Correct link: https://github.com/thomas4019/mongo-query-to-postgres-jsonb
thomas4019··on Save Netflix
I'm wondering the exact same thing.
thomas4019··on Save Netflix
My guess is there's some provision in the "Family Entertainment and Copyright Act" that they think makes this streaming legal. The text clearly makes the displaying an edited version legal and does talk about transmitted works. https://www.law.cornell.edu/uscode/text/17/110.

The key point is in (11). the following are not infringements of copyright: "the making imperceptible, by or at the direction of a member of a private household, of limited portions of audio or video content of a motion picture, during a performance in or transmitted to that household for private home viewing, from an authorized copy of the motion picture"

thomas4019··on CGI Using Node.js
Anyone have any ideas on the performance impact of this vs a typical NodeJS installation? I imagine there's a lot more overhead from starting up the process each time. A pretty cool idea but seems like this loses the benefits of NodeJS, speed and scalability.
thomas4019··on PDFy – Instant PDF Host
Dropbox and Google docs rarely if even show up in Google search results.

Will PDFy submit lists of content to search engines or be easily crawlable?

thomas4019··on SocialCoin: A Cryptocurrency for a Global Basic Income
You're right about the problem, your solution is off.

> It doesn’t matter if retailers don’t accept the coin, users can just exchange the coins for bitcoins or local fiat currency for immediate real world use.

No entity would give fiat currency for these SocialCoins unless they had some real or speculative value.

> The basic idea is that 10% of the profits that miners earn from mining this coin is pooled and distributed to every member of the network on a bi-weekly basis.

Are these "profits" from inflation or a transaction fees?