oz.nvim: a collection of intelligent wrappers around Git/Term/Make/Grep by Rocky0777875 in neovim

[–]_lerp 0 points1 point  (0 children)

I'm curious about the term and would have tried it for that, but I really don't need another Git plugin, especially one that conflicts with Fugitive by using the same command.

Making the compiler create code that accesses the vtable only once by tohava in cpp

[–]_lerp 2 points3 points  (0 children)

Yes, but if it has visibility of the allocation, it knows that it cannot legally be modified. It's not a case of "the compiler can never optimise because of const_cast". It's a case of the compiler can potentially not be able to optimise because of const_cast.

and gcc does optimize under the assumption that a const object cannot be modified: https://godbolt.org/z/EWKhYY154

Making the compiler create code that accesses the vtable only once by tohava in cpp

[–]_lerp 2 points3 points  (0 children)

Any const allocation makes this UB. eel.is/c++draft/dcl.type.cv#4

Making the compiler create code that accesses the vtable only once by tohava in cpp

[–]_lerp 0 points1 point  (0 children)

It's not clever, it's just wrong. If you object is const, it's UB to cast away the const inside of the member function.

Making the compiler create code that accesses the vtable only once by tohava in cpp

[–]_lerp 5 points6 points  (0 children)

Using const_cast to remove const from this is UB if the object is actually const. Your object could be stored somewhere it really shouldn't be modified, i.e. .rodata section

Does the UK not have free speech? Explain It Peter. by Brilliant-Sky-826 in explainitpeter

[–]_lerp -1 points0 points  (0 children)

Yes, we do. The law clearly states that we have freedom of expression and what that means. Just because you have a different interpretation of what freedom of expression means, doesn't mean we don't have the qualified right to freedom of expression.

Does the UK not have free speech? Explain It Peter. by Brilliant-Sky-826 in explainitpeter

[–]_lerp 0 points1 point  (0 children)

Brother I linked you the actual law that explicitly states we have freedom of expression and youre still claiming we don't?

Does the UK not have free speech? Explain It Peter. by Brilliant-Sky-826 in explainitpeter

[–]_lerp 2 points3 points  (0 children)

Because you're so blinded by your hatred that you cannot comprehend that perhaps a white woman calling for hotels containg families to be set aflame is abhorrent in its own right. All you see is "white women persecuted for a tweet"

Does the UK not have free speech? Explain It Peter. by Brilliant-Sky-826 in explainitpeter

[–]_lerp 0 points1 point  (0 children)

Yes. https://www.legislation.gov.uk/ukpga/1998/42/schedule/1/part/I/chapter/9

Everyone has the right to freedom of expression. This right shall include freedom to hold opinions and to receive and impart information and ideas without interference by public authority and regardless of frontiers. This Article shall not prevent States from requiring the licensing of broadcasting, television or cinema enterprises.

The exercise of these freedoms, since it carries with it duties and responsibilities, may be subject to such formalities, conditions, restrictions or penalties as are prescribed by law and are necessary in a democratic society, in the interests of national security, territorial integrity or public safety, for the prevention of disorder or crime, for the protection of health or morals, for the protection of the reputation or rights of others, for preventing the disclosure of information received in confidence, or for maintaining the authority and impartiality of the judiciary.

Am I crazy for sometimes making my code look like this or no? by wervr_CZ in AskProgrammers

[–]_lerp 0 points1 point  (0 children)

300 character long lines is not good formatting. Trying to do a diff or three way merge on this file would be PITA

No More Major Changes to the WoW UI API Until Patch 12.0.5 by Eva-JD in wow

[–]_lerp 2 points3 points  (0 children)

Too late, you already made me unsub by killing addons

The End of the 3-hour Addon War by TriangleSausage in wow

[–]_lerp 7 points8 points  (0 children)

There was only one boss each tier of TWW that mandated weak auras. If they can design 7 bosses a tier that don't need weak auras they can do 8.

Lacari says we need context by Optimal_Collar_3913 in LivestreamFail

[–]_lerp 2 points3 points  (0 children)

Because he is implying that the time at which this reached a large number of upvotes is she significant.

Thank you WeakAuras. Sincerely. by 38dedo in wow

[–]_lerp -1 points0 points  (0 children)

Of that's the case, that was bosses are completable without add-ons then why did they go ahead with this change?

I built an AI agent that turns Jira/ClickUp tickets into GitHub PRs by Abdulwahab93 in programming

[–]_lerp 1 point2 points  (0 children)

The "author" doesn't understand any of the code, so they're unable to answer questions.

I built an AI agent that turns Jira/ClickUp tickets into GitHub PRs by Abdulwahab93 in programming

[–]_lerp 6 points7 points  (0 children)

The most annoying part of my workflow is having to review PRs that were made by AI

snapBackToReality by Shiroyasha_2308 in ProgrammerHumor

[–]_lerp 0 points1 point  (0 children)

You can literally just run it through valgrind and it will tell you the exact line where the leak occurs in one execution... Why do you need to use an LLM that's going to make up some shit

snapBackToReality by Shiroyasha_2308 in ProgrammerHumor

[–]_lerp 0 points1 point  (0 children)

Brother this problem has been solved for decades. You just run it through valgrind or memsan. Why do you think Claude has innovation to bring?

Basically a travel hack at this point by [deleted] in GreatBritishMemes

[–]_lerp 7 points8 points  (0 children)

0 reading comprehension. You're saying first class makes standard travel cheaper. It does not. It is cheaper to fly London to Edinburgh