Author Topic: New interface problems - Digressions  (Read 1647 times)

AvastMH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7053
    • View Profile
New interface problems - Digressions
« on: November 30, 2015, 09:52:47 pm »
I agree Michael, and to that end I have found the prefect 'icon' to help us know that we are sailing out of the OW5 dock.....





 ;D ;D ;D

Janet Jaguar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10205
  • Smell the sea, feel the sky, & fly into the mystic
    • View Profile
Re: New interface problems - Digressions
« Reply #1 on: November 30, 2015, 09:58:46 pm »
Love that icon, Joan, but I'm NOT one of the women on the dock - I'm on the ship!!

AvastMH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7053
    • View Profile
Re: New interface problems - Digressions
« Reply #2 on: November 30, 2015, 10:01:00 pm »
 ;D

Absolutely so Janet - I just thought it would nice to have a line up of good folk to wave us off  ;)
« Last Edit: November 30, 2015, 11:28:29 pm by AvastMH »

mapurves

  • Shipherd
  • Hero Member
  • *****
  • Posts: 1723
    • View Profile
Re: New interface problems - Digressions
« Reply #3 on: November 30, 2015, 10:20:31 pm »
;D

Absolutely so Janet - I just thought it would nice to have a line up of good folk to wave us of  ;)

Have you got the phone number of the one third from the left?   ;D

Janet Jaguar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10205
  • Smell the sea, feel the sky, & fly into the mystic
    • View Profile
Re: New interface problems - Digressions
« Reply #4 on: November 30, 2015, 10:24:49 pm »
Sorry, no - they don't carry any cell phones or they'd be talking and not waving.  :)

mapurves

  • Shipherd
  • Hero Member
  • *****
  • Posts: 1723
    • View Profile
Re: New interface problems - Digressions
« Reply #5 on: November 30, 2015, 11:18:43 pm »
Sorry, no - they don't carry any cell phones or they'd be talking and not waving.  :)

 :D :D :D :D :D :D  ;D ;D ;D ;D ;D

AvastMH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7053
    • View Profile
Re: New interface problems - Digressions
« Reply #6 on: November 30, 2015, 11:32:45 pm »
;D

Absolutely so Janet - I just thought it would nice to have a line up of good folk to wave us of  ;)

Have you got the phone number of the one third from the left?   ;D

 ;D ;D ;D
« Last Edit: November 30, 2015, 11:38:47 pm by AvastMH »

Randi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 12842
    • View Profile
Re: New interface problems - Digressions
« Reply #7 on: December 01, 2015, 01:13:37 pm »
According to http://www.oldweather.org/#/, there are 15 Total ships.
According to Randi there are 5 ships and 14 ship-year pairs.
:-\

Janet Jaguar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10205
  • Smell the sea, feel the sky, & fly into the mystic
    • View Profile
Re: New interface problems - Digressions
« Reply #8 on: December 01, 2015, 03:02:19 pm »
The home page definitely does not know how to count.

Interesting trivia since counting objects is something computers should be good at.  I wonder what invisible object is included in its counting range?

Hanibal94

  • Shipherd
  • Hero Member
  • *****
  • Posts: 4341
  • Better to do it, than live with the fear of it.
    • View Profile
Re: New interface problems - Digressions
« Reply #9 on: December 01, 2015, 06:02:00 pm »
The home page definitely does not know how to count.

Interesting trivia since counting objects is something computers should be good at.  I wonder what invisible object is included in its counting range?

Maybe it has something to do with this?
https://en.wikipedia.org/wiki/Zero-based_numbering

That can cause some nasty errors in certain programming languages if you don't know about it.

AvastMH

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7053
    • View Profile
Re: New interface problems - Digressions
« Reply #10 on: December 01, 2015, 06:46:04 pm »
 zero numbering got my brain fairly fried  :o

Janet Jaguar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10205
  • Smell the sea, feel the sky, & fly into the mystic
    • View Profile
Re: New interface problems - Digressions
« Reply #11 on: December 01, 2015, 06:49:38 pm »
The home page definitely does not know how to count.

Interesting trivia since counting objects is something computers should be good at.  I wonder what invisible object is included in its counting range?

Maybe it has something to do with this?
https://en.wikipedia.org/wiki/Zero-based_numbering

That can cause some nasty errors in certain programming languages if you don't know about it.
Nice if you want to select an entire table including headers.  Which this isn't. 

studentforever

  • Editor
  • Hero Member
  • *****
  • Posts: 3253
    • View Profile
Re: New interface problems - Digressions
« Reply #12 on: December 01, 2015, 08:40:25 pm »
I KNEW I was right to give up attempts at computer programming after Fortran & Basic!!

Hanibal94

  • Shipherd
  • Hero Member
  • *****
  • Posts: 4341
  • Better to do it, than live with the fear of it.
    • View Profile
Re: New interface problems - Digressions
« Reply #13 on: December 02, 2015, 01:20:21 pm »
zero numbering got my brain fairly fried  :o

OK, let's see if I can explain it with the use of an example: This is an array (type of list) of bits of text (called "Strings" in Java and some other programming languages).

String[] dwarves = {"Happy","Grumpy","Sleepy","Sneezy","Bashful","Dopey","Doc"}

Zero-based numbering means that instead of going 1,2,3,4,etc., the index of the array goes 0,1,2,3,etc. So when you access an individual item of the array, which is done by referencing its index, you have to remember that the first item has the index 0, not 1, the second item has the index 1, not 2, and so on.
So if you try the following things (in each case, you are renaming a single item):

dwarves[0] = "Angry";
dwarves[5] = "Stupid";
dwarves[7] =  "Mac";


... then the first two will work fine, but the third will fail and chuck an error message at you.

From what I've read, the reason zero-based numbering exists because it works better on the hardware side, and makes it easier to do certain complex things with arrays and other sequences.
Plus, the designers of some very influential programming languages chose to do things this way, so it's very common today.
I mentioned it because I thought "Maybe the homepage has an unnecessary correction for this built in", since some programs do have necessary ones built in.

Does this make the topic at least a little easier to understand?

Danny252

  • Editor and Shipherd
  • Hero Member
  • *****
  • Posts: 744
    • View Profile
Re: New interface problems - Digressions
« Reply #14 on: December 02, 2015, 01:41:33 pm »
From what I've read, the reason zero-based numbering exists because it works better on the hardware side, and makes it easier to do certain complex things with arrays and other sequences.

It's not even complex things - it's very simple things! The way an array/list/whatever of data is stored is by putting them sequentially in memory, and then recording the location of the first piece of data and the size of the pieces.

To access the first item, you simply look at the start of your array. For the 2nd item, you go to the start, and then skip ahead by one piece of data. For the 3rd, you skip 2 pieces of data from the start position. By zero-indexing, you can therefore access the Nth item by looking at Initial Position + N x Size, which for the first item (N=0) simply gives you the initial position. The other option is to subtract one from everything each time you access data in an array, and given that the vast majority of data is stored in arrays, that's a whole lot of subtractions to do...