HNHacker News
TopNewBestAskShowJobs

penne12

110 karma · joined April 2, 2016

[ my public key: https://keybase.io/penne; my proof: https://keybase.io/penne/sigs/6N0QwTW8TD2EfU3UOCYolZFLlOoO1aA2wjFkMBD1n4s ]
submissionscomments
penne12··on Ask HN: Have you switched from Postgres or relational data to MongoDB?
Postgres by far. The inbuilt json support is great. In addition, Postgres as a whole has decades of bullet proofing behind it. MongoDB doesn't have many advantages, has many bugs and sharp edges, and doesn't have enough advantages to justify it's use. In [an old analysis by Jepsen](https://jepsen.io/analyses/mongodb-4.2.6), MongoDB 4.2.6 exhibited "read skew, cyclic information flow, duplicate writes, and internal consistency violations. Weak defaults meant that transactions could lose writes and allow dirty reads."

Will note that json/text columns are better than jsonb. Lower serialization overheads and surprisingly smaller binary size. Or better yet, just normalize to a columnar format.

penne12··on Apply for a job via SSH – $ ssh jobs.hackclub.com
Yes! Everyone is welcome to apply. Total comp is not listed for all of the positions, but if it is, it is listed in the posting.
penne12··on Tabloid: The Clickbait Headline Programming Language
The configuration file should be a collection of hackernews headlines
penne12··on Tabloid: The Clickbait Headline Programming Language
The parser should use TikTokenization
penne12··on Show HN: Scaling corporate anti-racism donations to the average household
This is really awesome! It can be really difficult to visualize and understand large numbers - this is a perfect way of truly understanding what large sums truly mean to corporations. Plus, it makes individual donations feel a lot more meaningful.
penne12··on Show HN: WitBot – A Ruby Client for wit.ai
Your project looks awesome!
penne12··on Show HN: WitBot – A Ruby Client for wit.ai
Sadly, no. Ruby is not normally used for client side apps, so I didn't decide to spend time on that (like wit's new official library). You could easily modify the library to send audio files, though. Sadly, you still have the problem of getting speech from the user, normally a somewhat difficult process that this gem alone couldn't take care of.

But, if you'd like to send a PR for sending audio files, I'd very much love to accept it.

penne12··on Show HN: WitBot – A Ruby Client for wit.ai
I just created a GH pages site for wit_bot. You can view it here: http://bensites.com/wit_bot/. It might be nicer. Your choice :D
penne12··on Show HN: WitBot – A Ruby Client for wit.ai
I decided to make this after seeing that wit.ai's official ruby client was only able to send messages to wit ai and get the json response back. I made an entire library to request things from wit.ai, create bots to respond to intents, ect.