From yuval at y3xz.com Thu Feb 4 10:24:45 2016 From: yuval at y3xz.com (Yuval Adam) Date: Thu, 4 Feb 2016 10:24:45 +0200 Subject: Thunderbird + Fribidi Message-ID: <56B30ACD.8000902@y3xz.com> Is there any nice way to get Thunderbird to automatically process e-mails in Hebrew via Fribidi? (When composing, but possibly when viewing as well) From tzafrir at cohens.org.il Thu Feb 4 14:14:08 2016 From: tzafrir at cohens.org.il (Tzafrir Cohen) Date: Thu, 4 Feb 2016 13:14:08 +0100 Subject: Thunderbird + Fribidi In-Reply-To: <56B30ACD.8000902@y3xz.com> References: <56B30ACD.8000902@y3xz.com> Message-ID: <20160204121408.GZ7630@lemon.cohens.org.il> On Thu, Feb 04, 2016 at 10:24:45AM +0200, Yuval Adam wrote: > Is there any nice way to get Thunderbird to automatically process > e-mails in Hebrew via Fribidi? (When composing, but possibly when > viewing as well) Thunderbird is built on top of the Gecko browser engine. Gecko uses a library called ICU which serves a somewhat similar role to Fribidi. However, from what I know of Thunderbird, it is basically written on top of Gecko, and thus works with HTML, CSS and such. It should already provide good bidirectionality support (and if not: it's a bug that should be fixed). -- Tzafrir Cohen | tzafrir at jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzafrir at cohens.org.il | | best tzafrir at debian.org | | friend From erez0001 at gmail.com Thu Feb 4 14:22:07 2016 From: erez0001 at gmail.com (Erez D) Date: Thu, 4 Feb 2016 14:22:07 +0200 Subject: Thunderbird + Fribidi In-Reply-To: <20160204121408.GZ7630@lemon.cohens.org.il> References: <56B30ACD.8000902@y3xz.com> <20160204121408.GZ7630@lemon.cohens.org.il> Message-ID: <56B3426F.3000602@gmail.com> An HTML attachment was scrubbed... URL: From yuval at y3xz.com Thu Feb 4 14:36:31 2016 From: yuval at y3xz.com (Yuval Adam) Date: Thu, 4 Feb 2016 14:36:31 +0200 Subject: Thunderbird + Fribidi In-Reply-To: <20160204121408.GZ7630@lemon.cohens.org.il> References: <56B30ACD.8000902@y3xz.com> <20160204121408.GZ7630@lemon.cohens.org.il> Message-ID: <56B345CF.8080900@y3xz.com> On 02/04/2016 02:14 PM, Tzafrir Cohen wrote: > However, from what I know of Thunderbird, it is basically written on top > of Gecko, and thus works with HTML, CSS and such. It should already > provide good bidirectionality support (and if not: it's a bug that > should be fixed). > That's true, but assumes HTML emails. For plaintext emails (such as when using PGP) this requires a separate solution. The recommended Bidi UI add-on seems to do the trick, though! From amichai at iglu.org.il Sat Feb 13 16:57:30 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Sat, 13 Feb 2016 16:57:30 +0200 Subject: RFC: Creating an Israeli directory of Linux savvy Computer Professionals? Message-ID: Hi All, I provide Computer Services to home and small businesses in Haifa. I try to use FLOSS-based solutions as much as possible. Since the outbreak of the "Windows 8.0" virus [1] I have managed to move about 20-30 computers to the Ubuntu Linux distro - and they thank me almost every day since... Funny enough, after they've been using Ubuntu for a few weeks, they tell me they have re-discovered their computer and are able to do a lot more with it than before! The number one reason for them to finally give up on Windows and make the switch is financial: most of them prefer to pay me 200 NIS for me to install Ubuntu [2], instead of buying a brand new computer... The most popular concern before making the switch is available support: "what if you are no longer available for some reason? Who do I turn to for help? Nobody knows this Linux thing..." - they say... I try to explain it is not true. "First of all, I'm not going anywhere", I say. "and there are millions of people in the world, thousands of them in Israel, that are willing to help"... They, naturally, ask for proof! I thought we, Linuxers of Israel, could start a *Directory for Linux Savvy Service Providers in Israel*. A much better version of the poorly maintained version on the Hamakor Wiki. This Directory should be very accessible for the average Joe, easy on the eyes and searchable - by field of expertise, Location etc. I am willing to help with populating the DB, but I'd need someone to start the Site. It should have an easy to remember URL, so I can refer people to it directly (they shouldn't have to dig a bunch of sub-menus to get there). It should have it's own URL, (maybe under www.linux.org.il?) and, of course, in Hebrew. Your thoughts? Thanks, Amichai Rotman [1] ;-) [2] I know it sound very low price, but it is hardly any work for me, and I include Data Backup and a basic explanation on the system! I can finish the whole thing in 3 hours! -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaplanlior at gmail.com Sat Feb 13 21:10:43 2016 From: kaplanlior at gmail.com (Lior Kaplan) Date: Sat, 13 Feb 2016 21:10:43 +0200 Subject: RFC: Creating an Israeli directory of Linux savvy Computer Professionals? In-Reply-To: References: Message-ID: http://wiki.hamakor.org.il/index.php/%D7%A0%D7%95%D7%AA%D7%A0%D7%99_%D7%A9%D7%99%D7%A8%D7%95%D7%AA On Sat, Feb 13, 2016 at 4:57 PM, Amichai Rotman wrote: > Hi All, > > I provide Computer Services to home and small businesses in Haifa. > > I try to use FLOSS-based solutions as much as possible. Since the outbreak > of the "Windows 8.0" virus [1] I have managed to move about 20-30 computers > to the Ubuntu Linux distro - and they thank me almost every day since... > > Funny enough, after they've been using Ubuntu for a few weeks, they tell > me they have re-discovered their computer and are able to do a lot more > with it than before! > > The number one reason for them to finally give up on Windows and make the > switch is financial: most of them prefer to pay me 200 NIS for me to > install Ubuntu [2], instead of buying a brand new computer... > > The most popular concern before making the switch is available support: > "what if you are no longer available for some reason? Who do I turn to for > help? Nobody knows this Linux thing..." - they say... > > I try to explain it is not true. "First of all, I'm not going anywhere", I > say. "and there are millions of people in the world, thousands of them in > Israel, that are willing to help"... > > They, naturally, ask for proof! > > I thought we, Linuxers of Israel, could start a *Directory for Linux > Savvy Service Providers in Israel*. A much better version of the poorly > maintained version on the Hamakor Wiki. > > This Directory should be very accessible for the average Joe, easy on the > eyes and searchable - by field of expertise, Location etc. > > I am willing to help with populating the DB, but I'd need someone to start > the Site. It should have an easy to remember URL, so I can refer people to > it directly (they shouldn't have to dig a bunch of sub-menus to get there). > It should have it's own URL, (maybe under www.linux.org.il?) and, of > course, in Hebrew. > > Your thoughts? > > Thanks, > > Amichai Rotman > > [1] ;-) > [2] I know it sound very low price, but it is hardly any work for me, and > I include Data Backup and a basic explanation on the system! I can finish > the whole thing in 3 hours! > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Sat Feb 13 23:27:14 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Sat, 13 Feb 2016 23:27:14 +0200 Subject: RFC: Creating an Israeli directory of Linux savvy Computer Professionals? In-Reply-To: References: Message-ID: I mentioned this list as an example for how the list *shouldn't* look... It is also well hidden. The average Joe will not be able to use it and will never find it... We (as a community) need to revamp the http://www.linux.org.il web site. In it's current state, it looks like an outdated early 90s site... Amichai Rotman 2016-02-13 21:10 GMT+02:00 Lior Kaplan : > > http://wiki.hamakor.org.il/index.php/%D7%A0%D7%95%D7%AA%D7%A0%D7%99_%D7%A9%D7%99%D7%A8%D7%95%D7%AA > On Sat, Feb 13, 2016 at 4:57 PM, Amichai Rotman wrote: > Hi All, > > I provide Computer Services to home and small businesses in Haifa. > > I try to use FLOSS-based solutions as much as possible. Since the outbreak > of the "Windows 8.0" virus [1] I have managed to move about 20-30 computers > to the Ubuntu Linux distro - and they thank me almost every day since... > > Funny enough, after they've been using Ubuntu for a few weeks, they tell > me they have re-discovered their computer and are able to do a lot more > with it than before! > > The number one reason for them to finally give up on Windows and make the > switch is financial: most of them prefer to pay me 200 NIS for me to > install Ubuntu [2], instead of buying a brand new computer... > > The most popular concern before making the switch is available support: > "what if you are no longer available for some reason? Who do I turn to for > help? Nobody knows this Linux thing..." - they say... > > I try to explain it is not true. "First of all, I'm not going anywhere", I > say. "and there are millions of people in the world, thousands of them in > Israel, that are willing to help"... > > They, naturally, ask for proof! > > I thought we, Linuxers of Israel, could start a *Directory for Linux > Savvy Service Providers in Israel*. A much better version of the poorly > maintained version on the Hamakor Wiki. > > This Directory should be very accessible for the average Joe, easy on the > eyes and searchable - by field of expertise, Location etc. > > I am willing to help with populating the DB, but I'd need someone to start > the Site. It should have an easy to remember URL, so I can refer people to > it directly (they shouldn't have to dig a bunch of sub-menus to get there). > It should have it's own URL, (maybe under www.linux.org.il?) and, of > course, in Hebrew. > > Your thoughts? > > Thanks, > > Amichai Rotman > > [1] ;-) > [2] I know it sound very low price, but it is hardly any work for me, and > I include Data Backup and a basic explanation on the system! I can finish > the whole thing in 3 hours! > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sun Feb 14 01:06:06 2016 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sun, 14 Feb 2016 01:06:06 +0200 Subject: python pygame keyboard input Message-ID: <20160214010606.34ca2511@shlomo1.solomon> I'm having a problem getting text input with pygame. Here's a simple program and the results I'm getting. Digits and special keys work but I'm getting strange results for alphabet keys. Any idea what my problem is? import pygame pygame.init() pygame.display.set_mode((100, 100)) while True: for event in pygame.event.get(): if event.type == pygame.KEYDOWN: print event.key, "-", pygame.key.name(event.key) When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: 49 - 1 50 - 2 282 - f1 283 - f2 304 - left shift 281 - page down 249 - world 89 240 - world 80 -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 From meirm at riunx.com Sun Feb 14 08:10:36 2016 From: meirm at riunx.com (Meir Michanie) Date: Sun, 14 Feb 2016 06:10:36 +0000 Subject: python pygame keyboard input In-Reply-To: <20160214010606.34ca2511@shlomo1.solomon> References: <20160214010606.34ca2511@shlomo1.solomon> Message-ID: It works for me. python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y 116 - t 306 - left ctrl 99 - c On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon wrote: > I'm having a problem getting text input with pygame. > Here's a simple program and the results I'm getting. Digits and special > keys work but I'm getting strange results for alphabet keys. > Any idea what my problem is? > > > import pygame > pygame.init() > pygame.display.set_mode((100, 100)) > while True: > for event in pygame.event.get(): > if event.type == pygame.KEYDOWN: > print event.key, "-", pygame.key.name(event.key) > > > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: > > 49 - 1 > 50 - 2 > 282 - f1 > 283 - f2 > 304 - left shift > 281 - page down > 249 - world 89 > 240 - world 80 > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sun Feb 14 11:17:04 2016 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sun, 14 Feb 2016 11:17:04 +0200 Subject: python pygame keyboard input In-Reply-To: References: <20160214010606.34ca2511@shlomo1.solomon> Message-ID: <20160214111704.7f7cd648@shlomo1.solomon> Meir - thanks. What distro are you running? I can now add that the problem exists on my Mageia 5 and Mageia 4 boxes. But on a Raspberry PI, the program does run as expected. I'd appreciate if someone could test this on Mageia and let me know if this is a Mageia problem, or maybe something wrong with my setup. On Sun, 14 Feb 2016 06:10:36 +0000 Meir Michanie wrote: > It works for me. > python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y 116 - > t 306 > - left ctrl 99 - c > > On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon > wrote: > > > I'm having a problem getting text input with pygame. > > Here's a simple program and the results I'm getting. Digits and > > special keys work but I'm getting strange results for alphabet keys. > > Any idea what my problem is? > > > > > > import pygame > > pygame.init() > > pygame.display.set_mode((100, 100)) > > while True: > > for event in pygame.event.get(): > > if event.type == pygame.KEYDOWN: > > print event.key, "-", pygame.key.name(event.key) > > > > > > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: > > > > 49 - 1 > > 50 - 2 > > 282 - f1 > > 283 - f2 > > 304 - left shift > > 281 - page down > > 249 - world 89 > > 240 - world 80 > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 From esr+linux-il at g.jct.ac.il Sun Feb 14 11:28:52 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 14 Feb 2016 11:28:52 +0200 Subject: python pygame keyboard input In-Reply-To: <20160214111704.7f7cd648@shlomo1.solomon> References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> Message-ID: I think your question shouldn't be what distro but rather: - what version of python - what localization was set when running the program (LC_* env vars) 2016-02-14 11:17 GMT+02:00 Shlomo Solomon : > Meir - thanks. What distro are you running? > > I can now add that the problem exists on my Mageia 5 and Mageia 4 > boxes. But on a Raspberry PI, the program does run as expected. > > I'd appreciate if someone could test this on Mageia and let me know if > this is a Mageia problem, or maybe something wrong with my setup. > > > On Sun, 14 Feb 2016 06:10:36 +0000 > Meir Michanie wrote: > >> It works for me. >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y 116 - >> t 306 >> - left ctrl 99 - c >> >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon >> wrote: >> >> > I'm having a problem getting text input with pygame. >> > Here's a simple program and the results I'm getting. Digits and >> > special keys work but I'm getting strange results for alphabet keys. >> > Any idea what my problem is? >> > >> > >> > import pygame >> > pygame.init() >> > pygame.display.set_mode((100, 100)) >> > while True: >> > for event in pygame.event.get(): >> > if event.type == pygame.KEYDOWN: >> > print event.key, "-", pygame.key.name(event.key) >> > >> > >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: >> > >> > 49 - 1 >> > 50 - 2 >> > 282 - f1 >> > 283 - f2 >> > 304 - left shift >> > 281 - page down >> > 249 - world 89 >> > 240 - world 80 >> > >> > >> > >> > -- >> > Shlomo Solomon >> > http://the-solomons.net >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> > >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From shlomo.solomon at gmail.com Sun Feb 14 12:05:22 2016 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sun, 14 Feb 2016 12:05:22 +0200 Subject: python pygame keyboard input In-Reply-To: References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> Message-ID: <20160214120522.485ecac1@shlomo1.solomon> In response to E.S. Rosenberg's post, here are the locale variables on my Mageia 5 and Raspberry PI. Although there are differences, I don't see the problem. The main difference is that Mageia is set to en_US.UTF-8 and the PI to en_GB.UTF-8. There are also differences in variables defining numeric, paper and others, but they don't seen to be variables that would cause my text input problem. MAGEIA 5 locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=he_IL.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=he_IL.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=he_IL.UTF-8 LC_NAME=he_IL.UTF-8 LC_ADDRESS=he_IL.UTF-8 LC_TELEPHONE=he_IL.UTF-8 LC_MEASUREMENT=he_IL.UTF-8 LC_IDENTIFICATION=he_IL.UTF-8 LC_ALL= RASPBERRY PI locale LANG=en_GB.UTF-8 LANGUAGE= LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= On Sun, 14 Feb 2016 11:28:52 +0200 "E.S. Rosenberg" wrote: > I think your question shouldn't be what distro but rather: > - what version of python > - what localization was set when running the program (LC_* env vars) > > 2016-02-14 11:17 GMT+02:00 Shlomo Solomon : > > Meir - thanks. What distro are you running? > > > > I can now add that the problem exists on my Mageia 5 and Mageia 4 > > boxes. But on a Raspberry PI, the program does run as expected. > > > > I'd appreciate if someone could test this on Mageia and let me know > > if this is a Mageia problem, or maybe something wrong with my setup. > > > > > > On Sun, 14 Feb 2016 06:10:36 +0000 > > Meir Michanie wrote: > > > >> It works for me. > >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y > >> 116 - t 306 > >> - left ctrl 99 - c > >> > >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon > >> wrote: > >> > >> > I'm having a problem getting text input with pygame. > >> > Here's a simple program and the results I'm getting. Digits and > >> > special keys work but I'm getting strange results for alphabet > >> > keys. Any idea what my problem is? > >> > > >> > > >> > import pygame > >> > pygame.init() > >> > pygame.display.set_mode((100, 100)) > >> > while True: > >> > for event in pygame.event.get(): > >> > if event.type == pygame.KEYDOWN: > >> > print event.key, "-", pygame.key.name(event.key) > >> > > >> > > >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: > >> > > >> > 49 - 1 > >> > 50 - 2 > >> > 282 - f1 > >> > 283 - f2 > >> > 304 - left shift > >> > 281 - page down > >> > 249 - world 89 > >> > 240 - world 80 > >> > > >> > > >> > > >> > -- > >> > Shlomo Solomon > >> > http://the-solomons.net > >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> > > >> > > >> > _______________________________________________ > >> > Linux-il mailing list > >> > Linux-il at cs.huji.ac.il > >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >> > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 From rabin at rabin.io Sun Feb 14 12:23:12 2016 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Sun, 14 Feb 2016 12:23:12 +0200 Subject: RFC: Creating an Israeli directory of Linux savvy Computer Professionals? In-Reply-To: References: Message-ID: On 13 February 2016 at 23:27, Amichai Rotman wrote: > We (as a community) need to revamp the http://www.linux.org.il web site. > In it's current state, it looks like an outdated early 90s site... > ?+1? -- Rabin -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Sun Feb 14 12:53:05 2016 From: shlomif at gmail.com (Shlomi Fish) Date: Sun, 14 Feb 2016 12:53:05 +0200 Subject: RFC: Creating an Israeli directory of Linux savvy Computer Professionals? In-Reply-To: References: Message-ID: Hi Amichai and everyone, On Sat, Feb 13, 2016 at 11:27 PM, Amichai Rotman wrote: > I mentioned this list as an example for how the list *shouldn't* look... > > It is also well hidden. The average Joe will not be able to use it and > will never find it... > > We (as a community) need to revamp the http://www.linux.org.il web site. > In it's current state, it looks like an outdated early 90s site... > > Amichai Rotman > > The sources for http://www.linux.org.il/ are maintained in a GitHub repository at https://github.com/Hamakor/linux.org.il . Filing pull requests or specific issues is welcome. If you can suggest modifications or solicit people to do that, then they will be considered. Talk is cheap and complaints are easy. Actually doing something about it is where it's at. See http://shlomif.livejournal.com/39215.html . I should also note that I maintain some resources about FOSS in Israel here: http://www.shlomifish.org/open-source/resources/israel/ - a site whose sources are available at https://bitbucket.org/shlomif/shlomi-fish-homepage . Regards, -- Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Sun Feb 14 14:04:09 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 14 Feb 2016 14:04:09 +0200 Subject: python pygame keyboard input In-Reply-To: <20160214120522.485ecac1@shlomo1.solomon> References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> <20160214120522.485ecac1@shlomo1.solomon> Message-ID: Did you try changing it? It is pretty clear from those local variables that you have a nice DE sitting on your mageia box customized for Hebrew/English use while the rPI is just a vanilla install (en_GB). Did you try running your python script on a virtual console away from xkb and all the other things aiming to help you with multiple-language input options? Did you try running it while making sure your locale variables are all C/en_US.utf-8? And again are the python versions you are using on each platform matching? 2016-02-14 12:05 GMT+02:00 Shlomo Solomon : > In response to E.S. Rosenberg's post, here are the locale variables on > my Mageia 5 and Raspberry PI. Although there are differences, I don't > see the problem. The main difference is that Mageia is set to > en_US.UTF-8 and the PI to en_GB.UTF-8. > > There are also differences in variables defining numeric, paper and > others, but they don't seen to be variables that would cause my text > input problem. > > > MAGEIA 5 locale > > LANG=en_US.UTF-8 > LC_CTYPE=en_US.UTF-8 > LC_NUMERIC=he_IL.UTF-8 > LC_TIME=en_US.UTF-8 > LC_COLLATE=en_US.UTF-8 > LC_MONETARY=he_IL.UTF-8 > LC_MESSAGES=en_US.UTF-8 > LC_PAPER=he_IL.UTF-8 > LC_NAME=he_IL.UTF-8 > LC_ADDRESS=he_IL.UTF-8 > LC_TELEPHONE=he_IL.UTF-8 > LC_MEASUREMENT=he_IL.UTF-8 > LC_IDENTIFICATION=he_IL.UTF-8 > LC_ALL= > > RASPBERRY PI locale > > LANG=en_GB.UTF-8 > LANGUAGE= > LC_CTYPE="en_GB.UTF-8" > LC_NUMERIC="en_GB.UTF-8" > LC_TIME="en_GB.UTF-8" > LC_COLLATE="en_GB.UTF-8" > LC_MONETARY="en_GB.UTF-8" > LC_MESSAGES="en_GB.UTF-8" > LC_PAPER="en_GB.UTF-8" > LC_NAME="en_GB.UTF-8" > LC_ADDRESS="en_GB.UTF-8" > LC_TELEPHONE="en_GB.UTF-8" > LC_MEASUREMENT="en_GB.UTF-8" > LC_IDENTIFICATION="en_GB.UTF-8" > LC_ALL= > > > > > > On Sun, 14 Feb 2016 11:28:52 +0200 > "E.S. Rosenberg" wrote: > >> I think your question shouldn't be what distro but rather: >> - what version of python >> - what localization was set when running the program (LC_* env vars) >> >> 2016-02-14 11:17 GMT+02:00 Shlomo Solomon : >> > Meir - thanks. What distro are you running? >> > >> > I can now add that the problem exists on my Mageia 5 and Mageia 4 >> > boxes. But on a Raspberry PI, the program does run as expected. >> > >> > I'd appreciate if someone could test this on Mageia and let me know >> > if this is a Mageia problem, or maybe something wrong with my setup. >> > >> > >> > On Sun, 14 Feb 2016 06:10:36 +0000 >> > Meir Michanie wrote: >> > >> >> It works for me. >> >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y >> >> 116 - t 306 >> >> - left ctrl 99 - c >> >> >> >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon >> >> wrote: >> >> >> >> > I'm having a problem getting text input with pygame. >> >> > Here's a simple program and the results I'm getting. Digits and >> >> > special keys work but I'm getting strange results for alphabet >> >> > keys. Any idea what my problem is? >> >> > >> >> > >> >> > import pygame >> >> > pygame.init() >> >> > pygame.display.set_mode((100, 100)) >> >> > while True: >> >> > for event in pygame.event.get(): >> >> > if event.type == pygame.KEYDOWN: >> >> > print event.key, "-", pygame.key.name(event.key) >> >> > >> >> > >> >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: >> >> > >> >> > 49 - 1 >> >> > 50 - 2 >> >> > 282 - f1 >> >> > 283 - f2 >> >> > 304 - left shift >> >> > 281 - page down >> >> > 249 - world 89 >> >> > 240 - world 80 >> >> > >> >> > >> >> > >> >> > -- >> >> > Shlomo Solomon >> >> > http://the-solomons.net >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> >> > >> >> > >> >> > _______________________________________________ >> >> > Linux-il mailing list >> >> > Linux-il at cs.huji.ac.il >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > >> > >> > >> > >> > -- >> > Shlomo Solomon >> > http://the-solomons.net >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> > >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From shlomif at gmail.com Sun Feb 14 14:49:21 2016 From: shlomif at gmail.com (Shlomi Fish) Date: Sun, 14 Feb 2016 14:49:21 +0200 Subject: python pygame keyboard input In-Reply-To: <20160214010606.34ca2511@shlomo1.solomon> References: <20160214010606.34ca2511@shlomo1.solomon> Message-ID: Hi Shlomo! On Sun, Feb 14, 2016 at 1:06 AM, Shlomo Solomon wrote: > I'm having a problem getting text input with pygame. > Here's a simple program and the results I'm getting. Digits and special > keys work but I'm getting strange results for alphabet keys. > Any idea what my problem is? > > > import pygame > pygame.init() > pygame.display.set_mode((100, 100)) > while True: > for event in pygame.event.get(): > if event.type == pygame.KEYDOWN: > print event.key, "-", pygame.key.name(event.key) > > > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output is: > > 49 - 1 > 50 - 2 > 282 - f1 > 283 - f2 > 304 - left shift > 281 - page down > 249 - world 89 > 240 - world 80 > > This is working fine for me on Mageia x86-64 v6 on Plasma 5 with this locale: shlomif at telaviv1:~$ locale LANG=en_GB.UTF-8 LC_CTYPE=en_US.UTF-8 LC_NUMERIC=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=en_GB.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=en_GB.UTF-8 LC_ALL= shlomif at telaviv1:~$ Regards, -- Shlomi -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdlmail at gmail.com Mon Feb 15 10:06:15 2016 From: jdlmail at gmail.com (Yaron de Leeuw) Date: Mon, 15 Feb 2016 10:06:15 +0200 Subject: RavKav Online In-Reply-To: References: Message-ID: Hi. I have managed to get it working on ArchLinux, and adapting the solution to other distributions should be trivial. https://github.com/jarondl/ravkav_linux I have also emailed their support to ask for official linux packages, and I encourage you all to do so as well. Thank you Dimid Duchovny for finding the Mac OS installation package and posting their url on the list. Yaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Mon Feb 15 22:38:11 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Mon, 15 Feb 2016 22:38:11 +0200 Subject: RavKav Online In-Reply-To: References: Message-ID: Great Job, Yaron! Thanks! 2016-02-15 10:06 GMT+02:00 Yaron de Leeuw : > Hi. > > I have managed to get it working on ArchLinux, and adapting the solution to > other distributions should be trivial. > https://github.com/jarondl/ravkav_linux > > I have also emailed their support to ask for official linux packages, and > I encourage > you all to do so as well. > > Thank you Dimid Duchovny for finding the Mac OS installation package and > posting their url on the list. > > Yaron > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Tue Feb 16 14:59:26 2016 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 16 Feb 2016 14:59:26 +0200 Subject: python pygame keyboard input In-Reply-To: References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> <20160214120522.485ecac1@shlomo1.solomon> Message-ID: <20160216145926.5a8be7bd@shlomo1.solomon> 1 - On a virtual machine (Mageia 4) the program runs properly 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] 3 - I tried: LC_ALL=en_US.UTF-8 python tst.py and LC_ALL=en_GB.UTF-8 python tst.py but still have the same strange behaviour with alphabetic characters. 4 - I'm not sure what you mean by "a virtual console away from xkb and ...". The pygame module won't run in a non-graphic environment. On Sun, 14 Feb 2016 14:04:09 +0200 "E.S. Rosenberg" wrote: > Did you try changing it? > It is pretty clear from those local variables that you have a nice DE > sitting on your mageia box customized for Hebrew/English use while > the rPI is just a vanilla install (en_GB). > Did you try running your python script on a virtual console away from > xkb and all the other things aiming to help you with multiple-language > input options? > Did you try running it while making sure your locale variables are all > C/en_US.utf-8? > And again are the python versions you are using on each platform > matching? > > 2016-02-14 12:05 GMT+02:00 Shlomo Solomon : > > In response to E.S. Rosenberg's post, here are the locale variables > > on my Mageia 5 and Raspberry PI. Although there are differences, I > > don't see the problem. The main difference is that Mageia is set to > > en_US.UTF-8 and the PI to en_GB.UTF-8. > > > > There are also differences in variables defining numeric, paper and > > others, but they don't seen to be variables that would cause my text > > input problem. > > > > > > MAGEIA 5 locale > > > > LANG=en_US.UTF-8 > > LC_CTYPE=en_US.UTF-8 > > LC_NUMERIC=he_IL.UTF-8 > > LC_TIME=en_US.UTF-8 > > LC_COLLATE=en_US.UTF-8 > > LC_MONETARY=he_IL.UTF-8 > > LC_MESSAGES=en_US.UTF-8 > > LC_PAPER=he_IL.UTF-8 > > LC_NAME=he_IL.UTF-8 > > LC_ADDRESS=he_IL.UTF-8 > > LC_TELEPHONE=he_IL.UTF-8 > > LC_MEASUREMENT=he_IL.UTF-8 > > LC_IDENTIFICATION=he_IL.UTF-8 > > LC_ALL= > > > > RASPBERRY PI locale > > > > LANG=en_GB.UTF-8 > > LANGUAGE= > > LC_CTYPE="en_GB.UTF-8" > > LC_NUMERIC="en_GB.UTF-8" > > LC_TIME="en_GB.UTF-8" > > LC_COLLATE="en_GB.UTF-8" > > LC_MONETARY="en_GB.UTF-8" > > LC_MESSAGES="en_GB.UTF-8" > > LC_PAPER="en_GB.UTF-8" > > LC_NAME="en_GB.UTF-8" > > LC_ADDRESS="en_GB.UTF-8" > > LC_TELEPHONE="en_GB.UTF-8" > > LC_MEASUREMENT="en_GB.UTF-8" > > LC_IDENTIFICATION="en_GB.UTF-8" > > LC_ALL= > > > > > > > > > > > > On Sun, 14 Feb 2016 11:28:52 +0200 > > "E.S. Rosenberg" wrote: > > > >> I think your question shouldn't be what distro but rather: > >> - what version of python > >> - what localization was set when running the program (LC_* env > >> vars) > >> > >> 2016-02-14 11:17 GMT+02:00 Shlomo Solomon > >> : > >> > Meir - thanks. What distro are you running? > >> > > >> > I can now add that the problem exists on my Mageia 5 and Mageia 4 > >> > boxes. But on a Raspberry PI, the program does run as expected. > >> > > >> > I'd appreciate if someone could test this on Mageia and let me > >> > know if this is a Mageia problem, or maybe something wrong with > >> > my setup. > >> > > >> > > >> > On Sun, 14 Feb 2016 06:10:36 +0000 > >> > Meir Michanie wrote: > >> > > >> >> It works for me. > >> >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y > >> >> 116 - t 306 > >> >> - left ctrl 99 - c > >> >> > >> >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon > >> >> wrote: > >> >> > >> >> > I'm having a problem getting text input with pygame. > >> >> > Here's a simple program and the results I'm getting. Digits > >> >> > and special keys work but I'm getting strange results for > >> >> > alphabet keys. Any idea what my problem is? > >> >> > > >> >> > > >> >> > import pygame > >> >> > pygame.init() > >> >> > pygame.display.set_mode((100, 100)) > >> >> > while True: > >> >> > for event in pygame.event.get(): > >> >> > if event.type == pygame.KEYDOWN: > >> >> > print event.key, "-", pygame.key.name(event.key) > >> >> > > >> >> > > >> >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output > >> >> > is: > >> >> > > >> >> > 49 - 1 > >> >> > 50 - 2 > >> >> > 282 - f1 > >> >> > 283 - f2 > >> >> > 304 - left shift > >> >> > 281 - page down > >> >> > 249 - world 89 > >> >> > 240 - world 80 > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Shlomo Solomon > >> >> > http://the-solomons.net > >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > Linux-il mailing list > >> >> > Linux-il at cs.huji.ac.il > >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >> >> > > >> > > >> > > >> > > >> > -- > >> > Shlomo Solomon > >> > http://the-solomons.net > >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> > > >> > > >> > _______________________________________________ > >> > Linux-il mailing list > >> > Linux-il at cs.huji.ac.il > >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 From esr+linux-il at g.jct.ac.il Tue Feb 16 18:32:21 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 16 Feb 2016 18:32:21 +0200 Subject: python pygame keyboard input In-Reply-To: <20160216145926.5a8be7bd@shlomo1.solomon> References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> <20160214120522.485ecac1@shlomo1.solomon> <20160216145926.5a8be7bd@shlomo1.solomon> Message-ID: 2016-02-16 14:59 GMT+02:00 Shlomo Solomon : > 1 - On a virtual machine (Mageia 4) the program runs properly > > 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] > > 3 - I tried: > LC_ALL=en_US.UTF-8 python tst.py and > LC_ALL=en_GB.UTF-8 python tst.py but still have the same strange > behaviour with alphabetic characters. > > 4 - I'm not sure what you mean by "a virtual console away from xkb > and ...". The pygame module won't run in a non-graphic environment. So in that case what about a clean user that doesn't have multiple keyboard layouts available? Or maybe even a clean X session with just xterm if you want to be really extreme, but probably a clean user will be enough? Regards, Eliyahu - ????? > > On Sun, 14 Feb 2016 14:04:09 +0200 > "E.S. Rosenberg" wrote: > >> Did you try changing it? >> It is pretty clear from those local variables that you have a nice DE >> sitting on your mageia box customized for Hebrew/English use while >> the rPI is just a vanilla install (en_GB). >> Did you try running your python script on a virtual console away from >> xkb and all the other things aiming to help you with multiple-language >> input options? >> Did you try running it while making sure your locale variables are all >> C/en_US.utf-8? >> And again are the python versions you are using on each platform >> matching? >> >> 2016-02-14 12:05 GMT+02:00 Shlomo Solomon : >> > In response to E.S. Rosenberg's post, here are the locale variables >> > on my Mageia 5 and Raspberry PI. Although there are differences, I >> > don't see the problem. The main difference is that Mageia is set to >> > en_US.UTF-8 and the PI to en_GB.UTF-8. >> > >> > There are also differences in variables defining numeric, paper and >> > others, but they don't seen to be variables that would cause my text >> > input problem. >> > >> > >> > MAGEIA 5 locale >> > >> > LANG=en_US.UTF-8 >> > LC_CTYPE=en_US.UTF-8 >> > LC_NUMERIC=he_IL.UTF-8 >> > LC_TIME=en_US.UTF-8 >> > LC_COLLATE=en_US.UTF-8 >> > LC_MONETARY=he_IL.UTF-8 >> > LC_MESSAGES=en_US.UTF-8 >> > LC_PAPER=he_IL.UTF-8 >> > LC_NAME=he_IL.UTF-8 >> > LC_ADDRESS=he_IL.UTF-8 >> > LC_TELEPHONE=he_IL.UTF-8 >> > LC_MEASUREMENT=he_IL.UTF-8 >> > LC_IDENTIFICATION=he_IL.UTF-8 >> > LC_ALL= >> > >> > RASPBERRY PI locale >> > >> > LANG=en_GB.UTF-8 >> > LANGUAGE= >> > LC_CTYPE="en_GB.UTF-8" >> > LC_NUMERIC="en_GB.UTF-8" >> > LC_TIME="en_GB.UTF-8" >> > LC_COLLATE="en_GB.UTF-8" >> > LC_MONETARY="en_GB.UTF-8" >> > LC_MESSAGES="en_GB.UTF-8" >> > LC_PAPER="en_GB.UTF-8" >> > LC_NAME="en_GB.UTF-8" >> > LC_ADDRESS="en_GB.UTF-8" >> > LC_TELEPHONE="en_GB.UTF-8" >> > LC_MEASUREMENT="en_GB.UTF-8" >> > LC_IDENTIFICATION="en_GB.UTF-8" >> > LC_ALL= >> > >> > >> > >> > >> > >> > On Sun, 14 Feb 2016 11:28:52 +0200 >> > "E.S. Rosenberg" wrote: >> > >> >> I think your question shouldn't be what distro but rather: >> >> - what version of python >> >> - what localization was set when running the program (LC_* env >> >> vars) >> >> >> >> 2016-02-14 11:17 GMT+02:00 Shlomo Solomon >> >> : >> >> > Meir - thanks. What distro are you running? >> >> > >> >> > I can now add that the problem exists on my Mageia 5 and Mageia 4 >> >> > boxes. But on a Raspberry PI, the program does run as expected. >> >> > >> >> > I'd appreciate if someone could test this on Mageia and let me >> >> > know if this is a Mageia problem, or maybe something wrong with >> >> > my setup. >> >> > >> >> > >> >> > On Sun, 14 Feb 2016 06:10:36 +0000 >> >> > Meir Michanie wrote: >> >> > >> >> >> It works for me. >> >> >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 - y >> >> >> 116 - t 306 >> >> >> - left ctrl 99 - c >> >> >> >> >> >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon >> >> >> wrote: >> >> >> >> >> >> > I'm having a problem getting text input with pygame. >> >> >> > Here's a simple program and the results I'm getting. Digits >> >> >> > and special keys work but I'm getting strange results for >> >> >> > alphabet keys. Any idea what my problem is? >> >> >> > >> >> >> > >> >> >> > import pygame >> >> >> > pygame.init() >> >> >> > pygame.display.set_mode((100, 100)) >> >> >> > while True: >> >> >> > for event in pygame.event.get(): >> >> >> > if event.type == pygame.KEYDOWN: >> >> >> > print event.key, "-", pygame.key.name(event.key) >> >> >> > >> >> >> > >> >> >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the output >> >> >> > is: >> >> >> > >> >> >> > 49 - 1 >> >> >> > 50 - 2 >> >> >> > 282 - f1 >> >> >> > 283 - f2 >> >> >> > 304 - left shift >> >> >> > 281 - page down >> >> >> > 249 - world 89 >> >> >> > 240 - world 80 >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Shlomo Solomon >> >> >> > http://the-solomons.net >> >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> >> >> > >> >> >> > >> >> >> > _______________________________________________ >> >> >> > Linux-il mailing list >> >> >> > Linux-il at cs.huji.ac.il >> >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Shlomo Solomon >> >> > http://the-solomons.net >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> >> > >> >> > >> >> > _______________________________________________ >> >> > Linux-il mailing list >> >> > Linux-il at cs.huji.ac.il >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > >> > >> > >> > -- >> > Shlomo Solomon >> > http://the-solomons.net >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 >> > >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From shlomo.solomon at gmail.com Tue Feb 16 19:57:37 2016 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 16 Feb 2016 19:57:37 +0200 Subject: python pygame keyboard input In-Reply-To: References: <20160214010606.34ca2511@shlomo1.solomon> <20160214111704.7f7cd648@shlomo1.solomon> <20160214120522.485ecac1@shlomo1.solomon> <20160216145926.5a8be7bd@shlomo1.solomon> Message-ID: <20160216195737.1d219723@shlomo1.solomon> I tried a clean (new) user and got some really strange results. 1 - after setting up a new user, I saw that the LC variables were the same as on existing users - I guess Mageia creates users based on the system-wide locale 2 - I manually changed all the LC variables in the new user to en_US.UTF-8 and the program ran properly. Now comes the weird stuff :) 3 - I changed the LC variables back to he_IL.UTF-8 and the program STILL RAN PROPERLY 4 - I tried manually changing LC variables to en_US.UTF-8 on an existing user but unlike the new user, this time the program did not run properly. So, I can only conclude that although the problem is connected to the locale as you suggested, there's something else going on and I have no idea what. On Tue, 16 Feb 2016 18:32:21 +0200 "E.S. Rosenberg" wrote: > 2016-02-16 14:59 GMT+02:00 Shlomo Solomon : > > 1 - On a virtual machine (Mageia 4) the program runs properly > > > > 2 - Python versions on Mageia and PI are 2.7.9 [GCC 4.9.2] > > > > 3 - I tried: > > LC_ALL=en_US.UTF-8 python tst.py and > > LC_ALL=en_GB.UTF-8 python tst.py but still have the same strange > > behaviour with alphabetic characters. > > > > 4 - I'm not sure what you mean by "a virtual console away from xkb > > and ...". The pygame module won't run in a non-graphic environment. > So in that case what about a clean user that doesn't have multiple > keyboard layouts available? > Or maybe even a clean X session with just xterm if you want to be > really extreme, but probably a clean user will be enough? > Regards, > Eliyahu - ????? > > > > On Sun, 14 Feb 2016 14:04:09 +0200 > > "E.S. Rosenberg" wrote: > > > >> Did you try changing it? > >> It is pretty clear from those local variables that you have a nice > >> DE sitting on your mageia box customized for Hebrew/English use > >> while the rPI is just a vanilla install (en_GB). > >> Did you try running your python script on a virtual console away > >> from xkb and all the other things aiming to help you with > >> multiple-language input options? > >> Did you try running it while making sure your locale variables are > >> all C/en_US.utf-8? > >> And again are the python versions you are using on each platform > >> matching? > >> > >> 2016-02-14 12:05 GMT+02:00 Shlomo Solomon > >> : > >> > In response to E.S. Rosenberg's post, here are the locale > >> > variables on my Mageia 5 and Raspberry PI. Although there are > >> > differences, I don't see the problem. The main difference is > >> > that Mageia is set to en_US.UTF-8 and the PI to en_GB.UTF-8. > >> > > >> > There are also differences in variables defining numeric, paper > >> > and others, but they don't seen to be variables that would cause > >> > my text input problem. > >> > > >> > > >> > MAGEIA 5 locale > >> > > >> > LANG=en_US.UTF-8 > >> > LC_CTYPE=en_US.UTF-8 > >> > LC_NUMERIC=he_IL.UTF-8 > >> > LC_TIME=en_US.UTF-8 > >> > LC_COLLATE=en_US.UTF-8 > >> > LC_MONETARY=he_IL.UTF-8 > >> > LC_MESSAGES=en_US.UTF-8 > >> > LC_PAPER=he_IL.UTF-8 > >> > LC_NAME=he_IL.UTF-8 > >> > LC_ADDRESS=he_IL.UTF-8 > >> > LC_TELEPHONE=he_IL.UTF-8 > >> > LC_MEASUREMENT=he_IL.UTF-8 > >> > LC_IDENTIFICATION=he_IL.UTF-8 > >> > LC_ALL= > >> > > >> > RASPBERRY PI locale > >> > > >> > LANG=en_GB.UTF-8 > >> > LANGUAGE= > >> > LC_CTYPE="en_GB.UTF-8" > >> > LC_NUMERIC="en_GB.UTF-8" > >> > LC_TIME="en_GB.UTF-8" > >> > LC_COLLATE="en_GB.UTF-8" > >> > LC_MONETARY="en_GB.UTF-8" > >> > LC_MESSAGES="en_GB.UTF-8" > >> > LC_PAPER="en_GB.UTF-8" > >> > LC_NAME="en_GB.UTF-8" > >> > LC_ADDRESS="en_GB.UTF-8" > >> > LC_TELEPHONE="en_GB.UTF-8" > >> > LC_MEASUREMENT="en_GB.UTF-8" > >> > LC_IDENTIFICATION="en_GB.UTF-8" > >> > LC_ALL= > >> > > >> > > >> > > >> > > >> > > >> > On Sun, 14 Feb 2016 11:28:52 +0200 > >> > "E.S. Rosenberg" wrote: > >> > > >> >> I think your question shouldn't be what distro but rather: > >> >> - what version of python > >> >> - what localization was set when running the program (LC_* env > >> >> vars) > >> >> > >> >> 2016-02-14 11:17 GMT+02:00 Shlomo Solomon > >> >> : > >> >> > Meir - thanks. What distro are you running? > >> >> > > >> >> > I can now add that the problem exists on my Mageia 5 and > >> >> > Mageia 4 boxes. But on a Raspberry PI, the program does run > >> >> > as expected. > >> >> > > >> >> > I'd appreciate if someone could test this on Mageia and let me > >> >> > know if this is a Mageia problem, or maybe something wrong > >> >> > with my setup. > >> >> > > >> >> > > >> >> > On Sun, 14 Feb 2016 06:10:36 +0000 > >> >> > Meir Michanie wrote: > >> >> > > >> >> >> It works for me. > >> >> >> python pykey.py 113 - q 119 - w 101 - e 114 - r 116 - t 121 > >> >> >> - y 116 - t 306 > >> >> >> - left ctrl 99 - c > >> >> >> > >> >> >> On Sun, 14 Feb 2016 at 01:07 Shlomo Solomon > >> >> >> wrote: > >> >> >> > >> >> >> > I'm having a problem getting text input with pygame. > >> >> >> > Here's a simple program and the results I'm getting. Digits > >> >> >> > and special keys work but I'm getting strange results for > >> >> >> > alphabet keys. Any idea what my problem is? > >> >> >> > > >> >> >> > > >> >> >> > import pygame > >> >> >> > pygame.init() > >> >> >> > pygame.display.set_mode((100, 100)) > >> >> >> > while True: > >> >> >> > for event in pygame.event.get(): > >> >> >> > if event.type == pygame.KEYDOWN: > >> >> >> > print event.key, "-", > >> >> >> > pygame.key.name(event.key) > >> >> >> > > >> >> >> > > >> >> >> > When I hit 1, 2, F1, F2, LeftShift, PageDown, a, b the > >> >> >> > output is: > >> >> >> > > >> >> >> > 49 - 1 > >> >> >> > 50 - 2 > >> >> >> > 282 - f1 > >> >> >> > 283 - f2 > >> >> >> > 304 - left shift > >> >> >> > 281 - page down > >> >> >> > 249 - world 89 > >> >> >> > 240 - world 80 > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Shlomo Solomon > >> >> >> > http://the-solomons.net > >> >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> >> >> > > >> >> >> > > >> >> >> > _______________________________________________ > >> >> >> > Linux-il mailing list > >> >> >> > Linux-il at cs.huji.ac.il > >> >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >> >> >> > > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Shlomo Solomon > >> >> > http://the-solomons.net > >> >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > Linux-il mailing list > >> >> > Linux-il at cs.huji.ac.il > >> >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >> > > >> > > >> > > >> > -- > >> > Shlomo Solomon > >> > http://the-solomons.net > >> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > >> > > >> > > >> > _______________________________________________ > >> > Linux-il mailing list > >> > Linux-il at cs.huji.ac.il > >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5 From aronovitch at gmail.com Sat Feb 20 23:55:08 2016 From: aronovitch at gmail.com (Amit Aronovitch) Date: Sat, 20 Feb 2016 23:55:08 +0200 Subject: problems upgrading an Ubuntu EC2 node Message-ID: Hi list, I have an Ubuntu machine on EC2, which I have been trying to upgrade from 12.04 to 14.04 using the do-release-upgrade command. This seemed to work well, but when it finally rebooted, it became unreachable (shows 1/2 checks passed in the EC2 management console, does not respond to ssh). I repeated the process twice (restored from image, upgraded), with the same results. Also, when I try to attach the "upgraded" root disk image to a working node as an extra disk, that node becomes unrestartable too (loses connectivity if you try to restart it with this disk attached, but works OK if you detach it). Did anyone encounter such an issue before? Any idea how to solve this other than installing a vanilla node from scratch and moving all the local installations manually? thanks, AA -------------- next part -------------- An HTML attachment was scrubbed... URL: From aronovitch at gmail.com Sat Feb 20 23:58:35 2016 From: aronovitch at gmail.com (Amit Aronovitch) Date: Sat, 20 Feb 2016 23:58:35 +0200 Subject: problems upgrading an Ubuntu EC2 node In-Reply-To: References: Message-ID: whoops. Forgot to attach log: ------------------------------------------------ Xen Minimal OS! start_info: 0xa01000(VA) nr_pages: 0x26700 shared_inf: 0x7ccbf000(MA) pt_base: 0xa04000(VA) nr_pt_frames: 0x9 mfn_list: 0x967000(VA) mod_start: 0x0(VA) mod_len: 0 flags: 0x0 cmd_line: root=/dev/sda1 ro 4 stack: 0x946780-0x966780 MM: Init _text: 0x0(VA) _etext: 0x621f5(VA) _erodata: 0x76000(VA) _edata: 0x7b6d4(VA) stack start: 0x946780(VA) _end: 0x966d34(VA) start_pfn: a10 max_pfn: 26700 Mapping memory range 0xc00000 - 0x26700000 setting 0x0-0x76000 readonly skipped 0x1000 MM: Initialise page allocator for b3e000(b3e000)-0(26700000) MM: done Demand map pfns at 26701000-36701000. Heap resides at 36702000-76702000. Initialising timer interface Initialising console ... done. gnttab_table mapped at 0x26701000. Initialising scheduler Thread "Idle": pointer: 0x36702008, stack: 0xbf0000 Initialising xenbus Thread "xenstore": pointer: 0x36702478, stack: 0x26600000 Dummy main: start_info=0x966880 Thread "main": pointer: 0x367028e8, stack: 0x26610000 "main" "root=/dev/sda1" "ro" "4" vbd 2049 is hd0 ******************* BLKFRONT for device/vbd/2049 ********** backend at /local/domain/0/backend/vbd/7625/2049 Failed to read /local/domain/0/backend/vbd/7625/2049/feature-barrier. Failed to read /local/domain/0/backend/vbd/7625/2049/feature-flush-cache. 16777216 sectors of 0 bytes **************************  Booting 'Ubuntu 14.04.3 LTS, kernel 3.13.0-77-generic' root (hd0) Filesystem type is ext2fs, using whole disk kernel /boot/vmlinuz-3.13.0-77-generic root=LABEL=cloudimg-rootfs ro console=h vc0 initrd /boot/initrd.img-3.13.0-77-generic close blk: backend at /local/domain/0/backend/vbd/7625/2049 [ 0.000000] Reserving virtual address space above 0xf5800000 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.13.0-77-generic (buildd at lcy01-35) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #121-Ubuntu SMP Wed Jan 20 10:50:59 UTC 2016 (Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32) [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 [ 0.000000] Transmeta TransmetaCPU [ 0.000000] UMC UMC UMC UMC [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable [ 0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved [ 0.000000] Xen: [mem 0x0000000000100000-0x0000000026efffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI not present or invalid. [ 0.000000] e820: last_pfn = 0x26f00 max_arch_pfn = 0x1000000 [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff] [ 0.000000] init_memory_mapping: [mem 0x26400000-0x265fffff] [ 0.000000] init_memory_mapping: [mem 0x24000000-0x263fffff] [ 0.000000] init_memory_mapping: [mem 0x00100000-0x23ffffff] [ 0.000000] init_memory_mapping: [mem 0x26600000-0x26efffff] [ 0.000000] RAMDISK: [mem 0x01df1000-0x02b56fff] [ 0.000000] 0MB HIGHMEM available. [ 0.000000] 623MB LOWMEM available. [ 0.000000] mapped low ram: 0 - 26f00000 [ 0.000000] low ram: 0 - 26f00000 [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00001000-0x00ffffff] [ 0.000000] Normal [mem 0x01000000-0x26efffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00001000-0x0009ffff] [ 0.000000] node 0: [mem 0x00100000-0x26efffff] [ 0.000000] Using APIC driver default [ 0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] Found and enabled local APIC! [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.000000] e820: [mem 0x26f00000-0xffffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen version: 3.4.3.amazon (preserve-AD) [ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 14 pages/cpu @e66eb000 s35520 r0 d21824 u57344 [78632869.862863] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 158145 [78632869.862866] Kernel command line: root=LABEL=cloudimg-rootfs ro console=hvc0 [78632869.864004] PID hash table entries: 4096 (order: 2, 16384 bytes) [78632869.864104] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [78632869.864372] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [78632869.864507] Initializing CPU#0 [78632869.864759] allocated 1275896 bytes of page_cgroup [78632869.864761] please try 'cgroup_disable=memory' option if you don't want memory cgroups [78632869.864767] Initializing HighMem for node 0 (00000000:00000000) [78632869.866079] Memory: 594704K/637564K available (6563K kernel code, 645K rwdata, 2776K rodata, 880K init, 924K bss, 42860K reserved, 0K highmem) [78632869.866085] virtual kernel memory layout: [78632869.866085] fixmap : 0xf5714000 - 0xf57ff000 ( 940 kB) [78632869.866085] pkmap : 0xf5400000 - 0xf5600000 (2048 kB) [78632869.866085] vmalloc : 0xe7700000 - 0xf53fe000 ( 220 MB) [78632869.866085] lowmem : 0xc0000000 - 0xe6f00000 ( 623 MB) [78632869.866085] .init : 0xc19c3000 - 0xc1a9f000 ( 880 kB) [78632869.866085] .data : 0xc1669040 - 0xc19c2740 (3429 kB) [78632869.866085] .text : 0xc1000000 - 0xc1669040 (6564 kB) [78632869.866149] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [78632869.866172] Hierarchical RCU implementation. [78632869.866173] RCU dyntick-idle grace-period acceleration is enabled. [78632869.866175] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1. [78632869.866182] NR_IRQS:2304 nr_irqs:256 16 [78632869.866290] Console: colour dummy device 80x25 [78632869.866486] console [tty0] enabled [78632869.866784] console [hvc0] enabled [78632869.866814] installing Xen timer for CPU 0 [78632869.866847] tsc: Detected 1799.999 MHz processor [78632869.866855] Calibrating delay loop (skipped), value calculated using timer frequency.. 3599.99 BogoMIPS (lpj=7199996) [78632869.866869] pid_max: default: 32768 minimum: 301 [78632869.866905] Security Framework initialized [78632869.866929] AppArmor: AppArmor initialized [78632869.866935] Yama: becoming mindful. [78632869.866992] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [78632869.867002] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [78632869.867249] Initializing cgroup subsys memory [78632869.867263] Initializing cgroup subsys devices [78632869.867270] Initializing cgroup subsys freezer [78632869.867277] Initializing cgroup subsys blkio [78632869.867283] Initializing cgroup subsys perf_event [78632869.867291] Initializing cgroup subsys hugetlb [78632869.867364] CPU: Physical Processor ID: 1 [78632869.867372] CPU: Processor Core ID: 7 [78632869.867386] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0 [78632869.867386] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32 [78632869.867386] tlb_flushall_shift: 5 [78632870.601485] Freeing SMP alternatives memory: 32K (c1a9f000 - c1aa7000) [78632870.603037] ftrace: allocating 27892 entries in 55 pages [78632870.621545] cpu 0 spinlock event irq 17 [78632870.645415] Performance Events: unsupported p6 CPU model 45 no PMU driver, software events only. [78632870.647440] x86: Booted up 1 node, 1 CPUs [78632870.647504] NMI watchdog: disabled (cpu0): hardware events not enabled [78632870.647621] devtmpfs: initialized [78632870.647764] EVM: security.selinux [78632870.647771] EVM: security.SMACK64 [78632870.647776] EVM: security.ima [78632870.647780] EVM: security.capability [78632870.649026] pinctrl core: initialized pinctrl subsystem [78632870.649066] xen:grant_table: Grant tables using version 1 layout [78632870.649105] Grant table initialized [78632870.649163] regulator-dummy: no parameters [78632870.669041] RTC time: 165:165:165, date: 165/165/65 [78632870.669110] NET: Registered protocol family 16 [78632870.669326] EISA bus registered [78632870.670248] PCI: setting up Xen PCI frontend stub [78632870.671349] bio: create slab at 0 [78632870.671509] ACPI: Interpreter disabled. [78632870.671525] xen:balloon: Initialising balloon driver [78632870.672475] xen_balloon: Initialising balloon driver [78632870.672684] vgaarb: loaded [78632870.672925] SCSI subsystem initialized [78632870.673031] usbcore: registered new interface driver usbfs [78632870.673049] usbcore: registered new interface driver hub [78632870.673079] usbcore: registered new device driver usb [78632870.673203] PCI: System does not support PCI [78632870.673211] PCI: System does not support PCI [78632870.673309] NetLabel: Initializing [78632870.673316] NetLabel: domain hash size = 128 [78632870.673322] NetLabel: protocols = UNLABELED CIPSOv4 [78632870.673340] NetLabel: unlabeled traffic allowed by default [78632870.673448] Switched to clocksource xen [78632870.680988] AppArmor: AppArmor Filesystem Enabled [78632870.681011] pnp: PnP ACPI: disabled [78632870.681017] PnPBIOS: Disabled [78632870.682708] NET: Registered protocol family 2 [78632870.682945] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [78632870.682967] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [78632870.682991] TCP: Hash tables configured (established 8192 bind 8192) [78632870.683018] TCP: reno registered [78632870.683024] UDP hash table entries: 512 (order: 2, 16384 bytes) [78632870.683035] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [78632870.683095] NET: Registered protocol family 1 [78632870.683172] Trying to unpack rootfs image as initramfs... [78632870.700597] Freeing initrd memory: 13720K (c1df1000 - c2b57000) [78632870.700806] platform rtc_cmos: registered platform RTC device (no PNP device found) [78632870.700892] microcode: CPU0 sig=0x206d7, pf=0x1, revision=0x70a [78632870.700956] microcode: Microcode Update Driver: v2.00 < tigran at aivazian.fsnet.co.uk>, Peter Oruba [78632870.700967] Scanning for low memory corruption every 60 seconds [78632870.701256] Initialise system trusted keyring [78632870.701315] audit: initializing netlink socket (disabled) [78632870.701335] type=2000 audit(1456001126.550:1): initialized [78632870.729117] HugeTLB registered 2 MB page size, pre-allocated 0 pages [78632870.730453] zbud: loaded [78632870.730555] VFS: Disk quotas dquot_6.5.2 [78632870.730615] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [78632870.731134] fuse init (API version 7.22) [78632870.731227] msgmni has been set to 1188 [78632870.731306] Key type big_key registered [78632870.731607] Key type asymmetric registered [78632870.731615] Asymmetric key parser 'x509' registered [78632870.731657] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [78632870.731697] io scheduler noop registered [78632870.800394] io scheduler deadline registered (default) [78632870.800467] io scheduler cfq registered [78632870.800557] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [78632870.800581] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [78632870.800647] ipmi message handler version 39.2 [78632870.800891] isapnp: Scanning for PnP cards... [78632870.806636] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [78632870.807941] Linux agpgart interface v0.103 [78632870.809495] brd: module loaded [78632870.810301] loop: module loaded [78632871.157746] isapnp: No Plug & Play device found [78632871.162487] libphy: Fixed MDIO Bus: probed [78632871.162625] tun: Universal TUN/TAP device driver, 1.6 [78632871.162635] tun: (C) 1999-2004 Max Krasnyansky [78632871.162725] PPP generic driver version 2.4.2 [78632871.162773] xen_netfront: Initialising Xen virtual ethernet driver [78632871.165028] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [78632871.165051] ehci-pci: EHCI PCI platform driver [78632871.165073] ehci-platform: EHCI generic platform driver [78632871.165088] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [78632871.165095] ohci-pci: OHCI PCI platform driver [78632871.165108] ohci-platform: OHCI generic platform driver [78632871.165120] uhci_hcd: USB Universal Host Controller Interface driver [78632871.165179] i8042: PNP: No PS/2 controller found. Probing ports directly. [78632872.170405] i8042: No controller found [78632872.170638] mousedev: PS/2 mouse device common for all mice [78632872.230465] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [78632872.230554] rtc_cmos: probe of rtc_cmos failed with error -38 [78632872.230713] device-mapper: uevent: version 1.0.3 [78632872.230827] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel at redhat.com [78632872.230965] blkfront: xvda1: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: disabled; [78632872.231016] platform eisa.0: Probing EISA bus 0 [78632872.231052] platform eisa.0: EISA: Detected 0 cards [78632872.231062] cpufreq-nforce2: No nForce2 chipset. [78632872.231070] ledtrig-cpu: registered to indicate activity on CPUs [78632872.231253] TCP: cubic registered [78632872.231362] NET: Registered protocol family 10 [78632872.231633] NET: Registered protocol family 17 [78632872.231655] Key type dns_resolver registered [78632872.231728] Using IPI No-Shortcut mode [78632872.231823] Loading compiled-in X.509 certificates [78632872.236290] Loaded X.509 cert 'Magrathea: Glacier signing key: 7a4c6b37c9fca02bc2029f553872d2d58debce69' [78632872.236321] registered taskstats version 1 [78632872.240306] Key type trusted registered [78632872.246955] Key type encrypted registered [78632872.246971] AppArmor: AppArmor sha1 policy hashing enabled [78632872.246984] IMA: No TPM chip found, activating TPM-bypass! [78632872.345504] regulator-dummy: incomplete constraints, leaving on [78632872.345575] Magic number: 1:252:3141 [78632872.345622] /build/linux-cpM_Vg/linux-3.13.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [78632872.345681] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [78632872.345690] EDD information not available. [78632872.346416] Freeing unused kernel memory: 880K (c19c3000 - c1a9f000) [78632872.348569] Write protecting the kernel text: 6568k [78632872.349511] Write protecting the kernel read-only data: 2780k [78632872.349520] NX-protecting the kernel data: 5720k Loading, please wait... [78632872.381742] systemd-udevd[91]: starting version 204 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. [78632874.062179] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. [78632875.409224] random: nonblocking pool is initialized lxcmount stop/pre-start, process 148 -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Sun Feb 21 20:46:44 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Sun, 21 Feb 2016 20:46:44 +0200 Subject: =?UTF-8?B?15HXmdem15XXoiDXqteZ15DXldedINee16Eg15HXkNeq16gg15TXnteZ16HXmded?= Message-ID: ???? ?????, ?? ?? ???? ???? ??????, ?? ??? ?? ???? ??? ??????? ????? ??????? (??? ??? ???): ??? ??? ???? ???????. ??? ???? ???? ?? ????? ?????? ?????? ????? ??[1]. ???? ???? ?? ???????, ??? ????? ?? ????? "???" ?.... ???? ?? ????. ?????? ???? ????? ??? ?? ???? (Waiting for www.misim.gov.il...) ???... ??? ????? ?? ????? ???? ????? ??????? (48.0.2564.109 (Official Build) (64-bit)) ?? ??????? 14.04.4 64Bit. ??? ???? ????? ?? ???? ?? ????? ????. ???? ?????? ??????, ?? ??... ????? ??????? ????? ?? ????? ?? Exlorer.. ????, ?????? ????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Feb 22 12:45:10 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 22 Feb 2016 12:45:10 +0200 Subject: =?UTF-8?B?UmU6INeR15nXpteV16Ig16rXmdeQ15XXnSDXntehINeR15DXqteoINeU157Xmdeh15nXnQ==?= In-Reply-To: References: Message-ID: Did you try firefox? Different render engine may do the trick... And IE is an option through wine.... (though of course it should not be needed) 2016-02-21 20:46 GMT+02:00 Amichai Rotman : > ???? ?????, > > ?? ?? ???? ???? ??????, ?? ??? ?? ???? ??? ??????? ????? ??????? (??? ??? > ???): > > ??? ??? ???? ???????. ??? ???? ???? ?? ????? ?????? ?????? ????? ??[1]. ???? > ???? ?? ???????, ??? ????? ?? ????? "???" ?.... ???? ?? ????. ?????? ???? > ????? ??? ?? ???? (Waiting for www.misim.gov.il...) ???... > > ??? ????? ?? ????? ???? ????? ??????? (48.0.2564.109 (Official Build) > (64-bit)) ?? ??????? 14.04.4 64Bit. > > ??? ???? ????? ?? ???? ?? ????? ????. ???? ?????? ??????, ?? ??... > > ????? ??????? ???? ?? ????? ?? Exlorer.. > > ????, > > ?????? ????? > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From rabin at rabin.io Mon Feb 22 13:56:37 2016 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Mon, 22 Feb 2016 13:56:37 +0200 Subject: =?UTF-8?B?UmU6INeR15nXpteV16Ig16rXmdeQ15XXnSDXntehINeR15DXqteoINeU157Xmdeh15nXnQ==?= In-Reply-To: References: Message-ID: Open the `Developer Console` and goto the network tab, clean the log before pressing the "???" button, this should give a better overview what really is happening. - also try and change/fake the user-agent string and see if that help in any why. - my guess is that there is some JS not hooking. -- Rabin 2016-02-21 20:46 GMT+02:00 Amichai Rotman : > ???? ?????, > > ?? ?? ???? ???? ??????, ?? ??? ?? ???? ??? ??????? ????? ??????? (??? ??? > ???): > > ??? ??? ???? ???????. ??? ???? ???? ?? ????? ?????? ?????? ????? ??[1]. > ???? ???? ?? ???????, ??? ????? ?? ????? "???" ?.... ???? ?? ????. ?????? > ???? ????? ??? ?? ???? (Waiting for www.misim.gov.il...) ???... > > ??? ????? ?? ????? ???? ????? ??????? (48.0.2564.109 (Official Build) > (64-bit)) ?? ??????? 14.04.4 64Bit. > > ??? ???? ????? ?? ???? ?? ????? ????. ???? ?????? ??????, ?? ??... > > ????? ??????? ????? ?? ????? ?? Exlorer.. > > ????, > > ?????? ????? > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Mon Feb 22 16:04:30 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Mon, 22 Feb 2016 16:04:30 +0200 Subject: =?UTF-8?B?UmU6INeR15nXpteV16Ig16rXmdeQ15XXnSDXntehINeR15DXqteoINeU157Xmdeh15nXnQ==?= In-Reply-To: References: Message-ID: Thank you all! Accessing the sit using Firefox did the trick... Amichai ?????? 22 ??????? 2016 ???? 13:56, ??? Rabin Yasharzadehe : > Open the `Developer Console` and goto the network tab, > clean the log before pressing the "???" button, this should give a better > overview what really is happening. > > - also try and change/fake the user-agent string and see if that help in > any why. > - my guess is that there is some JS not hooking. > > -- Rabin 2016-02-21 20:46 GMT+02:00 Amichai Rotman : > ???? ?????, > > ?? ?? ???? ???? ??????, ?? ??? ?? ???? ??? ??????? ????? ??????? (??? ??? > ???): > > ??? ??? ???? ???????. ??? ???? ???? ?? ????? ?????? ?????? ????? ??[1]. > ???? ???? ?? ???????, ??? ????? ?? ????? "???" ?.... ???? ?? ????. ?????? > ???? ????? ??? ?? ???? (Waiting for www.misim.gov.il...) ???... > > ??? ????? ?? ????? ???? ????? ??????? (48.0.2564.109 (Official Build) > (64-bit)) ?? ??????? 14.04.4 64Bit. > > ??? ???? ????? ?? ???? ?? ????? ????. ???? ?????? ??????, ?? ??... > > ????? ??????? ????? ?? ????? ?? Exlorer.. > > ????, > > ?????? ????? > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aronovitch at gmail.com Tue Feb 23 00:08:48 2016 From: aronovitch at gmail.com (Amit Aronovitch) Date: Tue, 23 Feb 2016 00:08:48 +0200 Subject: problems upgrading an Ubuntu EC2 node In-Reply-To: References: Message-ID: Posting the fix to list, in case someone searches the archives: Turns out that there were some leftover upstart files in /etc/init/, which apparently belonged to an old package (lxcguest) which had been uninstalled but left configured (possibly a remainder from a previous upgrade). Moving them away (by attaching and mounting the root volume onto another, live, machine) made the upgraded-ubuntu-machine bootable. The solution was taken from this link (which also details the diagnosis): http://www.nicksherlock.com/2015/01/my-ec2-server-wouldnt-boot-after-apt-get-dist-upgrade-i-fixed-it/ Thanks Shimi for the quick response and for pointing out that link to me. AA p.s. I still have no idea why attaching this volume to a stopped machine had made it unbootable (upstart cannot be affected by extra disks that are not even automounted via fstab). -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Tue Feb 23 00:24:34 2016 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 23 Feb 2016 09:24:34 +1100 Subject: problems upgrading an Ubuntu EC2 node In-Reply-To: References: Message-ID: Thanks for coming back with the solution. Though in a broader perspective: "you are holding it wrong" - get used to the fact that you are running in the cloud and use it right - learn to build your images from scratch so you can move to a updated base image and automatically install and configure your system on top of it. Otherwise I can guarantee that you'll hit such a problem (or be very worried about it) in your next upgrade. On 23 Feb 2016 9:09 a.m., "Amit Aronovitch" wrote: > Posting the fix to list, in case someone searches the archives: > > Turns out that there were some leftover upstart files in /etc/init/, which > apparently belonged to an old package (lxcguest) which had been uninstalled > but left configured (possibly a remainder from a previous upgrade). > Moving them away (by attaching and mounting the root volume onto another, > live, machine) made the upgraded-ubuntu-machine bootable. > > The solution was taken from this link (which also details the diagnosis): > > http://www.nicksherlock.com/2015/01/my-ec2-server-wouldnt-boot-after-apt-get-dist-upgrade-i-fixed-it/ > > Thanks Shimi for the quick response and for pointing out that link to me. > > AA > > p.s. I still have no idea why attaching this volume to a stopped machine > had made it unbootable (upstart cannot be affected by extra disks that are > not even automounted via fstab). > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaplanlior at gmail.com Fri Feb 26 00:23:00 2016 From: kaplanlior at gmail.com (Lior Kaplan) Date: Fri, 26 Feb 2016 00:23:00 +0200 Subject: Radiflow is looking for help with RPM packaging Message-ID: Hi Guys, I'm been contacted by Radiflow for help creating RPM packages of their product, but don't have the free time for that. They are looking for someone to hire who could consult / do the packaging himself. Please contact Ran (CCed) if you're interested. Kaplan -------------- next part -------------- An HTML attachment was scrubbed... URL: From valery_reznic at yahoo.com Sat Feb 27 21:46:33 2016 From: valery_reznic at yahoo.com (Valery Reznic) Date: Sat, 27 Feb 2016 19:46:33 +0000 (UTC) Subject: [OT] Password regex change on mybills.co.il References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> Message-ID: <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> Hi, All. It's not actually Linux-related, but more regular-expression question.Nevertheless ... Recently I was unable to login into site mybills.co.il Attempt to reset password also failed due to regular expression test failed. Mybills claims that password should be 8-10 characters long and should?include at least two digits and Latin letters. Whatever I tried as password - I was not able to pass their regex test. After a bit of diggingI found following in the https://www.mybills.co.il/js/Validations.js //var passREGEX = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$%^&*()+-_=])).*/; var passREGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\!\?\^@])(?=.{8,})/; I tried first (commented out) regex in ?the regex101.com and indeed password with 2 digits and 2 Latin letters matches I tried the second (active) one- no matches. Any idea what password should looks like to match this regex? I tried to contact mybills's support - no luck here :( Valery -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Sat Feb 27 23:28:58 2016 From: w1 at zak.co.il (Omer Zak) Date: Sat, 27 Feb 2016 23:28:58 +0200 Subject: [OT] Password regex change on mybills.co.il In-Reply-To: <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1456608538.19127.51.camel@zak.co.il> DISCLAIMER: I tested on Python's re. Each of the sub-patterns enclosed in (?=...) is a lookahead pattern. As such, they do not consume the string, just check if it matches them. The whole pattern is effectively an AND of the subpatterns. The last pattern matches 8 or more characters (any character). Therefore, the string to be matched needs to be at least 8 characters long (no upper bound) and have at least one character from each of the following groups: a-z A-Z 0-9 ~#%&=$-!?^@ (one of 11 specific special characters) The other characters may be just any character you want (including spaces). I confirmed that the following strings match the pattern (without the doublequotes): "aA0~...." (8 characters long) "aA0~....." (9 characters long) "bzCY19#@---" (11 characters long) "bzCY19^9 99" (11 characters long, with space) --- Omer On Sat, 2016-02-27 at 19:46 +0000, Valery Reznic wrote: > Hi, All. > > > It's not actually Linux-related, but more regular-expression question. > Nevertheless ... > > > Recently I was unable to login into site mybills.co.il > > > Attempt to reset password also failed due to regular expression test > failed. > > > Mybills claims that password should be 8-10 characters long and > should > include at least two digits and Latin letters. > > > Whatever I tried as password - I was not able to pass their regex > test. > > > After a bit of digging > I found following in the https://www.mybills.co.il/js/Validations.js > > > > > //var passREGEX > = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$% > ^&*()+-_=])).*/; > var passREGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\! > \?\^@])(?=.{8,})/; > > > I tried first (commented out) regex in > the regex101.com and indeed password with 2 digits and 2 Latin > letters matches > > > I tried the second (active) one- no matches. > > > Any idea what password should looks like to match this regex? > > > I tried to contact mybills's support - no luck here :( -- $ python >>> type(type(type)) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From esr+linux-il at g.jct.ac.il Sun Feb 28 00:02:55 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 28 Feb 2016 00:02:55 +0200 Subject: [OT] Password regex change on mybills.co.il In-Reply-To: <1456608538.19127.51.camel@zak.co.il> References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> <1456608538.19127.51.camel@zak.co.il> Message-ID: The active regex (in the file you sent) is: var passREGEX = /^(?=.{8,10}$)(?=(.*[0-9]){1,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$%^&*()+-_=])).*/i; Which says: 8-10 chars at least 1 number at least 2 latin chars any number of special chars. Note that there is no demand for capitals and no demand for at least one special char. I used this cute site to verify my claims: https://regex101.com/ HTH ???? ???, Eliyahu - ????? 2016-02-27 23:28 GMT+02:00 Omer Zak : > DISCLAIMER: I tested on Python's re. > > Each of the sub-patterns enclosed in (?=...) is a lookahead pattern. > As such, they do not consume the string, just check if it matches them. > The whole pattern is effectively an AND of the subpatterns. > The last pattern matches 8 or more characters (any character). > > Therefore, the string to be matched needs to be at least 8 characters > long (no upper bound) and have at least one character from each of the > following groups: > a-z > A-Z > 0-9 > ~#%&=$-!?^@ (one of 11 specific special characters) > > The other characters may be just any character you want (including > spaces). > > I confirmed that the following strings match the pattern (without the > doublequotes): > "aA0~...." (8 characters long) > "aA0~....." (9 characters long) > "bzCY19#@---" (11 characters long) > "bzCY19^9 99" (11 characters long, with space) > > --- Omer > > > > On Sat, 2016-02-27 at 19:46 +0000, Valery Reznic wrote: >> Hi, All. >> >> >> It's not actually Linux-related, but more regular-expression question. >> Nevertheless ... >> >> >> Recently I was unable to login into site mybills.co.il >> >> >> Attempt to reset password also failed due to regular expression test >> failed. >> >> >> Mybills claims that password should be 8-10 characters long and >> should >> include at least two digits and Latin letters. >> >> >> Whatever I tried as password - I was not able to pass their regex >> test. >> >> >> After a bit of digging >> I found following in the https://www.mybills.co.il/js/Validations.js >> >> >> >> >> //var passREGEX >> = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$% >> ^&*()+-_=])).*/; >> var passREGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\! >> \?\^@])(?=.{8,})/; >> >> >> I tried first (commented out) regex in >> the regex101.com and indeed password with 2 digits and 2 Latin >> letters matches >> >> >> I tried the second (active) one- no matches. >> >> >> Any idea what password should looks like to match this regex? >> >> >> I tried to contact mybills's support - no luck here :( > > > -- > $ python >>>> type(type(type)) > My own blog is at http://www.zak.co.il/tddpirate/ > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From esr+linux-il at g.jct.ac.il Sun Feb 28 00:05:38 2016 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 28 Feb 2016 00:05:38 +0200 Subject: [OT] Password regex change on mybills.co.il In-Reply-To: References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> <1456608538.19127.51.camel@zak.co.il> Message-ID: (And you can also use Hebrew, Chinese, emoji or any other chars as long as there are 2 latins, 1 number and no less then 8 and no more then 10 characters all in all) 2016-02-28 0:02 GMT+02:00 E.S. Rosenberg : > The active regex (in the file you sent) is: > > var passREGEX = > /^(?=.{8,10}$)(?=(.*[0-9]){1,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$%^&*()+-_=])).*/i; > > Which says: > 8-10 chars > at least 1 number > at least 2 latin chars > any number of special chars. > > Note that there is no demand for capitals and no demand for at least > one special char. > > I used this cute site to verify my claims: > https://regex101.com/ > > HTH ???? ???, > Eliyahu - ????? > > 2016-02-27 23:28 GMT+02:00 Omer Zak : >> DISCLAIMER: I tested on Python's re. >> >> Each of the sub-patterns enclosed in (?=...) is a lookahead pattern. >> As such, they do not consume the string, just check if it matches them. >> The whole pattern is effectively an AND of the subpatterns. >> The last pattern matches 8 or more characters (any character). >> >> Therefore, the string to be matched needs to be at least 8 characters >> long (no upper bound) and have at least one character from each of the >> following groups: >> a-z >> A-Z >> 0-9 >> ~#%&=$-!?^@ (one of 11 specific special characters) >> >> The other characters may be just any character you want (including >> spaces). >> >> I confirmed that the following strings match the pattern (without the >> doublequotes): >> "aA0~...." (8 characters long) >> "aA0~....." (9 characters long) >> "bzCY19#@---" (11 characters long) >> "bzCY19^9 99" (11 characters long, with space) >> >> --- Omer >> >> >> >> On Sat, 2016-02-27 at 19:46 +0000, Valery Reznic wrote: >>> Hi, All. >>> >>> >>> It's not actually Linux-related, but more regular-expression question. >>> Nevertheless ... >>> >>> >>> Recently I was unable to login into site mybills.co.il >>> >>> >>> Attempt to reset password also failed due to regular expression test >>> failed. >>> >>> >>> Mybills claims that password should be 8-10 characters long and >>> should >>> include at least two digits and Latin letters. >>> >>> >>> Whatever I tried as password - I was not able to pass their regex >>> test. >>> >>> >>> After a bit of digging >>> I found following in the https://www.mybills.co.il/js/Validations.js >>> >>> >>> >>> >>> //var passREGEX >>> = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$% >>> ^&*()+-_=])).*/; >>> var passREGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\! >>> \?\^@])(?=.{8,})/; >>> >>> >>> I tried first (commented out) regex in >>> the regex101.com and indeed password with 2 digits and 2 Latin >>> letters matches >>> >>> >>> I tried the second (active) one- no matches. >>> >>> >>> Any idea what password should looks like to match this regex? >>> >>> >>> I tried to contact mybills's support - no luck here :( >> >> >> -- >> $ python >>>>> type(type(type)) >> My own blog is at http://www.zak.co.il/tddpirate/ >> My opinions, as expressed in this E-mail message, are mine alone. >> They do not represent the official policy of any organization with which >> I may be affiliated in any way. >> WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From slitt at troubleshooters.com Sat Feb 27 23:08:44 2016 From: slitt at troubleshooters.com (Steve Litt) Date: Sat, 27 Feb 2016 16:08:44 -0500 Subject: [OT] Password regex change on mybills.co.il In-Reply-To: <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20160227160844.089e743a@mydesk.domain.cxm> On Sat, 27 Feb 2016 19:46:33 +0000 (UTC) Valery Reznic wrote: > Hi, All. > It's not actually Linux-related, but more regular-expression > question.Nevertheless ... Recently I was unable to login into site > mybills.co.il Attempt to reset password also failed due to regular > expression test failed. Mybills claims that password should be 8-10 > characters long and should?include at least two digits and Latin > letters. Whatever I tried as password - I was not able to pass their > regex test. After a bit of diggingI found following in the > https://www.mybills.co.il/js/Validations.js > > //var passREGEX > = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$%^&*()+-_=])).*/; > var passREGEX > = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\!\?\^@])(?=.{8,})/; > I tried first (commented out) regex in the regex101.com and indeed > password with 2 digits and 2 Latin letters matches I tried the second > (active) one- no matches. Any idea what password should looks like to > match this regex? I tried to contact mybills's support - no luck > here :( Valery Hi Valery, I'm not sure what you're trying to do here. Are you trying to debug their regex so they can fix it? Are you trying to make your own regex to produce valid passwords you can submit to them? You said: ================================================ Mybills claims that password should be 8-10 characters long and should?include at least two digits and Latin letters. ================================================ Are you saying that all characters should be Latin, or only some of them? Should everything that's not be a digit be [A-Z,a-z]? Anyway, in my opinion regex is an abysmal way to solve this. Like bash one-liners and SQL, regex is great for writing a very short solution. Like bash one-liners and SQL, using it for stuff it wasn't intended to be used for takes more time than just writing out the code. So I'd do it more like this: ======================================================= #!/usr/bin/python3 MAXLEN=10 MINLEN=8 MINDIGITS=2 import sys import string def isascii(ltr): asc='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' return(len(asc.split(ltr, 2)) == 2) def main(): groups={'digits': 0, 'letters': 0} candidate = sys.argv[1] if len(candidate) > MAXLEN or len(candidate) < MINLEN: msg='BADPASS, password length must be {} to {}.' msg=msg.format(MINLEN, MAXLEN) print(msg) sys.exit(1) max = len(candidate) for ss in range(0, len(candidate)): ltr = candidate[ss] if ltr.isdigit(): groups['digits'] += 1 elif isascii(ltr): groups['letters'] += 1 else: msg='BADPASS: Bad password character "{}", ' msg+='only 0-9, A-Z, a-z allowed.' msg = msg.format(ltr) print(msg) sys.exit(1) if groups['digits'] < MINDIGITS: msg='BADPASS, password must contain at least ' msg+='{} digits.' msg=msg.format(MINDIGITS) print(msg) sys.exit(1) if groups['digits'] + groups['letters'] != len(candidate): msg='INTERNAL ERROR, letters and digits don\'t add ' msg+='up to password length: Contact developer!' print(msg) sys.exit(1) print('Password passes with flying colors.') sys.exit(0) if __name__ == "__main__": main() ======================================================= ================================================ -- SteveT Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key From amos.shapira at gmail.com Sun Feb 28 07:21:35 2016 From: amos.shapira at gmail.com (Amos Shapira) Date: Sun, 28 Feb 2016 16:21:35 +1100 Subject: [OT] Password regex change on mybills.co.il In-Reply-To: <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> References: <1633224994.274354.1456602393426.JavaMail.yahoo.ref@mail.yahoo.com> <1633224994.274354.1456602393426.JavaMail.yahoo@mail.yahoo.com> Message-ID: One condition I see from this regex which wasn't mentioned yet is that there should be at least two *consecutive* letters in the password. All in all, as Steve said - this is an idiotic way to enforce such complex requirements (and I consider myself a regex enthusiast), and they should fix their own shit. Just send them a password you tried so they can see for yourself that it doesn't work. On 28 Feb 2016 6:47 a.m., "Valery Reznic" wrote: > Hi, All. > > It's not actually Linux-related, but more regular-expression question. > Nevertheless ... > > Recently I was unable to login into site mybills.co.il > > Attempt to reset password also failed due to regular expression test > failed. > > Mybills claims that password should be 8-10 characters long and should > include at least two digits and Latin letters. > > Whatever I tried as password - I was not able to pass their regex test. > > After a bit of digging > I found following in the https://www.mybills.co.il/js/Validations.js > > > //var passREGEX = > /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$%^&*()+-_=])).*/; > var passREGEX = > /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\!\?\^@])(?=.{8,})/; > > I tried first (commented out) regex in > the regex101.com and indeed password with 2 digits and 2 Latin letters > matches > > I tried the second (active) one- no matches. > > Any idea what password should looks like to match this regex? > > I tried to contact mybills's support - no luck here :( > > Valery > > > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From valery_reznic at yahoo.com Sun Feb 28 08:40:34 2016 From: valery_reznic at yahoo.com (Valery Reznic) Date: Sun, 28 Feb 2016 06:40:34 +0000 (UTC) Subject: [OT] Password regex change on mybills.co.il In-Reply-To: <20160227160844.089e743a@mydesk.domain.cxm> References: <20160227160844.089e743a@mydesk.domain.cxm> Message-ID: <1955952846.376447.1456641634250.JavaMail.yahoo@mail.yahoo.com> Thanks to all for your help. Now I was able to login into my account. Downside is that now bills should be paid :( >>Hi Valery, > >I'm not sure what you're trying to do here. Are you trying to debug >their regex so they can fix it? Are you trying to make your own regex >to produce valid passwords you can submit to them? You said: Nothing of the sort - I was just wanting to be able to log into my account. Valery >> >================================================ >Mybills claims that password should be 8-10 characters long and >should include at least two digits and Latin letters. >================================================ > >Are you saying that all characters should be Latin, or only some of >them? Should everything that's not be a digit be [A-Z,a-z]? > >Anyway, in my opinion regex is an abysmal way to solve this. Like bash >one-liners and SQL, regex is great for writing a very short solution. >Like bash one-liners and SQL, using it for stuff it wasn't intended to >be used for takes more time than just writing out the code. > >So I'd do it more like this: > >======================================================= >#!/usr/bin/python3 > >MAXLEN=10 >MINLEN=8 >MINDIGITS=2 > >import sys >import string > >def isascii(ltr): > asc='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' > return(len(asc.split(ltr, 2)) == 2) > > >def main(): > groups={'digits': 0, 'letters': 0} > candidate = sys.argv[1] > if len(candidate) > MAXLEN or len(candidate) < MINLEN: > msg='BADPASS, password length must be {} to {}.' > msg=msg.format(MINLEN, MAXLEN) > print(msg) > sys.exit(1) > > max = len(candidate) > for ss in range(0, len(candidate)): > ltr = candidate[ss] > if ltr.isdigit(): > groups['digits'] += 1 > elif isascii(ltr): > groups['letters'] += 1 > else: > msg='BADPASS: Bad password character "{}", ' > msg+='only 0-9, A-Z, a-z allowed.' > msg = msg.format(ltr) > print(msg) > sys.exit(1) > if groups['digits'] < MINDIGITS: > msg='BADPASS, password must contain at least ' > msg+='{} digits.' > msg=msg.format(MINDIGITS) > print(msg) > sys.exit(1) > if groups['digits'] + groups['letters'] != len(candidate): > msg='INTERNAL ERROR, letters and digits don\'t add ' > msg+='up to password length: Contact developer!' > print(msg) > sys.exit(1) > print('Password passes with flying colors.') > sys.exit(0) > > >if __name__ == "__main__": > main() >======================================================= > > > > > >================================================ > > > >-- >SteveT > >Steve Litt >February 2016 featured book: The Key to Everyday Excellence >http://www.troubleshooters.com/key > >_______________________________________________ >Linux-il mailing list >Linux-il at cs.huji.ac.il >http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > From pub at goldshmidt.org Sun Feb 28 12:38:25 2016 From: pub at goldshmidt.org (Oleg Goldshmidt) Date: Sun, 28 Feb 2016 12:38:25 +0200 Subject: [JOB] DevOps engineer Message-ID: <87mvql2k7y.fsf@goldshmidt.org> Hi everyone, My employer, TrapX Security (www.trapx.com), is looking for an experienced DevOps engineer. The successful candidate will divide his/her time between supporting production/PoC cloud deployments and supporting R&D/QA in their work. Expected qualifications follow below. If you are interested, please send your CV to oleg (at) trapx.com (do not reply to this post). ----------------------------------------------------- Experience Level: Senior Employee Type: Full Time Location: Tel Aviv, Israel Applicable Skills : * Bachelor's degree in Computer Science or related field * Solid Linux systems administration experience * Excellent scripting abilities in Bash and Python * 5+ years automating operations and engineering tasks with scripting languages (Python a must) * Operational excellence through tool development, monitoring, logging, reporting, controls, and automation * Experience building cloud infrastructure with providers such as AWS, Google, and VMWare * Experience running mission-critical Linux servers in virtualized environments * Solid understanding of TCP/IP networking concepts and major protocols. * Solid understanding of tiered security concepts (network, OS, application). * Strong technical foundation in virtualization technologies * Ability to build, monitor, and tune production servers and services * Ability to work individually and in small teams -- Oleg Goldshmidt From amichai at iglu.org.il Mon Feb 29 11:49:23 2016 From: amichai at iglu.org.il (Amichai Rotman) Date: Mon, 29 Feb 2016 11:49:23 +0200 Subject: FLOSS Graphic Designers? Message-ID: Hi All, Any of you know of a Graphic Design person (freelance) or Shop in Israel (preferably in the Haifa area) that works with FLOSS software? i.e.: Gimp, Inkscape, Scribus, etc... Thanks! Amichai -------------- next part -------------- An HTML attachment was scrubbed... URL: