Readit News logoReadit News
ZitchDog commented on     · Posted by u/bertblaast
ZitchDog · 4 months ago
I used to think prayer was really dumb too, but then I started practicing Metta meditation created by Buddhists, and I realized it's very similar to Christian prayer. The power of Metta and prayer is actually the change it makes in the one praying. Wishing well for others improves one's whole outlook and posture in the world.

The "official" way to pray outlined in the Lord's prayer isn't selfish (other than asking to have enough food to get through the day), and is asking for redemption / forgiveness rather than specific goodies. This is the right way to do it.

ZitchDog commented on Show HN: Zero-codegen, no-compile TypeScript type inference from Protobufs   github.com/nathanhleung/p... · Posted by u/18nleung
recursive · 5 months ago
This requires the whole `.proto` declaration inline in source a string constant. I'm not holding my breath on "Import non-js content"[1] getting approved, so that means you still have to use another build dependency, or manually keep the .proto files synchronized across multiple sources truth. In that light, it's not clear when this would be a benefit over straight-forward code gen. Cool POC hack though.

[1]: https://github.com/microsoft/TypeScript/issues/42219

ZitchDog · 5 months ago
The problem is that TypeScript is terrible at codegen, there are no standard extension points like we have with javac and others. So we are forced to do these crazy hacks at the type level rather than just generating types as you would in other languages.
ZitchDog commented on A mod that turns TI-84 calculators into GPT-based cheating device   github.com/chromalock/TI-... · Posted by u/sschueller
cjonas · 10 months ago
By the time you've figured out how to install and run this, you've probably learned more than the class your cheating in had to offer.
ZitchDog · 10 months ago
This is what happened to me in middle school. I wrote a bunch of programs to “help” me with algebra II tests and ended up inadvertently learning an insanely marketable skill in the process.
ZitchDog commented on Remember That DNA You Gave 23andMe?   theatlantic.com/health/ar... · Posted by u/_Microft
ZitchDog · a year ago
It's not just people who gave them data who should be worried. If a close relative gave their info to 23andme, they probably have enough data to associate your DNA with that relative. For instance my mom did 23andme and now 50% of my DNA is in this private commercial database without my consent and this data is completely unencumbered by HIPAA privacy restrictions.
ZitchDog commented on Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync   pglite.dev/... · Posted by u/samwillis
samwillis · a year ago
Yes, they should all work.

We save the query as a view and then introspect it to see what tables it depends on. It then uses pg_notify to watch for changes.

The plan is to integrate pg_ivm (https://github.com/sraoss/pg_ivm) to make it even more efficient.

ZitchDog · a year ago
Cool!! Is this available outside of pglite or does it require it for some reason? I could see this being very widely useful.
ZitchDog commented on Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync   pglite.dev/... · Posted by u/samwillis
ZitchDog · a year ago
> it has a reactive "live query" API

Very cool! Most of the examples for reactive queries are very basic (only single tables). Do live queries support joins / aggregations?

ZitchDog commented on There Is No Antimemetics Division (2018)   qntm.org/scp... · Posted by u/squircle
ZitchDog · a year ago
I am halfway through this book and wanting to read it slower because it's that good. I think we could make a pretty cool AI powered ARG based on the lore.
ZitchDog commented on The protein Reelin keeps popping up in brains that resist aging and Alzheimer’s   npr.org/sections/shots-he... · Posted by u/melling
DoubleDerper · a year ago
Huberman has also espoused nicotine's benefits, so before someone reading this runs headfirst into a nicotine addiction, please be aware of the withdrawl symptons.

https://www.reddit.com/r/QuittingZyn/

ZitchDog · a year ago
Yes please be careful here folks. Nicotine can also cause anxiety and panic attacks.
ZitchDog commented on Using Postgres for Everything   timescale.com/blog/how-to... · Posted by u/rmason
j45 · a year ago
Could a simplification of reactive UIs be a possible angle?

Part of me is thinking about htmx or something from alpine and wondering if it’s enough. Shoutout to livewire too.

ZitchDog · a year ago
Htmx doesn't help with this problem (knowing whether the underlying data has changed in order to update the UI). It's a common problem in any kind of collaborative app.
ZitchDog commented on Using Postgres for Everything   timescale.com/blog/how-to... · Posted by u/rmason
ZitchDog · a year ago
One thing that postgres does not solve very well is reactive UIs. Postgres does have listen/notify but it requires much more boilerplate and infrastructure to set up than Firebase/Firestore. For example I'd like to be able to run a query and get notified that the results have updated when any of the affected rows change.

u/ZitchDog

KarmaCake day947October 28, 2008View Original