hjertnes.blog

#

31.08.2018 09:40

Liked: Directory of Microbloggers | Excursions

#

31.08.2018 09:40

Liked: Microsoft to business partners: If you want to work with us, offer paid family leave - The Washington Post

#

31.08.2018 09:40

Liked: Microsoft to business partners: If you want to work with us, offer paid family leave - The Washington Post

#

31.08.2018 09:40

Liked: inessential: Social Media Mobs

#

31.08.2018 09:39

Liked: What does the GDPR actually mean for Startups – Hacker Noon

#

31.08.2018 09:39

Liked: Episodes ยท The REPL

Splatoon 2

30.08.2018 10:00


This game is so good. I love it so much. It is my favourite game on the Switch. I love how goofy the paintball thing is. And nobody would confuse it for anything that tries to make war or guns to look cool or attractive. I’m not even going to try to explain the game, you should just get it. What I love about it is that it is just the right amount of frustrating. But it is never so hard that I feel like putting it away and playing something else.

I have not, since I got it had anything else open on my Switch.

Celeste

29.08.2018 10:00

My number one frustrating game. I love it so much, and I hate it even more.

This game feel like programming. It is so frustrating, and it feels so good when you finally move an inch in the right direction. Not for everyone, but so good.

#

29.08.2018 09:09

Some comments to @jack’s post: The Downsides of a Static Site Generator Baty:

I have to agree that most people want something else than a static site generator, but I do not think most people should go for WordPress either; a host like Micro.blog or Squarespace looks like a much better fit, because they are much easier to use and you don’t have to keep them updated.

When people say that PHP is a lot easier to install than go, ruby or what ever they are wrong. It might be easier to find a One Click Installer type host for WordPress than it is for something like Hugo. Still, PHP is a fucking pain in the ass to install.

The Speed thing. Loading a static HTML file is faster, will always be faster than running dynamic code and fetching stuff from a database. There is no question. It is faster. It requires some compromises to do it that way, but from a pure speed perspective: faster.

And the big bad question: databases or a bunch of markdown files?

As a programmer it is much easier to work with a database than a million text files. If you have to deal with thousands of text files you either have to implement some kind of cache or accept how slow it is. On the other hand it is much easier for a power user to deal with than a database.

Because we have a few different alternatives that can be the result of a database as storage versus flat files as storage.

  1. Dynamic site with SQL as backend
  2. Dynamic site with flat files as backend
  3. Static site with SQL as backend
  4. Static site with flat files as backend.

The advantage of a static site is that the hosting is a lot simpler, you just need a web server and that’s it, while the advantage of a dynamic site is that you can do a lot of interesting things with it that is either very difficult or impossible with a static one. Like API’s, admin panels, to see what you are writing straight away on your site, or features that require two way interaction between the site and the user, like comments or webshops.

None of the options are better than the other, it all depends on priorities, preferences and what kind of site you have and what kind of user of it you are.

#

29.08.2018 09:08

Liked: What’s Coming Up in JavaScript 2018: Async Generators, Better Regex - The New Stack