<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bsd on Benny Simmonds</title>
    <link>https://www.bencode.io/tags/bsd/</link>
    <description>Recent content in Bsd on Benny Simmonds</description>
    <generator>Hugo -- 0.149.1</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 28 Apr 2022 19:40:15 +1100</lastBuildDate>
    <atom:link href="https://www.bencode.io/tags/bsd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A tour of FreeBSD in 2022</title>
      <link>https://www.bencode.io/posts/bsd/</link>
      <pubDate>Sun, 17 Apr 2022 16:18:25 +1100</pubDate>
      <guid>https://www.bencode.io/posts/bsd/</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#why&#34;&gt;Why&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#handy-resources&#34;&gt;Handy resources&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#talks&#34;&gt;Talks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#factoids&#34;&gt;Factoids&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#things-that-feel-different&#34;&gt;Things that feel different&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#software-management-and-ports&#34;&gt;Software management and ports&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#ports-patching&#34;&gt;Ports patching&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#init-system&#34;&gt;init system&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#coreutils&#34;&gt;coreutils&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#scheduling&#34;&gt;Scheduling&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#block-devices&#34;&gt;Block devices&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#my-setup&#34;&gt;My setup&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#nfs&#34;&gt;NFS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#xorg&#34;&gt;xorg&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#dwm&#34;&gt;dwm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#st&#34;&gt;st&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#powerd&#34;&gt;powerd++&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#ntp&#34;&gt;ntp&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#fonts&#34;&gt;fonts&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;why&#34;&gt;Why&lt;/h2&gt;
&lt;p&gt;Mostly curiosity. I&amp;rsquo;ve been a GNU/Linux and free software enthuiatist since the late 90&amp;rsquo;s and that&amp;rsquo;s not about to change. More concrete reasons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;GNU/Linux won the war. However&amp;hellip;&lt;/li&gt;
&lt;li&gt;The Berkeley Software Distributions are family of open UNIX-like operating systems with lineage back to AT&amp;amp;T UNIX&lt;/li&gt;
&lt;li&gt;They come as complete and cohesive systems, not a distribution of disparate pieces&lt;/li&gt;
&lt;li&gt;The BSD license is wonderfully permissive&lt;/li&gt;
&lt;li&gt;Bill Joy (the father of Sun, BSD, &lt;code&gt;vi&lt;/code&gt;, RISC)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.mckusick.com/courses/&#34;&gt;Marshall Kirk McKusick&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ZFS, DTrace and Clang&lt;/li&gt;
&lt;li&gt;It feels so damn neat, tidy and robust&lt;/li&gt;
&lt;li&gt;It wont be my daily driver, however it&amp;rsquo;s nice to be aware of what &lt;em&gt;{Free,Open,Net}BSD&lt;/em&gt; each bring to the table&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;handy-resources&#34;&gt;Handy resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.freebsd.org/en/books/handbook/basics/&#34;&gt;FreeBSD Handbook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.freebsd.org/en/books/porters-handbook&#34;&gt;FreeBSD Porters Handbook&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://wiki.freebsd.org&#34;&gt;FreeBSD Wiki&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.freshports.org/&#34;&gt;Freshports&lt;/a&gt; the place for ports and most recent commits&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://bsd-hardware.info/?view=computers&amp;amp;type=Notebook&amp;amp;vendor=Lenovo&amp;amp;model=ThinkPad+X260+%28All%29&#34;&gt;bsd-hardware.info&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://papers.freebsd.org/&#34;&gt;papers.freebsd.org&lt;/a&gt; the collected works of the FreeBSD community as presented at various conferences and summits&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;talks&#34;&gt;Talks&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://papers.freebsd.org/2018/eurobsdcon/allanjude-bootenv_at_scale/&#34;&gt;Using boot environments at scale - by Allan Jude&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=Hjpqa_kjCOI&#34;&gt;The ZFS Filesystem workshop - by Philip Paeps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;factoids&#34;&gt;Factoids&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The term daemon comes from Greek mythology and represents an entity that is neither good nor evil, and which invisibly performs useful tasks. This is why the BSD mascot is the cheerful-looking daemon with sneakers and a pitchfork.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;things-that-feel-different&#34;&gt;Things that feel different&lt;/h2&gt;
&lt;p&gt;My Linux biases are deep rooted. It&amp;rsquo;s so fascinating to learn how the BSD&amp;rsquo;s have gone about things differently.&lt;/p&gt;</description>
    </item>
    <item>
      <title>C</title>
      <link>https://www.bencode.io/posts/c/</link>
      <pubDate>Sat, 26 Nov 2016 22:39:01 +1100</pubDate>
      <guid>https://www.bencode.io/posts/c/</guid>
      <description>&lt;p&gt;&lt;em&gt;Update: 2022-04-26&lt;/em&gt;: Overhauling to be simplier and bsd/clang friendly.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#rules-of-engagement&#34;&gt;Rules of engagement&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#style&#34;&gt;Style&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#the-language&#34;&gt;The language&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#basic-types&#34;&gt;Basic Types&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#integer-types&#34;&gt;Integer Types&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#real-and-complex-floating-types&#34;&gt;Real and Complex Floating Types&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#void&#34;&gt;void&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#memory-access-operators&#34;&gt;Memory Access Operators&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#strings&#34;&gt;Strings&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#the-pre-processor&#34;&gt;The Pre Processor&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#macros&#34;&gt;Macros&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#patterns&#34;&gt;Patterns&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#vtables&#34;&gt;vtables&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#person_s.h&#34;&gt;person_s.h&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#print_vtable.h&#34;&gt;print_vtable.h&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#print_vtable.c&#34;&gt;print_vtable.c&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#main.c&#34;&gt;main.c&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#libraries&#34;&gt;Libraries&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#c-standard-library&#34;&gt;C standard library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#c-posix-library&#34;&gt;C POSIX library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#unit-testing&#34;&gt;Unit Testing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#sample-c-code&#34;&gt;Sample C code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;rules-of-engagement&#34;&gt;Rules of engagement&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=443UNeGrFoM&#34;&gt;How I program C by Eskil Steenberg&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://doc.cat-v.org/bell_labs/pikestyle&#34;&gt;Notes on Programming in C by Rob Pike&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://doc.cat-v.org/henry_spencer/ten-commandments&#34;&gt;The Ten Commandments for C Programmers by Henry Spencer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;style&#34;&gt;Style&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://suckless.org/coding_style/&#34;&gt;suckless&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;FreeBSD &lt;code&gt;man 9 style&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;the-language&#34;&gt;The language&lt;/h2&gt;
&lt;h3 id=&#34;basic-types&#34;&gt;Basic Types&lt;/h3&gt;
&lt;h4 id=&#34;integer-types&#34;&gt;Integer Types&lt;/h4&gt;
&lt;p&gt;C99 with &lt;code&gt;stdbool.h&lt;/code&gt; introduced boolean type &lt;code&gt;_Bool&lt;/code&gt; (1 byte), and macros &lt;code&gt;true&lt;/code&gt; (1) and &lt;code&gt;false&lt;/code&gt; (0).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
