Maybe you've got the style blocked by some extension? I only had the blue background until I told RequestPolicy to allow fsdn.com. Then the background of the text turned white.
And when Joe Shortcut figures out that he can define the "assign" function to slice his ham sandwich... Frankly, I don't see how misusing operator overloading is different from misusing function names.
OTOH operator overloading is essential if you want to have reasonable syntax for user-defined number types. You don't want to write a.assign(b.plus(c)) or assign(a,plus(b,c)) instead of a=b+c.
And be assured, the confusion you can cause with operator overloading is nothing compared to the confusion you can cause with ordinary C macros...
So you don't value the fact that there's now a well-defined memory model for multithreading, as well as a standard interface to it so you can do cross-platform multithreaded code without #ifdef or relying on third-party code? And you don't value that they removed the restriction that you couldn't use local classes as template parameters? And you don't value the fact that returning standard library classes by value will now be much more efficient, thanks to move semantics? And you don't value that regular expressions are now supported in the standard library?
Actually, the most naive implementation would just randomly fill the fields and then check whether it solves the puzzle, repeating until it found the solution.:-)
With Sudoku, it's trivial to check if you have a solution, without being given the solution to compare with. Just check whether your alledged solution follows the rules. This is as easy as counting to 9 and checking the number is there, for each row, column and subsquare (actually you can even omit some).
Most people think that Sudoku is a math puzzle because its often associated with numbers, but thats not really the case as you can do it with any 9 unique identifiers.
Most people think math means it has to be associated with numbers, but that's not really the case. Numbers just turn out to be a great tool which can be applied to a wide range of mathematical problems. But the problems themselves are often not defined in terms of numbers.
I'd consider Sudoku a math puzzle, even without numbers. You have a set of symbols (and yes, from a mathematical standpoint, your colors are symbols as well) and a set of places (being arranged in a square grid), and the task is to find a mapping from the places to the symbols so that for certain subsets of the set of places (rows, columns, subsquares) each symbol appears exactly once (or to say it more mathematically, for each of those subsets the restriction of the searched-for function to that subset is bijective). It's a well-defined mathematical problem.
No, the positron doesn't leave the atmosphere. It annihilates with an electron, and the gamma radiation created that way leaves the atmosphere. Of course the earth still gets lighter, because the gamma rays transport the energy of the positron and the electron away (unless one of the two gamma photons hits the ground or gets absorbed in the atmosphere, of course; although ultimately that energy will radiate away as heat, too).
Say they put it on an account with 2% interest (I'm sure they could find a much better deal for that amount of money). Then after the two years, they've made a plus of 2 million through interest alone.
That is what government regulation is for. It is to ensure that the best product wins under its own merits and that all costs are taken into account.
Government regulations do not have that effect. Not even close. Quite the opposite, really.
Well, what it is for and what it actually achieves are two different concepts.
For example, copyright is for protecting the creators. What is achieves is mostly the protection of the media companies.
The stock exchange is for allowing investors to participate in company profit through dividends. What it achieves is investors winning (or losing) mostly through speculation.
The obvious solution would be to separate the phone wire business from the phone service business. The phone wires might even be handled by the government (like the streets are). The phone service providers would then simply rent the phone wires. If you change the phone service provider, the new phone service provider can rent the very same wire (because the wire provider doesn't care from whom he gets the money, just that it's paid).
If disabling that logging would be logged (because it's initiated before the logging got disabled), and he doesn't have access to the logs themselves (e.g. because they are on a computer he doesn't have access to), I guess disabling the logs would be a sure way to get fired immediately.
Sudo is total crap. Entering in your own password to run commands as an administrator? Yeah, that's a great idea.
You can configure sudo to ask for the root password instead. I'm not sure if you can restrict root login to sudo in that case, though (if you can, having the root password would be useless for anyone not in sudoers, unless he also has the password of someone in that group).
One thing which would make sense is to separate the ability to grant/remove superuser abilities from the actual superuser activities. There can be a team of people who can grant/remove superuser ability to other users (but not to other users of that team), and it may make sense to have at least two or even more of that team to agree for that operation. There needs to be only one superuser at each time, because those rights can easily be granted as long as enough members of the granting group are present. However, there can also be several superusers at the same time, and none can remove the rights of the others, unless they happen to have enough helpers in he granting group.
Well, have a special shell which doesn't execute commands, but puts them into a queue. The commands in the queue don't get executed until at least two other users with corresponding privileges confirmed them.
Given the LHC performance to date, it appears likely that experiments at the LHC either will rule out or discover a standard model Higgs boson by late 2012
This is somewhat of an open secret in the LHC community. However, I thought it was something Not-To-Be-Discussed-In-Public.
That's actually a quite complex grammar. Compare with Unlambda, which is basically:
expr: FUNCTION | ` expr expr
SCNR :-)
Maybe you've got the style blocked by some extension? I only had the blue background until I told RequestPolicy to allow fsdn.com. Then the background of the text turned white.
Hmmm ... I'd like to see how you produce some very elegantly designed data structures in classic BASIC :-)
And when Joe Shortcut figures out that he can define the "assign" function to slice his ham sandwich ...
Frankly, I don't see how misusing operator overloading is different from misusing function names.
OTOH operator overloading is essential if you want to have reasonable syntax for user-defined number types. You don't want to write a.assign(b.plus(c)) or assign(a,plus(b,c)) instead of a=b+c.
And be assured, the confusion you can cause with operator overloading is nothing compared to the confusion you can cause with ordinary C macros ...
So you don't value the fact that there's now a well-defined memory model for multithreading, as well as a standard interface to it so you can do cross-platform multithreaded code without #ifdef or relying on third-party code?
And you don't value that they removed the restriction that you couldn't use local classes as template parameters?
And you don't value the fact that returning standard library classes by value will now be much more efficient, thanks to move semantics?
And you don't value that regular expressions are now supported in the standard library?
It's a mix of C++0x and Perl 6. And the initial version will run on the Hurd. :-)
I prefer the weekly crossword puzzle in "Die Zeit". That is still fun even if you use google/wikipedia to solve it.
Actually a program to solve that would clearly qualify as AI.
Actually, the most naive implementation would just randomly fill the fields and then check whether it solves the puzzle, repeating until it found the solution. :-)
If it were true AI, I guess after pointing it to too many Sudokus it would refuse to solve yet another one due to boredom. :-)
With Sudoku, it's trivial to check if you have a solution, without being given the solution to compare with. Just check whether your alledged solution follows the rules. This is as easy as counting to 9 and checking the number is there, for each row, column and subsquare (actually you can even omit some).
Most people think math means it has to be associated with numbers, but that's not really the case. Numbers just turn out to be a great tool which can be applied to a wide range of mathematical problems. But the problems themselves are often not defined in terms of numbers.
I'd consider Sudoku a math puzzle, even without numbers. You have a set of symbols (and yes, from a mathematical standpoint, your colors are symbols as well) and a set of places (being arranged in a square grid), and the task is to find a mapping from the places to the symbols so that for certain subsets of the set of places (rows, columns, subsquares) each symbol appears exactly once (or to say it more mathematically, for each of those subsets the restriction of the searched-for function to that subset is bijective). It's a well-defined mathematical problem.
You're an AI which has been written by the same guy who wrote the iPhone Sudoku solver?
Yeah, first the proved that aliens have nuclear bombs, and then they found that flashes are nuclear explosions. :-)
No, the positron doesn't leave the atmosphere. It annihilates with an electron, and the gamma radiation created that way leaves the atmosphere.
Of course the earth still gets lighter, because the gamma rays transport the energy of the positron and the electron away (unless one of the two gamma photons hits the ground or gets absorbed in the atmosphere, of course; although ultimately that energy will radiate away as heat, too).
Say they put it on an account with 2% interest (I'm sure they could find a much better deal for that amount of money). Then after the two years, they've made a plus of 2 million through interest alone.
You know, with the ZX Spectrum and the Interface 1 you got an RS232. So all you need to get on the internet is a modem and appropriate software.
However I doubt that you'd be able to display many of today's web pages with only 48K RAM :-)
Government regulations do not have that effect. Not even close. Quite the opposite, really.
Well, what it is for and what it actually achieves are two different concepts.
For example, copyright is for protecting the creators. What is achieves is mostly the protection of the media companies.
The stock exchange is for allowing investors to participate in company profit through dividends. What it achieves is investors winning (or losing) mostly through speculation.
The obvious solution would be to separate the phone wire business from the phone service business. The phone wires might even be handled by the government (like the streets are). The phone service providers would then simply rent the phone wires. If you change the phone service provider, the new phone service provider can rent the very same wire (because the wire provider doesn't care from whom he gets the money, just that it's paid).
If disabling that logging would be logged (because it's initiated before the logging got disabled), and he doesn't have access to the logs themselves (e.g. because they are on a computer he doesn't have access to), I guess disabling the logs would be a sure way to get fired immediately.
You can configure sudo to ask for the root password instead. I'm not sure if you can restrict root login to sudo in that case, though (if you can, having the root password would be useless for anyone not in sudoers, unless he also has the password of someone in that group).
One thing which would make sense is to separate the ability to grant/remove superuser abilities from the actual superuser activities. There can be a team of people who can grant/remove superuser ability to other users (but not to other users of that team), and it may make sense to have at least two or even more of that team to agree for that operation. There needs to be only one superuser at each time, because those rights can easily be granted as long as enough members of the granting group are present. However, there can also be several superusers at the same time, and none can remove the rights of the others, unless they happen to have enough helpers in he granting group.
Well, have a special shell which doesn't execute commands, but puts them into a queue. The commands in the queue don't get executed until at least two other users with corresponding privileges confirmed them.
The safe is signed by the admin? :-)
From the quoted DOE letter:
Given the LHC performance to date, it appears likely that experiments at the LHC either will rule out or discover a standard model Higgs boson by late 2012
This is somewhat of an open secret in the LHC community. However, I thought it was something Not-To-Be-Discussed-In-Public.
Probably the exact date is December 21, 2012. :-)
Or we could not eat meat.
Or less meat.
Or we could simply not eat. That would also solve the problem of overpopulation. :-)