Readit News logoReadit News
dasyatidprime commented on Byte Ordering: On Holy Wars and a Plea for Peace (1980)   rfc-editor.org/ien/ien137... · Posted by u/oumua_don17
SSLy · a year ago
Lmao, this has raw actual-ANSI-control-code 000C <control> = FORM FEED (FF) in the text.
dasyatidprime · a year ago
^L is still normal as a separator in Emacs Lisp code files!
dasyatidprime commented on Falsehoods programmers believe about TCP   lwn.net/Articles/990281/... · Posted by u/todsacerdoti
dasyatidprime · a year ago
To some of the critics here: did you or did you not notice the “Somebody ought to write one of those […] Here, I'll even get the ball rolling” framing? A polished such article this is not claiming itself to be! I would go as far as saying the HN submission title is misleading as a result.
dasyatidprime commented on Porting SBCL to the Nintendo Switch   reader.tymoon.eu/article/... · Posted by u/todsacerdoti
dasyatidprime · a year ago
How's CL's GC performance for games nowadays? I've been slightly eyeing the upcoming Autumn Lisp Game Jam myself, but last I checked all the major libre CL impls, including SBCL, still used a full stop-the-world collector, which feels like a recipe for latency spikes. I saw flashes of stuff on sbcl-devel about someone working on a lower-latency one, but I don't know whether it got anywhere.
dasyatidprime commented on What you can get out of a high-quality font   sinja.io/blog/get-maximum... · Posted by u/OlegWock
idoubtit · a year ago
> the hyphen-minus is too narrow. You can replace the minus signs with a wider dash, but that is semantically wrong and also a pain in the arse.

In this case, an alternative to "-", U+002D HYPHEN-MINUS, is "−", U+2212 MINUS SIGN. On Linux, I considered mapping the keypad substract key to it, but instead I configured a xcompose alias.

  gold +1.2%
  oil  −6.4%
  corn +5.2%

dasyatidprime · a year ago
Re “configured”—what's your locale? In en_US.UTF-8 on my Arch system it's in the system file (/usr/share/X11/locale/en_US.UTF-8/Compose) as <Multi_key> <minus> <underscore>.
dasyatidprime commented on A Real Life Off-by-One Error   leejo.github.io/2024/09/0... · Posted by u/leejo
gre · a year ago
Birthday vs birth day but yeah. It works if you say it
dasyatidprime · a year ago
I've generally seen “birthday” (within a year; recurs) versus “birthdate” (happens once).
dasyatidprime commented on Long-term unemployment leads to disengagement and apathy   psypost.org/long-term-une... · Posted by u/FeistySkink
gexla · a year ago
> if you're poor and unable to find work, then you have all of that _on top of_ the financial stresses

Add alcohol to the mix and you're cooked. An alcoholic in this state can take years to come back to some sense of functional. Or any other addictive drug. Not a nice spot to be. with or without the drugs.

dasyatidprime · a year ago
Or something else downfall-magnifying like CPTSD!
dasyatidprime commented on QWERTY-Flip: The better keyboard layout your fingers already know   nick-gravgaard.com/qwerty... · Posted by u/JNRowe
kentonv · a year ago
I'm a longtime dvorak user. The shortcut issue is so bad I had to write software that makes the keyboard layout switch while ctrl/alt is held. I've used at least four different implementations of this, three I wrote myself:

https://github.com/kentonv/dvorak-qwerty

Maintaining this has been a big PITA though, and gets harder as operating systems increasingly don't want to support software intercepting keystrokes for security reasons.

I would not recommend learning dvorak, for this reason.

Colemak avoids this problem by leaving the most-important hotkeys where they are, so might be OK? But I haven't tried it, and I am not really sure how much benefit these alternative layouts really bring, TBH.

dasyatidprime · a year ago
This is interesting—my observations on Windows 10 (mostly with a layout arranged via MSKLC) have always been that it does some kind of QWERTY-on-Control thing which I'd actually like to turn off but never found out how to; my keyboard shortcut memory seems to indirect through keysyms in a way loosely symmetrical with how my Cinnamon FDO/Linux desktop handles things, rather than being position-based, with the exception of WASD-like game controls which are positional. Is the main difference with your utility that it handles Alt as well?
dasyatidprime commented on Crows are even smarter than we thought   nautil.us/crows-are-even-... · Posted by u/dnetesn
lll-o-lll · a year ago
Because they have such little brains. When I look at a crow, I think - not much room for brains in there.
dasyatidprime · a year ago
Among other things, avian brains have a higher density of neurons than mammalian ones! https://www.cell.com/current-biology/fulltext/S0960-9822%282... seems to be a primer on some of the differences.
dasyatidprime commented on Tmpmail: Temporary email right from your terminal written in POSIX sh   github.com/sdushantha/tmp... · Posted by u/thunderbong
nobody9999 · a year ago
>Every entity I need to give an address to gets a unique, randomly-generated one. I figured this would let me spot the leaks.

I do the same, except I don't use a randomly generated address. Rather, I use something that identifies who it is. e.g., if I had a relationship with Tesla, the email address would be 'tesla@myemaildomain'.

What (if anything) is the advantage of using a randomly generated email address over the scheme I use?

N.B., I'm not dissing your strategy at all. I do exactly the same. I'm just curious about the "randomly generated" bit.

dasyatidprime · a year ago
Not the parent commenter, but I've encountered “people from the counterparty organization get confused and wonder whether you're part of it too / pretending to be part of it too”. This can be mitigated with some obscuring transformation.
dasyatidprime commented on How I Program in 2024   akkartik.name/post/progra... · Posted by u/surprisetalk
AdieuToLogic · a year ago
> have you worked with java or C#? both are where types sometimes become a burden.

> No, you cannot just do something like this: > ``` return { data, message: "OK" }; ```

Yes, in Java you can:

  return new Object() {
    String message = "OK";
    Object data = itsValue;
    };
There are many reasons to dislike Java and it is nowhere near my programming language of choice. The specific semantic deficiency you chose happens to be an invalid one.

dasyatidprime · a year ago
And how does the caller extract those fields?

u/dasyatidprime

KarmaCake day615October 4, 2015
About
Some sort of hacker-type creature. (The well-intentioned kind.) Austin, TX, USA. rtt at dasyatidae.com.
View Original