>> And you still haven't explained _what_ _causes_ gravity. > I don't think you yourself understand what you mean by this question. If I replace gravity with electromagnetism in your question, what is the answer then? Or do you believe we don't know what causes electromagnetism either?
It is a real simple question. I am NOT asking about the EMF, NOR the EFFECT of gravity. I AM asking about _gravity_. Specifically, what causes it?
> The whole point of writing that program was to play around with templates (and SLT/BOOST),
Looking at your code I see that my hunch (b) was right -- it is *totally* over-engineered. There is a time for STL (and that abomination BOOST), but if you want to be a *great* coder focus on the _simple_ solution. It will be:
a) easier to write b) easier to debug (prove correct) c) easier to maintain d) easier to optimize
Here are two quotes from Einstein that you should keep in mind:
* "Everything should be made as simple as possible, but not simpler." * "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
You can tell your solution (code) is getting better when it gets smaller. You are able to do more with less. Solve the _specific_ problem, NOT the _general_ problem. Other people will THANK you for being succinct, not verbose.
> Protip: anyone who claims to have discovered something weird, and then names it after themselves, is most likely a hoax. You mean just like the Casmir Effect or The Aspden Effect ?
Protip: only hipsters use 'Protip'
> And we have a very good idea of what causes gravity, or rather, what gravity _is_. And you still haven't explained _what_ _causes_ gravity.
I left in 2010 about the time we were implementing C++0x (which eventually came C++11)
The front-end was a nightmare to maintain because of the C++ ambiguity. (Especially templates)
The back-end was relatively clean, because C & C++ look the same when you are working at the level of the AST and ILR (Abstract Syntax Tree and Intermediate Language Representation, respectfully.)
> Except.. without even more ugly hacks to the preprocessor, there is no way to ensure any kind of tangible "safeness" to the macro system. I disagree. A macro system needs BOTH type safety AND lack-of type safety, because only the programmer knows when he needs one, the other, or both.
Let's say we replace the preprocessor with a native C++ macro system.
Where the types for the arguments are $ string # number (int) % number (float) void generic anything, can be optional
Do we need a token to represent that the argument should be _x_ ? - character - pointer - array
> I'd prefer removing obsolete C & preprocessor crap from C++. It would improve the language in every conceivable way. I agree! I'm interested in ideas in how this could be done.
Currently you can't do stuff like this in C/C++ because of the idiotic preprocessor doesn't understand ':'
> It'd also remove all the definitions and clarity of the current system. Ahh, I see that's why we have over 10,000 of pages of the Tax Code. For clarifying that, silly me. What was I thinking. I "forgot" that over-engineering was a good thing./sarcasm
> No matter how simple or complex the system, there are always people who will abuse it for their own benefit, and there will always be someone who can't understand it. So we should obfuscate the hell out of it so NO ONE can practically follow it. Gotcha.
> They aren't too hard if you take the time to read and understand them Right, so you've personally read ALL 20 Volumes of Title 26 which is 13,458 pages of the Tax Code??
If no, then how you do you know you are _following_ the law?
> Simplicity and fairness are not correlated. Cognitive dissonance much?
If you were in school and got a 4.0 GPA is it FAIR that you are forced to give a portion of that to someone else? That is precisely what the _existing_ tax code does. A progressive tax (graduated) is ALREADY unfair. It robs from the rich to pay for the poor.
Except for one little problem: We _already_ have experimental evidence (The Hutchison Effect) that demonstrates that we still don't have a clue what _causes_ gravity.
All you have proved that humans have many different motives, some are good some are bad. You will find this in ALL professions, institutions, and religions.
Tossing the baby out with the bathwater doesn't solve anything.
We should be instead focusing on the fucktards (Carreon) that abuse the system, or removing corrupt systems.
> And so did HG Wells in 1895. It's actually a really old idea, it's one of those ones that every generation bemoans thinking they're the first one with that problem.
"We live in a decaying age. Young people no longer respect their parents. They are rude and impatient. They frequently inhabit taverns and have no self control." -- attributed to an inscription in an Ancient Egyptian tomb, quoted in Buckminster Fuller's "I Seem To Be a Verb"
Plato quotes Socrates in The Republic as saying, I mean such things as these: â" when the young are to be silent before their elders; how they are to show respect to them by standing and making them sit; what honour is due to parents; what garments or shoes are to be worn; the mode of dressing the hair; deportment and manners in general.
"When I was young, we were taught to be discreet and respectful of elders, but the present youth are exceedingly disrespectful and impatient of restraint". Hesiod, 8th century BC
"The young people of today think of nothing but themselves. They have no reverence for parents or old age. They are impatient of all restraint... As for the girls, they are forward, immodest and unladylike in speech, behavior and dress." Attributed to Peter the Hermit, AD 1274
WOW you sure seem to get bent out of shape at other people copying numbers....
You DO realize that some countries (Canada) legally ALLOW people to copy copyrighted works, right? So basically the 30 million people are all "freetards" too or are you too self-absorbed in "my politics are the only RIGHT politics" to pull your head out of your ass and realize that ALL {LEGAL} LAWS ARE RELATIVE. The youth couldn't give a crap about copyright because they realize the absurdity of trying to "outlaw copying numbers." You can bitch all you want but copyright is an archaic idea on its way out.
I used to work with a team that produced a professional C/C++ compiler. We used to joke:
There are two problems with C++ 1. it's design 2. it's implementation
As a programming I've come to love the sweet spot 1/2 between C and C++. C leads to overly terse code C++ leads to over-engineered solutions
Its too bad the preprocessor is still stuck in the '70s:-( Every year C++ is slowly turning into a clusterfuck LISP implementation by people who don't understand how to write a safe macro meta-language.
Compilers do it NOW but they didn't always use to UNLESS you turned optimizations on. Debugging un-optimized code is a lesson in pain. Especially when you are trying to debug a real-time system and can't due to performance issues.
voice = "Seinfeld George": What, you didn't get the memo? We OVER ENGINEER _everything_ including accounting for time in the 21st century baby!:-)
P.S. Yes, completely agree leap seconds, leap hours, and daylight savings time cause MORE PROBLEMS then what they SOLVE. One of these days we'll outgrow this stupidity...
> is doing her best to protect Suri from that cult.
Cult, noun.
Definition: Any group that says their way is the only way [to salvation.]
You can outlaw bad religions but you can't outlaw stupidity. :-/
> Perhaps the FSF should learn from this and lighten up on the whole "all code must be given away" thing?
Once you start compromising on your morals it is a slippery slope to "Convenience Morality"
> I was always told that space is anything but empty.
It it was empty then why did the tether on the Space Shuttle melt due to electricity? In other words how did the charge build up?
http://www-istp.gsfc.nasa.gov/Education/wtether.html
The porn industry already beat you ...
Gone in 60 Seconds --> Cum in 60 Seconds
http://www.listal.com/list/porn-versions-famous-movies
Please let me know when you grow up and are able to have a civil conversation without the childish ad hominem attacks instead of ranting.
--
"Better to remain silent and thought a fool, then open your mouth and remove all doubt."
There is a time and a place for correct spelling and grammar.
I couldn't give a fuck on /. if you get bent out of shape over negligible spelling. There are more important issues to worry about.
>> And you still haven't explained _what_ _causes_ gravity.
> I don't think you yourself understand what you mean by this question. If I replace gravity with electromagnetism in your question, what is the answer then? Or do you believe we don't know what causes electromagnetism either?
It is a real simple question. I am NOT asking about the EMF, NOR the EFFECT of gravity. I AM asking about _gravity_. Specifically, what causes it?
> The whole point of writing that program was to play around with templates (and SLT/BOOST),
Looking at your code I see that my hunch (b) was right -- it is *totally* over-engineered. There is a time for STL (and that abomination BOOST), but if you want to be a *great* coder focus on the _simple_ solution. It will be:
a) easier to write
b) easier to debug (prove correct)
c) easier to maintain
d) easier to optimize
Here are two quotes from Einstein that you should keep in mind:
* "Everything should be made as simple as possible, but not simpler."
* "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
You can tell your solution (code) is getting better when it gets smaller. You are able to do more with less. Solve the _specific_ problem, NOT the _general_ problem. Other people will THANK you for being succinct, not verbose.
Cheers
> Protip: anyone who claims to have discovered something weird, and then names it after themselves, is most likely a hoax.
You mean just like the Casmir Effect or The Aspden Effect ?
Protip: only hipsters use 'Protip'
> And we have a very good idea of what causes gravity, or rather, what gravity _is_.
And you still haven't explained _what_ _causes_ gravity.
Thx grammer nazi.
This is why I am a programmer and not an English major.
> Was this pre c++03 or post?
I left in 2010 about the time we were implementing C++0x (which eventually came C++11)
The front-end was a nightmare to maintain because of the C++ ambiguity. (Especially templates)
The back-end was relatively clean, because C & C++ look the same when you are working at the level of the AST and ILR (Abstract Syntax Tree and Intermediate Language Representation, respectfully.)
> Except.. without even more ugly hacks to the preprocessor, there is no way to ensure any kind of tangible "safeness" to the macro system.
I disagree. A macro system needs BOTH type safety AND lack-of type safety, because only the programmer knows when he needs one, the other, or both.
Let's say we replace the preprocessor with a native C++ macro system.
Where the types for the arguments are
$ string
# number (int)
% number (float)
void generic anything, can be optional
Do we need a token to represent that the argument should be _x_ ?
- character
- pointer
- array
> I'd prefer removing obsolete C & preprocessor crap from C++. It would improve the language in every conceivable way.
I agree! I'm interested in ideas in how this could be done.
Currently you can't do stuff like this in C/C++ because of the idiotic preprocessor doesn't understand ':'
I guess first we would need to replace:
along with conditional defines, and macros.
What else would need to be done if the preprocessor was treated like a first-class system?
> It'd also remove all the definitions and clarity of the current system. /sarcasm
Ahh, I see that's why we have over 10,000 of pages of the Tax Code. For clarifying that, silly me. What was I thinking. I "forgot" that over-engineering was a good thing.
> No matter how simple or complex the system, there are always people who will abuse it for their own benefit, and there will always be someone who can't understand it.
So we should obfuscate the hell out of it so NO ONE can practically follow it. Gotcha.
> They aren't too hard if you take the time to read and understand them
Right, so you've personally read ALL 20 Volumes of Title 26 which is 13,458 pages of the Tax Code??
If no, then how you do you know you are _following_ the law?
> Simplicity and fairness are not correlated.
Cognitive dissonance much?
If you were in school and got a 4.0 GPA is it FAIR that you are forced to give a portion of that to someone else? That is precisely what the _existing_ tax code does.
A progressive tax (graduated) is ALREADY unfair. It robs from the rich to pay for the poor.
A flat tax is
a) simple, AND
b) fair.
Oblg.
http://xkcd.com/936/
> Higgs field is a quantum field, which fluctuates constantly. Particles spontaneously emerge and disappear all the time.
So where do these particles go then?
And where were they before they emerged?
Except for one little problem: We _already_ have experimental evidence (The Hutchison Effect) that demonstrates that we still don't have a clue what _causes_ gravity.
> Perhaps if the law were simplified, more people could learn enough about it to defend themselves in court,
That indeed is the proper solution.
"The more numerous the laws, the more corrupt the government."
- Publius Cornelius Tacitus, AD 56 â" AD 117
The IRS is a perfect example of. A simple 10% flat tax would remove ALL the loop-holes.
All you have proved that humans have many different motives, some are good some are bad. You will find this in ALL professions, institutions, and religions.
Tossing the baby out with the bathwater doesn't solve anything.
We should be instead focusing on the fucktards (Carreon) that abuse the system, or removing corrupt systems.
33 seconds? No offense, but methinks you need to review your algorithm, because either you
a) have a bug, or
b) have totally over-engineered the implementation of the algorithm.
My solver in 106 lines of C++ solves it in by *brute* force in less then 1 second. I wrote this back on 6/6/6.
There is also a 141 _byte_ sudoku solver in Javascript that someone else wrote. Check
http://www.reddit.com/r/javascript/comments/ku0mb/tweet_sized_sudoku_solver_in_javascript/
My input file is: // stupid lameness filter // more stupid line too few // again
8-- --- ---
--3 6-- ---
-7- -9- 2--
-5- --7 --- // /. filters suck // more kludge hacks // for lame filter
--- -45 7--
--- 1-- -3-
--1 --- -68 // almost done // /. is annoying // OK input is done
--8 5-- -1-
-9- --- 4--
> And so did HG Wells in 1895. It's actually a really old idea, it's one of those ones that every generation bemoans thinking they're the first one with that problem.
"We live in a decaying age. Young people no longer respect their parents. They are rude and impatient. They frequently inhabit taverns and have no self control." -- attributed to an inscription in an Ancient Egyptian tomb, quoted in Buckminster Fuller's "I Seem To Be a Verb"
Plato quotes Socrates in The Republic as saying,
I mean such things as these: â" when the young are to
be silent before their elders; how they are to show respect to them by
standing and making them sit; what honour is due to parents; what
garments or shoes are to be worn; the mode of dressing the hair;
deportment and manners in general.
"When I was young, we were taught to be discreet and respectful of elders, but the present youth are exceedingly disrespectful and impatient of restraint".
Hesiod, 8th century BC
"The young people of today think of nothing but themselves. They have no reverence for parents or old age. They are impatient of all restraint... As for the girls, they are forward, immodest and unladylike in speech, behavior and dress."
Attributed to Peter the Hermit, AD 1274
There is NOTHING new under the sun.
Yeah I know YHBT and DNFTT
WOW you sure seem to get bent out of shape at other people copying numbers ....
You DO realize that some countries (Canada) legally ALLOW people to copy copyrighted works, right? So basically the 30 million people are all "freetards" too or are you too self-absorbed in "my politics are the only RIGHT politics" to pull your head out of your ass and realize that ALL {LEGAL} LAWS ARE RELATIVE. The youth couldn't give a crap about copyright because they realize the absurdity of trying to "outlaw copying numbers." You can bitch all you want but copyright is an archaic idea on its way out.
I am 100% certain you will die. I am so certain of this fact that I am willing to bet my life on it.
See, that wasn't religion NOR science.
I used to work with a team that produced a professional C/C++ compiler. We used to joke:
There are two problems with C++
1. it's design
2. it's implementation
As a programming I've come to love the sweet spot 1/2 between C and C++.
C leads to overly terse code
C++ leads to over-engineered solutions
Its too bad the preprocessor is still stuck in the '70s :-( Every year C++ is slowly turning into a clusterfuck LISP implementation by people who don't understand how to write a safe macro meta-language.
Correct.
Compilers do it NOW but they didn't always use to UNLESS you turned optimizations on. Debugging un-optimized code is a lesson in pain. Especially when you are trying to debug a real-time system and can't due to performance issues.
Why do you need THC when your body, specifically the pineal gland, _already_ naturally makes DMT? (DMT is the psychedelic used in LSD.)
Also, "DMT occurs naturally in many species of plants"
http://en.wikipedia.org/wiki/Dimethyltryptamine
--
The fact that a natural _plant_ is _illegal_ is the height of stupidity.
voice = "Seinfeld George": What, you didn't get the memo? We OVER ENGINEER _everything_ including accounting for time in the 21st century baby! :-)
P.S. ...
Yes, completely agree leap seconds, leap hours, and daylight savings time cause MORE PROBLEMS then what they SOLVE. One of these days we'll outgrow this stupidity