Re: Amazon Kindel

2011-02-03 Thread guy keren
On Thu, 2011-02-03 at 20:30 +0200, Amichai Rotman wrote: Hello all, Any of you got the Amazon Kindel? I was thinking of buying one (the WiFi $140 model) and was wondering if it's a good idea. The eVrit reader seems to be total waste of money - 900 NIS for 50% of the features and

Re: HW compatibility research: are intel i5 graphics and realtek net/audio hassle-free?

2011-02-12 Thread guy keren
try to replace the KDE theme, or the general windows look and feel, and see if this helps. --guy On Sat, 2011-02-12 at 18:20 +0200, Oleg Goldshmidt wrote: Hi, I am sorry for being late with an update on this query of mine - it's been almost two months since I asked the question. I did get

Re: [Haifux] Getting mouse buttons to work

2011-02-15 Thread guy keren
perhaps try to switch to a runlevel that does not have X window running. it could be that the X window code is competing for these events - and when you make tests, you don't want to have that. --guy On Tue, 2011-02-15 at 11:55 +0200, Dotan Cohen wrote: On Tue, Feb 15, 2011 at 11:19, Yedidyah

Re: Update: eVrit e-book Reader

2011-02-17 Thread guy keren
in addition to this discussion - i found out that the nook cannot be delivered to israel neither from bn, nor from bestbuy (which sells it in the USA). i considered getting it via mustop- but then i found that online book purchases won't work using an IP address outside the USA. this is quite a

Re: auto-maximize a logical partition with ext3

2011-04-03 Thread guy keren
Ira Abramov wrote: Quoting Hetz Ben Hamo, from the post of Sun, 03 Apr: Umm, last time I checked, resize2fs (which now supports ext4, at least in Fedora) can resize to use all available space if you don't give it any Maybe I should have been more verbose - I know how to resize the FS, it's a

Re: GPL as an evaluation license

2011-04-10 Thread guy keren
Aviad, i think that when you delve into such legal questions - you are reaching the limit of what you would want to do, as a business. in other words, either use the GPL and hope business B knows what to do, or don't use the GPL to avoid having these legal questions to answer. you should note

Re: The riddle of atomic data transfer from process A to process B

2011-04-13 Thread guy keren
Omer, you did not specify the timing constraints you have, so the very basic thing mechanism is to use a posix semaphore for mutual exclusion access to this memory. this will work both on single-core and multi-core systems. note that disabling interrupts is not possible from user space - so it

Re: Disk I/O as a bottleneck?

2011-05-07 Thread guy keren
you are stepping into never-never land ;) iostat -x -k 1 is your friend - just make sure you open a very wide terminal in which to look at it. disks are notoriously slow, regardless of error cases. it is enough if an applications perform a lot of random I/O - to make them work very slow. i'd

Re: Disk I/O as a bottleneck?

2011-05-07 Thread guy keren
On Sat, 2011-05-07 at 16:19 +0300, Dima (Dan) Yasny wrote: On Sat, May 7, 2011 at 4:06 PM, guy keren c...@actcom.co.il wrote: you are stepping into never-never land ;) iostat -x -k 1 is your friend - just make sure you open a very wide terminal in which to look at it. disks

Re: Disk I/O as a bottleneck?

2011-05-07 Thread guy keren
On Sat, 2011-05-07 at 21:49 +0300, Elazar Leibovich wrote: On Sat, May 7, 2011 at 4:06 PM, guy keren c...@actcom.co.il wrote: if you eventually decide that it is indeed disk I/O that slows you down, and if you have a lot of money to spend - you could consider

Re: Disk I/O as a bottleneck?

2011-05-07 Thread guy keren
On Sun, 2011-05-08 at 00:21 +0300, Elazar Leibovich wrote: On Sun, May 8, 2011 at 12:20 AM, guy keren c...@actcom.co.il wrote: are you talking about using a low-end SSD? I'm actually not a big SSD expert, but I'm talking about relatively cheap SSD you can

Re: Disk I/O as a bottleneck?

2011-05-08 Thread guy keren
On Sun, 2011-05-08 at 09:57 +0300, shimi wrote: On Sun, May 8, 2011 at 7:28 AM, Nadav Har'El n...@math.technion.ac.il wrote: Instead of buying a huge SSD for thousands of dollars another option you might consider is to buy a relatively small SSD with just

Re: Disk I/O as a bottleneck?

2011-05-08 Thread guy keren
On Sun, 2011-05-08 at 09:30 +0300, Yedidyah Bar-David wrote: On Sun, May 08, 2011 at 07:28:49AM +0300, Nadav Har'El wrote: On Sat, May 07, 2011, guy keren wrote about Re: Disk I/O as a bottleneck?: and if you have a lot of money to spend - you could consider buying an enterprise-grade SSD

Re: Disk I/O as a bottleneck?

2011-05-08 Thread guy keren
On Sun, 2011-05-08 at 12:26 +0300, shimi wrote: On Sun, May 8, 2011 at 12:01 PM, guy keren c...@actcom.co.il wrote: On Sun, 2011-05-08 at 09:57 +0300, shimi wrote: what tends to get worse after the SSD becomes full is writes, not reads

Re: Disk I/O as a bottleneck?

2011-05-08 Thread guy keren
On Sun, 2011-05-08 at 15:28 +, is...@zahav.net.il wrote: On Sun, 08 May 2011 18:11:24 +0300 Gilboa Davara gilb...@gmail.com wrote: On Sun, 2011-05-08 at 14:56 +, is...@zahav.net.il wrote: On Sun, 08 May 2011 17:28:07 +0300 Gilboa Davara gilb...@gmail.com wrote: I don't track

Re: can't finish update: dpkg hangs installing xulrunner

2011-05-08 Thread guy keren
On Sun, 2011-05-08 at 17:04 -0700, Michael Shiloh wrote: apt-get update hangs at Setting up xulrunner-1.9.1 I can kill this, but then I can't finish the update because it says that dpkg was interrupted. Trying to let dpkg repair with sudo dpkg --configure -a hangs

Re: can't finish update: dpkg hangs installing xulrunner

2011-05-08 Thread guy keren
is 10227, while the PID of the original dpkg process is 10208 - so dpkg launched a process which got stuck. looking back at the strace log file - you could find what command this process executes. --guy On Sun, 2011-05-08 at 21:31 -0700, Michael Shiloh wrote: On 05/08/2011 08:10 PM, guy keren wrote

Re: How to check initrd's contents? (was: Re: Disk I/O as a bottleneck?)

2011-05-09 Thread guy keren
On Mon, 2011-05-09 at 15:49 +0300, Omer Zak wrote: On Mon, 2011-05-09 at 15:30 +0300, Yedidyah Bar-David wrote: On Mon, May 09, 2011 at 03:18:08PM +0300, Omer Zak wrote: My kernel is configured to have AHCI as a module: CONFIG_SATA_AHCI=m However I understand that it means that

Re: sending mail from the command line

2011-05-10 Thread guy keren
according to the logs - the mail was not delivered to an external machine. check your sendmail's mail queue (using 'mailq') to see if the message is still there. it could also be that the mail was delivered to some local mailbox, instead of to google. the fact that it claims that the relay is

Re: Linux 3.0

2011-05-29 Thread guy keren
On Sun, 2011-05-29 at 18:29 +0300, Ira Abramov wrote: I see no one else mentioned it on the list, so here it is, fresh from the kernel liׁ•t - Linus is considering a switch from 2.6.X to 3.X soon. No technical reason I can see, only that the kernel is going to be entering its third decade of

Re: Linux 3.0

2011-05-29 Thread guy keren
why do you think you are not both right? each of you had different uses for Linux, different needs, and different experiences. the same can be said for other operating systems too. personally, i have been using Linux as my home desktop OS since October 1993. were there problems? yes, there

Re: [Job]Senior Software Engineer role - development of infrastructure for Spikko!

2011-06-09 Thread guy keren
you may want to tell the original poster that this ad looks like a parody on the berlitz commercials - did they transliterate it word for word from an equivalent hebrew ad? (i'm not even talking about the very long list of advantages mentioned). --guy On Fri, 2011-06-10 at 00:02 +0300,

Re: USB I/O draining my userspace (Ubuntu Natty 64b)

2011-06-16 Thread guy keren
On Wed, 2011-06-15 at 18:42 +0300, Ira Abramov wrote: Quoting Yedidyah Bar-David, from the post of Wed, 15 Jun: Perhaps it uses USB1 and not 2? nope, I had that problem when I accidentally switched ports to a USB1 port, the 22 minute burn took over 113 minutes before I noticed it was

Re: Postgraduate studies

2011-08-03 Thread guy keren
except for one thing: the number of manot that one will actually get is a big unknown - and this is not written anywhere clearly. in addition, the ability to become a teaching assistant is not clear in advance - and this can have a noticeable effect too. --guy On Tue, 2011-08-02 at 21:55

Re: Postgraduate studies

2011-08-04 Thread guy keren
On Wed, 2011-08-03 at 12:13 +0300, Orna Agmon Ben-Yehuda wrote: On Wed, Aug 3, 2011 at 11:15 AM, guy keren c...@actcom.co.il wrote: except for one thing: the number of manot that one will actually get is a big unknown - and this is not written anywhere

Re: MySQL / PostgreSQL limitation

2011-08-22 Thread guy keren
On Tue, 2011-08-23 at 11:35 +1000, Amos Shapira wrote: 2011/8/23 Hetz Ben Hamo het...@gmail.com Hi, I'm thinking about some project, and I was wondering about something: lets say I'm setting up a really-big-web site. Something in the scale

Re: remote directory/partition

2011-10-23 Thread guy keren
as far as i know, the only available solutions for this problem - are commercial solutions, that perform some kind of caching on the local side - this assuming you need to access the device on both sides (i.e. both in the USA and in israel). if your needs are different - please state them -

Re: NFS + NIS madness

2011-11-27 Thread guy keren
sounds like an anonymous user mapping on the NFS server side. --guy Hetz Ben Hamo wrote: Hi, I have not had the pleasure of setting NFS + NIS for quite a long time (since 2000 approx), but now I need it for a client. I've set up a lab at home to test it before I deployed it. NFS mount

Re: Unix History: Why does hexdump default to word alignment?

2011-12-01 Thread guy keren
On 12/01/2011 10:10 AM, Nadav Har'El wrote: On Thu, Dec 01, 2011, Elazar Leibovich wrote about Unix History: Why does hexdump default to word alignment?: The default behaviour of hexdump is to align data word-wide. For instance Just as a comment, if I remember correctly, hexdump isn't

Re: Unix History: Why does hexdump default to word alignment?

2011-12-01 Thread guy keren
On 12/01/2011 01:55 PM, Nadav Har'El wrote: On Thu, Dec 01, 2011, guy keren wrote about Re: Unix History: Why does hexdump default to word alignment?: apparently, you did not use binary data serialization in the past two decades. when you serialize data and store it into a file (also

Re: Somewhat OT: MythTV / DVB in Israel

2012-01-12 Thread guy keren
On 01/12/2012 10:44 AM, Antony Gelberg wrote: Hi all, I'm about to cancel my incredibly expensive HOT Triple and get Internet-only instead. I'm not that bothered about TV but I do have a MythTV box lying around from the old country, and I'd be happy to see if I could get it working here. It

question: discount bank web site - linux+firefox friendly?

2012-01-19 Thread guy keren
i'm considering switching to Discount bank (www.discountbank.co.il) - and i want to make sure that their online banking works with firefox on linux for these operations: 1. viewing the balance. 2. viewing the stock-market portfolio. 3. performing stock/bonds buy/sell operations (including

Re: Modern Linux memory management

2012-01-26 Thread guy keren
On 01/26/2012 05:54 PM, Ori Berger wrote: On 01/26/2012 10:16 AM, Baruch Siach wrote: Only by using valgrind, that I could find the exact location and figure out, that it was another function that had the problem. How does the modern memory management system is working then, that it takes so

Re: iconv_open fails when suid bit is on

2012-02-13 Thread guy keren
running strace on an suid binary - ignores the 'suid' bit. so the test with strace is not relevant. --guy On 02/13/2012 10:56 AM, Elazar Leibovich wrote: In RHEL 5 system, libc-6, I'm seeing the following strange phenomena $ cat iconv_test.c #include stdio.h #include errno.h #include

Re: elevate gdb privileges

2012-02-27 Thread guy keren
On 02/27/2012 12:33 PM, ik wrote: Hello, I have a program that I write that uses user-space libraries that talk with kernel space, and I use an IDE for the development and debugging. The program requires to run as super user, but I do not want to run the whole IDE itself as super user, only

Re: /usr/opt instead of /opt?

2012-03-09 Thread guy keren
On 03/09/2012 10:31 AM, Oleg Goldshmidt wrote: Omer Zakw...@zak.co.il writes: My current Linux system has a 15GB root partition, which has 6GB files. Turns out that that about 5.5GB are in the /opt directory. My /usr partition is 206GB, of which about 33GB are used. This led me to wonder why

Re: xfig+Hebrew

2012-04-14 Thread guy keren
why not use dia? it's a much better software and better maintained (and works better) - and since it's based on a more modern toolkit - has more chance of supporting hebrew. --guy On 04/14/2012 08:57 AM, Avraham Rosenberg wrote: Dear all In an attempt to use xfig with Hebrew text, I

Re: High-resolution user/system times?

2012-07-25 Thread guy keren
did you consider using oprofile? On 07/25/2012 03:44 PM, Nadav Har'El wrote: On Wed, Jul 25, 2012, Oleg Goldshmidt wrote about Re: High-resolution user/system times?: Actually, there is the default HZ and inside the kernel HZ there is HZ that you can configure at compile time (with

Re: I/O performance/tweaking question

2012-09-05 Thread guy keren
did you try to break it down to sub-components? i.e. on the source machine copy from the USB to a ramdisk - what's the sthroughput? then try to write on the USB on the other machine from a ramdisk - what's the throughput? then use netperf to check the throughput of the network between

my attempt for a new endeavour: debugging2day - Linux/C/C++-centric debugging methodologies online E-zine

2013-01-05 Thread guy keren
for want of a shorter name ;) i started this last year, then got a little lazy - and now that the world didn't come to an end, decided to give it a second go - and this time, even tell people about this :0 http://debugging2day.wordpress.com/ if anyone has comments, or has ideas or

Re: Output to block device in linux kernel

2013-04-24 Thread guy keren
1. the seek occures whenever you perform random I/O, or when you jump between different areas of the disk when doing sequential I/O (i.e. you read from sector X to sector X+1000, and then you want to read from sector Z to sector Z+1000 - this switch will require a seek). 2. experience shows

Re: linking problems with several static libraries

2013-07-10 Thread guy keren
read this tutorial fully - and you should get your answer: http://users.actcom.co.il/~choo/lupg/tutorials/libraries/unix-c-libraries.html in particular, the answer is in section 8.1 --guy On 07/10/2013 09:31 PM, Diego Iastrubni wrote: Hi all, I have been figthing this nice problem at

Re: Debian Oldstable and Ubuntu 12.04 (Re: Winter clock issues in linux)

2013-09-07 Thread guy keren
On 09/07/2013 11:22 PM, E.S. Rosenberg wrote: 2013/9/7 Omer Zak w...@zak.co.il: I checked the timezone in two Linux machines. One of them is Debian Squeeze (which is now OldStable), and the other is Ubuntu 12.04 LTS (12.04.3 LTS, Precise Pangolin - running in a virtual machine). I found to my

Re: OT: Hybrid cars

2013-09-15 Thread guy keren
(if you top-post, so will I! ;) driving the old prius myself (it's actualy the 2nd or 3rd generation of prius - but who's counting? :) - a few observations: - the car has its algorithms - but you can interfere. - when driving fully down-hill, the car usually turns the engine off,

Re: OT: Hybrid cars

2013-09-15 Thread guy keren
On 09/15/2013 11:50 PM, Oleg Goldshmidt wrote: Mord Behar mord...@gmail.com writes: Wow. Thank you for that, it was quite informative. You mentioned that small petrol European cars have a 20 km/l range. I don't think I meant small. I rather meant what counts for mid-size or larger in

Re: OT: Hybrid cars

2013-09-15 Thread guy keren
a few observations: - forget about honda insight. it is not very fuel-efficient. - the Prius can give you about the same gasoline consumption as a small manual car (such as the alto, the i10, etc.). this is true both in-town and out-of-town. - one of the reasons that the Prius is much more

Re: OT: Hybrid cars

2013-09-16 Thread guy keren
On 09/16/2013 10:28 AM, Oleg Goldshmidt wrote: guy keren guy.choo.ke...@gmail.com writes: actually, driving at 70-80kmh is usually MUCH MORE fuel-efficient then driving at 110kmh, in most cars and under most road conditions... This may *still* be true for many cars on Israeli roads

Re: OT: Hybrid cars

2013-09-16 Thread guy keren
On 09/16/2013 11:21 AM, Oleg Goldshmidt wrote: guy keren guy.choo.ke...@gmail.com writes: instead of going into theories - does your car have a fuel consumption computer? Yes, it does, that's how I know that it is more efficient at higher speeds. I made a point to say that I never did

Re: OT: Hybrid cars

2013-09-16 Thread guy keren
, the big saving is 780nis per month (7.8nis/1L) based on 20,000km yearly. What I'm getting to, is that fuel consumption shouldn't be your first consideration. First consideration is find a car which fits your needs. Moish On 16/09/2013 15:42, Nadav Har'El wrote: On Mon, Sep 16, 2013, guy keren

Re: OT: Hybrid cars

2013-09-17 Thread guy keren
On 09/17/2013 09:07 AM, Oleg Goldshmidt wrote: guy keren guy.choo.ke...@gmail.com writes: watching the numbers occasionally is not a proper experiment. you need to reset the computer before you start the drive under test, and check the value after - and the length should be enough to even out

Re: OT: Hybrid cars

2013-09-17 Thread guy keren
On 09/17/2013 10:08 AM, Oleg Goldshmidt wrote: guy keren guy.choo.ke...@gmail.com writes: watching the current consumption numbers can be quite missleading, since' during a lengthy period of drive, the number is usually not stable, and the assumed summing up of the numbers isn't necessarily

Re: OT: Hybrid cars

2013-09-18 Thread guy keren
On 09/18/2013 06:18 PM, Guy Gold wrote: On Tue, Sep 17, 2013 at 6:06 AM, Nadav Har'El n...@math.technion.ac.il mailto:n...@math.technion.ac.il wrote: In addition to the momentary fuel consumption, you also get in many cars some fuel consumption average over a long period - The Prius

Re: Is there a reason to use `top` over `perf top`?

2013-11-11 Thread guy keren
1. perf top - didn't know about this. interesting. 2. 'top' shows more then 'perf top' - it shows memory consumption, it shows time spent waiting for I/O (which won't show on 'perf top'), it shows the spread of processes and threads across the CPU cores. i say - why not use both? --guy On

Re: cgi bg

2014-08-25 Thread guy keren
you can re-open stdout and point it to a file (perhaps even to /dev/null). On 08/25/2014 11:41 AM, Erez D wrote: thanks, not so easy to use, as i can not use stdout anymore but it works. On Mon, Aug 25, 2014 at 10:57 AM, shimi linux...@shimi.net mailto:linux...@shimi.net wrote: On

Re: Server stopped DNS name resolution

2015-03-22 Thread guy keren
run this on the host: strace host www.google.com and scan the output. more efficient then guessing. --guy On 03/22/2015 12:50 PM, Gabor Szabo wrote: Hi, I run an Ubuntu based VPS on Linode. I few hours ago the machine stopped resolving hostnames. I think it was after an aptitude

Re: OT: Biometric ID

2015-03-15 Thread guy keren
gabor - i would have said you deserve it - but i guess it will be pointless :0 On 03/15/2015 02:38 PM, Amos Shapira wrote: BTW this anecdote might interest Yonathan Klinger and other anti-bio-id activists since it could be pointing a fatal flaw in the system. On 15 Mar 2015 9:26 pm, Gabor

Re: Good design to expose debug info from kernel module

2015-03-27 Thread guy keren
netlink. You still need a solution to parse the sent message, where protocol buffers etc, can help. (e.g., binary data into struct mymodule_request). Or am I missing something? On Fri, Mar 27, 2015 at 3:33 AM, guy keren guy.choo.ke...@gmail.com wrote: take a look at this: http

Re: Good design to expose debug info from kernel module

2015-03-26 Thread guy keren
take a look at this: http://www.linuxfoundation.org/collaborate/workgroups/networking/generic_netlink_howto (link got broken - place it all on a single line) --guy On 03/26/2015 11:36 PM, Elazar Leibovich wrote: Hi, I'm writing a kernel module, and I want to expose some debug information

Re: Memory pool interface design

2015-05-16 Thread guy keren
as a rule - if it's a general-purpose library,k and it can fail - it must return an error using the language's natural error mechanism. in C - this comes as a return status. i *have* seen malloc returning NULL in some situations. the application that uses your library may decide to simply

Re: single threaded web servers

2016-07-02 Thread guy keren
https://en.wikipedia.org/wiki/Thttpd and https://www.lighttpd.net/ both existed before anyone used javascript on server side, as far as i know (and they are written in C, not C++) --guy On 07/02/2016 10:49 AM, Erez D wrote: doing some research on servers i found out that i can handle more

Re: single threaded web servers

2016-07-02 Thread guy keren
you didn't say you needed dynamic content - your example "code" seemed to focus on serving static content. try to be more specific about what you need --guy On 07/02/2016 06:41 PM, Erez D wrote: On Sat, Jul 2, 2016 at 2:00 PM, guy keren <guy.choo.ke...@gmail.com <ma

Re: Preventing a single student programmer from choking the whole server.

2017-04-21 Thread guy keren
how about using cgroups, putting each user's login shell in a cgroup that cannot use more then X% of the whole CPUs. this will affect all processes spawned under the user's shell. --guy On 04/21/2017 03:07 PM, Josh Roden wrote: Hi server setup: -- Centos 6 32GB RAM 16

Re: dependency hell OR it should not be this hard

2019-08-12 Thread guy keren
this is software. software has bugs. software packaging only seems simple - but in fact is really not, because of the exponential amount of combinations that simply can't be exhaustively tested, and because it depends on code written by thousands of unrelated developers, that work on their

Re: recover ssh-agent socket

2022-01-08 Thread guy keren
On 1/8/22 3:06 PM, Tzafrir Cohen wrote: On Sat, Jan 08, 2022 at 01:24:18PM +0200, Shachar Shemesh wrote: You can probably find it under /proc/$SSH_AGENT_PID/fd. I see there: lrwx-- 1 root root 64 Jan 8 15:00 0 -> /dev/null lrwx-- 1 root root 64 Jan 8 15:00 1 -> /dev/null

Re: How to get wget to fail to fetch a password-protected URL after a previous success?

2022-12-19 Thread guy keren
use 'strace' to try to locate where it might be storing the credentials. --guy On 12/19/22 03:57, Omer Zak wrote: I am writing regression tests to test that a website continues to behave the same after moving to another host. Among other things, I want to test that a password-protected area

<    4   5   6   7   8   9