<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: ⚡️</title>
    <description>The latest articles on Forem by ⚡️ (@matthijsewoud).</description>
    <link>https://forem.com/matthijsewoud</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F477%2F9dVMQnR9.jpg</url>
      <title>Forem: ⚡️</title>
      <link>https://forem.com/matthijsewoud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/matthijsewoud"/>
    <language>en</language>
    <item>
      <title>Calstats, My first iOS/Mac app is out!</title>
      <dc:creator>⚡️</dc:creator>
      <pubDate>Sun, 05 Dec 2021 14:07:37 +0000</pubDate>
      <link>https://forem.com/matthijsewoud/calstats-my-first-iosmac-app-is-out-1al8</link>
      <guid>https://forem.com/matthijsewoud/calstats-my-first-iosmac-app-is-out-1al8</guid>
      <description>&lt;p&gt;Last week I finally released something I’ve been learning for and working on for the past 6 months. My first app for iOS and macOS. Made in Swift for the best native experience and performance.&lt;/p&gt;

&lt;p&gt;CalStats helps you get insights into your events. Want to know how much you go to the gym each week? How many hours have your spent on that one client? Just enter some keywords.&lt;/p&gt;

&lt;p&gt;There’s no need to input times; CalStats uses your existing calendars, and only counts events that you want to, using the keywords and time-spans you want.&lt;/p&gt;

&lt;p&gt;You can visualize your data in bar charts, track goals per amount of time (week/month/year), and even export to CSV to use in your spreadsheet editor of choice.&lt;/p&gt;

&lt;p&gt;Count on your calendar, with CalStats.&lt;/p&gt;

&lt;p&gt;The app is 1,99 on the App Store, and you get both versions: &lt;a href="https://apps.apple.com/nl/app/calstats/id1586348221?l=en"&gt;‎CalStats on the App Store&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’ll answer any questions about development too, I love doing that.&lt;/p&gt;

</description>
      <category>promotion</category>
      <category>swift</category>
      <category>ios</category>
      <category>app</category>
    </item>
    <item>
      <title>What *is* the best web-safe font?</title>
      <dc:creator>⚡️</dc:creator>
      <pubDate>Thu, 25 Feb 2021 12:38:48 +0000</pubDate>
      <link>https://forem.com/matthijsewoud/what-is-the-best-web-safe-font-11g3</link>
      <guid>https://forem.com/matthijsewoud/what-is-the-best-web-safe-font-11g3</guid>
      <description>&lt;p&gt;Since the dawn of the web, people have been divided. This all boils down to one question: what &lt;em&gt;is&lt;/em&gt; the best web-safe font?&lt;/p&gt;

&lt;p&gt;All jokes aside, web-safe fonts are an important part of the web. You can safely assume that these fonts are installed on any given device.&lt;/p&gt;

&lt;p&gt;Now, it's 2021. You can use custom fonts nearly anywhere. But there are still some very important cases where it's a good idea to set a web-safe font, even as a fallback.&lt;br&gt;
Email, for one. There's no guarantee that your receiver supports custom fonts -- their boss might insist they use a decades old version of Outlook. Or maybe they want to prevent tracking, so they disable remote loading when viewing their email.&lt;br&gt;
That last one prompted me to write this; I turned off remote-loading and received a mail from a colleague, but the font was Times New Roman. The inspector showed me the font used was Calibri. &lt;/p&gt;

&lt;p&gt;And that's just email! There are a lot of scenarios where a user might be offline, say when someone might load your PWA without internet, but fonts weren't set properly.&lt;/p&gt;

&lt;p&gt;When any of those things happen, you want to fall back to a font that you know the user has.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;font-family: sans-serif&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;This is a big one, and a handy one, for many. &lt;code&gt;sans-serif&lt;/code&gt; isn't a typeface by itself, but it basically tells the user-agent to pick something that it wants to, so long as it's in that category. The same goes for &lt;code&gt;font-family: serif&lt;/code&gt; and &lt;code&gt;font-family: monospace&lt;/code&gt;.&lt;br&gt;
There are pros and cons to this approach. The biggest pro being that a user can choose their own favourite font as the default fallback.&lt;br&gt;
The downside is that you don't know what font it's going to be. Maybe the user set Comic Sans as their fallback sans-serif font -- yikes!&lt;/p&gt;

&lt;p&gt;There's a real value in knowing what web-safe fonts you can and should use. Maybe you can even choose not to use any custom fonts at all!&lt;/p&gt;

&lt;h2&gt;
  
  
  Web-safe fonts
&lt;/h2&gt;

&lt;p&gt;There are some misconceptions about what constitute a real web-safe font. Some would claim that Calibri is one. I don't believe that it is, because there are a great many devices (mobile and desktop) that don't support it. I'm going to use &lt;a href="https://en.wikipedia.org/wiki/Core_fonts_for_the_Web"&gt;Wikipedia's list of Core Web Fonts&lt;/a&gt; to define what a true web-safe font is.&lt;/p&gt;

&lt;p&gt;I'm going to focus on three font-types: Sans-serif, Serif, and Monospace. Cursive and Fantasy have too few to pick from.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Best Web-Safe Sans-Serif
&lt;/h3&gt;

&lt;p&gt;There's a saying in Dutch that says, &lt;em&gt;"You cannot dispute taste"&lt;/em&gt;. Well I think that's a load of crap. Verdana is the best web-safe font, and here's why: it's made to be comfortably readable (successfully, I might add), pleasant, on even low-resolution displays. Bold is actually &lt;strong&gt;BOLD&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Now I hear some of you saying, &lt;em&gt;"but what about Arial?"&lt;/em&gt;&lt;br&gt;
Arial is famously a clone of Helvetica. It's fine. It's pretty much readable, metrically identical to Helvetica (which might be important in print, but who cares about that here, right?), but it's not &lt;em&gt;nice&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;It also suffers the same fate as Times New Roman, albeit less harshly, for being a default font on many systems. This can make it come across as tasteless and sometimes even thoughtless.&lt;/p&gt;

&lt;p&gt;The best web-safe monospace font is Andale Mono, and the best web-safe serif font is Georgia. &lt;br&gt;
The choices for monospace/serif come down to just two per category, and the other choice is obviously much worse. &lt;br&gt;
Times New Roman, as said previously, suffers from being the default and instantly looks like the author is still putting lorem-ipsums in their pages.&lt;br&gt;
Courier New, likewise, looks like an error message every time.&lt;/p&gt;

&lt;p&gt;Andale Mono and Georgia are not bad at all and serve their purpose neatly.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;By the way, shout out to Trebuchet MS for being an overlooked, yet fun lil' font.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;Thanks for reading. In my next blog post I'll be discussing the best web-safe color name. (Spoiler: it's &lt;code&gt;rebeccapurple&lt;/code&gt;)&lt;/p&gt;

</description>
      <category>fonts</category>
      <category>css</category>
      <category>fontfamily</category>
    </item>
    <item>
      <title>I really, *really* don't like hamburger menus</title>
      <dc:creator>⚡️</dc:creator>
      <pubDate>Thu, 21 Nov 2019 13:51:54 +0000</pubDate>
      <link>https://forem.com/matthijsewoud/i-really-really-don-t-like-hamburger-menus-22b</link>
      <guid>https://forem.com/matthijsewoud/i-really-really-don-t-like-hamburger-menus-22b</guid>
      <description>&lt;h1&gt;
  
  
  ≡
&lt;/h1&gt;

&lt;p&gt;We all know the infamous hamburger menu. It's those three lines that stretch horizontally, that tries to look like a vertical list. It's become incredibly ubiquitous ever since website had to update their websites to support mobile resolutions.&lt;/p&gt;

&lt;p&gt;And I hate it. I despise it. The user-experience is terrible; why hide such an import piece of your website behind a mandatory interaction? Do you have more than four items? Having more then four/five items in a menu will overwhelm many people, so maybe you should not even bother.&lt;br&gt;
Why not show the four most important items, and hide the rest behind a menu? You don't have to hide your entire menu. Let people click on 'Contact' without first having to wade through the terrible experience of opening a drawer.&lt;br&gt;
Why not use a horizontal scrolling menu? It's sleek, and doesn't overwhelm the user.&lt;/p&gt;

&lt;p&gt;They're also nearly always at the top of the page. That was fine when phones where smaller, but with the current trend of tall and big phones (not to mention smaller tablets) it takes me having to reorient my hand to get to it.&lt;/p&gt;

&lt;p&gt;Hamburger menus add bulk, they add useless complexion. They add a terrible interaction that should have never existed in the first place.&lt;/p&gt;

&lt;p&gt;But I have to use it, because clients demand it. Because it's recognisable.&lt;/p&gt;

&lt;p&gt;Do any of you have any tips how to deal with this?&lt;/p&gt;




&lt;p&gt;I haven't written many posts. Would you like to read more things? About JS, ES6, ReactJS, Preact, (S)CSS? Might be able to whip something up if you want, so let me know.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>design</category>
      <category>navigation</category>
    </item>
  </channel>
</rss>
