2013年4月8日 星期一

英國研究:冷霜 (Aqueous Cream BP) 會令皮膚病惡化 (明報)

(剪報來源:2010年10月20日 星期三 - 明報 (14:48))

http://inews.mingpao.com/htm/INews/20101020/ta31448i.htm
http://hk.news.yahoo.com/article/101020/4/ktab.html



研究:冷霜會令皮膚病惡化 (14:48) (明報)

英國一項新研究顯示,一種俗稱「冷霜」的產品常被用作護膚品滋潤皮膚,但其實會使濕疹等皮膚病情惡化。

這種英文名為Aqueous Cream BP的冷霜產品,不少醫生都會建議用它來治療濕疹等皮膚病。

但英國巴斯大學的研究說,這種冷霜產品中,有一種名為「十二烷基硫酸鈉」(sodium lauryl sulphate)的化學物質,它會損害皮膚的角質層,令皮膚病情惡化。


該校研究人員請志願者每天在手臂上使用這種產品,4周後,志願者手臂皮膚角質層的厚度,減少超過10%。


相關的研究報告發表在《英國皮膚病學》雜誌上。


據了解,冷霜本來是洗潔劑,是肥皂等的替代用品,但近來被廣泛用作護膚品,被認為有滋潤皮膚和保濕等效果。還有不少醫生建議用它治療濕疹等皮膚病,塗抹在乾燥開裂的皮膚患處。


參與研究的理查德‧蓋(Richard Guy)說,冷霜會損害角質層,而角質層是皮膚的保護層,它可以阻止各種化學物質從皮膚進入身體。


如果長期使用冷霜,會使角質層變薄,外界化學物質會容易侵入並引起發炎。對皮膚病患者來說,患處皮膚本來就有問題,如果再使用冷霜,則病情將更加惡化。


英國國家濕疹學會早已建議不使用含有「十二烷基硫酸鈉」的物質,來治療濕疹等皮膚病,但由於冷霜類產品較便宜,以及許多醫生過去形成的使用習慣,它仍在被錯誤地廣泛使用。(新華社、英國廣播公司)



========================================================================


更多 see also:

Aqueous Cream BP (俗稱冷霜) 及 Emulsifying Ointment (豬油膏)

Aqueous cream - Wikipedia, the free encyclopedia

Aqueous cream

From Wikipedia, the free encyclopedia
Aqueous Cream BP is a light, hydrocarbon-based emulsion which is officially registered in the British Pharmacopoeia and categorised by the British National Formulary as a non-proprietary emollient preparation.[1] It is used as a topical, external medicine, emollient moisturiser and general-purpose substitute for toiletries such as soap, shower gel, shaving cream and lip salve.



Ingredients

The common ingredients are:

Indications

It is commonly prescribed in the United Kingdom for conditions such as eczemaaquagenic pruritus or atopic dermatitis.[2] Whilst undergoing radiotherapy, patients are advised to use aqueous cream as part of a skin care regime to remedy the erythema which is caused by such treatment.

Contraindications

British researchers found evidence that using the cream to moisturise areas affected by eczema may actually aggravate the condition.[3]This is thought[by whom?] to be due to skin-thinning effects of sodium laurylsulphate. The National Eczema Society recommends alternatives such as white soft paraffin wax or other types of emollient without such a high content of sodium laurel sulphate.

Some sources indicate that aqueous cream is not always suitable for use as an emollient, because the preservatives such asphenoxyethanol used to prolong the cream's shelf-life may cause an adverse reaction.[4] Some creams use an alternative preservative—chlorocresol—which is said[original research?] to cause less reaction.



This page was last modified on 16 February 2013 at 02:14.



========================================================================






2013年4月5日 星期五

無需VPN及換router,唔駛錢簡單翻牆教學 / GoAgent - 維基百科 (電腦和網際網路) (Computer - Network)

http://chrislaucn.wordpress.com/2012/02/10/%E5%BC%B7%E5%9C%8B%E7%84%A1%E9%9C%80vpn%E5%8F%8A%E6%8F%9Brouter%E5%94%94%E9%A7%9B%E9%8C%A2%E7%B0%A1%E5%96%AE%E7%BF%BB%E7%89%86%E6%95%99%E5%AD%B8/


無需VPN及換router,唔駛錢簡單翻牆教學


無界瀏覽和自由門等翻牆軟體最近時常無法正常運作,許多人已經轉向購買 VPN 來翻牆。其實除了常見的翻牆軟體可以突破中國的網路封鎖外,GoAgent + Google App Engine 也是非常知名的翻牆方式,簡單幾個步驟設定完成後就可以連上 YouTube、Facebook,不過由於設定步驟比較多一些,有些想要翻牆的網友可能因此打退堂鼓,這篇文章提供詳細的 GoAgent+GAE翻牆設定教學,照著做就可以輕鬆完成設定囉!

需要工具:

必須有1個Gmail 帳號 (例如 : abc@gmail.com)

申請 Google App Engine (GAE) 的 AppID
https://appengine.google.com

下載 GoAgent1.6.9穩定版
http://download.soft4fun.net/goagent.htm

申請 Google App Engine 的 App ID

Step 1

首先你必須要有一個 Google帳號(點此申請),然後打開 GAE 申請頁面。

Step 2

按【Create Application】建立新的 Google App Engine 。



Step 3

申請時必須先通過 Google 簡訊認證,在「County and Carrier」選單選擇「Other (Not Listed)」然後在 Mobile Number 欄位輸入你的手機號碼,格式為「+國碼 手機號碼」,但是號碼必須在適當位置以空白鍵隔開。以香港的手機號碼來說就是輸入「+852 xxxx xxxx」,大陸則為「+86 xxx xxxx xxxx」。

輸入好了以後按【Send】送出,稍待一下就會收到 Google 寄來的驗證碼,把驗證碼輸入到網頁上的欄位即可通過驗證。



Step 4

驗證後進入新增 App ID 頁面。在「Application Identifier」欄位輸入一個好記的ID,然後下按右邊的【Check Availability】檢查是否與別人重複,這組 ID 就是你的 App ID (所以請取好記一點的),「Application Title」欄位就任意輸入,接著勾選頁面底下的「accept these term」→【Create Application】



以上為 Google App Engine 的 App ID 申請。



設定 GoAgent

下載 GoAgent 後將檔案解壓縮,用Windows內建的記事本或文字編輯器開啟「local」 資料夾的 「Proxy.ini」檔案。



找到文件裡面的 [gae],將他下面的「appid」(大約在文件第8行位置)修改為剛才好申請的 ID,存檔!



Step 2

接著用Windows內建的記事本或文字編輯器開啟「server」 資料夾的 「app.yaml」檔案。



將第一行 「application:」 後面的「App_id」改為剛才申請好的 ID,存檔!



Step 3

執行「local」資料夾裡的「goagent.exe」,再執行「server」資料夾裡的「upload.bat」會看到如下圖畫面。



當畫面出現 Email 時,填入你的 Gmail 位址(格式:帳號@gmail.com)然後按〔Enter〕;接著輸入 Gmail 的密碼,為了安全,輸入時畫面上不會顯示輸入的文字,所以直接把密碼打完後按〔Enter〕即可。

GoAgent 大約會花一分鐘左右的時間將一些檔案上傳到 Google 上,當這個視窗自動關閉時就表示已經完成設定,GoAgent 已經開始運作。

GoAgent 的Proxy設定資訊(可輸入到其他翻牆軟體或瀏覽器連線設定工具)

Proxy:127.0.0.1
Port:8087

設定瀏覽器連線(以 Chrome 為例)
Step 1

安裝Proxy SwitchySharp 擴充套件。

Step 2

安裝後在 Chrome 視窗右上角會看到一個灰色的地球圖示,在圖示上按滑鼠右鍵→「選項」。





完 , 現在已經翻到牆了, 各位巴打係強國都可以上高登,玩facebook了





========================================================================

http://zh.wikipedia.org/zh-hk/GoAgent

GoAgent

維基百科,自由的百科全書

GoAgent 是使用 Python 和 Google App Engine SDK 編寫的免費代理軟件,利用 Google App Engine 的伺服器充當代理,幫助用戶瀏覽被封鎖的內容 。該軟件在中國大陸被廣泛用作突破中國大陸官方建立的防火長城[1] 。
GoAgent 支援的作業系統包括 Microsoft WindowsMacLinuxAndroidiOSwebOSOpenWrtDD-WRTTomato 和 Maemo 。
由於 GoAgent 可以譲用戶隱藏自己真實的 IP 位址,因此其使用的美國加利福尼亞州山景城 Google 數據中心的出口 IP 位址段遭到部分網站的封鎖或限制(如只能瀏覽維基百科而不能編輯),以防止蓄意攻擊 。



特性

  • GoAgent 支援作爲本地 DNS 伺服器使用 。
  • GoAgent 支代理自動配置 (PAC) 。
  • GoAgent 支援在數據傳送過程中採用 HTTPS 加密鏈接 。
  • GoAgent 支援 Google App EnginePHP 和 PaaS 三種模式 。
  • GoAgent 允許用戶選擇使用 Google 北京數據中心, Google 香港數據中心或 Google IPv6 位址(Google App Engine 位於美國的數據中心在中國大陸被封鎖) 。


運行原理

GoAgent 的運行原理於其他代理工具基本相同,其藉由 Google App Engine 的伺服器作爲中傳,將數據封包後傳送至Google 伺服器,再由 Google 伺服器轉發至目的伺服器,接收數據時方法也類似[2] 。不過 GoAgent 的特點在於使用的中轉服務器來自 Google App Engine,而中國大陸並不能夠徹底封鎖 Google 服務,因此相對其他代理工具而言 GoAgent 要穩定許多 。


參考資料

  1. ^ 國務院微博拒評論被炮轟 網絡封鎖網民怨聲載道(視頻). 自由亞洲電台 [2012-12-10].(正體中文)
  2. ^ GoAgent 的原理 [2012-8-24].(簡體中文)




========================================================================






如何安全配置我的無線寬頻路由器? How Can I Configure My Wireless Broadband Router Securely?

http://www.infosec.gov.hk/tc_chi/yourself/wireless_4.html


如 何 選 擇 我 的 無 線 網 絡 模 式 ?

一 般 而 言 , 無 線 網 絡 可 透 過 三 種 不 同 方 式 運 作 : 基 建 、 臨 機 操 作 及 橋 路 模 式 。 利 用 臨 機 操 作 模 式 運 作 時 , 客 戶 端 之 間 在 沒 有 無 線 接 駁 點 下 可 直 接 連 接 。 如 客 戶 端 配 置 不 善 , 攻 擊 者 不 費 吹 灰 之 力 便 可 接 達 客 戶 端 。 因 此 , 除 非 有 特 別 的 業 務 需 要 , 否 則 應 關 閉 無 線 裝 置 的 臨 機 操 作 模 式 。



如 何 安 全 配 置 我 的 無 線 寬 頻 路 由 器 ?

  • 用 戶 名 稱 及 密 碼 
    更 改 預 設 的 用 戶 名 稱 及 密 碼 , 因 為 預 設 值 往 往 容 易 被 猜 出 來 。 一 些 製 造 商 未 必 讓 您 更 改 使 用 戶 名 稱 , 但 至 少 應 可 更 改 密 碼 。

  • 廣 播 網 絡 名 稱 / SSID
    用 戶 應 關 閉 SSID廣 播 或 增 加 「 Beacon Interval」 至 最 大 值 。

  • 無 線 網 絡 名 稱 / SSID
    預 設 的 SSID應 予 以 更 改 , 新 的 SSID不 應 以 自 己 的 名 字 或 其 它 個 人 資 料 命 名 , 否 則 將 有 助 攻 擊 者 收 集 你 的 資 料 。

  • 加 密 ( WEP/WPA/WPA2) 
    如 可 行 的 , 應 避 免 使 用 WEP 。 假 若 裝 置 能 支 援 其 他 的 加 密 模 式 , 應 採 用 WPA2/AESWPA/AES 。

  • 認 證 種 類 ( 開 放 式 認 證 或 共 享 式 密 碼 匙 認 證 ) 
    不 應 採 用 共 享 式 密 碼 匙 認 證 , 反 而 應 考 慮 802.11i標 準 中 訂 立 的 強 化 相 互 認 證 。

  • MAC位 址 過 濾 
    建 議 啟 動 MAC位 址 過 濾 作 為 另 一 層 保 護 。

  • 動 態 主 機 配 置 規 約 ( DHCP) 
    盡 量 關 閉 DHCP功 能 , 因 為 DHCP容 易 讓 惡 意 攻 擊 者 接 達 無 線 網 絡 。




http://www.infosec.gov.hk/english/yourself/wireless_4.html


How Do I Select My Wireless Network Mode?

In general, a wireless network can be operated using three different topologies; infrastructure mode, ad-hoc mode and bridging mode. When a wireless network operates in ad-hoc mode, client stations are connected directly and no access point is required. Using this mode, a potential attacker can gain access to a client station easily if the client station is improperly configured. Unless there is a specific business need, the ad-hoc mode should be disabled on wireless devices.



How Can I Configure My Wireless Broadband Router Securely?

  • User name and Password
    Change the default user name and password because they are often easily cracked by attackers. Some manufacturers might not allow you to change the username, but at least the password should be changed.

  • Broadcast Network Name (SSID)
    Disable SSID broadcasting or increase the "Beacon Interval" to the maximum.

  • Wireless Network Name or SSID
    Change the default SSID. The new SSID should not be named to reflect your name or other personal information, otherwise the information could aid an attacker in collecting reconnaissance data about you.

  • Encryption (WEP/WPA/WPA2)
    Whenever possible, WEP should be avoided. Instead, use WPA2/AES or WPA/AES if it is supported on the device.

  • Authentication Type (Open Authentication or Shared Key Authentication)
    The shared key mechanism should never be used. Instead, a stronger mutual authentication as defined in the 802.11i standard should be considered.

  • MAC Address Filtering
    Enabling MAC address filtering is recommended as another layer of protection.

  • Dynamic Host Configuration Protocol (DHCP)
    Disabling the DHCP feature, if possible, is recommended, as DHCP makes it easier for malicious attackers to access a wireless network.




========================================================================



2013年3月2日 星期六

JPEG Rotation and EXIF Orientation / EXIF - image metadata / IrfanView - lossless JPG operations


See also:
5個線上圖片壓縮網站 (5 online Image Compressor)

JPEG Rotation and EXIF Orientation

Digital Cameras with Orientation Sensors

Digital Cameras with orientation sensors allow auto-rotation of portrait images. Unfortunately, support for this feature is not widespread or consistently applied.

Many newer digital cameras (both dSLR and Point & Shoot digicams) have a built-in orientation sensor. Virtually allCanon and Nikon digital cameras have an orientation sensor. The output of this sensor is used to set the EXIF orientation flag in the image file's metatdata to reflect the positioning of the camera with respect to the ground. Canon calls their sensor the "Intelligent Orientation" sensor. It is presumably a 2-axis tilt sensor, allowing 4 possible orientations to be detected (shown in the left side of the diagram below).



Note that one would only expect the four orientation settings shown on the left to be possible with a digital camera. The other four settings would imply that the resulting image was flipped horizontally before recording. Unless the camera were to encode the image right-to-left or know that you were taking a photo in a mirror, I don't see how these values will ever be used.

For the following discussion, it may be helpful to understand the concepts behind lossless rotation.

The values 1-8 represent the following descriptions (as shown by utilities that support EXIF field decode):

EXIF Orientation Value
Row #0 is:
Column #0 is:
1
Top
Left side
2*
Top
Right side
3
Bottom
Right side
4*
Bottom
Left side
5*
Left side
Top
6
Right side
Top
7*
Right side
Bottom
8
Left side
Bottom

NOTE: Values with "*" are uncommon since they represent "flipped" orientations.


Auto-rotation in Digital Cameras

While your digital camera may include an option to "auto-rotate images" due to the camera's orientation, this is almost always just a "virtual rotation". A flag is set to indicate to the viewing software / LCD preview which way to rotate the image before display, rather than rotating the image content itself.

As lossless image rotation is a fairly compute-intensive operation, digital cameras are not likely to include true lossless rotation after capturing the photo. The CCD/CMOS sensor hardware is designed to stream raw data in a particular direction (e.g. rows then columns), and so it may be hard to incorporate true auto-rotation in-camera without a performance impact to continuous shooting (frames per second).


Software Support for Orientation

While there are countless software programs available today that display JPEG images, only a subset of them actually interpret the EXIF Orientation flag. Just like color management, many programs simply display the JPEG image as it is stored, and completely ignore any extra details stored in the file's metadata. The most important of these additional details is the Orientation flag, stored in the JPEG APP1 marker under EXIF IFD0.

Application
Orientation Supported?
Windows Photo Viewer (Windows 7)
No
Windows Picture and Fax Viewer (Windows XP)
No
IrfanView
Yes (need to enable)
Photoshop
Yes


IrfanView Auto-rotation

In IrfanView, auto-rotation is not enabled by default. To ensure that images are auto-rotated, you will find the option located under Options->Properties in the JPG/PCD/GIF tab.





Windows Picture and Fax Viewer

Surprisingly, the Windows Picture and Fax Viewer (built into Windows XP) and Windows Photo Viewer (built into Windows 7) do not support the EXIF orientation flag. This is surprising, as the makers have obviously thought enough to support lossless rotation functions. So, what you will see shown by the viewer is the real image data (assuming landscape orientation), without respecting any indication from the camera as to the real orientation of the image.

Beware of Rotating Photos in Windows Picture / Photo Viewer!

Another surprising detail is that if you decide to perform lossless image rotation (by using the Rotate Clockwise or Rotate CounterClockwise buttons), the EXIF Orientation flag is removed! As the flag is removed/reset, if you do a rotation followed by its reverse rotation on a portrait photo (eg. rotate clockwise, then rotate counter-clockwise), the resulting orientation observed by other viewers such as Photoshop will be wrong!

In fact, when you use the rotate functions of Windows Picutre Viewer, most of the image metadata (camera information, shot details, makernotes, etc.) are deleted. Therefore, I strongly recommend against using this program to rotate any of your digital photos.

I have also noticed that some images which were rotated that don't conform to 16x16 pixel multiples, the quantization tables don't appear to be rotated properly.

Because many new digital photographers may not be aware of this, Nikon even went so far as to issue a press release to warn of the potential dangers.

NOTE: The damage is done as soon as you press one of the rotate buttons . The disk icon  is just for copying the file and should not be thought of as a Save button!

The following table details some of the metadata corrupted / modified by Windows Picture and Fax Viewer:

Removed
Added
Modified
IFD0-Orientation
IFD0-x1001
IFD0-x1002
IFD0-xA401
IFD0-xA402
IFD0-xA403

SubIFD-ExifInteroperabilityOffset
SubIFD-CustomRendered
SubIFD-ExposureMode
SubIFD-WhiteBalance
SubIFD-SceneCaptureType

SubIFD-MakerNote
SubIFD-UserComment
MakerNotes: Nearly all fields zeroed
out except: SerialNumber, ImageNumber



Note that, in general, most image editors (such as Photoshop, Lightroom and many others) do not rotate images losslessly. This is made obvious by the fact that the Save function provides compression quality options (eg. 1-12, High, Low, etc.) and is therefore applying [lossy] JPEG recompression to your image content.

Auto-Rotation Utilities

There are several tools that allow the image content to be rotated losslessly in software, based on the information stored in the EXIF orientation flag. By far the best time to perform this is during image import (e.g. from memory card). Most import applications (such as DownloaderPro) can do this during the copy operation (from memory card to hard drive). Doing so ensure that all programs can see the image properly rotated, without having to rely on the EXIF Orientation flag. This means that even programs such as Microsoft's Windows Picture and Fax Viewer will also show correct orientation for portrait / vertical images.

Most programs will rotate the image content and then update the Orientation flag to reflect the new orientation (usually a value of 1), while still leaving other metadata intact.



========================================================================



Exchangeable image file format (EXIF)

維基百科,自由的百科全書

可交換圖像文件常被簡稱為EXIFExchangeable image file format),是專門為數位相機的照片設定的,可以記錄數位照片的屬性信息和拍攝數據。
EXIF最初由日本電子工業發展協會1996年制定,版本為1.0。1998年,升級到2.1,增加了對音頻文件的支持。2002年3月,發表了2.2版。
EXIF可以附加於JPEGTIFFRIFF等文件之中,為其增加有關數位相機拍攝信息的內容和索引圖或圖像處理軟體的版本信息。
Windows 7作業系統為例,最簡單的查看EXIF信息的方法是右鍵點擊圖片打開菜單,點擊屬性並切換到詳細信息標籤下即可。
EXIF信息是可以被任意編輯的,因此只有參考的功能。
EXIF信息以0xFFE1作為開頭標記,後兩個位元組表示EXIF信息的長度。所以EXIF信息最大為64 kB,而內部採用TIFF格式。

範例

以下表列幾項EXIF會提供的訊息:

Tag
項目
Value
Manufacturer
製造廠商
CASIO
Model
相機型號
QV-4000
Orientation (rotation)
影像方向
top - left [8 possible values[19]]
Software
Software
Ver1.01
Date and Time
最後異動時間
2003:08:11 16:45:32
YCbCr Positioning
YCbCrPositioning
centered
Compression

JPEG compression
x-Resolution
影像解析度 X
72.00
y-Resolution
影像解析度 Y
72.00
Resolution Unit
解析度單位
Inch
Exposure Time
曝光時間
1/659 sec.
FNumber
光圈
f/4.0
ExposureProgram
拍攝模式
Normal program
Exif Version
EXIF 資訊版本
Exif Version 2.1
Date and Time (original)
影像拍攝時間
2003:08:11 16:45:32
Date and Time (digitized)
影像存入時間
2003:08:11 16:45:32
ComponentsConfiguration

Y Cb Cr -
Compressed Bits per Pixel

4.01
ISO speed ratings
ISO 感光值
ISO 100
Exposure Bias

0.0
MaxApertureValue
曝光補償(EV+-
2.00
Metering Mode
測光模式
Pattern
Flash
Flash did not fire.
Focal Length
鏡頭實體焦長
20.1 mm
MakerNote

432 bytes unknown data
FlashPixVersion
Flashpix 版本
FlashPix Version 1.0
Color Space
影像色域空間
sRGB
PixelXDimension
影像尺寸 X
2240
PixelYDimension
影像尺寸 Y
1680
File Source

DSC
InteroperabilityIndex

R98
InteroperabilityVersion

(null)



========================================================================



IrfanView
維基百科,自由的百科全書

IrfanViewMicrosoft Windows系統下的一款圖片檢視器,基本功能包括圖像瀏覽、圖片的簡單編輯、圖片的格式轉換等。非商業使用是免費的,而商業使用則需要進行付費註冊。
該軟件的作者是畢業於奧地利維也納大學的Irfan Skiljan。

功能特性

該軟件佔用的空間非常小,基本安裝只佔用1.6 MB,而完整安裝所有外掛模組另需10 MB左右的空間。
影像瀏覽時,具有多種適應窗口的方式,以及幻燈片播放的選項,也能夠進行有縮圖瀏覽。瀏覽影像時反應迅速,但對於部分語系的作業系統的支援有所欠缺,在部分非英文資料夾的圖片瀏覽時選擇下一張圖片時會產生錯誤。
支援多種圖片格式及少量影片格式、音樂格式以及文字格式。能夠進行圖片格式轉換並具有批次轉換及重新命名功能。
能夠進行一定的影像編輯操作,能夠進行圖片的顏色調整,旋轉,修剪,調整大小等,同樣也能進行批次操作。
具有屏保及幻燈片功能,也能夠製作帶MP3的螢幕保護程式,在沒有安裝Irfanview的機器上使用。
該軟件設有超過32種語言以供選擇,包括簡繁中文(需要另行下載需要的語言檔案,並不包含於安裝包)。

外部連結



本頁面最後修訂於2012年8月16日 (星期四) 15:14。



========================================================================