Feed aggregator

Hãy yêu nhau đi

Đáng để đọc - Tue, 03/09/2010 - 16:37
Vì sao có lời nói dân ta là “vô cảm” khi làm ngơ không dám can thiệp vào những chuyện bất công ở ngoài đường?(author unknown)11415274032816398248

Việt Nam tham nhũng thứ ba châu Á?

Đáng để đọc - Mon, 03/08/2010 - 21:43
Tổ chức Tư vấn Rủi ro Chính trị-Kinh tế (PERC), trụ sở tại Hong Kong, đặt Việt Nam vào vị trí thứ ba trong danh sách các nước tham nhũng nhất châu Á-Thái Bình Dương.(author unknown)

CodeOrgan plays your website's tune, and it sounds better than you'd expect

Đáng để đọc - Wed, 02/24/2010 - 09:49
Shared by Andy
What does your website sound like? Cool cool :-)

Filed under: , ,

What does your website sound like? Now there's a new way to find out. I'm not talking about GeoCities-style autoplaying midis, here, I'm talking about CodeOrgan. CodeOrgan is a new web-based toy that turns the source code of your page into a synthesized jam. I expected it to do grievous damage to my ears, but CodeOrgan actually generates fairly listenable results.

The new theme song for DownloadSquad.com, for example, is a perfectly respectable bunch of bleeps and bloops that would probably have Lil Jon raising a chalice full of crunk juice. Microsoft.com is only about 3 seconds long, and sounds like a Windows startup sound with drums. TechCrunch.com sounds like a jam from some kind luau at the TechCrunch private island (no, Arrington doesn't really own an island. Yet.)

CodeOrgan is kind of like a horoscope: you can try to relate the music to the website it's based on, the way I just did, but there's really no connection. It's just about the site's 1s and 0s. Try out a few sites and let us know what you thought they sounded like in the comments.
Share StumbleUpon.com

CodeOrgan plays your website's tune, and it sounds better than you'd expect originally appeared on Download Squad on Mon, 22 Feb 2010 17:01:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

Add to digg Add to del.icio.us Add to Google Add to StumbleUpon Add to Facebook Add to Reddit Add to Technorati

Download Squad - Lil Jon - Website - Source code - Microsoft What does your website sound like? Cool cool :-)

jQuery 1.4.2 Released

Đáng để đọc - Sat, 02/20/2010 - 04:09

jQuery 1.4.2 is now out! This is the second minor release on top of jQuery 1.4, fixing some outstanding bugs from the 1.4 release and landing some nice improvements.

I would like to thank the following people that provided patches for this release: Ben Alman, Justin Meyer, Neeraj Singh, and Noah Sloan.

Downloading

As usual, we provide two copies of jQuery, one minified (we now use the Google Closure Compiler as the default minifier) and one uncompressed (for debugging or reading).

You can feel free to include the above URLs directly into your site and you will get the full performance benefits of a quickly-loading jQuery.

Additionally you can also load the URLs directly from either Google or Microsoft’s CDNs:

New Features

A full list of the API changes can be found in the 1.4.2 category on the jQuery API site.

In this release we’ve added two new methods: .delegate() and .undelegate(). These methods serve as complements to the existing .live() and .die() methods in jQuery. They simplify the process of watching for specific events from a certain root within the document.

For example:

$("table").delegate("td", "hover", function(){ $(this).toggleClass("hover"); });

This is equivalent to the following code written using .live():

$("table").each(function(){ $("td", this).live("hover", function(){ $(this).toggleClass("hover"); }); });

Additionally, .live() is roughly equivalent to the following .delegate() code.

$(document).delegate("td", "hover", function(){ $(this).toggleClass("hover"); }); What’s Changed?

There has been some large code rewrites within this release, both for performance and for fixing long-standing issues.

Performance Improvements

As is the case with virtually every release of jQuery: We’ve worked hard to continue to improve the performance of the code base, making sure that you’re provided with the best performing JavaScript code possible.

According to the numbers presented by the Taskspeed benchmark we’ve improved the performance of jQuery about 2x compared to jQuery 1.4.1 and about 3x compared to jQuery 1.3.2.

jQuery Taskspeed Results (Feb 14, 2010)

Specifically we’ve improved the performance of 4 areas within jQuery:

While comprehensive benchmarks like Taskspeed can be interesting if deconstructed into individual sub-tests for further study, as a project we tend to stay away from using them as an accurate measure of true, overall, library performance. Considering how many aspects make up a library, not to mention the different techniques that they offer, cumulative results rarely reflect how an actual user may use a library.

For example, we saw significant overall performance speed-ups in Taskspeed simply by optimizing the $("body") selector because it’s called hundreds of times within the tests. Additionally we saw large gains by optimizing .bind() and .unbind() by a fraction of a millisecond – an inconsequential amount – especially considering that any cases where you would bind hundreds of events you would likely want to use .live() or .delegate() instead.

We’ve collected some results from the other major libraries as well but are less interested in those results and far more interested in the performance improvements that we’ve made relative to older versions of jQuery itself.

We will continue to work on optimizing the jQuery code base – indefinitely. It’s always a major concern for us to try and provide the fastest JavaScript/DOM-development experience possible. And yes, there will likely always be ways to gain additional performance – either through internal optimizations or by pushing critical functionality off into browser-land for standardization.

Event Rewrite

The largest internal changes have come through a much-needed structural rewrite of the events module. Many quirky issues related to event binding have been resolved with these fixes.

Namely event handlers are no longer stored as object properties in jQuery’s internal object store (with metadata attached to the handlers). Instead they’re now stored within an internal array of objects.

If you’ve ever had the opportunity to play around with .data("events") on a jQuery element you would find that it returns an object with all the event types currently bound, within it.

To enumerate some of the changes that have occurred during this rewrite:

  • It’s now possible to bind identical handlers with different data, namespaces, and event types universally.
  • Execution of event handlers will continue after one handler removes itself (or its sibling handlers).
  • We no longer attach data/namespace information directly to the event handlers (only a unique tracking ID).
  • We no longer use proxy functions, internally, to try and encapsulate handlers.
  • Execution order of events is now guaranteed in all browsers. Google Chrome had a long-standing error in their object-looping logic that has been routed around.

As a side-effect of these changes we had to change the newly-exposed special add/special remove APIs in order to accommodate the new event data objects. Ben Alman is in the process of writing up a large tutorial on jQuery’s special event system and we will be making additional announcements when that occurs.

Bug Fixes

There were a total of 40 tickets closed in this minor release. Some relating to differences between jQuery 1.3.2 and jQuery 1.4.x, some fixing long-standing issues (like in the case of the event module rewrite).

Raw Data

This is the raw data that we collected to generate the aforementioned charts.

jQuery 1.3.2 jQuery 1.4.1 jQuery 1.4.2 Prototype 1.6.1 MooTools 1.2.4 Dojo 1.4.1 YUI 3.0.0 FF 3.5 2182 806 565 2156 1073 575 1885 FF 3.6 1352 677 519 2067 857 750 1494 Opera 983 697 222 793 678 218 1201 Safari 610 435 252 315 235 238 612 Chrome 1591 703 293 271 312 222 745 IE 8 2470 1937 1141 3045 4749 1420 2922 IE 7 4468 3470 1705 9863 10034 1737 5830 IE 6 6517 4468 2110 13499 11453 2202 7295

Các thông báo lỗi 404 vui mắt và sáng tạo nhất

Đáng để đọc - Thu, 02/18/2010 - 00:01
Thay vì dòng chữ đơn điệu, vô cảm cho biết không tìm thấy tài liệu trên máy chủ, nhiều người đã sáng tác ra những biểu báo 404 Error hài hước và ngộ nghĩnh.(author unknown)11415274032816398248

TYPO3's first Google Summer of Code

Đáng để đọc - Wed, 02/10/2010 - 01:49
TYPO3 mentor Ingo Renner and Google Summer of Code Program Manager Leslie Hawthorn
Photo by Olivier Dobberkau

TYPO3 is an enterprise class Content Management System with a 10 year history, originating in Denmark and enjoying popularity in Europe and gaining ground in Asia, Africa, and the Americas. In March 2009, the TYPO3 community was amazed when our project was accepted into Google Summer of Code™ – TYPO3's first time ever participating in the program. For our first Google Summer of Code, TYPO3 got four student slots assigned. On the one hand this number was very good for a first time mentoring organization but on the other hand it was hard to pick only four students from a lot of promising applications. So as to not show bias between the two major branches, two students were assigned to each development team. We wanted to treat the TYPO3 community and newcomers equally as well so two students were chosen from within the community and two students were newcomers to the project.

Here is an overview of our students' Google Summer of Code projects:

Translation Server

Student: Andriy Kushnarov, Mentor: Ingo Renner

The first project was centered around providing a better infrastructure for translators. TYPO3's backend interface is available in 49 languages but the existing translation server had some limitations which this project aimed to resolve. First up, the most severe limitation was that people wanting to contribute to the translation of the user interface strings would need to obtain a backend login to the translation server, and information on how to do that and the fact that a translation server exists was quite hidden. Other limitations affected the translation process itself by not allowing multiple suggestions for translations or targeting different versions of the CMS where labels might have changed.

Andriy was given the task of revamping the translation server to be open to everyone without needing any additional user account besides the existing typo3.org account. The new translation server should allow everyone to make suggestions for translations and vote for existing suggestions so that chief translators would simply have to accept a well voted suggestion. Technically the translation server was supposed to be based on Extbase to be future proof. This however also resulted in being a challenge because Extbase itself was constantly changing because it was still in development itself. In the end the new translation server is not ready yet but the TYPO3 community learned a lot in terms of what we need to look for when finishing this project. It's a great start but there's still some way to go before the existing translation server can be replaced. Andriy and other TYPO3 community members have already signaled that they're going to keep contributing towards that goal.

Extbase Kickstarter

Student: Ingmar Schlecht, Mentor: Jochen Rau

The second TYPO3 4.x project was about creating a new kickstarter. As with the translation server, a predecessor already existed but something new was needed. In this case it was not because the existing solution was bad, but because the new kickstarter needed to complement the new Extbase MVC framework instead of the aging plugin base classes.

As with the old kickstarter, the aim was to create an extension that itself would allow to create new extensions by selecting and configuring extension components through a graphical user interface in TYPO3 itself. In the end the kickstarter will allow generation of Extbase extensions with frontend plugins, backend modules, database tables with their according models, and services.

The user interface is based on the Yahoo UI WireIt library, which enables domain modeling in a nice interface with boxes representing models and their properties and wires representing the relations between those model objects. The code generating part is completely based on Extbase itself, which means that the code generated actually comes out of Fluid templates, which can easily be adopted for future Extbase versions for example.

Generally, the project is about 70% done towards a first fully working version (yet with a reduced feature set compared to the old kickstarter). In the mean time, a number of people have shown interest in helping to further develop the Extbase kickstarter, and have already joined the project, with some of them even having done first commits already.

Improved FLOW3 Security Framework

Student: Andreas Förthner, Mentor: Robert Lemke

This is the first of two TYPO3 5.0 / FLOW3 projects. Andreas had already worked on FLOW3's security framework before as the main developer which was why he was chosen to carry on this task during the summer. Meanwhile he also got elected as co-leader of the TYPO3 security team.

To make the security framework usable in real life applications various functionalities are required. For example many authentication mechanisms need to be provided to integrate FLOW3 applications flawlessly with existing infrastructures. A general goal is to provide a transparent security framework, which supports the developer as much as possible in writing secure web applications without needing to be security specialist.

At the beginning of the project it was not possible to have information that would survive a page request, so that the first task was to create a mechanism to allow information being persisted for the time of a session, which is essential for user authentication.

>After the session persistence scope for information was in place the next task was to create an user account infrastructure so that actual users could be created and use the previously created authentication mechanism to log in to some kind of management backend.

Other than that general improvements to the authentication framework have been made and a lot of unit tests have been created for all new code. All the code created is already merged into the FLOW3 framework.

Versioning for the TYPO3 Content Repository

Student: Tamas Ilsinszki, Mentor: Karsten Dambekalns

The second FLOW3 project also had the second TYPO3 newcomer assigned as student. The project had a challenging and complex goal in that Tom needed to dig into the JSR-283 specification first, then walk through the existing code to produce a plan. The optimistic goal of having versioning working by the end of the summer was not hit, but given the circumstances (e.g. the fact the content repository as a whole is still in rather heavy development) the result was fine.

When the work started in a separate SVN branch there were some small quality issues, but Tom was quick at picking up our coding guidelines and test requirements. He produced code that enables some features crucial to implementing versioning in the content repository, and while they have not yet been merged into the main branch that will be done this spring.



Feel free to download the code if you are interested in learning more about our students' projects.

By Ingo Renner, TYPO3 Core Developer and TYPO3 4.2 Release Manager

Black, White, and Down Lighting [Featured Workspace]

Đáng để đọc - Mon, 02/08/2010 - 07:00

Once you get beyond the basics of a comfortable computer chair and a computer that runs the apps you need, a significant part of office design revolves around style. Today's featured workspace is a small office with plenty of style.

Lifehacker reader Kokonut Justin took what could have been a boring office with plain white walls and a regular old desk and added a ton of visual interest to the space with some cleverly positioned shelves and lighting. A lower shelf provides arm-reach accessible storage for desktop odds and ends and the higher shelf provides storage for books. Between the two is a large black and white print which is downlit by three LED puck lights, another set provides down lighting for his work space. Check out the effect in the image above and the gallery below:

If you have a workspace of your own to show off, throw the pictures on your Flickr account and add it to the Lifehacker Workspace Show and Tell Pool. Include some details about your setup and why it works for you, and you just might see it featured on the front page of Lifehacker.

Black, White, and Down Lighting [Lifehacker Workspace Show and Tell Pool]

Jason Fitzpatrick10394554158692984500013783629228250439201008643768473440204901174399654804580001143514910928784194670660202834667321563306223707590698678249011971166994725084571100122784035230550104987693734290809441179643888657461710910588831820202434829510443345534301057683136283789154487227461141527403281639824817543291858960396508025213879691379113431203280863065801801908305267788727607626149135428197132666601304389457851840805103699293931041946968099952118893458905601620326213908867342018429931586481531764156450867081388656730771378864895048255107303394053124677147138883998054637568880347457249514138318601873416622262056171153436141279654003270932281246867359725303029737755277771173151234876653683341180296078602641161318608347339031623588874067087472701716380280087898159355974616502138826466712097385134234657856462901971180991865736781818215196891652780427514153941526612429455261664534044103091960107009473944766714994066187890950573075040306086928833046182318237746129303777051

Giới thiệu một số từ điển miễn phí thông dụng

Đáng để đọc - Tue, 02/02/2010 - 17:14
Bài viết này giới thiệu một số từ điển miễn phí dễ sử dụng thường gặp. Có nhiều loại cho bạn sử dụng với nhiều ngôn ngữ khác nhau, tiện lợi và dễ cài đặt cũng như sử dụng.(author unknown)1141527403281639824804297109563229434621

Driver Easy: tự động nhận dạng và tìm driver cho thiết bị

Đáng để đọc - Tue, 02/02/2010 - 16:41
Với trợ thủ Driver Easy, việc tìm và cài đặt driver cho các thiết bị sẽ đơn giản hơn rất nhiều.(author unknown)1141527403281639824804297109563229434621

Bên trong hang động Naica

Đáng để đọc - Tue, 01/19/2010 - 22:36
Hang tinh thể Naica tại Mexico đã làm cho các nhà địa chất học ngây ngất vì vẻ đẹp khi họ khám phá ra nó hồi năm 2000.(author unknown)

Firefox Friday Five... Fireworks... 2010...!

Đáng để đọc - Sat, 01/02/2010 - 01:08

Filed under: , , ,

How better to chime in the new year with some neat Firefox news? 2009 was a great year for Firefox, as I covered in my review last week, but now it's time to look towards 2010!

You might've spent the last week being lazy and stuffing your face full of left-over turkey, but it seems the Firefox community has hardly taken a break.

Let's get stuck in then, with some news of the Firefox development roadmap for 2010!

1. Firefox 2010 (Draft) Roadmap Unveiled
Last week we reported on 3.6 being pushed back to 2010, but now we can see (roughly) which Firefox milestones we can expect in the new year. As reported by Mozilla Links, the list of features for 2010 is looking pretty damn exciting! Out of process add-ons, a faster start-up time and more-responsive UI... the list goes on.

3.6 is expected to launch in January, with 3.7 following sometime in March. The Firefox 4.0 preview is expected in May or June.


2. The Mozilla Labs Design Challenge -- The Home Tab
The 'home' or new tab 'landing page' is coming to Firefox! Obviously impressed by Google Chrome's new tab page, Firefox are more than happy to imitate it.

Going one step further than Chrome, they're looking at making a 'My Yahoo or iGoogle'-like page, with widgets and gadgets. Thinking about it, it's surprising that Chrome doesn't display iGoogle as a browser-hosted page yet.

Because such a start page would reside purely in the browser, it can theoretically be 100% personalized. Firefox, citing the about:me add-on, thinks that your surfing data could be used to tailor a rich, useful page.


3. Firefox 3.6 will let you hide your menu bar!
I know, my mind just exploded too. With the release of the Firefox 3.6 Beta 5, you can now hide the menu bar (File, Edit, etc.) by simply right-clicking -- the same way you would remove the bookmarks bar. [I just tried this in Beta 4, and it also works... so I think the source might be incorrect.]

If Firefox continues to add minimal-UI stuff like this, it's going to end up looking awfully like Chrome. Not that that's a bad thing -- especially with that 'more responsive UI' they're promising us for 2010!

Oh, it's worth noting that you can achieve the same thing in Firefox 3.5 with an add-on.


4. Jetpack version 0.7 released -- are you making add-ons yet?! If you haven't heard of Jetpack yet, check it out! Its primary aim is to make add-on development both easier, and possible for neophyte programmers. With just some simple JavaScript, HTML and knowledge of CSS you can make add-ons with Jetpack. It might be simple to use, but it's by no means weak: back in November we reported on a Jetpack add-on that harnesses the power of your GPU to accelerate your surfing!

Version 0.7 is listed as a stability release with lots of minor changes but it does add some swish new GUI, and the ability to show welcome screens after installing new add-ons.

Most importantly though, as Jetpack creeps towards 1.0 we can expect to see its inclusion in Firefox 3.7 or 4.0, just like Personas has been built into the 3.6 Beta. What're you waiting for, install Jetpack and get developing already!


5. Finally... a happy new year woo-yay-2010!!! Persona Yes, no one really knows why Personas exist yet, but... well... who cares! It's 2010! A whole decade since the turn of the millennium! Ten years since we fought off the impending-but-ultimately-impotent Y2K bug! Hooray!

All things considered, this is actually quite a nice Persona. But let's not fool ourselves: it still looks like ass. The good news is, continued UI development is in the 2010 Firefox roadmap... so here's hopin'.

Firefox Friday Five... Fireworks... 2010...! originally appeared on Download Squad on Fri, 01 Jan 2010 13:08:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

Add to digg Add to del.icio.us Add to Google Add to StumbleUpon Add to Facebook Add to Reddit Add to Technorati

Google Chrome - Mozilla Firefox - Firefox 4.0 - Mozilla Foundation - Firefox 3.6 Beta 5Sebastian Anthony1486248834881989947514704459895613450589010587260961886517511575240839443521485103506979255397830379175181249109095422050986101037899953698502521387969137911343026968502207821697570046434878110352583502308827960459694717176825430799640746291021945666561711659602838288482878547835095133427934259234040647472054786390435712725566919549475249

25 bức ảnh chụp pháo hoa đẹp trong năm mới

Đáng để đọc - Thu, 12/31/2009 - 09:53
Thế giới chuẩn bị bước sang thập niên mới và một trong những khoảnh khắc được mong chờ nhất là âm thanh và hình ảnh pháo hoa bừng sáng trong đêm.(author unknown)

Những bức ảnh bất ngờ nhờ chụp đúng thời điểm

Đáng để đọc - Mon, 12/28/2009 - 09:40
Cùng một khung cảnh nhưng việc chọn thời gian bấm máy có thể quyết định sức hút và thành công của bức ảnh.(author unknown)

Dries Buytaert: Fujifilm using Drupal

Đáng để đọc - Fri, 12/18/2009 - 18:43

The Japanese Fujifilm, with more than 75,000 employees the world's largest photographic and imaging company, is using Drupal for a community site at http://www.myfinepix.com. It is a website where FinePix camera owners come together to share images, knowledge and inspiration. The site features galleries, forums, photoblogs, news, competitions, user profiles and much more. A good showcase for some of Drupal's social media features.

Myfinepix (author unknown)05490346029892951029108449429457127621600562859307262660578010667788084322409531

Explore&Burn – Dễ dàng ghi đĩa CD/DVD miễn phí

Đáng để đọc - Thu, 12/17/2009 - 04:40
Bạn đã biết đến rất nhiều phần mềm, tiện ích miễn phí phục vụ cho nhu cầu ghi đĩa CD/DVDm, trong đó bao gồm cả các phiên bản miễn phí mới nhất của Nero. Explore Burn là một công cụ ghi đĩa CD/DVD với giao diện trực quan và rất dễ sử dụng đặc biệt nó được tích hợp dòng lệnh vào menu chuột phải trong Windows Explorer.(author unknown)11415274032816398248

Facebook enables 'reply via email' to status updates

Đáng để đọc - Wed, 12/16/2009 - 06:35

Filed under: ,

Blam! Just like that: you can now reply to Facebook status updates via email. Just hit 'reply', type out your response, hit 'send', and voila!

I have no idea if it has just been enabled for the entire Facebook userbase, or if it's steadily rolling out as I speak, but three things are for sure: I'm using it right now; it works seamlessly and it's fast. Please let me know if it's enabled for you or not -- I'll try to keep this post updated with the news.

It's been a long time coming, that's for sure. Might this also mean that we'll soon be able to reply to Facebook mail via our email accounts? I sure hope so. Anything to avoid ads that remind me of my continued bachelorhood.

Update: It's a gradual roll-out, so not everyone will have it enabled yet. It also works for any status 'thread' that you are a participant of, not just your own.

Facebook enables 'reply via email' to status updates originally appeared on Download Squad on Tue, 15 Dec 2009 18:35:00 EST. Please see our terms for use of feeds.

Read | Permalink | Email this | Comments

Add to digg Add to del.icio.us Add to Google Add to StumbleUpon Add to Facebook Add to Reddit Add to Technorati

Facebook - Download Squad - Social network - Online Communities - EmailSebastian Anthony079647390444630066661229189718978701666502705868560719025296146167849139601527261141527403281639824802294761165631714922048413354763261338571725390732676414022400369646643113136897023088279604596947170013427824469783762818062759451248231949108941989482260291690446983730193472798001067424717638835977006055990669860994940269297417204521185414944306407974993594015996875935809974170555288761329915134910219456665617116596063347542386822789481453114176147197086704819254446376672086176452107193630414220195129521874586579515730672001956964496176307252710352496011418422068301800320905993306137842089147

Free Online OCR - Nhận dạng ký tự tiếng Việt từ file ảnh, PDF

Đáng để đọc - Tue, 12/01/2009 - 22:35
Dịch vụ trực tuyến miễn phí này sẽ giúp bạn chuyển văn bản tiếng Việt trong một file ảnh thành file doc hay text một cách chính xác hơn nhờ hỗ trợ nhiều ngôn ngữ khác nhau, trong đó có tiếng Việt.

(author unknown)1141527403281639824804297109563229434621

Laptop thành điểm phát sóng Wi-Fi

Đáng để đọc - Sun, 11/29/2009 - 21:21
Với một chiếc laptop đời mới có kết nối Internet bằng đường truyền ADSL, bạn có thể biến nó thành một “hotspot” để những máy khác trong phòng có thể cùng truy cập Internet mà không cần phải nối dây nhợ lôi thôi. 

(author unknown)

5 trình duyệt web xách tay cho Windows

Đáng để đọc - Fri, 11/27/2009 - 15:24
Trình duyệt web là ứng dụng cơ bản giúp bạn duyệt qua các website trên Internet. Đa số người dùng Internet sử dụng Internet Explorer hoặc Firefox để mở và duyệt các trang web. Ngoài việc sử dụng các trình duyệt cài đặt trên máy, bạn cũng có thể sử dụng các trình duyệt xách tay (portable), không yêu cầu cài đặt và có thể mang theo bất cứ nơi nào.

(author unknown)
Syndicate content