Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Beefin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
331.
▲
by
Beefin
6y ago
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 d
332.
▲
by
Beefin
6y ago
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 wi
333.
▲
by
Beefin
6y ago
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, $<quer
334.
▲
by
Beefin
6y ago
do you have any example repos of flask projects that do this right?
335.
▲
by
Beefin
6y ago
thanks for that link! that's my repo and what i've historically used for projects, have been looking for a good framework :)
336.
▲
by
Beefin
6y ago
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.
337.
▲
by
Beefin
6y ago
threadlocals = app.context ? Agreed, but that's the beauty of Flask you can just pass around the request context.
338.
▲
by
Beefin
6y ago
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
339.
▲
by
Beefin
6y ago
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.
340.
▲
by
Beefin
6y ago
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
341.
▲
by
Beefin
6y ago
mostly as an intermediary for pubsub architectures. ZMQ is what I've used.
342.
▲
by
Beefin
6y ago
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?
343.
▲
by
Beefin
7y ago
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
344.
▲
by
Beefin
7y ago
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 l
345.
▲
by
Beefin
7y ago
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
346.
▲
by
Beefin
7y ago
have you tried using the postgres json data type? it's a joke.
347.
▲
by
Beefin
7y ago
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.
348.
▲
by
Beefin
7y ago
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.
349.
▲
by
Beefin
7y ago
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.
350.
▲
by
Beefin
7y ago
this isn't always true there are plenty of schema designs for storing data based on your application's usage patterns.
351.
▲
by
Beefin
7y ago
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...
352.
▲
by
Beefin
7y ago
If you violate the law, yes: https://www.justice.gov/usao-sc/pr/federal-court-orders-seiz...
353.
▲
by
Beefin
7y ago
not very constructive. they do have a /covid page for donations which is nice.
354.
▲
by
Beefin
7y ago
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) - Build
355.
▲
by
Beefin
7y ago
indiehackers is great for guides there
356.
▲
by
Beefin
7y ago
ancient cultures videos sound cool, and recs?
357.
▲
by
Beefin
7y ago
Isn't it just a string? can you do nested queries? secondary indexes? really anything beyond just querying the key-value pairs?
358.
▲
by
Beefin
7y ago
Any love for NoSQL here? Many have all the same capabilities as Postgres/major SQL tech but have a format that removes the need for an ORM.
359.
▲
by
Beefin
7y ago
Their JSON data type is atrocious, does anybody actually use it or is it a checkbox item?
360.
▲
by
Beefin
7y ago
you cant measure what you cant see. tests allow you to see the virus and then you can backtrack all the interactions a positive person had.
More ›