-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.xml
305 lines (261 loc) · 17.3 KB
/
index.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Willem's blog</title>
<link>https://nlitsme.github.io/</link>
<description>Recent content on Willem's blog</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 07 Aug 2020 00:00:00 +0000</lastBuildDate>
<atom:link href="https://nlitsme.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>MPMP12 Marching band Problem</title>
<link>https://nlitsme.github.io/2020/08/2020-08-07-mpmp12-marching-band-problem/</link>
<pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/08/2020-08-07-mpmp12-marching-band-problem/</guid>
<description><h1 id="marching-band-problem">Marching Band problem</h1>
<p>In this document I describe a solution to the &lsquo;marchingband&rsquo; problem as stated on <a href="http://think-maths.co.uk/marchingband">think-maths</a>:</p>
<pre><code>What is the fewest number of performers you require for your marching band to
have 64 marching options? (Only whole positive numbers will be accepted)
</code></pre>
<p>Where a &lsquo;marchingband&rsquo; can march only in a rectangular shape.</p>
<p>Also, I present solutions in higher dimensions, and a solution with complex numbers, and a proof that the 2D case has a solution for all numbers of marching options.</p></description>
</item>
<item>
<title>MPMP11 David and Anton age puzzle</title>
<link>https://nlitsme.github.io/2020/07/2020-07-27-mpmp11-david-and-anton/</link>
<pubDate>Mon, 27 Jul 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/07/2020-07-27-mpmp11-david-and-anton/</guid>
<description><p>The puzzle: <a href="http://think-maths.co.uk/agepuzzle">David and Anton puzzle</a></p>
<p>David and Anton&rsquo;s ages combined equals 65.</p>
<p>David is currently three times as old as Anton was when David was half as old as Anton will be when Anton is three times as old as David was when David was three times as old as Anton.
How old is David?</p></description>
</item>
<item>
<title>MPMP9 Take away triangles</title>
<link>https://nlitsme.github.io/2020/06/2020-06-27-mpmp9-take-away-triangles/</link>
<pubDate>Sat, 27 Jun 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/06/2020-06-27-mpmp9-take-away-triangles/</guid>
<description><p>The puzzle: <a href="http://think-maths.co.uk/trianglepuzzle">Take away Triangles</a>.</p>
<p>Playing with the triangles, and looking at n-gons with n &gt;= 3, I found you
always end up in some cycle ( well, unless you start with irrational numbers on
the triangle&rsquo;s corners ), then googling for a couple of cycle lengths, I found
this integer sequence related to your triangles puzzle:</p>
<p><a href="https://oeis.org/A038553">https://oeis.org/A038553</a></p>
<ul>
<li>Maximum cycle length in differentiation digraph for n-bit binary sequences.</li>
</ul></description>
</item>
<item>
<title>MPMP8 Paper folding challenge</title>
<link>https://nlitsme.github.io/2020/06/2020-06-11-mpmp8-paper-folding/</link>
<pubDate>Thu, 11 Jun 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/06/2020-06-11-mpmp8-paper-folding/</guid>
<description><p>This post describes my solution to Matt Parker&rsquo;s puzzle #8:</p>
<ul>
<li>The <a href="http://think-maths.co.uk/foldingchallenge">think-maths</a> foldingchallenge.</li>
<li>Matt Parker&rsquo;s <a href="https://www.youtube.com/watch?v=GpClxF41ugg">youtube</a> channel.</li>
</ul>
<p>My solution involves looking at the pattern of folds when viewing the folded stack from the sides.
And then using some python code to generate all possible ways the folds can match up in a way
that you will still end up with two rows of 4 sheets.</p></description>
</item>
<item>
<title>A commandline tool for youtube.</title>
<link>https://nlitsme.github.io/2020/06/youtube-tool/</link>
<pubDate>Tue, 09 Jun 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/06/youtube-tool/</guid>
<description><p>Did you ever want to conveniently search a youtube video&rsquo;s comments in a textfile? or
find that specific comment in a long speech. Maybe you are interested when exactly
one subject was talked about in a live chat.</p>
<p>I wrote a python commandline tool for that: <a href="https://github.com/nlitsme/youtube_tool">yttool</a>.</p></description>
</item>
<item>
<title>MPMP7 - Unique distancing</title>
<link>https://nlitsme.github.io/2020/05/2020-05-29-mpmp7-unique-distancing/</link>
<pubDate>Thu, 28 May 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/05/2020-05-29-mpmp7-unique-distancing/</guid>
<description><h1 id="solver-for-n-dimensional-variants-of-the-mpmp7-unique-distancing-problem">Solver for n-dimensional variants of the MPMP7 Unique Distancing problem.</h1>
<p>Project with tools for the 7th <a href="http://think-maths.co.uk/uniquedistance">Matt Parker Math Puzzle problem</a>.</p>
<ul>
<li>Solution for the problem stated in the MPMP7 youtube video.</li>
<li>Solutions for smaller and larger grids.</li>
<li>Solutions in 3 or more dimensional grids</li>
<li>Can I fit more markers on the grid?</li>
<li>Can I solve this on an 8x8 grid?</li>
<li>Do solutions exist for larger 2D grids?</li>
</ul></description>
</item>
<item>
<title>About me</title>
<link>https://nlitsme.github.io/about/</link>
<pubDate>Fri, 07 Feb 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/about/</guid>
<description>My name is Willem Hengeveld, i have been working as a software developer and reverse engineer since about 1992. Before that, i have been programming since about 1978, starting with my dad&rsquo;s programmable calculator, a TI-58. In 1980 i got my first &lsquo;real&rsquo; computer, a Commodore PET-2001, later succeeded by a Commodore-64. I have been present on the internet since about 1992
Nowadays you can find me on github, twitter and occasionally on stackoverflow or youtube.</description>
</item>
<item>
<title>Ancient MSDOS tools</title>
<link>https://nlitsme.github.io/2020/02/2020-02-07-ancient-tools/</link>
<pubDate>Fri, 07 Feb 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/02/2020-02-07-ancient-tools/</guid>
<description><p>Looking through some really old cds, i found some interesting tools i wrote about 25 years ago:</p>
<ul>
<li><a href="https://github.com/nlitsme/MSDOS_demon_dialer_tool">github:MSDOS_demon_dialer_tool</a></li>
<li><a href="https://github.com/nlitsme/MSDOS_game_of_life">github:MSDOS_game_of_life</a></li>
<li><a href="https://github.com/nlitsme/MSDOS_interrupt_catcher">github:MSDOS_interrupt_catcher</a></li>
</ul></description>
</item>
<item>
<title>Several problems I ran in to while trying out gohugo</title>
<link>https://nlitsme.github.io/2020/02/hugo-problems/</link>
<pubDate>Tue, 04 Feb 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/02/hugo-problems/</guid>
<description><p>Several problems I ran into as a novice <a href="https://gohugo.io">gohugo</a> user.</p>
<ul>
<li>the quickstart example does not work.</li>
<li>some content fails to render without any error message</li>
<li>don&rsquo;t name your post &lsquo;index.md&rsquo;</li>
<li>posts without a frontmatter are not clickable, but do show in the index.</li>
<li>the &lsquo;more&rsquo; looks like another post, while it is intended as a summary of &lsquo;other&rsquo; posts.</li>
<li>no date in frontmatter the year 1 is assumed.</li>
<li>Overly complicated error messages:</li>
<li>it was not clear to me at first that you do need the extra subdirectory level under contents.</li>
<li>how do i select what part of my post i want in the summary.</li>
<li>The summaries are not always rendered properly, creating an ugly index page.</li>
</ul></description>
</item>
<item>
<title>List of git repositories which have an unreasonably large .git directory</title>
<link>https://nlitsme.github.io/2020/02/needlesly-large-gitrepos/</link>
<pubDate>Mon, 03 Feb 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/02/needlesly-large-gitrepos/</guid>
<description><p>Some github projects have unreasonably large .git directories. Examples: conan/docs and Arduino.
<code>conan/docs</code> seem to have solved this.</p></description>
</item>
<item>
<title>Ways of converting numbers to and from text in python</title>
<link>https://nlitsme.github.io/2020/02/python-number-conversion/</link>
<pubDate>Sun, 02 Feb 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/02/python-number-conversion/</guid>
<description><p>There are several methods of converting numbers to and from strings in python.</p></description>
</item>
<item>
<title>features which I would like to see in c++</title>
<link>https://nlitsme.github.io/2020/01/c-wannahaves/</link>
<pubDate>Fri, 17 Jan 2020 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2020/01/c-wannahaves/</guid>
<description><p>Some c++ features I have looked for, but do not exist.</p>
<ul>
<li>a std::min or compare which works for differently signed or sized arguments</li>
<li>an iteratorrange, which takes a pair of iterators</li>
<li>a way to test for the existence of a type in <code>std::enable_if</code></li>
<li>initialize a subclass field <em>before</em> a baseclass</li>
<li><code>auto</code> on class members</li>
<li>nested structured binding</li>
<li>automatic context deduction for switch</li>
</ul></description>
</item>
<item>
<title>The MSM 8974 bootrom</title>
<link>https://nlitsme.github.io/2019/11/msm-8974-bootrom/</link>
<pubDate>Fri, 08 Nov 2019 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2019/11/msm-8974-bootrom/</guid>
<description><p>Analyzing the Qualcomm MSM 8974 bootrom.</p>
<p>The bootrom is 192k byte in size. It has bootcode for the three main subsystems of the 8974:</p>
<ul>
<li>the modem - qdsp4 / hexagon code</li>
<li>RPM - the power manager - ARM code</li>
<li>The Application cpu - ARM code</li>
</ul>
<p>All devices I have inspected have the same bootrom. But a facitlity exists to apply patches
to the bootrom via the use of special fuses.</p>
<p>Unfortunately the fuses in my device are configured in a way that the &lsquo;patch&rsquo; area is not readable.</p></description>
</item>
<item>
<title>A problem I had with my timemachine backups</title>
<link>https://nlitsme.github.io/2019/10/osx-backup-problem/</link>
<pubDate>Wed, 30 Oct 2019 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2019/10/osx-backup-problem/</guid>
<description><p>For several weeks my timemachine backup failed, being stuck in &lsquo;inprogress&rsquo; with lots of disk activity occurring.
The culprit turned out to be spotlight, trying to index the backupdisk while timemachine was trying to backup to it.
adding my backupdisk in the &lsquo;privacy&rsquo; tab of spotlight resolved the problem.</p>
<p>in the process list, processes with &lsquo;md&rsquo; in the name, like <code>mds_stores</code> and &lsquo;mds&rsquo; and <code>mdworker_shared</code> belong to spotlight.
Timemachine is handled by &lsquo;backupd&rsquo;.</p>
<p>tmutil is the commandline tool for managing timemachine. mdutil is the commandline tool for managing spotlight.</p></description>
</item>
<item>
<title>c++ type tests which are not in the std library.</title>
<link>https://nlitsme.github.io/2019/10/c-type_tests/</link>
<pubDate>Thu, 24 Oct 2019 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2019/10/c-type_tests/</guid>
<description><p>Some c++ type tests which i found useful:</p>
<ul>
<li><code>is_range</code></li>
<li><code>IsStreamInsertable</code></li>
<li><code>is_callable</code></li>
<li><code>is_searchable</code></li>
<li><code>is_vector</code></li>
<li><code>is_container</code></li>
</ul></description>
</item>
<item>
<title>features I would like to see in python</title>
<link>https://nlitsme.github.io/2019/08/python-wannahaves/</link>
<pubDate>Thu, 29 Aug 2019 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2019/08/python-wannahaves/</guid>
<description><p>Some python features I have looked for, but do not exist.</p>
<ul>
<li>assignment operator</li>
<li>class setup</li>
<li>conditional assignment</li>
<li>boolean inplace operators</li>
<li>byte() conversion</li>
</ul></description>
</item>
<item>
<title>a simple fix for the missing mipsel error in the android sdk</title>
<link>https://nlitsme.github.io/2018/11/fix-android-sdk/</link>
<pubDate>Fri, 30 Nov 2018 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2018/11/fix-android-sdk/</guid>
<description><p>A problem I ran into a few times: after reinstalling or updating the android sdk, suddenly some
projects starts failing to compile with a message about a missing &lsquo;mips64el&rsquo; path.</p>
<p>The following will fix this:</p>
<pre><code>mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/
mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/darwin-x86_64/
touch $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/NOTICE-MIPS64
touch $ANDROID_HOME/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/darwin-x86_64/NOTICE-MIPS
</code></pre></description>
</item>
<item>
<title>modules for investigating python internals</title>
<link>https://nlitsme.github.io/2017/10/python-internals/</link>
<pubDate>Tue, 03 Oct 2017 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2017/10/python-internals/</guid>
<description><p>Several modules exist which can be used to investigate the internals of python</p>
<p>dis, ipdb, inspect</p></description>
</item>
<item>
<title>Vim Encryption investigated</title>
<link>https://nlitsme.github.io/2016/12/vim-encryption/</link>
<pubDate>Thu, 15 Dec 2016 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2016/12/vim-encryption/</guid>
<description><p>VIM can encrypt text files transparently.
I wrote a python script which can decrypt all three types given the password,
or do a simple dictionary search.</p>
<p>Never use the old methods ( <code>zip</code> and <code>blowfish</code> ) the way these are used in VIM
is broken. The latest <code>blowfish2</code> method is somewhat better, though there is room
for improvement.</p></description>
</item>
<item>
<title>Writing portable python code</title>
<link>https://nlitsme.github.io/2016/12/writing-portable-python-code/</link>
<pubDate>Tue, 06 Dec 2016 00:00:00 +0000</pubDate>
<guid>https://nlitsme.github.io/2016/12/writing-portable-python-code/</guid>
<description><h1 id="portable-python">Portable python</h1>
<p>When writing python code I try to write code which will run both on python2 and python3.
Below is a list of items I regularly use.</p>
<p>I know there is a module named &lsquo;six&rsquo; which probably also handles some of these cases,
I still need to look into that.</p></description>
</item>
</channel>
</rss>