HNHacker News
TopNewBestAskShowJobs

AccountAccount1

509 karma · joined January 23, 2021

submissionscomments
AccountAccount1··on Open Source Firebase Alternative with GraphQL
Both developed in-house from Nhost' engineers and OSS https://github.com/nhost/hasura-storage https://github.com/nhost/hasura-auth

built to leverage Hasura's features and driven by users needs

AccountAccount1··on Open Source Firebase Alternative with GraphQL
Most of the users I've seen using Nhost (and Hasura) treat data/the db as the source. Given that you have raw access to postgres, you are also the full owner of your data and you can swap interfaces as you see fit (I've seen users use Hasura internally and not expose it to the internet)

Notice, also, that Hasura has support for REST endpoints.

AccountAccount1··on Open Source Firebase Alternative with GraphQL
Just to add to the comment: you also have backups, automatic logs on all services, raw access to postgres (you can do whatever you want with it), custom integration with stripe, plus specific dashboard for users, database, and storage.

It's freaking crazy

AccountAccount1··on Ask HN: Locally generate GraphQL schema and resolvers from DB
What do you mean locally? Hasura is OSS, and you can run it locally (you have autogenerated SQL statements) Here you can just use Nhost and its CLI;

Alternatives are https://github.com/graphile/postgraphile or dgraph as you mentioned. Hasura is working on support for sqlite, so you may have some blockers there, you can also look into the Prisma engine which has GQL as an intermediate (for resolvers, for example)

AccountAccount1··on The Hugging Face Datasets Server is now open-source
That's not exactly your point... "they chose python" and that's it. Don't know how you draw that conclusion, this one is easier: when you have 10 developers that know python, you choose python.
AccountAccount1··on Why we moved from AWS RDS to Postgres in Kubernetes
Hey, this is not a problem for us at Nhost since most of the interfacing with Postgres is through Hasura (a GraphQL SQL-to-GraphQL) it solves the n+1 issue by compiling a performant sql statement from the gql query (it's also written in haskell, you can read more here https://hasura.io/blog/architecture-of-a-high-performance-gr...)
AccountAccount1··on Why thinking hard makes us feel tired
No, it's definitely in study and a lot of computational models of how these mechanisms may work were put forward.

Most definitely it has to do with "to stop something harmful to happen to the brain" but since the brain is such a huge interconnected mess, it's difficult to make a grand statement.

An analogy with weight-lifting (or long-distance running) is easier: when you are lifting weights sometimes you reach failure and you think you can go no further, but usually this is a message having to do with the body parts you are exercising just being to hot... some weight-lifters quickly cool down the palms of their hands (under the arms, under the feets, etc...) and can continue lifting.

Is very simple, you don't want to cook yourself, but the message that we consciously feel is akin to, "I can't go no more" when instead by lowering body temperature, you can come back.

So one factor, definitely, is temperature (you don't want your brain to get too hot) but also is the rate at which you can recreate new neuronal connections (when learning for example. And what are the constituents of these new neuronal pathways? Do you also delete?)

These are only two factors and there has to be a whole panoply of them (electrolytes, vitamins, glucose, dopamine, etc...)

AccountAccount1··on Ask HN: Solution for Distraction?
Yes, this is troubling. I'm generally not against medication, but giving it to children without exactly knowing how it affects their personality long-term is a very gray area.
AccountAccount1··on Ask HN: Solution for Distraction?
When Armstrong was stripped of his title, they had to give it to the guy that came in like the 17th place as everyone under that was doping as well.
AccountAccount1··on Ask HN: Solution for Distraction?
I also do this, and it's surprisingly effective (or at least somewhat effective that everyone should at least try, even a %10 reduce in time wasted is huge.)

The way I do it is I have CODE open, with a today.md and every time a thought comes up when I'm either working or learning I just go to that document and I write it down (as a sort of IOU to pay later) while the desire to check that is strong at that very moment, when I come back to that document after ~2hours, it's something so trivial, that I end up mostly not even look at it.

AccountAccount1··on Political betting site PredictIt to shut down after CFTC withdraws approval
The gambling angle is straight up dumb, why are they framing it that way? Aggregating information (however true) provides a net benefit in any endeavor, and there has to be a financial incentive to do information arbitrage, that's the whole point, because people would not even worry about it.

The whole thing is that, the media now cannot say that elective x has a 65 approval rate (based on a survey of 6 coworkers) when on Predictit is at 10%.

AccountAccount1··on Using Firecracker and Go to run short, untrusted code execution jobs (2021)
Isn't web assembly in the browser suited for these kinds of problems? You could run the code, spit the benchmarks and save that (maybe saving the code and the time of the submit for validation.)?

Does anyone know about this?

AccountAccount1··on Famous HNers and their sites
Can someone explain to me how they got a list of all the users?

> Downloaded all HN users from BigQuery

??

AccountAccount1··on Map showing birthplaces of "notable people" around the world
where is messi?
AccountAccount1··on Ask HN: Algorithms and data structures for humans and physical objects?
A popular book about this is Algorithms to Live By
AccountAccount1··on Ask HN: What Is the SICP of Physics?
Uff, that's massive. Thank you for this comment, I didn't realize we had the audio recordings for the lectures.
AccountAccount1··on Ask HN: What Is the SICP of Physics?
Has to be The Feynman Lectures on Physics
AccountAccount1··on Show HN: WunderGraph – open-source API Developer Toolkit
Excited to see OSS developer tooling closer to how enterprise actually use GraphQL. Very impressive!
AccountAccount1··on Including “And. And. And. And. And.” in a Google doc causes it to crash
Well shit
AccountAccount1··on Including “And. And. And. And. And.” in a Google doc causes it to crash
I find it very poetic that this crash was triggered by a poem, here's the poem:

> Duration and the body: I thought about something I had read a while ago which said that a body, the body, is defined by duration. That a body in the present is inseparable from its previous state, that a body is linked in a continuous strand… and so on and so on… I thought about my body. It’s past. It’s present… Which made me think about the word and. And. And. And. And. And. Then.

> Now. Now. Now. Now. Now, I felt in the present like I was living always alongside a previous body. This is why I had expected to find myself in the apartment when I returned home from California.

https://durationandthebodyelizacallahan.cargo.site/

AccountAccount1··on How to Quiet Your Mind Chatter (2021)
Hey, that's really promising.

I think that it's always a net positive to try different diets and see how different you perform with each one. (make sure to keep your macros at the same level.)

I wish that you can stick with it through that period & that it brings you positive benefits.

AccountAccount1··on How to Quiet Your Mind Chatter (2021)
There are a lot of people doing "Carnivore Diets" right now, that is, to eat only meat and just meat all throughout the day. I think this is a very important idea, it's not that these people can only eat meat, but in other diets there's a particular food that is triggering an auto-immune response in their bodies and they just cannot pinpoint exactly which one is it.

So if some food triggers an autoimmune response -- the solution is just to stop eating (well kind-of.) This idea is augmented and explored much more in oligoantigenic diets where you go about removing different specific food (e.g. bananas one week, eggs in another) from your diet each week until you can tell which one was causing side-effects.

There is a mental health analogue for this: meditation. You remove everything, you sit completely still and you focus on nothing. This would be the carnivore diet, but you can also go the oligoantogenic route, go about removing bad habits that are causing side-effects maybe video-games, Tiktok, instagram, or what-have-you that is just too much too fast.

AccountAccount1··on Computers Can Be Understood (2020)
Very relevant, when a system built on deterministic foundations becomes complex enough it's as indistinguishable from an indeterministic one. In principle you can understand it, but in practice there might be just massive & prohibitive cognitive overload.
AccountAccount1··on Ask HN: What are some documentaries you’ve enjoyed?
- Exit through the gift shop.

- Jiro dreams of sushi.

- Free solo

AccountAccount1··on Ask HN: How to Stay Motivated in the Mornings?
If you start work at 10:00, then the block gets broken at 11:00 (again at 12:30) you don't have a meaningful block to do work as you do in the afternoon. Instead if you start to work early, and get a block of, say, 4 hours (uninterrupted by meetings, breakfast, etc...) you'll get much work done.
AccountAccount1··on Ask HN: What's the best book you read in 2021?
OP here, my sole intention was to get book recommendations. But I did think about two things: how I structured the description (books from previous years are OK for example) and the time I posted (good US time).
AccountAccount1··on Ask HN: What's the best book you read in 2021?
Yep, “The Beginning of Infinity” is pretty much required reading at this point. It explains what an explanation even is (something that seems trivial, but turns out it's not.)
AccountAccount1··on Ask HN: What's the best book you read in 2021?
Interesting. The idea of "getting into flow" is one of the most powerful and imperative to understand. I'll add it to my list.
AccountAccount1··on Ask HN: What's the best book you read in 2021?
"Rationality: From AI to Zombies" is a very influential books. This is one to pick if you want something impactful to your system of belief. I would also recommend a book I think is very similar to this (if for some reason Yudkowsky prose throws you off) "The Big Picture" from Sean Carroll, I think he introduces much of the same ideas in a very different manner.
AccountAccount1··on Ask HN: What's the best book you read in 2021?
When you are time-constrained, you really have to pick the best books. Love the "in case of emergency break glass" category.
← PreviousPage 2 of 3Next →