Conversation started Feb 1, 2013 at 13:47.
Feb 1, 2013 13:47
None.🍌🍌🍌🍌🍌 — R. Martinho Fernandes 17 secs ago
TIL SO comments have a minimum of 15 UTF-16 code units.
of course they do
nooby .NET and its code-unit approaches.
@DeadMG The JS does it too, it seems.
nooby JS and its... well, everything.
Also, bananas are a better filler than invisible separators.
@DeadMG is .NET bad for Unicode?
@R.MartinhoFernandes More nutritional value
Feb 1, 2013 13:49
@sehe Eh. It's not baaaaad, but it could be a lot better.
@DeadMG Nooby puppy and its lousy English.
they, like Java, basically went UCS-2, I believe, and then got a nasty surprise when it turned into UTF-16.
@R.MartinhoFernandes You don't know what the elision was for
@DeadMG No, .NET started UTF-16. I assume for Windows easiness.
@R.MartinhoFernandes Nooby robot and its insufficient waiting for edit window to elapse.
Feb 1, 2013 13:50
> I think that a good logger should always provide a near constant execution time in any circumstance, which is problematic when threads might have to wait for mutexes to be released. However, in practice, unless numerous threads are logging, the operations are fast enough that there is no significant delay.
^ famous last words here
@R.MartinhoFernandes Huh, that surprises me. Their API is very UCS-2, last I checked.
like, they don't have codepoint properties, they seem to have codeunit properties.
@DeadMG It has all the tools needed in System.String and System.Char and System.Encoding.* and System.Globalization.* and ... actually, the damn things are spread all over the place and named terribly and yeah, it's fucking annoying. But it even has grapheme cluster iteration in one of those namespaces with a terrible name.
not bad, then
Ah, System.Globalization.StringInfo.GetTextElementEnumerator is the grapheme cluster stuff.
But yes, it's sub-par to have that "hidden".
And these are the methods to get code point properties: msdn.microsoft.com/en-us/library/k43c6164.aspx
 
Conversation ended Feb 1, 2013 at 13:58.