Show newer

I don't expect it matters to too many other people, but I'm excited and happy. Anyway, a screenie (croppped) of xcal running and partly customized on my PC: computerfairi.es/media/W40bNZd

(My window manager is x11-wm/wmx.)

Show thread

It built, it installed, and it works exactly on my new FreeBSD 11.1-RELEASE PC like it did on my old Debian Jessie PC!

Have the fruits of my labor: files.thornton2.com/packages/u

Inside is the unpatched xcal 4.1 source tarball from Debian Sid (as of last week), my patch file, and my notes for applying the patch.

(Packages screenies & desc: screenshots.debian.net/package )

Show thread

(Also, no, because I set DESTDIR to my staging directory name, I didn't run `make install` as root.)

Show thread

So I installed it into a staging directory and ran it, and it ran exactly as expected. But attempting to install it into the staging directory revealed another Makefile showstopper: an extra space between $(DESTDIR) and $(XAPPLOADDIR) in the install:: XCal.help make target. So close yet so far.

Show thread

Me taking a break from tech support:
*sees call for tech support in local TL*
*sees helpful tech support in local TL*
*sees successful resolution no matter the causes*
*does NOT see any blaming*
*basically, sees computer fairies being computer fairies in local TL*

Have I mentioned yet that I love this place? :3

ransomware in the wild: forums.gentoo.org/viewtopic-t-

Linux-based malware not only exists but has existed for longer than most Linux users realize.

Also, not running anything as root that doesn't need root helps with defense in depth, but especially don't run as root anything *designed* to download & run completely unvetted code, like Web browsers do.

Sadly, spoiler: Flash Player was suspected but never confirmed as the ransomware entry vector.

Wow, it's been ages since I used diff and patch. Anyway, I'm making progress.

And finding that GCC is apparently happy with non-void C functions using `return;` without a value, while clang (rightly, IMO) throws an error.

Show thread

CW: PHP language 

I was reminded that PHP is still the only programming language in which a version deployed into production gave "Hello, world!" at least one RCE vulnerability. The one I have in my notes is CVE-2012-1823.

I'm not the only one who uses and customizes xterm. I am absolutely delighted. :3

After hand-patching and creating a new diff comes getting it to compile in clang.

Because absolutely NOTHING I do to the Imakefile is creating Makefiles with "CC = gcc" in them. No matter what, they're all "CC = cc", which is clang's C compiler.

Show thread

The patch file is a unified diff that contains at least one unified diff nested within.

I sure hope patch processes files in lines from first to last, because that's how I'm making and skipping the hand-editing. :/

Show thread

be sure to check your genderfluid regularly and change if needed to avoid build-up of toxic masculinity

WPA2, nonce, lewd 

If we're going to reuse nonces in WPA2, then we need a way to better verify their integrity. Thankfully, my favorite rag, Hacking Gibsons, was on it four years ago. :V
computerfairi.es/media/UkWau8O

xcalpr.c:89:21: error: initializer element is not constant
static FILE *fout = stdout;

Everything I'm reading says that hasn't been valid C since before ANSI standardization way back in the '80s.

Show thread

Oh, duh. The Debian package page has a diff file downloaded separately, and some of them are patches to the C files fixing the compiler error I'm getting. Guess I should read it, edit the source, and re-diff them.

The latest date in xcal's CHANGES file is 1995-09-13.

Show thread

a mediocre coder who writes well is twice as valuable and ten times as teachable as a great coder who can't string words together

Show thread
Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!