Adios’ Notes

Adios’ Notes

Adios Tsai  //  

Jan 19 / 8:01pm

– Olympus lenses | 4/3rds blog

During 2006, Olympus tinkered with the lens designations again. The terms are now, ’standard’, ‘pro’ and ‘top pro’. I’ve stuck with my labels of consumer, intermediate and professional – which describes lenses according to their specification and not their performance. Consumer lenses are those which appear to be built down to a price; have unexciting specifications; or which generally would not be the first choice for picture quality. Features which get a lens put into this category include poor maximum apertures, rotating front elements, lack of special elements or cheaper build quality. Professional lenses are those which appear to be specified to meet the demands of exacting users. Fast, non varying maximum apertures, dust and water protection, and super special glass are expected. Weight and cost penalties mean that these lenses are not necessarily the best in practice, even if they would produce better results if you could afford them and carry them to the subject. This leads to my intermediate category. Not as good as the professional lenses, but lighter and cheaper. Better than the consumer lenses but more expensive and heavier.

Amusingly, Olympus changed the lens classification names again at the start of 2007. They are now ’standard’, ‘high grade’, and ’super high grade’. I’m sticking with the names I’ve used for the last couple of years.

ED glass – lenses not labelled with the ED designation have “ordinary” elements and might have “Ultra High Refractive Index” glass elements or aspherical ones. Lenses with the ED label additionally have ED, Super ED or ED aspherical lens elements. Olympus is a bit shy on saying exactly what ED stands for prefering to use words like “luxurious”. The distinction probably has more to do with marketing than engineering (in the same way that aspherical used to), but generally read it is a statement of intent about imaging quality.

SWD stands for Supersonic Wave Drive, or, more prosaically, a faster autofocus system.

Loading mentions Retweet

Comments (0)

Dec 11 / 8:52am

Manual Pages: ssh-keygen

-R hostname Removes all keys belonging to hostname from a known_hosts file. This option is useful to delete hashed hosts (see the -H option above).

每次都忘了。當 ssh 的 known_hosts 裡面的 key 不一樣時,會跳出不能登的訊息,可以直接刪掉那個檔案,也可以開檔把特定行數的 host 拿掉。

其實用 ssh-keygen -R gaisq.cs.ccu.edu.tw 就可以幫你處理。特別是加過 hashed 的 known_hosts 也可以。

另外還有 -F 與 -H 參數,都是與 known_hosts 相關的。

Loading mentions Retweet
Filed under  //  freebsd   ssh  

Comments (0)

Dec 8 / 12:31am

glandium.org » Blog Archive » SSH using a SOCKS or HTTP proxy

Host *.mydomain.com
ProxyCommand nc -xsocksserver:1080 -w1 %h %p

man ssh_config 都有說直接用 nc 就好了,之前都沒有發現 nc 還可以用 proxy 協定,太邪惡了…。

Loading mentions Retweet

Comments (0)

Dec 7 / 7:19am

FreeBSD amd64 使用 32bit libpcre.so.0

在 FreeBSD amd64 下,用 ports 安裝 pcre,會是 amd64 架構的 pcre,雖然用「ldconfig -32 /usr/local/lib」可以讀到 hint 裡,但是好像不能用(?)。

目前的解法是在從 FreeBSD i386 的機器中,複製「libpcre.so.0」並放在 FreeBSD amd64 的「/usr/local/lib32」中,並且在「/usr/local/libdata/ldconfig32/」加一個檔案「pcre」,內容只有一行:「/usr/local/lib32」。

這樣在開機的時候,「/etc/rc.d/ldconfig」便會正確的以「ldconifg -32 -m」讀入這個 32bit 的「libpcre.so.0」。

不知道有沒有其它的方法,例如在 FC4(?) 下,就另外有 pcre-i386 的套件可以裝…。

Loading mentions Retweet
Filed under  //  freebsd pcre amd64  

Comments (0)

Nov 16 / 4:09am

Command key - Wikipedia, the free encyclopedia

The "" symbol, known as Saint John's Arms and sometimes referred to as Saint Hannes cross, dates back to pre-Christian times.

The symbol was included in the original Macintosh font Chicago, and could be inserted by typing a control-q key combination.[3]

When used in conjunction with computing the symbol is commonly given nicknames such as '"cloverleaf", "splat", "splodge", "overpass", "butterfly", "squiggle", "beanie", "flower", "cauliflower", "curly-do", "propeller", "pretzel", "rugbeater" or "shamrock". Sometimes when used in conjunction with a Hot Key it is called "twiddle". Some believe the symbol to be named the "infinite loop", which is also the address for Apple world headquarters: 1 Infinite Loop, Cupertino, CA 95014. The UNICODE standard calls it "PLACE OF INTEREST SIGN"[4].

Loading mentions Retweet

Comments (0)

Nov 13 / 8:32am

Embed formatted, syntax-highlighted source code in Keynote - Mac OS X Hints

A much better approach would be to have the source code text (suitably formatted and highlighted) inserted natively in your presentation. Since you can drag Rich Text Format (RTF) text to Keynote, all you need is a way to convert your code to RTF.

三種方法中,最簡單的直接用 VIM TOhtml 弄成 HTML,用 Safari 開,把內容拉過去。
第二間單的是裝 highlight,將 code 轉成 RTF,可直接拉到 Keynote

Loading mentions Retweet

Comments (0)

Nov 13 / 7:52am

hit-and-miss, hit-or-miss----- - Yahoo!奇摩知識+

hit-and-miss:有時擊中有時失手的;有時成功有時不成功的

hit-or-miss:偶然做出的;漫不經心的;容易出錯的;隨意的

hit and miss 碰巧的
hit or miss 隨便的

Loading mentions Retweet

Comments (0)

Nov 12 / 3:25am

指鹿為馬 Perl 版 - gugod's blog

#!/usr/bin/env perl
use strict;
use warnings;
use utf8;
use encoding 'utf8';

sub 馬 { "馬函式" };

 # 指鹿為馬
*鹿 = *馬;

print 鹿(), "\n";

Loading mentions Retweet

Comments (0)

Nov 10 / 6:29am

Dynamic WEBRick Servers in Ruby - igvita.com

A quick browse through the servlet examples, along with the RDoc gets us well on the way. We will start our server on port 8000, and mount two 'paths' - one for serving the survey, and second for processing the POST request (saving the form):

> webrick-init.rb

require 'rubygems'
require 'webrick'
require 'dbi'
 
# Initialize our WEBrick server
if $0 == __FILE__ then
  server = WEBrick::HTTPServer.new(:Port => 8000)
  server.mount "/questions", WebForm
  server.mount "/save", PersistAnswers
  trap "INT" do server.shutdown end
  server.start
end
 

Loading mentions Retweet
Filed under  //  ruby   webrick  

Comments (0)

Nov 10 / 3:08am

RGBa Browser Support | CSS-Tricks

<!--[if IE]>

   <style type="text/css">

   .color-block {
       background:transparent;
       filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000050,endColorstr=#99000050);
       zoom: 1;
    } 

    </style>

&lt;![endif]-->

 

Loading mentions Retweet

Comments (0)