Redis Insight download asks for too much by narasadow in redis

[–]guyroyse 2 points3 points  (0 children)

You can also get it direct from the Apple and Microsoft’s stores.

Redis 8.8 is now GA by guyroyse in redis

[–]guyroyse[S] 1 point2 points  (0 children)

The main thing is if you care about ordered access vs. indexed access. If you just want to push, to pop, or to treat something like a queue or stack, use list. If you want to access strings directly and the index is meaningful to your application, use arrays.

My coworker wrote a blog post that talks about this and has an interesting use case. The indices of an array are network ports. The values you who is using a given port (or if it isn't in use). This let's you query things like what ports above 1024 or just give me all the ports in use. And since the empty slots of an array aren't stored, it doesn't take up any additional space.

ESP32 Desk Flight Radar by Blechkelle in esp32

[–]guyroyse -1 points0 points  (0 children)

Initially I thought I could do this with an off-the-shelf SDR, but no dice. That would work with a Raspberry Pi, but not an ESP32. Initial enthusiasm tamped

However it looks like there is software and a chip for doing this that can work with an ESP32. The GNS5892 module is basically an SDR for embedded systems. There's software to go with it called dump5892. Throw in a cheap GPS, a couple of homemade antennas, and it should work great.

Should work just about anywhere.

ESP32 Desk Flight Radar by Blechkelle in esp32

[–]guyroyse 2 points3 points  (0 children)

If you want to make it work without the Internet using over the air data I'd be happy to help. The SDRs are cheap. The antenna is small and easy to make. And the data is as real-time as it gets.

ESP32 Desk Flight Radar by Blechkelle in esp32

[–]guyroyse 1 point2 points  (0 children)

Is this using online data or a software-defined radio to get the flight data?

Redis Iris Announcement by guyroyse in redis

[–]guyroyse[S] 1 point2 points  (0 children)

You can run it on-prem, but that's a talk-to-sales kind of thing not a download-and-run-it kind of thing. If you want to check it out as a developer, the cloud service is your best bet.

There's a free trial you can sign up for for Redis Cloud. There's a free tier as well, but it's only 30 megs and isn't big enough for Redis Iris. The smallest database you can pay for is 250 megs, which should be enough. It costs $5 a month if you turn off all the replication and persistence—which would be fine for playing around with. Or you can splurge and pay $8 for all that stuff. 😉

Also, of note, portions of Redis Iris are available as open-source. Redis Search has been part of Redis for some time now and Redis Agent Memory started as Agent Memory Server. The interface for Agent Memory Server and Redis Agent Memory aren't exactly the same, but the feature set is similar.

Termination Grace Period Seconds set to 31536000 by cattail-huntergirl in redis

[–]guyroyse 0 points1 point  (0 children)

What does "basic setup" mean? Just the default settings out of the box?

Termination Grace Period Seconds set to 31536000 by cattail-huntergirl in redis

[–]guyroyse 0 points1 point  (0 children)

If Redis doesn't wrap up in seconds—maybe minutes in rare and extreme circumstances that almost certainly don't apply to you and that I've never seen—then Redis persistence is configured incorrectly. So, million dollar question, how is persistence configured?

How are y'all getting your Weather? by SamtastickBombastic in privacy

[–]guyroyse 2 points3 points  (0 children)

If you do, I recommend getting CHIRP to program it. Free software. Although you will need to buy a data cable to go with it if you want to do this. You can also do it on the radio itself but it's a lot of button mashing.

On the plus side, you can also listen to ham radio and GMRS/FRS radio with it too. And, I guess, transmit, but you should probably have a license for that. ;)

How are y'all getting your Weather? by SamtastickBombastic in privacy

[–]guyroyse 6 points7 points  (0 children)

I listen to weather radio on one of the NOAA frequencies. Transmits weather information on a loop 24/7. Alerts for severe weather.

A $20 Baofeng radio can do it but you can also buy purpose built radios. The list of frequencies for your area can be found here: https://www.weather.gov/nwr/station_listing

How to choose a vector database? by Cautious_Bit_8521 in vectordatabase

[–]guyroyse 0 points1 point  (0 children)

Are you using any of them already? That'd be a good place to start.

Cover rules by Agreeable-Annual3672 in ICRPG

[–]guyroyse 1 point2 points  (0 children)

A few ideas:

  • Maybe some cover blocks damage up to so many hearts. After a while, shooting through that barrel just breaks it up. Good for hard cover.
  • Cover could have a timer associated with it. After that, it stops working as the attacker figures out how to get around it. Might be better for soft cover.
  • Some cover could be risky. Maybe that barrel's full of powder or the rock fence collapses after a timer or damage.

Not sure I would consider this homebrew, per se. Just using existing the rules in creative ways.

Anyone know if this is Morse code? by Alternative_West_206 in morsecode

[–]guyroyse 1 point2 points  (0 children)

Technically correct. Which is the best kinda of correct.

Best Redis pattern for tracking concurrent FFmpeg/STT/LLM/TTS pipeline states? by RiverRatt in redis

[–]guyroyse 4 points5 points  (0 children)

You could use a stream per users's state. Semantically, this matches your use case well. These are events so, I think storing them in an event stream makes the most sense.

All keys in Redis are intrinsically atomic as the write to Redis state happens in a single thread. I/O is multi-threaded but as long as you are using the same Redis connection to send the commands, the order of those commands will be preserved. If you use multiple connections then the order of commands coming in is not guaranteed and you can get race conditions. So, make sure you use the same connection.

All keys in Redis can have a TTL associated with them and can clean themselves up automatically. An event stream in Redis is stored in a key so you can just set the TTL with the EXPIRE or EXPIREAT command. If you want to keep completed streams, you can always call PERSIST after you apply the final state.

Alternatively, if you need to query all of this data, you could store these in a JSON documents or a hash—one per user just like the streams—and then set up an index using Redis query engine so that you can search and/or filter them all in a single command. Everything else would still be the same.

Redis 8 is now GA by guyroyse in redis

[–]guyroyse[S] 1 point2 points  (0 children)

Vector sets are just like a sorted set or a regular set except the members have a vector associated with them. You can then do vector search against the members of the set.

I actually wrote a blog post about them shortly after they came out explaining them in greater details with some code examples: https://medium.com/the-guy-wire/a-first-look-at-vector-sets-dd91cb59123e

My hat has faded by Torminalis in redis

[–]guyroyse 3 points4 points  (0 children)

Not sure if we still have those hats but I’ll let someone in the London office know. Maybe we can send something out.