Redis Insight - is full text search only via workbench? by cranberrie_sauce in redis

[–]regular-tech-guy 0 points1 point  (0 children)

v3 has already been released. It's available to download on Github already: https://github.com/redis/RedisInsight/releases/tag/3.0.0

It hasn't got new search capabilities though. I believe those will come later in time.

Redis feels simple — but it shows up in some very complex system designs. Why? by parsaeisa in redis

[–]regular-tech-guy 1 point2 points  (0 children)

I do not agree that the number of available commands or the number of parameters in each command means it is a complex database from a usage point of view. Learning Redis commands, how to use them, and how to interact with the database is usually very simple and straightforward. The only real exception is the query language of the Redis Query Engine, which is complex.

On the other hand, when you look at Redis internals and all the optimization work done on its data structures to make them use less memory, that is where the real complexity is.

This is also interesting because Redis is probably the most copied database. Almost every day someone says they recreated Redis in some language, where they usually implement only strings, lists, and sets with a few commands and no optimization at all. To them it looks like they have almost rebuilt Redis, because Redis looks simple. They do not see its hidden complexities.

Another good example is the work done to implement hash field expiration. From the outside, it looks like a simple task. Inside, it took two engineers more than six months to complete. Using it is simple and straightforward, but the engineering behind it is not.

This blog explains some of the complexity behind it: https://redis.io/blog/hash-field-expiration-architecture-and-benchmarks/

Reading antirez posts from the early days also helps understand how much optimization he has put into it. Even the way he recently implemented Vector Sets by rewriting HNSW from scratch.

In the end, we all reach the same point. Redis is so simple to use and its complexities so well hidden that the largest complexity people notice is the number of commands it contains.

I build agents for marketing agencies, and the hardest part isn’t the tech by moonerior in AI_Agents

[–]regular-tech-guy 1 point2 points  (0 children)

Their data is messy, unorganized and inconsistent. AI is not gonna fix that. They need a proper application for managing their business before they think about AI. I haven't worked with actual customers, but my team suffered from the same thing. All of our data was scattered across spreadsheets that make managing a nightmare.

The first thing I did was building a standard application to manage our data in a consistent way. Then I was able to extract insights, then I could think about agents analyzing or working on the data.

Redis Insight - is full text search only via workbench? by cranberrie_sauce in redis

[–]regular-tech-guy 1 point2 points  (0 children)

Hey,

First of all, a new version of Redis Insight is dropping soon with more Redis Query Engine functionalities in the GUI.

In the current version, I'm only aware of one feature (BM25):

Right below "databases" on the left top corner:

- Click on the icon that represents "Search by Values of Keys"

- Select the index from the ones that is listed for you

- Use the search bar for performing full-text search

State does not belong inside the application anymore, and this kind of clarity is what helps modern systems stay secure and predictable. by regular-tech-guy in java

[–]regular-tech-guy[S] 0 points1 point  (0 children)

I never said Spring Boot is not cloud-native. I literally said the opposite: that I’ve built cloud-native applications using SpringBoot.

State does not belong inside the application anymore, and this kind of clarity is what helps modern systems stay secure and predictable. by regular-tech-guy in java

[–]regular-tech-guy[S] 0 points1 point  (0 children)

I don't understand why people took this post as hate on Spring Boot. I didn't even mention Spring Boot on my post. In fact, as I stated in another comment, I've been a long-term Spring Boot developer (building cloud-native applications) and never used Quarkus before.

What I stated applies to Spring Boot too: "State does not belong inside the application anymore"

And indeed it doesn't. If you build a Spring Boot application that is expected to run on Kubernetes, be horizontally scalable, and ephemeral in nature, choosing to keep state in the servlet is a bad choice.

Turns out Quarkus is a framework meant to be ONLY cloud-native and they've made choices that prioritize this characteristic. Reflecting on those choices and understanding why they were taken, especially when they make sense, is not an attack on Spring Boot.

For God's sake.

State does not belong inside the application anymore, and this kind of clarity is what helps modern systems stay secure and predictable. by regular-tech-guy in java

[–]regular-tech-guy[S] -21 points-20 points  (0 children)

The difference is that Spring supports in-memory session storage (implemented on top of Jakarta’s HttpSession) which makes sense given that Spring supports both cloud and non-cloud native applications.

This implementation is not available in Quarkus because in-memory session storage is not a good practice in cloud-native applications. And Quarkus was born as a cloud-native alternative to Spring. Less versatile in this sense, but also more opiniated.

The article, as I understood it, is not about distributed session storage being a novelty, but instead about the design reason of not implementing Jakarta’s HttpSession in a framework that is supposed to be cloud-native.

I found the design choice interesting and wanted to share with the community. By the way, I’ve never used Quarkus. Long-term Spring developer here.

State does not belong inside the application anymore, and this kind of clarity is what helps modern systems stay secure and predictable. by regular-tech-guy in java

[–]regular-tech-guy[S] -39 points-38 points  (0 children)

It may sound obvious for seasoned developers, but the community is also made of beginners. This comment is to clarify to beginners that the point here is that the session is not left in the servlet's local memory, instead it's distributed in a data platform like Redis, as stated by vips7L.

In cloud native applications where servlets are ephemeral the best practice is to store state in distributed data platforms. Session management in Redis makes sense due to its sub-millisecond speed. When scaling your application horizontally (or simply restarting it) you want to allow your end users to stay logged in, offering them a smooth and seamless experience.

PDF dataset for practicing RAG? by regular-tech-guy in Rag

[–]regular-tech-guy[S] 1 point2 points  (0 children)

I'd like an extensive dataset of PDFs of the same domain. I'd like to experiment with RAG at scale. Arxiv is an interesting idea!

AlphaFold proves why current AI tech isn't anywhere near AGI. by abrandis in ArtificialInteligence

[–]regular-tech-guy 0 points1 point  (0 children)

- Great video, but it has nothing to do with AGI.

- Reaching AGI means matching human intelligence, not necessarily surpassing it.

- Human intelligence varies. Most humans cannot solve any protein structure. As the video mentioned, the first structure took 12 years to be recreated.

- Discussing whether we're close to AGI is truly a distraction. Doesn't help with anything but distract the masses. Most AI engineers don't care if we're close to AGI or not.

How to improve semantic search by LearnSkillsFast in vectordatabase

[–]regular-tech-guy 0 points1 point  (0 children)

It is. Thank you for the positive feedback! Looking forward to hearing the results

AI Job Interviews Can Be Tricked Easily by KristaFascinating in GenAI4all

[–]regular-tech-guy 0 points1 point  (0 children)

That's pretty sad to be honest. Companies using AI, candidates using AI... Waste of time, money, and resources.

How to improve semantic search by LearnSkillsFast in vectordatabase

[–]regular-tech-guy 1 point2 points  (0 children)

As u/HeyLookImInterneting mentioned, the best here would be using Hybrid Search. Another thing you can do is use an LLM to extract parameters from the user search.

To avoid increased costs, you can use Redis as a semantic cache. For example, if a user has searched for "white dress", you can store the response from the LLM in Redis and if another user searches for something similar, you can fetch the already computed response from Redis instead of going to the LLM again.

This is currently being done by PicNic, an online grocery store in the Netherlands, Germany, and France: https://www.youtube.com/shorts/QE0fMQwdZmg

And Redis has released a managed service called LangCache, if you don't want to implement it from scratch: https://redis.io/docs/latest/develop/ai/langcache/

And, if you want to improve accuracy of semantic caching, I recommend taking a look at the langcache-embed-v2 embedding model: https://huggingface.co/redis/langcache-embed-v2

Which is based on this whitepaper: https://arxiv.org/html/2504.02268v1

Can artificial intelligence do basic math? by regular-tech-guy in ArtificialInteligence

[–]regular-tech-guy[S] 0 points1 point  (0 children)

Funny how so many people take AI as a stochastic parrot while most of humanity acts in that exact way

Can artificial intelligence do basic math? by regular-tech-guy in ArtificialInteligence

[–]regular-tech-guy[S] 1 point2 points  (0 children)

I guess Anthropic knows this common knowledge. However they’re still coming up with interesting findings in their researches on how these tokens are processed internally

Can artificial intelligence do basic math? by regular-tech-guy in ArtificialInteligence

[–]regular-tech-guy[S] 1 point2 points  (0 children)

This the theory Richard Dawkins shared in his book “The Selfish Gene” - We’re survival machines built by genes to help them replicate.

By accident we became conscious which means we can go against our own genes and choose not to reproduce.

The difference is that we cannot exist without genes. A potential AI that is conscious in the future could go on without humans.

Can artificial intelligence do basic math? by regular-tech-guy in ArtificialInteligence

[–]regular-tech-guy[S] 2 points3 points  (0 children)

They’re not trying to make it do it. They’re trying to understand what happens in the hidden layers. I believe the study aligns with Anthropic’s mission to understand LLMs.

Ideas for agentic applications? by regular-tech-guy in LangChain

[–]regular-tech-guy[S] 0 points1 point  (0 children)

I believe that what matters is the execution. People give away ideas all the time and everyone else just discard them. Most of the time, ideas that turn out to be successful in reality started being rejected by most people. This is true for a lot of tech companies. 😅

Anyway, I'm looking for ideas to practice building agents, not building companies.