ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์จาก มิถุนายน, 2009

Normal Distribution การแจกแจงปกติ

pdf property mean=mode=median multivariate normal distribution x1,...,xN : vector is det of sigma sigma is symmetric matrix covarience matrix ( positive semidefinite ) mu is mean vector ref : wiki

[ OpenOffice ] log scale in graph

Double click to select a graph right click at graph axis > Objects Properties ...

Everything crash.

Seem like everything would like to crash at the same time.

Internet Explorer cannot display the webpage, at paragon

[ OpenOffice ] read only problem

To unlock read only, press 'Edit File' Button. That's it.

เบื่อชีวิต เหงา แฟนทิ้ง เกรดตก ผัวมีชู้ โดนไล่ออก ตัดเงินเดือน เจ้านายห่วย ทะเลาะกับพ่อแม่ อยากตาย รู้สึกว่าตัวเองไร้ค่า ติดโปร ติดหนี้ ล้มละลาย

ดูคลิปนี้ซะ ไม่กี่นาทีเอง ดูให้จบนะครับ ทุกปัญหามีทางออก เพียงสงบจิตสงบใจ และ ใช้ปัญญา

เรื่อง matrix ที่อาจจะลืมกันไปแล้ว

Rank ของ matrix Rank ของ matrix A คือ จำนวน independent columns (หรือ rows) ของ A นั่นคือ square matrix จะ full rank ถ้า ทุกคอลัมน์ independent กัน เมื่อ full rank, det จะ = 0 วิธีหา rank อาจหาได้โดย [U, W, V] = svd(A) แล้วดูว่า rank คือ จำนวน residual ของ W ที่ไม่เป็น 0 full rank = singular matrix = หา inverse ได้ สมบัติของ rank 1. rank(AB) <= min(rank(A), rank(B)) ย้ำว่า < หรือ = นะ ดูสมบัติอื่นๆ ได้จาก wiki Null Matrix เมตริกซ์ศูนย์ (Zero Matrix หรือ Null Matrix ) คือ เมตริกซ์ที่มีสมาชิกทุกตัวเป็นศูนย์หมด Orthogonal Matrix Cramer's rule Ax = b Cramer's rule ใช้ได้เมื่อ A เป็น square matrix เท่านั้น กรณีที่มีจำนวน สมการ มากกว่าจำนวน ตัวแปร ( A mxn เมื่อ m > n ) หรือเราเรียกว่า over parameter เราไม่สามารถหา inverse ของ rectangular matrix ได้ ให้ไปใช้ psudoinverse แทน x = A + b หรือ หรือ หรือ ไปใช้ SVD แก้สมการซะ คำตอบคือ last col of v ! Gaussian elimination method ใช้แก้สมการ เช่นเดียวกับ กฏของ คราเมอร์ วิธีคิดหลักๆ คือ ทำให้สามเหลี่ยมล่างเป็น 0 ให้หมด โดย

autorun.inf or autorun.ini : AutoPlay USB drive ( thumb drive ) in windows

Example [AutoRun] open=setup.exe icon=setup.exe,0 Explanation [AutoRun] or [autorun] OPEN i.e. OPEN=setup.exe OPEN=setup.exe param1 OPEN=catalog.pdf OPEN=index.html open=autorun.bat yourfoldername\malware.exe in autorun.bat ... @echo off @start %1 %2 %3 %4 %5 %6 %7 %8 %9 @exit ICON ICON=setup.exe ICON=icon.ico LABEL LABEL=My Web Project วิธีแก้อื่นๆ สำหรับคนใช้ windows ดูได้จากเวป com-th

extend search in firefox วิธีทำ search ของ firefox ใช้เอง

จริงๆ อ่านอันนี้นานมาแล้ว จดไว้หน่อยก็ดี จะได้ไม่ต้องไปคุ้ย เวลาจะต้องใช้ ตัวอย่างนี้ทำ search ในบล็อกนี่แหละ ให้ผลเหมือนกันกับ site:dsin.blogspot.com keyword 1. เซฟ ไฟล์นี้ ชื่อ อะไรก็ได้ .src เช่น dsin_blogspot.src <search name="dsin.blogspot" method="GET" action="http://www.google.com/search" queryCharset="utf-8" > <input name="q" user> <input name="sitesearch" value="dsin.blogspot.com"> <input name="hl" value="en"> </search> 2. เอาไปยัดไว้ใน /usr/lib/firefox-addons/searchplugins restart firefox ทีนึง มันจะอ่านไฟล์ .src แล้วสร้างไฟล์ .xml ให้เองเลย ปล. ถ้าจะใส่ icon ให้รูปขนาด 16x16 ( .gif หรือ .png ) ตั้งชื่อให้เหมือนไฟล์ .src แล้วเอามาวางไว้ที่เดียวกัน เช่นๆ ผมก็อบเอา favicon ของ blogger มาทำเป็นไฟล์ dsin_blogspot.gif

[ VirtualBox ] share file between windows 7 ( in VM ) and ubuntu 9.04

Note that the following steps can also adapt to any OS in VM. 1) Windows 7 ( in VM ) 1.1) Installed Guest Additions... using method here . 1.2) go to, Devices > Shared Folders... put <folder path> and <folder name> 1.3) go to windows 7 in VM. execute net use x: \\vboxsvr\<folder name in step 2> 2) Ubuntu 12.04 ( in VM ) 2.1) Share Folder on VirtualBox 2.1.1) In VirtualBox, settings > Shared Folders > add Folder path : [on local] path: [on VM] auto-mount : unchecked ( auto-mount does not work in my case, windows 7 + (virtual)ubuntu 12.04. I could see folder in /media/sf.. but could not see files inside folder. Therefore, manual mount method is below ) permanent : check ( this will be added under "Machine Folders" section of VirtualBox) 2.2) Manual mount on ubuntu 2.2.1) mount $ mkdir ~/new $ sudo mount -t vboxsf New ~/new 2.3) Auto mount when start machine 2.3.1) If we want auto mount when start machine, add this

VirtualBox Screen Resolution Configuration

VirtualBox cannot display full screen, screen resolution is not correct. 1) Windows The solution is "Devices > Install Guest Additions...", after that one more drive will be appeared in VM. Install VBoxWindowsAdditions, a screen resolution problem will disappear. Moreover, you can seamlessly move the mouse between ubuntu linux ( or whatever OS ) and windows 7 ( or whatever ) inside VM without pressing Host button ( Right Ctrl ). After that, you can change CD/DVD ROM, back to your CD/DVD drive in order to use CD/DVD ROM in VM. 2) Ubuntu Install Guest Additions   2.1) "Devices > Insert Guest Additions CD image..." 2.2) Install necessary packages $ sudo apt-get install make gcc linux-headers-$(uname -r) 2.3) $ sudo /media/cdrom/VBoxLinuxAdditions.run Change Screen Resolution VirtualBox : Virtual Screen > Resized to 1024x768 

วิธีลง plugins สำหรับ gedit

วิธีง่าย สามารถลง package sudo apt-get install gedit-plugins ได้เลยๆ วิธีลงเอง manual 1. copy ไฟล์ที่โหลดจาก plugin ไปลงที่ ~/.gnome2/gedit/plugins ( เดิม folder plugins อาจจะยังไม่มี ให้สร้างขึ้นมาใหม่ ) 2. restart gedit 3. จะเจอ plugin แท็บ plugins ใน Edit > Preference อย่างเช่น จะลองลง plugin Auto Tab 1. เอา autotab.gedit-plugin และ autotab.py ที่โหลดมาได้ไปไว้ใน ~/.gnome2/gedit/plugins/ 2. (Re)start Gedit 3. Edit > Preferences > Plugins และติ๊ก Auto Tab. มี plugin อีกมากมาย เช่น Regex search and replace Tabs extend : close all tabs, close other tabs, undo a closed tab Autocomplete Auto Tab Code Comment Document Statistics External Tools File Browser Pane Tab Extends ปลั๊กอิน ตัวอื่นๆ สามารถหาได้จาก http://live.gnome.org/Gedit/Plugins

Bing Search Overload Syndrome -- new microsoft bing search engine ads

Bing Search Overload Syndrome: Cell Phone Bing Search Overload Syndrome: Hawaii Anyway, Ads are always Ads. I search for a branch of bank, and bing !, "CondomThai.com".

อัตราค่าโดยสารแท็กซี่มิเตอร์ Taxi meter Rate in Thailand

Today Bo's skin around eye is inflamed. We took taxi to hospital with P'noi and P'da. I accidentally saw this in taxi, The Taxi meter rate in Thailand, Noted that this photo is taken on 2009, 3 Jun. The price may change over time.

cross product matrix

มันก็คือ การหา det ของ matrix =