code logs -> 2008 -> Thu, 08 May 2008< code.20080507.log - code.20080509.log >
--- Log opened Thu May 08 00:00:19 2008
00:26 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Ping Timeout]
00:28 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
00:29 mode/#code [+o ToxicFrog] by ChanServ
01:19 * McMartin finishes rewriting http://wiki.uqm.stack.nl/Content_Management_in_0.7.0#Current_Development_Status to reflect current progress and plans.
01:56 AnnoDomini [AnnoDomini@Nightstar-29135.neoplus.adsl.tpnet.pl] has quit [Quit: Astro Cat will play for you... the Symphony of Space.]
02:17 GeekSoldier [~Rob@Nightstar-9213.dip.t-dialin.net] has quit [Connection reset by peer]
02:30 Brother_Willibald is now known as gnolam
02:31 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?]
03:51 Chalcedon [~Chalcy@Nightstar-488.ue.woosh.co.nz] has joined #code
03:51 mode/#code [+o Chalcedon] by ChanServ
04:30 Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has quit [Quit: Leaving]
04:30 GeekSoldier [~Rob@Nightstar-9213.dip.t-dialin.net] has joined #code
04:30 mode/#code [+o GeekSoldier] by ChanServ
05:07 Kazriko [~kaz@Nightstar-26352.gdj-co.client.bresnan.net] has joined #code
05:07 mode/#code [+o Kazriko] by ChanServ
05:18 Shoukanjuu [~Shoukanju@Nightstar-18016.dhcp.embarqhsd.net] has quit [Ping Timeout]
05:25 Shoukanjuu [~Shoukanju@Nightstar-19907.dhcp.embarqhsd.net] has joined #code
07:16 Shoukanjuu [~Shoukanju@Nightstar-19907.dhcp.embarqhsd.net] has quit [Ping Timeout]
07:18 Shoukanjuu [~Shoukanju@Nightstar-19663.dhcp.embarqhsd.net] has joined #code
07:20 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
07:22 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
07:22 mode/#code [+o ToxicFrog] by ChanServ
07:28 Shoukanjuu [~Shoukanju@Nightstar-19663.dhcp.embarqhsd.net] has quit [Quit: Shoukanjuu]
07:32 Shoukanjuu [~Shoukanju@Nightstar-19663.dhcp.embarqhsd.net] has joined #code
08:18 Vornicus is now known as Vornicus-Latens
08:26 GeekSoldier [~Rob@Nightstar-9213.dip.t-dialin.net] has quit [Ping Timeout]
08:37 Thaqui [~Thaqui@Nightstar-711.jetstream.xtra.co.nz] has joined #code
08:37 mode/#code [+o Thaqui] by ChanServ
09:03 AnnoDomini [AnnoDomini@Nightstar-29490.neoplus.adsl.tpnet.pl] has joined #Code
09:03 mode/#code [+o AnnoDomini] by ChanServ
10:20 Chalcedon [~Chalcy@Nightstar-488.ue.woosh.co.nz] has quit [Quit: Leaving]
10:37 You're now known as TheWatcher[afk]
11:00 * Reiver frowns.
11:00
<@Reiver>
I can't seem to find a peice of software that will let me find+replace beyond a newline.
11:00
<@jerith>
Reiver: what OS?
11:00
<@Reiver>
Windows XP.
11:27
<@Reiver>
It's getting a tad frustrating, given they all insist on one-line command inputs, and, well, I'm trying to remove a /newline/ here >.>
11:32 Thaqui [~Thaqui@Nightstar-711.jetstream.xtra.co.nz] has left #code [Leaving]
12:01 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
12:01 mode/#code [+o gnolam] by ChanServ
13:06 You're now known as TheWatcher
14:59
<@ToxicFrog>
Reiver: some of them accept escapes, so you can type \n for a newline and whatnot
15:01
<@Reiver>
hm
15:01
<@McMartin>
I *think* EditPad allows multiline search, and I wouldn't be surprised if np++ did too
15:01
<@ToxicFrog>
Reiver: also, awk lets you do this by changing the value of RS
15:01
<@ToxicFrog>
And if all else fails, it's like three lines of Lua
15:04
<@ToxicFrog>
function main(file, find, replace) local fd = io.open(file, "r"); local buf = fd:read('*a'); fd:close(); fd = io.open(file, "w"); fd:write(buf:gsub(find, replace)); fd:close(); return 0; end; return main(...)
15:04
<@ToxicFrog>
Ok, so slightly more than three
15:04
<@ToxicFrog>
And for proper error checking, writing the new file with write-rename rather than overwriting, etc it would be longer, but still trivial
15:05
<@ToxicFrog>
You should be able to do something similar in python, perl, whatever other languages you have handy on the system in question.
15:06 * Reiver has very little confidence in his abilities at the moment, so had hesitated to try to write actual code.
15:06
<@McMartin>
Though if it's Python be sure to use read() and not readlines()
15:10
<@ToxicFrog>
Well, if it's lua, I can *give* you the code
15:11
<@Reiver>
This would also require me installing lua first. ;)
15:11 * Reiver ponders. He might have done so, actually
15:12 * Reiver goes faffing about to see if he can find where he'd put such a thing.
15:14
<@ToxicFrog>
If it's windows, could be anywhere.
15:14
<@ToxicFrog>
The installation procedure is "put lua.exe and lua*.dll somewhere convenient"
15:15
< Shoukanjuu>
And since it's Windows we're talking about
15:15
< Shoukanjuu>
That means you aren't finding it
15:18
<@ToxicFrog>
He could, it just might take a while.
15:18
<@ToxicFrog>
It's tiny, so it's probably easier to just download it again~
15:24
<@ToxicFrog>
http://lua.pastey.net/87451
15:24
<@ToxicFrog>
A somewhat more robust version.
15:24 * McMartin eyes r.a.i-f
15:25
<@McMartin>
Kids these days are really bothered by the contents of memory not matching their design exactly.
15:25
<@McMartin>
Goddamned pro-reifer whippersnappers
15:29
<@ToxicFrog>
o.O
15:29
<@ToxicFrog>
At least it's a change from bitching about how languages that don't have {} aren't real languages.
15:33
<@McMartin>
Well, it's the continuing complaint that the Z-machine's lack of dynamic object creation and destruction is bothersome
15:33
<@McMartin>
Because without it, how can you make things appear and disappear?
15:34
<@McMartin>
"Well, you create them and leave them out of play, and move them on-stage as necessary."
15:34
<@McMartin>
"But but but!"
15:34
<@McMartin>
I don't think they've ever met a data segment face-to-face.
15:35
<@McMartin>
(Yeah, yeah, globals are bad, etc. but the situations where you *actually need this* in IF are vanishingly rare, and are parser nightmares whenever the *do* appear, and there's usually a limit to the damned things anyway so you might as well pregenerate them.)
15:45
< AFKSkull>
In other words, if you need arbitrary amounts of x object in play you shouldn't be using objects anyway.
15:46
< Shoukanjuu>
I read somewhere that the standard of downstream is higher in Europe and Japan than it was in the US
15:46
<@McMartin>
The problem in IF is that you're going to have 473 objects all named, say, "some flour".
15:47
< Shoukanjuu>
So now I can't get out of my head an image of people streaming BBC while playing starcraft with latency that still puts ours to shame
15:47
<@McMartin>
IIRC, BBC failed miserably at supplying demand.
15:48
<@jerith>
300-500ms to get to anything.
15:48
< Shoukanjuu>
Okay, that's just nasty
15:49
<@jerith>
That's Africa.
15:49
<@McMartin>
(Outside of the US, Canada, and possibly Japan, net connectivity is a fucking nightmare.)
15:49
<@jerith>
Very.
15:49
< Shoukanjuu>
Japan was the leader, apparentlty.
15:49
<@McMartin>
New Zealand also appears to use the "bend over and prepare to bleed" method of internet connectivity.
15:49
<@jerith>
Their setup is almost as bad as ours.
15:50
< AFKSkull>
japan has very little area to connect.
15:50
<@McMartin>
I don't think it translates to $400 US for a DVD.
15:50
<@McMartin>
Which South Africa's, from your data, does.
15:50
< Shoukanjuu>
mininova much?
15:50
< Shoukanjuu>
Yeah, it translates to less cost and less packet dropping
15:50
<@ToxicFrog>
Shoukanjuu: the point is that downloading a DVD's worth of data would cost you $400 in bandwidth costs.
15:51
<@jerith>
McMartin: To be fair, that is an expensive mobile plan here.
15:51
<@ToxicFrog>
It would be *more* using mininova, since you also have upload and protocol overhead.
15:51
< Shoukanjuu>
That would make me want to shot someone
15:51
<@jerith>
Um, no.
15:51
< Shoukanjuu>
Is that a normal DVD, or a dual layer? >.>
15:52
<@McMartin>
Shoukanjuu: Regular. I was computing on a 2.5GB capacity, IIRC.
15:52
<@jerith>
About US$10/gb.
15:52
<@McMartin>
jerith: You were claiming "$0.10/mb after the first 500" last time we had this discussion.
15:52
< Shoukanjuu>
Soubds more like a double density/layer CDR >.>
15:52
<@jerith>
McMartin: On my mobile plan.
15:53
<@ToxicFrog>
That would be 1.4
15:53
<@ToxicFrog>
And a DVD is 4.3
15:53
<@McMartin>
My DVDs say 4.7, but I figured they were dual-layer.
15:53
< Shoukanjuu>
Double density and double layer CD? o:?
15:53
<@McMartin>
$10/gb is still prohibitive, though.
15:53
< Shoukanjuu>
Nah, dual layer are around 8.3, I think
15:53
<@jerith>
McMartin: If you're buying in bulk(ish) on a fixed line (which is billed separately) it's about ZAR0.08/mb.
15:53
< Shoukanjuu>
Anyway, I 'm off to see if this palce exists
15:53
<@McMartin>
It really shouldn't be cheaper to download it in the states, burn it, and mail it by parcel post.
15:54
< Shoukanjuu>
Do you want me to do that? It'll take a while, but saave you 400 dollars >.>
15:54 * McMartin is in the States, thanks =P
15:55
<@jerith>
McMartin: I'm on the expensive mobile plan because ADSL wasn't an option.
16:49 Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>]
16:49 GeekSoldier [~Rob@Nightstar-8875.dip.t-dialin.net] has joined #code
16:49 mode/#code [+o GeekSoldier] by ChanServ
17:05 Attilla [~The.Attil@194.72.70.ns-11849] has joined #code
17:05 mode/#code [+o Attilla] by ChanServ
19:14 * ToxicFrog files his first bug report of the summer!
19:19
< Vornicus-Latens>
woot
19:19
< Vornicus-Latens>
what's it say?
19:20
< Vornicus-Latens>
4.7 GB is a single layer regular DVD
19:25
<@ToxicFrog>
4.7e9 bytes ish, not 4.7GB.
19:26
<@ToxicFrog>
And it says that # load upgrade considers build 34408 and build 34408_profiled to be the same system image, and will refuse to install one if the other is already present.
21:35 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Client exited]
21:38 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
21:38 mode/#code [+o ToxicFrog] by ChanServ
23:32 AnnoDomini [AnnoDomini@Nightstar-29490.neoplus.adsl.tpnet.pl] has quit [Quit: The purpose of writing is to inflate weak ideas, obscure poor reasoning, and inhibit clarity.]
--- Log closed Fri May 09 00:00:25 2008
code logs -> 2008 -> Thu, 08 May 2008< code.20080507.log - code.20080509.log >