<?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>DEV Community: Amber 🏳️‍🌈</title>
    <description>The latest articles on DEV Community by Amber 🏳️‍🌈 (@amberisvibin).</description>
    <link>https://dev.to/amberisvibin</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%2F467466%2F16e4e8f0-62ec-426d-947a-a41a1a98b7b1.png</url>
      <title>DEV Community: Amber 🏳️‍🌈</title>
      <link>https://dev.to/amberisvibin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amberisvibin"/>
    <language>en</language>
    <item>
      <title>Adventures in PowerPC Linux Pt 2: Bootloader Nonsense</title>
      <dc:creator>Amber 🏳️‍🌈</dc:creator>
      <pubDate>Thu, 17 Dec 2020 20:50:19 +0000</pubDate>
      <link>https://dev.to/amberisvibin/adventures-in-powerpc-linux-pt-2-bootloader-nonsense-191p</link>
      <guid>https://dev.to/amberisvibin/adventures-in-powerpc-linux-pt-2-bootloader-nonsense-191p</guid>
      <description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;This is the second post in my series about installing Gentoo Linux on a Mac Mini G4.&lt;/p&gt;

&lt;p&gt;I started by following the PowerPC Handbook on Gentoo's wiki, which is pretty good.&lt;/p&gt;

&lt;p&gt;It has a few problems, however. It tells you to use yaboot as your bootloader, instead of GRUB. This is strange because the livecd image they provide uses GRUB. &lt;/p&gt;

&lt;p&gt;The (main) problem with yaboot is that it simply does not vibe with ext4. It will not boot. Instead, it gives a cryptic error and exits. &lt;/p&gt;

&lt;p&gt;Of course, I did not know this while installing, and fell right into this trap. I was very worried that I would have to start all the way over (I had spent a few hours at this point), because I did not have a separate /boot partition. If I stayed with yaboot, I would have had to re-format my disk as something other than ext4 and start over. &lt;/p&gt;

&lt;p&gt;This error will probably not be fixed, as yaboot is no longer maintained. &lt;/p&gt;

&lt;p&gt;Thankfully, someone on a forum about this bug suggested using GRUB, and I'm glad they did. It works very well, and is also what I'm used to. &lt;/p&gt;

&lt;p&gt;So, moral of the story, use GRUB, and the wiki should probably be changed, or at least edited. &lt;/p&gt;

&lt;p&gt;Next post I'll describe kernel config and driver issues, and give a copy of my kernel config for anyone who tries this.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>powerpc</category>
    </item>
    <item>
      <title>Adventures in PowerPC Linux Pt 1: A Choice</title>
      <dc:creator>Amber 🏳️‍🌈</dc:creator>
      <pubDate>Mon, 07 Dec 2020 15:43:59 +0000</pubDate>
      <link>https://dev.to/amberisvibin/adventures-in-powerpc-linux-pt-1-a-choice-2ng1</link>
      <guid>https://dev.to/amberisvibin/adventures-in-powerpc-linux-pt-1-a-choice-2ng1</guid>
      <description>&lt;p&gt;Hello!&lt;br&gt;
I recently stumbled upon an old Mac Mini G4. It had 10.4 Tiger on it, and it was pretty slow. So, I decided to try and install Linux on it. First, I needed to decide what distro to install.&lt;/p&gt;

&lt;p&gt;There are three choices when it comes to PowerPC Linux: Debian, Adelie, and Gentoo.&lt;/p&gt;

&lt;p&gt;Debian is pretty much a non-option, because it's an older version (9 Jessie) and all of the PowerPC repos for it have been removed. I'd have to compile everything from scratch, which defeats the point of Debian.&lt;/p&gt;

&lt;p&gt;Adelie is an interesting binary distro. It has a focus on using musl (instead of glibc) and python3. It provides binary packages for PowerPC. This is probably the easiest option.&lt;/p&gt;

&lt;p&gt;And then there's Gentoo. Gentoo is a source distro, which means that binary packages are &lt;em&gt;not&lt;/em&gt; provided. Everything must be compiled from source. This gives Gentoo a lot of flexibility and optimization potential, but makes it very complex to install. This is the one I chose. &lt;/p&gt;

&lt;p&gt;Next post I'll be describing the initial install process, and (spoilers) all of the problems that came with it.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>powerpc</category>
    </item>
    <item>
      <title>My first (real) open source contribution</title>
      <dc:creator>Amber 🏳️‍🌈</dc:creator>
      <pubDate>Fri, 18 Sep 2020 14:25:32 +0000</pubDate>
      <link>https://dev.to/amberisvibin/my-first-real-open-source-contribution-4d7p</link>
      <guid>https://dev.to/amberisvibin/my-first-real-open-source-contribution-4d7p</guid>
      <description>&lt;p&gt;This week, I added a contribution to &lt;a href="https://github.com/fennecdjay/gwion-docs"&gt;the documentation for Gwion&lt;/a&gt;, and I'm gonna share the process here.&lt;/p&gt;

&lt;p&gt;The reason I say this was my first real contribution is because I technically have done this before, but it was just copy-pasting someone else's fix, from a fork that had diverged too much from master. &lt;/p&gt;

&lt;p&gt;So, on to the story:&lt;/p&gt;

&lt;p&gt;I was scrolling through dev.to (hey, thats where this article is!) and found one of those "request for contributors" posts. There was a link to a music-making programming language called &lt;a href="https://github.com/fennecdjay/Gwion"&gt;Gwion&lt;/a&gt;. It looked interesting, so I added my name to a (small) list of people, and waited. &lt;/p&gt;

&lt;p&gt;I got invited to a Github organization, and joined. When I got there, I found it populated with a few people who were talking about syntax and other code things.&lt;/p&gt;

&lt;p&gt;I had signed on to help with documentation, so I took a look... Yeah, they weren't kidding when they said it was WIP.&lt;/p&gt;

&lt;p&gt;I made a post on the organization with my suggestions of what I could do, and received very positive feedback!&lt;/p&gt;

&lt;p&gt;So, I started work. I fixed up the main page of the docs. I had to ask a few questions, but I got it done. (The pronouns thing in the cover image was me adding the pronouns of the maintainer) I submitted a PR, and it got approved!&lt;/p&gt;

&lt;p&gt;I've done a few more since then, and it's really fun. I'm glad I started doing this. I recommend it!&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>github</category>
      <category>git</category>
    </item>
    <item>
      <title>This Week in Rust is really cool</title>
      <dc:creator>Amber 🏳️‍🌈</dc:creator>
      <pubDate>Fri, 11 Sep 2020 21:01:59 +0000</pubDate>
      <link>https://dev.to/amberisvibin/this-week-in-rust-is-really-cool-1akm</link>
      <guid>https://dev.to/amberisvibin/this-week-in-rust-is-really-cool-1akm</guid>
      <description>&lt;p&gt;I just wanted to write a quick post about &lt;a href="https://this-week-in-rust.org/"&gt;This Week in Rust&lt;/a&gt;, just in case anyone actually reads these. It's a really cool newsletter that combines a bunch of info and sends it to your inbox. I promise I'm not sponsored or anything.&lt;/p&gt;

&lt;p&gt;It combines links to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blog.rust-lang.org/"&gt;Offical rust blog posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Tooling updates&lt;/li&gt;
&lt;li&gt;&lt;a href="https://rust-gamedev.github.io/"&gt;This Month in Rust Gamedev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://rust-osdev.com/"&gt;This Month in Rust OSDev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;New rust tutorials&lt;/li&gt;
&lt;li&gt;New rust briefs&lt;/li&gt;
&lt;li&gt;Project updates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;..and basically anything else. I highly recommend it.&lt;/p&gt;

</description>
      <category>rust</category>
    </item>
    <item>
      <title>Solving Rustc 'cannot find -lxcb-shape'</title>
      <dc:creator>Amber 🏳️‍🌈</dc:creator>
      <pubDate>Fri, 11 Sep 2020 19:40:26 +0000</pubDate>
      <link>https://dev.to/amberisvibin/solving-rustc-cannot-find-lxcb-shape-oe9</link>
      <guid>https://dev.to/amberisvibin/solving-rustc-cannot-find-lxcb-shape-oe9</guid>
      <description>&lt;p&gt;I wanted to learn Amethyst, a pretty cool game engine made in Rust. But when I tried to compile the "Hello World" project, I got the error &lt;code&gt;cannot find -lxcb-shape&lt;/code&gt;. This led to a few wasted hours and a lot of headaches, so I thought I'd share the fix here.&lt;/p&gt;

&lt;p&gt;I first tried to just run &lt;code&gt;apt get install libxcb-shape&lt;/code&gt;. It didn't exist. I thought this meant that the package wasn't in the Debian package list, but I was wrong.&lt;/p&gt;

&lt;p&gt;Then I tried just googling my exact issue, but I gave up quick. I should have kept going, because my answer was there, but whatever.&lt;/p&gt;

&lt;p&gt;I then moved to figuring out what &lt;code&gt;lxcb&lt;/code&gt; was, and apparently it's some sort of X window system.. thing. I'm still not really sure what it does. &lt;/p&gt;

&lt;p&gt;I found &lt;a href="https://gitlab.freedesktop.org/xorg/lib/libxcb"&gt;their GitLab page&lt;/a&gt;, and decided to try and compile and install it myself. There were a couple of dependencies I had to compile and install first, but eventually I got it installed. &lt;/p&gt;

&lt;p&gt;It didn't work. All of those hours were a waste.&lt;/p&gt;

&lt;p&gt;I went back to googling my exact issue, as I mentioned earlier, and found something. There was a &lt;a href="https://stackoverflow.com/questions/55758892/missing-libraries-on-linux-with-rust-and-amethyst"&gt;stackoverflow thread&lt;/a&gt; that mentioned the exact same problem.&lt;/p&gt;

&lt;p&gt;I should have read the &lt;em&gt;entire&lt;/em&gt; stackoverflow thread, but I just went comment by comment until I found &lt;a href="https://packages.ubuntu.com/bionic/amd64/libxcb-shape0-dev/filelist"&gt;this, a package listing for Ubuntu&lt;/a&gt;. It had the incredibly memorable and useful name of libxcb-shape0-dev. Why there is a 0 there, I have no idea. There is probably a good reason, but I don't know it, so it annoyed me.&lt;/p&gt;

&lt;p&gt;I installed that specific library, and it worked! My amethyst example was compiling! But there's something else.&lt;/p&gt;

&lt;p&gt;I was gonna end it here, but then, writing this article, I went and checked that stackoverflow thread again, and one person had linked the README for the amethyst project. There was a list of dependencies that I hadn't installed. This whole thing was just me being an idiot and not reading. I have never channeled &lt;a href="https://www.youtube.com/channel/UC-7I1gU1r6PxBSl87o-7YEQ"&gt;Druaga1&lt;/a&gt; more than in this moment. &lt;/p&gt;

&lt;p&gt;So, moral of the story, check the dependencies of things you install before going down a rabbit hole of self-compiling random libraries you now have no way of easily removing, so they'll just stay there.&lt;/p&gt;

&lt;p&gt;Thank you for reading about this mess.&lt;/p&gt;

</description>
      <category>rust</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
