#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2014-12-14

Timestamps are in GMT/BST.

00:00:11raptoroh yeah...
00:02:49raptorwell you know... if it got past the segfault..
00:03:18raptorof course in gdb it doesn't segfault..
00:09:57Watusimotosegfault??
00:10:01Watusimotowhere?
00:10:21raptorthe test suite always seems to segfault for me once, then i run it through gdb and it works
00:10:29raptor... until it gets to a TNLAssert
00:10:33raptorit's just weird
00:10:36raptorin linux
00:13:08raptorlua_getglobal(L, "table"); fails
00:13:13raptori wonder why...
00:14:07Watusimotothat is weird
00:15:21raptorshouldn't i be able to get things like 'math' 'table' 'os' that way?
00:17:02Watusimotoyou know, I'm not sure
00:17:18Watusimotobut you could make a clear table that didn't rely on the library
00:17:38Watusimoto(using the code I included in the commented out bits)
00:17:51Watusimotoand just bypass that issue alltogether
00:32:22raptor Quit (*.net *.split)
00:32:24Nothing_Much Quit (*.net *.split)
00:32:38BFLogBot sh
00:32:50BFLogBot raptor has been net-split'd and cannot seem to find the main channel...
00:33:01sam686connect to adams.freenode.net?
00:36:31sam686or (orwell.freenode.net) is what bf logbot is using at the moment
00:37:54BFLogBot you're net split'd, too, sam686, you just haven't hit it yet...
00:38:19BFLogBot I'm on asimov.freenode.net and everyone is here but you
00:38:51BFLogBot Oops, asimov.freenode.net just went down, too
00:40:33raptor has joined
00:40:33ChanServ sets mode +o
00:40:38raptorBFLogBot:
00:40:38BFLogBotCalvin: Who can fathom the feminine mind? Hobbes: I like 'em anyway.
00:40:39raptor is now known as 7JTABRIJP
00:40:537JTABRIJPwonderful
00:40:587JTABRIJPi'm caught in the crossfire
00:41:107JTABRIJP is now known as raptor4realz
00:41:27raptor4realzok Watusimoto are you here? and sam686?
00:41:32sam686hi
00:41:41sam686_ has joined
00:41:44sam686_ has left #bitfighter
00:41:52Watusimotohello??
00:41:54sam686it looks like asimov is working now
00:42:13sam686hi
00:42:15raptor4realzhi
00:42:35raptor4realzWatusimoto: my tests: http://pastie.org/pastes/9779430/text
00:43:09sam686when raptor connected the second time while failing to first rename his net splitted connection to other server, it auto-renames when the net splitted server joins/combines
00:43:34raptor4realz is now known as raptor
00:44:06no_mu has joined
00:45:38sam686there was at one time i see everyone net split, but everyone only see me net split
00:45:49raptori saw that twice this last round!
00:46:56raptorWatusimoto: those tests were with 21 objects in the level
00:47:05raptoror at least searching for 21
00:48:22Watusimotoso... in other words, we use whichever method is clearest/most maintainable
00:48:37raptoryep
00:48:49raptori do have 2 tests left if i were to be complete:
00:48:54Watusimotowhich... probably means #2?
00:49:06raptor#4 clear the table in C API alone (yuk)
00:49:09Watusimotoactually, clearest/easiest would be for the findObjects functino to create the table
00:49:24Watusimotoso #5 is c++ creates the table
00:49:31raptor#5 have a table created each time and returned in c... yes
00:49:39Watusimotothat would be the easiest for users
00:50:11raptori'm looking to see what other findBlah methods do
00:50:24Watusimotothey find Blahs, I suspect
00:51:04Watusimotowell, there is also #6, clearing the table in lua before calling the fn (the way 019c does it, but the clear could be moved to a wrapper)
00:51:26raptorthat was my #1
00:51:39raptorbut i forgot to say it was in Lua
00:51:52raptoroh interesting
00:52:03Watusimotoah, ok
00:52:18raptorour findAllObjects method returns the filltable, too
00:53:11raptorso you can do local filltable = bf:findAllObjects(ObjType.Line)
00:53:37raptorwow we (attempted to) made it flexible...
00:54:08BFLogBot Commit: b8c4d2fa61 | Author: watusimoto | Message: Dynamic->static cast
00:54:09BFLogBot Commit: 744e7c391b | Author: watusimoto | Message: Setting item ID no longer crashes editor
00:54:22raptorso should we simplify the API and choose one way, or still support all the stuff?
00:54:40sam686does the joystick crash still happpen to watutimoto? i can't get it to crash on me.
00:57:35Watusimotosince performance is equal, we should make the api simpler/easier
00:58:21Watusimotoassuming we are talking about the same thing
00:58:37Watusimotosam686: yes; but I think it is tied to my specific make/model of joystick
00:58:49Watusimotoand I think it is not our problem, but rather the problem of sdl
00:59:05raptoryeah... but just to be thorough, i will test the table creation from c++ one
00:59:44sam686what joystick was used?
01:00:05raptori wonder.. is there a joystick emulation test suite out there?
01:00:42sam686I have dual action joystick, and PS3 joystick (emulated as xbox 360 controller though on windows)
01:01:06Watusimotosaitek 480, I think
01:01:18raptoroh you have the saitek?
01:01:31Watusimotothe sdl test suite crashes when I run it with my stick plugged in
01:01:38Watusimotono bitfighter code involved
01:01:48WatusimotoI reported the error, haven't checked back to see if it was fixed
01:02:35sam686does it still crash, even if using my build? http://sam6.25u.com/upload/bitfighter_019d_59415d660678.zip
01:02:57sam686because the differences on your build is obviously a different compiler (i use visual C++ 2008)
01:03:46amgine123 Quit (Ping timeout: 246 seconds)
01:04:48raptorsam686: are you running vc++ 2008 on windows 7?
01:04:52sam686yes
01:05:34sam686i also have visual 2010 express,
01:06:21raptorha! Watusimoto, creating a table in the C API is the fastest of the tests averaging 100ms over 10000 iterations
01:06:42Watusimotowell, that is interesting
01:07:04Watusimotosam686: you can get the visual studio community editions for free now; they let you use plugins
01:08:22raptoroh wait... i edited the wrong method
01:09:06kumul Quit (Quit: Leaving)
01:09:38raptorignore that test, it was bad
01:10:07Watusimotosam686: crash
01:10:32sam686ok so its not the compiler
01:11:35sam686maybe we sould try updating sdl2 version
01:12:34raptorok... that's more like it - 105ms over 10000 iterations (creating a table each time in c++)
01:13:29sam686is that on linux? what about windows?
01:13:39Watusimotothat's pretty good!
01:13:51raptoryeah, better than creating every tick in Lua
01:14:14raptorso...
01:14:31sam686probably the same on linux and windows, except the differences on 32bit and 64bit speeds
01:14:39Watusimotoso did you test using bitfighter, or just a seperate bit of code?
01:14:52raptorI'm thinking I'll leave the API unchanged, but now i'll throw a warning about using a fill table (instead of warning about not using a fill table)
01:15:02raptorI tested a live level in the bitfighter editor
01:17:32Watusimotook, so a real test
01:17:41raptoryes
01:17:52Watusimotoraptor: that would be fine; we can remove the fill table in 021
01:18:02raptorok
01:18:16raptormay i commit my create-table-every-tick code?
01:18:29Watusimotowell, before you do...
01:18:35raptorok
01:18:57Watusimotoif we creat the table every tick, won't we be breaking the current api?
01:19:09Watusimotothe 019d api, that is
01:19:34raptori'm leaving the API part
01:19:53raptorthe ABI will be different, yes... i'm essential discarding the fill table if i find it
01:20:45raptoroh wait
01:20:53raptorif i discard it, then...
01:20:56raptoroh rats
01:21:00Watusimotowe're working on the assumption that no one counts on having a full table added to; in which case, this isn't really breaking the api too badly
01:21:10raptoryeah, so the filltable it popped off the stack if found
01:21:54Watusimotowe had talked about emptying it; discarding it and recreating is just as easy
01:22:26raptorwell yes... except it will still break scripts because people will have passed in a table to use later in a method
01:22:28Watusimotoso 020 will essentially ignore the fill table... wait, this will be a problem
01:22:31raptorbut that table will be empty
01:22:32Watusimotoyes, exactly
01:22:39raptoryes
01:22:45raptorok, we have found the issue
01:22:48Watusimotoyes, exactly... it will break things
01:22:53raptorthat means it's an all-or-nothing thing...
01:22:57Watusimotoyes
01:23:04raptori can keep it the same for 019d, but then break for 020
01:23:07Watusimotothe old way needs to break if we're not going to support it
01:23:10raptoryep
01:23:17Watusimotono silent failures
01:23:27raptoryeah, those are horrid
01:23:32Watusimotoso lets do this
01:23:37Watusimotofor 019d it stays as-is
01:24:06raptoryes
01:24:07Watusimotofor 020, it breaks; and maybe we should check if there is a passed table and break with a very explicit error at that point
01:24:16raptoryes, ok
01:24:26Watusimotothen for 021 and beyond, we can contemplate removing that table check
01:25:22raptori wonder if there's a way to reuse a reference...
01:25:27raptoron the stack
01:28:39raptorWatusimoto: for 019d, what should I do then... leave completely as is (maybe pull in your one fix about appending items to the table)?
01:29:02Watusimotoleave as is
01:29:13Watusimotoit works
01:29:28raptorwith the weird overwriting behavior an all?
01:29:42Watusimotouh.... no, better not do that
01:29:45Watusimotojust append
01:29:48raptorok
01:29:55Watusimotothe way it is documented to work
01:30:08Watusimotosince that is our api
01:30:23raptorok
01:34:06raptorwell i just tested and it doesn't actually append
01:35:17raptorhah.. nope, it just replaces still...
01:36:10raptorin fact, i'm not sure I know how to append
01:38:09Watusimotoi thought it would just be inserting items after the last one
01:38:39Watusimotoi'm willing to leave the bug in place as well, as it seems not to affect any scripts, nor likely to
01:38:57raptoryeah...
01:39:03Watusimotowe could just add a note saying if passing a table, make sure to empty it
01:39:16Watusimotoor even check for that and print a warning
01:39:20raptorsounds good to me! it will be nuked with this change in 020 anyways
01:39:27Watusimotoyes, exactly
01:39:34Watusimotowe've spent way too much time on this between us
01:39:55raptorsigh, yes
01:40:54raptorthey should just put this image on every page in the lua reference manual: http://www.pplux.com/files/lua101_stack.png
01:40:57raptoror something like it
01:41:12Watusimotoyes
01:41:32WatusimotoI wish we could embed images into comments in c++
01:41:43Watusimoto/ <img href="jjjj">
01:41:51Watusimotooops.. that was suppsed to be a double /
01:42:32raptorha
01:42:41raptorascii images!
01:44:08sam686its the irc, the first / is asking for commands, but // will just turn into a single / (only affects the first character)
01:45:18Watusimoto// triple?
01:45:25Watusimoto/// 4x!
01:45:32Watusimotoyup
01:46:10BFLogBot Commit: e96b630d33 | Author: buckyballreaction | Message: Lua: Add note about clearing the fill tables. Also remove warning about fill tables being more efficient because they will be going away in release 020
01:46:12raptordon't merge with this... it's for 019d
02:07:13Watusimotodang, found another hard crash in the editor
02:07:23Watusimotooh sam686, I have a question for you
02:08:19WatusimotoI need to find the code... moment please
02:10:50Watusimotodang, can't find it
02:13:20Watusimotonope, it's gone
02:16:44raptorhuh?
02:28:22sam686question? or not if you don't have the code?
02:34:13Watusimotosam686: I had a code question for you, but I can't find the line in question
02:34:24Watusimotoso until i do, I cannot ask
02:35:22BFLogBot Commit: bf64fe9e49 | Author: buckyballreaction | Message: Lua: API Change: Remove fill tables and related code from bf:findAllObject methods. This is a reduction in complexity since LuaJIT buys us plenty of speed
02:35:24raptorok now this one you can merge with - it's against 020
02:36:56raptorWatusimoto: you may have handled this segfault already, but this is what I get when attempting to open my level in the editor: http://pastie.org/pastes/9779515/text
02:37:04raptormy Lua test level, i mean
02:37:40raptorand this is the level: http://pastie.org/pastes/9779516/text
02:37:51raptorok, i need to sleep now... good night!
02:38:34raptor Quit ()
03:14:10no_mu is now known as Nothing_Much
05:12:00Darrel Quit (Ping timeout: 244 seconds)
05:12:28Darrel has joined
05:17:19Darrel Quit (Ping timeout: 250 seconds)
05:18:01Darrel has joined
05:19:44Darrel Quit (Read error: Connection reset by peer)
06:19:50Darrel has joined
06:39:14Watusimoto Quit (Ping timeout: 265 seconds)
07:09:07Darrel Quit (Ping timeout: 250 seconds)
07:09:17Darrel has joined
07:24:51Darrel Quit (Ping timeout: 272 seconds)
07:25:03Darrel has joined
09:15:40Raven67854 Quit (Ping timeout: 256 seconds)
09:23:50Raven67854 has joined
09:24:45Darrel Quit (Ping timeout: 250 seconds)
09:25:17Darrel has joined
09:32:51Watusimoto has joined
09:41:32Watusimoto Quit (Ping timeout: 245 seconds)
10:05:49Watusimoto has joined
10:52:47fordcars has joined
11:45:31Raven67854 Quit (Quit: Leaving)
11:48:14Raven67854 has joined
12:43:56LordDVG has joined
13:30:17Watusimoto Quit (Ping timeout: 245 seconds)
15:24:36Watusimoto has joined
15:29:33Darrel has left #bitfighter
16:20:42LordDVG Quit (Ping timeout: 265 seconds)
16:34:22LordDVG has joined
17:02:25raptor has joined
17:02:26ChanServ sets mode +o
17:02:34raptorhaha fordcars, you made the plugin...
17:02:45fordcarsHaha yes :P
17:02:49raptorI admit that was quicker than I expected.. :)
17:07:02fordcarsHaha
17:07:24fordcarsI didn't know you could change turret weapons like that
17:07:42raptoryeah... the other things might be doable, too, but i'm not sure
17:07:50raptorin your dungeon toolset thingy
17:11:42fordcarsI'm not sure
17:11:55fordcarsI didn't find anything in the docs
17:12:58raptorthere is an Asteroid:setSize()
17:13:47raptorspeedzone rotation isn't available, but i'm not so sad about that one..
17:13:59raptorthere is the EnergyItem object
17:14:20raptoryou'd have to try the ghost ship... behavior may be undefined
17:14:26raptorlet's see what's left...
17:15:10raptori don't see teleporter delay, either
17:16:42fordcarsEh, I'll try that out
17:21:45fordcarsHmm, ghost ship doesn't exist
17:21:54fordcarsWell, GhostShip and Ghost
17:21:54raptorit would just be 'Ship'
17:22:12raptor'ghost' is just an adjective that people made up for it
17:22:23fordcarsI tried Ship, it wouldn't find a constructor :( I'll try again
17:22:32raptoroh interesting...
17:23:22fordcarsCurrently cannot instantiate a Ship object from Lua.
17:23:30raptorhuh
17:23:47fordcarsAnd clone() doesn't exist yet
17:23:53raptorah
17:23:53fordcarsThat would of been fun :)
17:23:55raptorhaha
17:23:57raptoryeah
18:11:22Watusimoto Quit (Ping timeout: 265 seconds)
18:43:09LordDVG Quit (Remote host closed the connection)
19:13:03raptor Quit ()
19:41:59Watusimoto has joined
19:45:28Watusimoto Quit (Remote host closed the connection)
19:45:47Watusimoto has joined
20:55:55Invisible has joined
20:58:24raptor has joined
20:58:24ChanServ sets mode +o
20:58:32raptorgood evening
21:01:58Invisible Quit (Quit: Invisible)
21:07:03Watusimotohi
21:07:09raptorhi
21:07:18Watusimotoman, have I got a problem
21:07:37raptoruh oh
21:07:50raptorplease don't say it is Lua
21:07:59WatusimotoI found an old headless linux box I'm trying to revive, but can't recall the password, nor whether I ran as root or used a user account, nor am I sure what the user account would be called
21:08:04Watusimotono not lua
21:08:10Watusimotoso I can't connect
21:08:23raptoroooo... headless!
21:08:29raptorvps?
21:09:03Watusimotono, one of these http://www.amazon.com/Pogoplug-POGO-E02-Multimedia-Sharing-Device/dp/B0033WSDR4
21:09:06raptoradd a head, then boot from a usb disk/cd/dvd, become root, change password
21:09:17Watusimotobut I flashed it with some other os, probably debian
21:09:21raptoroh!
21:09:26raptori worked with one of those once
21:10:07WatusimotoI have some guesses - I
21:10:36WatusimotoIm thinking a user account, I have a guess as to the user name, but none of my typical pws of the era work
21:10:43raptorthere's always root
21:10:52Watusimotofurther, I may have used a certificate to log in
21:11:02WatusimotoI may have disabled root
21:11:10raptorheh
21:11:11Watusimotobecause I wanted to expose it to the internet
21:11:15raptora pickle!
21:11:19Watusimotoindeed
21:11:35raptoris the data on it important?
21:11:50Watusimotomaybe I just need to hook it up to a url: boengspaceplane.com, and wait for the Chinese to let me in
21:11:51raptorbecause if i remember right.. you can reset the whole thing somehow
21:12:01raptorhahaha
21:12:23Watusimotothere's not much internal storage
21:12:55raptoryeah like 512 or something if i remember
21:13:10raptorit was useful only for exposing a USB hard drive to a network
21:14:58Watusimotothere's no little button
21:15:04Watusimotoor any buttons at all
21:15:33raptornot sure if this is it, but here are one set of directions for resetting these things: http://archlinuxarm.org/platforms/armv5/pogoplug-series-4
21:15:40WatusimotoI want to use it as a NAS/very light weight internet box/crashplan client/server
21:16:53WatusimotoI had the pink one
21:16:53Watusimotohttp://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray
21:19:07Watusimotoholy canole
21:19:13Watusimotothe default factory login worked
21:20:21Watusimotothe hackers have already been here!
21:28:34raptoroh man
21:28:40raptorthey own the system...
21:28:43raptorfor sure
21:30:24Watusimotoall my plans for supersonic airframes are gone!
21:39:20raptorwell.. you get access back, but all your intellectual property has been backed up to a few other unwanted places... so even steven?
21:45:24Watusimotogood deal, on balance
21:46:04WatusimotoI guess I didn't get as far with this project as I remembered
21:59:38raptorthis is one of those devices where you use a sharpie to write the credentials on the case
21:59:58Watusimotoyes, I think so
22:00:29Watusimotoespecailly since I have a completely hidden shelf for the components to sit on
22:00:40WatusimotoI glued strips of wood to create shelves behind my book case
22:01:16Watusimotoso you can see the leds from just the right angle, but from any other everything is completely hidden
22:01:39raptorha
22:01:47Watusimotoit's actually a great solution
22:02:09Watusimototakes up no space, out of sight, good (enough) air flow
22:03:29raptorwhat do you plan to use it for? My friend set up his home network with one, but it was attached to a USB hard drive
22:04:01WatusimotoI'll also attach a USB drive
22:04:20raptorI think he had to replace the power supply after a year or two. something about using the USB meant the power supply would go bad faster (on his model)
22:04:39Watusimotocloud storage (for music mostly), also lan backups
22:05:53WatusimotoI use crashplan, and want to see if I can use this as a local backup point
22:06:25raptornever head of that...
22:06:28raptor*heard
22:06:45raptori use... rsync
22:07:01raptorbut not to the cloud
22:10:44raptori found an old game: descent 3
22:14:50fordcarsHah Descent 3
22:15:13raptorit can be spooky
22:15:40fordcarsI remember Descent 1
22:15:46raptorme too
22:15:50raptori loved it
22:16:02fordcarsHah, I barely played it
22:16:11fordcarsThe music was nuts
22:16:21raptordescent 3 has linux binaries and is still network compatible
22:20:07fordcarsWow sweet
22:21:20raptoroh man, i just tried level 17 - was killed in 30 seconds
22:28:16raptorok... what is left for 019d?
22:30:27WatusimotoI am happy with what we have, I think.
22:30:35Watusimotodinner; back later
22:30:40raptorlater
22:31:12raptorexcept that one ATI + windows 7 + texture bug
22:35:09Watusimoto Quit (Ping timeout: 244 seconds)
23:12:24fordcarsNight!
23:12:30fordcars Quit (Quit: Page closed)
23:12:31raptornight
23:25:44BFLogBot Commit: a2f6fc3d29 | Author: buckyballreaction | Message: Update stb_truetype from upstream. Fixes some compiler warnings
23:33:31Watusimoto has joined
23:35:48raptorWatusimoto: i'm headed to bed. I've made a list of 019d changes here: http://pastie.org/pastes/9780968/text
23:36:25raptorit looks a little meager, even though a lot of work went into it (because of win64/luajit/CMake)
23:38:20raptorshould we still release? or maybe we can add some other goodies?
23:40:05raptorif you have any thoughts, post them here. I'll look in the morning
23:40:06raptornight!
23:40:10raptor Quit ()
23:40:56WatusimotoI don't know what other goodies to add at this point
23:41:11Watusimotoit is intended mainly as a bugfix release
23:41:50WatusimotoIn that light, I don't think that list looks too bad

Index Search ←Prev date Next date→

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