00:28:00 | watusimoto_ | Something to think about |
00:28:01 | watusimoto_ | http://www.klopfenstein.net/lorenz.aspx/simple-nsis-installer-with-user-execution-level |
00:36:03 | | raptor Quit (Ping timeout: 264 seconds) |
00:59:30 | | sam686 has left |
01:05:15 | | raptor has joined |
01:05:15 | | ChanServ sets mode +o raptor |
01:06:56 | | BFLogBot Commit: 37a295490c56 | Author: watusimoto | Message: Somewhat automate build process |
01:06:58 | | BFLogBot Commit: f5fa44922151 | Author: watusimoto | Message: No longer require admin permissions for portable install |
01:06:59 | | BFLogBot Commit: 43e0bcc277c9 | Author: watusimoto | Message: Default to high version to avoid upgrade checks on fresh install |
01:07:01 | | BFLogBot Commit: 95587658b018 | Author: watusimoto | Message: Remove printf to try to suppress console window on standalone version |
01:07:02 | | BFLogBot Commit: 6e2ceb8ac3a3 | Author: watusimoto | Message: Warnings |
01:07:04 | | BFLogBot Commit: 52294c1672d5 | Author: watusimoto | Message: Assign some properties to installer |
01:07:05 | | BFLogBot Commit: 93dccb0dfbee | Author: watusimoto | Message: Formatting |
01:07:07 | | BFLogBot Commit: 781d7af2b9b2 | Author: watusimoto | Message: Make installer have bitfighter icon |
01:07:08 | | BFLogBot Commit: cac3096d6451 | Author: watusimoto | Message: Self doubt |
01:07:10 | | BFLogBot Commit: 0bd9df4cef77 | Author: watusimoto | Message: For now, no |
01:07:37 | raptor | commits! |
01:08:21 | raptor | ugh - do we need to support windows 8 some time? |
01:11:12 | watusimoto_ | probably |
01:12:06 | watusimoto_ | but the current installer will probably work |
01:13:16 | | sam686 has joined |
01:13:16 | | ChanServ sets mode +v sam686 |
01:14:54 | | BFLogBot Commit: 0267859a2cca | Author: watusimoto | Message: Maybe this is better |
01:14:54 | watusimoto_ | ok... one more and good night! |
01:21:02 | | watusimoto_ Quit (Ping timeout: 264 seconds) |
01:32:35 | raptor | dinner! |
02:49:25 | | Fordcars has joined |
02:49:31 | Fordcars | hi |
02:49:36 | raptor | hi |
02:49:40 | Fordcars | Ia m back! |
02:49:44 | sam686 | hi] |
02:50:04 | Fordcars | ç |
02:50:43 | sam686 | |
02:50:52 | Fordcars | |
02:51:10 | sam686 | � � |
02:51:55 | Fordcars | ~{]\';?>:*&%&^$%$éÉÈ:êëèÈU |
02:52:59 | sam686 | �������������������������������������������������������������������������������������������������������������������������������� |
02:52:59 | raptor | whoa |
02:53:05 | raptor | i can even see all of those... |
02:53:56 | Fordcars | ¨Ç¨Ç^çèÉüôÇèàèè:ÈÉ"?*&#(*@&(*!?#(*!&(#&*@)(!*æߢħħij↓ĸŀ→ŀ→ŀ→ŀ→ŀ????? |
02:55:29 | sam686 | it seem like every special symbol I try only comes out as squares on logbot. |
02:57:12 | sam686 | as in like this: http://sam6.25u.com/upload/symbols_problem2.png is what I see on both my irc and logs. |
02:58:09 | raptor | is what i see: http://sam6.25u.com/upload/2snapshot13.png |
02:59:46 | sam686 | Thats funny how different IRC client uses different characters, especially raptor's client.. |
03:00:05 | Fordcars | I see all of them on bitfighter.org irc. |
03:00:49 | sam686 | The BFLogBot's http://bitfighter.org/irclogs/index.php?date=2012-12-10 has squared out all my symbols.. |
03:01:29 | sam686 | let me try more symbols: !"#$%&'() |
03:01:48 | Fordcars | ëÉÈèé |
03:03:11 | Fordcars | ü |
03:04:38 | sam686 | My irc sure likes to split one character in BFLogBot into 2 different ones instead.. I guess thats how it gets more then 256 different characters.. |
03:19:46 | | sam686 has left |
03:20:10 | | sam686 has joined |
03:20:10 | | ChanServ sets mode +v sam686 |
03:20:40 | sam686 | ��� |
03:20:52 | raptor | unicode support yet? |
03:21:28 | sam686 | my irc settings can have different language settings, let me try UTF (is it?) |
03:21:36 | raptor | UTF-8 |
03:21:40 | raptor | yes |
03:21:55 | sam686 | ok, restarting my client in UTF-8 |
03:21:58 | | sam686 has left |
03:22:28 | | sam686 has joined |
03:22:28 | | ChanServ sets mode +v sam686 |
03:22:35 | sam686 | æçè |
03:22:57 | sam686 | oh good, now my symbols displays correctly in http://bitfighter.org/irclogs/index.php?date=2012-12-10 |
03:24:08 | raptor | hooray! |
03:26:30 | Fordcars | ooooooooohhh nice |
03:27:09 | | koda Quit (Quit: koda) |
03:36:50 | sam686 | ՏАМБՅБ thats my name using different characters.. |
03:45:58 | raptor | in case anyone didn't see it - i opened up a level design contest... |
03:46:52 | raptor | i'm leaving for a couple weeks in 1 to 3 days |
03:46:59 | raptor | and won't have internet access |
04:14:17 | Fordcars | yep |
04:14:30 | Fordcars | really? leaving? ok |
04:15:01 | Fordcars | couple.... o...of....we....weeks....? |
04:17:21 | raptor | yes |
04:17:26 | raptor | so i'll miss lots! |
04:17:36 | raptor | but don't worry! i'll be back before the contest ends... |
04:18:13 | Fordcars | fiou..... |
04:18:42 | sam686 | ok |
04:20:21 | raptor | ? |
04:25:21 | Fordcars | like ouff..... relief? |
04:25:37 | Fordcars | wiping sweat off forehead |
04:25:39 | raptor | ohhh |
04:25:50 | raptor | ok, i usually spell it 'phoew!' |
04:26:04 | raptor | some people say phew! |
04:26:10 | raptor | or whew! |
04:32:54 | Fordcars | yeah well I rarely write that "word" |
05:15:07 | raptor | night! |
05:15:17 | | raptor Quit () |
05:36:36 | Fordcars | night! |
05:36:46 | CrazyLinuxNerd | cya ford |
05:40:43 | | Fordcars Quit (Ping timeout: 245 seconds) |
06:48:59 | | CrazyLinuxNerd Quit (Quit: Leaving) |
07:09:22 | | Darrel has joined |
07:19:23 | | Darrel Quit (Read error: Connection reset by peer) |
08:19:24 | | kodaws has joined |
08:22:44 | | CrazyLinuxNerd has joined |
09:09:43 | | Martinski has joined |
09:09:48 | Martinski | hello :) |
09:19:52 | | watusimoto has joined |
09:19:52 | | ChanServ sets mode +o watusimoto |
09:20:02 | watusimoto | hi |
09:26:12 | Martinski | watusimoto |
09:26:18 | Martinski | I'm thinking of getting this task |
09:26:22 | Martinski | http://www.google-melange.com/gci/task/view/google/gci2012/8029210 |
09:26:24 | Martinski | I claimed it |
09:26:25 | Martinski | but |
09:26:29 | Martinski | do I have to parse |
09:26:33 | Martinski | the players data from the json |
09:26:43 | Martinski | when it's turned on |
09:26:50 | Martinski | and then notify which players are onlyne ? |
09:26:52 | Martinski | online* |
09:26:56 | watusimoto | of course -- that's the whole point! |
09:26:58 | watusimoto | but |
09:27:17 | watusimoto | the json parsing is the easy part, I think |
09:27:23 | Martinski | ofcourse |
09:27:38 | Martinski | which is the hard part :D |
09:27:59 | watusimoto | the harder part (to me) is getting an app running that can obtain the feed, and do something interesting with the results (i.e. pop up a window) |
09:28:20 | watusimoto | if you read the history of this forum from last night after you went to bed, raptor found two apps that did something very similar |
09:28:32 | Martinski | how can I see the history |
09:28:38 | watusimoto | a gmail notifier and ... something else |
09:28:45 | watusimoto | one written in java, the other in python |
09:29:01 | watusimoto | http://bitfighter.org/irclogs/ |
09:29:16 | watusimoto | so you might take a look at one of those |
09:29:55 | watusimoto | I looked briefly at the java one, and it claimed to be cross platform; if it were, you could knock over two tasks at once |
09:30:10 | watusimoto | and python also seems inherently cross-platform |
09:30:23 | watusimoto | but I haven't looked at it at all |
09:30:55 | watusimoto | now, to be clear, I am not certain either of these would be a useful starting point, but it certainly seems worthwhile to investigate |
09:31:12 | Martinski | I'm searching the links right now |
09:31:16 | Martinski | ;d |
09:31:40 | Martinski | ok |
09:31:44 | Martinski | I found something |
09:34:28 | Martinski | the python one |
09:34:29 | Martinski | looks good |
09:34:34 | Martinski | but I'll need those libraries |
09:34:37 | watusimoto | what's the link? |
09:34:38 | Martinski | 1st |
09:34:42 | Martinski | http://code.google.com/p/readertray/source/browse/trunk/readergui.py |
09:34:54 | watusimoto | python libs are easy to get! |
09:35:02 | Martinski | yes I know |
09:35:24 | Martinski | but most of them are not compatible with python 3.3 |
09:35:35 | watusimoto | this is true |
09:35:50 | watusimoto | maybe this is a job for python 2 |
09:35:59 | watusimoto | though I like py3 better! |
09:36:03 | Martinski | so I'll have to downgrade my py on my laptop |
09:36:04 | Martinski | to 2.7 |
09:36:15 | watusimoto | you can install side by side, I think |
09:36:24 | Martinski | I'll try |
09:36:56 | Martinski | is it a problem if I start work a bit later, because tomorrow I have an exam for Java programming and I have to go throuh some stuff |
09:36:58 | watusimoto | does wxPython work with 3? |
09:37:07 | watusimoto | whatever works for you |
09:37:30 | watusimoto | you're studying java programming? how old are you? |
09:37:36 | Martinski | 17 |
09:37:39 | Martinski | 11th grade |
09:37:47 | watusimoto | they teach that in you high school? |
09:38:04 | Martinski | we study C/C++, OOP, Java, html, Python |
09:38:07 | Martinski | yes |
09:38:11 | watusimoto | really?!? |
09:38:14 | watusimoto | wow |
09:38:19 | Martinski | my school is connected with the Technological University of sofia |
09:38:21 | Martinski | Sofia* |
09:38:36 | watusimoto | great! |
09:38:41 | Martinski | so we are studying things, that are teached in the uni 1,2 and 3rd year :D |
09:39:10 | watusimoto | I had to learn (almost) all of it myself |
09:39:34 | Martinski | well actually they just give us the basics and we have to learn by ourself |
09:39:42 | watusimoto | gci |
09:39:54 | Martinski | also my teacher told me about GCI |
09:40:16 | watusimoto | I haven't found anything definitive, but it looks like wxPython might only be 2.x |
09:43:56 | Martinski | I'm starting my laptop |
09:44:05 | Martinski | on it I have win7 and I'll install py 2.7 |
09:47:45 | Martinski | and this project bitfighter |
09:47:47 | Martinski | are you the creator ? |
09:47:52 | watusimoto | yes |
09:48:01 | Martinski | how old are you ? |
09:48:06 | watusimoto | 43 |
09:48:26 | Martinski | wow you must have great skills :D |
09:49:23 | watusimoto | brb |
09:50:30 | | kodabbws has joined |
09:53:24 | | kodaws Quit (Ping timeout: 256 seconds) |
09:56:14 | watusimoto | I have lots of skills, but mostly not as a programmer |
10:00:41 | Martinski | really ? |
10:00:42 | Martinski | :D |
10:00:52 | Martinski | I meant the programming though |
10:01:05 | watusimoto | I've only been paid to program for a couple of years |
10:01:26 | watusimoto | and I don't think of myself as a programmer |
10:05:32 | Martinski | I checked out the source |
10:05:40 | Martinski | I'm dl-ing wxPython now |
10:05:43 | Martinski | to try if it works |
10:08:17 | | kodaws has joined |
10:08:33 | watusimoto | I thought you were going to study :-) |
10:09:13 | Martinski | yes, I have to |
10:09:31 | Martinski | but I'm like on a crossroad :D |
10:09:42 | watusimoto | I understand |
10:09:42 | Martinski | ok, going to study now, hope you'll be here later |
10:09:52 | watusimoto | later |
10:10:44 | | kodabbws Quit (Ping timeout: 240 seconds) |
10:22:53 | | kodabbws has joined |
10:26:04 | | kodaws Quit (Ping timeout: 240 seconds) |
10:35:25 | | kodaws has joined |
10:37:45 | | kodabbws Quit (Ping timeout: 240 seconds) |
11:28:48 | | kodabbws has joined |
11:31:08 | | kodaws Quit (Ping timeout: 240 seconds) |
12:02:40 | | CrazyLinuxNerd Quit (Quit: Leaving) |
12:18:23 | | kodaws has joined |
12:20:49 | | kodabbws Quit (Ping timeout: 240 seconds) |
12:58:20 | | kodabbws has joined |
13:01:04 | | kodaws Quit (Ping timeout: 240 seconds) |
13:44:08 | | sam686 Quit (Ping timeout: 245 seconds) |
14:00:19 | | kodaws has joined |
14:03:04 | | kodabbws Quit (Ping timeout: 240 seconds) |
14:14:43 | | Darrel has joined |
14:32:31 | Martinski | hello guys |
14:33:41 | Martinski | watusimoto are you here ? |
14:47:06 | | CrazyLinuxNerd has joined |
15:03:03 | watusimoto | yes |
15:13:35 | Martinski | here again |
15:14:45 | Martinski | the program in python |
15:14:51 | Martinski | gives list index out of range ... |
15:16:00 | Martinski | I can write my own python script |
15:16:08 | Martinski | to open the json page and take the online players |
15:16:35 | Martinski | but the GUI is a problem |
15:18:17 | Martinski | hmm, the whole point is to have a program |
15:18:26 | Martinski | which opens the json page |
15:18:31 | Martinski | parses the players |
15:18:43 | Martinski | and when there is a change, popups a notification ? |
15:25:27 | watusimoto | yes |
15:25:41 | Martinski | I think I should use C# JSON parser |
15:25:53 | Martinski | and when there is a change in the player list, to show the popup |
15:27:09 | watusimoto | so people can be running it and decide to join in when a someone else starts playing |
15:27:32 | watusimoto | you can do it in c#, but json parsers are available for every language |
15:27:57 | Martinski | yes, but the notification bar will be harder in other languages |
15:28:08 | Martinski | also I think Darrel has already made the popup |
15:31:22 | watusimoto | true |
15:31:30 | watusimoto | but did the python popupper work? |
15:31:41 | Martinski | no |
15:31:47 | watusimoto | really? |
15:31:48 | Martinski | it gives some list index out of range |
15:31:57 | Martinski | I'll try with C# |
15:32:07 | watusimoto | but that was probably a json error, not a gui one, no? |
15:32:24 | Martinski | the gui.py gives a problem |
15:32:31 | watusimoto | Darrel had a hard time with the json parsing in C# |
15:33:06 | watusimoto | but no language is specified in the task, so I will accept C#, even if it's not my favorite :-) |
15:40:17 | | raptor has joined |
15:40:17 | | ChanServ sets mode +o raptor |
15:41:20 | watusimoto | hi |
15:41:33 | raptor | hi |
15:41:45 | watusimoto | Martinski is attempting the C# notifier route again |
15:42:13 | raptor | ok |
15:42:19 | raptor | wasn't that Darrel? |
15:42:46 | watusimoto | Darrel tried and then passed. Martinski is picking up where he left off |
15:42:59 | raptor | ah ok |
15:47:19 | raptor | someone already sent me a map! |
15:47:28 | watusimoto | great!! |
16:01:25 | raptor | I opened discussion on the Seeker |
16:01:28 | raptor | in the forums |
16:06:26 | Martinski | we have progress, I succeeded downloading the json :D:D |
16:06:36 | raptor | hooray! |
16:08:25 | watusimoto | great! |
16:08:45 | watusimoto | raptor: I saw your discussion and applaud your proactivity |
16:09:03 | watusimoto | one thing I hadn't considered was the use of seeker to counter evading players shooting backwards |
16:09:23 | raptor | yeah, if there is enough open space seeker can be evil |
16:09:43 | watusimoto | maybe if the target is shooting at it, it could go faster! |
16:10:11 | raptor | also, you'll be happy to hear that players are using sensor more |
16:10:49 | raptor | i played a game shortly after releasing, and the sensor module was popular with the easy spybug placement |
16:10:56 | raptor | games |
16:10:56 | watusimoto | really? |
16:10:58 | watusimoto | wow |
16:11:03 | watusimoto | do we track module usage |
16:11:03 | watusimoto | ? |
16:11:11 | raptor | yes... |
16:11:12 | raptor | let me see |
16:11:18 | watusimoto | after a few weeks we should compare |
16:11:27 | watusimoto | now is too soon |
16:11:33 | watusimoto | novelty seekers and thrill lovers |
16:12:01 | raptor | it was phantomime - on two of the maps we played, if he didn't have the flag he'd just run every where blanketing the map with spybugs |
16:12:38 | Martinski | hmm |
16:12:45 | Martinski | can't install JSON.NET |
16:13:33 | raptor | Martinski: i found a one-class JSON parser that might be of help: http://techblog.procurios.nl/k/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html |
16:14:24 | watusimoto | or this: |
16:14:24 | watusimoto | http://james.newtonking.com/projects/json/help/index.html?topic=html/T_Newtonsoft_Json_JsonConvert.htm |
16:14:42 | watusimoto | not an endorsement... just a link |
16:15:07 | watusimoto | raptor: when do you leave? |
16:15:20 | raptor | i'm 'studying' for my final now... |
16:15:26 | raptor | leave tomorrow early morning |
16:15:51 | Darrel | Martinski - JSON.NET is in my zip already |
16:15:58 | Darrel | it's referenced also, etc |
16:16:04 | Darrel | everything is ready for work |
16:16:05 | Darrel | :) |
16:21:04 | Martinski | no, I started a new project |
16:21:14 | Martinski | but I can't understand how to work with JSON.NET |
16:21:26 | Darrel | just google it, it has documentation |
16:21:32 | Darrel | but yeah, I didn't manage it, too :D |
16:22:46 | Martinski | watusimoto, is it a problem if I parse the json by myself |
16:22:52 | Martinski | not using any parsers etc |
16:23:05 | Martinski | it's very simple json, so it shouldn't be a problem I think |
16:23:13 | Darrel | you can parse it yourself |
16:23:24 | Darrel | watusimoto gave you a link how to make a parser of your own |
16:23:30 | Darrel | so I'm sure he won't mind |
16:23:33 | Darrel | if you do it yourself |
16:23:39 | watusimoto | do you really want to do it yourself?? |
16:23:47 | watusimoto | you can, but if it were me, I wouldn't |
16:23:52 | watusimoto | but it's not me |
16:23:56 | watusimoto | so yes |
16:24:08 | Martinski | it seems very hard for me to use this json.net stuff :D |
16:24:20 | Martinski | they're very confusing |
16:24:24 | watusimoto | hard to use it, or hard to get your system set up? |
16:24:25 | Martinski | and I can't set it up also |
16:25:00 | watusimoto | ok so here's my opinion |
16:25:20 | watusimoto | I will accept a solution without a parser -- you can choose how to do the task |
16:25:26 | raptor | notifyX |
16:25:28 | raptor | :) |
16:25:44 | watusimoto | but as an occasionally professional programmer, I would say use the library!!! |
16:26:23 | watusimoto | if I were doing it myself, I would say forget the library and use NotifyX or the python solution! |
16:26:37 | raptor | so the python solution... |
16:26:38 | watusimoto | because I think you guys are doing way too much work |
16:26:50 | watusimoto | but that's my opinion |
16:26:52 | raptor | requires either Tk or wxWidgets |
16:27:10 | Martinski | when I tried running the python solution |
16:27:14 | Martinski | it gave me some errors |
16:27:19 | Martinski | like list index out of range |
16:27:24 | Martinski | and without saying where exactly |
16:27:48 | watusimoto | raptor: what's wrong with wxWidgets? |
16:29:58 | raptor | well |
16:30:27 | watusimoto | Martinski: this is the tradeoff. I may be wrong, but I would work with the python version, unless raptor comes with something good ;-) |
16:30:32 | raptor | dependency problems if you're considering cross-platform. they exist on all platforms, but you'd have to install them separately or on the side |
16:30:54 | watusimoto | I was thinking for the win version, at least, we could make an exe |
16:31:05 | Martinski | ok, maybe I'll be back to the python stuff :D |
16:31:06 | watusimoto | I wouldn't distribute the python code |
16:31:27 | raptor | if python can be installed with the gui wrappers on windows, then that is probably easier |
16:31:50 | watusimoto | now, I haven;t seen what the python version looks like... I may regret backing it!! |
16:33:10 | watusimoto | Martinski: have you looked at all at notifyX? |
16:33:17 | watusimoto | that's the java version |
16:33:26 | watusimoto | which may be reason enough to avoid it :-) |
16:33:52 | Martinski | no |
16:33:55 | Martinski | where can I find it |
16:33:56 | | martin_bede has joined |
16:34:03 | Martinski | google doesn't say nothing about notifyX |
16:34:11 | martin_bede | hello |
16:34:17 | Martinski | hello :) |
16:34:18 | watusimoto | hi |
16:34:21 | Martinski | edit:found it |
16:35:08 | Martinski | I found a ToasterBox program in python |
16:35:12 | Martinski | which makes notifications |
16:35:20 | Martinski | maybe I can use it and also parse the json with python |
16:35:23 | watusimoto | http://code.google.com/p/notifyx/ |
16:37:33 | Martinski | no, I think I'll use ToasterBox |
16:40:39 | | CrazyLinuxNerd Quit (Quit: Leaving) |
16:40:57 | watusimoto | there are a couple of toasterboxes... which are you looking at? |
16:41:07 | Martinski | http://xoomer.virgilio.it/infinity77/AGW_Docs/toasterbox.ToasterBoxWindow.html |
16:41:37 | Martinski | no wait |
16:41:39 | Martinski | actually |
16:41:40 | Martinski | http://wxpython.org/Phoenix/docs/html/lib.agw.toasterbox.ToasterBox.html |
16:41:42 | Martinski | this one |
16:43:36 | watusimoto | looks nice |
16:43:42 | Martinski | yes |
16:43:52 | Martinski | it has methods for everything we need for the window |
16:44:05 | Martinski | also I like python scripting and it will be fun parsing the json :D |
16:44:08 | watusimoto | and the json fetching and processing should be easy in python |
16:57:33 | Martinski | problem - there are NO tutorials and stuff about using the ToasterBox ;d |
17:02:20 | watusimoto | there;s a short snippet here: http://stackoverflow.com/questions/7407075/problem-with-toasterbox-can-you-join-a-timer-or-force-a-thread-to-wait-on-a-t |
17:02:38 | watusimoto | though that thread in general isn't relevant |
17:02:56 | Martinski | alfo writing self gives me problems |
17:02:58 | watusimoto | and another here |
17:02:59 | watusimoto | http://xoomer.virgilio.it/infinity77/AGW_Docs/toasterbox_module.html |
17:04:23 | watusimoto | what's the problem with self? |
17:08:15 | Martinski | hm |
17:08:20 | Martinski | the 2nd demo works |
17:08:28 | Martinski | I'll try to inspect it very carefully |
17:08:41 | watusimoto | Mission Accomplished! |
17:09:09 | watusimoto | (that's a joke you probably won't get) |
17:09:22 | Martinski | yes :D |
17:09:32 | Martinski | explain it please :D |
17:10:11 | Darrel | It's kind of undersandable :D |
17:10:16 | Darrel | understandable* |
17:10:57 | watusimoto | After the US started it's invasion of Iraq (the more recent one), George Bush went on TV in front of a banner saying "Mission Accomplished" to basically declare victory. Shortly thereafter, things started going very badly in Iraq, and it became obvious that the mission was anything but accomplished. |
17:11:29 | watusimoto | so I use it in an ironic way to signal a very early positive sign |
17:11:39 | Martinski | yes, understood :D |
17:16:31 | Darrel | :D |
17:20:58 | Martinski | wtf |
17:21:15 | Martinski | when I try to add the popup position it gives me |
17:21:22 | Martinski | unexpected indend error :O |
17:28:25 | Martinski | what resolution should I use ? |
17:33:01 | | kodaws Quit (Ping timeout: 244 seconds) |
17:39:26 | Martinski | watusimoto |
17:39:33 | Martinski | I'm going for dinner |
17:46:20 | | Darrel Quit (Read error: Connection reset by peer) |
18:02:19 | watusimoto | I'm out of here too... I don't understand the resolution question, so you can ask me again later |
18:06:41 | | watusimoto Quit (Ping timeout: 260 seconds) |
18:13:07 | Martinski | raptor ? |
18:13:09 | Martinski | are you here |
18:13:44 | raptor | hello Martinski |
18:13:56 | Martinski | Because I'm leaving after a while |
18:14:06 | Martinski | and tomorrow I have school until 15:00 |
18:14:20 | Martinski | I think my task time will end |
18:14:42 | Martinski | because I have 16 hrs now |
18:14:43 | raptor | want an extensions? |
18:14:53 | Martinski | maybe but a bit later |
18:14:57 | Martinski | it's not a problem right ? |
18:15:17 | raptor | yeah, no problem :) |
18:16:02 | Martinski | ok, I'm going to work more and when I need, I'll write you about the extension |
18:16:55 | raptor | sure |
18:17:01 | Martinski | thank you :) |
18:21:34 | raptor | you're welcome |
18:29:24 | martin_bede | raptor: hey, could you verify my bitfighter account manually? the activation e-mail didn't arrive. i tried resending it |
18:29:31 | raptor | ok |
18:29:35 | raptor | what is the account name? |
18:29:42 | martin_bede | martin_bede |
18:30:42 | raptor | ok, i think you're activated now |
18:30:46 | raptor | try logging in :) |
18:31:52 | martin_bede | it works, thanks |
18:32:10 | raptor | you're welcome |
18:38:28 | martin_bede | how should i submit my work? hg export? |
18:39:01 | raptor | you can make a diff or an export, sure |
18:39:14 | martin_bede | okay |
19:00:29 | raptor | all right! i'm off to my exam. wish me luck! |
19:00:44 | martin_bede | bye, good luck :) |
19:00:52 | Martinski | good luck |
19:00:56 | Martinski | and extend my time before you go :D |
19:01:01 | raptor | thanks! |
19:01:02 | raptor | ok |
19:02:16 | raptor | done |
19:02:35 | Martinski | thanks |
19:03:53 | | raptor Quit () |
19:14:11 | Martinski | good night guys, see you tomorrow :) |
19:14:14 | | Martinski Quit () |
19:35:43 | | Watusimoto has joined |
19:36:18 | Watusimoto | hello |
19:36:25 | Watusimoto | how's it going, martin_bede? |
19:36:41 | martin_bede | hi, i think it's ready |
19:36:52 | Watusimoto | it works? |
19:37:00 | martin_bede | yes |
19:37:07 | Watusimoto | good! |
19:37:17 | Watusimoto | can you show me your code? |
19:37:57 | Watusimoto | and where is everyone? |
19:38:35 | martin_bede | raptor is taking an exam |
19:38:48 | martin_bede | others just left because its late, i guess |
19:39:25 | martin_bede | these are my changes: http://www.google-melange.com/gci/work/download/google/gci2012/8018212?id=5001 |
19:44:33 | Watusimoto | looks good, though there is a flaw |
19:44:56 | martin_bede | what's it? |
19:45:14 | Watusimoto | but first, a couple of quick comments -- you don't need the L check (to get here L can't be null)... well that's the comment |
19:45:17 | Watusimoto | the flaw |
19:45:27 | Watusimoto | what if you run the constructor with |
19:45:40 | Watusimoto | TestItem.new("Apple")? |
19:45:55 | Watusimoto | I don't actually know what will happen, but i suspect a crash |
19:46:13 | Watusimoto | and the reason is this line: |
19:46:14 | Watusimoto | checkArgList(L, functionArgs, "ResourceItem", "constructor"); |
19:46:21 | Watusimoto | probably isn't doing anything |
19:46:48 | Watusimoto | because it has nothing to check |
19:48:16 | Watusimoto | it gets its list of things to check from here: |
19:48:19 | Watusimoto | const LuaFunctionProfile TestItem::functionArgs[] = { { NULL, { }, 0 } }; |
19:48:32 | Watusimoto | and as you can see, that is just an empty list |
19:50:30 | Watusimoto | so |
19:50:34 | Watusimoto | how to fill the list |
19:51:03 | Watusimoto | you can use a macro like the one in LoadoutZone: |
19:51:04 | Watusimoto | #define LUA_METHODS(CLASS, METHOD) \ |
19:51:04 | Watusimoto | METHOD(CLASS, constructor, ARRAYDEF({{ END }, { TEAM_INDX, GEOM, END }}), 2 ) \ |
19:51:05 | Watusimoto | GENERATE_LUA_FUNARGS_TABLE(LoadoutZone, LUA_METHODS); |
19:52:04 | Watusimoto | the GENERATE_LUA_FUNARGS_TABLE macro takes the methods listed in the METHOD line and creates a properly formated functionArgs array |
19:52:53 | Watusimoto | there are basically two sets of params we will accept for a LoadoutZone: none at all, and a point/xy |
19:53:10 | Watusimoto | which we will represent like this: |
19:53:17 | Watusimoto | METHOD(CLASS, constructor, ARRAYDEF({{ END }, { GEOM, END }}), 2 ) \ |
19:53:25 | Watusimoto | there are two items in that list |
19:53:37 | Watusimoto | END just marks the end of a parameter list |
19:53:44 | Watusimoto | so { END } is basically an empty list |
19:54:05 | Watusimoto | which is the "none at all" option |
19:54:26 | Watusimoto | and { GEOM, END }, whcih basically means a valid geometry |
19:54:45 | Watusimoto | which for a point object (like testItem), will be translated into a point or an x/y pair |
19:55:11 | Watusimoto | I hope that makes at least a little sense |
19:55:32 | martin_bede | yes, i think i understand most of it |
19:55:58 | Watusimoto | and we need to add some documentation |
19:56:09 | Watusimoto | here is how we document the loadoutzone constructor: |
19:56:10 | Watusimoto | * @luafunc LoadoutZone::LoadoutZone() |
19:56:10 | Watusimoto | * @luafunc LoadoutZone::LoadoutZone(team, geom) |
19:56:10 | Watusimoto | * @brief %LoadoutZone constructor. |
19:56:11 | Watusimoto | * @descr Default team is Neutral. |
19:56:13 | Watusimoto | */ |
19:57:51 | Watusimoto | we have a perl program that rips through the code and turns that into something more useful |
19:59:38 | martin_bede | what's the deal with this line? it isn't used for anything, right? |
19:59:39 | martin_bede | const LuaFunctionProfile TestItem::functionArgs[] = { { NULL, { }, 0 } }; |
20:01:13 | martin_bede | it's below the documentation |
20:02:27 | martin_bede | i mean how can this be turned from an empty list to something valuable |
20:03:29 | martin_bede | its not in loadoutZone |
20:05:52 | | LordDVG has joined |
20:06:51 | martin_bede | i know we use a macro, but how does that work? |
20:07:01 | martin_bede | hi, LordDVG |
20:10:41 | Watusimoto | how does it work.... well... it's rather a mystery, even to me, and I wrote it :-) |
20:12:20 | Watusimoto | look at the macro definition, it will show you what the macro produces |
20:12:27 | Watusimoto | it uses a technique called x-macros |
20:12:51 | martin_bede | ok, ill check it later |
20:12:52 | Watusimoto | that allow you to nearly eliminate certain types of duplicate code |
20:13:11 | Watusimoto | but they kind of mess with your mind |
20:13:49 | Watusimoto | the important thing for the moment is that you know what they produce, even if you don't fully get how they do it |
20:14:04 | Watusimoto | and the comments by their def should show you that |
20:18:01 | martin_bede | i think i fixed it: http://www.google-melange.com/gci/work/download/google/gci2012/8018212?id=7001 |
20:19:19 | martin_bede | when i tried passing the constructor a string the game didn't freeze and i got a nice descriptive error message |
20:24:52 | Watusimoto | before your fix? |
20:24:55 | Watusimoto | or after? |
20:26:05 | martin_bede | after |
20:26:14 | martin_bede | i didn't test it before |
20:27:00 | Watusimoto | ok, good, then we'll just say it would have crashed and leave it at that :-) |
20:27:06 | Watusimoto | your diff looks good |
20:27:57 | Watusimoto | one more comment: unless there is a reason to do so, I usually prefer not to do this->bleg, when bleg will do |
20:28:36 | Watusimoto | so the nice thing about checkArgList is that you know that getPointOrXY(L, 1) is guaranteed to return something usable |
20:28:55 | Watusimoto | but this is the solution I was looking for, so good job |
20:29:07 | martin_bede | thanks |
20:29:33 | Watusimoto | so now that you see how it all works, was this an easy task? |
20:29:39 | martin_bede | yes it was :) |
20:29:45 | Watusimoto | I thought so! |
20:30:18 | Watusimoto | anyhow, I'll accept the code as it stands |
20:30:46 | martin_bede | thanks, i won't use this-> unnecessarily next time |
20:31:02 | Watusimoto | I think you could parameterize all our objects in a matter of a couple of hours if you knew what the signatures were supposed to be |
20:31:09 | Watusimoto | maybe less :-) |
20:32:44 | martin_bede | i'm not that optimistic, but you were certainly right when you said these kind of tasks are easy |
20:33:01 | Watusimoto | I'm going to create another parameterization task at some point in the near future (I don't control when my tasks get published, so not sure when). There will be more objects with more complex signatures, and perhaps multiple possible signatures, but the idea will be exactly the same. Watch for that, if you want it. |
20:33:27 | martin_bede | ok, i'll watch for it |
20:34:00 | Watusimoto | this wa the first task I created, so I wasn't sure how hard to make it. originally each object was going to be a separate task |
20:34:03 | martin_bede | btw i misinterpreted that new constructors have to be documented, so i added a few lines to the wiki about them |
20:34:08 | Watusimoto | that would have been ridiculous |
20:34:12 | Watusimoto | ok, that's fine |
20:34:23 | Watusimoto | that's good |
20:34:49 | martin_bede | well, maybe if you limited these task to one/person |
20:35:12 | martin_bede | but then i couldn't do it again so, you shouldn't do that :D |
20:36:08 | Watusimoto | I'd rather not explain it all again! |
20:36:28 | Watusimoto | it would have been far easier for me to just do the task myself, but now you can do the others :-) |
20:37:08 | martin_bede | i see :) |
20:37:09 | Watusimoto | now I need to figure out how to apply your diff |
20:39:07 | martin_bede | it's just hg import cset_v2.diff, isn't it? |
20:50:56 | Watusimoto | is it? |
20:52:16 | martin_bede | i haven't done this before, but according to a tutorial, yes, hopefully |
20:52:26 | martin_bede | good night |
20:52:35 | | martin_bede Quit (Quit: Bye) |
20:52:35 | Watusimoto | i'll try it. good night, and thanks! |
20:53:42 | | BFLogBot Commit: 249ab51c6adf | Author: watusimoto | Message: Move version numbers to constants |
20:53:44 | | BFLogBot Commit: e130c656cef9 | Author: martin_bede | Message: Parameterized Lua contructor of TestItem and ResourceItem. |
21:47:32 | | LordDVG Quit (Remote host closed the connection) |
23:25:28 | | raptor has joined |
23:25:28 | | ChanServ sets mode +o raptor |
23:38:45 | | BFLogBot Commit: 3ea043b9b8ac | Author: watusimoto | Message: Remove some this->s |
23:38:47 | | BFLogBot Commit: 04d4b533dd7e | Author: watusimoto | Message: Formatting |
23:38:48 | | BFLogBot Commit: fb706de8b947 | Author: watusimoto | Message: Make path names appear a little more consistent |
23:38:50 | | BFLogBot Commit: 2acdf0a4038a | Author: watusimoto | Message: .00000001% more efficient |
23:38:51 | | BFLogBot Commit: f713b868b5cf | Author: watusimoto | Message: Whitespace |
23:38:53 | | BFLogBot Commit: 8200ff70cc4b | Author: watusimoto | Message: Fix constructor parameterization. I gave bad advice. |
23:38:54 | | BFLogBot Commit: a00481b6e020 | Author: watusimoto | Message: When current level can't be saved, can't test. Instead of hanging in the menu, return to editor so user can see the error message and take proactive steps to fix it. |
23:39:06 | raptor | hi |
23:39:09 | Watusimoto | hi |
23:39:24 | Watusimoto | test? |
23:39:29 | Watusimoto | as in did you have it? |
23:40:04 | raptor | yeah - i didn't do as good as expected: 90% |
23:40:17 | raptor | not expected - hoped |
23:40:32 | raptor | it'll probably bring my final grade down to A- |
23:41:33 | Watusimoto | that sounds pretty good to me |
23:41:42 | Watusimoto | sorry you are disappointed though |
23:42:20 | raptor | i'm just hard on myself.. |
23:43:15 | raptor | "Since mixed delimeters look like crap..." |
23:43:17 | raptor | yes |
23:43:20 | raptor | i agree |
23:43:51 | Watusimoto | I can't imagine where that grade is going to matter one whit |
23:44:16 | Watusimoto | it's not like you;re just out of college and grades actually count for something (because there;s nothing else) |
23:44:34 | Watusimoto | in your situation it's basically pass/fail |
23:44:51 | Watusimoto | unless I misunderstand your situation |
23:45:20 | raptor | that's true - i'm not going to school for grades - but i'm still hard on myself... |
23:45:40 | raptor | you're understand right |
23:45:45 | raptor | *you |
23:46:27 | raptor | it's not the A- that bugs me, it's the fact i got something wrong... |
23:46:32 | Watusimoto | ha |
23:46:44 | Watusimoto | well, I still respect you |
23:46:49 | Watusimoto | even if you don't |
23:46:53 | raptor | :) thanks |
23:46:58 | raptor | ok, well |
23:47:01 | raptor | where are with GCI? |
23:47:05 | raptor | looks like everyone left.. |
23:47:11 | Watusimoto | in bed |
23:47:15 | Watusimoto | they're all from here |
23:47:21 | raptor | oh man! that exam took 4 hours! |
23:47:25 | Watusimoto | one task expired and renetered the pool |
23:47:31 | raptor | ok, it's later than i thought |
23:48:01 | Watusimoto | one task completed, and accepted, though after testing I relaized it didn't work, due largely to my advice to the student |
23:48:09 | Watusimoto | though trivially fixed |
23:48:29 | Watusimoto | no news on toaster |
23:48:31 | raptor | ha! |
23:48:57 | raptor | hmm ok |
23:49:22 | raptor | i'm thinking about playing with triggers for the level design contest |
23:49:22 | Watusimoto | I'm going to package up all remaining parameterization tasks into one or two projects, and try to get the same guy to do them, now that he understands how things work |
23:49:22 | Watusimoto | good idea |
23:49:29 | Watusimoto | and we can add any that you want |
23:49:41 | Watusimoto | I was also thinking of adding a gci section to the credits |
23:49:47 | raptor | fix android crash |
23:49:55 | raptor | no, just joking |
23:50:09 | Watusimoto | which would be superseeded if we do another gci or gsc |
23:50:16 | Watusimoto | someting easy |
23:50:33 | raptor | so each gci / gsoc would clear it out? |
23:50:38 | Watusimoto | I think so |
23:50:43 | raptor | that sounds good |
23:50:59 | Watusimoto | if any of the students stick around, they can go in the regular credits |
23:51:09 | Watusimoto | and we need to award some developer badges :-) |
23:51:35 | Watusimoto | and I figured out the easy way to apply a diff to the codebase |
23:51:46 | Watusimoto | making it a cinch to integrate code from the students |
23:52:28 | raptor | oh good |
23:52:39 | raptor | it's easy on linux - i wasn't sure how to do so on windows |
23:52:50 | Watusimoto | there's a gui function that will read the diff straight off the clipboard |
23:53:06 | Watusimoto | which makes it really easy |
23:53:11 | raptor | that's even easier than linux! |
23:53:12 | Watusimoto | even gets the name right |
23:53:45 | Watusimoto | I'm turning in soon |
23:53:49 | raptor | ok |
23:54:12 | raptor | good night. i'll probably check in in 3 days or so, then out for 1.5 weeks 2days after that |
23:54:17 | Watusimoto | I'll probably not hear from you for a while... so have fun! |
23:54:25 | Watusimoto | where aer you going, anyway, if I might ask? |
23:54:29 | raptor | texas |
23:54:35 | raptor | houston |
23:54:41 | Watusimoto | the real deal then |
23:54:48 | raptor | the wife's family wants to see the grandkids :) |
23:54:50 | Watusimoto | not this poser Austin garbage |
23:54:54 | raptor | haha |
23:55:13 | Watusimoto | I've never actually been to texas |
23:55:21 | Watusimoto | some day... |
23:55:41 | Watusimoto | probably a good time of year |
23:55:45 | raptor | i was actually suprised at how courteous Houstonians were |
23:55:56 | raptor | the first time i went |
23:55:59 | Watusimoto | you have to be nice when anyone could have a gun |
23:56:08 | raptor | haha, that's what i was told |
23:56:21 | Watusimoto | :-) |