code logs -> 2011 -> Sun, 06 Feb 2011< code.20110205.log - code.20110207.log >
--- Log opened Sun Feb 06 00:00:23 2011
00:08 shade_of_cpux is now known as cpux
00:37 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
00:49 You're now known as TheWatcher[T-2]
01:39 Kimo|translation is now known as Kindamoody
02:03 Vornicus-Latens is now known as Vornicus
02:59 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
03:50 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
05:53 Kindamoody is now known as Kindamoody[zZz]
06:11 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:12 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
06:13 * McMartin requires an army of robots.
06:14
< celticminstrel>
o.O
06:18
< McMartin>
I also require man pages for C and C++
06:19
< celticminstrel>
Uhuh.
06:19
< McMartin>
Which do not appear to be installed by default >_<
06:21 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:23
< McMartin>
OK, I see libstdc++-docs, but not the stuff for C standard libraries.
06:23
< McMartin>
I moved away from Debian-based distros precisely because of this kind of bullshit
06:24
< jerith>
I've never had a problem with it.
06:24
< McMartin>
So, what do I install to get the man pages?
06:24
< McMartin>
Traditionally Fedora-based installs package them with -devel
06:24
< jerith>
I'm not sure.
06:24
< McMartin>
But I don't know which package will give me a proper answer for "man printf".
06:25
< jerith>
Try manpages-dev
06:25
< McMartin>
This is a Fedora distro.
06:25
< jerith>
Ah.
06:25
< McMartin>
I have, somewhere, written down, the 14 or 15 packages I need to get an acceptabel dev environment on Ubuntu.
06:26
< jerith>
On Ubuntu, you should be able to just install build-essential.
06:27
< McMartin>
That tended to have surprising-to-me gaps though I admittedly haven't had to do this truly from scratch for something like three years.
06:27
< McMartin>
It appears libstdc++-docs had the C library in it too, though.
06:28
< jerith>
I dislike Ubuntu for other reasons.
06:28
< McMartin>
... or not.
06:28
< McMartin>
God damn it
06:29 * McMartin asks whatprovides printf.3
06:30
< jerith>
I don't think I've ever used a *nix system that hasn't had libc man pages.
06:30
< McMartin>
Neither Fedora nor Ubuntu has it by default.
06:30
< McMartin>
And yes, this is why I don't have the goddamned necessary packages immediately to hand
06:33
< McMartin>
...
06:33
< McMartin>
Apparently "man-pages"
06:33
< McMartin>
Which somehow isn't installed by default, wtf.
07:13 AnnoDomini [annodomini@Nightstar-c344efb0.adsl.tpnet.pl] has joined #code
07:13 mode/#code [+o AnnoDomini] by Reiver
07:31 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
08:01 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
08:24
< McMartin>
Army of robots: CREATED
08:24
< McMartin>
Now to make them do something besides flail randomly around
08:25
< McMartin>
Who needs genetic algorithms when you can have EXHAUSTIVE SEARCH
08:27
<@Vornicus>
Hooray exhaustive search!
08:28
< McMartin>
Looks like a complete search at max complexity would be on the order of 4-6 hours.
08:28
< McMartin>
I may start a little simpler.
08:28
<@Vornicus>
That's not too bad.
08:28
<@Vornicus>
Kick it off, go to bed.
08:29
< gnolam>
McMartin: ?
08:30
< McMartin>
Vorn: Well, I'd have to actually write the bit with dials I'm tuning
08:30
< McMartin>
gnolam: I'm trying to find the best board evaluation tuning for my Hex Inverter AI.
08:31
< McMartin>
I can run 200,000 games per minute, it looks like, and if I let every dial range from 1-10, that's running approx 50M games.
08:32
< McMartin>
But that's 200,000 games making no decisions.
08:33
< McMartin>
Once I actually implement board evaluation that should slow down some.
09:03
< gnolam>
Aha
09:41 * McMartin ...s at his code.
09:41
< McMartin>
We begin with two AIs.
09:41
< McMartin>
They fight.
09:41
< McMartin>
The loser is summarily executed via The Destructor, and a new challenger is allocated to take his place.
09:41
< McMartin>
In this crucible, the perfect program shall be forged.
09:41
< McMartin>
... I'm CLU ;_;
09:44
<@Vornicus>
Name it Gozer.
09:44
< McMartin>
It's actually more poignant if I used a generationally-GCed language
09:44
< McMartin>
I'm using C++ here, with its manual memory management, so the referee has to actually shoot the loser in the head.
09:45
< McMartin>
Otherwise, it would be tossed aside like so much garbage - everyone of import would forget they even existed, and they'd spend the rest of their existence hiding from The Collectors.
09:56 Vornicus is now known as Vornicus-Latens
10:09 You're now known as TheWatcher
10:35
< gnolam>
:)
10:36 Kindamoody[zZz] is now known as Kindamoody
11:17 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has joined #code
11:43 Venomstalker [2kindscom@842092.2332EB.125732.C63300] has joined #code
11:43
< Venomstalker>
hi
11:46 Venomstalker [2kindscom@842092.2332EB.125732.C63300] has quit [[NS] Quit: http://2kinds.com]
12:17 Attilla [Some.Dude@Nightstar-92c9199f.cable.virginmedia.com] has joined #code
12:17 mode/#code [+o Attilla] by Reiver
13:29 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Ping timeout: 121 seconds]
13:30 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
13:49 Netsplit *.net <-> *.split quits: cpux, @Vornicus-Latens, @Attilla, jerith, Tarinaky, @Kazriko, SmithKurosaki, Kindamoody, @AnnoDomini, @Reiver
13:51 mode/#code [+o McMartin] by Reiver
13:51 Netsplit over, joins: jerith, ~Reiver, @Vornicus-Latens, SmithKurosaki, @Attilla, Tarinaky, Kindamoody, @AnnoDomini, @Kazriko, cpux
14:54 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has quit [[NS] Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014]]
15:11 celticminstrel [celticminstre@Nightstar-f8b608eb.cable.rogers.com] has joined #code
15:26
< simon_>
ToxicFrog, yes, thanks :)
15:45 Phox [Tertius_Vul@Nightstar-bb8dd90c.abhsia.telus.net] has quit [Ping timeout: 121 seconds]
15:49 Phox [Tertius_Vul@Nightstar-bb8dd90c.abhsia.telus.net] has joined #code
16:45 cpux [chatzilla@Nightstar-c978de34.dyn.optonline.net] has joined #code
17:22 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
17:23 Syloqs_AFH is now known as Syloqs-AFH
17:52 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has quit [Connection reset by peer]
17:52 Reiv [orthianz@3CF3A5.E1CD01.36D449.95F5A5] has joined #code
17:53 Vornicus-Latens is now known as Vornicus
18:10 AnnoDomini is now known as Birds
18:26 Tarinaky [Tarinaky@Nightstar-f349ca6d.plus.com] has quit [Connection closed]
18:33
<@ToxicFrog>
simon_: for what?
18:56 Kindamoody is now known as Kimo|OpenGL
19:45 AbuDhabi [annodomini@Nightstar-38cbc51f.adsl.tpnet.pl] has joined #code
19:45 AbuDhabi is now known as Birds_
19:47 Birds [annodomini@Nightstar-c344efb0.adsl.tpnet.pl] has quit [Ping timeout: 121 seconds]
19:47 Kimo|OpenGL is now known as Kimo|break
20:04 Kimo|break is now known as Kimo|OpenGL
21:51
<@McMartin>
OK, lunch, and then the gladitorial combats shall commence.
21:52
< Birds_>
BLOOD FOR THE BLOOD GOD.
21:52
< gnolam>
CODE FOR THE CODE GOD.
21:53
<@McMartin>
GREETINGS, PROGRAMS_
21:53
<@McMartin>
01:44 < McMartin> I'm using C++ here, with its manual memory management, so the referee has to actually shoot the loser in the head.
21:53
<@McMartin>
01:45 < McMartin> Otherwise, it would be tossed aside like so much garbage - everyone of import would forget they even existed, and
21:53
<@McMartin>
they'd spend the rest of their existence hiding from The Collectors.
22:09 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
22:10
<@Vornicus>
oh, that's anno. ok.
22:12 gnolam [lenin@Nightstar-38637aa0.priv.bahnhof.se] has joined #code
22:12
< Birds_>
Yes. Playing Exalted.
22:16
<@Vornicus>
McM: does another program come up to htem, stare at them for a bit, and then say "Games."?
22:16 Kimo|OpenGL is now known as Kindamoody
22:17
<@McMartin>
Vornicus: I guess maybe that's the constructor?
22:18
< Birds_>
C question: Can one set a program to automatically use saturation, rather than overflow, for longs?
22:19
< Birds_>
I was testing this earlier, and found that "temp=1100000000; temp *= 2L;" produces a large negative.
22:21
< celticminstrel>
Doubt it.
22:21
< celticminstrel>
Unless your compiler has an option for it.
22:22
<@Vornicus>
I didn't know saturation was actually an option.
22:22 Birds_ is now known as AnnoDomini
22:23 Kindamoody is now known as Kindamoody[zZz]
22:25
< AnnoDomini>
Right. So I will need to be very very careful to achieve MAXINT on NAO.
22:32
<@ToxicFrog>
NAO?
22:33
< AnnoDomini>
nethack.alt.org
22:33
< AnnoDomini>
I need to get my total points to become precisely MAXINT when all the operations have been carried out.
22:35
< AnnoDomini>
This includes stuff like gold over starting gold, bonuses for number of levels below 30 reached, pet hit points, artifacts and gems and amulets.
22:37
< AnnoDomini>
It is very fortunate for me that barbarians start with no gold.
22:38
< AnnoDomini>
I can therefore use carefully calculated amounts of gold to increase my points.
22:39
< AnnoDomini>
I begin to understand why there are only twelve guys on the high scores list who've done it.
22:51
<@ToxicFrog>
Aah, doing a trick run?
22:57
< AnnoDomini>
I'm trying to get 2,147,483,647 points and achieve 13th place on the top 2000.
22:58
< AnnoDomini>
I'm going to have to write me a small program which simulates the score calculation process seen in NetHack's source.
22:59
< AnnoDomini>
Because otherwise, I'm likely to fuck up.
22:59 kwsn [kwsn@Nightstar-7426b23f.dyn.centurytel.net] has joined #code
22:59 kwsn is now known as kwsn|GO_PACK_GO
23:04
< AnnoDomini>
One of the things I need to do is ensure that the sum of my pets' HP is an odd number, because that's the only way to get an odd final score.
--- Log closed Mon Feb 07 00:00:24 2011
code logs -> 2011 -> Sun, 06 Feb 2011< code.20110205.log - code.20110207.log >