Snowe is sysadmin of programming.dev...
So source: Snowe
Snowe is sysadmin of programming.dev...
So source: Snowe
If you're using Entity Framework for the mssql, I doubt that this library would work as a substitute.
Because that linq gets parsed into expression trees and then send to the underlying provider (mssql/mysql etc) to be converted into sql. So if you you some non-standard library those providers won't be able to convert that linq to sql
Typescript itself is not really getting any faster, just transpiling Typescript to Javascript
Many people believe that the ToS was added to make Mozilla legally able to train AIs on the collected data.
"Don’t attribute to malice what is easily explained by incompetence"
So yea Mozilla wrote some terms that where ambiguous and could be interpreted in different ways, and 'many people believed' that they did this intentionally and had the worst intentions possible by their interpretation of the new ToS
Then Mozilla rewrote that ToS after seeing how people were interpreting the original ToS:
https://www.theverge.com/news/622080/mozilla-revising-firefox-terms-of-use-data
And yea, now 'many people will believe' that 'Mozilla revised their decision to do this after the backslash' - OR, it was never their intention and now phrased it better after the confusion
People just want to get their pitchforks out and start drama at any possible opportunity without evidence of wrongdoing... Mozilla added stupid stuff to the ToS, ok yea fair enough - but if they actually did "steal user data" - this would be very easily detectable with Wireshark or something
This feels like a personal attack
Programming.dev is hosting Iceshrimp: https://bytes.programming.dev
You could host your own instance, or if your opinion-pieces are programming related, post them there
It probably depends on the level of the criminals and organized crime groups. I saw this Youtube video a couple weeks ago that talks about the history of how organized crime groups were using encrypted communication https://www.youtube.com/watch?v=gigIOc_0PKo (And how they were honey-potted by the FBI to use an FBI-hosted service, lol)
Organized crime groups that make 100s of millions should be capable enough to hire skilled developers and sysops to host self-managed services. At some point if they make enough money, investing in self-managed communication becomes preferable over using telegram or signal.
No one's questioning why he's sorting it twice?
It's called embeddings in other models as well:
https://huggingface.co/blog/getting-started-with-embeddings
https://ollama.com/blog/embedding-models
Also some feedback, a bit more technical, since I was trying to see how it works, more of a suggestion I suppose
It looks like you're looping through the documents and asking it for known tags, right? ({str(db.current_library.tags)}.
)
I don't know if I would do this through a chat completion and a chat response, there are special functions for keyword-like searching, like embeddings. It's a lot faster, and also probably way cheaper, since you're paying barely anything for embeddings compared to chat tokens
So the common way to do something like this in AI would be to use Vectors and embeddings: https://platform.openai.com/docs/guides/embeddings
So - you'd ask for an embedding (A vector) for all your tags first. Then you ask for embeddings of your document.
Then you can do a Nearest Neighbor Search for the tags, and see how closely they match
I haven't used json(b) in a Spring app, so I can't say much about that.
Json vs Jsonb depends on the use-case. Inserting json is faster than inserting Jsonb. Reading json (based on searching for specific json properties) Jsonb is faster, because Jsonb is parsed into a more optimized tree.
From my experience, I don't really like doing selects based on json properties. If I know I'll be selecting a certain property, I usually add an additional column next to the json with the data, and insert that property there (At least in c#/dotnet, with EF) The frameworks don't have that much support for selecting within json (you can do it, it's just a lot more natively supported to use proper columns)
We also got fully self driving cars in 2 years though, in 2016....