Fwd: Re: linux-friendly ebook with decent support in Israel?

2014-01-12 Thread geoffrey mendelson




It will not  be EPUB only, it will be Android with e-Ink display, so it 
can do almost anything that an Android tablet can. Battery life is 
expected to be 3 weeks. This is what we got in the preliminary models.


If that's the case, it will be very interesting. My android devices, a 
10" Chinese no name tablet, and a cell phone need daily charging. The 
rest of the family has gets similar results.




As for eVrit, it is now an iOS and Android app. However they hardly sell 
any books and have relatively few titles available.
There are today many EPUB reading applications that support Hebrew, and 
also more and more Hebrew books available in new and old store.

Look at: http://www.booxilla.com or http://www.indiebook.com

Thanks, my wife is looking for a source of easy Hebrew children's 
ebooks. My sons who are fluent, have not quite caught on to them.



   Geoff.

   -- 
   Geoffrey S. Mendelson 4X1GM/N3OWJ

   Jerusalem Israel.


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


Any experience with cubox-i?

2014-01-12 Thread Amos Shapira
Hi,

After moving to a new rented unit I found that it's going to be a bit (or
very) tricky to get my aging desktop (which I mainly use for Bittorent and
"storage server" these days) connected to the ADSL modem using wired
Ethernet.

Instead, I though that I might get myself some media-centre computer -
it'll be either so small that I can still keep it close to the
modem/router/wifi point or it'll suport wifi so I can put it somewhere else
in the unit. It'll also hopefully be power efficient so I could afford to
keep it turned on 24x7 (both for economic and environmental concerns).

But I don't feel like running around designing my own hardware, order it
then build it myself, so I searched a bit for "linux media center hardware"
and the top results all point to http://cubox-i.com/, which after reading a
couple of reviews turned out to be based in Israel.

I'm considering getting myself the CuBox-i4Pro, and perhaps do it while I
visit Israel next Passovah (not sure yet).

Everything I read about this unit so far is just 100% positive. Does anyone
here have experience with it, the service? hardware quality? Cost of
shipping in Israel? Is pick-up from their offices an option etc?

Cheers,

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


time report tool

2014-01-12 Thread Erez D
hello

i'm looking for an open source tool, prefferebly web based tool, that
employees can report what they have worked on (i.e. this and this time on
that task etc ...)

i need this so i can extract information for reporting to the mad'an


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


Re: Any experience with cubox-i?

2014-01-12 Thread Moish

  
  

On 12/01/2014 12:59, Amos Shapira
  wrote:


  
Hi,


After moving to a new rented unit I found that it's going to be
a bit (or very) tricky to get my aging desktop (which I mainly
use for Bittorent and "storage server" these days) connected to
the ADSL modem using wired Ethernet.

  

Instead, I though that I might get myself some media-centre
  computer - it'll be either so small that I can still keep it
  close to the modem/router/wifi point or it'll suport wifi so I
  can put it somewhere else in the unit. It'll also hopefully be
  power efficient so I could afford to keep it turned on 24x7
  (both for economic and environmental concerns).


But I don't feel like running around designing my own
  hardware, order it then build it myself, so I searched a bit
  for "linux media center hardware" and the top results all
  point to http://cubox-i.com/,
  which after reading a couple of reviews turned out to be based
  in Israel.


I'm considering getting myself the CuBox-i4Pro, and perhaps
  do it while I visit Israel next Passovah (not sure yet).


Everything I read about this unit so far is just 100%
  positive. Does anyone here have experience with it, the
  service? hardware quality? Cost of shipping in Israel? Is
  pick-up from their offices an option etc?


Cheers,


--Amos

  

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


Their product seems solid.
Have you considered Apple TV? It's only  109 AUD down under :)
Currently works for ios 6.1.
rPi?
I have 2 jb atv almost 2 years now, currently running xbmc v12.3
without a hiccup.
Software selection is a bit scant
I'll use rPI as servers for other apps.

-- 
Moish
  



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


Fwd: Re: Any experience with cubox-i?

2014-01-12 Thread geoffrey mendelson


Forgot to send to the list, with some additional information.

 Original Message 
Subject:Re: Any experience with cubox-i?
Date:   Sun, 12 Jan 2014 15:50:47 +0200
From:   geoffrey mendelson 
To: Amos Shapira 



On 1/12/2014 12:59 PM, Amos Shapira wrote:

Hi,

After moving to a new rented unit I found that it's going to be a bit
(or very) tricky to get my aging desktop (which I mainly use for
Bittorent and "storage server" these days) connected to the ADSL modem
using wired Ethernet.

Instead, I though that I might get myself some media-centre computer -
it'll be either so small that I can still keep it close to the
modem/router/wifi point or it'll suport wifi so I can put it somewhere
else in the unit. It'll also hopefully be power efficient so I could
afford to keep it turned on 24x7 (both for economic and environmental
concerns).

But I don't feel like running around designing my own hardware, order
it then build it myself, so I searched a bit for "linux media center
hardware" and the top results all point to http://cubox-i.com/, which
after reading a couple of reviews turned out to be based in Israel.

I'm considering getting myself the CuBox-i4Pro, and perhaps do it
while I visit Israel next Passovah (not sure yet).

Everything I read about this unit so far is just 100% positive. Does
anyone here have experience with it, the service? hardware quality?
Cost of shipping in Israel? Is pick-up from their offices an option etc?





What about one of those Chinese Android tablets without a screen? Google
sells one dedicated to streaming videos using various US based services,
and there are many of them on eBay. Google calls theirs the Chromecast.
I don't know if it would be worth buying one for use outside of the US,
but as I said, there are plenty of them out there. I read an article
from one of the US financial websites complaining that they sell for
very little money in China and come preloaded with so many pirate movies
that they have become the latest media in video purchase and rental.

You plug them into your HDMI port (which powers it) and it connects to
the outside world via wifi. I don't remember how they connect to remote
controls, but they do.

added:

I was looking around eBay and found some nice looking devices. They run a fixed 
version of Android
(no updates promised) so I guess they are good for a year or two. For around 
$100 US, you can get
a quad core CPU, HDMI output, wifi, USB, ethernet and even a place to insert a 
laptop SATA drive
directly.

It also comes with a remote control.

I also found this page: 
http://apcmag.com/how-to-stream-video-to-an-android-device.htm

Following the instructions I was able to watch videos on my various computers 
(e.g. Linux file servers,
Windows workstations) on my Chinese android tablet. It has an annoying Android 
interface, not a smooth UI,
like AppleTV or XBMC, but it worked. I lack the HDMI mini or micro cable to 
connect my tablet to my TV, but
it should work there too.

XBMC does not run on my tablet as it lacks the necessary video hardware, but if 
it did, it would be a lot easier
to use than my WD LIVE streamer.





Geoff.

--
Geoffrey S. Mendelson 4X1GM/N3OWJ
Jerusalem Israel.



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


Printing UTF-8 in C

2014-01-12 Thread Ori Idan
I need to print several Hebrew characters (UTF-8) to the terminal.
My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however
printing from C gives me Chinese characters.
My question is how to print one character such as 'א' to the terminal.

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


Re: Printing UTF-8 in C

2014-01-12 Thread Eli Zaretskii
> From: Ori Idan 
> Date: Sun, 12 Jan 2014 20:34:07 +0200
> 
> I need to print several Hebrew characters (UTF-8) to the terminal.
> My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however
> printing from C gives me Chinese characters.
> My question is how to print one character such as 'א' to the terminal.

Is the C source stored on disk in UTF-8 encoding?

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


Re: Printing UTF-8 in C

2014-01-12 Thread Vassilii Khachaturov

On 12.01.2014 20:34, Ori Idan wrote:

I need to print several Hebrew characters (UTF-8) to the terminal.
My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, 
however printing from C gives me Chinese characters.

My question is how to print one character such as 'א' to the terminal.

Where does the character come from, is it a verbatim literal in the 
source? Unfortunately, this is not portable, even though gcc would 
support it. See the docs for GNU CPP, section "Implementation details", 
"Implementation-defined behavior". If you want portable solution, you 
must escape the chars, best done with something like #define ALEPH 
"\x..." to concatenate into a larger literal string.


Here is a nice stackoverflow thread with sample code that reads and 
outputs utf-8 from C, w/o any literals in it:
http://stackoverflow.com/questions/1373463/handling-special-characters-in-c-utf-8-encoding 
.


V.

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


Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
Writing hebrew to the terminal is a bad idea because terminals do not
support BiDi reordering.

That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
(though it is reversed). No special environment variables were defined.

Regards,
Dov

[1] http://paps.sourceforge.net/small-hello.utf8



On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan  wrote:

> I need to print several Hebrew characters (UTF-8) to the terminal.
> My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
> however printing from C gives me Chinese characters.
> My question is how to print one character such as 'א' to the terminal.
>
> --
> Ori Idan
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Baruch Siach
Hi Dov,

On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
> Writing hebrew to the terminal is a bad idea because terminals do not
> support BiDi reordering.
> 
> That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
> (though it is reversed). No special environment variables were defined.

But Ori has specifically asked about sending just one character to terminal.  
cat treats everything like binary data.

baruch

> On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan  wrote:
> > I need to print several Hebrew characters (UTF-8) to the terminal.
> > My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
> > however printing from C gives me Chinese characters.
> > My question is how to print one character such as 'א' to the terminal.
> >
> > --
> > Ori Idan

-- 
 http://baruch.siach.name/blog/  ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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


Re: time report tool

2014-01-12 Thread Steve Litt
On Sun, 12 Jan 2014 15:08:13 +0200
Erez D  wrote:

> hello
> 
> i'm looking for an open source tool, prefferebly web based tool, that
> employees can report what they have worked on (i.e. this and this
> time on that task etc ...)
> 
> i need this so i can extract information for reporting to the mad'an
> 
> 
> thanks
> erez

Hi Erez,

I made a very simple one:

http://www.troubleshooters.com/projects/tslips/

Pros:
* GPL/v2
* Command interface, simple
* Time file simple to parse and report
* Can be front ended by UMENU or other menu software
* Software is simple: Easily changed to your own needs
* Survives reboots

Cons:
* Command interface, difficult for some users
* Reports must be written in software, no specific reporting facility
* Cannot track concurrent tasks (but for one person, wouldn't that be
  cheating anyway?)

HTH,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance

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


Re: Printing UTF-8 in C

2014-01-12 Thread Ori Idan
On Sun, Jan 12, 2014 at 9:02 PM, Baruch Siach  wrote:

> Hi Dov,
>
> On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
> > Writing hebrew to the terminal is a bad idea because terminals do not
> > support BiDi reordering.
> >
> > That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
> > (though it is reversed). No special environment variables were defined.
>
> But Ori has specifically asked about sending just one character to
> terminal.
> cat treats everything like binary data.
>
> baruch
>
I don't care at this stage about bidi.
I still could not find out how to print even once character, I tried printf
and putwchar.

-- 
Ori Idan


>
> > On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan  wrote:
> > > I need to print several Hebrew characters (UTF-8) to the terminal.
> > > My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
> > > however printing from C gives me Chinese characters.
> > > My question is how to print one character such as 'א' to the terminal.
> > >
> > > --
> > > Ori Idan
>
> --
>  http://baruch.siach.name/blog/  ~. .~   Tk Open
> Systems
> =}ooO--U--Ooo{=
>- bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
The most unixy way is to treat everything as binary UTF-8 and then forget
about encodings. The following program works just fine:

#include 
int main()
{
  printf("Hello שלום!\n");
}

Compile with:

cc -o hello hello.c
./hello
Hello שלום!

(Though שלום is inversed in the terminal).




On Sun, Jan 12, 2014 at 9:02 PM, Baruch Siach  wrote:

> Hi Dov,
>
> On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
> > Writing hebrew to the terminal is a bad idea because terminals do not
> > support BiDi reordering.
> >
> > That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
> > (though it is reversed). No special environment variables were defined.
>
> But Ori has specifically asked about sending just one character to
> terminal.
> cat treats everything like binary data.
>
> baruch
>
> > On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan  wrote:
> > > I need to print several Hebrew characters (UTF-8) to the terminal.
> > > My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
> > > however printing from C gives me Chinese characters.
> > > My question is how to print one character such as 'א' to the terminal.
> > >
> > > --
> > > Ori Idan
>
> --
>  http://baruch.siach.name/blog/  ~. .~   Tk Open
> Systems
> =}ooO--U--Ooo{=
>- bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Ori Idan
On Sun, Jan 12, 2014 at 9:26 PM, Dov Grobgeld wrote:

> The most unixy way is to treat everything as binary UTF-8 and then forget
> about encodings. The following program works just fine:
>
> #include 
> int main()
> {
>   printf("Hello שלום!\n");
> }
>
> Compile with:
>
> cc -o hello hello.c
> ./hello
> Hello שלום!
>
> (Though שלום is inversed in the terminal).
>

That works, but I need one character such as 'א' to be printed and to be
able to print 'ב' as 'א' + 1
Does someone have any idea how to do it?

-- 
Ori Idan


>
>
>
>
> On Sun, Jan 12, 2014 at 9:02 PM, Baruch Siach  wrote:
>
>> Hi Dov,
>>
>> On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
>> > Writing hebrew to the terminal is a bad idea because terminals do not
>> > support BiDi reordering.
>> >
>> > That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
>> > (though it is reversed). No special environment variables were defined.
>>
>> But Ori has specifically asked about sending just one character to
>> terminal.
>> cat treats everything like binary data.
>>
>> baruch
>>
>> > On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan 
>> wrote:
>> > > I need to print several Hebrew characters (UTF-8) to the terminal.
>> > > My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
>> > > however printing from C gives me Chinese characters.
>> > > My question is how to print one character such as 'א' to the terminal.
>> > >
>> > > --
>> > > Ori Idan
>>
>> --
>>  http://baruch.siach.name/blog/  ~. .~   Tk Open
>> Systems
>>
>> =}ooO--U--Ooo{=
>>- bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>>
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
Create a list of all hebrew characters and dereference the list according
to the index of the character.

const char **alefbet = {
  "\327\220",
  "\327\221",
  :
}

printf("%s\n", alefbet[index]);  // For index in 0..26

Am I missing something?

Dov



On Sun, Jan 12, 2014 at 9:29 PM, Ori Idan  wrote:

>
>
>
> On Sun, Jan 12, 2014 at 9:26 PM, Dov Grobgeld wrote:
>
>> The most unixy way is to treat everything as binary UTF-8 and then forget
>> about encodings. The following program works just fine:
>>
>> #include 
>> int main()
>> {
>>   printf("Hello שלום!\n");
>> }
>>
>> Compile with:
>>
>> cc -o hello hello.c
>> ./hello
>> Hello שלום!
>>
>> (Though שלום is inversed in the terminal).
>>
>
> That works, but I need one character such as 'א' to be printed and to be
> able to print 'ב' as 'א' + 1
> Does someone have any idea how to do it?
>
> --
> Ori Idan
>
>
>>
>>
>>
>>
>> On Sun, Jan 12, 2014 at 9:02 PM, Baruch Siach  wrote:
>>
>>> Hi Dov,
>>>
>>> On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote:
>>> > Writing hebrew to the terminal is a bad idea because terminals do not
>>> > support BiDi reordering.
>>> >
>>> > That said, doing "cat small-hello.utf8"[1] works for me in gnome-term
>>> > (though it is reversed). No special environment variables were defined.
>>>
>>> But Ori has specifically asked about sending just one character to
>>> terminal.
>>> cat treats everything like binary data.
>>>
>>> baruch
>>>
>>> > On Sun, Jan 12, 2014 at 8:34 PM, Ori Idan 
>>> wrote:
>>> > > I need to print several Hebrew characters (UTF-8) to the terminal.
>>> > > My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal,
>>> > > however printing from C gives me Chinese characters.
>>> > > My question is how to print one character such as 'א' to the
>>> terminal.
>>> > >
>>> > > --
>>> > > Ori Idan
>>>
>>> --
>>>  http://baruch.siach.name/blog/  ~. .~   Tk Open
>>> Systems
>>>
>>> =}ooO--U--Ooo{=
>>>- bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>>>
>>
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Omer Zak
You may want to review the following StackOverflow item:
http://stackoverflow.com/questions/4607413/c-library-to-convert-unicode-code-points-to-utf8
One answer describes how to do it yourself.
Another answer uses the iconv library.

On Sun, 2014-01-12 at 21:29 +0200, Ori Idan wrote:
> 
> 
> 
> On Sun, Jan 12, 2014 at 9:26 PM, Dov Grobgeld 
> wrote:
> The most unixy way is to treat everything as binary UTF-8 and
> then forget about encodings. The following program works just
> fine:
> 
> #include 
> 
> int main()
> {
>   printf("Hello שלום!\n");
> }
> 
> Compile with:
> 
> cc -o hello hello.c
> ./hello
> Hello שלום!
> 
> (Though שלום is inversed in the terminal).
> 
> 
> 
> That works, but I need one character such as 'א' to be printed and to
> be able to print 'ב' as 'א' + 1
> Does someone have any idea how to do it?


-- 
cal 09 1752
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@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Printing UTF-8 in C

2014-01-12 Thread Eli Zaretskii
> From: Ori Idan 
> Date: Sun, 12 Jan 2014 20:46:50 +0200
> 
> > Is the C source stored on disk in UTF-8 encoding?
> >
> ‎Yes but what's the difference? latin characters in UTF-8 are the same in
> latin1 encoding and UTF-8

No, Latin-1 and UTF-8 encodings for Latin characters are different.
You are mixing UTF-8 encoding with Unicode codepoints that UTF-8
encodes.

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