Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

Scheduled Pinned Locked Moved Uncategorized
140 Posts 61 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

    @porglezomp there's explanatory text that says the issue with the identifier "found" is that it's rarely used

    Link Preview Image
    porglezomp@mastodon.socialP This user is from outside of this forum
    porglezomp@mastodon.socialP This user is from outside of this forum
    porglezomp@mastodon.social
    wrote last edited by
    #12

    @whitequark I really love “not changing endl to \n” listed as a style issue when that changes buffer flushing behavior.

    whitequark@social.treehouse.systemsW 1 Reply Last reply
    0
    • porglezomp@mastodon.socialP porglezomp@mastodon.social

      @whitequark I really love “not changing endl to \n” listed as a style issue when that changes buffer flushing behavior.

      whitequark@social.treehouse.systemsW This user is from outside of this forum
      whitequark@social.treehouse.systemsW This user is from outside of this forum
      whitequark@social.treehouse.systems
      wrote last edited by
      #13

      @porglezomp did you notice that one of the If tokens is capitalized in the output

      porglezomp@mastodon.socialP 1 Reply Last reply
      0
      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

        @porglezomp did you notice that one of the If tokens is capitalized in the output

        porglezomp@mastodon.socialP This user is from outside of this forum
        porglezomp@mastodon.socialP This user is from outside of this forum
        porglezomp@mastodon.social
        wrote last edited by
        #14

        @whitequark hahaha I did not

        1 Reply Last reply
        0
        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

          @porglezomp you'll love Fig. 6

          xgranade@wandering.shopX This user is from outside of this forum
          xgranade@wandering.shopX This user is from outside of this forum
          xgranade@wandering.shop
          wrote last edited by
          #15

          @whitequark @porglezomp I'm spitting out my drink at j++ ­→ j--. Holy shit.

          robin@gts.icewind.meR sabik@rants.auS 2 Replies Last reply
          0
          • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

            i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

            the "ideal" (their choice of words) case is 64.2%

            uep@timeloop.cafeU This user is from outside of this forum
            uep@timeloop.cafeU This user is from outside of this forum
            uep@timeloop.cafe
            wrote last edited by
            #16

            @whitequark you know where there's a ready source of additional words? you surely will not regret sourcing additional words.

            1 Reply Last reply
            0
            • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

              i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

              the "ideal" (their choice of words) case is 64.2%

              matthewcroughan@social.defenestrate.itM This user is from outside of this forum
              matthewcroughan@social.defenestrate.itM This user is from outside of this forum
              matthewcroughan@social.defenestrate.it
              wrote last edited by
              #17
              Got a link?
              whitequark@social.treehouse.systemsW 1 Reply Last reply
              0
              • matthewcroughan@social.defenestrate.itM matthewcroughan@social.defenestrate.it
                Got a link?
                whitequark@social.treehouse.systemsW This user is from outside of this forum
                whitequark@social.treehouse.systemsW This user is from outside of this forum
                whitequark@social.treehouse.systems
                wrote last edited by
                #18

                @matthewcroughan https://upload.whitequark.org/1774306843-Duetcs_Code_Style_Transfer_through_Generation_and_Retrieval.pdf

                1 Reply Last reply
                0
                • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                  i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                  the "ideal" (their choice of words) case is 64.2%

                  G This user is from outside of this forum
                  G This user is from outside of this forum
                  gerardthornley@hachyderm.io
                  wrote last edited by
                  #19

                  @whitequark not a paper *deliberately* about genetic algorithms, then?

                  1 Reply Last reply
                  0
                  • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                    i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                    the "ideal" (their choice of words) case is 64.2%

                    fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                    fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                    fuzzyfuzzyfungus@cyberplace.social
                    wrote last edited by
                    #20

                    @whitequark "Code style generally does not interfere
                    with the code semantics and executability"; but we present novel methods for it to do so!

                    1 Reply Last reply
                    0
                    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                      this isn't satire, this is real research published by IEEE/ACM

                      disorderlyf@todon.euD This user is from outside of this forum
                      disorderlyf@todon.euD This user is from outside of this forum
                      disorderlyf@todon.eu
                      wrote last edited by
                      #21

                      @whitequark So let me get this straight, IEEE thinks you should count it as a win if rewriting your code by vibing it has less than 15% better odds than a literal coinflip of reproducibility?

                      edited for clarity and to fix a typo

                      urixturing@hachyderm.ioU sammy@cherrykitten.gayS 2 Replies Last reply
                      0
                      • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                        this isn't satire, this is real research published by IEEE/ACM

                        deborahh@cosocial.caD This user is from outside of this forum
                        deborahh@cosocial.caD This user is from outside of this forum
                        deborahh@cosocial.ca
                        wrote last edited by
                        #22

                        @whitequark @danlyke so … by "reformatted" I assume you mean aesthetically tidied up, with no change in functionality required?

                        If I got that right: wtf?

                        whitequark@social.treehouse.systemsW mrkeen@mastodon.socialM 2 Replies Last reply
                        0
                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                          i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                          the "ideal" (their choice of words) case is 64.2%

                          ireneista@adhd.irenes.spaceI This user is from outside of this forum
                          ireneista@adhd.irenes.spaceI This user is from outside of this forum
                          ireneista@adhd.irenes.space
                          wrote last edited by
                          #23

                          @whitequark compare and contrast the Extreme Programming philosophy, in which a code change doesn't count as "refactoring" unless all observable behavior is identical

                          krans@mastodon.me.ukK whitequark@social.treehouse.systemsW 2 Replies Last reply
                          0
                          • deborahh@cosocial.caD deborahh@cosocial.ca

                            @whitequark @danlyke so … by "reformatted" I assume you mean aesthetically tidied up, with no change in functionality required?

                            If I got that right: wtf?

                            whitequark@social.treehouse.systemsW This user is from outside of this forum
                            whitequark@social.treehouse.systemsW This user is from outside of this forum
                            whitequark@social.treehouse.systems
                            wrote last edited by
                            #24

                            @deborahh @danlyke this is what a reasonable person would understand to be "code style", yes

                            nxskok@cupoftea.socialN 1 Reply Last reply
                            0
                            • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                              i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                              the "ideal" (their choice of words) case is 64.2%

                              lu_leipzig@troet.cafeL This user is from outside of this forum
                              lu_leipzig@troet.cafeL This user is from outside of this forum
                              lu_leipzig@troet.cafe
                              wrote last edited by
                              #25

                              @whitequark And this is how research money is lit on fire, I guess. Why else conduct research into ML for a task that has had obvious, deterministic, efficient and well-tested solutions for decades?

                              whitequark@social.treehouse.systemsW srazkvt@tech.lgbtS 2 Replies Last reply
                              0
                              • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                @porglezomp you'll love Fig. 6

                                fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                                fuzzyfuzzyfungus@cyberplace.socialF This user is from outside of this forum
                                fuzzyfuzzyfungus@cyberplace.social
                                wrote last edited by
                                #26

                                @whitequark @porglezomp This looks like it could join the current crop of "DLSS5 off/DLSS5 on" memes.

                                1 Reply Last reply
                                0
                                • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

                                  @whitequark compare and contrast the Extreme Programming philosophy, in which a code change doesn't count as "refactoring" unless all observable behavior is identical

                                  krans@mastodon.me.ukK This user is from outside of this forum
                                  krans@mastodon.me.ukK This user is from outside of this forum
                                  krans@mastodon.me.uk
                                  wrote last edited by
                                  #27

                                  @ireneista TIL that my philosophy is the same as the Extreme Programming philosophy

                                  @whitequark

                                  ireneista@adhd.irenes.spaceI 1 Reply Last reply
                                  0
                                  • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

                                    @whitequark compare and contrast the Extreme Programming philosophy, in which a code change doesn't count as "refactoring" unless all observable behavior is identical

                                    whitequark@social.treehouse.systemsW This user is from outside of this forum
                                    whitequark@social.treehouse.systemsW This user is from outside of this forum
                                    whitequark@social.treehouse.systems
                                    wrote last edited by
                                    #28

                                    @ireneista i like how it starts with this (left) and ends with "here is a variable we think would be good here. Do you like this" (right)

                                    whitequark@social.treehouse.systemsW 1 Reply Last reply
                                    0
                                    • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                      @ireneista i like how it starts with this (left) and ends with "here is a variable we think would be good here. Do you like this" (right)

                                      whitequark@social.treehouse.systemsW This user is from outside of this forum
                                      whitequark@social.treehouse.systemsW This user is from outside of this forum
                                      whitequark@social.treehouse.systems
                                      wrote last edited by
                                      #29

                                      @ireneista starting with "gotofail bad" and ending with making the problem significantly worse, apparently without ever reflecting on this

                                      ireneista@adhd.irenes.spaceI 1 Reply Last reply
                                      0
                                      • lu_leipzig@troet.cafeL lu_leipzig@troet.cafe

                                        @whitequark And this is how research money is lit on fire, I guess. Why else conduct research into ML for a task that has had obvious, deterministic, efficient and well-tested solutions for decades?

                                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                                        whitequark@social.treehouse.systemsW This user is from outside of this forum
                                        whitequark@social.treehouse.systems
                                        wrote last edited by
                                        #30

                                        @lu_leipzig I actually really don't like formatters like black or rustfmt which is why I'm collaborating on research into doing it with ML, but there are ways to do it that never produce a different AST

                                        lu_leipzig@troet.cafeL argv_minus_one@mastodon.sdf.orgA 2 Replies Last reply
                                        0
                                        • whitequark@social.treehouse.systemsW whitequark@social.treehouse.systems

                                          i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

                                          the "ideal" (their choice of words) case is 64.2%

                                          going_to_maine@mastodon.socialG This user is from outside of this forum
                                          going_to_maine@mastodon.socialG This user is from outside of this forum
                                          going_to_maine@mastodon.social
                                          wrote last edited by
                                          #31

                                          @whitequark so excited about astral being acquired...

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups