From stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Tue Oct 1 02:37:16 2013 From: stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (Stephen) Date: Mon, 30 Sep 2013 22:37:16 -0400 Subject: Is FTPsync my Best Solution In-Reply-To: <5247794C.60508-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <5247794C.60508@rogers.com> Message-ID: <524A355C.1030109@rogers.com> On 13-09-28 08:50 PM, Stephen wrote: > I am looking for a tool to update my hosted (Hostpopa) web site. I > like rsync for local stuff and found FTPsync using Google. > Thanks to all who responded. Unfortunately Hostpopa, my hosting company, does not allow SSH connections. FileZilla looks great! I will likely play with FTPsync as well. -- Stephen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Tue Oct 1 02:50:11 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Mon, 30 Sep 2013 22:50:11 -0400 Subject: Is FTPsync my Best Solution In-Reply-To: <5247794C.60508-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <5247794C.60508@rogers.com> Message-ID: <20131001025011.GA563@node1.localdomain> On Sat, Sep 28, 2013 at 08:50:20PM -0400, Stephen wrote: > I am looking for a tool to update my hosted (Hostpopa) web site. I > like rsync for local stuff and found FTPsync using Google. > > But this is not Ubuntu supported. Since I am not in a hurry, I > thought I would pause and solicite opinions/advice. > > I anticipate the site to grow to hundreds of pages, and many images > linked on the pages. > > 1) I compose and test on my local system > 2) I want to, as simply as possible, update the host site. > > I welcome comments about FTPsync experience as well as suggestions > for alternate tools I might consider. > > Thank you! man lftp Search for "mirror" command. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Tue Oct 1 03:34:23 2013 From: aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Aruna Hewapathirane) Date: Mon, 30 Sep 2013 23:34:23 -0400 Subject: Is FTPsync my Best Solution In-Reply-To: <524A355C.1030109-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <5247794C.60508@rogers.com> <524A355C.1030109@rogers.com> Message-ID: FTPsync is great but is a shell tool whereas FileZilla gives you a GUI. I personally prefer working in the shell but there are times when one is not on ones own system and then FileZilla is a life-saver :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org Tue Oct 1 14:46:44 2013 From: lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) Date: Tue, 1 Oct 2013 10:46:44 -0400 Subject: Is FTPsync my Best Solution In-Reply-To: <524A355C.1030109-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <5247794C.60508@rogers.com> <524A355C.1030109@rogers.com> Message-ID: <20131001144644.GW13099@csclub.uwaterloo.ca> On Mon, Sep 30, 2013 at 10:37:16PM -0400, Stephen wrote: > On 13-09-28 08:50 PM, Stephen wrote: > >I am looking for a tool to update my hosted (Hostpopa) web site. I > >like rsync for local stuff and found FTPsync using Google. > > > Thanks to all who responded. > > Unfortunately Hostpopa, my hosting company, does not allow SSH connections. > > FileZilla looks great! > > I will likely play with FTPsync as well. I am always amazed how many hosting companies don't provide any good methods for updating your files. rsync should always be possible. I guess you have to go with a good hosting provider to get that. -- Len Sorensen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Tue Oct 1 17:43:08 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Tue, 1 Oct 2013 13:43:08 -0400 (EDT) Subject: A Brief History of Open-Source Code [Infographic] In-Reply-To: <20130930155219.45bb1774@herring_sucker.example.org> References: <20130930155219.45bb1774@herring_sucker.example.org> Message-ID: | From: Glen Strom | http://www.kinvey.com/blog/3242/a-brief-history-of-open-source-code-infographic I assumed that this meant programming language. It doesn't seem to (HTML, XML, ...). So why not include English? Beyond that, what amazes me is how many "languages" are around the 10% mark. Zipf's Law is not obeyed. Oh, and how C has shrunk (or not grown proportionately -- hard to tell which). Yet all those folks have not switched to a single alternative. I don't imagine that EMACS lisp was anywhere near as big in 1993 as indicated. Why are javascript commits so large compared with, say, Java commits? Influence? XML was not influenced by HTML? Seems surprising. CSS not influenced by HTML? Autoconf not influenced by MAKE? The whole influenced thing seems more inaccurate than illuminating. All this suggests to me that whatever is being measured by OHLOH.NET (shouting as in the original) has much connection to what I would consider reality. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Tue Oct 1 18:09:21 2013 From: scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Stewart C. Russell) Date: Tue, 01 Oct 2013 14:09:21 -0400 Subject: A Brief History of Open-Source Code [Infographic] In-Reply-To: References: <20130930155219.45bb1774@herring_sucker.example.org> Message-ID: <524B0FD1.2060509@gmail.com> On 13-10-01 01:43 PM, D. Hugh Redelmeier wrote: > > Why are javascript commits so large compared with, say, Java commits? Well, they do like to copy and paste ? ;-) > Influence? XML was not influenced by HTML? Seems surprising. They both have SGML as a common ancestor. I suspect it's still possible to describe the most abstruse XML in terms of an SGML application. One might even manage to describe JSON as an XML application, if one must. > CSS not influenced by HTML? CSS owes more to DSSSL, though it does reference HTML entities. DSSSL was fairly vile: Scheme syntax with style blocks peppered through it like rat's droppings. Given the tiny number of CS types employed in publishing, it only saw limited general use. I'm not even sure a complete implementation of the ISO standard was ever made. These details would make a pretty infographic too complex, though. Stewart -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Tue Oct 1 18:13:45 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Tue, 1 Oct 2013 14:13:45 -0400 (EDT) Subject: file checksum? In-Reply-To: <20130930151334.GA5922-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20130930151334.GA5922@node1.localdomain> Message-ID: | From: William Park | I would like to do some kind of "checksum" on files (full or partial | content) in order to catch unwanted changes (accidental or malicious). | How would you do it? I would not use CRC these days. I did 30 years ago: This was originally for checking file transfers between my Altair and Kaypro computers and UNIX systems via phone lines. See this thread for more file hashing discusion from this list: | Is there user-callable CRC routines in glibc? Curiously, I can't find | one, even though I'm told that TCP stack uses it internally. TCP itself uses a plain sum: The checksum field is the 16 bit one's complement of the one's complement sum of all 16 bit words in the header and text. If a segment contains an odd number of header and text octets to be checksummed, the last octet is padded on the right with zeros to form a 16 bit word for checksum purposes. The pad is not transmitted as part of the segment. While computing the checksum, the checksum field itself is replaced with zeros. The use of "one's complement" is a bit confusing since I would consider the values unsigned. I think that they just mean "all bits flipped" when they say "one's complement". I think that ethernet uses CRC32. I don't know about TCP in general, but the PPP RFCs seem to have used my code. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Tue Oct 1 18:21:47 2013 From: stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (Stephen) Date: Tue, 01 Oct 2013 14:21:47 -0400 Subject: Is FTPsync my Best Solution In-Reply-To: <20131001144644.GW13099-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org> References: <5247794C.60508@rogers.com> <524A355C.1030109@rogers.com> <20131001144644.GW13099@csclub.uwaterloo.ca> Message-ID: <524B12BB.2040206@rogers.com> On 13-10-01 10:46 AM, Lennart Sorensen wrote: > Thanks to all who responded. > > Unfortunately Hostpopa, my hosting company, does not allow SSH connections. > > FileZilla looks great! > > I will likely play with FTPsync as well. > I am always amazed how many hosting companies don't provide any good > methods for updating your files. > > rsync should always be possible. > > I guess you have to go with a good hosting provider to get that. > I will be looking to switch when my current plan is used up. Up untl now, my sites have been database driven with PHP, so updates were through a control panel. Now it is an issue. -- Stephen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org Wed Oct 2 15:17:17 2013 From: tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org (Neil Watson) Date: Wed, 2 Oct 2013 11:17:17 -0400 Subject: How do you Combine pdfs to a single print job? Message-ID: <20131002151717.GA82886@ettin.watson-wilson.ca> I have multiple PDF's that I'd like to print as a single job to take advantage of duplexing. How can I accomplish this? -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 2 15:28:42 2013 From: scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Stewart Russell) Date: Wed, 2 Oct 2013 11:28:42 -0400 Subject: How do you Combine pdfs to a single print job? In-Reply-To: <20131002151717.GA82886-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131002151717.GA82886@ettin.watson-wilson.ca> Message-ID: I'd pre-join them with pdftk: pdftk in1.pdf in2.pdf cat output out1.pdf Stewart -------------- next part -------------- An HTML attachment was scrubbed... URL: From aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 2 15:41:05 2013 From: aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Aruna Hewapathirane) Date: Wed, 2 Oct 2013 11:41:05 -0400 Subject: How do you Combine pdfs to a single print job? In-Reply-To: <20131002151717.GA82886-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131002151717.GA82886@ettin.watson-wilson.ca> Message-ID: 1. Put all the files you want to print into a new empty folder. 2. Navigate to that folder via command line/terminal. 3. Print all the files in that folder: lpr * On Wed, Oct 2, 2013 at 11:17 AM, Neil Watson wrote: > I have multiple PDF's that I'd like to print as a single job to take > advantage of duplexing. How can I accomplish this? > > -- > Neil Watson > Linux/UNIX Consultant > http://watson-wilson.ca > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/**Mailing_lists > -- *Aruna Hewapathirane* Consultant/Trainer Phone : 647-709-9269 Website: Open Source Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul-HzDep54A8sA at public.gmane.org Wed Oct 2 18:57:18 2013 From: paul-HzDep54A8sA at public.gmane.org (Paul Mora) Date: Wed, 2 Oct 2013 14:57:18 -0400 Subject: HDMI to VGA adapter has arrived. In-Reply-To: References: <52434D7E.9020700@ss.org> <52434EDA.4070201@ss.org> <20130927181853.GA19643@node1.localdomain> <5245E65B.9050701@rogers.com> Message-ID: Hi. Just to add a bit to this thread... I bought this HDMI to VGA adapter for my Pi from Canada Computers: http://www.canadacomputers.com/product_info.php?cPath=98_106&item_id=058384 While it is a bit more expensive than something you could get online, it was readily available. It worked well with the Pi, and includes a jack on the side where you can plug in headphones or an external speaker. So the audio in the Pi doesn't have to be configured to use the Pi's native jack. It does, however, draw on the Pi's power. I had issues when using the adapter and a TP-LINK USB Wireless N nano adapter. Changing the power adapter to something a bit stronger fixed that. pm -- *Paul Mora* email: paul-HzDep54A8sA at public.gmane.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott-lxSQFCZeNF4 at public.gmane.org Wed Oct 2 20:47:43 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Wed, 02 Oct 2013 16:47:43 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. Message-ID: <524C866F.4020207@ss.org> So I'd say most of us are familiar with changing the default home page in our browsers. In my case I usually explicitly set it to about:blank[1]. Lately at work I've gotten tired of the traditional Bookmarks for all the web-portals I interact with, and instead wanted a custom portal page from which to jump off from. Now I could set the home page to this custom page, but it would only load it the creation of a new window. For this portal page to be truly useful, I wanted it on every new blank tab. The graphical prefrence menu is no help here, thankfully I learned long ago that is not the end to settings. For example, of the many about: urls is about:config. And sure enough, in there was just the setting I was looking for. Preference Name: browser.newtab.url Now I'm happy with being only a newtab away most of the sites I use. No silly bookmark menu sub-folder navigating. So question to the List: Given a similar situation, what conveniences would you have put together? [1]: http://en.wikipedia.org/wiki/About_URI_scheme ^ Some real interesting ones in here. -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org Wed Oct 2 21:41:14 2013 From: lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) Date: Wed, 2 Oct 2013 17:41:14 -0400 Subject: How do you Combine pdfs to a single print job? In-Reply-To: References: <20131002151717.GA82886@ettin.watson-wilson.ca> Message-ID: <20131002214114.GX13099@csclub.uwaterloo.ca> On Wed, Oct 02, 2013 at 11:41:05AM -0400, Aruna Hewapathirane wrote: > 1. Put all the files you want to print into a new empty folder. > 2. Navigate to that folder via command line/terminal. > 3. Print all the files in that folder: lpr * I don't think that will combine jobs. I suspect if pdf1 has 3 pages, then you will get pdf1 on two sheets of paper, with a blank page on the second sheet, and then pdf2 starting on a new sheet of paper. I didn't test it, but that is what I expect would happen. -- Len Sorensen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From mollytournquist-ifvz4xmYPRU at public.gmane.org Wed Oct 2 22:33:07 2013 From: mollytournquist-ifvz4xmYPRU at public.gmane.org (Molly Tournquist) Date: Wed, 02 Oct 2013 18:33:07 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. Message-ID: <20131002223308.181250@gmx.com> > From: Scott Sullivan > Sent: 10/02/13 04:47 PM > Lately at work I've gotten tired of the traditional Bookmarks for all > the web-portals I interact with, and instead wanted a custom portal page > from which to jump off from. > > Given a similar situation, what conveniences would you have put together? That sounds really neat. I'm thinking search boxes for wikipedia, everything2, tineye and the like, if that's possible. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From gstrom57-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 00:58:33 2013 From: gstrom57-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Glen Strom) Date: Wed, 2 Oct 2013 20:58:33 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. In-Reply-To: <524C866F.4020207-lxSQFCZeNF4@public.gmane.org> References: <524C866F.4020207@ss.org> Message-ID: <20131002205833.17cb77d8@herring_sucker.example.org> On Wed, 02 Oct 2013 16:47:43 -0400 Scott Sullivan wrote: > So I'd say most of us are familiar with changing the default home > page in our browsers. In my case I usually explicitly set it to > about:blank[1]. > > Lately at work I've gotten tired of the traditional Bookmarks for all > the web-portals I interact with, and instead wanted a custom portal > page from which to jump off from. Now I could set the home page to > this custom page, but it would only load it the creation of a new > window. > > For this portal page to be truly useful, I wanted it on every new > blank tab. > > The graphical prefrence menu is no help here, thankfully I learned > long ago that is not the end to settings. For example, of the many > about: urls is about:config. And sure enough, in there was just the > setting I was looking for. > > Preference Name: browser.newtab.url > > Now I'm happy with being only a newtab away most of the sites I use. > No silly bookmark menu sub-folder navigating. > > So question to the List: > > Given a similar situation, what conveniences would you have put > together? > > > [1]: http://en.wikipedia.org/wiki/About_URI_scheme > ^ Some real interesting ones in here. > It sounds like you might want an extension called Speed Dial. https://addons.mozilla.org/en-US/firefox/addon/speed-dial/ -- Glen Strom gstrom57-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From northdot9-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 01:41:38 2013 From: northdot9-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (David Thornton) Date: Wed, 2 Oct 2013 21:41:38 -0400 Subject: file checksum? In-Reply-To: <20130930151334.GA5922-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20130930151334.GA5922@node1.localdomain> Message-ID: My post from Jul 28th to this same list: I hashed a 2GB file 100 times with each of the digests available via openssl, for a total of 1000 runs. Average elapse time , seconds: md5 Average = 0.7401 <------THIS is the fastest mdc2 Average = 46.8681 rmd160 Average = 2.2449 sha Average = 4.06665 sha1 Average = 1.3751 <- close second. sha224 Average = 3.6005 sha256 Average = 3.6019 <- sha384 Average = 6.7991 sha512 Average = 6.8885 I shuffled the runs hoping to "even out" caching. crappy little low power Intel(R) Atom(TM) CPU 230 @ 1.60GHz Also: http://stackoverflow.com/questions/157998/whats-the-difference-between-sha-and-md5-in-php As an aside I'd like to suggest looking into ZFS, a files system that ensures that data is not corrupt on disk, and can transparently check and recover from "bit rot". Linux implementation of ZFS are not quite production ready but BSD and Solaris offspring are. There are great "Storage applinaces" that allow you to get at the greatness of ZFS without too much trouble: That I know of and have used: FreeNAS (BSD Based) and Nexenta (Open Indiana based) David On Mon, Sep 30, 2013 at 11:13 AM, William Park wrote: > Hi, > > I would like to do some kind of "checksum" on files (full or partial > content) in order to catch unwanted changes (accidental or malicious). > How would you do it? > > So far, I found > - MD/SHA digests from OpenSSL -- I'm worried about speed, and being > dependent on yet another library. > - crypt() from glibc -- It can do MD5/SHA, but it has to be a single > string. It can't do multiple strings. > > Is there user-callable CRC routines in glibc? Curiously, I can't find > one, even though I'm told that TCP stack uses it internally. > -- > William > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stimur-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 03:40:16 2013 From: stimur-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Tim Sattarov) Date: Wed, 02 Oct 2013 23:40:16 -0400 Subject: Secure Credit Card Station In-Reply-To: References: <20130921161933.b2d824e9a4e9fbaa9772b46e@eol.ca> <5240696D.5090503@ve3syb.ca> Message-ID: <524CE720.7060605@gmail.com> On 23/09/13 12:34 PM, Christopher Browne wrote: > The hidden camera idea is *much* better as it is effective without there being > any need to compromise any software. Go ahead, get the device certified, > however you like; that'll improve your confidence, whilst it doesn't do anything > to help against the exploit that'll actually bite... > From here: http://www.cs.berkeley.edu/~tygar/papers/Keyboard_Acoustic_Emanations_Revisited/tiss.preprint.pdf "In ground-breaking research, Asonov and Agrawal showed that it is possible to recover text from the acoustic emanations from typing on a keyboard [Asonov and Agrawal 2004]." Malicious user can capture information by many ways. it is always a balance, how sensitive information is and how easily it can be captured. Cost of protection and expenses of stealing. Tim -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scott-lxSQFCZeNF4 at public.gmane.org Thu Oct 3 04:46:48 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Thu, 03 Oct 2013 00:46:48 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. In-Reply-To: <20131002205833.17cb77d8@herring_sucker.example.org> References: <524C866F.4020207@ss.org> <20131002205833.17cb77d8@herring_sucker.example.org> Message-ID: <524CF6B8.2040002@ss.org> On 10/02/2013 08:58 PM, Glen Strom wrote: > On Wed, 02 Oct 2013 16:47:43 -0400 > Scott Sullivan wrote: >> So question to the List: >> >> Given a similar situation, what conveniences would you have put >> together? >> >> >> [1]: http://en.wikipedia.org/wiki/About_URI_scheme >> ^ Some real interesting ones in here. >> > > It sounds like you might want an extension called Speed Dial. > > https://addons.mozilla.org/en-US/firefox/addon/speed-dial/ > Interesting Addon, but not fit for the purpose outlined. It adds way to much visual clutter and is limited to only nine items. Business workflows can not be so cleanly organized nor that limited. I'll build on this by explaining what page I'm loading. I'm using a simple markdown[2] formatted listing of the various (20-25) sites I use both frequently and infrequently, organized by category. Having the link is important, seeing what it is not. I use a simple shell script to wrap html around the markdown text (converted to html). This allows for quick iteration and pruning. This is something I would normally rely on the web-broswers auto-complete history for. But that gets crufty fast. This really is an example of a domain specific solution. Based on that I'm still curious to hear what other TLUGers might have done or found for similar conveniences. [2]: http://daringfireball.net/projects/markdown/ -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From instantkamera-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 05:45:57 2013 From: instantkamera-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Aaron Doucette) Date: Thu, 3 Oct 2013 01:45:57 -0400 Subject: How do you Combine pdfs to a single print job? In-Reply-To: <20131002151717.GA82886-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131002151717.GA82886@ettin.watson-wilson.ca> Message-ID: I use ghostscript (gs) to combine PDFs. http://www.ghostscript.com/doc/current/Use.htm On Oct 2, 2013 11:17 AM, "Neil Watson" wrote: > I have multiple PDF's that I'd like to print as a single job to take > advantage of duplexing. How can I accomplish this? > > -- > Neil Watson > Linux/UNIX Consultant > http://watson-wilson.ca > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/**Mailing_lists > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 13:47:30 2013 From: scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Stewart C. Russell) Date: Thu, 03 Oct 2013 09:47:30 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. In-Reply-To: <524C866F.4020207-lxSQFCZeNF4@public.gmane.org> References: <524C866F.4020207@ss.org> Message-ID: <524D7572.8050802@gmail.com> On 13-10-02 04:47 PM, Scott Sullivan wrote: > > Preference Name: browser.newtab.url I've been using the New Tab Home Page plugin to do this for quite a while now: https://addons.mozilla.org/En-us/firefox/addon/new-tab-homepage/ > Given a similar situation, what conveniences would you have put together? I save the site in the Bookmarks Toolbar, then delete the text, leaving only the favicon. That way, I have > 30 sites immediately visible at all times. Sure, it needs the site to have a unique and defined favicon, but only one (HSBC ? ?_?) doesn't have one. I also have a ?to ?? folder in the Bookmarks Toolbar which contains all the little linking bookmarklets, wikipedia citation builders, etc., that make the day easier. Finally, there's Make Link: https://addons.mozilla.org/en-US/firefox/addon/make-link/ . This adds a context menu item which puts a formatted HTML, Markdown, plain text, Forum Code, BB Code, whatever in the clipboard. Can't live without it. cheers, Stewart -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Thu Oct 3 17:19:29 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Thu, 3 Oct 2013 13:19:29 -0400 (EDT) Subject: customizing FireFox [was GeeNifty: Override Firefox's Newtab page for a custom page.] In-Reply-To: <524CF6B8.2040002-lxSQFCZeNF4@public.gmane.org> References: <524C866F.4020207@ss.org> <20131002205833.17cb77d8@herring_sucker.example.org> <524CF6B8.2040002@ss.org> Message-ID: | From: Scott Sullivan | Based on that I'm | still curious to hear what other TLUGers might have done or found for similar | conveniences. I'm generalizing your question. What customization do I find useful? I normally use vanilla settings for all tools unless I find a big win. I don't like dragging forward customization through re-installation and upgrades. In about: config: browser.search.openintab: true. This means that every time a do a search via the search box, the result will appear in a new tab, leaving my current tab as it was. browser.tabs.closeButtons: 3. I think this is how to get a single tab close button rather than one per tab (seems more economical but takes getting used to). Whenever FireFox starts (after a clean or dirty exit), it loads all the previous windows and tabs. That's from Edit: Preferences: General: Startup: When Firefox starts: Show my windows and tabs from last time. I'm fussy about cookies, but I doubt anyone else would want to be bothered. I'm also used to EMACS key bindings. I think that I got this through my Gnome desktop: gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" This might work: gconftool-2 --set --type=string /desktop/gnome/interface/gtk_key_theme Emacs See also: When browsing, I often use the spacebar to page down (a larger target than the Page Up key. I recently discovered that shift-space does a page up. I never would have guessed since I'm conditioned to think space and shift-space are the same character. cntrl-shift-T restores the last tab closed. What are your favourite customizations? -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From thoriumbr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 3 21:13:02 2013 From: thoriumbr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Mauro Souza) Date: Thu, 3 Oct 2013 18:13:02 -0300 Subject: customizing FireFox [was GeeNifty: Override Firefox's Newtab page for a custom page.] In-Reply-To: References: <524C866F.4020207@ss.org> <20131002205833.17cb77d8@herring_sucker.example.org> <524CF6B8.2040002@ss.org> Message-ID: I don't know if installing extensions count as a customization, but there goes my list: - Ad Block Plus: blocks ads almost everywhere, but I whitelist lots of sites I visit often (slashdot, lifehacker, hackaday, etc) - BugMeNot: I don't want to register an account to a forum just to see a link someone posted, and bugmenot have a huge repository of voluntary provided logins and passwords for lots of sites - NoScript: I don't like javascript running everywhere. I also whitelist that sites I need scripting, and ignore the rest. Faster and more secure internet. - NukeThis Enhanced: So I can delete portions of any webpage for printing, or watching, or whatever. I use other extensions, but I think that list is a good one for almost everybody. Mauro http://mauro.limeiratem.com - registered Linux User: 294521 Scripture is both history, and a love letter from God. 2013/10/3 D. Hugh Redelmeier > | From: Scott Sullivan > > | Based on that I'm > | still curious to hear what other TLUGers might have done or found for > similar > | conveniences. > > I'm generalizing your question. What customization do I find useful? > > I normally use vanilla settings for all tools unless I find a big win. > I don't like dragging forward customization through re-installation > and upgrades. > > In about: config: > > browser.search.openintab: true. > This means that every time a do a search via the search box, the > result will appear in a new tab, leaving my current tab as it was. > > browser.tabs.closeButtons: 3. > I think this is how to get a single tab close button rather than one > per tab (seems more economical but takes getting used to). > > Whenever FireFox starts (after a clean or dirty exit), it loads all > the previous windows and tabs. That's from Edit: Preferences: > General: Startup: When Firefox starts: Show my windows and tabs from > last time. > > I'm fussy about cookies, but I doubt anyone else would want to be > bothered. > > > > I'm also used to EMACS key bindings. I think that I got this through > my Gnome desktop: > gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs" > This might work: > gconftool-2 --set --type=string > /desktop/gnome/interface/gtk_key_theme Emacs > See also: > > > > > When browsing, I often use the spacebar to page down (a larger target > than the Page Up key. I recently discovered that shift-space does a > page up. I never would have guessed since I'm conditioned to think > space and shift-space are the same character. > > cntrl-shift-T restores the last tab closed. > > What are your favourite customizations? > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollytournquist-ifvz4xmYPRU at public.gmane.org Thu Oct 3 22:55:37 2013 From: mollytournquist-ifvz4xmYPRU at public.gmane.org (Molly Tournquist) Date: Thu, 03 Oct 2013 18:55:37 -0400 Subject: customizing FireFox [was GeeNifty: Override Firefox's Newtab page for a custom page.] Message-ID: <20131003225538.93350@gmx.com> On 10/02/13 08:58 PM, Glen Strom ?wrote: > > It sounds like you might want an extension called Speed Dial. > > https://addons.mozilla.org/en-US/firefox/addon/speed-dial/ Considering such a pluging as comparable with a custom-written start page would be inappropriate. A custom start page would have the advantages of remaining if you switch browsers, being able to be shared if you're using multiple browsers, or between multiple OSes or users, or be copied to a portable device, with or without adjustments or even onto a liveCD. And that is a topic that's hard to find much stuff on, everyone wants to offer you a special start page that's stored somewhere online and those types of things. On 10/03/13 01:19 PM, D. Hugh Redelmeier wrote: > When browsing, I often use the spacebar to page down (a larger target > than the Page Up key. I recently discovered that shift-space does a > page up. I never would have guessed since I'm conditioned to think > space and shift-space are the same character. I personally don't like the spacebar, it's *too* big, and wobbly. I would prefer something like a japanese keyboard with it split up for extra functions. But damn straight about pageup and pagedown, they're awfully small, AND in a lousy location; pageleft and pageright are even worse in those regards! -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org Thu Oct 3 23:32:35 2013 From: kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org (Kevin Cozens) Date: Thu, 03 Oct 2013 19:32:35 -0400 Subject: GeeNifty: Override Firefox's Newtab page for a custom page. In-Reply-To: <524CF6B8.2040002-lxSQFCZeNF4@public.gmane.org> References: <524C866F.4020207@ss.org> <20131002205833.17cb77d8@herring_sucker.example.org> <524CF6B8.2040002@ss.org> Message-ID: <524DFE93.1040600@ve3syb.ca> On 13-10-03 12:46 AM, Scott Sullivan wrote: > Interesting Addon, but not fit for the purpose outlined. It adds way to much > visual clutter and is limited to only nine items. Business workflows can not > be so cleanly organized nor that limited. Firefox already comes with a form of speed dial with 9 images on it. You see it everytime you ask for a new tab or window. I use it for some common things. One of the items on my speed dial is for a locally stored web page with an organized list of my most common places to visit. Between that and the favourites tool bar I can get to my most common places quite quickly. -- Cheers! Kevin. http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include | --Chris Hardwick -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org Fri Oct 4 06:53:21 2013 From: bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org (Bob Jonkman) Date: Fri, 04 Oct 2013 02:53:21 -0400 Subject: UofW CSClub Security and Privacy series Message-ID: <524E65E1.20404@sobac.com> The University of Waterloo Computer Science Club is hosting what looks to be a great series of lectures on Security and Privacy: Why Should You Care About Security and Privacy. Held in MC 4041, on 2013-10-08, at 5:00PM. The first lecture of our security and privacy series. By PhD student Sarah Harvey. http://csclub.uwaterloo.ca/events/MC_4041-2013-10-08-5:00PM Tunnels and Censorship. Held in TBD, on 2013-10-15, at TBD. The second lecture of our security and privacy series. By undergraduate student Eric Dong. http://csclub.uwaterloo.ca/events/TBD-2013-10-15-TBD Disk Encryption. Held in TBD, on 2013-10-24, at TBD. The third lecture of our security and privacy series. By MMath alumnus Zak Blacher. http://csclub.uwaterloo.ca/events/TBD-2013-10-24-TBD Hands On Seminar on Public Key Cryptography. Held in TBD, on 2013-11-05, at TBD. The fourth event in our security and privacy series. By undergraduate students Murphy Berzish and Nick Guenther. http://csclub.uwaterloo.ca/events/TBD-2013-11-05-TBD Practical Tor Usage. Held in TBD, on 2013-11-12, at TBD. The fifth lecture of our security and privacy series. By undergraduate student Simon Gladstone. http://csclub.uwaterloo.ca/events/TBD-2013-11-12-TBD Only the first lecture has a definitive time and place; I'm not sure if the URIs for the other lectures will change as the times are set (I hope not, "Cool URIs Don't Change"[1]) --Bob. [1] http://www.w3.org/Provider/Style/URI -- Bob Jonkman Phone: +1-519-669-0388 SOBAC Microcomputer Services http://sobac.com/sobac/ http://bob.jonkman.ca/blogs/ http://sn.jonkman.ca/bobjonkman/ Software --- Office & Business Automation --- Consulting GnuPG Fngrprnt:04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org Sat Oct 5 05:01:40 2013 From: evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org (Evan Leibovitch) Date: Sat, 5 Oct 2013 01:01:40 -0400 Subject: Free to a good home Message-ID: Hi there, I have a few other components that I can't use and are taking up space. All are fully functional but have no manuals, driver disks or original packaging; I'll bring then to the TLUG meeting, offered to the first person to indicate they want them, who buys me a curry before the meeting. 1. Asus ENGT220 graphics card (Nvidia GT220) 2. Gigabyte (I think) GT210 graphics card (half-height bracket) 3. D-Link DKVM-4 KVM for PS2 mouse/keyboard/VGA (with all cables) 4. Asus A8S-X motherboard, populated with 3GB RAM (the max it will take) and an Athlon 64 CPU (with oem fan) Email me directly if interested in any of them. - Evan PS: Does anyone here know if Freegeek would be interested in anything unclaimed? -------------- next part -------------- An HTML attachment was scrubbed... URL: From colin.mc151-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Sat Oct 5 18:00:55 2013 From: colin.mc151-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Colin McGregor) Date: Sat, 5 Oct 2013 14:00:55 -0400 Subject: Free to a good home In-Reply-To: References: Message-ID: I would love 1 and 4. Thanks. Colin. On Sat, Oct 5, 2013 at 1:01 AM, Evan Leibovitch wrote: > Hi there, > > I have a few other components that I can't use and are taking up space. All > are fully functional but have no manuals, driver disks or original > packaging; I'll bring then to the TLUG meeting, offered to the first person > to indicate they want them, who buys me a curry before the meeting. > > Asus ENGT220 graphics card (Nvidia GT220) > Gigabyte (I think) GT210 graphics card (half-height bracket) > D-Link DKVM-4 KVM for PS2 mouse/keyboard/VGA (with all cables) > Asus A8S-X motherboard, populated with 3GB RAM (the max it will take) and an > Athlon 64 CPU (with oem fan) > > Email me directly if interested in any of them. > > - Evan > > PS: Does anyone here know if Freegeek would be interested in anything > unclaimed? -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From john.moniz-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org Sat Oct 5 22:38:56 2013 From: john.moniz-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org (John Moniz) Date: Sat, 5 Oct 2013 18:38:56 -0400 Subject: Free to a good home In-Reply-To: References: Message-ID: That'd be 40% of a curry :-) On 10/05/2013 02:00 PM, Colin McGregor wrote: > I would love 1 and 4. > > Thanks. > > Colin. > > On Sat, Oct 5, 2013 at 1:01 AM, Evan Leibovitch wrote: >> Hi there, >> >> I have a few other components that I can't use and are taking up space. All >> are fully functional but have no manuals, driver disks or original >> packaging; I'll bring then to the TLUG meeting, offered to the first person >> to indicate they want them, who buys me a curry before the meeting. >> >> Asus ENGT220 graphics card (Nvidia GT220) >> Gigabyte (I think) GT210 graphics card (half-height bracket) >> D-Link DKVM-4 KVM for PS2 mouse/keyboard/VGA (with all cables) >> Asus A8S-X motherboard, populated with 3GB RAM (the max it will take) and an >> Athlon 64 CPU (with oem fan) >> >> Email me directly if interested in any of them. >> >> - Evan >> >> PS: Does anyone here know if Freegeek would be interested in anything >> unclaimed? > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > > -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 7 15:07:56 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 7 Oct 2013 11:07:56 -0400 (EDT) Subject: FSOSS 2013: Seneca's Free Software and Open Source Symposium (urgent) Message-ID: First, the urgent part: the registration price goes up a lot after tomorrow. This local conference has been worthwhile and fun each time that I've attended. I recommend it. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Mon Oct 7 16:48:09 2013 From: gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Giles Orr) Date: Mon, 7 Oct 2013 12:48:09 -0400 Subject: FSOSS 2013: Seneca's Free Software and Open Source Symposium (urgent) In-Reply-To: References: Message-ID: I've been two or three times now, and have also really enjoyed it. It's a bit of a pain to get to, being as it's out on the York University campus. But it's a pretty decent environment: what it loses by not being a corporate conference centre it makes up by not being a corporate conference centre, if you see what I mean. The student volunteers who run it sometimes have things starting a bit behind schedule, but the staff have always been enthusiastic and friendly. Seneca at York is heavily involved in FOSS so I guess that's not a big surprise. I'll be there again this year. I know there's at least one person (sorry, can't remember who at the moment) who attends TLUG meetings who found FSOSS a poor conference. While I disagree, I think they should weigh in too. :-) On 7 October 2013 11:07, D. Hugh Redelmeier wrote: > First, the urgent part: the registration price goes up a lot after > tomorrow. > > This local conference has been worthwhile and fun each time that I've > attended. I recommend it. > > > > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -- Giles http://www.gilesorr.com/ gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Mon Oct 7 17:29:17 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Mon, 7 Oct 2013 13:29:17 -0400 Subject: FSOSS 2013: Seneca's Free Software and Open Source Symposium (urgent) In-Reply-To: References: Message-ID: On Mon, Oct 7, 2013 at 12:48 PM, Giles Orr wrote: > I've been two or three times now, and have also really enjoyed it. It's a > bit of a pain to get to, being as it's out on the York University campus. > But it's a pretty decent environment: what it loses by not being a corporate > conference centre it makes up by not being a corporate conference centre, if > you see what I mean. The student volunteers who run it sometimes have > things starting a bit behind schedule, but the staff have always been > enthusiastic and friendly. Seneca at York is heavily involved in FOSS so I > guess that's not a big surprise. I'll be there again this year. I've been a couple times and recommend it to others whenever opportunity permits. Doesn't look like I'm going to make it this year though. There's a few talks I'd be interested in attending but one in particular I'm hoping will be made available online following the symposium: "Canada's New Copyright Laws and its Implications for Linux and Open Source" -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From darryl-90a536wCiRb3fQ9qLvQP4Q at public.gmane.org Mon Oct 7 19:01:07 2013 From: darryl-90a536wCiRb3fQ9qLvQP4Q at public.gmane.org (Darryl Moore) Date: Mon, 07 Oct 2013 15:01:07 -0400 Subject: FSOSS 2013: Seneca's Free Software and Open Source Symposium (urgent) In-Reply-To: References: Message-ID: <1381172467.18232.2.camel@dlaptop.local> I registered last week. Sure would be nice if they provided a schedule for the presentations, so I can be sure to get there in time for the ones I want, without wasting my time with the ones that don't really appeal to me. On Mon, 2013-10-07 at 13:29 -0400, Scott Elcomb wrote: > On Mon, Oct 7, 2013 at 12:48 PM, Giles Orr wrote: > > I've been two or three times now, and have also really enjoyed it. It's a > > bit of a pain to get to, being as it's out on the York University campus. > > But it's a pretty decent environment: what it loses by not being a corporate > > conference centre it makes up by not being a corporate conference centre, if > > you see what I mean. The student volunteers who run it sometimes have > > things starting a bit behind schedule, but the staff have always been > > enthusiastic and friendly. Seneca at York is heavily involved in FOSS so I > > guess that's not a big surprise. I'll be there again this year. > > I've been a couple times and recommend it to others whenever > opportunity permits. > > Doesn't look like I'm going to make it this year though. There's a > few talks I'd be interested in attending but one in particular I'm > hoping will be made available online following the symposium: > > "Canada's New Copyright Laws and its Implications for Linux and Open Source" > > -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Mon Oct 7 19:30:56 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Mon, 7 Oct 2013 15:30:56 -0400 Subject: jor1k join JS/Linux - another Linux in your browser In-Reply-To: References: Message-ID: On Fri, Sep 20, 2013 at 4:50 PM, Giles Orr wrote: > That's all kinds of fascinating and disturbing. Seems to work reasonably > well. vi works: the system is complete. Not sure when this was added but I agree... watching glxgears turn (at 0.3fps) in a web browser is a bit disturbing. It's slow but it really works. In the drop down boxes, select a core and the "Basic X window system running twm, glxgears and xeyes (8MB)" disk image to give it a try. How long until we can X-forward our apps from the desktop to browser tabs and vice versa? -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org Tue Oct 8 06:49:41 2013 From: bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org (Bob Jonkman) Date: Tue, 08 Oct 2013 02:49:41 -0400 Subject: UofW CSClub Security and Privacy series In-Reply-To: <524E65E1.20404-w5ExpX8uLjYAvxtiuMwx3w@public.gmane.org> References: <524E65E1.20404@sobac.com> Message-ID: <5253AB05.5020602@sobac.com> Hi again, everyone: The UofW CSCLub lecture dates and locations have been finalized, and all the URIs changed. Here's the updated info: Why Should You Care About Security and Privacy Held in MC 4041, on 2013-10-08, at 5:00PM. The first lecture of our security and privacy series. By PhD student Sarah Harvey. http://csclub.uwaterloo.ca/events/MC_4041-2013-10-08-5:00PM Tunnels and Censorship Held in MC 4060, on 2013-10-15, at 5:00PM. The second lecture of our security and privacy series. By undergraduate student Eric Dong. http://csclub.uwaterloo.ca/events/MC_4060-2013-10-15-5:00PM Disk Encryption Held in DC 1302, on 2013-10-24, at 5:30PM. The third lecture of our security and privacy series. By MMath alumnus Zak Blacher. http://csclub.uwaterloo.ca/events/DC_1302-2013-10-24-5:30PM Practical Tor Usage Held in DC 1302, on 2013-10-24, at 6:30PM. The fourth lecture of our security and privacy series. By undergraduate student Simon Gladstone. http://csclub.uwaterloo.ca/events/DC_1302-2013-10-24-6:30PM Hands On Seminar on Public Key Cryptography Held in MC 3001 (Comfy), on 2013-11-05, at 6:00pm The fifth event in our security and privacy series. By undergraduate students Murphy Berzish and Nick Guenther. http://csclub.uwaterloo.ca/events/MC_3001_%28Comfy%29-2013-11-05-6:00PM On 13-10-04 02:53 AM, Bob Jonkman wrote: > The University of Waterloo Computer Science Club is hosting what looks > to be a great series of lectures on Security and Privacy: > [...] -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org Tue Oct 8 17:09:30 2013 From: bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org (Bob Jonkman) Date: Tue, 08 Oct 2013 13:09:30 -0400 Subject: UofW CSClub Security and Privacy series In-Reply-To: <5253AB05.5020602-w5ExpX8uLjYAvxtiuMwx3w@public.gmane.org> References: <524E65E1.20404@sobac.com> <5253AB05.5020602@sobac.com> Message-ID: <52543C4A.7070309@sobac.com> Oops. Fixed in the text below, on http://cryptoparty.in and on http://watcamp.com --Bob. On 13-10-08 10:02 AM, Elana Hashman wrote: > Your email to KWLUG has a mistake: Simon's talk got switched with > Zak's, and you have them on the same day in your email. Simon's ?talk > is correct, on the 24th, but Zak's is on Nov. 12. We had to swap them > due to speaker scheduling issues. Here's the link to Zak's new talk > details: http://csclub.uwaterloo.ca/events/MC_4060-2013-11-12-5:00PM > > ?So it's in MC 4060 at 5:00PM. And sorry about the confusion. There's > a news item on the website with a summary. > > - e On 13-10-08 02:49 AM, Bob Jonkman should have written: > Hi again, everyone: The UofW CSCLub lecture dates and locations have > been finalized, and all the URIs changed. Here's the updated info: > > > Why Should You Care About Security and Privacy Held in MC 4041, on > 2013-10-08, at 5:00PM. The first lecture of our security and privacy > series. By PhD student Sarah Harvey. > http://csclub.uwaterloo.ca/events/MC_4041-2013-10-08-5:00PM > > Tunnels and Censorship Held in MC 4060, on 2013-10-15, at 5:00PM. > The second lecture of our security and privacy series. By > undergraduate student Eric Dong. > http://csclub.uwaterloo.ca/events/MC_4060-2013-10-15-5:00PM > > Practical Tor Usage Held in DC 1302, on 2013-10-24, at 6:30PM. The > fourth lecture of our security and privacy series. By undergraduate > student Simon Gladstone. > http://csclub.uwaterloo.ca/events/DC_1302-2013-10-24-6:30PM > > Hands On Seminar on Public Key Cryptography Held in MC 3001 (Comfy), > on 2013-11-05, at 6:00pm The fifth event in our security and privacy > series. By undergraduate students Murphy Berzish and Nick Guenther. > http://csclub.uwaterloo.ca/events/MC_3001_%28Comfy%29-2013-11-05-6:00PM > > Disk Encryption Held in MC 4060 on 2013-11-12, at 5:00PM. The third > lecture of our security and privacy series. By MMath alumnus Zak > Blacher. http://csclub.uwaterloo.ca/events/MC_4060-2013-11-12-5:00PM > > > > On 13-10-04 02:53 AM, Bob Jonkman wrote: >> The University of Waterloo Computer Science Club is hosting what >> looks to be a great series of lectures on Security and Privacy: >> > [...] > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From rjonasz-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 9 21:43:54 2013 From: rjonasz-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Randy Jonasz) Date: Wed, 9 Oct 2013 17:43:54 -0400 Subject: Ebooks on Linux Message-ID: With the recent discussion of eReaders I've been thinking about reading ebooks on Linux. I personally like FBReader but I'm sure there are others as well. The problem is DRM. I buy my books from websites with adobe DRM built into the file. That leaves me with running an outdated version of adobe Digital Editions with wine or running windows or using my eReader. I can't believe publishers are able to dictate the software and platforms on which I can read the book I bought! What happens if the vendor of the software files for bankruptcy. Am I out of luck? Archambault.ca, a provider of French ebooks in Canada, restricts reading to THEIR reader software. No linux version version either. Now I have found software which will strip the DRM from epub, pdf and Kindle books. It works quite well. Now I can read on linux with whatever software I please. What are the ethics of removing the DRM from books? What are the legal implications in Canada of doing this? Cheers, Randy -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From glayng-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org Wed Oct 9 22:20:24 2013 From: glayng-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org (Gary Layng) Date: Wed, 9 Oct 2013 18:20:24 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: I'd think that, like a Dead Tree Edition book, as long as you don't cut into the original author's sales, you can do whatever you want with the file you bought and paid for. It would be similar in concept to using a highlighter on a textbook you purchased. On 09/10/13 05:43 PM, Randy Jonasz wrote: > With the recent discussion of eReaders I've been thinking about > reading ebooks on Linux. I personally like FBReader but I'm sure > there are others as well. The problem is DRM. I buy my books from > websites with adobe DRM built into the file. That leaves me with > running an outdated version of adobe Digital Editions with wine or > running windows or using my eReader. I can't believe publishers are > able to dictate the software and platforms on which I can read the > book I bought! What happens if the vendor of the software files for > bankruptcy. Am I out of luck? Archambault.ca, a provider of French > ebooks in Canada, restricts reading to THEIR reader software. No > linux version version either. Now I have found software which will > strip the DRM from epub, pdf and Kindle books. It works quite well. > Now I can read on linux with whatever software I please. What are the > ethics of removing the DRM from books? What are the legal > implications in Canada of doing this? > > Cheers, > > Randy > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > > -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 9 22:41:01 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Wed, 9 Oct 2013 18:41:01 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: On Wed, Oct 9, 2013 at 6:20 PM, Gary Layng wrote: > I'd think that, like a Dead Tree Edition book, as long as you don't cut into > the original author's sales, you can do whatever you want with the file you > bought and paid for. It would be similar in concept to using a highlighter > on a textbook you purchased. Unfortunately I don't think that's the case. There were some progressive additions to C-11 like time-shifting, but "It does not, however, allow the circumvention of digital locks (known as digital rights management or DRM), even to exercise other rights under the Copyright Act." [1] Essentially, if your content is protected by a TPM you're legally out of luck. Many thousands of us wrote to the Government in '09 about this specifically. We were ignored.[2] In fact, I was recently involved in conversation on Twitter regarding the lack of participation in Canada's "Open Government" initiatives. My comment (directed at Tony Clement IIRC) was along the lines of "I didn't participate because you ignored us."[3] I got most of my ebooks via O'Reilly, who regularly offer 50% off deals. All of their books are DRM-free. Other sources I use for DRM-free books include Manning Publications[4] and Feedbooks[5]. [1] [2] [3] [4] [5] -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 9 23:43:15 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Wed, 9 Oct 2013 19:43:15 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: On Wed, Oct 9, 2013 at 5:43 PM, Randy Jonasz wrote: > Archambault.ca, a provider of French > ebooks in Canada, restricts reading to THEIR reader software. No > linux version version either. Now I have found software which will > strip the DRM from epub, pdf and Kindle books. It works quite well. > Now I can read on linux with whatever software I please. What are the > ethics of removing the DRM from books? What are the legal > implications in Canada of doing this? Speaking from a strictly ethical perspective, I think one should be able to circumvent TPM's (for lawful purposes) on content legally purchased. The problem here is that much content is not sold online - instead licenses to access that content is sold. If you don't own it as property you don't have much recourse. In any event, this article may speak more directly to your question on legality: ~ Related bits ~ Noted on O'Reilly "Canada's New Copyright Laws and its Implications for Linux and Open Source" will be presented at FSOSS in 2 weeks: DRM & TPM Issues from the Privacy Commisioner of Canada: Regarding DRM and the future of the web: -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 01:41:30 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Wed, 09 Oct 2013 21:41:30 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: <525605CA.5030108@rogers.com> Scott Elcomb wrote: > The problem here is that much content is not sold online - > instead licenses to access that content is sold. I recently bought a book for an online course I was taking. The ebook was about half the price of the hard cover book in stores, but you could only read it for 6 months, IIRC. Instead, I attemped to buy a used one through Chapters/Indigo and wound up with a new paperback verison from India for about $18, instead of the about $150 the hard cover edition was in the stores! BTW, the book was "Computer Networks" 5th edition, by Andrew Tanenbaum (of Minix fame) and David Wethereral (the course instructor). -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org Thu Oct 10 13:44:23 2013 From: lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) Date: Thu, 10 Oct 2013 09:44:23 -0400 Subject: Ebooks on Linux In-Reply-To: <525605CA.5030108-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <525605CA.5030108@rogers.com> Message-ID: <20131010134423.GY13099@csclub.uwaterloo.ca> On Wed, Oct 09, 2013 at 09:41:30PM -0400, James Knott wrote: > I recently bought a book for an online course I was taking. The ebook > was about half the price of the hard cover book in stores, but you could > only read it for 6 months, IIRC. Instead, I attemped to buy a used one > through Chapters/Indigo and wound up with a new paperback verison from > India for about $18, instead of the about $150 the hard cover edition > was in the stores! So if you fail the course and want to do it again, you have to buy the book again? Also those books tend to be useful reference material later. 6 months limits are stupid on text books. > BTW, the book was "Computer Networks" 5th edition, by Andrew Tanenbaum > (of Minix fame) and David Wethereral (the course instructor). Hmm, I have never seen a paperback version. I think mine is a 1st or 2nd edition. I suspect the 5th edition no longer bothers to cover ATM. :) -- Len Sorensen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 10 14:08:45 2013 From: william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (William Muriithi) Date: Thu, 10 Oct 2013 10:08:45 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: > > Speaking from a strictly ethical perspective, I think one should be > able to circumvent TPM's (for lawful purposes) on content legally > purchased. The problem here is that much content is not sold online - > instead licenses to access that content is sold. Think the proper way is to avoid buying DRM books. Seriously, I think this is one industry that we should not whine about. Well, till they stop selling dead tree format. Buying DRM books and then stripping the DRM just encourage them to keep at it. Walking away from locked email is far more effective that even law. > > If you don't own it as property you don't have much recourse. > > In any event, this article may speak more directly to your question on > legality: < http://www.teleread.com/copy-right/it-is-now-illegal-to-break-drm-on-e-books-in-canada/ > > > ~ Related bits ~ > > Noted on O'Reilly > < http://toc.oreilly.com/2012/11/hacking-drm-ebook-piracy-ereading-platforms.html > > > "Canada's New Copyright Laws and its Implications for Linux and Open > Source" will be presented at FSOSS in 2 weeks: > > > DRM & TPM Issues from the Privacy Commisioner of Canada: > > > Regarding DRM and the future of the web: > > William -------------- next part -------------- An HTML attachment was scrubbed... URL: From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 10 14:29:51 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Thu, 10 Oct 2013 10:29:51 -0400 Subject: Ebooks on Linux In-Reply-To: <20131010134423.GY13099-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org> References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> Message-ID: On Thu, Oct 10, 2013 at 9:44 AM, Lennart Sorensen wrote: > So if you fail the course and want to do it again, you have to buy the > book again? > > Also those books tend to be useful reference material later. 6 months > limits are stupid on text books. And not just books; in the case of online/distance courses: "Other provisions will facilitate distance learning by permitting institutions to communicate lessons to the public over the Internet for educational or training purposes, subject to any digital locks and as long as the lessons are destroyed within thirty days of conclusion of a course." -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 15:57:43 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 10 Oct 2013 11:57:43 -0400 Subject: Ebooks on Linux In-Reply-To: <20131010134423.GY13099-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org> References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> Message-ID: <5256CE77.1020709@rogers.com> Lennart Sorensen wrote: > So if you fail the course and want to do it again, you have to buy the > book again? It's a non credit course, so there's not a lot of incentive to do it again. BTW, it was one of the free on line courses offered by Coursera, /www.coursera.org. The Computer Networks course was conducted by the University of Washington. I had previously took a Python course from the University of Toronto. > > Also those books tend to be useful reference material later. 6 months > limits are stupid on text books. I agree. I still have my math EE texts from my time at Ryerson, back in the '80s > >> > BTW, the book was "Computer Networks" 5th edition, by Andrew Tanenbaum >> > (of Minix fame) and David Wethereral (the course instructor). > Hmm, I have never seen a paperback version. I think mine is a 1st or > 2nd edition. > > I suspect the 5th edition no longer bothers to cover ATM. :) The 5th edition was published in 2012 and has about a page or so on PPP over ATM. However, I don't recall any mention of Frame Relay. I was also surprised at the paperback version, as I hadn't previously seen one either. One point, on the top left corner, there's a note stating that the book is not to distributed outside of the Indian subcontinent. My copy was shipped from the U.S.. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 16:00:48 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 10 Oct 2013 12:00:48 -0400 Subject: Ebooks on Linux In-Reply-To: References: Message-ID: <5256CF30.4040307@rogers.com> William Muriithi wrote: > Think the proper way is to avoid buying DRM books. I have never bought a DRM book, but I have several DRM free O'Reilly books. The ebooks I get from the library have DRM though. I can understand DRM in a library, as some people might otherwise download a book and "forget" to return it. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 16:38:28 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 10 Oct 2013 12:38:28 -0400 Subject: Ebooks on Linux In-Reply-To: References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> Message-ID: <5256D804.4040707@rogers.com> Scott Elcomb wrote: > And not just books; in the case of online/distance courses: > > "Other provisions will facilitate distance learning by permitting > institutions to communicate lessons to the public over the Internet > for educational or training purposes, subject to any digital locks and > as long as the lessons are destroyed within thirty days of conclusion > of a course." I just checked that Computer Networks course I took. The course material is available for download and there's no mention of any DRM or time limits. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Thu Oct 10 20:53:55 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Thu, 10 Oct 2013 16:53:55 -0400 (EDT) Subject: Ebooks on Linux In-Reply-To: <20131010134423.GY13099-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org> References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> Message-ID: | From: Lennart Sorensen | > BTW, the book was "Computer Networks" 5th edition, by Andrew Tanenbaum | > (of Minix fame) and David Wethereral (the course instructor). | | Hmm, I have never seen a paperback version. I think mine is a 1st or | 2nd edition. Didn't you know that physical books are region-coded, just like DVDs? Paperback versions of many important texts are sold cheaply in developing countries. In this case, the book came from India. The publishers really really want to stop the transfer of these cheap copies into their main markets. Just like region coding. In the US, Wiley recently lost a case on this matter due to the "First Sale Doctrine". It went all the way to the Supreme Court. I have no idea how this would play out in Canada. I do remember that in the 1970s publishers and authors in Canada were really upset at Coles bookstores for importing remaindered books by Canadian authors into Canada from the US. I don't remember how that turned out. PS: a Canadian author, Alice Munro, just won the Nobel Prize for Literature. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 20:57:23 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 10 Oct 2013 16:57:23 -0400 Subject: Ebooks on Linux In-Reply-To: References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> Message-ID: <525714B3.8090908@rogers.com> D. Hugh Redelmeier wrote: > Didn't you know that physical books are region-coded, just like DVDs? You mean my book won't work here? I guess I'd better stop reading it then. ;-) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Thu Oct 10 21:27:48 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Thu, 10 Oct 2013 17:27:48 -0400 (EDT) Subject: Ebooks on Linux In-Reply-To: <525714B3.8090908-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> <525714B3.8090908@rogers.com> Message-ID: | From: James Knott | D. Hugh Redelmeier wrote: | > Didn't you know that physical books are region-coded, just like DVDs? | | You mean my book won't work here? I guess I'd better stop reading it | then. ;-) No, you broke the DRM by importing it. DRM can be cracked but may not be cracked (ability vs. permission). -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 10 22:09:19 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 10 Oct 2013 18:09:19 -0400 Subject: Ebooks on Linux In-Reply-To: References: <525605CA.5030108@rogers.com> <20131010134423.GY13099@csclub.uwaterloo.ca> <525714B3.8090908@rogers.com> Message-ID: <5257258F.20602@rogers.com> D. Hugh Redelmeier wrote: > No, you broke the DRM by importing it. Hey, blame Chapters/Indego. They're the ones that smuggled it in. I only received it in the mail. ;-) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org Fri Oct 11 17:03:12 2013 From: evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org (Evan Leibovitch) Date: Fri, 11 Oct 2013 13:03:12 -0400 Subject: Raspberry Pi Toronto Meetup Message-ID: Hi. Sorry I wasn't able to make the meeting this week. I still have Colin's hardware and my dues ready to bring. What I did stumble upon, totally by accident (seeing signs while walking home from work) was that there was a Toronto Raspberry Pi Meetupheld last night at the Seneca at Yorkcampus. Highlights of the night were an introduction to the "noobs" booting system for the Pi, as well as an explanation by Meetup leader Chris Tyler about the differences between the various ARM architectures. Looks like they are planning on making the meetup a regular event, second Thursday of the month at Seneca at York. The theme for next week is motorized devices. If interested just follow this link . -- Evan Leibovitch Toronto Canada Em: evan at telly dot org Sk: evanleibovitch Tw: el56 -------------- next part -------------- An HTML attachment was scrubbed... URL: From avolkov-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Oct 11 17:21:11 2013 From: avolkov-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Alex Volkov) Date: Fri, 11 Oct 2013 13:21:11 -0400 Subject: Raspberry Pi Toronto Meetup In-Reply-To: References: Message-ID: Hi Evan, Nice to be seeing a fellow TLUGer at the meetup. One of the things discussed later on is the fact that you can run Quake on a Raspberry Pi, and if you connect the Pies on the network you could have a Lan party. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=18853 Later on Chris Tyler also gave a guided tour about all kinds of hardware the lab has been working with, including CALXEDA Highbank system, and a Cubiboard 2, running Allwinner A20. As a bit of shameless self-promotion, here's my photographs from the event -- https://plus.google.com/115038934521649836874/posts/R1GZFFa8tPD The event is definitely worth the commute to Seneca at York. Alex. On Fri, Oct 11, 2013 at 1:03 PM, Evan Leibovitch wrote: > Hi. Sorry I wasn't able to make the meeting this week. I still have > Colin's hardware and my dues ready to bring. > > What I did stumble upon, totally by accident (seeing signs while walking > home from work) was that there was a Toronto Raspberry Pi Meetupheld last night at the Seneca at Yorkcampus. > > Highlights of the night were an introduction to the "noobs" booting system > for the Pi, as well as an explanation by Meetup leader Chris Tyler about > the differences between the various ARM architectures. > > Looks like they are planning on making the meetup a regular event, second > Thursday of the month at Seneca at York. The theme for next week is > motorized devices. > > If interested just follow this link . > > -- > Evan Leibovitch > Toronto Canada > > Em: evan at telly dot org > Sk: evanleibovitch > Tw: el56 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Fri Oct 11 18:38:43 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Fri, 11 Oct 2013 14:38:43 -0400 (EDT) Subject: FSOSS 2013: Seneca's Free Software and Open Source Symposium (urgent) In-Reply-To: References: Message-ID: | From: D. Hugh Redelmeier | First, the urgent part: the registration price goes up a lot after | tomorrow. | | They extend the Early Bird pricing until Wednesday, Oct. 16 -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Sat Oct 12 00:42:33 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Fri, 11 Oct 2013 20:42:33 -0400 (EDT) Subject: Fwd: Re: [u-u] Games... (fwd) Message-ID: No, it didn't make it to the list. ---------- Forwarded message ---------- X-Spam-Level: * From: David Collier-Brown To: D. Hugh Redelmeier Date: Fri, 11 Oct 2013 18:18:18 -0400 Subject: Fwd: Re: [u-u] Games... Reply-To: davecb-0XdUWXLQalXR7s880joybQ at public.gmane.org Did you get this email on the TLUG list? --dave (at gmail) c-b -------- Original Message -------- Subject: Re: [u-u] Games... Date: Fri, 11 Oct 2013 18:10:30 -0400 From: David Collier-Brown Reply-To: davecb-0XdUWXLQalXR7s880joybQ at public.gmane.org To: TLUG Mailing List I asked the UU folks about Linux games the other day, and I probably should ask GTALUG as well, for their opinion on Linux games available in source form... -------- Original Message -------- The thing I'd most like to find is * a one-on-one game * with short durations * in a language that can easily call a c/c++ library It would be pleasant (if unexpected) that it run on Windows, too. I'm trying to do a demo of a supporting library, and tuxracer didn't fit (;-)) --dave On 10/11/2013 05:07 PM, Colin McGregor wrote: > At the last UU Meeting David Collier-Brown wondered about multi-player > Linux games where the source code was available. Let me note a few to > get things rolling: > > - Battle for Wesnoth: http://www.wesnoth.org/ . A turn based strategy > game with a strong fantasy component. Can be you vs. computer or you > other players. Play takes place on a map subdivided into hexagons, > with things like grassland, castles, caverns, forests, etc. shown on > the map. At the start of the game players get a sum of gold that can > be used to buy army units. Each unit has a specific price and their > performance will depend on factors like terrain, and time of day (ie: > zombies do best at night and underground, human cavalry do best on > grassland during the day, etc.). Each player takes turns buying units > (if they have enough gold), moving units and then if desired, fighting > (each turn may take 5 minutes to complete, but it represents 4 hours > of time in the game and depending on the units involved, a player may > want to try to delay a fight until sunrise or sunset) > > - Quake III Arena : https://github.com/id-Software/Quake-III-Arena . > The people at id Software decided to GPL several of their games, > including Quake III, a first person shooter game. They only however > GPLed the source code, the files that describe buildings, monsters, > sound effects, music, etc. are still proprietary. There are now free > replacements for the files that id Software didn't include, such as: > http://ioquake3.org/ . In the game you see what a soldier would see > looking out his/her helmet, with a basic if it moves, shot it before > he/she/it (your opponents can be human and/or computer) shoots you. At > the start of the game each player has a hand gun and scattered through > the game area are extra weapons, ammunition, medical kits. If killed a > player is returned to the game in a few seconds, without any of the > extra items they may have collected. Play in each round continues > until one player has made a certain number of kills. I got fairly > familiar with the original version of this game when I did a review > for Tux Magazine :-) : ftp://ftp.linuxjournal.com/pub/tux/tux017.pdf > > Other open source multi-player game suggestions? > > > Colin. > _______________________________________________ > u-u mailing list > u-u-nUbHFpetmNumKAeH2fHhIti2O/JbrIOy at public.gmane.org > https://unixunanimous.org/mailman/listinfo/u-u > -- David Collier-Brown, | Always do right. This will gratify System Programmer and Author | some people and astonish the rest davecb-0XdUWXLQalXR7s880joybQ at public.gmane.org | -- Mark Twain (416) 223-8968 -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Sat Oct 12 02:09:47 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Fri, 11 Oct 2013 22:09:47 -0400 Subject: Fwd: Re: [u-u] Games... (fwd) In-Reply-To: References: Message-ID: On Fri, Oct 11, 2013 at 8:42 PM, D. Hugh Redelmeier wrote: > No, it didn't make it to the list. > I asked the UU folks about Linux games the other day, and I probably > should ask GTALUG as well, for their opinion on Linux games available in > source form... > > > -------- Original Message -------- > > The thing I'd most like to find is > > * a one-on-one game > * with short durations > * in a language that can easily call a c/c++ library > > It would be pleasant (if unexpected) that it run on Windows, too. > > I'm trying to do a demo of a supporting library, and tuxracer didn't fit > (;-)) Could you provide some example "ideal" games as examples? I'm also curious as to the nature of the supporting library. What does the demo hope to achieve? > On 10/11/2013 05:07 PM, Colin McGregor wrote: >> At the last UU Meeting David Collier-Brown wondered about multi-player >> Linux games where the source code was available. Let me note a few to >> get things rolling: >> >> - Battle for Wesnoth: http://www.wesnoth.org/ . A turn based strategy >> - Quake III Arena : https://github.com/id-Software/Quake-III-Arena . >> Other open source multi-player game suggestions? Some Additions: - BZFlag [1][2] - Scrabble 3D [3] - Atomic Tanks [4] - Zero Ballistics [5][6] - Xonotic [7][8] (a successor to Nexuiz [9]) - 0 A.D. [10][11] is currently running a campaign on Indiegogo, rasing funds for Software In The Public Interest [12] Future Possibilities: Super Tux Kart is apparently working on multiplayer. [13] Leadwerks is making the jump [14] in an effort to encourage more game development on Linux. AFAIK it won't be open source, but games developed with it may be. They're also currently running a contest among their current Windows and Mac users, called "A Machine for Penguins". [15] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] -- Scott Elcomb @psema4 on Twitter / Identi.ca / Github & more Atomic OS: Self Contained Microsystems http://code.google.com/p/atomos/ Member of the Pirate Party of Canada http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org Sat Oct 12 07:02:12 2013 From: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org (Robert Brockway) Date: Sat, 12 Oct 2013 17:02:12 +1000 (EST) Subject: Fwd: Re: [u-u] Games... (fwd) In-Reply-To: References: Message-ID: On Fri, 11 Oct 2013, Scott Elcomb wrote: >> * a one-on-one game >> * with short durations >> * in a language that can easily call a c/c++ library I recommend Hedgewars. Lots of fun, with network play. It is bright and fun to watch. http://www.hedgewars.org/ Cheers, Rob -- Email: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org Linux counter ID #16440 IRC: Solver (OFTC & Freenode) Web: http://www.pracops.com Director, Software in the Public Interest (http://spi-inc.org/) Information behaves like a gas -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Sun Oct 13 06:14:04 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Sun, 13 Oct 2013 02:14:04 -0400 Subject: Building cross reference -- how? Message-ID: <20131013061404.GA9139@node1.localdomain> Hi all, I want to build cross reference on certain lines in files. I can extract those lines into a file, say in format filename,...line... Now, how do I build cross reference? For example, if I have file1, one two three red file2, four five file3, red blue yellow file4, blue one Then, cross reference for "red" should give me first line (file1) and 3rd line (file3). And, cross reference for "red one" should give me only the first line (file1). I guess I can do fgrep -e red fgrep -e red | fgrep -e one Is there a program, similar to "updatedb" and "slocate"? -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org Sun Oct 13 08:22:44 2013 From: waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org (Walter Dnes) Date: Sun, 13 Oct 2013 04:22:44 -0400 Subject: Building cross reference -- how? In-Reply-To: <20131013061404.GA9139-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> Message-ID: <20131013082244.GA11192@waltdnes.org> On Sun, Oct 13, 2013 at 02:14:04AM -0400, William Park wrote > Hi all, > > I want to build cross reference on certain lines in files. I can > extract those lines into a file, say in format > filename,...line... > > Now, how do I build cross reference? > > For example, if I have > file1, one two three red > file2, four five > file3, red blue yellow > file4, blue one > Then, cross reference for "red" should give me first line (file1) and > 3rd line (file3). And, cross reference for "red one" should give me > only the first line (file1). I guess I can do > fgrep -e red > fgrep -e red | fgrep -e one > > Is there a program, similar to "updatedb" and "slocate"? It sounds almost like you want to create a concordance. Various word processors (e.g. MS Word) can do it. A free (as in beer, only; no source) linux program is available from... http://www.antlab.sci.waseda.ac.jp/antconc_index.html It could probably be done as a 2-pass bash script. See... http://stackoverflow.com/questions/9056829/concordance-of-text for a start. Pass 1 would be creating the list (don't need the count). Pass 2 would use the output from Pass 1 as a pattern file. Something like... grep -Hno -f list_of_input_files -- Walter Dnes I don't run "desktop environments"; I run useful applications -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Sun Oct 13 16:30:19 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Sun, 13 Oct 2013 12:30:19 -0400 Subject: Building cross reference -- how? In-Reply-To: <20131013082244.GA11192-SLHPyeZ9y/tg9hUCZPvPmw@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131013082244.GA11192@waltdnes.org> Message-ID: <20131013163019.GA11132@node1.localdomain> On Sun, Oct 13, 2013 at 04:22:44AM -0400, Walter Dnes wrote: > On Sun, Oct 13, 2013 at 02:14:04AM -0400, William Park wrote > > fgrep -e red > > fgrep -e red | fgrep -e one > grep -Hno -f list_of_input_files Is there "AND" operator in grep and its friend? grep -e pat1 -e pat2 is "OR". I need "AND". -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Sun Oct 13 17:03:46 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Sun, 13 Oct 2013 13:03:46 -0400 (EDT) Subject: Building cross reference -- how? In-Reply-To: <20131013061404.GA9139-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> Message-ID: | From: William Park There are surely many ways to do what you want. But your problem description isn't very clear. Are the terms you want to index a small fixed set? A relational database can do that very well, with a unary relation for each term, and a join for forming the conjunction. Likely overkill. Is what you want a concordance or KWIC (Key Word In Context) index? In the old days (1970s) the paper UNIX manuals came with a KWIC index. So there were tools to generate it. Now we use man -k instead. Here's a link that might be relevant: What's wrong with the multiple fgrep solution that you came up with? The answer might help us understand your problem better. | Is there a program, similar to "updatedb" and "slocate"? You mean to preprocess your data? Why do you want one? Is the processing so slow that preprocessing is worthwhile? -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org Sun Oct 13 17:10:07 2013 From: chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org (Chris F.A. Johnson) Date: Sun, 13 Oct 2013 13:10:07 -0400 (EDT) Subject: Building cross reference -- how? In-Reply-To: <20131013163019.GA11132-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131013082244.GA11192@waltdnes.org> <20131013163019.GA11132@node1.localdomain> Message-ID: On Sun, 13 Oct 2013, William Park wrote: > On Sun, Oct 13, 2013 at 04:22:44AM -0400, Walter Dnes wrote: >> On Sun, Oct 13, 2013 at 02:14:04AM -0400, William Park wrote >>> fgrep -e red >>> fgrep -e red | fgrep -e one > >> grep -Hno -f list_of_input_files > > Is there "AND" operator in grep and its friend? > grep -e pat1 -e pat2 > is "OR". I need "AND". Use awk: awk '/pat1/&&/pat2/' -- Chris F.A. Johnson, -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org Sun Oct 13 23:43:20 2013 From: waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org (Walter Dnes) Date: Sun, 13 Oct 2013 19:43:20 -0400 Subject: Building cross reference -- how? In-Reply-To: <20131013163019.GA11132-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131013082244.GA11192@waltdnes.org> <20131013163019.GA11132@node1.localdomain> Message-ID: <20131013234320.GA12988@waltdnes.org> On Sun, Oct 13, 2013 at 12:30:19PM -0400, William Park wrote > On Sun, Oct 13, 2013 at 04:22:44AM -0400, Walter Dnes wrote: > > On Sun, Oct 13, 2013 at 02:14:04AM -0400, William Park wrote > > > fgrep -e red > > > fgrep -e red | fgrep -e one > > > grep -Hno -f list_of_input_files > > Is there "AND" operator in grep and its friend? > grep -e pat1 -e pat2 > is "OR". I need "AND". You probably want something like... grep -e ((pat1.*pat2) \| (pat2.*pat1)) You'll probably have to fix up the escaping there. It gets ugly once you get past 2 patterns. -- Walter Dnes I don't run "desktop environments"; I run useful applications -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 14 04:37:38 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 14 Oct 2013 00:37:38 -0400 (EDT) Subject: war story: my new off-the-shelf desktop computer Message-ID: My current desktop is just fine. But it is over 5 years old and I was getting wanderlust. Then I saw this thread and similar ones: I bought off ebay.ca, from that seller (SurplusByDesign, a front for Staples), an HP Envy 700-019. It differs a little bit from that thread's computer. Here's mine: - "used" (but not really: film still protected all the plastic surfaces; Win8 not customer-ized) - Later-model CPU (Haswell i7-4770) so I get a few obscure goodies + slightly faster in some cases + better integrated graphics (which I won't use) + Haswell New Instructions + Transactional Synchronization Extensions - no SSD (but 16G isn't that large) - auction; slightly cheaper - later model video card [turned out to be a downgrade] All well and good. But I had a few surprises, and not good ones. The video card (HP OEM AMD Radeon HD 8570 (2 GB DDR3 dedicated)) only goes up to 1920x1200. AMD's specs for this card say 2560x1600, which I need for my monitor. But OEMs can cripple cards. Annoyingly, the HP Radeon HD 7570 in the Envy H8 *does* do 2560x1600. Fix: I've replaced the video card with an MSI GeForce GTX 650. The drive bays require proprietary screws. Even though HP's blurb says "Tool-less access for up to three HDDs or SSDs and two ODDs provide storage for your digital library and backup. Easily add or swap components." These screws are not available from HP Support (they send me to HP Parts) or HP Parts (they send me to HP Support). The maintenance manual incorrectly describes the drive cage and how to mount drives. I'm not alone: Fix: In my bucket of screws, accumulated over 30 years, I found four screws that would do in a pinch. They might not have the correct threading but I can force them into a 3.5" adapter for a 2.5" SSD. My old SSD doesn't work with Haswell. This is a known problem with all first generation SandForce SSD controllers. Apparently the SSD warranty doesn't cover this case (why not? it seems like a defect). This was not an easy problem to debug but when I went to OCZ's forum, this posting was prominent. Fix: I ordered a new SSD. It should arrive in the coming week The chipset (Z87 stepping C1) has a USB bug, fixed in C2. See Erratum 17 "SuperSpeed Device Re-Enumeration" in Amusingly, the Product Change Notice describes the fix as "Metal layers change from C1 to C2 to fix USB SuperSpeed device remuneration[sic] erratum." I want remuneration :-) Fix: ignore. It may never hit me. Oh, and I haven't yet figured how to install Linux on a UEFI Secure Boot system. I'm taking the chicken's way out: - turn off secure boot - install Linux on an SSD so I can select which system to boot by selecting the boot device I've not tried this (I'm awaiting the SSD) so I don't know for sure that it will work. So who knows how many other nits I find when I actually use the machine. Summary: Lennart is laughing at me for buying an HP desktop. But my last one worked out quite well. I still hope that this one will. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Mon Oct 14 06:44:59 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Mon, 14 Oct 2013 02:44:59 -0400 Subject: Building cross reference -- how? In-Reply-To: References: <20131013061404.GA9139@node1.localdomain> Message-ID: <20131014064459.GA18139@node1.localdomain> On Sun, Oct 13, 2013 at 01:03:46PM -0400, D. Hugh Redelmeier wrote: > What's wrong with the multiple fgrep solution that you came up with? > The answer might help us understand your problem better. Nothing wrong with grep solution, really. It's better than awk solution, awk '$0 ~ re1 && $0 ~ re2 {print}' because awk is doing 2 full passes whereas grep is doing somewhere between 1 and 2 passes. But, I think this road is "dead end". -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org Mon Oct 14 07:02:44 2013 From: bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org (Bob Jonkman) Date: Mon, 14 Oct 2013 03:02:44 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: Message-ID: <525B9714.7050902@sobac.com> Hugh Redelmeier wrote: > The drive bays require proprietary screws. Even though HP's blurb > says "Tool-less access for up to three HDDs or SSDs and two ODDs > provide storage for your digital library and backup. Easily add or > swap components." These screws are not available from HP Support > (they send me to HP Parts) or HP Parts (they send me to HP Support). On HP cases I've worked on (from the last 10 years) the front of the case (behind the plastic facing) has four, eight or twelve screws, just screwed into the metal of the case, not holding anything in place. They have cylindrical heads with a Torx and slot fitting. They're intended to put into drives (without holding anything in place), so that the cylindrical screw heads act as gliders in the slots of the "Tool-less access" drive bays. Conveniently, I happen to have an older model on the workbench with the cover off: http://sobac.com/owncloud/public.php?service=files&t=24a0458283121372f0880222dcea526b This model has Phillips screws, so must have been manufactured before HP became evil (perhaps when they were still called Compaq). --Bob. Bob Jonkman Phone: +1-519-669-0388 SOBAC Microcomputer Services http://sobac.com/sobac/ http://bob.jonkman.ca/blogs/ http://sn.jonkman.ca/bobjonkman/ Software --- Office & Business Automation --- Consulting GnuPG Fngrprnt:04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA On 13-10-14 12:37 AM, D. Hugh Redelmeier wrote: > My current desktop is just fine. But it is over 5 years old and > I was getting wanderlust. Then I saw this thread and similar ones: > > > I bought off ebay.ca, from that seller (SurplusByDesign, a front for > Staples), an HP Envy 700-019. It differs a little bit from that > thread's computer. Here's mine: > > > - "used" (but not really: film still protected all the plastic > surfaces; Win8 not customer-ized) > > - Later-model CPU (Haswell i7-4770) so I get a few obscure goodies > + slightly faster in some cases > + better integrated graphics (which I won't use) > + Haswell New Instructions > + Transactional Synchronization Extensions > > - no SSD (but 16G isn't that large) > > - auction; slightly cheaper > > - later model video card [turned out to be a downgrade] > > All well and good. > > But I had a few surprises, and not good ones. > > The video card (HP OEM AMD Radeon HD 8570 (2 GB DDR3 dedicated)) only > goes up to 1920x1200. AMD's specs for this card say 2560x1600, which > I need for my monitor. But OEMs can cripple cards. > > > > Annoyingly, the HP Radeon HD 7570 in the Envy H8 *does* do 2560x1600. > > Fix: I've replaced the video card with an MSI GeForce GTX 650. > > The drive bays require proprietary screws. Even though HP's blurb > says "Tool-less access for up to three HDDs or SSDs and two ODDs > provide storage for your digital library and backup. Easily add or > swap components." These screws are not available from HP Support > (they send me to HP Parts) or HP Parts (they send me to HP Support). > The maintenance manual incorrectly describes the drive cage and how to > mount drives. I'm not alone: > > > Fix: In my bucket of screws, accumulated over 30 years, I found four > screws that would do in a pinch. They might not have the correct > threading but I can force them into a 3.5" adapter for a 2.5" SSD. > > My old SSD doesn't work with Haswell. This is a known problem with > all first generation SandForce SSD controllers. Apparently the SSD > warranty doesn't cover this case (why not? it seems like a defect). > > This was not an easy problem to debug but when I went to OCZ's forum, this > posting was prominent. > > Fix: I ordered a new SSD. It should arrive in the coming week > > The chipset (Z87 stepping C1) has a USB bug, fixed in C2. See Erratum > 17 "SuperSpeed Device Re-Enumeration" in > > Amusingly, the Product Change Notice describes the fix as "Metal > layers change from C1 to C2 to fix USB SuperSpeed device > remuneration[sic] erratum." I want remuneration :-) > > Fix: ignore. It may never hit me. > > Oh, and I haven't yet figured how to install Linux on a UEFI Secure > Boot system. I'm taking the chicken's way out: > - turn off secure boot > - install Linux on an SSD so I can select which system to boot by > selecting the boot device > I've not tried this (I'm awaiting the SSD) so I don't know for sure > that it will work. > > So who knows how many other nits I find when I actually use the > machine. > > Summary: Lennart is laughing at me for buying an HP desktop. But my last > one worked out quite well. I still hope that this one will. > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 14 07:09:04 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 14 Oct 2013 03:09:04 -0400 (EDT) Subject: Building cross reference -- how? In-Reply-To: <20131014064459.GA18139-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> Message-ID: | From: William Park | To: tlug-lxSQFCZeNF4 at public.gmane.org, kwlug-disc-BDyrTanuHcXYtjvyW6yDsg at public.gmane.org Addressing mail to two lists causes problems. My last reply bounced from the kw list -- I hadn't realized that I'd sent it there. | On Sun, Oct 13, 2013 at 01:03:46PM -0400, D. Hugh Redelmeier wrote: | > What's wrong with the multiple fgrep solution that you came up with? | > The answer might help us understand your problem better. | | Nothing wrong with grep solution, really. It's better than awk | solution, | awk '$0 ~ re1 && $0 ~ re2 {print}' | because awk is doing 2 full passes whereas grep is doing somewhere | between 1 and 2 passes. I don't know what you mean by passes. I guess you mean: scans of a line in the buffer. That's generally cheap. The number of times you read the file is more expensive. Both read it once. && is a conditional AND, so the right side will only be evaluated if the left is true (probably rare). | But, I think this road is "dead end". That implies you are wanting to go somewhere, but we cannot help if we don't know where that is. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Mon Oct 14 07:14:48 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Mon, 14 Oct 2013 03:14:48 -0400 Subject: [kwlug-disc]Building cross reference -- how? In-Reply-To: <20131014064459.GA18139-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> Message-ID: <20131014071448.GA3718@node1.localdomain> I found a solution! man comm Using previous example, file1, one two three red file2, four five file3, red blue yellow file4, blue one - for each "word", create a file (with the same name), and its content will be sorted list of filenames where "word" came from. So, one -- file1 file4 red -- file1 file3 ... - to find cross reference of "one" and "red", do comm -1 -2 red one -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org Mon Oct 14 07:14:52 2013 From: chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org (Chris F.A. Johnson) Date: Mon, 14 Oct 2013 03:14:52 -0400 (EDT) Subject: Building cross reference -- how? In-Reply-To: <20131014064459.GA18139-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> Message-ID: On Mon, 14 Oct 2013, William Park wrote: > On Sun, Oct 13, 2013 at 01:03:46PM -0400, D. Hugh Redelmeier wrote: >> What's wrong with the multiple fgrep solution that you came up with? >> The answer might help us understand your problem better. > > Nothing wrong with grep solution, really. It's better than awk > solution, > awk '$0 ~ re1 && $0 ~ re2 {print}' > because awk is doing 2 full passes whereas grep is doing somewhere > between 1 and 2 passes. What makes you think awk would do 2 passes? (And {print} is unnecessary.) > But, I think this road is "dead end". > -- Chris F.A. Johnson, -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 14 07:29:47 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 14 Oct 2013 03:29:47 -0400 (EDT) Subject: war story: my new off-the-shelf desktop computer In-Reply-To: <525B9714.7050902-w5ExpX8uLjYAvxtiuMwx3w@public.gmane.org> References: <525B9714.7050902@sobac.com> Message-ID: | From: Bob Jonkman | On HP cases I've worked on (from the last 10 years) the front of the | case (behind the plastic facing) has four, eight or twelve screws, just | screwed into the metal of the case, not holding anything in place. They | have cylindrical heads with a Torx and slot fitting. Yeah, that's what I need. And I've seen it too on some old Compaqs. So I actually looked already and didn't find them. Thanks very much for suggesting this. It just might have been a life-saver, and it isn't obvious. Did I mention that the service manual (which could help) doesn't describe the bays for this model but for some other model? Grrr. My feeling is that HP consumer stuff has passed some threshold of badness that I will not want to be part of. They just cheap out on too many things. I guess I thought "Envy" was their high-end consumer line and might be OK. It isn't quite. The screws that came with the unit (holding the existing disk drive) use Torx T15. Some other things in the case are slot+T15 (I think; I used slot). | They're intended to | put into drives (without holding anything in place), so that the | cylindrical screw heads act as gliders in the slots of the "Tool-less | access" drive bays. Exactly. One advantage is that you don't need to get access tobth sides of the bay to screw in the drive. I think that some server versions have some rubber involved for damping. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Mon Oct 14 08:03:17 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Mon, 14 Oct 2013 04:03:17 -0400 Subject: Building cross reference -- how? In-Reply-To: References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> Message-ID: <20131014080317.GA31539@node1.localdomain> On Mon, Oct 14, 2013 at 03:09:04AM -0400, D. Hugh Redelmeier wrote: > | On Sun, Oct 13, 2013 at 01:03:46PM -0400, D. Hugh Redelmeier wrote: > | > What's wrong with the multiple fgrep solution that you came up with? > | > The answer might help us understand your problem better. > | > | Nothing wrong with grep solution, really. It's better than awk > | solution, > | awk '$0 ~ re1 && $0 ~ re2 {print}' > | because awk is doing 2 full passes whereas grep is doing somewhere > | between 1 and 2 passes. > > I don't know what you mean by passes. I guess you mean: scans of a > line in the buffer. That's generally cheap. The number of times you > read the file is more expensive. Both read it once. I meant, regex is going through the line twice. Regex is not fast either. > > && is a conditional AND, so the right side will only be > evaluated if the left is true (probably rare). > > | But, I think this road is "dead end". > > That implies you are wanting to go somewhere, but we cannot help if we > don't know where that is. I'm trying to avoid scanning the entire file. If I have 1M files, each with 1K lines, then that's 1G lines. I was trying to reduce it to 1M lines by extracting cross reference words beforehand. I was looking to reduce it even further. And, I think I found it. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 14 16:04:20 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 14 Oct 2013 12:04:20 -0400 (EDT) Subject: [kwlug-disc]Building cross reference -- how? In-Reply-To: <20131014071448.GA3718-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> <20131014071448.GA3718@node1.localdomain> Message-ID: | From: William Park | I found a solution! man comm | - for each "word", create a file (with the same name), and its content | will be sorted list of filenames where "word" came from. So, That's the "unary relation" that I talked about earlier in the thread. | - to find cross reference of "one" and "red", do | comm -1 -2 red one That's the join. I expect that using a relational database would have higher performance. Only measuring would tell. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Mon Oct 14 19:12:19 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Mon, 14 Oct 2013 15:12:19 -0400 (EDT) Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: <525B9714.7050902@sobac.com> Message-ID: | From: D. Hugh Redelmeier | My feeling is that HP consumer stuff has passed some threshold of | badness that I will not want to be part of. They just cheap out on | too many things. I guess I thought "Envy" was their high-end consumer | line and might be OK. It isn't quite. I'm not alone in questioning the HP Envy brand evolution. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Mon Oct 14 20:54:33 2013 From: scruss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Stewart C. Russell) Date: Mon, 14 Oct 2013 16:54:33 -0400 Subject: Building cross reference -- how? In-Reply-To: <20131014080317.GA31539-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131013061404.GA9139@node1.localdomain> <20131014064459.GA18139@node1.localdomain> <20131014080317.GA31539@node1.localdomain> Message-ID: <525C5A09.8050504@gmail.com> On 13-10-14 04:03 AM, William Park wrote: > > I'm trying to avoid scanning the entire file. If I have 1M files, each > with 1K lines, then that's 1G lines. In corpus linguistics terms, that would be a medium-sized research corpus. The sort of thing my colleagues at Birmingham University were serving real-time queries over telnet to multiple clients from a single SparcStation 10 in the late 1990s. If it were me doing this for single-user access, I'd smack all the text into a SQLite FTS table. This allows for fast token-based searching, but has some features that you might have to work around: ? only full token matches are supported: not substrings, not regex ? searches are usually case-insensitive ? Unicode support might be limited or completely absent. A couple of links on FTS: - SQLite FTS3 and FTS4 Extensions https://www.sqlite.org/fts3.html - How to use Full-Text Search in SQLite - O'Reilly Answers http://answers.oreilly.com/topic/1955-how-to-use-full-text-search-in-sqlite/ cheers, Stewart -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hgibson-MwcKTmeKVNQ at public.gmane.org Tue Oct 15 00:46:06 2013 From: hgibson-MwcKTmeKVNQ at public.gmane.org (Howard Gibson) Date: Mon, 14 Oct 2013 20:46:06 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: Message-ID: <20131014204606.6eeea039260616aee724da02@eol.ca> On Mon, 14 Oct 2013 00:37:38 -0400 (EDT) "D. Hugh Redelmeier" wrote: > My current desktop is just fine. But it is over 5 years old and > I was getting wanderlust. Then I saw this thread and similar ones: > > > I bought off ebay.ca, from that seller (SurplusByDesign, a front for > Staples), an HP Envy 700-019. It differs a little bit from that > thread's computer. Here's mine: > Hugh, I replaced the motherboard on my desktop (http://home.eol.ca/~hgibson/RevLinux/) recently. I was very impressed at how easy it was. All the connectors were clearly labelled. The memory sticks all had big heat sinks on them that made nice handles. There was no need to touch the PCB. There has been some serious DFMA (Design for Manufacture and Assembly) going on in the computer world. -- Howard Gibson hgibson-MwcKTmeKVNQ at public.gmane.org howard.gibson-PadmjKOQAFnQT0dZR+AlfA at public.gmane.org jhowardgibson-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org http://home.eol.ca/~hgibson -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org Tue Oct 15 16:03:31 2013 From: lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org (Lennart Sorensen) Date: Tue, 15 Oct 2013 12:03:31 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: Message-ID: <20131015160331.GZ13099@csclub.uwaterloo.ca> On Mon, Oct 14, 2013 at 12:37:38AM -0400, D. Hugh Redelmeier wrote: > My current desktop is just fine. But it is over 5 years old and > I was getting wanderlust. Then I saw this thread and similar ones: > > > I bought off ebay.ca, from that seller (SurplusByDesign, a front for > Staples), an HP Envy 700-019. It differs a little bit from that > thread's computer. Here's mine: > > > - "used" (but not really: film still protected all the plastic > surfaces; Win8 not customer-ized) > > - Later-model CPU (Haswell i7-4770) so I get a few obscure goodies > + slightly faster in some cases > + better integrated graphics (which I won't use) > + Haswell New Instructions > + Transactional Synchronization Extensions > > - no SSD (but 16G isn't that large) > > - auction; slightly cheaper > > - later model video card [turned out to be a downgrade] > > All well and good. > > But I had a few surprises, and not good ones. > > The video card (HP OEM AMD Radeon HD 8570 (2 GB DDR3 dedicated)) only > goes up to 1920x1200. AMD's specs for this card say 2560x1600, which > I need for my monitor. But OEMs can cripple cards. > > > > Annoyingly, the HP Radeon HD 7570 in the Envy H8 *does* do 2560x1600. > > Fix: I've replaced the video card with an MSI GeForce GTX 650. > > The drive bays require proprietary screws. Even though HP's blurb > says "Tool-less access for up to three HDDs or SSDs and two ODDs > provide storage for your digital library and backup. Easily add or > swap components." These screws are not available from HP Support > (they send me to HP Parts) or HP Parts (they send me to HP Support). > The maintenance manual incorrectly describes the drive cage and how to > mount drives. I'm not alone: > > > Fix: In my bucket of screws, accumulated over 30 years, I found four > screws that would do in a pinch. They might not have the correct > threading but I can force them into a 3.5" adapter for a 2.5" SSD. > > My old SSD doesn't work with Haswell. This is a known problem with > all first generation SandForce SSD controllers. Apparently the SSD > warranty doesn't cover this case (why not? it seems like a defect). > > This was not an easy problem to debug but when I went to OCZ's forum, this > posting was prominent. > > Fix: I ordered a new SSD. It should arrive in the coming week > > The chipset (Z87 stepping C1) has a USB bug, fixed in C2. See Erratum > 17 "SuperSpeed Device Re-Enumeration" in > > Amusingly, the Product Change Notice describes the fix as "Metal > layers change from C1 to C2 to fix USB SuperSpeed device > remuneration[sic] erratum." I want remuneration :-) > > Fix: ignore. It may never hit me. > > Oh, and I haven't yet figured how to install Linux on a UEFI Secure > Boot system. I'm taking the chicken's way out: > - turn off secure boot > - install Linux on an SSD so I can select which system to boot by > selecting the boot device > I've not tried this (I'm awaiting the SSD) so I don't know for sure > that it will work. > > So who knows how many other nits I find when I actually use the > machine. > > Summary: Lennart is laughing at me for buying an HP desktop. But my last > one worked out quite well. I still hope that this one will. Well since you bring it up, yes I am. Especially an HP consumer product. Well not really laughing, more just shaking my head at bad judgement. Remember if it ever breaks, they almost certainly won't do warranty work unless it still has Windows 8 installed. Hopefully that will never be an issue. -- Len Sorensen -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Tue Oct 15 18:40:37 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Tue, 15 Oct 2013 14:40:37 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: <20131015160331.GZ13099-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org> References: <20131015160331.GZ13099@csclub.uwaterloo.ca> Message-ID: <20131015184037.GA10477@node1.localdomain> On Tue, Oct 15, 2013 at 12:03:31PM -0400, Lennart Sorensen wrote: > On Mon, Oct 14, 2013 at 12:37:38AM -0400, D. Hugh Redelmeier wrote: > > Summary: Lennart is laughing at me for buying an HP desktop. But my last > > one worked out quite well. I still hope that this one will. > > Well since you bring it up, yes I am. Especially an HP consumer product. > Well not really laughing, more just shaking my head at bad judgement. > > Remember if it ever breaks, they almost certainly won't do warranty work > unless it still has Windows 8 installed. Hopefully that will never be an issue. One easy way is to extract the original harddisk (for safe keeping), and install your own. If you're having problem, then swap it back and call tech support. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Tue Oct 15 19:23:55 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Tue, 15 Oct 2013 15:23:55 -0400 (EDT) Subject: war story: my new off-the-shelf desktop computer In-Reply-To: <20131015184037.GA10477-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131015160331.GZ13099@csclub.uwaterloo.ca> <20131015184037.GA10477@node1.localdomain> Message-ID: | From: William Park | On Tue, Oct 15, 2013 at 12:03:31PM -0400, Lennart Sorensen wrote: | > Remember if it ever breaks, they almost certainly won't do warranty work | > unless it still has Windows 8 installed. Hopefully that will never be an issue. | | One easy way is to extract the original harddisk (for safe keeping), and | install your own. If you're having problem, then swap it back and call | tech support. This one came with a generous 2T Hard drive. My current plan is to leave Win8 on it, allowing it 10% of the disk (including all the recovery etc. partitions), and boot Linux off of a shiny new SSD. What I don't know is how to use the SSD. On my current desktop, I use it for /, not /home. Easy to replace when it goes south. As an SSD has done on me in that machine. The new SSD is 256G, so it is a waste to use it for just / (well, two /, since I alternate partitions when installing new releases). On my current system, I have a /fast filesystem on the SSD, but I never seem to use it. Perhaps I should simply put /home on the SSD and rsync it frequently to the HDD. Is rsync the best way to do this between local drives? Any suggestions before I get committed to any of this? (My SSD isn't here yet.) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scott-lxSQFCZeNF4 at public.gmane.org Tue Oct 15 19:38:58 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Tue, 15 Oct 2013 15:38:58 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: <20131015160331.GZ13099@csclub.uwaterloo.ca> <20131015184037.GA10477@node1.localdomain> Message-ID: <525D99D2.6020803@ss.org> On 10/15/2013 03:23 PM, D. Hugh Redelmeier wrote: > Perhaps I should simply put /home on the SSD and rsync it frequently > to the HDD. Is rsync the best way to do this between local drives? > > Any suggestions before I get committed to any of this? (My SSD isn't > here yet.) A quick search turns up this article about using SSD + HDD in a Software RAID 1 configuration. There seems to be options to get the raid to favour reading from the SSD. http://tansi.info/hybrid/ -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Tue Oct 15 19:55:27 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Tue, 15 Oct 2013 15:55:27 -0400 Subject: war story: my new off-the-shelf desktop computer In-Reply-To: References: <20131015160331.GZ13099@csclub.uwaterloo.ca> <20131015184037.GA10477@node1.localdomain> Message-ID: <20131015195527.GA11336@node1.localdomain> On Tue, Oct 15, 2013 at 03:23:55PM -0400, D. Hugh Redelmeier wrote: > Perhaps I should simply put /home on the SSD and rsync it frequently > to the HDD. Is rsync the best way to do this between local drives? I use rsync. It's easy and cron'able. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From colin.mc151-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 17 15:28:33 2013 From: colin.mc151-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Colin McGregor) Date: Thu, 17 Oct 2013 11:28:33 -0400 Subject: Saucy Salamander Toronto Release Party Message-ID: FYI: The Ubuntu "Saucy Salamander Toronto Release Party" is this evening (October 17th, 2013), with all the details, when, where, etc to be seen here : http://loco.ubuntu.com/events/ubuntu-ca/2582-saucy-salamander-toronto-release-party/ Enjoy... Colin -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scott-lxSQFCZeNF4 at public.gmane.org Fri Oct 18 17:32:34 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Fri, 18 Oct 2013 13:32:34 -0400 Subject: A keystroke away from Doom. Message-ID: <526170B2.8090608@ss.org> So, I just discovered crontab -r. While working on a new cron job, I wanted to check what I had done for my personal user account on my personal server. I login, type crontab -e, or so I had though until I didn't get the editor. On a standard Qwerty Keyboard, the 'e' and the 'r' are right next to each other. '-e' edit, '-r' deletes the users crontab, and of course I typo'd it. Small things like this can make or break your day, and stresses that 'RAID' is not a back-up, and the importance of having back-ups! Most of you know this, but for those have forgotten or are new, just remember your a keystroke away from doom. ------ I want to thank Hugh for his inspiring 'War Story' posts. It was those that made me think to post this little Gem. What are your worst keystroke stories? P.S. Dvorak users, you can stop laughing now. -- Scott Sullivna -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From me-qIX3qoPyADtH8hdXm2+x1laTQe2KTcn/ at public.gmane.org Fri Oct 18 17:41:30 2013 From: me-qIX3qoPyADtH8hdXm2+x1laTQe2KTcn/ at public.gmane.org (Myles Braithwaite) Date: Fri, 18 Oct 2013 13:41:30 -0400 Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: <526172CA.2060006@mylesbraithwaite.com> Scott Sullivan wrote: > Small things like this can make or break your day, and stresses that > 'RAID' is not a back-up, and the importance of having back-ups! Most > of you know this, but for those have forgotten or are new, just > remember your a keystroke away from doom. I have always stored my cron scripts in /etc/cron.{d,hourly,daily,weekly,monthly} to prevent things like this. I even have a cron script that cleans my crontab monthly so I don't get use to storing them there. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Oct 18 17:43:27 2013 From: cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Christopher Browne) Date: Fri, 18 Oct 2013 13:43:27 -0400 Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: On Fri, Oct 18, 2013 at 1:32 PM, Scott Sullivan wrote: > So, I just discovered crontab -r. Eek!!! I didn't know that existed. One of my Standard Patterns in cfengine+Git is to run the following script... ---- snip bit of cfengine code.. ---- shellcommands: "$(GITHOME)/Scripts/savecrons.sh > /dev/null 2> /dev/null" ---- snip bit of cfengine code.. ---- Voila "savecrons.sh"... #!/bin/bash CRONHOME=${HOME}/GitHome/InitFiles/cron pushd ${CRONHOME} CRONTABOUTPUT=`whoami`.`hostname` echo "Saving crontab to ${CRONTABOUTPUT}" crontab -l > ${CRONTABOUTPUT} git add ${CRONTABOUTPUT} git commit -m "Saving crontab for user ${USERNAME} on host ${HOST}" ${CRONTABOUTPUT} popd > Small things like this can make or break your day, and stresses that 'RAID' > is not a back-up, and the importance of having back-ups! Most of you know > this, but for those have forgotten or are new, just remember your a > keystroke away from doom. Back when I was DBA'ing in production, and didn't have Git in production areas, I had a similar script to "savecrons.sh" which would... --> Dump current crontab into a fixed place... --> See if that's the same as it was last time I ran the script --> If not, then take one of the copies and give it a name based on today's timestamp That would give a history of whenever the crontab got messed with. Not as good as checking it into an SCM, but a *great* deal better than nothing... Having some reasonable sort of backup makes "crontab -r" a wildly less scary thing! :-) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org Fri Oct 18 17:50:41 2013 From: chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org (Chris F.A. Johnson) Date: Fri, 18 Oct 2013 13:50:41 -0400 (EDT) Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: On Fri, 18 Oct 2013, Scott Sullivan wrote: > So, I just discovered crontab -r. > > While working on a new cron job, I wanted to check what I had done for my > personal user account on my personal server. I login, type crontab -e, or so > I had though until I didn't get the editor. On a standard Qwerty Keyboard, > the 'e' and the 'r' are right next to each other. '-e' edit, '-r' deletes > the users crontab, and of course I typo'd it. I've never used the -e (or -r) option. I keep a file, $HOME/crontab, with all my crontab entries. This can be created with: crontab -l > $HOME/crontab" I edit that file and install it with crontab "$HOME/crontab" -- Chris F.A. Johnson, -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From williamdweaver-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Oct 18 17:51:15 2013 From: williamdweaver-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (William Weaver) Date: Fri, 18 Oct 2013 13:51:15 -0400 Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: Keep in mind, if you just want to view the crontab without editing it. # crontab -l I feel it is safer to use functionality to view for viewing and functionality for editing to edit. Ex. cat or less to view a file and vim to edit. Will Weaver On Fri, Oct 18, 2013 at 1:43 PM, Christopher Browne wrote: > On Fri, Oct 18, 2013 at 1:32 PM, Scott Sullivan wrote: > > So, I just discovered crontab -r. > > Eek!!! I didn't know that existed. > > One of my Standard Patterns in cfengine+Git is to run the following > script... > > ---- snip bit of cfengine code.. ---- > shellcommands: > "$(GITHOME)/Scripts/savecrons.sh > /dev/null 2> /dev/null" > ---- snip bit of cfengine code.. ---- > > Voila "savecrons.sh"... > > #!/bin/bash > CRONHOME=${HOME}/GitHome/InitFiles/cron > pushd ${CRONHOME} > CRONTABOUTPUT=`whoami`.`hostname` > echo "Saving crontab to ${CRONTABOUTPUT}" > crontab -l > ${CRONTABOUTPUT} > git add ${CRONTABOUTPUT} > git commit -m "Saving crontab for user ${USERNAME} on host ${HOST}" > ${CRONTABOUTPUT} > popd > > > Small things like this can make or break your day, and stresses that > 'RAID' > > is not a back-up, and the importance of having back-ups! Most of you know > > this, but for those have forgotten or are new, just remember your a > > keystroke away from doom. > > Back when I was DBA'ing in production, and didn't have Git in > production areas, I had a similar script to "savecrons.sh" which > would... > --> Dump current crontab into a fixed place... > --> See if that's the same as it was last time I ran the script > --> If not, then take one of the copies and give it a name based on > today's timestamp > > That would give a history of whenever the crontab got messed with. > Not as good as checking it into an SCM, but a *great* deal better than > nothing... > > Having some reasonable sort of backup makes "crontab -r" a wildly less > scary thing! :-) > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davecramer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Oct 18 18:37:07 2013 From: davecramer-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Dave Cramer) Date: Fri, 18 Oct 2013 14:37:07 -0400 Subject: backdoor to d-link routers Message-ID: https://www.schneier.com/blog/archives/2013/10/d-link_router_b.html Dave Cramer -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Fri Oct 18 18:57:30 2013 From: gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Giles Orr) Date: Fri, 18 Oct 2013 14:57:30 -0400 Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: On 18 October 2013 13:32, Scott Sullivan wrote: > So, I just discovered crontab -r. > > While working on a new cron job, I wanted to check what I had done for my personal user account on my personal server. I login, type crontab -e, or so I had though until I didn't get the editor. On a standard Qwerty Keyboard, the 'e' and the 'r' are right next to each other. '-e' edit, '-r' deletes the users crontab, and of course I typo'd it. > > Small things like this can make or break your day, and stresses that 'RAID' is not a back-up, and the importance of having back-ups! Most of you know this, but for those have forgotten or are new, just remember your a keystroke away from doom. > > ------ > > I want to thank Hugh for his inspiring 'War Story' posts. It was those that made me think to post this little Gem. What are your worst keystroke stories? > > P.S. Dvorak users, you can stop laughing now. Eh - using Dvorak just means that we have a totally different set of weird typos to beware of. I'm not laughing at you because of that - I'm laughing at you because you don't have backups. (Seriously - you gotta do something about that.) Keystroke stories ... imagine learning vi on a Dvorak keyboard. H is where your J is. J is where your C is. K is where your V is, and L is where your P is. So much for physical layout having anything to do with the associated directions! I could have remapped the directional keys, but then I would have had to drag those mappings with me from machine to machine, and I'd be terribly confused until I got the mapping installed. So I just learned it as is. And I studiously avoid using vim on a Qwerty keyboard because that's when I wipe out entire files in command mode with burned-in muscle memory of the wrong keys ... Where's the "U" again? -- Giles http://www.gilesorr.com/ gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott-lxSQFCZeNF4 at public.gmane.org Fri Oct 18 19:09:02 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Fri, 18 Oct 2013 15:09:02 -0400 Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: <5261874E.6050106@ss.org> On 10/18/2013 02:57 PM, Giles Orr wrote: > On 18 October 2013 13:32, Scott Sullivan > wrote: > > Small things like this can make or break your day, and stresses that > 'RAID' is not a back-up, and the importance of having back-ups! Most of > you know this, but for those have forgotten or are new, just remember > your a keystroke away from doom. [...] > > > > P.S. Dvorak users, you can stop laughing now. > > Eh - using Dvorak just means that we have a totally different set of > weird typos to beware of. I'm not laughing at you because of that - I'm > laughing at you because you don't have backups. (Seriously - you gotta > do something about that.) I never said I didn't have back-ups. I was simply expressing the sober reminder of their value. And actually looking at the back-up, I'm not going to re-install it. The single job had long been commented out after twitter obsoleted their older API and required authentication. -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Fri Oct 18 19:11:22 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Fri, 18 Oct 2013 15:11:22 -0400 (EDT) Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: | From: Giles Orr | Keystroke stories ... imagine learning vi on a Dvorak keyboard. H is where | your J is. J is where your C is. K is where your V is, and L is where | your P is. So much for physical layout having anything to do with the | associated directions! EMACS keystrokes were designed for touch typists. We don't know where the key is, our fingers do. Characters, not key positions, are chosen for a function, Forward, Back, Preceding, Next: ^f, ^b, ^p, ^n. I admit that after a while, you don't think of either character or position, so that difference only matters while learning. I also admit to using arrow and page keys when browsing. They are not convenient for touch typing (nor are function keys). -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Fri Oct 18 20:12:23 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Fri, 18 Oct 2013 16:12:23 -0400 Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: <20131018201223.GB24460@node1.localdomain> On Fri, Oct 18, 2013 at 03:11:22PM -0400, D. Hugh Redelmeier wrote: > | From: Giles Orr > > | Keystroke stories ... imagine learning vi on a Dvorak keyboard. H is where > | your J is. J is where your C is. K is where your V is, and L is where > | your P is. So much for physical layout having anything to do with the > | associated directions! > > EMACS keystrokes were designed for touch typists. We don't know where > the key is, our fingers do. Characters, not key positions, are chosen > for a function, Forward, Back, Preceding, Next: ^f, ^b, ^p, ^n. My main problem with Emacs sequences is that are painful to get at. It made sense with "Happy Hacker" keyboard, though. But, with current "IBM" keyboard layout, Vi sequence makes more sense. For me, I use Vi everywhere, even my command line is vi-mode. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From matt-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org Fri Oct 18 19:29:21 2013 From: matt-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org (G. Matthew Rice) Date: Fri, 18 Oct 2013 15:29:21 -0400 Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: On Fri, Oct 18, 2013 at 1:32 PM, Scott Sullivan wrote: > I want to thank Hugh for his inspiring 'War Story' posts. It was those that > made me think to post this little Gem. What are your worst keystroke > stories? During my first job after university, I lost a week worth of work with an accidental: rm *>o I meant to type: rm *.o but the shift key wasn't released on time. It only took two of those before I learned the value of a 'clean' make target. -- G. Matthew Rice gpg id: EF9AAD20 -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org Sat Oct 19 02:23:42 2013 From: kevin-4dS5u2o1hCn3fQ9qLvQP4Q at public.gmane.org (Kevin Cozens) Date: Fri, 18 Oct 2013 22:23:42 -0400 Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: <5261ED2E.5050601@ve3syb.ca> On 13-10-18 03:29 PM, G. Matthew Rice wrote: > During my first job after university, I lost a week worth of work with an > accidental: > rm *>o > > I meant to type: > rm *.o > > but the shift key wasn't released on time. It only took two of those before > I learned the value of a 'clean' make target. Ouch. It can also teach the value of using version control software. -- Cheers! Kevin. http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include | --Chris Hardwick -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Sat Oct 19 03:18:49 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Fri, 18 Oct 2013 23:18:49 -0400 Subject: A keystroke away from Doom. In-Reply-To: <5261ED2E.5050601-4dS5u2o1hCn3fQ9qLvQP4Q@public.gmane.org> References: <526170B2.8090608@ss.org> <5261ED2E.5050601@ve3syb.ca> Message-ID: <20131019031849.GA31450@node1.localdomain> On Fri, Oct 18, 2013 at 10:23:42PM -0400, Kevin Cozens wrote: > On 13-10-18 03:29 PM, G. Matthew Rice wrote: > > rm *>o > >I meant to type: > > rm *.o > > Ouch. It can also teach the value of using version control software. I do hourly (cron), daily (cron), and monthy (manual) backups, all to different disk. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org Sat Oct 19 05:41:30 2013 From: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org (Robert Brockway) Date: Sat, 19 Oct 2013 15:41:30 +1000 (EST) Subject: A keystroke away from Doom. In-Reply-To: <526170B2.8090608-lxSQFCZeNF4@public.gmane.org> References: <526170B2.8090608@ss.org> Message-ID: On Fri, 18 Oct 2013, Scott Sullivan wrote: > So, I just discovered crontab -r. > > While working on a new cron job, I wanted to check what I had done for my > personal user account on my personal server. I login, type crontab -e, or so > I had though until I didn't get the editor. On a standard Qwerty Keyboard, > the 'e' and the 'r' are right next to each other. '-e' edit, '-r' deletes > the users crontab, and of course I typo'd it. Yes it has always amazed me that the crontab command was written this way given that qwerty keyboards were standard in those days, as now. I keep a copy of personal crontab entries in crontab.bak thusly: crontab -l > ~/crontab.bak Hmm, now I think abouut it, I should put that in cron ;) > Small things like this can make or break your day, and stresses that 'RAID' > is not a back-up, and the importance of having back-ups! Most of you know Yes indeed. Well said. > I want to thank Hugh for his inspiring 'War Story' posts. It was those that > made me think to post this little Gem. What are your worst keystroke stories? Here's a couple: (1) I once spent many hours writing a script for my personal use only to accidentally delete it rght after I had finished. While I do backups nightly these had not run yet. I was so annoyed with myself I stayed up late rewriting the script, which I completed it about half of the time of the original. Morale: Take a copy as soon as the work you've done is worth saving - not once you are done. FWIW I already knew this moral but managed to ignore it on this occassion. (2) One night I was up late working on a problem. I stayed up late working on this because I was stuck trying to solve it. The problem was that the database backups were not restoring properly, and as we all know a backup needs to be tested to be a good backup. The developers were loading real data in preparation for launch so I had to get this working soon. I was dumping the database to run another restore test and I put the redirect around the wrong way. In my tired state I thought I had over-written the database. My stress levels went up rather suddenly. I assessed the situation and confirmed that I had not in fact damaged the database. This reminded me of another important moral I ostensibly already knew but wasn't following: Moral: Don't do sysadmin when extremely tired. It will only end in tears. Meta Moral: If you know a 'best practice', follow it. Cheers, Rob -- Email: robert-5LEc/6Zm6xCUd8a0hrldnti2O/JbrIOy at public.gmane.org Linux counter ID #16440 IRC: Solver (OFTC & Freenode) Web: http://www.pracops.com Director, Software in the Public Interest (http://spi-inc.org/) Information behaves like a gas -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org Sat Oct 19 05:49:05 2013 From: chris-E7bvbYbpR6jSUeElwK9/Pw at public.gmane.org (Chris F.A. Johnson) Date: Sat, 19 Oct 2013 01:49:05 -0400 (EDT) Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: On Sat, 19 Oct 2013, Robert Brockway wrote: ... > Morale: Take a copy as soon as the work you've done is worth saving - not > once you are done. In emacs, I have (backup-every-save). Every time I save a file (which is often, as it's a single keystroke), a backup copy with datestamp is created in a directory on a different disc. -- Chris F.A. Johnson, -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Sat Oct 19 12:11:11 2013 From: cbbrowne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Christopher Browne) Date: Sat, 19 Oct 2013 08:11:11 -0400 Subject: A keystroke away from Doom. In-Reply-To: References: <526170B2.8090608@ss.org> Message-ID: On Sat, Oct 19, 2013 at 1:49 AM, Chris F.A. Johnson wrote: > On Sat, 19 Oct 2013, Robert Brockway wrote: > ... > >> Morale: Take a copy as soon as the work you've done is worth saving - not >> once you are done. > > > In emacs, I have (backup-every-save). Every time I save a file > (which is often, as it's a single keystroke), a backup copy with > datestamp is created in a directory on a different disc. This suggests to me that it is regrettable that we have basically lost touch with some of the useful features of other operating systems of yesteryear. The case in point is VMS, which has filesystems with not just one, but TWO available extensions. (Where, it should be noted, Unix has NONE. When people talk about "file extensions" these days, they're talking about something that doesn't exist, as Linux inherits the Unix notion of not having any such thing.) At any rate, a VMS file might be named MyScript.DCL;4 or MyScript.DCL;5 which illustrates, I hope clearly enough, the notion that there was a built-in notion of file versioning. As Emacs was expected to run on VMS, once upon a time, it's not too surprising that the developers were aware of the "version number" strategy. -- When confronted by a difficult problem, solve it by reducing it to the question, "How would the Lone Ranger handle this?" -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Sat Oct 19 20:53:27 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Sat, 19 Oct 2013 16:53:27 -0400 (EDT) Subject: Windows 8 hints for dual-booters Message-ID: [Some of this is guesswork.] When you tell Windows 8 to "shut down", by default it does so in a way to enable "fast startup". It is like a partial hibernate: some state is saved in a "hibernate file". There are some indications that this causes risks for dual-booters. This particular risk is for using shared filesystems. I don't know if there are other risks. It appears to me that after Windows Updates that say that they require a restart, shutdown and reboot don't count (they used to). I don't use restart because the shutdown portion takes so long and I have to watch to catch the reboot to select Windows (not the default on my machines). I think that disabling fast startup fixed this. I'm not 100% sure and I don't want to perform the experiments to confirm this. How do you turn off "fast boot"? Control Panel: Power Options: what the power button does: change settings that are currently unavailable. Then deselect "turn on fast startup". It is hard to find. When I updated to Win 8.1, the setting went back to the default, unsafe form. War story: On one machine, I did a normal update for Win8 (not to Win8 nor to Win8.1) overnight (it was slow). I think that I shut down and started it again (not sure). I certainly did not do a "restart" from Windows. Then I wanted to update to 8.1 (you do that for free from the Microsoft Store). But the update was not visible. Why?? So I tried the Facebook app that was on offer. Well, it said "Sorry, this app can't be installed because your PC doesn't meet the minimum system requirements" That's odd. I don't actually mind since I wasn't actually going to install it. But why? It turns out that, without any documentation, the Facebook app in the Windows store (for Win8 and Win 8.1) only works on Win 8.1! At this point, I disabled fast boot, shutdown, had some updates applied, and rebooted to Win 8. Maybe fast boot enabled prevented updates being applied. Now the Microsoft Store shows the Win 8.1 update! It sure would have been nice if these various problems / requirements had been explained to me by the oh-so-helpful GUI. How hard is that? The free Win 8.1 upgrade requires a 4G download for each machine every time you upgrade. If you have to re-install your OS, you have to re-install the original (disks if you made restore disks, or from the restore partition) and then download the upgrade again. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Sun Oct 20 20:11:44 2013 From: psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Scott Elcomb) Date: Sun, 20 Oct 2013 16:11:44 -0400 Subject: Where to find e-Paper [Was: Interested in ereaders] Message-ID: On Wed, Sep 18, 2013 at 6:30 PM, Molly Tournquist wrote: > Sorry if this is unwelcome here, but any linux integration issues or any local sources for separate e-ink screens would be great to hear about of course. Last night I stumbled on a bit of information that might be useful to the makers amongst us interested in e-Ink(tm) / e-Paper displays. First, apparently the difference between the two names is that e-Ink is trademarked and e-Paper is generic[1]. Pervasive Displays makes e-Paper panels from 1.44" to 10.2" [2]. The 10.2" panels are not yet available and as yet I've been unable to locate a distributor with 7.4" panels in stock. Seeed Studio caries some of the smaller panels (though are currently out of stock) [3]. They do have the "small epaper shield" in stock which will drive the 1.44" - 2.7" panels[4]. Digi-Key carries the panels between 1.44" and 7.4" (no 7.4" in-stock though) [5] and several kits, including for the 2.7" [6] and 4.41" [7] panels for $37 and $65 respectively. There is also a kit from Pervasive Displays and Texas Instruments called "AdapTag" [8]. At $312.50 [9] it's a bit pricey but comes with a fair bit - including one each of the 1.44", 2.0" and 2.7" panels. One last item, Seeed Studio has an Arduino e-Ink shield[10] in stock for $49.90 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] -- Scott Elcomb @psema4 http://psema4.com/pubkey.txt http://www.pirateparty.ca/ -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From mollytournquist-ifvz4xmYPRU at public.gmane.org Mon Oct 21 00:45:22 2013 From: mollytournquist-ifvz4xmYPRU at public.gmane.org (Molly Tournquist) Date: Sun, 20 Oct 2013 20:45:22 -0400 Subject: Where to find e-Paper [Was: Interested in ereaders] Message-ID: <20131021004523.242280@gmx.com> > From: Scott Elcomb > Sent: 10/20/13 04:11 PM > First, apparently the difference between the two names is that e-Ink > is trademarked and e-Paper is generic[1]. > > Pervasive Displays makes e-Paper panels from 1.44" to 10.2" [2]. The > 10.2" panels are not yet available and as yet I've been unable to > locate a distributor with 7.4" panels in stock. Yes, though that makes it sound simple, when it is a little messy. There was a rival eloctronic paper technology, SiPix, but they got bought out by the E-Ink manufacturer. So, one company own the key trademark and the rights(and presumably manufacturing facilities) to two discrete technologies. Also, E-Paper has been used to dubiously refer to plain old nonbacklit monochrome LCD. Okay, that's probably the inherent weakness of it being generic. But other manufacturers, like, portable electronics companies, have been working on their own nonvolatile electronic paper displays. The 10 inch screen looks particularly interesting, but it turns out sony is apparently brewing up an ereader with a similar, even bigger and somewhat higher res screen: http://goodereader.com/blog/electronic-readers/a-second-look-at-the-sony-13-3-inch-e-reader The panel type is "E-ink Mobius". (1600 x 1200) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From richard-gNTHUr35LhcAvxtiuMwx3w at public.gmane.org Mon Oct 21 16:43:51 2013 From: richard-gNTHUr35LhcAvxtiuMwx3w at public.gmane.org (Richard Weait) Date: Mon, 21 Oct 2013 12:43:51 -0400 Subject: OpenStreetMap presentation tonight Message-ID: Toronto Mappy Hour includes a presentation on "How to map your neighborhood", tonight. We'll have all of the usual conversation, Q&A, and fun, plus the benefit of the presentation by Steve Singer. Steve is a longtime OpenStreetMap contributor, and software developer. He has presented at State of the Map, the international OpenStreetMap conference as well as many others. His carefully organized presentations and approachable style make his presentations a pleasure for viewers of all experience levels. Not to be missed. Join us at C'est What, 67 Front Street East, Toronto, tonight. Presentation starts at 6:30pm. http://www.meetup.com/OpenStreetMap-Toronto/ Can't make it tonight? We have Mappy Hour every month to meet and mingle with other mappers. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org Tue Oct 22 01:53:37 2013 From: bjonkman-w5ExpX8uLjYAvxtiuMwx3w at public.gmane.org (Bob Jonkman) Date: Mon, 21 Oct 2013 21:53:37 -0400 Subject: Saucy Salamander Toronto Release Party Message-ID: <5265DAA1.1000705@sobac.com> Hey Colin, I don't know if you realize you've become famous: http://pix.ie/ubuntuca/3404106/in/album/477918/detailed --Bob, who wasn't there... > From: Colin McGregor > Subject:Saucy Salamander Toronto Release Party > Date: 2013-10-17 15:28:33 GMT > > FYI: > > The Ubuntu "Saucy Salamander Toronto Release Party" is this evening > (October 17th, 2013), with all the details, when, where, etc to be > seen here : > > http://loco.ubuntu.com/events/ubuntu-ca/2582-saucy-salamander-toronto-release-party/ > > Enjoy... > > Colin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Sun Oct 27 21:40:33 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Sun, 27 Oct 2013 17:40:33 -0400 Subject: backdoor to d-link routers In-Reply-To: References: Message-ID: <526D8851.9060806@rogers.com> Dave Cramer wrote: > https://www.schneier.com/blog/archives/2013/10/d-link_router_b.html > > Dave Cramer Well, since it's written backwards, the NSA will never figure it out. ;-) -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From me-qIX3qoPyADtH8hdXm2+x1laTQe2KTcn/ at public.gmane.org Tue Oct 29 15:19:44 2013 From: me-qIX3qoPyADtH8hdXm2+x1laTQe2KTcn/ at public.gmane.org (Myles Braithwaite) Date: Tue, 29 Oct 2013 11:19:44 -0400 Subject: Looking for someone to give a talk on OpenShift Message-ID: <526FD210.8090808@mylesbraithwaite.com> I am looking for a speaker to give a talk on OpenShift at an upcoming GTALUG meeting. If you know someone please email me @ . -- Myles Braithwaite | http://mylesb.ca/e -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org Thu Oct 31 01:56:14 2013 From: tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org (Neil Watson) Date: Wed, 30 Oct 2013 21:56:14 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist Message-ID: <20131031015614.GA87793@ettin.watson-wilson.ca> Greetings, On a debian laptop I have the following interfaces file. For some reason the IPV6 address will not set. Why? auto lo br0 iface lo inet loopback iface lo inet6 loopback allow-hotplug br0 wlan0 iface br0 inet dhcp bridge_ports eth0 bridge_stop off bridge_fd 0 bridge_maxwait 0 iface br0 inet6 static address 2001:470:1d:a2f::4 netmask 64 gateway 2001:470:1d:a2f::1 root at neptune:/etc/network# ifconfig br0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 inet addr:172.16.100.19 Bcast:172.16.100.255 Mask:255.255.255.0 inet6 addr: fe80::f2de:f1ff:fed8:d87/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1965 errors:0 dropped:0 overruns:0 frame:0 TX packets:1647 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1511472 (1.4 MiB) TX bytes:217730 (212.6 KiB) eth0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7437 errors:0 dropped:0 overruns:0 frame:0 TX packets:4924 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7126724 (6.7 MiB) TX bytes:650467 (635.2 KiB) Interrupt:20 Memory:f2500000-f2520000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1380 (1.3 KiB) TX bytes:1380 (1.3 KiB) -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 02:15:58 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Wed, 30 Oct 2013 22:15:58 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <20131031015614.GA87793-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> Message-ID: <5271BD5E.9040607@rogers.com> A couple of things. First off, my experience is with openSUSE, not Debian. However, in my experience, bridges don't usually have IP addresses, as they work at level 2, not 3. Also, it's generally not necessary to use static IPv6 addresses. The two common methods are MAC based and random number addresses. It is possible to have both on one interface. Of course, the other two options are static and DHCP. I also see you're assigning a gateway address. Again, that's generally not necessary with IPv6, as routers advertise themselves. On my home network, I run a few computers, along with a smart phone and tablet and I've never had to configure an IPv6 address or router on any of them. It just works automagically. I get my IPv6 subnet from a tunnel broker and other than the firewall, I didn't have to do any address configuration at all. The router learned my subnet from the tunnel and all the devices addresses are MAC based or random and all just work. This is one of the (many) benefits of IPv6. BTW, I have a /56 subnet, which is 2^72 addresses, or about a trillion times the entire IPv4 address space. Neil Watson wrote: > Greetings, > > On a debian laptop I have the following interfaces file. For some > reason the > IPV6 address will not set. Why? > > auto lo br0 > iface lo inet loopback > iface lo inet6 loopback > > allow-hotplug br0 wlan0 > > iface br0 inet dhcp > bridge_ports eth0 > bridge_stop off > bridge_fd 0 > bridge_maxwait 0 > > iface br0 inet6 static > address 2001:470:1d:a2f::4 > netmask 64 > gateway 2001:470:1d:a2f::1 > > > root at neptune:/etc/network# ifconfig > br0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 inet > addr:172.16.100.19 Bcast:172.16.100.255 Mask:255.255.255.0 > inet6 addr: fe80::f2de:f1ff:fed8:d87/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1965 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1647 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1511472 (1.4 MiB) TX bytes:217730 (212.6 KiB) > > eth0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 UP > BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:7437 errors:0 dropped:0 overruns:0 frame:0 > TX packets:4924 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:7126724 (6.7 MiB) TX bytes:650467 (635.2 KiB) > Interrupt:20 Memory:f2500000-f2520000 > > lo Link encap:Local Loopback inet addr:127.0.0.1 > Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:10 errors:0 dropped:0 overruns:0 frame:0 > TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:1380 (1.3 KiB) TX bytes:1380 (1.3 KiB) > -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Thu Oct 31 03:50:14 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Wed, 30 Oct 2013 23:50:14 -0400 Subject: (C question) (s - out.s) + func(&out) -> ? Message-ID: <20131031035014.GA7888@node1.localdomain> Question for C expert... Given the following char *s; struct { char *s; } out; char *func(); s = (s - out.s) + func (&out); where 'out' is changed inside function 'func'. What I want is - to calculate (s - out.s) first, then - add that difference to pointer returning from func(). Here, order is important, because func() changes 'out'. However, gcc is doing s = func (&out) + (s - out.s); Is pointer arithmetic always done as (pointer) + (int) even if I write (int) + (pointer) ? PS. Of course, using intermediate variable solves the problem. But, my understanding is that '+' is left-to-right precedence. -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Thu Oct 31 05:47:04 2013 From: aruna.hewapathirane-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Aruna Hewapathirane) Date: Thu, 31 Oct 2013 01:47:04 -0400 Subject: (C question) (s - out.s) + func(&out) -> ? In-Reply-To: <20131031035014.GA7888-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131031035014.GA7888@node1.localdomain> Message-ID: I am no C expert but looking at the code I think... s = (s - out.s) + func (&out); The yellow highlight is where your parentheses are used to group sub-expressions to force a different precedence which is correct but... s = (s - out.s) + func (&out); The green highlight *IS* a function declaration and according to C operator precedence will be evaluated by gcc first ? This may help : http://www.difranco.net/compsci/C_Operator_Precedence_Table.htm ( See note 1 as well please ) Step it through gdb and you will see what I mean :-) On Wed, Oct 30, 2013 at 11:50 PM, William Park wrote: > Question for C expert... Given the following > > char *s; > struct { char *s; } out; > char *func(); > > s = (s - out.s) + func (&out); > > where 'out' is changed inside function 'func'. What I want is > - to calculate (s - out.s) first, then > - add that difference to pointer returning from func(). > Here, order is important, because func() changes 'out'. > > However, gcc is doing > s = func (&out) + (s - out.s); > > Is pointer arithmetic always done as > (pointer) + (int) > even if I write > (int) + (pointer) > ? > > PS. Of course, using intermediate variable solves the problem. But, my > understanding is that '+' is left-to-right precedence. > -- > William > -- > The Toronto Linux Users Group. Meetings: http://gtalug.org/ > TLUG requests: Linux topics, No HTML, wrap text below 80 columns > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists > -- *Aruna Hewapathirane* Consultant/Trainer Phone : 647-709-9269 Website: Open Source Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Thu Oct 31 15:40:20 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Thu, 31 Oct 2013 11:40:20 -0400 (EDT) Subject: (C question) (s - out.s) + func(&out) -> ? In-Reply-To: <20131031035014.GA7888-+21/tKCbORjP0Z7Jsv878P8+0UxHXcjY@public.gmane.org> References: <20131031035014.GA7888@node1.localdomain> Message-ID: | From: William Park | Question for C expert... Given the following The order of operation is well-defined in C: operator precedence. That says nothing about the order of evaluation of operands, only about how they are combined. Your code has a race condition and is undefined by the C standard. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scott-lxSQFCZeNF4 at public.gmane.org Thu Oct 31 16:26:02 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Thu, 31 Oct 2013 12:26:02 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <5271BD5E.9040607-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> Message-ID: <5272849A.2020102@ss.org> On 10/30/2013 10:15 PM, James Knott wrote: > A couple of things. First off, my experience is with openSUSE, not > Debian. However, in my experience, bridges don't usually have IP > addresses, as they work at level 2, not 3. My experience is quite the opposite in regards to bridge interfaces. Most of the times I'm using a bridge it's because I want to be able to reach the OS by the same address regardless of what media it is on. Anyone using an OpenWRT device with wifi we see this as the br0 bridge interface will have the LAN and Wifi as member interfaces. > Also, it's generally not > necessary to use static IPv6 addresses. The two common methods are MAC > based and random number addresses. It is possible to have both on one > interface. Of course, the other two options are static and DHCP. I > also see you're assigning a gateway address. Again, that's generally > not necessary with IPv6, as routers advertise themselves. Again, just because the environment you've experienced take advantage of those features, you can't assume what is or is not necessary. Neil has not provided enough information to guess either way. Neil, is it necessary for it to be static, or would one of the suggested auto-configuration methods be satisfactory? > On my home network, I run a few computers, along with a smart phone and > tablet and I've never had to configure an IPv6 address or router on any > of them. It just works automagically. I get my IPv6 subnet from a > tunnel broker and other than the firewall, I didn't have to do any > address configuration at all. The router learned my subnet from the > tunnel and all the devices addresses are MAC based or random and all > just work. This is one of the (many) benefits of IPv6. Neil, I'd love to know which broker you using. Maybe you could let us know your experience and break it out in to a separate thread for others to chime in on? > BTW, I have a /56 subnet, which is 2^72 addresses, or about a trillion > times the entire IPv4 address space. My God... it's full of IPs... > Neil Watson wrote: >> Greetings, >> >> On a debian laptop I have the following interfaces file. For some >> reason the >> IPV6 address will not set. Why? Neil, I would test if it is setting the IPv6 address at all. Comment out the IPv4 DHCP and make sure the IPv6 config is correct on it's own. I would then fire up dhclient against the interface and observe it is the fault of DHCP changing the address after the fact. What I'm curious about is if it's a side effect issue. IPv6 gets set immediately as it's static, but then the DHCP takes longer waiting for the DHCP server, assigns it's address when it get it and clears the IPv6 in the process. >> auto lo br0 >> iface lo inet loopback >> iface lo inet6 loopback >> >> allow-hotplug br0 wlan0 >> >> iface br0 inet dhcp >> bridge_ports eth0 >> bridge_stop off >> bridge_fd 0 >> bridge_maxwait 0 >> >> iface br0 inet6 static >> address 2001:470:1d:a2f::4 >> netmask 64 >> gateway 2001:470:1d:a2f::1 >> >> >> root at neptune:/etc/network# ifconfig >> br0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 inet >> addr:172.16.100.19 Bcast:172.16.100.255 Mask:255.255.255.0 >> inet6 addr: fe80::f2de:f1ff:fed8:d87/64 Scope:Link >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:1965 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:1647 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:1511472 (1.4 MiB) TX bytes:217730 (212.6 KiB) >> >> eth0 Link encap:Ethernet HWaddr f0:de:f1:d8:0d:87 UP >> BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:7437 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:4924 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:7126724 (6.7 MiB) TX bytes:650467 (635.2 KiB) >> Interrupt:20 Memory:f2500000-f2520000 >> >> lo Link encap:Local Loopback inet addr:127.0.0.1 >> Mask:255.0.0.0 >> inet6 addr: ::1/128 Scope:Host >> UP LOOPBACK RUNNING MTU:65536 Metric:1 >> RX packets:10 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:0 >> RX bytes:1380 (1.3 KiB) TX bytes:1380 (1.3 KiB) >> -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From scott-lxSQFCZeNF4 at public.gmane.org Thu Oct 31 16:28:27 2013 From: scott-lxSQFCZeNF4 at public.gmane.org (Scott Sullivan) Date: Thu, 31 Oct 2013 12:28:27 -0400 Subject: IPv6 Providers? In-Reply-To: <5272849A.2020102-lxSQFCZeNF4@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> Message-ID: <5272852B.4000804@ss.org> On 10/31/2013 12:26 PM, Scott Sullivan wrote: > On 10/30/2013 10:15 PM, James Knott wrote: >> On my home network, I run a few computers, along with a smart phone and >> tablet and I've never had to configure an IPv6 address or router on any >> of them. It just works automagically. I get my IPv6 subnet from a >> tunnel broker and other than the firewall, I didn't have to do any >> address configuration at all. The router learned my subnet from the >> tunnel and all the devices addresses are MAC based or random and all >> just work. This is one of the (many) benefits of IPv6. > > Neil, I'd love to know which broker you using. Maybe you could let us > know your experience and break it out in to a separate thread for others > to chime in on? I meant James there. James, mind following up on that here? -- Scott Sullivan -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 16:46:10 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 31 Oct 2013 12:46:10 -0400 Subject: IPv6 Providers? In-Reply-To: <5272852B.4000804-lxSQFCZeNF4@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> <5272852B.4000804@ss.org> Message-ID: <52728952.4040600@rogers.com> Scott Sullivan wrote: >> Neil, I'd love to know which broker you using. Maybe you could let us >> know your experience and break it out in to a separate thread for others >> to chime in on? > > I meant James there. > James, mind following up on that here? > I use Freenet6 through gogo6 http://www.gogo6.com/main You have to register for the web site and then again if you want to have a static IPv6 address or subnet. They have client software for Windows and Linux/Mac/Unix. The Linux software has to be compiled and there's a minor patch needed for later versions of GCC. They provide a /56 subnet. I've had mine for about 3.5 years. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 16:53:57 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 31 Oct 2013 12:53:57 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <5272849A.2020102-lxSQFCZeNF4@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> Message-ID: <52728B25.4080907@rogers.com> Scott Sullivan wrote: > Again, just because the environment you've experienced take advantage > of those features, you can't assume what is or is not necessary. Neil > has not provided enough information to guess either way. Actually, it's standard IPv6 operation. It's supposed to operate that way. The router announces itself, along with the subnet info. Devices also announce themselves to neighbours. If Neil has something that doesn't operate that way, it's definitely non-standard to the point of being non-functional. >> BTW, I have a /56 subnet, which is 2^72 addresses, or about a trillion >> times the entire IPv4 address space. > > My God... it's full of IPs... ISPs are supposed to hand out /64 subnets (2^64 addresses) at a minimum, but some people have advocated the ISPs should be handing out /48 (2^80). There are enough of those to give every man, woman and child on the planet well over 4000 of them. > What I'm curious about is if it's a side effect issue. IPv6 gets set > immediately as it's static, but then the DHCP takes longer waiting for > the DHCP server, assigns it's address when it get it and clears the > IPv6 in the process. Actually, on IPv6, DHCP is generally used for things like server addresses and not the host address. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org Thu Oct 31 16:54:50 2013 From: tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org (Neil Watson) Date: Thu, 31 Oct 2013 12:54:50 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <5272849A.2020102-lxSQFCZeNF4@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> Message-ID: <20131031165450.GA100554@ettin.watson-wilson.ca> On Thu, Oct 31, 2013 at 12:26:02PM -0400, Scott Sullivan wrote: >Again, just because the environment you've experienced take advantage >of those features, you can't assume what is or is not necessary. Neil >has not provided enough information to guess either way. > >Neil, is it necessary for it to be static, or would one of the >suggested auto-configuration methods be satisfactory? Some machines, like this one, I like to keep static. >Neil, I'd love to know which broker you using. Maybe you could let us >know your experience and break it out in to a separate thread for >others to chime in on? I was with Sixxs, but switched to Hurricane Electric. http://watson-wilson.ca/2013/07/ipv6-migration-part-7.html -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 16:57:51 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 31 Oct 2013 12:57:51 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <20131031165450.GA100554-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> <20131031165450.GA100554@ettin.watson-wilson.ca> Message-ID: <52728C0F.5020709@rogers.com> Neil Watson wrote: > Some machines, like this one, I like to keep static. The MAC based address is static, at least until you change the NIC. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 17:02:00 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 31 Oct 2013 13:02:00 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <20131031165450.GA100554-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> <20131031165450.GA100554@ettin.watson-wilson.ca> Message-ID: <52728D08.6070408@rogers.com> Neil Watson wrote: > I was with Sixxs, but switched to Hurricane Electric. I had considered them, but they expect you to have a static address. If your IPv4 address changes, your tunnel breaks. The gogo6/Freenet6 client can deal with changing IPv4 addresses. I also run it on my notebook computer, when away from home. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org Thu Oct 31 17:07:36 2013 From: tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org (Neil Watson) Date: Thu, 31 Oct 2013 13:07:36 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <52728D08.6070408-bJEeYj9oJeDQT0dZR+AlfA@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> <20131031165450.GA100554@ettin.watson-wilson.ca> <52728D08.6070408@rogers.com> Message-ID: <20131031170736.GB102556@ettin.watson-wilson.ca> On Thu, Oct 31, 2013 at 01:02:00PM -0400, James Knott wrote: >Neil Watson wrote: >> I was with Sixxs, but switched to Hurricane Electric. > >I had considered them, but they expect you to have a static address. If >your IPv4 address changes, your tunnel breaks. The gogo6/Freenet6 >client can deal with changing IPv4 addresses. I also run it on my >notebook computer, when away from home. HE? No you can work with dynamic IPs: https://www.tunnelbroker.net/forums/index.php?topic=1994.0 -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org Thu Oct 31 17:11:03 2013 From: james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org (James Knott) Date: Thu, 31 Oct 2013 13:11:03 -0400 Subject: can't make ipv4 dhcp and ipv6 static both exist In-Reply-To: <20131031170736.GB102556-ajb9/b42oWj7qFZT6RBq9oSPOIov7LNK@public.gmane.org> References: <20131031015614.GA87793@ettin.watson-wilson.ca> <5271BD5E.9040607@rogers.com> <5272849A.2020102@ss.org> <20131031165450.GA100554@ettin.watson-wilson.ca> <52728D08.6070408@rogers.com> <20131031170736.GB102556@ettin.watson-wilson.ca> Message-ID: <52728F27.5080009@rogers.com> Neil Watson wrote: > HE? No you can work with dynamic IPs: > https://www.tunnelbroker.net/forums/index.php?topic=1994.0 That's changed since I was looking at them. I even asked them about using a host name, as mine is consistent, but they said it had to be a static IP address. -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From opengeometry-FFYn/CNdgSA at public.gmane.org Thu Oct 31 18:40:27 2013 From: opengeometry-FFYn/CNdgSA at public.gmane.org (William Park) Date: Thu, 31 Oct 2013 14:40:27 -0400 Subject: (C question) (s - out.s) + func(&out) -> ? In-Reply-To: References: <20131031035014.GA7888@node1.localdomain> Message-ID: <20131031184027.GA12139@node1.localdomain> On Thu, Oct 31, 2013 at 09:45:12AM -0400, Bob Copeland wrote: > On Wed, Oct 30, 2013 at 11:50 PM, William Park wrote: > > s = (s - out.s) + func (&out); > > > > However, gcc is doing > > s = func (&out) + (s - out.s); > > This may shed some light: > > http://en.wikipedia.org/wiki/Sequence_point > > That is: order of operations won't necessarily determine the order in > which the arguments are themselves evaluated, since the arithmetic > operators do not imply a sequence point. Yeah. I was confusing "order of precedence" with "sequence point". But, still, "left-to-right" evalution should mean what it says! :-) -- William -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists From hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org Thu Oct 31 22:08:22 2013 From: hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org (D. Hugh Redelmeier) Date: Thu, 31 Oct 2013 18:08:22 -0400 (EDT) Subject: Stallman about surveillance Message-ID: I think he's quite insightful -- The Toronto Linux Users Group. Meetings: http://gtalug.org/ TLUG requests: Linux topics, No HTML, wrap text below 80 columns How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists