Readit News logoReadit News
hivacruz commented on Claude Code for Infrastructure   fluid.sh/... · Posted by u/aspectrr
levkk · a month ago
So... I already tell Claude Code to do this. Just run kubectl for me please and figure out why my helm chart is broken.

Scary? A little but it's doing great. Not entirely sure why a specialized tool is needed when the general purpose CLI is working.

hivacruz · a month ago
I do the same. I was thinking about creating read-only kubeconfigs for him to make sure it can't do bad stuff but with a good SKILL.md, it works perfectly.
hivacruz commented on Ask HN: How did you learn to code?    · Posted by u/chistev
hivacruz · 2 months ago
I “learned” to code in Visual Basic 6 to create programs mainly for AOL chat rooms (games, etc.) when I was a kid. I was more of a script kiddie than anything else, but I got hooked pretty quickly. Good times!
hivacruz commented on Kvrocks: Redis-compatible distributed key value NoSQL database   kvrocks.apache.org/... · Posted by u/adulau
qwertox · a year ago
I am confused. "key value NoSQL". Is it a key-value store (that is obviously not SQL), which is capable of doing some rudimentary JSON store/retrieve operations like RedisJSON? Because for me a NoSQL database is a document-based, schema-less database like MongoDB.

I tried finding some examples but they don't even have an `examples` directory on GitHub.

So I just assume that this is RedisJSON + per namespace passwords?

Also no info on drivers, so does this mean that drivers compatible with Redis should be used with this?

If it is focused on the JSON part of Redis, then I might start using it as a replacement.

hivacruz · a year ago
I don't think it is "focused" on the JSON part of Redis, they have added a lot of commands from Redis, not only JSON. They are also working on storing vectors too for instance.

As for the drivers compatible, if you mean "clients", in our case we use the official Python Redis client with Kvrocks and it works perfectly with the commands we use.

hivacruz commented on Kvrocks: Redis-compatible distributed key value NoSQL database   kvrocks.apache.org/... · Posted by u/adulau
hivacruz · a year ago
We use it for a year now in production and so far so good. We couldn't handle anymore having huge instances with a lot of RAM to hold data in Redis.

It looks like a normal database to me: disk storage for most of the data, and some cache in memory to speed up read queries. Everything is customizable.

I'm still waiting for a nice way to deploy it in a Kubernetes cluster, like a Helm Chart to easily setup a cluster with primaries and replicas. Also, the lack of keys eviction like LRU is problematic for us in some cases, it would be a nice addition.

hivacruz commented on How I got promoted to staff engineer twice   seangoedecke.com/staff-en... · Posted by u/brunocvcunha
davesmylie · a year ago
What is the difference between a senior engineer and a staff engineer?
hivacruz · a year ago
I guess a senior engineer might be "linked" to a single kind of tasks (backend, frontend etc) while a staff engineer has knowledge in a lot of domains and can be the "bridge" for projects that need people from many different teams
hivacruz commented on Reverse Video Search   blog.mixpeek.com/reverse-... · Posted by u/Beefin
hivacruz · a year ago
Instead of taking a image every 5 seconds from the video and embed it, you could detect when there are enough changes between frames to decide to embed or not. One frame, one scene, one vector.

For instance, Ffmpeg can do that with the filter `select=gt(scene,0.3)`. It selects the frames whose scene detection score is greater then 0.3 (the scene change detection score are values between 0 and 1).

https://ffmpeg.org//ffmpeg-filters.html#select_002c-aselect

hivacruz commented on Vector indexing all of Wikipedia on a laptop   foojay.io/today/indexing-... · Posted by u/tjake
gfourfour · 2 years ago
Maybe I’m missing something but I’ve created vector embeddings for all of English Wikipedia about a dozen times and it costs maybe $10 of compute on Colab, not $5000
hivacruz · 2 years ago
Did you do use the same method, i.e. split by chunks each article and vectorize each chunk?
hivacruz commented on PHP in 2024   stitcher.io/blog/php-in-2... · Posted by u/theThree
hivacruz · 2 years ago
PHP is a great language to learn OOP, classes, interfaces, abstract classes, traits, managing dependencies and unit tests. I'm not using it anymore but I learned basically everything with it a decade ago. Thanks PHP!
hivacruz commented on SableDb – Fast, persistent database supporting Redis API   github.com/sabledb-io/sab... · Posted by u/SableDb
hivacruz · 2 years ago
How does it compare to Kvrocks, which use RocksDB as the storage backend too?

https://github.com/apache/kvrocks/

hivacruz commented on Redis' license change and forking are a mess that everybody can feel bad about   arstechnica.com/informati... · Posted by u/pjmlp
hivacruz · 2 years ago
Not affiliated (not my first comment about this) but we are using KVRocks[1] for now at work, which is based on RocksDB by Meta and it works nicely. Developers are nice and reactive and the Redis commands support is large.

We picked this project because of our RAM usage that was exploding with Redis.

The only downside for us right now is the Kubernetes support. There is an operator and a controller being made but no Helm Chart yet to deploy Kvrocks with master and replicas easily. That will be awesome.

[1]: https://github.com/apache/kvrocks

u/hivacruz

KarmaCake day274December 22, 2017View Original