~binarycat

Recent activity

[PATCH] Demonstrate that I can use git send-email 6 months ago

From binarycat to ~sircmpwn/email-test-drive

---
 binarycat | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 binarycat

diff --git a/binarycat b/binarycat
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.40.1
[message trimmed]

implementation of md5 in hare 1 year, 4 months ago

From binarycat to ~sircmpwn/hare-dev

i wrote an implementation of the md5 hash function in hare as a learning 
exercise,
and was wondering if y'all would be interested in putting it in the 
standard library along with the other hash functions.

i know md5 is no longer considered secure, but it is still used when 
interfacing with existing systems, such as git.

currently my implementation doesn't use the hash::hash interface, but 
i'd gladly fix that if there's significant interest.

- binarycat

[PATCH uxn] limit amount of instructions that can be executed in a frame 1 year, 7 months ago

From binarycat to ~rabbits/public-inbox

this is useful for making programs targeting less powerful hardware.

[PATCH uxn] dpad and scale 2 years ago

From binarycat to ~rabbits/public-inbox

add dpad support for controllers such as the nintendo switch pro controller,
increase the maximum scale factor from 3 to 6 for better use of small 
windows on large screens.

[PATCH] various things (updated) 2 years ago

From binarycat to ~vdupras/duskos-discuss

i made this patch work with the latest changes to the master branch.

i'm asking for some feedback of what i should be working on next with 
this, because currently it's not clear what i should be doing.

i'd also like some closure for the patch swapping "with" arguments, so i 
can use them in new words again.

[PATCH] change argument order for with and with-stdin-file 2 years ago

From binarycat to ~vdupras/duskos-discuss

this should made sys/filter more readable, reduce the code-size overhead 
of ]with, and match the common usage of with-stdin-file.

[PATCH] various things 2 years ago

From binarycat to ~vdupras/duskos-discuss

this is a patch with everything i've been messing around with, i'm not expecting it to be merged,
i'm mostly asking what ideas need a bit of polishing up, what needs a rework, and what should be discarded entirely.

the full commit history can be seen here:
https://git.sr.ht/~binarycat/duskos/log/front?from=655633d311ddecf04e10949cbb6e8a46a0c428f2

the biggest things in this patch:
* grid subsystem
* keybind lib
* xrdln (needs a new name?)
* some documentation about naming conventions
* various utility words

[PATCH] add with-stdin-file 2 years ago

From binarycat to ~vdupras/duskos-discuss

i'm not sure i like the precedent for stack order that "with" set,
it seems like the word to be executed should be taken at the
top of stack.  i only implemented it as it is at the time because
i didn't know "rot>" existed.

also not 100% on the name of the word, hyphens aren't really used that way
in dusk, but also it looks a bit messy without them.

it is possible to recover the space in filespad after the file is closed,
although to prevent freeing other files it would be necessary to also keep
track of how much space "[f<]" uses, that way if some other word also called
"[f<]", we wouldn't rewind filespad.
-- >8 --
"with-stdin-file" opens a file, sets stdin to that file, executes a
[message trimmed]

Completing the filesystem interface 2 years ago

From binarycat to ~vdupras/duskos-discuss

I'd like to mess around a bit with the new writing capability, but
the interface seems incomplete.

we have aliases for most filesystem operations, but not "fatflush" and 
"fatputc"

also "stdout" is still missing.

i hesitate to add these myself because things could get a bit messy if 
you were
to add them independently.

[PATCH] add "bootfile" word 2 years ago

From binarycat to ~vdupras/duskos-discuss

not 100% sure on the name, it could be read as an instruction (boot this 
file)
instead of a statement (this file may be included in boot.fs).
("git am -c" to remove this)

-- >8 --

"bootfile" is a word that is serves multiple functions:
1. when a file is embedded in boot.fs, mark it as loaded
1A. making sure the file is not loaded again by ?f<<
1B. making the output of .floaded accurate
2. signal to the user that a file may be embedded in boot.fs
2A. and thus may be useful for bootstrapping
2B. and thus may have access to less words than normal