This week's book giveaway is in the Go forum.
We're giving away four copies of Head First Go and have Jay McGavren on-line!
See this thread for details.
Win a copy of Head First Go this week in the Go forum!

Mark Ii

Ranch Hand
+ Follow
since Oct 25, 2018
Mark likes ...
Debian Eclipse IDE Java
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
2
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mark Ii

fred rosenberger wrote:does it compile? does it run? what happens when you run it?




It runs. But it is resolution dependent. On widescreen monitor and close to square resolution the flag acts kind of odd one in a correct format and one stretched. Is this behavior okay? Can this be fixed?
2 weeks ago
Here is a glimpse of endeavor to draw the flag of USA on Gnome or XFCE Terminal or Windows Command Prompt or KDE Konsole.


Is it possible to check if I am successful or not?





2 weeks ago
The following code is the implementation of Clock and Canadian Flag and combinations of letters. Anybody care for taking a look at it. I know it's poor coding. Just need feedback.


Clock.html






Combination.html:






Canada Flag Image
I am trying to draw the flag of some easier flags (easier to draw) using Java Computer Language that has three stripes of color like Bangladesh, Nigeria, Mali, Chad, Ukraine, Italy, Germany, Russia, Ireland etc.

Here is the code. Can anyone kindly state if this is the best way to do this? The following code represents the flag of Chad. Is there anything I need to change for efficiency or I am doing something wrong or not?

2 weeks ago
Remember that OOP is about modularizing code into smaller chunks. I can see you tried your best. So to help you. Here are my suggestions:

Create a separate Province.java:



Then make Canada class and constructor like this:




So now you can get the rest. Create a print method inside the Canada class. I believe you can do the rest.


2 weeks ago

Campbell Ritchie wrote:In which case I apologise.



No need to apologize, Mr. Ritchie. It was my mistake. I wasn't clear. Sorry.
2 weeks ago
According to computer simulation, we could emulate two blackholes colliding.


But we never saw blackhole up close neither with our eyes or through our all kinds of telescope.

But we have Hawking Radiation Theory and Stephen Hawking wrote papers on it. There is Alice and Bob theory by Theoretical Physicist Leonard Susskind.

We have no proof. All is a mirage of blackhole. Or about dark matter. Illusive. Never saw it. But can sense it. There.

If only the universe were simple like bits and bytes and petabytes of a mainframe computer.




2 weeks ago

Campbell Ritchie wrote:There is no need to be sarcastic.



No. Mr. Ritchie. I am not being sarcastic or joking with you. I am really a simple man. The complexity of this world sometimes baffles me. That's all.
2 weeks ago

Campbell Ritchie wrote:

Mark Ii wrote:. . . Sir, Why are you being so pessimistic?

Because I have seen the sort of rubbish posted on the net. Because I have seen people believe the bad stuff, or misinterpret the good stuff.

I am not being pessimistic, but realistic.

What I wanted to say is that I know Google doesn't always give you a valid answer.

But you didn't say that in the post I quoted.

But once you practice with coding from valid tutorials and try, finally you will be able to pick and choose what answer is the best one. . . .

But that takes time, more time than our beginners have got.

Will delete the accidental duplications.



Mr. Ritchie I am too simple a person. That's true. I don't understand the complicated process. Thank you for clearing that up.
2 weeks ago

Campbell Ritchie wrote:

Mark Ii wrote:. . . And try to find answers by googling.

That is the one bit of iffy advice amongst lots of good adice. You never know whether a web search will return something good or something bad, and there is so much bad code out there that beginners may pick the wrong post

Post your question about the problem here.  Hope it helps.

Of course that helps We shall tell you soon enough whether your code is good o bad




Sir, Why are you being so pessimistic? What I wanted to say is that I know Google doesn't always give you a valid answer. But once you practice with coding from valid tutorials and try, finally you will be able to pick and choose what answer is the best one.

I didn't say that completely trust Google. But Mr. Ritchie even to search for good tutorials you have to use Google. And to pick the best mango from the worst tutorials you need to study.

And evaluating my code I am a beginner also. I believe you yourself was a beginner. So we learn from mistakes and become expert afterward.

2 weeks ago