No one’s questioning why he’s sorting it twice?
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)
Recruitment is now basically Dead Internet theory…
Because Wordpress is also hosting 1000s of plugins that WP engine users can install.
I’m not sure what the license regarding those things is, WP engine could probably just mirror it -
But they basically got locked out of the default ecosystem infrastructure.
Since others already suggested mostly on-topic suggests, here’s an alternative suggestion:
Instead of looking specifically for a mentor - look for an open source project that you can help with. Ideally one with a discord or something to it’s easy to be in contact the the lead dev. A lot people don’t mind mentoring juniors, but in my experience it doesn’t happens that explicitly - “be my mentor” - and it might sound like you’re asking them a lot.
If you invert it into “Hey I wanna help you with your open-source project, but I don’t really know what to do, what your expectations are, how to implement a specific feature” - then you’re offering to do work them, instead of asking for something. And implicitly you’ll get mentorship in return.
And “real” projects probably also look better on your github / portfolio than only some dummy projects for learning purposes
That doesn’t really work all the time, because large files or large commits are lazy loaded on scroll, so what you’re searching might not have loaded yet
The code search does a server side search
No, not some internal company, just Microsoft being Microsoft. So all Windows pipelines. They also have Linux based pipelines so not completely all pipelines.
But given that a lot of people build dotnet stuff on Azure, the ‘windows-latest’ image is usually the default. So a lot of pipelines
That’s not a Discord bot, it’s a Slack RSS App / RSS subscription.
Event Source: https://status.dev.azure.com/_event/543117809
It’s pretty useful ‘for work’ because occasionally you’ll get notifications when parts of infra might be down (like your build server)
It’s more the fault of the implementation and documentation.
Yea sure. Though it’s slightly XMLs fault for allowing that kinda implementations. Every random thing is in it’s own obscure namespace with 20 levels of nested objects in different namespaces, and if you get anything wrong it barely explains what’s wrong, and just refuses to work.
It’s mostly WCFs fault. I just automatically associate XML with nightmare flashbacks of implementing WCF stuff
Uh-huh… ever tried to integrate with a poorly implement WCF service? Like communication from a Java service to a dotnet service through a WSDL?
I’ll take a json API over XML any day
At some I added logging to a thread pool, when it gave up on child-threads, it would be logging things like
“Child 123 is being aborted”
Not the best of phrasing for people that didn’t know what that was about…
Omg it’s sooo daammmn slooow it takes around 30 seconds to bulk - insert 15000 rows
Do you have any measurements on how long it takes when you just ‘do it raw’? Like trying to do the same insert though SQL Server Management Studio or something?
Because to me it’s not really clear what’s slow. Like you’re complaining specifically about the Microsoft ODBC driver - but do you base that on anything? Can you insert faster from Linux or through other means?
Like if it’s just ‘always slow’ it might just be the SQL Server. If you can better pinpoint when it’s slow, and when it’s fast(er) that probably helps to tell how to speed it up
When I stopped, subversion was what we used. I’m trying to understand Git, but it’s a giant conceptual leap.
It’s probably not ‘that much of a leap’ as you imagine. If you’re looking at Git tutorials, they’re usually covering all kinda complex scenarios of how to ‘properly use Git’. But a lot of people barely care about ‘properly using Git’ and they just kinda use it as a substitute for SVN… You create branches, you merge them back and forth, and that’s about it.
Like if you want to contribute to an open source project, all you have to do is create a fork (your own branch in SVN terms) - commit some stuff to it, and create a pull request (request to have your changes merged) back to the original branch. git pull
is just svn update
- getting someone elses commits
Not saying there aren’t more complex features in git, or that learning git properly isn’t worth it, just saying, I don’t think you have to see it as a ‘giant conceptual leap’ that’s preventing you from jumping back into programming. Easiest approach just to get started would be probably to just download a GUI like Sourcetree or Fork, and you just kinda pretend you’re still using SVN - approach wise
That laser at the end should have been Java Technology™ ;
You point it at anything, and end up with a huge dumpster fire… Sounds like Java to me
Problem Details for HTTP APIs - I have to work and integrate with a lot of different APIs and different kinda implementations of error handling. Everyone seems to be inventing their own flavor of returning errors.
My life would be so much easier if everyone just used some ‘global unified’ way to returning errors, all in the same way
What are you building, it depends a bit on your usecase
Otherwise c# Blazor compiles to WASM
This feels like a personal attack