IRC logs for #openttd on OFTC at 2009-07-26
⏴ go to previous day
00:00:11 <Aali> both the debug and release configs link against the release crt
00:00:52 <Aali> because debugging the crt is not necessary in this case
00:01:03 <OwenS> It's not about debugging the CRT
00:01:12 <OwenS> msvcr90d includes code for debuggin gyour app
00:01:33 <Aali> I can debug it just fine with the release crt
00:02:16 <OwenS> The code for assertion failures, initializes RAM to 0xBAADF00D (A sigil and invalid address), uses debug malloc structures (To catch damaging them), etc
00:03:01 <Aali> sure, and none of that is relevant here
00:04:04 <DragoonJett> With trains what does Max Tractive Effort mean
00:12:19 <glx> tells how much it can pull without damages
00:13:12 <Markk> 2.7 bucks for 1.5L coke
00:13:28 <Markk> Not the most expensive one i've bought, but still.
00:17:41 <DragoonJett> Markk, you got fucked
00:18:24 *** KenjiE20|LT has joined #openttd
00:18:35 <Markk> Nah, I live in sweden, everything is expensive here
00:18:44 <Markk> How much is a normal price in usa?
00:19:14 <DragoonJett> And at my local corner store I can get two 2L of coke so 4l for 4bucks
00:19:34 <Markk> Canada is a place in america i want to go too
00:20:03 <DragoonJett> Yes it is in North America
00:20:30 <OwenS> It tends to be £2 for 2x2L in the UK; or £1.50 for one (Cause offers are weird :P )
00:21:18 <Markk> OwenS: wow, that's more expensive then here
00:21:52 <Markk> 3x 1.5L with offer will cost 4.4USD
00:22:30 <DragoonJett> Water here is like 2cents per 2L
00:22:50 <OwenS> £2 = $3.28; And thats the "continual offer" kind
00:23:35 <OwenS> Rather than the "occasional" kind :p
00:24:39 <OwenS> I presume they do it that way because it means people buy more
00:25:05 <Markk> OwenS: do you live in London?
00:25:32 <OwenS> More north of london, but north east UK
00:26:13 <Markk> But everyone in the UK are living in London, exept Fat Boy Slim, he's living in Brighton
00:26:20 <OwenS> That price is for pepsi/coke coke. Store brand coke can be had for about 10p for 2L
00:26:28 <OwenS> Decent store brand coke is about 50p/2L
00:26:58 <OwenS> I happen to live with a Pepsi rep, so I tend to go for Pepsi Max at trade prices :p
00:27:43 <Markk> Here Pepsi (not cold though) taste to sweet
00:27:54 <Markk> But it's much nicer too drink if it's cold
00:28:12 <Markk> But I don't have a refridgerator in my room
00:28:26 <OwenS> I dislike Coke's bitter aftertaste
00:29:01 <Markk> Have been drinking coke daily for about, 4-5 year now
00:29:18 <OwenS> OK. Why isn't nginx listening on port 80? O_o
00:29:36 <DragoonJett> One thing I miss with working in a resturant is free Coke
00:29:47 <DragoonJett> All I could drin while I worked
00:30:25 <Markk> OwenS: but do you mean that you're living in Scotland then
00:31:35 <OwenS> Markk: No, then I'd have said Scotland
00:31:46 <OwenS> Yeah, UK geographical terms are confusing
00:32:08 <OwenS> North East means "North east of England; South of the Scotish border"
00:33:24 <OwenS> We just tend to refer to Scotland as a whole as Scotland. I presume it's a legacy of when we were separate states :P
00:34:20 <OwenS> OK seriously why isn't nginx binding a port? O_O
00:34:59 <Markk> DragoonJett: do you live in BC?
00:35:34 <OwenS> And I seriously need to stop passing Linux arguments to Solaris commands
00:39:31 <OwenS> I was connecting to the wrong IP -_-
01:59:58 *** roboboy has joined #openttd
03:13:09 *** TinoDidriksen has joined #openttd
03:16:09 *** PhoenixII has joined #openttd
03:16:09 *** Phoenix_the_II has quit IRC
03:43:22 *** TinoDidriksen has joined #openttd
04:59:26 *** maristo has joined #openttd
05:04:00 *** reldred has joined #openttd
05:28:57 *** reldred1 has joined #openttd
06:01:06 *** stuffcorpse has joined #openttd
06:09:58 *** reldred has joined #openttd
06:18:00 *** Singaporekid has joined #openttd
06:34:34 *** andythenorth has joined #openttd
06:56:41 *** Alberth has joined #openttd
07:35:23 *** Tekky_ is now known as Tekky
07:38:39 *** TinoDid has joined #openttd
07:56:06 *** tux_mark_5 has joined #openttd
08:07:02 *** kingj is now known as KingJ
08:17:42 *** reldred1 has joined #openttd
09:08:23 <Rubidium> am I clapping my hands?
09:09:43 <_ln> not someone else's hands, obviously
09:22:19 *** |Jeroen| has joined #openttd
09:25:13 <CIA-2> OpenTTD: rubidium * r16959 /trunk/src/ (station_cmd.cpp station_gui.cpp): -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
09:31:29 <Rubidium> does InvalidateData(0) help?
09:33:15 <Alberth> well, this morning the viewport didn't even resize, so it's progress :)
09:34:39 <Alberth> Rubidium: yes, it helps by dumping core :(
09:35:34 <Alberth> but that should be fixable
09:39:34 * Rubidium ponders going a core dump himself ;)
09:41:31 <Rubidium> gdb says that the dump is too volatile
09:45:28 *** el[cube] has joined #openttd
09:48:22 *** andythenorth has joined #openttd
10:31:33 *** andythenorth has joined #openttd
10:38:15 <Xaroth> A brand-new Dune Games Forum has opened up at Command & Conquer Communications Center, a site devoted to the classic Westwood RTS games. Everyone is invited to join in and post! Grin The forum also has its own Gallery.
10:39:18 <OwenS> OK WTF? I can ping a host. nmap can see the ports open
10:39:23 <OwenS> But I can't actually talk to it!
10:40:19 <TrueBrain> OwenS: forwarding router?
10:40:24 <TrueBrain> not allowing RELATED?
10:40:28 <TrueBrain> Xaroth: lol :) Where?
10:40:30 <OwenS> Theres no router between them
10:40:50 <OwenS> Would that not block nmap?
10:41:08 <OwenS> My machine -> Switch A -> Switch B -> Solaris Box -> Zone in Solaris box
10:41:20 <TrueBrain> I see it in FORWARDING rules
10:41:23 <TrueBrain> where NEW is allowed
10:41:28 <TrueBrain> but RELATED (or ESTABLISHED) not
10:41:44 <OwenS> I can connect to 172.16.0.12 but not 172.16.0.11
10:42:25 <TrueBrain> start netcat on a listenport and see what it does :p
10:42:55 *** Chruker has joined #openttd
10:45:02 <OwenS> I can connect to port 10000 via netcat...
10:45:31 <TrueBrain> MrFlibble of course ..
10:45:34 <TrueBrain> promoting his work :p
10:45:34 <OwenS> I can connect to port 54 via netcat.
10:45:41 <OwenS> But I can't connect to the PowerDNS server running?!
10:45:50 <TrueBrain> OwenS: try via UDP :p
10:46:27 <OwenS> I cant' connect to PDNS' webserver either =/
10:47:04 <OwenS> root 3782 0.1 0.2 9180 3768 ? S 11:34:04 0:00 /usr/local/sbin/pdns_server --daemon --guardian=yes --daemon --guardian=yes yes
10:47:10 <OwenS> But hang on... where are the actual server daemons?
10:47:53 * Andel loves his windows server
10:48:01 <Andel> dhcp, dns... it all just works
10:48:05 <OwenS> Cycled it and still no actual listen process
10:49:08 <TrueBrain> Andel: till the point you receive a bit of load :p
10:50:06 <OwenS> Nothing in the syslog =/
10:51:02 *** LadyHawk has joined #openttd
10:51:42 <OwenS> OK I'm stumped. Why is pdns not forking it's listeners?!
10:51:55 <TrueBrain> try running it in the foreground
10:54:44 <OwenS> Haha! gmysql-user not gmysql-username
10:57:55 * OwenS waits for Linode to axfr it out
10:58:59 <Rubidium> OwenS: you're running Solaris on a Sun machine, right? :)
10:59:11 <OwenS> Solaris on an Intel Atom machine I built myself :P
10:59:43 <OwenS> I'd love to run Solaris/SPARC... But Sun don't make small and low power enough machines for home use :p
11:01:15 <Rubidium> maybe that's the reason why solaris doesn't want to work ;)
11:01:49 <OwenS> All the hardware is on the OpenSolaris HCL :p
11:02:43 <OwenS> OK, what DNS servers are Linode running? It doesn't respond to the BIND version query =/
11:02:57 <TrueBrain> I don't know Linode
11:03:00 <TrueBrain> and I don't wnat to know :p
11:06:02 *** frosch123 has joined #openttd
11:17:31 *** Dred_furst has joined #openttd
11:19:46 * OwenS scratches head. Now PowerDNS is refusing to axfr me my zone
11:21:27 *** LadyHawk has joined #openttd
11:24:06 *** Polygon has joined #openttd
11:30:05 <OwenS> I've allowed axfrs to anyone (Or should have)!
11:38:04 <Chruker> Is it a bug that when a road vehicle is halted by a vehicle in front of it, its speed indicator keeps jumping quickly between ~0% and ~30% of maxspeed. It is visible if you open a viewport that shows the vehicle speed. It is also 'visible' in the AIVehicle.GetCurrentSpeed().
11:39:20 <Chruker> clarification: speed indicator jumps, but vehicle graphic is still stationary
11:41:44 *** andythenorth has joined #openttd
11:42:12 <Chruker> While GUI part is just visual, I would really like to get the 0 speed indicator via the AI
11:47:29 *** Doorslammer has joined #openttd
11:48:39 *** eleusis has joined #openttd
12:00:47 *** dragonhorseboy has joined #openttd
12:02:26 *** TinoDid is now known as TinoDidriksen
12:12:18 <TrueBrain> WHOHO! AlleyCat works :) Lalala :)
12:13:37 <frosch123> really? what does it do, when you finish the bonus level?
12:13:48 <TrueBrain> didn't played that long :p
12:13:57 <Xaroth> TrueBrain: now get dune to work! :P
12:14:09 <TrueBrain> Xaroth: I just programmed the 8253 to work correctly (or so I hope)
12:14:15 <TrueBrain> now lets see if that fixes the movement problem
12:16:36 <TrueBrain> maps are also still generated slightly wrong
12:16:46 <TrueBrain> (spice and rocks are not on the same place as DosBox puts them)
12:17:27 <LadyHawk> there's a hard map in dune2 when you play as atreides
12:17:31 <Xaroth> TrueBrain: trying D2:TM atm
12:17:35 <LadyHawk> cuz the unit balance is set wrong
12:17:46 <LadyHawk> you can build 27 units, enemy can build 73
12:17:58 <Xaroth> never had issues with that map :o
12:18:02 <TrueBrain> hard hard .. that sounds like a challenge :p
12:18:18 <Alberth> Xaroth: windows-only :(
12:18:19 <LadyHawk> its one of the early missions where you just get the quad upgrade
12:18:34 <LadyHawk> cant remember which of the 3 though
12:18:47 <Xaroth> lol found a bug with D2:TM
12:18:49 <LadyHawk> ur under constant attacks in that one
12:18:52 <Xaroth> harvesters can exit off-map
12:19:09 <Xaroth> and as such, become uncontrollable
12:19:12 <Xaroth> == bye bye harvester :(
12:19:37 <Alberth> doesn't it get back when it is full?
12:20:12 <LadyHawk> never noticed that one
12:20:25 <Xaroth> yes, but seeing it's off the map
12:20:32 <Alberth> LadyHawk: he is playing D2:TM
12:20:34 <Xaroth> and there's buildings blocking it's path to get back on the map
12:21:02 <Alberth> routing needs some improvement too :)
12:21:24 <Xaroth> and a rather sucky one at that
12:22:06 <TrueBrain> my 'clone' sucks too .. a harvest when done at the current tile never moves to a new one
12:22:08 <TrueBrain> nor can it return to base :p
12:27:25 <Xaroth> i'm missing a 'repair' feature in d2tm :o
12:37:27 *** dragonhorseboy has left #openttd
12:38:48 <Xaroth> getting a devestator blown up == fatal exception
12:40:20 <TrueBrain> that is a blow up :)
12:40:33 <TrueBrain> writing data in 5000 files is slow :s
12:40:41 <TrueBrain> I guess I need to find a new FS for this project ...
12:43:18 <frosch123> did I already mention the niceness of the kate ctags-plugin?
12:43:51 <Alberth> not that it helps after creation of the files, as you need to move them to HD some time.
12:44:31 <TrueBrain> Xaroth: no ingame screenshots
12:44:41 <frosch123> (the ctags thingie was the part, which emacs and vim uses treated me most with :p)
12:45:59 <Xaroth> images look a bit too much like D2000 innit
12:47:28 <TrueBrain> a bit like .. what was it called .. planet something
12:47:31 <TrueBrain> played it for ages .. :p
12:49:01 <LadyHawk> and yeah dune3 thingy does look like dune2k
12:49:03 <TrueBrain> I believe it became paid
12:49:17 <LadyHawk> and it's in a language i can actually understand too
12:49:32 <TrueBrain> Dutch is such a beautiful language :p
12:49:38 <CIA-2> OpenTTD: alberth * r16960 /trunk/src/ (vehicle_type.h viewport.cpp window_gui.h): -Doc: Added some viewport and vehicle type doxygen strings.
12:49:59 <LadyHawk> it's just easier.. and anyone that isn't dutch has a hard time learning it
12:50:10 <LadyHawk> 'why do you make the sentence like that?' 'because it sounds better'
12:50:34 <TrueBrain> it is just stupid they made the website in dutch .. doing it in english reaches a much bigger public
12:50:58 <_ln> chinese would be even better.
12:51:22 <LadyHawk> that would show up as ???? ??? ????? ???? ????????? ???
13:01:45 *** oskari89 has joined #openttd
13:07:43 <OwenS> LadyHawk: Not on any reasonably configured system
13:07:53 <TrueBrain> utf-8 support is overrated!
13:11:31 <TrueBrain> grr, I hate it when I have no clue how to trace a problem :)
13:11:50 <TrueBrain> after playing a while I get graphical glitches too, which gives me the suggestion there is a memory problem ..
13:19:35 <CIA-2> OpenTTD: alberth * r16961 /trunk/src/ (widget.cpp widget_type.h): -Codechange: Moving some methods up in the class hierarchy to avoid code duplication.
13:21:18 *** Brianetta has joined #openttd
13:23:51 *** el[cube] has joined #openttd
13:36:03 <Xaroth> ugh, tried reading a simple tut for SDL, they could have just as well written it in brainfuck
13:36:21 <TrueBrain> just check the OpenTTD code :p
13:37:18 <Alberth> isn't reading the API not easier?
13:39:14 <Xaroth> well no, since I don't know much about C/C++
13:39:23 <Xaroth> so i'd hoped i could whack both flies in 1 hit
13:39:41 <TrueBrain> bad translated Xaroth
13:40:12 <Xaroth> gotta go to a wake in a few hours
13:40:16 <Xaroth> so not in my best of moods :P
13:40:17 <TrueBrain> "two birds with one stone" ;)
13:40:34 <Xaroth> no, birds are nice, flies aren't :P
13:41:10 <Xaroth> don't even know the guy, but the missus does
13:41:17 <LadyHawk> [26/7][14:07:33] <OwenS> LadyHawk: Not on any reasonably configured system << you mean any system someone's not too lazy to install languages
13:41:32 <LadyHawk> i cant read chinese so i have no use for the font
13:41:47 <TrueBrain> SDL_Init(SDL_INIT_VIDEO); SDL_WM_SetCaption("Hello", ""); SDL_SetVideoMode(_gfx_width, _gfx_height, 8, SDL_SWSURFACE | SDL_HWPALETTE); memset(_gfx_surface->pixels, 128, _gfx_width * _gfx_height);
13:41:52 <TrueBrain> SDL is that simple Xaroth ;)
13:42:34 <TrueBrain> 8bpp graphics, but okay, making that 24 is easy enough :p
13:43:09 <TrueBrain> oh, you are catching on? :)
13:43:16 <TrueBrain> most likely you then have to remove the HWPALETTE
13:43:20 <Xaroth> i'm dutch, not retarded
13:43:26 <TrueBrain> and you have to start using some SDL_Colour thingy
13:43:41 <TrueBrain> accessing pixels directly becomes a bit tricky :p
13:43:52 <TrueBrain> (24bit is 32bit aligned I believe)
13:44:18 <Xaroth> hm, SDL handles cross-platform stuffs?
13:44:30 <TrueBrain> only on Windows it is a bit slow
13:44:33 <TrueBrain> the reason OpenTTD uses GDI there
13:44:57 <TrueBrain> one warning about SDL: it tends to use dirty hacks
13:45:07 <TrueBrain> for example, it has a ctor
13:45:30 <TrueBrain> glx: yeah, but via an extra layer which is SLOW! :p
13:51:35 *** TheCondor has joined #openttd
13:52:57 <OwenS> I think it does DDraw as well
13:53:54 * OwenS sets off rsync to lots of stuff from his web server
13:54:37 <OwenS> I should have probably turned on ZFS compression for that but oh well
13:55:21 <TrueBrain> Xaroth: how do you keep on finding those :p
13:56:20 *** KenjiE20 has joined #openttd
13:56:48 <Xaroth> TrueBrain: i have no idea
13:56:52 <Xaroth> that one is ukranian or something
14:05:32 *** HerzogDeXtEr has joined #openttd
14:18:34 *** Coco-Banana-Man has joined #openttd
14:42:49 *** eleusis has joined #openttd
15:03:56 *** andythenorth has joined #openttd
15:26:02 *** dmacmarine has joined #openttd
15:26:31 <dmacmarine> could someone help out an old TTD fan that just returned to the game yesterday?
15:26:49 <Alberth> if you ask a question, yes
15:26:50 <Spoons> That depends, can whovere this is ask a question?
15:27:07 <dmacmarine> what's the difference between bus stations and bus stops?
15:27:23 *** LadyHawk has joined #openttd
15:27:35 <dmacmarine> so bus stops are more convenient for travel-flow through?
15:28:35 <Alberth> trying usually works best :)
15:31:16 <dmacmarine> the passenger rate seems to grow slower
15:32:33 <Alberth> you built it in an area with less houses?
15:34:51 <dmacmarine> i guess that's the obvious reason
15:39:31 <dmacmarine> im still stumped :(
15:40:36 <Alberth> maybe the flow makes the difference
15:40:53 <Alberth> You can also use them with trams
15:43:08 *** KritiK_ has joined #openttd
15:47:48 *** KritiK_ is now known as KritiK
16:18:03 <CIA-2> OpenTTD: rubidium * r16962 /trunk/src/ (5 files in 2 dirs): -Codechange: more work towards multi tile waypoints
16:28:13 <DragoonJett> Can I use the console to filter stuff in the Scenario Editor
16:28:19 <DragoonJett> Like industries and the like
16:32:10 *** Azrael- has joined #openttd
16:35:57 <planetmaker> not that I know of
16:36:13 <planetmaker> and good evening #openttd
16:49:38 <Tekky> Good evening maker of planets. :)
17:14:40 <planetmaker> /usr/bin/ld: sanity.o bad magic number (not a Mach-O file) <-- is there a way to detect for which OS an object file was build?
17:14:47 <planetmaker> prior to getting this error? :-)
17:15:20 <Alberth> does 'file sanity.o' gives anything useful?
17:16:53 <planetmaker> hm... seems like :-)
17:17:12 <planetmaker> But the question is: should a makefile care for that? :-P I guess not
17:19:12 <planetmaker> probably it's a bad idea in the first place to build the binaries for several systems in the same dir...
17:21:59 <Alberth> I am not sure what you want a makefile to do in such a case. If the answer is "rm *.o", then do that beforehand.
17:22:35 <Alberth> and indeed, life gets much easier if you split such things across different dirs :)
17:28:37 *** Brianetta has joined #openttd
17:29:14 <CIA-2> OpenTTD: alberth * r16963 /trunk/src/ (widget.cpp widget_type.h window.cpp window_gui.h): -Codechange: Added NWidgetViewport widget.
17:37:42 <glx> planetmaker: objdump mabe
17:37:58 *** George3 has joined #openttd
17:43:32 <OwenS> Dovecot is refusing all authentication methods
17:44:04 <Alberth> sounds very secure :p
17:45:32 <CIA-2> OpenTTD: translators * r16964 /trunk/src/lang/ (5 files in 2 dirs):
17:45:32 <CIA-2> OpenTTD: -Update from WebTranslator v3.0:
17:45:32 <CIA-2> OpenTTD: greek - 303 changes by fumantsu
17:45:32 <CIA-2> OpenTTD: italian - 1 changes by lorenzodv
17:45:32 <CIA-2> OpenTTD: russian - 1 changes by Lone_Wolf
17:45:34 <CIA-2> OpenTTD: spanish - 25 changes by Terkhen
17:45:34 <CIA-2> OpenTTD: turkish - 1 changes by niw3
17:47:29 *** thisismynick has joined #openttd
17:51:21 <planetmaker> OwenS: it might be that it requires an installed key there locally?
17:51:31 <planetmaker> e.g. authentication w/o password
17:51:34 <OwenS> It only works when I store plaintext password
17:54:50 <OwenS> Why are you beeing so stupid dovecot? :-(
18:00:43 <OwenS> WHY ARE YOU REFUSING TO AUTHENTICATE STUPID SERVER?!
18:02:49 <Rubidium> OwenS: because you fail to provide the proper credentials... isn't that obvious?
18:03:18 <OwenS> I'm providing the correct credentials. It authenticates with them if I store them plaintext
18:03:25 <OwenS> If I store them hashed, it refuses to auth
18:03:49 <TrueBrain> reminder to self: do not try Solaris
18:03:58 <planetmaker> different hash routines
18:04:07 <OwenS> I'm hashing them with dovecotpw
18:04:14 <OwenS> And this is a Dovecot issue, not a Solaris one
18:08:48 <blathijs> OwenS: does depend a bit on your definition of "correct", though
18:09:00 <OwenS> Same ones I provided the hash :p
18:09:06 <blathijs> I'd say that any credentials that won't let you authenticate, are incorrect :-p
18:09:23 <blathijs> (So possibly dovecot is bugged and there are no correct credentials, then)
18:09:57 <OwenS> From the looks of things
18:10:08 <OwenS> dovecotpw allows me to hash into formats it can't authenticate against =/
18:12:46 <OwenS> Haha! Using the system ($5$) password format works
18:14:49 <OwenS> Hmm. Here exists a puzzle
18:15:04 <OwenS> How do I rsync some file across I have rights to access only as root
18:15:11 <OwenS> Bearing in mind SSH root logins are disabled :p
18:15:42 <OwenS> Root logins in general are disabled in fact
18:15:50 <TrueBrain> enable with keys only
18:15:55 <TrueBrain> (without-password instead of disabled)
18:17:03 <OwenS> Seems an awful lot of work for a machine which will soon be nuked :p
18:17:36 <TrueBrain> yeah, typing ssh-keygen -t dsa
18:17:40 <TrueBrain> seems so much work to me too
18:17:44 <TrueBrain> what ever you want :)
18:18:31 <OwenS> If I'd known it was that simple I'd have done it long ago :p
18:18:51 <TrueBrain> security 1-on-1: install SSH keys!
18:19:26 <OwenS> Well I do apologize if I haven't been to server security 101, my job not being sysadmin :p
18:20:00 <TrueBrain> has little to do with sysadmin .. just general security thingies :)
18:20:58 * OwenS generates overkill 4096bit key
18:28:17 *** Patrick has joined #openttd
18:30:41 <OwenS> OK, in spite of uploading the public key to the server, it's refusing to certificate-based auth me =/
18:31:18 <TrueBrain> have you put the file in .ssh/authorized_keys[2]
18:31:22 <TrueBrain> which has mode 0600
18:31:38 *** KenjiE20 has joined #openttd
18:32:26 <TrueBrain> if as root, do you have without-password in your configuration?
18:33:13 <TrueBrain> the ssh on the receiving end always tells what is going on
18:34:20 <TrueBrain> (and do you use the key when trying to logn? :p)
18:34:28 <TrueBrain> ssh -i ~/.ssh/yourprivatekey user@host
18:35:40 <OwenS> And ssh tells me nothing useful
18:37:45 <OwenS> Aah.. my .ssh permissions were TOO restrictive
18:41:19 *** Tekky_ is now known as Tekky
18:45:12 <OwenS> Whew 30k files to transfer
18:47:01 <OwenS> Damn I have massive maildirs
18:48:18 <OwenS> ssh already does as it downloads them;-)
18:51:10 <TrueBrain> ssh compression? Nah, only crypting :)
18:51:44 <OwenS> SSH runs gzip inside the encrypted tunnel
18:51:59 <TrueBrain> damn, dune2 still doesn't work :(
18:52:03 <blathijs> TrueBrain: ssh compresses by default IIRC
18:52:23 <OwenS> Compression actually slightly strengthens the encryption it's within anyway
18:54:02 <OwenS> I think Faith (One of my cats) thinks the most important part to come with my server is the cardboard box she can sleep in
18:54:16 <TrueBrain> she might be right :p
18:54:57 <OwenS> She has choice of three beds, two cat beds, a large sofa, and yet she chooses the cardboard box..
18:55:33 <Alberth> she wants to keep an eye on you
18:55:53 <OwenS> She can't see me from there. She could see me if she slept on my bed..
18:57:45 <TrueBrain> I made a memory snapshot via dosbox and via my emulator ... and they don't really look like eachother :s
18:58:58 <OwenS> Would they, as they were taken at different points?
18:59:17 <TrueBrain> no, I did both when a given insturction was executed for the very first time
18:59:24 <TrueBrain> so the difference should be relative minimal
18:59:30 <TrueBrain> (no keyboard nor mouse interaction
19:07:25 <TrueBrain> problem is that the changes appear fairly consistent over multiple runs via different ways of executing ..
19:07:53 <OwenS> How much of the dump variation is because of Dosbox' loaded DOS apps and such?
19:08:07 <TrueBrain> well, all loaded things should be in the lower memory
19:08:31 <TrueBrain> the weird part is that my emulator has much more data in the memory :s
19:08:52 <TrueBrain> -00087670 5a 00 00 97 18 fa 13 6a 14 da 14 28 15 59 15 b3 |Z......j...(.Y..|
19:08:53 <TrueBrain> +00087670 5a 00 00 97 18 fa 13 6a 00 00 00 00 00 00 00 00 |Z......j........|
19:08:58 <TrueBrain> those things worry me ... long ranges of 00s ..
19:39:10 <Xaroth> mem addressing errors?
19:45:28 <Alberth> maybe tracking which mem addresses you write gives some insight
19:45:48 <TrueBrain> hehe :) The app uses 640k of memory :)
19:48:07 * Alberth gives TrueBrain 80k spare bits
19:50:05 *** Illegal_Alien has joined #openttd
19:53:41 <TrueBrain> Alberth: sorry, but I don't see how it would give me any insight .. :( I am really clueless how to figure out what goes wrong :(
19:54:17 <Alberth> it'd give you information whether you write 0 or you don't write at all
19:54:50 <Alberth> maybe you find a correlation
19:56:08 <TrueBrain> too bad I can only see if I read/write the memroy .. not read or write .. just that it uses the memory :p
19:56:45 <Alberth> or try smaller programs, kind of a number of unit tests
19:56:57 <TrueBrain> I tried all smaller apps :)
19:57:01 <TrueBrain> either they work, or miss interrupts
19:57:07 <TrueBrain> or in one case, does something VERY nasty :p
19:58:40 <TrueBrain> and I have a complete test-case which tests all opcodes as far as I can ... of course they are not complex, but .. you can only write good test-cases if you know what is wrong ;)
20:03:09 <Alberth> I don't have bright ideas how to deal with this problem atm, sorry
20:03:21 <TrueBrain> too bad... neither do I :(
20:05:07 <TrueBrain> hmm .. data comes from a file ...
20:07:34 <TrueBrain> ha, traced thisone :) Niceone Alberth :)
20:07:42 <TrueBrain> I do a better job then DosBox, resulting in such thingies :p
20:07:45 <TrueBrain> it is a MSB record ..
20:08:43 <Alberth> no idea what you say, but glad you found the problem :)
20:08:50 <TrueBrain> I clean up after me :p
20:08:52 <TrueBrain> that is what happened :p
20:17:59 <TrueBrain> that is does for a long time now .. but vehicles do not move yet ;)
20:18:07 <TrueBrain> so I am checking memory differences, hoping to find something
20:22:17 <Alberth> you too with all your bit hacking :)
20:26:34 <OwenS> What do you mean "I clean up after me"?
20:26:52 <TrueBrain> OwenS: that I set my MSB to \0
20:27:00 <TrueBrain> instead of leaving what ever is there as I don't use that byte anyway
20:35:57 <OwenS> I'm for some reason reminded of how SimCity used memory immediately after freeing it
20:36:15 <TrueBrain> in the old days, free didn't mean free at all
20:37:41 <OwenS> Win 95 and later have special code which patches SimCity to work arround it :p
20:38:09 <Rubidium> OwenS: yay for bug-backward compatability, right?
20:38:43 <OwenS> Rubidium: The code patches SimCity when it detects it, rather than applying to everything though
20:40:45 <Rubidium> OwenS: I've read that the memory allocation thing goes into a special mode
20:42:11 <OwenS> Rubidium: At least according to The Old New Thing, it patches the SimCity binary. I think it's in HKLM/AppCompat or something
20:45:21 <OwenS> Hmm... Apps, Database, Mail, what may I have forgotten before I wipe this server?
20:45:34 <TrueBrain> to shut it down and give it a week?
20:45:37 <Rubidium> 'cause I can only find pages that mention the allocator trick
20:45:47 <OwenS> TrueBrain: I don't have that option =(
20:47:21 <Rubidium> whatever you're missing once you've wiped the server
20:47:34 <TrueBrain> at least keep the disks?
20:48:16 <TrueBrain> hmm .. 2 observations now I have the memory sort of aligned: 1) I have data in my memory that DosBox either wiped or never loaded
20:48:29 <TrueBrain> 2) I have 2 palette with other data .. or I think they are palettes
20:48:34 <OwenS> TrueBrain: It's a VPS hosted remotely
20:48:48 <TrueBrain> OwenS: then rsync a copy
20:48:55 <OwenS> I think what I'm gonna do is netcat-in-ssh-a-bzipped disk :p
20:49:03 <Rubidium> bah... why can't you overload macros? :(
20:49:18 <TrueBrain> Rubidium: #undef ;)
20:49:30 <OwenS> Overloading macros would own =(
20:50:03 <Rubidium> TrueBrain: that does not have the wanted result
20:50:14 <Rubidium> #define FOO(a) {a, 1}
20:50:22 <Rubidium> #define FOO(a, b) {a, b}
20:50:29 <TrueBrain> that is just poor programming
20:50:40 <OwenS> I've wanted to do recursive macros
20:51:12 <OwenS> like #define FOO(a, ...) Something(a), FOO(VA_ARGS); #define FOO()
20:51:43 <Rubidium> TrueBrain: well, that's just an example
20:51:58 <Rubidium> I'm talking about slightly more complex macros
20:52:52 <Rubidium> sometimes they're the only feasible way for some constructs
20:53:13 <Rubidium> at least till λ functions get implemented
20:53:44 <OwenS> TrueBrain: They're in C++0x
20:53:51 <TrueBrain> which is postponed ... AGAIN
20:53:54 <TrueBrain> 2012 I believe this time?
20:54:12 <Rubidium> OwenS: and because it's in some preliminary spec it's going to happen?
20:54:12 *** andythenorth has left #openttd
20:54:25 * Rubidium waves frantically to 'concepts'
20:54:33 <OwenS> Rubidium: VC10 has them; I think G++ has them also if you enable the right mode
20:54:35 <OwenS> Perhaps it should be C++0xC :P
20:55:49 <Rubidium> C++0whatever is a stupid version number anyway; it must be much worse than C++98
20:56:00 <Rubidium> after all, the number is smaller
20:58:07 <TrueBrain> why does DosBox debugger not have a memroy watcher :(
20:59:36 * OwenS connects to said VPS' shell
21:00:15 <OwenS> (By which I mean tty rather than via it's sshd)
21:04:43 <OwenS> rsyncing it accross from single user mode =)
21:05:53 <OwenS> I can feel the effect it's having on my network connection
21:07:15 <CIA-2> OpenTTD: rubidium * r16965 /trunk/src/ (9 files): -Codechange: use tile area instead of sets of variables for the station joiner code.
21:18:42 <OwenS> WTF? Why on x86 can you do sgdt/sidt/sldt in ring 3?!
21:30:49 <Tekky> TrueBrain: The standard version of DosBox does not have a debugger, does it? I think I remember having to compile my own version of DosBox to use the debugger, but I can't remember anymore exactly what I had to do.
21:31:13 <TrueBrain> Gentoo has the +debug switch
21:31:15 <TrueBrain> don't know about the rest
21:33:54 <Tekky> If I recall correctly, there were several levels of debugging you could define while compiling. I think I had to use the highest debug level in order to do things like setting a breakpoint on memory access.
21:34:56 <TrueBrain> the latter is not in the debug coming with DosBox
21:35:02 <TrueBrain> the debugger is bugged anyway
21:35:14 <TrueBrain> anyway .. time is up for this project ...
21:35:18 <TrueBrain> again next month or what ever ..
21:36:24 <OwenS> I forgot to limit rsync to one file system
21:36:29 <OwenS> It's currently copying proc/kcore
21:39:20 <TrueBrain> imdb which lists movies as Comedy ... while it is a Dram, by far
21:39:24 <TrueBrain> not a grim of comedy ..
21:44:50 <TrueBrain> stupid stupid stupid dune2 :'(
21:44:54 <TrueBrain> oh well .. you can't have it all :)
21:45:04 <TrueBrain> I gave myself 7 days .. and they are up :p
21:46:04 <Rubidium> but but... this day still has (at least) 15 minutes
21:46:31 <TrueBrain> yeah .. I won't solve it in 15 minutes :)
21:46:50 <TrueBrain> things are different, and I don't know why :p
21:50:31 <TrueBrain> Rubidium: or you must have a briliant idea to trace the problem :p
21:50:43 <CIA-2> OpenTTD: rubidium * r16966 /trunk/src/ (13 files in 2 dirs): -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
21:50:50 <Rubidium> disable DosBox's random function?
21:51:09 <TrueBrain> (like all old games)
21:51:28 <Rubidium> with what is that seeded?
21:51:52 <OwenS> I'd presume that it's Dune which runs the randomizer, not DosBox...
21:52:23 <TrueBrain> OwenS: that is what I just said ;)
21:54:48 <TrueBrain> it most likely is something terrible simple .. hidden away really deep .. :p
21:55:17 <OwenS> You'll come back once you've allocated some more time and it will hit you :p
21:55:30 <TrueBrain> those problems don't magicly solve theirself
21:56:18 <Rubidium> oh, almost 1*10^12 bytes downloaded via bananas ;)
21:56:37 <TrueBrain> Rubidium: we really should make the stats consumes less table-space :p
21:56:41 <TrueBrain> it is getting out of hand ;)
21:57:05 <OwenS> Rubidium: Just a terabyte? =P
21:57:36 <Rubidium> OwenS: more like 900 GB (due 1.024^4 != 1^4)
21:58:41 <Rubidium> TrueBrain: some daily script that counts total downloads per file id and per hour and then trashes the rest?
21:58:51 <TrueBrain> I think we should consider that :p
21:58:57 <TrueBrain> but then again .. it needs a complete rewrite anyway :p
21:58:59 <OwenS> Rubidium: I said terabyte! Tera is an SI prefix! 1024^4 is Tebibyte :P )
22:07:33 <Rubidium> 10 CPU seconds to upload 1 GB (and that includes handling all other bananas queries). Seems reasonable to me ;)
22:07:50 <TrueBrain> you can say that ;)
22:08:01 <OwenS> Shouldn't it be faster with sendfile? :p
22:08:14 <OwenS> Admittedly thats an annoyingly blocking call
22:09:19 <Rubidium> blocking calls are no good; they only complicate stuff because you need to add threading if you don't want to get killed by someone who uhm... has a slow connection
22:09:49 <TrueBrain> sendfile .. is that PHP or something? :p
22:10:15 <TrueBrain> nobody understand sarcasm :(
22:10:49 <OwenS> I'm having trouble seeing your facial expressions and interpreting your intonation; they're enshrouded in text
22:13:09 <TrueBrain> when I look really close, I spot more problems in Dune2
22:13:18 <TrueBrain> like the rotating Dune2 logo in the beginning, skips
22:14:07 <OwenS> Well, in BST, you have 42 minutes to fix it :P
22:14:58 * Rubidium is just happy that OpenTTD's self-written services are running without leaking or constant need of restarting ;)
22:15:13 <TrueBrain> yeah, Rubidium, they are nice :)
22:15:17 <TrueBrain> and low memory usage ...
22:15:45 <Rubidium> quite a bit of work making them behave nice though ;)
22:16:45 <glx> if only all services would be that nice :)
22:16:59 <Rubidium> :O 3 months uptime for updater/ms
22:17:40 <glx> while you need to restart web server once a day
22:17:53 <Rubidium> ah, they needed to be restarted because of IPv6 ;)
22:18:06 <Rubidium> glx: we've stopped doing that
22:18:54 <Rubidium> we're using... well... a sledgehammer to axe and respawn those 'leaky' processes now
22:18:57 *** KingJ is now known as kingj
22:19:44 <Rubidium> let me say, ulimit is not a nice way of handling processes
22:24:45 <OwenS> It seems to be kinda silly to be backing up iconv libraries
22:25:20 <Rubidium> well... that's debatable
22:25:25 <TrueBrain> and it is kind of silly to be able to play a whole game, but just a VERY TINY aspect doesn't work :s
22:25:29 <Fox> got a problem joining some multiplayer games. the map download hangs at about 20KB. is that a known problem?
22:25:32 <TrueBrain> (and yes, this annoys me :p)
22:25:55 <Rubidium> Fox: that's not a known problem; it works for basically everyone else
22:25:56 <TrueBrain> Fox: most likely local problem: disk full, bad cable, firewall, bad connection, ...
22:26:16 <glx> happens on all servers or only one ?
22:26:21 <Fox> hmm, nope. on some servers it works fine
22:26:33 <glx> then it's a peering problem
22:26:55 <Fox> i'm trying to join a mega's server with the 0.7.0 version..
22:29:33 <TrueBrain> the only solution for my problem I can think of, is insane: modify DosBox to print out every code he executes, and do the same for my emu ...
22:30:25 <OwenS> TrueBrain: I assume you're passing both straight to diff? :P
22:30:44 <OwenS> Actually, use a program of your own design which sends them stops as soon as they differ :p
22:31:12 <Rubidium> OwenS: unlikely; diff can't handle two input streams ;)
22:31:15 <TrueBrain> main problem: my emu stop working when dumping N bytes to a log file :p (as soon as it takes longer to flush that file than it takes for the timer to tick ;))
22:31:43 <Rubidium> Fox: not much; it's some network issue between you and Mega's server. That's hardly something we can fix
22:31:52 <TrueBrain> also, I doubt my asm syntax is compatible .. grr ..
22:32:34 <Fox> hmm kk, thx. will test around a bit ;-)
22:32:47 *** Coco-Banana-Man has quit IRC
22:32:56 <TrueBrain> IP in my emu is fake, not correct most of the time
22:33:00 <TrueBrain> I can dump all registers
22:33:07 <TrueBrain> and just hope it executed the same instruction ;)
22:34:43 <TrueBrain> at least Snipes works :)
22:44:29 <TrueBrain> I just love Snipes :)
22:45:05 <TrueBrain> good night all!! :)
23:06:17 *** ChanServ sets mode: +v tokai
23:17:48 *** DephNet[Paul] has joined #openttd
23:24:45 *** sdafsdf has joined #openttd
23:30:25 *** sdafsdf is now known as LadyHawk
23:37:30 *** Eddi|zuHause has joined #openttd
23:55:59 *** KenjiE20|LT has joined #openttd
continue to next day ⏵