Switch to DuckDuckGo Search
   January 23, 2010  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >


NOTICE: This channel is no longer actively logged.

Toggle Join/Part | bottom
[02:59:39] *** SeH2 has joined #spacenet
[02:59:45] <SeH2> hi on a different pc
[03:43:34] *** SeH2 has quit IRC
[04:52:10] *** bobke has quit IRC
[11:54:00] <archels> 70 errors
[11:54:04] <archels> Don't I love refactoring. :(
[12:02:28] <SeH_> what tool u using ?
[12:04:22] <archels> Notepad++
[12:05:09] <archels> I overhauled all the data structures and everything, so automated stuff would be mostly useless anyway.
[12:05:47] <SeH_> jeez does notepad++ do refactoring?
[12:05:50] <SeH_> or are you talking about a search/replace
[12:06:38] <archels> Nah, I'm pushing some major conceptual changes.
[12:07:00] <archels> The original code was rather messy.
[12:08:05] <archels> The thing I'm most unsure about right now is communication between ActionPotentialCarriers.
[12:08:23] <archels> I've implemented a pull paradigm, where an ACP knows about its incoming connections, but not about its outgoing connections.
[12:09:10] *** SeH_ has quit IRC
[12:18:01] *** SeH_ has joined #spacenet
[12:18:13] <SeH_> hi got disconnectd
[12:18:15] <SeH_> can u paste ur last few lines
[12:18:43] <SeH_> archels: have you ever used an IDE like netbeans or eclipse?
[12:19:57] <archels> yeah I used Eclipse
[12:20:09] <archels> 23/12:05:05 < archels> The thing I'm most unsure about right now is communication between ActionPotentialCarriers.
[12:20:13] <archels> 23/12:05:23 < archels> I've implemented a pull paradigm, where an ACP knows about its incoming connections, but not about its outgoing connections.
[12:21:15] <SeH_> why are you search/replacing with notepad++
[12:21:21] <SeH_> and not using eclipse or netbeans to do a proper refactor?
[12:21:50] <SeH_> or codewarrior or something
[12:22:38] <archels> Those tools can't really do much. They don't understand what the programmer wants.
[12:22:49] <SeH_> have you ever used refactor in eclipse?
[12:22:55] <SeH_> there is a menu that says 'refactor'
[12:22:56] <archels> http://ignorethecode.net/blog/2010/01/21/realism_in_ui_design/
[12:23:16] <SeH_> thats really no excuse for using notepad++ .. dont u care about your code ;)
[12:23:22] <archels> yah, but it's still pretty basic stuff. If you just use the right patterns, you don't need it.
[12:23:39] <SeH_> ok what else are you missing with notepad++... lets see
[12:23:44] <SeH_> does it do syntax highlighting? prolly
[12:23:52] <SeH_> does it do autocompletion of variable and method names, prolly not
[12:23:59] <SeH_> (which saves many keystrokes and thus time and errors)
[12:24:17] <SeH_> does it do refactoring of variables, methods, classes, package locations.. no
[12:24:31] <SeH_> introduce parameter, add new field, add new method etc
[12:25:00] <SeH_> what about reference hopping? by ctrl-clicking on an identifier, it goes to definition
[12:25:06] <archels> I prefer to write getters/setters etc myself because I can check preconditions.
[12:25:07] <SeH_> rather than hunting for the right source file
[12:25:10] <SeH_> project management,
[12:25:28] <archels> Most of what you mentioned is just fluff and UI sugar. :)
[12:26:02] <SeH_> how much of eclipse did you actually use?
[12:26:15] <archels> I realise I'm practically a luddite in my minimalism. :P
[12:26:50] <SeH_> its not about being a luddite, its being aware of the tools. its not even fun or admirable being ignorant of tools that are available
[12:27:06] <archels> I'm perfectly aware, I just choose not to use them.
[12:27:37] <archels> Maybe in the future, when I have more than 20 or so source files.
[12:27:46] <SeH_> yes then you'l certainly need it
[12:28:00] <SeH_> if youve got one source file, ok but even so. syntax completion and all the other stuff really does help
[12:28:23] <SeH_> it really pains me to imagine you working in notepad++... =]
[12:28:52] <archels> hehe
[12:29:30] <SeH_> i like this realism article
[12:29:33] <SeH_> very good point
[12:30:00] *** flamt_ has joined #spacenet
[12:30:08] <archels> yup
[12:36:17] <archels> SeH_: SpaceNet switched to LWJGL, right?
[12:36:33] <SeH_> no, JOGL
[12:36:33] <SeH_> used to be LWJGL several months ago
[12:36:34] <archels> oh, I'm sorry, right
[12:36:58] <archels> What was the motiviation for this change, if you don't mind my asking?
[12:39:04] <SeH_> nader helped me switch from jME to Ardor3D
[12:39:16] <SeH_> ardor3d supports JOGL more
[12:40:10] <SeH_> JOGL also has a better API
[12:40:21] <SeH_> LWJGL uses singletons which prevent it from doing multiple windows and renderers
[12:40:27] <SeH_> JOGL doesnt suffer from that limitation so it can do it
[12:40:36] <SeH_> lesson: avoid singletons
[12:40:49] <archels> I see
[12:40:51] *** flamt has quit IRC
[12:41:17] <SeH_> its such a stupid design mistake. they wanted to make it simple i guess
[12:41:26] <SeH_> but JOGL actually has an overall cleaner API anyway
[12:44:02] <archels> Do you know if JOGL can fallback to software rendering?
[12:44:17] <SeH_> yes but that is up to the system drivers
[12:44:23] <SeH_> there are software renderers for windows, linux, etc
[12:44:29] <archels> I see
[12:44:31] <SeH_> thats what opengl does - provides a standard interface
[12:44:41] <SeH_> the opengl app doesnt need to know exactly how its being rendered
[12:44:51] <SeH_> although the opengl api does give an application a set of 'capabilities' of the driver
[12:44:54] <SeH_> which it can use to adjust the rendering
[12:45:29] <archels> ah, right
[12:45:48] <archels> *sigh* guess I'm about to dump 1k lines of code
[12:46:15] <SeH_> did you look at the brainz java code i linked u a while back?
[12:46:24] <SeH_> u might want to read thru it to see if u get any ideas for ur net
[12:46:39] <SeH_> specifically implementation, not necessarily function
[12:46:39] <archels> The Critterding brain code? Yeah, I checked it out.
[12:53:53] <SeH_> k going away bbl
[12:58:15] <archels> later
[18:39:06] *** bobke has joined #spacenet
[19:11:50] *** bobke has quit IRC
[19:13:42] *** bobke has joined #spacenet
[22:39:58] <archels> wtf? The JOGL JavaDoc HTML is like 5MB.
[22:40:07] <archels> For the class "GL".
[22:41:54] <SeH_> yeah GL has a lot of functions
[22:42:06] <SeH_> i wouldnt recommend working with JOGL directly unless you know GL
[22:42:13] <SeH_> otherwise use a scenegraph like ardor3d to help
[22:49:31] <archels> Do you know where I can find some docs on Ardor3D?
[22:50:35] <SeH_> no :( though if you get the source code and are able to run the demos, u can understand it from the demos
[22:50:40] <SeH_> or refer to JME docs which are mostly similar
[22:50:49] <SeH_> or use spacenet which is a higher abstraction of ardor3d
[22:50:57] <SeH_> wich has no docs either, but many simple examples
[22:54:04] <archels> Hmm, why not jMonkeyEngine, of which it's apparently a rewrite?
[22:55:46] <SeH_> ardor3d has several improvements
[22:56:05] <SeH_> a better input control layer
[22:56:10] <SeH_> better rendering layer
[22:56:18] <SeH_> theres too many to list
[22:56:31] <bobke> SeH_: yeah hi
[22:56:44] <SeH_> (bobke: in #critterding)
[23:12:32] <archels> SeH_: Do you have SpaceNet javadoc up somewhere?
[23:13:02] <SeH_> no i can make one real quick tho
[23:13:10] <SeH_> or if you get the code and netbeans or eclipse u could gen it
[23:13:20] <SeH_> ill send it as a .zip by email
[23:13:27] <SeH_> private msg me ur email
[23:13:34] <SeH_> or we can do that on skype
[23:13:36] <SeH_> whatever
[23:22:22] <SeH_> sent
[23:24:48] <archels> thx
top

   January 23, 2010  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | >