1. 2

    Great work Svelte team! I’ve been excited about Svelte for a while. The blog (that sadly has been idle for a year up until now) and the integrated playground is excellent. But I’ve become so used to statically typed languages elsewhere that writing Javascript feels weird almost. Can’t wait to try this (and Typescript) out finally.

    1. 6

      I was wondering for a good minute if the article was broken (I could not scroll) before I realised that it’s a set of slides. Modern fullpage title backgrounds like Medium have broken me.

      1. 3

        Interesting article! I’m in a similar situation as the author, pre-switch, with an MBP as my main computer for the last 7 years. It’s a fantastic piece of hardware and has held up extremely well considering it was the base model. It’s only lately when I tried to run Android Studio that I felt it to be lacking in performance.

        While I like macOS, I’m getting rather tired of it, having to keep up with ways to customize or revert with every release. I’ve also grown tired of Homebrew, mostly because it’s really slow. Recently, I got my hands on an old desktop machine and decided to try out Void linux which impressed me greatly from the package management to the simple configuration. No more (forced) hand holding!

        Recent Apple hardware like the touch bar doesn’t appeal to me either, but what I appreciate is their commitment to great displays. I’m stunned to see that Full HD is still the norm with the competition and upping the resolution is often only available with a touchscreen display that I’m not willing to pay for. I’ve mostly been eyeing Lenovo and Dell, the latter of which introduced what seemed to be the perfect macbook-killer last year. Sadly that specific model (or configuration of it) was not available in Sweden.

        1. 3

          This may be the most stupid thing ever but I just don’t use Firefox more because it doesn’t support macOS dark mode natively. There’s a bug on bugzilla opened 2 years ago and still no action was taken. In addition to that, I think Firefox has some unnecessary features. Even Chrome feels cleaner right after installing. Despite all of that, I like Mozilla’s support of the decentralized web and their take on extensions.

          1. 3

            What’s missing exactly? The default* theme has automatic dark mode and web pages with the correct CSS work perfectly fine as well.

            * sadly, it seems to be the only one. Though it can be modified with userchrome.css

            1. 2

              The native UIs (context menu, save, other dialogs) all use the light theme from macOS. It kinda feels out of place, you know? All other applications I use fit well into the operating system but Firefox (https://imgur.com/a/T5WkXbw). I believe it’s just a matter of using the latest SDK and updating a line on the plist file. At least according to what I’ve read.

              1. 3

                Oh! I’m suprised to say I’ve never noticed that. Now I guess it’ll irk me until it’s fixed.

                1. 2

                  Once you see it, you can’t unsee it! 😂

          1. 4

            Nice! I also made my own static site generate which uses KaTeX instead of hevea to render LaTeX to static HTML: https://github.com/rubenvannieuwpoort/static-site-generator

            It’s a bit more heavy-handed (as in: it outputs a lot of HTML elements to format relatively simple formulae), but the math it generates is really beatiful, and since I don’t put all of my posts on one page, my requirements are probably a little bit different.

            See also my blog, which is generated with my static site generator: https://rubenvannieuwpoort.nl

            This blog is a gem, by the way.

            1. 1

              The op mentions hevea being quite slow. How is server side rendered KaTeX in this regard?

              And I love the overall look of your posts!

              1. 2

                Thanks :)

                To be honest, it’s not terribly fast either. Currently, the blog has 7 posts, none of which are very long. This site takes 5 seconds to generate, which is not very slow. I think KaTeX takes the majority of the time, since there’s not too much else going on. It’s fair when you check the HTML, since the formulae consist of hundreds of DOM nodes.

                So, everything comes at a price. For me, this is acceptable since I don’t put all posts on one page. I don’t think it would be an acceptable solution for the blog in this thread since it would likely make loading/rendering the blog very slow.

            1. 3

              Interesting post! I’ve been trying out github actions to build TeX files and commit the compiled pdf before but never got it working. Got stuck even before any token issues because I found the build environment very difficult to work with and slow to debug.

              1. 2
                1. 1

                  This looks very similar to Overleaf that I’m currently using. The problem with Overleaf is that exporting a PDF isn’t easily automated. Is Latexbase different?

                  1. 1

                    I don’t know about automating, I just manually do it

                2. 2

                  I have ended up doing almost everything inside of a Docker container and just using their build environment to host the container. This makes debugging a whole lot easier since, if I really want to, I can even drop into a shell inside the container running locally and poke around.

                  1. 1

                    I tried using docker too (This image I believe) to no avail. Do you have any image recommendation or an example build config on Github?

                    Thanks!

                    1. 2

                      Here’s an example. It’s still a work-in-progress, but basically I create my own images (see the Dockerfile) so I get exactly the packages I need and I can actually make the CI environment look more or less like the development environment. Then I run everything inside a container using the same Makefile targets that I would use during development. This isn’t a silver bullet, by any means, but it seems to work out reasonably well for my use-cases so far.

                      https://github.com/TravisWheelerLab/NINJA/tree/avx

                1. 2

                  Are there software libraries for people who want to get the same kinds of analytics Google Analytics does, except from their logs?

                  1. 2

                    Assuming you read the article, what kind of analytics are you missing? The article mentions GoAccess that should be able to extract the most common metrics (accessible in logs that is).

                    1. 3

                      Ah, I skimmed the article and somehow ended up thinking GoAccess was the author’s company or library. Thanks!