

I don’t even understand what that guy is trying to sell. Is it some kind of picture of a monkey ?
I don’t even understand what that guy is trying to sell. Is it some kind of picture of a monkey ?
auto v = std::vector<bool>(8);
bool* vPtr = v.data;
vPtr[2] = true;
// KABOOM !!!
I’ve spent days tracking this bug… That’s how I learned about bool specialisation of std::vector.
Clickbait…
Too bad, what he did is really nice, but advertising it as a fusion reactor made using AI Chatbot just kill everything.
Not all heroes wear capes.
Poor internet connection/no internet at all, network latency too high for their needs, specific fine tuned LLM ?
Off course, main reason is privacy. My company host its own GPT4 chatbot, and forbid us to use public ones. But I suppose there are other legit use case to host its own LLM.
Maybe worth to mention that bitwarden also propose bitwarden.eu to host data in Europe. I’ve used bitwarden.com for years, and switch to bitwarden.eu a few month ago because of reasons, you know…
I comment because this is how a social network works, and this is how you keep lemmy alive. My comment has generated a dozen of other comments, so he achieved his goal.
There is not a single question that’s already have been answered on internet, so there no point on asking anything on social plateforms except just for the sake of interacting with other peoples.
Lemmy is not stackoverflow 😉
Don’t know how list are implemented in Python. But in the dumb linked list implementation (like C++ std::list), each element has a “next” member that point the the next element. So, to have list length, you have to do (pseudo code, not actual python code):
len = 0
elt = list.fisrt
while exist(elt):
elt = elt.next
len++
return len
Whereas to test if list is empty, you just have to:
return exist(list.first)
Isn’t it because list is linked list, so to get the Len it has to iterate over the whole list whereas to get emptyness it just have to check if there is a 1st element ?
I’ too lazy to read the article BTW.
No, cause I’m french and the only time I see guns is where there are military or police on patrol.
However, I did some air rifle when I was younger and it happen the club I was in had an ex olympic champion as member. He let me tried its olympic air rifle. Smth like this:
Such beautiful piece of machining ! But I didn’t shoot better with it 😂
It’s a bit strange. On one side you talk about a project you work on, so I expect a repo on github or something, on the other side the link you post redirect to a product or a service you seems to sell.
It’s cool if you can make money with it, but to be more effective you might have to clarify your point.