Thursday, March 31, 2011
Magic Rescue
sudo magicrescue -d ~/output2 -r /usr/share/magicrescue/recipes/msoffice /dev/sdb
Magic Rescue
Magic Rescue scans a block device for file types it knows how to recover and calls an external program to extract them. It looks at "magic bytes" in file contents, so it can be used both as an undelete utility and for recovering a corrupted drive or partition. As long as the file data is there, it will find it.
It works on any file system, but on very fragmented file systems it can only recover the first chunk of each file. Practical experience (this program was not written for fun) shows, however, that chunks of 30-50MB are not uncommon.
(A good tool for recovering lost/corrupted data files using Linux (in my case, Ubuntu)).
http://www.itu.dk/people/jobr/magicrescue/
Sunday, March 27, 2011
Nak Paparkan Gambar beserta link di dalam CakePHP 1.3
HTML special characters in $title
will be converted to HTML entities. To disable this conversion, set the escape option to false in the $options
array.
echo $this->Html->link(
$this->Html->image("recipes/6.jpg", array("alt" => "Brownies")),
"recipes/view/6",
array('escape' => false)
);
?>
CakePHP 1.2: $html->link with html or image.
A good tutorial for CakePHP I took from DLMax, thanks Max!!!
In CakePHP 1.1 if you need to display an image or piece of HTML with a link to an action, you need to instruct cake NOT to escape the contents of the “Title” attribute with the last false statement like this:
e( $html->link( $html->image("add.gif"), array('action' => 'add'), array(), null, false ));
In CakePHP 1.2 you could rewrite this to:
e( $html->link( $html->image("add.gif"), array('action' => 'add'), array('escape' => false)));
Saturday, March 26, 2011
LG Optimus One Promo By Digi
LG Optimus One
The World’s BEST LG Android Phone
|
|
Friday, March 18, 2011
Lowyat.NET : Malaysia's Largest Online Community
Not all laptops come with a set of premium speakers but such feature is certainly not a new thing in the market. Quite a number of well-known audio brands such as Altec Lansing, JBL and Harman Kardon have been providing speakers for laptops for quite some time but for Klipsch, this is a new frontier for them. For the first time ever, a laptop will carry their name as the next iteration of Alienware M17X will come with Klipsch speakers built into them.
No other information is available regarding the new audio solution that they developed for Alienware but since 5.1 and 7.1 surround audio capabilities have been listed on the M17X specifications on Dell USA’s website, we expect that it going to be pretty good. Furthermore, since the new M17X will also come with HDMI-In port for users to actually hook up their consoles to the laptop, a good built-in audio speakers is a must for M17x. Not to forget, the original model have very loud speakers when we tested it a while ago.
We have no idea when the refreshed M17X will be available in Malaysia – Dell Malaysia's website is still showing the old model - but for consumers in US, they are able to get it from this month onwards for RM 4,598 (USD 1,499).
Thursday, March 17, 2011
Mapguide Release Open Source 2.3 RC3
You can go to the above link to download the latest open source Mapguide Server + Extension... but it is still on RC3... which means Release Candidate 3. Apa lagi kaki-kaki GIS??? Meh Lah Download!!!
Friday, March 11, 2011
Lowyat.NET : Malaysia's Largest Online Community
Looks like AMD can’t be bothered to wait for NVIDIA anymore. After much teasing here and there, AMD’s new dual-GPU graphics monster – the Radeon HD 6990 – is finally ready to meet the market. Equipped with 4GB of GDDR5 memory that runs at 1250MHz, the card comes with two BIOS so that users can either run its processor at the standard clock speed of 830MHz or boost the speed up to 880MHz by just flicking a switch. According to the company, the card is able to churn out more than 11000 points in the 3DMark11 benchmark suite.
AMD also introduced a new dynamic power management technology into the card that is called PowerTune which allows the card to run to automatically tune its output according to application's demand. Of course, being a Radeon HD 6000 series card, standard features such as DirectX 11 support, Eyefinity multi-display technology, EyeSpeed visual accelerators, HD3D capability and integrated HD audio controller are also included in this card. CrossFire X capability is available on this card as well, specially for those who are crazy enough to pair two of this card together.
The new AMD Radeon HD 6990 is already available in the market with a price tag that starts at RM 2119 (USD 699). For further information, head on to your favourite retailer or AMD's official website at www.amd.com. Before you do that though, check out the card’s product shots right after the jump.
Dota 6.71b 6v6 Map Download - Dota-Allstars 6.71b 6v6 - DotA-Blog
Dota 6.71b 6v6 Download Link
Download Links
DotA_v6.71b_6v6.w3x via GameWebz
DotA_v6.71b_6v6.w3x via 6v6DotA
If you got any bug or problem with the DotA 6.71b 6v6 map, report it directly in this post. Enjoy! ;)
Warcraft 1.25b Patch | Official Warcraft 3 TFT Patch 1.25b Download - DotA-Blog
Warcraft Patch 1.25b Changelogs
>> Warcraft 1.25b Changelogs <<
The new version number for Warcraft 3 The Frozen Throne 1.25b Patch is 1.25.1.6397.
How to update into Patch 1.25b Warcraft
Choose one of the following method
1. Connect to the Battle.net and your patch will automatically upgraded. You must log off and login again to ensure the patch updated properly.
2. Download the Warcraft 1.25b standalone patch from Blizzard server and run the updater.
3. Use the Warcraft Version Switcher 1.25b.
I guess this is the first official Warcraft III patch on 2011. Enjoy the Warcraft Patch 1.25b!
Monday, March 7, 2011
GNOME 3... Ubuntu???!!!
For GNOME 3, the GNOME Project has started from scratch and created a completely new, modern desktop designed for today's users and technologies. Here are some of the things that you can expect from the new GNOME:
Simply beautiful
GNOME's new desktop takes elegance to a new level. We've swept away the clutter and made a simple and easy-to-use desktop, and we've made this the most beautiful GNOME desktop ever, with a new visual theme, a refined new font and carefully crafted animations--all while preserving compatibility.
An overview at a glance
The activities view provides an easy way to access all your windows and applications. It is also a great way to keep track of all your activities. We have provided several fast and convenient ways to access the activities view, including the activities keyboard key (often known as the Windows key) and the activities hot corner.
Messaging built-in
Communication is an important part of the modern desktop, but it's a hassle when you have to switch windows to reply to a message. That's why GNOME 3 will let you continue your conversations without changing focus. The ability to enter a reply straight into messaging notifications makes instant messaging quick and effortless.
Distraction-free computing
GNOME 3 is designed to reduce distraction and interruption and to put you in control. Our new notifications system subtly presents messages and will save them until you are ready for them, and the GNOME 3 panel has been styled so that it is part of the background, not the foreground. These changes allow you to focus on your creative tasks.
Everything at your fingertips
With the new GNOME desktop, everything can be quickly accessed from the keyboard. Press the activities key and search: it's as simple as that. You'll love this feature if you're a user who likes things to happen fast.
Redesigned system settings
Our system settings have been completely redesigned for GNOME 3, making them easier to use than ever before. There are some great new features in our system settings too, such as the ability to use Flickr images as desktop backgrounds.
And much, much more
GNOME 3 is crammed full of new features. Here are some of the other things that you can look forward to from GNOME 3:
- Window tiling to make using several windows simple and easy
- An improved file manager
- Dark application themes for when you want to focus on pictures and videos
- Redesigned workspaces so you can easily organise your windows
- Major changes under the hood to give you a faster, smoother experience
- A satisfying experience, whatever kind of computer you use: GNOME 3 will feel right at home on netbooks as well as larger machines
New law to end illegal downloading of music and moviesNew law to end illegal downloading of music and movies
KUALA LUMPUR: The free-and-easy days of illegal downloading of music and movies may soon be over. A proposed new law will enable Internet Service Providers (ISP) to suspend or terminate the Internet accounts of P2P (peer-to-peer) users.
This new law called the ISP Liability act, will be tabled in Parliament next month, according to Recording Industry Association of Malaysia (RIM) chairman Norman Halim.
RIM has been lobbying the Government for an ISP Liability act for the past 5 years as illegal online downloads have been cannibalising the legitimate sales of music, worldwide.
“The act makes the ISPs responsible for curbing online piracy. The ISPs will be fined if they don’t take action against illegal downloaders. The ISPs have the technology to track P2P users,” said Norman.
However, he said that the fine amount had yet to be determined.
ISPs will send two warning letters to illegal downloaders. Should the downloaders still persist, the Internet access will be suspended or even terminated.
“Other countries that have such an act have seen their respective music industries recover. One good example would be South Korea,” he said.
------------------------------------------------
Walaupon berat hati nak setuju... tapi kena jugakler berubah... kalau tak sampai biler nak cetak rompak.... harap software piracy pon diambil tindakan undang-undang... so apalagi Michaelsoft??? Winblowz kasik murahlah... rm100 satu lesen... gua sanggup beli!!! apa mcm kekawan???
Saturday, March 5, 2011
Coding Horror: Why Can't Programmers.. Program?
Taken From codinghorror.com
Feb 26, 2007
Why Can't Programmers.. Program?
I was incredulous when I read this observation from Reginald Braithwaite:
Like me, the author is having trouble with the fact that 199 out of 200 applicants for every programming job can't write code at all. I repeat: they can't write any code whatsoever.
The author he's referring to is Imran, who is evidently turning away lots of programmers who can't write a simple program:
After a fair bit of trial and error I've discovered that people who struggle to code don't just struggle on big problems, or even smallish problems (i.e. write a implementation of a linked list). They struggle with tiny problems.So I set out to develop questions that can identify this kind of developer and came up with a class of questions I call "FizzBuzz Questions" named after a game children often play (or are made to play) in schools in the UK. An example of a Fizz-Buzz question is the following:
Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".Most good programmers should be able to write out on paper a program which does this in a under a couple of minutes. Want to know something scary? The majority of comp sci graduates can't. I've also seen self-proclaimed senior programmers take more than 10-15 minutes to write a solution.
Dan Kegel had a similar experience hiring entry-level programmers:
A surprisingly large fraction of applicants, even those with masters' degrees and PhDs in computer science, fail during interviews when asked to carry out basic programming tasks. For example, I've personally interviewed graduates who can't answer "Write a loop that counts from 1 to 10" or "What's the number after F in hexadecimal?" Less trivially, I've interviewed many candidates who can't use recursion to solve a real problem. These are basic skills; anyone who lacks them probably hasn't done much programming.Speaking on behalf of software engineers who have to interview prospective new hires, I can safely say that we're tired of talking to candidates who can't program their way out of a paper bag. If you can successfully write a loop that goes from 1 to 10 in every language on your resume, can do simple arithmetic without a calculator, and can use recursion to solve a real problem, you're already ahead of the pack!
Between Reginald, Dan, and Imran, I'm starting to get a little worried. I'm more than willing to cut freshly minted software developers slack at the beginning of their career. Everybody has to start somewhere. But I am disturbed and appalled that any so-called programmer would apply for a job without being able to write the simplest of programs. That's a slap in the face to anyone who writes software for a living.
The vast divide between those who can program and those who cannot program is well known. I assumed anyone applying for a job as a programmer had already crossed this chasm. Apparently this is not a reasonable assumption to make. Apparently, FizzBuzz style screening is required to keep interviewers from wasting their time interviewing programmers who can't program.
Lest you think the FizzBuzz test is too easy-- and it is blindingly, intentionally easy-- a commenter to Imran's post notes its efficacy:
I'd hate interviewers to dismiss [the FizzBuzz] test as being too easy - in my experience it is genuinely astonishing how many candidates are incapable of the simplest programming tasks.
Maybe it's foolish to begin interviewing a programmer without looking at their code first. At Vertigo, we require a code sample before we even proceed to the phone interview stage. And our on-site interview includes a small coding exercise. Nothing difficult, mind you, just a basic exercise to go through the motions of building a small application in an hour or so. Although there have been one or two notable flame-outs, for the most part, this strategy has worked well for us. It lets us focus on actual software engineering in the interview without resorting to tedious puzzle questions.
It's a shame you have to do so much pre-screening to have the luxury of interviewing programmers who can actually program. It'd be funny if it wasn't so damn depressing. I'm no fan of certification, but it does make me wonder if Steve McConnell was on to something with all his talk of creating a true profession of software engineering.
Due to high volume, comments for this entry are now closed.
Posted by Jeff Atwood
Thursday, March 3, 2011
Jobs Unveils Apple's iPad 2 - WSJ.com
Steve Jobs asserted Apple Inc.'s command over the hottest market in computing and demonstrated his flair as high-tech's most celebrated pitchman.
The Silicon Valley giant's chief executive, who took a medical leave of absence in January, was the surprise master of ceremonies as Apple unveiled a second version of its iPad tablet—a product that has created a multi-billion dollar business in less than a year and left rivals scrambling.
Mr. Jobs, who strode onto a San Francisco stage Wednesday to a standing ovation, showed off the thinner, faster iPad 2 in a presentation full of swipes at competitors flooding into the market. The crush of tablets includes Motorola Mobility Holdings Inc.'s recently released Xoom and the forthcoming Playbook from BlackBerry maker Research In Motion Ltd.
Apple has a more than 90% market share and "our competitors are just flummoxed," Mr. Jobs said, adding that if 2010 was the "year of the iPad," he might call 2011 "the year of the copycats."
The iPad 2, which like its predecessors starts at $499, will ship in the U.S. on March 11 and in 26 more countries on March 25. It comes with front and rear cameras—addressing an omission in the initial model—and a new Apple-designed chip that Mr. Jobs said performs standard calculations twice as fast as its predecessor and offers a nine-fold boost in graphics performance.
Many of the changes were widely expected, and evolutionary. But analysts said Apple had reinforced its edge with the sheer volume of new features, its lead in applications created for the iPad and its lower price point than some rivals; Xoom, for example, starts at $799 without a cellular service plan, compared with $729 for a comparable iPad.
"Apple moved the goal posts before most of their competitors even take the field," said Noah Elkin, an analyst at research firm eMarketer.
Mr. Jobs stressed that the new iPad was part of a growing new "post-PC" category of devices, which also includes its iPhone. The company faced a slew of skeptics when it first introduced the iPad a year ago, yet it managed to sell 14.8 million of the devices globally as of the end of 2010, generating $9.5 billion in revenue.
The tablet accelerated the growth of a large ancillary business based on software and content sales; Mr. Jobs said Apple now has 200 million accounts with customers around the world, and said software developers have made more than $2 billion from sales through the company's App Store.
The iPad has become a major force in the publishing world, and a rival to Amazon.com Inc.'s Kindle. Apple said more than 2,500 book publishers have joined its iBookstore and more than 100 million e-books have been downloaded.
Introducing the iPad 2
Apple CEO Steve Jobs on stage at the iPad 2 introduction.
Mr. Jobs disclosed that e-books published by Bertelsmann AG's Random House Inc., the country's largest consumer book publisher, are for the first time being sold directly via the iBookstore. Random House titles had been conspicuously absent because of a disagreement related to pricing.
Some magazine and newspaper makers have also flocked to the iPad, though Apple has triggered opposition with a recent policy that requires them to offer any subscriptions through apps as well as their own websites, which requires a revenue split with Apple.
Magazine publishers are hopeful that competitors spur Apple to relax such policies, but some on Wednesday acknowledged Apple's position looks even stronger after iPad 2.
"All I kept thinking as I watched the presentation today was that Apple just pulled a Secretariat," said John Loughlin, executive vice president and general manager of Hearst magazines, referring to the champion thoroughbred. "They just left their competitors 31 lengths behind."
Viewed from the front, the iPad 2 looks largely the same as its predecessor, aside from the addition of a small camera. It comes with a white as well as black front, and with and without 3G wireless service provided by either AT&T Inc. or Verizon Wireless in the U.S. Unlike some rival tablets, the new iPad cannot connect to high-speed 4G cellular networks.
Apple will also sell a new cover that snaps to the side of the device with magnets and comes with cloth on the inside that can help clear smudges off the glass screen.
The company also showed a new version of its mobile operating system and other internally developed software, including a version of its music recording program Garage Band.
Analysts, in particular, praised the iPad 2's design, which is thinner than the current iPhone and 15% lighter than the original iPad, shrinking from 1.5 pounds to 1.3 pounds. Those changes could make the iPad more portable and appealing as a reading device for books and periodicals.
What's under the hood of the iPad 2 could also be important, illustrating Apple's unusual role as both designer and user of chips. The new A5 chip in the iPad 2 adds a second calculating engine--an aid in doing multiple computing chores at once- plus a big increase in graphics circuitry that could inspire game developers.
"Games push the limits of devices as hard as any applications can," said Travis Boatman, a senior vice president for the EA Mobile division of Electronic Arts Inc. "Faster hardware is going to make it a better games experience."
It was the appearance of Mr. Jobs at the event that stirred the strongest reaction of the day. The Apple chief has struggled with health problems since having cancerous tumor removed from his pancreas in 2004, and in January handed day-to-day control of the company to Chief Operating Officer Tim Cook.
Apple CEO Steve Jobs speaks at an Apple event March 2.
Appearing in his standard black turtleneck and jeans, Mr. Jobs looked gaunt, as he has in recent years. But he was energetic, with no visible diminishment in the enthusiasm he has long shown when introducing new products.
Gene Munster, a Piper Jaffray analyst, called Mr. Jobs' appearance at the event "huge," saying investors have worried about the CEO's health, especially after the recent publication of paparazzi photos of a withered-looking Mr. Jobs.
"I think he sent a statement that he's really in charge and an active part of this," Mr. Munster said. "It was a big surprise."
Apple shares, which had been flat, moved higher after Mr. Jobs appeared on stage. The stock ended the 4 p.m. Nasdaq session up less than 1% at $352.12.
Mr. Jobs made no reference to his health issues Wednesday, focusing strictly on the iPad 2. "We've been working on this product for a while," Mr. Jobs said shortly after he took the stage, "and I just didn't want to miss today."
Wednesday, March 2, 2011
Convert YouTube to MP3, Get MP3 from YouTube video, FLV to MP3, extract audio from YouTube, YouTube MP3 - ListenToYouTube.com
MP3 From YouTube Flash Video
ListenToYouTube.com is the most convenient online application for converting YouTube flash video to MP3 audio. This service is fast, free, and requires no signup. All you need is a YouTube URL, and our software will transfer the video to our server, extract the MP3, and give you a link to download the audio file.Extract Audio from FLV files without Quality Degradation | Inspired Geek
There are a number of software available both freeware and shareware that allows to extract the audio part of an FLV file but almost all of these re-encode the audio after extraction to the desired output format such as MP3. As a result the extracted MP3 file you will get may not have preserved the 100% quality of the original audio stream that was originally there in the FLV file. Also because re-encoding is involved in this process the conversion may take some time for FLV files with a longer play duration.
FLV Extract is a tiny utility that is a perfect solution for this situation. It allows to extract the embedded audio(mp3) part from the FLV file in the original as it is form. As a result you will not experience any loss in quality because of the re-encoding because no re-encoding is involved at all. As a bonus, extraction process will be lightning fast. All you have to do is to drag&drop the desired FLV file on the interface and the Audio, Video, and Timecodes will be extracted in the same folder.
It is a must have if you frequently need audio from your downloaded FLV files for some reason. You can get FLV Extract from here.
Nokia Strategy 2011 | Nokia Conversations - The official Nokia Blog
Nokia and Microsoft -> Replace Symbian with Windows Phone 7.... OMG!!!