code logs -> 2011 -> Fri, 30 Dec 2011< code.20111229.log - code.20111231.log >
--- Log opened Fri Dec 30 00:00:15 2011
00:22 Number3 is now known as AnnoDomini
00:37 AnnoDomini [annodomini@Nightstar-46dacfbf.adsl.tpnet.pl] has quit [[NS] Quit: leaving]
00:44 Lowpass is now known as Tarinaky
00:46 You're now known as TheWatcher[T-2]
00:49 You're now known as TheWatcher[zZzZ]
00:52 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
01:01 McM[xmas] is now known as McMartin
01:19 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
01:20 io|afk is now known as iospace
01:25 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
02:12 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
02:18 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
02:26 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
02:29 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
03:00 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [Ping timeout: 121 seconds]
03:10 Kindamoody[zZz] is now known as Kindamoody
03:14 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
03:19 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
03:20 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
03:20 Attilla [Obsolete@Nightstar-5a27386a.as43234.net] has quit [Ping timeout: 121 seconds]
03:30 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
03:34 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
03:39 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
03:43 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
03:58 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
04:12 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:16 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:18 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code
04:18 mode/#code [+qo Vornicus Vornicus] by ChanServ
04:37 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:37 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
05:07 iospace is now known as io|t-2
05:11 io|t-2 is now known as iosleep
06:25 ErikMesoy|sleep is now known as ErikMesoy
06:39 ErikMesoy [Erik_Mesoy@Nightstar-f7eedefa.80-203-17.nextgentel.com] has quit [[NS] Quit: Off to a cabin. I'm promised that there will be tubes there.]
06:44 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:48 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
07:00 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
07:01 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
07:11 eckse [eckse@Nightstar-041f82aa.dsl.sentex.ca] has quit [Client closed the connection]
07:30 Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has quit [[NS] Quit: I<3craft Vorn!]
07:31 AnnoDomini [annodomini@Nightstar-46dacfbf.adsl.tpnet.pl] has joined #code
07:52 AnnoDomini [annodomini@Nightstar-46dacfbf.adsl.tpnet.pl] has quit [[NS] Quit: Away, to conquer!]
08:02 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
08:02 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
08:13 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
08:13 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
08:35 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [Client closed the connection]
09:33 Attilla [Obsolete@Nightstar-5a27386a.as43234.net] has joined #code
09:46 You're now known as TheWatcher
10:39 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
11:09 gnolam [lenin@Nightstar-db0a0b4d.dialup.ice.net] has joined #code
12:00 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
12:02 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
12:18 himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds]
12:33
< Rhamphoryncus>
Heh. My form of minecraft, if it had the same visible range and map height, would have just under a billion blocks.
12:35
< sshine>
your form of minecraft?
12:35
< Rhamphoryncus>
"if I were to write a minecraft clone" ;)
12:40
< Rhamphoryncus>
Most of those blocks I could reduce through LoD, but the bigger problem is the area immediately around the player when they move. A spot equivalent to a chunk would involve 2 million blocks and in a minecart you can traverse 1 chunk every 2 seconds. If each block took a byte that'd put your HD read speed at 1 megabyte/second minimum
12:43 himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code
12:47
< sshine>
something tells me Minecraft leaves room for algorithmic improvement.
12:49
< Rhamphoryncus>
It does, although it's inherently a hard problem. Full view distance means ~14 million visible blocks. Of course there's some substantial optimizations that are applied, like only rendering forward, skipping empty areas, only rendering exposed surfaces facing the user
12:53
< Rhamphoryncus>
But my approach would reduce the block size, cutting it into 4 in each dimension, boosting that by 64x.
13:24
< gnolam>
Rhamphoryncus: 1 MB/s? Any HD should be able to keep up with that.
13:25
< Rhamphoryncus>
gnolam: Needs more emphasis on "minimum" ;)
13:27
< Rhamphoryncus>
That's with just one full chunk loaded every 2 seconds. The worst case is more like 5 chunks
13:27
< Rhamphoryncus>
And if you expect entities to move properly within a larger distance it's even more
13:34 Kindamoody is now known as Kindamoody|afk
13:40 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
13:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
13:56 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
14:24 ErikMesoy [Erik_Mesoy@5E691D.066EBC.4D6A05.55E49D] has joined #code
14:28 gnolam [lenin@Nightstar-db0a0b4d.dialup.ice.net] has quit [[NS] Quit: Hmnyergh]
14:33
< ErikMesoy>
I've inherited some primitive code to polish which has instructions of the form "#GOTO:STUFF:8" and "#GOTO:FOO:9" and "#GOTO:NAME:6". I want to replace all the digits in such instructions with 2. Is there a reasonable way to do this with search-and-replace (say in Notepad++) without having two problems? ;)
14:47 iosleep is now known as iospace
15:02 Kindamoody|afk is now known as Kindamoody
15:05
< Stalker>
Write a small shell script?
15:06
< ErikMesoy>
How does this compare to using regular expressions?
15:06
< ErikMesoy>
I can't tell after hearing so many "replace with a very small shell script jokes how good shell scripting actually is for specific purposes.
15:09
< Stalker>
Write a shell script using regular expressions?
15:10
< ErikMesoy>
What.
15:10
< Stalker>
:)
15:10
< Stalker>
No clue.
15:10 * ErikMesoy settles in to practice regular expressions.
15:10
< Stalker>
I'd do it in mIRC because it's easy and already open.
15:11
< Stalker>
It also supports regex if you really want to.
15:12
< Stalker>
How do you have this text?
15:12
< ErikMesoy>
In a .txt file.
15:14 * ErikMesoy wrestles with regexes, finds a way to find all the lines he want, works on replacing only the subsection he wants.
15:15
< ErikMesoy>
Isn't it supposed to be something like \1\2 to leave some found parts unchanged?
15:22 * ErikMesoy finds that the regular expressions given on the N++ Sourceforge page don't work. >_<
15:25
< Stalker>
Are all the numbers single digit?
15:26
< ErikMesoy>
Yes.
15:26
< Stalker>
What client are you currently using?
15:27 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
15:28
< ErikMesoy>
Never mind, I think I have it in Notepad++.
15:30
< Stalker>
k.
15:33 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
15:35 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
15:40 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
15:41 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
15:44 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [Ping timeout: 121 seconds]
16:17
< ErikMesoy>
Regexing complete! :D
16:19 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
16:23 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:49
< Rhamphoryncus>
Damn, how did I manage to miss OLED screens hitting the market in the last few years?!
16:52 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
17:06 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
17:08 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
18:07 jeroid [jerith@687AAB.273D89.632C61.F66C5F] has joined #code
18:49 jeroid_ [jerith@687AAB.1BBF0C.D23AB8.0A1A24] has joined #code
18:51 jeroid [jerith@687AAB.273D89.632C61.F66C5F] has quit [Ping timeout: 121 seconds]
18:55
< gnolam>
http://countercomplex.blogspot.com/2011/12/ibniz-hardcore-audiovisual-virtual.ht ml
18:56 jeroid_ [jerith@687AAB.1BBF0C.D23AB8.0A1A24] has quit [Client closed the connection]
19:05
< Rhamphoryncus>
"Left turns are one of the leading causes of crashes." Clearly we should ban left turns ;)
19:06
< iospace>
my mom always goes "LEFT TURNS ARE DANGEROUS", or well did until me and my bro gave her never ending shit about that line
19:08
< ErikMesoy>
Rhamphoryncus: some designers are working on building left-turn-less road layouts
19:09
< ErikMesoy>
This would make for safer cities
19:09
< Rhamphoryncus>
heh
19:09
< Rhamphoryncus>
and oddly faster transportation, with less fuel and less emissions
19:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
19:15 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
19:33
< Rhamphoryncus>
"In the event of total brake failure, your owner's manual should describe the proper procedure for downshifting and using your park brake to bring your vehicle to a safe and controlled stop."
19:33
< Rhamphoryncus>
There's something wrong with that
19:37<~Vornicus> (actually, the one-way-street system of many places, like New York, eliminates "left turns" - well, really it eliminates turns that cross traffic, which is what it's really about)
19:41
< Rhamphoryncus>
hmm interesting
19:42 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
19:42 iospace is now known as io|afk
19:45<~Vornicus> (because turning left, in itself, is fine; it's that there's cars coming down the other way that's the problem.)
19:47 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
20:07 Attilla_ [Obsolete@Nightstar-5a27386a.as43234.net] has joined #code
20:07 Kindamoody is now known as Kindamoody[zZz]
20:09 Attilla [Obsolete@Nightstar-5a27386a.as43234.net] has quit [Ping timeout: 121 seconds]
21:09 Vash [Vash@Nightstar-8697fea9.wlfrct.sbcglobal.net] has joined #code
21:12 Attilla_ is now known as Attilla
21:20 gruber [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
21:23 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [Ping timeout: 121 seconds]
21:38 io|afk is now known as iospace
21:38 eckse [eckse@Nightstar-a7ee14de.dsl.sentex.ca] has joined #code
21:45 ErikMesoy is now known as ErikMesoy|sleep
22:27<~Vornicus> SO yeah, as typical in a knuth text, concrete mathematics brings out the mind melting early
22:27
< McMartin>
It's like the ark of the covenant
22:27<~Vornicus> FIrst "homework" problem: solve the recurrence f(n) = (1 + f(n-1))/f(n-2)
22:35
< celticminstrel>
Is it at least solvable?
22:36<~Vornicus> Yeah.
22:37<~Vornicus> And when you hit f(5) (starting with f(0) = a and f(1) = b), there is considerable wtf to be had.
22:39<~Vornicus> Have a go, it's very, very surprising.
22:49 gruber is now known as gnolam
23:42 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
--- Log closed Sat Dec 31 00:00:32 2011
code logs -> 2011 -> Fri, 30 Dec 2011< code.20111229.log - code.20111231.log >

[ Latest log file ]