summaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
Diffstat (limited to 'blog')
-rw-r--r--blog/8seg/index.html12
-rw-r--r--blog/hsm-basics/index.html5
-rw-r--r--blog/ihsm-worlds-first-diy-hsm/index.html2
-rw-r--r--blog/index.html126
-rw-r--r--blog/index.xml38
-rw-r--r--blog/jupyterlab-notebook-file-oneliner/index.html72
-rw-r--r--blog/kicad-mesh-plugin/index.html2
-rw-r--r--blog/led-characterization/index.html2
-rw-r--r--blog/multichannel-led-driver/index.html2
-rw-r--r--blog/private-contact-discovery/index.html6
-rw-r--r--blog/serial-protocols/index.html2
-rw-r--r--blog/telekom-gpon-sfp/index.html2
-rw-r--r--blog/thors-hammer/index.html2
-rw-r--r--blog/wifi-led-driver/index.html2
14 files changed, 218 insertions, 57 deletions
diff --git a/blog/8seg/index.html b/blog/8seg/index.html
index 05f30bc..c5059de 100644
--- a/blog/8seg/index.html
+++ b/blog/8seg/index.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
- <title>8seg | Home</title>
+ <title>8seg Technical Overview | Home</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mobile-web-app-capable" content="yes">
@@ -28,16 +28,16 @@
</nav>
<header>
- <h1>8seg</h1>
+ <h1>8seg Technical Overview</h1>
<ul class="breadcrumbs">
<li><a href="/">jaseg.de</a></li>
- <li><a href="/blog/">Blog</a></li><li><a href="/blog/8seg/">8seg</a></li>
+ <li><a href="/blog/">Blog</a></li><li><a href="/blog/8seg/">8seg Technical Overview</a></li>
</ul>
<strong>2023-12-26</strong>
</header>
<main data-pagefind-body>
- <div class="document" id="seg-technical-overview">
-<h1 class="title">8seg Technical Overview</h1>
+ <div class="document">
+
<div class="section" id="prologue">
<h2>Prologue</h2>
@@ -207,7 +207,7 @@ set of pre-programmed waveform transitions.</p>
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/hsm-basics/index.html b/blog/hsm-basics/index.html
index 738fa5d..054ac42 100644
--- a/blog/hsm-basics/index.html
+++ b/blog/hsm-basics/index.html
@@ -39,8 +39,6 @@
<div class="document">
-<div class="section" id="hardware-security-modules-and-security-research-and-cryptography">
-<h2>Hardware Security Modules and Security Research and Cryptography</h2>
<p>On May 17 2019 I gave a short presentation on the fundamentals of hardware security modules at the weekly seminar of
Prof. Mori's security research working group at Waseda University. The motivation for this was that outside of low-level
hardware security people and people working in the financial industry HSMs are not thought about that often. In
@@ -48,7 +46,6 @@ particular most network or systems security people would not consider them an op
really interesting to think about what could be done with an HSM in conjunction with modern cryptography (instead of
just plain old RSA-OAEP and AES-CBC).</p>
<p><a class="reference external" href="mori_semi_hsm_talk_web.pdf">Click here to download a PDF with the slides for this talk.</a></p>
-</div>
<div class="section" id="ideas-for-research-in-hsms">
<h2>Ideas for research in HSMs</h2>
<p>Preparing for this talk brought me back to some research ideas I've been working on for a while now. Since I'm not sure
@@ -227,7 +224,7 @@ while not providing better sensitivity.</p>
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/ihsm-worlds-first-diy-hsm/index.html b/blog/ihsm-worlds-first-diy-hsm/index.html
index b155b5e..202e8d7 100644
--- a/blog/ihsm-worlds-first-diy-hsm/index.html
+++ b/blog/ihsm-worlds-first-diy-hsm/index.html
@@ -68,7 +68,7 @@ could go out and build. We are planning to release this sort of documentation at
focusing our effort on the next iteration of the design instead. Stay tuned for updates ;)</p>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/index.html b/blog/index.html
index d20527a..c48040c 100644
--- a/blog/index.html
+++ b/blog/index.html
@@ -35,17 +35,26 @@
</header>
<main class="cards">
- <div class="intro">
- <div class="document">
+ <div class="card"><h3><a href="/blog/jupyterlab-notebook-file-oneliner/">Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook</a></h3><strong>2025-06-29</strong>
+ <div class="summary">
+ <div class="document">
+<p>If you need to get the path of the ipynb file in a running #Jupyter notebook, this one-liner will do the trick. It seems chatgpt is confused, and a bunch of other approaches on the web look fragile and/or unnecessarily complex to me.</p>
+</div>
+ <a href="http://jaseg.de/blog/jupyterlab-notebook-file-oneliner/">Read more</a>
+ </div>
</div>
- </div>
- <div class="card"><h3><a href="/blog/8seg/">8seg</a></h3><strong>2023-12-26</strong>
+
+ <div class="card"><h3><a href="/blog/8seg/">8seg Technical Overview</a></h3><strong>2023-12-26</strong>
<div class="summary">
- 8seg Technical Overview Prologue German hacker culture has this intense love for things that light up in colorful ways. Like for many others in this community, I have always been fascinated by LEDs. One of the first things on my pile of unfinished projects was to build my own LED matrix and use it to display text. When I started that project, I was still new to electronics. Back then, commercial LED matrices were limited to red or green color only, and were very expensive, so there was an incentive to build your own.
+ <div class="document">
+
+
+<p>8seg is a large-scale LED light art installation that displays text on a 1.5 meter high, 30 meter wide 8-segment display made from cheap LED tape.</p>
+</div>
<a href="http://jaseg.de/blog/8seg/">Read more</a>
</div>
</div>
@@ -53,7 +62,11 @@
<div class="card"><h3><a href="/blog/telekom-gpon-sfp/">Ubiquiti EdgeRouter on Deutsche Telekom GPON Fiber</a></h3><strong>2022-02-21</strong>
<div class="summary">
- Disclaimer I provide this guide as a reference for other knowledgeable users without any warranty. Please feel free to use this as a resource but do not hold me responsible if this does not work for you. There is a significant chance that due to an error on my side or due to Telekom changing their setup this guide will not work for you, and you may end up having to pay for an unsuccessful Telekom technician visit.
+ <div class="document">
+
+
+<p>Short tutorial on getting a Deutsche Telekom GPON internet connection running using a SFP ONU unit in an Ubiquiti EdgeRouter.</p>
+</div>
<a href="http://jaseg.de/blog/telekom-gpon-sfp/">Read more</a>
</div>
</div>
@@ -61,7 +74,11 @@
<div class="card"><h3><a href="/blog/ihsm-worlds-first-diy-hsm/">New Paper on Inertial Hardware Security Modules</a></h3><strong>2021-11-23</strong>
<div class="summary">
- World's First DIY HSM Last week, Prof. Dr. Björn Scheuermann and I have published our first joint paper on Hardware Security Modules. In our paper, we introduce Inertial Hardware Security Modules (IHSMs), a new way of building high-security HSMs from basic components. I think the technology we demonstrate in our paper might allow some neat applications where some civil organization deploys a service that no one, not even they themselves, can snoop on.
+ <div class="document">
+
+
+<p>Paper announcement: We have published a paper on how you can DIY a tamper-sensing hardware security module from any single-board computer using a moving tamper-sensing mesh made from cheap PCBs.</p>
+</div>
<a href="http://jaseg.de/blog/ihsm-worlds-first-diy-hsm/">Read more</a>
</div>
</div>
@@ -69,7 +86,11 @@
<div class="card"><h3><a href="/blog/kicad-mesh-plugin/">Kicad Mesh Plugin</a></h3><strong>2020-08-18</strong>
<div class="summary">
- Tamper Detection Meshes Cryptography is at the foundation of our modern, networked world. From email to card payment infrastructure in brick and mortar stores, cryptographic keys secure almost every part of our digital lives againts cybercriminals or curious surveillance capitalists. Without cryptography, many of the things we routinely do in our lives such as paying for groceries with a credit card, messaging a friend on Signal or unlocking a car with its keyfob would not be possible.
+ <div class="document">
+
+
+<p>I wrote a little KiCad plugin that you can use to create security meshes, heaters and other things where you need one or more traces cover the entire surface of a PCB. The plugin supports arbitrary PCB shapes, cutouts, and can route around existing footprints and traces on the PCB.</p>
+</div>
<a href="http://jaseg.de/blog/kicad-mesh-plugin/">Read more</a>
</div>
</div>
@@ -77,7 +98,11 @@
<div class="card"><h3><a href="/blog/private-contact-discovery/">Private Contact Discovery</a></h3><strong>2019-06-22</strong>
<div class="summary">
- Private Contact Discovery Private Contact Discovery (PCD) is the formal name for the problem modern smartphone messenger applications have on installation: Given a user's address book, find out which of their contacts also use the same messenger without the messenger's servers learning anything about the user's address book. The widespread non-private way to do this is to simply upload the user's address book to the app's operator's servers and do an SQL JOIN keyed on the phone number field against the database of registered users.
+ <div class="document">
+
+
+<p>I gave a short introduction into Private Contact Discovery protocols at our university workgroup.</p>
+</div>
<a href="http://jaseg.de/blog/private-contact-discovery/">Read more</a>
</div>
</div>
@@ -85,7 +110,11 @@
<div class="card"><h3><a href="/blog/hsm-basics/">Hardware Security Module Basics</a></h3><strong>2019-05-17</strong>
<div class="summary">
- Hardware Security Modules and Security Research and Cryptography On May 17 2019 I gave a short presentation on the fundamentals of hardware security modules at the weekly seminar of Prof. Mori's security research working group at Waseda University. The motivation for this was that outside of low-level hardware security people and people working in the financial industry HSMs are not thought about that often. In particular most network or systems security people would not consider them an option.
+ <div class="document">
+
+
+<p>I gave a short introduction into Hardware Security Modules at our university workgroup, including an overview on interesting research directions.</p>
+</div>
<a href="http://jaseg.de/blog/hsm-basics/">Read more</a>
</div>
</div>
@@ -93,9 +122,18 @@
<div class="card"><h3><a href="/blog/serial-protocols/">How to talk to your microcontroller over serial</a></h3><strong>2018-05-19</strong>
<div class="summary">
- Scroll to the end for the TL;DR.
-In this article I will give an overview on the protocols spoken on serial ports, highlighting common pitfalls. I will summarize some points on how to design a serial protocol that is simple to implement and works reliably even under error conditions.
-If you have done low-level microcontroller firmware you will regularly have had to stuff some data up a serial port to another microcontroller or to a computer.
+ <div class="document">
+
+
+<p>Scroll to the end for the <a class="reference internal" href="#conclusion">TL;DR</a>.</p>
+<p>In this article I will give an overview on the protocols spoken on serial ports, highlighting common pitfalls. I will
+summarize some points on how to design a serial protocol that is simple to implement and works reliably even under error
+conditions.</p>
+<p>If you have done low-level microcontroller firmware you will regularly have had to stuff some data up a serial port to
+another microcontroller or to a computer. In the age of USB, an old-school serial port is still the simplest and
+quickest way to get communication to a control computer up and running. Integrating a ten thousand-line USB stack into
+your firmware and writing the necessary low-level drivers on the host side might take days. Poking a few registers to
+set up your UART to talk to an external hardware USB to serial converter is a matter of minutes.</p></div>
<a href="http://jaseg.de/blog/serial-protocols/">Read more</a>
</div>
</div>
@@ -103,8 +141,29 @@ If you have done low-level microcontroller firmware you will regularly have had
<div class="card"><h3><a href="/blog/thors-hammer/">Thor&#39;s Hammer</a></h3><strong>2018-05-03</strong>
<div class="summary">
- In case you were having an inferiority complex because your friends' IBM Model M keyboards are so much louder than the shitty rubber dome freebie you got with your pc... Here's the solution: Thor's Hammer, a simple typing cadence enhancer for PS/2 keyboards.
-Your browser does not support the HTML5 video tag. A demonstration of the completed project. h264 download / webm download The connects to the keyboard's PS/2 clock line and briefly actuates a large solenoid on each key press.
+ <div class="document">
+
+
+<p>In case you were having an inferiority complex because your friends' IBM Model M keyboards are so much louder than the
+shitty rubber dome freebie you got with your pc... Here's the solution: Thor's Hammer, a simple typing cadence enhancer
+for <a class="reference external" href="https://en.wikipedia.org/wiki/PS/2_port">PS/2</a> keyboards.</p>
+<figure data-pagefind-ignore>
+ <video controls loop>
+ <source src="video/thors_hammer.mov" type="video/h264">
+ <source src="video/thors_hammer.webm" type="video/webm">
+ Your browser does not support the HTML5 video tag.
+ </video>
+ <figcaption>A demonstration of the completed project.
+
+ <a href="video/thors_hammer.mov">h264 download</a> /
+ <a href="video/thors_hammer.webm">webm download</a>
+ </figcaption>
+</figure><p>The connects to the keyboard's PS/2 clock line and briefly actuates a large solenoid on each key press. An interesting
+fact about PS/2 is that the clock line is only active as long as either the host computer or the input device actually
+want to send data. In case of a keyboard that's the case when a key is pressed or when the host changes the keyboard's
+LED state, otherwise the clock line is silent. We ignore the LED activity for now as it's generally coupled to key
+presses. By just triggering an NE555 configured as astable flipflop we can stretch each train of clock pulses to a
+pulse a few tens of milliseconds long that is enough to actuate the solenoid.</p></div>
<a href="http://jaseg.de/blog/thors-hammer/">Read more</a>
</div>
</div>
@@ -112,7 +171,11 @@ Your browser does not support the HTML5 video tag. A demonstration of the comple
<div class="card"><h3><a href="/blog/multichannel-led-driver/">32-Channel LED tape driver</a></h3><strong>2018-05-02</strong>
<div class="summary">
- Theoretical basics Together, a friend and I outfitted the small staircase at Berlin's Chaos Computer Club with nice, shiny RGB-WW LED tape for ambient lighting. This tape is like regular RGB tape but with an additional warm white channel, which makes for much more natural pastels and whites. There are several variants of RGBW tape. Cheap ones have separate RGB and white LEDs, which is fine for indirect lighting but does not work for direct lighting.
+ <div class="document">
+
+
+<p>Together, a friend and I outfitted the small staircase at Berlin's Chaos Computer Club with nice, shiny RGB-WW LED tape for ambient lighting. For this installation, I made a 32-channel LED driver that achieves high dynamic range on all 32 channels using a cheap microcontroller by using Binary Code Modulation.</p>
+</div>
<a href="http://jaseg.de/blog/multichannel-led-driver/">Read more</a>
</div>
</div>
@@ -120,7 +183,23 @@ Your browser does not support the HTML5 video tag. A demonstration of the comple
<div class="card"><h3><a href="/blog/wifi-led-driver/">Wifi Led Driver</a></h3><strong>2018-05-02</strong>
<div class="summary">
- Project motivation The completed driver board installed in the 3D-printed case. This device can now be connected to 12V and two segments of LED tape that can then be controlled trough Wifi. The ESP8266 module goes on the pin header on the left and was removed for this picture. After the multichannel LED driver was completed, I was just getting used to controlling LEDs at 14-bit resolution. I liked the board we designed in this project, but at 32 channels it was a bit large for most use cases.
+ <div class="document">
+
+
+<p>After the <a href="#system-message-1"><span class="problematic" id="problematic-1">`multichannel LED driver`_</span></a> was completed, I was just getting used to controlling LEDs at 14-bit resolution. I liked the board we designed in this project, but at 32 channels it was a bit large for most use cases. Sometimes I just want to pop a piece of LED tape or two somewhere, but I don't need a full 32 channels of control. I ended up thinking that a smaller version of the 32-channel driver that didn't require a separate control computer would be handy. So I sat down and designed a variant of the design with only 8 channels instead of 32 and an on-board <a href="#system-message-2"><span class="problematic" id="problematic-2">ESP8266_</span></a> module instead of the <a href="#system-message-3"><span class="problematic" id="problematic-3">RS485_</span></a> transceiver for WiFi connectivity.</p>
+<div class="system-messages section">
+<h2>Docutils System Messages</h2>
+<div class="system-message" id="system-message-1">
+<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">&lt;stdin&gt;</tt>, line 1); <em><a href="#problematic-1">backlink</a></em></p>
+Unknown target name: &quot;multichannel led driver&quot;.</div>
+<div class="system-message" id="system-message-2">
+<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">&lt;stdin&gt;</tt>, line 1); <em><a href="#problematic-2">backlink</a></em></p>
+Unknown target name: &quot;esp8266&quot;.</div>
+<div class="system-message" id="system-message-3">
+<p class="system-message-title">System Message: ERROR/3 (<tt class="docutils">&lt;stdin&gt;</tt>, line 1); <em><a href="#problematic-3">backlink</a></em></p>
+Unknown target name: &quot;rs485&quot;.</div>
+</div>
+</div>
<a href="http://jaseg.de/blog/wifi-led-driver/">Read more</a>
</div>
</div>
@@ -128,13 +207,22 @@ Your browser does not support the HTML5 video tag. A demonstration of the comple
<div class="card"><h3><a href="/blog/led-characterization/">LED Characterization</a></h3><strong>2018-05-02</strong>
<div class="summary">
- Preface Recently, I have been working on a small driver for ambient lighting using 12V LED strips like you can get inexpensively from China. I wanted to be able to just throw one of these somewhere, stick down some LED tape, hook it up to a small transformer and be able to control it through Wifi. When I was writing the firmware, I noticed that when fading between different colors, the colors look all wrong!
+ <div class="document">
+
+
+<div class="section" id="preface">
+<h2>Preface</h2>
+<p>Recently, I have been working on a <a class="reference external" href="http://jaseg.de/blog/wifi-led-driver/">small driver</a> for ambient lighting using 12V LED strips like you can get
+inexpensively from China. I wanted to be able to just throw one of these somewhere, stick down some LED tape, hook it up
+to a small transformer and be able to control it through Wifi. When I was writing the firmware, I noticed that when
+fading between different colors, the colors look <em>all wrong</em>! This observation led me down a rabbit hole of color
+perception and LED peculiarities.</p></div>
<a href="http://jaseg.de/blog/led-characterization/">Read more</a>
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/index.xml b/blog/index.xml
index 5054ab1..1e0239c 100644
--- a/blog/index.xml
+++ b/blog/index.xml
@@ -4,90 +4,94 @@
<title>Blog on Home</title>
<link>http://jaseg.de/blog/</link>
<description>Recent content in Blog on Home</description>
- <generator>Hugo -- gohugo.io</generator>
+ <generator>Hugo</generator>
<language>en-us</language>
<copyright>Jan Sebastian Götte</copyright>
- <lastBuildDate>Tue, 26 Dec 2023 15:26:00 +0100</lastBuildDate>
+ <lastBuildDate>Sun, 29 Jun 2025 23:42:00 +0100</lastBuildDate>
<atom:link href="http://jaseg.de/blog/index.xml" rel="self" type="application/rss+xml" />
<item>
- <title>8seg</title>
+ <title>Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook</title>
+ <link>http://jaseg.de/blog/jupyterlab-notebook-file-oneliner/</link>
+ <pubDate>Sun, 29 Jun 2025 23:42:00 +0100</pubDate>
+ <guid>http://jaseg.de/blog/jupyterlab-notebook-file-oneliner/</guid>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;If you need to get the path of the ipynb file in a running #Jupyter notebook, this one-liner will do the trick. It seems chatgpt is confused, and a bunch of other approaches on the web look fragile and/or unnecessarily complex to me.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
+ </item>
+ <item>
+ <title>8seg Technical Overview</title>
<link>http://jaseg.de/blog/8seg/</link>
<pubDate>Tue, 26 Dec 2023 15:26:00 +0100</pubDate>
<guid>http://jaseg.de/blog/8seg/</guid>
- <description>8seg Technical Overview Prologue German hacker culture has this intense love for things that light up in colorful ways. Like for many others in this community, I have always been fascinated by LEDs. One of the first things on my pile of unfinished projects was to build my own LED matrix and use it to display text. When I started that project, I was still new to electronics. Back then, commercial LED matrices were limited to red or green color only, and were very expensive, so there was an incentive to build your own.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;8seg is a large-scale LED light art installation that displays text on a 1.5 meter high, 30 meter wide 8-segment display made from cheap LED tape.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>Ubiquiti EdgeRouter on Deutsche Telekom GPON Fiber</title>
<link>http://jaseg.de/blog/telekom-gpon-sfp/</link>
<pubDate>Mon, 21 Feb 2022 20:00:00 +0100</pubDate>
<guid>http://jaseg.de/blog/telekom-gpon-sfp/</guid>
- <description>Disclaimer I provide this guide as a reference for other knowledgeable users without any warranty. Please feel free to use this as a resource but do not hold me responsible if this does not work for you. There is a significant chance that due to an error on my side or due to Telekom changing their setup this guide will not work for you, and you may end up having to pay for an unsuccessful Telekom technician visit.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;Short tutorial on getting a Deutsche Telekom GPON internet connection running using a SFP ONU unit in an Ubiquiti EdgeRouter.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>New Paper on Inertial Hardware Security Modules</title>
<link>http://jaseg.de/blog/ihsm-worlds-first-diy-hsm/</link>
<pubDate>Tue, 23 Nov 2021 23:42:20 +0100</pubDate>
<guid>http://jaseg.de/blog/ihsm-worlds-first-diy-hsm/</guid>
- <description>World&#39;s First DIY HSM Last week, Prof. Dr. Björn Scheuermann and I have published our first joint paper on Hardware Security Modules. In our paper, we introduce Inertial Hardware Security Modules (IHSMs), a new way of building high-security HSMs from basic components. I think the technology we demonstrate in our paper might allow some neat applications where some civil organization deploys a service that no one, not even they themselves, can snoop on.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;Paper announcement: We have published a paper on how you can DIY a tamper-sensing hardware security module from any single-board computer using a moving tamper-sensing mesh made from cheap PCBs.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>Kicad Mesh Plugin</title>
<link>http://jaseg.de/blog/kicad-mesh-plugin/</link>
<pubDate>Tue, 18 Aug 2020 13:15:39 +0200</pubDate>
<guid>http://jaseg.de/blog/kicad-mesh-plugin/</guid>
- <description>Tamper Detection Meshes Cryptography is at the foundation of our modern, networked world. From email to card payment infrastructure in brick and mortar stores, cryptographic keys secure almost every part of our digital lives againts cybercriminals or curious surveillance capitalists. Without cryptography, many of the things we routinely do in our lives such as paying for groceries with a credit card, messaging a friend on Signal or unlocking a car with its keyfob would not be possible.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;I wrote a little KiCad plugin that you can use to create security meshes, heaters and other things where you need one or more traces cover the entire surface of a PCB. The plugin supports arbitrary PCB shapes, cutouts, and can route around existing footprints and traces on the PCB.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>Private Contact Discovery</title>
<link>http://jaseg.de/blog/private-contact-discovery/</link>
<pubDate>Sat, 22 Jun 2019 10:30:00 +0800</pubDate>
<guid>http://jaseg.de/blog/private-contact-discovery/</guid>
- <description>Private Contact Discovery Private Contact Discovery (PCD) is the formal name for the problem modern smartphone messenger applications have on installation: Given a user&#39;s address book, find out which of their contacts also use the same messenger without the messenger&#39;s servers learning anything about the user&#39;s address book. The widespread non-private way to do this is to simply upload the user&#39;s address book to the app&#39;s operator&#39;s servers and do an SQL JOIN keyed on the phone number field against the database of registered users.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;I gave a short introduction into Private Contact Discovery protocols at our university workgroup.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>Hardware Security Module Basics</title>
<link>http://jaseg.de/blog/hsm-basics/</link>
<pubDate>Fri, 17 May 2019 15:29:20 +0800</pubDate>
<guid>http://jaseg.de/blog/hsm-basics/</guid>
- <description>Hardware Security Modules and Security Research and Cryptography On May 17 2019 I gave a short presentation on the fundamentals of hardware security modules at the weekly seminar of Prof. Mori&#39;s security research working group at Waseda University. The motivation for this was that outside of low-level hardware security people and people working in the financial industry HSMs are not thought about that often. In particular most network or systems security people would not consider them an option.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;I gave a short introduction into Hardware Security Modules at our university workgroup, including an overview on interesting research directions.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>How to talk to your microcontroller over serial</title>
<link>http://jaseg.de/blog/serial-protocols/</link>
<pubDate>Sat, 19 May 2018 08:09:46 +0200</pubDate>
<guid>http://jaseg.de/blog/serial-protocols/</guid>
- <description>Scroll to the end for the TL;DR.
-In this article I will give an overview on the protocols spoken on serial ports, highlighting common pitfalls. I will summarize some points on how to design a serial protocol that is simple to implement and works reliably even under error conditions.
-If you have done low-level microcontroller firmware you will regularly have had to stuff some data up a serial port to another microcontroller or to a computer.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;Scroll to the end for the &lt;a class=&#34;reference internal&#34; href=&#34;#conclusion&#34;&gt;TL;DR&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In this article I will give an overview on the protocols spoken on serial ports, highlighting common pitfalls. I will&#xA;summarize some points on how to design a serial protocol that is simple to implement and works reliably even under error&#xA;conditions.&lt;/p&gt;&#xA;&lt;p&gt;If you have done low-level microcontroller firmware you will regularly have had to stuff some data up a serial port to&#xA;another microcontroller or to a computer. In the age of USB, an old-school serial port is still the simplest and&#xA;quickest way to get communication to a control computer up and running. Integrating a ten thousand-line USB stack into&#xA;your firmware and writing the necessary low-level drivers on the host side might take days. Poking a few registers to&#xA;set up your UART to talk to an external hardware USB to serial converter is a matter of minutes.&lt;/p&gt;&lt;/div&gt;</description>
</item>
<item>
<title>Thor&#39;s Hammer</title>
<link>http://jaseg.de/blog/thors-hammer/</link>
<pubDate>Thu, 03 May 2018 11:59:37 +0200</pubDate>
<guid>http://jaseg.de/blog/thors-hammer/</guid>
- <description>In case you were having an inferiority complex because your friends&#39; IBM Model M keyboards are so much louder than the shitty rubber dome freebie you got with your pc... Here&#39;s the solution: Thor&#39;s Hammer, a simple typing cadence enhancer for PS/2 keyboards.
-Your browser does not support the HTML5 video tag. A demonstration of the completed project. h264 download / webm download The connects to the keyboard&#39;s PS/2 clock line and briefly actuates a large solenoid on each key press.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;In case you were having an inferiority complex because your friends&#39; IBM Model M keyboards are so much louder than the&#xA;shitty rubber dome freebie you got with your pc... Here&#39;s the solution: Thor&#39;s Hammer, a simple typing cadence enhancer&#xA;for &lt;a class=&#34;reference external&#34; href=&#34;https://en.wikipedia.org/wiki/PS/2_port&#34;&gt;PS/2&lt;/a&gt; keyboards.&lt;/p&gt;&#xA;&lt;figure data-pagefind-ignore&gt;&#xA; &lt;video controls loop&gt;&#xA; &lt;source src=&#34;video/thors_hammer.mov&#34; type=&#34;video/h264&#34;&gt;&#xA; &lt;source src=&#34;video/thors_hammer.webm&#34; type=&#34;video/webm&#34;&gt;&#xA; Your browser does not support the HTML5 video tag.&#xA; &lt;/video&gt;&#xA; &lt;figcaption&gt;A demonstration of the completed project.&#xA;&#xA; &lt;a href=&#34;video/thors_hammer.mov&#34;&gt;h264 download&lt;/a&gt; /&#xA; &lt;a href=&#34;video/thors_hammer.webm&#34;&gt;webm download&lt;/a&gt;&#xA; &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&lt;p&gt;The connects to the keyboard&#39;s PS/2 clock line and briefly actuates a large solenoid on each key press. An interesting&#xA;fact about PS/2 is that the clock line is only active as long as either the host computer or the input device actually&#xA;want to send data. In case of a keyboard that&#39;s the case when a key is pressed or when the host changes the keyboard&#39;s&#xA;LED state, otherwise the clock line is silent. We ignore the LED activity for now as it&#39;s generally coupled to key&#xA;presses. By just triggering an NE555 configured as astable flipflop we can stretch each train of clock pulses to a&#xA;pulse a few tens of milliseconds long that is enough to actuate the solenoid.&lt;/p&gt;&lt;/div&gt;</description>
</item>
<item>
<title>32-Channel LED tape driver</title>
<link>http://jaseg.de/blog/multichannel-led-driver/</link>
<pubDate>Wed, 02 May 2018 11:31:14 +0200</pubDate>
<guid>http://jaseg.de/blog/multichannel-led-driver/</guid>
- <description>Theoretical basics Together, a friend and I outfitted the small staircase at Berlin&#39;s Chaos Computer Club with nice, shiny RGB-WW LED tape for ambient lighting. This tape is like regular RGB tape but with an additional warm white channel, which makes for much more natural pastels and whites. There are several variants of RGBW tape. Cheap ones have separate RGB and white LEDs, which is fine for indirect lighting but does not work for direct lighting.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;Together, a friend and I outfitted the small staircase at Berlin&#39;s Chaos Computer Club with nice, shiny RGB-WW LED tape for ambient lighting. For this installation, I made a 32-channel LED driver that achieves high dynamic range on all 32 channels using a cheap microcontroller by using Binary Code Modulation.&lt;/p&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>Wifi Led Driver</title>
<link>http://jaseg.de/blog/wifi-led-driver/</link>
<pubDate>Wed, 02 May 2018 11:31:03 +0200</pubDate>
<guid>http://jaseg.de/blog/wifi-led-driver/</guid>
- <description>Project motivation The completed driver board installed in the 3D-printed case. This device can now be connected to 12V and two segments of LED tape that can then be controlled trough Wifi. The ESP8266 module goes on the pin header on the left and was removed for this picture. After the multichannel LED driver was completed, I was just getting used to controlling LEDs at 14-bit resolution. I liked the board we designed in this project, but at 32 channels it was a bit large for most use cases.</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;p&gt;After the &lt;a href=&#34;#system-message-1&#34;&gt;&lt;span class=&#34;problematic&#34; id=&#34;problematic-1&#34;&gt;`multichannel LED driver`_&lt;/span&gt;&lt;/a&gt; was completed, I was just getting used to controlling LEDs at 14-bit resolution. I liked the board we designed in this project, but at 32 channels it was a bit large for most use cases. Sometimes I just want to pop a piece of LED tape or two somewhere, but I don&#39;t need a full 32 channels of control. I ended up thinking that a smaller version of the 32-channel driver that didn&#39;t require a separate control computer would be handy. So I sat down and designed a variant of the design with only 8 channels instead of 32 and an on-board &lt;a href=&#34;#system-message-2&#34;&gt;&lt;span class=&#34;problematic&#34; id=&#34;problematic-2&#34;&gt;ESP8266_&lt;/span&gt;&lt;/a&gt; module instead of the &lt;a href=&#34;#system-message-3&#34;&gt;&lt;span class=&#34;problematic&#34; id=&#34;problematic-3&#34;&gt;RS485_&lt;/span&gt;&lt;/a&gt; transceiver for WiFi connectivity.&lt;/p&gt;&#xA;&lt;div class=&#34;system-messages section&#34;&gt;&#xA;&lt;h2&gt;Docutils System Messages&lt;/h2&gt;&#xA;&lt;div class=&#34;system-message&#34; id=&#34;system-message-1&#34;&gt;&#xA;&lt;p class=&#34;system-message-title&#34;&gt;System Message: ERROR/3 (&lt;tt class=&#34;docutils&#34;&gt;&amp;lt;stdin&amp;gt;&lt;/tt&gt;, line 1); &lt;em&gt;&lt;a href=&#34;#problematic-1&#34;&gt;backlink&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;Unknown target name: &amp;quot;multichannel led driver&amp;quot;.&lt;/div&gt;&#xA;&lt;div class=&#34;system-message&#34; id=&#34;system-message-2&#34;&gt;&#xA;&lt;p class=&#34;system-message-title&#34;&gt;System Message: ERROR/3 (&lt;tt class=&#34;docutils&#34;&gt;&amp;lt;stdin&amp;gt;&lt;/tt&gt;, line 1); &lt;em&gt;&lt;a href=&#34;#problematic-2&#34;&gt;backlink&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;Unknown target name: &amp;quot;esp8266&amp;quot;.&lt;/div&gt;&#xA;&lt;div class=&#34;system-message&#34; id=&#34;system-message-3&#34;&gt;&#xA;&lt;p class=&#34;system-message-title&#34;&gt;System Message: ERROR/3 (&lt;tt class=&#34;docutils&#34;&gt;&amp;lt;stdin&amp;gt;&lt;/tt&gt;, line 1); &lt;em&gt;&lt;a href=&#34;#problematic-3&#34;&gt;backlink&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&#xA;Unknown target name: &amp;quot;rs485&amp;quot;.&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;/div&gt;</description>
</item>
<item>
<title>LED Characterization</title>
<link>http://jaseg.de/blog/led-characterization/</link>
<pubDate>Wed, 02 May 2018 11:18:38 +0200</pubDate>
<guid>http://jaseg.de/blog/led-characterization/</guid>
- <description>Preface Recently, I have been working on a small driver for ambient lighting using 12V LED strips like you can get inexpensively from China. I wanted to be able to just throw one of these somewhere, stick down some LED tape, hook it up to a small transformer and be able to control it through Wifi. When I was writing the firmware, I noticed that when fading between different colors, the colors look all wrong!</description>
+ <description>&lt;div class=&#34;document&#34;&gt;&#xA;&#xA;&#xA;&lt;div class=&#34;section&#34; id=&#34;preface&#34;&gt;&#xA;&lt;h2&gt;Preface&lt;/h2&gt;&#xA;&lt;p&gt;Recently, I have been working on a &lt;a class=&#34;reference external&#34; href=&#34;http://jaseg.de/blog/wifi-led-driver/&#34;&gt;small driver&lt;/a&gt; for ambient lighting using 12V LED strips like you can get&#xA;inexpensively from China. I wanted to be able to just throw one of these somewhere, stick down some LED tape, hook it up&#xA;to a small transformer and be able to control it through Wifi. When I was writing the firmware, I noticed that when&#xA;fading between different colors, the colors look &lt;em&gt;all wrong&lt;/em&gt;! This observation led me down a rabbit hole of color&#xA;perception and LED peculiarities.&lt;/p&gt;&lt;/div&gt;</description>
</item>
</channel>
</rss>
diff --git a/blog/jupyterlab-notebook-file-oneliner/index.html b/blog/jupyterlab-notebook-file-oneliner/index.html
new file mode 100644
index 0000000..3662214
--- /dev/null
+++ b/blog/jupyterlab-notebook-file-oneliner/index.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<html><head>
+ <meta charset="utf-8">
+ <title>Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook | Home</title>
+ <meta name="description" content="">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="mobile-web-app-capable" content="yes">
+ <meta name="color-scheme" content="dark light">
+ <link rel="stylesheet" href="/style.css">
+</head>
+<body><nav>
+ <div class="internal">
+
+ <a href="/" title="Home">Home</a>
+ <a href="/blog/" title="Blog">Blog</a>
+ <a href="/projects/" title="Projects">Projects</a>
+ <a href="/about/" title="About">About</a>
+ </div>
+ <div class="search">
+ <div id="search"></div>
+ </div>
+ <div class="external">
+ <a href="https://git.jaseg.de/" title="cgit">cgit</a>
+ <a href="https://github.com/jaseg" title="Github">Github</a>
+ <a href="https://gitlab.com/neinseg" title="Gitlab">Gitlab</a>
+ <a href="https://chaos.social/@jaseg" title="Mastodon">Mastodon</a>
+ </span>
+</nav>
+
+ <header>
+ <h1>Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook</h1>
+<ul class="breadcrumbs">
+ <li><a href="/">jaseg.de</a></li>
+ <li><a href="/blog/">Blog</a></li><li><a href="/blog/jupyterlab-notebook-file-oneliner/">Getting the .ipynb Notebook File Location From a Running Jupyter Lab Notebook</a></li>
+</ul>
+ <strong>2025-06-29</strong>
+ </header>
+ <main data-pagefind-body>
+ <div class="document">
+
+
+<p>If you need to get the path of the ipynb file in a running #Jupyter notebook, this one-liner will do the trick. It seems
+chatgpt is confused, and a bunch of other approaches on the web look fragile and/or unnecessarily complex to me.</p>
+<pre class="code python literal-block">
+<span class="lineno"></span><span class="line"><span class="kn">import</span><span class="w"> </span><span class="nn">sys</span><span class="w"></span></span>
+<span class="lineno"></span><span class="line"><span class="w"></span><span class="n">Path</span><span class="p">(</span><span class="n">json</span><span class="o">.</span><span class="n">loads</span><span class="p">(</span><span class="n">Path</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">argv</span><span class="p">[</span><span class="o">-</span><span class="mi">1</span><span class="p">])</span><span class="o">.</span><span class="n">read_bytes</span><span class="p">())[</span><span class="s1">'jupyter_session'</span><span class="p">])</span>
+</span></pre>
+<p>The way this works is that for each notebook, jupyter starts a python &quot;kernel&quot; process that actually runs the notebook's
+code. That kernel gets a json file with info on the notebook's location on the disk passed through its command line.
+Since we're running code in that exact python process, we can just grab that json file from sys.argv, and read it
+ourselves.</p>
+</div>
+ </main><footer>
+ Copyright © 2025 Jan Sebastian Götte
+ / <a href="/about/">About</a>
+ / <a href="/imprint/">Imprint</a>
+</footer>
+<script src="/pagefind/pagefind-ui.js"></script>
+ <script>
+ if(navigator.getEnvironmentIntegrity!==undefined)document.querySelector('body').innerHTML=`<h1>Your browser
+ contains Google DRM</h1>"Web Environment Integrity" is a Google euphemism for a DRM that is designed to
+ prevent ad-blocking, and which Google has forced into their browsers against widespread public opposition.
+ In support of an open web, this website does not function with this DRM. Please install a browser such
+ as <a href="https://www.mozilla.org/en-US/firefox/new/">Firefox</a> that respects your freedom and supports
+ ad blockers.`;
+
+ window.addEventListener('DOMContentLoaded', (event) => {
+ new PagefindUI({element: "#search", showSubResults: true});
+ });
+ </script>
+ </body>
+</html>
diff --git a/blog/kicad-mesh-plugin/index.html b/blog/kicad-mesh-plugin/index.html
index def76ef..d47f0c8 100644
--- a/blog/kicad-mesh-plugin/index.html
+++ b/blog/kicad-mesh-plugin/index.html
@@ -204,7 +204,7 @@ making a copy of the board file first and treating mesh generation as a non-reve
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/led-characterization/index.html b/blog/led-characterization/index.html
index 4c0f8fc..332c57f 100644
--- a/blog/led-characterization/index.html
+++ b/blog/led-characterization/index.html
@@ -418,7 +418,7 @@ can view the Jupyter notebook most of the analysis above <a class="reference ext
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/multichannel-led-driver/index.html b/blog/multichannel-led-driver/index.html
index 9f5682f..0084f3b 100644
--- a/blog/multichannel-led-driver/index.html
+++ b/blog/multichannel-led-driver/index.html
@@ -371,7 +371,7 @@ analyze the brightness measurement data <a class="reference external" href="http
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/private-contact-discovery/index.html b/blog/private-contact-discovery/index.html
index f815f6c..f81c430 100644
--- a/blog/private-contact-discovery/index.html
+++ b/blog/private-contact-discovery/index.html
@@ -36,8 +36,8 @@
<strong>2019-06-22</strong>
</header>
<main data-pagefind-body>
- <div class="document" id="private-contact-discovery">
-<h1 class="title">Private Contact Discovery</h1>
+ <div class="document">
+
<p>Private Contact Discovery (PCD) is the formal name for the problem modern smartphone messenger applications have on
installation: Given a user's address book, find out which of their contacts also use the same messenger without the
@@ -67,7 +67,7 @@ users benefit from improved privacy, but your company might be able to avoid a b
accountability issues by simply not producing as much sensitive data in the first place.</p>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/serial-protocols/index.html b/blog/serial-protocols/index.html
index a0cbccc..06a876c 100644
--- a/blog/serial-protocols/index.html
+++ b/blog/serial-protocols/index.html
@@ -238,7 +238,7 @@ want to set a large framebuffer in pieces, do it in a <a class="reference extern
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/telekom-gpon-sfp/index.html b/blog/telekom-gpon-sfp/index.html
index b01d35e..3569b13 100644
--- a/blog/telekom-gpon-sfp/index.html
+++ b/blog/telekom-gpon-sfp/index.html
@@ -213,7 +213,7 @@ collected <a class="reference external" href="https://github.com/xvzf/zyxel-gpon
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/thors-hammer/index.html b/blog/thors-hammer/index.html
index 2bbea5e..86cf8ce 100644
--- a/blog/thors-hammer/index.html
+++ b/blog/thors-hammer/index.html
@@ -75,7 +75,7 @@ excitation duration using the potentiometer. My particular solenoid was a bit sl
board as shims between the plunger and the case to limit the plunger's travel inside the solenoid core.</p>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>
diff --git a/blog/wifi-led-driver/index.html b/blog/wifi-led-driver/index.html
index ed5667b..7d33bcf 100644
--- a/blog/wifi-led-driver/index.html
+++ b/blog/wifi-led-driver/index.html
@@ -133,7 +133,7 @@ violence.</p>
</div>
</div>
</main><footer>
- Copyright © 2023 Jan Sebastian Götte
+ Copyright © 2025 Jan Sebastian Götte
/ <a href="/about/">About</a>
/ <a href="/imprint/">Imprint</a>
</footer>