code logs -> 2021 -> Sat, 02 Oct 2021< code.20211001.log - code.20211003.log >
--- Log opened Sat Oct 02 00:00:54 2021
00:19 Degi [Degi@Nightstar-098kds.pool.telefonica.de] has joined #code
04:10 Degi_ [Degi@Nightstar-5ujgdh.pool.telefonica.de] has joined #code
04:11 Degi [Degi@Nightstar-098kds.pool.telefonica.de] has quit [Operation timed out]
04:11 Degi_ is now known as Degi
05:19 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has joined #code
05:19 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
05:39 VirusJTG [VirusJTG@Nightstar-b00.oti.104.208.IP] has quit [Connection closed]
05:39 VirusJTG [VirusJTG@Nightstar-b00.oti.104.208.IP] has joined #code
05:39 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
06:14 abudhabi [abudhabi@Nightstar-dc5t0j.adsl.tpnet.pl] has joined #code
06:18 abudhabi [abudhabi@Nightstar-dc5t0j.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
07:22 Kindamoody[zZz] is now known as Kindamoody
08:06 abudhabi [abudhabi@Nightstar-23tm6f.dynamic.t-mobile.pl] has joined #code
09:07 abudhabi [abudhabi@Nightstar-23tm6f.dynamic.t-mobile.pl] has quit [Connection closed]
09:19 abudhabi [abudhabi@Nightstar-n4lt8o.adsl.tpnet.pl] has joined #code
09:54 macdjord is now known as macdjord|slep
10:56 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
14:54 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:54 mode/#code [+qo Vornicus Vornicus] by ChanServ
14:58 mac [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code
14:58 mode/#code [+o mac] by ChanServ
15:01 catalyst_ is now known as catalyst
15:01 macdjord|slep [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Ping timeout: 121 seconds]
16:49 Vorntastic [uid293981@Nightstar-phvupn.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
17:04 mac [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Connection closed]
17:04 mac [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code
17:05 mode/#code [+o mac] by ChanServ
18:21 Kizor [moryok@Nightstar-e0a4sm.utu.fi] has quit [NickServ (RECOVER command used by Kizor_)]
18:21 Kizor [a@Nightstar-nfsqa7.yok.fi] has joined #code
20:54
<@celticminstrel>
It's kinda crazy that it's now possible to make a card game with nothing but text rendering…
20:55
<@celticminstrel>
Or a mahjong game.
20:58
<@celticminstrel>
Or dominoes.
21:03
<@celticminstrel>
I wonder if I could make a rogue-like using exclusively emoji as graphics…
21:03
<@TheWatcher>
Don't see why not
21:04
<@celticminstrel>
If there's a problem it's just that most emoji fonts probably aren't fixed-width, but that's not too hard to work around anyway.
21:05
<@celticminstrel>
https://www.reddit.com/r/roguelikes/comments/7ccybd/is_there_an_emoji_roguelike_yet/
21:06
<&McMartin>
12:54 <@celticminstrel> It's kinda crazy that it's now possible to make a card game with nothing but text rendering…
21:07
<&McMartin>
I don't mean to be a wet blanket, but the IBM PC's BIOS from back in 1981 was sufficient for this
21:07
<@celticminstrel>
Fair enough, having the spade / club / diamond / heart characters is technically sufficient.
21:07
<&McMartin>
Card suits and box-drawing characters were... well, but definition not STANDARD, but extremely common things to have in your home computer's character swet
21:08
<@celticminstrel>
But that doesn't work for the major arcana.
21:08
<&McMartin>
"XVI" ;)
21:08
<@celticminstrel>
Or at least, not very well. I'm sure you could do something.
21:09
<@celticminstrel>
That's a good point, Roman numerals are often used for the major arcana. I wonder why Symbola doesn't.
21:09
<@celticminstrel>
I assume Unicode's specification suggests Arabic numerals or something.
21:09
<@celticminstrel>
I also wondered why C was used for the knight… I guess it's from French, actually.
21:10
<&McMartin>
N is traditional, but the Page is often the "Knave"
21:11
<@celticminstrel>
In Symbola it goes J-C-Q-K. I assume it chooses J because that doubles as the standard set's Jack tho.
21:12
<&McMartin>
That seems reasonable to me.
21:13
<@celticminstrel>
I don't remember where I got Symbola… did I find and install it just so I had a non-colour emoji font?
21:14
<@celticminstrel>
"emoji modifier fitzpatrick"
21:14
<@celticminstrel>
WTH kind of name is that?
21:15
<@celticminstrel>
(Seems to be the skin colour modifiers?)
21:16
<&McMartin>
https://i.redd.it/cozohvgr2h7z.png
21:16
<&McMartin>
obligatory
21:19
<@celticminstrel>
Emojis: the new obfuscation
21:28
<@celticminstrel>
There's even some Star Trek in here. 🖖
21:28
<&McMartin>
"When deciding which emoji to include, Takeshi Kishimoto, Google's Japanese product manager, went directly to the manager of Gmail and convinced him that the pile of poo emoji was the "most useful" emoji. This was corroborated by a statistical analysis undertaken by Google to determine which emoji were the most popular among Japanese users."
21:28
<@celticminstrel>
XD
21:28
<&McMartin>
What's that code point?
21:28
<@celticminstrel>
It's also funny how it has a face in Apple Emoji. (It lacks a face in Symbola.)
21:28
<@celticminstrel>
U+1F596
21:29
<&McMartin>
Ah, that is merely Unicode Character 'RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS' (U+1F596)
21:29
<&McMartin>
and "Comments: Vulcan salute", not IDIC, tsk.
21:29
<&McMartin>
Though I have long carried a torch for Unicode Character 'MAN IN BUSINESS SUIT LEVITATING' (U+1F574) 🕴
21:30
<@celticminstrel>
That's a pretty strange one indeed.
21:30
<&McMartin>
One of the few cases where it becomes much funnier when removed from its initial context.
21:30
<@celticminstrel>
Strange that it exists, I mean.
21:30
<&McMartin>
I know its tale!
21:30
<&McMartin>
Unicode sought to include Every Glyph in existing fonts at some point
21:30
<&McMartin>
This included one of the secondary Wingdings fonts
21:31
<&McMartin>
That one included a ripoff of a ska publisher's logo (Rude Boy) because some random MS Engineer thought it looked cool and this was the era when games gave zero shits about trademarks
21:31
<&McMartin>
So the committee needed a way to generically include it in their code points.
21:31
<&McMartin>
https://www.newsweek.com/2016/05/06/secret-ska-history-man-business-suit-levitating-emoji-442192.html
21:33
<@celticminstrel>
U+1F5FE 🗾
21:33
<@celticminstrel>
Japan sure is lucky, huh. >_>
21:35 Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Client exited]
21:36
<@celticminstrel>
Is U+1F6D5 🛕 in the specification? Maybe it's just a later version than is installed on my computer or something, but it doesn't have a name shown…
21:37
<@celticminstrel>
(There are a few others like that too but this is the only one that exists in Apple Emoji and not in Symbola.)
21:37
<~Vornicus>
it shows up on my machine
21:38
<~Vornicus>
hindu temple! added in unicode 12.0 in 2019.
21:38
<@celticminstrel>
It seems to be true what they said on that reddit, that there's a lack of icons for fantasy games. Still, I can see the most basic requirements are there - a bladed weapon, a bow, and a shield.
21:38
<@celticminstrel>
Cool!
21:40 Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code
21:40 mode/#code [+o Kimo|autojoin] by ChanServ
21:40
<@celticminstrel>
Nearly everything in Supplemental Symbols and Pictographs is nameless to.
21:43 Kimo|autojoin is now known as Kindamoody
21:51 catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [The TLS connection was non-properly terminated.]
21:55 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
21:59
<@celticminstrel>
Why is Great Britain the only country to get subdivision flags in Unicode…
22:00
< Kizor>
celticminister: Wait for it...
22:05
<&[R]>
Kizor: ?
22:07
< Kizor>
Cheap wisecrack about Scotland's independence movement.
22:08
< Kizor>
Carry on.
22:09
<@Tamber>
No, that's the *other* 'independence' movement~
22:11
<@celticminstrel>
I'm a minister now huh.
22:12
<&[R]>
minstrel's are way too chaotic, now you're the order that undermines society
22:12
<@celticminstrel>
Undermines!?
22:12
<@celticminstrel>
But what's wrong with being chaotic?
22:13
<&[R]>
I think you missed my point
22:13
<@celticminstrel>
Maybe I just rejected it instead.
22:13 macdjord [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code
22:14 mode/#code [+o macdjord] by ChanServ
22:14
<@celticminstrel>
The flag emojis are utterly ridiculous tho (except the country-code ones I guess).
22:14
<&[R]>
"The [] emojis are utterly ridiculous tho" FTFY
22:15 mac [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Ping timeout: 121 seconds]
22:15
<@celticminstrel>
That may be true but the flags are especially bad.
22:15
<@celticminstrel>
[flag character] [tag]+ [tag-cancel]
22:15
<&[R]>
Which country has poop as their flag?
22:16
<@celticminstrel>
Country code ones are just [regional][regional] which isn't too bad. You could type that if you had an appropriate keyboard layout.
22:19
<@celticminstrel>
Since there's 10 empty planes in Unicode, I think we can probably expect many more emoji to come. >_>
22:30 Pink_ [uid208117@Nightstar-phvupn.irccloud.com] has joined #code
22:37 Kindamoody is now known as Kindamoody[zZz]
22:49
<&ToxicFrog>
Re 🖖, it turns out there is actually a default compose sequence for it, <C LLAP>
22:49
<&ToxicFrog>
There's also <C poo> for 💩 and <C FU> for 🖕
22:49
<&ToxicFrog>
I have, of course, added <C crab> for 🦀, because one never knows when 🦀 will be necessary.
23:07
<@celticminstrel>
I can add arbitrary "compose" sequences in System Preferences… the only problem is, I'm not sure how I should do it in a way that doesn't accidentally clobber a valid sequence (especially one that might occur in code).
23:08
<@celticminstrel>
Note: this isn't true compose sequences, just an auto-replace system – type in a specific sequence of characters and it's replaced with something else.
23:13
<@celticminstrel>
I wonder if it actually supports true compose sequences…? There's no key that seems like it would work for that tho.
23:43
<&ToxicFrog>
Most keyboards don't have one; you have to map an existing key to it in keyboard settings.
23:43
<&ToxicFrog>
Capslock, one of the winkeys, or rightalt are popular choices.
23:44
<&McMartin>
The winkeys have been getting dangerously useful in their intended purposes for me in recent years.
23:44
<&ToxicFrog>
(I have caps mapped to ctrl and leftwin mapped to compose on my laptop)
23:44 * McMartin meanwhile fiddles with coreutils nonsense
23:44
<&McMartin>
OK, I don't think I actually went the long way around when I made a python script for this.
23:45
<&ToxicFrog>
On my desktop the winkey is disabled in hardware because its actual semantics are "minimize the game you're playing, getting you killed if it's a recent game and crashing it outright if it's an older one"
23:45
<&McMartin>
Yeah, I've been, uh
23:45
<&ToxicFrog>
On laptop I usually open a set of common programs when I log in and leave them open forever, so I'm almost never bringing up the application menu, and just use alt-F1 on the rare occasions that I do need it
23:45
<&McMartin>
I've been spending a fair amount of time in the recent games I'm playing cutting out to wikis and such
23:46
<@celticminstrel>
Unlike a Windows keyboard, I don't think I have any spare keys I could map.
23:46
<&McMartin>
But there's also stuff like Winkey-D for "minimize all windows", which I do in fact end up using more than one might expect
23:46
<@celticminstrel>
Maybe Fn could work but it's weirdly-positioned (it replaces Insert).
23:46
<&ToxicFrog>
celticminstrel: if nothing else you probably have two each of ctrl, alt, and shift
23:46
<@celticminstrel>
Still, it has no meaning in combination with most things, so it might be a possibility…
23:46
<&ToxicFrog>
also capslock if you haven't already turned it into something else
23:46
<&McMartin>
I'd like to be able to remap the "mouse click" button or whatever the hell it's supposde to be
23:46
<&ToxicFrog>
IME Fn usually isn't visible to the OS at all
23:46
<&McMartin>
It sure isn't "mouse click"
23:46
<@celticminstrel>
I think it mostly just combines with the F-key row.
23:47
<&ToxicFrog>
So you can't remap it to things
23:47
<@celticminstrel>
Yeah, it's true that Fn typically isn't visible to the OS, but on a Mac Extended Keyboard, it does seem to be visible.
23:47
<&ToxicFrog>
McMartin: when I'm doing stuff like that the game stays open on the desktop and I look stuff up on the laptop
23:47
<&McMartin>
I'm kind of doing that now, albeit with two adjacent desktops
23:47
<&McMartin>
But the NUC is s-l-o-w
23:53
<&McMartin>
I suppose I should ask here if anyone knows a lazy way to do this...
23:53
<&McMartin>
I'm playing with approaches to embedding binaries directly in executables.
23:53
<&McMartin>
objcopy will, with some grumbling and caveats, let you convert arbitrary binaries to ELF format and give you some mostly-useful symbols of its choosing.
23:55
<&McMartin>
If I didn't want to rely on ELF specifically, when doing assembly language work, od with appropriate symbols produced useful source code with only mild sed massages
23:55
<&McMartin>
But what would be *really* nice is something that dumps binaries as C array literals.
23:55
<&McMartin>
I threw a quick program together in Python to do this, but this seems like something that might have a standard or semistandard tool.
23:56 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
23:57
<&ToxicFrog>
McMartin: `xxd -i`
23:59
<&McMartin>
Ah, excellent.
23:59
<&ToxicFrog>
Given a filename, emits a C array literal of type unsigned char[] named after the file; from stdin, emits the contents of the array so you can bracket it with the declaration and closing brace yourself.
--- Log closed Sun Oct 03 00:00:18 2021
code logs -> 2021 -> Sat, 02 Oct 2021< code.20211001.log - code.20211003.log >

[ Latest log file ]