• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Smallest number

 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
of disks ?
What is the smallest number of disks that need to be moved to make the triangle point downwards ?
[B]

[/B]
[ August 26, 2003: Message edited by: HS Thomas ]
 
Roy Tock
Ranch Hand
Posts: 83
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Three.
Assume they're numbered like this:
---0---
--1-2--
-3-4-5-
6-7-8-9
-------
Then we'll move 0, 6, and 9 like so:
-------
6-1-2-9
-3-4-5-
--7-8--
---0---
I don't know how to prove that we can't do it in two, though.
(Edited to fix spacing.)
[ August 26, 2003: Message edited by: Roy Tock ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None, turn your monitor
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would argue that since DOM is in Oz, his monitor is probably already turned downward. No extra effort required.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
:roll: Serves me right, I guess.
I keep meaning to find the lattitude/longitude for the Ranch to see how close I am to the opposite side of the globe.
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lattitude/longitude for the Ranch


Using GMT time differentials and using , the options are
GMT - 7.00 So the options are :
US & Canada (Mountain Time)
Chihuahua, La Paz, Mazatlan
Arizona
Somewhere sharing a longitude with Arizona , I'd guess.
BTW , the answer posted is right.
Moving two disks you may get it to point anywhere but downward, I guess.
regards
[ August 27, 2003: Message edited by: HS Thomas ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the a rough approximation with respect to timezone would be GMT+5?
Hmm, 3 hours off. I think that's halfway between me and India.
Sorry about the hijack!
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that's halfway between me and India.
Sorry about the hijack!

The hijack is ;
I thought you were in Australia. So GMT + (9.5 or 10) should be you.
Once you get past Fiji to the International Date Line you loose a day.
So crossing to Hawaii the time would be GMT - 10.
The time for the JavaRanch posts are GMT - 7 whereever you post from.

How would you work out the latitude of a post.
Better still is there an IP address for the JavaRanch? You could feed it into Norton Visual Tracker.
Server Name: DNS1.EJIP.NET
IP Address: 64.78.181.6
Registrar: BULKREGISTER, LLC.
Whois Server: whois.bulkregister.com
Referral URL: http://www.bulkregister.com
Server Name: DNS2.EJIP.NET
IP Address: 64.78.181.10
Registrar: BULKREGISTER, LLC.
Whois Server: whois.bulkregister.com
Referral URL: http://www.bulkregister.com

from a WHOIS internet registry.
My Alert Tracker isn't working right now (Java applet).
regards
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm the west coast, GMT +8:00 (Dave-Standard-Time, as I like to call it)
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The time for the JavaRanch posts are GMT - 7 whereever you post from.
No, it's currently GMT - 6. Where do you get GMT - 7? This post will appear at approximately 7:20 GMT - you can do the math from there.
Here are a couple time servers for you:
http://www.worldtimeserver.com/
http://www.timeanddate.com/worldclock/
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The post appeared at 8;20 GMT. I live about 2 miles from Greenwich.
This post should appear at 8:25 AM
and the time should show 8:25 - 7 = 1:25 PM.
BTW the IP addresses show up as a ISP based in Denver, Nevada, Las VEgas . SO ???
regards
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant 1:25 AM ( in the morning).
So the Javaranch is at GMT - 6 and the hoster is at GMT - 7.
Too expensive to do your own hosting?
How did this question start anyway?
regards
[ August 27, 2003: Message edited by: HS Thomas ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but England is currently on summer time (BST), so UTC (or GMT) +1.
Regards, Andrew
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but England is currently on summer time (BST), so UTC (or GMT) +1.

Oops , forgot that.
Does no one else adjust their clocks in the summer ?
Highly recommended !
regards
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does no one else adjust their clocks in the summer ?
Highly recommended !

Unfortunately the Ranch does, which is why I said it's "currently" GMT-6. Pain in the ass when you're trying to compare to a useful standard like GMT though. Arizona forgoes this nonsense, for which I am glad. Which made it odd that your answer was "same latitude as Arizona" since, while as it happens you were right, the logic was mistaken - other US states in Arizona's latitude do not share its time zone during summer.
Incidentally, most of the pages in the Big Moose Saloon include a notice about the time zone, near the bottom. I've taken pains to make sure it's correct.
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All times are MDT (US) = GMT - 0600


Yes it would be highly problematic if Wales,Scotland decided not to "Spring forward,fall backwards".
I had used the Date Time facility on Windows that tries to simplify it by location relative to GMT. Catering for BST and other standards would have been too complex.
Mind you have done a good job of it.
BST = GMT + 0100
Must remember the time goes back to GMT soon.
regards
[ August 27, 2003: Message edited by: HS Thomas ]
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mind you have done a good job of it.
Well, I just adjust the message manually - the forum software isn't sophisticated enough to know the difference. I note that Windows' list of time zones does have a separate listing for Arizona, which is helpful. However, despite their labeling, they don't actually have a category for true GMT They just have the time that the people in Greenwich are using. :roll: Java, fortunately, provides options for whatever time zone you want.
Anyway, to answer the original question - the server is actually located in Denver, Colorado. I'll leave it to someone else to figure out exactly where DOM should relocate himself to, in order to be perfectly upside-down in a standard JavaRanch frame of reference.
[ August 27, 2003: Message edited by: Jim Yingst ]
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Speaking of antipodes...
Has anyone ever seen an 'upside-down' globe? (Jeez, even 'upside-down' is prejudiced, for our 'otherwise-polared' friends).
And it doesn't count to just turn a regular globe over. I'm talking South Pole on top, and when the South Pole is on top, you don't have to do a handstand to read the writing on the globe!
I want one!
 
HS Thomas
Ranch Hand
Posts: 3404
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clever !

Early on, I couldn't understand why having the South Pole on the top would make it easier to read. Bending down over the globe, it certainly does.
The only problem with that is people might start believing that the South Pole was on the top.
A great idea but not very marketable (probably in Australia ? )!
regards
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See, that's the thing...
The South Pole IS on top, all these globes are wrong!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic