From w1 at zak.co.il Wed Jul 8 10:21:16 2015 From: w1 at zak.co.il (Omer Zak) Date: Wed, 08 Jul 2015 10:21:16 +0300 Subject: Accessibility in August Penguin 2015 Message-ID: <1436340076.5237.117.camel@zak.co.il> This message is for anyone who is contemplating participation in the upcoming August Penguin 2015, but has a disability which causes him to need special provisions to fully attend the event. We plan to have, as in previous years, a notetaker who will transcribe lectures in one track for the deaf and hard of hearing. If you need a different accessibility provision (such as a listening device for the hard of hearing, an escort for the blind, etc.), please contact me ASAP with information about your disability and what accessibility provision do you need - even if you are not sure you'll attend the event. Thanks, --- Omer Zak (Accessibility Coordinator for the event) -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From yba at tkos.co.il Fri Jul 17 08:14:00 2015 From: yba at tkos.co.il (Jonathan Ben Avraham) Date: Fri, 17 Jul 2015 08:14:00 +0300 (IDT) Subject: [JOB] Kernel and BSP Engineer Message-ID: Dear linux-il colleagues, Tk Open Systems is looking for a kernel and board support engineer for long-term, full-time employment with competitive compensation. We prefer to hire a salaried employee, but are also willing to consider a contractor. The work is located in Gush Dan. It involves multiple projects lasting from a month to a year for customers using SoC's from Marvell, Qualcomm, Atmel, Freescale and other vendors. The position requires good customer relations abilities, and some degree of willingness to manage a team. If you are interested and qualified, please contact Yair Ben-Avraham Frisch 052-343-2297. Shabbat Shalom, - yba -- 9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open Systems =}-------- Jonathan Ben-Avraham ("yba") ----------ooO--U--Ooo------------{= mailto:yba at tkos.co.il tel:+972.52.486.3386 http://tkos.co.il skype:benavrhm From ladypine at gmail.com Mon Jul 20 11:56:46 2015 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Mon, 20 Jul 2015 11:56:46 +0300 Subject: Eliminating binary from a text file Message-ID: Hello everyone, I often have damaged text files (due to a lovely storage system). The files are of different formats, although I can usually assume they contain spaces. The files are structured as lines. Every once in a while, the lovely destruction (ahm....storage) system inserts binary garbage to the file. I wish to fix the files by removing the cancer without leaving any leftovers. That is, I want to lose partial lines. I tried using grep with all sorts of keys, but it did not do the trick. strings catches too little - it leaves partial lines. Is there an elegant way to do the trick line-wise? Thanks Orna -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dov.grobgeld at gmail.com Mon Jul 20 12:25:39 2015 From: dov.grobgeld at gmail.com (Dov Grobgeld) Date: Mon, 20 Jul 2015 12:25:39 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: Why not do it through a short python script? Something like (not tested) import os for dirpath, dirnames, filenames in os.walk('damagedfilesystem'): for fn in filenames: if fn.endswith('.txt'): new_fn = fn.replace('.txt','-fixed.txt') out_fh = open(new_fn,'w') for line in open(fn): if islineok(line): out_fh.write(line) close(out_fh) Just fill in islineok() with whatever logic you want. Regards, Dov On Mon, Jul 20, 2015 at 11:56 AM, Orna Agmon Ben-Yehuda wrote: > Hello everyone, > > I often have damaged text files (due to a lovely storage system). The > files are of different formats, although I can usually assume they contain > spaces. The files are structured as lines. > > Every once in a while, the lovely destruction (ahm....storage) system > inserts binary garbage to the file. I wish to fix the files by removing the > cancer without leaving any leftovers. That is, I want to lose partial lines. > > I tried using grep with all sorts of keys, but it did not do the trick. > strings catches too little - it leaves partial lines. > Is there an elegant way to do the trick line-wise? > > Thanks > Orna > > -- > 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 shlomif at gmail.com Mon Jul 20 12:34:36 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Mon, 20 Jul 2015 12:34:36 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: Hi Orna, On Mon, Jul 20, 2015 at 11:56 AM, Orna Agmon Ben-Yehuda wrote: > Hello everyone, > > I often have damaged text files (due to a lovely storage system). The > files are of different formats, although I can usually assume they contain > spaces. The files are structured as lines. > > Every once in a while, the lovely destruction (ahm....storage) system > inserts binary garbage to the file. I wish to fix the files by removing the > cancer without leaving any leftovers. That is, I want to lose partial lines. > > I tried using grep with all sorts of keys, but it did not do the trick. > strings catches too little - it leaves partial lines. > Is there an elegant way to do the trick line-wise? > > It would help to know exactly which lines you wish to eliminate. Otherwise, you can do various tasks like that using perl -lane (while possibly using the -i flag) E.g: (untested): $ export THRESH=5 $ perl -lan -E 'print unless ((() = /([\x80-\xFF])/g) > $ENV{THRESH})' < existing-file.txt > new-file.txt The "ruby" executable has similar flags (with the Ruby?s expression syntax naturally). Hope it helps. Regards, ? Shlomi Fish -- 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: From rabin at rabin.io Mon Jul 20 13:40:33 2015 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Mon, 20 Jul 2015 13:40:33 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: can you provide a example of a bad lines and how do you like them to look like after you fix them ? -- Rabin On Mon, Jul 20, 2015 at 11:56 AM, Orna Agmon Ben-Yehuda wrote: > Hello everyone, > > I often have damaged text files (due to a lovely storage system). The > files are of different formats, although I can usually assume they contain > spaces. The files are structured as lines. > > Every once in a while, the lovely destruction (ahm....storage) system > inserts binary garbage to the file. I wish to fix the files by removing the > cancer without leaving any leftovers. That is, I want to lose partial lines. > > I tried using grep with all sorts of keys, but it did not do the trick. > strings catches too little - it leaves partial lines. > Is there an elegant way to do the trick line-wise? > > Thanks > Orna > > -- > 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 shachar at shemesh.biz Mon Jul 20 21:24:39 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Mon, 20 Jul 2015 21:24:39 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: <55AD3CE7.5080507@shemesh.biz> On 20/07/15 11:56, Orna Agmon Ben-Yehuda wrote: > Hello everyone, > > I often have damaged text files (due to a lovely storage system). The > files are of different formats, although I can usually assume they > contain spaces. The files are structured as lines. > > Every once in a while, the lovely destruction (ahm....storage) system > inserts binary garbage to the file. I wish to fix the files by > removing the cancer without leaving any leftovers. That is, I want to > lose partial lines. > > I tried using grep with all sorts of keys, but it did not do the trick. > strings catches too little - it leaves partial lines. > Is there an elegant way to do the trick line-wise? > > Thanks > Orna http://debugmo.de/2009/04/bgrep-a-binary-grep/ Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Mon Jul 20 21:46:43 2015 From: w1 at zak.co.il (Omer Zak) Date: Mon, 20 Jul 2015 21:46:43 +0300 Subject: Extending R.E. Syntax (was: Re: Eliminating binary from a text file) In-Reply-To: <55AD3CE7.5080507@shemesh.biz> References: <55AD3CE7.5080507@shemesh.biz> Message-ID: <1437418003.22862.52.camel@zak.co.il> Instead of creating a separate bgrep, it would have been better to be able to extend the syntax of regular expressions (in egrep, Perl and other platforms) to allow specification of binary strings having arbitrary length by means of an hex string. This would come instead of making it very cumbersome to specify strings longer than one character (\xnn or \unnnn or equivalent - see also: http://www.regular-expressions.info/unicode.html). And if we are at it, it would have been nice to add to all R.E. engines hooks to allow private extensions of R.E. syntax, in order to allow people to concisely express special parsing requirements. --- Omer On Mon, 2015-07-20 at 21:24 +0300, Shachar Shemesh wrote: > On 20/07/15 11:56, Orna Agmon Ben-Yehuda wrote: > > > Hello everyone, > > > > > > I often have damaged text files (due to a lovely storage system). > > The files are of different formats, although I can usually assume > > they contain spaces. The files are structured as lines. > > > > > > Every once in a while, the lovely destruction (ahm....storage) > > system inserts binary garbage to the file. I wish to fix the files > > by removing the cancer without leaving any leftovers. That is, I > > want to lose partial lines. > > > > > > I tried using grep with all sorts of keys, but it did not do the > > trick. > > strings catches too little - it leaves partial lines. > > Is there an elegant way to do the trick line-wise? > > > > > > Thanks > > Orna > > > http://debugmo.de/2009/04/bgrep-a-binary-grep/ -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From ladypine at gmail.com Mon Jul 20 22:19:11 2015 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Mon, 20 Jul 2015 22:19:11 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: The bad data is NULLs (I did not have hexedit, but was introduced to hexedit mode in emacs which proved useful). In the meantime, Muli Ben-Yehuda suggested to prevent the mess to begin with. The corrupted file is the output of a C program. The problem is that the program continues writing to the file, but it does not verify that the data is written. In a normal filesystem, I would not care, but mine fails several times a day. The NULLs are empty data, because the program did fseek forward, but the file was not written. The solution I am testing is syncing. The options I got were: 1. to mount the filesystem such that it will always sync, 2. to sync everything the user is running at a certain point, or 3. to fsync just the problematic file, when I stop writing to it. I am currently testing the third option, for one file only. It is likely to hurt the performance the least. On Mon, Jul 20, 2015 at 1:40 PM, Rabin Yasharzadehe wrote: > can you provide a example of a bad lines and how do you like them to look > like after you fix them ? > > -- > Rabin > > On Mon, Jul 20, 2015 at 11:56 AM, Orna Agmon Ben-Yehuda < > ladypine at gmail.com> wrote: > >> Hello everyone, >> >> I often have damaged text files (due to a lovely storage system). The >> files are of different formats, although I can usually assume they contain >> spaces. The files are structured as lines. >> >> Every once in a while, the lovely destruction (ahm....storage) system >> inserts binary garbage to the file. I wish to fix the files by removing the >> cancer without leaving any leftovers. That is, I want to lose partial lines. >> >> I tried using grep with all sorts of keys, but it did not do the trick. >> strings catches too little - it leaves partial lines. >> Is there an elegant way to do the trick line-wise? >> >> Thanks >> Orna >> >> -- >> 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 >> >> > -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From boruch_baum at gmx.com Tue Jul 21 00:22:35 2015 From: boruch_baum at gmx.com (Boruch Baum) Date: Mon, 20 Jul 2015 17:22:35 -0400 Subject: Eliminating binary from a text file In-Reply-To: References: Message-ID: <55AD669B.6080100@gmx.com> I see that I'm late to the discussion and that your original problem has morphed a bit. Maybe the simplest and oldest solution is the `tr -d' command. See `man tr'. On 07/20/2015 04:56 AM, Orna Agmon Ben-Yehuda wrote: > Hello everyone, > > I often have damaged text files (due to a lovely storage system). The files > are of different formats, although I can usually assume they contain > spaces. The files are structured as lines. > > Every once in a while, the lovely destruction (ahm....storage) system > inserts binary garbage to the file. I wish to fix the files by removing the > cancer without leaving any leftovers. That is, I want to lose partial lines. > > I tried using grep with all sorts of keys, but it did not do the trick. > strings catches too little - it leaves partial lines. > Is there an elegant way to do the trick line-wise? > > Thanks > Orna > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 From amos.shapira at gmail.com Tue Jul 21 02:20:41 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 21 Jul 2015 09:20:41 +1000 Subject: Eliminating binary from a text file In-Reply-To: <55AD669B.6080100@gmx.com> References: <55AD669B.6080100@gmx.com> Message-ID: +1 for "tr -d '\0' < file > newfile", based on the updated description. But "prevention is better than a cure" - find a way to avoid this in the first place. On 21 July 2015 at 07:22, Boruch Baum wrote: > I see that I'm late to the discussion and that your original problem has > morphed a bit. Maybe the simplest and oldest solution is the `tr -d' > command. See `man tr'. > > On 07/20/2015 04:56 AM, Orna Agmon Ben-Yehuda wrote: > > Hello everyone, > > > > I often have damaged text files (due to a lovely storage system). The > files > > are of different formats, although I can usually assume they contain > > spaces. The files are structured as lines. > > > > Every once in a while, the lovely destruction (ahm....storage) system > > inserts binary garbage to the file. I wish to fix the files by removing > the > > cancer without leaving any leftovers. That is, I want to lose partial > lines. > > > > I tried using grep with all sorts of keys, but it did not do the trick. > > strings catches too little - it leaves partial lines. > > Is there an elegant way to do the trick line-wise? > > > > Thanks > > Orna > > > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > -- > hkp://keys.gnupg.net > CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 > > > _______________________________________________ > 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 shachar at shemesh.biz Tue Jul 21 06:38:05 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Tue, 21 Jul 2015 06:38:05 +0300 Subject: Extending R.E. Syntax In-Reply-To: <1437418003.22862.52.camel@zak.co.il> References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> Message-ID: <55ADBE9D.9030300@shemesh.biz> On 20/07/15 21:46, Omer Zak wrote: > Instead of, it would have been better to Good job! Where can I download your patch? Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Tue Jul 21 06:39:08 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Tue, 21 Jul 2015 06:39:08 +0300 Subject: Eliminating binary from a text file In-Reply-To: <55AD669B.6080100@gmx.com> References: <55AD669B.6080100@gmx.com> Message-ID: <55ADBEDC.4040307@shemesh.biz> On 21/07/15 00:22, Boruch Baum wrote: > I see that I'm late to the discussion and that your original problem has > morphed a bit. Maybe the simplest and oldest solution is the `tr -d' > command. See `man tr'. > Read the original question again. She needs to eliminate the entire line where a corruption happened, not just the corrupt bytes themselves. Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From ladypine at gmail.com Tue Jul 21 06:39:32 2015 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Tue, 21 Jul 2015 06:39:32 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: <55AD669B.6080100@gmx.com> Message-ID: tr does what strings does - clears only the characters, not the full bad line. Not what I wanted. but now that I know what data I have there, I can clear it using any script (back to Dov's solution). Thanks everyone! On Tue, Jul 21, 2015 at 2:20 AM, Amos Shapira wrote: > +1 for "tr -d '\0' < file > newfile", based on the updated description. > But "prevention is better than a cure" - find a way to avoid this in the > first place. > > On 21 July 2015 at 07:22, Boruch Baum wrote: > >> I see that I'm late to the discussion and that your original problem has >> morphed a bit. Maybe the simplest and oldest solution is the `tr -d' >> command. See `man tr'. >> >> On 07/20/2015 04:56 AM, Orna Agmon Ben-Yehuda wrote: >> > Hello everyone, >> > >> > I often have damaged text files (due to a lovely storage system). The >> files >> > are of different formats, although I can usually assume they contain >> > spaces. The files are structured as lines. >> > >> > Every once in a while, the lovely destruction (ahm....storage) system >> > inserts binary garbage to the file. I wish to fix the files by removing >> the >> > cancer without leaving any leftovers. That is, I want to lose partial >> lines. >> > >> > I tried using grep with all sorts of keys, but it did not do the trick. >> > strings catches too little - it leaves partial lines. >> > Is there an elegant way to do the trick line-wise? >> > >> > Thanks >> > Orna >> > >> > >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > >> >> >> -- >> hkp://keys.gnupg.net >> CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0 >> >> >> _______________________________________________ >> 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 > > -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Tue Jul 21 07:53:21 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 21 Jul 2015 14:53:21 +1000 Subject: Eliminating binary from a text file In-Reply-To: <55ADBEDC.4040307@shemesh.biz> References: <55AD669B.6080100@gmx.com> <55ADBEDC.4040307@shemesh.biz> Message-ID: Then how about: "grep -v -P -a '\x00' file"? Based on http://superuser.com/a/612336/27453. Explantion of the flags: -v - inverse - print NON-matching lines -P - use Perl regexp -a - force treating the file as a text file On 21 July 2015 at 13:39, Shachar Shemesh wrote: > On 21/07/15 00:22, Boruch Baum wrote: > > I see that I'm late to the discussion and that your original problem has > morphed a bit. Maybe the simplest and oldest solution is the `tr -d' > command. See `man tr'. > > > Read the original question again. She needs to eliminate the entire line > where a corruption happened, not just the corrupt bytes themselves. > > Shachar > > _______________________________________________ > 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 cawacyxo at gmail.com Tue Jul 21 08:08:46 2015 From: cawacyxo at gmail.com (Alexander Sukholitko) Date: Tue, 21 Jul 2015 08:08:46 +0300 Subject: Extending R.E. Syntax (was: Re: Eliminating binary from a text file) In-Reply-To: <1437418003.22862.52.camel@zak.co.il> References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> Message-ID: Hi, Possibly using "strings file_name >new_file_name" command could resolve this problem. Thank you. Alex On Mon, Jul 20, 2015 at 9:46 PM, Omer Zak wrote: > Instead of creating a separate bgrep, it would have been better to be > able to extend the syntax of regular expressions (in egrep, Perl and > other platforms) to allow specification of binary strings having > arbitrary length by means of an hex string. > > This would come instead of making it very cumbersome to specify strings > longer than one character (\xnn or \unnnn or equivalent - see also: > http://www.regular-expressions.info/unicode.html). > > And if we are at it, it would have been nice to add to all R.E. engines > hooks to allow private extensions of R.E. syntax, in order to allow > people to concisely express special parsing requirements. > > --- Omer > > > On Mon, 2015-07-20 at 21:24 +0300, Shachar Shemesh wrote: > > On 20/07/15 11:56, Orna Agmon Ben-Yehuda wrote: > > > > > Hello everyone, > > > > > > > > > I often have damaged text files (due to a lovely storage system). > > > The files are of different formats, although I can usually assume > > > they contain spaces. The files are structured as lines. > > > > > > > > > Every once in a while, the lovely destruction (ahm....storage) > > > system inserts binary garbage to the file. I wish to fix the files > > > by removing the cancer without leaving any leftovers. That is, I > > > want to lose partial lines. > > > > > > > > > I tried using grep with all sorts of keys, but it did not do the > > > trick. > > > strings catches too little - it leaves partial lines. > > > Is there an elegant way to do the trick line-wise? > > > > > > > > > Thanks > > > Orna > > > > > http://debugmo.de/2009/04/bgrep-a-binary-grep/ > -- > What happens if one mixes together evolution with time travel to the > past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html > My own blog is at http://www.zak.co.il/tddpirate/ > > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Tue Jul 21 08:22:43 2015 From: w1 at zak.co.il (Omer Zak) Date: Tue, 21 Jul 2015 08:22:43 +0300 Subject: Extending R.E. Syntax In-Reply-To: <55ADBE9D.9030300@shemesh.biz> References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> <55ADBE9D.9030300@shemesh.biz> Message-ID: <1437456163.22862.66.camel@zak.co.il> The ancient sages of Israel have a saying "??? ???? - ?????? ?????", meaning that the end of a project is as planned in the beginning. In our case it means some discussion and feedback about proposed features and their use cases, before one plunges into implementing them. On Tue, 2015-07-21 at 06:38 +0300, Shachar Shemesh wrote: > On 20/07/15 21:46, Omer Zak wrote: > > > Instead of, it would have been better to > Good job! Where can I download your patch? > > Shachar -- There is no IGLU Cabal because My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From ladypine at gmail.com Tue Jul 21 12:08:36 2015 From: ladypine at gmail.com (Orna Agmon Ben-Yehuda) Date: Tue, 21 Jul 2015 12:08:36 +0300 Subject: Eliminating binary from a text file In-Reply-To: References: <55AD669B.6080100@gmx.com> <55ADBEDC.4040307@shemesh.biz> Message-ID: Amos, we have a winner!!! Exactly what I looked for! Thanks Orna On Tue, Jul 21, 2015 at 7:53 AM, Amos Shapira wrote: > Then how about: > > "grep -v -P -a '\x00' file"? > > Based on http://superuser.com/a/612336/27453. Explantion of the flags: > > -v - inverse - print NON-matching lines > -P - use Perl regexp > -a - force treating the file as a text file > > On 21 July 2015 at 13:39, Shachar Shemesh wrote: > >> On 21/07/15 00:22, Boruch Baum wrote: >> >> I see that I'm late to the discussion and that your original problem has >> morphed a bit. Maybe the simplest and oldest solution is the `tr -d' >> command. See `man tr'. >> >> >> Read the original question again. She needs to eliminate the entire line >> where a corruption happened, not just the corrupt bytes themselves. >> >> Shachar >> >> _______________________________________________ >> 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 > > -- Orna Agmon Ben-Yehuda. http://ladypine.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Tue Jul 21 13:10:50 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 21 Jul 2015 20:10:50 +1000 Subject: Extending R.E. Syntax In-Reply-To: <1437456163.22862.66.camel@zak.co.il> References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> <55ADBE9D.9030300@shemesh.biz> <1437456163.22862.66.camel@zak.co.il> Message-ID: The sages of Linux has a saying "Talk is cheap, show me the code". https://en.wikiquote.org/wiki/Linus_Torvalds#2000-04 On 21 July 2015 at 15:22, Omer Zak wrote: > The ancient sages of Israel have a saying "??? ???? - ?????? ?????", > meaning that the end of a project is as planned in the beginning. > > In our case it means some discussion and feedback about proposed > features and their use cases, before one plunges into implementing them. > > On Tue, 2015-07-21 at 06:38 +0300, Shachar Shemesh wrote: > > On 20/07/15 21:46, Omer Zak wrote: > > > > > Instead of, it would have been better to > > Good job! Where can I download your patch? > > > > Shachar > > -- > There is no IGLU Cabal because > My own blog is at http://www.zak.co.il/tddpirate/ > > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Tue Jul 21 13:34:58 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Tue, 21 Jul 2015 13:34:58 +0300 Subject: Extending R.E. Syntax (was: Re: Eliminating binary from a text file) In-Reply-To: <1437418003.22862.52.camel@zak.co.il> References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> Message-ID: Hi Omer, On Mon, Jul 20, 2015 at 9:46 PM, Omer Zak wrote: > Instead of creating a separate bgrep, it would have been better to be > able to extend the syntax of regular expressions (in egrep, Perl and > other platforms) to allow specification of binary strings having > arbitrary length by means of an hex string. > > This would come instead of making it very cumbersome to specify strings > longer than one character (\xnn or \unnnn or equivalent - see also: > http://www.regular-expressions.info/unicode.html). > > Well, you can already match binary sub-strings inside Perl regular expressions using the method you describe (\xHH\xHH\xHH . etc.) In Perl you can do something like: my $bin_string = [Binary string generated by whatever means necesary] if ($haystack =~ / ... \Q$bin_string\E ... /) { } So given the rarity of matching binary strings, it seems like a good compromise. And if we are at it, it would have been nice to add to all R.E. engines > hooks to allow private extensions of R.E. syntax, in order to allow > people to concisely express special parsing requirements. > > Recent versions of perl 5 allow you to use different (and possibly custom) regular expression engines. Regards, -- Shlomi > --- Omer > > -- ------------------------------------------ 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: From w1 at zak.co.il Tue Jul 21 13:49:03 2015 From: w1 at zak.co.il (Omer Zak) Date: Tue, 21 Jul 2015 13:49:03 +0300 Subject: Extending R.E. Syntax In-Reply-To: References: <55AD3CE7.5080507@shemesh.biz> <1437418003.22862.52.camel@zak.co.il> <55ADBE9D.9030300@shemesh.biz> <1437456163.22862.66.camel@zak.co.il> Message-ID: <1437475743.22862.74.camel@zak.co.il> Unfortunately for you two (Amos and Shachar), Shlomi Fish beat you by showing where the ideas I proposed are already implemented. The goal of my talking before showing any code was accomplished - it was shown that my proposal is redundant, before I got to spend any time putting together an implementation. The best code is the code that does not need to be written because the proposed functionality is already implemented. --- Omer On Tue, 2015-07-21 at 20:10 +1000, Amos Shapira wrote: > The sages of Linux has a saying "Talk is cheap, show me the code". > > > https://en.wikiquote.org/wiki/Linus_Torvalds#2000-04 > > > > > On 21 July 2015 at 15:22, Omer Zak wrote: > The ancient sages of Israel have a saying "??? ???? - ?????? > ?????", > meaning that the end of a project is as planned in the > beginning. > > In our case it means some discussion and feedback about > proposed > features and their use cases, before one plunges into > implementing them. > > On Tue, 2015-07-21 at 06:38 +0300, Shachar Shemesh wrote: > > On 20/07/15 21:46, Omer Zak wrote: > > > > > Instead of, it would have been better to > > Good job! Where can I download your patch? > > > > Shachar -- More proof the End of the World has started. Just saw this online: I think it's beginning! Ten minutes ago there was a group of people waiting at the bus stop outside my house. Now, they're all gone! My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html From shlomo.solomon at gmail.com Thu Jul 23 10:47:11 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 23 Jul 2015 10:47:11 +0300 Subject: failing to run kdevelop Message-ID: <20150723104711.794a81f3@shlomo1.solomon> I just installed kdevelop on my Mageia4 system. When I try to run it I get the following in a dialog box: couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " I tried running it from the CLI and got lots more error messages (at least some of them don't seem relevant - deal with Samba and printers). Any ideas what my problem is? BTW - the program does run but any attempt to create or save a file fails with the same dialog box. Below is the output from the CLI. [solomon at shlomo1 /]$ kdevelop kdevelop(22975)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: version-hint not found, seems to be an old version kdevelop(22975)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: "The data-repository at /home/solomon/.cache/kdevduchain/kdevelop-{bc440a9c-57c1-4965-b18f-69e66c4ab642} has to be cleared." kdevelop(22975): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" qrc:/main.qml:23:1: QML Loader: Binding loop detected for property "source" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0xa00013 kdevelop(22975) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Loaded services file OK. Warning: Service printers defines a print command, but rameter is ignored when using CUPS libraries. " kdevelop(22975): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " /usr/bin/cat: /home/solomon/.kde4/share/apps/kdevelop/sessions/{bc440a9c-57c1-4965-b18f-69e66c4ab642}/default.sh: No such file or directory X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0xa00137 -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From uri at speedy.net Thu Jul 23 16:24:57 2015 From: uri at speedy.net (Uri Even-Chen) Date: Thu, 23 Jul 2015 16:24:57 +0300 Subject: [Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django Message-ID: To Linux-IL people, I'm interested in creating a new webmail platform based on Python and Django, which will be free software & open source - Speedy Mail 2.0 (Speedy Mail 1.0 and 1.1 were based on a Perl software - Endymion MailMan web-mail, from 2000 to 2005). I want Speedy Mail 2.0's features to be as similar as possible to Gmail - with labels (a message can have several labels, or none), filters (to apply labels automatically, skip the inbox, mark as read etc.), 12 different stars, composing more than one mail at a time, etc. I would like to know if there is any free software in Python and Django we can base Speedy Mail on, or maybe something in another language (such as PHP) which we can convert to Python and Django? And are you interested in helping me develop Speedy Mail, or do you know where I can find developers who may be interested? By the way, is there a simple way to convert PHP software to Python, or do we have to rewrite it again line by line? I found some free software packages for webmail, some of them are in Python (Mailpile, Modoboa) and some in PHP (Roundcube, AfterLogic), and there are others not listed here. Which protocols we should use to connect to the mail server? I understand that IMAP has folders but not labels/tags, does it mean we can't use it? Is it better to use POP3? Which license do you recommend using? I'm thinking about using the GNU Affero General Public License (Affero GPL), you can read about it on the GNU website - it's like the GPL but also requires to publish the source code if you use it on a server. I think I prefer this license to ensure that if people or companies use my software, they will publish their source code (of course this will have to be enforced). Thanks, Uri. *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: uri at speedy.net Website: http://www.speedysoftware.com/uri/en/ > Speedypedia in Hebrew and English -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.s at daniel.shahaf.name Fri Jul 24 01:13:32 2015 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Thu, 23 Jul 2015 22:13:32 +0000 Subject: [Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django In-Reply-To: References: Message-ID: <20150723221332.GB3419@tarsus.local2> Uri Even-Chen wrote on Thu, Jul 23, 2015 at 16:24:57 +0300: > Which protocols we should use to connect to the mail server? I understand > that IMAP has folders but not labels/tags, does it mean we can't use it? Is > it better to use POP3? IMAP does have labels, via the FLAGS command. (There are "system flags" like \Seen and "keyword flags" which are probably what you want.) The question of client support is another matter, but if you're writing a webmail, you can write it to exploit the feature as much as you want (and as the underlying imapd permits). Cheers, Daniel From amos.shapira at gmail.com Fri Jul 24 03:28:29 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Fri, 24 Jul 2015 10:28:29 +1000 Subject: [JOB] Looking for a Linux NetFilter or general Kernel module programmer Message-ID: Hi, A startup is looking for a contractor with proven experience in writing Linux kernel modules for a short contract job. Preference for candidates with proven experience in writing NetFilter modules (http://www.netfilter.org/). Forwarding this e-mail to others you know, or suggestions for other forums to publish this job, would be greatly appreciated. Please respond in private e-mail to me (amos.shapira at gmail.com), more details will be provided to relevant responses. Thanks. --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From uri at speedy.net Fri Jul 24 08:41:01 2015 From: uri at speedy.net (Uri Even-Chen) Date: Fri, 24 Jul 2015 08:41:01 +0300 Subject: [Off Topic]: Speedy Mail 2.0 - a new webmail platform in Python and Django In-Reply-To: <20150723221332.GB3419@tarsus.local2> References: <20150723221332.GB3419@tarsus.local2> Message-ID: *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: uri at speedy.net Website: http://www.speedysoftware.com/uri/en/ > Speedypedia in Hebrew and English On Fri, Jul 24, 2015 at 1:13 AM, Daniel Shahaf wrote: > Uri Even-Chen wrote on Thu, Jul 23, 2015 at 16:24:57 +0300: > > Which protocols we should use to connect to the mail server? I understand > > that IMAP has folders but not labels/tags, does it mean we can't use it? > Is > > it better to use POP3? > > IMAP does have labels, via the FLAGS command. (There are "system flags" > like \Seen and "keyword flags" which are probably what you want.) The > question of client support is another matter, but if you're writing > a webmail, you can write it to exploit the feature as much as you want > (and as the underlying imapd permits). > > Cheers, > > Daniel > OK, thank you. Let me know if you want to participate in this project. Uri. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Tue Jul 28 16:33:29 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Tue, 28 Jul 2015 16:33:29 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service Message-ID: Hi all, can you recommend a good [and possibly paid] outgoing SMTP service that I can use for my @shlomifish.org addresses? The ideal service will be: 1. Reliable - messages I sent from it won't be filtered/marked/bounced as spam. 2. Affordable - I'm willing to pay but certainly cannot afford to pay too much. 3. With a responsive customer service. =========== Currently I am using hostgator.com for my @shlomifish.org E-mails, but I cannot send E-mail to Linux-IL and am also getting many bounces after sending E-mail to @perl.org addresses. Recently I also got a bounce from a Yahoo Groups mailing list I administer. Regards, -- Shlomi Fish P.S: someone recently told me that maintaining an SMTP server has become a "lost art" , because it has grown to become so complicated that it requires full time commitment. This is a sad state of affairs. -- ------------------------------------------ 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: From rabin at rabin.io Tue Jul 28 16:55:18 2015 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Tue, 28 Jul 2015 16:55:18 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: If you ask for JUST for a smtp server to send out email, i don't see any reason why not to setup it your self, it is not that complicated. And from my experience, I rarely need to do any configuration/changes after the first setup. You can try using a VM/Droplet on DigitalOcean to test it, The only problem I can think of, is the IP reputation in spam list. -- Rabin On Tue, Jul 28, 2015 at 4:33 PM, Shlomi Fish wrote: > Hi all, > > can you recommend a good [and possibly paid] outgoing SMTP service that I > can use for my @shlomifish.org addresses? The ideal service will be: > > 1. Reliable - messages I sent from it won't be filtered/marked/bounced as > spam. > > 2. Affordable - I'm willing to pay but certainly cannot afford to pay too > much. > > 3. With a responsive customer service. > > =========== > > Currently I am using hostgator.com for my @shlomifish.org E-mails, but I > cannot send E-mail to Linux-IL and am also getting many bounces after > sending E-mail to @perl.org addresses. Recently I also got a bounce from > a Yahoo Groups mailing list I administer. > > Regards, > > -- Shlomi Fish > > P.S: someone recently told me that maintaining an SMTP server has become a > "lost art" , because it has grown to become so complicated that it requires > full time commitment. This is a sad state of affairs. > > -- > ------------------------------------------ > 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 shlomif at gmail.com Tue Jul 28 17:14:39 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Tue, 28 Jul 2015 17:14:39 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: Hi Rabin, On Tue, Jul 28, 2015 at 4:55 PM, Rabin Yasharzadehe wrote: > If you ask for JUST for a smtp server to send out email, i don't see any > reason why not to setup it your self, it is not that complicated. And from > my experience, I rarely need to do any configuration/changes after the > first setup. > > You can try using a VM/Droplet on DigitalOcean to test it, > The only problem I can think of, is the IP reputation in spam list. > > Like we say in Hebrew, "he who proliferates possessions, proliferates worries.". Assuming I had the technical know-how for how to setup a reliable SMTP server on a VM of my own (which I don't really), I will then have to maintain both the VM and the SMTP server, install updates, etc. And I'm not good at doing stuff like that. I asked for a paid SMTP service and that's what I want. Regards, ? Shlomi Fish -- ------------------------------------------ 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: From tewner at gmail.com Tue Jul 28 17:52:20 2015 From: tewner at gmail.com (Michael Tewner) Date: Tue, 28 Jul 2015 17:52:20 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: I can recommend SendGrid - They have Free Tier, Pay-as-you-go "Lite" Tiers, and low-cost "regular" Tiers. We've been using them for a bunch of years, now. They have great support; I had a Romania-based support guy help me this morning, Israel time, who didn't just tell me "call us later". -Mike On Tue, Jul 28, 2015 at 5:14 PM, Shlomi Fish wrote: > Hi Rabin, > > On Tue, Jul 28, 2015 at 4:55 PM, Rabin Yasharzadehe > wrote: > >> If you ask for JUST for a smtp server to send out email, i don't see any >> reason why not to setup it your self, it is not that complicated. And from >> my experience, I rarely need to do any configuration/changes after the >> first setup. >> >> You can try using a VM/Droplet on DigitalOcean to test it, >> The only problem I can think of, is the IP reputation in spam list. >> >> > Like we say in Hebrew, "he who proliferates possessions, proliferates > worries.". Assuming I had the technical know-how for how to setup a > reliable SMTP server on a VM of my own (which I don't really), I will then > have to maintain both the VM and the SMTP server, install updates, etc. And > I'm not good at doing stuff like that. > > I asked for a paid SMTP service and that's what I want. > > Regards, > > ? Shlomi Fish > > > > > -- > ------------------------------------------ > 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 shlomif at gmail.com Tue Jul 28 18:00:00 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Tue, 28 Jul 2015 18:00:00 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: Hi Mike, On Tue, Jul 28, 2015 at 5:52 PM, Michael Tewner wrote: > I can recommend SendGrid - They have Free Tier, Pay-as-you-go "Lite" > Tiers, and low-cost "regular" Tiers. We've been using them for a bunch of > years, now. They have great support; I had a Romania-based support guy help > me this morning, Israel time, who didn't just tell me "call us later". > > thanks for the recommendation! SendGrid sound great from your description. I'll consider them after waiting for more recommendations. Regards, -- Shlomi Fish > -Mike > > > -- ------------------------------------------ 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: From amos.shapira at gmail.com Wed Jul 29 06:19:09 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Wed, 29 Jul 2015 13:19:09 +1000 Subject: Any Chrome extension developer looking for a project? Message-ID: Hi, I'm looking for a Chrome extension which can do the following (copied from my unanswered question at https://productforums.google.com/forum/#!msg/chrome/hIH8rDKCpgI/aYD_rvSSW6AJ ): I'm logged in to two accounts on my workplace Chrome in parallel, let's call them "work" and "home". I keep at least one Chrome window open for each account. I sometimes click on links which are only accessible to the "work" person, but they are opened by Chrome on whichever was the last window I was in, i.e. sometimes Chrome tries to open the link as my "home" account (and fails). I then have to copy the link and re-open it in a new tab on the "work" window. What I'd love to have is to be able to specify URL substrings (e.g. prefixes, for instance "https://bitbucket.org/work/*" or "https: work.atlassian.net*") and tell Chrome "If you are sent these URL's then open them using the 'work' account". Now, since nobody could point me to an existing way to do that, and I couldn't find such an extension myself, I thought it might be an interesting project for someone who knows their Chrome stuff. Any takers? Thanks, --Amos -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Wed Jul 29 11:40:41 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Wed, 29 Jul 2015 11:40:41 +0300 Subject: Fwd: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: Forwarding with permission. Regards, ? Shlomi Fish ---------- Forwarded message ---------- From: Dotan Cohen Date: Tue, Jul 28, 2015 at 5:06 PM Subject: Re: Seeking Recommendations for a Good Outgoing SMTP Service To: Shlomi Fish Hi Shlomi. I use Amazon's SES server for outgoing SMTP, and use Gmail's Google For Business to receive mail. SES is very inexpensive, very reliable, and my mail never get marked as spam. I do use SPF records, of course. Also, with SES I can use any outgoing email address that I like, which is good as I use a catch-all domain. On Tue, Jul 28, 2015 at 4:33 PM, Shlomi Fish wrote: > Hi all, > > can you recommend a good [and possibly paid] outgoing SMTP service that I > can use for my @shlomifish.org addresses? The ideal service will be: > > 1. Reliable - messages I sent from it won't be filtered/marked/bounced as > spam. > > 2. Affordable - I'm willing to pay but certainly cannot afford to pay too > much. > > 3. With a responsive customer service. > > =========== > > Currently I am using hostgator.com for my @shlomifish.org E-mails, but I > cannot send E-mail to Linux-IL and am also getting many bounces after > sending E-mail to @perl.org addresses. Recently I also got a bounce from a > Yahoo Groups mailing list I administer. > > Regards, > > -- Shlomi Fish > > P.S: someone recently told me that maintaining an SMTP server has become a > "lost art" , because it has grown to become so complicated that it requires > full time commitment. This is a sad state of affairs. > > -- > ------------------------------------------ > 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 > -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- ------------------------------------------ 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: From shachar at shemesh.biz Wed Jul 29 21:11:31 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Wed, 29 Jul 2015 21:11:31 +0300 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: <55B91753.8070107@shemesh.biz> On 28/07/15 16:33, Shlomi Fish wrote: > Hi all, > > can you recommend a good [and possibly paid] outgoing SMTP service > that I can use for my @shlomifish.org > addresses? The ideal service will be: > > 1. Reliable - messages I sent from it won't be filtered/marked/bounced > as spam. > > 2. Affordable - I'm willing to pay but certainly cannot afford to pay > too much. > > 3. With a responsive customer service. I use my own. Don't listen to anyone saying it's no-maintenance headache free. It's not. I had to set up SPF because otherwise things would just break down. Every so often I find I have to try and figure out an obscure error message from hotmail or some such bullshit, because they don't believe in explaining why they rejected your email. They also have a postmaster registration service that is only locatable via Google (ha ha). If you do decide to roll your own, a few important tips: * Use a real DNS name for your server. Make sure the IP resolves back to the original name. I use contabo.com for my hosting, they allow setting the reverse DNS record. Use only a provider that allows that. * Set up SPF. Seriously. Brain dead or not, it helps. The price you pay is that all users of your domain can, realistically, *only* send emails through your designated SMTP. This sometimes poses a problem for mailing lists. If you can read this email, however, then at least linux-il is doing okay. * Set up TLS. Use a real signed certificate. startssl.com is a CA recognized by most software that provides signed certificates free of charge. They are also an Israeli company, to boot :-) What I do not understand from your description, however, is how you intend to handle incoming mail. If you intend to have that hosted as well, why not just go with Google. Their business gmail solution provides you also with an outgoing SMTP. Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at yonahruss.com Wed Jul 29 23:25:02 2015 From: me at yonahruss.com (Yonah Russ) Date: Wed, 29 Jul 2015 20:25:02 +0000 Subject: Seeking Recommendations for a Good Outgoing SMTP Service In-Reply-To: References: Message-ID: +1 Yonah On Tue, Jul 28, 2015, 17:52 Michael Tewner wrote: > I can recommend SendGrid - They have Free Tier, Pay-as-you-go "Lite" > Tiers, and low-cost "regular" Tiers. We've been using them for a bunch of > years, now. They have great support; I had a Romania-based support guy help > me this morning, Israel time, who didn't just tell me "call us later". > > -Mike > > > On Tue, Jul 28, 2015 at 5:14 PM, Shlomi Fish wrote: > >> Hi Rabin, >> >> On Tue, Jul 28, 2015 at 4:55 PM, Rabin Yasharzadehe >> wrote: >> >>> If you ask for JUST for a smtp server to send out email, i don't see any >>> reason why not to setup it your self, it is not that complicated. And from >>> my experience, I rarely need to do any configuration/changes after the >>> first setup. >>> >>> You can try using a VM/Droplet on DigitalOcean to test it, >>> The only problem I can think of, is the IP reputation in spam list. >>> >>> >> Like we say in Hebrew, "he who proliferates possessions, proliferates >> worries.". Assuming I had the technical know-how for how to setup a >> reliable SMTP server on a VM of my own (which I don't really), I will then >> have to maintain both the VM and the SMTP server, install updates, etc. And >> I'm not good at doing stuff like that. >> >> I asked for a paid SMTP service and that's what I want. >> >> Regards, >> >> ? Shlomi Fish >> >> >> >> >> -- >> ------------------------------------------ >> 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 >> >> > _______________________________________________ > 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 slitt at troubleshooters.com Thu Jul 30 04:37:47 2015 From: slitt at troubleshooters.com (Steve Litt) Date: Wed, 29 Jul 2015 21:37:47 -0400 Subject: xargs guide Message-ID: <20150729213747.0ebeb6ee@mydesq2.domain.cxm> Hi all, xargs is a gender-changer type program that adapts one program's stdout to the next program's command line arguments. It's extremely handy for shell scripting, but it can be tricky. I've written a short guide for xargs that shows how to get around the usual xargs landmines: http://www.troubleshooters.com/linux/xargs.htm Hope you like it. SteveT Steve Litt July 2015 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21 From linux-il at didi.bardavid.org Thu Jul 30 12:38:22 2015 From: linux-il at didi.bardavid.org (Yedidyah Bar David) Date: Thu, 30 Jul 2015 12:38:22 +0300 Subject: xargs guide In-Reply-To: <20150729213747.0ebeb6ee@mydesq2.domain.cxm> References: <20150729213747.0ebeb6ee@mydesq2.domain.cxm> Message-ID: 2015-07-30 4:37 GMT+03:00 Steve Litt : > Hi all, > > xargs is a gender-changer type program that adapts one program's stdout > to the next program's command line arguments. It's extremely handy for > shell scripting, but it can be tricky. I've written a short guide for > xargs that shows how to get around the usual xargs landmines: > > http://www.troubleshooters.com/linux/xargs.htm > > Hope you like it. > I find missing the mentioning of '-0' (for both xargs and find). I use them almost always when doing find | xargs, unless I have specific needs. Also a comparison with the shell's command substitution (`` or $()( is probably in place. Not sure why you need to scare your readers so much... Nice writeup! -- Didi From d.s at daniel.shahaf.name Thu Jul 30 18:37:35 2015 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Thu, 30 Jul 2015 15:37:35 +0000 Subject: xargs guide In-Reply-To: <20150729213747.0ebeb6ee@mydesq2.domain.cxm> References: <20150729213747.0ebeb6ee@mydesq2.domain.cxm> Message-ID: <20150730153735.GC2264@tarsus.local2> Steve Litt wrote on Wed, Jul 29, 2015 at 21:37:47 -0400: > Hi all, > > xargs is a gender-changer type program that adapts one program's stdout > to the next program's command line arguments. It's extremely handy for > shell scripting, but it can be tricky. I've written a short guide for > xargs that shows how to get around the usual xargs landmines: > > http://www.troubleshooters.com/linux/xargs.htm > > Hope you like it. I looked for a warning that xargs parses quotes by default and didn't find it. For example, if the input is ?"foo bar"? (9 bytes), then xargs will treat that as the single argument ?foo bar?, not as two arguments ?"foo? and ?bar"?. There's no discussion of which switches are specific to GNU xargs and which are available on other systems. For example, FreeBSD has -P but not --max-procs, while POSIX has neither. In the second example, plain "ls | cat" would have the same output, so it's not clear what effect the RHS of the pipe has. You should probably mention explicitly that xargs' input in the 'ls | xargs --max-lines=1' case is not what 'ls' prints when its output is a tty (or pick a different command for the LHS of the pipe). None of the examples pass "--" to the xargs subcommand (as in "xargs ls -d --") to protect against filenames with initial minuses. The filter example uses \. and $ within a double-quoted string. The \. is not forward-compatible (a future version of either sh(1) or regex(3) might define it as an escape sequence). The $ inside "" might mislead readers who don't know shell quoting rules to think $ is not a metacharacter inside "". I'd change to single quotes, which would address both issues. So overall, I'd say this is a nice introduction but it glosses over some subtleties. HTH Cheers, Daniel