• Advertisement

ractoc

Member
  • Content count

    60
  • Joined

  • Last visited

Community Reputation

137 Neutral

About ractoc

  • Rank
    Member
  1. Questions about GPL License

    Well, the reason for all these questions is that, while we may be able to pay for the license eventually, we won't be able to at the beginning... On a side note, with ICE you are allowed to link directly to other libraries using the apache license version 2. from their license addition: ======== Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. This copy of Ice is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. Ice is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses. Linking Ice statically or dynamically with other modules is making a combined work based on Ice. Thus, the terms and conditions of the GNU General Public License cover the whole combination. In addition, as a special exception, ZeroC gives you permission to combine Ice with: a) the OpenSSL library (or with modified versions of OpenSSL that use the same license as OpenSSL) b) any library licensed under the Apache License, version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) c) any Orca library (http://orca-robotics.sourceforge.net) licensed under the GNU Lesser General Public License (LGPL), version 2.1 (http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) d) any code from the Mumble project (http://mumble.sourceforge.net) licensed under the BSD license You may copy and distribute such combinations following the terms of the GNU General Public License for Ice and the licenses of the other code concerned, provided that you include the source code of these other libraries or code when and as the GNU General Public License requires distribution of source code. If you modify this copy of Ice, you may extend this exception to your version of Ice, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. ========
  2. Questions about GPL License

    Ok, so you mean to tell me that, once I use one part of my app that's GPL, I can't use ANY paid components besides that? I find that hard to believe. With that in mind, I wouldn't be able for example to connect to an Oracle database, seeing how their driver is closed source....
  3. Questions about GPL License

    Ok, I'm the buy programming the plugin framework... I currently have it set up like this: I confined all the ICE stuff to a single plugin.that plugin then uses two libraries, ICE and the PluginFramework. Would it be possible then to have the IcePlugin open sources and the PluginFramework closed, or at least LGPL?
  4. Java GIF Question

    If I remember, the way I did it a while back was to destroy the Image object and then to recreate it. This should theoratically work, since you have a new Image, it should not remember that it has already played. And if you do it before redrawing, the user shouldn't notice it. As I said, it's been a while since I did this, so it is mostly threory.
  5. Game Programming in VB

    You do know that M$ has discontinued VB as a language? So maybe you better invest the extra time and write in C# instead of VB?
  6. The reason the writing is not working is because Java in the browser is sandboxed. This means you cannot access a lot of system resources you can normally. There are two ways around this; either sign you jar, or write in a different way. You are able from a Java applet to open up a HttpConnection (I think that's what it's called) and do a normal GET or POST. This requires you to be able to run a scripts on the server though. Then you send the data you want to write to a PHP script on the server via the GET or POST and that script takes care of the writing.
  7. Please don't double post.
  8. Java in Vista: Reading from a file

    If I can find the time, I'll test this at home tonight. But if it's a text file, wouldn't readline() be a better way to do it? This method returns null if there are no more lines. Much easier (and faster) then per character reading.
  9. Hypothetical idea for multiplayer gaming.

    It may even be possible to have it setup in such a way where you have one room as text-based, another as 2D and yet another as 3D.... Then each created item need 3 things, a text-description, a 2D sprite and a 3D model, but it would be possible. I am definitely liking the idea though. If you are going to go through with it, give me a shout and I'll be happy to help make it work. Oh, and on another note.... We might even make this into a GameDev community project.... Haven't seen one of those in a while. All it needs is a few decent coders to make it work. I'd be more then happy to help out with the whole organisation of the development process.
  10. [web] Starting a Website

    I personally have used dreamhost for years now. They are very well priced, offer great features and great service. You even get full shell access to your account complete with cronjobs and everything. Just click the link above to check it out.
  11. Moving a child window

    WOuldn't it be possible to use a boolean to track the mouse button? so if you press the mouse button, you set the boolean to true and when you release the mousebutton you set the boolean to false. then, when you drag the mouse you can just check the current state of the button by checking the boolean. In you code you do this by remembering the mousedown event, and then taking the mouse handle from that event. I would think the mousemove event would have it's own event with it's own handler, why not pass that one on to SetWindowPos. Since this event would hold the position of the mouse at the time of the move, instead of at the time of the mousedown event.
  12. I'm currently doing something like this in one of my apps: class DynaFieldBean { Map<String, Field> fields = new HasMap<String, Field>(); public Field createFieldWithName(String fieldName) { Field f = new Field(); fields.put(fieldName, f); return f; } public Field getField(String fieldName) { Field f = fields.get(fieldName); if (f == null) { f = createFieldWithName(fieldName); } return f; } } This should do what you want, with minimal overhead. Only thing not taken into account here is the various types of field you would be able to create. For this, you would have to add some extra functionality.
  13. Here at work we use a process called iterative development. What this means is you make a design for what you want to build the next 2 months (tops). Then you start. At the end of those 2 months, you have a finished product. Yes it is supposed to be a finished product, something you can test for real and everything. Then, after testing it, you evaluate it and decide if it is still exactly as planned, or if your ideas have changed. Then you make a new design for the things you want to do the next 2 months. This could include a (partly) rework of what you did before or it could include new functionality. Mostly a combination of the two. This way, you have designs but you frequently update them to keep them up to date with the latest developments. This also means that any changes that pop up during an iteration can be easily incorporated either in this iteration or the next. And if you have time left at the end, or are short on time during an iteration you can shift tasks to or from the next iteration as needed. The main thing to remember here is that the design team starts working on the next iteration the moment the development team starts working on the current one.
  14. soap protocol help

    Then you should probably do something like this: [urlhttp://www.w3schools.com/XML/xml_cdata.asp[/url] The CDATA makes the XML parser skip all the special characters (like &, < and >) between the CDATA tags.
  15. Quote:Original post by swiftcoder Quote:Original post by Spodi ON DUPLICATE KEY UPDATE is so incredibly verbose compared to replace. And they're not really the same thing. REPLACE is more comparable to a DELETE FROM followed by INSERT.You can write pretty much any REPLACE statement with an ON DUPLICATE KEY UPDATE, and I don't see verbosity being that much of a problem in SQL. I find ON DUPLICATE KEY UPDATE to be more useful than REPLACE, because replacement tends to be a relatively rare operation, whereas insertion and updating of records is very common. Why not just store the database key in the object? that way, when you want to insert / update it in the database, you can just check if you have a key, if not, you do an insert, else your do an update. Much more efficient that way with only a little more data to be stored in memory. Especially if you use a unique ID as the key, then you only have 1 long extra.
  • Advertisement