Given a reasonable number of points, say, 300, You can't easily find the best solution, but you can find a "good enough" solution that'll be little worse than the best possible solution. One way to do so is to keep a list of the points in any order, calculate the length of visiting them in that order, and choose random portions of the list to try in inverse order and see if you're saving distance. After many iterations of trying that without getting an improvement, you consider the solution good enough.
This looks interesting (and the power plant looks amazing), although I don't know if we (as in "the world, if we were to use this technology") can afford the space, and I hope it can produce far more energy than it took to build.
Parent is insightful, again. Nuclear power is the least of all evils. I'd rather step on safely stored waste than breathe it, and indeed, oil companies were amusingly successful in brainwashing gullible, easily swayed environmentalists. You may be a tree hugging hippy, but if you're fighting against nuclear power, you ain't helping.
And of course I prefer to drive energy from a river (which also has negative effects; again this is a case of least evil), but that or wind or solar power can't be base sources of energy; they can't produce energy 24/7. They can help (so we have to use less nuclear power), but they can't suffice by themselves.
The game will be powered by Perl 6, but the UI will actually run in bytecode compiled Ruby. It'll run on Linux, as it's scheduled for release in the year of the Linux desktop. I suppose Kubuntu Linux with KDE4 is going to be a standard setup. The website is expected to be awesome, as by that time Firefox will pass the Acid2 test. I believe they're running it on PHP6.
Ha ha ha, true. It's been an horror movie since... as far as I can remember, but it's getting really gory since they started siding with the mafiaa and stuffing digital AIDS (DRM) into everything. Things started to get exponentially worse every year since Windows Media 7.
The monitoring software will probably be hardcoded together with the Digital Restrictions Malware (DRM) crap and all the AIDS they've stuffed into Vista; it won't be easy to get rid of it, and I doubt you'll want to have a system without any network interfaces. Careful with anything that can be used to transfer data out of the system, like USB wireless cards. Especially wireless.
Another possibility would be that the spyware agent is visible, but you'll have to have it enabled in order for Windows to boot and be able to legally use it.
This is starting to look like a horror movie. They'll give you the OS for free, so long as you accept to be monitorized by the Dictatorsh- Chur- Magister- Corporation can control what you do. They want to see you happily consuming products from them and other corporations, and of course, they work to the best interest of the mafiaa (who'd think a company that sells products should look for the people who's paying them?).
Truth. Compassion has completely stopped, even reverted, natural selection and thus evolution. Not only illnesses and disabilities don't kill, but we even help these people and find companions for them. In some cases, genetic problems are spreading because of compassion.
It's not that I'd gas cripples, but there should be coupons for reproduction. People who have genetic conditions widely-recognized as problems that don't allow them to live as well as others (e.g. missing legs, liver failures, etc.; NOT Asperger Syndrome and rare conditions which take some things but give or improve some other skills), as well as people who are too poor to maintain children shouldn't be allowed to reproduce. Sex? All they want. In any way they want it as long as all involved parties agree. But reproduction should be taken with a dose of responsibility.
Exactly, nobody wants to use a Vista DVD as a drink coaster; you could get sued for who knows what, and the digital AIDS (DRM) built into Vista may be bad for health.
I see Nokia is just another corporation wanting to spike your life with their digital AIDS. No chance in hell of me buying anything from them. I hope they rot and die, like Microsoft and Apple.
I prefer to walk over safely buried crap, than to breathe it.
Solar, wind, sea, bird shit and whatever power are awesome and I really mean it, because I'm an environmentalist. And exactly because of that, I see nuclear power as the viable solution for now, as the alternative, "greener" energy sources can't provide the energy we need, and burning crap is much, much worse.
Moreover, a huge part of nuclear fuel can be recycled after some years of storage (so you don't need as much long-term storage as you need a short-term cache), and we could always pay a country with deserts the size of Spain to store it in the middle of nowhere, where no life would possibly be affected.
I prefer plain dynamic typing (as long as it's strong typing), but type inference systems found in some functional languages such as MLs or Haskell would be better than a type nazi preventing you from appling a perfectly valid function to a new object you hadn't previously thought of. They did attempt to implement such a thing on Python? Why? The language doesn't need any better treatment of types than it already has.
Regarding Java's collections, no, they're not barely as useful as those in Python, and probably Ruby's too. For starters, last time I checked Java didn't have dictionary literals, nor any advanced slicing operators, nor operators played on them or operator overloading on subclasses of them. You can add hash tables to C if you want, but they'll never be as comfortable as they are in a language that supports them natively and properly.
Overuse of inheritance, as well as general overengineering and a love for bloat is a common practice in OOP-forced worlds, and it does have something to do with Java - its standard library is full of it. It's my favourite example of bloatware. It's bloated to the point sometimes I found myself wondering whether I should use a standard library feature, or implement it myself in a decent way.
I know not doing Java limits jobs for me, so does not doing COBOL, Fortran, or mopping floors. But as long as I can get away with it, I prefer to have fun at work and use as much functional, generic and meta-programming as I can.
For a large project, I'd have even more of a reason to use a dynamic language instead of Java. Static typing without even type inference is a nice way to shoot your foot by limiting yourself (build left-handed hammers without leaving the possibility that your hammers could be used in ways you didn't initially think of) and waste time defining everything. And the language feels like a toy. No builtin lists and dictionaries (hash tables), no first-class functions, no lambda-expressions, forced OO, yet single advanced OO features such as function properties, message passing traps or applicable objects,... You have to deal with huge inheritance trees, interfaces, generics, and all sorts of mechanisms to overcome the language's massive shortcomings, and define all sorts of classes for nothing. It's better to have 5 useful classes with 50 functions that work on each, than to have 50 classes with 5 functions that work on each. On top of that, the language and its environment have serious issues, part of which have been resolved, but the overneingeered, ludicrously bloated standard library stays and grows even worse every day.
Java is one of the things I don't do without getting paid, and if getting paid, I start looking for other jobs once I'm back home.
Zope is Java for Python. It turns an agile, powerful, abstract programming language into a "best-practices enterprise-grade mission-critical turnkey low TCO early ROI scalable five-nines availability professional business solution".
If you're doing Python, for good or for bad you have a wide range of frameworks available. From the lower level ones, like web.py or just using CGIs, to the Rails-like ones such as Django and TurboGears, including less common ones such as CherryPy and Quixote. There's no need to get "ENTEPRISE" in Python.
Albeit with a shitty syntax and a total lack of style, Ruby's semantics are very similar to LISP. It's the toy languages with toy abstractions that force specific paradigms up your ass, such as Java, what you should be bashing, fellow Knight of the Lambda Calculus.
Oops, I forgot I was in Slashdot; you can post the truth except when it may hurt poor Apple fanboys. After the thousands they spent on their BSD-powered PC (but hey, a very stylish one, mind you), they can't bear to be reminded that Apple is no better than Microsoft when it comes to their rights (in fact, last time I checked Apple had invested even more money on digital restrictions malware technologies than Microsoft).
Sounds like "We've just crashed, but we did in such a way we're so much better than Microsoft". Trendy people should always have their OS crash this way.
Others choose to skip crashes by installing a stable Unix system.
Given a reasonable number of points, say, 300, You can't easily find the best solution, but you can find a "good enough" solution that'll be little worse than the best possible solution. One way to do so is to keep a list of the points in any order, calculate the length of visiting them in that order, and choose random portions of the list to try in inverse order and see if you're saving distance. After many iterations of trying that without getting an improvement, you consider the solution good enough.
This looks interesting (and the power plant looks amazing), although I don't know if we (as in "the world, if we were to use this technology") can afford the space, and I hope it can produce far more energy than it took to build.
Parent is insightful, again. Nuclear power is the least of all evils. I'd rather step on safely stored waste than breathe it, and indeed, oil companies were amusingly successful in brainwashing gullible, easily swayed environmentalists. You may be a tree hugging hippy, but if you're fighting against nuclear power, you ain't helping.
And of course I prefer to drive energy from a river (which also has negative effects; again this is a case of least evil), but that or wind or solar power can't be base sources of energy; they can't produce energy 24/7. They can help (so we have to use less nuclear power), but they can't suffice by themselves.
The game will be powered by Perl 6, but the UI will actually run in bytecode compiled Ruby. It'll run on Linux, as it's scheduled for release in the year of the Linux desktop. I suppose Kubuntu Linux with KDE4 is going to be a standard setup. The website is expected to be awesome, as by that time Firefox will pass the Acid2 test. I believe they're running it on PHP6.
Referential transparency + memoization + automatic load balancer in a truly distributed system = no threads to care for = give me 64 cores
http://www.illusionary.com/GNOMEvKDE.html
Parent is simple, but insightful.
YHBT
I thought I was going to be modded Insightful for sharing that.
Ha ha ha, true. It's been an horror movie since... as far as I can remember, but it's getting really gory since they started siding with the mafiaa and stuffing digital AIDS (DRM) into everything. Things started to get exponentially worse every year since Windows Media 7.
The monitoring software will probably be hardcoded together with the Digital Restrictions Malware (DRM) crap and all the AIDS they've stuffed into Vista; it won't be easy to get rid of it, and I doubt you'll want to have a system without any network interfaces. Careful with anything that can be used to transfer data out of the system, like USB wireless cards. Especially wireless.
Another possibility would be that the spyware agent is visible, but you'll have to have it enabled in order for Windows to boot and be able to legally use it.
Yes, and watch you masturbate over your webcam.
Actually, that'd be the least of my concerns; I'd rather have a public webcam when fapping than Microsoft monitoring anything else I do.
This is starting to look like a horror movie. They'll give you the OS for free, so long as you accept to be monitorized by the Dictatorsh- Chur- Magister- Corporation can control what you do. They want to see you happily consuming products from them and other corporations, and of course, they work to the best interest of the mafiaa (who'd think a company that sells products should look for the people who's paying them?).
defectivebydesign.
Truth. Compassion has completely stopped, even reverted, natural selection and thus evolution. Not only illnesses and disabilities don't kill, but we even help these people and find companions for them. In some cases, genetic problems are spreading because of compassion.
It's not that I'd gas cripples, but there should be coupons for reproduction. People who have genetic conditions widely-recognized as problems that don't allow them to live as well as others (e.g. missing legs, liver failures, etc.; NOT Asperger Syndrome and rare conditions which take some things but give or improve some other skills), as well as people who are too poor to maintain children shouldn't be allowed to reproduce. Sex? All they want. In any way they want it as long as all involved parties agree. But reproduction should be taken with a dose of responsibility.
I hope we get to see the day where they'll diss Vista. I'm sure it'll be a much easier job than dissing XP was.
I wish they were as sincere from the start, though.
Exactly, nobody wants to use a Vista DVD as a drink coaster; you could get sued for who knows what, and the digital AIDS (DRM) built into Vista may be bad for health.
I see Nokia is just another corporation wanting to spike your life with their digital AIDS. No chance in hell of me buying anything from them. I hope they rot and die, like Microsoft and Apple.
I prefer to walk over safely buried crap, than to breathe it.
Solar, wind, sea, bird shit and whatever power are awesome and I really mean it, because I'm an environmentalist. And exactly because of that, I see nuclear power as the viable solution for now, as the alternative, "greener" energy sources can't provide the energy we need, and burning crap is much, much worse.
Moreover, a huge part of nuclear fuel can be recycled after some years of storage (so you don't need as much long-term storage as you need a short-term cache), and we could always pay a country with deserts the size of Spain to store it in the middle of nowhere, where no life would possibly be affected.
I prefer plain dynamic typing (as long as it's strong typing), but type inference systems found in some functional languages such as MLs or Haskell would be better than a type nazi preventing you from appling a perfectly valid function to a new object you hadn't previously thought of. They did attempt to implement such a thing on Python? Why? The language doesn't need any better treatment of types than it already has.
Regarding Java's collections, no, they're not barely as useful as those in Python, and probably Ruby's too. For starters, last time I checked Java didn't have dictionary literals, nor any advanced slicing operators, nor operators played on them or operator overloading on subclasses of them. You can add hash tables to C if you want, but they'll never be as comfortable as they are in a language that supports them natively and properly.
Overuse of inheritance, as well as general overengineering and a love for bloat is a common practice in OOP-forced worlds, and it does have something to do with Java - its standard library is full of it. It's my favourite example of bloatware. It's bloated to the point sometimes I found myself wondering whether I should use a standard library feature, or implement it myself in a decent way.
I know not doing Java limits jobs for me, so does not doing COBOL, Fortran, or mopping floors. But as long as I can get away with it, I prefer to have fun at work and use as much functional, generic and meta-programming as I can.
For a large project, I'd have even more of a reason to use a dynamic language instead of Java. Static typing without even type inference is a nice way to shoot your foot by limiting yourself (build left-handed hammers without leaving the possibility that your hammers could be used in ways you didn't initially think of) and waste time defining everything. And the language feels like a toy. No builtin lists and dictionaries (hash tables), no first-class functions, no lambda-expressions, forced OO, yet single advanced OO features such as function properties, message passing traps or applicable objects, ... You have to deal with huge inheritance trees, interfaces, generics, and all sorts of mechanisms to overcome the language's massive shortcomings, and define all sorts of classes for nothing. It's better to have 5 useful classes with 50 functions that work on each, than to have 50 classes with 5 functions that work on each. On top of that, the language and its environment have serious issues, part of which have been resolved, but the overneingeered, ludicrously bloated standard library stays and grows even worse every day.
Java is one of the things I don't do without getting paid, and if getting paid, I start looking for other jobs once I'm back home.
Zope is Java for Python. It turns an agile, powerful, abstract programming language into a "best-practices enterprise-grade mission-critical turnkey low TCO early ROI scalable five-nines availability professional business solution".
If you're doing Python, for good or for bad you have a wide range of frameworks available. From the lower level ones, like web.py or just using CGIs, to the Rails-like ones such as Django and TurboGears, including less common ones such as CherryPy and Quixote. There's no need to get "ENTEPRISE" in Python.
Albeit with a shitty syntax and a total lack of style, Ruby's semantics are very similar to LISP. It's the toy languages with toy abstractions that force specific paradigms up your ass, such as Java, what you should be bashing, fellow Knight of the Lambda Calculus.
Oops, I forgot I was in Slashdot; you can post the truth except when it may hurt poor Apple fanboys. After the thousands they spent on their BSD-powered PC (but hey, a very stylish one, mind you), they can't bear to be reminded that Apple is no better than Microsoft when it comes to their rights (in fact, last time I checked Apple had invested even more money on digital restrictions malware technologies than Microsoft).
Certainly, you already have enough malware coming from Apple itself. Who needs even more digital restrictions management and buggy software?
Sounds like "We've just crashed, but we did in such a way we're so much better than Microsoft". Trendy people should always have their OS crash this way.
Others choose to skip crashes by installing a stable Unix system.