Java function that will convert an arbitrary base to a decimal

  • Follow


I need to write a Java function that will convert an arbitrary base to
a decimal. The number needs to be converted into an array of
characters. It needs to use uppercase letters of the alphabet for
input if required by the value of base. Needs to have a void function
to convert it to the proper value of type array of int before
converting it to a decimal.

example given by book:

const int base = 6;
const int numDigits = 4;
int number [numDigits];

The program must be modified with a different base by changing only
the constant base, and the number of digits needs to be modified by
changing numDigits.

This is for a computer systems class , and any help will be greatly
appreciated.
0
Reply wolbert.daniel (1) 11/17/2010 7:52:12 PM

Daniel wrote:

> I need to write a Java function that will convert an arbitrary base to
> a decimal. The number needs to be converted into an array of
> characters. It needs to use uppercase letters of the alphabet for
> input if required by the value of base. Needs to have a void function
> to convert it to the proper value of type array of int before
> converting it to a decimal.
> 
> example given by book:
> 
> const int base = 6;
> const int numDigits = 4;
> int number [numDigits];
> 
> The program must be modified with a different base by changing only
> the constant base, and the number of digits needs to be modified by
> changing numDigits.
> 
> This is for a computer systems class , and any help will be greatly
> appreciated.

This is native in Java:

http://download.oracle.com/javase/6/docs/api/java/lang/Long.html#valueOf(java.lang.String, 
int)
http://download.oracle.com/javase/6/docs/api/java/lang/Long.html#toString(long, 
int)
0
Reply Aeris 11/17/2010 8:08:28 PM


On 11/17/2010 11:52 AM, Daniel wrote:

> This is for a computer systems class , and any help will be greatly
> appreciated.


Well, the first thing I would encourage you to do is to go to your 
instructor and ask him or her, and to go to your computer lab and get 
help from one of the student assistants there.  If you are having 
problems, they need to know about it.  Otherwise, that whole "paying for 
instruction" thing is kinda money going to waste.

What they will probably say is "Let's see what you've done so far," and 
folks here will say the same.  Write some code and show it to your 
instructor and student assistants.  We'll need to see that code too. 
What you posted was not Java, nor any language I recognize, so we can't 
do anything with it.

0
Reply markspace 11/17/2010 8:13:09 PM

On 17.11.2010 20:52, Daniel wrote:
> I need to write a Java function that will convert an arbitrary base to
> a decimal.

Actually you do not want to convert a base but rather a number 
representation in a certain base into a representation with another base.

> The number needs to be converted into an array of
> characters. It needs to use uppercase letters of the alphabet for
> input if required by the value of base. Needs to have a void function
> to convert it to the proper value of type array of int before
> converting it to a decimal.

Why a void function for a conversion?

> example given by book:
>
> const int base = 6;
> const int numDigits = 4;
> int number [numDigits];

This is not Java.

> The program must be modified with a different base by changing only
> the constant base, and the number of digits needs to be modified by
> changing numDigits.
>
> This is for a computer systems class , and any help will be greatly
> appreciated.

Erm, what kind of help do you expect?  Learning is best achieved by 
trying out things until one hits a roadblock.  This is the point to ask 
for help - not at the beginning.  I am sure whoever gave the assignment 
has made sure that you got some basic knowledge to solve the task.

Kind regards

	robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
0
Reply Robert 11/17/2010 9:14:39 PM

That is the problem.  It is extra credit and no help will be given.  It is for a computer architecture / computer systems class.  I will work on the code, but I thought somebody might have already completed the function and would recognize the problem.  
0
Reply Daniel 11/17/2010 9:23:27 PM

On Nov 17, 3:14=A0pm, Robert Klemme <shortcut...@googlemail.com> wrote:
> On 17.11.2010 20:52, Daniel wrote:
>
> > I need to write a Java function that will convert an arbitrary base to
> > a decimal.
>
> Actually you do not want to convert a base but rather a number
> representation in a certain base into a representation with another base.
>
> > The number needs to be converted into an array of
> > characters. It needs to use uppercase letters of the alphabet for
> > input if required by the value of base. Needs to have a void function
> > to convert it to the proper value of type array of int before
> > converting it to a decimal.
>
> Why a void function for a conversion?
>
> > example given by book:
>
> > const int base =3D 6;
> > const int numDigits =3D 4;
> > int number [numDigits];
>
> This is not Java.
>
> > The program must be modified with a different base by changing only
> > the constant base, and the number of digits needs to be modified by
> > changing numDigits.
>
> > This is for a computer systems class , and any help will be greatly
> > appreciated.
>
> Erm, what kind of help do you expect? =A0Learning is best achieved by
> trying out things until one hits a roadblock. =A0This is the point to ask
> for help - not at the beginning. =A0I am sure whoever gave the assignment
> has made sure that you got some basic knowledge to solve the task.
>
> Kind regards
>
> =A0 =A0 =A0 =A0 robert
>
> --
> remember.guy do |as, often| as.you_can - without endhttp://blog.rubybestp=
ractices.com/

You would think that I would be provided with more info, but this
teacher loves to play games.  I have basic Java knowledge but time is
a major factor.  I really thought this was a routine problem and
someone had already completed the algorithm.  There are literally
millions of algorithms available online and I was hoping to find one
that needed minor modifications.

Anyway thank you for your response.
0
Reply Daniel 11/17/2010 9:45:50 PM

On Wed, 17 Nov 2010 15:23:26 -0600, Daniel wrote:

> That is the problem.  It is extra credit and no help will be given.  It
> is for a computer architecture / computer systems class.  I will work on
> the code, but I thought somebody might have already completed the
> function and would recognize the problem.
>
I've never done a direct conversion from a string in one base to a string 
in another: that way lies madness. However, conversion from to and from a 
string in a particular base representation is rather trivial.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |
0
Reply Martin 11/17/2010 11:16:10 PM

On 11/17/2010 1:23 PM, Daniel wrote:

>  but I thought somebody might have already completed
> the function and would recognize the problem.


Yes, well, that is what I thought.  Of course we recognize the 
algorithm.  That's because we were dilegent in our course work and 
didn't copy someone else's work.  Do the work yourself if you want to learn.

BTW, what grade level and major is this?  I'm just curious.

0
Reply markspace 11/17/2010 11:30:53 PM

markspace you need to bite me.  Be the last time I ask a question in this group.
0
Reply Daniel 11/18/2010 12:19:04 AM

Daniel wrote:
> markspace you need to bite me.  Be the last time I ask a question in this group.

No one will miss you with that attitude.

Buh-bye now.

-- 
Lew
0
Reply Lew 11/18/2010 12:21:16 AM

On 11/17/2010 4:19 PM, Daniel wrote:
> markspace you need to bite me.  Be the last time I ask a question in this group.


Oh no!  I'm so scared.

Seriously, did you expect any different response?  Would you expect a 
different response from, say, your instructor if he or she found out 
you'd copied your work from the internet?

I don't know the academic policies of your school, but in most colleges 
cheating is grounds for expulsion.  Not loosing points for your 
assignment, not an F in the course.  Expulsion.

You and your attitude need a serious reality check.  I'm helping you out 
by not giving you the answer.  And the internet is everywhere, it'd be 
easy for your instructor to check for people asking about his or her 
assignment online.  Google knows all.  Something else to think about.
0
Reply markspace 11/18/2010 12:34:06 AM

On 17-11-2010 15:13, markspace wrote:
> On 11/17/2010 11:52 AM, Daniel wrote:
>> This is for a computer systems class , and any help will be greatly
>> appreciated.
>
> Well, the first thing I would encourage you to do is to go to your
> instructor and ask him or her, and to go to your computer lab and get
> help from one of the student assistants there. If you are having
> problems, they need to know about it. Otherwise, that whole "paying for
> instruction" thing is kinda money going to waste.
>
> What they will probably say is "Let's see what you've done so far," and
> folks here will say the same. Write some code and show it to your
> instructor and student assistants. We'll need to see that code too. What
> you posted was not Java, nor any language I recognize, so we can't do
> anything with it.

It could be C, C++ or C# - they all have const keyword.

Arne

0
Reply ISO 11/18/2010 12:37:06 AM

On 17-11-2010 16:45, Daniel wrote:
> On Nov 17, 3:14 pm, Robert Klemme<shortcut...@googlemail.com>  wrote:
>> Erm, what kind of help do you expect?  Learning is best achieved by
>> trying out things until one hits a roadblock.  This is the point to ask
>> for help - not at the beginning.  I am sure whoever gave the assignment
>> has made sure that you got some basic knowledge to solve the task.

> You would think that I would be provided with more info, but this
> teacher loves to play games.  I have basic Java knowledge but time is
> a major factor.  I really thought this was a routine problem and
> someone had already completed the algorithm.  There are literally
> millions of algorithms available online and I was hoping to find one
> that needed minor modifications.

The problem is so basic that it may have been considered
irrelevant to include in an algorithm collection.

There must be 10 millions programmers that can implement it.
But as explained elsewhere in the thread then there is builtin
functions for it in Java.

Arne
0
Reply ISO 11/18/2010 12:39:39 AM

Arne,

Thank you.  I found a bit of Java code that converts decimal to string to binary, and now that I see what is going on I won't have much problem.  Now I can find what I need in the Java docs.  

All I was asking for is a starting place not the whole code.  Like I said this caught me off guard since it was not a programming class.  

Later
0
Reply Daniel 11/18/2010 1:25:53 AM

On 11/17/2010 07:34 PM, markspace wrote:
> I don't know the academic policies of your school, but in most colleges
> cheating is grounds for expulsion. Not loosing points for your
> assignment, not an F in the course. Expulsion.

In theory. In practice, the amount of evidence and time needed to handle 
cheating cases means that cheating mostly results in a 0 on the 
assignment, unless it's clearly happening multiple times or it's 
particularly egregious.

On a related note, if you do have the balls to copy code, at least make 
sure the code actually solves the assignment. Probably over half of the 
cheaters I've caught would not have gotten a passing grade on the 
assignment had I not caught them.

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth
0
Reply Joshua 11/18/2010 1:31:58 AM

On 11/17/2010 4:37 PM, Arne Vajh�j wrote:

> It could be C, C++ or C# - they all have const keyword.


The snippet was pretty small, but yes, I guess C or C++ should have been 
obvious.  Still, it was really weird, at least to me.

Why use an array of ints ("number") to hold the digits? You can only 
hold 36 values if you restrict your input to capital letters, as the OP 
stated.  The whole thing just oozes sloppiness.  Whose fault that is, I 
don't truly know.



0
Reply markspace 11/18/2010 1:34:22 AM

On Wed, 17 Nov 2010 11:52:12 -0800 (PST), Daniel
<wolbert.daniel@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I need to write a Java function that will convert an arbitrary base to
>a decimal. The number needs to be converted into an array of
>characters. It needs to use uppercase letters of the alphabet for
>input if required by the value of base. Needs to have a void function
>to convert it to the proper value of type array of int before
>converting it to a decimal.

see http://mindprod.com/jgloss/radix.html
http://mindprod.com/jgloss/hex.html
http://mindprod.com/jgloss/homework.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com

Finding a bug is a sign you were asleep a the switch when coding. Stop debugging, and go back over your code line by line.
0
Reply Roedy 11/18/2010 6:12:57 AM

On 17 Nov., 22:45, Daniel <wolbert.dan...@gmail.com> wrote:
> On Nov 17, 3:14=A0pm, Robert Klemme <shortcut...@googlemail.com> wrote:

> > Erm, what kind of help do you expect? =A0Learning is best achieved by
> > trying out things until one hits a roadblock. =A0This is the point to a=
sk
> > for help - not at the beginning. =A0I am sure whoever gave the assignme=
nt
> > has made sure that you got some basic knowledge to solve the task.

> You would think that I would be provided with more info, but this
> teacher loves to play games.

What you consider "playing games" might be observed by others as
"giving challenging tasks".

> =A0I have basic Java knowledge but time is
> a major factor.

I would guess that with "basic Java knowledge" you should be able to
solve this within a day.

> =A0I really thought this was a routine problem and
> someone had already completed the algorithm. =A0There are literally
> millions of algorithms available online and I was hoping to find one
> that needed minor modifications.

Frankly, you seem to have a questionable approach to "learning".  You
will learn how to program by doing it - not by finding preprogrammed
solutions.  This reminds me of [1] - very interesting read!

Cheers

robert


[1] http://home.uchicago.edu/~aabbott/Papers/futurek.pdf
0
Reply Robert 11/18/2010 9:00:05 AM

Robert,

I am not doing anything different than looking through the Java docs.  I guess your against the example code listed there too.  I think most everybody in this group needs to get off of their high horse.  

Just because nobody seems to take the time to read the string before insulting me, I will repeat my final post on the actual issue:
Thank you. I found a bit of Java code that converts decimal to string to binary, and now that I see what is going on I won't have much problem. Now I can find what I need in the Java docs.

All I was asking for is a starting place not the whole code. Like I said this caught me off guard since it was not a programming class. 

0
Reply Dan 11/18/2010 12:50:53 PM

Dan wrote:
> I guess your [sic] against the example code listed there too.
> I think most everybody in this group needs to get off of their high horse.

Hey, I thought you were done posting in this forum.  I guess that was just 
rhetoric, huh?  How about you get off your high horse, inviting people to bite 
you and all, and stop acting so high and mighty your own self, hm?
> All I was asking for is a starting place not the whole code.
> Like I said this caught me off guard since it was not a programming class.

And this is supposed to justify your vituperative hostility?

Buh-bye now.  Go away.

-- 
Lew
0
Reply Lew 11/18/2010 1:23:09 PM

On Thu, 18 Nov 2010 01:00:05 -0800, Robert Klemme wrote:

> 
> [1] http://home.uchicago.edu/~aabbott/Papers/futurek.pdf
>
Thanks for posting that. Thats a wonderful paper. It should be required 
reading at all teacher training colleges.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |
0
Reply Martin 11/18/2010 2:07:03 PM

Dan wrote:
> All I was asking for is a starting place not the whole code. Like I said this caught me off guard since it was not a programming class.

But you said,
"This is for a computer systems class , [sic]"

Which one is the lie?

--
Lew
0
Reply Lew 11/18/2010 4:08:28 PM

Lew wrote:
> Dan wrote:
>> All I was asking for is a starting place not the whole code. Like I said this caught me off guard since it was not a programming class.
> 
> But you said,
> "This is for a computer systems class , [sic]"
> 
> Which one is the lie?

Probably neither. "computer systems" and "programming" are not synonyms.

Patricia
0
Reply Patricia 11/18/2010 4:18:51 PM

Thank you Patricia.  It is a computer architecture class.  We are using the A+ book and a computer systems book.  The computer systems book covers things like assembly programming, object code, and binary conversions and such.

I do know one of the biggest mistakes  I have ever made is seeking help in this group, and if I could figure out how to quit receiving email about new posts I would go away for good.  However, it is hard to ignore the continual insults that I have had to endure as a result of what I thought was a legitimate request for help.  
0
Reply Dan 11/18/2010 5:15:35 PM

On 11/18/2010 9:15 AM, Dan wrote:

 > It is a computer architecture class.

Just FYI, my computer architecture class involved quite a bit of 
programming.


> We are
> using the A+ book and a computer systems book.


Ooooooh.  This explains a lot.  You mean like this course description here:

<http://www.dcboces.org/CTI/computer_technology>


> The computer systems
> book covers things like assembly programming, object code, and binary
> conversions and such.


When a computer science course covers these things, it does so in great 
detail.  The A+ course I linked looks more like a brief overview.  Most 
folks on this list are professional programmers.  We did the ComSci 
course.  I think you are the first A+ guy to show up here.


 > Thank you Patricia.


One request--could you figure out how to actually reply to the person 
you are addressing?  All your replies have been to your own post.  It's 
really lousing up the threading.


> I do know one of the biggest mistakes  I have ever made is seeking
> help in this group,


Depends.  I betcha you could think of a few others if you tried.


> and if I could figure out how to quit receiving
> email about new posts I would go away for good.


There's that good ol' A+ certification at work.  Web interfaces are sure 
hard to operate.  Another high quality A+ graduate for ya!


>  However, it is hard
> to ignore the continual insults that I have had to endure as a result
> of what I thought was a legitimate request for help.


Heh, we can be a lot more insulting.

Seriously, I accept that your course work probably doesn't need the 
rigor of a full com sci degree.  I jumped to a conclusion about your 
assignment and if you want my appoligy, you have.  I'm sorry I took the 
tone I did in my initial post.  However, we do get a fair number of 
folks who are in a com sci course who post here who are basically asking 
us to do their assignments.  It's kind of a sensitive subject, not the 
least because these folks are cheating themselves out of an education.

So, there was some history here that you weren't aware of, and you 
jumped right into it.  I usually read through the archives of any 
group/mailing list I join, just to get a sense of the group at least. 
Helps to avoid obvious faux pas.
0
Reply markspace 11/18/2010 9:14:39 PM

On 18-11-2010 12:15, Dan wrote:
> I do know one of the biggest mistakes  I have ever made is seeking
> help in this group, and if I could figure out how to quit receiving
> email about new posts I would go away for good.  However, it is hard
> to ignore the continual insults that I have had to endure as a result
> of what I thought was a legitimate request for help.

You are free to leave.

But it will be your loss. There are good info to get here.

And most other similar places would also be a bit picky about
home work etc..

You may learn something from:
   http://catb.org/~esr/faqs/smart-questions.html

Including:
   http://catb.org/~esr/faqs/smart-questions.html#homework
   http://catb.org/~esr/faqs/smart-questions.html#rtfm
   http://catb.org/~esr/faqs/smart-questions.html#keepcool
   http://catb.org/~esr/faqs/smart-questions.html#not_losing

Arne


0
Reply ISO 11/18/2010 11:37:00 PM

On Nov 18, 5:37=A0pm, Arne Vajh=F8j <a...@vajhoej.dk> wrote:
> On 18-11-2010 12:15, Dan wrote:
>
> > I do know one of the biggest mistakes =A0I have ever made is seeking
> > help in this group, and if I could figure out how to quit receiving
> > email about new posts I would go away for good. =A0However, it is hard
> > to ignore the continual insults that I have had to endure as a result
> > of what I thought was a legitimate request for help.
>
> You are free to leave.
>
> But it will be your loss. There are good info to get here.
>
> And most other similar places would also be a bit picky about
> home work etc..
>
> You may learn something from:
> =A0 =A0http://catb.org/~esr/faqs/smart-questions.html
>
> Including:
> =A0 =A0http://catb.org/~esr/faqs/smart-questions.html#homework
> =A0 =A0http://catb.org/~esr/faqs/smart-questions.html#rtfm
> =A0 =A0http://catb.org/~esr/faqs/smart-questions.html#keepcool
> =A0 =A0http://catb.org/~esr/faqs/smart-questions.html#not_losing
>
> Arne

I guess you are right.  Next time I will be more careful about how I
ask questions.

Have a great day!
0
Reply Daniel 11/19/2010 12:23:10 AM

Dan wrote:
>>> All I was asking for is a starting place not the whole code. Like I
>>> said this caught me off guard since it was not a programming class.

Lew wrote:
>> But you said,
>> "This is for a computer systems class , [sic]"
>>
>> Which one is the lie?

Patricia Shanahan wrote:
> Probably neither. "computer systems" and "programming" are not synonyms.

OK, but it sure was misleading to have a programming question from someone 
who's telling us that he's taking a computer whatever class, that it's a class 
assignment, and then later to renege on that claim, whilst cussing out 
markspace for trying to help based on what was said the first time.  It is 
reasonable to assume based on his first posts that it was a computer "systems" 
class that also taught programming.  So maybe it wasn't an out-and-out lie, 
but it sure was disingenuous of him to pretend that he hadn't made an effort 
to give the impression that he was taking a programming class.  Especially 
when he did it to try to justify asking markspace to "bite" him.  Markspace 
was genuinely trying to help based on the information that was provided at the 
time, and didn't deserve that kind of response.

-- 
Lew
0
Reply Lew 11/19/2010 5:16:01 AM

On Nov 18, 11:16=A0pm, Lew <no...@lewscanon.com> wrote:
> Dan wrote:
> >>> All I was asking for is a starting place not the whole code. Like I
> >>> said this caught me off guard since it was not a programming class.
> Lew wrote:
> >> But you said,
> >> "This is for a computer systems class , [sic]"
>
> >> Which one is the lie?
> Patricia Shanahan wrote:
> > Probably neither. "computer systems" and "programming" are not synonyms=
..
>
> OK, but it sure was misleading to have a programming question from someon=
e
> who's telling us that he's taking a computer whatever class, that it's a =
class
> assignment, and then later to renege on that claim, whilst cussing out
> markspace for trying to help based on what was said the first time. =A0It=
 is
> reasonable to assume based on his first posts that it was a computer "sys=
tems"
> class that also taught programming. =A0So maybe it wasn't an out-and-out =
lie,
> but it sure was disingenuous of him to pretend that he hadn't made an eff=
ort
> to give the impression that he was taking a programming class. =A0Especia=
lly
> when he did it to try to justify asking markspace to "bite" him. =A0Marks=
pace
> was genuinely trying to help based on the information that was provided a=
t the
> time, and didn't deserve that kind of response.
>
> --
> Lew

Lew your are a psychotic nutcase, and you really need to mind your own
business, and you need to keep your assumptions between you and your
doctor.
0
Reply Daniel 11/19/2010 5:44:35 PM

On 19-11-2010 00:16, Lew wrote:
> Dan wrote:
>>>> All I was asking for is a starting place not the whole code. Like I
>>>> said this caught me off guard since it was not a programming class.
>
> Lew wrote:
>>> But you said,
>>> "This is for a computer systems class , [sic]"
>>>
>>> Which one is the lie?
>
> Patricia Shanahan wrote:
>> Probably neither. "computer systems" and "programming" are not synonyms.
>
> OK, but it sure was misleading to have a programming question from
> someone who's telling us that he's taking a computer whatever class,
> that it's a class assignment, and then later to renege on that claim,
> whilst cussing out markspace for trying to help based on what was said
> the first time. It is reasonable to assume based on his first posts that
> it was a computer "systems" class that also taught programming. So maybe
> it wasn't an out-and-out lie, but it sure was disingenuous of him to
> pretend that he hadn't made an effort to give the impression that he was
> taking a programming class. Especially when he did it to try to justify
> asking markspace to "bite" him. Markspace was genuinely trying to help
> based on the information that was provided at the time, and didn't
> deserve that kind of response.

But you think it is OK to accuse him of lying based on "It
is reasonable to assume"?

Arne

0
Reply UTF 11/20/2010 12:48:25 AM

Daniel wrote:
> Lew your [sic] are a psychotic nutcase, and you really need to mind your own
> business, and you need to keep your assumptions between you and your
> doctor.

When you post in a public forum, it becomes everyone's business.  You have 
shown yourself consistently to be rude, misleading, self-righteous and 
completely unworthy.  I do not feel in the least insulted by your stupid 
comments because you have already amply demonstrated that your opinion means 
less than nothing.  You came in here asking for help and have yet to show any 
courtesy or gratitude.  Plonk.

-- 
Lew
0
Reply Lew 11/20/2010 1:58:53 AM

On Nov 19, 6:48=A0pm, Arne Vajh=F8j <a...@vajhoej.dk> wrote:
> On 19-11-2010 00:16, Lew wrote:
>
>
>
> > Dan wrote:
> >>>> All I was asking for is a starting place not the whole code. Like I
> >>>> said this caught me off guard since it was not a programming class.
>
> > Lew wrote:
> >>> But you said,
> >>> "This is for a computer systems class , [sic]"
>
> >>> Which one is the lie?
>
> > Patricia Shanahan wrote:
> >> Probably neither. "computer systems" and "programming" are not synonym=
s.
>
> > OK, but it sure was misleading to have a programming question from
> > someone who's telling us that he's taking a computer whatever class,
> > that it's a class assignment, and then later to renege on that claim,
> > whilst cussing out markspace for trying to help based on what was said
> > the first time. It is reasonable to assume based on his first posts tha=
t
> > it was a computer "systems" class that also taught programming. So mayb=
e
> > it wasn't an out-and-out lie, but it sure was disingenuous of him to
> > pretend that he hadn't made an effort to give the impression that he wa=
s
> > taking a programming class. Especially when he did it to try to justify
> > asking markspace to "bite" him. Markspace was genuinely trying to help
> > based on the information that was provided at the time, and didn't
> > deserve that kind of response.
>
> But you think it is OK to accuse him of lying based on "It
> is reasonable to assume"?
>
> Arne

I will admit to be uneducated and not knowing what or how to ask the
question or even where to ask it.  However, I never intentionally
mislead anyone that is why I told everyone it was a class assignment
to begin with.

Thank you very much and have a wonderful weekend!
0
Reply Daniel 11/20/2010 2:17:09 AM

On Fri, 19 Nov 2010 18:17:09 -0800 (PST), Daniel
<wolbert.daniel@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I will admit to be uneducated and not knowing what or how to ask the
>question or even where to ask it.  However, I never intentionally
>mislead anyone that is why I told everyone it was a class assignment
>to begin with.

see http://mindprod.com/jgloss/radix.html
http://mindprod.com/jgloss/homework.html
http://mindprod.com/jgloss/newsgroup.html

Lew likes to play an Eric Berne game called Gotcha. His joy in life is
to humiliate others.  You would think everyone would plonk him, but he
is well informed and spends huge amounts of time in the service of
others with extremely detailed answers. You have just have to filter
out the insults he likes to deliver that gold with.

He is SO present here because in face to face life, people won't let
him get away with it. Think of it as like a Tourette's tic and perhaps
you can appreciate him for the national treasure he is.

-- 
Roedy Green Canadian Mind Products
http://mindprod.com

If you give your kitchen floor a quick steam mop every few days, you will find you never have to get out buckets and brushes for deep cleaning. Similary, if you keep your code tidy, refactoring as you go, you probably won't need major rewrites.
0
Reply Roedy 11/26/2010 4:27:28 PM

Daniel wrote, quoted or indirectly quoted someone who said :
>> I will admit to be uneducated and not knowing what or how to ask the
>> question or even where to ask it.  However, I never intentionally
>> mislead anyone that is why I told everyone it was a class assignment
>> to begin with.

Roedy Green wrote:
> see http://mindprod.com/jgloss/radix.html
> http://mindprod.com/jgloss/homework.html
> http://mindprod.com/jgloss/newsgroup.html
>
> Lew likes to play an Eric Berne game called Gotcha. His joy in life is
> to humiliate others.  You would think everyone would plonk him, but he
> is well informed and spends huge amounts of time in the service of
> others with extremely detailed answers. You have just have to filter
> out the insults he likes to deliver that gold with.
>
> He is SO present here because in face to face life, people won't let
> him get away with it. Think of it as like a Tourette's tic and perhaps
> you can appreciate him for the national treasure he is.

You're talking to the poster who out of the blue invited markspace to bite 
him.  Daniel is the insulter.

As for your fantasies about my life, enjoy them with my blessing.

-- 
Lew
0
Reply Lew 11/26/2010 4:39:07 PM

On 26-11-2010 11:27, Roedy Green wrote:
> Lew likes to play an Eric Berne game called Gotcha. His joy in life is
> to humiliate others.  You would think everyone would plonk him, but he
> is well informed and spends huge amounts of time in the service of
> others with extremely detailed answers. You have just have to filter
> out the insults he likes to deliver that gold with.
>
> He is SO present here because in face to face life, people won't let
> him get away with it. Think of it as like a Tourette's tic and perhaps
> you can appreciate him for the national treasure he is.

Lew can be a bit harsh (occasionally too harsh IMHO), but rather
someone knowledgeable telling the facts a bit blunt than
a clueless polite person.

http://mindprod.com/jgloss/radix.html

is pretty bad.

<quote>
String g = Integer.toString( i, 36 /* radix 2 to 36 */ );
....
int i = Integer.parseInt( g.trim(), 36 /* radix 2 to 36 */ );
</quote>

Arne



0
Reply ISO 11/26/2010 10:00:13 PM

39 Replies
407 Views

(page loaded in 0.463 seconds)

Similiar Articles:


















7/25/2012 12:50:02 AM


Reply: