dingaling911
struct string_view { const char * ref; }
Where ref comes from the temporary string constructed via Sanitize("foobarbaz"). When that expression is done, the temporary string is destructed, leaving a dangling pointer.And the bug comes from the temporary string object created when he passes in the string to Sanitize.
Sanitize("foobarbaz") -> creates temporary string -> string_view from temporary string -> returns string_view of temporary string
temporary string destructed
operations on returned string_view -> oops, use after free.q
The real fix is don't pass in a temporary to the sanitize function.
The stock price recovered. This is a fact. From 20 to 60.
Cannot be argued.
The business will take time to recover. There is no other way. Either it takes time to recover, or it never does. One year is not remotely enough time to know.
It closed today above $60.
That's a stock recovery.
I was very specific. I said stock. That's a recovery.
It takes forever to do anything new in hardware.
This is unfortunately a VERY long game.
Big companies are like big ships. Takes a LONG time to turn.
Game is not over yet.
They bailed out Intel and the stock recovered.
Might do the same.
If China is smart, they'll make the entire pipeline available open source.
Do you mean Chinese hosted models?
Because if you're avoiding anything from China, you're going to be sitting in a shack on the side of the road.
Most calculations are trivial.
Pretty sure the LLMs could implement tax calculations better than the average accountant, were they given the rules.
People are, on average, too stupid to make good use of AI to the point where you can actually gain massive productivity.
The pointy haired bosses are going to do their usual approach: force people to work more, claim success, move on.
I wonder if not having to deal with women as a straight man frees up some part of the brain for more productive uses.
Unfortunately, I love women so I can only be an application programmer.
They WILL fire some people.
But the entire substrate of corporate america depends on empire building.
People need people.
AI will never fully replace people because PEOPLE literally can't replace people.
Therefore, people will always be needed.
Be likeable. Learn to kiss ass. Be competent. Be aggressive.
You will be fine.
To me, it makes sense that we start being more rigid in how we specify so we don't ever need to look at the code generated by LLMs.
Of course I’m the type to mount a ftp drive like a moron.