Shlomo Solomon | 14 Feb 00:06 2016
Picon

python pygame keyboard input

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

_______________________________________________
(Continue reading)

Amichai Rotman | 13 Feb 15:57 2016
Picon
Gravatar

RFC: Creating an Israeli directory of Linux savvy Computer Professionals?

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@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Yuval Adam | 4 Feb 09:24 2016
Gravatar

Thunderbird + Fribidi

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)

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Shlomi Fish | 31 Jan 20:37 2016
Picon

A patch I wrote to fix a bug I reported in Firefox has been applied to mozilla-central

Hi all,

a patch I wrote to fix a bug I also reported in Firefox (in the developer's tools) has recently been applied to mozilla-central. See:

* https://bugzilla.mozilla.org/show_bug.cgi?id=1205353

* https://twitter.com/shlomif/status/691593065086214144

The patch was already available and posted in December, and then I didn't hear from them for a long time and figured out the winter holidays kept them occupied. Then I sent a reminder about the patch to the bug tracker on 24 January, and it was applied (after some testing and reviewing) within 48 hours. I was told in the bug report that it "fell between the cracks".

So next time one should know to post a reminder quickly enough.

Writing the patch involved fixing the JavaScript UI code and also writing a new test to check it (also in JavaScript).

I'm really happy that the patch got applied and I'm looking forward to contributing more to Firefox in the future.

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 .
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Amos Shapira | 29 Jan 10:52 2016
Picon
Gravatar

Re: More pieces of the IPv6 puzzle (Re: ISP with native ipv6 in isarael)

Does anyone here have experience with public IPv6 in the cloud (AWS/DigitalOcean/Google, in decreasing order of preference)?

On 29 Jan 2016 6:19 a.m., "E.S. Rosenberg" <esr+linux-il <at> g.jct.ac.il> wrote:
2016-01-28 20:37 GMT+02:00 Beni Cherniavsky-Paskin <beni.cherniavsky-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
> Due to bezeq's modem's wifi unreliability, I'm mostly connecting to my
> own wifi router anyway.
> I'd have switched to it completely and use a firewall there, except
> it's old and doesn't support IPv6 at all, and I haven't gotten around
> to buy a new one and/or install *WRT.
I also use bezeq boxes as modem-only and have an OpenWRT box behind
them, TP-Link makes very nice boxes that support OpenWRT (their
cheapest model is the 80NIS 741ND which is very good alue for money)
>
> I'm also a general believer in securing my laptops rather than my
> network, as I'm connecting to any and all wifis when traveling,
> and I've been deliberately running an unsecured wifi for years,
> valuing helping neighbors & passers-by over security (nowdays there is
> no dillema I'm shifting to separate guest networks).
No question that your laptop should be secure but that is no reason to
leave your desktop, printer, NAS, home automation, home security etc.
unsecured.
>
> To some degree, the desire of dropping NAT and having
> world-addressable machines inherently conflicts with the desire to
> have a firewall.
That is non-sense, I worked at several locations with IP addresses as
water and just because we had all our machines (even on WiFi) have
world-addressable IPs didn't mean we didn't have a firewall to limit
access from the outside to be only through the paths we allowed.
There is also no real valid reason to allow the outside world to be
able to scan your inside network.... NAT always sort provided that out
of the box but a good firewall does that even without NAT.
>
> But the wisdom of all this is of course debatable.

_______________________________________________
Linux-il mailing list
Linux-il-NSemkxREmS1YZAO8hgG6+w@public.gmane.org
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Dimid Duchovny | 24 Jan 08:57 2016
Picon
Gravatar

Re: RavKav Online

(cc-ing everyone)
Their solution is java based, so it should be relatively easy to release a linux version. I've found an osx version on their site, and inside there's a jar with the following packages (see attached file) which I generated by running:
`jar tvf com/pcentra/ravkavsdk/desktop/osx/RavKavOnline.jar | egrep -v '(class)|(txt)|(xml)|(png)' | sort -u`

2016-01-24 8:33 GMT+02:00 Amichai Rotman <amichai-ik1l9ssToec+JF/nGntIXQ@public.gmane.org>:

It won't  work with wine. I didn't even try...

Someone should write a native Linux client for it. I would, but I am not a coder....

Amichai

On Jan 23, 2016 10:18 PM, "Dimid Duchovny" <dimidd <at> gmail.com> wrote:
FWIW, I tried using wine, and got the following error:
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:shell:SHGetKnownFolderPath flags 0x00004400 not supported

2016-01-22 15:00 GMT+02:00 Amichai Rotman <amichai-ik1l9ssToec+JF/nGntIXQ@public.gmane.org>:
Hey All,

I wonder any way to use RavKav Online on Linux?

Their app is for Windows only (big surprise!)...

Is there a way to make a Linux version available?

Thanks!

Amichai

_______________________________________________
Linux-il mailing list
Linux-il-4CMFUCtaffM@public.gmane.orgi.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



     0 Fri May 22 19:48:46 IDT 2015 com/squareup/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/internal/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/internal/http/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/internal/io/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/internal/spdy/
     0 Fri May 22 19:48:48 IDT 2015 com/squareup/okhttp/internal/tls/
     0 Fri May 22 19:48:50 IDT 2015 META-INF/maven/com.squareup.okhttp/
     0 Fri May 22 19:48:50 IDT 2015 META-INF/maven/com.squareup.okhttp/okhttp/
     0 Fri May 22 19:52:00 IDT 2015 META-INF/maven/com.squareup.okhttp/okhttp-ws/
     0 Fri May 22 19:52:00 IDT 2015 com/squareup/okhttp/internal/ws/
     0 Fri May 22 19:52:00 IDT 2015 com/squareup/okhttp/ws/
     0 Mon Sep 07 16:55:16 IDT 2015 com/
     0 Mon Sep 07 16:55:16 IDT 2015 com/pcentra/
     0 Mon Sep 07 16:55:16 IDT 2015 com/pcentra/ravkavlibrary/
     0 Mon Sep 07 16:55:16 IDT 2015 com/pcentra/ravkavsdk/
     0 Mon Sep 07 16:55:16 IDT 2015 com/pcentra/ravkavsdk/desktop/
     0 Mon Sep 07 16:55:16 IDT 2015 com/pcentra/ravkavsdk/desktop/osx/
     0 Mon Sep 07 17:17:58 IDT 2015 META-INF/
     0 Sat May 16 12:01:04 IDT 2015 okio/
     0 Sat May 16 12:01:16 IDT 2015 META-INF/maven/com.squareup.okio/
     0 Sat May 16 12:01:16 IDT 2015 META-INF/maven/com.squareup.okio/okio/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/message/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/simple/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/spi/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/status/
     0 Sun May 10 14:12:44 IDT 2015 org/apache/logging/log4j/util/
     0 Sun May 10 14:12:50 IDT 2015 META-INF/maven/org.apache.logging.log4j/
     0 Sun May 10 14:12:50 IDT 2015 META-INF/maven/org.apache.logging.log4j/log4j-api/
     0 Sun May 10 14:13:00 IDT 2015 META-INF/services/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/db/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/db/jdbc/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/db/jpa/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/db/jpa/converter/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/mom/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/rewrite/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/rolling/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/rolling/action/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/appender/routing/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/async/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/json/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/convert/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/processor/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/util/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/validation/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/validation/constraints/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/validation/validators/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/plugins/visitors/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/status/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/config/yaml/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/filter/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/impl/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/jackson/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/jmx/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/layout/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/lookup/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/net/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/net/mom/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/net/mom/jms/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/net/server/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/net/ssl/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/osgi/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/pattern/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/selector/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/tools/
     0 Sun May 10 14:13:02 IDT 2015 org/apache/logging/log4j/core/util/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/log4j/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/log4j/core/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/log4j/core/config/
     0 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/log4j/core/config/plugins/
     0 Sun May 10 14:16:48 IDT 2015 META-INF/maven/org.apache.logging.log4j/log4j-core/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/binary/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/digest/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/language/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/language/bm/
     0 Thu Nov 06 09:14:24 IST 2014 org/apache/commons/codec/net/
     0 Thu Nov 06 09:14:44 IST 2014 META-INF/maven/
     0 Thu Nov 06 09:14:44 IST 2014 META-INF/maven/commons-codec/
     0 Thu Nov 06 09:14:44 IST 2014 META-INF/maven/commons-codec/commons-codec/
     0 Tue Jan 07 19:29:26 IST 2014 META-INF/maven/org.json/
     0 Tue Jan 07 19:29:26 IST 2014 META-INF/maven/org.json/json/
     0 Tue Jan 07 19:29:26 IST 2014 org/json/
     0 Tue Jan 07 19:29:26 IST 2014 org/json/zip/
     0 Wed Nov 05 23:29:04 IST 2014 org/
     0 Wed Nov 05 23:29:04 IST 2014 org/apache/
     0 Wed Nov 05 23:29:04 IST 2014 org/apache/commons/
   104 Mon Sep 07 17:17:56 IDT 2015 META-INF/MANIFEST.MF
   105 Tue Jan 07 19:29:26 IST 2014 META-INF/maven/org.json/json/pom.properties
   106 Sat May 16 12:01:16 IDT 2015 META-INF/maven/com.squareup.okio/okio/pom.properties
   110 Fri May 22 19:48:48 IDT 2015 META-INF/maven/com.squareup.okhttp/okhttp/pom.properties
   113 Fri May 22 19:52:00 IDT 2015 META-INF/maven/com.squareup.okhttp/okhttp-ws/pom.properties
   115 Wed Nov 05 23:29:20 IST 2014 META-INF/maven/commons-codec/commons-codec/pom.properties
   116 Sun May 10 14:12:50 IDT 2015 META-INF/maven/org.apache.logging.log4j/log4j-api/pom.properties
   117 Sun May 10 14:16:46 IDT 2015 META-INF/maven/org.apache.logging.log4j/log4j-core/pom.properties
   169 Sun May 10 14:12:42 IDT 2015 META-INF/NOTICE
   217 Sun May 10 14:13:00 IDT 2015 META-INF/NOTICE
   266 Sun May 10 14:12:42 IDT 2015 META-INF/DEPENDENCIES
   855 Sun May 10 14:13:00 IDT 2015 META-INF/services/javax.annotation.processing.Processor
   904 Sun May 10 14:13:00 IDT 2015 META-INF/log4j-provider.properties
  1541 Sun May 10 14:13:00 IDT 2015 Log4j-levels.xsd
  2732 Sun May 10 14:13:00 IDT 2015 Log4j-events.dtd
  4341 Sun May 10 14:13:00 IDT 2015 Log4j-events.xsd
  6843 Sun May 10 14:13:00 IDT 2015 Log4j-config.xsd
 11358 Sun May 10 14:12:42 IDT 2015 META-INF/LICENSE
 11366 Sun May 10 14:13:00 IDT 2015 META-INF/LICENSE
 12944 Sun May 10 14:13:04 IDT 2015 META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Amichai Rotman | 22 Jan 14:00 2016
Picon
Gravatar

RavKav Online

Hey All,

I wonder any way to use RavKav Online on Linux?

Their app is for Windows only (big surprise!)...

Is there a way to make a Linux version available?

Thanks!

Amichai
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Omer Zak | 12 Jan 20:33 2016
Picon
Gravatar

E-mail hosting provider in Israel?

I am looking for an E-mail hosting provider based in Israel, which I can
use to receive and send E-mail to the entire world.

With which provider/s (with the exception of the well-known Google's
gmail) do you have good experience?

--- Omer

--

-- 
"Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their
fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams
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@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Evgeniy Ginzburg | 12 Jan 14:57 2016
Picon

ISP with native ipv6 in isarael

Hi all.
Do we have one or two??
Want to get rid of NAT (partially).

BR, Evgeniy.

--
So long, and thanks for all the fish.
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Israel Shikler | 11 Jan 13:35 2016
Picon

Configuring Wifi on Centos/7

Hi All ,
 
As a novice on Linux I need some help.
I have installed Centos/7 on Del Vostro 1014.
I got Lan connection immediately, but WIFI wont be dispalyed on the network  tab.
Tried all kind of Linux commands in order to display the WIFI card/dev but to no avail
 
 
Any help will be appreciated.
 
,
 
Israel Shikler
 
 
Phone : 972-77-5354006
Mobile : 972-50-2885100
Fax     : 153-77-5348967
 
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Shlomi Fish | 11 Jan 12:52 2016
Picon

New List of Databases' Implementations.

Hi all!

I've prepared a new list of databases' implementations over on my home site:

http://www.shlomifish.org/open-source/resources/databases-list/

Many of them are open source and most of them can run on Linux.

I'm a little unhappy from it because often there was not a lot I could say on each implementation (I'm not a databases' expert).

The licence is CC-by .

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 .
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Gmane