Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2012-03-15

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:24 mwn3d_phone1 joined #rosettacode
00:44 mwn3d_phone1 joined #rosettacode
01:15 ErikSiers joined #rosettacode
01:15 ErikSiers good evening, gentlemen
01:17 ErikSiers any admin paying attention, [[User:DenisseSmallin]] should probably be deleted/blocked. they put up a spam page last month that got canned ([[ExplainingPropertyManagementFees]]), but the account itself was left open
01:17 fedaykin http://rosettacode.org/wiki/User:DenisseSmallin (Doesn't exist.)  http://rosettacode.org/wiki/ExplainingPropertyManagementFees (Doesn't exist.)
01:46 mwn3d_phone1 ErikSiers: got it
01:47 ErikSiers mwn3d_phone1: thank you
01:47 ErikSiers i spent some time looking at the delete log, and that one happened to pop out at me
02:32 mikemol Thanks
02:33 mikemol bah. He's not in here any more.
02:33 * mikemol isn't showing joins/parts any more.
02:49 ttmrichter_ joined #rosettacode
06:44 mischi joined #rosettacode
07:51 mischi joined #rosettacode
08:30 kpreid joined #rosettacode
09:03 lnettnay joined #rosettacode
09:08 mischi joined #rosettacode
09:42 CodeBlock joined #rosettacode
11:29 mischi joined #rosettacode
11:48 mwn3d_phone1 joined #rosettacode
12:12 lookup joined #rosettacode
12:45 mwn3d_phone joined #rosettacode
14:20 CodeBlock joined #rosettacode
14:30 lookup_ joined #rosettacode
15:14 mikemol It's probable we can delete all outstanding user and IP bans.
15:15 mikemol The requirement of a valid email address for edit privileges should eliminate all of the spammers' accounts from being able to fill their owners' function. (Assuming spammers aren't supplying valid email addresses)
15:18 mikemol Ok, I opened up the captchas. Users will no longer get hit with them.
16:09 mwn3d_phone mikemol: watch out for guys like vincent if you do that
16:10 mikemol mwn3d_phone: Vincent? (Maybe I've forgotten)
16:11 mwn3d_phone He was....belligerent
16:12 mwn3d_phone He went a little overboard on the multisplit task
16:13 mikemol Vaguely remember that. We've had a couple like that, such as the guy who bounced between two IPs, refused to use basic wiki conversation mechanics and refused to create an account.
16:14 mwn3d_phone Yep
16:14 mikemol If get users harassing and abusing other users, I'll do something about it.
16:14 mwn3d_phone Some of vincents stuff is still on [[Talk:Multisplit]]
16:14 fedaykin http://rosettacode.org/wiki/Talk:Multisplit
16:14 mwn3d_phone Some of it we had to remove
16:15 mwn3d_phone I don't remember other extreme cases besides those though
16:15 mwn3d_phone I guess check the ban reason before reinstating IPs and users
16:16 mikemol No need, really. Typically, people who are crazily aggressive are trolls, and once banned, they go find other grounds.
16:17 mikemol It's probable the accounts are already forgotten about.
16:17 mikemol I don't think he's permabanned right now, either; he probably didn't notice when the ban expired.
17:34 mwn3d_phone joined #rosettacode
17:43 mikemol Warm fuzzy moment. I find myself needing to find the byte length of a unicode string, and the top search result happens to be Rosetta Code.
18:01 bearophile joined #rosettacode
18:01 bearophile Hello
18:01 mikemol hi
18:02 bearophile I have just added an entry here:  http://rosettacode.org/wiki/Runge-Kutta_method
18:02 bearophile Was that good?
18:02 fedaykin "Runge-Kutta method - Rosetta Code"
18:02 mikemol It is good that you have added an entry. :)
18:03 mikemol Keep watch on the talk page for that task; if anyone has issue with your code, they'll note it either there or on your own talk page.
18:03 bearophile OK
18:04 bearophile See you later then.
18:04 mikemol :)
18:04 mikemol You're welcome to hang out in here, if you like.
18:04 Hypftier no one uses IRC for idling anymore :(
18:05 mikemol I'll have you know I'm idling in 19 channels right now. After this sentence, it'll be 20.
18:07 mikemol Can anyone tell me what this character means before I paste it as an example? 𡁅
18:09 mikemol nm. Found a better example.
18:12 opticron lol....bearophile, he's always like that
18:39 mwn3d_phone joined #rosettacode
19:52 mikemol Oof.
19:54 mikemol After digging around atlstr.h and atlsimpstr.h, I can finally come to the conclusion that the GetLength() method of Microsot's CSimpleString class returns not character counts (as the documentation and comments state), but TCHAR counts. TCHAR is either 8-bits for 'MBCS' mode, or 16-bits for 'Unicode' mode. Except you can't fit all unicode codepoints within 16 bits. So calling it a 'character count' is true, if you mean TCHARs, but i
19:56 mikemol On the bright side, I now know how to easily get the byte length of my string. On the not-so-bright side, I may need to be reporting yet another ATL vulnerability to Microsoft.
19:56 Hypftier I think that holds true in most languages (especially C/C++) that chars don't really mean characters. In the Unicode age it's mostly just code units.
19:57 mikemol Sure, but most of Microsoft's documentation takes pains to distinguish between character counting ad byte counting.
19:59 Hypftier »For multibyte character sets (MBCS), GetLength counts each 8-bit character; that is, a lead and trail byte in one multibyte character are counted as two bytes. See FreeExtra for an example of calling this function.« sounds like they say that in UTF-16 they count a surrogate pair as two »characters«, though
19:59 mikemol Link?
19:59 Hypftier http://msdn.microsoft.com/en-us/library/38fxa8w8.aspx
19:59 fedaykin "CSimpleStringT::GetLength" http://rldn.net/5cX
19:59 Hypftier although I'm not really sure on the whole MBCS stuff :/
20:01 Hypftier hm, and I probably sidestep the whole issue even though I'm learning a bit C++ at work by now, since we only use Qt's QStrings
20:01 mikemol The magic in GetLength() derives from the remembered size of the memory allocation, which ultimately derives from sizeof(TCHAR). If you have _UNICODE defined, TCHAR is WCHAR, which is wchar_t.
20:03 mikemol (well, WCCHAR is wchar_t in their headers, except on Macs, where it's unsigned short)
20:38 mikemol Just submitted community feedback. Hasn't shown up yet (no idea how long that takes), but here's a pastebin of it: http://pastebin.com/gmse62Zh
20:38 fedaykin "The documentation isn't clear on this, but GetLength() returns the number of XCH - Pastebin.com"
20:57 mischi joined #rosettacode
22:01 mwn3d_phone1 joined #rosettacode
22:19 mwn3d_phone1 joined #rosettacode
22:37 mwn3d_phone joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary