BBO Discussion Forums: Understand GIB bid explanations - BBO Discussion Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Understand GIB bid explanations

#1 User is offline   Rain 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,592
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Singapore

Posted 2011-November-18, 06:26

Barmar (now a GIB developer on BBO as well as admin/moderator on BBF) has written this document about GIB alerts and what they mean. It's good stuff.

http://www.bridgebase.com/doc/gib_descriptions.php

This post has been edited by barmar: 2014-June-08, 17:26
Reason for edit: updated link

"More and more these days I find myself pondering how to reconcile my net income with my gross habits."

John Nelson.
0

#2 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,542
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-November-18, 19:43

Could this be saved in a format that is readable by remedial software? Thanks!
0

#3 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-November-18, 20:59

What's "remedial software"?

#4 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,542
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-November-18, 21:13

IE8, MicroSoft Office 2003, Windows XP. Thanks.
0

#5 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-November-18, 22:12

I'm not sure what you're asking for. Are you saying that the page isn't readable in your web browser? I think it's a pretty simple web page, not using any fancy features. I wrote it using a WYSIWYG HTML editor called BlueGriffon. It looks fine to me in Safari, Chrome, and Firefox.

I don't have Windows, so I can't tell what it looks like in IE. Can you post a screenshot of the problem?

#6 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,542
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-November-18, 22:32

View Postbarmar, on 2011-November-18, 22:12, said:

Are you saying that the page isn't readable in your web browser?
Yes, that is what I am saying. It doesn't seem to recognize .xhtml. After I attribute this filetype to IE, it opens and show me what appears to be the source code of your file:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html (View Source for full doctype...)>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>GIB Bid Descriptions</title>
<style type="text/css">#default-body { font-family: Arial, Helvetica, sans-serif; }</style>
</head>
.
.
.
</html>
0

#7 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-November-18, 23:00

Are you saying that when you click on the link it downloads the file instead of displaying the web page, and then can't find an application to display it? Or are you doing something different to run into this problem?

XHTML is cleaned-up, more strict version of HTML, it has been around for over a decade, so I'm surprised that any recent browser would have difficulty with it.

If you're downloading the file manually, maybe you just need to rename it to .html or .htm to get IE to load it properly.

#8 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,542
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-November-18, 23:11

Originally, when I clicked on the link, it didn't know what application to use to open the file, so I selected IE... Then, when it uses IE to open the file, I get the source code as above. At your suggestion, I renamed the file *.html and was able to open it. Will everyone with old software have to do this?
0

#9 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-November-18, 23:26

I just found this in Wikipedia:

Quote

Most web browsers have mature support[18] for all of the possible XHTML media types.[19] The notable exception is Internet Explorer versions 8 and earlier by Microsoft; rather than rendering application/xhtml+xml content, a dialog box invites the user to save the content to disk instead.


I'll ask the web site people to rename it to .html, I think that should solve it. I hope it's not actually using any XHTML extensions.

#10 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,542
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-November-19, 07:02

Thank you. At some point, I received a message saying that there was a newer version of IE that I might want to download... When I tried, I was told that in order to use it I'd have to first upgrade to a newer operating system... I'm not up for that just yet...
0

#11 User is offline   diana_eva 

  • PipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 5,010
  • Joined: 2009-July-26
  • Gender:Female
  • Location:bucharest / romania

Posted 2011-November-19, 16:37

Changed to .html:

http://doc.bridgebas...scriptions.html

#12 User is offline   myprac 

  • PipPipPip
  • Group: Full Members
  • Posts: 61
  • Joined: 2011-October-28

Posted 2011-November-20, 01:17

Great info! You're the best, barmar, bar none.
0

#13 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-November-21, 02:09

You should probably think about upgrading your OS one of these days. Mainstream support for Windows XP ended in April 2009.

http://windows.micro...ducts/lifecycle

#14 User is offline   myprac 

  • PipPipPip
  • Group: Full Members
  • Posts: 61
  • Joined: 2011-October-28

Posted 2011-December-19, 23:01

I'd like to clarify a small detail. The document says to subtract a short suit point if the short suit has honors. "Honors" here must mean point cards as it wouldn't make sense to do this with tens. I'd like to confirm that it applies to all point cards in short suits, not just unguarded face cards. I understand the rationale for treating a singleton ace as being worth less than six points but want to be sure that's what you intend.
0

#15 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2011-December-22, 16:24

You're right, it's just AKQJ that count against short suit points. This will be clarified in the next update.

#16 User is offline   mgoetze 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,942
  • Joined: 2005-January-28
  • Gender:Male
  • Location:Cologne, Germany
  • Interests:Sleeping, Eating

Posted 2012-January-24, 11:27

View Postbarmar, on 2011-November-18, 23:00, said:

Are you saying that when you click on the link it downloads the file instead of displaying the web page, and then can't find an application to display it? Or are you doing something different to run into this problem?

XHTML is cleaned-up, more strict version of HTML, it has been around for over a decade, so I'm surprised that any recent browser would have difficulty with it.


Sounds like a misconfiguration of the web server, actually.

Note that http://www.w3.org/TR...ml-media-types/ states

Quote

If the accept header contains "*/*" (a convention some user agents use to indicate that they will accept anything), deliver the document using text/html.


However, if I send the following request to the BB webserver

GET /lobbynews/gib_descriptions.xhtml HTTP/1.1
Host: doc.bridgebase.com
Accept: */*


the response header contains

Content-Type: application/xhtml+xml

"One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision"
    -- Bertrand Russell
0

#17 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2012-January-24, 15:24

Read further, it also says:

Quote

When an XHTML document does NOT adhere to the guidelines, it should only be delivered as media type application/xhtml+xml.


The guidelines it refers to are in Appendix A. I don't know offhand if the authoring tool I was using (BlueGriffon) follows those restrictions when creating XHTML. And it's not clear how the server is supposed to know, unless it scans the file.

#18 User is offline   mgoetze 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,942
  • Joined: 2005-January-28
  • Gender:Male
  • Location:Cologne, Germany
  • Interests:Sleeping, Eating

Posted 2012-January-24, 16:27

OK, well, I'm not that interested in the subject. ;) But I'm pretty sure it would display fine in older browsers if you just configured the server to always present .xhtml files as text/html.
"One of the painful things about our time is that those who feel certainty are stupid, and those with any imagination and understanding are filled with doubt and indecision"
    -- Bertrand Russell
0

#19 User is offline   p_t_red 

  • PipPip
  • Group: Members
  • Posts: 37
  • Joined: 2008-December-04

Posted 2013-March-02, 14:09

There's no description of "forcing" in this document. GIB misuses that term quite often.
0

#20 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,600
  • Joined: 2004-August-21
  • Gender:Male

Posted 2013-March-25, 22:02

View Postp_t_red, on 2013-March-02, 14:09, said:

There's no description of "forcing" in this document. GIB misuses that term quite often.

It sets a flag that can be checked by other bidding rules. Unfortunately, there are almost no rules that actually check it. So for the most part it doesn't mean anything.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users