|
|
The Osmosian Order wrote: Plain English. Really. It's cleaner, simpler, faster, cheaper, etc.
Are you sure it more cleaner and simpler?
Remember that I asked you how to use your syntax of Plain English programming to do very simple arithmetic, val = 1 + (oldval % 10); ?!
You have not answered me how.
I just want to calculate values --- very simple arithmetics, just like those quizes for the elementary school students (like: (2 * 7 + 4) / (2 + 1) = ?? ).
I expected you to answer me as:
There is an existing value named oldval.<br />
Count one adding the remainder from oldval mod ten.
Or something similar. (I am not good in PE.)
If such simple arithmetic takes reason to do it in Plain English, it is NOT any simple.
Maxwell Chen
|
|
|
|
|
How about something like
val becomes sum of 1 and oldval modulus 10 ?
|
|
|
|
|
The Osmosian Order wrote: I was waiting for you to provide further information. My last question to you was regarding the intent of your statement, "int val = 1 + ( oldval % 10 );". In that post, I suggested that conciseness is acheived in Plain English by "naming" formulas and using the names in place of the equations.
Why do you need more information? val and oldval are the names. And 1 + ( oldval % 10 ) is the context, the expression.
Just like the quiz at school. Did you ask your teacher why and what's the context when you receive a question like this?
1 + 2 * 3 = ____ If your programming way takes that much efforts to come out very simple arithmetic (number counting), it tells a lot.
Plain spoken English contains the expressions for simple arithmetic. Don't forget that! There is no need to assume whatever different way of thinking or context. English speakers know there a way called "metaphrase" (aka: 1 + 1 = 2, one plus one equals two).
The Osmosian Order wrote: and write us: help@osmosian.com
Before the whole conversations with you, I had downloaded the sample code earlier from your website to get to know what exactly PE programming is.
Maxwell Chen
|
|
|
|
|
computerguru92382 wrote: Yes, us professional programmers prefer professional programming languages and tools
I thought you were insterested in VB?
|
|
|
|
|
Huh? What makes you think I am a VB guy?
K(arl) wrote: professional programmers prefer professional programming languages and tools
I meant like C/C++. I guess VB could count, too
|
|
|
|
|
Paul Conrad wrote: What makes you think I am a VB guy?
Your profile. "Interests: C++, MFC, COM, Win32, C#, VB.NET, Database". Even .NET, VB is VB!
Paul Conrad wrote: VB could count,
Since when VB writers are programmers?
It is easier to make war than to make peace.
Fold with us! ¤ flickr
|
|
|
|
|
K(arl) wrote: VB is VB!
Yeppers. I only use VB when there is money involved
|
|
|
|
|
Trading morality for money...not surprizing, VB and ethics don't mix anyway.
|
|
|
|
|
K(arl) wrote: VB and ethics don't mix
Yep. VB shouldn't have been born. If I have the decision on the projects about what language is going to be used, VB is not my choice language. When I don't have the choice and someone else made the choice, either I go with the flow or ditch the gig depending on the benefits of the gig.
|
|
|
|
|
Stephen Hewitt wrote: Perhaps English programming can be added too?
It's already here; it’s called the Soapbox, except no real programming goes on.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
When I hover my cursor over the link to the lounge the tooltip includes the <b> tag before "no programming questions..."
|
|
|
|
|
Just a thought: would it be possible to add keyboard shortcuts to the message board? Often you would want to read the next message, and instead of having to click it, it would be nice to be able to just press a key (key combination probably). I can imagine two possible keyboard shortcuts: a one for the next message directly below, and another for the next top-level message. I have no idea how this could be implemented, or even if this is perhaps already possible???, but I wanted to mention it anyway.
|
|
|
|
|
dabs wrote: Just a thought: would it be possible to add keyboard shortcuts to the message board?
Yes.
Funny you should ask...
----
|
|
|
|
|
I know this has been brought up before, but I think I have a reprodusable case.
The below link goes to one of my posts in the Lounge. When you reply to it, the reply goes to the post below it instead. The one written by ThatPhilBrettGuy.
http://www.codeproject.com/lounge.asp?msg=1486494#xx1486494xx[^]
I hope this helps.
|
|
|
|
|
I tried putting a background color inside a div on my sig, and the CP site is replacing the word "background-color" with "removed-color".
Can someone please fix this?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Does THIS[^] help?
Maxwell Chen
|
|
|
|
|
No. When I "save" my settings, it goes back to the prhibited "background"...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
-- modified at 14:15 Thursday 11th May, 2006
|
|
|
|
|
I see. Maybe the sig is checked more than the texts...
Maxwell Chen
|
|
|
|
|
It works fine in the preview when you're actually changing your sig, but when you save it, it goes back to "background", and is of course "removed" when it appears in the forums.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Here's a test of the sig when made part of the actual message body. In this example I used the *hack* that involves using ampersign-pound-9-7 to force the letter "a" in "background":
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
That's how it's supposed to look, but what I actually get is shown below:
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
As you can see, all is well in signature land now. Many thanks to Chris.
He made CP a potentially more colorful and cheery place to... waitaminit, that's not the way I talk!
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: in signature land
I'm gonna put a ticking GMT+8 clock in my sig (really! I'll do it soon), and it's 3:20 AM .... time to go to bed!
Maxwell Chen
|
|
|
|
|
Hi Chris,
there's a point that could be easily improved in the weekly poll system.
currently, when someone suggest an optional answer to a survey, its text is added and then displayed in the optional answers list.
often, when some want to answer an optional answer, it can happen that the text has already been submited, but as they differ with one or more letters (like CListCtrl or Clistctrl), they appear as 2 different answers.
what could be done is provide in a combobox all the optional answers already submited in the poll form, so that it could reduce the approximative differences...
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Interesting idea. It actually gels with another little addition I was thinking of making too.
hmmm...
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|