Post 9tqCStkYrD5WPca3Hs by hund@linuxrocks.online
(DIR) More posts by hund@linuxrocks.online
(DIR) Post #9tq0ZsQkxj4otgsVrU by kev@fosstodon.org
2020-04-08T15:29:10Z
0 likes, 0 repeats
Shock horror, I don't use a static site generator. Here' why:https://kevq.uk/why-i-dont-use-a-static-site-generator/
(DIR) Post #9tq1qcOPwY0M2BKa0W by eylul@mastodon.art
2020-04-08T15:43:20Z
0 likes, 0 repeats
@kevthere was at some point a wordpress plugin that output a site to static html but it wasn't easy to use. I would love to have a plugin etc that would convert parts of a site to static. or alternatively a static site creator with a gui.
(DIR) Post #9tq1zg4fco8i3gPkFk by wizzwizz4@fosstodon.org
2020-04-08T15:45:01Z
0 likes, 0 repeats
@kev A static site generator doesn't preclude your workflow, in theory. It's just… no static site generator (that I know of) has a web UI.
(DIR) Post #9tq22zxi8gySbkk60O by kev@fosstodon.org
2020-04-08T15:45:45Z
0 likes, 0 repeats
@wizzwizz4 https://getgrav.org 😉
(DIR) Post #9tq26GdsZyjJD21cmG by almara@fosstodon.org
2020-04-08T15:46:24Z
0 likes, 0 repeats
@kev Wow this!"It would be a very boring world if we all liked the same thing."
(DIR) Post #9tq40iEdHED8xQhA1o by hund@linuxrocks.online
2020-04-08T16:07:41Z
0 likes, 0 repeats
@kev >Want to blog on my iPad? I can. Want to do it on my phone? No problem. On a machine I don’t normally use? Not an issue, as long as it has a browser.I sometimes write posts on my phone, which I sync using Nextcloud Notes. I only do when I travel by train and have some time to kill. Writing on a touchscreen is a pain in the a**.>The world is mobile first these day, like it or not […]Says who? You might be mobile first, but it doesn't make the world mobile first. :)
(DIR) Post #9tq4BXAwjgxVqJ8BwO by DonMcCollough@fosstodon.org
2020-04-08T16:09:34Z
0 likes, 0 repeats
@kev Very well written with good points I didn't think of as well. For blogging or where being able to update information as quickly as possible from anywhere (not just blogs, but news sites as well) I can see where static would be a headache. Now if you don't do a lot with it, or don't have the need for that kind of mobility, static seems easier since there's little to no concern with getting into it to make changes. To each their own, but as always well written and thoughtful as always Kev!
(DIR) Post #9tq57575EFubbYlUHY by kev@fosstodon.org
2020-04-08T16:20:08Z
0 likes, 0 repeats
@eylul it still exists, I used to use it in fact. But having to generate you site then upload it every time you write a post gets tedious.
(DIR) Post #9tq5T4NAf9eRg9m55c by kev@fosstodon.org
2020-04-08T16:24:00Z
0 likes, 0 repeats
@hund says the world. 🙂 I'll turn that on its head - just because you're _not_ mobile first, doesn't mean the world isn't.Analytics show the world is mobile first. If you don't have a good mobile site these days, your site won't grow.Look at services like Instagram - they're mobile ONLY. For a lot of services now, their webUI is the second rate citizen to their mobile apps.
(DIR) Post #9tq65JQh88HDNgesG8 by kev@fosstodon.org
2020-04-08T16:31:01Z
0 likes, 0 repeats
@DonMcCollough absolutely! If I didn't have a blog, I'd definitely use a static site.
(DIR) Post #9tqCStkYrD5WPca3Hs by hund@linuxrocks.online
2020-04-08T17:42:23Z
0 likes, 0 repeats
@kev I didn't mean the opposite either. What I meant is that some services and some websites are XYZ only. A lot of users use crap like Instagram and a lot of users only use the mobile only, but it doens't mean the planet is mobile only. I know A LOT of users who's anything but mobile only, or even a a tiny bit mobile to beging with. :)
(DIR) Post #9tqDOaMp52UT5pz6Om by kungtotte@fosstodon.org
2020-04-08T17:52:49Z
0 likes, 0 repeats
@kev I have two issues with this post:1) Security. It's hopefully better now, but wordpress has been riddled with security issues that aren't at all fixed by using strong auth. They're exploits that circumvent auth, so your password doesn't matter. I don't know the current state of this to be fair, maybe it's audited and deemed safe at this point?2) Response time. Studies have shown that it matters and the timescale is milliseconds and not seconds when it comes to people's experiences.
(DIR) Post #9tqDSGLdS90wABBNCa by xoxys@social.tchncs.de
2020-04-08T17:53:29Z
0 likes, 0 repeats
@kev There is a really easy way: Use GitHub or Gitea or whatever as your web markdown editor (create, edit, delete posts). Everything else will be handled by a CI system and triggert by a master branch commit. This is how I use Hugo
(DIR) Post #9tqJqSw8tniPsjBNRY by bsharitt@fosstodon.org
2020-04-08T19:05:06Z
0 likes, 0 repeats
@kev It ultimately ends up being lose/lose for me either way. I don't like to sysadmin at home(I don't pay me enough for that), so my Wordpress install gets out of date and/or some PHP update breaks everything or I try to upgrade too many version of Wordpress and it breaks. 🤷♂️
(DIR) Post #9tqN0LjepP4iIzkOdE by kev@fosstodon.org
2020-04-08T19:40:32Z
0 likes, 0 repeats
@kungtotte I couldn’t disagree more.1) the vast majority of vulnerabilities in WP are introduced by plugins. Vulnerabilities in WP core are patched very quickly. Many WP sites get compromised because of sloppy admin. If I did get popped, that’s what backups are for.2) are you seriously telling me that you can tell the difference between a site that loads in 2 seconds and a site that loads in 2.1 seconds?Between 2 & 5 seconds, yeah. But not milliseconds. That’s rubbish.
(DIR) Post #9tqN4uFeRME6VssveS by kev@fosstodon.org
2020-04-08T19:41:29Z
0 likes, 0 repeats
@xoxys it’s not really simple though is it? For a developer, yeah, but not for an average user.
(DIR) Post #9tqNNc8g0RtnqAXjpQ by xoxys@social.tchncs.de
2020-04-08T19:44:44Z
0 likes, 0 repeats
@kev Depends on what you'll call an average user :) GitHub has as wysiwyg editor for markdown, beside that everyone who would like to use hugo/jekyll should be able to write markdown. Setting up a CI Pipeline with e.g. Drone CI to build Hugo Page and pulish it to GH pages is really straight forward IMO. Running and maintaining a WP would be more complecated ;)
(DIR) Post #9tqNOZlMKGtklE5xoW by kev@fosstodon.org
2020-04-08T19:45:02Z
0 likes, 0 repeats
@bsharitt haha I know what you mean. PHP updates can be a pain, I’m yet to have one break my sites. I don’t go bleeding edge though.Wordpress and plug-in updates can be automated in functions.php.Maybe Grav would work for you? https://getgrav.org
(DIR) Post #9tqOgOxXKeFSQ8r4O8 by kev@fosstodon.org
2020-04-08T19:59:25Z
0 likes, 0 repeats
@xoxys I don’t think so. Anyone who has used MS Word could write a post on Wordpress (plenty of places offer managed WP hosting for cheap).Those same people would not be able to setup a Hugo site.I consider myself to be fairly technical and I wouldn’t be able to do it without spending a fair amount of time reading documentation.
(DIR) Post #9tqOxTJmNagYrVOlwe by xoxys@social.tchncs.de
2020-04-08T20:02:25Z
0 likes, 0 repeats
@kev Do you use a hosted Wordpress? You don't mantain Wordpress by yourself? Well, then you may be right. And as you say, use what fits your need. I just wanted to show that you'll also need just a browser once you have a running setup.
(DIR) Post #9tqPipfF7ANFmI1N1E by kungtotte@fosstodon.org
2020-04-08T20:11:03Z
0 likes, 0 repeats
@kev 1) you're not refuting what I'm saying. Strong passwords and MFA aren't helping you against exploits that circumvent auth, regardless of where they're coming from (core or plugins. These days I guess it's mostly plugins but it used to be core as well). The strongest password in the world won't help you if your attacker *isn't using your password to gain access*.I've got several links for point #2 so I'll post those in a follow-up toot:
(DIR) Post #9tqQx2s2uT7ykHLoTA by kev@fosstodon.org
2020-04-08T20:24:51Z
0 likes, 0 repeats
@kungtotte 1) I am. If you’re not introducing the vuln in the first place by not using vulnerable plugins, then you’re good.The whole “Wordpress is insecure thing” is complete and utter rubbish. If it was trivial to compromise WP and it’s running on 35% of websites, there would be a lot more compromised sites out there.
(DIR) Post #9tqRMdbxRkE5vx1sDw by kungtotte@fosstodon.org
2020-04-08T20:19:58Z
0 likes, 0 repeats
@kev https://www.nngroup.com/articles/response-times-3-important-limits/0.1s is when people feel things aren't instantaneous.http://www.websiteoptimization.com/speed/tweak/psychology-web-performance/Moving from 0.4s to 0.9s decreased ad revenues by 20%.https://www.akamai.com/us/en/about/news/press/2009-press/akamai-reveals-2-seconds-as-the-new-threshold-of-acceptability-for-ecommerce-web-page-response-times.jspPeople literally go to other sites when load times are >3 seconds, and they're already angry when it's >2 seconds. If you don't care about this for your site, no worries, but don't spread misinformation that these things don't matter because they actually do.
(DIR) Post #9tqRMeGN1UYJxHw9DM by kev@fosstodon.org
2020-04-08T20:29:25Z
0 likes, 0 repeats
@kungtotte I never said speed doesn’t matter, and I never implied that it didn’t. What I said was that milliseconds do not matter when it comes to website load times in the real world. You’re not going to lose visitors over .1 of a second. Latency on the internet at peak times can slow a site down way more than that.I’m ending this conversation now, we clearly don’t agree and are just going round in circles.
(DIR) Post #9tqfupaEq52kGkQKPI by eylul@mastodon.art
2020-04-08T23:12:22Z
0 likes, 0 repeats
@kevalso there is no way to have the few pages that does need the interactivity - like forms.
(DIR) Post #9tqjNzOniwHyyJfYdU by cadadr@mastodon.sdf.org
2020-04-08T23:51:15Z
0 likes, 0 repeats
@kev I don't really question your choice of blogging software (everybody should use their fav stuff and it's sad if there's stigma around not using the "geekier" option), but I don't agree with your argument: there are many laptops just as "mobile" as any useful tablet out there.I really whish there was an SSG w/ desktop & mobile GUI frontends tho. Publii has a desktop but no mobile.
(DIR) Post #9tr6ncrnLq8jq17uEa by pcrock@fosstodon.org
2020-04-09T04:13:43Z
0 likes, 0 repeats
@kev @kungtotte I do appreciate the main point of your article, which is that everything is a tradeoff, people will come to different conclusions about what technologies they use, and that's OK. It makes me sad that both here and on Lobsters, people want to ignore that point and argue about why WordPress is objectively, universally inferior. Let the man use WordPress in peace!
(DIR) Post #9trEwQN7yUKhKHULgW by geekgonecrazy@fosstodon.org
2020-04-09T05:44:49Z
0 likes, 0 repeats
@kev we’ve used a static generated site for a bit over a year at work. Now we have a marketing team and we are suddenly realizing how much easier something like Wordpress is to hand off to a marketing team to do things themselves.Easy of use is definitely has to weigh in sometimes
(DIR) Post #9trGsfJKgrvaPM35Hc by kev@fosstodon.org
2020-04-09T06:06:41Z
0 likes, 0 repeats
@geekgonecrazy I think so. I am a technical guy and could use a SSG, but maintaining it is time I feel I could put to better use elsewhere.I think SSG are brilliant for some people and they are blazing fast out the gate. If I didn’t have a blog, I’d very likely use one.
(DIR) Post #9trIYfsN4zFCHG276W by papa@mastodon.sdf.org
2020-04-09T06:25:21Z
0 likes, 0 repeats
@kev "sshing into a Linux box and editing with vim"He writes like that's a bad thing. ;)Different strokes for different folks, but if starting an ssh session is too hard, I'm sure a clever hacker could figure out a little magic with git, cron, and a couple of shell scripts.
(DIR) Post #9trK9FlHEdDFxBikbY by geekgonecrazy@fosstodon.org
2020-04-09T06:43:20Z
0 likes, 0 repeats
@kev if I blogged more frequently and ever from mobile this might become a real scenario for me too. Git from mobile shell or otherwise is totally doable but phone always feels super small to me when I start working with a shell and definitely more cumbersome
(DIR) Post #9trUxH2HloklvWAOx6 by jan@geekcompass.com
2020-04-09T08:44:15Z
0 likes, 0 repeats
@kev I don't either, although I'm experimenting with them to help create actual static sites that rarely need updated. My blog pages get cached to static HTML anyway—no PHP involved at all—so they're equally fast for all requests but the very first. And I've long implemented auto-updates for WordPress and the very, very few plugins I still allow. That said, some of the limitations mentioned are rather easily worked around by keeping source files in a publicly accessible Git repo.
(DIR) Post #9tsFDOGDGyD0rHIvBI by wizard@spacewizard.space
2020-04-09T17:22:46Z
0 likes, 0 repeats
@kev comment from lobste.rs is top notch:"I find the name “static site generator” kind of subconsciously promotes the idea of this just being all about some static files that move from here to there. What they usually come with though is a super complicated, fragile, and regularly updating toolchain that puts at risk your ability to generate the static part that was supposed to be simple. ..."(1/2)
(DIR) Post #9tsKfyiNpToznZvpVg by kev@fosstodon.org
2020-04-09T18:23:56Z
0 likes, 0 repeats
@wizard yeah, I liked that one too.
(DIR) Post #9tsuIAy4DahlCUDWYC by klaatu@mastodon.xyz
2020-04-10T01:03:11Z
0 likes, 0 repeats
@kev Your first point in the post, I consider a bug of mobile devices, not static websites. I think the wasted potential of mobile is profound. If a mobile device is the reason we need a complex stack to build a web page, then we're doing mobile computing wrong.That's not to say I prefer wordpress to static or the other way round. Its just indicative of a problem when a device that can do amazing things, but can't manage to make it easy to do type and run some scripts.
(DIR) Post #9ttJXK3HDwkQZVyOYq by davidoclubb@toot.wales
2020-04-10T05:45:48Z
0 likes, 0 repeats
@kev you have a very elegant website! Really interesting content, thankyou! ✊👏
(DIR) Post #9ttWzfXgDQXAjf2bEe by kev@fosstodon.org
2020-04-10T08:16:40Z
0 likes, 0 repeats
@davidoclubb thanks!
(DIR) Post #9tuTndkiwDvF0PftAm by danuker@fosstodon.org
2020-04-10T19:14:48Z
0 likes, 0 repeats
@kev Editing posts on the blog website itself? That sounds really nice!Right now I have a static site generator, and it is indeed a rub to edit markdown and then upload.At least I don't edit remotely; I use a comfier local editor. Only then I upload it using `rsync`.
(DIR) Post #9u8XC2JwhZ492lkCDg by davidoclubb@toot.wales
2020-04-17T13:59:27Z
0 likes, 0 repeats
@kev Inspired by you... https://clubb.cymruThankyou!I have a question (if you don't mind...) - it's about using Fork Awesome (which will slow the thing down, I know!) - I have put the code in between <head> and </head>, but when I try to insert the icons at https://clubb.cymru/sandbox/ just the code appears. Any idea?
(DIR) Post #9u8Y3okTNXI0aVnSRU by kev@fosstodon.org
2020-04-17T14:09:15Z
0 likes, 0 repeats
@davidoclubb it's renderring them as a code block in WordPress. To add them, you need to change the block to a HTML block in the WordPress editor.This is from the source of the page:<pre class="wp-block-code"><code>&lt;i class="fa fa-car">&lt;/i>&lt;i class="fa fa-car" style="font-size:48px;">&lt;/i>&lt;i class="fa fa-car" style="font-size:60px;color:red;">&lt;/i></code></pre>
(DIR) Post #9u8Y8iRWFalATlGc6a by kev@fosstodon.org
2020-04-17T14:10:12Z
0 likes, 0 repeats
@davidoclubb heyyy, that's the Susty theme. Well played! 🙂
(DIR) Post #9u8YBk5MbEkARULZfk by davidoclubb@toot.wales
2020-04-17T14:10:42Z
0 likes, 0 repeats
@kev doh..... hahaha thankyou!And yes, you put me onto susty. Love it