kwackers

Members
  • Content count

    90
  • Joined

  • Last visited

Community Reputation

176 Neutral

About kwackers

  • Rank
    Member
  1. Having the server preform the physics is best solution. You could probably animate eye-candy on the client's machine, but calculate land deformation on the server. If you want to duplicate the physics on each machine then you shouldn't have a problem. Just make sure you are stepping through the game with a preset interval, rather than basing it on FPS. If you use any random input then use the same seed.
  2. [web] Youtube-like website

    You will need to do the video processing after the upload. What your asking for is fairly specific, so if you can't find anything on Google then you are probably out of luck. Macromedia/Adobe's server software is is Flash Media Servers http://www.adobe.com/products/flashmediaserver/ but it doesnt appear to do encoding. The have a service called Flash Video Streaming Service, which handles encoding and delivery http://www.adobe.com/products/flashcom/fvss/. You don't have to necessarily use Flash. The people who created DivX have an ActiveX plugin. Take a look at http://www.stage6.com/. I'm sure you could easily create a script that encodes videos to DivX. Edit: The fact is that if you are worried about bandwidth costs then you probably can't afford it. I don't know of any video site that is breaking even, let alone making a profit. Like someone said above, YouTube is burning through a million dollars a month. If you have a killer idea then you are looking at a similar situation before you can consider make a profit. It would be possible with the help of some venture capital, but video services are a dime a dozen these days. Think seriously of what is required your end. What would you do if you do start raking in traffic? Could you handle it? Perhaps you need to rethink the exact solution you are after. Lots of sites act as aggregators. Take a look at http://www.videosift.com. Something like that would cost almost nothing to set up and run.
  3. this could get messy!

    Quote:Original post by Machaira Quote:Original post by dagarach You can't have the leader of the catholic church going around saying that other religions are all OK. Unfortunately, it's already happened with the previous pope I believe. Only unfortunate if you are Catholic. To the rest of us it's a step in the right direction. The Catholic church is incredibly outdated and seems to do far more damage than good.
  4. [web] Quirk with IE and JS

    It sounds like you were recreating the node when it was dragged (your example has gone). Can't you just attachChild it to the new destination?
  5. Unfortunately position:fixed doesn't work in Internet Explorer. You will need to keep your javascript as a backup. From memory IE won't fire javascript until you release a scroll bar either, so the result isn't great.
  6. The evil Open Source

    Quote:Original post by owl Where did I say GPL code isn't available for everyone? The fact that people can't greedily profit from other's work doesn't mean the code isn't available for them to other kind of business like tech support, etc. Even learning! The fact is that many companies are in a business space where they cannot afford to open up their code. You are suggesting that many companies completely change their business structure to become a support company? That might work for some B2B companies, but not for B2C. Espcially when companies are in competition with others. Imaine a senario where you have a propriatory product, and you want to introduce new functionality. 1. Find a GPL library, open up your entire source code, and convince your company directors to change your business model. 2. Develop your own code from scratch. It will be expensive, and inferior, but you will own the code. 3. Plug in a LGPL library. Improve the library, contribute code back to the project, and retain closed source for the rest of your product. I don't think you could find a company that would agree to 1. The open source project looses, because and potential improvements to the library won't be made, and the company looses, becuase now they have to pay to produce a propriatory library. Option three benifits both parties. If a library gains enough traction, and is valuable enough to the company, then they will commit resources to improving it to suit their needs. The project then gets improvements that might have not otherwise been made.
  7. Is there a real market for Web-based games?

    You are completely right about casual games being big. It's where the money is for smaller outfits. There are lower production costs and it's mainstream, so the market is huge. The thing is that pay-to-play and micropayments will not work. It works for MMO games because the player has a huge amount of time and effort invested into the game. Casual games do not have this factor. It is difficult convincing anyone to pay anything for a game. Would you prefer to spend that time and effort for a few 25 cent payments, or a single $10 fee?
  8. [web] google ads

    Money can be made, but don't count on it. I'd estimate that you can make a few dollars a day if you are serving 1000+ users. It doesn't hurt to add it in and only takes a little while.
  9. [web] Free .com ?

    There was a company who did this around Y2K, they would serve a banner along the bottom of the page. Like other have said, you can get free .tk addresses, or subdomains but are not really that useful. Registering a .com name is pretty cheap. If you're running Apache off your local PC then your IP will most likely change from time to time. This is standard practice, as it stops users from doing what you are trying to do. You can't point a domain name straight to your IP as every time your IP changes you would need to update your DNS settings, and that takes up to 24 hours to come into effect. Most companies like GoDaddy offer a masking/redirection service for your domain name. That means that www.yourdomain.com will point to their servers, which host a single <frame> element that points to your "real" address, for example www.yourisp.com/members/yourname/ or your IP. This is not optimal as you can't really direct users to go to www.yourdomain.com/page_name.html There are some services which are geared towards running sites off of dynamic addresses. That would be easier for you, as it is pretty much set and forget. Take a look at No-IP.com. I've never used them, but they should be enough for someone just starting out.
  10. [web] Effective CSS

    Quote:Original post by Verminox As a rule of thumb, if you disable stylesheets in your browser and your site still looks good, you are doing it wrong. When disabling CSS you shouldn't have any styling left (colours, fonts, sizes, borders,alignment) but it should still look readable. That is, page sections should be in the right order, headings are using the proper tags and are obvious. If your HTML is clear then you should be fine. Good HTML will make it easier to design style sheets, and stops you needing to use classes and ids where they don't belong. In terms of resources I've always found W3Schools helpful. For more advanced CSS and design techniques A list apart is a fantastic site. [Edited by - kwackers on September 10, 2006 3:35:29 AM]
  11. [web] Youtube-like website

    YouTube's bandwidth is provided by Limelight Networks. If the one million dollar figure is correct then I know which company I would want to own.
  12. Greer vs Irwin

    dwarfsoft. In reality there is no rational reason to be embarassed by how he acted. People weren't embarassed for him, because he obviously didn't care. Thery were embarassed of our culture. I think he was right in saying it was cultural cringe. I wasn't a huge fan, but like a lot of others else was crushed when I heard what happened. Despite the way he acted you can't deny that he was completely passionate about what he did and was a completely genuine guy. How many other people with his kind of profile can you say that about? Germaine Greer's comments are pretty sad. He was very proactive in pursuing the issues he was concerned about, and actually made a difference to the world. I don't see exactly what Germaine Greer think that insulting him is actually going to do. It just sounds like she's bitter that an average guy achieved far more than she could manage, despite her doctorates and published works.
  13. [web] PHP Session

    Quote:Original post by markr You don't NEED to use Curl, in fact PHP has a built-in HTTP implementation. But it has no (specific) support for cookies, you'd have to write your own. My mistake. I've only ever used CURL.
  14. [web] PHP Session

    You will need to use CURL for this, as it can handle post data. CURL also handles cookies. $tempFile = '/tmp/cookiejar.txt'; $url = 'http://www.example.com'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_COOKIEJAR, $tempFile); curl_setopt($ch, CURLOPT_COOKIEFILE, $tempFile); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $content = curl_exec ($ch); If you keep the same filename across multiple requests then you should be fine.
  15. [web] Load balancing

    Quote:Original post by markr I take it you haven't heard of the MySQL NDB shared-nothing clustering mode then? It stores the database in memory on each data node, and they can be connected via normal commodity ethernet and provide redundancy. I recall hearing about it. I heard it accused of not being "true" clustering as it requires enough memory to keep the entire database in RAM. If that is the case then I would want to avoid it, as I'm currently planning for worst-case-scenario. The database is mostly reads, and contains a lot of user-created data. I have a custom template caching system for common pages which reduces a lot of database hits. I also plan on looking into memcached to reduce it even further.