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 opened a technical blog post and left the tab to read later, only to discover it was choking the browser to death with a sudoku-solving neural network embedded as a proof of concept ballooning to 5GB

I opened a technical blog post and left the tab to read later, only to discover it was choking the browser to death with a sudoku-solving neural network embedded as a proof of concept ballooning to 5GB

Scheduled Pinned Locked Moved Uncategorized
15 Posts 9 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.
  • outfrost@mastodon.socialO outfrost@mastodon.social

    @0xabad1dea the web was a mistake

    rogerbw@discordian.socialR This user is from outside of this forum
    rogerbw@discordian.socialR This user is from outside of this forum
    rogerbw@discordian.social
    wrote last edited by
    #6

    @outfrost @0xabad1dea JavaScript was a mistake. My machine, my choice of programs to run on it.

    outfrost@mastodon.socialO 1 Reply Last reply
    0
    • rogerbw@discordian.socialR rogerbw@discordian.social

      @outfrost @0xabad1dea JavaScript was a mistake. My machine, my choice of programs to run on it.

      outfrost@mastodon.socialO This user is from outside of this forum
      outfrost@mastodon.socialO This user is from outside of this forum
      outfrost@mastodon.social
      wrote last edited by
      #7

      @RogerBW @0xabad1dea are you sure it's just js

      https://infosec.exchange/@rebane2001/116123227412288110

      1 Reply Last reply
      0
      • 0xabad1dea@infosec.exchange0 0xabad1dea@infosec.exchange

        I opened a technical blog post and left the tab to read later, only to discover it was choking the browser to death with a sudoku-solving neural network embedded as a proof of concept ballooning to 5GB

        amorpheus@kind.socialA This user is from outside of this forum
        amorpheus@kind.socialA This user is from outside of this forum
        amorpheus@kind.social
        wrote last edited by
        #8

        @0xabad1dea Solving Sudoku with NN using 5G memory is no proof of concept, it is a proof of cluelessness.

        For a 5x5 Sudoku you need a FNN with 25 inputs, 3 outputs and about 50 hidden nodes, thus 1400 weights. No recurrency needed as the problem is time invariant. So you'd need about 10kB memory for the network and about 20kB for interops.

        Don't blame Javascript. Blame the author... 🙂

        0xabad1dea@infosec.exchange0 1 Reply Last reply
        0
        • amorpheus@kind.socialA amorpheus@kind.social

          @0xabad1dea Solving Sudoku with NN using 5G memory is no proof of concept, it is a proof of cluelessness.

          For a 5x5 Sudoku you need a FNN with 25 inputs, 3 outputs and about 50 hidden nodes, thus 1400 weights. No recurrency needed as the problem is time invariant. So you'd need about 10kB memory for the network and about 20kB for interops.

          Don't blame Javascript. Blame the author... 🙂

          0xabad1dea@infosec.exchange0 This user is from outside of this forum
          0xabad1dea@infosec.exchange0 This user is from outside of this forum
          0xabad1dea@infosec.exchange
          wrote last edited by
          #9

          @Amorpheus "ballooned" is a load-bearing word in this post, describing what happens when you leave apps that weren't tested against the conditions of running for three days running for three days

          amorpheus@kind.socialA 1 Reply Last reply
          1
          0
          • 0xabad1dea@infosec.exchange0 0xabad1dea@infosec.exchange

            @Amorpheus "ballooned" is a load-bearing word in this post, describing what happens when you leave apps that weren't tested against the conditions of running for three days running for three days

            amorpheus@kind.socialA This user is from outside of this forum
            amorpheus@kind.socialA This user is from outside of this forum
            amorpheus@kind.social
            wrote last edited by
            #10

            @0xabad1dea Sorry for my misconception. Producing such a devastating memory leak with Javascript just blew my mind. I would have to code something like that on evil purpose in order having the garbage collector not to destroy unused references. 😁

            0xabad1dea@infosec.exchange0 1 Reply Last reply
            0
            • amorpheus@kind.socialA amorpheus@kind.social

              @0xabad1dea Sorry for my misconception. Producing such a devastating memory leak with Javascript just blew my mind. I would have to code something like that on evil purpose in order having the garbage collector not to destroy unused references. 😁

              0xabad1dea@infosec.exchange0 This user is from outside of this forum
              0xabad1dea@infosec.exchange0 This user is from outside of this forum
              0xabad1dea@infosec.exchange
              wrote last edited by
              #11

              @Amorpheus it's probably wasm around scipy or something like that.

              amorpheus@kind.socialA 1 Reply Last reply
              0
              • 0xabad1dea@infosec.exchange0 0xabad1dea@infosec.exchange

                I opened a technical blog post and left the tab to read later, only to discover it was choking the browser to death with a sudoku-solving neural network embedded as a proof of concept ballooning to 5GB

                mellivora@im-in.spaceM This user is from outside of this forum
                mellivora@im-in.spaceM This user is from outside of this forum
                mellivora@im-in.space
                wrote last edited by
                #12

                @0xabad1dea doesn't surprise me. lol

                1 Reply Last reply
                0
                • 0xabad1dea@infosec.exchange0 0xabad1dea@infosec.exchange

                  I opened a technical blog post and left the tab to read later, only to discover it was choking the browser to death with a sudoku-solving neural network embedded as a proof of concept ballooning to 5GB

                  misty@digipres.clubM This user is from outside of this forum
                  misty@digipres.clubM This user is from outside of this forum
                  misty@digipres.club
                  wrote last edited by
                  #13

                  @0xabad1dea 2026…

                  1 Reply Last reply
                  0
                  • 0xabad1dea@infosec.exchange0 0xabad1dea@infosec.exchange

                    @Amorpheus it's probably wasm around scipy or something like that.

                    amorpheus@kind.socialA This user is from outside of this forum
                    amorpheus@kind.socialA This user is from outside of this forum
                    amorpheus@kind.social
                    wrote last edited by
                    #14

                    @0xabad1dea Yeah, you'd have to use native arrays or asm in that sense. Even then, most browsers have a fixed limit on memory and cpu usage.

                    I state on this because having people disable Javascript really breaks a lot of sites. There are more reasonable countermeasures. Some browsers support crypto mining inhibition. Having a strict cross-origin policy on ajax and ws enabled is essential, too.

                    I wonder what browser you use, cause 5G really is out of the ordinary limitations, even for wasm.

                    0xabad1dea@infosec.exchange0 1 Reply Last reply
                    0
                    • amorpheus@kind.socialA amorpheus@kind.social

                      @0xabad1dea Yeah, you'd have to use native arrays or asm in that sense. Even then, most browsers have a fixed limit on memory and cpu usage.

                      I state on this because having people disable Javascript really breaks a lot of sites. There are more reasonable countermeasures. Some browsers support crypto mining inhibition. Having a strict cross-origin policy on ajax and ws enabled is essential, too.

                      I wonder what browser you use, cause 5G really is out of the ordinary limitations, even for wasm.

                      0xabad1dea@infosec.exchange0 This user is from outside of this forum
                      0xabad1dea@infosec.exchange0 This user is from outside of this forum
                      0xabad1dea@infosec.exchange
                      wrote last edited by
                      #15

                      @Amorpheus it’s normal chrome and I’m just reporting the memory usage reported by chrome for the whole tab after noticing the browser nearly died when I switched back to it, and then discovering that a few paragraphs in there are a bunch of NN demos and visualizers

                      1 Reply Last reply
                      1
                      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