Re: [gentoo-user] Best caching dns server?
Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are high, so given that responsive load balancing and timely fail over are good things, it does make sense. IIRC the F5 default is 20 seconds. Be careful if you are going to break DNS, there may be consequences you're not aware of. Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Can you re-phrase that? - its hard to understand what the problem is.
Re: [gentoo-user] Best caching dns server?
On Sat, May 19, 2012 at 4:29 PM, Adam Carter adamcart...@gmail.com wrote: Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are high, so given that responsive load balancing and timely fail over are good things, it does make sense. IIRC the F5 default is 20 seconds. Be careful if you are going to break DNS, there may be consequences you're not aware of. I know that. Just experimenting things, because if I can cache it locally, it would be quicker for me. Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Can you re-phrase that? - its hard to understand what the problem is. Persistence across multiple boots/reboots. I found pdnsd which can do that, trying that out now. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Best caching dns server?
On 05/19/12 04:13, Nilesh Govindrajan wrote: On Sat, May 19, 2012 at 4:29 PM, Adam Carter adamcart...@gmail.com wrote: Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are high, so given that responsive load balancing and timely fail over are good things, it does make sense. IIRC the F5 default is 20 seconds. Be careful if you are going to break DNS, there may be consequences you're not aware of. I know that. Just experimenting things, because if I can cache it locally, it would be quicker for me. Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Can you re-phrase that? - its hard to understand what the problem is. Persistence across multiple boots/reboots. I found pdnsd which can do that, trying that out now. You should really try changing you DNS server to some faster ones. I was having this same problem with my ISP or DSL modem with built in router taking a long time. I changed my DNS servers to Google DNS Servers (8.8.4.4 and 8.8.8.8) and haven't had a problem. My setup is a little different but all in all I would really suggest you try a DNS server outside of your ISP. -- Willie Matthews matthews.wil...@gmail.com
Re: [gentoo-user] Best caching dns server?
Willie Matthews wrote: On 05/19/12 04:13, Nilesh Govindrajan wrote: On Sat, May 19, 2012 at 4:29 PM, Adam Carter adamcart...@gmail.com wrote: Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are high, so given that responsive load balancing and timely fail over are good things, it does make sense. IIRC the F5 default is 20 seconds. Be careful if you are going to break DNS, there may be consequences you're not aware of. I know that. Just experimenting things, because if I can cache it locally, it would be quicker for me. Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Can you re-phrase that? - its hard to understand what the problem is. Persistence across multiple boots/reboots. I found pdnsd which can do that, trying that out now. You should really try changing you DNS server to some faster ones. I was having this same problem with my ISP or DSL modem with built in router taking a long time. I changed my DNS servers to Google DNS Servers (8.8.4.4 and 8.8.8.8) and haven't had a problem. My setup is a little different but all in all I would really suggest you try a DNS server outside of your ISP. I agree. My ISP is ATT and I changed my DNS to Google's too. It is very fast compared to ATT's servers. I have had ATT's servers not respond for several seconds but Google's just seem to work. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
[gentoo-user] app-text/build-docbook-catalog-1.19 | there are files installed outside the prefix
This error seems to be from the ebuild script side of things, as far as my quick research into the error messageI'm on a PowerBook G4, with Gentoo Prefix installed. Is the problem the trailing / in the DESTDIR command? Emerging (3 of 19) app-text/build-docbook-catalog-1.19 * build-docbook-catalog-1.19.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ] Unpacking source... Unpacking build-docbook-catalog-1.19.tar.xz to /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work Source unpacked in /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work Preparing source in /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work/build-docbook-catalog-1.19 ... Source prepared. Configuring source in /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work/build-docbook-catalog-1.19 ... Source configured. Compiling source in /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work/build-docbook-catalog-1.19 ... make make: Nothing to be done for `all'. Source compiled. Test phase [not enabled]: app-text/build-docbook-catalog-1.19 Install build-docbook-catalog-1.19 into /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image/ category app-text make DESTDIR=/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image/ install mkdir -p /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image//etc/xml /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image//usr/sbin touch /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image//etc/xml/.keep install -m 755 build-docbook-catalog /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image//usr/sbin Completed installing build-docbook-catalog-1.19 into /opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image/ ecompressdir: bzip2 -9 /usr/share/doc * QA Notice: the following files are outside of the prefix: * /etc * /etc/xml * /etc/xml/.keep * /usr * /usr/sbin * /usr/sbin/build-docbook-catalog * ERROR: app-text/build-docbook-catalog-1.19 failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 1895: Called install_qa_check * misc-functions.sh, line 253: Called install_qa_check_prefix * misc-functions.sh, line 908: Called die * The specific snippet of code: * die Aborting due to QA concerns: there are files installed outside the prefix * * If you need support, post the output of 'emerge --info =app-text/build-docbook-catalog-1.19', * the complete build log and the output of 'emerge -pqv =app-text/build-docbook-catalog-1.19'. * The complete build log is located at '/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/temp/build.log'. * The ebuild environment file is located at '/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/temp/environment'. * Working directory: '/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/image' * S: '/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/work/build-docbook-catalog-1.19' !!! post install failed; exiting. Failed to emerge app-text/build-docbook-catalog-1.19, Log file: '/opt/Gentoo/var/tmp/portage/app-text/build-docbook-catalog-1.19/temp/build.log'
[gentoo-user] [OT] ogg/mp3 volume
Hi all, Is there a way to change the volume of a mp3/vorbis track? By volume, I'm referring to lining up several tracks on your computer/phone/tablet/thingy, setting the one volume level and then letting them play. For example, the first track will be quiet, of all ironies my Led Zeppelin tracks are all like this, the next track will be loud, the next track in the middle, in other words it's Goldilocks and the three bears with audio tracks. Is there a way I can either during the ripping process, or subsequently in a post-processing, make the average volume of all my tracks the same? Any thoughts greatly appreciated, Andrew
Re: [gentoo-user] [OT] ogg/mp3 volume
On May 19, 2012 7:00 PM, Andrew Lowe a...@wht.com.au wrote: Hi all, Is there a way to change the volume of a mp3/vorbis track? By volume, I'm referring to lining up several tracks on your computer/phone/tablet/thingy, setting the one volume level and then letting them play. For example, the first track will be quiet, of all ironies my Led Zeppelin tracks are all like this, the next track will be loud, the next track in the middle, in other words it's Goldilocks and the three bears with audio tracks. Is there a way I can either during the ripping process, or subsequently in a post-processing, make the average volume of all my tracks the same? Any thoughts greatly appreciated, What you're looking for is called replay gain (alternative spelling, replaygain). Basically, it's a two-step process : (1) analyze the 'effective loudness' of a track, and (2) add a tag indicating the difference between the measured 'effective loudness' with a reference level of 89 dB SPL http://wiki.hydrogenaudio.org/index.php?title=ReplayGain The above wiki article might be out of date with regards to the available software. Try asking around in the HydrogenAudio forums. They are a bunch of friendly guys ;-) (PS: my handle there is pepoluan, although honestly I haven't dabbled in any forum discussions for several years.) Rgds,
Re: [gentoo-user] [OT] ogg/mp3 volume
Nice! I will have to go and try that one soon. On 05/19/12 05:22, Pandu Poluan wrote: On May 19, 2012 7:00 PM, Andrew Lowe a...@wht.com.au mailto:a...@wht.com.au wrote: Hi all, Is there a way to change the volume of a mp3/vorbis track? By volume, I'm referring to lining up several tracks on your computer/phone/tablet/thingy, setting the one volume level and then letting them play. For example, the first track will be quiet, of all ironies my Led Zeppelin tracks are all like this, the next track will be loud, the next track in the middle, in other words it's Goldilocks and the three bears with audio tracks. Is there a way I can either during the ripping process, or subsequently in a post-processing, make the average volume of all my tracks the same? Any thoughts greatly appreciated, What you're looking for is called replay gain (alternative spelling, replaygain). Basically, it's a two-step process : (1) analyze the 'effective loudness' of a track, and (2) add a tag indicating the difference between the measured 'effective loudness' with a reference level of 89 dB SPL http://wiki.hydrogenaudio.org/index.php?title=ReplayGain The above wiki article might be out of date with regards to the available software. Try asking around in the HydrogenAudio forums. They are a bunch of friendly guys ;-) (PS: my handle there is pepoluan, although honestly I haven't dabbled in any forum discussions for several years.) Rgds, -- Willie Matthews matthews.wil...@gmail.com
Re: [gentoo-user] Best caching dns server?
On Sat, May 19, 2012 at 5:05 PM, Willie Matthews matthews.wil...@gmail.com wrote: On 05/19/12 04:13, Nilesh Govindrajan wrote: On Sat, May 19, 2012 at 4:29 PM, Adam Carter adamcart...@gmail.com wrote: Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). The load balancing technology will be slow to respond if the TTLs are high, so given that responsive load balancing and timely fail over are good things, it does make sense. IIRC the F5 default is 20 seconds. Be careful if you are going to break DNS, there may be consequences you're not aware of. I know that. Just experimenting things, because if I can cache it locally, it would be quicker for me. Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Can you re-phrase that? - its hard to understand what the problem is. Persistence across multiple boots/reboots. I found pdnsd which can do that, trying that out now. You should really try changing you DNS server to some faster ones. I was having this same problem with my ISP or DSL modem with built in router taking a long time. I changed my DNS servers to Google DNS Servers (8.8.4.4 and 8.8.8.8) and haven't had a problem. My setup is a little different but all in all I would really suggest you try a DNS server outside of your ISP. -- Willie Matthews matthews.wil...@gmail.com I don't use ISP DNS as such, and I don't have their addresses either. I've been using opendns for ages and added Google as fallback after it was out for public. The only advantage of using opendns is phishing protection and other features like botnet/malware protection, about they not returning NXDOMAIN on invalid domains is taken care of by pdnsd's reject option :D The problem with opendns is the query time is large from my ISP, so things seem slow. I'm now using pdnsd, it has support for round robin load balancing which is the algorithm used for load balancing usually, so websites shouldn't have a problem. Also, pdnsd has an option for minimum ttl of records as I wanted and cache persistence over reboots. It's the thing that fits my needs perfectly. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] InitRAMFS - boot expert sought
On Thu, Mar 29, 2012 at 10:58:18PM +0200, Alan McKinnon wrote: Sorry for necro-posting, but I wanted to “add my mustard”, as we say over here. Why on earth is udev launching daemons in EARLY BOOT? Your guess is as good as mine! […] Perhaps the ability to hear the computer go bing when volumes mount is a killer marketing feature Reminds me of Sigourney Weaver's character in Galaxy Quest - she was the bimbo who announced to the room whenever the computer went bing Her character was the personification of GNU (from memory): “I only have one job on this damn ship. It is stupid, but I do it.“ And she does it well. :-) -- Gruß | Greetings | Qapla' Please do not share anything from, with or about me with any Facebook service. Give me your passport, and I tell you who you are.
Re: [gentoo-user] [OT] ogg/mp3 volume
On Sat, May 19, 2012 at 07:54:10PM +0800, Andrew Lowe wrote: Hi all, Is there a way to change the volume of a mp3/vorbis track? By volume, I'm referring to lining up several tracks on your computer/phone/tablet/thingy, setting the one volume level and then letting them play. For example, the first track will be quiet, of all ironies my Led Zeppelin tracks are all like this, the next track will be loud, the next track in the middle, in other words it's Goldilocks and the three bears with audio tracks. Is there a way I can either during the ripping process, or subsequently in a post-processing, make the average volume of all my tracks the same? Any thoughts greatly appreciated, Andrew don't rip myself, but back in the day, the big ripping programs would usu have some kind of 'leveling' plugin that would equalize the volumes on all the tracks. Terry pgpOY46ya4Ppk.pgp Description: PGP signature
Re: [gentoo-user] [OT] ogg/mp3 volume
On 05/19/12 20:22, Pandu Poluan wrote: On May 19, 2012 7:00 PM, Andrew Lowe a...@wht.com.au mailto:a...@wht.com.au wrote: Hi all, [snip] ... ... ... [snip] What you're looking for is called replay gain (alternative spelling, replaygain). Basically, it's a two-step process : (1) analyze the 'effective loudness' of a track, and (2) add a tag indicating the difference between the measured 'effective loudness' with a reference level of 89 dB SPL http://wiki.hydrogenaudio.org/index.php?title=ReplayGain The above wiki article might be out of date with regards to the available software. Try asking around in the HydrogenAudio forums. They are a bunch of friendly guys ;-) (PS: my handle there is pepoluan, although honestly I haven't dabbled in any forum discussions for several years.) Rgds, Pandu, Thanks for the reply, I'll look into it tomorrow. Regards, Andrew
Re: [gentoo-user] app-text/build-docbook-catalog-1.19 | there are files installed outside the prefix
hello daniel, please report a bug at https://bugs.gentoo.org/ about it. thanks, sebastian
Re: [gentoo-user] [OT] ogg/mp3 volume
On 05/19/12 04:54, Andrew Lowe wrote: Hi all, Is there a way to change the volume of a mp3/vorbis track? By volume, I'm referring to lining up several tracks on your computer/phone/tablet/thingy, setting the one volume level and then letting them play. For example, the first track will be quiet, of all ironies my Led Zeppelin tracks are all like this, the next track will be loud, the next track in the middle, in other words it's Goldilocks and the three bears with audio tracks. Is there a way I can either during the ripping process, or subsequently in a post-processing, make the average volume of all my tracks the same? Any thoughts greatly appreciated, Andrew There is a program out there called normalize. Best practice is to do it while you are ripping the CD. -- Willie Matthews matthews.wil...@gmail.com
Re: [gentoo-user] Best caching dns server?
On May 19, 2012 6:46 PM, Dale rdalek1...@gmail.com wrote: Willie Matthews wrote: [le snip] You should really try changing you DNS server to some faster ones. I was having this same problem with my ISP or DSL modem with built in router taking a long time. I changed my DNS servers to Google DNS Servers (8.8.4.4 and 8.8.8.8) and haven't had a problem. My setup is a little different but all in all I would really suggest you try a DNS server outside of your ISP. I agree. My ISP is ATT and I changed my DNS to Google's too. It is very fast compared to ATT's servers. I have had ATT's servers not respond for several seconds but Google's just seem to work. Here's the result of a test comparing the performance of public DNS servers : http://www.thousandeyes.com/blog/public-dns-resolver-showdown Despite what the linked article said, in my experience, Level 3 (4.2.2.[1-5]) is at least as fast as Google. I guess it depends on one's ISP. But both of them are mucho faster (and much stabler) than my ISP's DNS servers. But stay away from OpenDNS like the plague. They are known to perform false resolve, especially if the domain being resolved does not exist. Best of all would be to create a list of public DNS servers, and feed it into a DNS Benchmarking tool, such as this one from GRC: http://www.grc.com/dns/benchmark.htm The above tool is how I determine Level 3 to be on a par with Google. (Sorry, the GRC Tool is Windows-only, but within the article there's an explanation on how the tool works, so it should be emulatable using bash and dig). Rgds,
Re: [gentoo-user] Listing the files of an un-/installed package...?
Volker Armin Hemmann wrote: not possible. How can anybody know beforehand? with useflags and all? At least, equery uses package *does* work with uninstalled packages. (However, equery files package does not.) -Matt
Re: [gentoo-user] Best caching dns server?
On Sat, 19 May 2012 07:45:56 +0530 Nilesh Govindrajan cont...@nileshgr.com wrote: Hi, Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? You can use almost any cache you want... ... except bind We use unbound. Does the job, does it well, developer very responsive. But do not fiddle with TTLs, that breaks stuff in spectacular ways. Essentially, with the TTL the auth server is saying We guarantee that you can treat this RR as valid for X amount of time and suffer no ill effects if you do What you want to do is break that agreement, which is really not s good idea. I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Just use Google's caches or OpenDNS. They do the job so much better than you ever could. Why reinvent the wheel? -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Listing the files of an un-/installed package...?
On Sat, 19 May 2012 17:11:20 +0200 Matthias Hanft m...@hanft.de wrote: Volker Armin Hemmann wrote: not possible. How can anybody know beforehand? with useflags and all? At least, equery uses package *does* work with uninstalled packages. (However, equery files package does not.) You've answered a different question to that asked. equery uses lists the USE flags of an ebuild and that info is in the ebuild. equery files lists the file installed after the ebuild is merged. that info is not in the ebuild. These two things are very different. -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Listing the files of an un-/installed package...?
Am Samstag, 19. Mai 2012, 17:11:20 schrieb Matthias Hanft: Volker Armin Hemmann wrote: not possible. How can anybody know beforehand? with useflags and all? At least, equery uses package *does* work with uninstalled packages. because you just need to look at the useflags and ?DEPEND to figure that out. (However, equery files package does not.) obviously. -- #163933
Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails
I have no surefire solution, but so far everyone and their $PET seems to have taken for granted that your toolchain is just fine and sane. Perhaps emerge -e @system (without ccache, distcc or other distractions) would jiggle those bits again? -- Arttu V. On 5/19/12, Volker Armin Hemmann volkerar...@googlemail.com wrote: Am Montag, 14. Mai 2012, 19:46:39 schrieb Dale: Alan McKinnon wrote: On Mon, 14 May 2012 12:13:18 -0500 Dale rdalek1...@gmail.com wrote: For example: Alan, Mike, Pandu, Mark, Neil and me are the top posters on this list. Yo Dale, You might want to re-calibrate your stats engine :-) I've been quiet for a while (getting old...)[1] and fifty bucks says Michael, Canek, Pandu and a couple more have all posted more than me this year [1] Well, that's my story and I'm sticking with it Maybe like me, you blabber more than you think: http://archives.gentoo.org/stats/gentoo-user-per-year.xml I didn't put them in any certain order but you have fallen a bit tho. Someone put alum in your water or something? while I am somehow glad to be part of the Top 20 since 2005, I am even more happy, that I am not a regular Top5 poster. -- #163933
[gentoo-user] Re: Runlevels, ordering initscripts and running them in background
On 05/16/2012 05:41 PM, Walter Dnes wrote: On Wed, May 16, 2012 at 05:43:50AM -0700, walt wrote On 05/16/2012 01:40 AM__Ignas Anikevicius wrote: _( ) __ I want to do ( )s, s\ (ha( \do n()e to wait while non-crucial services are__)\ng __) \ed) ( __) / __ __( (__/ )( \ ( ) I can( \ ( (__) ( y) \ou_h to care about saving a few ) \_))/ )( ) _ (__' (_/(__ ___ Ha(_)y__) )n( )cy spawned by Lenna(___S P L O R F _ /cou) )of old fossils (like ma( ___ /f))ro(__/s. _(\ ) _ ( ) __ __) _ ( \_ htt(___)(_/i) \i( (g/\(yste)( _/ ) \__) (_) \ ) ( __) / / ( (_ My evil twin_ Walter)(nes\ (as b(_/ agi) )g for systemd in this mailing lis(_)or mo(__). ( )actually (___/ how systemd works and can be persuaded to... wel)/ I(_)pect he'll be along shortly to tell you about it.' I love it! :-D Naturally I immediately started planning to use it on other people, but haven't figured out a way to automate it with sed or perl or one of the other usual suspects. Very clever :)
[gentoo-user] Re: In X: up wants to save screenshot. How do I stop this?
On 05/16/2012 05:22 PM, G.Wolfe Woodbury wrote: On 05/16/2012 07:08 PM, walt wrote: You did me a huge favor by asking that question, thanks! While poking around in the keyboard settings applet I discovered a well-hidden option to disable the Caps-Lock key. I hit that stupid thing by accident at least ten times/hour and say very vulgar things when it happens ;) The keyboard-shortcuts applet does have an option to change the screenshot hotkey, so maybe something changed it behind your back? Could you amplify a little bit and reveal exactly what applet you used and where the little option is located? Heh. I told you it's well-hidden :) This applies only to gnome2. I've been looking for a similar trick in gnome3 but it's even more hidden there and I'm still hunting/hoping for it. The System::Preferences menu has a Keyboard applet and also a Keyboard Shortcuts applet. The screenshot setting is in Keyboard Shortcuts and the CapsLock settings are in Keyboard::Layouts::Options...
Re: [gentoo-user] merging or fitting images together
On Sat, May 19, 2012 at 12:38 AM, Philip Webb purs...@ca.inter.net wrote: 120518 Michael Mol wrote: Remarkably simple. Probably because I was only stitching two photos. -- details snipped -- Thanks : that gives me a 3rd method to pursue. NB in your result there are some badly curved lines : bottom right, the front of the tram is badly distorted ; centre top, the sides of buildings are curved outwards ; also, the bottom of the photo has been lost, eg the L-side man's eyes, the result if smaller than the other 2 results achieved earlier. It's inevitable that you're going to lose some of the image. That's a function of reprojecting the stitched image. The distortions are very probably due to an incorrect focal length setting--something that's going to be impossible to get correct. But I likely could have corrected by forcing Hugin to treat it like lens aberrations, and getting it to correct for it that way. That would indeed take a great deal of time. No complaint at all ! -- but clearly all methods require some practice. The problem here is that there's missing source data. (Details below) I've added your result to my I/net 'test' examples (I hope that's ok). np. I was going to share an ImageShack link, but I realized I wasn't sure whether by keep the image off-list you meant don't attach the image or don't show the image on the list. Any other suggestions are welcome -- apparently this is of interest -- , but I will turn to other priorities investigate panoramas a bit later. BTW the location is Steelhouse Lane with Snow Hill Sta in the background (I stated it incorrectly before) in May 1953 just before the final trams. The photo was taken with a Zeiss Ikon camera, a well-reputed make : perhaps you can find the focal width on the I/net somewhere. Now here's where the fun begins. According to Wikipedia, the Zeiss Ikon is 35mm SLR...but that's about all you're going to get from it. Really, everything else of interest is in the lens. Being an SLR, the lens can (and will) be swapped out by the photographer as circumstance demands. Each lens is going to have different aberration characteristics, but that's not nearly as important as the other difference: Without knowing the lens used, you know next to nothing about the focal length and field of view. (The two values can be derived from each other, as long as you know the frame size...which we do.) Worse, if the photographer was not using a prime lens[1], and was instead using a lens with variable zoom, you can't easily know what the real focal length was, as this will change depending on how far the photographer has zoomed in. Now, I suppose that if you knew the physical sizes of a couple fixed lines in each picture, where the two lines were some not-insignificant distance apart, you may be able to roughly calculate the focal length. But, really, without knowing the focal length, getting the stitch right is going to be guess-and-check. Incidentally, this is one reason why digital photography is awesome. Almost everything interesting you may need to know about the shot is going to get stored in the EXIF data in the image files. My camera stores the lens focal length at the time of snap; if I have a zoom lens on, it records the exact focal length the lens happened to be on. It's quite nice. :) [1] This isn't prime as excellent or high grade...prime in this context means it has a fixed focal length. It may have additional implications, but that's the largest functional relevance: a prime lens is a lens with a fixed focal length, a lens which doesn't have a variable zoom capability.[2] [2] I'm dribbling in a lot of semi-relevant technical stuff in here for those who are following the thread for informational purposes. -- :wq
[gentoo-user] Running programs compiled with a different gcc version
Yesterday I manually compiled photivo, a camera raw file converter and image editor. One of the requirements for installing is gcc 4.6. So I manually unmasked gcc 4.6.3 and installed it with portage. After switching gcc with gcc-config and . /etc/profile, photivo compiled fine. A test run showed that photivo is running fine. I simply do not know enough about gcc and gentoo to leave gcc at 4.6.3, and switched back to the stable 4.5 branch (gcc-config and . /etc/profile again). When I try to run photivo again I get an error: photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by photivo) locate -i glibcxx shows no results. My question is: Can I set some variables (e.g. in a bash start script) that photivo thinks it is running on a system with gcc 4.6? All the components are installed, as I can switch gcc to 4.6.3 and run photivo as user. I do not see any changes in environment variables before and after switching gcc versions. What magic does gcc-config do? Urs
[gentoo-user] Re: Running programs compiled with a different gcc version
On 19/05/12 23:23, Urs Schutz wrote: Yesterday I manually compiled photivo, a camera raw file converter and image editor. One of the requirements for installing is gcc 4.6. So I manually unmasked gcc 4.6.3 and installed it with portage. After switching gcc with gcc-config and . /etc/profile, photivo compiled fine. A test run showed that photivo is running fine. I simply do not know enough about gcc and gentoo to leave gcc at 4.6.3, and switched back to the stable 4.5 branch (gcc-config and . /etc/profile again). When I try to run photivo again I get an error: photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by photivo) locate -i glibcxx shows no results. My question is: Can I set some variables (e.g. in a bash start script) that photivo thinks it is running on a system with gcc 4.6? All the components are installed, as I can switch gcc to 4.6.3 and run photivo as user. I do not see any changes in environment variables before and after switching gcc versions. What magic does gcc-config do? Try starting photivo with: LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 photivo (I assume the executable is named photivo.)
[gentoo-user] Resolved: Running programs compiled with a different gcc version
On Sun, 20 May 2012 01:01:48 +0300 Nikos Chantziaras rea...@gmail.com wrote: On 19/05/12 23:23, Urs Schutz wrote: Yesterday I manually compiled photivo, a camera raw file converter and image editor. One of the requirements for installing is gcc 4.6. So I manually unmasked gcc 4.6.3 and installed it with portage. After switching gcc with gcc-config and . /etc/profile, photivo compiled fine. A test run showed that photivo is running fine. I simply do not know enough about gcc and gentoo to leave gcc at 4.6.3, and switched back to the stable 4.5 branch (gcc-config and . /etc/profile again). When I try to run photivo again I get an error: photivo: /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by photivo) locate -i glibcxx shows no results. My question is: Can I set some variables (e.g. in a bash start script) that photivo thinks it is running on a system with gcc 4.6? All the components are installed, as I can switch gcc to 4.6.3 and run photivo as user. I do not see any changes in environment variables before and after switching gcc versions. What magic does gcc-config do? Try starting photivo with: LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3 photivo (I assume the executable is named photivo.) That's it. LD_LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3 photivo Thank you! Urs
Re: [gentoo-user] Best caching dns server?
On Sat, May 19, 2012 at 10:06 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sat, 19 May 2012 07:45:56 +0530 Nilesh Govindrajan cont...@nileshgr.com wrote: Hi, Which is the best caching dns server? I'm presently using pdns-recursor, which is quite good, but doesn't have option to set minimum ttl (doesn't make sense, but some sites like twitter have ridiculously low ttl of 30s). Also, it isn't able to save cached entries to file so that it can be restored on next boot. Any option? You can use almost any cache you want... ... except bind We use unbound. Does the job, does it well, developer very responsive. But do not fiddle with TTLs, that breaks stuff in spectacular ways. Essentially, with the TTL the auth server is saying We guarantee that you can treat this RR as valid for X amount of time and suffer no ill effects if you do What you want to do is break that agreement, which is really not s good idea. I am keeping my box 24x7 on because it serves as dns on my small home wifi, not acceptable to me, because network is almost off at night (only phone) and I have my router as secondary dns. Just use Google's caches or OpenDNS. They do the job so much better than you ever could. Why reinvent the wheel? Slow connection. See my previous reply to the list. I'm using pdnsd, which can persist records and has every damn feature I wanted. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] merging or fitting images together
On 19 May 2012, at 20:28, Michael Mol wrote: … Worse, if the photographer was not using a prime lens[1], and was instead using a lens with variable zoom, you can't easily know what the real focal length was, as this will change depending on how far the photographer has zoomed in. Throughout everything else you said I was thinking something like this. Zoom lenses were much less common even 2 or 3 decades ago. For a long time, a 50mm prime was the common kit lens, rather than the 18-105mm zoom which is sold today. This was because, on a camera using 35mm film, a 50mm focal length gives a field of view very close to that seen naturally by the human eye. Wikipedia states that the first modern film zoom lens was designed around 1950 by Roger Cuvillier and Canon's official website (the Canon Camera Museum pages) states that The history of Canon's zoom lens goes back to 1954. Since the photos are stated go have been taken in 1953 it seems highly unlikely that the photographer was using a highly expensive and cutting-edge zoom lens. I doubt many people would have been able to afford these zoom lenses when they were first released. It seems to me safer to assume that the lens is a 50mm. I guess focal length may change fractionally during focussing (as lenses are moved back and forth during as the focus ring is turned), however it may also be that a camera manufacturer designs a lens with a 48mm focal length (because that's easier to construct for some reason, or produces better images) and decides to sell it as 50mm because a 2mm difference in focal length makes no difference to the photographer. Or it may be that the distortion is caused by lens distortion - perhaps Hugin is trying to compensate for that, and straightening up lines. In any case, I might try re-doing the stitch a few times, each time telling Hugin the lens is 47mm, 48mm, 49mm, … 51mm, … 53mm. Perhaps you may find that one of those is perfectly spot on. Stroller.