HN user

ch71r22

58 karma
Posts0
Comments27
View on HN
No posts found.

Not sure if I have this right but this is how I understand it

So is the magic here that it's Postgres? What makes being able to query something in Postgres special?

There are a bunch of pros and cons to using Postgres vs. DuckDB. The basic difference is OLTP vs. OLAP. It seems pg_lake aims to give you the best of both. You can combine analytics queries with transactional queries.

pg_lake also stores and manages the Iceberg catalog. If you use DuckDB you'll need to have an external catalog to get the same guarantees.

I think if you're someone who was happy using Postgres, but had to explore alternatives like DuckDB because Postgres couldn't meet your OLAP needs, a solution like pg_lake would make your life a lot simpler. Instead of deploying a whole new OLAP system, you basically just install this extension and create the tables you want OLAP performance from with `create table ... using iceberg`

when we say it’s now queryable by Postgres, does this mean that it takes that data and stores it in your PG db?

Postgres basically stores pointers to the data in S3. These pointers are in the Iceberg catalog that pg_lake manages. The tables managed by pg_lake are special tables defined with `create table ... using iceberg` which stores the data in Iceberg/Parquet files on S3 and executes queries partially with the DuckDB engine and partially with the Postgres engine.

It looks like there is good support for copying between the Iceberg/DuckDB/Parquet world and the traditional Postgres world.

Or it remains in S3 and this is a translation layer for querying with PG?

Yes I think that's right -- things stay in S3 and there is a translation layer so Postgres can use DuckDB to interact with the Iceberg tables on S3. If you're updating a table created with `create table ... using iceberg`, I think all the data remains in S3 and is stored in Parquet files, safely/transactionally managed via the Iceberg format.

https://github.com/Snowflake-Labs/pg_lake/blob/main/docs/ice...

There are a lot of myths about the way humans used to be, especially Native Americans. Were they utopian nature-lovers? Were they barbaric human-sacrificers?

A good book on this topic is The Dawn of Everything, written by an anthropologist and an archaeologist. A YouTube video from one of the authors is here https://www.youtube.com/watch?v=8SJi0sHrEI4

I disagree with the idea that "barbarism was common" in Native American societies. I don't think you can generalize from the Incas so directly like this

I've had a similar experience with Bluesky, though it's much more like Twitter than Hacker News. You can curate a good feed by following a ton of people, then unfollow the noisy ones as you look over the feed. You can use "starter packs" and hashtags to help get started, too.

Once you've found some people you like, this tool is somewhat helpful for finding more people you might like to follow:

https://bsky-follow-finder.theo.io/

I don't think the "noble savage" idea applies in this case. The problem of the noble savage idea is that it portrays indigenous people as simple, pure, and uncorrupted, while overlooking that indigenous people are complex just like non-indigenous people.

It's no myth that the Haudenosaunee and other indigenous people had sophisticated governments that could have inspired the writers of the US Constitution. The Haudenosaunee's democracy-ish form of government extends back probably a thousand years. The people who wrote the US Constitution had contact with these people. The exact extent to which this shaped the Constitution is up for debate, of course.

Yes, the US government draws from European roots too. I hope my kids learn about both the Magna Carta and the Great Law of Peace.

The "Little Red Book" is the name of Mao Zedong's propaganda book. It's an example of indoctrination.

Marshall McLuhan introduced the idea that the "medium is the message," which is heavily alluded to in this book with images of the printing press, etc. The idea is that changes in how information is shared play a bigger role than the actual content of the messages being exchanged. Chris Cox, the Chief Product Officer, used to regularly talk about McLuhan.

McLuhan also envisioned trends in the change of information media culminating in a "global village," which Facebook echoes here in its mission of "making the world more open and connected." McLuhan expected that this would divide us more than it would unite us.

So I think what the person you're replying to was saying Facebook's appropriation of Mao Zedong and Marshall McLuhan is... weird. Facebook is directly drawing from dictators' propaganda and a philosopher who predicted what Facebook would bring about, and didn't think it was a good thing.

I'm currently reading this book and it's incredible.

It paints a picture of how rich plant and animal life was before contact with Europeans. It shows how Native Californians depended on and deeply understood every root, leaf, flower, and fruit of every plant in their area. It explains how Native Californians were responsible for preserving and enriching the wildlife around them -- doing controlled burns, pruning, managing animal populations, sowing seeds, etc. These areas weren't "wild" or "pristine" at all, they were carefully managed and densely populated by Native Americans for over 10,000 years.

I think oftentimes we feel hopeless about our relationship to nature. We think if we touch it, we'll destroy it. Learning about how Native Californians lived shows how that's not inevitable at all.

Yeah, the article argues that degrowth doesn't have enough evidence and isn't progressing towards it fast enough. Valid, but that doesn't make me feel like the idea of degrowth is invalid.

They say that degrowth ideas would do "approximately nothing," but then their own article they link to states that "a shift toward plant-rich diets would do more than any other single change" to reduce emissions. They bash on eating local, but the academic paper they cite concludes "eating locally grown fruits and vegetables may be an effective strategy to meaningfully reduce food system GHGEs from transportation."

I was confused by this too. The photography term seemed so out of place to me that I assumed this was some new other meaning of DSLR, like deep spherical latent representation or something. but Ctrl+F didn't find anything.

I would love to get sucked into learning guitar with a game like that. I think there's an untapped niche for educational games with the depth, progression, and addictive aspects of RPGs. Hope you get the chance to resume development

Maybe their efforts will be co-opted, but judging by the team's background -- André Staltz with Secure Scuttlebutt, Paul Frazee with dat/Beaker/Hypercore Protocol -- I think it's pretty clear the driving motivation for much of the team behind Bluesky is not profit.

As for why people might want to use it instead of ActivityPub, I think it's just... different from ActivityPub. Even though ActivityPub is an available option I don't see why it should be the last word.

Bluesky's answer is this

Account portability is the major reason why we chose to build a separate protocol. We consider portability to be crucial because it protects users from sudden bans, server shutdowns, and policy disagreements. Our solution for portability requires both signed data repositories and DIDs, neither of which are easy to retrofit into ActivityPub. The migration tools for ActivityPub are comparatively limited; they require the original server to provide a redirect and cannot migrate the user's previous data.

Other smaller differences include: a different viewpoint about how schemas should be handled, a preference for domain usernames over AP’s double-@ email usernames, and the goal of having large scale search and discovery (rather than the hashtag style of discovery that ActivityPub favors).

https://atproto.com/guides/faq#why-not-use-activitypub

Yes, some of them -- but not most of them.

Most homeless people do not have a severe mental illness (around 70%) [1]. For most homeless people, it's primarily an issue of housing affordability. The solution is to reduce the cost of housing.

For the people who need more support -- due to mental illness or otherwise -- the affordable, effective solution is permanent supportive housing [2].

[1] https://www.treatmentadvocacycenter.org/evidence-and-researc...

[2] https://www.coalitionforthehomeless.org/proven-solutions/

Thank you! I'll give it a try later this week.

It's a really interesting idea. The multi-PR workflow I was used to in Facebook's Phabricator required a lot of commit reordering to get things ready for review. Having separate review branches (topics) from dev branches seems like a nice alternative.

I still think there could be something earlier or more explicit in the README to explain the general idea of cherry-picking commits from a dev branch to review branch to split out convenient independent units to review and merge separately. Without running the tutorial, I wasn't really sure that's what the goal was.

I'm interested, but confused. I feel like I need either a more complete example of the workflow (writing code -> reviewing -> rewriting my history -> merging) or a deeper dive into how this works.

Will the same commit ever appear in two pull requests managed by Revup?

Does this take every commit in a "topic", cherry-pick it to a Revup-managed branch under the hood, and create a pull request for that topic?

If so, how can you safely merge these branches if they differ significantly from the one that the developer is testing on? or do you just rely on continuous integration? or do you wait until all topics that share a history have passed review?

Do you run into problems where PR comments get deleted after amending the history and re-pushing?