Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

310 Neutral

About deadimp

  • Rank
    Advanced Member
  1. Are there any existing software development processes that involve a sort of parallel development scheme? I don't mean "parallel" as in the low-level implementation details such as multithreading, but "parallel" as in multiple separate implementations of (hopefully) orthogonal components that can be switched in and out. This in turn could be used to test out different combinations of certain module implementations. Does anyone know of software or setups that can do this? The only one I can think of right now is a set of versioning specfic to the modules... It would enforce a sort of orthogonality, or allow for a free-flowing change in implementation if a programmer what's to add the versioning across different models...
  2. deadimp

    [web] Web hosts

    I registered my domain name through iPowerWeb. They were abou $4/yr when I signed up (back in '04), and are $6.50 now. They allow you a lot of control over your domain, such as your nameservers (standard, hopefully, for all domain-only services), contact information, etc. Nice and simple. I'm currently hosted on x10hosting for free, 'cause I'm cheap. I've got to say, they're pretty much the best free host I've had so far, probably better than two paid hosts that I had - both of which died a few months after I signed up for them... They also offer some interesting paid packages too, including a development package for webmasters 'n such.
  3. deadimp

    [web] Replicating php behaviour

    I wouldn't doubt it. Doesn't this have something to do with sockets? I don't really know, since I haven't dealt with this on a low level in PHP. Search for "asp.net file socket". First result: http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework/topic61986.aspx EDIT: Heh, read down on the first suggestion. Search for "c# asynchronous socket" also.
  4. Here's my suite of web tools that I use - all supported on Windows, freeware / free software: > Programmer's Notepad - Simple, lightweight text IDE. No WYSIWYG > FileZilla - FTP Client > Firefox - If you don't know, then I don't know what to say Graphics - I'm not much of a graphics artist, so I don't use these much > inkscape - SVG drawing program > Paint.NET - A useful graphics program > GIMP - Already been mentioned Server tools - for testing purpose > XAMPP - Compact installation of Apache web server with latest version of PHP, MySQL with more > SQLyog - MySQL client for managing databases
  5. That's weird... If you view your page without any style, there's still some space between the div's which shouldn't be there. I went through all the CSS and disabled random nearly everything, including removing the class references for the div tags but there's still that extra space, so I don't know what's going on. I started a blank page and put in this code and it seemed to work well enough: <style> .group { background: #ddd; margin-bottom: 10px; } </style> <div class="group"> <div class="title">Blarg</div> <div class="body">test text</div> </div> <div class="group"> <div class="title">Blarg</div> <div class="body">test text</div> </div> <div class="group"> <div class="title">Blarg</div> <div class="body">test text</div> </div> Maybe it's your DOCTYPE declaration, try changing it from strict mode to transitional mode: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> At least, that's what works for me.
  6. Use something like the exec() function or backticks `` to execute your command. As for what to consider, I don't exactly know. My question [to whomever can answer it]: How would you go about creating a background process with PHP? Would you run it under the Apache module (assuming that was the software you're using) or as a normal PHP script? Would you create an identifier for that process or some sort of input (like a file) for the scripts under the web requests to communicate with or read? I'm not really doing anything like this at the moment, just curious.
  7. deadimp

    [web] Hello Rails Forum?

    There ought to be a forum on the RoR website. I haven't done much of anything with it, so I don't know.
  8. I guess now would be an opportune time for me to advertise Thacmus (see signature). It's the CMS I developed while working on my high school band's website and it's what I plan on using to power the website for my main programming projects, dgi and my MegaMan fan game. There isn't much of a multi-user system yet (but it's in the works), and I haven't worked in any sort of BBcode system but I'm sure that would be easy enough with something from PEAR or another open source project. Only problem is, I'm in the process of applying for college and I've got a busy schedule so my time spent on it is minimal. Maybe you could find another compact project on gophp5.org or sf.net or whatever else that's better supported.
  9. Wait... With Eclipse, are you forced to place projects in a specified workspace directory? It can't operate off any directory? Sorry for my asking, I just haven't gotten around to using Eclipse. I used PSPad before too, but I'm using Programmer's Notepad now. Two solutions I can think of are changing your HTTP configuration in Apache, either changing your document work to the Eclipse workspace directory, or setting up some sort of link/script alias connecting a directory like /projects to a location like c:/eclipse/workspace/.
  10. deadimp

    [web] Ajax Woes

    I'm using my own library also, as part of Thacmus. It's nothing special, just a wrapper around xmlHttpRequest with a few extra options and all. You can view a couple of basic examples in the Tutorials section, but right now the server's having trouble with my stylesheet (not handling .phtml extension), so there's no style to it at the moment.
  11. deadimp

    [web] PHP Forum script

    Google: php forum software
  12. How do I execute multiple statements delimited by a semi-colon? The SQL dump from SQLyog contains multiple statements that define the tables and inserts the data. Is there a simple function for it? Or would I have to find/make something that manually splits up and executes the statements? Note: I'm using this to refresh the demo for Thacmus. EDIT: Graack! Took my own advice and tried to search once more, and php mysql "execute multiple statements" found my answer.
  13. You've just explained the hard part of all that. All you need to do is implement it, it should be difficult since you already have your design. You can see an example in Thacmus, using the Source page in the thacmus section. Look at how Page works in main.php (look at Page::find()), how it's defined in page.php, and how it's handled in content.php. Remember, that's just one implementation. There's plenty of others if you don't like one particular solution.
  14. Quote:And one has to wonder what use they would be, since there is no real way to allocate a new instance of an anonymous class (I guess typeof() could be used - but that is pretty pointless). They would be useful in the sense of delegates in C#, or just functions as objects in javascript, where you can simply assign functions to variables. It'd be useful for a quick callback definition, or maybe just quickly defining a small thread class or something. Just curious. That's all. EDIT: Then again, it'd probably be more aesthetic to use function scoping and actually id the class. I just tested it, and there is a way to instantiate a newly defined struct (though I've only done so using GCC): struct A { virtual void stuff() { printf("Woof!"); } }; A* ptr=new (struct : A { void stuff() { printf("Bark!\n"); } }); ptr->stuff(); Obviously, it's kinda ugly.
  15. I'm just curious, but is there a way to define constructors for anonymous classes? Like defining one for: struct { int x,y; } a; I know that you're able to use inheritance with anonymous structs: struct A { int x; A() { x=0; } void stuff() { printf("A! %d\n",++x); } }; A a; a.stuff(); struct : A { int y; //Ctor? void stuff() { printf("Anon! %d %d\n",--x,++y); } } anon; anon.stuff();
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!