💾 Archived View for ftrv.se › _now_202104 captured on 2021-12-06 at 14:29:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

Now/log

Newest entries[1].

[1] Newest entries

Previous month[2].

[2] Previous month

0430

Fixes for libtags[3]: all module formats metadata is treated as CP437 now. Empty textual tags are now ignored.

[3] libtags

Cosmetic fixes and c9[4] submodule update for 9pro[5].

[4] c9

[5] 9pro

0429

Made image resampler slightly faster in Netsurf for Plan 9[6].

[6] Netsurf for Plan

9

0428

Today's listen[7] that I got a few years back on an audio cassette. Check out Extreme Ultimate in general, lots of great stuff there. I particularly love Necro Deathmort.

[7] Today's

listen

kvik[8] provided issue reports and fixes for c9[9] which are now merged.

[8] kvik

[9] c9

0427

`sshnet` to a Windows machine worked. That machine provides network to Raspi 4 with 9front over ethernet. I need to set this Raspi so that I can rcpu there.

I also need to test rndis with Raspi.

0426

Repackaged treason[10] with latest small fixes.

[10] treason

0424-0425

No computers?

0423

Optimized `resample` in imgtools[11] to make it faster. It's still too slow to use for video scaling in treason[12].

[11] imgtools

[12] treason

Today's listen.[13]

[13] Today's listen.

0422

Fixed a small bug in `zuke` that caused a wrong duration and volume to show on 32-bit platforms.

Added support for NAL lengths other than `4` to mcfs[14]. That should make some old MP4/H.264 videos playable.

[14] mcfs

Fixed sleep/delay functionality in npe[15]. Apparently I typed one extra zero and the timings were off in some cases.

[15] npe

A random quote about Scottish that I found very funny:

When they were small I asked my Aussie kids to say goodnight in Scottish to their visiting Grandmother.
Guid nicht. Instead of wishing her a good night they pronounced it “Get nicked”. Which required a lot of explaining.

9front yoga

0421

I got a klaxon for my bike. It does make a funny noise!

Shiny klaxon

0420

Today's listen.[16]

[16] Today's listen.

Updated and rebuilt `youtubedr` for Plan 9. Faster downloads but also incompatible command line arguments. Youtube on 9 docs updated[17].

[17] Youtube on 9 docs

updated

0419

Added more op stubs to pdffs[18]. This doesn't do anything but helps to have a list of all ops in one place, rather than scattered across PDF spec.

[18] pdffs

Today's listen.[19]

[19] Today's listen.

0418

Nice weather. No computers.

0417

No computers today. I spent this week writing Java at work and that makes me not want to do any coding. I need to change my job.

On something better, long dresses (specifically maxi slim) are totally my thing now. Also I tried out my old earrings (my earlobes are stretched now) and it looks fine! And doesn't hurt at all, something I was not sure about, stretching considered.

0416

I got an e-reader (Boox Nova 3) which I immediately rooted. Today I also installed openssh, so I can copy documents from 9front to the reader and even open them remotely. I could do 9p as well but sshfs is enough. I want to try attaching the ereader to the side of my laptops display and configure plumber to open PDFs there. That'd be lit.

0415

Yesterday I went to a local "russian" shop and bought lots of sweets along with сметана. Today I made traditional belarusian potato pancakes which we all ate way too fast to take a good picture, so here's the last one left on a plate[20].

[20] the last one left on a plate

0414

uxn[21] now includes a `mkfile` to build it on 9front! Audio programs run well and produce sounds :)

[21] uxn

0413

zuke[22] is now shipped with 9front. All of the `juke` is removed, but you probably didn't even know it was there to begin with :P

[22] zuke

0412

Reading PDF spec. Checking embedded font formats out. Should be pretty doable to do rendering. Hopefully pdffs[23] will be accepted for GSOC via Plan 9 project so it gets much further during summer. PDF reader with MIT license for everyone!

[23] pdffs

Hope my e-reader comes soon, can't wait to stop reading from a laptop screen X__x.

0411

No computers.

0410

Some more work on pdffs[24].

[24] pdffs

0409

Today's listen[25].

[25] Today's listen

pdffs[26] is now successfully extracting CCITTFax images as TIFF. Those can be viewed with `page`. That's a new addition to already working DCT, JBIG2 and JPEG2000 extraction.

[26] pdffs

0408

Added m4a playback support to zuke[27].

[27] zuke

Fixed sources syncing to `/n/ftrv.se`.

0407

Computer music of 1970s: Analysis of Jean-Claude Risset's Songes[28] (unfortunately, only in French).

[28] Analysis of Jean-Claude Risset's

Songes

Small bytebeat(?) in 10 minutes:

// boop.c
// 6c -FTVw boop.c && 6l -o boop boop.6
// ./boop | audio/pcmconv -i f32c1r44100 >/dev/audio 

#include <u.h>
#include <libc.h>

#define RATE 44100.0
#define SZ(x) (int)(x*RATE)
#define S(n,d) float n[SZ(d)]
#define FS(n) for(i = 0; i < nelem(n); i++)
#define NS(n) nelem(n)
#define TRW(f,i) (PI*2*(f)/RATE*(i))
#define LF(n) ((double)(NS(n) - i) / NS(n))
#define CF(n) cos(PI*(1.0-LF(n))/2.0)
#define SA(x,n) (((x) & (n)) ? -1 : 1)

void
main(int, char **)
{
	int i, j, k;
	S(s₀, 0.09);
	S(s₁, 0.04);
	S(s₂, 0.03);

	for(k = 0; k < 1024; k++){
		for(j = 0; j < 4; j++){
			FS(s₁) s₁[i]  = 0.7 * fabs(
				sin(
					TRW(0
						+ 800+20*j
						+ 200*SA(k,3)
						+ 120*SA(k,8)
						- 160*SA(k,16),
						i
					)
				)*CF(s₁)
			)*CF(s₁);
			FS(s₂) s₂[i]  = 0.2 * cos(
				TRW(100+500*
					sin(
						TRW(1 + (k % 8)*((k % 16)+j), i)
					),
					i
				)
			);

			FS(s₀) s₀[i]  = sin(TRW(60+20*j + 10*(k % 4), i))*CF(s₀);
			FS(s₁) s₀[i] += s₁[i];
			FS(s₂) s₀[i] += s₂[i];
			FS(s₀) s₀[i] /= 3.0;

			write(1, s₀, sizeof(s₀));
		}
	}

	exits(nil);
}

0406

Fixed a small bug in mp3dec[29] and aacdec[30]: the proc wasn't waiting for `pcmconv` to finish, sometimes causing trouble.

[29] mp3dec

[30] aacdec

0405

Went to a forest. It was really cold but quiet and calming. Took a few pictures on my crappy phone of which I liked one:

A tree trying to run away.

0403-0404

No computers.

Decided to start cooking (and baking) traditional Belarusian/Russian things. Want to find out what my friends from Syria think about those when they taste it.

0402

Extensible efficient non-linear pattern matching with backtracking for non-free data types[31]

[31] Extensible efficient non-linear pattern matching with backtracking for non-free data types

0401

Worked more on the parser of my programming language. Got declarations, constants and arrays work. It's slowly shaping. I'm thinking of doing interpretation only, since I want to write the compiler in that same very language as soon as possible, so I don't waste time on C version.

Older entries

2021-03-*[32].

[32] 2021-03-*

2021-02-*[33].

[33] 2021-02-*

2021-01-*[34].

[34] 2021-01-*