home.social

#correctness — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #correctness, aggregated by home.social.

fetched live
  1. Just wondering. If you speak of Native Americans, African Americans, Asian Americans… Shouldn’t the whites call themselves European Americans? #racism #patriarchy #political #correctness

  2. Just wondering. If you speak of Native Americans, African Americans, Asian Americans… Shouldn’t the whites call themselves European Americans? #racism #patriarchy #political #correctness

  3. While I really don't have much love for the Mistral products due to being way behind even cheap open weights Chinese models such as the Qwens, DeepSeeks etc of this world, this is an interesting (possibly new) approach:

    heise.de/news/Leanstral-1-5-Mi / heise.de/en/news/Leanstral-1-5

    With the money quote being:
    "In addition to mathematical proofs, Mistral demonstrates a pipeline for automatic bug detection in Rust projects. The tool Aeneas translates Rust code to Lean, after which Leanstral derives correctness properties and attempts to prove or disprove them. "

    This goes past the very elaborated statistical parrots that LLMs are and goes into the formal verification territory.

    As much as I understand this, this is closer to a model checking approach than what we had before and would in theory thus even allow to check for concurrency issues like race conditions etc reliably.

    The hard part there of course was to provide the provably correct bridge between the code to be tested and an efficient model checker representation of the same code. Asking the model checker smart "questions" is another part as is translating findings back to the original code.
    Since the LLMs guzzle up RAM and CPU already, the consumption of the model checkers / theorem provers isn't an issue anymore (as long as the model they're being fed is efficient...)

    Lets see how well the LLMs do on this work.

    I'm sure there are already US or Chinese models that do this or will replicate it in a months time.
    I think I read about Meta experimenting on this as well.

    Did I get the announcement right? Has anyone had their hands on said model+prover combo already? Is anyone aware of Chinese/US equivalent contraptions?
    Any updates @heiseonline @heisedeveloper can provide on those questions in the article, especially on competitors?

    #llm #ai #formalverification #modelchecker #modelchecking #concurrency #correctness #meta #mistralai #aeneas #leanstral

  4. While I really don't have much love for the Mistral products due to being way behind even cheap open weights Chinese models such as the Qwens, DeepSeeks etc of this world, this is an interesting (possibly new) approach:

    heise.de/news/Leanstral-1-5-Mi / heise.de/en/news/Leanstral-1-5

    With the money quote being:
    "In addition to mathematical proofs, Mistral demonstrates a pipeline for automatic bug detection in Rust projects. The tool Aeneas translates Rust code to Lean, after which Leanstral derives correctness properties and attempts to prove or disprove them. "

    This goes past the very elaborated statistical parrots that LLMs are and goes into the formal verification territory.

    As much as I understand this, this is closer to a model checking approach than what we had before and would in theory thus even allow to check for concurrency issues like race conditions etc reliably.

    The hard part there of course was to provide the provably correct bridge between the code to be tested and an efficient model checker representation of the same code. Asking the model checker smart "questions" is another part as is translating findings back to the original code.
    Since the LLMs guzzle up RAM and CPU already, the consumption of the model checkers / theorem provers isn't an issue anymore (as long as the model they're being fed is efficient...)

    Lets see how well the LLMs do on this work.

    I'm sure there are already US or Chinese models that do this or will replicate it in a months time.
    I think I read about Meta experimenting on this as well.

    Did I get the announcement right? Has anyone had their hands on said model+prover combo already? Is anyone aware of Chinese/US equivalent contraptions?
    Any updates @heiseonline @heisedeveloper can provide on those questions in the article, especially on competitors?

    #llm #ai #formalverification #modelchecker #modelchecking #concurrency #correctness #meta #mistralai #aeneas #leanstral

  5. A quotation from Robert Ingersoll

    All the martyrs in the history of the world are not sufficient to establish the correctness of an opinion. Martyrdom, as a rule, establishes the sincerity of the martyr, — never the correctness of his thought. Things are true or false in themselves. Truth cannot be affected by opinions; it cannot be changed, established, or affected by martyrdom. An error cannot be believed sincerely enough to make it a truth.

    Robert Green Ingersoll (1833-1899) American lawyer, freethinker, orator
    Lecture (1881-05-01) “The Great Infidels,” Booth’s Theater, New York

    More about this quote: wist.info/ingersoll-robert-gre…

    #quote #quotes #quotation #qotd #robertingersoll #robertgreeningersoll #zeal #belief #correctness #devotion #earnestness #martyr #martyrdom #opinion #reality #sacrifice #sincerity #truth

  6. A quotation from Cicero

    AUDITOR: By Hercules, I prefer to be wrong with Plato […] than to be right with those idiots.
     
    [Errare mehercule malo cum Platone […] quam cum istis vera sentire.]

    Marcus Tullius Cicero (106-43 BC) Roman orator, statesman, philosopher
    Tusculan Disputations [Tusculanae Disputationes], Book 1, ch. 17 (1.17) / sec. 39 (1.39) (45 BC) [tr. @sententiq (2012)]

    More about (and translations of) this quote: wist.info/cicero-marcus-tulliu…

    #quote #quotes #quotation #qotd #cicero #authority #bias #correctness #esteem #loyalty #partisanship #party #respect #right #truth #wrong

  7. A quotation from Douglas Adams

    SLARTIBARTFAST: I’d far rather be happy than right any day.
    ARTHUR: And are you?
    SLARTIBARTFAST: No, that’s where it all falls down, of course.
    ARTHUR: Pity, It sounded like quite a good lifestyle otherwise.

    Douglas Adams (1952-2001) English author, humorist, screenwriter
    Hitchhiker’s Guide to the Galaxy, Phase 1, “Fit the 4th” (BBC Radio) (1979-03-29)

    More about this quote: wist.info/adams-douglas/82517/

    #quote #quotes #quotation #qotd #douglasadams #hitchhikersguide #hitchhikersguidetothegalaxy #slartibartfast #arthurdent #correctness #happiness #lifestyle #rectitude

  8. A quotation from Douglas Adams

    SLARTIBARTFAST: I’d far rather be happy than right any day.
    ARTHUR: And are you?
    SLARTIBARTFAST: No, that’s where it all falls down, of course.
    ARTHUR: Pity, It sounded like quite a good lifestyle otherwise.

    Douglas Adams (1952-2001) English author, humorist, screenwriter
    Hitchhiker’s Guide to the Galaxy, Phase 1, “Fit the 4th” (BBC Radio) (1979-03-29)

    More about this quote: wist.info/adams-douglas/82517/

    #quote #quotes #quotation #qotd #douglasadams #hitchhikersguide #hitchhikersguidetothegalaxy #slartibartfast #arthurdent #correctness #happiness #lifestyle #rectitude

  9. 🚀 Ah, the age-old tale where #techie #wonderkids deliver the holy grail of perfection, only for it to be politely shoved aside because, heaven forbid, "comfort" isn't synonymous with "correctness" in organizations. 🤦‍♂️ Take solace in knowing that your technical genius will be appreciated by exactly zero living souls until the #apocalypse. 🌍💥
    raccoon.land/posts/technical-e #comfort #vs #correctness #organizational #challenges #tech #innovation #HackerNews #ngated

  10. 🚀 Ah, the age-old tale where #techie #wonderkids deliver the holy grail of perfection, only for it to be politely shoved aside because, heaven forbid, "comfort" isn't synonymous with "correctness" in organizations. 🤦‍♂️ Take solace in knowing that your technical genius will be appreciated by exactly zero living souls until the #apocalypse. 🌍💥
    raccoon.land/posts/technical-e #comfort #vs #correctness #organizational #challenges #tech #innovation #HackerNews #ngated

  11. The Power Of Using A Story For Better Data Comprehension And Hence Decision Making
    --
    doi.org/10.1080/15228053.2021. <-- shared book review, “Data Story: Explain Data And Inspire Action Through Story”
    --
    [I encountered this excellent graphic from @saurabh Rai, and went and explored the ideas put so succinctly here; I found, well, a technical story overview (link above) to ‘match’; however, this should not be considered an endorsement of this book]
    #data #storytelling #data #comprehension #presentation #story #frameworks #context #setting #dataquality #communication #usecase #robustness #insights #correctness #decisionmaking #narratives #decisions

  12. The Power Of Using A Story For Better Data Comprehension And Hence Decision Making
    --
    doi.org/10.1080/15228053.2021. <-- shared book review, “Data Story: Explain Data And Inspire Action Through Story”
    --
    [I encountered this excellent graphic from @saurabh Rai, and went and explored the ideas put so succinctly here; I found, well, a technical story overview (link above) to ‘match’; however, this should not be considered an endorsement of this book]

  13. In life-critical #engineering practice, #correctness and #reliability concerns always take precedence over cost, performance, and other factors.

    In modern business #software practice, #cost considerations and #LLM hallucinations reign supreme. No other factors seem worthy of a consideration.

  14. In life-critical #engineering practice, #correctness and #reliability concerns always take precedence over cost, performance, and other factors.

    In modern business #software practice, #cost considerations and #LLM hallucinations reign supreme. No other factors seem worthy of a consideration.

  15. #Programming in a #dependent #type system does not imply a blind obedience to the type system by the #programmer: not all types need be adorned with fully-dependent regalia. That is, the programmer selects the desired level of type specificity. For example, we may type the all-too-familiar \(\texttt{qsort}\) with progressively finer specificity, as follows:

    • Simple, parameterised typed:
    \[
    𝑞𝑠𝑜𝑟𝑡\ :\ [ℤ]→[ℤ]
    \]

    • Dependent, parameterised, indexed typed:
    \[
    qsort\ :\ (n : ℕ) ⇒ [ℤ\ n] → [ℤ\ n]
    \]

    • Fully-dependent, parameterised, indexed, predicated \(\Sigma\) type:
    \[
    𝑞𝑠𝑜𝑟𝑡\ :\ (𝑛:ℕ)⇒[ℤ\ 𝑛]→(𝑥𝑥:[ℤ\ 𝑛], 𝑆𝑜𝑟𝑡𝑒𝑑\ 𝑥𝑥)
    \]

    The closer we approach full dependence, the greater our burden of proof and the messier our #code. And the farther we retreat from full dependence, the less precise our type specifications and the weaker their #correctness guarantees.

    Such is the thug-life of a programmer....🤷‍♂️

  16. #Programming in a #dependent #type system does not imply a blind obedience to the type system by the #programmer: not all types need be adorned with fully-dependent regalia. That is, the programmer selects the desired level of type specificity. For example, we may type the all-too-familiar \(\texttt{qsort}\) with progressively finer specificity, as follows:

    • Simple, parameterised typed:
    \[
    𝑞𝑠𝑜𝑟𝑡\ :\ [ℤ]→[ℤ]
    \]

    • Dependent, parameterised, indexed typed:
    \[
    qsort\ :\ (n : ℕ) ⇒ [ℤ\ n] → [ℤ\ n]
    \]

    • Fully-dependent, parameterised, indexed, predicated \(\Sigma\) type:
    \[
    𝑞𝑠𝑜𝑟𝑡\ :\ (𝑛:ℕ)⇒[ℤ\ 𝑛]→(𝑥𝑥:[ℤ\ 𝑛], 𝑆𝑜𝑟𝑡𝑒𝑑\ 𝑥𝑥)
    \]

    The closer we approach full dependence, the greater our burden of proof and the messier our #code. And the farther we retreat from full dependence, the less precise our type specifications and the weaker their #correctness guarantees.

    Such is the thug-life of a programmer....🤷‍♂️

  17. A quotation from Judith Martin

    It is, indeed, a trial to maintain the virtue of humility when one can’t help being right.

    Judith Martin (b. 1938) American author, journalist, etiquette expert [a.k.a. Miss Manners]
    “Miss Manners,” syndicated column (1999-02-02)

    More info about this quote: wist.info/martin-judith/79642/

    #quote #quotes #quotation #qotd #judithmartin #missmanners #correctness #ego #falsemodesty #humility #modesty #pride #rectitude #selfrighteousness

  18. I found rfd.shared.oxide.computer/rfd/ today and really liked it! The examples of #async cancel safety are probably the most clear examples I've seen so far 😄

    Thanks @rain for putting this together! #rust #correctness

  19. I found rfd.shared.oxide.computer/rfd/ today and really liked it! The examples of #async cancel safety are probably the most clear examples I've seen so far 😄

    Thanks @rain for putting this together! #rust #correctness

  20. Nice – more code-samples would’ve made it better:

    “To Be a Better Programmer, Write Little Proofs In Your Head”, Nerve (the-nerve-blog.ghost.io/to-be-).

    Via HN: news.ycombinator.com/item?id=4

    See Also: “The Science Of Programming”, by David Gries.

    #Programming #Proofs #Correctness

  21. Nice – more code-samples would’ve made it better:

    “To Be a Better Programmer, Write Little Proofs In Your Head”, Nerve (the-nerve-blog.ghost.io/to-be-).

    Via HN: news.ycombinator.com/item?id=4

    See Also: “The Science Of Programming”, by David Gries.

    #Programming #Proofs #Correctness

  22. A quotation from C. C. Colton

    Pedantry prides herself on being wrong by rules; while common sense is contented to be right without them.

    Charles Caleb "C. C." Colton (1780-1832) English cleric, writer, aphorist
    Lacon: Or, Many Things in Few Words, Vol. 1, § 48 (1820)

    Sourcing, notes: wist.info/colton-charles-caleb…

    #quote #quotes #quotation #qotd #cccolton #bureaucracy #commonsense #correctness #error #legalism #pedantry #procedure #rules

  23. 🚀 Welcome to the parallel universe where #AWS apparently cares about 'correctness' instead of just 'scale now, patch later.' 🤖 The only thing larger than their server farms is their #audacity in claiming they can teach anybody about #security and #privacy. 😂
    cacm.acm.org/practice/systems- #Correctness #HackerNews #ngated

  24. 🚀 Welcome to the parallel universe where #AWS apparently cares about 'correctness' instead of just 'scale now, patch later.' 🤖 The only thing larger than their server farms is their #audacity in claiming they can teach anybody about #security and #privacy. 😂
    cacm.acm.org/practice/systems- #Correctness #HackerNews #ngated

  25. If you work with #LLVM IR and require type information a friend has just published the initial release of the library llvm-dimeta. it uses LLVM debug information to restore type information for your program's allocations.

    Check it out at github.com/ahueck/llvm-dimeta

    #software #softwareengineering #clang #compiler #correctness

  26. My #computing is far too important for me to be pacified by mere #MemorySafety. I demand actual #correctness.

  27. My #computing is far too important for me to be pacified by mere #MemorySafety. I demand actual #correctness.

  28. If you are curious about our #unittest approach with #OMPT for #OpenMP implementations (at least the one in #ROCm ) check out our paper on it at #sc24 !

    I will be talking about it at the #Correctness workshop.

    sc24.conference-program.com/pr

  29. After accounting for all variables, we're seeing something funny when subtracting backgrounds that put question marks on fundamental background subtraction practices in scattering.
    So I wrote a little bit about it:

    #science #scattering #rigour #correctness

    lookingatnothing.com/index.php

  30. This 👆🏽 article by the creator of #Rust is a must-read for #PLDI folks to understand why it has “mutable XOR aliased” #references, a borrow-checker, and could drop #GarbageCollection to become a #SystemsProgramming language. 👌🏽

    #Logic #FormalVerification #Correctness

  31. @schmudde

    This story is perfect and so, so beautiful. On so many levels.

    As an insight into creativity; as a glimpse into CS history; as an example of "quality assurance by getting it right in the first place". And told beautifully, a piece of perfect prose.

    #Multics #programming #design #creativity #correctness #QualityAssurance #TomVanVleck #AndreBenSoussan