Readit News logoReadit News
leduyquang753 commented on Problems with C++ exceptions   marler8997.github.io/blog... · Posted by u/signa11
leduyquang753 · 2 months ago
> … go on to talk about removing the required scope to avoid RAISI .. then go on to talk about compile-time enforcement of exception handling…

Is this an LLM prompt?

leduyquang753 commented on China's chip capabilities just 3 years behind TSMC, teardown shows   asia.nikkei.com/Business/... · Posted by u/rjzzleep
atleastoptimal · a year ago
I don't understand why there are such extreme export controls wrt China. Isn't a more technologically capable China better for everyone because it increases the supply of high-quality parts? Is it just revenge for Chinese nationals stealing IP ?
leduyquang753 · a year ago
The US's upper class is afraid of China taking over as the biggest economy in the world.
leduyquang753 commented on Firefox will consider a Rust implementation of JPEG-XL   github.com/mozilla/standa... · Posted by u/mariuz
leduyquang753 · a year ago
That sentiment is just so unnecessary but oh well Rust is literally their brain child so.
leduyquang753 commented on Google Search Is Now a Giant Hallucination   gizmodo.com/google-search... · Posted by u/rntn
jerojero · 2 years ago
Honestly it's becoming impossible to find information on the web.

A friend of mine wanted to find some lyrics and the lack of proper verbatim mode has made it impossible to know if he had the wrong lyrics or if the information is not there or if the search itself is failing.

If there are no matches whatsoever then tell me there's no matches. If there's partial matches tell me how close it is to my search terms. Like you might match all but one or two words and so on. These are the kind of useful features I'd expect on search.

The usefulness of AI, on my mind, might be more towards interpretation of the questions rather than generation of the answers.

If I were Google I'd try something like using genAI to rephrase the question to extract keywords and so on that can be used to enhance search. But then again, I think I put myself in a position of "how do we make search better and more accurate" and that's simply not the position Google finds themselves in.

leduyquang753 · 2 years ago
Your friend can still enclose the phrases of the lyrics with double quotes to force an exact match on each of them.

Dead Comment

leduyquang753 commented on Why not just do simple C++ RAII in C?   thephd.dev/just-put-raii-... · Posted by u/todsacerdoti
lionkor · 2 years ago
C has scopes. Add destructors. That's pretty much all you need to get most of the benefits of RAII.

You can add `defer` instead, but regardless, this has nothing to do with C++. You can implement safety features without having to copy the arguably worst language in the world, C++. I like C++, I wrote many larger projects in it, but it sucks to the very core. Just add RAII to C.

leduyquang753 · 2 years ago
Did you even read the article? The part where it talks about problems with destructors is about halfway through.
leduyquang753 commented on Apple supplier Foxconn among firms asked to cut power use in Vietnam   reuters.com/technology/ap... · Posted by u/mfiguiere
trustno2 · 2 years ago
Two random thoughts from visiting vietnam and talking with people

* in large parts of the country, there is just sun at least half of the year, yet solar power is basically non-existent, basically all (edit: not all, but most) is coal. if renewables are so great, why are there no solar panels anywhere, in a country that is all sun? I saw some wind turbines in the central mountains at least

* a lot of electricity is used on ACs, every house has at least one AC - how did people live before ACs were invented? can't imagine

leduyquang753 · 2 years ago
There used to be a solar program in Vietnam, which made everyone jump onto the bandwagon. Lack of infrastructure planning, however, meant all of that solar energy could overpower the grid, and so the program has been stopped. To date, one can install their own solar system, but the electricity would be bought by the government at a price of zero, and they cannot sell it to anyone else.
leduyquang753 commented on Computer scientists invent an efficient new way to count   quantamagazine.org/comput... · Posted by u/jasondavies
leduyquang753 · 2 years ago
In the algorithm depicted in the paper, if no elements manage to be eliminated from the set, why not just retry rather than return ⊥?

u/leduyquang753

KarmaCake day347July 7, 2021View Original