!cxPCiPlsXnajakSrqd:matrix.org

Array languages

887 Members
General discussion about APL-like array languages. See #array:matrix.org for other rooms23 Servers

Load older messages


SenderMessageTime
15 Jan 2025
@_discord_328851809357791232:t2bot.io.casenc Sure 08:56:26
@_discord_328851809357791232:t2bot.io.casenc This is a programming skill issue then 🤷‍♀️ 09:02:13
@_discord_328851809357791232:t2bot.io.casenc (I've never heard of local-dependence before, that is very interesting) 09:04:28
@_discord_328851809357791232:t2bot.io.casenc * (I've never heard of local-dependence like that before, that is very interesting) 09:04:40
@loke:dhsdevelopments.comloke
In reply to @_discord_328851809357791232:t2bot.io
(I've never heard of local-dependence like that before, that is very interesting)
The Aalborg and Soeren examples are a bit bogus, the IJ letter in Dutch would be a bit more valid though.
09:06:05
@_discord_356107472269869058:t2bot.ioKamila unicode compliance was the bane of my existence a few weeks ago. 09:06:15
@_discord_356107472269869058:t2bot.ioKamila another awful part is that unicode normalisation algorithms keep getting extended for some reason. 09:06:32
@_discord_356107472269869058:t2bot.ioKamila so e.g. nowadays you're expected to properly lay out hangul joiners and stuff in a string. 09:06:47
@_discord_328851809357791232:t2bot.io.casenc "unicode too hard" does not sound like a good reason to assume ascii-ness to me 09:07:20
@_discord_328851809357791232:t2bot.io.casenc but i've never had to program myself mechanisms to deal with it at the byte-level 09:07:42
@_discord_328851809357791232:t2bot.io.casenc * then again, i've never had to program myself mechanisms to deal with it at the byte-level 09:07:51
@loke:dhsdevelopments.comlokeThe real problem (and I think what Kamila is getting at) of the palindrome check thing is that "reverse a string" is very hard. In fact, it's practically impossible.09:08:15
@loke:dhsdevelopments.comlokeRedacted or Malformed Event09:08:25
@loke:dhsdevelopments.comloke Because the concept of reversing a string is not well defined. How do you do that in Arabic? 09:08:49
@loke:dhsdevelopments.comloke(Arabic has different letter forms depending on where the character is in a word)09:09:24
@loke:dhsdevelopments.comloke So even though I agree with the most recent message from .casenc , I also argue that the palindrome check problem is such a specific issue that doesn't make sense outside some very well-defined restrictions, that one might just as well define the problem to only cover ASCII and be done with it. :-) 09:11:06
@_discord_328851809357791232:t2bot.io.casenc I agree 09:11:40
@loke:dhsdevelopments.comloke
In reply to @_discord_356107472269869058:t2bot.io
another awful part is that unicode normalisation algorithms keep getting extended for some reason.
Did you implement the Unicode normalisation algorithms? Usually one just calls into ICU or something.
09:12:40
@_discord_356107472269869058:t2bot.ioKamila my algorithm easily extends to other fixed width-types 09:13:43
@_discord_356107472269869058:t2bot.ioKamila i saw the original remark as a nitpick and now for my own amusement i drowned us all in nitpicks and unicode nonsense. 09:13:58
@_discord_328851809357791232:t2bot.io.casenc It was not a nitpick it was a proper concern 09:14:23
@_discord_356107472269869058:t2bot.ioKamila gcc/clang do it by themselves for example 09:14:24
@_discord_356107472269869058:t2bot.ioKamila back when i didn't know how bad the situation with unicode normalisation is, i was very surprised to see mentions to korean alphabet in the preprocessor source code. 09:14:58
@loke:dhsdevelopments.comlokeAnnoying. The fewer implementations there are, the better. Broken Unicode implementations is very annoying. And these are very easy to get wrong.09:15:10
@_discord_356107472269869058:t2bot.ioKamila for once you can just... not implement unicode too.. 09:15:23
@_discord_328851809357791232:t2bot.io.casenc My language(s) are European, use the latin alphabet, and I think most of the people in my class would give you an Index Error if you tried to sort their names 09:15:34
@_discord_356107472269869058:t2bot.ioKamila if you scan an utf-8 sequence of bytes then your palindrome check is correct in most cases 09:15:38
@_discord_356107472269869058:t2bot.ioKamila because then the multibyte sequences contribute individually to the histogram and you never have false positives 09:15:51
@_discord_356107472269869058:t2bot.ioKamila * because then the multibyte sequences contribute individually to the histogram and you never have false negatives 09:16:00
@_discord_356107472269869058:t2bot.ioKamila lativan or finnish 09:16:13

Show newer messages


Back to Room ListRoom Version: 6