Re: Ubuntu

2020-06-10 Thread Micha Bailey
Regarding the upgrade to Focal (20.04): There’s no reason to rush. Bionic
(18.04) is supported, if I’m not mistaken, until 2023. In fact, Bionic
(LTS) users aren’t even offered the upgrade (i.e. you need to go out of
your way to get it) until 20.04.1 is out in a few months.

Regarding the upgrade to 18.04.4, I could be mistaken, but my understanding
is that point releases aren’t new versions of Ubuntu per se. At point
releases, new isos are spun with up-to-date packages, but it’s still the
same version. Assuming you make a habit of installing updates regularly
(which you obviously should be), you will effectively automatically be on
18.04.4.

On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:

> Hi,
>
> Actually I have a staging server which I can upgrade first to 18.04.4 to
> see if it works, or if something breaks. But I didn't find it on Google -
> how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without upgrading
> it to 20.04?
>
> אורי
> u...@speedy.net
>
>
> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>
>> Hi Uri!
>>
>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> I'm sorry for posting twice in the same day to the same mailing list.
>>> But I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
>>> servers (one of them I upgraded a few months ago from 14.04). How important
>>> it is to upgrade the OS version, or can I keep it like this? I'm afraid
>>> that things will break up if I upgrade. And if I upgrade, should I upgrade
>>> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
>>> it might have bugs which will be fixed later, and I prefer not to use the
>>> first version of 20.04 but to wait about one year before I use it. Is there
>>> a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?
>>>
>>>
>> I've answered the general question here:
>>
>>
>> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#will-a-change-i-would-like-to-do-break-some-functionality
>>
>> Quoting it:
>>
>> Will a change I would like to do break some functionality?
>>
>> As the aphorism
>> 
>> goes: The difference between theory and practice is that in theory,
>> there is no difference between theory and practice, while in practice,
>> there is.. There is usually a risk, however small, that a change will
>> break some functionality. With good tooling (such as
>> https://en.wikipedia.org/wiki/Version_control ,
>> https://en.wikipedia.org/wiki/Virtual_machine and
>> https://en.wikipedia.org/wiki/OS-level_virtualisation ) it should be
>> relatively easy to revert a change which introduced regressions, and you
>> should do adequate testing.
>>
>> A change may have to be avoided due to being estimated as too time or
>> money consuming, or as having too little gain. However, promising changes
>> should be attempted because:
>>
>>1. "No guts - no glory."
>>2. What does "if it ain't broke, don't fix it" really mean?
>>
>> 
>>3. If you never change anything, your project won't progress.
>>
>> --
>> While you may break some functionality by updating to 18.04.04 , you also
>> risk being affected by known security vulnerabilities (which may also break
>> functionality sooner or later). There is a concept of
>> https://en.wikipedia.org/wiki/Technical_debt .
>>
>> Regarding updating to 20.04, it is likely more time consuming and may
>> have more breaking changes, and you may not need all the newest and
>> shiniest software versions there, and you may wish to only update to ubuntu
>> 22.04/etc. I didn't hear of too many horror stories of ubuntu 20.04 being
>> unusable or unstable, but I'm quite out of the loop.
>>
>> Good luck!
>>
>>
>>
>>> Thanks,
>>> Uri.
>>> אורי
>>> u...@speedy.net
>>> ___
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>>
>>
>>
>> --
>> Shlomi Fish https://www.shlomifish.org/
>>
>> Buddha has the Chuck Norris nature.
>>
>> Please reply to list if it's a mailing list post - http://shlom.in/reply
>> .
>>
> ___
> 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: RavKav Online

2017-10-12 Thread Micha Bailey
(in reply to this thread:
http://mailman.cs.huji.ac.il/pipermail/linux-il/2017-March/012522.html )

The reason a physical hardware reader (either an Android phone with NFC or
a USB card reader) is necessary is that Rav Kav is based on the Calypso
standard, and the card is a full microprocessor smart card that carries all
the relevant information (passenger information, contracts, etc.) onboard
the card itself. All transactions (loading/validating) are performed
offline, with communication between the ticketing device and the card. This
is as opposed to some other systems around the world, in which the card
simply carries a static identifier and the ticketing system is based on a
database that can be checked in real time. Here in Israel, while there is a
database, it's not used online - instead it's updated at some later point
with data downloaded from the buses etc. For this reason, for example, if a
card is lost or stolen, there's a three day waiting period before the
balances can be restored to the card. This is because the ticketing devices
on buses are not all equipped for full reliable online connectivity (and in
some cases, any connectivity), and because it's one unified, national card
that needs to work with the different systems used by the different
companies, it's not feasible to upgrade all the systems the way single,
unified transport authorities in e.g. London can.

In terms of the website and the program itself, I did a bit of analysis a
few weeks ago. It uses the system PC/SC APIs, using the javax.smartcardio
library. The code has a list of regexes that it checks, with the different
models of reader that they've distributed/sold since launching the website,
and doesn't use any reader that doesn't match. I don't know why they do
that, but I can confirm that there's no technical reason for it - I
happened to have a different reader on hand (some Athena model that I
received with my Teudat Zehut), and when I edited the regex to match it it
just worked.

I don't know if it's possible for websites to interact with the PC/SC stack
- I'm guessing not - so the way it works is that the browser side opens a
Websocket connection to a server, IIRC wss://proxy.ravkavonline.co.il/, and triggers a navigation to the same URL prefixed with the
ravkav: scheme. This launches the client, which establishes a Websocket
connection to the same URL, with the proxy server simply passing any
messages along to the other side of the connection. This connection is used
to send commands from the webapp to the client, and responses, reader
status, etc. from the client back to the webapp. To perform any action with
the card, a command is sent saying essentially "open a session with the
card at this URL". The client connects to the URL and exchanges JSON
messages that appear to carry base64-encoded raw APDUs and responses, which
are relayed as-is between the card and the server (in the case of a simple
"read card" operation, a fixed URL at datamodel.ravkavonline.co.il. In the
case of operations that need to modify the card contents, such as loading a
contract onto the card, once the transaction is approved, the server-side
generates a URL at some other server, presumably one that's connected to a
SAM so it can sign the session with the card). At the end of the session
with the card communication server, the server returns the result (for
example, in the case of a simple dump of the card contents, a JSON document
listing the contracts and history), which is then passed through the proxy
server to the webapp.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Feedback about HOT as an isp

2014-03-08 Thread Micha Feigin
It depends on what you are doing, I've been running fine with 2mb/s. 
Gave up on Bezeq when they tried to tell me that I need a faster line 
when I called them to resolve my ssh terminal (text only) connection is 
responding poorly.


Hot were OK in terms of performance (was also using the 2mb/s line 
though), but since I was paying only for internet and phone, no TV, fake 
technicians called me every few months, as well as some visits by thugs, 
telling me that they can see on the router that I'm also using TV 
illegally and if I don't upgrade the line they will sue  (I kept telling 
them that  it's only slightly more feasible than building a Perpetuum 
Mobile to detect a passive TV receiver behind the hot band pass and the 
two phone + internet modems, but it was lost on them).


Can't tell you much about higher bandwidth though, sorry.

Note thought that it would also depend on your internet provider as well 
as their settings, not just hot, as the provider is you bottleneck to 
the actual internet, and they may do traffic shaping or just not buy 
enough bandwidth abroad. I got horrible speeds to the states though the 
provider (forget who it was, sorry), while getting very nice performance 
when using the TAU proxy.


On 08-Mar-14 13:50, E.S. Rosenberg wrote:




2014-03-08 12:20 GMT+02:00 Michael Ben-Nes m...@epoch.co.il 
mailto:m...@epoch.co.il:


Oops, seems I missed the replies a bit.

Any way. I used to have 50mb but after the storm something got
wrong and now Bezeq can supply only 15mb.
I checked with peers and it seems the HOT infrastracure in Rosh
Pina is excellent. 15mb is by far not enough to any one who work
on the net.

You are making me really curious what I have been doing wrong for all 
these years that speeds above 5mb have been fine for me...


--
Michael Ben-Nes - Linux Web Environment Expert.
http://www.epoch.co.il http://www.epoch.co.il/ - LinkedIn
http://www.linkedin.com/in/michaelbennes
Cellular: +972-54-4848113 tel:%2B972-54-4848113
--


On Sun, Jan 5, 2014 at 6:11 PM, geoffrey mendelson
geoffreymendel...@gmail.com mailto:geoffreymendel...@gmail.com
wrote:

On 1/5/2014 6:01 PM, Michael Ben-Nes wrote:

Hi,

Seems like I need to replace my unstable ADSL line :(

Can any one tip me how good is the Hot cables 100mb
service? stability\speed


If it's 15 megabit or below, you've probably been upgraded to
NGN. NGN uses vDSL equipment which can run (poorly) in aDSL-2
emulation mode. Instead of informing people of the problem,
they just wait for them to call and sell them a faster line in
vDSL mode with a vDSL modem.

Geoff.

-- 
Geoffrey S. Mendelson 4X1GM/N3OWJ

Jerusalem Israel.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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: Messaging system that works on older text phones, PCs, in addition to feature and smart phones

2013-10-10 Thread Micha Feigin

  
  
On 10-Oct-13 3:11, Oleg Goldshmidt
  wrote:


  "Steve G." word...@gmail.com writes:


  
The question:

Is there a messaging platform that is either open source or free (I
know of Viber and WhatsApp), BUT which can work on PC's AND cheap
phones (either feature phones, or text only phones) in addition to
smart phones. I believe that Viber runs on some tablet, but not
generally. Whatsapp is limited, I think, to cell phones. 

I am not sure if they can be used for older phones.

Any ideas?
  

Won't work on dumb phone but will on any phone that supports
whatsapp and viber and quite a few more - emails

  


  
  
Eh, Twitter? ;-)

I don't use it, but AFAIK it is supposed to work on computers and cheap
phones, over low bandwidth networks, over SMS (duh: obviously!), etc. 

If I understand how it operates correctly it is not really suitable for
private chats, but I suspect you are primarily interested in broadcasts.


  
I want to reach two levels of people - community health workers (CHW),
and the people who receive their services. So there are two 'target
audiences'. I can possibly provide CHW's with feature phones, but not
expensive smart phones. Regular people will only, or mostly, have text
phones, not smart phones. So I need a program that can send messages
to groups of 10-200, on text only cell phones.

  
  
Feature phones can use Twitter. Really dumb phones that onlyq have SMS
can also use Twitter - it was an SMS service originally, as we all know.
I don't know if it is possible to set up a Twitter account via SMS (or
from a feature phone), but I would assume your CHW will visit some
office from time to time and can set up accounts for their "clients" who
can then activate them (sign up for updates) over SMS.

SMS in the 3rd world may present logistical difficulties. E.g., I don't
know is whether Twitter has geographical restrictions. It is not clear
to me how Twitter is supposed to pay for SMS updates that the user
*receives* in a contry where Twitter does not ave a presence (I mean, an
international SMS is sent - someone has to pay, right?). It is probably
documented. The problem will be common for any SMS-based solution, I
suppose.

A really "poor man's" solution is where your CHWs, who will presumably
have a small budget via government, supporting charities whatever, get
Twitter updates on their feature phones (over Internet, with
mobile.twitter.com, whatever) and then simply type a group SMS to their
"constituents": those updates will not be frequent and this may very
well be scalable enough (depending n how scalable group SMS realy is).
I don't know if it is possible to forward an individual tweet as an SMS
message.

http://support.twitter.com/articles/14014-twitter-via-sms-faqs




  


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


Re: Messaging system that works on older text phones, PCs, in addition to feature and smart phones

2013-10-10 Thread Micha Feigin

  
  
On 10-Oct-13 9:08, geoffrey mendelson
  wrote:

On
  10/10/2013 3:50 PM, Steve G. wrote:
  
  Suppose I wanted to change venue to a more
developed country, where the income level allows people to use
unlimited SMS, would that have made any difference?


In other words, is there a messaging system, OSS or not, that
can be used both on phone and computers? I suppose Skype might
be one, but it really is more of a phone system and not
messaging tool.


Email is not a solution, as you messages, in my mind, are not
uniquely visible. Twitter is even more so - it is a broadcast
tool more than anything else. I want individual and group
conversations, but with the ability to view the web pages and
videos that are sent on a normal size screen.

  
  
  The problem that I see is that you simply can't do it. People with
  dumb phones are limited to what they can receive, people with
  computers and smart phones are somewhat less.
  
  
  There are MANY instant message clients for both computers and
  phones, SKYPE is one of the few that runs on all of them.
  
  
  Dumb phones are limited to SMS's, so a combined system is needed.
  
  
  On the other hand, if you look at the thread that followed my
  asking about an iPod replacement, I found a suitable smartphone
  for your needs for 549 NIS. ($135). That's a lot of money to give
  to a lot of people, but you may be able to get a lower price if
  you buy many. There are also the cheap Chinese Android phones,
  which are a lot cheaper if you buy them by the case directly from
  China.
  
  
  But then you need to buy them a cellular data plan.
  
  
  Geoff.
  
  


I've been told that if you are interested in designing your own
android phone you can do it for something like 35$ a piece in (not
too) large numbers. I know somebody who's done it for some project.
But that discussion is a bit off topic.

Something similar to skype that is a bit more instant message
oriented and less talk oriented is google hangouts (previously
google talk). You are limited to google accounts though (although it
would be the same with any other messaging system other than sms and
email). I think that you can archive messages as emails if you use
that system.

I still think that you would get more devices to support email than
any other test messaging system other than sms. I don't understand
what by messages not being uniquely visible though. You can send
them to a specific person or a group. If you add read receipts you
can even tell if people opened the message. You have timestamps and
from field on each email and can group them into discussions, etc.
And if you are using a data plan then they would be as immediate as
text messaging programs, especially if you use a service that
supports push notifications (gmail and android applications do)
  


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


Re: OT: Hybrid cars

2013-09-15 Thread Micha Feigin



 Right now I'm driving a Fiat Panda. It's small and it's efficient,
but
 it comes at a price. The engine is tiny, and so is the gas tank (but
 being a tiny car it's easy to park in the city). The book says that
it
 can get 20 km/l intercity, and 12 km/l in the city. From my
experience
 I get 18-19 on the highways, and 10-11 in the city. 

So you are not far from the manufacturer's numbers. The car may not be
perfectly tuned, our petrol may be not as pure as the Italian one,
etc. And you may be not as good as the professional test drivers.



I believe that it is impossible to get to the official numbers. Those are 
either on a completely flat race track with lie friction asfalt, fully tuned 
car and cruise control or on rollers without air friction.

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


Re: accounting software *free open source*

2013-07-06 Thread Micha Feigin

On 07/06/2013 05:06 PM, E.S. Rosenberg wrote:

2013/7/6 vordoo vor...@yahoo.com:

On 2013-07-04 16:45, sara fink wrote:

I would like to know which accounting software (besides linet) is accepted
by Israeli tax authorities?

Me too, but one that is not a proprietary web site, I would like to keep my
data  have the option to work off-line:-)

In a similar thread someone once wrote that gnucash could never be
certified by the tax authority for the reason that it is OSS and thus
you could modify it to function in ways deemed illegal by the tax
authorities

If this is indeed the case then that is sad for us but I don't see how
we can change it...

Well maybe...
I guess one could have an open source web platform, of which the code
is vetted by the authorities but they only accept it when it's coming
through the webplatform which is guaranteed to run an acceptable
version.
Like that your data is guaranteed since you can always download the
software and your data and install it on your own server and the tax
authorities still have an application that you can't change because it
is running outside of your control.

Regards,
Eliyahu - אליהו

From what I remember from a few years back when this discussion came up 
at the time, there were two problems with getting both a free and 
opensource application that is a legal accounting software:


1. There is a requirement is that you can't change the software (and the 
data) -- same problem with there is with an open GSM device by the way, 
where you are not allowed to distribute the firmware so that people 
can't make the hardware do illegal stuff.
2. The other part is the very high costs involved in getting such a 
software certified. I believe that it's on the order of multiple tens of 
thousands. This means that unless you are a very reach philanthropist 
you would not spend your money certifying the software.


On the other hand as memory serves, you can run your books using an open 
source software and then submit the printouts to a certified accounted 
to make a legal report. You may need to work with generic receipts in 
parallel though.


Just my 2c

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


Suggestions for Hardware/driver WIFI combo that allows low level signal access

2013-07-02 Thread Micha Feigin

Hi All,

I'm was wondering if anyone here can recommend a hardware / driver combo 
for WIFI that allows access to the low level signal. I'm looking to do 
some non-communication related research (uni stuff) that requires 
sending custom signals over WIFI frequencies (to avoid FCC limitations), 
and I was hoping that there is some existing hardware that I can hack at 
the driver level instead of building complex hardware (which I have, but 
getting a high enough accuracy starts getting pretty expensive).


I'm not looking to bypass power/frequency limitations, just to send 
custom signals over one of the WIFI channels.


Thanks

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


Re: Google: Create A Native Linux Google Drive Application -

2013-07-02 Thread Micha Feigin

On 06/19/2013 07:41 AM, Julian Daich wrote:

Please sign for this campaign: 
http://www.change.org/es/peticiones/google-create-a-native-linux-google-drive-application?share_id=ADrOjDOjXrutm_campaign=mailto_linkutm_medium=emailutm_source=share_petition




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

page comes up in Spanish, is it just me or the link?

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


Permissions to access USB camera under debian

2013-07-02 Thread Micha Feigin

Hi All,

I'm trying to connect a camera (Mesa Imaging Swissranger specifically) 
to a Debian unstable box. I'm getting an error that the user does not 
have permissions to open the USB device (needs read/write access). 
Couldn't find any relevant group to add my user to to solve the problem. 
Any idea as to how to grant access?


I've manged to get some information when running as sudo although it 
still was a bit problematic, and I'd rather explore the issue as a 
regular user and not root.


Thanks

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


Re: Permissions to access USB camera under debian

2013-07-02 Thread Micha Feigin
Doesn't seem to be a camera group (there is a camera user, which may 
affect that), no v4l and video under the dev tree.
Only thing I found that changes under dev during connection is these two 
files:


lrwxrwxrwx 1 root root 18 Jul  2 13:35 /dev/char/189:389 - 
../bus/usb/004/006

crw-rw-r-T 1 root root 189, 389 Jul  2 13:35 /dev/bus/usb/004/006

So I don't think that it shows up as a camera but rather as a USB device 
(which makes sense as it's a depth camera that returns three images per 
frame with some extra related parameters, not a regular camera)
Looks like I need to change something in the system setup to change the 
default group or something similar


Device shows up as this:
1865748.404803] usb 4-2: new high-speed USB device number 6 using ehci-pci
[1865748.537404] usb 4-2: New USB device found, idVendor=1ad2, 
idProduct=0075
[1865748.537410] usb 4-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0

[1865748.537413] usb 4-2: Product: 3D-SR4000
[1865748.537417] usb 4-2: Manufacturer: MESA

Thanks

On 07/02/2013 01:14 PM, shimi wrote:


On Tue, Jul 2, 2013 at 8:09 PM, Micha Feigin mi...@post.tau.ac.il 
mailto:mi...@post.tau.ac.il wrote:


Hi All,

I'm trying to connect a camera (Mesa Imaging Swissranger
specifically) to a Debian unstable box. I'm getting an error that
the user does not have permissions to open the USB device (needs
read/write access). Couldn't find any relevant group to add my
user to to solve the problem. Any idea as to how to grant access?

I've manged to get some information when running as sudo although
it still was a bit problematic, and I'd rather explore the issue
as a regular user and not root.


Do you have a 'camera' group? Alternatively you could look for *v4l* 
and *video* under the /dev tree...


HTH,

-- Shimi



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


Re: Permissions to access USB camera under debian

2013-07-02 Thread Micha Feigin

On 07/02/2013 01:41 PM, Micha Feigin wrote:
Doesn't seem to be a camera group (there is a camera user, which may 
affect that), no v4l and video under the dev tree.
Only thing I found that changes under dev during connection is these 
two files:


lrwxrwxrwx 1 root root 18 Jul  2 13:35 /dev/char/189:389 - 
../bus/usb/004/006

crw-rw-r-T 1 root root 189, 389 Jul  2 13:35 /dev/bus/usb/004/006

So I don't think that it shows up as a camera but rather as a USB 
device (which makes sense as it's a depth camera that returns three 
images per frame with some extra related parameters, not a regular camera)
Looks like I need to change something in the system setup to change 
the default group or something similar


Device shows up as this:
1865748.404803] usb 4-2: new high-speed USB device number 6 using ehci-pci
[1865748.537404] usb 4-2: New USB device found, idVendor=1ad2, 
idProduct=0075
[1865748.537410] usb 4-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0

[1865748.537413] usb 4-2: Product: 3D-SR4000
[1865748.537417] usb 4-2: Manufacturer: MESA

Thanks

On 07/02/2013 01:14 PM, shimi wrote:


On Tue, Jul 2, 2013 at 8:09 PM, Micha Feigin mi...@post.tau.ac.il 
mailto:mi...@post.tau.ac.il wrote:


Hi All,

I'm trying to connect a camera (Mesa Imaging Swissranger
specifically) to a Debian unstable box. I'm getting an error that
the user does not have permissions to open the USB device (needs
read/write access). Couldn't find any relevant group to add my
user to to solve the problem. Any idea as to how to grant access?

I've manged to get some information when running as sudo although
it still was a bit problematic, and I'd rather explore the issue
as a regular user and not root.


Do you have a 'camera' group? Alternatively you could look for *v4l* 
and *video* under the /dev tree...


HTH,

-- Shimi





___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
And sorry for top posting, I picked up bad habits other places. Too long 
since I've been active on mailing lists apparently ...
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Suggestions for Hardware/driver WIFI combo that allows low level signal access

2013-07-02 Thread Micha Feigin

On 07/02/2013 01:05 PM, Geoffrey S. Mendelson wrote:

On 7/2/2013 7:49 PM, Micha Feigin wrote:

Hi All,

I'm was wondering if anyone here can recommend a hardware / driver combo
for WIFI that allows access to the low level signal. I'm looking to do
some non-communication related research (uni stuff) that requires
sending custom signals over WIFI frequencies (to avoid FCC limitations),
and I was hoping that there is some existing hardware that I can hack at
the driver level instead of building complex hardware (which I have, but
getting a high enough accuracy starts getting pretty expensive).

I'm not looking to bypass power/frequency limitations, just to send
custom signals over one of the WIFI channels.


That would not be legal without an amateur radio or experimental 
transmitter license.


You are not legally permitted to modify a WiFi device to transmit more 
than 100mW EIRP, operate on the legal 2.4 and 5.8 gHz channels 
allocated to WIFI and use any other modulation or data encoding.


You mention FCC limitations. They are different than Israeli ones as 
far as EIRP, but basically the same about modification of devices. Of 
course ISRAELI laws apply here and region 1 IARC rules.


If you are in an under FCC jurisdiction, that would be covered by 
region 2 IARC rules and be aware that the FCC has a very active 
enforcement division and would be glad to slap you with a $10,000 fine 
for each violation they detect.



Sorry.

Geoff.



Thanks for the info.

I'm currently working in the states, probably should check Israeli/USA 
law at some point. What I have now is this interesting setup which 
implements narrow bandwidth radar at the 2.4GHz range. As far as I know 
it is legal in the states (it uses readily available hardware as well)


http://www.glcharvat.com/Dr._Gregory_L._Charvat_Projects/Cantenna_Radar.html

It basically connects a signal generator to a voltage controlled 
ocsilator with 200MHz bandwidth around 2.4GHz.
I was looking to expand on this idea in the direction of the work by 
Dina Katabi from MIT CSAIL which require hacking the signal that the 
radar sends


http://people.csail.mit.edu/fadel/wivi/

The trick is not to change spectrum or intensity, but play a bit with 
the signal modulation within the regulated frequency range. Most of the 
stuff could probably also be done within the legal / standard WIFI type 
communication, but I need finer control over timing / encoding which 
would probably be either very hard or impossible to achieve going 
through the regular network stack.


I am also looking at UWB / XBAND but that is a completely different 
discussion that involves people that are allowed to do it and very 
custom (expensive) hardware.


Thanks

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


Re: Literature documentation software

2013-04-28 Thread Micha Feigin

  
  
There is jabref which is a bibtex
  management program and can probably be abused for your purpose -
  i.e you can use the review entry for your notes
  
  I like using docear, which is a scientific oriented mindmap
  program with strong support for paper management.
  
  Personally I use it under windows along with acrobat pro to make
  notes in the paper, it then can automatically find documents in
  given directories and extract all notes from the papers. I don't
  know if there is a linux supported pdf markup program that will
  work with it as well, I think that the KDE one or something like
  that should work (they have notes on their site.
  
  Both of these are written in java so work under linux (acrobat pro
  unfortunately has no linux version and I couldn't run it under
  wine either).
  
  On 4/29/2013 01:09, Steve G. wrote:


  

  I am preparing to do a (scientific) literature review, in
which I am going to look for articles on a topic, read them,
and summarize their important content. 

  
  I would like to do it electronically, in an organized fashion,
  so I can also search and retrieve information later on. Right
  now, I print the articles, read and mark important parts, and
  then write up the content in a text document.
  

My ideal program would have fields for the article name,
  source (journal, web address, etc.), authors, link to original
  article (i.e. the pdf file I will save or either a link or a
  copy of the web page in case of an html page) and
  summary/comments which I will enter. 
  

There should be some searchable record keeping system,
  where all the articles will be listed and be searchable by
  field (say, all articles from Washington Post, or Lancet,
  etc.).




  If it is online, it would be nice to be able to share access
  to a document.



Can you recommend a program that does that, on Linux or online?


  

  


Thanks,
  
  Z.

  

  

  
  
  
  
  ___
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: Online collaboration

2013-04-08 Thread Micha Feigin
For tracking versions with comments, either subversion or git are easy 
to setup, git tends to be easier I believe, but is a distributed system, 
so people can forget to push changes. It is good if you want to commit 
off-line though and it is easier to branch with git. Both have gui 
interfaces, and at least with windows and linux it is possible to 
integrated into the file explorer (tortoisesvn/tortoisegit in windows, 
rabbit vcs under nautilus/gnome, probably other options as well).


For collaborations and tickets, trac is pretty minimal and simple, but 
good enough for most stuff

http://trac.edgewall.org/

For knowledge base, a wiki system is usually best.

Hope that helps

On 04/08/2013 03:04 PM, Mord Behar wrote:
On Mon, Apr 8, 2013 at 9:50 PM, vordoo vor...@yahoo.com 
mailto:vor...@yahoo.com wrote:


On 2013-04-08 14:52, Mord Behar wrote:

Hi
I'm looking for an open source solution for collaborating on
various tasks, mostly graphics related.
I have access to a LAMP stack, so installing server-side software
shouldn't be a problem.
The problem is, I don't know what software we need.
We need to have a repository of data, where people can upload and
download the work they've done. It needs to be tracked and
(automatically) documented. It also needs to have a good
user-facing interface, the people using it will be graphics
designers, not programmers.
Any ideas?
Thanks.

Need your definition of collaboration, i.e: more details abut how
you are thinking of working out the collaborating on various
tasks. And how secure/in-house does it have to be -can you use
google/github as a platform? It's free for small biz  open
source, how many people are you?


It needs to be in-house. That's the point. Until now we've been using 
a plethora of cloud services, and we want to move it all in-house.



If you are thinking of a repository style collaboration, you can
go the github way. If you  need it in-house see:Gitorious,
Gitlab, Gitolite, Gitosis, Gitweb. OR are you looking for a more
non programmers  thing like Owncloud, Sogo, Zimbra.


Owncloud came up in the discussion, does anybody here have some 
experience to share?



Do you wont/need/like a wiki, blog, or something else for docs?


Something else. Wikis and blogs are too cumbersome for what we need. 
Which is mostly just to track tasks and changes made to files.



HTH,
v


___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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: XP iso for virtual machine

2013-02-07 Thread Micha Feigin
I do not know about buying XP, I believe that it is only still available 
for some corporate clients, not individuals. I think that there is a way 
to migrate an existing installation to a virtual machine, which may be a 
way to use your cd. https://forums.virtualbox.org/viewtopic.php?f=2t=51203


On 2/7/2013 23:28, Steve G. wrote:
I am thinking of running it Windows XP virtual machine under 
VirtualBox on Ubuntu. I have a CD, but suspect it is only for the 
original Dell it came with.


Is there any way to get a (legal) copy of WinXP Home Premium that I 
can use to install the VM, or for that matter a WinXP VM that I can 
use? I don't mind paying a little money for it ($10-20) if I have to, 
but above the low threshold, I'd simply use it an a dual boot Windows, 
and use Linux when I do not use windows.


THX

--
Sincerely,

Steve




___
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: Current Video Card winning horse?

2012-10-10 Thread Micha
It is implemented, but last time I checked Linux support was useless. I could 
fire it up in vesa mode, but not along with another monitor or have it connect 
dynamically.
Development doesn't seem to move anywhere at the moment as well

Ira Abramov lists-linux...@ira.abramov.org wrote:

Quoting Amos Shapira, from the post of Wed, 10 Oct:
 (Piggy backing but is related)
 What about USB3 monitors? Are they a viable option yet?

not that I could find. I have no idea if the standard is even
implemented, nor if it is supported in Linux.

  Requirements:
  - have it play nice with Xorg (Debian/Ubuntu).
  - preferably FOSS drivers, but only if rock solid.
  - preferably a GPU that supports CUDA/OpenCL (though the only
client I
have for it ATM is BOINC
https://boinc.berkeley.edu/wiki/GPU_computing )
  - preferably dual-port, so I can send a signal to a secondary
screen/projector.
  - No special gamer mad features needed. The most 3D I'll do with it
is
probably Desktop Cube :)

Well, the screen arrived today and I can tell you two things...

A. I hooked it up with the D-Sub of my piss-ant on-board intel chip,
and
other than a slight blurriness (due to analog signal loss, no doubt, or
a low-q A/D), it seems to push the full resolution quite well.
2560X1440
at 60Hz, I get good response, and full screen video is fine, even 1080P
video files render nicely, though you can see the frame rate is not
full.

B. a friend who is a video editor will give me an older dual HD4850 ATI
card. At 1 TeraFLOP it can handle 4 HD screens, so I have no doubt it
will be over the top for my modest single screen, and the price is so
cheap (used) that I don't mind the old hardware version.

Thanks for all your input :-)

-- 
Bachelor number one
Ira Abramov
http://ira.abramov.org/email/

___
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: Current Video Card winning horse?

2012-10-10 Thread Micha

  
  
On 10/10/2012 05:43, Shlomi Fish wrote:


  On Tue, 9 Oct 2012 16:10:27 +0200
Ira Abramov lists-linux...@ira.abramov.org wrote:


  
Quoting Shlomi Fish, from the post of Tue, 09 Oct:


  
If you care about FOSS drivers, then you should definitely avoid
all Nvidia

Otherwise, I am a happy user of a laptop with ATI Mobility Radeon™
HD 4570 card, and a Core i3 desktop machine with the “Intel
Corporation

I recall the ATI HD 2600 Pro card being dual-port, so I assume most
other recent cards will be too.




So Gigabyte HD 6570 sounds about right, then? Though maybe I should
look for a card with no moving parts. fans tend to fill up with dust
and die.
  


Note that the ones with no fan are the absolute lowest end options.


  


  
  
I asked about it on #radeon on irc.freenode.net and here was the reply:

farnz rindolf: 
http://wiki.x.org/wiki/RadeonFeature#Decoder_ring_for_engineering_vs_marketing_names
- anything other than Southern Islands should work fine with the open-source radeon
driver. SI is getting there with git-of-the-day pieces, but is still not up to speed.


  

I'm trying to figure out if there's a difference in the
DVI-D/HDMI/Display Port jungle, other than improved DRM (HDCP) and if
that matters at all in Linux anyway.


Also, Anyone has anything smart to say for/against ordering from a
nameless eBay vendor compared to walking into a KSP-style shop? (and
if it's getting off topic, you can reply off-list...)

Thanks!


  
  
Regards,

	Shlomi Fish





  


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


Re: Current Video Card winning horse?

2012-10-09 Thread Micha Feigin
I don't have experience with ATI but they should work. I don't know how 
the drivers are.


NVIDIA works great for me, but I use the propriety drivers, not nouveau 
as I need the GPU for CUDA/OpenCL. CUDA is nvidia only, OpenCL at least 
under windows works on ATI, NVIDIA and ivy bridge Intel GPUs and all 
CPUs, but you need appropriate drivers. Under Linux I know that OpenCL 
works on NVIDIA and AMD with propriety drivers, CUDA works under NVIDIA 
with the same limitation. AMD used to have some limitations with their 
OpenCL implementation in terms of memory transfer rates and kernel 
launch delays, I believe that these have improved. I don't know if Intel 
has a driver for Linux.


To sum things up, you are probably OK with both options, but you will 
need to use propriety drivers for OpenCL/CUDA at this point, and I 
believe that if you go propriety, NVIDIA has a better driver.


All modern cards have at least two ports, the cheaper ones may have one 
DVI and one VGA, the higher end ones can go up to three or four displays 
with multiple DVI and HDMI or display port.


If the CUDA code is older, you may be better getting the older 5xx 
series NVIDIAs, as NVIDIA did some hardware changes that makes writing 
code for kepler a bit harder. They also increased compute power but not 
memory speed, so not all codes benefit from the increase. If you do want 
to run CUDA/OpenCL with a worthwhile speed, I would go for the gtx 570 
(Fermi) or the gtx 670 (Kepler). If you skip CUDA you can go for middle 
end cards.


On 10/09/2012 06:44 AM, Ira Abramov wrote:

Ahoy maties!

The time has come for me to upgrade some of my antique hardware, and I
have ordered myself a nice mega-monitor with the ass-whooping resolution
of 2550X1440. This means the old VGA on board won't do and I need to
look at higher-end stuff (DVI-D at minimum). I googled this issue quite
a bit, limiting google for results only from the last month and still
I'm not sure who do we not-hate this month (I suppose I'm looking at ATI
and nVidia)

Requirements:
- have it play nice with Xorg (Debian/Ubuntu).
- preferably FOSS drivers, but only if rock solid.
- preferably a GPU that supports CUDA/OpenCL (though the only client I
   have for it ATM is BOINC https://boinc.berkeley.edu/wiki/GPU_computing )
- preferably dual-port, so I can send a signal to a secondary
   screen/projector.
- No special gamer mad features needed. The most 3D I'll do with it is
   probably Desktop Cube :)

Thanks in advance!




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


Re: Current Video Card winning horse?

2012-10-09 Thread Micha

  
  
If you want to start playing with CUDA
  and don't care about performance, but just want to get a feel for
  what different coding paradigms do, anything Fermi and up is a
  good start. NVIDIA started adding L1 and L2 caches from Fermi GPUs
  (400 series). Don't expect the low end cards to rival good CPU
  coding (basic GPU coding will probably still be a little faster
  than basic CPU coding though, i.e single thread, no sse).
  
  The 4xx and 5xx series are Fermi (previous generation), most 600
  series are Kepler, although not all of them, some of the lower end
  ones are just re-branded Fermies.
  
  Interestingly, Kepler behaves more like the lower end Fermi cards
  than the higher end ones (more core groups than instruction
  schedulers, and thus requires instruction level parallelism).
  
  If you just want to start playing with CUDA and learn the effects
  of different optimizations, the 430, 520 or 620 will do the job.
  If you want to get performance, although not peak, at a somewhat
  saner price, the 660 or 670 will also do a nice job (the 660
  according to zap is around 1400-1800 nis).
  
  On 09/10/2012 12:56, Oleg Goldshmidt wrote:


  Micha Feigin mi...@post.tau.ac.il writes:


  
If the CUDA code is older, you may be better getting the older 5xx
series NVIDIAs, as NVIDIA did some hardware changes that makes writing
code for kepler a bit harder. They also increased compute power but
not memory speed, so not all codes benefit from the increase. If you
do want to run CUDA/OpenCL with a worthwhile speed, I would go for the
gtx 570 (Fermi) or the gtx 670 (Kepler). If you skip CUDA you can go
for middle end cards.

  
  
Whle we are on the CUDA topic... Assume I want to play with CUDA (no
problem with proprietary drivers). I just got a quote for GTX680 for
ILS2820. If I don't need absolutely peak performance but I don't want
to be stuck with "older" ways to write code, could you recommend other
options that will be cheaper?

Thanks,




  


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


Re: I need help with my Android phone, connecting to my wireless router

2012-03-15 Thread Micha
Maybe something here will help you
http://www.droidforums.net/forum/droid-general-discussions/35598-wifi-wont-connect-using-wpa-wpa2-3.html

It's for the droid x, but people report similar problems.

Never had your problem with my phone, so it's hard to comment from
personal experience.

On 15/03/2012 17:22, Alexander Sukholitko wrote:
 Hi,
 I suggest you to sign in androidforum.com http://androidforum.com,
 choose you phone and ask you question. I think that you find there
 answer immediately.
 Good luck.
 Alex
 
 On Thu, Mar 15, 2012 at 3:05 PM, Meir Michanie me...@riunx.com
 mailto:me...@riunx.com wrote:
 
 Dear list members,
 Please restrain your email to this mailing list to Linux related
 issues (in a previous email I explained that only if you are hacking
 the android kernel, then the post is fine).
 There is even another list for newbies.
 If you are not sure if your post is revelant to the list:
 please first search the miling list archive to see if the topic has
 been banned already.
 If you still think that you are ready to post a no Linux related
 message, prepend the subject line with OT (out of topic)
 
 Thanks,
 Meir
 
 On Thu, Mar 15, 2012 tel:2012 at 9:26 AM, Alan Yaniger
 a...@tkos.co.il mailto:a...@tkos.co.il wrote:
  Dear list-members,
 
  May I request that the Linux-IL list members take a bold step and
 leave all
  sarcasm at the door before entering? Generally, the sarcastic
 message can be
  conveyed in a businesslike manner, without having to resort to
 pejorative
  comments. Before sending the message, keep in mind that it's
 unpleasant to
  be the butt of such comments – and it might come back to you. What
 goes
  around comes around.
 
  Thanks,
  Alan
 
 
  On 03/15/2012 08:45 AM, Stan Goodman wrote:
 
  On Thursday, March 15, 2012 tel:2012 01:17:54 Meir Michanie wrote:
 
Hi Stan,
 
My AEG oven clock is out of sync and connecting your HTC Aria to a
 
wireless router request for support would be better answered at
 
http://lmgtfy.com/ Let me google that for you
 
  --
  Alan Yaniger
  Tk Open Systems
  0546-841-481 tel:0546-841-481
 
 
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il mailto: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 mailto: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: How do I disable NetworkManager in favor of dhcp setup?

2012-03-08 Thread Micha

  
  
I have nothing much against network manager, especially these days
with wifi and wpa etc which is a mess to setup manually. On a laptop
it's a lifesaver (although I always get into trouble when I try to
manually set an IP address). It's just that with a server (or even a
remotely accessed desktop), that has a single wired Ethernet
connection, it's an overkill and causes problems if it requires
actual local user logon before it has a network. And if it's a
headless machine, that is not even an option.

Anyways, thanks for the pointers, trying them out now. For some
reason, the machine doesn't seem to actually reboot when I type
reboot from the ssh terminal, but rather it just logs out, so it
takes some time to get feedback (I need someone there physically to
reboot).

Thanks

On 08/03/12 06:47, Shachar Shemesh wrote:

  
  
  On 03/08/2012 12:21 AM, Micha wrote:
  
I believe I pinpointed the problem tp NetworkManager being installed and
enabled, which means that no network connection is actually configured
before a user is logged in.
  
  No, it does not mean that at all. Simply set your eth0 connection
  to be a "system connection" to resolve your problem.
  
  On a wider note, I, too, used to hate Network Manager. It seemed
  like such an over complication in relation to such things as:
  


/etc/network/interfaces doesn't exist, so I'm not sure how this is
supposed to be achieved these days (under debian it's still there, just
not active by default).
  
  The thing that finally broke me in was the utter impossibility of
  setting up a WPA connection without it. It was then easier to
  learn how to live with it than to fight its installation (and, on
  Debian, all you really have to do is uninstall it, and perhaps
  also avahi, which I still hate).
  
  The thing is, network manager brings unity (I know, bad pun) to an
  area that used to diverge so much between the distributions. I
  can't really call that a bad thing. Unlike what its reputation
  suggests, the global configuration isn't so cryptic. Just create a
  text file under /etc/NetworkManager/system-connections. Ugly
  uppercase apart - quite straight forward. I'd like the GUI
  managers to be more consistent, but that is really a minor quibble
  compared to the situation before NM.
  
  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




  


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


How do I disable NetworkManager in favor of dhcp setup?

2012-03-07 Thread Micha
I have a redhat 6 desktop based system that exhibits a behavior where
sshd fails to start on startup despite being enabled and requires manual
startup after user login. I want to enable remote access before there is
actual user login on the system

I believe I pinpointed the problem tp NetworkManager being installed and
enabled, which means that no network connection is actually configured
before a user is logged in.

I want to know how to remove NetworkManager and enable automatic network
connection startup before sshd is started.

/etc/network/interfaces doesn't exist, so I'm not sure how this is
supposed to be achieved these days (under debian it's still there, just
not active by default). It used to be possible to define the interface
as auto dhcp in there to get the behavior I want. Will just adding that
file do the trick is it supposed to be done differently?

Thanks

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


Re: How do I start a blank x-server?

2012-03-04 Thread Micha
I don't think that it will work as I need both actual display output
(like I said, not a directly human viewable output, but still) and
hardware accelerated OpenGL.

Still, thanks for the idea.

On 03/03/2012 00:30, Michael Vasiliev wrote:
 Have you considered using xvfb and vnc to it, or you absolutely have to
 do it on a real display?
 
 On 02/27/2012 09:05 PM, Micha wrote:

 For a project I'm working on at the moment, I need to be able to log
 in remotely to a machine (via ssh) and start a blank x-server. That
 is, to just initialize the display, with not cursor or window manager,
 to allow for creating a single full screen window for display.
 I seem to recall that just running X as a user used to do it, up to
 the no cursor part, leaving an empty (hetched) screen and running the
 content of .xsession or something like that.
 Things on modern systems seems to have changed enough with all the
 xsession / gdm / gnome etc. that it doesn't seem to happen properly.

 Any idea how I can achieve that on a modern system (red hat enterprise
 desktop 6 in this case).

 thanks



 ___
 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: How do I start a blank x-server?

2012-02-28 Thread Micha
On 28/02/12 09:51, Nadav Har'El wrote:
 On Mon, Feb 27, 2012, Micha wrote about How do I start a blank x-server?:
 pFor a project I'm working on at the moment, I need to be able to
   log in remotely to a machine (via ssh) and start a blank x-server.
 ...
   I seem to recall that just running X as a user used to do it, up
   to the no cursor part, leaving an empty (hetched) screen and
   running the content of .xsession or something like that.br
   Things on modern systems seems to have changed enough with all the
   xsession / gdm / gnome etc. that it doesn't seem to happen
   properly./p
 pAny idea how I can achieve that on a modern system (red hat
   enterprise desktop 6 in this case)./p
 
 
 I'm not sure about RHEL6, but Fedora, which is probably similar,
 unfortunately lost the ability to run the user's ~/.xsession instead of
 those fancy (and bloated) GNOME/KDE. It happened when Fedora 9 was
 released, in 2008.
 
 Luckily, there's a way to bring the good-old-behavior of following a
 ~/.xsession (if it exists). You can enable it by doing:
 
   yum install xorg-x11-xinit-session
 
 Then, in the graphical login screen, you get a third option besides KDE
 and Gnome, which is user config (or something like that) - and if you
 choose that, your ~/.xsession is used.
 If you only switch to this user config once in the login screen, it
 will be the default next time, so from there on you will just log in
 normally, and always get your intended configuration.
 
 But although this answers your question, looking at the rest of your
 discussion, I'm not sure this is what you actually wanted to do. Perhaps
 what you wanted is simply to run vncserver and get a blank X server which
 you can view with vncviewer.

Ok, I'll try to explain again what I need.

I have a machine with one card connected to two outputs. These are
processed by hardware to create some output which are not human
distinguishable, but as far as the computer is concerned they are
regular displays. I connect to that machine via ssh, and I need to open
an OpenGL window on these two outputs to display the required data. To
open these windows I need to create an X server (as I need OpenGL with
acceleration, so a frame buffer device will not do). For testing I'm
connecting screen to see that the right output is produced, but they
won't be there after debugging.

Running X as root takes me most of the way there, but it works for now
on my personal laptop and I haven't managed to get it to run on the said
machine (there are complaints about no access to /dev/nvidia1)

 


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


How do I start a blank x-server?

2012-02-27 Thread Micha

  
  
For a project I'm working on at the moment, I need to be able to
  log in remotely to a machine (via ssh) and start a blank x-server.
  That is, to just initialize the display, with not cursor or window
  manager, to allow for creating a single full screen window for
  display.
  I seem to recall that just running X as a user used to do it, up
  to the no cursor part, leaving an empty (hetched) screen and
  running the content of .xsession or something like that.
  Things on modern systems seems to have changed enough with all the
  xsession / gdm / gnome etc. that it doesn't seem to happen
  properly.
Any idea how I can achieve that on a modern system (red hat
  enterprise desktop 6 in this case).
thanks

  


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


Re: How do I start a blank x-server?

2012-02-27 Thread Micha

  
  
Thanks, I got X to start this way (as root). It did take a very long
time (almost half a minute) until the black screen came up. For some
reason though the keyboard and mouse don't respond and I have an X
for the mouse in the middle of the screen that won't move. It also
means that I can't switch back to console from the current machine.
I also tried running gedit from remote ssh to make sure that things
work, it ran, but most of the interface was black. glxgears did work
fine. Not sure if the resolution is correct though. 
I would have preferred to be able to do this as a user as the
machine is supposed to run headless as a production machine
dedicated for this application, I guess that I can start the whole
application as a daemon though.

BTW, I've been using linux for something like 14 years now, so it
could have been a long time ago. It's definitely been long since I
tried. It was at the days before gnome-session and such when you ran
startx and had to setup the display manager and everything else
yourself.

On 27/02/12 21:27, Shachar Shemesh wrote:

  
  
  On 02/27/2012 09:05 PM, Micha wrote:
  


For a project I'm working on at the moment, I need to be able
  to log in remotely to a machine (via ssh) and start a blank
  x-server. That is, to just initialize the display, with not
  cursor or window manager, to allow for creating a single full
  screen window for display.
  I seem to recall that just running X as a user used to do it,
  up to the no cursor part, leaving an empty (hetched) screen
  and running the content of .xsession or something like that.

  
  As root, run "X". If there is a server already running on the
  machine, "X :1" would do it.
  
  I don't know what you meant to run as a user. If it was "startx",
  that does not work, and has not work for some time now. In fact, I
  doubt it ever started an empty X server.
  
  Bonus: X.org changed their default so that the default background
  is now black, meaning no flicker until your window opens.
  
  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: How do I start a blank x-server?

2012-02-27 Thread Micha

  
  
It's headless as far as a human is concerned as there is no display
for user interaction. The two dvi is connected to a machine that
does something with the output, but it's nothing a human can discern
before being processed. We're thinking of putting in another
graphics card, but I'm not sure if we have a free slot.

On 27/02/12 22:52, Shachar Shemesh wrote:

  
  
  On 02/27/2012 10:21 PM, Micha wrote:
  


I would have preferred to be able to do this as a user as the
machine is supposed to run headless as a production machine
dedicated for this application, I guess that I can start the
whole application as a daemon though.
  
  If it's headless, who's going to see the application?
  
  If no one, consider running Xvfb instead.
  
  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


how do I setup a red hat yum repository

2012-02-23 Thread Micha

  
  
I was just given a red hat enterprise 6 system to setup for a
  project, only there is no repository setup on in and for this
  project I need pretty bleeding edge software and software that is
  not installed. Unfortunately for this project I come from a debian
  background so I have no knowledge of the red hat repository
  management world.
How do I setup a repository and which ones are available?
I need up to date boost libraries (1.46 and up) and hwloc at the
  moment, not sure yet what else.

  Thanks
  


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


Re: how do I setup a red hat yum repository

2012-02-23 Thread Micha

  
  
I don't mind installing from anything that is compatible, I do need
something new enough though to install from in the first place. I
just don't know what are the compatibilities and repository versions
with red hat and what I believe are it's relatives, Fedora and
centos.

I would have put debian unstable with a touch of experimental on
this machine, but it came preinstalled with red hat, so I'm seeing
if I can make it work before I swap hard drives. Not sure it it's
the smartest approach, but we'll see.

I recall running into upgrade dependency hell last time I was with
red hat about ten years ago (before yum was invented), and I'm aware
of care that should be taken with debian and debian vs ubuntu as
well, which is why I'm being cautious trying not to shoot myself in
the foot before I start ...

Thanks

On 24/02/12 02:31, Michael Vasiliev wrote:

  
  Are you sure you can't make a chimera install by salvaging
  packages off corresponding version of Fedora? In case it's not the
  way, creating your own repository is surprisingly doable. Googling
  for "yum repository" gave me enough hints when I had to do that.
  You're looking at some maintainer work (editing specfiles and
  recompiling the source package) every time the dependencies for
  your packages change, however.
  
  On 02/24/2012 12:44 AM, Micha wrote:
  


I was just given a red hat enterprise 6 system to setup for a
  project, only there is no repository setup on in and for this
  project I need pretty bleeding edge software and software that
  is not installed. Unfortunately for this project I come from a
  debian background so I have no knowledge of the red hat
  repository management world.
How do I setup a repository and which ones are available?
I need up to date boost libraries (1.46 and up) and hwloc at
  the moment, not sure yet what else.

  Thanks



___
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: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
I wouldn't say Linux as it confused people (worked in university, don't think 
that it would work at school). But you can to with tablet (iPad/android). Those 
cost money to open word and still have a lot of issues if they do. PDF works 
but is not editable. Not sure if there is an editable solution though that is 
portable enough. Maybe Google docs, of it's not too geeky.

Boaz Rymland boaz.ryml...@gmail.com wrote:

Hi all,

I'm about to meet my daughter's school principal on the subject of the
formats of documents the school spreads around routinely, like the
weekly
schedule. In short - they are using .DOC MS Word format and I don't
like it
as I cannot cleanly open those documents on my computer (which runs
Ubuntu).

Although I'm quite old in the Linux world and probably heard over the
years
most of them - still I prefer having a refreshment of all the arguments
in
favor of moving to more open or at least affordable (e.g. PDF) document
formats.

Any pointers/text will be appreciated.

Thanks,
Boaz.
___
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: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
On 05/02/2012 12:14, geoffrey mendelson wrote:
 
 On Feb 5, 2012, at 10:40 AM, Oleg Goldshmidt wrote:

 Why? Forget Linux. Do Macs come with Word pre-installed (today)? How
 much does an Office license cost (e.g., if one runs it in WINE)?

 
 It's almost irrelevant. Most Macs come with an Apple Office suite
 (Pages, etc) which has little to no Hebrew support. MS/Office for the
 Mac supports Hebrew at a very basic level but it is expensive.  However,
 there are so few Macs around that no one really cares about what they
 support.
 

That is not so true any more with today's kids. I don't have a kid at
that age yet, but good friends of ours do and I think that about half
their class are using macs (and iPods and ipads). Their child actually
has to use the mother's computer half the time as the mac doesn't
support word in Hebrew or their homework system or the parents message
system (to let parents know of grades, tardiness etc.)

 In the world, the majority of UNIX systems are Macs. In the US around
 12% of the computers on desktops are Macs, and in Israel a few percent
 of them are Macs. With the high price of Macs here many parents just buy
 cheap PC's with Windows bundled and get the student/home version of
 office (Word and Execel but no Outlook (scheduling/email) and Access
 (database)) which can be found on sale for as low as 300 NIS for a three
 computer license.
 
 Last year (2010 school year) a student organization was offering a
 netbook with Windows XP and Office included for 1200 NIS. This year,
 there were still some being sold for as little as 800 NIS at places like
 Machsani Chasmal.
 
 
 
 Another stupid question: why doesn't the school publish assignments on
 the web? Should be much easier than to email them?
 
 
 No, the teachers know how to email. They would have to hire a webmaster
 to post them and coordinate the postings.
 
 Geoff.


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


Re: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
On 05/02/2012 12:45, Mordechai Behar wrote:
 I had a similar experience.
 I recently switched to a different college in a renewed attempt to gain
 my undergraduate in Compsci. Much to my chagrin I discovered that this
 college, which bills itself as being a technological college, is firmly
 entrenched in the Microsoft field. I tried talking to each and every
 professor and TA in turn, about why it is so difficult for them to click
 the Save As PDF button in MS Word so that people like me would be able
 to read the homework, not to mention the class material.
 And don't ask about the arguments I had about forcing people to use
 Visual Studio and the Microsoft compilers instead of the gcc.
 Much frustration.
 The thing is, they keep coming back to the same old this is what
 everybody uses argument. And when I point out that clearly this isn't
 so, since I don't use MS, apparently it is my own fault for being a
 non-conformist.
 And so, in order to be able to complete my courses I am forced to either
 shell out for proprietary software or come up with creative solutions.
 One such solution was to remotely connect to the college's servers and
 use the software available there on the Windows 2003 server. Which works
 best for converting documents to PDF, but not so good with programming.
 Apparently programs that compile in VS 2008 don't necessarily compile in
 VS 2010. Who'd have thought?
 

2008 vs 2010 compatibility is even much worse than you think. By the
way, you can add gcc to the mix, although you can usually get away with
building your project with gcc and in the end wrapping it up with visual
for submission (unless you need windows interface).

 I don't want dissuade you you, and wish you the best of luck, but I
 wouldn't get my hopes up if I were you. This harps back to a similar,
 recent thread about Israeli websites being designed for IE6, the people
 in charge are behind the times, and firmly convinced that the rest of us
 are at fault for it.

In Tel-Aviv university, at least the math department, things are better.
As a TA I refused microsoft documents from anyone, including official
university ones. It's not just due to me, but now almost everything
official is sent in PDF or PDF plus word.

Even my students had to find other ways to send information. I even
refused to upload exercises to the official virtual site until it
started supporting linux + firefox.

On the other hand, large parts of the faculty are either mac or linux so
it helps. The advantage with University is that most scientific journals
will only accept latex submission so it keeps the faculty more open to
alternative formats.

 2012/2/5 Boaz Rymland boaz.ryml...@gmail.com
 mailto:boaz.ryml...@gmail.com
 
 Hi all,
 
 I'm about to meet my daughter's school principal on the subject of
 the formats of documents the school spreads around routinely, like
 the weekly schedule. In short - they are using .DOC MS Word format
 and I don't like it as I cannot cleanly open those documents on my
 computer (which runs Ubuntu).
 
 Although I'm quite old in the Linux world and probably heard over
 the years most of them - still I prefer having a refreshment of all
 the arguments in favor of moving to more open or at least affordable
 (e.g. PDF) document formats.
 
 Any pointers/text will be appreciated.
 
 Thanks,
 Boaz.
 
 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il mailto: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: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
On 05/02/2012 13:57, Nadav Har'El wrote:
 Hi,
 
 On Sun, Feb 05, 2012, geoffrey mendelson wrote about Re: Preparing to 
 convince to shift to non-propriety documents formats:
 It depends. I can't speak to it directly, my Hebrew level is such
 that a crayon would be enough, but my son who is in high school was
 told by the school to use Microsoft Office for Windows because there
 were capabilities that he needed that Open Office (for Windows) did
 not provide for Hebrew.
 
 I've been writing a lot in Hebrew in OpenOffice, and I can assure you,
 in my experience there's virtually *nothing* that OpenOffice is missing
 when it comes to Hebrew support. There are free Hebrew fonts (though you can
 also use the ones that come with Windows), free Hebrew spell-checker
 (of course ;-)), you can format everything properly right-to-left, and
 basically all the features, even the most obscure ones, work correctly
 in Hebrew: multi-column text, table of contents, index, niqqud, PDF
 export, etc.
 

I can't seem to change page numbering (i.e suppress page numbering on
some pages) or change head/footer format. One thing that microsoft does
ok (but messes up a whole lot of others in return).

Neither can do proper math if their life depended on it, or make it
cross platform (openoffice can't handle microsoft equations and vice versa).

Personally I use latex (mostly via lyx), but that is hardly for
everyone, or even most.

 Many of these features did, at one time in the past, in fact not work
 due to bugs, but all the important bugs have fixed, most of them years ago.
 
 Is there anything specific to Hebrew that didn't work for him in
 OpenOffice?
 
 I asked him about it, and he assured me that was the case. Granted
 he is a special student in a special school, but I am sure he is not
 unique.
 
 Again, I've been using almost any imaginable feature with OpenOffice's
 Writer in Hebrew, and everything seems to work, so I wonder what caused him
 trouble.
 
 Note that I'm talking about the Writer and MS-Word here - not Impress
 and Powerpoint. I do know that people complain that Impress doesn't have
 as many feature as Powerpoint - but this is not Hebrew-specific (and not
 relevant to the word processor). As far as I'm concerned, all the
 features that Powerpoint has and OpenOffice Impress doesn't are
 superfluous anyway ;-)
 
 I do know from users on the various Macintosh groups that both
 Microsoft Office for the Mac (a stripped down version without good
 Hebrew support) and OpenOffice do not do a very good job of Hebrew
 formatting. Mac users have to buy niche packages which do, but
 they do not run on any other platform.
 
 OpenOffice does an excellent job of Hebrew formatting, in my
 experience.
 
 Perhaps you're thinking about not doing a good job of displaying
 Hebrew doc or docx files? I haven't seen this as a Hebrew-specific
 problem, but I have seen files which didn't look exactly like they
 were meant to. But almost always it didn't really matter.
 
 


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


Re: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
On 05/02/2012 14:14, Nadav Har'El wrote:
 On Sun, Feb 05, 2012, geoffrey mendelson wrote about Re: Preparing to 
 convince to shift to non-propriety documents formats:
 student/home version of office (Word and Execel but no Outlook
 (scheduling/email) and Access (database)) which can be found on sale
 for as low as 300 NIS for a three computer license.

 Last year (2010 school year) a student organization was offering a
 netbook with Windows XP and Office included for 1200 NIS. This year,
 there were still some being sold for as little as 800 NIS at places
 like Machsani Chasmal.
 
 I looked now at ivory.co.il and saw that the cheapest Microsoft Office 
 cost there 385 shekels. It's a bit cheaper than the 500 shekels I
 quoted, but not much cheaper. The 3-user version (I have no idea if this
 actually allows you to use it on 3 separate machines) cost 550 shekels,
 and won't make any sense to poor people (who are not likely to have more
 than one machine anyway).
 
 The cheapest Windows 7 on that site is 430 shekels.
 
 So together, these cost 815 shekels - about the same price as the cheapest
 brand new desktop machine from the same seller. Wow.
 
 I'm sure that you can find some deal if you're member of some pressure
 group, e.g., the teachers themselves get (if I remember correctly)
 discounted Microsoft products. But I don't think the school children
 themselves or their parents get any deals. It would make little sense,
 given that virtually everybody in the country is a parent to a child at
 school (or knows one), so everyone would be entitled to such a deal.
 
 No, the teachers know how to email. They would have to hire a
 webmaster to post them and coordinate the postings.
 
 And given that the teachers are probably not even paid for the time they
 spend on these mails (not to mention the cost to buy the computer, and
 connect to the Internet), we should be thankful that they do whatever
 they can.
 

I didn't check it and don't know how it applies to school children, but
I was told that as a student with a valid student ID you can get a free
license for MS software, renewed yearly. Combine that with the MS tax
that is hard to avoid ... but it still leaves the question of macs and
tablets (android, ipad).

Not sure if it's this link or something else:
https://www.dreamspark.com/
Although this seems to be just developer tools.

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


Re: Preparing to convince to shift to non-propriety documents formats

2012-02-05 Thread Micha
On 05/02/2012 16:20, geoffrey mendelson wrote:
 
 On Feb 5, 2012, at 2:32 PM, Micha wrote:

 That is not so true any more with today's kids. I don't have a kid at
 that age yet, but good friends of ours do and I think that about half
 their class are using macs (and iPods and ipads). Their child actually
 has to use the mother's computer half the time as the mac doesn't
 support word in Hebrew or their homework system or the parents message
 system (to let parents know of grades, tardiness etc.)
 
 
 Is that half of them have (a Mac OR an iOS device) or half of them have
 (a Mac AND and iOS device)?
 
 Two very different things.
 
 Just about everyone I know has some sort of iPod or iPad, but almost all
 of them have Windows computers.
 
 Geoff.

About half have a mac laptop. Probably a lot more also have an iPhone
and/or ipad.

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


Re: umount and data is lost?

2011-11-05 Thread Micha

  
  
On 06/11/2011 02:03, Ori Berger wrote:
On
  11/05/2011 05:12 PM, Diego wrote:
  
  Hi list,


I am trying to debug this problem in a system I am developing:


at some point I need to write a number to a file, and then
reboot via an

external device the machine. That device will cut of the power
for a moment,

and the machine will power on again (this is to overcome a fault
we could not

overcome otherwise). Before the reboot, I "umount" the proper
partition and

then "sync".

  
  
  Have you tried a sync() before the umount? I have experienced (on
  older Ubuntus, may or may not be relevant to your system) that
  "sync" after unmount doesn't actually do anything, whereas a
  "sync" before unmount does -- perhaps it only syncs the list of
  mounted filesystems.
  
  
  ___
  
  Linux-il mailing list
  
  Linux-il@cs.huji.ac.il
  
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  

umount should force a sync, although you indeed could try a sync
  first if umount is buggy. Sync after umount sounds a bit useless.
  Are you sure that you are waiting for the sync to actually finish
  before you reboot? You could try a few seconds wait and see if
  that helps as a start.

  


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


Re: New (First!) smart phone (OT_

2011-10-04 Thread Micha

  
  
The keyboard tried to guess what key you intended to press to
compensate for the small keys. Once you learn how to aim it gets
more tolerable. In most screens you can rotate the device to type
in landscape mode which gives you a bigger keyboard. There is also a
spell checker that tries to auto-correct spelling mistakes to
compensate as well, it can cause some embarrassing results though,
so be careful.
http://damnyouautocorrect.com/

As for fade out, can't be cars AFAIK. Either you moved around and a
wall blocked the reception, or you friend used a wireless phone and
moved around and a wall did the same for him, or he just got too far
from the cradle. Alternately, if he is using an IP based service
(012), it could be network problems, or if he is on hot, I used to
have that every winter.

On 05-Oct-11 1:09, Etzion Bar-Noy wrote:

  Welcome to the world of the cellular. 
First - there are various keyboards available for the device.
Their key size might differ, layout might differ, and ease of
use, for you in person, would differ as well. 
About stylus - you will need a device designed for capacitive
screen. Although I am not familiar with your device in
particular, most devices today are capacitive, meaning they
react to the human electrical charge, our something like that.
You can purchase such a device for very cheap at deal extreme,
or for very expensive in Israel. 
  Service quality differ depending on many factors. Usually,
passing cars are not part of them. It could be that your
friend's land line phone was a wireless one, and it's all his
"fault". Could be that you are in the area of overlapping
cellular antennas, and your call switched between cells. Try to
wait before judging the system just a little while. Most people
do not feel that land lines are superior compared to cellular
communication. This could be because, from the perspective of
the caller - it is not. 
  Good luck and enjoy your new device. 
  Ez
  On Oct 4, 2011 11:28 PM, "Stan Goodman"
stan.good...@hashkedim.com
wrote:
 As per Subject, this is my first smart phone, and I am
engaged in trying 
 to discover if I myself as smart as it is; the outlook is
bleak. More 
 than it should be because the documentation seems to be
written for a 
 reader who already knows the score and needs only a bit of
memory 
 nudging to recall the drill. As OT as this is, I hope I can
ask here for 
 answers to a few questions.
 
 The instrument is HTC Aria. The two questions that are
bugging me at the 
 moment are:
 
 1) The on-screen keyboard for writing messages defeats me,
because the 
 "keys" are absurdly narrow, certainly more so than my
fingers, and there 
 is absolutely no chance that I would ever be able to peck
out even a 
 short coherent message with them. This suggests that there
must be a way 
 to type with a stylus, rather then directly with fingers. I
have tried 
 to use objects made of various materials, but so far
nothing works. How 
 do people type on these things?
 
 2) I succeeded in telphoning to a friend this evening, to
his land-line 
 phone. For a while, the sound I got was quite good and
distinct, but 
 after a bit, it began to fade in and out, so that
cconversation became 
 intermittent and impossible. There is a cell-phone tower
less than a 
 kilometer away from my home. Is this the level of service
that I have to 
 look forward too? The fading suggests that the
communication may be 
 affected by passing vehiles; is this possiblle over such a
short 
 distance?
 -- 
 Stan Goodman
 Qiryat Tiv'on
 Israel
 
 ___
 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


How do I install linux on a raid0?

2011-08-18 Thread Micha Feigin
I just got a new w520 with two 500GB hard drives configured in raid0 (seems to 
be a bios based software raid0). Windows is already installed and running on it 
(and I need it to stay there unfortunately) and I'm trying to install linux 
along side it (debian unstable).


I got the installed running and it installed fine as it seems (although it looks 
like it messed up the partition table a bit as now I also have sda1 and sda2 
that weren't there to begin with I think), but I can't get grub to install and 
rescue mode also won't boot into linux no matter what drive I choose as root. I 
did manage to mount the partition from /dev/matter/...05 and everything is 
installed on it, but again, no grub.


Any ideas on how to get linux up and running (I need to boot into it somehow).

I tried debian unstable installed from usb and debian live installed from usb, 
but neither goes past the grub step.


I also tried following some instructions I found on the net saying to add 
dmraid=true to the command line during install and then again when grub fails 
when booting into recovery but no /dev/dm and no mounting the linux partition at 
that point so I can't continue.


Any help will be appreciated.

Thanks

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


Re: How do I install linux on a raid0?

2011-08-18 Thread Micha
From what I've read up on, it seems like most non-server bioses do some 
sort of fake raid, where the raid is controlled from the bios but is 
actually a software raid (at least partially). Windows which came 
installed on the machine sees it (or reports it) as one disk (although 
it does call it oemraid). Linux seems a bit more confused. When I 
started it with dmraid=true, it sees it both as a strip drive (raid 0) 
and it seems that somewhat also as multiple disks. I have both /dev/sda 
and /dev/sdb and /dev/mapper/{really long name}.


I can partition the drives and install the system to it, but then grub 
(grub2 actually) chokes. I can't mount the system properly under 
/target, calling grub-probe directly recognizes the partition as ext2 
(although it is ext4) but calling grub-install says that grub-probe chokes.


The system has 2 500gb disks in raid0 (strip) setup. The partition setup:

#1 (primary) is windows 7 boot partition (1.17GB)
#2 (primary) Windows 7 (600GB)

free space for linux (will probably need to be logical)

#3 (primary) lenovo recovery (15.6 GB)

On 18-Aug-11 17:39, Oleg Goldshmidt wrote:



On Thu, Aug 18, 2011 at 3:23 PM, Micha Feigin mi...@post.tau.ac.il 
mailto:mi...@post.tau.ac.il wrote:


I just got a new w520 with two 500GB hard drives configured in
raid0 (seems to be a bios based software raid0).


I am a bit confused. If the RAID is BIOS-based then it sounds to me 
like it is HW RAID. In this case it should be transparent to Linux, 
grub, even DOS, shouldn't it?


Is it some sort of fake RAID that is not a true HW RAID? In that 
case you may be out of luck or it may still work after some 
incantations and contortions.


Windows is already installed and running on it (and I need it to
stay there unfortunately) and I'm trying to install linux along
side it (debian unstable).


Are you trying to install Linux on the RAID itself or on another disk 
and use the RAID under it? Or on the RAID itself? It sounds like the 
latter, but I am not sure. Some details on your partition layout would 
help.



I got the installed running and it installed fine


I am not familiar with debian installation, but what did it show as 
the partition table during install? Did you modify it in any way?


What does the partition table look like now?

as it seems (although it looks like it messed up the partition
table a bit as now I also have sda1 and sda2 that weren't there to
begin with I think), but I can't get grub to install


What exactly did you do and what didn't work?

and rescue mode also won't boot into linux no matter what drive I
choose as root. I did manage to mount the partition from
/dev/matter/...05 and everything is installed on it, but again, no
grub.

Any ideas on how to get linux up and running (I need to boot into
it somehow).


 My first guess is that you need to edit grub's device map as 
appropriate for your setup.


However, this is a wild guess. It would help if you posted fdisk -l, 
mount table, details of your grub configuration, things that you have 
tried and the corresponding outputs...


--
Oleg Goldshmidt | p...@goldshmidt.org mailto:o...@goldshmidt.org


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


Re: what was the name of the app...

2011-08-14 Thread Micha Feigin

There is also http://www.kerrighed.org/wiki/index.php/Main_Page

I played with these a bit. Not sure of the state of affairs, but they were 
mostly useful at the time for dynamic load balancing single threaded 
applications by migrating them around to nodes that were doing little work. 
Support for multi threaded applications and shared memory approaches came and 
went at the time. None of these ssi applications knew how to take a single 
application and break it up, and I doubt that they do now.


On 14/08/11 21:33, Hetz Ben Hamo wrote:

Well, a potential customer of mine wants to run different apps (most of them are
not cluster aware), on a small cluster (50 servers, dual processors each).
After I sent the previous email I remebered openMosix and saw what you were
talking about.

I thought about OpenSSI, not sure if it fits that task.

Hetz

On Sun, Aug 14, 2011 at 9:18 PM, Etzion Bar-Noy eza...@tournament.org.il
mailto:eza...@tournament.org.il wrote:

OpenMosix, but it I's hardly usefull for most usages, old, not really
maintained,  and very expensive. Why do you need it?

Ez

On Aug 14, 2011 9:07 PM, Hetz Ben Hamo het...@gmail.com
mailto:het...@gmail.com wrote:
  Hi,
 
  Few years ago I heard about an app which can connect few servers 
behind it
  - and show itself as a single cpu (single machine), so if you ran an
  application on this app, it would do the magic of dividing parts to 
other
  servers and combining them back.
 
  Anyone remember the application name or URL for it?
 
  Thanks,
  Hetz




--

*חץ בן חמו
חץ-ביז
*השכרה ואירוח של שרתים פיזיים
מעוניין להשתמש בשרותים שחסומים לגולש הישראלי? Hulu? NetFlix? Pandora? Google
Voice? אם כן, היכנס לכאן http://vps.net.bz/?p=406.




___
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


adding fonts for a x-server-less machine

2011-03-23 Thread Micha
I have a headless server that doesn't run X (I don't want it to run X), but I do 
want to run apps remotely on it with ssh X tunneling. I'm trying to run rxvt at 
the moment but it refuses to start because it can't find any fonts.


I tried installing the font packages but it does seem to help and xfontsel and 
urxvt don't see the newly installed fonts. How do I get the fonts to be 
recognized, i.e what is the minimum install that doesn't require an actual 
X-server to run?


This is for connecting from a windows machine with xming (sorry, not mine) to a 
debian sid based server (I require some up to date apps and drivers so can't run 
stable on this one).


Thanks

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


Re: Android phones

2011-02-23 Thread Micha

On 23/02/11 12:53, David Suna wrote:

Hopefully this is not to off topic. My daughter is interested in getting a new
phone (specifically a touch phone). We have narrowed down the choice to Samsung
Galaxy S, Samsung Wave S8500, and LG Optimus One.


1. Does anyone have recommendations for or against any of these models (or a
particular other phone they would recommend)?

2. The Galaxy phone has a significantly lower SAR rating than the others. The
information I have found online has been rather unclear whether this is
something significant that would recommend this phone over the others. Can
anyone point me to reliable definitive information about this?

3. If I were to purchase one of these (unlocked) phones online and have it
brought to Israel how easy is it to add Hebrew support?


Thanks for any help.




I have the nexus one, a friend has the galaxy S. Also ran into the new google 
phone (I think it's called the samsung nexus S).


My two problems with the galaxy S are
1. I'm missing the search button which I use quite a lot and some sort of track 
ball (mechanical or digital) which I use quite a lot as well (I like it for the 
menus, but it can be hard to reach exact place in the text as well as it doesn't 
have the zoom function like in the iPhone, although I prefer the ball to the 
iphone).
2. It's a tad too big for me. I like the size of the nexus one better (it's a 
3.8 screen I thing instead of 4 which allows for a slightly smaller phone). 
But that is a matter of taste


Other than that it's a nice phone

The little I saw of the nexus S, I like it better, although I've been told that 
it doesn't have video calls despite having a front camera. It also doesn't have 
the trackball feature (like you get with blackberry phones). It does have the 
missing search button though.


As for hebrew, don't know if things changed. I had to root the phone (actually 
it came rooted as I got it off ebay) and install a patch. Easy if you know what 
you are doing, finding the patch is not easy, installing it for the first time 
can be a little scary. It has some hebrew menus but not all of them, although I 
stick with the english menus so can't tell you how far. I also use the 
cyanogenmod which is an aftermarker firmware so I don't know how things are with 
the official version.


The galaxy S I saw was from Orange and fully in hebrew. Don't know how much of 
that is available freely and if you need to root your phone to install that.


One thing that you need to check in terms of where to buy is the issue with 
internet packages. I think that all phone companies in Israel make you buy a 
data plan for around 70+ nis. At least if you buy the phone through them you 
also get a gps package.


One last thing about importing the phone. You need to watch what country it's 
intended for. I believe that all these phones are quad band by now so can be 
used in any country for 2G. For 3G there are several bands and they are not 
compatible. I don't know of any phone that covers all of them and I think that 
even in Israel there is no complete overlap, so the phone may work in 3G with 
some of the operators but not all of them if you are not careful.


Alos, I use the phone without a data plan, which quite limits GPS options. 
Google maps seems to work in Israel at the moment, but requires data connection 
for the maps. iGo is fully on board (no data) but there is no official Isreali 
offering, there is a hack going around to allow it to run on android, but it's 
not easy to find and install. waze is also free and the maps seem to have good 
coverage but requires data for routing (route planning seems to happen online, 
only the maps are on board) and the interface is not wonderful to say the least, 
there is also mapquest which is free and it seems to have Israeli maps, not sure 
if it's not just waze under a different name and english interface.


And finally, if you plan to root the phone, some versions are easier to unlock 
than others. As far as I know the ericsson xperia is easy to root but hard to 
unlock to other operators for example. If you are not planning to root, you may 
want to look at which android version each phone comes with.


Hope that that helps and doesn't complicate things any farther.

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


Re: Did anyone ever bought smart phone in ebay?

2011-01-14 Thread Micha

Sorry Hetz, reply initially sent off list by mistake.

Note sure how much it costs on ebay and don't remember the details for the htc.
I got a nexus one on ebay. You can put cyanogenmod or similar on it (I believe
also on the htc) to get the latest version.

things to watch out on ebay are mainly fake phones and locked phones (reported
stolen and thus will not work in the states on the original network). Forgot the
exact terminology

You should also make sure whether it's a carrier locked phone or not (which may
unlocking to use locally).

Also note that unless things changed, there is a 30% tax on cell phones, so I'm
not sure how profitable it is to order one from ebay unless you have someone to
bring it over as the extra 30% + lack of warranty can add up.


On 14/01/2011 17:40, Hetz Ben Hamo wrote:

Why do you want to do such a thing? Samsung Galaxy S is much better (AMOLED
screen, Gorilla glass, Froyo (HTC gives you android 2.1)) and you can buy it
here in Israel for 2400 NIS (see here
http://www.zap.co.il/model.aspx?modelid=76) with full Hebrew support
and warranty.

Hetz

2011/1/14 Raz razi...@gmail.com mailto:razi...@gmail.com

I want to buy htc desire in ebay. i wonder whether anexpected problems i
might have?


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




--

*חץ בן חמו
חץ-ביז (הוסטינג)
*השכרה ואירוח של שרתים פיזיים
השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
בקרו באתרנו בכתובת hetz.biz http://www.hetz.biz/ ובבלוג שלנו: blog.hetz.biz
http://blog.hetz.biz/
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz mailto:sa...@hetz.biz
מסנג'ר: sa...@hetz.biz mailto:sa...@hetz.biz - סקייפ: heunique




___
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: Did anyone ever bought smart phone in ebay?

2011-01-14 Thread Micha
If you go that way though, getting a lightly used phone also has it's 
advantages, as warranty issues would have been handled by the original owner.


With the nexus, there was an issue with the screen on some phones cracking 
during charging (possibly due to heat), so bad batches are caught by the 
original owner


By the way, be wary of the starts at price, and make sure that it's a dependable 
seller. Also look at the average closing price and not the currently advertised 
price.


On the other hand, I'm very happy with the nexus I got on ebay, but it's taking 
a risk, you need to make sure you are willing to take. (it's much harder to 
return a phone when shipping it to Israel)


With a previous phone (an ericson) I got a water damaged phone and shipping it 
back for a refund (original shipping charges plus return charges) would have 
cost more than the refund (had that also with a bike). Luckily I got that one to 
work under I put it in the laundry by mistake ...


On 14/01/2011 17:58, Raz wrote:

even with 30% tax much much cheaper. as for warrnanty they give only one year in
israel. thank you for the info though


On 14/01/2011 17:52, Micha mi...@post.tau.ac.il
mailto:mi...@post.tau.ac.il wrote:

Sorry Hetz, reply initially sent off list by mistake.

Note sure how much it costs on ebay and don't remember the details for the htc.
I got a nexus one on ebay. You can put cyanogenmod or similar on it (I believe
also on the htc) to get the latest version.

things to watch out on ebay are mainly fake phones and locked phones (reported
stolen and thus will not work in the states on the original network). Forgot the
exact terminology

You should also make sure whether it's a carrier locked phone or not (which may
unlocking to use locally).

Also note that unless things changed, there is a 30% tax on cell phones, so I'm
not sure how profitable it is to order one from ebay unless you have someone to
bring it over as the extra 30% + lack of warranty can add up.




On 14/01/2011 17:40, Hetz Ben Hamo wrote:


 Why do you want to do such a thing? Samsung Galaxy S is much better 
(AMOLED
 screen, Gorilla gl...

http://www.zap.co.il/model.aspx?modelid=76) with full Hebrew support
and warranty.

Hetz

2011/1/14 Raz razi...@gmail.com mailto:razi...@gmail.com
mailto:razi...@gmail.com mailto:razi...@gmail.com



I want to buy htc desire in ebay. i wonder whether anexpected problems 
i
might have?

...

Linux-il@cs.huji.ac.il mailto:Linux-il@cs.huji.ac.il
mailto:Linux-il@cs.huji.ac.il mailto:Linux-il@cs.huji.ac.il


 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il




 --

 *חץ בן חמו
 חץ-ביז (ה...

בקרו באתרנו בכתובת hetz.biz http://hetz.biz http://www.hetz.biz/
ובבלוג שלנו: blog.hetz.biz http://blog.hetz.biz
http://blog.hetz.biz/
טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz mailto:sa...@hetz.biz
mailto:sa...@hetz.biz mailto:sa...@hetz.biz
מסנג'ר: sa...@hetz.biz mailto:sa...@hetz.biz mailto:sa...@hetz.biz
mailto:sa...@hetz.biz - סקייפ: heunique






 ___
 Linux-il mailing list
 linux...@cs.huj...




___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto:Linux-il@cs.huji.ac.il
http...




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


Re: Advice on where and what to study

2010-12-03 Thread Micha Feigin
You could try looking at the open university, but the question is what do you 
expect to get out of these courses.

University courses I know don't teach you much about actual programming. I 
would take at least one course about software engineering, preferably both 
functional and object oriented, including uml and testing methodologies. Also 
an object oriented course with emphasis on object oriented methodologies and 
design. These have proven more invaluable to me than actual programing courses. 
Computer structure and operating systems have also been very good, but you have 
to read between the lines, as sometimes the interesting part of the syllabus is 
hiding behind lecturers who are not even aware of it (initial course in lisp in 
tau for example)


Dima (Dan) Yasny dya...@gmail.com wrote:

Hi all,

I'm looking for some advice on which courses and where to take, in the
Central area.

What I'm looking at is getting some more formal and proper programming
background, something around
Intro to C - Advanced C - intro to C++ - Advanced C++ - Linux
specifics maybe...

I tend to mostly work with Python, but I keep running into dead ends
because I lack proper education more and more recently

I am aware of proper BSc/BA programs, but I'd like to do this in under
a year overall, and stay away from the extra math/physics/etc courses.

Background - 15 years sysadmin, bash, python, powershell scripting
Highschool pascal, prolog, magic, assembly etc - long forgotten mostly

So if anyone is aware of a college of institution that provides such
courses, preferrably as a set up program, I'll be very happy to hear
about it


Cheers,
D.

___
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: Suggested lecture: From VxWorks to Linux

2010-12-02 Thread Micha Feigin
I'm guessing that you meant that Linux is a major player in embedded systems 
rather that in embedded Linux ;)

Not sure if I can make it as the interesting talks always occur at times when I 
can't attend, but it does sound interesting indeed

Rafi Gordon rafigor...@gmail.com wrote:

Raz,
Linux is a major player now in Embedded Linux, nobody can
doubt it.
I will happily attend such a lecture. And I believe that are many
more who will,
best,
RafiG

2010/12/2 Raz razi...@gmail.com:
 yes. this is the plan.

 On Wed, Dec 1, 2010 at 9:16 PM, Dan Shimshoni danshi...@gmail.com wrote:

 Hi,
 I don't know much about preempt RT;
 I assume that you are suggesting to give this lecture at Herzelinux ;
 in case this is the case,  this should be a great idea!

 rgs,
 Dan



 2010/12/1 Raz razi...@gmail.com:
  Gilad Shalom
  I have prepared few papers and a session about Linux Preempt RT.
 
  1. What is Linux preempt RT .
     A presentation and a paper
  2. Live Demo of preempt RT versus non preempt RT kernel -
   on my laptop. a bootable USB that boots preempt rt.
  3. Test Case. Can Preempt RT replace Vxworks as a hard real time system
     A presentation
  4. Interview. A transition from Vxworks to Linux. what does it mean .
    A paper
 
  Anyone who experienced with preempt RT is more than welcome to share his
  experience.
 
  Raz
 
 
  ___
  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: Buying a Nexus One in Israel

2010-10-22 Thread Micha Feigin
On Fri, 22 Oct 2010 09:58:07 +0200
Shachar Shemesh shac...@shemesh.biz wrote:

 Hi all,
 
 Does anyone know if the Nexus one phones sold in Israel as new (i.e - 
 from stores) are the same hardware as the development phones sold 
 directly from Google?
 
 I want to buy such a phone, but Google won't ship to Israel. The 
 development phones have unlockable boot loader, and I want to make 
 sure that the phones I buy will have that too. Any ideas how to make 
 sure I get the right phone?
 
 Thanks,
 
 Shachar
 

No experience with the ones sold in Israel, got mine in the states (second 
hand).

From what I know all (or at least most) android phones are breakable, it's a
question of availability of the radio firmware. The most problematic one I know
is the sony erricson one, but even that is breakable for a small price.

There are several variations in hardware though. Older ones use the amoled
screen while newer ones use slcd. There are also two variations in the states
with different 3g bands. I think that only pelephone may make a difference
regarding preferred channels.

My guess is that they are gray imports from probably the states. I'm guessing
that the unbranded phones rather than the att / t-mobile / rogers ones (there
are also European versions)

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


Is it possible to pull only a part of a git repository?

2010-10-22 Thread Micha Feigin
I have a growing number of projects that I'm trying to manage in my git
repository. Currently they are all in the same repository to make it easier to
sync it with the server (for backups / synchronization with other machines). 

Now, I want to be able to work on only one project at a time, or give people
access to only part of the repository. Another options is to split up the
repository into several repositories once things grow too big.

Is this possible with git, i.e cloning on part of the repository? If not, is it
possible with other version control mechanisms (I think that svn was able to do
that if memory servers). 

For example, I want to do a git clone repo/dir instead of git clone repo

Also, any suggestions for some good git tutorials. I know all the bases, but I
want some good tutorial and reference for poweruser things, like proper use of
branches, tags, subtrees, merging etc.

Thanks

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


Linux Exchange compatible clients (Was Re: [OT?] Hebrew on Samsung Galaxy S android phone? Root'ing android?)

2010-09-30 Thread Micha
On Thu, 30 Sep 2010 13:57:02 +1000
Amos Shapira amos.shap...@gmail.com wrote:

 On 30 September 2010 10:05, Micha Feigin mi...@post.tau.ac.il wrote:
  I'd be happy if you have some pointers to were I can get more info as it's
  really annoying me at the moment. If there is any way to sync with linux 
  it's
  even better as my main system is linux, I'm backing up to my wife's machine,
  just so that I have a backup.
 
 I'm in a similar position - virtually no access to a Windows machine.
 However, I did find quite a few applications when I searched backup
 in the Android Market. I installed a couple but haven't used them yet.
 
 --Amos
 

All this raised a new question for me. Looks like android 2.2 at least has
support for exchange servers. Are there any open souce, easy enough to set up
exchange replacements?

If so, that can be used for over the air synchronization (can be a bit harder
to setup to work outside the house without a web accessible server, but partial
solution)

I ran into citadel, but it's not clear if it can impersonate as an exchange
server. Will it, or anything else, work?

Another option seems to be to setup a funambol client, but it seems like it
requires a special app on the phone and It's not clear if it will also give me
a web access.

Any ideas in that direction?

Thanks

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


Re: [OT?] Hebrew on Samsung Galaxy S android phone? Root'ing android?

2010-09-29 Thread Micha Feigin
On Wed, 29 Sep 2010 21:06:55 +0200
Shachar Shemesh shac...@shemesh.biz wrote:

 On 29/09/10 07:35, Micha Feigin wrote:
 
  - Scrolled lists with mixed English/Hebrew items have items disappearing 
  when
  scrolled.
 
 
 
   
  Not really sure what 3 means.
 
 If you have a long list of contacts, and a Hebrew contact scrolls off 
 screen, to be replaced by a English one (or vice versa), you get a blank 
 contact instead of the English one.
 

Not sure if I'm testing this correctly. In the phone contacts, hebrew come
after english. I set the last english contact to be very long and the next one
which is in hebrew still shows up fine.

 Then again, 2.2 has regression in which Hebrew content does not get 
 right aligned. That new problem might hide the old one I just mentioned, 
 so I'm not sure whether it would be possible to test it.
 

Again, at least with CM6 I'm seeing hebrew right aligned (parenthesis get all
mixed up though, but they are notoriously unstable under a lot of systems)

Only place that I see problems with hebrew is in dejaoffice contacts

  Personally I don't like anysoftkeyboard too much (mainly annoyed by the 
  method
  to switch keyboards) and found this solution to be better for me:
 
 This has nothing to do with the input method.
  Now I'm just looking for a way for htc sync to recognize my phone 
  (completely
  off topic as it's windows on ... I'd be glad for a Linux solution instead, 
  as I
  really don't want to go through the cloud). Seems like htc sync gets 
  installed
  on the phone, but nothing else happens and there is not settings -  
  connect to
  computer menu entry as suggested in the help file or htc sync connect to
  computer option anywhere else.
 
 
 Probably some provider missing.
 

I'd be happy if you have some pointers to were I can get more info as it's
really annoying me at the moment. If there is any way to sync with linux it's
even better as my main system is linux, I'm backing up to my wife's machine,
just so that I have a backup.

 Shachar
 

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


Re: [OT?] Hebrew on Samsung Galaxy S android phone? Root'ing android?

2010-09-28 Thread Micha Feigin
On Mon, 27 Sep 2010 06:51:56 +0200
Shlomo Solomon shlomo.solo...@gmail.com wrote:

 On Monday, September 27, 2010, Amos Shapira wrote:
  2. root'ing and (as of last night) installing the Hebrew fonts and a
  soft keyboard solved 99% of the problems I had so far.
  
 I've been following this thread because I also want to buy a Galaxy S, but 
 I'm 
 not clear if you mean to say that rooting + fonts + soft keyboard solved the 
 problems Shachar mentioned on 3/9/10:
 
  
 - Appointment text in day view in Calendar is displayed the wrong way
  
 - Numbers in Hebrew context are displayed from right to left (makes it 
 extremely difficult to receive SMS instructions for, say, an address to get 
 to).
 
 - Scrolled lists with mixed English/Hebrew items have items disappearing when 
 scrolled.
 
 

Doesn't exactly answer the question, but if there is interest, I'm running CM6
on a nexus one and I don't see at least 1 and 2. Not really sure what 3 means.
Personally I don't like anysoftkeyboard too much (mainly annoyed by the method
to switch keyboards) and found this solution to be better for me:

http://forum.cyanogenmod.com/topic/5351-hebrew-keyboard/

Now I'm just looking for a way for htc sync to recognize my phone (completely
off topic as it's windows on ... I'd be glad for a Linux solution instead, as I
really don't want to go through the cloud). Seems like htc sync gets installed
on the phone, but nothing else happens and there is not settings - connect to
computer menu entry as suggested in the help file or htc sync connect to
computer option anywhere else.

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


Problem at startup - lockup loading swap

2010-09-12 Thread Micha
I'm trying to help a friend over the phone, so I don't have all the details,
but I would be happy for some pointers if anyone has them

The machine with mostly up to date debian unstable on occasion decides to lock
up for several minutes after or at the point of mounting the swap partition.

Previous time that happened starting a different kernel solved the problem.
This time all kernels showed the same issue, we though that it was in a hard
lockup, but after several minutes it freed up and continued booting.

We tried running swapoff -a, mkswap and swapon -a. On the call to swapon the
machine complained about not finding the swap's UUID (which didn't match the
value reported by mkswap). The only information in /etc/fstab regarding UUID is
commented out.

Any ideas about what the problem is and/or how to disable UUIDs altogether as
they seem to be giving constant trouble?

thanks

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


Re: Problem at startup - lockup loading swap

2010-09-12 Thread Micha Feigin
On Sun, 12 Sep 2010 13:01:14 +0200
Tom Goren t...@tomgoren.com wrote:

 use the appropriate /dev/sdaX entry instead of the UUID - something may be
 messed up with the hash - especially if you have done mkswap already.
 

It worked for swapon /dev/sda5 but I need to change the default boot process 
to
use that as well.

 
 
 On Sun, Sep 12, 2010 at 12:41 PM, Micha mi...@post.tau.ac.il wrote:
 
  I'm trying to help a friend over the phone, so I don't have all the
  details,
  but I would be happy for some pointers if anyone has them
 
  The machine with mostly up to date debian unstable on occasion decides to
  lock
  up for several minutes after or at the point of mounting the swap
  partition.
 
  Previous time that happened starting a different kernel solved the problem.
  This time all kernels showed the same issue, we though that it was in a
  hard
  lockup, but after several minutes it freed up and continued booting.
 
  We tried running swapoff -a, mkswap and swapon -a. On the call to swapon
  the
  machine complained about not finding the swap's UUID (which didn't match
  the
  value reported by mkswap). The only information in /etc/fstab regarding
  UUID is
  commented out.
 
  Any ideas about what the problem is and/or how to disable UUIDs altogether
  as
  they seem to be giving constant trouble?
 
  thanks
 
  ___
  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: Problem at startup - lockup loading swap

2010-09-12 Thread Micha Feigin
On Sun, 12 Sep 2010 13:13:38 +0200
geoffrey mendelson geoffreymendel...@gmail.com wrote:

 
 On Sep 12, 2010, at 12:41 PM, Micha wrote:
 
 
  We tried running swapoff -a, mkswap and swapon -a. On the call to  
  swapon the
  machine complained about not finding the swap's UUID (which didn't  
  match the
  value reported by mkswap). The only information in /etc/fstab  
  regarding UUID is
  commented out.
 
 That's what is causing the UUID problem. You deleted the swap  
 partition and reformated it.
 

Yes, but why is it looking for it by UUID and how do I disable it?

 You have to remove or reconfigure the sleep to swap program, uswsusp.
 

I think I killed it when I installed his machine a long time ago, I don't like
uswsusp, but I'll check. How is it related to swapon complaining about UUID
though?

 
  Any ideas about what the problem is and/or how to disable UUIDs  
  altogether as
  they seem to be giving constant trouble?
 
 
 I think you are barking up the wrong tree. It's probably not a swap  
 problem, you are assuming it's one because that's the last message you  
 got.
 

It was just to make sure, I was thinking a different place as well, but the
complaint about UUID left a suspicion that I'm trying to remove. Considering
UUID gave me nothing but trouble on multiple computers anyway I'd rather remove
any dependency on them in any case.

 Geoff.
 

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


Re: Hebrew on Android (and other issues)

2010-09-03 Thread Micha Feigin
On Fri, 3 Sep 2010 17:35:57 +0300
Dotan Cohen dotanco...@gmail.com wrote:

 On Fri, Sep 3, 2010 at 17:27, Evyatar Parker evp55...@gmail.com wrote:
  What Hebrew do you need? interface? fonts? keyboard?
  I know people with Hebrew fonts and keyboard on Android 2.1 (and non Hebrew
  UI), but maybe they payed the store to set it up for them.
  Evyatar Parker
 
 Good question. I _need_ the ability to read and send SMS messages in
 Hebrew, and full read/write support for Hebrew in the web browser. I
 need Hebrew for my contacts names, file names, as well as the
 Calendar.
 
 I would prefer a Hebrew UI for the device, but I can live with the UI
 in English.
 

From what I know (just researched this yesterday as I'm debating regarding
importing a new phone between blackberry, iphone and andoid, probably nexus
one, any recommendations?).

Anyway on point, as far as I can tell there is no official hebrew support on
either android 2.1 nor 2.2. There is an unofficial hebrew fonts package, but
you need to root your phone for that (and possibly void your warranty in the
process). As for a keyboard, there is the softkeyboard package
http://code.google.com/p/softkeyboard/

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


Re: Can there be an Ethernet Switch that doesn't work with Linux???

2010-08-29 Thread Micha
I had a problem actually with a realtek nic on a laptop I had. Everything seemed 
to negotiate ok, the link was up, but the nic wouldn't talk unless I forced in 
to 10Mb/s half duplex. It kept dropping the connection and renegotiating.


I also had a problem with a network cable that was mostly plugged in but not all 
the way. The linked seemed to be up and negotiated correctly but no data went 
across.


So it could be a hardware problem.

As for the switch, I never ran into a windows only switch, but theoretically it 
could happen, as windows has the ability to talk it's own network group protocol 
to discover machines.


I've also seen issues with dhcp servers sending information that windows 
deciphered correctly but linux didn't (presumably non-conforming dhcp).


Could it be that the switch is just killing the dhcp negotiation, what happens 
if you hardwire the addresses?


On 29/08/2010 11:50, shimi wrote:



On Sun, Aug 29, 2010 at 11:40 AM, Nadav Har'El n...@math.technion.ac.il
mailto:n...@math.technion.ac.il wrote:

On Sun, Aug 29, 2010, shimi wrote about Re: Can there be an
Ethernet Switch that doesn't work with Linux???:

  It could be that there's an Ethernet negotiation problem, in such
a way that
  your MAC doesn't get registered on the switch (?). Not
necessarily a Linux
  problem. Maybe a NIC problem, or an Ethernet cable problem. Of
course that
  with a Hub that would work anyways, because a Hub broadcasts to
all ports,
  regardless of negotiation...

Like I said on a previous mail, the speed negotiation works. The
guess that
the switch has a bug and forgets my computer's MAC address makes
sense, but
how come it forgets the Linux computer's and remembers the Windows
one? :(



I didn't mention 'speed' in my message.

I don't have really deep knowledge in this, but what I do know (and of
course stand to be corrected...), is that part of 'switching', when an
Ethernet link goes up, both sides announce their MACs to the other
end; This data is then stored, and used to decide to which physical port
should the Ethernet frame be sent. That's what SWITCHing is all about.

What I was suggesting is that something went wrong there, this is
regardless to speed, MDI-X, etc. etc. and perhaps the wrong MAC was
registered, or something similar. That would cause traffic destined to
your MAC to not arrive to your port. Theoretically it fits ;)

-- Shimi



___
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: Playing TAU lectures from videos.tau.ac.il

2010-07-31 Thread Micha Feigin
On Fri, 30 Jul 2010 14:57:58 +0300
Stan Goodman stan.good...@hashkedim.com wrote:

 At 13:41:19 on Friday Friday 30 July 2010, Micha Feigin 
 mi...@post.tau.ac.il wrote:
  On Mon, 26 Jul 2010 20:46:08 +0300
  Ariel Biener ar...@post.tau.ac.il wrote:
 
  [...]
 
   I do not like prejudice. The only way to fix TAU issues is via the
   help desk. Trust me,
   we're not your usual Joe ISP. We are a strong Unix/Linux shop, and
   most of our
   applications, especially web apps, are based on open source.
 
  Actually most of your student related sites are IE only and I've seen
  no interest what so ever to try and change that.
 
  As a teacher in TAU I have a constant issue working around TAU website
  limitations.
 
  Virtual tau is one notorious subject (I'm not uploading exercises for
  my students to virtual due to that reason)
 
  Seker Horaa has also been horrible last time I checked (I haven't
  bothered for a long time since I got fed up with the constant response:
  use IE, so I just didn't use in instead)
 
  The only answer I have ever managed to get from the help desk is use
  IE, so I personally stopped trying, and it sounds like accessing this
  list for help is probably the only means to get an answer at the
  moment, unless you can prove otherwise. The glove I believe is with you
  at the moment.
 
  Prove us wrong ...
 
 So you are saying that the Trust me is salesman talk? Hot air? Sucked 
 out of his thumb?
 

From my experience up to now, yes

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


Re: Playing TAU lectures from videos.tau.ac.il

2010-07-31 Thread Micha Feigin
On Sat, 31 Jul 2010 19:58:24 +0300
Micha Feigin mi...@post.tau.ac.il wrote:

 On Fri, 30 Jul 2010 14:57:58 +0300
 Stan Goodman stan.good...@hashkedim.com wrote:
 
  At 13:41:19 on Friday Friday 30 July 2010, Micha Feigin 
  mi...@post.tau.ac.il wrote:
   On Mon, 26 Jul 2010 20:46:08 +0300
   Ariel Biener ar...@post.tau.ac.il wrote:
  
   [...]
  
I do not like prejudice. The only way to fix TAU issues is via the
help desk. Trust me,
we're not your usual Joe ISP. We are a strong Unix/Linux shop, and
most of our
applications, especially web apps, are based on open source.
  
   Actually most of your student related sites are IE only and I've seen
   no interest what so ever to try and change that.
  
   As a teacher in TAU I have a constant issue working around TAU website
   limitations.
  
   Virtual tau is one notorious subject (I'm not uploading exercises for
   my students to virtual due to that reason)
  
   Seker Horaa has also been horrible last time I checked (I haven't
   bothered for a long time since I got fed up with the constant response:
   use IE, so I just didn't use in instead)
  
   The only answer I have ever managed to get from the help desk is use
   IE, so I personally stopped trying, and it sounds like accessing this
   list for help is probably the only means to get an answer at the
   moment, unless you can prove otherwise. The glove I believe is with you
   at the moment.
  
   Prove us wrong ...
  
  So you are saying that the Trust me is salesman talk? Hot air? Sucked 
  out of his thumb?
  
 
 From my experience up to now, yes
 

To be fair:

Anything server related they usually solve rather well.

If it's web related, I've given them solutions in the past (exact FIXED html 
code)
and they still couldn't solve the problem. They also never seemed to care. I'd
talk to them on the phone and the support would send me looking for windows
machines at the neighbors or whatever to get the work done.

I've stopped bothering, but I doubt that they improved any.

 ___
 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: Playing TAU lectures from videos.tau.ac.il

2010-07-30 Thread Micha Feigin
On Mon, 26 Jul 2010 20:46:08 +0300
Ariel Biener ar...@post.tau.ac.il wrote:

[...]
   
 I do not like prejudice. The only way to fix TAU issues is via the help
 desk. Trust me,
 we're not your usual Joe ISP. We are a strong Unix/Linux shop, and most
 of our
 applications, especially web apps, are based on open source.


Actually most of your student related sites are IE only and I've seen no 
interest what so ever to try and change that.

As a teacher in TAU I have a constant issue working around TAU website 
limitations.

Virtual tau is one notorious subject (I'm not uploading exercises for my
students to virtual due to that reason)

Seker Horaa has also been horrible last time I checked (I haven't bothered for
a long time since I got fed up with the constant response: use IE, so I just
didn't use in instead)

The only answer I have ever managed to get from the help desk is use IE, so I
personally stopped trying, and it sounds like accessing this list for help is
probably the only means to get an answer at the moment, unless you can prove
otherwise. The glove I believe is with you at the moment.

Prove us wrong ...

 
 -- Ariel
  --
  Ariel Biener
  e-mail: ar...@post.tau.ac.il
  PGP: http://www.tau.ac.il/~ariel/pgp.html
 
 
 ___
 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: Playing TAU lectures from videos.tau.ac.il

2010-07-30 Thread Micha Feigin
On Mon, 26 Jul 2010 20:51:45 +0300
Ariel Biener ar...@post.tau.ac.il wrote:



[...]
 
 
  About your second point. I was always disappointed when using the
  official support channel for linux support. Usually the answer is we
  don't support linux. The linux support you get at Linux-IL, is
  actually much better than the official channel.
 As I already said on the previous mail, your prejudice here is uncalled
 for. I really don't care what
 usual reply you get when you call X ISP or whomever. Use TAU HelpDesk.
 Have your
 friend open a ticket, the link is: h t t p : / / h e l p d e s k . t a u
 . a c . i l
 Have your friend login with his/her user/password, and help him/her fill
 in the request.
 

You really don't like reading emails properly, do you?

The usual in this case is TAU help desk, and I can second that. I've never
managed to get anything other than we don't support linux from the TAU help
desk regarding anything web related (for servers I do get responses, albeit not
very knowledgeable)

 best,
 
 -- Ariel
  --
  Ariel Biener
  e-mail: ar...@post.tau.ac.il
  PGP: http://www.tau.ac.il/~ariel/pgp.html
 
 
 ___
 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: linux beivrit

2010-07-05 Thread Micha

On 05/07/2010 15:16, Raz wrote:

Hey linux il and others
In http://sos-linux.svn.sourceforge.net/viewvc/sos-linux/LinuxHebrew/
you'll find a small book for linux beginners in pdf format and doc
format. anyone willing  to send his reviews and remarks please send it
to me to this email. please edit it in word and use track changes.
access:
Simply download file one at a time through the web interface.
In case you wish to add an entire section, you'll be acknowledged.

raz

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


Word format for a linux group? A somewhat unfortunate choice considering group 
members will have access to word only if dual booting into windows ...


Open office would have been a much better choice (or lyx, or latex or a few 
others)

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


Re: linux beivrit

2010-07-05 Thread Micha

On 05/07/2010 15:52, Amos Shapira wrote:

On 5 July 2010 22:34, Michami...@post.tau.ac.il  wrote:

Word format for a linux group? A somewhat unfortunate choice considering group 
members will have access to word only if dual booting into windows ...


I beg to differ on this tiny point - installing Office (2007?) on
Ubuntu 64 bit made it now become the default application for .docx
format.


How did you do that?

Last time I checked wine didn't like it very much, not to mention the problems 
with using both Hebrew and English in the same document.






Open office would have been a much better choice (or lyx, or latex or a few 
others)


OOffice, AbiWord, Google Docs, anything but M$ Office is much more appropriate.

I haven't used LyX but heard many times that it's great interface and
since the format is LaTeX what could be better?

--Amos



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


Re: linux beivrit

2010-07-05 Thread Micha

On 05/07/2010 18:18, Elazar Leibovich wrote:

In fact I'm having difficulties to find reviewers for my .odt files!
I'm not aware of any public service provider nor university in Israel
which accepts open document format in principle.
But I'll be glad to be proven wrong. (It might be that a specific grader
at your university accepts documents at .odt format, but in general
the university does not support this format, as opposed to .doc format
which is officially supported).

But OpenOffice is capable of saving documents in the propriety .doc
format, which is the de facto standard in Israel. And you can have your
work reviewed that way.

Another option is to print it to PDF, but it's rather clumsy, because
the reviewer cannot edit directly your document.



First of all, you should stop top posting. It's frown upon in linux mailing 
lists even more than giving microsoft documents to linux users.


Second, I don't know what field you are in, but at least in applied  mathematics 
in Israel, I don't know anyone who knows what to do with a word document.


odt is still a problem of course, but personally I refuse to send or receive 
office documents from people in the university, and they manage to send PDFs for 
whatever formatted documents they want to send or text otherwise. Very few 
things actually need to be formatted as it turns out (and even when they are, 
unless it is PDF it usually arrives in the wrong format).




2010/7/5 Ori Idan o...@helicontech.co.il mailto:o...@helicontech.co.il

So you decided to write in docx format and you expect people to
review your work?
I did not even looked at it because of the format.
If you write it in OpenOffice even if it does not look the best,
people may help you.
The issue of how it looks can be fixed later.
You may even work with simple text file to begin and later on
transfer it to a good word processor to do the formatting.

--
Ori Idan



On Mon, Jul 5, 2010 at 4:31 PM, Raz razi...@gmail.com
mailto:razi...@gmail.com wrote:

Hey Nadav
When i started i tried to work with open office in Hebrew, but i
simply spent too much time
trying to fix things, indentation, merging pictures and so on.
also, how can ask for people to send me their comments ? I did
not see
track changes.


On Mon, Jul 5, 2010 at 4:18 PM, Nadav Har'El
n...@math.technion.ac.il mailto:n...@math.technion.ac.il wrote:
  On Mon, Jul 05, 2010, Raz wrote about Re: linux beivrit:
   Open office would have been a much better choice (or lyx,
or latex or a few
   others)
  I tried open format. does not look good at all.
 
  Hi,
 
  A lot of things can be said against Open Office (although I
personally
  disagree with most of them), but I don't see how you can say
its output
  (I assume you don't mean its UI) doesn't look good. What
didn't you like?
  The fonts? The default style or layout? Or what?
 
  In my experience, you can create beautiful documents in Open
Office, and it's
  not harder to do so than with with Microsoft Office, so I
wonder whater
  problems you are referring to.
 
  Anyway, it's probably too late now for this document
(converting formats
  is a harder issue), but it's something to think about for
your next
  document :-)
 
  --
  Nadav Har'El|  Monday, Jul  5
2010, 23 Tammuz 5770
  n...@math.technion.ac.il mailto:n...@math.technion.ac.il
 |-
  Phone +972-523-790466, ICQ 13349191 |Boat: A hole in the
water surrounded by
  http://nadav.harel.org.il   |wood into which one
pours money.
 

___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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 mailto: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: linux beivrit

2010-07-05 Thread Micha

On 06/07/2010 00:15, Elazar Leibovich wrote:


On Mon, Jul 5, 2010 at 11:51 PM, Micha mi...@post.tau.ac.il
mailto:mi...@post.tau.ac.il wrote:

On 05/07/2010 18:18, Elazar Leibovich wrote:


[snipped]


Another option is to print it to PDF, but it's rather clumsy,
because
the reviewer cannot edit directly your document.


First of all, you should stop top posting. It's frown upon in linux
mailing lists even more than giving microsoft documents to linux users.

I apologize, I wasn't aware to this fact.


Second, I don't know what field you are in, but at least in applied
  mathematics in Israel, I don't know anyone who knows what to do
with a word document.


Well, in undergraduate math courses in the open University they accepted
homeworks as doc files. I sent it as PDF file, but then I wouldn't get
any inline comments (and actually thus almost no comments at all).
Because good free PDF-commenting tools are not available, or that the
graders are not willing to use such a tools.

WYSIWYG tools really shines for grading assignments. It's much easier to
include comments in such a tool, and MS Word is the de facto standard.



Well, I tell my students not to bother sending me word documents as I can't read 
them. They either scan them or learn a better notation.


However they send it though I send the answers back in pseudo latex notation and 
they seem to be just fine with it.



I agree that word is not ideal for mathematical notations (although in
the latest versions it's better than TeX in some aspects IMHO), and
anyhow TeX is the standard for papers and thesis. But it's still usable,
and might be better for some purposes. If I'll send to anyone in the
open university a short word document describing a proof - I know he'll
be able to read it, and to easily edit it.
If I'll send an .odt documents - I know for sure almost no one will be
able to read that.

I'll be surprised if in the Tel Aviv University many applied math
professors are not able to read MS Word documents.



Quite a few moved to mac, several others are using linux. I know quite a few who 
won't bother to open a word document. I don't know any who use it themselves for 
their own work. I know of one person in physics who has his secretary type it 
his documents in word, but that is it.


After constant nagging (I don't know if it's just me or also others), 
announcements and letters from the rector and such are usually sent in both word 
and pdf as well.


All the emails I have with colleagues are either latex documents or text emails 
using latex notation. I'm not aware of a journal or conference in my field that 
doesn't prefer and greatly encourage latex. Quite a few won't accept anything 
else (some of them take PDF so you can bypass that).


Like I mentioned earlier, I like lyx, as it uses a latex backend but enables 
WYSIWYG editing of math and such and it is very configurable.


Whenever I do the mistake of playing around with microsoft I get angry and dump 
it rather quickly. It got to a point that I took old exercises that I wanted to 
update one question in, and after wasting a couple of hours modifying a single 
equation I would copy the whole thing to lyx in a quarter of the time and get it 
over with.


Only thing I'm not sure yet is presentations. I usually use beamer, but there 
are a few things that powerpoint can be nicer, although you have to be very very 
very careful as to how you use it so that you don't abuse it.


But again, whenever equations come into play, it's back to latex (or using a 
latex plugin for powerpoint)





odt is still a problem of course, but personally I refuse to send or
receive office documents from people in the university, and they
manage to send PDFs for whatever formatted documents they want to
send or text otherwise. Very few things actually need to be
formatted as it turns out (and even when they are, unless it is PDF
it usually arrives in the wrong format).


2010/7/5 Ori Idan o...@helicontech.co.il
mailto:o...@helicontech.co.il mailto:o...@helicontech.co.il
mailto:o...@helicontech.co.il


So you decided to write in docx format and you expect people to
review your work?
I did not even looked at it because of the format.
If you write it in OpenOffice even if it does not look the best,
people may help you.
The issue of how it looks can be fixed later.
You may even work with simple text file to begin and later on
transfer it to a good word processor to do the formatting.

--
Ori Idan



On Mon, Jul 5, 2010 at 4:31 PM, Raz razi...@gmail.com
mailto:razi...@gmail.com
mailto:razi...@gmail.com mailto:razi...@gmail.com wrote:

Hey Nadav
When i started i tried to work with open office in
Hebrew, but i

Re: platform for number crunching

2010-06-17 Thread Micha Feigin
On Thu, 17 Jun 2010 08:38:59 +0300
Orna Agmon Ben-Yehuda ladyp...@gmail.com wrote:

 On Wed, Jun 16, 2010 at 4:29 PM, Oleg Goldshmidt p...@goldshmidt.org wrote:
 
  On Wed, Jun 16, 2010 at 1:23 PM, Shimon Panfil i...@industrialphys.com
  wrote:
  
   Hi folks,
   I'm looking for affordable workstation for heavy number crunching, not
 
  What's affordable and what is heavy number crunching?
 
  For most large-scale scientific/engineering number-crunching physical
  parallelism (multiple CPUs/cores) is important for performance. Will
  you benefit from many more than 4 cores? Will anything more than
  commodity 4 core desktop be prohibitively expensive? Will you benefit
  / can you afford, e.g., a CUDA-based number-cruncher under your desk?
 
 
 Note that while a CPU consumes around 100W at highest P-state (core voltage
 and frequency), based for example on opteron specifications, GPGPUs consume
 around 300W and even more when active. If the current box has a problem with
 dissipating heat, it will not take a GPGPU.
 
 Furthermore, switching to GPGPU programming has a huge cost in labor. For
 this specific case, in which Shimon is a consultant, my assumption is that
 he works with a different piece of software every time, he will not have a
 chance to enjoy the fruit of his labor.
 

These numbers are wrong by the way

If you look here for example:
http://www.guru3d.com/article/intel-core-i7-920-and-965-review/18

The difference between a medium CPU at idle (lets push it up a bit to 130W
system draw when Idle) to a core i7 at 100% (lets lower it a bit to 260W at
100%) is over 130W. A low end GPU will take around 30W-40W, a high end second
generation GPU (gtx 285 or tesla c1060, 240 cores, over 600GFLOPS expected,
I'm not talking the peak 1TFLOP) at 100% doing cuda will run at ~160W which
gives you the same delta of ~130W. The card you are talking about is the gtx
480 which has 480 cores and 1.1 TPLOP expected takes 250W, which is a larger
delta but for a pretty nice jump in computing power.

On the other hand, yes, if there are cooling problems now, they are going to
get worse (a whole lot worse) with a GPU, the 285 can go to 80c under load and
tesla to around 65c under load in a ok case with 2 external fans.

On the other hand, if the cpu overheats I would investigate cpu and case issues
first as that shouldn't happen (either the case is not built for the job, the
heatsink is not properly connected or the fans are not up to the job or not
functioning.

As for the software, that is right, with gpgpu you need to write you own
software, but on the otherhand, on the cpu if you are not using sse you are
also under utilizing your cpu for number crunching by a factor of possibly x4-8
depending on the accuracy.

And on that note, GPUs are mainly floating point machines (The new teslas
2050/2070 changed that a bit but still), so if you need double precision or
random memory access or to use existing software/libraries, CPUs are still your
best bet.

 

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


Re: platform for number crunching

2010-06-16 Thread Micha Feigin
On Wed, 16 Jun 2010 18:42:53 +0300
Shlomi Fish shlo...@iglu.org.il wrote:

 On Wednesday 16 Jun 2010 16:29:58 Oleg Goldshmidt wrote:
  On Wed, Jun 16, 2010 at 1:23 PM, Shimon Panfil i...@industrialphys.com 
 wrote:
   Hi folks,
   I'm looking for affordable workstation for heavy number crunching, not
  
  What's affordable and what is heavy number crunching?
  
  For most large-scale scientific/engineering number-crunching physical
  parallelism (multiple CPUs/cores) is important for performance. Will
  you benefit from many more than 4 cores? Will anything more than
  commodity 4 core desktop be prohibitively expensive? Will you benefit
  / can you afford, e.g., a CUDA-based number-cruncher under your desk?
  
 
 CUDA is a proprietary Nvidia technology. Nvidia has been incredibly hostile 
 to 
 open-source and Linux. See for example:
 
 http://www.petitiononline.com/nvfoss/
 

Due to corporate espionage by the way. As NVidia is a fabless company depending
on IP they are afraid of revealing secrets. On the other hand, apart with some
issues with resuming, their driver is one of the best I ran into for linux.

And it's always updated along with the windows driver. They actually putting
quite a bit of emphasis and support into Linux, they are just afraid of open
sourcing the drivers due to IP.

 We should not support hang-vidia with our wallet by writing code that can 
 only 
 effectively run on their cards. Instead one should use OpenCL that is an open 
 standard which is supported fine by ATI cards and hopefully will soon have an 
 open-source implementation:
 

But it runs so much better on their cards, and CUDA is so much easier to write
than OpenCL. Plus all current OpenCL implementations have quite a few issues. I
admit that the ATI and NVidia GPU implementations are starting to get stable,
but the ATI cpu implementation is currently mostly worthless (bad performance
and no image support for starters) and IBMs blade implementation is not
relevant to most of us. Maybe when intel comes out with a CPU implementation
things will get better. And it's pretty heavily based on CUDA anyway.

Add to that the fact that OpenCL may be feature portable but not performance
portable so you are writing platform dependent code anyway, just in a 
non-platform
dependent language. It is also much harder to write for ATI than NVidia. ATI
requires vector operations while NVidia scalar ones so you need to think both
massively parallel and vector (both multi-core and sse in CPU terms)

And the final thing is that ATI doesn't have HPC cards at all (no tesla
equivalent, and even the quadro equivalent has only about 5% market share)
They mostly concentrate on gaming cards and ride on NVidia's back for anything 
else.

An not to mention the amount of support you can get from NVidia, especially in
for those in the academy.

 http://en.wikipedia.org/wiki/OpenCL
 
 Regards,
 
   Shlomi Fish

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


Re: How do you calculate?

2010-05-21 Thread Micha

On 20/05/10 17:24, Dov Grobgeld wrote:

Regarding doing approximate answers in the head, it doesn't always work
as is told in an anecdote
of the books about the late physists Richard Feynmann. It tells the
story of how he used to brag that any arithmetic problem that could be
stated in in ten seconds he could give an approximate answer up to 10%
to in 30seconds. This all worked out for a while until someone said to him

sine of a million

which managed to shut up even Richard Feynmann.


I won't be as arrogant as Richard Feynmann, but I can give the correct answer 
plus/minus one ;-)


Personally for simple calculations I use gcalctool (bound to win+c) or google 
(turns out that it's also a calculator and a measurement converter ...)




Cheers,
Dov

On Thu, May 20, 2010 at 16:41, shlomo bauer shlomoba...@gmail.com
mailto:shlomoba...@gmail.com wrote:

Hi,

Sammy is wondering (for years) how unix/linux users do simple
calculations.

Many people write their own calculator language - in the tradition of
hoc.  Anyone who actually
enters in the code for hoc will discover something quite interesting.

Other people use languages like Nickle (http://nickle.org/); I
typically use haskell and in the past, I used ocaml and further in the
past, I used sml - still my favorite.

Another approach is to use a spreadsheet.  You can compute recursive
functions using !.

My favorite,  for simple cacluations, is to compute an approximate
answer and to do so, I don't generally need anything except a sense of
the scale of the numbers.

Shlomo

___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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: Common problems with Ubuntu

2010-05-15 Thread Micha Feigin
On Sat, 15 May 2010 08:19:03 +
Tzafrir Cohen tzaf...@cohens.org.il wrote:

 On Fri, May 14, 2010 at 10:59:37PM +0300, mi...@post.tau.ac.il wrote:
 
  I do still have quite a few qualms with it though on other regards. I'm deep
  into GPU computing at the moment (Cuda) and what Windows vista and 7 did to 
  the
  graphics driver model is a classic example of Microsoft's approach for world
  domination. The operating system is actually managing a virtual memory on 
  the
  graphics card behind the graphics driver back.
  
  although designed to assure the DWM can always have enough memory, this 
  causes
  a bunch of unexpected and uncontrolled performance and feature issues.
 
 What does that mean? Latest Linux version also manage the card's virtual
 memory.
 

No it doesn't. Driver manages the video card memory. On a 4GB card you can make
a single 4gb allocation and when the memory runs out it runs out, allocation
fails. No memory goes in and out of the card without explicitly asking the
driver to do so.

With Windows 7 the video driver does not see the video card memory. Windows
implements a swap on the video card and swaps video memory in and out to system
memory behind your back. You can over commit the card. Maximum allocation is
~1gb even when the card has 4gb, if you use too much memory performance drops
suddenly. General graphic performance can be half that of Windows XP in some
situations and when swapping performance can drop to under 10% of the full
performance.

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


Re: Common problems with Ubuntu

2010-05-14 Thread Micha Feigin
On Wed, 12 May 2010 10:37:44 +0300
Dotan Cohen dotanco...@gmail.com wrote:

 On 12 May 2010 10:16, geoffrey mendelson geoffreymendel...@gmail.com wrote:
  I've never heard of that! Going through the manpage, it looks like you
  might be referring to get-selections. Is that it? If not, can you
  give some more details? Thanks!
 
 
 
  http://ubuntuforums.org/showthread.php?t=261366
 
 
 Nice, thanks!
 
 

Not as clean as it doesn't handle packages with long names (usually 4 or 5 of 
these installed)
Hope that I didn't miss anything, did do this occasionally (keeps things
withing apt, you can do the first part with dpkg/dselect and then fix the auto
stuff with aptitude)

aptitude search ~i  packages.txt

and on the other machine

aptitude install `cut -c 5-36 packages.txt`
aptitude markauto `grep ^..A packages.txt | cut -c 5-36`

The only problem with this approach is that if you inhibited installation of
recommended packages on the original machine, they will still be installed on
the target (possible to store packages on the target and uninstall extra
packages based on diff)

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


Re: Common problems with Ubuntu

2010-05-11 Thread Micha Feigin
On Tue, 11 May 2010 04:08:39 -0700
Elazar Leibovich elaz...@gmail.com wrote:

 Not at all!
 Google for Microsoft SDL, it was not always the case, but nowadays they
 have excellent security awareness.
 For example, see evidence for the change here:
 http://blogs.msdn.com/david_leblanc/archive/2010/04/16/don-t-use-office-rc4-encryption-really-just-don-t-do-it.aspx
 

Lets start with the problem that Microsoft encourages all users to be set as
administrators by default. It's almost impossible to be a regular user usually
and just switch momentary to administrator for small administration tasks ...

Managing simple folder / file permissions is also a difficult task (doing
complex permissions is complex on unix as well though)

 On Mon, May 10, 2010 at 3:17 PM, Gilboa Davara gilb...@gmail.com wrote:
 
  On Mon, 2010-05-10 at 22:10 +0300, Elazar Leibovich wrote:
 
   For example, Microsoft is now known for excellent security review
   practices. Whichever MS software I choose, I can rest assured that it
   will be relatively on the high end of security.
 
  Hidden sarcasm?
 
  - Gilboa
 
 
 
  ___
  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: Common problems with Ubuntu

2010-05-11 Thread Micha Feigin
On Tue, 11 May 2010 23:50:49 +0300
Elazar Leibovich elaz...@gmail.com wrote:

 I guess we'll stay divided, but still, for the sake of the completion I want
 to clarify my argument.
 My point is, that some security decisions (for example, the Tuesday patch
 you mentioned), even if they are very wrong (and obviously, MS security guys
 would beg to differ) doesn't play a very big role in the overall security of
 your products.
 However good software engineering practices plays a big role, and MS is
   ---

you're joking, right?

They are still at the point of let's get it into the market and worry about 
making it work right later on
(see windows Vista, or Fichsta as I like to call it for example. Win 7 is still
not half there either, see the new graphic driver model for examples which you
won't believe how much trouble it causes, virtual memory on the video card
handled by the operating system behind the drivers back ...)

 doing that big time, and putting a lot of resources for secure software
 development. So the question whether or not the Tuesday Patch is a good
 idea, and whether or not full disclosure is a good idea matters much less
 than the question whether or not they have security expert evaluating the
 security of each and every software signed by MS.
 About the complexity of Windows and backwards compatibility, it is indeed an
 issue which any company which develops for Windows need to handle with. I
 really don't see how is it related. Keep in mind that MS is making much more
 software than just the windows OS.
 
 On Tue, May 11, 2010 at 8:49 PM, Gilboa Davara gilb...@gmail.com wrote:
 
  On Tue, 2010-05-11 at 20:23 +0300, Elazar Leibovich wrote:
   Why do you think that MS believe in security by obscurity? I believe
   that security problems in MS products are generally speaking being
   released to the wild.
   Why I think MS products has better chance to be secure than your local
   Joe Software shop, because they're having strict policies which are
   supposed to enforce that:
   1) The SDL development process, which includes fuzz testing the
   software specifically against security breaches. Every MS software
   must undergo that. Do regular software you use do?
   2) Cryptography awareness. Every product which uses crypto must be
   authorized by a specialized crypto group. Crypto is a thing which is
   easy to create and hard to verify. Is Winzip encryption algorithm
   being reviewed by crypto expert? I'd rather know that the software I
   use had a strong peer review.
   Correct me if I'm wrong, but this two processes are hardly seen in
   other places of the software industry.
 
  ... I doubt that any of the above has anything to do with the points I
  raised in my previous post, but never-mind, lets agree no to agree.
 
  - Gilboa
 
 
 
 
 
  ___
  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: recomendation for an Israely registrar and web hosting

2010-04-25 Thread Micha

On 25/04/10 08:59, Hetz Ben Hamo wrote:

Hi,
(Disclosure: I work at Hostdime)

Micha, as for registrar, all of them are more or less the same here in
Israel, they all dealing with ISOC and the differences is the price you pay.



Thanks, I just recalled someone talking about checking availability and a day 
later the site was taken, which is what I'm afraid of.


So you are saying that everyone at
http://www.isoc.org.il/domain_heb/registration.html
is ok?

As for cost, they all seem the same price (80 NIS a year)

It's not an Israely one, but I heard some horror stories regarding goDaddy for 
example (freezing domain names, etc.)



As for basic web hosting, it really depends on few parameters:

* Do you want to host it in a shared hosting? VPS? dedicated server?
* Does your code/content requires heavy cpu/network/disk usage, if
  (and when) it's being accessed?
* Does it matters where it is located? (Israel, USA, Europe etc...)
* Is backup service important to you?
* Do you require any specific PHP modules/Java (server side) or any
  other external libraries which needs to be installed system wide?
* How much are you willing to pay?

IMHO you should take these points, think about them, and then look for a
hosting solution.



I'm looking to setup a basic site for my wife for a small business.
it will probably be mostly html, maybe some php to allow her to change some 
aspects without going into html (basic dynamic content creation based on file in 
the directory or simple inclusion / processing of text files).


No need to collect data, backup, etc. Possibly only mail support to setup a 
contact me page.


I would be happy if it will be high volume since it would say a lot of potential 
customers, but I'm guessing pretty low traffic.


Would prefer something relatively cheep as a start to see how things pick up.
Once there is some cache inflow, it's easier to justify cache outflow ...


Thanks,
Hetz

2010/4/25 Micha mi...@post.tau.ac.il mailto:mi...@post.tau.ac.il

I remember some talk here some time ago about problematic registrars
and options for web hosting. I hope that this is not too off topic
and flammable, but I was hoping for some recommendations for an
Israeli domain name registrar (.co.il http://co.il and .org.il
http://org.il) and basic web hosting (html, possibly php, for a
basic web site, probably moderate traffic)

Thanks

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



--
my blog (hebrew): http://benhamo.org
Skype: heunique
MSN: hetz-b...@benhamo.org mailto:hetz-b...@benhamo.org



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


recomendation for an Israely registrar and web hosting

2010-04-24 Thread Micha
I remember some talk here some time ago about problematic registrars and options 
for web hosting. I hope that this is not too off topic and flammable, but I was 
hoping for some recommendations for an Israeli domain name registrar (.co.il and 
.org.il) and basic web hosting (html, possibly php, for a basic web site, 
probably moderate traffic)


Thanks

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


Re: Kosher for Passover software

2010-04-01 Thread Micha Feigin
On Thu, 1 Apr 2010 07:40:21 +0300
Nadav Har'El n...@math.technion.ac.il wrote:

 We're in the middle of Passover, and apparently observant Jews who are
 computer users are facing a new problem: a famous Rabbi has just declared [1]
 that during the week of Passover, observant Jews must only use software which
 has been certified Kosher-for-Passover.
 
 How can software possibly contain chometz? And who eats software anyway? :-)
 As it turns out, it's not just that you're not allowed to eat chometz on
 Passover - you're not allowed even to benefit from it. Observant jews
 already make sure that during Passover, their dogs eat kosher-for-passover

Where can you get kosher for passover dog/cat food? I always have to stock up
for my cats as the super markets just hide the pet food but never bring any
alternatives. Not that I know why my cats would want to eat kosher anyway, but
in case we run out ...

 dogfood, their toilet paper is free of chometz, and the milk they drink comes
 from cows that hadn't eaten chometz. The new decision is that using software
 which benefited from chometz during Passover is disallowed. And how can
 software possibly benefit from chometz? Easy - Napoleon once said that
 the army marches on its stomache. Likewise, programmers eat, and without
 food, there can be no software. If programmers ate chometz on Passover,
 and you use this software, you're benefiting from chometz on Passover,
 which is not allowed.
 
 Here in the Israeli software industry we're in a unique position to produce
 kosher-for-passover software, because most of our programmers eat only
 kosher-for-passover food during passover. If we only make sure not to
 accidentally mix-in pieces of chometz software into our kosher software.
 We should especially avoid free software - because much of it was written by
 gentiles who eat bread during Passover!
 
 Happy holiday!
 
 Nadav.
 

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


Re: XWindows - how capture window ?

2010-03-13 Thread Micha





ב-13/03/2010, בשעה 13:03, Valery Reznic valery_rez...@yahoo.com  
כתב/ה:



OK, I found something interesting.
It's turn out that for some reason on-screen rendering is a problem  
too.


Greatly oversimplified description of my application:
There is a mai windows with 2 buttons ('A', and 'B')
When buttons 'A' pressed Windows 'W' (with a lot of child windows)  
created and shown on the screen. It's done with function 'callback_A'


When I press button 'B' I want following to happened:
1. Window 'W created, like it was created, when button 'A' pressed
2. Window 'W content is captured.

So I have callback_B like this:
void callback_B()
{
   callback_A(); // create Window 'W'
   capture_window();
}



Problem is, like you stated that you to wait for all the drawing  
callbacks to finish


The best approach for such a thing is to post and event to do the  
capture that will go on the queue after the draw events and then  
process the capture in that callback


So far so good. The only trouble is that requests sent to XServer in  
the function callback_A have no chance to be processed before call  
to capture_window() function, because application does not retirned  
to it's main application loop, which process events.
To get XServer chance to process events callback_B was modified as  
following:


void callback_B()
{
   callback_A(); // create Window 'W'
   handle_events();
   capture_window();
}

Where handle_events looks like:
void handle_events()
{
  XFlush(display);
  XSync(display, False);

while (XtAppPending(appContext))
{
  XtAppProcessEvent(appContext,Mask );
  }
}

This functions used in this application in other cases when events  
should be handled and it's works OK.

But in this case, Window 'W' was only partially drawn.

I found workaround modifie callback_B
void callback_B()
{
   callback_A(); // create Window 'W'
   handle_events();

   usleep(10);
   handle_events();

   capture_window();
}

After some sleep and addition handle_events call Window 'W' rendered  
on screen as expected.


But I don't why first approach didn't work.
From the XSync man page:
--- 
--
  The XSync function flushes the output buffer and then waits  
until all
  requests have been received and processed by the X server.   
Any errors
  generated must be handled by the error handler.  For each  
protocol
  error received by Xlib, XSync calls the client application’s e 
rror han-
  dling routine (see section 11.8.2).  Any events generated by  
the server

  are enqueued into the library’s event queue.
---
So it's looks like XSync alone should do the job.
Obviously it was not - and it was a reason, that event_handle  
function was written.


What I did with sleep and two calls to even_handle is work, but it's  
ugly.
Anyone has idea why XSync alone is not enough and how I can wait to  
all requests to be processed by XServer ?


Regards,
Valery.


--- On Sun, 3/7/10, Nadav Har'El n...@math.technion.ac.il wrote:


From: Nadav Har'El n...@math.technion.ac.il
Subject: Re: XWindows - how capture window ?
To: Erez D erez0...@gmail.com
Cc: Valery Reznic valery_rez...@yahoo.com, linux-il. linux-il@cs.huji.ac.il 


Date: Sunday, March 7, 2010, 10:38 AM
On Thu, Mar 04, 2010, Erez D wrote
about Re: XWindows - how capture window ?:

composite window managers (i.e. compiz, baryl) work by

drawing the original

window off screen, then read it as a 2D picture, and

render it back to the

screen with certain effects.
So i know it is possible to grab an off screen window.

I do not know however

how to make it off screen.


This is done using the Composite extension. See
http://www.freedesktop.org/wiki/Software/CompositeExt

But please note that all these extensions, as their title
implies, are
not available in every installation of X. The right way
to use them is
to use them when they're available, but fall back to some
slower or uglier
alternative when they aren't.


There is an X Extension called XDamage, which reports

changes on the window

so you do not have to poll it for changes. These

window managers use it.

Right. http://www.freedesktop.org/wiki/Software/XDamage


--
Nadav Har'El
|
Sunday, Mar  7 2010, 21 Adar 5770
n...@math.technion.ac.il

   |-
Phone +972-523-790466, ICQ 13349191 |Business jargon is the
art of saying
http://nadav.harel.org.il
   |nothing while appearing to say a lot.






___
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: Google Chrome vs. Firebox or good old Internet Explorer?

2009-12-27 Thread Micha

On 27/12/2009 19:21, Uri Even-Chen wrote:

On Sun, Dec 27, 2009 at 6:32 PM, Dotan Cohendotanco...@gmail.com  wrote:

Sorry, I don't know how to do that.  I'm stuck with the default.  But
I think the programmers themselves (of Google Chrome and Firefox)
should have taken care of this issue.



The OOo and Firefox programmers will not change your Windows settings.
That is a slippery slope and would lead to all sorts of bad karma.

Start → Settings → Control Panel → Display → Appearance → Effects →
Use the following method to smooth edges of screen fonts → ClearType


I tried, but the screen became blurred (מטושטש) so I switched back to
standard.  I don't like the blurred effect so much.



Try adjusting the cleartype settings. It has several screens that let you choose 
the best appearance.



My bank (hapoalim) website does not look good in Firefox and Google
Chrome.  Other websites as well. IE is installed automatically on any
computer with Windows, this helps when you get used to it and it's
installed on public computers around the world.  If I use a public
computer when travelling, chances are I'm using IE.  I tried Firefox
and Google Chrome, for example with Gmail, and I think they are less
good than IE.



I won't argue about which browser is better, but I would love to hear
why you feel that IE is better. No argument, just tell me what you
like about it, or what you dislike about Firefox.


The fonts look better with IE.  In Gmail, there is a small sign (»)
when the mail is sent directly to my address.  It looks better in IE
than in Firefox and Chrome.  I also like the sound when pressing
links, in Firefox and Chrome it's like being deaf - no sounds.  I also


Like someone said, it's solvable.

http://mozillalinks.org/wp/2007/12/make-firefox-sound/


entered my website Speedy Composer ( http://www.speedy.net/composer/
).  In IE the website plays music.  In Firefox and Chrome I need to
install a plugin - Apple Quicktime - and I never install plugins.  I


The plugin was probably just installed automatically into IE by something 
without asking you.



hate plugins.  And also, Bank Hapoalim website has problems with
Firefox and Chrome.  So in general I think IE is better.


Like I said, regrettably Israeli banks are notorious for ignoring web design 
standards and creating non compatible sites.





Sorry, I can't.  I have files in Excel and Word, they never look the
same with Open Office, and I'm using them.


If you have non-confidential files that look different in OOo, please
send them to me so that I could file a bug and improve OOo. Thanks.


Sorry, my files are confidential.  But I'm not using Open Office, I
have a version of Microsoft Office on my computer and I'm used to it.



No problem. MS Office really is good software (I don't like MS's web
browser or operating system, but their office suite is great) and if
you feel that the price is justified (which in my opinion it is) then
use it!



I suppose I can convert my Word and Excel files to Open Office if I
want to, but my Access software will have to keep running on Microsoft
Access  Windows.  I wrote this software for the company I work for,
Pazgal, since 1996 and until now.  It has about 80 forms, 40 reports
and more than 200 queries, 80 tables and a lot of Visual Basic code.
If I were to write this program again in a new platform, it would take
me years!  And I don't know which platform can replace Microsoft
Access.



Nothing can directly replace Access. OOo Base is not even close.


--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.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: Google Chrome vs. Firebox or good old Internet Explorer?

2009-12-26 Thread Micha

On 26/12/2009 13:51, Shlomi Fish wrote:

On Saturday 26 Dec 2009 02:02:15 Micha wrote:

On 25/12/2009 23:29, Uri Even-Chen wrote:

On Mon, Dec 21, 2009 at 9:21 PM, Dotan Cohendotanco...@gmail.com   wrote:

I tested all 3 browsers (Google Chrome, Firefox and Internet Explorer)
with Gmail, and the fonts look best with Internet Explorer!  The fonts
in Google Chrome and Firefox don't look good, I can't explain it but
the fonts in Internet Explorer look better!


Turn on anti-aliasing for all programs. This is a known issue in
Windows.


Sorry, I don't know how to do that.  I'm stuck with the default.  But
I think the programmers themselves (of Google Chrome and Firefox)
should have taken care of this issue.


It's not something that the programmers can control in this case. Its a
  fuck with the shitty piece of software called windows.



Well, they could offer to toggle this option in Windows on in the installer.


They could but I guess that they don't want to update their installer.





...




As for IE around the world, I ran into more and more computers running
  linux. I also always traver with a portable version of firefox and
  thunderbird on a usb disk (Actually also skype for those windows computers
  that don't have it installed). Greatly reduces the risk of password theft
  (those computers around the world are usually set to store passwords and
  such).


So you're using the Firefox password manager for that? I'm just interested to
know how you overcome the keyloggers / password sniffers.



1. A lot of places just enable saving passwords without asking, so your 
passwords, even if not directly readable, are saved locally. They also enable 
automatic form filling so they get both the username and the password (all they 
need is the first letter of the username to fill the entire form). Using my own 
firefox with password manager and ssl login avoids that (although take note that 
it is possible to sniff the contents of password fields on the same computer so 
it's not completely fool proof)


2. I configured thunderbird to use ssl login for all sites and remember 
passwords so I never actually type the password and it's never sent clear text 
so it's very hard for keyloggers/password sniffers to catch those passwords


3. At least some of your sites are saved in the cache so you're surfing details 
can be seen later on. Portable firefox avoids that as well (although remember to 
purge the temp folder when you finish, some things go there).


4. I always keep track of all passwords I use during travel and change them once 
I get home


5. I always leave my bank accesses to someone I trust at home to do my 
transactions for me (my parents have power of attorney at the bank ...). 
Actually my parents used the same approach on their last big trip.


6. skype also saves all usernames used and possibly the last password so using a 
portable version avoids that as well.







...




I suppose I can convert my Word and Excel files to Open Office if I
want to, but my Access software will have to keep running on Microsoft
Access   Windows.  I wrote this software for the company I work for,
Pazgal, since 1996 and until now.  It has about 80 forms, 40 reports
and more than 200 queries, 80 tables and a lot of Visual Basic code.
If I were to write this program again in a new platform, it would take
me years!  And I don't know which platform can replace Microsoft
Access.


Access is one of the worst databases around. sql is a much better choice,
although I'm not a database person so I can't recomend environments. Visual
basic is also pure crap in my opinion, but I guess I'm as biased against
Microsoft as you are for it.





I'll start with the fact that I'm not a database programmer, I actually rather 
despise doing anything database related. It's way out of my domain of expertise. 
I did get to work with mysql and firebird via php, perl and c. Also did some 
work with access but hated that the most. Could be due to me being more of a 
hacker so I'm more comfortable with programing languages than GUIs.



I should note that Access is SQL-based and used the Microsoft Jet Engine last
I've heard:

http://en.wikipedia.org/wiki/Microsoft_Jet_Database_Engine

Back in my first real programming job, I used the Access DDE (the predecessor
of OLE) interface to send SQL statements to Access and get back results. That
was with Access 2.0 on Windows 3.11. I actually learnt SQL from the Access
help files. Access contains a query designer that ends up generating SQL for
you, and other features such as forms, which were of little interest for me at
that time, because I was only interested in it as a storage backend.

(I should note that after using Access and eventually switching to ODBC to the
Jet Engine, we ended up realising that using SQL for our needs would be too
slow (to say nothing of not reliable), and that we had to use something
faster. So we ended up using the original in-memory lookup (using arrays of C

Re: Free software projects in Java or C++

2009-12-26 Thread Micha

On 26/12/2009 10:05, Uri Even-Chen wrote:

On Sat, Dec 26, 2009 at 9:51 AM, Oron Peledo...@actcom.co.il  wrote:

On Friday, 25 בDecember 2009 23:38:38 Uri Even-Chen wrote:

A friend of mine suggested me to join a free software (open source)
project in Java or C++, to gain experience in these languages.


Your friend gave you a good advice. However, please note that usually
there is no *immediate* reward. It's not like a (free software) newbie
joins a project and three months later he is swamped with job requests.

Working on a free software project tend to increase your capabilities
by exposing you to different technologies and working styles. On the
long run (years), this can bring you not only fun, but work as well.


Thanks for your advice.


Do you have an idea how to find a good project I can join, in Java or
C++ or maybe Python?


There are many sites hosting free software projects. Some of them:
  www.sourceforge.net
  savannah.gnu.org
  gna.org
  github.com

Since you used some scripting languages in the past (PHP), it looks
like python would provide easier learning curve for you.


I personally prefer compiled programming languages than scripting
ones.  I have experience with both, Pascal and C vs. Basic and PHP and
Perl.  I want to learn Python, but I think there are less jobs with
Python, so it's better I learn Java or C++.  I think there are many
jobs in Java and C++.  There are also jobs in C# and .NET, but I
prefer not to be stuck with Microsoft technologies.  I don't like
Microsoft, although I have been using their products for many years.
Also, thanks for the websites you sent me.  I know sourceforge, the
others I will check later.



I don't know where java is at the moment. It's been years since I worked with it 
seriously. If previous experience still applies, the leap from c to java is much 
bigger than from c to c++. Java is much more of a zealot about object oriented 
approaches. It means it will take longer to do the move, but will teach you more 
about object oriented paradigms and force you not to get stuck at the position 
of writing c in c++.


If you go with c++, take note that a lot of companies that do c++ and windows 
will use microsoft specific approaches. It can help to learn cross platform 
libraries though. Allows you to be cross platform and with smaller companies you 
may be able to push your will.


boost is a very important set of libraries for solving a lot of things.
stl vs atl/mfc is always a big issue where stl is standard but sometimes a bit 
of an overkill.


As for GUIs, personally I like wxwidgets which is cross platform and LGPL. The 
other main mature option is qt which, if things haven't changed again, has an 
option of a GPL license also for windows for open source projects and a 
commercial license for commercial projects. wxwidgets uses the native gui, qt 
draws it's own. Each approach has it's merits (native look vs consistent look)


If you look at wxwidgets, have a look at wxformbuilder for designing the GUI.


Uri.

___
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: Google Chrome vs. Firebox or good old Internet Explorer?

2009-12-25 Thread Micha

On 25/12/2009 23:29, Uri Even-Chen wrote:

On Mon, Dec 21, 2009 at 9:21 PM, Dotan Cohendotanco...@gmail.com  wrote:

I tested all 3 browsers (Google Chrome, Firefox and Internet Explorer)
with Gmail, and the fonts look best with Internet Explorer!  The fonts
in Google Chrome and Firefox don't look good, I can't explain it but
the fonts in Internet Explorer look better!


Turn on anti-aliasing for all programs. This is a known issue in Windows.


Sorry, I don't know how to do that.  I'm stuck with the default.  But
I think the programmers themselves (of Google Chrome and Firefox)
should have taken care of this issue.



It's not something that the programmers can control in this case. Its a fuck 
with the shitty piece of software called windows.



  I think they should
improve Google Chrome and Firefox, I have problems with other websites
and not only my bank.  It's bad, websites should work well with all
browsers but the web developers don't bother to test them!  It's much
cheaper to test only with Internet Explorer and ignore the rest.  But
I prefer Internet Explorer, I will not switch to another browser if
the fonts don't look good, I don't hear anything when clicking links
etc.  I'm not the usual end user who doesn't know how to install new
browsers, I tested 3 browsers and chose Internet Explorer!  Maybe in 5
years I will change my mind, maybe not.  Today I think Internet
Explorer is the best browser.  I wouldn't recommend anything else to
others!



Other than the fonts (which you can fix by turning on anti-aliasing)
and the clicking sound (which an addon fixes), what other advantages
does IE have? I personally like IE 8 when I use Windows, but I find
Firefox even better. This is a serious question.


My bank (hapoalim) website does not look good in Firefox and Google
Chrome.  Other websites as well. IE is installed automatically on any
computer with Windows, this helps when you get used to it and it's
installed on public computers around the world.  If I use a public
computer when travelling, chances are I'm using IE.  I tried Firefox
and Google Chrome, for example with Gmail, and I think they are less
good than IE.



Israely banks are notorious for horrible site design practices.

As for IE around the world, I ran into more and more computers running linux. I 
also always traver with a portable version of firefox and thunderbird on a usb 
disk (Actually also skype for those windows computers that don't have it 
installed). Greatly reduces the risk of password theft (those computers around 
the world are usually set to store passwords and such).


Personally, I introduced my wife to firefox and since then she refuses to touch 
Microsoft, she just stopped using any sites that don't support it.


And now that Leumi has a iphone app we don't need explorer even for that.


Sorry, I can't.  I have files in Excel and Word, they never look the
same with Open Office, and I'm using them.


If you have non-confidential files that look different in OOo, please
send them to me so that I could file a bug and improve OOo. Thanks.


Sorry, my files are confidential.  But I'm not using Open Office, I
have a version of Microsoft Office on my computer and I'm used to it.



My condolences


I suppose I can convert my Word and Excel files to Open Office if I
want to, but my Access software will have to keep running on Microsoft
Access  Windows.  I wrote this software for the company I work for,
Pazgal, since 1996 and until now.  It has about 80 forms, 40 reports
and more than 200 queries, 80 tables and a lot of Visual Basic code.
If I were to write this program again in a new platform, it would take
me years!  And I don't know which platform can replace Microsoft
Access.



Access is one of the worst databases around. sql is a much better choice, 
although I'm not a database person so I can't recomend environments. Visual 
basic is also pure crap in my opinion, but I guess I'm as biased against 
Microsoft as you are for it.


Each time I touch word (usually to change one equation in an exercise file or 
solution) I regret it and end up copying the entire file to latex as it takes me 
less time than to make it presentable with word.



  And Access - I don't know
about any alternative to Access.  I'm stuck with Windows.



Like I said, sql, but it will require converting the software to something that 
is not junk.




There is none. OOo Base is nowhere near the level that Access is, even
for simple home users.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.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: Google Chrome vs. Firebox or good old Internet Explorer?

2009-12-25 Thread Micha

On 26/12/2009 02:48, Uri Even-Chen wrote:

On Sat, Dec 26, 2009 at 2:02 AM, Michami...@post.tau.ac.il  wrote:

On 25/12/2009 23:29, Uri Even-Chen wrote:


On Mon, Dec 21, 2009 at 9:21 PM, Dotan Cohendotanco...@gmail.comwrote:


I tested all 3 browsers (Google Chrome, Firefox and Internet Explorer)
with Gmail, and the fonts look best with Internet Explorer!  The fonts
in Google Chrome and Firefox don't look good, I can't explain it but
the fonts in Internet Explorer look better!


Turn on anti-aliasing for all programs. This is a known issue in Windows.


Sorry, I don't know how to do that.  I'm stuck with the default.  But
I think the programmers themselves (of Google Chrome and Firefox)
should have taken care of this issue.



It's not something that the programmers can control in this case. Its a fuck
with the shitty piece of software called windows.


Why?  I don't think there is anything a good programmer can't do.  If
they want they can do it.



A good programmer can do almost anything. The question is how much resources are 
needed (re implementing anti aliasing in firefox is not smart), how long does it 
take to come up with the information (is reverse engineering needed ...) and 
whether someone else should have done it already (microsoft should enable anti 
aliasing but xp came out at an age of crt monitors so a lot of times it's not 
enabled by default).


Look for cleartype on google to see how to play with anti aliasing under 
windows.


  I think they should
improve Google Chrome and Firefox, I have problems with other websites
and not only my bank.  It's bad, websites should work well with all
browsers but the web developers don't bother to test them!  It's much
cheaper to test only with Internet Explorer and ignore the rest.  But
I prefer Internet Explorer, I will not switch to another browser if
the fonts don't look good, I don't hear anything when clicking links
etc.  I'm not the usual end user who doesn't know how to install new
browsers, I tested 3 browsers and chose Internet Explorer!  Maybe in 5
years I will change my mind, maybe not.  Today I think Internet
Explorer is the best browser.  I wouldn't recommend anything else to
others!



Other than the fonts (which you can fix by turning on anti-aliasing)
and the clicking sound (which an addon fixes), what other advantages
does IE have? I personally like IE 8 when I use Windows, but I find
Firefox even better. This is a serious question.


My bank (hapoalim) website does not look good in Firefox and Google
Chrome.  Other websites as well. IE is installed automatically on any
computer with Windows, this helps when you get used to it and it's
installed on public computers around the world.  If I use a public
computer when travelling, chances are I'm using IE.  I tried Firefox
and Google Chrome, for example with Gmail, and I think they are less
good than IE.



Israely banks are notorious for horrible site design practices.

As for IE around the world, I ran into more and more computers running
linux. I also always traver with a portable version of firefox and
thunderbird on a usb disk (Actually also skype for those windows computers
that don't have it installed). Greatly reduces the risk of password theft
(those computers around the world are usually set to store passwords and
such).

Personally, I introduced my wife to firefox and since then she refuses to
touch Microsoft, she just stopped using any sites that don't support it.

And now that Leumi has a iphone app we don't need explorer even for that.


Sorry, I can't.  I have files in Excel and Word, they never look the
same with Open Office, and I'm using them.


If you have non-confidential files that look different in OOo, please
send them to me so that I could file a bug and improve OOo. Thanks.


Sorry, my files are confidential.  But I'm not using Open Office, I
have a version of Microsoft Office on my computer and I'm used to it.



My condolences


I suppose I can convert my Word and Excel files to Open Office if I
want to, but my Access software will have to keep running on Microsoft
AccessWindows.  I wrote this software for the company I work for,
Pazgal, since 1996 and until now.  It has about 80 forms, 40 reports
and more than 200 queries, 80 tables and a lot of Visual Basic code.
If I were to write this program again in a new platform, it would take
me years!  And I don't know which platform can replace Microsoft
Access.



Access is one of the worst databases around. sql is a much better choice,
although I'm not a database person so I can't recomend environments. Visual
basic is also pure crap in my opinion, but I guess I'm as biased against
Microsoft as you are for it.


Yes, I hate Visual Basic, and I worked years in Visual Basic and
access.  I want to start working in other programming languages, such
as Java or C++ or Python.  But the problem is I can't find work in
Java or C++ where I don't have experience.  I hate Microsoft, I hate
their software, but I 

Re: Google Chrome vs. Firebox or good old Internet Explorer?

2009-12-20 Thread Micha

On 20/12/2009 02:44, Uri Even-Chen wrote:

On Sun, Dec 20, 2009 at 2:38 AM, Hetz Ben Hamohet...@gmail.com  wrote:

Hi,
I don't know which issues you have with Explorer that don't show pictures.
Perhaps security settings? (you can disable security checking on site like
GMail, for example).


I'll check.  I didn't change anything in security settings, I left
everything at default.


Chrome is OK and Firefox is OK. Most of the sites in Israel (the big ones)
both work pretty well with both Chrome and Firefox.
Since you're using Windows, you can install on both Chrome and Firefox the
ie tab extension which will add a button to let you switch rendering
engine (or actually to open an IE window inside firefox or chrome) so bad
sites will still look good in Firefox or Chrome.


I prefer using IE.  Also, with IE there is a sound I'm hearing, every
time I click a link.  I'm used to hearing this sound.  In Google
Chrome and Firefox I'm deaf - no sounds.


Good luck,


Thanks!  By the way, I'm also using Sandisk U3 disk on key (flash
disk), and I don't think it works on any free operating system - only
on Windows.  I need it to access my files.  Another reason not to use
Linux



The disk on key part works great on any operating system (I'm using a couple of 
these). The U3 part (portable programs menu) doesn't.



Uri.

___
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


[OT] looking for pci graphic boards

2009-12-15 Thread Micha Feigin
Despite being off topic I was hoping that someone on this list may have a
couple such cards (pci based graphic boards) lying around. I know they are
ancient and useless to most but maybe someone has a couple stockpiled in some
attic.

We got a couple of tesla boards for our Uni lab and unfortunately the
motherboard we got at the moment (intel dragontail - dp35dp) only has one pci-e
x16 slot and it won't post at all without a graphics card. As the tesla isn't
recognized as a graphics board and it takes up the pci-e slot the only other
options is a pci card.

The two machines are supposed to run headless so any board that is recognized
as a graphics board and fits in a pci slot will do as all it's job is to get
the machine to boot. Otherwise, if someone knows how to get these motherboards
to boot with no graphics card I'll be even happier.

Thanks

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


Re: atomic operations under linux

2009-12-09 Thread Micha

On 09/12/2009 18:49, guy keren wrote:

Erez D wrote:

hi

hi do i do atomic operations in linux (userspace) ?

i need somthing like testAndSet32()


thanks,
erez.


you need to use inline assembly to do this.

it looks like glib has support for atomic operation (thought i've never
used it).

also, g++ seems to have support for atomic operations,as a non-standard
extention.



Just about any threads library (pthreads, boost, wxwidgets) should have atomic 
opration support (at least critical sections and mutexes). Not sure if that is 
what you want though




--guy

___
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: Using OpenSource software in closed source componies (how ?)

2009-11-22 Thread Micha

On 22/11/2009 21:30, Raz wrote:

GPL version 1 asserts that any software as a whole combined with GPLv1
software has to be released under the terms of GPL v1.



I have to admit I don't know GPL v1 too much



2009/11/22 Gilad Ben-Yossef gi...@codefidence.com
mailto:gi...@codefidence.com

Hetz Ben Hamo wrote:


Hi Boris,

you *CAN* use open source software with closed source application.
The exception is when you're changing the source of the open
source application, which means you'll need to give back the
modification. I think linking to a FOSS product (GPL'd) is a bit
more problematic, but for this you can write some simple wrappers.


A wrapper would still be a problem as the wrapper would also have to be GPL. 
IANAL but I think that an exception may be if you use the GPLed library as a 
sort of plugin that can be fulfilled also by other libraries. For example you 
can implement a simple inefficient proprietary library and a wrapper that allows 
using the GPLed one as well and then you are easier of with your claim.


One of the reasons that a lot of major libraries (at least those that interest 
me) us the LGPL to bypass this problem. Personally I try to stick to using 
LGPLed software to avoid any issues.


In any case, if you distribute a (L)GPLed library you need to distribute the 
source to that in any case.



You are wrong. Every distribution triggers the GPL. Changed source
code or not does not make any difference and linking to a GPLed
library usually (some exceptions apply) triggers the GPL if you are
actually distributing the library.



I've worked with some companies that linked/used GPLed software and also 
followed some of these arguments previously. Which way dynamic linking goes is a 
debatable issue (whether it can be considered derived work or not) and the 
subject of many a flame war. It's never been tested in court though (neither 
linking nor direct violation) so there is no precedence whether the GPL can be 
enforced.




Gilad


--
Gilad Ben-Yossef
Chief Coffee Drinker  CTO
Codefidence Ltd.

Web:http://codefidence.com
Cell:  +972-52-8260388
Skype: gilad_codefidence
Tel:   +972-8-9316883 ext. 201
Fax:   +972-8-9316884
Email:gi...@codefidence.com  mailto:gi...@codefidence.com

Check out our Open Source technology and training blog -http://tuxology.net

That is not dead which can eternal lie.
 And with strange aeons even death may die.


___
Linux-il mailing list
Linux-il@cs.huji.ac.il mailto: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


openoffice and tables in imported hebrew word documents

2009-09-10 Thread Micha Feigin
Lately (at least with openoffice 3.1.1) tables in hebrew word documents that I
open in oowriter are off screen. Is there any way to push them back to place?

Thanks

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


Re: [OT] Power over radio is it a true thing or just a myth ?

2009-08-24 Thread Micha

On 8/23/2009 3:03 PM, Boris shtrasman wrote:

Sorry for the OT ,


But i guess using systems in other ways then they had been designed is a
bug that not only i posses.


I heard a lot about wireless power transition , while I heard about
products that provide close distant power transmitting (1) what about
using public wifi in my area ?


I met many people that heard about some one that know some one that
has access to device that uses radio signal to transfer low amount of
power in short ranges.


As i googled about it i guess it can be done using rectennas but only in
close range to _High_ power radio transmitters (2)


My question is it possible to be done with small radio signal equipment
as Wi-Max and Wi-Fi ,Perhaps even with the new terrestrial transitions.

Do any one have links to this kind of devices ?


I don't have a link now but I saw a thread somewhere about the myth of stealing 
power from powerlines with a large coil, and the calculation came to the point 
if I remember the numebers correctly that you may be able to run a 1.5v light 
bulb using several tons of copper if your are several feet from the power line.


I doubt wifi is any better in this respect.




(1)

http://www.economist.com/sciencetechnology/tq/displayStory.cfm?story_id=13174387


(2)

http://www.telegraph.co.uk/technology/3336114/Over-to-you-Mythical-electricity.html




10x in advance.




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


Re: Suggestion for a webmail application with good Hebrew Support

2009-08-19 Thread Micha Silver




Yuval Hager wrote:

  On Tuesday 18 August 2009, Dave Stav wrote:
  
  
Dear list members,

We are looking for a webmail application that has good support in Hebrew
messages (encoding and ltr/rtl).

So far, it seems to me that roundcube-webmail is the best candidate, but
also considering:

Open WebMail
IMP
SquirrelMail
roundcube

Any suggestions?

Thanks,

Dave

  
  
I'm curious to see what experience do other people in the list has. 
roundcube is indeed very nice, and close to zero configuration, but it is a 
bit buggy, and know for vulnerabilities. 
I am now trying IMP (+DIMP/MIMP), it looks good too, but much more difficult 
to configure, and much less shiny.
There are no problems with encoding (I found some in IMP, but I think they 
are configuration, not bugs), and none has good RTL support like I have on 
my kmail-3.5.

  

Squirrelmail, as you all probably already know, looks somewhat
"old-fashioned". The interface is fully translated but uses
windows-1255 encoding instead of unicode.
And Yonatan was looking for some automatic filtering of incoming
messages. I don't see that feature in Squirrelmail or any  plugins.

  
  

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

This mail was received via Mail-SeCure System.


  





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


Re: data loss after power failure

2009-08-15 Thread Micha Silver

shimi wrote:



On Sat, Aug 15, 2009 at 7:26 AM, Amos Shapira amos.shap...@gmail.com 
mailto:amos.shap...@gmail.com wrote:


2009/8/14 Micha Silver mi...@arava.co.il mailto:mi...@arava.co.il:
 shimi wrote:


Well, that's how UPS's are supposed to be used.

In addition to Wake-On-Lan mentioned by Shimi, there are also:
1. Boot on AC power - i.e. if the AC power comes back then start
reboot. That's a BIOS setting.


Which assumes a power loss after the automatic shutdown. According to 
Murphy law, and to my experience, power tends to return 1 minute 
before the battery gets completely drained, just for me to wonder why 
oh why did I shut down my whole server room, it would have survived. 
Of course that if I wouldn't have shut down everything, the outage 
would be 1 minute longer. :)

That's exactly my experience. Murphy's law is more reliable than gravity...


So still need WoL :) (to be initiated by the machine sampling for the 
UPS remaining battery after the battery managed to re-charge for 
additional few minutes of backup power - enough for a second power up 
and shutdown of everything assuming a second outage...)

We'll try to go for a solution like this.
Thanks to both Amos and Shimi for the suggestions.



-- Shimi




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


Re: data loss after power failure

2009-08-14 Thread Micha Silver

shimi wrote:




On Thu, Aug 13, 2009 at 9:59 AM, Micha Silver mi...@arava.co.il 
mailto:mi...@arava.co.il wrote:


We suffered some annoying file and directory corruption on a
CentOS 5.3 64 bit server two days ago after a long power failure -
long enough to drain the UPS battery, with several short spurts
of power until it finally stabilized. Files appeared as
directories, directories turned into files, duplicated inodes, in
short, a mess. And most of the corruption was under /usr, i.e.
*not* files that were being written to when the power went off.
The file system is ext3 but the journaling didn't help - well
maybe it did, but not enough...


The machine is a Dell PE 840 with their PERC 5i controller and 4
SATA disks in a RAID 5 array. It has its own battery backup to
preserve the writeback cache in case of power failure (but again
the files that got kevorked were not being written...). And it's
relatively new (  2 yrs). Two identical machine attached to the
same UPS, but w/o RAID came thru the event with no problems. And
other, older servers with SCSI disks also showed no ill effects.

Does anyone have any ideas how to prevent this kind of thing in
the future? (short of adding lots of additional batteries)


Sample the UPS unit for how much battery time left do you have?  and 
initiate automatic shutdown when the number falls below the 5 minutes 
threshold ?


Yes, that's probably best. Thanks. The disadvantage is that after the 
power comes back, someone has to physically go to power-up the servers.

-- Shimi

This mail was received via Mail-SeCure System.


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

This mail was received via Mail-SeCure System.


  



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


data loss after power failure

2009-08-13 Thread Micha Silver
We suffered some annoying file and directory corruption on a CentOS 5.3 
64 bit server two days ago after a long power failure - long enough to 
drain the UPS battery, with several short spurts of power until it 
finally stabilized. Files appeared as directories, directories turned 
into files, duplicated inodes, in short, a mess. And most of the 
corruption was under /usr, i.e. *not* files that were being written to 
when the power went off. The file system is ext3 but the journaling 
didn't help - well maybe it did, but not enough...



The machine is a Dell PE 840 with their PERC 5i controller and 4 SATA 
disks in a RAID 5 array. It has its own battery backup to preserve the 
writeback cache in case of power failure (but again the files that got 
kevorked were not being written...). And it's relatively new (  2 
yrs). Two identical machine attached to the same UPS, but w/o RAID came 
thru the event with no problems. And other, older servers with SCSI 
disks also showed no ill effects.


Does anyone have any ideas how to prevent this kind of thing in the 
future? (short of adding lots of additional batteries)



Thanks,

Micha


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


Re: Fwd: Flash based games not working

2009-08-11 Thread Micha Silver

Arie Skliarouk wrote:

Forwarding to Linux-Il (see the message below).

I don't have a way to check flash player 9 on the wejew.com 
http://wejew.com or walla.com http://walla.com sites. Can someone 
check the sites using flash player 9 please?


Here's the link to the specific games: (very long, careful about line 
breaks...)


http://fun.walla.co.il/ts.cgi?w=//1861/play/1/@c2pstatus=allswf_URL=http%3A%2F%2Fico.walla.co.il%2Fw6%2Fv%2Ffun%2Fc2p%2Fv5%2FRoomList_5%3Froom_id%3D1861%26amp%3Bsite_id%3D25%26amp%3Borigin%3DRoomList%26amp%3BipString%3D80.179.46.34%26amp%3Bjava_port%3D8080%26amp%3Ball_java_ips%3D%26amp%3Bnavigator%3DUnknown%26amp%3BcanRTMPT%3Don%26amp%3BmatchStarted%3Dt%26amp%3BmatchEnded%3Dt%26amp%3BgetSavedData%3Dt%26amp%3BsendMatchEnded%3Dt%26user_id%3D171724102%26random_hash%3D508006432user_id=171724102random_hash=508006432globalKey=1314859720
You should see a list of players in the central window.
(The same problem appears with damka, chess, etc. on this site)
Thanks,
Micha

--
Arie



-- Forwarded message --
From: *Robert Wallner* kodi...@gmail.com mailto:kodi...@gmail.com
Date: Tue, Aug 11, 2009 at 09:44
Subject: Re: Flash based games not working
To: Arie Skliarouk sklia...@gmail.com mailto:sklia...@gmail.com


I had the same problem with an application I developed in Haxe. It was
related to a security change macrodobia made with the way a new
security feature works with the new players. When connecting to a
socket, the new players now request a policy file from the server, and
if it doesn't exist, it just closes the connection. Old code that
isn't updated to use this feature seems to get stuck when
downloading something through sockets, like video players not playing
the video, the spinner thing spinning forever, etc...

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html

Try to downgrade to a player version lower than 9.0.115.0, if it
works, maybe that's the problem.

2009/8/11 Arie Skliarouk sklia...@gmail.com mailto:sklia...@gmail.com:
 That looks reminiscent to the way videos on site wejew.com 
http://wejew.com don't work, for

 example
 
http://wejew.com/media/5193/Hizbullah_Violates_UN_Resolution_1701_in_Lebanon_15.7.09/


 It also loads up and the spinner rotates endlessly. The same problem 
happens

 on Windows XP with firefox 3.5 (under IE it works).

 I have been in touch with the developers of wejew.com 
http://wejew.com and they said that

 they use firefox 3.5 (on windows) and don't see any problems.

 Micha, can you post direct URL to the problematic sheshbesh game on the
 walla.co.il http://walla.co.il site please?

 --
 Arie



 On Mon, Aug 10, 2009 at 08:33, Micha Silver mi...@arava.co.il 
mailto:mi...@arava.co.il wrote:


 Some of the younger members of the family play flash games 
(sheshbesh) on

 Walla's site. On Ubuntu 8.10 and 8.04 this worked well
 (flashplugin-nonfree). The 8.10 machine was upgraded to 9.04 and 
still the
 site worked OK. But recently, after some other upgrades, the game 
no longer
 loads- just the sha-on hol. (Meanwhile on 8.04 it still works). 
We asked

 Walla's support and they haven't changed anything.

 Any ideas how to work around this?

 Thanks,

 Micha


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

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





--
Robert Wallner


This mail was received via Mail-SeCure System.


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

This mail was received via Mail-SeCure System.


  



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


Re: Flash based games not working

2009-08-10 Thread Micha Silver

Arie Skliarouk wrote:

Hi,

Couple of days ago a new version of flashplugin 
(10.0.32.18ubuntu0.9.04.1) was uploaded into ubuntu updates.


You might want to downgrade back to the previous version:
apt-get install flashplugin-installer=10.0.22.87ubuntu2

Keep in mind that the older version has security problems:
https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/403825


Arie:
Thanks for the tip, but it didn't help.
Cheers,
Micha

--
Arie



On Mon, Aug 10, 2009 at 08:33, Micha Silver mi...@arava.co.il 
mailto:mi...@arava.co.il wrote:


Some of the younger members of the family play flash games
(sheshbesh) on Walla's site. On Ubuntu 8.10 and 8.04 this worked
well (flashplugin-nonfree). The 8.10 machine was upgraded to 9.04
and still the site worked OK. But recently, after some other
upgrades, the game no longer loads- just the sha-on hol.
(Meanwhile on 8.04 it still works). We asked Walla's support and
they haven't changed anything.

Any ideas how to work around this?

Thanks,

Micha




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


Flash based games not working

2009-08-09 Thread Micha Silver
Some of the younger members of the family play flash games (sheshbesh) 
on Walla's site. On Ubuntu 8.10 and 8.04 this worked well 
(flashplugin-nonfree). The 8.10 machine was upgraded to 9.04 and still 
the site worked OK. But recently, after some other upgrades, the game no 
longer loads- just the sha-on hol. (Meanwhile on 8.04 it still works). 
We asked Walla's support and they haven't changed anything.


Any ideas how to work around this?

Thanks,

Micha


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


[OT] do web page redirects keep google ranking?

2009-07-27 Thread Micha Feigin
Sorry for the off topic question, but I believe people here know the answer

If I have a high ranked page on google and I change the domain, does leaving a
redirect from the old domain to the new one preserve ranking in google (will
the page start appearing at the same rank with the new domain under google once
the change propagates)?

Thanks

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


Re: [HAIFUX LECTURE] How Time Flies: Jiffies, Hi-Res Timers and the Tickless Kernel

2009-07-26 Thread Micha Feigin
On Sat, 25 Jul 2009 19:54:04 +0200
Eli Billauer e...@billauer.co.il wrote:

 On Monday, July 27th at 18:30, Haifux will gather to hear Gilad 
 Ben-Yossef's talk
 
How Time Flies: Jiffies, Hi-Res Timers and the Tickless Kernel:

This definitely calls for the Groucho Marx quote:

Time flies like an arrow; fruit flies like a banana

 
 Abstract
 
 This lecture describes the Linux time keeping mechanism and related 
 features, covering:
 
 * Jiffies and HZ: how the Linux kernel measure the passing of time
 * Hi-Res Timers: Accuracy and precision of the Linux time keeping code
 * Clock sources: abstractions of time keeping hardware
 * Tick-less kernel: how the above contribute to a better Linux 
 performance in real time, power consumption and virtualization domains
 
 
 =
 
 We meet in Taub building, room 6. For instructions see:
 http://www.haifux.org/where.html
 
 Attendance is free, and you are all invited!
 
 ==
 Future lectures:
 
 10/8/09 GCC Profile Guided Optimization: Shachar Shemesh
 17/8/09 Mesh networking; kernel, netlink and transport layer sockets: 
 Rami Rosen
 
 ==
 
 We are always interested in hearing your talks and ideas. If you wish to 
 give a talk, hold a discussion, or just plan some event haifux might be 
 interested in, please contact us at webmas...@haifux.org
 

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


Re: reshet.ynet.co.il not on Download Helper, anything else?

2009-07-25 Thread Micha Feigin
On Sat, 25 Jul 2009 10:43:55 +0300
sara fink sara.f...@gmail.com wrote:

 
 
  A friend recommended Handbrake which converted no problem with
  MP4-H.264 (doubled the size of the files compared to .flv) but the
  Nokia didn't play the Video.
 
 
 I heard that H.264 is problematic. Proprietary codec.
 

It's patented, not sure about proprietary, on the other hand, it's the main
format that is supported by todays phones and such. I think that you need to
pay royalties if you use it in your software but not to use it as a user,
although there is x264 which is compatible and free, and ffmpeg which includes
support for x264, so I don't know where the legal side lies.

Note though that there are several profiles, and not all of them are supported
in each player/device so that may be the problem. Try using a lower profile,
that should solve your problem probably. Also check what container your device
supports since h264 defines only the video encoding, it can still go inside avi
(partial support, not all features), mpeg2/4, flash (yes, most flash 
encapsulated
movies are h264) etc.

 
 
  I'm now trying to convert with MP4-FFMPEG and see if it works.
  Would .AVI work better?
 
  Thanks everyone for your suggestions!
 
  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


Re: Looking for advice about selecting hardware for graphics and data visualization

2009-07-24 Thread Micha Feigin
As for a mother board, if you are not planning to overclock it, the intel motherboards are 
rather good, go with a good chipset, if things haven't changed, something like the p45 is 
rather good. I'm using a dragontail motherboard on a few systems in uni and they are 
performing well (ddr2 though) and a dp45sg on another system (ddr3). If you want to 
overclock than intel is not as good a choice (not enough bios support).


I think time is ripe enough to do with the ddr3 memory by now, if price allows, go with 
two slots for a core2 processor and 3 for corei7, allows utilizing all memory channels, 
and using all slots instead of one per channel usually causes the board to downclock them.


I would opt for at least 4 gigs, but make sure to use a 64 bit kernel, both for accessing 
all the memory and for accessing all the sse registers (in 32bit mode you can access only 
half of them).


I'm not sure if corei7 is ripe enough yet, I've heard a lot of issues with fitting the 
memory to the system, make sure that you test memory compatibility (buy the complete 
system at the same place and make sure that they turn it on to test memory compatibility), 
corei7 doesn't work with all memory chips. core2 us more lenient.


Another option is to go with the quad core.

If you are interested in number crunching you would gain from 4 cores, buy the high end 
cpus though, no need to go with the latest and fastest (the price jump at the top is 
rather steep) but make sure that you go with those that have a large L2 cache (look at the 
8000 and 9000 series, I wouldn't go for the cheaper cpus). And if you are going for corei7 
for number crunching, disable hyper threading, it really hurts multi threaded number 
crunching software (it thinks that it house twice the amount of cpus, messes up scheduling 
and doesn't gain anything in terms of the hyper threading itself for such uses).


As for the graphics cards, if you are interested in high performance 3d for serious 
visualization, the free drivers don't provide the proper support I'm afraid, they are good 
 in terms of ideology and work for normal desktop use, but for high performance 3d they 
don't provide. Intel (and on board chips in general) don't give you the high end in any 
case, ati is more open than nvidia and if you are looking for performance per $ they are 
usually a bit better, at least at the high end (hd 4800 series as compared to gtx 8800 and 
gtx200). If you are interested in going into gpgpu work and using visualization software 
that can utilize cuda (nvidia gpgpu) then nvidia with the propriatry driver is pretty much 
your only choice (personally I don't have a choice here, don't know about you). Hopefully 
in a couple of years or so with OpenCL ATI will also be an option in this specific market, 
but these days they just don't provide the proper development environment.


As for cooling, make sure you get two chassis fans as these babies produce a LOT of heat, 
especially if you put a proper video card in there and a good power supply. The power 
supply is not the place to save money, I've seen a big difference in component life span 
based on the quality of the power supply, and take into account that a high end video card 
needs one or two additional dedicated inputs feeds from the power supply and can take 
around 200w by themselves, so check for support if you are planning to go that way, either 
now or possibly later on.


Afraid that I don't know much about hard drives though.


Omer Zak wrote:

I am looking for advice about selecting motherboard and graphic card/s
for a new PC which I plan to acquire; and about suppliers available to
Israelis (whereas in Israel or abroad).

My requirement for the new PC is that it is to render quickly graphics
and data visualizations of large data sets, and to run under Linux with
as little non-Free software as possible.  Ability to number-crunch would
be nice, as well.

The budget allows me to afford an high-end system (but not a
supercomputer).

If you have experience in the above, please write to the mailing list or
contact me in private.

--- Omer



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


Re: Looking for advice about selecting hardware for graphics and data visualization

2009-07-24 Thread Micha Feigin

Michael Tewner wrote:

...Or maybe Nvidia Quadro Pro? http://www.nvidia.com/page/workstation.html




I don't think that either quadro or tesla will do what the OP wants.

Tesla is for gpgpu computations only, no video output at all and it doesn't work in sli 
mode to empower faster graphics. It's mostly of use for people programing cuda for hpc work.


quadro is not meant for standard run of the line visualization either. It's designed for 
cad and high dynamic range rendering. It contains hardware for anti aliasing and high 
dynamic range, something designed for design studios working on designes with a very large 
amount of detail and and rendering farms.


They are also good for people running two cards and doing cuda both on the main video card 
(quadro) and an additional card. Their main advantage as a graphic card over the geforce 
is that you can put 4 of them in one box for rendering, something geforce doesn't do (I 
think sli goes up to 2) but for hpc work you're better of with tesla which can also do 4 
cards but at a much lower price (since there is no graphics output hardware). They are 
ridiculously expensive for the standard user (can run up to the 20K something NIS range).


By the way, there was a deal on the tesla, I think until today (us time so there are still 
a few hours) for 900$ a piece instead of 1400$.



On Fri, Jul 24, 2009 at 4:10 PM, Michael Tewner tew...@gmail.com 
mailto:tew...@gmail.com wrote:


Have you looked into Nvidia Tesla? I think the grid.org.il
http://grid.org.il people can get you more info - I think I
remember someone selling these in Israel. They also have Linux drivers.


On Fri, Jul 24, 2009 at 3:57 AM, Omer Zak w...@zak.co.il
mailto:w...@zak.co.il wrote:

I am looking for advice about selecting motherboard and graphic
card/s
for a new PC which I plan to acquire; and about suppliers
available to
Israelis (whereas in Israel or abroad).

My requirement for the new PC is that it is to render quickly
graphics
and data visualizations of large data sets, and to run under
Linux with
as little non-Free software as possible.  Ability to
number-crunch would
be nice, as well.

The budget allows me to afford an high-end system (but not a
supercomputer).

If you have experience in the above, please write to the mailing
list or
contact me in private.

   --- Omer
--
We will only have peace with the Arabs when they love their children
more than they hate us.
  Golda Meir (Israeli Prime Minister between 1969-1974)
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 mailto: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: Reading RTF files

2009-07-10 Thread Micha Silver

Ehud Karni wrote:



I use `catdoc' which works quiet good (for both *doc and *rtf).
`catdoc' is available as a package for Centos and Debian.
Here is a script I use:


catdoc -d8859-8 $1 | \
fribidi --charset ISO8859-8 --width 90 --rtl  ${1}_h_txt
nohup xmessage \
   -background yellow -foreground Black -center\
   -file ${1}_h_txt -title $1 -xrm $1.Scroll:whenNeeded  \
   -font -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-8 \
   -buttons $SPC E x i t $SPC ס י ו ם $SPC  /dev/null 
sleep 1# allow xmessage to start
rm ${1}_h_txt# remove if not used


Ehud.



  

Ehud:
Thanks for the tip, but I can't get any sensible output. I ran:

catdoc -a -d8859-8 invoice150711.rtf | fribidi --charset ISO8859-8 
--width=80 --rtl


and I get 188 empty lines. :-(
Am I missing something?

Regards,
Micha


--
 Ehud Karni   Tel: +972-3-7966-561  /\
 Mivtach - Simon  Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than Sorry

This mail was received via Mail-SeCure System.


  



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


  1   2   3   4   5   6   >