Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. centerDiv.js

centerDiv.js

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
56 Posts 39 Posters 3 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.
  • N This user is from outside of this forum
    N This user is from outside of this forum
    [email protected]
    wrote on last edited by [email protected]
    #1

    got it from here https://front-end.social/@elly/114668957184577014

    S M Y M cupcakezealot@piefed.blahaj.zoneC 12 Replies Last reply
    548
    • N [email protected]

      got it from here https://front-end.social/@elly/114668957184577014

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #2
      div {
        display: grid;
        place-content: center;
      }
      

      We've come a long way...

      C D 2 Replies Last reply
      63
      • N [email protected]

        got it from here https://front-end.social/@elly/114668957184577014

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!

        pewpew@feddit.itP P C 3 Replies Last reply
        26
        • N [email protected]

          got it from here https://front-end.social/@elly/114668957184577014

          Y This user is from outside of this forum
          Y This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.

          N 1 Reply Last reply
          10
          • M [email protected]

            Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!

            pewpew@feddit.itP This user is from outside of this forum
            pewpew@feddit.itP This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Eww Rust! I hate memory safe languages, I love torturing myself with C

            sevon@lemmy.kde.socialS Q 2 Replies Last reply
            15
            • N [email protected]

              got it from here https://front-end.social/@elly/114668957184577014

              M This user is from outside of this forum
              M This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              JavaScript frameworks are invented because pure HTML and CSS suck for dynamically loaded pages, and vanilla JavaScript suck in general.

              M 1 Reply Last reply
              22
              • pewpew@feddit.itP [email protected]

                Eww Rust! I hate memory safe languages, I love torturing myself with C

                sevon@lemmy.kde.socialS This user is from outside of this forum
                sevon@lemmy.kde.socialS This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                You can wrap everything in unsafe and keep living dangerously!

                E Y 2 Replies Last reply
                6
                • pewpew@feddit.itP [email protected]

                  Eww Rust! I hate memory safe languages, I love torturing myself with C

                  Q This user is from outside of this forum
                  Q This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  Yew* Rust

                  FTFY

                  B 1 Reply Last reply
                  2
                  • M [email protected]

                    JavaScript frameworks are invented because pure HTML and CSS suck for dynamically loaded pages, and vanilla JavaScript suck in general.

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    Dynamically loading pages suck too.

                    1 Reply Last reply
                    27
                    • N [email protected]

                      got it from here https://front-end.social/@elly/114668957184577014

                      cupcakezealot@piefed.blahaj.zoneC This user is from outside of this forum
                      cupcakezealot@piefed.blahaj.zoneC This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      real ones learn dhtml

                      1 Reply Last reply
                      8
                      • M [email protected]

                        Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!

                        P This user is from outside of this forum
                        P This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        Yeah I gotta get my workplace to get on board with it. Rust->Webasm is simply amazing

                        1 Reply Last reply
                        2
                        • trickdacy@lemmy.worldT This user is from outside of this forum
                          trickdacy@lemmy.worldT This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

                          M zea_64@lemmy.blahaj.zoneZ D 3 Replies Last reply
                          12
                          • B This user is from outside of this forum
                            B This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            Most pages don’t need dynamic loading.

                            anunusualrelic@lemmy.worldA 1 Reply Last reply
                            31
                            • trickdacy@lemmy.worldT [email protected]

                              JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

                              M This user is from outside of this forum
                              M This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.

                              It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.

                              Then Angular and React took it a step forward and that’s where we are now.

                              trickdacy@lemmy.worldT 1 Reply Last reply
                              9
                              • M [email protected]

                                jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.

                                It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.

                                Then Angular and React took it a step forward and that’s where we are now.

                                trickdacy@lemmy.worldT This user is from outside of this forum
                                trickdacy@lemmy.worldT This user is from outside of this forum
                                [email protected]
                                wrote on last edited by [email protected]
                                #15

                                I am very aware of the progression. But you're vastly glossing over how much complexity (and feature set) was added after jQuery. If JavaScript sucks, how would you change it? Shitty browsers implementing it poorly in the past (and safari doing so today) doesn't make it suck.

                                1 Reply Last reply
                                4
                                • sevon@lemmy.kde.socialS [email protected]

                                  You can wrap everything in unsafe and keep living dangerously!

                                  E This user is from outside of this forum
                                  E This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #16

                                  unsafe doesn't deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.

                                  sevon@lemmy.kde.socialS 1 Reply Last reply
                                  0
                                  • trickdacy@lemmy.worldT [email protected]

                                    JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

                                    zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
                                    zea_64@lemmy.blahaj.zoneZ This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #17

                                    Immediate mode rendering and components seem to be why people use them. And you know what? The web should natively support those but doesn't (well it kinda bad components, but ehhh). Otherwise I agree, the frameworks are overcomplicated.

                                    1 Reply Last reply
                                    0
                                    • Q [email protected]

                                      Yew* Rust

                                      FTFY

                                      B This user is from outside of this forum
                                      B This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #18

                                      Nah, they had it right

                                      Q 1 Reply Last reply
                                      4
                                      • B [email protected]

                                        Nah, they had it right

                                        Q This user is from outside of this forum
                                        Q This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by [email protected]
                                        #19

                                        Knew someone would say that, lol, gold project, sad that it's gone unmaintained and my man started working on home-manager at home
                                        ..wait

                                        1 Reply Last reply
                                        3
                                        • S [email protected]
                                          div {
                                            display: grid;
                                            place-content: center;
                                          }
                                          

                                          We've come a long way...

                                          C This user is from outside of this forum
                                          C This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #20

                                          You misspelled nesting tables

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