home.social

#cfg — Public Fediverse posts

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

fetched live
  1. The think tank #cfg has published a very interesting analysis about how existing EU laws like the #AIAct, #GDPR, #DSA, and #DMA can address and regulate various #AI products and services and how the industry is trying to evade responsibility by claiming "AI" was too novel a thing to fall under these laws.

    cfg.eu/enforcement-spotlight-s

  2. @jmcnamara Assumptions about openssl, sometimes x86_64 specific carve outs with #cfg[], sometimes very specific Linuxisms not gated behind a platform check, all sorts of fun silly things!

  3. Поиск потенциальных уязвимостей в коде, часть 2: практика

    В прошлый раз мы ознакомились с общими подходами в поиске уязвимостей безопасности в приложениях. В этот раз спустимся ближе к земле и посмотрим на то, как мы реализовали эти механизмы в нашем статическом анализаторе для Java.

    habr.com/ru/companies/pvs-stud

    #sast #taint #taint_analysis #cfg #defuse #call_graph #inheritance_graph #security #dataflow #static_analysis

  4. Поиск потенциальных уязвимостей в коде, часть 1: теория

    Риски наличия уязвимостей безопасности всем известны: нарушение работы приложения, потеря данных или их конфиденциальности. В этой статье мы посмотрим на наглядных примерах фундаментальную сторону подхода, при котором уязвимости можно находить ещё на этапе разработки.

    habr.com/ru/companies/pvs-stud

    #sast #taint #taint_analysis #cfg #defuse #ssa #call_graph #security #dataflow #static_analysis

  5. Продолжение статьи про CFG Scale | математика, плюсы и минусы метода

    В этой главе будут рассмотрены все необходимые аспекты для понимания механизмов работы CFG Scale, а также плюсы и минусы подхода с математическими примерами. Решил собрать все самое важное в одном месте без воды. В предыдущей части с помощью иллюстраций, сравнений, примеров и метафор я показал, что такое CFG Scale. В этой же части я продемонстрирую вам математический аппарат и зайду немного с другой стороны, показав вам внутреннюю математику, оказавшуюся довольно‑таки простой.

    habr.com/ru/articles/845746/

    #ai #artificial_intelligence #ии #искусственный_интеллект #нейросети #stable #flux #cfg #cfg_scale #gan

  6. Context free grammars (CFG) are better than parsing expression grammars (PEG), because CFGs represent how we think.

    Parser combinators are similar to PEGs, so they are worse than CFGs, too.

    So, don't use Rust libraries nom, combine. Use lalrpop.

    Don't use Haskell libraries parsec, gigaparsec, attoparsec, megaparsec, trifecta. Use Earley, happy.

    See more detailed story in my new article safinaskar.writeas.com/this-is .

    The story also includes some cases, where PEG and parser combinators may still be useful. Also, the article gives links to my Haskell parsing libraries.

    #haskell #rust #parsing #parse #cfg #peg #combinators #parsercombinators #parsingcombinators #nom #combine #lalrpop #parsec #earley #happy

  7. @valpackett just trying to think of a way to avoid too many `#cfg` for this and maybe not expose this in the `Socket` trait but yeah probably not worth it. I'll think about it..

  8. 6 RWA Crypto To Buy As Bitcoin Plummets 10% In A Week​​ - The Real World Assets (RWA) sector, represented by unique tokens linked to tangible and i... - coingape.com/markets/6-rwa-cry #bitcoin(btc)price #priceanalysis #mantradao #ondoprice #cfg #gfi #lcx #xdc

  9. @MadMike77 You might be able to use a feature. Have your tracking operate through a function call, and in the function definition,

    ···
    [#cfg(tracking)]
    fn track(args, blah, etc) {
    // tracking logic goes here
    }

    [#cfg(not(tracking))]
    fn track(args, blah, etc) {
    // this version is a no-op
    }
    ···

  10. Do you know snarXiv?

    🎓 Its a paper title genetor trained on the high-energy physics part of arXiv.

    🎲 It can be a lot of fun to try to guess which is a real paper on snarxiv.org/vs-arxiv/

    A fun blog post by the author about the project: davidsd.org/2010/09/the-arxiv-

    #ContextFreeGrammar #CFG

  11. @codesections Just turn off the Clippy rule for boolean match statements then; that's a I think. You know better than it.

    Or, better still, submit a patch to Clippy. I don't know the procedure for that, so it might be more work than it's worth for you.