Better HN
topnewbestaskshowjobs
Log inSign up

thomas4019

55 karma · joined May 26, 2014 (12y ago) · 29 submissions

Software Engineer at Sublime https://github.com/thomas4019 th4019@gmail.com
Submissions

1.

A Chinese AI model just dropped – but don't ask it about Tiananmen Square(sherwood.news ↗)

7 points · by thomas4019 · 1y ago · 1 comment

comment 2y ago · link · parent

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)

3.

Choosing a back end database: SQL vs. Document vs. Columnar(thomashansen.me ↗)

1 points · by thomas4019 · 2y ago · 2 comments

4.

Optimizing Read Queries in PostgreSQL: A Step-by-Step Guide(thomashansen.me ↗)

2 points · by thomas4019 · 3y ago · discuss

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

7.

Doordash charges $16 for a $24 pizza, so the pizzeria bought its own pizzas(boingboing.net ↗)

43 points · by thomas4019 · 6y ago · 1 comment

comment 8y ago · link · parent

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.

9.

Show HN: pgmongo - Drop-in replacement for MongoDB using Postgres(github.com ↗)

24 points · by thomas4019 · 8y ago · 7 comments

10.

Show HN: Convert Mongo queries to postgresql using jsonb(github.com ↗)

4 points · by thomas4019 · 8y ago · discuss

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

13.

Show HN: Expressa – build REST apis without code(github.com ↗)

8 points · by thomas4019 · 9y ago · 4 comments

14.

Indiegogo improves crowdfunding with a stamp of approval for hardware projects(techcrunch.com ↗)

3 points · by thomas4019 · 10y ago · discuss

15.

Selling Uber Shares May Be Tougher Than You Think(bloomberg.com ↗)

3 points · by thomas4019 · 10y ago · discuss

comment 10y ago · link · parent

Do you guys deliver the robot to the event?

comment 10y ago · link · parent

What does the striped blue line represent?

18.

Show HN: Expressa – a data-driven API framework/cms for Node.js(github.com ↗)

2 points · by thomas4019 · 10y ago · discuss

19.

React based editor for JSON Schemas(github.com ↗)

3 points · by thomas4019 · 10y ago · discuss

comment 10y ago · link · parent

Cool idea but it's sad that it only works on tagged content

comment 10y ago · link · parent

Correct link: https://github.com/thomas4019/mongo-query-to-postgres-jsonb

22.

Show HN: Convert Mongo queries to PostgreSQL jsonb queries(github.com ↗)

4 points · by thomas4019 · 10y ago · 1 comment

comment 10y ago · link · parent

I'm wondering the exact same thing.

comment 10y ago · link · parent

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"

25.

Untitled Shouting Game(tddawson.com ↗)

1 points · by thomas4019 · 11y ago · discuss

comment 11y ago · link · parent

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.

comment 12y ago · link · parent

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?

comment 12y ago · link · parent

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?