Live data from Hacker News

The Static Site Paradox

kristoff.it

171–180 of 370 posts

Re: The Static Site Paradox

#171
post #168
post #163

Earlier quoted context omitted.

What I want is for every smartphone to have an FM radio built in. There are FM radio IC chips available, and apparently some Android phones have them. It seems like a reasonable thing to require smartphones to have them for emergencies. I had to run my car in the beginning, burning precious gas just to hear on the radio what the hell was actually happening.

It might be selection bias, but my impression was that it is very hard to find a phone without this feature (going back to the Windows Phone and semi-smart feature phone era as well). The usual downside is that they do not spring to life unless a wired headphone is connected, because the cable is used as the antenna.

Ah, yeah. I was wondering how it could work without an antenna. I guess an FM antenna needs to be larger than the 5G antenna built into phones too.

Re: The Static Site Paradox

#172

I tried the SuperHTML on a hand-coded site of mine and it reported only one problem and that problem is incorrect as far as I can tell. It tells me that the ` ` tag is never opened on an HTML 5 doc with a ` ` opening tag. The author does say it's not perfect and I probably need to double-check my understanding just to be sure. In any case, it seems like a useful thing and I am also surprised I never thought it was mi…

`` is not an html opening tag. It is a preamble.

https://html.spec.whatwg.org/multipage/syntax.html#writing

Re: The Static Site Paradox

#173
post #76
post #61

> Weird as it might be, it's not a great mystery why that is: it's easier to spin up a Wordpress blog than it is to figure out by yourself all the intermediate steps Or you could just use publii, an office suite of your choice, or type bad html and css by hand, then pass raw files on very cheap hosting providers, enjoying a clunky, and sometimes ugly, "website". The industry for this use-case works on looks and disco…

> Or you could just use publii, an office suite of your choice, or type bad html and css by hand, then pass raw files on very cheap hosting providers, enjoying a clunky, and sometimes ugly, "website". WordPress folks are working to enable static generation using WordPress Playground. It will work pretty much like Publii does today. https://github.com/WordPress/wordpress-playground/issues/707

It's a good starting point. Quite late at the game after strattic, cache plugins and offloading queries on sqlite, let's see when and how will they play out with unavoidable interaction parts like contact forms.

Re: The Static Site Paradox

#174
post #147

We’re dealing with this big time in Asheville now. When cell service came back at all, everyone had shitty intermittent 3G, and none of the websites we needed for basic survival information would load. A bunch of good people created some text only news sites, and today I noticed that the Buncombe county website finally has a low bandwidth site, but even then when I inspected it, it had 130k of bootstrap css and 50k o…

Not as catastrophic, but during power outages in my neighborhood, I am usually left with a poor cell signal (no backups on cable internet boxes). Electric utility's outage map is hidden behind a login (!) and is rendered with fancy clustering and other UI features that are already slow even with a decent connection. So it takes quite a while to check the status or even report an outage.

I could call the utlity company, but for some reason, they chose voice navigation (instead of keypad tones) for their menu, and it is not good at recognizing distorted voice (over bad 4G or 2G connection).

Re: The Static Site Paradox

#175

I tried the SuperHTML on a hand-coded site of mine and it reported only one problem and that problem is incorrect as far as I can tell. It tells me that the ` ` tag is never opened on an HTML 5 doc with a ` ` opening tag. The author does say it's not perfect and I probably need to double-check my understanding just to be sure. In any case, it seems like a useful thing and I am also surprised I never thought it was mi…

According to the specs the tag can be fully omitted. From MDN [1]:

> The start tag may be omitted if the first thing inside the element is not a comment.

> The end tag may be omitted if the element is not immediately followed by a comment.

1: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ht...

Re: The Static Site Paradox

#176
post #142

The fix for this is GitHub Actions and GitHub Pages. That way you don't have to run any software yourself at all - the build process runs entirely on GitHub for you, and it's free as well. I'm surprised I haven't come across more examples of people using GitHub Actions with static site generators like this. Ideally someone would share a GitHub repository template that comes pre-configured with a good static site gene…

A previous version of my personal website was scaffolded entirely in HTML and a handful of CSS. I used pandoc as a markdown to HTML converter for blog posts, and wrote a short bash script to package everything up into a bundle of HTML files. GitHub Actions and GH pages were also used like you describe, and then finally I just pointed my domain to the hosted page on GitHub Actions. It worked flawlessly

https://github.com/AshwinSundar/ashwinsundar/commit/6887c201...

Re: The Static Site Paradox

#177
Even the last few points of their "simple" flow are overly complicated. Before all the CMS stuff, you created the HTML and CSS on files on your desktop using text editors or WYSIWYG editors like Front-page. You can render it just as easily from local files as on a dedicated web server. When you're happy with it, copy the files over SFTP to your server. Frontpage would even take care of that for you. The same flow still works fine today.

Around the dot com boom there were dozens of high quality desktop editors for making websites. All these hosted SaaS systems were just starting to become popular, meant to make it easier for non-programmers to make websites. But did it really? I don't think so. Now those systems are so complex that you need to hire someone to use them. Yet first year students in comp sci who didn't even have any programming background still write HTML and CSS by hand. Templates for WordPress are these complex programs, but a template for HTML and CSS can be as simple as a Hello World example.

Re: The Static Site Paradox

#179
post #169

Earlier quoted context omitted.

Do you have links to the text only news sites?

Yeah, I should have posted that. This is the one I use the most: https://text.bpr.org/ I forgot to save the links to the others.

Wow it's amazing how noticeably faster than is that every other website. We really messed up the internet.

Re: The Static Site Paradox

#180
post #147

We’re dealing with this big time in Asheville now. When cell service came back at all, everyone had shitty intermittent 3G, and none of the websites we needed for basic survival information would load. A bunch of good people created some text only news sites, and today I noticed that the Buncombe county website finally has a low bandwidth site, but even then when I inspected it, it had 130k of bootstrap css and 50k o…

that situation has had me thinking about getting an amateur radio license again. In a disaster like what happened to Western NC, which encompasses a much greater area than just Asheville, I wouldn't want to rely on anything based on the Internet. You want something with a long wavelength and low power. But it's so inaccessible, and I'm not sure if it's for good reason or not. Connectivity was knocked out from Black M…

You can listen without a license. I was able to hear everything on a $15 handheld and it was immensely helpful.

In an emergency you are allowed to transmit without a license. There were plenty of unlicensed calls going to the Mt. Mitchell repeater.

All that being said, I am definitely getting my license once this is over.

Post reply on HN