penne12
Re:Ask HN: Have you switched from Postgres or relational data to MongoDB?
on Saturday June 24, 2023 @07:47PM (#36463790)
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.
Re:Apply for a job via SSH – $ ssh jobs.hackclub.com
on Friday January 14, 2022 @12:24AM (#29930900)
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.
Re:Tabloid: The Clickbait Headline Programming Language
on Thursday September 24, 2020 @11:58AM (#24579910)
Needs async/await:
async: DEVELOPING STORY [DISCOVER HOW TO...]
await: STAY TUNED FOR [expr]
Re:Tabloid: The Clickbait Headline Programming Language
on Thursday September 24, 2020 @11:56AM (#24579876)
The configuration file should be a collection of hackernews headlines
Re:Tabloid: The Clickbait Headline Programming Language
on Thursday September 24, 2020 @11:02AM (#24579259)
This is actually a pretty neat idea. Should be pretty easy by just swapping out the tokenization loop logic. https://github.com/thesephist/tabloid/blob/e0d16ea54eced809e...
Re:Tabloid: The Clickbait Headline Programming Language
on Thursday September 24, 2020 @11:01AM (#24579249)
10 [EASY|QUICK|WEIRD] STEPS = Range
[list expr] FOR [variable name] = map operator
Re:Tabloid: The Clickbait Headline Programming Language
on Thursday September 24, 2020 @10:58AM (#24579220)
The parser should use TikTokenization
Tabloid: The Clickbait Headline Programming Language
Show HN: React Headless Phone Number Input
Re:Show HN: Scaling corporate anti-racism donations to the average hou...
on Wednesday June 17, 2020 @02:21PM (#23554798)
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.
Re:Show HN: WitBot – A Ruby Client for wit.ai
on Monday April 04, 2016 @06:01AM (#11420581)
Your project looks awesome!
Re:Show HN: WitBot – A Ruby Client for wit.ai
on Sunday April 03, 2016 @02:57PM (#11417154)
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.
Re:Show HN: WitBot – A Ruby Client for wit.ai
on Sunday April 03, 2016 @12:43AM (#11414959)
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
Re:Show HN: WitBot – A Ruby Client for wit.ai
on Saturday April 02, 2016 @09:05AM (#11411366)
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.