HNHacker News
TopNewBestAskShowJobs

Beefin

482 karma · joined June 29, 2013

ethan.dev
submissionscomments
Beefin··on Ask HN: Do you still use MongoDB?
https://www.postgresql.org/docs/9.5/functions-json.html

they are surrounded by quotes, is that not a string ?

Beefin··on Ask HN: Do you still use MongoDB?
Atlas makes sharding easier, it's just one button where you define your partition key.
Beefin··on Ask HN: Do you still use MongoDB?
why not just do a covered query with aggregate pipeline via $match and $project, hitting all your indexes, then pipe the results to $count.
Beefin··on Ask HN: Do you still use MongoDB?
Yes, use it with Atlas for every one of my companies' projects.

- The document model is a no-brainer when working with JS on the front-end. I have JSON from the client, and Dictionaries on the backend (Flask), so it's as easy as dumping into the DB via the pymongo driver. No object relational mapping.

- Can scale up/down physical hardware as needed so we only pay for what we use

- Sharding is painfully easily, with one click

- Support has been incredible

Beefin··on Ask HN: Do you still use MongoDB?
much of the anti-mongo sentiment is around people who used it in 2009-ish.

it's useful to point out that when using the early version of any software, there will be bugs. that's a trade-off early adopters always need to contend with. unfortunately, it hasn't sat well over time despite every one of the concerns being addressed since.

Beefin··on Ask HN: Do you still use MongoDB?
jsonb is limited in it's querying capabilities. you're essentially casting the json as a string when storing and querying, it's not truly json. therein lies the advantage of document model, native secondary indexes, $<queries> for everry nested layer, etc.
Beefin··on Python Developers Survey 2019 Results
do you have any example repos of flask projects that do this right?
Beefin··on Python Developers Survey 2019 Results
thanks for that link! that's my repo and what i've historically used for projects, have been looking for a good framework :)
Beefin··on Python Developers Survey 2019 Results
because it defies first principles logic. you should know in some capacity what's going on behind the scenes, and Op's point is that Flask forces you to understand that.
Beefin··on Python Developers Survey 2019 Results
threadlocals = app.context ?

Agreed, but that's the beauty of Flask you can just pass around the request context.

Beefin··on Python Developers Survey 2019 Results
Glad to see Flask surpass Django, it's always been my favorite web framework regardless of language and forces users to learn their style of software architecture. I personally prefer MVC: https://github.com/esteininger/flask-mvc-boilerplate
Beefin··on Build Software from Front-to-Back
all software is build for users, and users interact with the front end. it makes sense to define the requirements with the front end and iterate until its ideal before starting any backend.
Beefin··on San Francisco Residents Are Leaving at an Unprecedented Rate
isn't one of the core tenants of buddhism to seek enlightenment through non-reaction? It'd be ironic if they were indeed offended by this name. I don't think the name or intent behind the name contains any malice either.

look beyond the surface and understand the intent. Are they intending malice? yes thats offensive, if not then carry on and stop signaling :)

Beefin··on Redis 6.0 GA
mostly as an intermediary for pubsub architectures. ZMQ is what I've used.
Beefin··on Instacart announces new Covid-19 policies and plans to hire 250k more shoppers
honest question: is server side processing generally preferred? if so, why has there been much more evolution on the JS front than on the Node/Django/RoR front?
Beefin··on Stripe raises $600M at nearly $36B valuation
Hey Patrick, understood that this is an extension of a previous round, but do you have any comments on the timing of this capital raise /w covid?

I imagine, with the huge spike in ecommerce, your platforms are crushing it, but curious to hear your take.

Beefin··on Apple and Google partner on Covid-19 contact tracing technology
He's saying that because this technology will exist, the possibility will exist. Plus this will no doubt not be the last emerging virus.

To answer your Q, Op: yes. Provided Apple/Google doesn't remove the functionality in a later software update.

Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
In an ideal world yes, you only manage one database but no such "jack of all trades" DB exists for the same reason the CAP theorem remains true.

If your Postgres JSON schema modified for new application requirements, the table is locked until existing data is copied into the new schema, requiring applications to be quiesced during schema migration.

Thats a key difference between the two and one area Mongo performs best in.

Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
have you tried using the postgres json data type? it's a joke.
Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
When you don't want to use an ORM, want to scale horizontally, want to use BSON data types and all the indexing capabilities around them, etc.
Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
None of that matters because your data needs to be modeled around your application usage patterns. If you maintain inter-collection relationships via Joins in Mongo just as if you were in Postgres, you're not doing it right.
Beefin··on Why Is the Stock Market Booming?
My thought is that the majority of the markets rely on high frequency trading algorithms, which base their models off historical data. Given this is unprecedented times, the models are going haywire because nothing fits.
Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
this isn't always true there are plenty of schema designs for storing data based on your application's usage patterns.
Beefin··on Comparison of Joins: MongoDB vs. PostgreSQL
right, this is an apples to oranges comparison.

you're comparing the feature that RDBs do best to the feature that NoSQL DBs do worst...

Beefin··on Microsoft buys corp.com so bad guys can’t
If you violate the law, yes: https://www.justice.gov/usao-sc/pr/federal-court-orders-seiz...
Beefin··on Launch HN: TagMango (YC W20) – Personalized video shoutouts in India
not very constructive. they do have a /covid page for donations which is nice.
Beefin··on Ask HN: How can I pick a side project and stick with it?
Keep an idea log and assess it weekly. I have a trello Ideas board with the columns: - Concepts (stream of conciousness) - Promising (have given it some thought, and could be interesting) - Validated (have validated it in some way) - Building - Shut down
Beefin··on Ask HN: What are you learning?
indiehackers is great for guides there
Beefin··on Ask HN: What are you learning?
ancient cultures videos sound cool, and recs?
Beefin··on PostgreSQL is the worlds’ best database
Isn't it just a string? can you do nested queries? secondary indexes? really anything beyond just querying the key-value pairs?
← PreviousPage 7 of 11Next →