RPM Links

Distributions

RedHat Enterprise Linux

CentOS

Fedora Linux

ubuntu Linux

Sun Solaris

OpenWRT

Individual RPM / Binaries

Tips

  • Creating patch for RPM
    diff -Naur olddir newdir > new-patch
    - or -
    diff -Naur oldfile newfile >new-patch
  • rpmbuild with distribution prefix (unconfirm)
    • rpmbuild -ba item.spec –define “dist .fc5″
    • This only works if “Release:" field has %{?dist} at the end
    • To automate for the whole system, can add to /etc/rpm/macros: %dist .fc5, then no need to use –define at each build
  • rpmbuild specify platform
    • rpmbuild -ba item.spec –target i686
  • sky2 driver status
    • FC5 kernel 2.6.20: v1.10
    • Fedora 7 kernel 2.6.21: v1.14
    • Vanilla kernel 2.6.22.1: v1.14
  • Realtek 8111B Gigabit (r8169) driver status
    • FC5 kernel 2.6.20: 2.2LK, supported (1. driver is modified, not same as 2.6.18, 2. tested at Gigabyte G33 motherboard GA-G33-DS3R)
    • OpenVZ kernel 2.6.18: 2.2K, not support
  • Building Kernel
    • Build time
      • OpenVZ kernel 2.6.18-8.1.4.el5.028stab035.1, 46min,
    • Support status for ICH9 in Intel P35/G33 chipset
      • In FC7’s 2.6.21, AHCI 2.1, has ICH9 support
      • In FC5’s 2.6.20, AHCI 2.0, has ICH9 support
      • OpenVZ kernel 2.6.18-8.1.4.el5.028stab035.1, AHCI 2.0, but only has ICH8’s device id. But tested can use with ICH9R. (on Gigabyte GA-G33-DS3R)
      • OpenVZ devel kernel 2.6.20-ovz007.1, AHCI 2.0, has ICH9 support
      • board_ahci_pi values that added after 2.6.18 If has the board_ahci_pi problem, only not able to see the drive.
    • In Fedora 7
      • Building a Kernel from the src RPM
      • Tips on building kernelFor Fedora 7 kernel, Add: “%define _enable_debug_packages 0″ under “%if %{with_baseonly}" section
      • Build kernel & kernel-devel only, use:rpmbuild -ba –with baseonly –without debuginfo –target=i686 kernel-2.6.spec
      • Build smp kernel & kernel-devel only, use:rpmbuild -ba –with smponly –without debuginfo –target=i686 kernel-2.6.spec
      • Build time with default (rpmbuild -ba –target=i686 kernel-2.6.spec): 5.5h, also it could fail~5-5.5h on Athlon64 X2 3800+, 2CPU, 256M RAM, avg 60% CPU in VMware 6
      • Debug RPMs used 188.1M + 29.7M, core kernel RPMs just 16.6M + 5M, on Fedora 7 2.6.21-1.3228 base kernel~1.25h built on Athlon64 X2 3800+, 2CPU, 256M RAM, avg 60% CPU in VMware 6~1h without debug info (_enable_debug_packages 0)
      • Solution to: modsign.sh: line 47: “segmentation fault"disable signmodules in SPEC file (%define with_modsign 0)

Pricing Links

Shops Online Price

Online Markets

Pricing Websites

Pricing Plan / Forecast

Intel CPU

AMD CPU

RAM

nVIDIA

Price / Performance Ratio

Information Sources

Info – AMD 690G

  • AMD 690 series
  • 690V/690G benchmark result
  • Tech Report on 690G
    - Test with X2 5200+ 2.6G, 2x1M, 90nm (~1.35x of 3800+)
    - 690G only Shader 2.0, GeForce 6150 Shader 3.0
    - GeForce 6150 SE (MCP61G) is integrated chipset to compet with 690G
    - RAM write 6150 is better than 690G for 33%, read and latency are similar
    - Cinebench rendering & shading similar
    - Cinebench OpenGL Shading 20% slower
    - Cinebench OpenGL hardware 690G 62% slower
    - Sphinx speech recogn. similar
    - Media encoding similar
    - 3dsmax 5.1 DirectX similar
    - 3dsmax 5.1 OpenGL 43% slower
    - Photoshop, ACDSee, Office, Mozilla, WinZIP, Nero similar
    - 3DMark06 fillrate 690G 20% better, multi-fillrate 80% better
    - Oblivion 800x600, 690G 17-27fps, 35-40% better
    - Battlefield 2 1024x768, 21-32fps, 33% better
    - FEAR 1024x768, 22-35fps, 94% better
    - WMV 1080p, CPU 690G 26% vs 6150 22% (3800+ @35-40%?)
    - H.264 1080p, CPU 690G 60% vs 6150 45% (3800+ @80-90%?)
    - SATA I/O/s 690G 30% slower
    - SATA I/O response 690G 10% slower
    - iPEAK I/O test 20% slower
    - SATA burst 10% slower, media speed similar
    - ATA speed similar, some 5% slower
    - USB speed 5% better
    - Ethernet speed, similar 940Mbps, 19% vs 16% CPU
    - PCIe, 17% vs 14%
    - PCI, 17% vs 16%
    - Power Idle, 48w/57w vs 49w/60w or 53w/65w
    - Power Load, 117w vs 116w or 124w
    

Info – nVIDIA MCP68 GeForce 7050

Info – nVIDIA GeForce 6100/6150

Linux Links

Fedora Linux

Administration

Clonezilla Live

  • Command line to restore individual partition:
    gunzip -c VolGroupHPSTD-root.ext3-ptcl-img.gz.aa | partclone.ext3 -r -d -s – -o /dev/sda2

sendmail

  • ERROR: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA after turned on authentication

Apache HTTPD

SSH

Perl

ASSP

PPPoE Server

  • If not specified IP address at /etc/pap-secrets, then client cannot connect?
  • General PPP options

WiFi

  • Linux Wireless Support page
    List all the Linux supported Wireless adapter by chipset and vendor/model (USB / PCI or CardBus or PCI-E / PCMCIA)

LVM

iptables

  • use iptables as a simple tcp proxy
    iptables -A PREROUTING -p tcp --dport 80 -d old.ip.add.ress -j DNAT --to new.ip.add.ress
    iptables -A FORWARD -p tcp --dport 80 -d new.ip.add.ress -j ACCEPT
    iptables -A POSTROUTING -p tcp --dport 80 -d new.ip.add.ress -j SNAT --to my.ip.add.ress
  • PacketProxy
    A simple TCP proxy
  • tcpproxy
    A more full feature TCP proxy, can handle multiple connections

LDAP Server

IMAP Server

Rescue CDs

General requirements for a Linux rescue CD:
- Best with at least 2.6.18 kernel, support later SATA controllers
(e.g. JMICRON 36x only in 2.6.18)
- AHCI support
- Network support with newer network drivers
- Can load the whole CD into RAM
- Can install to USB key
- Optional upgradable kernel
  • System Rescue CD
    Latest version 0.3.0 at 2006-12-20, size: 150M
    Kernel 2.6.18.5 patched, can load the whole CD into RAM (‘docache’ boot option), can install to USB key
    To boot system into RAM, require 320M RAM! (nofb docache noxdetect)
  • R.I.P. Linux
    Latest version 1.9 at 2006-06-23, size: 35M (without X), 75M (with X)
    Kernel 2.6.17 patched, can load the whole CD into RAM, can install to USB key (will erase the whole USB key!)
    To boot system into RAM, only require 96M RAM
    Replace to a newer kernel is easy, just use the website’s kernel config and minor adjust with the new kernel (mainly on RAID456 and SATA drivers), and don’t patch the kernel with the tmpfs patch, then it will work.

Troubleshooting

PKI

Benchmark Links

General Benchmark Databases

Owned Hardware

  • (3 years)
  • WD EALX 1.0TB harddisk, buy: 2011-03-18
  • Toshiba 750G USB3.0 harddisk, buy: 2011-08-30
  • LG W2353V 23″ LCD Display, buy: 2010-01-21
  • GTR R450 450W PSU, buy: 2010-03-19
  • WD WD3200AAKS 320G harddisk, buy: 2007-08-29, dead: 2012-03
  • WD WD3202ABYS 320G harddisk, buy: 2008-09-06
  • ASRock A780GMH/128M, buy: 2009-06-29
  • (5 years)
  • Seagate ST9160821AS 160G USB2.0 harddisk, buy: 2007-09-12
  • WD 640G 6401AALS, buy: 2008-11-30 to 2013-11-30
  • WD 640G 6400AAKS, buy: 2008-08-24 to 2013-08-24
  • (No Warranty)
  • LG W1942T 19″ LCD Display, buy: 2009-02-22

Software Timing

  • True Image 9.7 high compress backup 32G Win7 C:, different harddisk, 12 min
  • Windows 7 Upgrade RC to RTM, AMD Phenom II 3.1G + 8G RAM, 1h

USB 3.0 USB Keys

Memory

Memory Card

Harddisk

Compress Software

  • Hardware: Phoenom II 550BE 3.1Ghz x 2, 8G DDR2-800 RAM, WD 1002FAEX 1TB SATA3
    • When unlocked, similar as a Phenom II X4 955 3.2Ghz (3.5% slower), Passmark ~4000
  • Software: Windows 7 Ultimate, WinRAR 4.01 64bit, 7-Zip 9.20

    • Test File: 456.7M VMware disk file
    • WinRAR
      • Fastest: 110.2M, 0:15 (24.1%, 3.5x faster)
      • Fast: 96.6M, 0:52 (21.2%, 100% time)
      • Normal: 91.0M, 1:01 (19.9%, 17% slower)
      • Good: 90.4M, 1:12 (19.8%, 38.5% slower)
      • Best: 90.1M, 1:23 (19.7%, 59.6% slower)
    • 7-Zip
      • Fastest: 95.8M, 0:31 (21.0%, 42% faster)
      • Fast: 91.8M, 0:44 (20.1%, 100% time)
      • Normal: 77.5M, 1:42 (17.0%, 2.3x slower)
      • Maximum: 72.8M, 2:18 (15.9%, 3.1x slower)
      • Ultra: 71.3M, 2:15 (15.6%, 3.1x slower)
  • Hardware: Athlon64 X2 3800+ 2.0Ghz x2, 2G DDR2-667 RAM, WD2000JB 200G ATA100
  • Software: WinXP Pro, WinRAR 3.7b7, compress to same disk, Multithread
    • WinRAR on VMware 2.00GB w2k3r2
      • Fastest, 921,526kB, 5m 15s
      • Fast, 841,903kB, 10m (9.1%, 80M smaller)
    • Hardware: Celeron 1.2G, 1G DDR266 RAM, WD2000JB 200G ATA100
    • Software: WinXP Pro, WinRAR 3.6b7, compress to same disk
    • WinRAR on VMware 25.5M disk
      • Fastest, 4s, 3.53M/13.84%
      • Fast, 10s, 2.62M/10.27% (34.8% better)
      • Normal, 14s, 2.58M/10.12% (1.5% better)
    • WinRAR on VMware 418M disk
      • Fastest, 136s/2:16, 167.5M/40.07% (base, 1x time)
      • Fast, 396s/6:36, 149.2M/35.7% (12.4% better, 2.9x time)
      • Normal, 509s/8:29, 147.3M/35.24% (1.3% better, 3.7x time)
      • Fastest decomp, 36s
      • Fast decomp, 33s
      • Normal decomp, 31s

Display Card

  • GeForce GTX 650 Ti

    (GTX650 Ti and GTX660 is price/performance in proportional)
    1920×1080 highest quality usually can get 35fps to 45fps

  • Anandtech: GTX 460 256bit vs GTX 460 192bit (256bit is 10% better)
  • GTX 560SE vs GTX 460
  • GeForce GTX 460
  • HD 4850
  • GeForce GT 240
  • Entry Grade Display Cards
  • GDDR3 vs GDDR5 real world performance maybe just 8%
  • Adobe Premiere Pro CS5 benchmark
    Compare nVIDIA CUDA performance, no AMD CPU here
  • Video Cards for Adobe Premiere CS5 and CS5.5
    Explain the MPE in Adobe Premiere and the effect of nVIDIA CUDA cores (10x+ performance gain, require 1G RAM VGA card. Intel CPU with SSE4.1+ is additional 3x faster than AMD.)
  • NotebookCheck: Compare display chip performance
    GTX 650 Ti ~= 95-100% (Especially after 4xAA)
    GTX 560 ~= 107%
    GTX 460 = 100%
    
    Crysis: Warhead (2008) Medium 0xAA/0xAF
    GTX 260 = 41
    HD 5770 = 34
    HD 4850 = 33
    HD 4770 = 30
    9800 GT = 28
    9600 GT = 27
    GT 240 = 17
    
    Crysis: Warhead (2008) Ultra [1920x1200 EntQuality 4xAA]
    Nvidia GeForce GTX 650 Ti ($1180-1230) = 24.5
    GTX 460 SE = 21.64 (8xAA DX10)
    ATI HD 5770 = 18.7
    Nvidia GeForce GTX 650 = 17.8
    Nvidia GeForce GTX 550 Ti = 17.7
    ATI X1900 = 9 (low = 47)
    
    Crysis (2007) High [1024x768 High 0xAA/0AF]
    GTX 460 = 141%
    GTX 260 = 100% (2x 6pin power)
    
    Mafia 2 (2010) High [1366x768 high 0xAA 16xAF]
    Nvidia GeForce GTX 650 Ti ($1150) = ~83
    Nvidia GeForce GT 650M (~GTX650 $850) = 61
    ATI HD 4850 = 45.7 (2nd hand $450)
    
    Mafia 2 (2010) Ultra [1920x1080 high 0xAA 16xAF]
    Nvidia GeForce GTX 460 1G = 61
    GTX 460	1G ~= 60.5? (worth ~$725)
    GTX 460 SE 1G ~= 55 (worth ~$675)
    HD 5830 ~= 54
    HD 5770 1G = 50 (worth ~$600)
    Nvidia GeForce GTX 650 Ti ($1150) = ~50
    Nvidia GeForce GT 650M (~GTX650 $850) = 37
    Nvidia GeForce GT 240 GDDR5 = 32 (2nd hand $299)
    ATI HD 4850 = 29.5 (2nd hand $450, new $700-800)
    
    Need for Speed Shift (2009) High [1366x768 high/on 4xAA TriAF]
    ATI HD 4850 = 47 (2nd hand $450)
    Nvidia GeForce GT 650M (~GTX650 $850) = 45
    ATI HD 6650M = 33 (2nd hand HD6670 $420)
    ATI HD 4670 = 25.6 (2nd hand $199)
    (Compare 3D Mark 05 Standard 1024x768 / 
    3dmark06 1024x768 / 3dmark vantage 1024x768)
    nVidia GeForce GTX 660 Ti = (3dmark06:22997)
    Nvidia GeForce GTX 470M = 18.8x (23057, 3dmark06:16509 22.22x) - similar to GTX 560 Ti
    Nvidia GeForce GTX 560M = 18.46x (22648, 3dmark06:15223 20.49x)
    Nvidia GeForce GTX 660M = 16.98x (20831.7, 3dmark06:15117 20.35x)
    ATI HD 7850M = (3dmark06:14111 18.99x)
    Nvidia GeForce GT 650 = 17.3x (21266, 3dmark06:13719 18.46x)
    Nvidia GeForce GT 640M LE = 14x? (3dmark06: 9992 13.45x)
    ATI HD 6850M = 13.8x (16944) ~1.1x of GTX 550 Ti
    ATI HD 5850 = 12.44x (15260)
    ATI HD 4850 = 12.55x (15400, 3dmark06:9842 13.25x)
    ATI HD 5650 = 10.2x (12518)
    ATI X1950 Pro = 8x (~9300-10529 /avg9900,3dmark06;~5226 7.03x)
    Intel GMA HD4000 = 7.64x (9374, 3dmark06: 5322 7.16x)
    ATI HD 5550 = 637% (3dmark06,1280x1024:4735)
    ATI X1900(GT) = 580% (7117)
    ATI HD 5450 = 508% (3dmark06:3776)
    ATI HD 4350 = 4.85x (5952, 3dmark06: 3141 4.23x)
    Nvidia GeForce 305M = 417% (3dmark06:3101)
    * Nvidia GT218 ION2 = 311% (3821) run with Atom D525
    Nvidia GeForce 9300M = 267% (3270)
    ATI HD 4290 (890GX)
    ATI HD 4250 (880G) = 279% (3423)
    * Nvidia GT218 ION2 = 253% (3098) run with Atom N450
    ATI HD 4200 (785G) = 249% (3051)
    Intel GMA HD = 234% (2872, 3dmark06:1530) Core i3/i5 build-in
    ATI HD 4225 = 196% (2400)
    ATI HD 3300 (790GX)
    ATI HD 3200 (780G) = 189% (2324)
    Intel GMA 4500MHD = 100% (1227, 3dmark06:743) run with C2D SU2300 1.2Ghz
    ATI X1270 = 80% (983)
    Intel GMA X3100 = 66% (805) run with C2D 1.4-2.2Ghz
    Intel GMA 950 = 33% (407) run with C2D T2300 1.66Ghz
    * Intel GMA X3150 = 24% (298) run with Atom N4xx ~1.6Ghz
    * Intel GMA 950 = 20% (249) run with Atom N270 1.6Ghz
    VIA Crome 9 = 19% (227)
    Intel GMA 500 = 11% (135)
  • Tom’s Hardware VGA Charts
  • Updated: AMD 785G: The Venerable 780G, Evolved
    Compare HD3200 and HD4200, FPS almost same, HD playback 25-50% better
  • New chipset AMD 880G review
    Compare 785G, 880G, 890GX with benchmark
    880G/890GX More Improved video playback quality
  • HD4770 Power Usage
    HD4770: Core i7@3.2G, Load: 147/198w, Temp: 65
    HD4830: Core i7@3.2G, Load: 148/213w, Temp: 90
  • X1950 Pro vs HD4850 mini review
  • ASUS X1950 Pro Power Usage
    X1950 Pro: E6600@3.0G, Load: 156/220w
  • Radeon HD4770, 40nm
  • Geforce GTX 550 Ti vs GTX 560 Ti spec compare
  • Anandtech: Radeon HD6790 benchmark (Include GTX 550 / GTX560)
  • Tomshardware: AMD 790GX (HD3300) benchmark
    30% better than 780G (HD3200) w/sideport memory, 60% better than 780G w/o sideport memory. HDD also seems around 2.5% better and power around 5% less.

LCD Monitor

Global Market

iPhone / Mac Links

General

iOS Development

Mac OS X

Android

General

Handset spenting

  • 2010-02: Milestone +$3700
  • 2010-12: HTC Desire HD +$2933, sell $2000 (milestone $170 per month)
  • 2013-03: HTC $108 per month so far

Samsung

  • Samsung Galaxy Note (Note 1)
    • new price: $5998 (2011-11)
    • new water price: $2500-3000 (2013-03-16)
    • new price: $4000 (2013-03-16)
    • 2nd hand price: $2600 (2013-03-16), price drop 53% (lost $3000) in 1.5 years, ~$176 per month, assume 上台價$5500

Lenovo K1 Android Tablet

HTC Desire HD

LG Optimus P500

Motorola Milestone

Applications

Programming Links

Programming

Software Application

VBScript

General

Cook Book

Development

General

Prototyping

Documentation & Coding Style

GUI Design

Example

Version Control

Reference / Specifications

Graphics

Design Ideas

Commercial Photo / Photographer

Commercial but free for use

Website Templates

Unknown

Animated GIF

Cartoons

Icons

Icon Applications

ImageMagick

Website Building Links

Digital Certificates

Google Webmaster Tools

Google Maps

Facebook

Statistics

Web Technology

Browser Issues

  • Safari
    • Cookies not work for IP address, must use a DNS domain name (At least in Safari 5 with osCommerce 2.2)

Codes

Website Design

Dreamweaver

Flash Authoring

Movie Production

Graphic Production

Scanning

  • A few scanning tips
  • Steps for scan images for my Epson Perfection 660 Scanner
    • Scan in Photoshop with WIA driver
    • Scan in 600dpi
    • (Auto Works)
    • Image -> Adjustments -> Levels: Middle input level: 1.4
    • Image -> Adjustments -> Hue/Saturation: (Load my preset file for this scanner)
    • Filter -> Blur -> Gaussian Blur: Radius 2.0
    • Image -> Image Size: resize to 150dpi
    • Filter -> Sharpen -> Unsharp Mask: Amount: 25%, Radius: 3.0
    • Filter -> Sharpen -> Unsharp Mask: Amount: 100%, Radius: 0.5
    • (Manual Works)
    • Set the White input level
    • Adjust the Black input level if needed
    • Retouch the image if needed
    • Crop the image if needed
    • (After Works)
    • For thumbnail images resized to 150px height:
    • Filter -> Sharpen -> Unsharp Mask: Amount: 25%, Radius: 1.0

Typography

MIDI

Utilities

Submit to other non-major search engines

Favicon for IE

General

Audio Visual Links

General

GoldWave

  • HowTo remove static Noise
    Load up GoldWave, drag and drop the .WAV into the work area. From the pull down menus, select Effects, then Filter, then POP/CLICK using the Agressive preset. (usually Default is ok)
    After its done, run the Noise Reduction filter, using the Average at 75% preset. When done, save to .WAV and import it into Adobe for latter editing.

Tools

Physical Hardware