|
It's my wont to cant my monitor to the left.
|
|
|
|
|
I'm not going to make a full submission; but want to suggest that anyone serious about it be sure to implement this family of fixes (only one example given because I'm a slacker):
str.replace("I have got", "I've <b>GOTTEN</b>");
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
May the wrath of Bob descend on thee.
cheers
Chris Maunder
|
|
|
|
|
I'd personally put it in the 'too hard' basket - just because the complexity blows my mind.
But I applaud the idea - bad grammar is something up with which I will not put.
PooperPig - Coming Soon
|
|
|
|
|
But who will determine which version is correct? Some Brits and convicts, or people who write and speak English?
Will Rogers never met me.
|
|
|
|
|
|
Roger Wright wrote: ...or people who write and speak English?
So that is all of North America f***ed then
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
modified 19-Aug-14 4:33am.
|
|
|
|
|
yes!! it sounds like an interesting javascript code is to be developed
Would love to participate in such a contest!
|
|
|
|
|
Why JavaScript? Are you wanting to plug it into this text editor we type in? I did a quick search and such libraries already exist, though they probably don't get into punctuation.
English punctuation is complex and sometimes inconsistent, coming up with the logic would be tougher than the programming. Think about how you would design an algorithm to determine whether or not "its" or "it's" is correct in a given sentence, you're probably going to need to build trees of sentence diagrams and I got enough of that in the fifth grade. Plural possessives are even worse, and speaking of plurals you're in a world of hurt with things like "attorneys general." I'll consider it but I'm not sure I'm up for that.
Can't you just find some desperate English major to "intern" and proof everything for free leftover pizza?
|
|
|
|
|
So as I'm reading this up pops an ad offering to help me "Check your arrest record".
I would think that we "smartest and brightest" would know if we had been arrested
On the topic, I feel there's little need. The typos etc. sort of add character and are more representative of what we actually type all day long {var foo} etc.
Also, many of our brethren are not native English speakers. Perhaps correcting their grammar might change the meaning of their posts. For instance...
As a American, I often find the "Queen's" English somewhat confusing. I will never forget a lecture on computing I gave in England back in the 80's. The audience began tittering when I used the word "backslash". The tittering increased to the point that I had to stop the lecture and ask what was so amusing. It seems the word "slash" was slang for urinating outdoors. Who knew?
I (stupidly) asked for their word to describe the character and, after some discussion, it was decided I should use "reverse oblique stroke".
So, despite your probably justifiable (my son is an editor and takes great offense when he encounters similar wrongs) editorial umbrage at poor grammar, malapropisms and the like, I think you should keep them.
Murray
|
|
|
|
|
dg6yhw11 wrote: So as I'm reading this up pops an ad offering to help me "Check your arrest record".
Can you please click the "X" on the top left and report it? If no "X" appears please get a copy of the click through URL and email us at webmaster@codeproject.com and we'll block that ad.
Back on topic: Again, my goal is a simple, basic remedy for the worst offenses only.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: Back on topic: Again, my goal is a simple, basic remedy for the worst offenses only.
Oh, well that's easy:
if(submission.Contains("plz"))
{
File.Move(Server.MapPath("/submission.txt"), Server.MapPath("/dev/null/reject.txt"));
}
|
|
|
|
|
Thanks for the reply Chris.
That ad hasn't reappeared thankfully.
Returning to the topic, the devil remains in the definition of "worst offense".
Personally, I'm not at all offended by typos and the "trim doubles and vowels" type of abbreviations. (I'm not even offended by Comic Sans which professional editors seem to find really bad )
Enjoy.
Murray.
|
|
|
|
|
I'll like to be a part of this interesting project. I'm a MSCS student and working hard to learn JavaScript.
|
|
|
|
|
I need to learn about STL and Boost. Any suggestions for books, tutorials whatever?
Many thanks.
Andy
|
|
|
|
|
STL[^]
Boost[^]
You looking for sympathy?
You'll find it in the dictionary, between sympathomimetic and sympatric
(Page 1788, if it helps)
|
|
|
|
|
Fortunately not!
Just trying to save a bit of searching time.
|
|
|
|
|
Check the CP articles, for instance:
An Introductory STL tutorial[^]
An Introduction to Boost[^]
For more, you may search on the article page[^], or ask in the Q&A section[^]
What are you actually doing with such a technology ? This is so old that even I used to use it !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Thanks for the links, I will check them out.
Don't know yet what it's for, it's somebody else's choice.
|
|
|
|
|
this [^] is pretty nice for the STL. Something about the way it's organized really hit my head right.
No idea about boost though; that became ubiquitous after I switched to perl for most day to day work.
|
|
|
|
|
Scott Meyers is an excellent writer:
Effctive STL
[^]
But if you really want cutting edge you should learn more of C++11/14. Some of the Boost stuff is sooner or later becomming obsolete... For example lambdas are in Boost but they are a part of the new language standard. Giving you much niftier syntax. Get a nice overview from Wkipedia on C++11. And read more on the blogs of Scott Meyers and Herb Sutter.
Good Luck!
Life is too shor
|
|
|
|
|
Welcome to the club!
megaadam wrote: Scott Meyers is an excellent writer:
Effctive STL
[^]
I concur.
Also as a summary of the book, std::vector and std::string will be the container you want for 90% of your tasks. Learn those and your well on your way. Then learn what's in <algorithms>
You will also need to learn about std::shared_ptr and std::weak_ptr which are not in this book. But there are plenty of places on the web to learn about it.
http://www.amazon.com/The-Standard-Library-Tutorial-Reference/dp/0201379260[^]
This is a good in depth reference book, but it was written in 1999.
|
|
|
|
|
"STL" is just the C++ Standard Library. Any recent book on C++ should cover it in depth but the ultimate book on the topic is The C++ Standard Library - A Tutorial and Reference[^] by Nicolai M. Josuttis. Look for the first edition of the book if you want only C++ 98 Standard - otherwise get the second edition.
As for Boost, just look at their web site: Boost Documentation[^]
|
|
|
|
|
Reading this article: "Smartphone owners’ appetite for new apps wanes" By Daniel Thomas in London and Tim Bradshaw in San Francisco, August 17, 2014 6:25 pm : [^] ...
I thought there were some prime hypotheticals missing, like:
1. most device/OS mobile app stores applications are crap: trivial, silly, useless ... even scams ? cf. "The Windows Store is a Cesspool of Scams — Why Doesn’t Microsoft Care?" Howtogeek.com's recent assault on the Windows App Store: [^].
2. there is a limit in what apps for small form-factor devices can usefully provide their users ? ... a limit related to the simple physicality mismatch of user and device ?
Of course, an obvious hypothetical is that Financial Times technology coverage is crap.
“I have diligently numbered the days of pure and genuine happiness which have fallen to my lot: They amount to 14.” Abd-Ar Rahman III, Caliph of Cordoba, circa 950CE.
|
|
|
|
|
I've been convinced for quite some time now that most people don't need a cell phone much less a smart phone.
This is one ship that I'll be happy to see go down to the very bottom - hopefully it will take a load of jargon spewing techno-snobs down to good 'ole Davy Jones as well. The smart phone market has ballooned out of control, I'll be glad to see it take some solid hits.
Hopefully this signals the beginning of the end of one of the most bloated fads in technology I've ever seen.
|
|
|
|