1. 3

    Working on a UI for managing a tree of delivery routes. Its one of the first Elm programs I wrote and is in desperate need of some refactoring and enhancements. Still getting the hang of Elm and now considering a rewrite.

    1. 1

      Are you migrating to 0.19 or staying with 0.18 for now? Or already started with 0.19?

      1. 1

        Are you migrating to 0.19 or staying with 0.18 for now? Or already started with 0.19?

        Just sticking with 0.18. I wrote my app as a collection of separate Elm programs but sadly they all go through the same webpack/elm compiler. Not sure when I will embark on either upgrading them as a collection and/or breaking them out to ugprade one-by-one. To be frank, I’m not sure I will stick with Elm anyways since the 0.19 native modules thing is kind of annoying for me.

    1. 14

      tbh i’m surprised if anyone really believes Google’s intentions with AMP are anything less than “control the entire web”

      1. 6

        Does anyone not think that? I though everyone knows that but wants to get higher rankings on search.

        1. 3

          I don’t know for sure. I get the impression from articles like this that web-based businesses don’t see how easily they’re playing into Google’s hand.

          1. 5

            I think its more that they dont care. In the short term getting higher rankings means more than protecting a free and healthy web.

            1. 5

              There’s more to this than apathy. It’s a classic collective action problem.

              Think like a business person; suppose your competitor gets on AMP and their page loads faster and (maybe) ranks higher in Google search. If their advantage is enough that you go broke in the short term, there will be no long term for your business.

            2. 2

              The biggest concern for is was that AMP lets Google host your content, which makes it difficult to understand what users are doing :(

              The dynamic changes quite a bit with the combination of scripts being restricted AND content not being hosted on your servers. Measuring traffic is tough.

            3. 2

              Honestly, I’ve seen where an AMP implementation doesnt even help that much with ranking. I think people using it are really on about the mobile performance

              1. 4

                it Helps a ton with ranking if you get into Google News rankings, but otherwise only a small bit. -.-

            4. 3

              I think the AMP team have good intentions. They allow you to submit scripts to their repo for your projects.

              I do think that them requiring you hosting it on their servers is a requirement that came from another team to use the requests to track users, though.

              AMP could work fine self-hosted if it wasn’t for that.

              1. 2

                What is the point of self hosting amp? You could just not add the scripts that amp blocks and your website is now just as fast as an amp page.

                I dont understand why we are celebrating this new tech that is essentially Google banning you from shooting yourself in the foot. Self hosting is just not shooting yourself in the foot.

                1. 2

                  You can’t self-host AMP. That’s the problem I’m mentioning.

                  Nobody is celebrating AMP, as it is poorly executed. People implement it as an SEO measure, and it’s honestly potentially harmful depending on your business goals. Sometimes being on Google News isn’t worth the trade-offs.

                  That said, there are enough developers out there who will take efficient frameworks and produce inefficient, janky, buggy code. AMP honestly is a solution to this particular problem.

                  I just wish people would be more disciplined in their coding before it got this bad. Then people wouldn’t have to have resorted to disabling their ability to write JavaScript without a third party reviewing it. Since businesses don’t prioritize quality before it’s conveniently “too late” for them to revisit, this is essentially the only way to give performance guarantees at this point with the web.

                  Not defending AMP, of course, but only explaining the benefits that some people see with it. I personally would rather people just implement proper continuous unit, acceptance, and integration testing with performance as automated necessary-to-meet criteria - but that’s just me.