Re: date command

2009-11-09 Thread Erez D
On Mon, Nov 9, 2009 at 1:26 AM, Chaim Keren-Tzion ch...@intercomp.co.il wrote:
 $ date  -d 'Mon 11/9 2:25 AM'
 Mon Nov  9 02:25:00 IST 2009


yes, that what i want, but that's not what i get.
it thinks the 11/9 is september 11, instead of november 9 (i.e. 11/9
vs 9/11 format)
what is your locale ?

thanks,
erez.

 Chaim

 On Mon, Nov 9, 2009 at 12:34 AM, Erez D erez0...@gmail.com wrote:

 # date  -d 'Mon 9/11 2:25 AM'
 Fri Sep 11 02:25:00 IDT 2009

 but i want it to return:
 Mon Nov  9 02:25:00 IDT 2009

 i tried setting LC_TIME but this didn't help.

 any idea ?

 cheers.
 erez.

 ___
 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


tags q

2009-11-09 Thread Erez D
hi

generating a 'tags file' using ctags lets me find the definition of
things in vi using 'ctrl-]'
is there a similiar way of finding usage of these things ?

i.e. i can find where i defined function1(), can i find in a similiar
way (other then grep) where it is used ?


10x,
erez

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


Re: date command

2009-11-09 Thread Ilya A. Volynets-Evenbakh
This is independent of locale. The get_date function simply treats
xx/yy as US format according to info date.

Erez D wrote:
 On Mon, Nov 9, 2009 at 1:26 AM, Chaim Keren-Tzion ch...@intercomp.co.il 
 wrote:
   
 $ date  -d 'Mon 11/9 2:25 AM'
 Mon Nov  9 02:25:00 IST 2009
 


 yes, that what i want, but that's not what i get.
 it thinks the 11/9 is september 11, instead of november 9 (i.e. 11/9
 vs 9/11 format)
 what is your locale ?

 thanks,
 erez.
   
 Chaim

 On Mon, Nov 9, 2009 at 12:34 AM, Erez D erez0...@gmail.com wrote:
 
 # date  -d 'Mon 9/11 2:25 AM'
 Fri Sep 11 02:25:00 IDT 2009

 but i want it to return:
 Mon Nov  9 02:25:00 IDT 2009

 i tried setting LC_TIME but this didn't help.

 any idea ?

 cheers.
 erez.

 ___
 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
   


-- 
Ilya A. Volynets-Evenbakh
http://www.total-knowledge.com


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


Re: tags q

2009-11-09 Thread Shlomi Fish
On Monday 09 Nov 2009 10:59:07 Erez D wrote:
 hi
 
 generating a 'tags file' using ctags lets me find the definition of
 things in vi using 'ctrl-]'
 is there a similiar way of finding usage of these things ?
 
 i.e. i can find where i defined function1(), can i find in a similiar
 way (other then grep) where it is used ?
 

Try cscope I think:

http://cscope.sourceforge.net/

Also see ack which is grep-like (but is often better):

http://betterthangrep.com/

There's also OpenGrok , which I haven't tried but boasts a large amount of 
features and speed:

http://hub.opensolaris.org/bin/view/Project+opengrok/WebHome

Regards,

Shlomi Fish

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

-- 
-
Shlomi Fish   http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

Chuck Norris read the entire English Wikipedia in 24 hours. Twice.

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


Re: Home Theatre computer

2009-11-09 Thread Tom Goren
somewhat blasphemous to promote apple products on a linux mailing list...

the fit-pc2 looks awesome, i am already making inquiries now, interested in
buying one myself.

tom.

2009/11/6 Marc Volovic marc.volo...@swiftouch.com

 Yes, there is such a unit. It is called Mac Mini, iMac or Mac Pro,
 whichever is your poison.

 ---MAV
 Marc. Volovic
 +972-54-467-6764
 marcvolo...@me.com
 Sent from my iPhone


 On Nov 6, 2009, at 14:29, Amos Shapira amos.shap...@gmail.com wrote:

  2009/11/6 Noam Rathaus no...@beyondsecurity.com:

 Hi,

 I am looking for a pre-built system that I can seamlessly and easily
 install Boxee on it.

 I am not interested in building one from scratch, as my goals are:
 1) ease of installation
 2) silence - the computer has to be dead-quite
 3) everything just there - i mean, I don't want to buy X, Y and Z from
 three
 different places
 4) has to be small and look slick

 AND most importantly
 5) Has to have/come with a remote control

 Does anyone know of such units being sold in Israel?


 Sorry no answer from me about this one.

 But if you are like me - I suspect that you might be looking for
 something to allow you to watch Internet media as well as digital TV
 on your large screen TV in the living room, right?

 I recently learned about DLNA (dlna.org) - there are apparently
 thousands of devices supporting it and the TV's among them which do it
 properly should allow viewing of media over LAN (or even wireless LAN)
 and there are apparently some open source efforts to support its
 server-side on Linux too.

 My current (mid-term) plan is to get my hands on one of these TV's,
 get a proper Digital TV tuner card on my desktop Linux and serve media
 from the Linux over Wirless N or wired LAN to the TV.

 I have absolutely zero experience with actually implementing this or
 even seeing/reading about someone who did. I just read a bit about it
 in the last few weeks.

 Cheers,

 --Amos

 ___
 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

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


Re: Home Theatre computer

2009-11-09 Thread sammy ominsky

On 09/11/2009, at 21:21, Tom Goren wrote:

somewhat blasphemous to promote apple products on a linux mailing  
list...


To be fair, they *can* run linux :)

--sambo

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


Re: Home Theatre computer

2009-11-09 Thread Ohad Levy
note that the graphical drivers for Linux are questionable, I think that it
will not work with HD quality under recent Linux Distributions and
applications (e.g. Mythbuntu 9.10 )

Ohad

2009/11/10 Tom Goren motne...@gmail.com

 somewhat blasphemous to promote apple products on a linux mailing list...

 the fit-pc2 looks awesome, i am already making inquiries now, interested in
 buying one myself.

 tom.

 2009/11/6 Marc Volovic marc.volo...@swiftouch.com

 Yes, there is such a unit. It is called Mac Mini, iMac or Mac Pro,
 whichever is your poison.

 ---MAV
 Marc. Volovic
 +972-54-467-6764
 marcvolo...@me.com
 Sent from my iPhone


 On Nov 6, 2009, at 14:29, Amos Shapira amos.shap...@gmail.com wrote:

  2009/11/6 Noam Rathaus no...@beyondsecurity.com:

 Hi,

 I am looking for a pre-built system that I can seamlessly and easily
 install Boxee on it.

 I am not interested in building one from scratch, as my goals are:
 1) ease of installation
 2) silence - the computer has to be dead-quite
 3) everything just there - i mean, I don't want to buy X, Y and Z from
 three
 different places
 4) has to be small and look slick

 AND most importantly
 5) Has to have/come with a remote control

 Does anyone know of such units being sold in Israel?


 Sorry no answer from me about this one.

 But if you are like me - I suspect that you might be looking for
 something to allow you to watch Internet media as well as digital TV
 on your large screen TV in the living room, right?

 I recently learned about DLNA (dlna.org) - there are apparently
 thousands of devices supporting it and the TV's among them which do it
 properly should allow viewing of media over LAN (or even wireless LAN)
 and there are apparently some open source efforts to support its
 server-side on Linux too.

 My current (mid-term) plan is to get my hands on one of these TV's,
 get a proper Digital TV tuner card on my desktop Linux and serve media
 from the Linux over Wirless N or wired LAN to the TV.

 I have absolutely zero experience with actually implementing this or
 even seeing/reading about someone who did. I just read a bit about it
 in the last few weeks.

 Cheers,

 --Amos

 ___
 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



 ___
 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: Home Theatre computer

2009-11-09 Thread Amos Shapira
2009/11/10 Ohad Levy ohadl...@gmail.com:
 note that the graphical drivers for Linux are questionable, I think that it
 will not work with HD quality under recent Linux Distributions and
 applications (e.g. Mythbuntu 9.10 )

Another point to take note is that someone told me that switching
channels on DVB-T receiver cards on Linux (or maybe also on Windows?)
takes a second or two, it's not as immediate as on a set-top box. This
is NOT specific for this (cute) hardware.

Back when he told me this my plan was to use my Linux desktop at the
study as a pre-programmed PVR to record programs at specific times,
not a set-top box to watch TV in real-time, so it's probably less of a
concern than when planning to use Linux inside a set-top box.

This is for Australia but I guess the basic hardware/limitations are the same.

--Amos

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


Re: Home Theatre computer

2009-11-09 Thread Noam Rathaus
Hi,

I can't understand one thing, people hate it when I, unintentionally, promote 
Apple, but find it unstrange when there is apparent lack of a decent device 
which compares to Apple's device.

I don't say go with close source, I don't say use proprietary products, but at 
least give me a decent alternative

Excuse me, but FIT-PC2 is, at least from looking around:
1) Expensive for the Spec you get - and I am not even sure it works ok on 
movies, just because it has HDMI doesn't mean it will work properly on movies
2) No apparent user base - if it doesn't work or doesn't work properly, you 
are in the dark
3) Proven technology, Apple TV , with all my feelings (not positive) for 
Apple, works, and works quite nicely

There are US solutions that are non-Apple to do what I am looking for, but I 
can't find them in Israel.

On Monday 09 November 2009 21:21:14 Tom Goren wrote:
 somewhat blasphemous to promote apple products on a linux mailing list...

 the fit-pc2 looks awesome, i am already making inquiries now, interested in
 buying one myself.

 tom.

 2009/11/6 Marc Volovic marc.volo...@swiftouch.com

  Yes, there is such a unit. It is called Mac Mini, iMac or Mac Pro,
  whichever is your poison.
 
  ---MAV
  Marc. Volovic
  +972-54-467-6764
  marcvolo...@me.com
  Sent from my iPhone
 
 
  On Nov 6, 2009, at 14:29, Amos Shapira amos.shap...@gmail.com wrote:
 
   2009/11/6 Noam Rathaus no...@beyondsecurity.com:
  Hi,
 
  I am looking for a pre-built system that I can seamlessly and easily
  install Boxee on it.
 
  I am not interested in building one from scratch, as my goals are:
  1) ease of installation
  2) silence - the computer has to be dead-quite
  3) everything just there - i mean, I don't want to buy X, Y and Z from
  three
  different places
  4) has to be small and look slick
 
  AND most importantly
  5) Has to have/come with a remote control
 
  Does anyone know of such units being sold in Israel?
 
  Sorry no answer from me about this one.
 
  But if you are like me - I suspect that you might be looking for
  something to allow you to watch Internet media as well as digital TV
  on your large screen TV in the living room, right?
 
  I recently learned about DLNA (dlna.org) - there are apparently
  thousands of devices supporting it and the TV's among them which do it
  properly should allow viewing of media over LAN (or even wireless LAN)
  and there are apparently some open source efforts to support its
  server-side on Linux too.
 
  My current (mid-term) plan is to get my hands on one of these TV's,
  get a proper Digital TV tuner card on my desktop Linux and serve media
  from the Linux over Wirless N or wired LAN to the TV.
 
  I have absolutely zero experience with actually implementing this or
  even seeing/reading about someone who did. I just read a bit about it
  in the last few weeks.
 
  Cheers,
 
  --Amos
 
  ___
  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



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


Getting a kernel's .config without running it

2009-11-09 Thread Shachar Shemesh

Hi all,

I have a kernel image that was compiled by someone else for a platform I 
don't own. The kernel was (probably) compiled to export its 
configuration parameters via /proc/config.gz. I want to get that file.


The problem is, of course, that I cannot run the kernel.

Does anyone know how I can extract the kernel's config without running it?

Thanks,
Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

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


Re: Home Theatre computer

2009-11-09 Thread geoffrey mendelson


On Nov 9, 2009, at 10:36 PM, Noam Rathaus wrote:


There are US solutions that are non-Apple to do what I am looking  
for, but I

can't find them in Israel.



Apple bases their operating system on BSD and it is open source. Their  
GUI is not, but there is a decent port of X Windows, and a user  
community supported upgrade to the Apple base product. Open source  
software works very well on it and there a lots of things ported to it.


To answer another posting, there will always be a delay switching  
channels on a digitial TV system. While analog TV sent a new frame  
every 1/25 of a second, digital TV uses the key frame concept. Every  
once in a while an entire frame is sent, the rest of the time, the  
frames are sent as the difference between the current frame and the  
previous one. So you won't get a picture until the next key frame is  
received and decoded.


How often a key frame is sent depends upon the boradcaster. Israel  
digitial TV is an attempt at squeezing the most you can get out of a  
single signal, so the key frames are sent less frequently. I've never  
timed it, but it seems like a long time.


The other problelm is a design feature of MythTv. In order to make  
live pause and backup work, MythTv always records what you are  
watching. The video you see is a playback of the recorded video.  
Depending upon the compression you use to record and the speed of your  
processors, the delay can be 2-3 seconds (or more).


Geoff.
--
geoffrey mendelson N3OWJ/4X1GM
Jerusalem Israel geoffreymendel...@gmail.com






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