code logs -> 2008 -> Sun, 13 Jul 2008< code.20080712.log - code.20080714.log >
--- Log opened Sun Jul 13 00:00:55 2008
00:35
< gnolam>
Hmm. 1.6 MiB of static content.
02:06
<@ToxicFrog>
Hmm. Maybe I should re-implement it in Haskell instead.
02:06
<@ToxicFrog>
...except it involves IO, which is monadic. Fuck.
02:06
<@ToxicFrog>
Erlang, maybe?
03:04 Attilla [~The.Attil@92.17.53.ns-3189] has quit [Quit: <Insert Humorous and/or serious exit message here>]
03:09 gnolam [lenin@Nightstar-2037.A163.cust.bahnhof.se] has quit [Quit: Z?]
06:48 Thaqui [~Thaqui@Nightstar-12599.jetstream.xtra.co.nz] has joined #code
06:48 mode/#code [+o Thaqui] by ChanServ
07:34 Reiv [~dogmatix@Nightstar-2465.dsl.telstraclear.net] has quit [Quit: home. As in, *my* home.]
08:23 Reiver [~reaverta@Admin.Nightstar.Net] has joined #Code
08:23 mode/#code [+o Reiver] by ChanServ
09:17 You're now known as TheWatcher
09:22 Vornicus is now known as Vornicus-Latens
10:18 Attilla [~The.Attil@92.17.53.ns-3189] has joined #code
10:18 mode/#code [+o Attilla] by ChanServ
10:56 Thaqui [~Thaqui@Nightstar-12599.jetstream.xtra.co.nz] has left #code [Leaving]
11:09 gnolam [lenin@Nightstar-2037.A163.cust.bahnhof.se] has joined #Code
11:09 mode/#code [+o gnolam] by ChanServ
11:10 gnolam [lenin@Nightstar-2037.A163.cust.bahnhof.se] has quit [Quit: ]
11:10 gnolam [lenin@Nightstar-2037.A163.cust.bahnhof.se] has joined #Code
11:10 mode/#code [+o gnolam] by ChanServ
11:31 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
13:52
<@TheWatcher>
Does anyone know if free() can touch errno?
13:54
<@jerith>
The manpage doesn't say anything about it...
13:54
<@TheWatcher>
Indeed.
13:54 * TheWatcher decides to err on the side of caution
13:58
<@TheWatcher>
(no pun intended >.>)
14:42 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
14:42 mode/#code [+o ToxicFrog] by ChanServ
15:20 You're now known as TheWatcher[afk]
15:36 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
15:39 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
15:39 mode/#code [+o ToxicFrog] by ChanServ
17:20 You're now known as TheWatcher
18:04
<@TheWatcher>
Hm
18:05
<@TheWatcher>
can anyone recommend any resources for tutorials or examples for handling UTF-8 and other encoding formats in c/c++?
18:06
<@TheWatcher>
Most of what I seem to be finding boils down to "use iconv", but little beyond that...
18:19
<@gnolam>
Define "Handling UTF-8".
18:21
<@TheWatcher>
I need to be able to load utf-8 strings, and do things like determine whether specific characters are alphabetical or numerics. Now, I could just use the iswalpha/iswdigit functions, provided I wanted to use 4 times as much memory as I might need...
18:24
<@TheWatcher>
(and besides, wchar_t is not portable anyway...)
18:26 * TheWatcher ponders, decides to screw it and will worry about that one later
19:33 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
19:36 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
19:36 mode/#code [+o ToxicFrog] by ChanServ
19:57 Vornicus-Latens is now known as Vornicus
21:49
<@McMartin[SanDiego]>
I believe there are multibyte equivalents of all the wchar_t routines
21:59
< Doctor_Nick>
ooooohhhhhhhhhh??????!!!!!
22:00
<@McMartin[SanDiego]>
Yes.
22:00
<@McMartin[SanDiego]>
They're typically on the same man page, too.
22:02
<@TheWatcher>
Not that I can see: > man iswalpha .... SEE ALSO isalpha(3) iswctype(3)
22:03
< Doctor_Nick>
oh shiiiiiiit
22:03
<@TheWatcher>
ismalpha/ismbalpha and other permutations throw up no manual entry
22:04
<@McMartin[SanDiego]>
Hmm.
22:04
<@McMartin[SanDiego]>
I'll have to do a search once Zinglon is on again
22:05
<@McMartin[SanDiego]>
I'm not finding it on spif
22:05
<@McMartin[SanDiego]>
And I think it was mc someting or other
22:07
<@TheWatcher>
_ismbcalpha is a windows-specific one that does it, I think
22:10
<@McMartin[SanDiego]>
Drop the _ and see if it's around
22:10
<@McMartin[SanDiego]>
Win32 _ routines tend to be "implemented everywhere but not *technically* standard" routines
22:11
<@TheWatcher>
Nope, 'tisn't. But there's no rush, for now I'm just going with the "meh, screw it, this is for config files and object matadata anyway" path
22:12
<@TheWatcher>
I've wrapped the character checks in such a way that I can modify them in future if needed anyway
22:13
<@McMartin[SanDiego]>
Probably wise
22:13
<@McMartin[SanDiego]>
And yeah, the *real* answer for Unicode compliance is to link in a library that actually does it.
22:13
<@McMartin[SanDiego]>
The Unicode spec weighs about 15 points.
22:13
<@McMartin[SanDiego]>
pounds
22:13
<@TheWatcher>
yeah, and for a quick and dirty wrangler, that's probably OTT anyway.
22:15
<@McMartin[SanDiego]>
I suppose
22:36 Attilla [~The.Attil@92.17.53.ns-3189] has quit [Quit: <Insert Humorous and/or serious exit message here>]
22:44 Attilla [~The.Attil@92.17.53.ns-3189] has joined #code
22:44 mode/#code [+o Attilla] by ChanServ
22:50 Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has quit [Quit: Leaving]
22:51 Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has joined #code
22:51 mode/#code [+o Kazriko] by ChanServ
22:55 You're now known as TheWatcher[T-2]
22:57
<@TheWatcher[T-2]>
There, working xml parser and writer, compiles to 59k. Now bed.
22:57 You're now known as TheWatcher[zZzZ]
22:57 * Shoukanjuu cheers the the watcher.
22:57
< Shoukanjuu>
That's what every coder needs. Someone to cheer them on.
22:58
< Shoukanjuu>
And they'll only leave when you're done, giving incentive to finish, ike...quickly
23:45
< Doctor_Nick>
:D
--- Log closed Mon Jul 14 00:00:05 2008
code logs -> 2008 -> Sun, 13 Jul 2008< code.20080712.log - code.20080714.log >