Neocities.org

crossroads

kaa.neocities.org

150,146 views
38 followers
5,726 updates
0 tips
>https://thricegreat.neocities.org/use_a_global_variable.txt When I first read this, I was unsure when this logic may be fruitful. I now understand. I recently wrote a couple functions that each need to iterate through their own constant character array. Initially, the array was declared every single time each function was called, which was less than ideal. For one of the functions, I bit the bullet
1 like
kaa 11 months ago

and passed the pointer through each of the functions between it and the function in question. It resulted in longer function definitions, and felt clumsy. For the couple other functions, I didn't want to do that, so I left them declaring their character arrays each time they were called. This bothered me, enough that I gave a simple declaration above the function definition a try instead. It worked well.

1 like
kaa 11 months ago

The program that once ran in roughly 0.2 seconds then ran in roughly 0.17 seconds. Both clumsiness and inefficiency were avoided, for the placement of the declaration above the function definition made the intent clear.

1 like
kaa 11 months ago

Reading this posting by you was what got me thinking about this problem in the first place. Thank you.

1 like
kaa 11 months ago

Linked is a copy of those two latter mentioned function definitions: https://kaa.neocities.org/Program/global.txt

1 like
crossroads was updated.
11 months ago
4 likes
kaa 11 months ago

The text hyphenation is now syllabic.

4 likes
kaa 11 months ago

The code that enabled that syllabic hyphenation is now public. Full Windows binaries are provided with the source code.

crossroads was updated.
11 months ago
3 likes
kaa 11 months ago

There was a series of extraneous explanations that needed re-fitting and thinning. A silly search-and-replace had changed the content type from "UTF-8" to "UTF-8". I've settled on removing all downloadable fonts, preferring to leave that issue to individual readers.

2 likes
kaa 11 months ago

neocities didn't like me typing in html tags, they were omitted from this previous message. The point stands: I had accidentally inserted a custom HTML tag where I should not have, by means of a blindly run global search and replace of the word "UTF".

2 likes
crossroads was updated.
11 months ago
2 likes
kaa 11 months ago

Yet another doodle session, in a similar vein to the previous.

2 likes
crossroads was updated.
11 months ago
3 likes
kaa 11 months ago

I spent some time doodling.

2 likes
kaa 11 months ago

The page featuring things I appreciate now features discussion of some of Bitstream's nearly forgotten typefaces, and features quotations from Louis Rossman - the right to repair adovocate, Jan Tschichold - the calligrapher, and JosΒ­eph Machlis - the musician.

1 like
crossroads was updated.
11 months ago
3 likes
kaa 11 months ago

I went out on a walk, and spotted some bright orange flowers.

3 likes
Your website looks better on TTY than firefox lol.
4 likes
kaa 11 months ago

I'm glad!

I did some doodling, and enjoyed it.
2 likes
crossroads was updated.
11 months ago
2 likes
>thricegreat I understand. Limitation to only a TTY would be nicer to live with on Linux than BSD. If you have the confidence and desire, porting programs to work with the OpenBSD framebuffer may be a possible solution. Best of luck.
2 likes
kaa 11 months ago

https://www.reddit.com/r/openbsd/comments/k7fcm6/graphics_in_the_console/ Reddit's outlook on an attempt to port framebuffer graphics applications to OpenBSD is less than optimistic.

Website Stats

Last updated 4 months ago
CreatedMar 1, 2022
Site Traffic Stats

Tags

animation music programming photography