From pub at goldshmidt.org Sun Nov 2 10:08:59 2014 From: pub at goldshmidt.org (Oleg Goldshmidt) Date: Sun, 2 Nov 2014 10:08:59 +0200 Subject: Fwd: preventing dhclient from running under certain conditions In-Reply-To: References: Message-ID: ?I noticed that I had responded only to shimi and not to the list? ?...? On Thu, Oct 30, 2014 at 12:10 AM, shimi wrote: > ? > What about allow-hotplug? > > http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces > ? I tested allow-hotplug. Frankly, it does not seem to do anything useful. E.g., ifup vlanXX sends out DHCP whether or not the Ethernel cable is plugged in or not. Besides, it is only good for fiddling with cables[*], and even in that limited scenario we do not necessarily want hotplug action. Rather, we want to control when interfaces are brought up or down *and* whether or not to request settings from DHCP. [*] It is not clear to me that allow-hotplug actually does what it says on the tin (as I understand it). I don't see anything happening when I fiddle with cables. It is not clear to me what it does or what it is supposed to do, and I would be quite uncomfortable switching to allow-hotplug without really comprehensive retesting of *everything* (as opposed to testing starting/stopping DHCP interfaces). Thanks, -- Oleg Goldshmidt | pub at goldshmidt.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Sun Nov 2 11:18:37 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Sun, 2 Nov 2014 11:18:37 +0200 Subject: OT: video capture Message-ID: We have a lot of VHS tapes that we want to digitize. Anybody out there have a video capture card? What kind? Where did you buy it? How much? What sort of software do you use? Are you satisfied with the results? -------------- next part -------------- An HTML attachment was scrubbed... URL: From const at makelinux.co.il Sun Nov 2 11:41:48 2014 From: const at makelinux.co.il (Constantine Shulyupin) Date: Sun, 2 Nov 2014 11:41:48 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: http://www.ebay.com/bhp/usb-video-capture-device On Sun, Nov 2, 2014 at 11:18 AM, Mord Behar wrote: > We have a lot of VHS tapes that we want to digitize. > Anybody out there have a video capture card? > What kind? > Where did you buy it? > How much? > What sort of software do you use? > Are you satisfied with the results? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv From mordbe0 at gmail.com Sun Nov 2 11:51:45 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Sun, 2 Nov 2014 11:51:45 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: On Sun, Nov 2, 2014 at 11:41 AM, Constantine Shulyupin < const at makelinux.co.il> wrote: > http://www.ebay.com/bhp/usb-video-capture-device > > Thanks, but I was looking for a more personal experience. I found devices as cheap as $5 on Chinese sites, some of them with free shipping. I'm looking for success or failure stories. What the setup was, how easy or hard it was to use, what the final results are like. > On Sun, Nov 2, 2014 at 11:18 AM, Mord Behar wrote: > > We have a lot of VHS tapes that we want to digitize. > > Anybody out there have a video capture card? > > What kind? > > Where did you buy it? > > How much? > > What sort of software do you use? > > Are you satisfied with the results? > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > -- > Constantine Shulyupin > http://www.MakeLinux.co.il/ > Embedded Linux Systems > Tel Aviv > -------------- next part -------------- An HTML attachment was scrubbed... URL: From const at makelinux.co.il Sun Nov 2 11:53:32 2014 From: const at makelinux.co.il (Constantine Shulyupin) Date: Sun, 2 Nov 2014 11:53:32 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: I've used EasyCAP. I satisfied. On Sun, Nov 2, 2014 at 11:51 AM, Mord Behar wrote: > > > On Sun, Nov 2, 2014 at 11:41 AM, Constantine Shulyupin > wrote: >> >> http://www.ebay.com/bhp/usb-video-capture-device >> > > Thanks, but I was looking for a more personal experience. I found devices as > cheap as $5 on Chinese sites, some of them with free shipping. I'm looking > for success or failure stories. What the setup was, how easy or hard it was > to use, what the final results are like. > >> >> On Sun, Nov 2, 2014 at 11:18 AM, Mord Behar wrote: >> > We have a lot of VHS tapes that we want to digitize. >> > Anybody out there have a video capture card? >> > What kind? >> > Where did you buy it? >> > How much? >> > What sort of software do you use? >> > Are you satisfied with the results? >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > >> >> >> >> -- >> Constantine Shulyupin >> http://www.MakeLinux.co.il/ >> Embedded Linux Systems >> Tel Aviv > > -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv From rabin at rabin.io Sun Nov 2 13:50:27 2014 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Sun, 2 Nov 2014 13:50:27 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: My experience with them is mixed, the first device i bought (easyCAP from DX) didn't work well, and i got many segfault with it, don't remember the chip-set that was use in that device back then (2.5/3 years ago), had to compile the module from source (not a very active community around this device driver/module) many bad experience. Then i borrowed a slimier device from my collage and test it on windows (finding drivers for Win7 64bit was a bitch back then), anyway, at the end it worked i preferred to record the caste to a uncompressed AVI file (~20G per 3 hours) and not use the direct MPEG2 encoder. Then I use VirtualDub to apply some filters to optimize the picture quality (CROP few lines the bottom, some soft bluing i think and one more for the "lines" which i can't recall right now), and used DivX for compressing the video and mp3 for the audio (and I used a single pass compression). then i used the device on my Linux machine (F17 i think back then), and it worked, seems like my first device had a hardware problem. Bottom line (for me) was, not all silicon chips created the same, and be careful when buying cheap converters. -- Rabin On Sun, Nov 2, 2014 at 11:51 AM, Mord Behar wrote: > > > On Sun, Nov 2, 2014 at 11:41 AM, Constantine Shulyupin < > const at makelinux.co.il> wrote: > >> http://www.ebay.com/bhp/usb-video-capture-device >> >> > Thanks, but I was looking for a more personal experience. I found devices > as cheap as $5 on Chinese sites, some of them with free shipping. I'm > looking for success or failure stories. What the setup was, how easy or > hard it was to use, what the final results are like. > > >> On Sun, Nov 2, 2014 at 11:18 AM, Mord Behar wrote: >> > We have a lot of VHS tapes that we want to digitize. >> > Anybody out there have a video capture card? >> > What kind? >> > Where did you buy it? >> > How much? >> > What sort of software do you use? >> > Are you satisfied with the results? >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > >> >> >> >> -- >> Constantine Shulyupin >> http://www.MakeLinux.co.il/ >> Embedded Linux Systems >> Tel Aviv >> > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dronkin at gmail.com Sun Nov 2 17:09:11 2014 From: dronkin at gmail.com (David Ronkin) Date: Sun, 2 Nov 2014 17:09:11 +0200 Subject: phonegap developer freelance needed Message-ID: Hi all, Sorry not 100% linux, but related.. (backend is linux ) I have a vacancy in my team at Ok2go.co.il for a mid-term project for experienced freelance app developer (Phonegap framework only). Please contact off the list. Thanks! David -- ?????, ??? ?????? *?? ???? ????? ??*?: http://dronkin.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Sun Nov 2 17:26:47 2014 From: vordoo at yahoo.com (vordoo) Date: Sun, 02 Nov 2014 17:26:47 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: <54564D37.4050701@yahoo.com> An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Sun Nov 2 17:29:51 2014 From: vordoo at yahoo.com (vordoo) Date: Sun, 02 Nov 2014 17:29:51 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: <54564DEF.6050609@yahoo.com> An HTML attachment was scrubbed... URL: From sara.fink at gmail.com Mon Nov 3 00:15:07 2014 From: sara.fink at gmail.com (sara fink) Date: Mon, 3 Nov 2014 00:15:07 +0200 Subject: OT: video capture In-Reply-To: References: Message-ID: Hauppauge is a serious company. They have professional equipment. There is support in linux as well. http://hauppage.com/site/products/prods.html On Sun, Nov 2, 2014 at 11:18 AM, Mord Behar wrote: > We have a lot of VHS tapes that we want to digitize. > Anybody out there have a video capture card? > What kind? > Where did you buy it? > How much? > What sort of software do you use? > Are you satisfied with the results? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From erez0001 at gmail.com Sun Nov 9 10:29:36 2014 From: erez0001 at gmail.com (Erez D) Date: Sun, 9 Nov 2014 11:29:36 +0300 Subject: good free dynamic dns server ? Message-ID: hi i am currently using no-ip.org as a free dynamic dns server for my home. however it has the annoying feature of sending me the following emails: "Please confirm your hostname now or it will be deleted" anyone knows of a good free dyndns server ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Sun Nov 9 14:14:55 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Sun, 9 Nov 2014 14:14:55 +0200 Subject: good free dynamic dns server ? In-Reply-To: References: Message-ID: I did this for years until I "broke down" and paid the $16 for a year of avoiding these. On 9 Nov 2014 10:31, "Erez D" wrote: > hi > > i am currently using no-ip.org as a free dynamic dns server for my home. > however it has the annoying feature of sending me the following emails: > "Please confirm your hostname now or it will be deleted" > > anyone knows of a good free dyndns server ? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabin at rabin.io Sun Nov 9 14:54:52 2014 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Sun, 9 Nov 2014 14:54:52 +0200 Subject: good free dynamic dns server ? In-Reply-To: References: Message-ID: If you have your own domain, you can manage it using CloudFlare and use there API to edit the zone file and update the IP address each time it change. -- Rabin On Sun, Nov 9, 2014 at 10:29 AM, Erez D wrote: > hi > > i am currently using no-ip.org as a free dynamic dns server for my home. > however it has the annoying feature of sending me the following emails: > "Please confirm your hostname now or it will be deleted" > > anyone knows of a good free dyndns server ? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Sun Nov 9 15:00:29 2014 From: vordoo at yahoo.com (vordoo) Date: Sun, 09 Nov 2014 15:00:29 +0200 Subject: good free dynamic dns server ? In-Reply-To: References: Message-ID: <545F656D.7010007@yahoo.com> An HTML attachment was scrubbed... URL: From erez0001 at gmail.com Sun Nov 9 19:56:44 2014 From: erez0001 at gmail.com (Erez D) Date: Sun, 9 Nov 2014 19:56:44 +0200 Subject: Xml grabber for hot Message-ID: I had an xml grabber for hot (someone wrote it for .net few years ago and i ran it with mono but it stopped working) Anyone knows of a working one ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From slitt at troubleshooters.com Sun Nov 9 19:48:33 2014 From: slitt at troubleshooters.com (Steve Litt) Date: Sun, 9 Nov 2014 12:48:33 -0500 Subject: good free dynamic dns server ? In-Reply-To: References: Message-ID: <20141109124833.7c858765@mydesq2.domain.cxm> On Sun, 9 Nov 2014 11:29:36 +0300 Erez D wrote: > hi > > i am currently using no-ip.org as a free dynamic dns server for my > home. however it has the annoying feature of sending me the following > emails: "Please confirm your hostname now or it will be deleted" > > anyone knows of a good free dyndns server ? Afraid.org has been maintaining my dynamic dns for years. One thing I like about it is it's "client" is an easy to understand shellscript. SteveT Steve Litt * http://www.troubleshooters.com/ Troubleshooting Training * Human Performance From mordbe0 at gmail.com Mon Nov 10 11:51:32 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Mon, 10 Nov 2014 11:51:32 +0200 Subject: OT: Moto X 2014 Message-ID: I originally sent this to the Android ML, but it doesn't have the same readership as this list, and I got no answers. Apparently there is a way to buy an unlocked Moto X from Motorola, provided you have a US billing and shipping address. Looking at the specs it appears as if it would work here with Cellcom's and Orange's infrastructure (and maybe Pelephone?). Has anybody bought one and used it here? -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Nov 10 12:06:41 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 10 Nov 2014 12:06:41 +0200 Subject: OT: Jolla phone Message-ID: Mords' mail reminded me that I should have sent this earlier: If there is anyone on the list interested in getting the Jolla phone ('grandson' of the nokia n900/'son' of the n9) I have a 100E discount code that is valid until midnight today (I assume midnight Finland time, but it's not specified). You do need an address in the EU to ship to, the phone is 249E after discount and shipping is another 15 I think... Hope someont finds this useful. Eliyahu - ????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vordoo at yahoo.com Mon Nov 10 12:19:40 2014 From: vordoo at yahoo.com (vordoo) Date: Mon, 10 Nov 2014 12:19:40 +0200 Subject: good free dynamic dns server ? In-Reply-To: <20141109124833.7c858765@mydesq2.domain.cxm> References: <20141109124833.7c858765@mydesq2.domain.cxm> Message-ID: <5460913C.7050509@yahoo.com> An HTML attachment was scrubbed... URL: From slitt at troubleshooters.com Mon Nov 10 19:34:52 2014 From: slitt at troubleshooters.com (Steve Litt) Date: Mon, 10 Nov 2014 12:34:52 -0500 Subject: good free dynamic dns server ? In-Reply-To: <5460913C.7050509@yahoo.com> References: <20141109124833.7c858765@mydesq2.domain.cxm> <5460913C.7050509@yahoo.com> Message-ID: <20141110123452.469f0317@mydesq2.domain.cxm> It's similar. On Mon, 10 Nov 2014 12:19:40 +0200 vordoo wrote: > Can it beat this: > echo url="https://www.duckdns.org/update?domains=XYZ&token=NJK&ip=" | > curl -k -o ~/duckdns/duck.log -K - > > ;-) > > On 11/09/2014 07:48 PM, Steve Litt wrote: > On Sun, 9 Nov 2014 11:29:36 +0300 > Erez D wrote: > > hi > > i am currently using no-ip.org as a free dynamic dns server for my > home. however it has the annoying feature of sending me the following > emails: "Please confirm your hostname now or it will be deleted" > > anyone knows of a good free dyndns server ? > > Afraid.org has been maintaining my dynamic dns for years. One thing I > like about it is it's "client" is an easy to understand shellscript. > > SteveT > > Steve Litt * http://www.troubleshooters.com/ > Troubleshooting Training * Human Performance From const at makelinux.co.il Tue Nov 11 19:17:27 2014 From: const at makelinux.co.il (Constantine Shulyupin) Date: Tue, 11 Nov 2014 19:17:27 +0200 Subject: OCF CESA Message-ID: Hi friends, Has anybody experience with openssl, ocf-linux and CESA on ARM Armaga 370? Thanks -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv From amichai at iglu.org.il Thu Nov 13 14:33:35 2014 From: amichai at iglu.org.il (Amichai Rotman) Date: Thu, 13 Nov 2014 14:33:35 +0200 Subject: LibraOffice and Language Switching Message-ID: Hi all, Since upgrading to LibraOffice 4.2 on my Ubuntu 14.04, I can?t use the CTRL-C and such if I am writing a document in Hebrew. On previous versions I could copy text using the keyboard regardless of the language I was using at the time. Any ideas how to get that back? Thanks! Amichai. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Thu Nov 13 16:49:13 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Thu, 13 Nov 2014 16:49:13 +0200 Subject: LibraOffice and Language Switching In-Reply-To: References: Message-ID: I recall some kind of issue like this in past Libre Office versions. There was a setting that allowed command shortcuts to be language-independent. I can't remember where it was. Obviously you looked in the LO settings. Try the global DE settings... On Thu, Nov 13, 2014 at 2:33 PM, Amichai Rotman wrote: > Hi all, > > Since upgrading to LibraOffice 4.2 on my Ubuntu 14.04, I can?t use the > CTRL-C and such if I am writing a document in Hebrew. > > On previous versions I could copy text using the keyboard regardless of > the language I was using at the time. > > Any ideas how to get that back? > > Thanks! > > Amichai. > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Thu Nov 13 19:02:01 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Thu, 13 Nov 2014 19:02:01 +0200 Subject: LibraOffice and Language Switching In-Reply-To: References: Message-ID: IIRC this behavior doesn't happen on a machine I use xfce on instead of gnome3/unity so it may very well be DE dependent.... Regards, Eliyahu - ????? 2014-11-13 16:49 GMT+02:00 Mord Behar : > I recall some kind of issue like this in past Libre Office versions. There > was a setting that allowed command shortcuts to be language-independent. I > can't remember where it was. Obviously you looked in the LO settings. Try > the global DE settings... > > On Thu, Nov 13, 2014 at 2:33 PM, Amichai Rotman > wrote: > >> Hi all, >> >> Since upgrading to LibraOffice 4.2 on my Ubuntu 14.04, I can?t use the >> CTRL-C and such if I am writing a document in Hebrew. >> >> On previous versions I could copy text using the keyboard regardless of >> the language I was using at the time. >> >> Any ideas how to get that back? >> >> Thanks! >> >> Amichai. >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eli at billauer.co.il Sat Nov 15 18:56:12 2014 From: eli at billauer.co.il (Eli Billauer) Date: Sat, 15 Nov 2014 18:56:12 +0200 Subject: [HAIFUX LECTURE] CiviCRM Meetup -- Xavier Dutoit Message-ID: <546785AC.5090609@billauer.co.il> On Monday, November 17th at 18:30, Haifux will gather to hear a talk by Xavier Dutoit: CiviCRM Meetup Abstract CiviCRM is a free and open source software constituent relationship management solution. CiviCRM is web-based, internationalized, and designed specifically to meet the needs of advocacy and non-profit groups to manage their contacts, membership, donations & newsletter. At this meeting you can learn more about what CiviCRM can do for your organisation, with examples of other NGOs, trade unions and associations. Meet others who are also interested in CiviCRM or who are already using it in their organisation. Talk to developers who know all about CiviCRM. Note that the meeting will be held in *English* * Introduction to CiviCRM. What does it offer NGOs? o What's planned for the next version & info about CiviCon in San Francisco * Some examples of NGOs using CiviCRM * Possible uses of CiviCRM as seen in other NGOs: o Organising events o Doing emailings to the press/members... o Tracking advocacy actions, petitions & surveys o Membership & donations ================================================================= 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: 01/12/14 Topics in advanced Python: Hai Zaar ================================================================== 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 webmaster at haifux.org -- Web: http://www.billauer.co.il From oron at actcom.co.il Sun Nov 16 11:14:59 2014 From: oron at actcom.co.il (Oron Peled) Date: Sun, 16 Nov 2014 11:14:59 +0200 Subject: [JOB-OFFER] Linux devops people for embedded Message-ID: <6161209.BNHLTv93pv@neon.home.il> Hi, Below is a verbatim copy forwarded directly from the related company please answer directly to them. ---------- Forwarded Message ---------- Do you breath, eat and drink LINUX? If the answer is yes, HARMONIC IS LOOKING FOR YOU! HARMONIC, the worldwide leader in video delivery infrastructure solutions is offering a challenging position in DEVOPS development in our site in Caesarea. So if you got passion to LINUX and want to specialize in a great atmosphere and you answer the below requirements, please send us your CV to: Jobs at harmonicinc.com * B.Sc in Computer science from a known university * 0-3 years of experience in SW development * 2-3 years of extensive experience in a LINUX environment and with C / C++ Programming * Experience in DEVOPS development, Configuration Management (e.g. SVN), Scripting languages (e.g. Bash, Python) ? advantage For more information about Harmonic: http://www.harmonicinc.com/content/your-career-here -- Oron Peled Voice: +972-4-8228492 oron at actcom.co.il http://users.actcom.co.il/~oron Linux lasts longer! -- "Kim J. Brand" -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Mon Nov 17 18:42:55 2014 From: shlomif at gmail.com (Shlomi Fish) Date: Mon, 17 Nov 2014 18:42:55 +0200 Subject: Fwd: Fw: [Qt-israel] Qt talk at the next FOSS Monthly meetup In-Reply-To: <20141117184016.7b575c3b@telaviv1.shlomifish.org> References: <20141117184016.7b575c3b@telaviv1.shlomifish.org> Message-ID: Hi all, we are going to have a monthly meetup about open source technologies on Wednesday, November 26, 2014 in 18:30 at Google Campus Tel Aviv, Electra Tower Yigal Alon 98, Tel Aviv-Yafo (edit map ) More details below and at the link. Hope to see you there. Regards, -- Shlomi Fish ---------- Forwarded message ---------- From: Shlomi Fish Date: Mon, Nov 17, 2014 at 6:40 PM Subject: Fw: [Qt-israel] Qt talk at the next FOSS Monthly meetup To: Shlomi Fish Begin forwarded message: Date: Mon, 17 Nov 2014 07:12:12 +0200 From: ynon perek To: Local Qt community Subject: [Qt-israel] Qt talk at the next FOSS Monthly meetup Hi All, In the next FOSS monthly meet up I'll talk about how to write multi threaded code in Qt, and share some tips to make your life easier while doing so. Ido will give the second talk about development Anti-Patterns. For details and registration please visit the event page: http://www.meetup.com/Open-Source-and-Free-Software-in-Israel/events/218634223/ Regards, Ynon -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Humanity - Parody of Modern Life - http://shlom.in/humanity I figured wrong (with a capital R). ? Harvey Danger: ?Wine, Women and Song?. Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ Qt-israel mailing list Qt-israel at hamakor.org.il http://hamakor.org.il/cgi-bin/mailman/listinfo/qt-israel -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabor at szabgab.com Wed Nov 19 11:38:20 2014 From: gabor at szabgab.com (Gabor Szabo) Date: Wed, 19 Nov 2014 11:38:20 +0200 Subject: BYOD in schools Message-ID: In our school the management is trying to implement BYOD = Bring Your Own Device Some details here: http://schooly.co.il/rabin-modiin/page.asp?page_parent=105646 First they talked about tablets but now it seems they talk about making us buy notebooks. Among many other issues, please note the technical requirements that gives us a choice of operating system: Windows 7 or Windows 8 OTOH I could not find any information regarding the applications they want to run. Do you have any information about similar projects in other schools in Israel? What kind of devices have they used? What kind of applications do they install? Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Wed Nov 19 13:53:45 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Wed, 19 Nov 2014 13:53:45 +0200 Subject: BYOD in schools In-Reply-To: References: Message-ID: I don't know about students, but my mother is a teacher and she has to use some legacy software that was written for Windows XP and fails on Win 7 about 70% of the time. It's proprietary software written by the ministry for education and could not be easily ported to Linux. On Wed, Nov 19, 2014 at 11:38 AM, Gabor Szabo wrote: > In our school the management is trying to implement BYOD = Bring Your Own > Device > > Some details here: > > http://schooly.co.il/rabin-modiin/page.asp?page_parent=105646 > > First they talked about tablets but now it seems they talk about making us > buy > notebooks. > Among many other issues, please note the technical requirements that gives > us a choice of operating system: > Windows 7 or Windows 8 > > OTOH I could not find any information regarding the applications they want > to run. > > Do you have any information about similar projects in other schools in > Israel? > What kind of devices have they used? What kind of applications do they > install? > > Gabor > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Wed Nov 19 20:22:13 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Wed, 19 Nov 2014 20:22:13 +0200 Subject: Fw: [Qt-israel] Qt talk at the next FOSS Monthly meetup In-Reply-To: References: <20141117184016.7b575c3b@telaviv1.shlomifish.org> Message-ID: Is anybody planning on driving from Yerushalayim? On Mon, Nov 17, 2014 at 6:42 PM, Shlomi Fish wrote: > Hi all, > > we are going to have a monthly meetup about open source technologies on > Wednesday, November 26, 2014 > > in 18:30 at > Google Campus Tel Aviv, Electra Tower > > > Yigal Alon 98, Tel Aviv-Yafo (edit map > > ) > More details below and at the link. Hope to see you there. > > Regards, > > -- Shlomi Fish > > ---------- Forwarded message ---------- > From: Shlomi Fish > Date: Mon, Nov 17, 2014 at 6:40 PM > Subject: Fw: [Qt-israel] Qt talk at the next FOSS Monthly meetup > To: Shlomi Fish > > > > > Begin forwarded message: > > Date: Mon, 17 Nov 2014 07:12:12 +0200 > From: ynon perek > To: Local Qt community > Subject: [Qt-israel] Qt talk at the next FOSS Monthly meetup > > > Hi All, > > In the next FOSS monthly meet up I'll talk about how to write multi > threaded code in Qt, and share some tips to make your life easier while > doing so. > > Ido will give the second talk about development Anti-Patterns. > > For details and registration please visit the event page: > > http://www.meetup.com/Open-Source-and-Free-Software-in-Israel/events/218634223/ > > Regards, > Ynon > > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > Humanity - Parody of Modern Life - http://shlom.in/humanity > > I figured wrong (with a capital R). > ? Harvey Danger: ?Wine, Women and Song?. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > _______________________________________________ > Qt-israel mailing list > Qt-israel at hamakor.org.il > http://hamakor.org.il/cgi-bin/mailman/listinfo/qt-israel > > > > > -- > ------------------------------------------ > Shlomi Fish http://www.shlomifish.org/ > > Chuck Norris helps the gods that help themselves. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Sun Nov 23 22:45:59 2014 From: amichai at iglu.org.il (Amichai Rotman) Date: Sun, 23 Nov 2014 22:45:59 +0200 Subject: Backdoor? Message-ID: Hi All, I am trying to troubleshoot a bottleneck in my internet connection. I came across a few lines like these ones when I run 'netstat -ptW': tcp 0 0 10.0.0.3:42239 82-166-201-152.barak-online.net:http ESTABLISHED 5881/chrome tcp 0 0 10.0.0.3:55224 bzq-179-180-121.static.bezeqint.net:https ESTABLISHED 5881/chrome I was once connected to these ISPs, but not for some time.... I have Netgear DGN2200 v2 provided by Bezeq, running firmware V1.0.8.31_1.8.31. Does Bezeq and the ISPs open a backdoor in my router somehow? How can I find out exactly where I am connected and why? Thanks! Amichai -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Sun Nov 23 23:02:11 2014 From: amos.shapira at gmail.com (Amos Shapira) Date: Mon, 24 Nov 2014 08:02:11 +1100 Subject: Backdoor? In-Reply-To: References: Message-ID: There are various chrome tools, e.g. the Task Manager. On 24 November 2014 at 07:45, Amichai Rotman wrote: > Hi All, > > I am trying to troubleshoot a bottleneck in my internet connection. > > I came across a few lines like these ones when I run 'netstat -ptW': > > tcp 0 0 10.0.0.3:42239 > 82-166-201-152.barak-online.net:http ESTABLISHED 5881/chrome > tcp 0 0 10.0.0.3:55224 > bzq-179-180-121.static.bezeqint.net:https ESTABLISHED 5881/chrome > > I was once connected to these ISPs, but not for some time.... > > I have Netgear DGN2200 v2 provided by Bezeq, running firmware > V1.0.8.31_1.8.31. > > Does Bezeq and the ISPs open a backdoor in my router somehow? > > How can I find out exactly where I am connected and why? > > Thanks! > > Amichai > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Nov 24 00:26:21 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 24 Nov 2014 00:26:21 +0200 Subject: Backdoor? In-Reply-To: References: Message-ID: Bezeq can replace the firmware without talking to you without being onsite, so yes they have a backdoor in your router. Personally I prefer using a decent wireless router of my own (running openwrt preferably) and having a simple bezeq box connected to it's WAN port, like that bezeq stays outside my network, and if they only had a wireless bezeq box for whatever reason the Bezeq_free is guaranteed to be 100% separate from my network. HTH, Eliyahu - ????? 2014-11-23 23:02 GMT+02:00 Amos Shapira : > There are various chrome tools, e.g. the Task Manager. > > On 24 November 2014 at 07:45, Amichai Rotman wrote: > >> Hi All, >> >> I am trying to troubleshoot a bottleneck in my internet connection. >> >> I came across a few lines like these ones when I run 'netstat -ptW': >> >> tcp 0 0 10.0.0.3:42239 >> 82-166-201-152.barak-online.net:http ESTABLISHED 5881/chrome >> tcp 0 0 10.0.0.3:55224 >> bzq-179-180-121.static.bezeqint.net:https ESTABLISHED 5881/chrome >> >> I was once connected to these ISPs, but not for some time.... >> >> I have Netgear DGN2200 v2 provided by Bezeq, running firmware >> V1.0.8.31_1.8.31. >> >> Does Bezeq and the ISPs open a backdoor in my router somehow? >> >> How can I find out exactly where I am connected and why? >> >> Thanks! >> >> Amichai >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > > -- > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From linux-il at shimi.net Mon Nov 24 00:53:50 2014 From: linux-il at shimi.net (shimi) Date: Mon, 24 Nov 2014 00:53:50 +0200 Subject: Backdoor? In-Reply-To: References: Message-ID: On Sun, Nov 23, 2014 at 10:45 PM, Amichai Rotman wrote: > Hi All, > > I am trying to troubleshoot a bottleneck in my internet connection. > > I came across a few lines like these ones when I run 'netstat -ptW': > > tcp 0 0 10.0.0.3:42239 > 82-166-201-152.barak-online.net:http ESTABLISHED 5881/chrome > This is a server on the Akamai CDN. Could be any website using Akamai. Use a sniffer instead of netstat if you want to know what's going on. > tcp 0 0 10.0.0.3:55224 > bzq-179-180-121.static.bezeqint.net:https ESTABLISHED 5881/chrome > > Using -n in netstat is advised; Some IPs have a reverse DNS without a matching forward DNS. Anyways, this is likely 212.179.180.121. Also known as: $ host www.google.com | grep 212.179.180.121 www.google.com has address 212.179.180.121 > Does Bezeq and the ISPs open a backdoor in my router somehow? > > They could be, but this log is probably not showing the case. -- Shimi -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Mon Nov 24 16:27:08 2014 From: amichai at iglu.org.il (Amichai Rotman) Date: Mon, 24 Nov 2014 16:27:08 +0200 Subject: Recommended Router w/ADSL Modem Message-ID: Can any of you recommend an off-the-shelf ADSL modem/router I can install OpenWRT on? My current router is a Netgear DGN2200 by Bezezeq. Thanks! Amichai Sent from my Galaxy S3 -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Mon Nov 24 21:57:57 2014 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 24 Nov 2014 21:57:57 +0200 Subject: Linux install party @ HUJI Message-ID: There is currently some low key talk of arranging a linux install party for new students (and others interested) at Givat Ram. Nothing specific as yet, the TA still needs to get back to us whether or not there is enough interest. But I want to ask already if there is is enough interest are there people on the list interested in helping out? Thanks, Eliyahu - ????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dimidd at gmail.com Mon Nov 24 22:32:33 2014 From: dimidd at gmail.com (Dimid Duchovny) Date: Mon, 24 Nov 2014 22:32:33 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: I'll be glad to help. 2014-11-24 21:57 GMT+02:00 E.S. Rosenberg : > There is currently some low key talk of arranging a linux install party > for new students (and others interested) at Givat Ram. > > Nothing specific as yet, the TA still needs to get back to us whether or > not there is enough interest. > > But I want to ask already if there is is enough interest are there people > on the list interested in helping out? > > Thanks, > Eliyahu - ????? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladypine at gmail.com Tue Nov 25 09:53:55 2014 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Tue, 25 Nov 2014 09:53:55 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: 1. Good luck! 2. The last time we did an installation party, we actually did a configuration party: people find it easy to install, but they sometimes need special software, or have a problem installing it - that killer app for which they set up linux to begin with. It is also more interesting for the volunteers. I suggest considering. On Mon, Nov 24, 2014 at 9:57 PM, E.S. Rosenberg wrote: > There is currently some low key talk of arranging a linux install party > for new students (and others interested) at Givat Ram. > > Nothing specific as yet, the TA still needs to get back to us whether or > not there is enough interest. > > But I want to ask already if there is is enough interest are there people > on the list interested in helping out? > > Thanks, > Eliyahu - ????? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Tue Nov 25 10:19:02 2014 From: mordbe0 at gmail.com (Mord Behar) Date: Tue, 25 Nov 2014 10:19:02 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: On Tue, Nov 25, 2014 at 9:53 AM, Orna Agmon Ben-Yehuda wrote: > 1. Good luck! > 2. The last time we did an installation party, we actually did a > configuration party: people find it easy to install, but they sometimes > need special software, or have a problem installing it - that killer app > for which they set up linux to begin with. It is also more interesting for > the volunteers. I suggest considering. > I remember that. I think the last time there was an installation party (6 years ago?) was when I installed Linux on my laptop. And that introduced me to the community... > > On Mon, Nov 24, 2014 at 9:57 PM, E.S. Rosenberg > wrote: > >> There is currently some low key talk of arranging a linux install party >> for new students (and others interested) at Givat Ram. >> >> Nothing specific as yet, the TA still needs to get back to us whether or >> not there is enough interest. >> >> But I want to ask already if there is is enough interest are there people >> on the list interested in helping out? >> >> Thanks, >> Eliyahu - ????? >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > > -- > Orna Agmon Ben-Yehuda. > http://ladypine.org > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabin at rabin.io Tue Nov 25 16:28:09 2014 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Tue, 25 Nov 2014 16:28:09 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: I'm limited to only Sundays & Thursdays but +1 for helping, -- Rabin On Mon, Nov 24, 2014 at 9:57 PM, E.S. Rosenberg wrote: > There is currently some low key talk of arranging a linux install party > for new students (and others interested) at Givat Ram. > > Nothing specific as yet, the TA still needs to get back to us whether or > not there is enough interest. > > But I want to ask already if there is is enough interest are there people > on the list interested in helping out? > > Thanks, > Eliyahu - ????? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sara.fink at gmail.com Tue Nov 25 18:44:54 2014 From: sara.fink at gmail.com (sara fink) Date: Tue, 25 Nov 2014 18:44:54 +0200 Subject: BYOD in schools In-Reply-To: References: Message-ID: Gabor, it's worse than that. I don't know what programs they want to install, but I heard a talk on reshet bet few days ago (program of keren noibach). First, they mentioned that it's not legal to ask the parents to buy notebooks/tablets etc due to discrimination. There are parents who can't afford it. So the ministry of education understood they made a mistake and started to drop off the idea. Second, technically they started to install some programs (before they understood that their actions are not legal) and couldn't install everything, because they are not well prepared. They have a mess there. https://www.youtube.com/watch?v=H6NfZMlZoQ8 https://www.youtube.com/watch?v=fVfHaRNQD2A http://www.ifat.com/VT/Trans.aspx?ID=6010393&CID=100456 ????? On Wed, Nov 19, 2014 at 1:53 PM, Mord Behar wrote: > I don't know about students, but my mother is a teacher and she has to use > some legacy software that was written for Windows XP and fails on Win 7 > about 70% of the time. It's proprietary software written by the ministry > for education and could not be easily ported to Linux. > > On Wed, Nov 19, 2014 at 11:38 AM, Gabor Szabo wrote: > >> In our school the management is trying to implement BYOD = Bring Your Own >> Device >> >> Some details here: >> >> http://schooly.co.il/rabin-modiin/page.asp?page_parent=105646 >> >> First they talked about tablets but now it seems they talk about making >> us buy >> notebooks. >> Among many other issues, please note the technical requirements that >> gives us a choice of operating system: >> Windows 7 or Windows 8 >> >> OTOH I could not find any information regarding the applications they >> want to run. >> >> Do you have any information about similar projects in other schools in >> Israel? >> What kind of devices have they used? What kind of applications do they >> install? >> >> Gabor >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wickedpheonix at gmail.com Tue Nov 25 22:10:34 2014 From: wickedpheonix at gmail.com (Ari Becker) Date: Tue, 25 Nov 2014 20:10:34 +0000 Subject: Linux install party @ HUJI References: Message-ID: Yeah, I'm also a weekends-only kinda guy, but if it fit with my schedule then I could help. On Tue, Nov 25, 2014, 16:29 Rabin Yasharzadehe wrote: > I'm limited to only Sundays & Thursdays > > but +1 for helping, > > > -- > Rabin > > On Mon, Nov 24, 2014 at 9:57 PM, E.S. Rosenberg > wrote: > >> There is currently some low key talk of arranging a linux install party >> for new students (and others interested) at Givat Ram. >> >> Nothing specific as yet, the TA still needs to get back to us whether or >> not there is enough interest. >> >> But I want to ask already if there is is enough interest are there people >> on the list interested in helping out? >> >> Thanks, >> Eliyahu - ????? >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Tue Nov 25 22:36:06 2014 From: amichai at iglu.org.il (Amichai Rotman) Date: Tue, 25 Nov 2014 22:36:06 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: I'd be glad to help too. 2014-11-25 22:10 GMT+02:00 Ari Becker : > Yeah, I'm also a weekends-only kinda guy, but if it fit with my schedule > then I could help. > > > On Tue, Nov 25, 2014, 16:29 Rabin Yasharzadehe wrote: > >> I'm limited to only Sundays & Thursdays >> >> but +1 for helping, >> >> >> -- >> Rabin >> >> On Mon, Nov 24, 2014 at 9:57 PM, E.S. Rosenberg > > wrote: >> >>> There is currently some low key talk of arranging a linux install party >>> for new students (and others interested) at Givat Ram. >>> >>> Nothing specific as yet, the TA still needs to get back to us whether or >>> not there is enough interest. >>> >>> But I want to ask already if there is is enough interest are there >>> people on the list interested in helping out? >>> >>> Thanks, >>> Eliyahu - ????? >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >>> >>> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elazarl at gmail.com Tue Nov 25 22:56:01 2014 From: elazarl at gmail.com (Elazar Leibovich) Date: Tue, 25 Nov 2014 20:56:01 +0000 Subject: How do I benchmark a spin lock? Message-ID: The first question I have in mind, is, how do you define a lock benchmark? Is your goal to minimize overhead? Is your goal to minimize the latency of a successful uncontended acquire? Is your goal to minimize bus load for other CPU when three CPUs are waiting for the spin lock? What we're measuring is not well defined. Looking at [0] (wow, So little have changed in SMP architectures since 1990!) and [1], gives a few options: 1) Measure the time it takes to perform a critical section *N* times by *n *CPUs concurrently. 2) Measure overhead. Compare the time it takes to a single CPU to do a task *N* times with no locks. Do that with *n* CPUs, where the task is protected by a spin lock. The time it took to do the task with spinlock, minus the time it took to do it alone is the overhead. 3) Measure the overhead of other *m* CPUs doing a different task, while *n* CPUs are contending over a critical section. 4) Measure latency. This is a bit tricky to measure. What [1] suggests is, measure the average time between two spin locks read. If I understand that correctly, they measure the time it took to just check if the spinlock is taken. 5) What I had in mind, is measuring how much time did it took from the time a CPU released the lock, to the time another CPU held it. This is tricky to do, since CPUs clocks are not always synchronized or cheap enough to check. The devil's in the details, so even though [1] have a bird's eye view description of the methodology, there are still missing details (e.g., did they measure time or cycles?). I'm far from expert on this matters, so I wonder: Is there an industry standard for benchmarking a spinlock? Something like JS octane. A benchmark which should mimic many real world scenarios? If indeed there is, is there an open source implementation? If there isn't, are there better papers describing spinlock benchmarking methodology? [0] http://homes.cs.washington.edu/~tom/pubs/spinlock.pdf [1] http://www.ideal.ece.ufl.edu/workshops/wiosca08/paper2.pdf -------------- next part -------------- An HTML attachment was scrubbed... URL: From mulix at mulix.org Wed Nov 26 10:43:39 2014 From: mulix at mulix.org (Muli Ben-Yehuda) Date: Wed, 26 Nov 2014 10:43:39 +0200 Subject: How do I benchmark a spin lock? In-Reply-To: References: Message-ID: <20141126084339.GB2798@needle> On Tue, Nov 25, 2014 at 08:56:01PM +0000, Elazar Leibovich wrote: > The first question I have in mind, is, how do you define a lock > benchmark? Is your goal to minimize overhead? Is your goal to > minimize the latency of a successful uncontended acquire? Is your > goal to minimize bus load for other CPU when three CPUs are waiting > for the spin lock? Good questions all, but usually you want to focus on the important case first. I would argue that for a spinlock, the most important case is an uncontended acquire, since if most acquires are contended, then you should redesign the code that uses the lock. The second most important case is the contended acquire/contended release. > What we're measuring is not well defined. > > Looking at [0] (wow, So little have changed in SMP architectures since > 1990!) and [1], gives a few options: > > 1) Measure the time it takes to perform a critical section *N* times > by *n *CPUs > concurrently. This is measuring the contended acquire/contended release. > 2) Measure overhead. Compare the time it takes to a single CPU to do a task > *N* times with no locks. Do that with *n* CPUs, where the task is protected > by a spin lock. The time it took to do the task with spinlock, minus the > time it took to do it alone is the overhead. ... is the overhead for *N* CPUs on this architecture. This is again measuring the contended case. > 3) Measure the overhead of other *m* CPUs doing a different task, > while *n* CPUs are contending over a critical section. This is measuring the interference caused by the bus traffic due to the contention. It's interesting, but it's hard to know just form this benchmark what is reasonable and what isn't, and how to improve the results. A benchmark whose results aren't actionable is not as useful as a benchmark where it's immediately obvious what you need to fix. > Is there an industry standard for benchmarking a spinlock? Something > like JS octane. A benchmark which should mimic many real world > scenarios? Not as far as I know. Locks are usually benchmarked using a micro-benchmark that performs many acquires/releases in a loop with exact details depending on how the lock is likely to be used "in anger". Before benchmarking, you should first ask yourself (1) how is this lock implementation likely to be used? (2) what are the fast-path, common operations, and what are the slow-paths, uncommon operations? And then benchmark the fast-path operations in a setup that mimics how the implementation is likely to be used. Cheers, Muli From elazarl at gmail.com Wed Nov 26 18:22:23 2014 From: elazarl at gmail.com (Elazar Leibovich) Date: Wed, 26 Nov 2014 16:22:23 +0000 Subject: How do I benchmark a spin lock? References: <20141126084339.GB2798@needle> Message-ID: Thanks! Great feedback. I just want to quickly reference two points: 1) In a good designed systems, most of the times, the lock would be held uncontended. >From [0]: "it might seem that the behavior of multiprocessors when there is contention for a spin lock is not important. A highly parallel application will by definition have no lock with significant amount of contention, since that would imply a sequential component. If an application has a lock that is a bottleneck, the best alternative would be to redesign the application's algorithms to eliminate the contention. In no case does it make sense to add processors to an application if the end up only spin-waiting. There are, however, several situations where spin lock performance when there is contention is important. Poor contention performance may prevent an application with a heavily utilized lock from reaching its peak performance, because the average number of spin-waiting processors will become nontrivial as the lock approaches saturation. Furthermore, if processors arrive at a lock in a burst, queue lengths can be temporarily long, resulting in bad short-term performance, without the lock being a long-term bottleneck. alternately, it may not always be possible to tune a program to use the optimal number of processors. An Operating system, for instance, has little control over the rate at which users make operating system calls. At high load, locks that are normally not a problem could become source of contention. " Measuring the uncontended case is a very good idea, but is not too problematic. 2) The best benchmarking is performed by a looking at a real world use case and simplifying it. Agreed. This is the motherhood and apple pie of all benchmark. It is however not always evident how the lock would be used exactly, even if you are the one intending to use it. True, it'll be used to protect a short critical section, where the cost of waiting is lower than the cost of a context switch, but this is hardly enough to specify the use cases. Instead of further discussion, I'd like to propose a simple practical spinlock benchmark, which I think could be useful as a general measure, and could be the baseline of more specific tests. I'll be grateful for any feedback. Design goals: 1) Benchmark should run on a reasonable OS. Requiring a special purpose hardware would increase benchmark accuracy, but would make running it much more difficult. 2) Running with an OS might distort the benchmark with context switches or interrupt. To solve that, you can repeat the test multiple times and remove outliers. 3) Should give a few simple outputs, so that lock designer could use the results as a proxy for how to optimize the lock for his use case. 4) Initial design assumes x86 for brevity, but changes to other architecture should be trivial. Implementation: Input parameters: LENGTH estimated # cycles that the lock would be held. N number of CPUs contending for the lock 1) Count cycles (e.g., r for uncontended acquire and release - that would be the first output. 2) Measure the memory footprint of uncontended acquire and release - that would be the second output. This can be done by invalidating the cache, running lock acquire release, and reading cache misses from performance counters. To eliminate other overhead, do the same with a NOP lock - this would be the overhead. That would be the second output. 3) Pin N threads to N different logical CPUs. We can afford ignoring logical CPUs, since in most use cases you cannot ensure two threads would run on different hardware cpus. Each CPU would pause for LENGTH cycles, by running commands that do NOT use the memory bus. 4) Count time (e.g., rdtsc) from the time the first CPU acquired the lock, to the time the last one did. Do that by acquiring the lock, keeping the timestamp in a register, releasing the lock, and then after a 1ms pause, writing this value to a known location, so that writing the timestamp won't interfere with the test. after 10ms, when all CPUS are definitely done with the benchmark. The problem here is, the timestamps between CPUs might not be synchronized. Possible solutions are: 4.a. Use HPET instead, than again the HPET overhead might distort the test case. 4.b On newer Intel HW, I understand there's invariant tsc which can be a solution. Not sure how portable would that be. 4.c Assuming the time drift is small, averaging over multiple experiments might give a small enough standard deviation. I'm not sure how much problematic would that be in practice. 5?) I'm not sure its possible, or meaningful, but one measure the memory bus utilization during the lock contention. Maybe counting the total cache misses for all CPUs while contending over the lock. You'll end up with four actionable parameters: CPU usage for the uncontended case. Memory footprint for the uncontended case. CPU overhead for the contended case Memory bus usage (or a close proxy of it) in the contended case. Then the user can choose what to optimize according to his use case. I'll be glad for any feedback. Thanks again. On Wed Nov 26 2014 at 10:43:43 AM Muli Ben-Yehuda wrote: > On Tue, Nov 25, 2014 at 08:56:01PM +0000, Elazar Leibovich wrote: > > > The first question I have in mind, is, how do you define a lock > > benchmark? Is your goal to minimize overhead? Is your goal to > > minimize the latency of a successful uncontended acquire? Is your > > goal to minimize bus load for other CPU when three CPUs are waiting > > for the spin lock? > > Good questions all, but usually you want to focus on the important > case first. I would argue that for a spinlock, the most important case > is an uncontended acquire, since if most acquires are contended, then > you should redesign the code that uses the lock. The second most > important case is the contended acquire/contended release. > > > What we're measuring is not well defined. > > > > Looking at [0] (wow, So little have changed in SMP architectures since > > 1990!) and [1], gives a few options: > > > > 1) Measure the time it takes to perform a critical section *N* times > > by *n *CPUs > > concurrently. > > This is measuring the contended acquire/contended release. > > > 2) Measure overhead. Compare the time it takes to a single CPU to do a > task > > *N* times with no locks. Do that with *n* CPUs, where the task is > protected > > by a spin lock. The time it took to do the task with spinlock, minus the > > time it took to do it alone is the overhead. > > ... is the overhead for *N* CPUs on this architecture. This is again > measuring the contended case. > > > 3) Measure the overhead of other *m* CPUs doing a different task, > > while *n* CPUs are contending over a critical section. > > This is measuring the interference caused by the bus traffic due to > the contention. It's interesting, but it's hard to know just form this > benchmark what is reasonable and what isn't, and how to improve the > results. A benchmark whose results aren't actionable is not as useful > as a benchmark where it's immediately obvious what you need to fix. > > > Is there an industry standard for benchmarking a spinlock? Something > > like JS octane. A benchmark which should mimic many real world > > scenarios? > > Not as far as I know. Locks are usually benchmarked using a > micro-benchmark that performs many acquires/releases in a loop with > exact details depending on how the lock is likely to be used "in > anger". Before benchmarking, you should first ask yourself > (1) how is this lock implementation likely to be used? (2) what are > the fast-path, common operations, and what are the slow-paths, > uncommon operations? And then benchmark the fast-path operations in a > setup that mimics how the implementation is likely to be used. > > Cheers, > Muli > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guysoft42 at gmail.com Sat Nov 29 12:52:36 2014 From: guysoft42 at gmail.com (Guy Sheffer) Date: Sat, 29 Nov 2014 12:52:36 +0200 Subject: Linux install party @ HUJI In-Reply-To: References: Message-ID: Hey Guys, If you need any help I can do my best. I am busy as hell these days but would love to come and help for old times sake :) Guy Sheffer On Nov 24, 2014 9:58 PM, "E.S. Rosenberg" wrote: > There is currently some low key talk of arranging a linux install party > for new students (and others interested) at Givat Ram. > > Nothing specific as yet, the TA still needs to get back to us whether or > not there is enough interest. > > But I want to ask already if there is is enough interest are there people > on the list interested in helping out? > > Thanks, > Eliyahu - ????? > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eli at billauer.co.il Sat Nov 29 17:35:17 2014 From: eli at billauer.co.il (Eli Billauer) Date: Sat, 29 Nov 2014 17:35:17 +0200 Subject: [HAIFUX LECTURE] Topics in advanced Python -- Hai Zaar Message-ID: <5479E7B5.6030507@billauer.co.il> On Monday, December 1st at 18:30, Haifux will gather to hear a talk by Hai Zaar: Topics in advanced Python Abstract * (Advanced) decorators * Descriptors * Multiple inheritance * The magic of "type" * Metaclasses * Slots vs dictionaries * Generators in depth * Async programming ================================================================= 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: There are no scheduled lectures. ================================================================== 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 atwebmaster at haifux.org -- Web:http://www.billauer.co.il