Hacker News

Db4o

Hacker News - Sun, 09/08/2024 - 1:33pm

Article URL: https://en.wikipedia.org/wiki/Db4o

Comments URL: https://news.ycombinator.com/item?id=41481767

Points: 3

# Comments: 0

Categories: Hacker News

You Suck at Programming – Episodes and guide by Dave Eddy

Hacker News - Sun, 09/08/2024 - 1:33pm

Article URL: https://ysap.sh/

Comments URL: https://news.ycombinator.com/item?id=41481765

Points: 2

# Comments: 0

Categories: Hacker News

Mars Cyclers

Hacker News - Sun, 09/08/2024 - 1:04pm
Categories: Hacker News

Fables and Nuanced Charts

Hacker News - Sun, 09/08/2024 - 1:04pm

Article URL: https://www.asimov.press/p/charts

Comments URL: https://news.ycombinator.com/item?id=41481537

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Jsonb_apply: apply functions to Postgres JSON, like it's Lisp

Hacker News - Sun, 09/08/2024 - 1:02pm

Hi HN,

Here's a small Postgres extension I’ve been working on: jsonb_apply.

This extension allows you to dynamically apply functions to jsonb objects, both recursively and with optional arguments.

The general signature looks like this:

select jsonb_apply(doc jsonb, func text[, variadic "any" args1_n])

You don't have to specify types for the arguments, but they'll be used in lieu of parser hints, to find the appropriate function to call.

So you can do things like this.

select jsonb_apply('{ "id": 1, "name": "John", "messages": [ "hello" ] }', 'replace', 'hello', 'bye');

{"id": 1, "name": "John", "messages": ["bye"]}

Came in handy for the couple of cases I wanted it for.

It's mostly text-oriented for now, but I'm putting it out there, just in case anyone else wants something more LISPy in Postgres.

Comments URL: https://news.ycombinator.com/item?id=41481517

Points: 1

# Comments: 0

Categories: Hacker News

Swimmable Cities

Hacker News - Sun, 09/08/2024 - 1:01pm

Article URL: https://www.swimmablecities.org

Comments URL: https://news.ycombinator.com/item?id=41481514

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: How do you share and sync .env files and secrets with your team

Hacker News - Sun, 09/08/2024 - 12:57pm

I am trying to figure out how to securely share and sync .env files and secrets with my team. Is there a saas/oss solution that "just works" or there's no way around using hashicorp vault/GCP Secrets/etc. with custom scripts?

Comments URL: https://news.ycombinator.com/item?id=41481482

Points: 1

# Comments: 0

Categories: Hacker News

Pages