Showing posts from 2007

F# - A Functional Programming Language - The Future

Great news from the grant Microsoft
Language features such as lambda expressions in C# and generics in .NET 2.0 have roots in functional languages, and LINQ is directly based on functional programming techniques. Through LINQ and Parallel FX, ideas from functional languages are helping us address some of the biggest challenges facing the industry today, from the impedance mismatch between data and objects to the challenges of the multi-core and parallel computing space.

From Wiki

Play new style (functional Java) with Java

Microsoft to push functional programming into the mainstream with F#By Ryan Paul | Published: October 23, 2007 - 08:26AM CT Microsoft has announced that support for the F# functional programming language will be fully integrated into Visual Studio. This marks a bold new commitment to facilitating functional programming on the .NET platform and could potentially help legitimize functional programming in enterprise environments. Microsoft's…

PostgreSQL vs MySQL: Which is better

Web 2.0

Report và là 1 trong những bài post đầu tiên về Web 2.0.
What Is Web 2.0 ?
2. Agenda
3. Web 2.0
4. Read-Write Web
5. Other Web 2.0 influences
6. Web 2.0 by Tim O'Reilly
7. Web 2.0 Principles
8. Core Competencies of Web 2.0 Companies
9. Web 2.0 Design Patterns
10. Six (or so) Quick Examples

Web 2.0“What is Web 2.0?” is a common question these days. Web 2.0 is certainly a buzz word that has been “bouncing around the blogosphere” since late 2004.Tim O'Reilly attempts the following “compact” definition:Web 2.0 is the network as platform, spanning all connected devices; Web 2.0 applications are those that make the most of the intrinsic advantages of that platform: delivering software as a continually-updated service that gets better the more people use it, consuming and remixing data from multiple sources, including individual users, while providing their own data and services in a form that allows remixing by others, creating network effects through an "architecture of particip…

I.B.M. to Offer Office Software Free in Challenge to Microsoft’s Line

I.B.M. plans to mount its most ambitious challenge in years to Microsoft’s dominance of personal computer software, by offering free programs for word processing, spreadsheets and presentations.Skip to next paragraphI.B.M. Steven A. Mills, senior vice president of I.B.M.’s software group, said the programs promote an open-source document format. The company is announcing the desktop software, called I.B.M. Lotus Symphony, at an event today in New York. The programs will be available as free downloads from the I.B.M. Web site.I.B.M.’s Lotus-branded proprietary programs already compete with Microsoft products for e-mail, messaging and work group collaboration. But the Symphony software is a free alternative to Microsoft’s mainstay Office programs — Word, Excel and PowerPoint. The Office business is huge and lucrative for Microsoft, second only to its Windows operating system as a profit maker.In the 1990s, I.B.M. failed in an e…

SAP Unveils Web Software, New Business Model

NEW YORK (Reuters) - SAP AG unveiled a long-awaited line of Web-delivered software on Wednesday that will radically change the company's business model and may shake up the Internet software arena.Called Business ByDesign, the software is initially a one-size-fits-all, subscription-based package aimed at mid-sized companies and is a crucial plank in SAP's strategy to more than double its customer base to 100,000 by 2010."It's not just a new product for us," Chief Executive Henning Kagermann told journalists and analysts at a company event in New York. "It's a new era for SAP."SAP, the market leader in complex suites of software for large enterprises, is the first major software maker to enter the market for so-called software as a service delivered over the Internet.It said it will have invested up to 400 million euros ($559 million) in marketing and ramping up Business ByDesign by the end of next year. One-fifth of the company's 12…

Haskell - A new perspective

after nearly a week , I have studied Haskell.
Peter, gave me a lot of work, some notes, things to do , to think about
Now it's time to review what I have learned
I spend 1 week on reading all notes in 4 week. Not big deal. OK
Some important concepts
module Sample
square :: Int -> Int
square x = x*x
Free Stanford Webinar
Long-Range Design - A Proven Paradigm for Radical Innovation
Dr. William Cockayne

Learn the new tools (e.g. critical foresight, anticipatory research design thinking) that are empowering organizations to improve the quality and speed of their research and design innovation programs. Date: August 30, 2007
Time: 10:00 am, PDTView the recorded webinar

Please Attention,my friend

Hơi phức tạp 1 tí nhưng đại loại là như sau:

Tuần sau T đi interview để làm tình nguyên viên trong dự án Disability E-library,
xem website
Mới tối qua trước khi hẹn với bạn T có nhận được tin

T định đi nghe seminar này xong sẽ qua đón bạn này, nhưng nhận thấy cái này cũng hữu ích đối với bạn nên T mời bạn đi chung, nếu bạn quan tâm Ngày mai 1/9/2007 T sẽ chờ trước cổng nhà bạn lúc 13.30.
Nếu bận gì đó hay không muốn đi, không sao cả. T thấy hay nên giới thiệu thui, T không bít bạn có thích đi hay không nữa.

Trong trường hợp không đi được thì khoảng 6.00 PM T sẽ qua đón và đứng chờ trước nhà bạn lần 2, để rủ bạn đi uống nước ở Tomato như đã hứa.
Tại lâu quá không gặp thui ( nửa tháng) và hôm đó T chưa lên thử lầu 1. và cuốn đưa bạn cuốn sách Handbook of Commercial Correspondence.

Cuốn này T thấy hay và có thể bạn cần nó hơn T, T định cho bạn mượn, không biết bạn có quan tâm không.

Nên đi 1 xe cho tiện.

Trong trường …

Where is the future of JAVA

I am a fan of Java, ya, I love Ruby, she love coffee, but the symbol of Java is a cup of coffee , and I love Java.
It calls a transitive rule in Maths,
Java is security, scalability, infrastructure, multi platform, and opening thinking in the closed world.

And wonder where we go, the future of Java. It's a programming language, it's my job.
as a programmer, I wanna work as fast as possible, finish a project, take the free time for my friend.
The future of Internet, what drive the market, the demand for IT industry is consumer, the end user. Not me, a programmer, designer, developer.

I see that many many things to learn, I mean techs used in developing a software today, ya, learning curve is tedious. Studying, studying to live, not just a some bad guys like black hacker, just eat and hack.

Friend, family. my job. Social network. the new motivation, connect you and me.
Uhm, reading CEO of Sun micro system . I see it, how about you ?

The Rise of JAVA - The Retirement of SUNW …
August 29th, 2007 Sun’s Jonathan Schwartz: Consumers, not IT, driving marketsPosted by Dan Farber @ 12:41 pmCategories: IT Management, Datacenter, Sun, Enterprise 2.0Tags: Phone, Information Technology, Java, Sun Microsystems Inc., Jonathan Schwartz, Dan Farber+00 votesWorthwhile? Sun is holding an Emerging Markets Summit on its Menlo Park, CA campus. CEO Jonathan Schwartz led off the event with this statement: “The Internet is the most powerful social utility the world has ever seen.”The “social utility” phrase is part of Sun’s new view of the market, which Schwartz said will be defined by the consuming public rather than traditional IT decision makers.“A gravitational shift in influence is underway, from enterprises to consumers,” he explained. “It is an epoch shift that we are trying to amplify and leverage in our business.” It’s also a shift to emerging markets, which over the next few decades will be larger than the existing established marketSun’s goal is to provide the “techn…

Self-study JSP

coming soon

MVC - What is behind ? The core of Design Pattern?

Một trong những Pattern gần nhất với MVC là Observer Pattern
xem qua VD sau:

import java.util.Observable;
import java.util.Observer;

public class Main {
public static void main(String[] args) {
DoituongDuocQuanSat obj =
new DoituongDuocQuanSat("Observable obj 1"); // Create observable obj

Observer[] nhomQuanSat = {
new Person("Observer 1",
"So 1 bao cao, obj 1 da hanh dong"),
new Person("Observer 2",
"So 2 bao cao, obj 1 da hanh dong"),
new Person("Observer 3",
"So 3 bao cao, obj 1 da hanh dong"),
new Person("Observer 4",
"So 4 bao cao, obj 1 da hanh dong"),
new Person("Observer 5",
"So 5 bao cao, obj 1 da hanh dong") };

// Add the observers

Tomcat - config web server problems

Eclipse J2EE vs Tomcat standalone services
Eclipse is a great tool, IDE and powerful stuff. Today I use it for my mobile App project. Some stress server config problems take me 2 hours. Nervously, we use utitlity server in Eclipse, not choice to stop service in Tomcat process, it says port already bind when run jsp page @ Eclipse.
netstat is useful tool in Windows to find out which port in use, but it don't a solution. Shortly, it can run Tomcat service and Eclipse server manager at the same time.
I have found something usefully when config Eclipse Calisto EE:
Help Support well, better than Google in some case.Write JSP in Eclipse is cool, well-designed.Preferences and right-clicked at right thing is all you need to config.IIS vs Tomcat:
IIS service run at the same time with Tomcat service, the nightmare with me, localhost will only see IIS, and then you must goto Admin tool->services-> disable IIS service, restart Tomcat , then everything OK.

J2EE vs .NET

Hồi còn học năm 1, trong 1 lần đi nghe public siminar về .NET ở Open IT Club. Vì là "lính mới" trong ngành vì thế nghe chả hiểu gì cả. Lúc đó tui chỉ mới hoc môn Cơ sở lập trình (Basic Principles for Programming). Khái niệm platform là "cái quái gì", only ông lecturer hiểu và 1 số student năm cuối, + my teachers . Chỉ hiểu sơ là nó có thể viết bằng nhiều ngôn ngữ và có thể compile ra cùng 1 app.
Philosophies in Architecture are too abstract.

Khi lên năm 3, hè trước đó tôi đã tự train mình .NET tech, I chose easy to learn. OO lúc đó chỉ hiểu qua C++.
Và tôi bắt đầu quen với Java từ first semester in third year. J2ME ở HK2 khi bắt đầu project về Mobile Apps và bây giờ lúc mọi người nghỉ hè, I continue attacking J2EE. Đó 1 câu chuyện dài.

Và tôi bắt đầu đặt câu hỏi: choose J2EE or .NET.
Thứ đầu tiên tôi làm là goggling with keywords: "J2EE vs .NET".

Từ góc nhìn là một nhà thiết kế.NET vs. J2EE (Java EE) - Architectural Philosophy
J2EE vs. .NET - Framework C…