One quiz at a time

Talk about anything but keep it polite and reasonably clean.
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

3112
CPR 1
Graham’s Malvedos 1996
Posts: 791
Joined: 16:18 Mon 22 Apr 2013

Re: One quiz at a time

Post by CPR 1 »

3002
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

flash_uk wrote: 21:00 Sun 19 Mar 20172927
Second-best of the guesses up to it.

Old Bridge wrote: 21:24 Sun 19 Mar 20173112
Fourth-best of the guesses up to it.

CPR 1 wrote: 21:44 Sun 19 Mar 20173002
Third-best of the guesses up to it.
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

(Aside: are you flailing around or is somebody doing the logic? The guesses suggest flailing.)
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

2875
User avatar
Doggett
Morgan 1991
Posts: 1190
Joined: 17:40 Sun 20 Sep 2015
Location: Weymouth
Contact:

Re: One quiz at a time

Post by Doggett »

2902? And yes...just flailing around, but trying to apply some logic too/guess.
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

Old Bridge wrote: 22:03 Sun 19 Mar 20172875
Second. Much more cunning.

Doggett wrote: 22:07 Sun 19 Mar 20172902? And yes...just flailing around, but trying to apply some logic too/guess.
Third.
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

2873
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

Old Bridge wrote: 22:18 Sun 19 Mar 20172873
Even though it is the best guess so far, less cunning than I had hoped.
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

2850
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

Ahh. not my turn.

I shall go to bed. We are an hour ahead of you.
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

I am going to bed soon as well. A few more guesses might help somebody post some logic, to lessen the flailing.
CPR 1
Graham’s Malvedos 1996
Posts: 791
Joined: 16:18 Mon 22 Apr 2013

Re: One quiz at a time

Post by CPR 1 »

2706
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

CPR 1 wrote: 22:48 Sun 19 Mar 20172706
It being the sixth-best might seem rubbish. But it greatly narrows the search space.
User avatar
flash_uk
Graham’s 1977
Posts: 4101
Joined: 20:02 Thu 13 Feb 2014
Location: London

Re: One quiz at a time

Post by flash_uk »

2790
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

flash_uk wrote: 23:36 Sun 19 Mar 20172790
Just in time — new best.

Good night.
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

2850
PhilW
Dalva Golden White Colheita 1952
Posts: 3522
Joined: 14:22 Wed 15 Dec 2010
Location: Near Cambridge, UK

Re: One quiz at a time

Post by PhilW »

2585
(based on logic; I may be one off).
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

Old Bridge wrote: 06:37 Mon 20 Mar 20172850
New best.
PhilW wrote: 11:50 Mon 20 Mar 20172585
(based on logic; I may be one off).
Logic is over-rated, Mr. 11th-Best. I’m disappointed.
User avatar
flash_uk
Graham’s 1977
Posts: 4101
Joined: 20:02 Thu 13 Feb 2014
Location: London

Re: One quiz at a time

Post by flash_uk »

2830
User avatar
Old Bridge
Warre’s Traditional LBV
Posts: 343
Joined: 11:33 Thu 22 Dec 2016
Location: Telemark, Norway

Re: One quiz at a time

Post by Old Bridge »

2823
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

flash_uk wrote: 22:12 Mon 20 Mar 20172830
The book has several indexes, so the entries each need an index identifier. Word has no built-in means of knowing whether any of these have been mis-typed, so I wrote a script.

Code: Select all

' © 2017 Julian D. A. Wiseman, contactable via www.jdawiseman.com
' Copying and distribution of this file, with or without modification, are permitted in any medium without royalty
' provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Sub FieldIdentifiers()
	Dim i, j, k, numDifferentIdentifiers, iIndentifierCount(1 To 100) As Integer
	Dim thisIdent, strIdentifier(1 To 100), ans As String
	Dim fld As Field
	Dim thisIdentExists As Boolean

	numDifferentIdentifiers = 0

	For Each fld In ActiveDocument.Fields
		If fld.Type = wdFieldIndexEntry Then
			i = InStr(1, fld.Code.Text, "\f", 1)
			If i = 0 Then
				MsgBox "No \f in “" & fld.Code.Text & "”", 0, "XE missing \f"
			Else
				thisIdent = Mid(fld.Code.Text, i + 3, Len(fld.Code.Text) - i - 3)
				thisIdentExists = False
				For j = 1 To numDifferentIdentifiers
					If thisIdent = strIdentifier(j) Then
						iIndentifierCount(j) = 1 + iIndentifierCount(j)
						thisIdentExists = True
						Exit For
					End If  ' thisIdent = strIdentifier(j)
				Next j
				If Not (thisIdentExists) Then
					numDifferentIdentifiers = 1 + numDifferentIdentifiers
					strIdentifier(numDifferentIdentifiers) = thisIdent
					iIndentifierCount(numDifferentIdentifiers) = 1
				End If  ' Not(thisIdentExists)
			End If	' i=0
		End If  ' wdFieldIndexEntry
	Next fld
	' Sort, not efficiently as done once and list not long
	For i = 1 To numDifferentIdentifiers - 1: For j = i + 1 To numDifferentIdentifiers
		If strIdentifier(j) < strIdentifier(i) Then
			ans = strIdentifier(j): strIdentifier(j) = strIdentifier(i): strIdentifier(i) = ans  ' ans is temp variable
			k = iIndentifierCount(j): iIndentifierCount(j) = iIndentifierCount(i): iIndentifierCount(i) = k  ' k is temp variable
		End If
	Next j: Next i
	ans = "": k = 0
	For j = 1 To numDifferentIdentifiers
		k = k + iIndentifierCount(j)
		' In next line the ‘2’ is approximate, being relative width of digit and space
		ans = ans & Space(2 * (Len(Format(iIndentifierCount(1), "#,##0")) - Len(Format(iIndentifierCount(j), "#,##0")))) _
		& Format(iIndentifierCount(j), "#,##0") & " * " & strIdentifier(j) & vbNewLine
	Next j
	ans = ans & vbNewLine & "Total = " & k
	MsgBox ans, 0, "Frequencies of \f (and subsequent) parameters in XE index entries"
End Sub  ' FieldIdentifiers
Which results in:
Image
Mike’s turn.

Perhaps henceforth questions of the form ‘how many …?’ could have answers in the form ‘nth-best guess’.



Old Bridge wrote: 22:30 Mon 20 Mar 20172823
Second-best of the guesses up to it.
PhilW
Dalva Golden White Colheita 1952
Posts: 3522
Joined: 14:22 Wed 15 Dec 2010
Location: Near Cambridge, UK

Re: One quiz at a time

Post by PhilW »

jdaw1 wrote: 22:11 Mon 20 Mar 2017
PhilW wrote: 11:50 Mon 20 Mar 20172585
(based on logic; I may be one off).
Logic is over-rated, Mr. 11th-Best. I’m disappointed.
Me too. Stupid calculation error (mis-read/typed an 8 for a 3). At the time (of Simon's 4800 guess) we knew that the answer was >2583, and <2837 (a smaller range than you indicated), unfortunately a typo led me to <2587 instead of 2837, which was less helpful.
{Sackcloth}
User avatar
jdaw1
Cockburn 1851
Posts: 23638
Joined: 15:03 Thu 21 Jun 2007
Location: London
Contact:

Re: One quiz at a time

Post by jdaw1 »

PhilW wrote: 00:13 Tue 21 Mar 2017(a smaller range than you indicated)
Sackcloth and ashes for me too: I realised after that I was using the easy high-yield information, but not all the information.

I can’t yet see what is the optimal guessing strategy.
User avatar
flash_uk
Graham’s 1977
Posts: 4101
Joined: 20:02 Thu 13 Feb 2014
Location: London

Re: One quiz at a time

Post by flash_uk »

I'm staying in a hotel tonight. Which chain?
Post Reply