#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-07-07

Timestamps are in GMT/BST.

00:08:29sam686 Quit (Ping timeout: 245 seconds)
00:46:29Watusimoto Quit (Ping timeout: 255 seconds)
00:55:46sam686 has joined
00:55:46ChanServ sets mode +v sam686
01:25:55raptor has joined
01:25:55ChanServ sets mode +o raptor
02:15:06sam686what does this look like? http://sam686.maxhushahn.com/upload/screenshot_graphics_error_1.png
02:15:34sam686a bug on nouveau driver for nvidia graphics that linux uses by default?
02:41:14raptorwow!
02:41:16raptorprobably
02:41:30raptori always uninstall nouveau and install the nvidia drivers
02:53:08zoomber_mbp has joined
02:53:16zoomber_mbphi raptordragon
02:53:24zoomber_mbpsam686, get my message before?
02:53:58raptorhi?
02:54:51sam686really? strange noise was coming from my keyboard? I guess the wobbly spacebar make noise from computer vibrating table..
02:56:04zoomber_mbphmm
02:56:32zoomber_mbpanyways sam, what do you think about this VPS provider
02:56:41zoomber_mbpliquid-solutions.biz/
02:56:55zoomber_mbpthey're deal is amazing, but i'm worried if they'll be alive for a year or not
03:01:00zoomber_mbpsam686?
03:01:25sam686well, i am trying linux (again) as a desktop - debian wheezy with xfce
03:02:01sam68664-bit too (as my Pentium D is 64 bit capable) with 3.5 MB RAM
03:07:40zoomber_mbpyes! i can add funds to the company!
03:08:04zoomber_mbpSam this is great news, if this all blows over quickly, for a bit more money i will be buying a 2 GB VPS server for a year
03:08:16zoomber_mbpwell more than a little bit of money, but still a GREAT deal
03:08:27zoomber_mbpi sent them a support ticket asking for a test drive
03:08:41zoomber_mbpalso, server is down, doesn't a cron script automatically reboot it though?
03:09:18zoomber_mbpAnyways, what i meant was the new 66 server i bought was revoked, not the 216 server. i will still be paying for that one the next year, so don't worry about loosing anything there
03:10:31sam686ok, maybe the server 66 was revoked after about a few minutes / hours it was up and never got to ssh to it?
03:11:19zoomber_mbpit was revoked because of something wrong I inputed, and i was refunded money,
03:11:27zoomber_mbpis the 216 server working though?
03:12:45sam686i wasn't checking
03:12:58sam686but one of my comptuer's hard disk stopped working..
03:14:56sam686dead hard disk noise http://sam686.maxhushahn.com/upload/hdddead.wav which sound kind of funny.
03:18:54zoomber_mbpOooh, i should show you my old ibook's hard disk drive sound!
03:19:01zoomber_mbpit would *hiss* at mee
03:58:00zoomber_mbpraptor able to play a game with sam686 and i?
04:00:29raptorhi
04:00:40raptornot at the moment, no... sorry :(
05:05:02zoomber_mbphi
05:05:09zoomber_mbpsam686 on?
05:19:45sam686zoomber_mbp on ?
05:20:09zoomber_mbpyes
05:20:19zoomber_mbpi'm not so sure I should buy the server anymore
05:20:24zoomber_mbpmaybe ill go back to jollyworkshosting
05:22:05sam686maybe you might have a little too much servers i think?
05:22:50zoomber_mbpi only have 216, which will be the only one I'm continuing
05:23:01zoomber_mbp74 and 208 will end soon, and I won't be rebuying those
05:23:26zoomber_mbpWhich means ill had 216, and possibly another server, that's why I'm doing all this searching
05:24:27sam6861 GB or less - go with 32 bit operating system expecially if the RAM is the limits (especially if vps don't let you enable SWAP)
05:24:58zoomber_mbpit may be a 1 GB dec + 1GB burst server, so 32 bit is better, but I'm not sure that host is so credible or not..
05:25:52sam686vps might not always be able to "burst" the extra RAM, also burstable RAM always disallow swap, i think..
05:26:20zoomber_mbpyeah, i know that, but i'm just wondering if the host will survive for a year, / if my server will function
05:27:26sam686almost like asking if your computer will survive for a year, my computer fails to start because of dead hard disk, though I did switch out hard disk and install linux for now.....
05:28:09zoomber_mbpright, what i'm wondering, if them as a company will survive, or cheat me out of my service
05:28:17zoomber_mbpjust skeptical right now
05:29:19sam686i think if the company was there for over 5 years, then probably will survive for few more years..
05:29:40sam686company that just started have higher chance of not surviving, i think
05:30:14zoomber_mbpyes,
05:31:56raptor!!
05:32:08raptori just got libtomcrypt and libtnl to compile for android
05:32:16zoomber_mbpnice!
05:32:20zoomber_mbpnow get them to compile for mac
05:32:23zoomber_mbpios*
05:32:31raptorno way...
05:33:09zoomber_mbppossible bit fighter on android is being coded?
05:33:23raptorzoomber_mbp: not really, more of a discovery
05:33:48raptorlike - i'm teaching myself how to use the android sdk, and i figured why not try on bitfighter
05:34:17sam686let me guess, android fails to compile bitfighter due to some missing opengl commands or other libraries?
05:34:29raptori'm no where near that yet...
05:34:38raptorI have to figure out openAL and SDL2 first...
05:35:00zoomber_mbphmm
05:35:20zoomber_mbpnow that i have terminal working on my iPhone, and it has apt-get installed on it, MAYBE i can see what i can do there command line? :l
05:35:22zoomber_mbp:o
05:35:54raptorcommand line on mobile devices is death
05:36:20zoomber_mbp:o, installed make
05:36:23raptori'd rather my 9-month-old son try and gouge my eyes out all day
05:36:37sam686too small to type on mobile android? or was it an evil command that bricks it?
05:36:41zoomber_mbpand so goes another distraction of mine..
05:38:22zoomber_mbpuname -a returnst this:
05:39:26zoomber_mbpDarwin Yo 11.0.0 Darwin Kernel Version 11.0.0: Sun Apr 8 21:51:47 PDT 2012; root:xnu-1878.11.10~1/Release_ARM_S5L8940X iPhone4,1 arm N94AP Darwin
05:39:39zoomber_mbp"Yo" is probably my iPhone's name, (i set that)
05:41:19sam686Linux debian986 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 x86_64 GNU/Linux
05:41:31zoomber_mbpWill have any success with darwin?
05:41:33sam686excuse me for my made up "debian986" name..
05:43:13zoomber_mbpi just installed wget on it
05:43:17zoomber_mbpthis is going to be a long address
05:44:57zoomber_mbpNow i am wget'ing Mercurial source
05:46:28raptoryou can't actually develop for iphone on iphone...
05:46:38raptoryou need a real mac to do it...
05:46:42zoomber_mbplooks like i need python
05:46:44zoomber_mbpdownloading it
05:47:00sam686a real mac? or a virtual mac?
05:47:07zoomber_mbpThe determination of mind and resolvement of will will make me unstoppable!
05:47:28zoomber_mbpoooooh, sam got you good there though, i have to admit
05:47:50zoomber_mbpnoo, i lost conception, time to restart
05:47:57zoomber_mbpwhoops, my spelling is loopy today
05:48:18zoomber_mbpoh i see, its just really slow and appears like it's not updating in %ages
05:48:19sam686i think wget can resume stopped inturrupted downloads?
05:48:59zoomber_mbpno, i'm using apt-get sam, but python is 11MB, and connection rate is 4 kB/s
05:49:10zoomber_mbplmfao i'm going to stop this download
05:49:25zoomber_mbpyeah it went too slow, failed
05:49:40sam6864 gB/s = 32 kbps - dialup speed?
05:51:11sam686maybe set it to use a different mirror, if there is one? maybe the server might be buzy?
05:55:32zoomber_mbpno, connection wise, I'm finally onto a better network now though
05:56:20zoomber_mbp_ has joined
05:56:22zoomber_mbp_ok
05:56:23zoomber_mbp_finally
05:57:07raptorluavec compiles!
05:58:37raptorSDL2 compiles too
05:58:42raptornow the ugly: OpenAL
05:59:49zoomber_mbp_yay
05:59:59zoomber_mbp_well at least you can compile a server if AL fails
06:00:03sam686you could always use the no-audio code like the dedicated does without openal library stuff..
06:00:06zoomber_mbp Quit (Ping timeout: 264 seconds)
06:00:07zoomber_mbp_ is now known as zoomber_mbp
06:00:13raptorhuh... didn't think of that... that's a good idea
06:00:19zoomber_mbpwhat sam said
06:00:51zoomber_mbp278KB/s is a MUCH faster speed, don't you think?
06:01:26sam6862000KB/s is much faster, jsut about the speed I get..
06:02:38raptorFYI, this is good when learning git: http://byte.kde.org/~zrusin/git/git-cheat-sheet-medium.png
06:03:34sam686or could use HG-GIT to let HG pull git, because umm there isn't a very good GUI for GIT
06:03:48raptorhaha, true, i forgot about that..
06:03:48sam686for windows...
06:05:25zoomber_mbpok, compiling HG
06:15:16sam686i tried, but it looks like i couldn't get "Nvidia" to work, but "Nouveau" seem to be kindof fast for my old nvidia graphics anyway (except one glitch) - 137 FPS 1280 x 1024 fullscreen bitfighter..
06:16:03sam686the glitch: http://sam686.maxhushahn.com/upload/screenshot_graphics_error_1.png
06:18:26zoomber_mbpgcc now working on my iphone
06:19:01zoomber_mbpnow headers and libraries
06:21:43sam686good luck trying to even get sound, input, network, and graphics to work...
06:24:18zoomber_mbpi'm not even going to try that
06:24:27zoomber_mbpactually, for kicks, i will
06:24:38zoomber_mbplets see what the first error turns out to be
06:25:07raptoropenal compilied!
06:25:38raptoroh man, i have to sleep
06:25:40raptorgood night!
06:26:31zoomber_mbpi guess androids the way to go
06:26:32zoomber_mbpnight
06:27:05raptorwell, if i had a developer friendly mac environment, i'd probably get to the same stage by now for iOS
06:27:15raptormight even be farther...
06:27:28zoomber_mbpraptor, my first attempt to build bit fighter from the iphone:
06:27:29raptorthe real problem will come with developing a UI...
06:27:40zoomber_mbpYo:~/t/bf/bitfighter-017b root# make
06:27:41zoomber_mbpmake[1]: Entering directory `/private/var/root/t/bf/bitfighter-017b/tnl'
06:27:42zoomber_mbpg++ -DTNL_ENABLE_LOGGING -I../libtomcrypt/src/headers -I../libtomcrypt -O2 -c assert.cpp
06:27:43zoomber_mbpIn file included from tnl.h:35,
06:27:44zoomber_mbp from assert.cpp:27:
06:27:45zoomber_mbptnlTypes.h:40:15: error: new: No such file or directory
06:27:48zoomber_mbpoops, probably should have pastebinned that
06:27:58raptorha!
06:28:06zoomber_mbpafter looking at the rest of it
06:28:20raptorsounds like you don't have the c++ standard libs (stl) set up right..
06:28:22zoomber_mbpI have 0% hope
06:28:23zoomber_mbphttp://pastebin.com/Tb0sPpva
06:28:31zoomber_mbpnot yet i dont...
06:28:52raptorok sleep time
06:28:58raptor Quit ()
06:32:55zoomber_mbpsam686, talked to jollyworkshosting again
06:33:18zoomber_mbpI talked about a custom order, they said in the offer for a 2vCPU core
06:33:32zoomber_mbpdoes that mean 2 cores? or just 1 2Ghz core like before?
06:34:26sam686not sure, maybe they mis-typed it or it might mean something else?
06:39:46zoomber_mbpah, 2-vcpu i guess means, 2 virtual cpus?
06:42:59zoomber_mbpeh, i just sent a ticket asking that
07:08:16zoomber_mbpnice sam686, it's two cores, and they're giving me up to 2.8 Ghz speed (i think)
07:08:25zoomber_mbpor maybe up to 2 Ghz, but the core holds 2.8Ghz
07:08:28zoomber_mbpeither way, this is awesome-o
07:12:36sam686going to bed now...
07:13:14sam686 has left
07:24:38zoomber_mbpinteresting way of setting up a custom fps account
07:24:39zoomber_mbpvps
07:25:15zoomber_mbpAfter talking to such kind support, they gave me a custom link, which was 0 dollars for a custom not defined vps
07:25:31zoomber_mbpAfter checkout, the thing already appears as a service, and boots with 384 MB.
07:25:47zoomber_mbpNote this is before they applied the actual customization, and before Ive added funds either
07:26:17zoomber_mbpso technically they somehow fooled themselves, i suppose
07:26:30zoomber_mbpanyways, at least they're such great support
07:37:31zoomber_mbpthere we go, all sorted
07:55:20zoomber_mbp Quit (Quit: zoomber_mbp)
08:32:20Watusimoto has joined
10:13:18Watusimoto Quit (Ping timeout: 264 seconds)
10:51:32Watusimoto has joined
12:12:06Watusimoto Quit (Ping timeout: 264 seconds)
13:28:47raptor has joined
13:28:47ChanServ sets mode +o raptor
15:35:46kaen has joined
16:06:04raptorwell kaen, i have most supporting libraries built for android now...
16:06:42raptordid you end up doing any work on OpenGL?
16:10:52raptornot that i expected any particular work, i was just curious if you had done anything that may make my future job easier :)
16:12:44kaennothing useful, I'm afraid. but great work on building those libs!
16:13:03raptorok...
16:13:15raptori think i'll have to start migrating to openGL ES 1
16:13:33raptorit *shoudl* stay compatible with GL 1.1
16:14:31Watusimoto has joined
16:14:49raptorargh... i'll probably just have to disable sound somehow...
16:18:03raptorhi Watusimoto
16:18:08Watusimotohi
16:18:28raptorsoo... i got TNL, luavec, libtomcrypt, and SDL2 compiled for android...
16:18:31raptor:)
16:18:49raptorjust as a learning experiment, of course
16:20:25Watusimotoreally
16:20:27Watusimotogreat!
16:20:32raptorfor reals
16:20:50Watusimotoso... what's left? core bitfighter?
16:21:04raptorwell... the audio is giving me a bit of a headache
16:21:15raptorso, i think i'll just skip it for now and start on the core
16:21:31raptorbecause we already can disable it with ZAP_DEDICATED
16:21:54Watusimotowell, awesome
16:22:29raptornow i fully expect that if I get everything to compile, the hard part will then begin: UI
16:29:50WatusimotoI don't think the UI will be that hard after we figure out what needs to happen
16:37:21raptori hope not...
16:37:48raptorbut this sort of stuff with getting things compiled, etc., is my strong point
16:40:15Watusimotoyes -- you do this very well
16:40:36raptorOK... on to compiling the core!
16:42:48BFLogBot - Commit f83369fdd22e | Author: buckyballreaction | Log: Use different define to disable audio
16:43:10raptor^^ that also fixes dedicated again on linux..
16:50:56Watusimotoyay!
17:13:08raptorargh - if I ifdef out a constructor
17:13:32raptorand put an empty one in the corresponding #else block, i get linker errors
17:16:34kaen Quit (Remote host closed the connection)
17:18:20kaen has joined
17:20:51raptorand then I ask myself: "self, do you really want to support another platform?"
17:23:35raptoralso remember to always return 0 instead of o
17:25:41raptorah... missing virtual functions..
17:33:42raptoryay boost problem solved... although it may be that you can *only* compile for android on linux now...
17:35:15raptorunless we remove boost...
17:35:44raptorwhich, as i grow older and wiser, i wonder if we should again...
17:42:13raptorok, back in a couple hours
17:46:32raptor Quit (Ping timeout: 246 seconds)
18:10:34Watusimoto Quit (Ping timeout: 265 seconds)
19:21:53kaen Quit (Quit: making me loopy)
19:23:47kaen has joined
19:26:20kaen Quit (Remote host closed the connection)
19:27:55kaen has joined
19:49:32Watusimoto has joined
19:54:55raptor has joined
19:54:56ChanServ sets mode +o raptor
20:06:25Watusimotohi
20:06:51Watusimotolucky me -- I fell asleep while reading, and slept for 3 hours.
20:07:02WatusimotoI feel like it's about 6AM... totally off kilter
20:07:10raptoroh man
20:07:22Watusimotoalso had a beer at lunch, and a cup of coffee just before I dozed off
20:07:30Watusimotoso my system is totally confused
20:07:38raptoryour brain needs a reboot...
20:07:43Watusimotoindeed
20:13:49raptorcold shower? (REALLY cold...)
20:28:58Watusimotomaybe
20:30:09Watusimotoanyway, I'm trying to create an automated arg checker and documenter for lua functions that can be tied into that class map I was working on a while back; it's a beast
20:30:34raptoroooo
20:31:12WatusimotoI have totally ruined teleporter.cpp/h with all sorts of weird structs trying to figure out how it might work
20:31:25WatusimotoI will have a lot of cleanup if I decide it's a good way forward
20:31:26raptornooooo
20:31:33Watusimotowell, a lot of cleanup in any event
20:31:43Watusimotomost of the cruft will need to move to LuaObject
20:32:38Watusimotoone of the ideas is to verify that all the lua arguments are of an appropriate type; the problem is each function might have multiple combinations of args it can accept
20:33:16Watusimotoright now each function does that independently, and there is no central repository of what signatures are permitted by each function
20:34:53Watusimotoit's very tricky working with arrays and macros, because the "," confuses the preprocessor
20:35:20Watusimotobecause of course I'm trying to force this all through the xmacro framework
20:35:37Watusimotofinally built!!!!!!!
20:36:21koda has joined
20:39:28Watusimotoalmost kind of works
20:39:36Watusimotosurprisingly, given the complexity
20:39:50Watusimotoonly one of my 6 test cases failed
20:40:53Watusimotobut I need a better class name than xx
20:44:58Watusimotoactually, all the tests worked; I had a problem in the test itself
20:53:02raptoryay!
20:53:11raptor(sorry stepped away for supper)
20:53:43Watusimotono worries
20:54:03raptori'm down to GLES errors!
20:54:04raptoryay
20:54:26raptorClientGame was a good first class to try to compile...
20:56:52Watusimotodid it work?
20:57:01Watusimoto(I know the answer)
20:57:10Watusimoto(I NO the answer)
20:57:33raptorha
20:57:41raptori'm down to just these with CLientGame: http://pastie.org/4217173
20:57:48raptorused to be like 50 pages of errors
21:01:18raptorand interesting fact: by default android doesn't let you have run-time type information available
21:01:30raptorso no dynamic_cast, typeid
21:01:43raptorfound the workaround
21:07:02Watusimotointeresting
21:07:13Watusimotowe don't really need dynamic cast much anymore
21:07:22Watusimotomost can be replaced with static, I think
21:07:30Watusimotounless we really need to check the type
21:08:37Watusimotolua_isstring returns true when the item is a number
21:08:41Watusimotofor better or worse
21:08:46raptorha
21:08:50raptora direct number?
21:08:55raptorlike 5 instead of "5"?
21:09:00WatusimototestItem:addDest(100)
21:09:06Watusimoto100 will be considered a string
21:09:31Watusimotothe logic being, I think, that it's trivial to make it a string if you want it to be one
21:09:55Watusimotobut that means we can't differentiate btwn method sigs that use strings and ints
21:10:03Watusimotothough i have no use case for needing to do so
21:10:26raptoranthing with chat messages?
21:11:56WatusimotoI doubt it -- we only want strings there
21:11:58WatusimotoI think
21:12:14Watusimotodoes this syntax seem readable, or just confusing?
21:12:15Watusimoto // Fn name Accepted parameter profiles Profile count
21:12:15Watusimoto#define TELEPORTER_LUA_METHOD_TABLE \
21:12:15Watusimoto TELEPORTER_LUA_METHOD_ITEM(addDest, ARRAYDEF({{ PTx, END }, { STRx, END }}), 2 ) \
21:12:15Watusimoto TELEPORTER_LUA_METHOD_ITEM(delDest, ARRAYDEF({{ INTx, END } }), 1 ) \
21:12:15Watusimoto TELEPORTER_LUA_METHOD_ITEM(clearDests, ARRAYDEF({{ END } }), 1 ) \
21:12:30Watusimotooops... would look better with fixed-width font
21:12:52raptorlooking...
21:12:54Watusimotoin this fictional case, addDest could take a point or a string
21:13:15Watusimoto(and a point can be a luavec or two numbers)
21:13:31raptorseems readable enough to me
21:13:33raptorPTx?
21:13:37raptoris that another macro?
21:13:40Watusimotono
21:13:48Watusimotoit's a temporary hack to avoid name collision
21:14:04Watusimotolots of cleanup to do
21:14:36Watusimotobut that code will replace this
21:14:38Watusimotoconst luaL_reg Robot::luaMethods[] =
21:14:38Watusimoto{
21:14:38Watusimoto { "getCPUTime", luaW_doMethod<Robot, &Robot::getCPUTime> },
21:14:38Watusimoto { "getTime", luaW_doMethod<Robot, &Robot::getTime> },
21:14:38Watusimoto...
21:14:58Watusimotoand will let us document what parameters each lua function takes
21:15:18Watusimotoand will give us better parameter validation
21:15:24WatusimotoI hope
21:15:37raptorok
21:15:54Watusimotoand, I hope, will not impact performance much
21:16:12Watusimoto(i.e. won't require much additional checking beyond what we do now)
21:27:39raptorhmmm... no glColor3f anymore
21:27:51raptor is reading the 128 page difference specification
21:34:38Watusimotoonly 128 pages?
21:35:08raptorit the well, it's the differences between GL ES 1.1 and GL 1.5
21:35:43raptorbut i've already moved away from it: no examples
21:37:07raptorthis is useful: http://pandorawiki.org/Porting_to_GLES_from_GL#Converting_the_easy_stuff
21:38:19raptoractually this'll be easier than I thought...
21:40:26raptorshould i take the easy way out and just redefine the relevant functions? or should I actually convert everything?
21:40:39raptore.g. for GL ES, you can just do:
21:40:40raptor#define glColor3f(a,b,c) glColor4f(a, b, c, 1.0f)
21:40:48raptorbecause glColor3f is missing
22:16:26raptorgoodbye glVertex... :(
22:27:39Watusimotoah... for the color stuff... why not?
22:28:02raptorok, i'm starting the full port to ES 1.1
22:28:05Watusimotodo we acually use glcolor3f much>
22:28:17raptoronly a handful of times - i'm switching them now
22:28:33Watusimotoand most can just be glColor()
22:28:50Watusimotoonly 19 refs
22:29:10Watusimotoand, actually, most could be named colors as well, but that's a side issue
22:29:18raptoryes
22:34:21raptorc++ question:
22:34:53raptorin the gl es example here: http://stackoverflow.com/a/421839
22:35:06raptorhe does something like this:
22:35:08raptorconst GLshort v[8] = { x, y, x+w, y, x+w, y+h, x, y+h };
22:35:13raptorcan you use const there?
22:48:49raptorClientGame compiled!!!!
22:48:51raptor!!!
22:48:52raptor!!
22:51:04raptorWatusimoto: should I disable screenshots for android?
22:51:24Watusimotoprobably
22:51:35raptoryay, another library i don't have to compile...
22:51:35Watusimotocertainly for now
23:05:07raptoroh rats, gameObjectRender is already upon me
23:06:04raptorWatusimoto: did you see my 'const' question above?
23:07:08raptoractually forget it - i'll just not use it..
23:07:44Watusimoto_ has joined
23:09:44Watusimoto Quit (Ping timeout: 245 seconds)
23:18:36sam686 has joined
23:18:36ChanServ sets mode +v sam686

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.