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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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-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-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: 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: 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: 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

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: 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

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: 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: /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: 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: 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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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: 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: 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: Advice on where and what to study

2010-12-03 Thread guy keren
if your problem is with understanding the C language properly - you should read the C programming language, second edition cover-to-cover. everything will be explained there. if you want a wider understanding, as Micha suggested, you would do well to learn the following courses (find their

Re: automatic/passive grab vs XGrabPointer/XUngrabPointer q

2010-07-08 Thread guy keren
Erez D wrote: hi X automatically does pointer grab when the mouse drags (i.e. press and hold the mouse button while moving it). It is possible to override the auto grab settings (i.e owner_events, etc) with a passive grab (e.g. XGrabButton) what if: 1. the user presses mouse button 1 (and

Re: What's inside the evrit reader?

2010-05-30 Thread guy keren
Nadav Har'El wrote: On Sun, May 30, 2010, Hetz Ben Hamo wrote about Re: What's inside the evrit reader?: IMHO I wouldn't recommend such a device until the price drops and we'll see some competing products. There are competing products who are IIRC cheaper. The books that Steimatzky will sells

Re: How do you calculate?

2010-05-20 Thread guy keren
Nadav Har'El wrote: For years, I've been wondering: How do other Unix or Linux users do simple calculations? Do you take out an actual physical calculator (which is of course ridiculous)? Do you use software that looks like a physical calculator (xcalc, kcalc, etc.)? Or do you use bc? Does

Re: virtualbox question

2010-05-15 Thread guy keren
sara fink wrote: I installed gentoo in virtualbox. My problem is that with the livecd it builds a filesystem partition that is very small and I don't have control on the size. If I want to add stuff there, the space is very limited. 119mb for /. If I want to add modules to the kernel they

Re: Modern development environment on dated RHEL

2010-04-27 Thread guy keren
Elazar Leibovich wrote: On Tue, Apr 27, 2010 at 3:07 PM, Tzafrir Cohen tzaf...@cohens.org.il mailto:tzaf...@cohens.org.il wrote: 4. I'm not sure. It's problematic since ClearCase 6 is only supported by IBM on RHEL 4.7, and we don't have new CC licenses. AHHH!

Re: [Haifux] [HAIFUX Workshop] The Web Rant Workshop

2010-04-25 Thread guy keren
Nadav Har'El wrote: On Fri, Apr 23, 2010, Oron Peled wrote about Re: [Haifux] [HAIFUX Workshop] The Web Rant Workshop: E.g: the COO may get really pissed off to find that with all the money thrown at the company website, the result cause ~20% of potential visitor to stay out. But can you

Re: High Availability

2010-04-15 Thread guy keren
Marc Volovic wrote: A number of issues: First - what. You need to replicate (a) links, (b) storage, (c) service machines. Links are internal and external. Multipath internet connexions. Multipath LAN connexions. Multipath storage links. Redund network infrastructure (switches, routers,

Re: faster rsync of huge directories

2010-04-13 Thread guy keren
Nadav Har'El wrote: On Tue, Apr 13, 2010, Tom Rosenfeld wrote about Re: faster rsync of huge directories: By the way, while cpio -p is indeed a good historic tool, nowadays there is little reason to use it, because GNU's cp make it easier to do almost everything that cpio -p did: The -a option

Re: Where to learn Linux?

2010-03-14 Thread guy keren
Dotan Cohen wrote: I have been using Linux as an end user for several years, but now I think that I might like to make a career out of *nix administration. Where are some good places to get a certificate from? Is an online certificate as good as an offline course? What online certificates are

Re: XWindows - how capture window ?

2010-03-13 Thread guy keren
Valery Reznic wrote: --- On Sat, 3/13/10, guy keren c...@actcom.co.il wrote: From: guy keren c...@actcom.co.il Subject: Re: XWindows - how capture window ? To: Valery Reznic valery_rez...@yahoo.com Date: Saturday, March 13, 2010, 3:56 PM the reason is: background jobs. the application does

Re: SSH problem

2010-01-27 Thread guy keren
someone suggested that you should disable gssapi - i second that. we had a similar problem with centos systems (thought it was more of connections taking long - not completely failing), and disabling the use of gssapi _in the client_ solved it. --guy Hetz Ben Hamo wrote: Hi Nadav, The

Re: Runtime security/memory checks for gcc/gdb

2010-01-13 Thread guy keren
Amos Shapira wrote: 2010/1/13 guy keren c...@actcom.co.il: if you are running on windows - you can use purify - it's a commercial tool, Why the condition of Windows? Purify is available for Linux as well. --Amos i meant (implied) that if he's using windows, he cannot use valgrind

Re: Runtime security/memory checks for gcc/gdb

2010-01-13 Thread guy keren
13, 2010 at 10:50 AM, guy keren c...@actcom.co.il mailto:c...@actcom.co.il wrote: Amos Shapira wrote: 2010/1/13 guy keren c...@actcom.co.il mailto:c...@actcom.co.il: if you are running on windows - you can use purify - it's a commercial tool, Why

Re: Runtime security/memory checks for gcc/gdb

2010-01-12 Thread guy keren
with it, is convincing management that getting a linux box or VM and build the code on it is worth our while... On Tue, Jan 12, 2010 at 12:27 AM, guy keren c...@actcom.co.il mailto:c...@actcom.co.il wrote: valgrind will tell you whenever you are using an un-ninitialized variable. it'll do so using

Re: Runtime security/memory checks for gcc/gdb

2010-01-12 Thread guy keren
Elazar Leibovich wrote: On Tue, Jan 12, 2010 at 8:02 AM, Shachar Shemesh shac...@shemesh.biz mailto:shac...@shemesh.biz wrote: Elazar Leibovich wrote: I tried using valgrind in a different project. The main problems I've had with valgrind are speed Yes, that is known.

Re: Runtime security/memory checks for gcc/gdb

2010-01-11 Thread guy keren
valgrind should be your first tool for the task. use it and fix all the errors it reports. what valgrind does not catch, are: 1. corruptions with global variables. 2. many corruptions on the stack. but it catches a lot of other errors. i use no other tools at work - except for as many of

Re: Runtime security/memory checks for gcc/gdb

2010-01-11 Thread guy keren
valgrind will tell you whenever you are using an un-ninitialized variable. it'll do so using runtime analysis. have you tried using valgrind at all? --guy Elazar Leibovich wrote: Just a remark, as some people asked me about it privately. I'm not interested in static analysis (which gcc

Re: Zombie processes

2010-01-03 Thread guy keren
sammy ominsky wrote: On 03/01/2010, at 18:22, Raz wrote: look for open descriptors with lsof. Thanks! I've pretty much got it pegged as a problem with playrecording.php, but I haven't found the reason yet. Going to assign it to one of my staff coders to investigate. The sysadmins were

Re: full backup remotely?

2009-12-30 Thread guy keren
fools - listen to oleg - use 'dump' and 'restore'. --guy Tzafrir Cohen wrote: On Thu, Dec 31, 2009 at 12:35:48AM +0200, sammy ominsky wrote: On 31/12/2009, at 00:27, Hetz Ben Hamo wrote: doing the backup. dd is nice, but that will copy also the empty space (although it won't have impact on

OT - more about iometer and AIO

2009-12-15 Thread guy keren
This goes to dan, but will interest anyone else trying to use iometer on linux (i.e. running 'dynamo' on linux). on some linux distributions (e.g. on centos), the 'rt' library has an implementatoin of aio_read/aio_write that simulates AIO using synchronous I/O - instead of using the real

Re: firefox and Bank Leumi web site

2009-12-15 Thread guy keren
do you try and manage to buy/sell stocks/bonds/whatever via firefox via fibi's web site, and use search mechanisms during these operations? --guy Amos Shapira wrote: Following Shlomi's (?) preaching about taking your business away from banks which don't support standards, I'd like to

Re: direct IO on fedora 11

2009-12-13 Thread guy keren
Dan Bar Dov wrote: Anybody know where is the raw(1) command in fedora11? I want to do some direct IO tests, and cannot find raw(1). Maybe I'm missing an rpm, but which? yum fails to locate it. Ideas? Dan

Re: direct IO on fedora 11

2009-12-13 Thread guy keren
screwd. Dan On Sun, Dec 13, 2009 at 7:00 PM, guy keren c...@actcom.co.il mailto:c...@actcom.co.il wrote: Dan Bar Dov wrote: Anybody know where is the raw(1) command in fedora11? I want to do some direct IO tests, and cannot find raw(1). Maybe I'm missing an rpm, but which

[OT]:Re: firefox and Bank Leumi web site

2009-12-12 Thread guy keren
/selling stocks and also performing deposits (hafkadot) to pakam (though rarely used recently). Rafi On Fri, Dec 11, 2009 at 2:52 PM, guy keren c...@actcom.co.il wrote: Rafi Gordon wrote: Hello, I saw that Bank Leumi web site is alleged to finally support FireFox under Linux. see: http

Re: firefox and Bank Leumi web site

2009-12-11 Thread guy keren
Rafi Gordon wrote: Hello, I saw that Bank Leumi web site is alleged to finally support FireFox under Linux. see: http://twitter.com/haizaar/status/5923095225 I would like to hear if anyone has had any experience with it lately. I don't want to use ie6 and I would like to get feedback about

Re: atomic operations under linux

2009-12-09 Thread guy keren
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

Re: atomic operations under linux

2009-12-09 Thread guy keren
Micha wrote: 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

Re: atomic operations under linux

2009-12-09 Thread guy keren
who's handling the memory barriers - do all the __sync_* functions perform an internal memory barrier operation (on the CPU _and_ on the compiler)? --guy Raz wrote: Do not use inline kernel atomic_t operation, you will violate GPL. Use gcc builtins. If you want information please refer to:

Startup in yokneam looking for linux user+kernel programmer

2009-11-24 Thread guy keren
the company i work for is looking for a linux user-space+kernel-space programmer to join the rd team. minimal requirements: - experience with kernel-level programming under linux. advantages: - experience with programming under linux in user-space (system programming, application

Re: Using OpenSource software in closed source componies (how ?)

2009-11-19 Thread guy keren
Shlomi Fish wrote: On Friday 20 Nov 2009 00:18:03 Boris shtrasman wrote: Well my question arises after reading nmap copy file: ( http://nmap.org/svn/COPYING) * o Integrates source code from Nmap * * o Reads or includes Nmap copyrighted data files, such as

Re: OT Electronics recycling

2009-09-30 Thread guy keren
Oron Peled wrote: On Wednesday, 30 בSeptember 2009 18:03:28 Oleg Goldshmidt wrote: 2009/9/30 Noam Rathaus no...@beyondsecurity.com: We have broken electronics equipment which we would like to dispense with. I also seem to recall http://www.snunit-recycling.com. Never used either, so do your

Re: [HAIFUX LECTURE] GCC Profile Guided Optimization

2009-08-09 Thread guy keren
it seems to work for me now (i'm connected via bezeq bein leumi). can you check again? --guy Serge wrote: Is www.haifux.org down? it doesn't work for me. Thanks, Serge. On Sun, 2009-08-09 at 14:03 +0200, Eli Billauer wrote: On Monday, August 10th at 18:30, Haifux will gather to hear

Re: cifs replacing smbfs - how to set up?

2009-06-16 Thread guy keren
. --guy Herouth Maoz wrote: On 15/06/2009, at 23:31, guy keren wrote: when i switched from smbfs to cifs - i added the 'domain=' parameter, and used the name defined on the samba server - and had no similar problems. did you try this? also, i didn't use the file_mode, dir_mode or setuids

Re: cifs replacing smbfs - how to set up?

2009-06-15 Thread guy keren
when i switched from smbfs to cifs - i added the 'domain=' parameter, and used the name defined on the samba server - and had no similar problems. did you try this? also, i didn't use the file_mode, dir_mode or setuids optoins, that you are using. i would try to remove them and see if

Re: OT: Help with simple Linux maintenance

2009-06-15 Thread guy keren
Dotan Cohen wrote: I'm not sure I agree with your claim about old Actcom's staff. I know most of them (except one, I think) were not hired by Bezeq Int. Really? They assured me that the staff stayed, and I have gotten L-word help when I needed it. Netvision would not help me when I couldn't

  1   2   3   4   5   6   7   8   9   >