Slashdot Mirror


User: BLAG-blast

BLAG-blast's activity in the archive.

Stories
0
Comments
429
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 429

  1. Re:Its always best... on Object-Oriented 'Save Game' Techniques? · · Score: 1
    No, I was actually thinking in terms of instantiations, not classes.

    Think in terms of classes and you'll only need to write one MyObject.saveme(). Inheritance can help you do the rest. Maybe if you have a game object that has many complex states you'll have to override the default saveme(), but do it and right this shouldn't be very often.

    The concerning feature of the MyObject.saveme() technique would that it would have to be executed for every instantiation of a class, not once per class.

    Make the saveme() inline if that big of a deal. With the correct use of iterators and inline of your saveme() method, I don't see any reason why some sort of global hack would be faster (unless your taking a game time performance hit to speed up your save time, which doesn't make much sense if you care about speed).

    Code bloat is largely a concern of execution speed, not necessarily executable size.

    You've got to save the same amount of data no matter how you implement it.

    There is one thing, in the item blurb you talk about saving one chuck of data. If you are trying something like this (psudeo code):

    int a=0,b=0,c=0,d=0,e=0,f=0;

    void* memstart = *a;
    void* memend = *f;

    //save game state
    mymemsave(memstart,memend);

    ...

    //loa d game state
    mymemload(memstart,memend);

    It would/could be faster, but there isn't any gaurantee the data will be in a contiguous address space. And if by chance they work of one compiler, they will break on another. Cross platform data exchange is out of the question as well. If you are doing this, please stop.

    Also, what type of game are working on where save time has to be so critical?

  2. Re:Slashdotted, here's the Google Cache on Linux-Based Cat Feeder · · Score: 3, Funny
    It's worse than a slashdotting, I won't provide the direct link to the automated cat feeder control page, but I don't think Cotton and Tulip are hungry just now:

    Cotton and Tulip have been fed 5557 times

    Meow?

    Hopefully it ran out of food after the first few 100 clicks!

  3. Re:Proof reading? on Anatomy of the Linux Boot Process · · Score: 1
    They could have at least made sure the arrows on the diagrams were round the right way!

    Glad somebody else noticed that, atleast it was only in the x86 section. I figure the author was trying to research how many readers who click on the link look at the FA and are not part of some Cultural Denial Of Service attack.

    How many of you have clicked on a link just to hurt the server? How many have clicked refresh just to see how long the server stays up?

    Feel free to post anonymously if you're ashamed.

  4. Re:True Story: on Does the Octopus Hold the Key To Robot Design? · · Score: 1
    When they come, they will eat you first.

    I did apply for the position of ROV Tiburon pilot once, but like so many other very technical loosers I have a hard time writing resumes and cover letters, by time I got something together than wasn't a complete joke the position was filled. ;-(

    Imagine going to sea and playing video games all day, but it's real, you will see things that don't have names because nobody else has seen them... Oh well.

    I'll just continue building my own submarine.

  5. Re:True Story: on Does the Octopus Hold the Key To Robot Design? · · Score: 2, Interesting
    All cats seem to be able to do is groom and hunt.

    They can bury poo as well!

    Not only that, but cats have been know to seize control of the occational country. Don't give cats the vote.

    Not sure about how much cats care for people. But cats do bring people presents and gifts, atleast all the cats (male and female) that I've lived with. Normally small mice, gloves, snakes, the odd balloon. But one time when I was very young, my family was poor and food as short, the cat brought home large rabit, large than it's self, large enough to feed everybody (2 adults, one 4 year old and cat) for a couple of days. Rabit pie, that helped.

  6. Re:True Story: on Does the Octopus Hold the Key To Robot Design? · · Score: 1
    It is as close as most of us will ever come to meeting an alien.

    Pass the probe and make the biped bend over, Captian Xphooerxxzxc.

  7. Re:The keyboard lock.. on Most Common Ways to Kill a PC · · Score: 1
    What part of "the school just kept replacing them under warranty claims" didn't you understand?

    So fucking what if the school got them replaced without paying THAT TIME. The next purchase of computer equipment will include the cost of the "replacing them under warranty claims". Or do you just think that the replacement costs vanish into thin air?

    You need to learn about ^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h^h... Would you like to buy a bridge?

  8. Re:Alone on Who Doesn't Use Source Control? · · Score: 1
    I don't consider CVS over kill for a one computer one developer setup, but I do know some people who do and they tend to use RCS locally. If fact even though we have a main CVS repository, people will develope in their local RCS repository and once they complete the task/feature/bug-hunt they commit their chances to the main CVS repository.

    As for some of the other comments I've heard, I think it can be summed up with something like:

    • Junior developer: I don't want to use revision control because it slows me down.

      Intermediate developer: I use it when I have to.

      Senior developer: Always use it, keeps my projects on track and free from code loss.

      Guru: It's a tool that allows me to work faster.

    I guess this could be applied to any good software engineering practices (commented code, formating code properly, writing a specification before you start coding, etc.).
  9. Re:Not new on Jeff Bezos to Build Space Center · · Score: 1
    {snip-all-the-it-won't-work-bits}

    Seriously, people: rocket scientists have been working on this since early this century. There are no magical, wonderful solutions. Getting out of Earth's gravity well is incredibly hard; it's amazing that we're able to do it at all.

    I'm going to enjoy watch people proove you wrong over the next 25 years, and on the off chance you are right, I'll enjoy watching then try.

  10. Re:One of the oldest computing companies? on New Netscape Browser Prototype Available · · Score: 1
    If you look at the taskbar in the screenshot, it proves that Netscape was already around in the 30's :)

    Or don't take screenshots shortly after smoking out at 4:20pm. ;)

  11. Re:How about... on Galileo Forced To Change Its name? · · Score: 1
    Firebird?

    It's already taken, how about firefox?

  12. Re:How lightweight, if it requires gtk+? on Xfce 4.2.0 Released · · Score: 1

    A lite weight window manager that doesn't use GTK/KDE? you might want to try Flux Box.

  13. Re:Great defense? on Plant a Seed, Get Sued? · · Score: 2, Insightful
    The problem isn't GM, though, it's IP law. A lot of the anti-GM crowd are just opposed to science in general.

    No the problem is GM and not being able to choose if you grow GM food or not, the fact GM food is of a poorer quality than organic, the fact once it's released in the wild it can't be stop.

    I agree the IP law is broken, but remember you can't eat IP law.

  14. Re:deathstar? on Saturn's Moon Iapetus Has A 'Belt' · · Score: 1
    Yes, but if you tilt your head 15 degrees to the left, this one looks like Death Star V2 (only partially finished) There's room for both in our solar system, I think!

    They probably parked them in orbit around Saturn after the filming of the first few Star Wars movies. (Assuming they didn't use the same death star for all the movies.)

  15. Re:Hydrogen is a Boondoggle - Biodiesel on The Physics of the Hydrogen Economy · · Score: 1
    Yes, definitely research into better catalytic converters! Or, Stirling Cycle series hybrids! Since Stirling engines are external combustion, we can tailor conditions to acheive nearly complete combustion.

    According to your reference, "no real work has been done" on automotive stirling engines, while I'm not sure how your reference defines 'work', you'll probably find this an interesting read Automotive Stirling Engine report

    www.nap.edu/openbook/0309074487/html/151.html

  16. Re:Did Bond do it first? on James Bond Peelable Automobile Paint · · Score: 3, Funny
    They weren't Japanese at all. That was Jackie Chan and a member of his stunt troop. They spoke Cantonese in the movie, but the hicks and rednecks around here can't tell the difference between a nip and a chink anyways. We all look the same to y'all.

    That's funny, I can't tell the difference between a hick and a redneck either. They all look the same to me.

  17. Re:Must... Buy.... on Green Security Clearance Laser Pistol Available · · Score: 1
    I like the warning "This laser must be treated like a loaded gun at all times."...

    And what are loaded guns for? FIRING!!!

    ooowww over there, a rat!

  18. Re:Warning! on Green Security Clearance Laser Pistol Available · · Score: 5, Funny
    Warning! Do not look into laser with remaining eye!

    Recent safery changes will probably not discourage this:

    • - There is a 2 second delay after you click the "on" button before the laser will produce a beam.
    Somebody thinking, "Hmmmm, last I used one of these it came on straight away and I lost my right eye, this unit must have something wrong with thiARRHRHGHHHH, my eye!"

  19. Re:Great! on Cassini's Robot Lab Successfully Separates · · Score: 1
    Maybe on another world people like this[ebay.com] don't have to go on eBay to get laid!

    Note that the people who are bidding on him also bid on Gmail.com invites. I'm not sure which is more sad, probably bidding on Gmail invites.

  20. Re:one of the things i would like to see is with on How to Build a Better Browser · · Score: 1
    Personally what I'd like to see is something with no bloat. I don't need mouse gestures, tabbed windows, themes, skins, bookmarks, etc. What I need is a browser that displays images quickly, doesn't crash, isn't a haven for malware, looks identical to how IE renders pages, isn't by Microsoft or the Firefox team (as both browsers suck IMHO), and still lets me get what I need done 110% of the time.

    Does "looks identical to how IE renders pages" really mean "has the same rendering bugs as IE"?

    Other than the IE comment, I agree with you. Firefox was start to address those issues, then sometime around 0.9 and 1.0 it started to suck (taking up CPU time when it's not in use, memory bloat, crashing on web pages it's visited previously in the same session). I can run Mozilla and play games, but Firefox takes too many resources for me to leave it running and play video games. Having to kill my web-browser before using other apps isn't cool (with an Athlon 2800 and 512MB or RAM)....

    I can't help notice this is around then the hype started. I guess many people feel the hype can replace good engineering.

    Yes, yes, I could fix it myself....

  21. Re:Don't bother with the Russian food jokes. on Space Station Crew Forced to Cut Calories · · Score: 1
    You do know that we Brits are the culinary laughing stock of the world? That's why I'm glad to be Scottish. Who else would think of the deep fried mars bar / deep fried pizza?

    Indian Curries are only thing, culinary wise, that the UK has going for it. Never has invading another country ever help britian out so much.

  22. Re:zerg on Mount St. Helens is WA state's No. 1 air polluter · · Score: 2, Funny
    Yeah, I was wondering how the lefties were going to blame this on President Bush. How about this: Halliburton drilled a well in Wyoming that fouled up the plate tectonics and caused the mountain to start spewing again.

    Er, Scott, I don't think you are correct about tectonics and Halliburton. The real reason is little more straight forward than that. The Fire Mountain God is angry because Bush has been elected president.

  23. Re:Price on Build a House Out of Recycled Cardboard · · Score: 1
    So that $5,000 I pay to get to live anywhere -- does that include the land its on?

    No, it doesn't. But with the $7000 you don't need to spend on rent, you can buy a nice little piece of land somewhere (of course, land prices varry from place to place, and so does you milage).

    The real costs of home ownership are property.

    Maybe in some places, but I see house that costed a lot more than the land they sit on. But the depends on the house and the land.

    And how'd a throwaway house become the enviromental solution?

    They are going to be an enviromental disaster. I can't see any (environmental) good coming from them.

    Yeah it was recycled once, but how's it better than a house that's built, and endures for decades?

    Look, if you have a house for decates, you'll have to clean. Throwaway houses means no more cleaning!

  24. Re:Price on Build a House Out of Recycled Cardboard · · Score: 1
    It's not going to last 30 years. But then, forking over 5k each year for a new house might be better than renting an apartment some POS 30 year old complex for 1050 a month.

    So, spend $12,000+ a year a live in a dump with thin walls and loud neighbours, or spend $5000 a year and live where you want to in a new house each year. And your going to choose the $12,000+ a year option?

    Just think, never having to clean again, just move the things you want to keep into the new house and call the recyclers to come and take the old house away. ;-)

  25. Re:Fine, Gather evidence and try him in the USA. on Bhopal Disaster Revisited [updated] · · Score: 1
    Fair enough, then try him in the United States at least. Get evidence etc. from the India.

    A few things, that really isn't fair on India, all those people who don't have much money are not going to come to the US and testify (also it would be easy from some key wittness to not get visa in time etc.).

    If you are going to do business in another country, why shouldn't you have held accountable by it's laws? Why should India lawyers before force into another legal system that they don't know? What would happen if the it was an India who commited a crime the US, should he be tried in India?

    And finally, we are USA, we don't need evidence, we can now legally torture people and use what ever they tells us in court to convict them.