Web lists-archives.com

Re: ohne Wörte




On 04/04/2017 02:59 AM, B00ze wrote:
On 2017-04-03 18:52, Sailfish <NIXCAPSsailfish@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

My bloviated meandering follows what Caver1 graced us with on 4/3/2017
11:18 AM:
Maybe this is somewhat what we have to look forward to.

http://www.omgubuntu.co.uk/2017/04/firefox-photon-redesign-mockups

Looks pretty ol'skol to me. It's as though they've decided that
devolution is now the new black except instead of reverting to
eye-pleasing icons, they've decided to take flat design one worse and
simply go with stick design.

#nervous #I #am

+1 We get our buttons back, to the left of the URL bar, but no AddOn bar, ugly square tabs, ugly flat design. If XUL stayed it wouldn't matter (CTR) but since they intend to prevent people from injecting arbitrary CSS into Chrome, we'll be stuck with this design. I kinda like curvy tabs (which I get from CTR)...

[gérardjan@localhost ~]$ time icont deal.icn
Translating:
deal.icn:
  main
  display
  show
  arrange
No errors
Linking:
icont: cannot resolve reference to file 'post.u1'

real    0m0.040s
user    0m0.000s
sys    0m0.005s
[gérardjan@localhost ~]$



--
GérardJan Vinkesteijn-Rudersdorff
http://www.ciudadpatricia.es
https://facebook.com/gerardjan.vinkesteijn

User agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48
Build identifier: 20170329182716

I do desire we may be better strangers.
		-- William Shakespeare, "As You Like It"

############################################################################
#
#	Name:	deal.icn
#
#	Title:	Deal bridge hands
#
#	Author:	Ralph E. Griswold
#
#	Date:	June 10, 1988
#
############################################################################
#  
#     This program shuffles, deals, and displays hands in the game
#  of bridge.  An example of the output of deal is
#       ---------------------------------
#  
#                 S: KQ987
#                 H: 52
#                 D: T94
#                 C: T82
#  
#       S: 3                S: JT4
#       H: T7               H: J9863
#       D: AKQ762           D: J85
#       C: QJ94             C: K7
#  
#                 S: A652
#                 H: AKQ4
#                 D: 3
#                 C: A653
#  
#       ---------------------------------
#  
#  Options: The following options are available:
#  
#       -h n Produce n hands. The default is 1.
#  
#       -s n Set the seed for random generation to n.  Different
#            seeds give different hands.  The default seed is 0.
#  
############################################################################
#
#  Links: options, post, shuffle
#
############################################################################

link options, post, shuffle

global deck, deckimage, handsize, suitsize, denom, rank, blanker

procedure main(args)
   local hands, opts

   Init__("deal")
   deck := deckimage := string(&letters)	# initialize global variables
   handsize := suitsize := *deck / 4
   rank := "AKQJT98765432"
   blanker := repl(" ",suitsize)
   denom := &lcase[1+:suitsize]

   opts := options(args,"h+s+")
   hands := \opts["h"] | 1
   &random := \opts["s"]

   every 1 to hands do
      display()

   Term__()

end

#  Display the hands
#
procedure display()
   local layout, i
   static bar, offset

   initial {
      bar := "\n" || repl("-",33)
      offset := repl(" ",10)
      }

   deck := shuffle(deck)
   layout := []
   every push(layout,show(deck[(0 to 3) * handsize + 1 +: handsize]))

   write()
   every write(offset,!layout[1])
   write()
   every i := 1 to 4 do
      write(left(layout[4][i],20),layout[2][i])
   write()
   every write(offset,!layout[3])
   write(bar)
end

#  Put the hands in a form to display
#
procedure show(hand)
   static clubmap, diamondmap, heartmap, spademap
   initial {
      clubmap := denom || repl(blanker,3)
      diamondmap := blanker || denom || repl(blanker,2)
      heartmap := repl(blanker,2) || denom || blanker
      spademap := repl(blanker,3) || denom
      }
   return [
      "S: " || arrange(hand,spademap),
      "H: " || arrange(hand,heartmap),
      "D: " || arrange(hand,diamondmap),
      "C: " || arrange(hand,clubmap)
      ]
end

#  Arrange hands for presentation
#
procedure arrange(hand,suit)
   return map(map(hand,deckimage,suit) -- ' ',denom,rank)
end
_______________________________________________
general mailing list
general@xxxxxxxxxxxxxxxxx
https://lists.mozilla.org/listinfo/general