Ngoc Tu's profileNgoc Tu's spacePhotosBlogListsMore Tools Help

Blog


    March 31

    Chuyên đề chuẩn bị cho niên luận

    Chào các bạn.

    Dù chuẩn bị khá kỹ nhưng vẫn có sơ xuất. Sau đây là các phần để download:

    Phần báo cáo của Khanh:

    http://tumickey.liveclubcantho.org/ChuyendeNL1-VHK.zip

    Phần báo của của Vành Khuyên - Hải:

    http://tumickey.liveclubcantho.org/nl1-vk-Hai.zip

    Demo ve cây của Hải: http://tumickey.liveclubcantho.org/vecay.zip

    Xin ké là phần báo cáo của mình làm năm ngoái. Cũng giống như với bài của VK-Hải: nhưng phần sơ đồ có 1 loại sơ đồ đơn giản hơn là Nassi-Shneiderman và 1 bài báo cảo nhỏ về IDE cho C/C++

    http://tumickey.liveclubcantho.org/nl1-nntu.zip

    1 số phần mêm vẽ lưu đồ:

    -http://tumickey.liveclubcantho.org/Veluudothuattoan.zip

    vẽ theo chuẩn Nassi-Shneiderman: http://tumickey.liveclubcantho.org/Nassi-Shneiderman.rar

    Tài liệu về BGI – Lập trình đồ họa với DevC++

    http://tumickey.liveclubcantho.org/bgidoc.zip

    Mọi thắc mắc, download không được các bạn có thể liên hệ tại địa chỉ : tumickey@gmail.com

    (Host do LiveClubCantho.org tài trợ)

    Ngoài ra còn 1 mirro nữa để các bạn dễ download :

    http://groups.google.com/group/cantholive/

    January 26

    HDD Seagate lỗi firmware chết trong 3 đến 5 tháng

    Seagate vừa tung ra phiên bản update firmware mới dành cho các ổ cứng 7200.11 từ 160GB đến 1.5TB hứa hẹn sẽ fix lỗi sau:

    sau khi dùng các ổ cứng 7200.11 này từ 3 đến 5 tháng thì bị khóa cứng (như kiểu khóa cứng bảo vệ). Gắn vào máy thì không thể detect được. Tuy đã số các trường hợp không gây mất mát dữ liệu nhưng thậm chí đem thay cả board mạch cũng không thể giúp gì được

    những ổ cứng cần phải được update firmware
    hdd

    Quote:
    New Seagate Firmware Turns Sour, Dangerous
    You might want to think again before flashing your Seagate hard drive with whatever firmware the company provides as a ‘fix’ to pending firmware issues with some of its Barracuda 7200.11 series hard drives. The latest firmware by the company, version SD1A turned many a hard drive unfortunate enough to be flashed with it, to paperweights. After flashing the drives with the new firmware, users reported receiving disk failure messages, and systems not being able to access - let alone boot from - the drives. Users claimed to have lost data and backups stored on the hard drive, since the drive is rendered inaccessible from any machine.

    Following these reports, the company removed the firmware update pending validation. It is not known at this point as to how the company plans to address its disgruntled customers, whether it creates a window for hard drives failed as a result of upgrading to this firmware to be replaced under the company warranty or free of charge. The SD1A firmware update was released by the company to address stability issues certain models of the Barracuda 7200.11 series hard drives were diagnosed with.

    Thực hiện theo như bên voz
    Code:

    1/nếu bạn không rõ con của bạn là model gì , firmware gì thì tải cái này về
    Code:
    http://support.seagate.com/kbimg/utils/drivedetect.exe
    2/dựa vào cái list này
    Code:
    http://seagate.custkb.com/seagate/crm/selfservice/search.jsp?DocId=207931
    bấm vào chọn model cần upgrade
    vd với mình là ST3500620AS 500gb 16mb
    3/sau đó chọn mục download ứng với model của mình và downfile iso
    4/burn iso đó ra đĩa
    5/tắt máy, tháo dây cáp nguồn tất cả các ổ cứng ra, chỉ giữ lại ổ cần upgrade
    6/bật máy và boot bằng cd vừa burn
    7/chờ 1 lát sẽ ra màn hình lựa chọn. với các tùy chọn tương ứng từng model với A B C , để chắc ăn có thể chọn rescan all drive để quét xem đã nhận HDD chưa
    8/bây giờ chọn ký tự tương ứng với model của mình
    chỉ cần bấm là tự chạy, không cần enter
    9/nó sẽ thông báo “sending binary ….”.
    không được để mất điện khi đang upgrade
    10/chỉ cần chờ cho đến khi nó ra thông báo”cycle power…” “press anykey to coninute” bấm và nó sẽ tắt máy không được nhấn reset hoặc Ctrl+Alt+Del
    11/chờ 5-10 phút cho chắc(hoặc theo nó nói là đèn hdd tắt)(tuyệt đối không bật sớm)
    12/bật máy lên lại và kiểm tra xem đã nhận HDD với firmware mới chưa
    /trong quá trình up thì với con ES2 nó hơi khác là có sau khi bấm chọn loại model upgrade

    copy from voz
    Hướng dẫn update firmware bằng USB mà ko cần ghi ra CD (mainboard của bạn phải hỗ trợ boot từ USB)

    Cách này mình đã update thành công ổ Seagate 320GB 7200.10 từ firmware 3.AAK lên 3.AAM, mình nghĩ lần này cũng ko khác nhau đâu

    Những thứ cần thiết

    HP USB Disk Storage Format Tool - Download: Google
    UltraISO - Vào box download phần mềm
    File ISO firmware của Seagate

    1. Mở chế độ hiển thị file hệ thống của Windows:
    Folder Option > View > Bỏ chọn Hide protected operating system files

    2. Chạy UltraISO
    Menu File >Open > Chọn file ISO firmware
    Bạn sẽ chẳng nhìn thấy gì ngoài file README.TXT, đừng lo, những file cần thiết nằm trong BootSector
    Menu Bootable > Save Boot File > save thành 1 file .bif

    3. Mở lại file .bif vừa save bằng UltraISO
    Lúc này sẽ thấy các file cần thiết, bạn chọn tất cả và Extract to… ra 1 thư mục seagate-firmware

    4. Chạy HP USB Disk Storage Format Tool
    Cắm USB của bạn vào máy
    Đánh dấu Create a DOS start updisk > using DOS system files located at > ấn vào nút “…” và chọn đến thư mục seagate-firmware
    Có thể chọn thêm Quick Format
    Ấn Start

    5. Sau khi format thành công, chưa xong đâu, bây giờ bạn vào thư mục seagate-firmware chép tất cả các file trong đó vào USB, có thể chép đè hay không đều được

    6. Lúc này bạn đã có 1 USB boot, chỉ việc khởi đông lại máy tính và chọn boot từ USB

    Boot và làm theo hướng dẫn update firmware
    (nguon : link)

    December 06

    Enum type và WCF services

    1 khó khăn là khong thể dùng kiểu Enum 1 cách bt trong WCF. Sau đây là cách:

    Vd ta cần dùng Enum như sau :

    public enum GisDataType {
    WKT,
    GML,
    SVG
    }
    Trong WCF 
    [DataContract]
    public enum GisDataType {
    [EnumMember()]
    WKT,
    [EnumMember()]
    GML,
    [EnumMember()]
    SVG
    }

    Và ta đăng ký

      [ServiceContract(Namespace = "SDataGisCenter")]
        [ServiceKnownType(typeof(GisDataType))]
        public interface IService1
        {

            [OperationContract]
            List<string> GetCity();

            [OperationContract]
            List<string> GetData(string id, GisDataType dtype);
           
            

            // TODO: Add your service operations here
        }

     

     Thanks to Merrick Chaffer

    December 05

    Hosting WCF in IIS 7 on Vista

    Khi dùng IIS 7 để host cái WCF thì gặp thông báo :

    Server Error in Application “Default Web Site/CallService”
    HTTP Error 404.3 - Not Found

    Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

     

    Nguyên nhân là do iis 7 chưa được đăng ký với WCF. Để cho iis 7 có thể hosting WCF :

    1. Vào command prompt . Start –> gõ cmd

    2. Di chuyển tới thư mục c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\  bằng lênh: cd c:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\

    3. gõ : ServiceModelReg –i

    image

    thế là có thể hosting WCF

    December 04

    Silverlight - Sql server 2008 Spatial database

    Ý định: dùng silverlight để hiện thị bản đồ từ kiểu dữ liệu spatial (SqlGeography) .

    Thế nhưng vấn đề ở chổ không thể nào đưa thư viện Microsoft.SqlServer.Types.dll vào trong silverlight. Nếu không có thư viện đó thì không thể nào dùng kiểu SqlGeography .

    Sau khi tham khảo vd mẫu SpatialWpf ( dùng wpf để đọc Spatial http://www.codeplex.com/SpatialViewer

    thì thấy có cách là dùng cách chuyển đổi từ SqlGeography -> PathGeometry( kiểu data từ namespace System.Windows.Media )

    mà kiểu PathGeometry có thể chuyển thành chuổi dang

    <Path Data="M 0,100 Q 150,300 300,100" Stroke="Red" StrokeThickness="2"></Path>

    thế là chúng ta sẽ dùng SqlGeography -> PathGeometry -> string . 

    Tiếp theo dung wcf chuyển tới cho silverlight .

     xong ta cần chuyển cái chuổi đó về PathGeomertry. thư viện

    http://www.codeplex.com/StringToPathGeometry

    sẽ giúp ta làm chuyện đó .

    PathGeomertry xong ta hoàn toàn có thể hiện thi lên silverlight.

    demo : http://cid-6e8d6ce706d70065.skydrive.live.com/self.aspx/silverlight/SViewGis.zip

    http://www.mediafire.com/?jlmtyynuxym

    http://liveclub.vn/members/tumickey/files/SViewGis.zip.aspx

    Phát triển :

    Do chưa tìm hiểu nhiều về silverlight nên không thể nào hiện thị nhiều vùng cùng 1 lúc .

    November 02

    Cấu hình window server 2008

    1. Disable shutdown event tracker
      Start->Run->"gpedit.msc" -> Administrative tools->System-> Display Shutdown event tracked -> Disable

    2. Disable IE Security
      Start->Server Manager->Configure IE Sec->Off both options.

    3. Enable Wireless Support
      Start->Server Manager->Features->Add Feature->Wireless LAN Services

    4. Enable Audio support
      Start->Run->"Service.msc"->Windows Audio -> Automatic
      Start->Run->Services.msc"->Windows Audio Endpoint Builder->Automatic
    5. Install hardware drivers
      I am using ThinkPad t60p so my driver list is here
      Note that mobility center is missing from windows 2008 server so there is no need to install it.
      IBM Network access connection will crash on you if you will not enable the wireless support (Look above)
    6. Enable Vista Experience (look & feel including Aero, Media Player etc.) 
      Start->Server Manager->Features->Add Feature->Desktop Experience
      More info including how to enable sleep support on windows 2008 server you may find over this kb: http://support.microsoft.com/kb/947036)
    7. Enable Themes
      Start->Run->"Service.msc"->Themes->Automatic
    8. Enable .NET 3.0
      Start->Server Manager->Features->Add Feature->.NET Framework 3.0 Features
    9. Enable Windows Search (for searching outlook emails)
      Start->Server Manager->Roles->Add Roles->File Services->Windows Search
    10. Enable SuperFetch
      Start->Run->"regedit"
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
      Add a new DWORD by the name of EnablePrefetcher and assign is the value of 3
      Add a new DWORD by the name of EnableSuperfetch and assign is the value of 3
      Start->Run->"services.msc"->SuperFetch->Automatic
    11. Install Messenger
      Latest Live Messenger will not install on Windows 2008 Server, you should install a former version (8.1 and not 8.5) and then you may copy the Live Messenger folder from a working machine and work with it.
      http://www.microsoft.com/downloads/details.aspx?FamilyID=d78f2ff1-79ea-4066-8ba0-ddbed94864fc&DisplayLang=en
    12. Install Skype
      Latest Skype version will crash 2 seconds after login, you need to install a former skype version Skype 3.1.0.152 works great.
      http://filehippo.com/download_skype/2473/
    13. Install Office 2007
    14. Install Visual Studio 2008
    15. Setting Processor Scheduling
      Start->Control Panel ->System ->Advanced system settings-> Advanced -> Performance -> Settings->Advanced->Adjust best performance->Programs
      update:
    16. Changing DEP Mode
      Start->Control Panel ->System ->Advanced system settings-> Advanced -> Performance -> Settings-> Data Execution Prevention-> Turn On DEP for essential Windows programs and services.
      update2:
    17. Fixing ASP.NET Development Server
      After installing visual studio you might want to start working with Casini, the asp.net dev server but it seems that the ie cant find it.
      Edit the hosts file located at: C:/windows/system32/drivers/etc
      comment the following line :
      ::1             localhost
      by replacing it with:
      #::1
      (the "::1" is use for the localhost for ipv6)

    (source : http://weblogs.asp.net/israelio)

    Install Windows Live Wave 3 beta programs in windows server 2008

    1. Download Resource Hacker or XN Resource Editor.
    2. Run the Resource Hacker or XN Resource Editor.
    3. Open the Windows Live Installer executable (WLSetup-All.exe or WLSetup-Web.exe).
    4. Locate CONFIG -> CONFIG0 -> 0.
    5. Delete and remove the following XML code, and leaving the rest of the text intact:

      <rule name=”IsValidOs” logic=”or”><group logic=”and” name=”vista+”><os version=”vista” condition=”greaterthanorequal” /><os productType=”workstation” /></group><group logic=”and” name=”xpsp2″><os version=”xp” servicePack=”2″ condition=”greaterthanorequal” /><os version=”vista” condition=”lessthan” /><os productType=”workstation” /><os cpu=”i386″ /><fileVersion path=”CSIDL_SYSTEM” file=”msi.dll” version=”3.1.0.0″ condition=”greaterthanorequal” /></group></rule>

    6. Compile the script and save the modified executable.
    7. Run the modified executable, and the Windows Live beta wave 3 software applications can be installed anywhere on any OS and operating system check is now removed.

    (source: http://www.mydigitallife.info)

    October 16

    Silverlight 2 Released

    Today we shipped the final release of Silverlight 2.  You can download Silverlight 2, as well the Visual Studio 2008 and Expression Blend 2 tool support to target it, here.

    Cross Platform / Cross Browser .NET Development

    Silverlight 2 is a cross-platform browser plugin that enables rich media experiences and .NET RIAs (Rich Internet Applications) within the browser.

    Silverlight 2 is small in size (4.6MB) and takes only 4-10 seconds to install on a machine that doesn't already have it.  It does not require the .NET Framework to be installed on a computer to run - the Silverlight setup download includes everything necessary to play video or run applications.

    Developers can write Silverlight applications using any .NET language (including VB, C#, JavaScript, IronPython and IronRuby).  Silverlight provides a rich set of features for development including:

    • WPF UI Framework: Silverlight 2 includes a rich UI framework that makes building rich Web applications much easier.  In includes a powerful graphics and animation engine, as well as rich support for higher-level UI capabilities like controls, layout management, data-binding, styles, and template skinning.  The WPF UI Framework in Silverlight is a compatible subset of the WPF UI Framework features in the full .NET Framework, and enables developers to re-use skills, controls, code and content to build both rich cross browser web applications, as well as rich desktop Windows applications.
    • Rich Controls: Silverlight 2 includes a rich set of built-in controls that developers and designers can use to quickly build applications.  The Silverlight 2 release includes core form controls (TextBox, CheckBox, RadioButton, ComboBox, etc), built-in layout management panels (StackPanel, Grid, Panel, etc), common functionality controls (Slider, ScrollViewer, Calendar, DatePicker, etc), and data manipulation controls (DataGrid, ListBox, etc).  All Silverlight controls support a rich control templating model, which enables developers and designers to collaborate together to build highly polished solutions.
    • Rich Networking Support: Silverlight 2 includes rich networking support.  It includes out of the box support for calling REST, WS*/SOAP, POX, RSS, and standard HTTP services.  It supports cross domain network access (enabling Silverlight clients to directly access resources and data from resources on the web).  It also includes built-in sockets networking support.

    • Rich Base Class Library: Silverlight 2 includes a rich .NET base class library of functionality (collections, IO, generics, threading, globalization, XML, local storage, etc).  It includes rich APIs that enable HTML DOM/JavaScript integration with .NET code.  It includes LINQ and LINQ to XML library support (enabling easy transformation and querying of data), as well as local data caching and storage support.  The .NET APIs in Silverlight are a compatible subset of the full .NET Framework.
    • Rich Media Support: Silverlight 2 includes built-in video codecs for playing high definition video, as well as for streaming it over the web (including both live and on-demand support).  Silverlight includes support for adaptively switching video bitrates on the fly based on network conditions (enabling users to avoid seeing the dreaded "buffering..." message), placing and metering ads within video streams, as well as enabling content protection. 

    The final Silverlight 2 release delivers a tremendous amount of power and flexibility that enables you to really push the boundaries of what can be done in a browser, and enable great end user experiences.

    Silverlight Customers

    Over the last few months a number of very high profile sites have successfully launched using the beta releases of Silverlight 2. 

    In August, NBC hosted the Olympics live on nbcolympics.com and served up 1.3 billion page views, 70 million video streams, and 600 million minutes of video content - making it the largest ever media event on the web.  Users visiting the site spent an average of 27 minutes on the site when they watched a video - an unprecedented number for online traffic.

    In August, the Democratic National Convention was streamed live using Silverlight, and broadcast a 2Mbit live video feed of the event and speeches - receiving outstanding feedback from audiences watching it.

    This month a number of other high profile sites are going live with the final release of Silverlight 2.  CBS College Sports Network will be streaming 20,000 hours of live games for 150+ college and university partners.  AOL is launching their new AOL Mail browser version to 60 million users using Silverlight 2.  Blockbuster will be launching their new MovieLink subscription service using Silverlight.  Yahoo! Japan is live today enabling live streaming of Major League Baseball games.  Hard Rock International will be updating their memorabilia site with new features.  And companies like Toyota, HSN and hundreds of others will be live this week as well.

    Silverlight Toolkit

    Silverlight 2 ships with dozens of built-in UI controls that can be used to build applications.  Below is a screen-shot of the Silverlight DataGrid, RadioButton, CheckBox and DatePicker controls in the final release:


    Today we are also announcing the "Silverlight Toolkit" - which will deliver dozens of more controls that you can use with Silverlight 2.  We will continually add new controls to the control pack over the next few months (we expect to ultimately have more than 100 controls total).  The first release of the toolkit will include controls like TreeView, DockPanel, WrapPanel, ViewBox, Expander, NumericUpDown, AutoComplete and more.  All controls will ship with full source, and with a OSI license that allows you to modify and use the source for any purpose.

    Interoperability

    Today we are also announcing that Microsoft is partnering with Soyatec to sponsor additional tools for developing Silverlight applications using the cross platform Eclipse development platform.  Click here to learn more about this and download the free Silverlight Eclipse plugin.  Click here for a step-by-step tutorial that walks-through how to use their Eclipse tools today to build a Silverlight 2 application. 

    We are also announcing today that we are releasing the Silverlight XAML vocabulary and schema under the Open Specification Promise (OSP), which enables anyone to create products that read and write XAML for Silverlight.  You can learn more about this announcement here.

    Learning Silverlight 2

    The best way to learn Silverlight 2 is to visit the www.silverlight.net web-site.  You can find free online tutorials, videos and training available there.  The site also hosts an online forum system where MVPs and Microsoft Silverlight team members will be able to help answer technical questions.  Also make sure to subscribe to the Silverlight Community RSS Feed, Jesse Liberty's Blog, and Tim Heuer's Blog for a daily dose of great Silverlight content.

    I've recently updated my Digg-client tutorial for the final Silverlight 2 release.  This provides an end to end walkthrough of a Silverlight 2 application, and helps explain the different programming concepts behind it (controls, layout management, networking, data-binding, styles, user controls, control templates, etc).  If you are brand new to Silverlight or WPF development I recommend walking through it to understand the basics:

    You can develop Silverlight 2 applications using any version of Visual Studio 2008.  Simply install the Silverlight Tools for Visual Studio 2008 download to get Silverlight tooling support within it.

    If you do not have VS 2008, you can alternatively install the free Visual Web Developer 2008 Express SP1 Edition.  This free tool provides great ASP.NET development tool support, and starting today also now supports Silverlight 2 development.  You can follow all of the steps in my tutorial above using the Visual Web Developer 2008 Express Edition - and get full intellisense, debugging, and deployment support.

    Upgrading from the Beta

    If you have the Beta2 or RC versions of the VS Tools for Silverlight, or the Silverlight 2 Beta SDK or Developer Editions of Silverlight 2, please make sure to uninstall these completely before downloading and installing today's release.

    End users who have Silverlight 1, or Silverlight 2 Beta1 or Beta2 will be automatically upgraded to the final Silverlight 2 release starting later this month.  Until then, if they visit a Silverlight 2 (final release) site, they will see the standard install prompt that a machine that does not have Silverlight installed would see.  Clicking it will upgrade their machines to the final release of Silverlight 2 (there is no need for them to uninstall anything - Silverlight 2 will cleanly install over Silverlight 1 or the previous betas). 

    Because there are some breaking changes between Silverlight 2 Beta2 and the final Silverlight 2 release, end users who have the final Silverlight 2 release installed will not be able to run applications that are still targeting Silverlight Beta2.  Most major Silverlight 2 sites plan to upgrade to the final release in the next 24 hours (which will fix this issue) - if you hit a site built with Beta2 before then you might experience trouble with it.  That should go away within about a day once all sites are updated though (this was one reason why we released the public release candidate last month - to help developers get their sites ready for the final release).

    Summary

    Silverlight 2 is a major release that enables some great new application and media experiences to be built, and allows developers to use .NET within any browser to create them.

    (source scottgu http://weblogs.asp.net/scottgu/archive/2008/10/14/silverlight-2-released.aspx)

    September 18

    New Windows Live Betas

    New Windows Live Betas – Download Wave 3 Now! (Updated With International Goodness)

    With the Windows Live Wave 3 beta due to start today, we thought we’d provide our readers with a small headstart on the rest of the world. Here’s the download links for the new Wave 3 suite of applications, including Messenger v9, Windows Live Movie Maker, Mail with Calendar synchronisation, Writer, Photo Gallery, Family Safety and the Outlook Connector. For the paranoid amongst you, yes the files are hosted on download.microsoft.com.

    http://tinyurl.com/liveside-wlwave3web (only downloads the applications you select)
    image

    http://tinyurl.com/liveside-wlwave3all (downloads all the applications, you can chose which ones to install)
    image

    Enjoy, and stay tuned for our reviews of the Windows Live Wave 3 beta application coming soon. In the meantime you can check out our previous posts tagged Wave 3 regarding the new applications or subscribe to our RSS feed to be alerted to the new posts coming later today.

    Here’s some sample screenshots just to wet the appetite!

    messenger M2mail calendar

    PS: If you have the Writer CTP or any other Wave 3 products installed, you should uninstall them first.

    Read more LiveSide reviews on the new Windows Live betas:

    Wave 3: Windows Live Movie Maker Beta

    Wave 3: Windows Live Mail - Calendar, Calendar, Calendar (and more)

    Wave 3: Windows Live Writer – A First Look

    Wave 3- Windows Live Messenger 9 Beta – What’s New- A Comparison With 8.5

    Wave 3: Windows Live Photo Gallery – New Features

    Update: My Live Writer MVP cohort Stephan Walcher has managed to find the installer links for some of the other languages:

    English
    http://g.live.com/1rebeta3/en/wlsetup-web.exe
    http://g.live.com/1rebeta3/en/wlsetup-all.exe

    Italian
    http://g.live.com/1rebeta3/it/wlsetup-web.exe
    http://g.live.com/1rebeta3/it/wlsetup-all.exe

    German 
    http://g.live.com/1rebeta3/de/wlsetup-web.exe
    http://g.live.com/1rebeta3/de/wlsetup-all.exe

    France
    http://g.live.com/1rebeta3/fr/wlsetup-web.exe
    http://g.live.com/1rebeta3/fr/wlsetup-all.exe

    Spanish
    http://g.live.com/1rebeta3/es/wlsetup-web.exe
    http://g.live.com/1rebeta3/es/wlsetup-all.exe

    Some more from Dwergs at mess.be

    Arabian
    http://g.live.com/1rebeta3/ar/wlsetup-web.exe
    http://g.live.com/1rebeta3/ar/wlsetup-all.exe

    Danish
    http://g.live.com/1rebeta3/da/wlsetup-web.exe
    http://g.live.com/1rebeta3/da/wlsetup-all.exe

    Dutch
    http://g.live.com/1rebeta3/nl/wlsetup-web.exe
    http://g.live.com/1rebeta3/nl/wlsetup-all.exe

    Finnish
    http://g.live.com/1rebeta3/fi/wlsetup-web.exe
    http://g.live.com/1rebeta3/fi/wlsetup-all.exe

    Japanese
    http://g.live.com/1rebeta3/ja/wlsetup-web.exe
    http://g.live.com/1rebeta3/ja/wlsetup-all.exe

    Korean
    http://g.live.com/1rebeta3/ko/wlsetup-web.exe
    http://g.live.com/1rebeta3/ko/wlsetup-all.exe

    Norwegian
    http://g.live.com/1rebeta3/nb/wlsetup-web.exe
    http://g.live.com/1rebeta3/nb/wlsetup-all.exe

    Swedish
    http://g.live.com/1rebeta3/sv/wlsetup-web.exe
    http://g.live.com/1rebeta3/sv/wlsetup-all.exe

    (source : http://www.liveside.net/main/archive/2008/09/16/windows-live-wave-3-betas-download-now.aspx)

    September 16

    Workflow Foundation- Hãy vẽ lên những gì bạn muốn!

    Ngày trước, khi còn là sinh viên năm hai của một trường Đại học trong ngành Công Nghệ Thông Tin, tôi được học môn Phân tích thiết kế sau khi đã hoàn tất các môn lập trình cơ bản. Lần đầu tiên, tôi có cái nhìn như thế nào là một quy trình làm việc: quy trình mua bán hàng, quy trình bệnh nhân đi khám bệnh, quy trình quản lý sách ở thư viện, …tôi vẽ chúng trong giấy của mình những ô vuông tròn để thể hiện cho toàn bộ yêu cầu của bài tóan quy trình. Ngay lúc đó, tôi đã từng ước phải chi máy tính có thể hiểu được những gì tôi vẽ thế này thì khỏe nhỉ! Bởi vì khi bắt tay vào phát triển bằng code, tôi không thể hình dung ra luồng công việc chạy như thế nào một cách dễ dàng với những từ khóa định luồng như: if/else, for/while, .v.v… hay phức tạp hơn là các điều kiện bắt lỗi hay chia nhánh theo một giá trị thay đổi liên tục. Sau này, tôi có nghe từ một giảng viên nói về một bước ngoặc sắp tới của các ngôn ngữ lập trình, chúng ta sẽ chỉ cần có các thiết kế theo chuẩn UML như class diagram, sequence diagram, activities diagram thì đã có thể dịch thành các thành phần chính của một chương trình, ta chỉ cần định nghĩa thêm các hàm xử lý bên trong theo ý mình.
    Khi VISUAL STUDIO 2008 ra mắt, tôi tò mò lẫn thích thú nghiên cứu từng khả năng cũng như những công nghệ mới trong .Net framework3.5. Quá đỗi ngạc nhiên, như gặp một người quen chờ đợi từ rất lâu ngay khi tôi thấy một Workflow trong VISUAL STUDIO 2008 dựa trên Workflow Foundation, rất trực quan, dễ hình dung, tôi nhìn nhận được toàn bộ quy trình một cách tổng quát, và hơn hết là nó chính là những gì tôi đã từng vẽ trên giấy!
    Không chỉ mang đến lợi ích tối đa cho người phát triển như tôi mà Windows Workflow Foundation của .Net Framework 3.5 đã mở ra một khả năng mới cũng như hàng loạt những giải pháp cho các yêu cầu ứng dụng có thiết kế hướng quy trình cho các giải pháp mà khách hàng doanh nghiệp đòi hỏi các phần mềm, web application. Một ví dụ thiết thực và rõ ràng nhất cho khả năng của Workflow chính là sản phẩm đang thu hút sự chú ý của các doanh nghiệp hiện nay và cũng là nền tảng mà tôi đang làm việc, phát triển – Microsoft Office Sharepoint Server 2007. Chính khả năng áp dụng số hóa quy trình doanh nghiệp này đã giúp giảm thiểu, tiết kiệm tối đa tài nguyên, nhân lực đồng thời nâng cao hiệu quả công việc cho các tổ chức ứng dụng nó, bên cạnh đó là việc góp phần chuẩn hóa các quy trình đó thành tối ưu và hợp lý nhất!
    Khái niệm về workflow đã có từ khá lâu, mỗi Workflow chính là tập hợp của các activities.Ví dụ như workflow cho một tiến trình mua bán hàng hóa trên web (mà ta hay gọi là shopping cart) đơn giản nhất thì sẽ là một chuỗi các activities sau:

    Mỗi mũi tên phía trên chính là một activities. Các activities này có thể chứa nhiều thao tác, hoặc chỉ một thao tác đơn giản bên trong và ta có thể xem đó là một activity con. Trên cái nhìn của những người phát triển như tôi, workflows hay activities đều được xem xét và quy về là các đối tượng được định nghĩa từ các lớp. Điều này có nghĩa là chúng ta sẽ có khả năng phát triển hoặc tự tao riêng cho mình những workflows, activities theo ý của mình và cách thực hiện sẽ rất quen thuộc. Kiến trúc vận hành của Workflow Engine đã cho phép người phát triển tạo ra bất kì các Window process nào, từ các chương trình console đơn giản nhất cho đến các ứng dụng chạy trên desktop và các xử lý máy chủ phức tạp.
    Đặc biệt của Workflow Foundation trong Visual Studio 2008, chính là Workflow Designer cung cấp cho người dùng công cụ đồ họa để có thể dễ dàng “vẽ” nên workflow mà mình mong muốn. Không gì đơn giản hơn khi bạn chỉ việc kéo thả các activity của Base Activity Library (BAL) vào, kết nối chúng lại và tạo ra hình ảnh phản ánh thực tế và chính xác những gì mà quy trình chúng ta đang số hóa. Chính khả năng thể hiện xúc tích dễ hiểu này đã nâng quan niệm về lập trình lên một mức cao hơn và hơn nữa là hỗ trợ tối đa cho người phát triển. Càng nắm rõ việc mình làm và làm trong thời gian ngắn nhất chính là 2 yếu tố tiên quyết để nâng cao chất lượng, hiệu quả của công việc.
    Workflow ta có thể chia ra 2 kiểu như sau:

    • Sequential workflows, nếu nhìn lướt qua, hẳn nhiều người từng học lập trình sẽ ngỡ nhu là mình đang được bắt đầu học lại. Đúng vậy, loại này thể hiện quy trình tương tự như việc bạn vẽ ra giấy trước khi bắt tay vào gõ các dòng lệnh, nó sẽ thực thi các activities theo một trình tự được dịch sẵn. Điển hình như các mô hình trình tự (flow chart) cổ điển, một sequential workflow có thể chứa các nhánh, vòng lặp và một số cấu trúc điều khiển. Vì tính chất làm từng việc, xong việc trước rồi mới đến việc sau nên nó mới có tên gọi là sequential workflows
    • State machine workflows, loại này áp dụng phưong pháp chuyển đổi giữa các tình trạng của một đối tượng. Ví dụ activity được thực thi trong một thừoi gian xác định sẽ được quyết định bởi việc phối hợp các tình trạng hiện tại và các sự kiện mà nó nhận được.

    Thông thường sequential workflow sẽ được áp dụng do sự đơn giản khi phát triển, đồng thời là tính thể hiện đơn giản, dễ hình dung và quản lý. Tuy nhiên, theo kinh nghiệm cá nhân của tôi, State machine workflows có thể giúp bạn thể hiện được các workflow phức tạp, tránh trường hợp phân nhánh quá rườm rà, đặc biệt là những trường hợp mà chúng ta không thể đóan trước được bởi vì con người tham gia vào workflow có thể dừng nó vào bất cứ lúc nào. Do đó.việc định hướng bằng sequential workflow là khả thi, nhưng mỗi bước trong đó là một nhánh: thực hiện điều này nếu workflow vẫn được thực thi, và làm điều khác khi workflow bị hủy bỏ. Còn đói với dạng state machine thì mọi chuyện đơn giản bởi vì một yêu cầu hủy chính là một sự kiên mà nó có thể được tiếp nhận và quản lý ngay thời điểm đó.

    Những người làm công việc phát triển phần mềm có thể nhanh chóng và dễ dàng tạo ra các activity cho riêng mình, nhưng để giảm thiểu thời gian và ít mắc lỗi trong quy trình số. WF trong VISUAL STUDIO 2008 đã cũng cấp sẵn các activity sẵn có và thông dụng để đơn giản hóa quá trình “sáng tạo” của người phát triển mà chúng được gọi là Base Activity Library (BAL). Cho dù những người phát triển không dùng hết toàn bộ BAL cho một workflow của mình nhưng đó chính là cách mà Workflow của VISUAL STUDIO 2008 để người phát triển tự do phát huy ý tưởng và gần như không bị các trở ngại khiến họ mau nản chí. Ở đây tôi sẽ trình bày một số Activity mà tôi rất thường dùng khi làm việc:
    • IfElse: thực hiện các activities chứa trong hai hoặc nhiều khả năng dựa trên việc đáp ứng điều kiện đặt ra.
    • While: thực hiện lặp đi lặp lại một hay nhiều activities khi điều kiện còn đúng.
    • Sequence: thực hiện một nhóm các activities trong một thời điểm theo một trình tự cho trước.
    • Parallel: thực hiện hai hay nhiều nhóm các activities song song.
    • Code: thực hiệnn một đọan mã được viết.
    • Listen: đợi chờ một sự kiện đặc biệt xảy ra, sau đó thực thi một hay nhiều các activities khi nhận được sự kiện đó.
    • InvokeWebService: gọi một Web service dùng ASP.NET Web Services.
    • State: thể hiện một trạng thái trong một workflow state machine.

    Đến đây, tôi nghĩ rằng Workflow Foundation trên VISUAL STUDIO 2008 không chỉ là một ngôn ngữ đặc trưng cho việc định nghĩa nên một workflow riêng biệt mà nó còn tăng sự thông dụng và dễ dàng việc tiếp cận. BAL cung cấp một “ngôn ngữ” phát triển, nhưng bất kỳ ai cũng có thể dùng Workflow để thoải mái định ra một thứ cho riêng mình.
    Toàn bộ sức mạng trên của Workflow trên VISUAL STUDIO 2008 được thể hiện trực quan thông qua công cụ thiết kế workflow đồ họa - Workflow Designer. Hãy tự do tạo nên những dòng quy trình giá trị bằng cách kéo thả các activities vào bề mặt giao diện để kết nối chúng lại.

    Tôi thì lúc nào cũng thích tính trực quan và dễ năm bắt bàng giao diện đồ họa như thế này, nhưng có một số bạn bè tôi lại thích những dòng code của họ hơn. Tất nhiên, Workflow Foundation của VS 2008 vẫn cho phép họ thực hiện như thế và thậm chí là hòa lẫn giữa 2 cách đó. Mục đích là để cho hiệu quả của quá trình phát triển luôn ở mức cao nhất, thuận tiện nhất. Hãy trải nghiệm cách tạo workflow bằng Workflow Designer đồng thời viết mã trực tiếp!
    Workflow trên VISUAL STUDIO 2008 quả thật là một thành quả không chỉ nâng cao về mặt công nghệ mà còn là kết quả của sự trải nghiệm thực tế và nhu cầu của người dùng. Quá trình phát triển càng được hỗ trợ, nhanh chóng và dễ dàng bao nhiêu thì chi phí càng giảm bấy nhiêu mà vẫn đảm bảo chất lượng tốt nhất. Tuy vẫn chưa thể thay thế hoàn toàn code C# hay Visual Basic trong ứng dụng, nhưng công nghệ này đã phần nào mở ra một khả năng mới, một ngôn ngữ mới gần gũi với tư duy con người hơn và giảm thiểu lỗi phát sinh từ code. Công nghệ này sẽ không đơn độc một mình mà sức mạnh của nó sẽ được phát huy khi bên cạnh các công nghệ khác của nền tảng .Net hay các nền tảng ứng dụng Microsoft Window .Điển hình là Microsoft Office Sharepoint Server, khi được tích hợp Workflow của .NET Framework 3.0, đã phát huy 100% sức mạnh và hoàn toàn giải quyết được các bài toán quy trình phức tạp và tốn kem trước đây của nhiều doanh nghiệp, tổ chức. Do đó, workflow không chỉ là đối với giới phát triển, đam mê công nghệ như tôi mà ngay cả những người làm việc kinh doanh, văn phòng, chính trị, … đều cho phép chúng tôi “VẼ NÊN NHỮNG GÌ CHÚNG TÔI MUỐN”.

    (nguồn http://heroeshappenhere.com.vn/visualstudio2008/news.aspx?SubID=8&ArticleID=114)

    August 18

    Liveclub Cần Thơ chính thức được thành lập và tổ chức ra mắt

    Ngày 15/08/2008 nhân dịp hội thảo quốc gia về hợp tác CNTT tổ chức tại Cần Thơ, hội tin học Việt Nam, ban chủ nhiệm câu lạc bộ CNTT truyền thông Liveclub ViệtNam đã tổ chức lễ công bố quyết định thành lập và giới thiệu Liveclub Cần Thơ đến đông đảo cộng đồng CNTT và sinh viên TP Cần Thơ. Tại buổi lễ giao lưu sinh viên với CNTT do đaị học Cần Thơ tổ chức với sự tham gia của hơn 1000 sinh viên, và lãnh đạo TP cần thơ, Lãnh đạo bộ Thông tin truyền thông, lãnh đạo trường ĐH Cần Thơ , Ban chủ nhiệm Liveclub Cần Thơ đã chính thức ra mắt, nhân dịp này thay mặt Liveclub Vietnam (ông Lê Thanh Hải và ông Nguyễn Long) đã trình bày bài giới thiệu về mô hình và định hướng hoạt động của Liveclub Vietnam nói chung và Liveclub Cần Thơ nói riêng . Ban Chủ nhiệm Liveclub Cần Thơ gồm 5 người :

    1. TS Phạm Thị Xuân Lộc: Giảng viên ĐHCT

    2. Thạc Sĩ Trần Văn Thiện: Hội Phó  Hội Tin Học Cần Thơ, Giám Đốc Trung tâm Tin học Bưu Điện TP Cần Thơ.

    3. Thạc Sĩ Trương Xuân Việt: Trung tâm Công nghệ Phần mềm Đại học Cần Thơ (CUSC).

    4. Thạc Sĩ Đặng Quốc Việt: Giảng viên ĐHCT

    5. Nguyễn Ngọc Tú: Sinh viên ĐHCT, Microsoft student partner.

    Liveclub Cần Thơ sẽ hoạt động theo định hướng kết nối và sinh viên Cần Thơ và các tỉnh Đồng bằng song Cửu Long với CNTT để không ngừng sang tạo các sản phẩm CNTT ứng dụng phục vụ phát triển kinh tế.

    August 12

    Visual Studio 2008 and .NET Framework 3.5 Service Pack 1

    Visual Studio 2008 and .NET Framework 3.5 Service Pack 1

    The next service pack is finally available.  If you are using .NET 3.5, or want to use any of the new features that we have been talking about being added in this service pack, I’d strongly recommend you upgrade to this.  You can download it here.

    So what are the new features in this, well for a Service Pack, quite a lot.  Check them all out:

    • ASP.NET Dynamic Data, which provides a rich scaffolding framework that enables rapid data driven development without writing code, and a new addition to ASP.NET AJAX that provides support for managing browser history (back button support). For more information, see What’s New in ASP.NET and Web Development.
    • Core improvements to the CLR (common language runtime) that include better layout of .NET Framework native images, opting out of strong-name verification for fully trusted assemblies, improved application startup performance, better generated code that improves end-to-end application execution time, and opting managed code to run in ASLR (Address Space Layout Randomization) mode if supported by the operating system. Additionally, managed applications that are opened from network shares have the same behavior as native applications by running with full trust.
    • Performance improvements to WPF (Windows Presentation Foundation), including a faster startup time and improved performance for Bitmap effects. Additional functionality for WPF includes better support for line of business applications, native splash screen support, DirectX pixel shader support, and the new WebBrowser control.
    • ClickOnce application publishers can decide to opt out of signing and hashing as appropriate for their scenarios, developers can programmatically install ClickOnce applications that display a customized branding, and ClickOnce error dialog boxes support links to application-specific support sites on the Web.
    • The Entity Framework is an evolution of the existing suite of ADO.NET data access technologies. The Entity Framework enables developers to program against relational databases in according to application-specific domain models instead of the underlying database models. For more information, see Getting Started with the Entity Framework. The Entity Framework introduces some additional features, including support for new SQL Server 2008 types, default graph serialization of Entities, and the Entity Data Source. This release of the Entity Framework supports the new date and file stream capabilities in SQL Server 2008. The graph serialization work helps developers who want to build Windows Communication Foundation (WCF) services that model full graphs as data contracts. The Entity Data Source provides a traditional data source experience for ASP.NET Web application builders who want to work with the Entity Framework.
    • LINQ to SQL includes new support for the new date and file stream capabilities in SQL Server 2008.
    • The ADO.NET Data Services Framework consists of a combination of patterns and libraries, which enable data to be exposed as a flexible REST (Representational State Transfer)-based data service that can be consumed by Web clients in a corporate network or across the Internet. The ADO.NET Data Services Framework makes data service creation over any data source. A conceptual view model of the underlying storage schema can easily be exposed through rich integration with the ADO.NET Entity Framework. Services created by using the ADO.NET Data Services Framework, and also compatible Windows Live (dev.live.com) services, can be easily accessed from any platform. For client applications that are running on Microsoft platforms, a set of client libraries are provided to make interaction with data services simple. For example, .NET Framework-based clients can use LINQ to query data services and a simple .NET Framework object layer to update data in the service.
    • Windows Communication Foundation now makes the DataContract Serializer easier to use by providing improved interoperability support, enhancing the debugging experience in partial trust scenarios, and extending syndication protocol support for wider usage in Web 2.0 applications.
    • The .NET Framework Data Provider for SQL Server (SqlClient) adds new support for file stream and sparse column capabilities in SQL Server 2008.

    As for Visual Studio 2008, the Service Pack can be found here.

    The following technologies have been tested and verified to work with SP1:

    • Silverlight 2 SDK Beta 2 & Silverlight Tools Beta 2. (If Silverlight Tools Beta 2 is already installed, you must upgrade it after you install Visual Studio 2008 SP1. To upgrade, use the installer on the Silverlight Tools Beta 2 page on the Microsoft Download Center Web site.)
    • MVC Preview Release #3
    • ASP.NET Extensions/Dynamic Data Preview
    • VC 2008 Feature Pack
    • VB PowerPack Controls (2.0 & 3.0)
    • Expression Studio 2 (RTM)
    • SQL Server 2008
    • .NET Framework 3.5 SDK
    • XSLT Profiler
    • VSTA 2.0 SDK
    • Visual Studio 2008 SDK

    If you encounter issues installing SP1, uninstall technologies and/or development add-ins not listed above, and then try SP1 Setup again.

    (resource http://blogs.msdn.com/tom/default.aspx)

    July 29

    Running membership provider with SQL server 2005

    run aspnet_regsql.exe in

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe

    And it starts the wizard:

    Select Configure SQL Server for application services

    Select the server and database

    Confirm your settings

    Wait a few seconds - and we are done

    Now we can look in SQL Server Enterprise manager to see that there sure are some tables and stored procedures created

    July 28

    ASP.NET MVC Framework Preview 4

    In keeping with its releases of about once a month, Microsoft has released Preview 4 the ASP.NET MVC Framework.  This release promises to start giving developers more higher level features aiding in better productivity.

    Scott Guthrie eluded to the release in a blog post from earlier in the week where he explains some of the new features titled, ASP.NET MVC Preview 4 Release (Part 1).

    What's New

    New Simple Membership Features in the Default Project Template

    An AccountController class in included in the default project template handling user actions for the following:

    • Login
    • Logout
    • Register
    • Change Password

    Considering most applications deal with users and the ability to authenticate them, this addition saves time for developers.   The default settings for the MembershipProvider in this case uses SQL Server Express Edition but can be made to with SQL Server or some existing database.

    New Filter Types for Authorization and Exception Handling

    This release includes two new filter types, authorization and exception filters.  These filters are designed to run before any other action filters, regardless of the scope of other filters. 

    Features that have been added to support these new types:

    • New IAuthorizationFilter and IExceptionFilter interfaces. Authorization filters are guaranteed to run before any action filters. Every exception filter is executed, even if a filter indicates that it has handled the request. This is useful for logging and handling exceptions.
    • AuthorizeAttribute class. This is the default concrete implementation of IAuthorizationFilter. It is used to secure action methods.
    • HandleErrorAttribute class. This is the default concrete implementation of IExceptionFilter. It is used to handle exceptions and to specify a view to render when an exception occurs.
    New Output Cache Filter

    Taking advantage of the existing an robust ASP.NET caching mechanism, the OutPutCacheAttribute is implemented to cache the output of an action method.

    Changes for ASP.NET AJAX

    A couple AJAX helpers were added which use the AjaxOptions class used for asynchronous operations:

    • ActionLink - Renders an anchor tag to an action method. When the link is clicked, the action method is invoked asynchronously. A typical use for this helper takes the response and updates a DOM element by specifying the AjaxOptions.UpdateTargetId property.
    • Form - Renders an HTML form that is submitted asynchronously. A typical use for this helper is to submit a form, and like the ActionLink, take the response and update a DOM element by specifying the AjaxOptions.UpdateTargetId property.

    Scott Hanselman has good examples in an article on his blog demonstrating these features.

    Namespaces in Routes

    Previous versions of the framework had occasional issues with the method which it used to find controller implementations which led to an exception being thrown.  This release fixes those issues by using a DefaultNamespaces property on the ControllerBuilder.   An example of how this is implemented is:

    void Application_Start(object sender, EventArgs e) 
    {
    ControllerBuilder.Current.DefaultNamespaces.Add("MyApp.Controllers");
    ControllerBuilder.Current.DefaultNamespaces.Add("MyApp.Blog.Controllers");
    ControllerBuilder.Current.DefaultNamespaces.Add("ThirdPartyApp.Controllers");

    // ...
    }
    New Interface for Enhanced Testability of TempData

    A new interface, ITempDataProvider has been introduced.  This allows controllers to use different providers other than the SessionStateTempDataProvider, making for improved testability allowing developers to use session cookies instead of session state. 

    ActionInvoker Extensibility Improvements

    Virtual methods have been added which extend the invoker when used in advanced instances.  The new methods include: 

    • GetFiltersForActionMethod - Returns all filters (authorization, action, and exception filters) for the action method.
    • InvokeActionResultWithFilters - Calls ExecuteResult on the ActionResult object that is returned from the action method, along with all the result filters that are applied to the action method.
    • InvokeAuthorizationFilters - Invokes the authorization filters that are applied to the action method.
    • InvokeExceptionFilters - Invokes the exception filters that are applied to the action method.

    The preview is available on CodePlex where it can be downloaded now.  Be sure to review the Readme file that includes details of all the new features also available for download from CodePlex.

    July 21

    IMAGINE CUP 2008 RESULT

    IMAGINE CUP 2008 RESULT

    Banner-blog

    Microsoft công bố kết quả Vòng Chung Kết Cuộc Thi IMAGINECUP 2008

            Ngày 8 tháng 7 năm 2008, Microsoft đã chính thức công bố kết quả Vòng Chung Kết Cuộc Thi IMAGINECUP 2008 tại Musée du Louvre sau một tuần tranh tài hết sức sôi nổi của các đội đại diện hơn 200.000 thí sinh đến từ 100 quốc gia trên Thế Giới. Những Giải Nhất đầu tiên của cuộc thi năm nay đã thuộc về Đội SOAK đến từ Úc trong phần thi Software Design, Đội Trail Blazers (Singapore) - Embedded Development và Đội Mother Gaia Studio của Brazil với phần thi Game Development. Imagine Cup là cuộc thi hàng đầu mang tầm cỡ quốc tế cho các sinh viên công nghệ, tạo cho các bạn sinh viên cơ hội tốt để khơi mở tài năng sáng tạo của mình bằng những giải pháp, công cụ thiết thực cho cuộc sống xã hội ngày nay.

             Vòng Chung Kết Cuộc thi với tổng số 370 thí sinh đến từ 124 đội đại diện cho 61 quốc gia lãnh thổ trên Thế Giới cùng thi tài trong 9 phần thi: Software Design, Embedded Development, Game Development, "Project Hoshimi" (Programming Battle), IT Challenge, Algorithm, Photography, Short Film and Interface Design.

             Ban Giám Khảo đã hết sức khó khăn để chọn lựa ra được những đội thật xuất sắc cho ba giải thương quý giá trong 9 phần thi của vòng Chung Kết IMAGINECUP 2008 như sau:

    Software Design

    • First place: Australia - Team SOAK
      Team Members: David Burela, Dimaz Pramudya, Ed Hooper, Long Zheng
    • Second place: Slovakia - Team Housekeepers
      Team Members: Marián Hönsch, Michal Kompan, Jakub Šimko, Dušan Zeleník
    • Third place: Hungary - Team DigitalMania
      Team Members: Ákos Kapui, Laszló Zöld, Bálint Orosz, Gergely Orosz

    Embedded Development

    • First place: Singapore - Team Trail Blazers
      Team Members: Pinto James Dominic, Shi Ben Yong, Hu Shuhan, Denver Lim
    • Second place: TIE
      Ireland - Team AcidRain
      Team Members: Brian Byrne, Aodhan Coffey, Karl O'Dwyer
      China - Team Wings
      Team Members: Shibiao Xu, Junjie Li, Zhongjie Wang, Lei Yan
    • Third place: Poland - Team Aero@PUT
      Team Members: Piotr Kryger, Mikołaj Małaczyński, Jakub Pawłowski, Piotr Slęzak

    Game Development

    • First place: Brazil - Team Mother Gaia Studio
      Team Members: Guilherme Campos, Helena Van Kampen, Rafael F. Costa, Túlio Sória
    • Second place: Belgium - Team Drunk Puppy Productions
      Team Members: Kenny Deriemaeker, Filip Van Bouwel, Timothy Vanherberghen, Jeroen van Raevels
    • Third place: Korea - Team GOMZ
      Team Members: Kim Dong Hoon, Kim Ki Hwan, Park Min Kyu

    "Project Hoshimi" (Programming Battle)

    • First place: Russia - Team Red Devils
      Team Members: Ilya Grebnov, Sergei Grebnov
    • Second place: China - Team Zephyr
      Team Members: Peng Guo, Jiaze Huang
    • Third place: Ukraine - Team Dream Team
      Team Members: Pavlo Liapota, Margaryta Skrypachova

    IT Challenge

    Algorithm

    Photography

    • First place: United States - Team Provisio
      Team Members: Jennifer Hui, Melissa Hui
    • Second place: Austria - Team Austria
      Team Members: Rosa Maria Binder, Benedikt Wurth
    • Third place: Croatia - Team Voodoo Delirum
      Team Members: Duje Nebojša Pandžić, Martin Štokić

    Short Film

    • First place: Korea - Team NEIP
      Team Members: Il Jin Joung, Seong Ran An, Yeun Jun Choo, Sung Wook Lee
    • Second place: Mexico - Team Lava Lamp
      Team Members: Grace Montoya, Aldo Murillo
    • Third place: Canada - Robotree
      Team Members: Drake Birmann, Ryan Morrison, Media Ridha, Dan Tran

    Interface Design

    • First place: United States - Team IU EcoVis
      Team Member: David Roedl, William Odom
    • Second place: Canada - TeamGreeNet
      Team Members: Jin Fan, Kevin Muise
    • Third place: France - Team Edelweiss
      Team Members: Johanna Rowe, Steven Muhr

    Hơn nữa sáu đội giải nhất sẽ được chọn sẽ có cơ hội khám phá khi các giải pháp công nghệ của các đội sẽ được nghiên cứu và áp dụng vào thực tế. Và các thành viên của đội sẽ được sự huấn luyện về giải pháp kinh doanh và công nghệ từ các doanh nghiệp nổi tiếng trong chương trình Imagine Cup Innovation Accelerator. Và sáu đội được chọn cho chương trình Imagine Cup Innovation Accelerator trong cuộc thi ImagineCup 2008 năm nay là:

    • Australia - Team SOAK (Smart Operational Agricultural toolKit)
      Team members: David Burela, Dimaz Pramudya, Ed Hooper, Long Zheng
    • France - Team Well K'Home
      Team Members: Regis Hanol, Gauthier Chanliau, Sebastien Warin, Jean-Noel Gauthier
    • Germany - Team PoinT-Power in Time
      Team Members: Daniel Franke, Jörn Schindler, Vasilios Filippidis, Axel Ernst
    • Hungary - Team Digital Mania
      Team Members: Ákos Kapui, Laszló Zöld, Bálint Orosz, Gergely Orosz
    • Slovakia - Team Housekeepers
      Team Members: Marián Hönsch, Michal Kompan, Jakub Šimko, Dušan Zeleník
    • South Africa - Team Smile
      Team Members: Devin de Vries, Christopher King, Nabeel Nazeer, Nadeem Isaacs

         Ngoài ra còn có 5 giải thưởng phụ khác được trao cho những đội thật xứng đáng:

    · The Rural Innovation Achievement Award: Indonesia - Indonesia's Antarmuka Team Members: Arief Widhiyasa, Dimas Yusuf Danurwenda, Ella Madanella Dwi Mustika and Erga Ghaniya.

    · The Accessible Technology Achievement Award: France - Team JivAd
    Team Members: Jivane Rajabaly and Adrien Ossorguine

    · The Interoperability Achievement Award: India Team SKAN
    Team Members: Sameet Singh Khajuria, Karun AB, Amith George, Noel Sequeira

    · The Windows Live Achievement Award: Spain Windows Drive
    Team Members: CarlosJunquera Cachero, David Rodriguez, Héctor Juan and Miguel Llopis.

    · The Engineering Excellence Achievement Award

    Untitled

          Và cũng trong khuông khổ chương trình IMAGINECUP 2008, Ban Tổ Chức cuộc thi đã công bố những thông tin về cuộc thi IMAGINECUP 2009 được tổ chức tại Cairo and Alexandria, Ai Cập. Chủ đề của IMAGINECUP 2009 năm sau cũng được BTC công bố, “"Imagine a world where technology helps solve the toughest problems facing us today." Đây là một dịp rất hay để sinh viên có thể được thử thách bản thân, được tiếp cận công nghệ và ứng dụng một cách nhanh và cụ thể nhất, là một sân chơi ý tưởng mà chỉ có thắng mà không có thua. YOU WIN, WE ALL WIN!!! Các bạn sinh viên nào chưa tham gia hãy tham gia thử xem! Imagine Cup 2009 với chủ để dùng công nghệ để giải quyết các vấn đề về Xã Hội đang chờ các bạn. Để biết thêm thông tin về cuộc thi các bạn có thể truy cập vào website www.imaginecup.com nhé !

    July 06

    Hướng dẫn sơ lược về torrent

    Torrent là gì?
    Torrent là một mạng lưới P2P(peer to peer = ngang hàng, tức là nhiều người cùng kết nối trực tiếp với nhau để chia sẻ file). Chuyên được dùng để trao đổi nhưng dữ liệu như Movie, Games, Software, Anime,... và một số File có dung lượng lớn!
    Trái tim của Torrent chính là một Tracker, một mạng chủ theo dõi quá trình Down + Up của bạn! Tracker sẽ lấy số IP của bạn và gửi cho những máy khác để họ có thể Download được File, và ngượi lại bạn cũng nhận được thông tin IP của máy khác để bạn có thể load File về!!!
    Trong khi Download bạn sẽ kết nối với cái Tracker và nhận được IPs của Seeder (những máy cung cấp Files) và load file đó về máy!!! Để giúp cho kết nối mạng tồn tại và đảm bảo được tốc độ Download bạn sẽ tự động trở thành một Seeder và chuyển dữ liệu bạn nhận được cho người khác !!!
    Trước hết chúng ta làm quen với một số thuật ngữ trong Bittorrent:
    Tracker: Là máy chủ điều khiển mọi hoạt động của những người dùng tham gia kết nối. Tracker sẽ cung cấp mọi thông tin cần thiết đến người sử dụng như IP của những người cùng kết nối, dung lượng bạn đã download(tải về) hoặc upload(tải lên), thời gian chờ...
    Peer,Seed: là tên gọi của những máy mà bạn kết nối và thực hiện mọi chia sẻ file trên đó. Peer thông thường không có 1 file nguyên vẹn mà nó chỉ có những phần rời rạc của file, nếu có đầy đủ thì peer sẽ trở thành seed. Nói như vậy hơi khó hình dung nhưng bạn hãy hình dung khi muốn tải về một cuốn sách 1000 trang. Peer là những máy chỉ có 1 số trang sách, có thể peer1 có từ trang 1-->100 , peer2 có từ trang 101-->200... còn seed là những máy đã có đủ 1000 trang sách
    Swarm: tổng số peer và seed tham gia chia sẻ 1 file nhất định.
    Bạn muốn download được thì bạn phải cài chương trình download chuyên dụng.
    1 số chương trình torrent phổ biến:
    Azureus:
    http://azureus.sourceforge.net/
    Bitcomet
    http://www.bitcomet.com/doc/download.htm
    hiện nay hot nhất là :
    µTorrent http://www.utorrent.com/ : với dung lượng nhỏ , mà chất lương cao .



    Cách mở port ( tăng tốc dộ down load ):
    Mở µTorrent lên vào Option ->Speed Guide :

    -Test speed (có thể vào http://www.speedtest.net/ để test) rùi chỉnh Connection Type (tùy đường truyền tốc độ của bạn ).
    - Current port : port cần mở . Bạn có thể gán bao nhieu cũng ok ( nhưng trừ mấy port đặc biệt ) .
    Rùi bạn vào phần cấu hình của modem . Vào mục Port Forwarding . Tùy vào modem mà mục này hơi khác nhau 1 tí bạn có thể tham khảo tại đây cho modem của bạn
    http://portforward.com
    hay http://www.vnnic.vn/dyndns/caidat_adsl.htm ( tiếng việt )
    sau khi làm bạn nhấn vào Test if port forrwarded properly
    nếu thấy

    Trích dẫn:

    Welcome to the µTorrent Port Checker.
    A test will be performed on your computer to check if the specified port is opened.
    Checking port 31154 on 125.234.184.2...
    OK! Port 31154 is open and accepting connections.

    là xong . Ở đây TMK mở cổng 31154


    1 số chú ý khi tải torrent:
    1. nếu bạn là thuê bao theo MB thì đừng nên dùng cái này vì bạn sẽ ngất di khi nhận bảng báo phí hàng tháng . Vì torrent là p2p tức là bạn down bao nhiêu bạn phải upload lại bấy nhiêu. Trung bình tải 1 phim 700 MB thì bạn phải upload 500 MB tùy phim hot hay ko có . TMK từng tải 1 phim co 700 MB mà phải up len tới 1 ,5 GB.
    2. Lựa cái torrent nào nhiều speed càng tốt . ít nhất cũng phải là trên 10 . với public Tracker thì với 20 speed down 1 phim 700 MB thừơng mất 5-6 tiếng . với private tracker thì dù có 1 speed nhưng down nhanh hơn 30 speed. Tất nhiên bạn cũng phải trả giá là 1 số bạn phải trả tiền. Không thì nó cũng bắt bạn upload .
    3. kiên trì : Lúc mới down tốc độ rất chậm có khi chỉ là 2 -3 kb nhưng từ từ sẽ nhanh dần lên.
    (tổng hợp từ nhiều nguồn)

    1 số trang cung cấp torrent :

    http://asiandvdclub.org/ : đăng ký free , toàn hàng asian có cả Vietnam nữa đó (có mấy bộ hài hoài linh) . 1 cái dở là nó toàn up nguyên DVD (4.5 GB ) ko à nên down hơi mệt. chỉ cần upload để duy trì radio . không có tiền
    www.demonoid.com : phải có invite . Đôi khi nó có mở đăng ký tự do. Duy trì radio bằng 2 dạng là trả tiên để down hay là upload .

    http://www.mininova.org/
    http://torrentspy.com/

    của Việt Nam:

    http://bitvn.net

    http://www.bittat.com

    June 02

    Using Syndication Classes to Read RSS Feeds

    Introduction

    RSS and ATOM feeds dominate the syndication systems today. If you run a web site you probably use RSS and ATOM for two purposes:

    • Expose your site content for syndication using these formats
    • Consume content exposed by other web sites and aggregate it on your web site

    Whatever be the case until recently developers either coded their custom solution or made use of some third party component. Luckily .NET framework 3.5 introduced a set of classes that can simplify your job. This article explains how.

    The Syndication Classes

    The syndication classes of .NET 3.5 reside in System.ServiceModel.Syndication namespace. The System.ServiceModel.Syndication is physically contained in System.ServiceModel.Web assembly and you need to refer it before proceeding any further.

    The System.ServiceModel.Syndication namespaces supplies the following main classes related to syndication:

    • SyndicationFeed
    • SyndicationItem
    • SyndicationContent
    • SyndicationLink
    • SyndicationPerson
    • SyndicationCategory

    The SyndicationFeed class represents the entire feed from a particular URL. A feed typically consists of one or more items. Each feed item is represented by SyndicationItem class. Feed as well as feed items expose details such as description. These details are represented by SyndicationContent class. The links from a feed are represented by SyndicationLink class and authors and contributors by SyndicationPerson class. Finally, the items of a feed can be grouped using SyndicationCategory class.

    The classes mentioned above are independent of feed format (RSS or ATOM). The format specific classes render or read feeds in a specific format. These classes are:

    • Rss20FeedFormatter
    • Rss20ItemFormatter
    • Atom10FeedFormatter
    • Atom10ItemFormatter

    The first two classes above deal with RSS feeds and the later two classes deal with ATOM feeds respectively.

    Reading RSS feeds

    Now that you have some understanding of syndication classes let's develop a simple web form that reads an RSS feed. The web form after development looks as shown below:

    It reads RSS feeds from a web site in this example and displays the feed items in a DataList.

    Begin by creating a new web site in Visual Studio. Drag and drop two Label controls at the top of the default web form for displaying title of the RSS feed and copyright message as it appears in the feed. Also place a DataList for displaying the feed items.

    The ItemTemplate of the DataList consists of a HyperLink control and two Label controls. The markup for this template is shown below:

    <ItemTemplate>
    <asp:HyperLink ID="HyperLink1" runat="server" 
    Text='<%# Eval("Title.Text") %>' 
    Font-Bold="True" 
    NavigateUrl='<%# Eval("Links[0].Uri.AbsoluteUri") %>'>
    </asp:HyperLink>
    <br />
    <asp:Label ID="Label1" runat="server" 
    Text='<%# Eval("Summary.Text") %>'>
    </asp:Label>
    <br />
    <asp:Label ID="Label2" runat="server" Font-Bold="True" 
    Text='<%# Eval("PublishDate.DateTime","Published On :{0}") %>'>
    </asp:Label>
    </ItemTemplate>

    Notice the markup shown in bold letters. The DataList will be bound with a collection of SyndicationItem objects. Recollect that the SyndicationItem class represents a feed item from a feed. The Title property of SyndicationItem class is of type SyndicationContent. The Text property of SyndicationContent class returns the text representation of the content. The Links property of SyndicationItem class is a collection SyndicationLink instances. Each instance represents a link from the feed item. We used 0th element of the Links collection. The Uri property of the SyndicationLink class represents a URI (URL in most of the cases) and we use its absolute URI address. The Summary property of the SyndicationItem represents summary of a feed item. Similarly, PublishDate property represents date of publication of an item. Note that PublishDate property is of type DateTimeOffset and to display the actual date and time we use its DateTime property.

    Before you write any code make sure that you have added a reference to System.ServiceModel.Web assembly and have imported System.Xml and System.ServiceModel.Syndication namespaces.

    using System.Xml;
    using System.ServiceModel.Syndication;

    Now write the following code in the Load event of the web form.

    XmlReader reader = XmlReader.Create
    ("http://localhost/MyWebSite/rssfeed.aspx");
    Rss20FeedFormatter formatter = 
    new Rss20FeedFormatter();
    formatter.ReadFrom(reader);
    reader.Close();
    Label3.Text = formatter.Feed.Title.Text;
    Label5.Text = formatter.Feed.Copyright.Text;
    DataList1.DataSource = 
    formatter.Feed.Items.Single().lin;
    DataList1.DataBind();

    Here, we created an instance of XmlReader class that reads XML data from a specified URL. Replace the above URL with appropriate URL at your end. Then we instantiate Rss20FeedFormatter class. The ReadFrom() method of Rss20FeedFormatter class accepts an XmlReader and reads the XML data. The underlying XmlReader is then closed. The Feed property of Rss20FeedFormatter class is of type SyndicationFeed and represents the feed being read. The Title and Copyright properties of SyndicationFeed class return title and copyright mesage of the current feed respectively. The Items property of the SyndicationFeed class returns a collection of SyndicationItem objects representing feed items. This collection acts as a DataSource to the DataList.

    That's it! If you run the web form you should see something similar to the figure above.

    The syndication features of .NET framework are not limited to reading existing feeds. They also allow you to expose your site content as an RSS or ATOM feed. The next article will explain how.

    (source Bipin Joshi)

    June 01

    MVC Preview 3 Released

    Scott Guthrie just announced that ASP.NET MVC Preview Release 3 has been released to the public. Here is a summary of the changes at a high level:

  • Controller Action Method Changes
  • Improved HTML Helper Methods
  • URL Routing Improvements
  • Richer URL Route Mapping Features

    For complete details see ScottGu’s post about this release.

    CodePlex Source Code

    Its also worth noting that the MVC patterns source code is made available on CodePlex in case you are really feeling adventures.

  • May 23

    Chuyến đi Hà Nội (4)- Vòng vòng Hà Nội

    Vòng bên Hồ Gươm rất đẹp

     DSC07535

     DSC07556  DSC07558DSC07559 DSC07560

     DSC07586 DSC07591 DSC07592 DSC07605

    Ăn nữa nà

    DSC07619  DSC07622 DSC07623 DSC07624