<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>blag.nebk.xyz</title>
    <link>https://blag.nebk.xyz/</link>
    <description>Recent content on blag.nebk.xyz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>© Sam Ellicott</copyright>
    <lastBuildDate>Sun, 25 Jan 2026 14:50:36 -0500</lastBuildDate>
    <atom:link href="https://blag.nebk.xyz/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Matlab Gnutls Error</title>
      <link>https://blag.nebk.xyz/2026/01/matlab-gnutls-error/</link>
      <pubDate>Sun, 25 Jan 2026 14:50:36 -0500</pubDate>
      <guid>https://blag.nebk.xyz/2026/01/matlab-gnutls-error/</guid>
      <description>&lt;p&gt;When starting Matlab on Arch Linux the error&#xA;including the line&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# C  [libmwlmgrimpl.so+0x22c420]  Ox76b599173db0bd16+0x190&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;is reported.&lt;/p&gt;&#xA;&lt;p&gt;To find details on the error we can use coredumpctl and gdb to view the stack trace.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;coredumpctl gdb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;Which produces the following truncated output:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Stack trace of thread 3291923:&#xA;                #0  0x00007fdbd78255df abort (libc.so.6 + 0x255df)&#xA;                #1  0x00007fdbd78254e3 n/a (libc.so.6 + 0x254e3)&#xA;                #2  0x00007fdbd7f755e0 n/a (libmwfl.so + 0x4e5e0)&#xA;                #3  0x00007fdbd7f77176 n/a (libmwfl.so + 0x50176)&#xA;                #4  0x00007fdbd7f77310 _ZN10foundation4core4diag9terminateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKciSB_ (libmwfl.so + 0x50310)&#xA;                #5  0x00007fdbb4f6a14a n/a (libmwjmi.so + 0x16a14a)&#xA;                #6  0x00007fdb6670e700 _ZN2os5abortEb (libjvm.so + 0x90e700)&#xA;                #7  0x00007fdb668d3683 _ZN7VMError14report_and_dieEv (libjvm.so + 0xad3683)&#xA;                #8  0x00007fdb66718995 JVM_handle_linux_signal (libjvm.so + 0x918995)&#xA;                #9  0x00007fdb6670b858 _Z13signalHandleriP7siginfoPv (libjvm.so + 0x90b858)&#xA;                #10 0x00007fdbd783e4d0 n/a (libc.so.6 + 0x3e4d0)&#xA;                #11 0x00007fdb67e2c420 Ox76b599173db0bd16 (libmwlmgrimpl.so + 0x22c420)&#xA;                #12 0x00007fdb67e2cd37 lc_init (libmwlmgrimpl.so + 0x22cd37)&#xA;                #13 0x00007fdaf5464768 n/a (libgnutls.so.30 + 0x64768)&#xA;                #14 0x00007fdaf542652f n/a (libgnutls.so.30 + 0x2652f)&#xA;                ...&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It turns out this version of Matlab is incompatable with the current version of gnutls 3.8.11&#xA;packaged with Arch Linux. (I honestly don&amp;rsquo;t know why, there appear to only be additional functions&#xA;in the new version with no ABI breaking changes according to abidiff.)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Software</title>
      <link>https://blag.nebk.xyz/software/</link>
      <pubDate>Tue, 10 Dec 2024 17:10:59 +0000</pubDate>
      <guid>https://blag.nebk.xyz/software/</guid>
      <description>&lt;h1 id=&#34;wots-all-this-then&#34;&gt;Wot&amp;rsquo;s all this then?&lt;/h1&gt;&#xA;&lt;p&gt;Sometimes I run across interesting videos about some aspect of software development.&#xA;I&amp;rsquo;ve decided to start keeping a list of these topics and videos here. This might expand to multiple pages&#xA;if it gets too crowded for a single page.&lt;/p&gt;&#xA;&lt;h2 id=&#34;opengl-graphics-and-font-rendering&#34;&gt;OpenGL Graphics and Font Rendering&lt;/h2&gt;&#xA;&lt;p&gt;At some point, I want to make a custom program for making animations and slides. That will require GPU accelerated graphics and text rendering.&#xA;I&amp;rsquo;m collecting useful videos for that purpose.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using ydl to download youtube videos</title>
      <link>https://blag.nebk.xyz/2024/05/using-ydl-to-download-youtube-videos/</link>
      <pubDate>Wed, 15 May 2024 15:21:49 -0400</pubDate>
      <guid>https://blag.nebk.xyz/2024/05/using-ydl-to-download-youtube-videos/</guid>
      <description>&lt;p&gt;I use &lt;a href=&#34;https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#installation&#34;&gt;ydl&lt;/a&gt; to download videos from youtube.&#xA;However, I often forget how to download the version of the video that I want, so I have made a quick document&#xA;for myself to rembember how to do it.&lt;/p&gt;&#xA;&lt;p&gt;List the availible formats with the following command:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ydl -F &amp;lt;url&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;Download the format you want using&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;div style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&#xA;&lt;table style=&#34;border-spacing:0;padding:0;margin:0;border:0;&#34;&gt;&lt;tr&gt;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code&gt;&lt;span style=&#34;white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f&#34;&gt;1&#xA;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#xA;&lt;td style=&#34;vertical-align:top;padding:0;margin:0;border:0;;width:100%&#34;&gt;&#xA;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ydl -f &amp;lt;ID&amp;gt; &amp;lt;url&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Open Source Circuit Design</title>
      <link>https://blag.nebk.xyz/2024/02/open-source-circuit-design/</link>
      <pubDate>Wed, 07 Feb 2024 09:34:00 -0400</pubDate>
      <guid>https://blag.nebk.xyz/2024/02/open-source-circuit-design/</guid>
      <description>&lt;p&gt;These are my notes regarding the Open-Source IC design tools including their setup and usage.&#xA;I will also try and post any tips and tricks that I find helpful.&lt;/p&gt;&#xA;&lt;h2 id=&#34;digital-design&#34;&gt;Digital Design&lt;/h2&gt;&#xA;&lt;h3 id=&#34;setup&#34;&gt;Setup&lt;/h3&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;[!NOTE]&#xA;I have more or less just been using the oss-cad-suite tools for my developoment with Tiny Tapeout, then push to Github for doing the gate-level synthesis.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;I like to keep my EDA tools (particularly ones that modify the environment) out of my main system path. The OSS-CAD-Suite conveniently has a activation script to facilitate this use case, this is in line with the commercial EDA tools. It is particularly useful so that multiple versions of the tools can be installed at the same time without conflict. Install the CAD suite by extracting the &lt;a href=&#34;https://github.com/YosysHQ/oss-cad-suite-build/releases&#34;&gt;release&lt;/a&gt; to a directory of your choice (I install to &lt;code&gt;~/.local/extra_packages/oss-cad-suite&lt;/code&gt;). To use the tools, you need to activate the environment, do this by running &lt;code&gt;source &amp;lt;path to suite&amp;gt;/activate&lt;/code&gt;. However, I don&amp;rsquo;t like having to remember exactly where I put my tools in the path, so I use a &amp;ldquo;startup script&amp;rdquo; that I can copy to my project directory to activate the correct environment for me.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Binary Output from a C/C&#43;&#43; Function</title>
      <link>https://blag.nebk.xyz/2023/09/binary-output-from-a-c/c-function/</link>
      <pubDate>Fri, 08 Sep 2023 15:21:49 -0400</pubDate>
      <guid>https://blag.nebk.xyz/2023/09/binary-output-from-a-c/c-function/</guid>
      <description>&lt;p&gt;This is a repost from my old site.&lt;/p&gt;&#xA;&lt;p&gt;Just a quick post to demonstrate a script that can be used to generate the binary form of a C/C++ function on Linux.&#xA;It prints both the disassembled code and a &amp;ldquo;C array&amp;rdquo; (array of hexadecimal bytes suitable for a .h file) of the function.&lt;/p&gt;&#xA;&lt;h2 id=&#34;motivation---testing-executable-stacks&#34;&gt;Motivation - Testing Executable Stacks&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I was asked &lt;em&gt;why&lt;/em&gt; I would care about getting the binary codes for a compiled function. This code came&#xA;from a discussion in &lt;a href=&#34;https://discord.gg/CCeyWyZ&#34;&gt;cnlohr&amp;rsquo;s Discord server&lt;/a&gt; about executing code on the stack.&#xA;There was some&#xA;back and forth on whether Linux defaults allow that behavior. The easiest way to test the assumptions was to grab some&#xA;simple code from a precompiled C function, put it into an array on the stack, then jump to it as a function pointer&#xA;and see what happens.&lt;/p&gt;</description>
    </item>
    <item>
      <title>About</title>
      <link>https://blag.nebk.xyz/about/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://blag.nebk.xyz/about/</guid>
      <description>&lt;p&gt;I am a &lt;del&gt;sophomore&lt;/del&gt; &lt;del&gt;junior&lt;/del&gt; &lt;del&gt;senior&lt;/del&gt; graduate of &lt;a href=&#34;https://cedarville.edu&#34;&gt;Cedarville University&lt;/a&gt; with a degree in Electrical Engineering.&#xA;Currently I am working towards a PhD in Electrical Engineering from Ohio State University in the field of integrated circuit design.&#xA;I am a Christian and attempt to live in such a way that I glorify God through all my actions with a pursuit of excellence.&#xA;I enjoy working on electronics (analog and digital), programming (C like languages), camping, and playing piano.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
