Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104504

Re: Text input with keyboard, via input methods

Newsgroups comp.lang.python
Date 2016-03-10 03:59 -0800
References (4 earlier) <56e0dfbd$0$22141$c3e8da3$5496439d@news.astraweb.com> <mailman.105.1457581660.15725.python-list@python.org> <87bn6mzwow.fsf@elektro.pacujo.net> <mailman.107.1457594930.15725.python-list@python.org> <87oaamhai3.fsf@elektro.pacujo.net>
Message-ID <f0bb2752-9ba7-4677-b21b-0e8a97c7a748@googlegroups.com> (permalink)
Subject Re: Text input with keyboard, via input methods
From Rustom Mody <rustompmody@gmail.com>

Show all headers | View raw


On Thursday, March 10, 2016 at 4:21:15 PM UTC+5:30, Marko Rauhamaa wrote:
> Ben Finney :
> 
> > As for how solved it is, that depends on what you're hoping for as a
> > solution.
> >
> > [...]
> >
> > Hopefully your operating system has a good input method system, with
> > many input methods available to choose from. May you find a decent
> > default there.
> 
> I don't have an answer. I have requirements, though:
> 
>  * I should be able to get the character by knowing its glyph (shape).
> 
>  * It should be very low-level and work system-wide, preferably over the
>    network (I'm typing this over the network).
> 
> The solution may require a touch screen and a canvas where I can draw
> with my fingers.
> 
> The solution may have to be implemented in the keyboard.
> 
> Or maybe we'll have to wait for brain-implantable bluetooth tranceivers.
> Then, we'd just think of the character and it would appear on the
> screen.

Lets say you wrote/participated in a million-line C/C++ codebase.
And lets say you would/could redo it in super-duper language 'L' (could but need not be python)
Even if you believe in a 1000-fold improvement going C → L, you'd still need
to input a 1000 lines of L-code.

How would you do it? With character recognition?

OTOH…

I am ready to bet that on your keyboard maybe US-104, maybe something more
exotic:

- There is a key that is marked something that looks like 'A'
- Pounding that 'A' produces something that looks like 'a'
' And to get a 'A' from the 'A' you need to do a SHIFT-A

IOW its easy to forget that typing ASCII on a us-104 still needs input-methods

Its just that these need to become more reified/firstclass going from the
<100 chars of ASCII to the million+ of unicode.

Or if I may invoke programmer-intuition:

a. If one had to store a dozen values, a dozen variables would be ok
b. For a thousand, we'd like a -- maybe simple -- datastructure like an array/dict
c. For a million (or billion) the data structure would need to be sophisticated

The problem with unicode is not that 100000 is a large number but that
we are applying a-paradigm to c-needs.

Some of my --admittedly faltering -- attempts to correct this:

http://blog.languager.org/2015/01/unicode-and-universe.html
http://blog.languager.org/2015/03/whimsical-unicode.html
http://blog.languager.org/2015/02/universal-unicode.html

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

turtle ?? Ömer sarı <sari.omer.1989@gmail.com> - 2016-03-08 23:39 -0800
  Re: turtle ?? Peter Otten <__peter__@web.de> - 2016-03-09 10:06 +0100
    Re: turtle ?? Steven D'Aprano <steve@pearwood.info> - 2016-03-09 22:55 +1100
      Re: turtle ?? Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-09 09:24 -0500
      Re: turtle ?? MRAB <python@mrabarnett.plus.com> - 2016-03-09 18:14 +0000
        Re: turtle ?? Steven D'Aprano <steve@pearwood.info> - 2016-03-10 13:45 +1100
          Re: turtle ?? Chris Angelico <rosuav@gmail.com> - 2016-03-10 14:47 +1100
            Re: turtle ?? Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 08:14 +0200
              Re: turtle ?? Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-10 08:46 +0200
              Text input with keyboard, via input methods (was: turtle ??) Ben Finney <ben+python@benfinney.id.au> - 2016-03-10 18:28 +1100
                Re: Text input with keyboard, via input methods (was: turtle ??) Rustom Mody <rustompmody@gmail.com> - 2016-03-09 23:54 -0800
                Re: Text input with keyboard, via input methods Larry Hudson <orgnut@yahoo.com> - 2016-03-10 20:51 -0800
                Re: Text input with keyboard, via input methods Rustom Mody <rustompmody@gmail.com> - 2016-03-11 03:46 -0800
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 12:51 +0200
                Re: Text input with keyboard, via input methods Rustom Mody <rustompmody@gmail.com> - 2016-03-10 03:59 -0800
                Re: Text input with keyboard, via input methods Jerry Hill <malaclypse2@gmail.com> - 2016-03-10 09:38 -0500
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 17:13 +0200
                Re: Text input with keyboard, via input methods Chris Angelico <rosuav@gmail.com> - 2016-03-11 07:19 +1100
                Re: Text input with keyboard, via input methods Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-10 21:48 +0000
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-11 00:47 +0200
              Re: turtle ?? Chris Angelico <rosuav@gmail.com> - 2016-03-10 18:39 +1100
  Re: turtle ?? Terry Reedy <tjreedy@udel.edu> - 2016-03-09 10:30 -0500

csiph-web