วันพฤหัสบดีที่ 17 มีนาคม พ.ศ. 2554
กำหนดการขึ้นทะเบียนบัณฑิต ประจำปีการศึกษา 2553 บัณฑิตวิทยาลัย มหาวิทยาลัยมหิดล
กำหนดการขึ้นทะเบียนบัณฑิต ประจำปีการศึกษา 2553
บัณฑิตวิทยาลัย มหาวิทยาลัยมหิดล
http://www.grad.mahidol.ac.th/grad/event/registgraduate53_th.php
บัณฑิตวิทยาลัย มหาวิทยาลัยมหิดล
http://www.grad.mahidol.ac.th/grad/event/registgraduate53_th.php
วันอาทิตย์ที่ 26 กันยายน พ.ศ. 2553
ePub มาตรฐาน e-Book แบบเปิด
ePub มาตรฐาน e-Book แบบเปิด ที่พัฒนาโดย The International Digital Publishing Forum
(IDPF)
ประกอบด้วยมาตรฐาน 3 อย่างผสมผสานกัน ได้แก่ Open Publication Structure (OPS), Open Packaging Format (OPF) และ Open Container Format (OCF)
รายละเอียดดูได้ที่
The International Digital Publishing Forum
http://www.idpf.org/
ประกอบด้วยมาตรฐาน 3 อย่างผสมผสานกัน ได้แก่ Open Publication Structure (OPS), Open Packaging Format (OPF) และ Open Container Format (OCF)
รายละเอียดดูได้ที่
The International Digital Publishing Forum
http://www.idpf.org/
เขียน นายบุญเลิศ อรุณพิบูลย์ นักวิชาการ ศูนย์บริการความรู้ทางวิทยาศาสตร์และเทคโนโลยีแห่งชาติ
วันอังคารที่ 21 กันยายน พ.ศ. 2553
เทคโนโลยี Augmented Reality
Augmented Reality (AR)
เป็นเทคโนโลยีใหม่ที่พัฒนารูปแบบ Human-Machine Interface ที่อาศัยเทคโนโลยีคอมพิวเตอร์
และระบบเสมือนจริง (Virtual Reality) โดยที่วัตถุเสมือนนั้นๆ จะถูกสร้างมาผสมกับสภาพในโลกจริง
ในรูป 3D และแสดงผลแบบ real time
จะเห็นว่าเทคโนโลยีใหม่นี้สามารถที่จะนำมาประยุกต์ใช้กับคนเราได้อย่างมากมาย ซึ่งถ้าทำให้น่าสนใจ
มาก ๆ ก็สามารถทำเงินได้อย่างมากเลยที่เดี้ยว
เป็นเทคโนโลยีใหม่ที่พัฒนารูปแบบ Human-Machine Interface ที่อาศัยเทคโนโลยีคอมพิวเตอร์
และระบบเสมือนจริง (Virtual Reality) โดยที่วัตถุเสมือนนั้นๆ จะถูกสร้างมาผสมกับสภาพในโลกจริง
ในรูป 3D และแสดงผลแบบ real time
จะเห็นว่าเทคโนโลยีใหม่นี้สามารถที่จะนำมาประยุกต์ใช้กับคนเราได้อย่างมากมาย ซึ่งถ้าทำให้น่าสนใจ
มาก ๆ ก็สามารถทำเงินได้อย่างมากเลยที่เดี้ยว
การอบรมจริยธรรมการวิจัยในคน สำหรับบัณฑิตศึกษาวิทยาเขตบางกอกน้อย
มีข่าวจากบัณฑิตวิทยาลัย มหาวิทยาลัยมหิดลที่อยากจะนำมาให้อ่านกันเป็นเรื่องที่ดีสำหรับนักศึกษาระดับบัณฑิตศึกษาทั้ง ป.โท ป.เอก คือว่า บัณฑิตวิทยาลัย มหาวิทยาลัยมหิดลได้มีการจัดอบรมทางด้านจริยธรรมการวิจัยขึ้นมาจึงอยากจะแนะนำ หัวข้อที่จัดอบรมคือ "การอบรมจริยธรรมการวิจัยในคน สำหรับบัณฑิตศึกษาวิทยาเขตบางกอกน้อย"
รายละเอียดดูได้ที่
http://www.grad.mahidol.ac.th/grad/event/news_th.php
รายละเอียดดูได้ที่
http://www.grad.mahidol.ac.th/grad/event/news_th.php
วันจันทร์ที่ 20 กันยายน พ.ศ. 2553
วันเสาร์ที่ 18 กันยายน พ.ศ. 2553
วันพฤหัสบดีที่ 16 กันยายน พ.ศ. 2553
เรื่องของเก้าอี้ฟรี ไอเดียเจ๋ง
เรื่องของเก้าอี้ฟรี ไอเดียเจ๋ง
Directed by Andrew Zuchero
Produced by Supermarche
Concept by mono
Technology by Tellart
Directed by Andrew Zuchero
Produced by Supermarche
Concept by mono
Technology by Tellart
วันพฤหัสบดีที่ 26 สิงหาคม พ.ศ. 2553
เครื่องกรองน้ำสะอาดแบบชาวบ้าน ง่ายๆแต่ได้ประโยชน์จริง

เหมาะสำหรับเกษตรพอเพียงค่ะ ง่าย
เครื่องกรองน้ำสะอาดแบบชาวบ้าน นำมาจากหนังสือเทคโนโลยีชาวบ้าน ของ วว.
คณะแพทยศาสตร์โรงพยาบาลศิริราช โดย ศจ.นพ. ร่มไทร สุวรรณิก ได้คิดค้นเครื่องกรองน้ำเสียให้เป็นน้ำบริสุทธิ์แบบประหยัด
ด้วยวิธีการ ง่าย ๆ และลงทุนในราคา 300-400 บาท
1. อุปกรณ์
ก. โอ่งหรือถัง สูงประมาณ 18 นิ้ว (อาจจะมากกว่าก็ได้) จำนวน 3 ใบ
ข. สายยางใส เส้นผ่าศูนย์กลาง 0.5 ซม. ยาว 2 เมตร
ค. ขั้วต่อสายยาง คอยปรับระดับน้ำให้ไหลมากหรือน้อย 2 อัน สายยางและต้นขั้วต่อสายยางนั้นอาจใช้ชุดของ สายน้ำเกลือนำมาใช้ได้เลย
ซึ่งสามารถขอได้ตาม โรงพยาบาลต่าง ๆ ซึ่งมีที่ปรับเร่งให้ไหลเร็วหรือช้า ก็ได้
2. วิธีเจาะ
ก. เจาะตุ่มด้วยฆ้อนกับตะปู กว้างพอกับสายยาง
ข. โอ่งหรือถังใบที 1 เจาะ 1 รู สูงจากก้นโอ่ง 2 นิ้ว
ค. โอ่งหรือถังใบที่ 2 และ 3 เจาะ 2 รู รูล่างให้เสมอกับ โอ่ง รูบนวัดจากปากโอ่งลงมา 2-3 นิ้ว
รูปแสดงการเจาะตุ่มหรือโอ่ง ต่อสายยาง และการบรรจุกรวดและทราย
3. ต่อสายยาง
ก. ต่อสายยางจากรูที่ก้นโอ่งใบที่ 1 กับสายยางที่รูก้นโอ่ง ใบที่ 2 โดยใช้ขั้วต่อ
ข. ต่อสายยางจากรูที่ปากโอ่งใบที่ 2 กับสายยางที่รูก้น โอ่งใบที่ 3 โดยใช้ขั้วต่อเช่นเดียวกัน
ค. เสียบสายยางที่รูปากโอ่งใบที่ 3 และปล่อยสายยาง ทิ้งไว้
4. วิธีบรรจุกรวดและทราย
ก. กรวดและทรายละเอียดที่ใช้ต้องล้างให้สะอาด
ข. วิธีบรรจุกรวดและทรายละเอียดในโอ่งใบที่ 2 และ 3 เหมือนกัน
ค. ใส่กรวดลงก่อนให้สูงพอมิดสายยาง เพื่อกันไม่ให้ ทรายเข้าไปอุดรูสายยาง
ง. แล้วใส่ทรายละเอียดลงไปให้ความสูงของทรายอยู่ใต้ รูบนประมาณ 1 นิ้ว
5. การยกระดับ ช่วยให้การไหลของน้ำดีขึ้น และป้องกันการไหล ย้อนกลับ
ก. โอ่งใบที่ 1 สูงจากระดับพื้น 20 นิ้ว
ข. โอ่งใบที่ 2 สูงจากระดับพื้น 10 นิ้ว
ค. โอ่งใบที่ 3 สูงจากระดับพื้น 3 นิ้ว
6. วิธีกรอง
ก. เทน้ำลงในโอ่งใบที่ 1 ใส่คลอรีนประมาณ 1 ช้อนชาและแกว่งสารส้ม (น้ำที่เทลงในโอ่งจะเป็นน้ำที่เสีย คือ สกปรกซึ่งอาจนำมาจากตามแม่น้ำ
ลำคลอง)
ข. น้ำจะถูกกรองโดยโอ่งใบที่ 2 ผ่านกรวดและทรายเอ่อ ขึ้นสวนทางกับแรงดึงดูดของโลก และไหลออกทาง สายยางที่ปากโอ่งใบที่ 2
ไปยังก้นโอ่งใบที่ 3
ค. น้ำจะถูกกรองจากโอ่งใบที่ 3 เช่นเดียวกับโอ่งใบที่ 2
ง. น้ำที่ออกจากโอ่งใบที่ 3 เราดื่มได้เลย จำนวนน้ำที่ได้ ประมาณ 60-70 ลิตรต่อวัน
7. วิธีล้างโอ่งกรอง
ถอดสายยางตรงขั้วต่อออก ปล่อยน้ำจากก้นโอ่งกรองที่ 2 และ 3 ออกจนหมดน้ำขุ่นเท่านั้น
ด้วยวิธีการง่าย ๆ เช่นนี้ เราก็สามารถได้น้ำที่สะอาด น้ำที่ ผ่านขั้นตอนเหล่านี้มาแล้วสามารถนำไปดื่มได้ทันที
นอกจากจะช่วยให้ประโยชน์แก่ผู้ประสบอุทกภัยน้ำท่วม แล้ว เครื่องกรองน้ำแบบง่าย ๆ นี้สามารถนำไปใช้ประโยชน์ได้ดีสำหรับผู้ที่
บ้านอยู่ตามริมแม่น้ำ ลำคลอง หนอง บึง โดยเฉพาะอย่างยิ่งที่น่าใช้มากที่สุด คือผู้ที่อาศัยตามหมู่บ้านที่สูบน้ำบาดาลขึ้นมาใช้
หรือถ้าอยู่รวมกันเป็นกลุ่ม อย่างใกล้ชิด เช่น หมู่บ้านจัดสรร หรือหมู่บ้านที่มีโครงสร้างสนิทสนมกัน มากตามแบบไทย ๆ
ก็อาจดัดแปลงร่วมใจกันสร้างเครื่องกรองน้ำสำหรับ ชุมชนขนาดย่อมได้ โดยช่วยกันสละเงินคนละเล็กคนละน้อย แล้วช่วยกันดู แลรักษา
ตัวอย่างที่ทำกันมาแล้วเช่น เช่นที่อำเภอหัวไผ่ จังหวัดอ่างทอง และและ ที่โรงเรียนสลัมคลองเตย ซึ่งปรากฏว่า มีน้ำสะอาดบริโภคกันอย่างทั่วถึง
วันอังคารที่ 17 สิงหาคม พ.ศ. 2553
วิธีเซ็นชื่อรับรองสำเนาถูกต้อง...รู้ไว้ไม่เป็นหนี้
ข้อมูลจาก facebook ธนาคารไทยพาณิชย์
บางคนอาจใช้ขีดเส้นขนาน แล้วเขียนข้อความ / เซ็นรับรอง
วันนี้ เอาวิธีเซ็นชื่อรับรองสำเนาที่ถูกต้อง มาแบ่งปันให้คุณรู้ไว้จะได้ไม่เป็นหนี้ เป็นเรื่องใกล้ตัวที่ประมาทไม่ได้เลยล่ะ เพราะหาก
เซ็นไม่ถูกวิธีแม้เพียงนิดเดียว คุณอาจตกเป็นหนี้โดยไม่รู้ตัวจากผู้ที่ไม่ประสงค์ดีที่นำเอาเอกสารสำเนาบัตรประชาชน สำเนาทะเบียนบ้าน
หรือสำเนาเอกสารสำคัญอื่นๆ จากการเซ็นรับรองของเราไปทำประโยชน์ส่วนตน แต่สร้างหนี้ที่ไม่ได้ก่อให้กับเรา ดังนั้นจึงขอแนะนำว่า...
ทุกครั้งหากต้องเซ็นเอกสารรับรองสำเนาอย่าลืม ...จำ...และทำตามขั้นตอนต่อไปนี้นะคะ...
1) ทุกครั้งหลังจากเซ็นชื่อ และเขียนรับรองสำเนาถูกต้องแล้ว ต้องเขียนรายละเอียดกำกับไว้ด้วยว่า..เอกสารฉบับนั้นใช้สำหรับ
ทำอะไร เช่น "ใช้เฉพาะสมัครงานเท่านั้น"
2) นอกจากกำกับรายละเอียดการใช้แล้ว ยังต้องกำกับ วัน/เดือน/ปี เขียนลงบนสำเนาที่ใช้ด้วยนะค่ะ ซึ่งนั่นจะช่วยกำหนดอายุ
การใช้งานสำเนาของเราได้
3) ต้องเขียนข้อความทั้งหมดทับลงบนสำเนาส่วนที่เป็นบัตรประชาชนและสำเนาทะเบียนบ้าน หรือสำเนาเอกสารอื่นๆ ที่สำคัญ
ทั้งสามข้อคือวิธีเซ็นที่ถูกต้องในการรับรองสำเนาอย่างรัดกุม ไม่เปิดช่องทาง ให้กับมิจฉาชีพ เอาไปสร้างหนี้ให้กับเรา ต่อไปนี้
ต้องระวัง เพราะคุณอาจเป็นรายต่อไป ที่จู่ๆก็มี หนี้ตามมาเคาะประตูถึงบ้าน รู้อย่างนี้แล้วก็อย่าลืมทำตามล่ะ
4) ในกรณี ที่เซ็นเอกสาร ต้องใช้ปากกาหมึกสีดำเท่านั้น ถึงจะปลอดภัยที่สุด เพราะเครื่องถ่ายเอกสาร บางเครื่อง สามารถถ่าย
เอกสารโดยดึงหมึกสีน้ำเงินออก เหลือใช้เฉพาะข้อความของบัตรประชาชน แล้วทำให้มิจฉาชีพ เซ็นเอกสารบัตรประชาชนนั้น แทนเรา
ได้เลย ****เพราะฉะนั้นเราควรเซ็นด้วย ปากกาสีดำเท่านั้น เพราะไม่สามารถดึงหมึกสีดำออกได้ หรือถ้าดึงสีดำออกได้ข้อความก็จะ
หายไปหมดเลยทั้งหน้าบัตรประชาชนค่ะ
อย่าลืม ต้องใช้ปากกากหมึกดำเท่านั้น...จึงจะปลอดภัยที่สุด
ขอบคุณข้อมูลจาก kapook.com
ขอบคุณรูปภาพจาก flickr.com
บางคนอาจใช้ขีดเส้นขนาน แล้วเขียนข้อความ / เซ็นรับรอง
วันนี้ เอาวิธีเซ็นชื่อรับรองสำเนาที่ถูกต้อง มาแบ่งปันให้คุณรู้ไว้จะได้ไม่เป็นหนี้ เป็นเรื่องใกล้ตัวที่ประมาทไม่ได้เลยล่ะ เพราะหาก
เซ็นไม่ถูกวิธีแม้เพียงนิดเดียว คุณอาจตกเป็นหนี้โดยไม่รู้ตัวจากผู้ที่ไม่ประสงค์ดีที่นำเอาเอกสารสำเนาบัตรประชาชน สำเนาทะเบียนบ้าน
หรือสำเนาเอกสารสำคัญอื่นๆ จากการเซ็นรับรองของเราไปทำประโยชน์ส่วนตน แต่สร้างหนี้ที่ไม่ได้ก่อให้กับเรา ดังนั้นจึงขอแนะนำว่า...
ทุกครั้งหากต้องเซ็นเอกสารรับรองสำเนาอย่าลืม ...จำ...และทำตามขั้นตอนต่อไปนี้นะคะ...
1) ทุกครั้งหลังจากเซ็นชื่อ และเขียนรับรองสำเนาถูกต้องแล้ว ต้องเขียนรายละเอียดกำกับไว้ด้วยว่า..เอกสารฉบับนั้นใช้สำหรับ
ทำอะไร เช่น "ใช้เฉพาะสมัครงานเท่านั้น"
2) นอกจากกำกับรายละเอียดการใช้แล้ว ยังต้องกำกับ วัน/เดือน/ปี เขียนลงบนสำเนาที่ใช้ด้วยนะค่ะ ซึ่งนั่นจะช่วยกำหนดอายุ
การใช้งานสำเนาของเราได้
3) ต้องเขียนข้อความทั้งหมดทับลงบนสำเนาส่วนที่เป็นบัตรประชาชนและสำเนาทะเบียนบ้าน หรือสำเนาเอกสารอื่นๆ ที่สำคัญ
ทั้งสามข้อคือวิธีเซ็นที่ถูกต้องในการรับรองสำเนาอย่างรัดกุม ไม่เปิดช่องทาง ให้กับมิจฉาชีพ เอาไปสร้างหนี้ให้กับเรา ต่อไปนี้
ต้องระวัง เพราะคุณอาจเป็นรายต่อไป ที่จู่ๆก็มี หนี้ตามมาเคาะประตูถึงบ้าน รู้อย่างนี้แล้วก็อย่าลืมทำตามล่ะ
4) ในกรณี ที่เซ็นเอกสาร ต้องใช้ปากกาหมึกสีดำเท่านั้น ถึงจะปลอดภัยที่สุด เพราะเครื่องถ่ายเอกสาร บางเครื่อง สามารถถ่าย
เอกสารโดยดึงหมึกสีน้ำเงินออก เหลือใช้เฉพาะข้อความของบัตรประชาชน แล้วทำให้มิจฉาชีพ เซ็นเอกสารบัตรประชาชนนั้น แทนเรา
ได้เลย ****เพราะฉะนั้นเราควรเซ็นด้วย ปากกาสีดำเท่านั้น เพราะไม่สามารถดึงหมึกสีดำออกได้ หรือถ้าดึงสีดำออกได้ข้อความก็จะ
หายไปหมดเลยทั้งหน้าบัตรประชาชนค่ะ
อย่าลืม ต้องใช้ปากกากหมึกดำเท่านั้น...จึงจะปลอดภัยที่สุด
ขอบคุณข้อมูลจาก kapook.com
ขอบคุณรูปภาพจาก flickr.com
วันจันทร์ที่ 16 สิงหาคม พ.ศ. 2553
วันพฤหัสบดีที่ 29 กรกฎาคม พ.ศ. 2553
LINQ to SQL changes in .NET 4.0
Change list
Performance
Query plans are reused more often by specifically defining text parameter lengths (when connecting to SQL 2005 or later)
Identity cache lookups for primary key with single result now includes query.Where(predicate).Single/SingleOrDefault/First/FirstOrDefault
Reduced query execution overhead when DataLoadOptions specified (cache lookup considers DataLoadOptions value equivalency)
Usability
ITable interface for additional mocking possibilities
Contains with enums automatically casts to int or string depending on column type
Associations can now specify non-primary-key columns on the other end of the association for updates
Support list initialization syntax for queries
LinqDataSource now supports inherited entities
LinqDataSource support for ASP.NET query extenders added
Query stability
Contains now detects self-referencing IQueryable and doesn’t cause a stack overflow
Skip(0) no longer prevents eager loading
GetCommand operates within SQL Compact transactions
Exposing Link on a property/field is detected and reported correctly
Compiled queries now correctly detect a change in mapping source and throw
String.StartsWith, EndsWith and Contains now correctly handles ~ in the search string (regular & compiled queries)
Now detects multiple active result sets (MARS) better
Associations are properly created between entities when using eager loading with Table-Valued Functions (TVFs)
Queries that contain sub-queries with scalar projections now work better
Update stability
SubmitChanges no longer silently consumes transaction rollback exceptions
SubmitChanges deals with timestamps in a change conflict scenario properly
IsDbGenerated now honors renamed properties that don’t match underlying column name
Server-generated columns and SQL replication/triggers now work instead of throwing SQL exception
Improved binding support with the MVC model binder
General stability
Binary types equate correctly after deserialization
EntitySet.ListChanged fired when adding items to an unloaded entity set
Dispose our connections upon context disposal (ones passed in are untouched)
Database control
DeleteDatabase no longer fails with case-sensitive database servers
SQL Metal
Foreign key property setter now checks all affected associations not just the first
Improved error handling when primary key type not supported
Now skips stored procedures containing table-valued parameters instead of aborting process
Can now be used against connections that use AttachDbFilename syntax
No longer crashes when unexpected data types are encountered
LINQ to SQL class designer
Now handles a single anonymously named column in SQL result set
Improved error message for associations to nullable unique columns
No longer fails when using clauses are added to the partial user class
VarChar(1) now correctly maps to string and not char
Decimal precision and scale are now emitted correctly in the DbType attributes for stored procedures & computed columns
Foreign key changes will be picked up when bringing tables back into the designer without a restart
Can edit the return value type of unidentified stored procedure types
Stored procedure generated classes do not localize the word “Result” in the class name
Opening a DBML file no longer causes it to be checked out of source control
Changing a FK for a table and re-dragging it to the designer surface will show new FK’s
Code generation (SQL Metal + LINQ to SQL class designer)
Stored procedures using original values now compiles when the entity and context namespaces differ
Virtual internal now generates correct syntax
Mapping attributes are now fully qualified to prevent conflicts with user types
KnownTypeAttributes are now emitted for DataContractSerializer with inheritance
Delay-loaded foreign keys now have the correct, compilable, code generated
Using stored procedures with concurrency no longer gets confused if entities in different namespace to context
ForeignKeyReferenceAlreadyHasValueException is now thrown if any association is loaded not just the first
Potentially breaking changes
We worked very hard to avoid breaking changes but of course any potential bug fix is a breaking change if your application was depending on the wrong behavior. The ones I specifically want to call out are:
Skip(0) is no longer a no-op
The special-casing of 0 for Skip to be a no-op was causing some subtle issues such as eager loading to fail and we took the decision to stop special casing this. This means if you had syntax that was invalid for a Skip greater than 0 it will now also be invalid for skip with a 0. This makes more sense and means your app would break on the first page now instead of subtlety breaking on the second page. Fail fast :)
ForeignKeyReferenceAlreadyHasValue exception
If you are getting this exception where you weren’t previously it means you have an underlying foreign key with multiple associations based on it and you are trying to change the underlying foreign key even though we have associations loaded.Best thing to do here is to set the associations themselves and if you can’t do that make sure they aren’t loaded when you want to set the foreign key to avoid inconsistencies.
Performance
Query plans are reused more often by specifically defining text parameter lengths (when connecting to SQL 2005 or later)
Identity cache lookups for primary key with single result now includes query.Where(predicate).Single/SingleOrDefault/First/FirstOrDefault
Reduced query execution overhead when DataLoadOptions specified (cache lookup considers DataLoadOptions value equivalency)
Usability
ITable
Contains with enums automatically casts to int or string depending on column type
Associations can now specify non-primary-key columns on the other end of the association for updates
Support list initialization syntax for queries
LinqDataSource now supports inherited entities
LinqDataSource support for ASP.NET query extenders added
Query stability
Contains now detects self-referencing IQueryable and doesn’t cause a stack overflow
Skip(0) no longer prevents eager loading
GetCommand operates within SQL Compact transactions
Exposing Link
Compiled queries now correctly detect a change in mapping source and throw
String.StartsWith, EndsWith and Contains now correctly handles ~ in the search string (regular & compiled queries)
Now detects multiple active result sets (MARS) better
Associations are properly created between entities when using eager loading with Table-Valued Functions (TVFs)
Queries that contain sub-queries with scalar projections now work better
Update stability
SubmitChanges no longer silently consumes transaction rollback exceptions
SubmitChanges deals with timestamps in a change conflict scenario properly
IsDbGenerated now honors renamed properties that don’t match underlying column name
Server-generated columns and SQL replication/triggers now work instead of throwing SQL exception
Improved binding support with the MVC model binder
General stability
Binary types equate correctly after deserialization
EntitySet.ListChanged fired when adding items to an unloaded entity set
Dispose our connections upon context disposal (ones passed in are untouched)
Database control
DeleteDatabase no longer fails with case-sensitive database servers
SQL Metal
Foreign key property setter now checks all affected associations not just the first
Improved error handling when primary key type not supported
Now skips stored procedures containing table-valued parameters instead of aborting process
Can now be used against connections that use AttachDbFilename syntax
No longer crashes when unexpected data types are encountered
LINQ to SQL class designer
Now handles a single anonymously named column in SQL result set
Improved error message for associations to nullable unique columns
No longer fails when using clauses are added to the partial user class
VarChar(1) now correctly maps to string and not char
Decimal precision and scale are now emitted correctly in the DbType attributes for stored procedures & computed columns
Foreign key changes will be picked up when bringing tables back into the designer without a restart
Can edit the return value type of unidentified stored procedure types
Stored procedure generated classes do not localize the word “Result” in the class name
Opening a DBML file no longer causes it to be checked out of source control
Changing a FK for a table and re-dragging it to the designer surface will show new FK’s
Code generation (SQL Metal + LINQ to SQL class designer)
Stored procedures using original values now compiles when the entity and context namespaces differ
Virtual internal now generates correct syntax
Mapping attributes are now fully qualified to prevent conflicts with user types
KnownTypeAttributes are now emitted for DataContractSerializer with inheritance
Delay-loaded foreign keys now have the correct, compilable, code generated
Using stored procedures with concurrency no longer gets confused if entities in different namespace to context
ForeignKeyReferenceAlreadyHasValueException is now thrown if any association is loaded not just the first
Potentially breaking changes
We worked very hard to avoid breaking changes but of course any potential bug fix is a breaking change if your application was depending on the wrong behavior. The ones I specifically want to call out are:
Skip(0) is no longer a no-op
The special-casing of 0 for Skip to be a no-op was causing some subtle issues such as eager loading to fail and we took the decision to stop special casing this. This means if you had syntax that was invalid for a Skip greater than 0 it will now also be invalid for skip with a 0. This makes more sense and means your app would break on the first page now instead of subtlety breaking on the second page. Fail fast :)
ForeignKeyReferenceAlreadyHasValue exception
If you are getting this exception where you weren’t previously it means you have an underlying foreign key with multiple associations based on it and you are trying to change the underlying foreign key even though we have associations loaded.Best thing to do here is to set the associations themselves and if you can’t do that make sure they aren’t loaded when you want to set the foreign key to avoid inconsistencies.
วันอังคารที่ 27 กรกฎาคม พ.ศ. 2553
Really Simple Syndication ( RSS )
RSS ย่อมาจาก Really Simple Syndication คือ บริการที่อยู่บนระบบ อินเตอร์เน็ท จัดทำข้อมูลข่าวสารให้อยู่ในรูปแบบ XML เพื่ออำนวยความสะดวกให้ กับผู้ใช้ โดยส่งข่าวหรือข้อมูลใหม่ๆ ให้ถึงเครื่องตลอดเวลาที่มีการ Updateไม่ต้อง เสียเวลาเปิดเว็บไซต์เข้ามาค้นหา
ข้อดีของ RSS
RSS ช่วยลดข้อจำกัดในการคัดลอกข้อมูลในเว็บไซต์ โดยเฉพาะกรณีการละเมิด ลิขสิทธิ์ขณะที่ผู้สร้างไม่ต้องเสียเวลาทำหน้าเพจแสดงข่าว ซึ่งต้องทำทุกครั้งเมื่อ ต้องการเพิ่มข่าว โดย RSS จะดึงข่าวมาอัตโนมัติ ทำให้ข้อมูลในเว็บไซต์เป็น ศูนย์กลางมากขึ้น
จุดเด่นของ RSS คือ ผู้ใช้จะไม่จำเป็นต้องเข้าไปตามเว็บไซต์ต่างๆ เพื่อดูว่ามีข้อมูล อัพเดทใหม่หรือไม่ ขณะที่เว็บไซต์แต่ละแห่งอาจมีระยะความถี่ในการอัพเดท ไม่เท่ากัน บางครั้งผู้ใช้ยังอาจหลงลืมจนเข้าไปดูเนื้อหาอัพเดทใหม่บนเว็บไซต์ ไม่ครบถ้วน รูปแบบ RSS จะช่วยให้ผู้ใช้สามารถรับข่าวสารอัพเดทใหม่ได้ โดยไม่ต้องเข้าไปดูทุกครั้งให้เสียเวลา ซึ่งจะได้ประโยชน์ทั้งฝ่ายผู้บริโภคและ ฝ่ายเจ้าของเว็บไซต์
ข้อดีของ RSS
RSS ช่วยลดข้อจำกัดในการคัดลอกข้อมูลในเว็บไซต์ โดยเฉพาะกรณีการละเมิด ลิขสิทธิ์ขณะที่ผู้สร้างไม่ต้องเสียเวลาทำหน้าเพจแสดงข่าว ซึ่งต้องทำทุกครั้งเมื่อ ต้องการเพิ่มข่าว โดย RSS จะดึงข่าวมาอัตโนมัติ ทำให้ข้อมูลในเว็บไซต์เป็น ศูนย์กลางมากขึ้น
จุดเด่นของ RSS คือ ผู้ใช้จะไม่จำเป็นต้องเข้าไปตามเว็บไซต์ต่างๆ เพื่อดูว่ามีข้อมูล อัพเดทใหม่หรือไม่ ขณะที่เว็บไซต์แต่ละแห่งอาจมีระยะความถี่ในการอัพเดท ไม่เท่ากัน บางครั้งผู้ใช้ยังอาจหลงลืมจนเข้าไปดูเนื้อหาอัพเดทใหม่บนเว็บไซต์ ไม่ครบถ้วน รูปแบบ RSS จะช่วยให้ผู้ใช้สามารถรับข่าวสารอัพเดทใหม่ได้ โดยไม่ต้องเข้าไปดูทุกครั้งให้เสียเวลา ซึ่งจะได้ประโยชน์ทั้งฝ่ายผู้บริโภคและ ฝ่ายเจ้าของเว็บไซต์
สมัครสมาชิก:
บทความ (Atom)