frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

You can now directly sync Postgres with Redis

https://github.com/redfly-ai-org/redfly.ai
22•vijaymohan1979•1y ago

Comments

yohannparis•1y ago
No Pricing information nor an open-source project. I don't know what to do with this product.
jasonlotito•1y ago
Assuming the link to the repo is correct: it's open source.

https://github.com/redfly-ai-org/redfly.ai/blob/main/LICENSE

bradleyjkemp•1y ago
I believe this is another case of abusing GitHub for visibility, not actually doing anything meaningful open source

The code in the repo just seems to be connection code ("provides a way for anybody to test our Redis synchronization service on demand") rather than the sync service itself

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
maxmcd•1y ago
Since db cache consistency is a complex research space with things like https://readyset.io/ and https://www.usenix.org/system/files/conference/nsdi13/nsdi13... it would be great to hear more specifics about what this is giving up in order to sidestep all that complexity.
_1tem•1y ago
There’s also Polyscale as a service.
vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
henning•1y ago
It'd be nice to see documentation of how it works. Is it using a replication channel for Postgres? The write-ahead log? It looks like it does schema introspection and then works off that. How does it handle schema changes? How does this work in scenarios where you have multi-master replication? What's the compatibility with popular Postgres extensions like PostGIS? What happens if the database is rebooted or crashes? Yes I realize the source is there.
porridgeraisin•1y ago
> Yes, I realize the source is there

It isn't actually. The codein the repo just seems to be some scaffolding.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
hangonhn•1y ago
Did you really mean to leave your AES key in the code in RedflyEncryptionKeys?

> public const string AesKey = ...

Also, the way AES is used in the code is not good practice. It seems to be using plain AES ( https://learn.microsoft.com/en-us/dotnet/api/system.security... ), which isn't meant to be used bare like that. It needs to be coupled with a digest algorithm to protect the ciphertext. Maybe use AesGcm instead?

foxyv•1y ago
The reason for this is that AES is not an authenticated algorithm so there is no way to determine if the ciphertext has been modified since encryption. The ciphertext could be modified/corrupted and you wouldn't know.

Also, AES is deterministic and will encrypt the same data the same way every time. This means if you are encrypting a lot of fields you will be able to do statistical attacks. Using an initialization vector with AES GCM is similar to salting a hash. This way there is no statistical method to determine the contents of the ciphertext.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A
solatic•1y ago
Can someone ELI5 where this is going to be valuable?

If you set up Postgres read replicas, make sure your queries are covered by appropriate indexes, and your hot queries are handled by Postgres from RAM anyway - do you really need a separate Redis cache?

I feel like anytime I'm going to pull in Redis for a cache, it's going to be for data that I'm not interested in having guaranteed persistency for, like session tokens, and so it'll be for data that I wouldn't be storing in Postgres anyway?

lotharcable•1y ago
Probably useful for sharing stuff with services that already have access to redis, but you don't want to add SQL client dependencies for and/or don't want to give access to your database.

But you want to be able to store/have single source of authority and update them using a SQL database.

This would then eliminate the need to maintain a separate lambda or cron job or something like that to keep them in sync.

vijaymohan1979•12mo ago
https://github.com/redfly-ai-org/redfly.ai/wiki/Q-&-A

Canvas is down as ShinyHunters threatens to leak schools’ data

https://www.theverge.com/tech/926458/canvas-shinyhunters-breach
504•stefanpie•7h ago•332 comments

Maybe you shouldn't install new software for a bit

https://xeiaso.net/blog/2026/abstain-from-install/
368•psxuaw•7h ago•164 comments

Cloudflare to cut about 20% workforce

https://www.reuters.com/business/world-at-work/cloudflare-cut-over-1100-jobs-2026-05-07/
521•PriorityLeft•9h ago•313 comments

Dirtyfrag: Universal Linux LPE

https://www.openwall.com/lists/oss-security/2026/05/07/8
547•flipped•10h ago•223 comments

Pinocchio is weirder than you remembered

https://storica.club/blog/pinocchio-in-italian/
88•cemsakarya•1d ago•24 comments

The map that keeps Burning Man honest

https://www.not-ship.com/burning-man-moop/
601•speckx•16h ago•308 comments

Agents need control flow, not more prompts

https://bsuh.bearblog.dev/agents-need-control-flow/
416•bsuh•13h ago•204 comments

Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE

https://github.com/graemeg/blaise
12•peter_d_sherman•1h ago•1 comments

Mojo 1.0 Beta

https://mojolang.org/
34•sbt567•3h ago•11 comments

A polynomial autoencoder beats PCA on transformer embeddings

https://ivanpleshkov.dev/blog/polynomial-autoencoder/
10•timvisee•2d ago•1 comments

How to make SSE token streams resumable, cancellable, and multi-device

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
14•zknill•1d ago•0 comments

Natural Language Autoencoders: Turning Claude's Thoughts into Text

https://www.anthropic.com/research/natural-language-autoencoders
249•instagraham•12h ago•81 comments

Plasticity and language in the anaesthetized human hippocampus

https://www.bcm.edu/news/researchers-discover-advanced-language-processing-in-the-unconscious-hum...
91•hhs•7h ago•34 comments

GNU IFUNC is the real culprit behind CVE-2024-3094

https://github.com/robertdfrench/ifuncd-up
56•foltik•6h ago•27 comments

Gambling ads on social media reach more than twice as many men as women: study

https://www.cam.ac.uk/research/news/gambling-ads-on-social-media-reach-more-than-twice-as-many-me...
48•hhs•6h ago•34 comments

Los Alamos and the long path to detecting neutrinos

https://www.lanl.gov/media/publications/1663/from-ghost-particle-to-cosmic-messenger
20•LAsteNERD•1d ago•2 comments

AlphaEvolve: Gemini-powered coding agent scaling impact across fields

https://deepmind.google/blog/alphaevolve-impact/
274•berlianta•15h ago•120 comments

DeepSeek 4 Flash local inference engine for Metal

https://github.com/antirez/ds4
349•tamnd•14h ago•99 comments

AI slop is killing online communities

https://rmoff.net/2026/05/06/ai-slop-is-killing-online-communities/
573•thm•11h ago•507 comments

Nonprofit hospitals spend billions on consultants with no clear effect

https://www.uchicagomedicine.org/forefront/research-and-discoveries-articles/nonprofit-hospitals-...
123•hhs•7h ago•35 comments

Brazil's Pix payment system faces pressure from Visa and Mastercard

https://www.elciudadano.com/en/brazils-pix-payment-system-faces-pressure-from-visa-and-mastercard...
146•wslh•12h ago•100 comments

Singapore introduces caning for boys who bully others at school

https://www.theguardian.com/world/2026/may/06/singapore-caning-school-bullies
131•rustoo•1d ago•139 comments

Hardening Firefox with Claude Mythos Preview

https://hacks.mozilla.org/2026/05/behind-the-scenes-hardening-firefox/
131•HieronymusBosch•14h ago•72 comments

I want to live like Costco people

https://tastecooking.com/i-want-to-live-like-costco-people/
277•speckx•14h ago•581 comments

Two Home Affairs officials suspended after AI 'hallucinations' found

https://www.citizen.co.za/news/home-affairs-officials-suspended-ai-hallucinations/
75•jruohonen•10h ago•18 comments

US will start revoking passports for parents who owe child support

https://apnews.com/article/passports-unpaid-child-support-penalty-state-department-42d90cfa8a06ee...
20•OutOfHere•2h ago•2 comments

Programming Still Sucks

https://www.stvn.sh/writing/programming-still-sucks-fqffhyp
562•jeromechoo•1d ago•287 comments

Creating for a niche

https://www.davesnider.com/posts/working-in-a-niche
52•snide•10h ago•6 comments

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
83•blumpy22•12h ago•43 comments

Chrome removes claim of On-device Al not sending data to Google Servers

https://old.reddit.com/r/chrome/comments/1t5qayz/chrome_removes_claim_of_ondevice_al_not_sending/
533•newsoftheday•14h ago•201 comments