Thu 13 Mar 2008
Wed 12 Mar 2008
Wed 12 Mar 2008
| 3/12/2008 | 11:56:14 AM | みみころ | 008✿玲瓏心-趣味:UFJ最悪!!! | UFJ最悪の中悪いんだけど | ||||
| 3/12/2008 | 11:56:22 AM | みみころ | 008✿玲瓏心-趣味:UFJ最悪!!! | 1つ質問 | ||||
| 3/12/2008 | 11:56:38 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | はい:$ |
| 3/12/2008 | 11:57:52 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | それはテスト? | ||||
| 3/12/2008 | 11:58:00 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | それとも必要? | ||||
| 3/12/2008 | 11:58:05 AM | みみころ | 008✿玲瓏心-趣味:UFJ最悪!!! | テスト | ||||
| 3/12/2008 | 11:58:31 AM | みみころ | 008✿玲瓏心-趣味:UFJ最悪!!! | だから制限あるのかなって | ||||
| 3/12/2008 | 11:58:35 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | 嫌がらせ? :D | ||||
| 3/12/2008 | 11:58:47 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | 聞いたことない | ||||
| 3/12/2008 | 11:58:56 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | 多分誰もやったことないから | ||||
| 3/12/2008 | 11:58:59 AM | みみころ | 008✿玲瓏心-趣味:UFJ最悪!!! | アクセンチュアの嫌がらせw | ||||
| 3/12/2008 | 11:59:05 AM | 008✿玲瓏心-趣味:UFJ最悪!!! | みみころ | なるほど |
Mon 10 Mar 2008
One man writes Linux drivers for 235 USB webcams
By Fernando Cassia: Monday, 30 April 2007, 3:40 PM
Sun 9 Mar 2008
Ten good habits to adopt are:
- Make directory trees in a single swipe.
- Change the path; do not move the archive.
- Combine your commands with control operators.
- Quote variables with caution.
- Use escape sequences to manage long input.
- Group your commands together in a list.
- Use
xargsoutside offind. - Know when
grepshould do the counting — and when it should step aside. - Match certain fields in output, not just lines.
- Stop piping
cats.
Make directory trees in a single swipe
Listing 1 illustrates one of the most common bad UNIX habits around: defining directory trees one at a time.
Listing 1. Example of bad habit #1: Defining directory trees individually
~ $ mkdir tmp ~ $ cd tmp ~/tmp $ mkdir a ~/tmp $ cd a ~/tmp/a $ mkdir b ~/tmp/a $ cd b ~/tmp/a/b/ $ mkdir c ~/tmp/a/b/ $ cd c ~/tmp/a/b/c $ |
It is so much quicker to use the -p option to mkdir and make all parent directories along with their children in a single command. But even administrators who know about this option are still caught stepping through the subdirectories as they make them on the command line. It is worth your time to conscientiously pick up the good habit:
Listing 2. Example of good habit #1: Defining directory trees with one command
~ $ mkdir -p tmp/a/b/c
|
You can use this option to make entire complex directory trees, which are great to use inside scripts; not just simple hierarchies. For example:
Listing 3. Another example of good habit #1: Defining complex directory trees with one command
~ $ mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a}
|
In the past, the only excuse to define directories individually was that your mkdir implementation did not support this option, but this is no longer true on most systems. IBM, AIX®, mkdir, GNU mkdir, and others that conform to the Single UNIX Specification now have this option.
For the few systems that still lack the capability, use the mkdirhier script (see Resources), which is a wrapper for mkdir that does the same function:
~ $ mkdirhier project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a}
|
Change the path; do not move the archive
Another bad usage pattern is moving a .tar archive file to a certain directory because it happens to be the directory you want to extract it in. You never need to do this. You can unpack any .tar archive file into any directory you like — that is what the -C option is for. Use the -C option when unpacking an archive file to specify the directory to unpack it in:
Listing 4. Example of good habit #2: Using option -C to unpack a .tar archive file
~ $ tar xvf -C tmp/a/b/c newarc.tar.gz
|
Making a habit of using -C is preferable to moving the archive file to where you want to unpack it, changing to that directory, and only then extracting its contents — especially if the archive file belongs somewhere else.
|
Combine your commands with control operators
You probably already know that in most shells, you can combine commands on a single command line by placing a semicolon (;) between them. The semicolon is a shell control operator, and while it is useful for stringing together multiple discrete commands on a single command line, it does not work for everything. For example, suppose you use a semicolon to combine two commands in which the proper execution of the second command depends entirely upon the successful completion of the first. If the first command does not exit as you expected, the second command still runs — and fails. Instead, use more appropriate control operators (some are described in this article). As long as your shell supports them, they are worth getting into the habit of using them.
Run a command only if another command returns a zero exit status
Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status. In other words, if the first command runs successfully, the second command runs. If the first command fails, the second command does not run at all. For example:
Listing 5. Example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c && tar xvf ~/archive.tar
|
In this example, the contents of the archive are extracted into the ~/tmp/a/b/c directory unless that directory does not exist. If the directory does not exist, the tar command does not run, so nothing is extracted.
Run a command only if another command returns a non-zero exit status
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status. In other words, if the first command is successful, the second command does not run. If the first command fails, the second command does run. This operator is often used when testing for whether a given directory exists and, if not, it creates one:
Listing 6. Another example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c || mkdir -p tmp/a/b/c
|
You can also combine the control operators described in this section. Each works on the last command run:
Listing 7. A combined example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c || mkdir -p tmp/a/b/c && tar xvf -C tmp/a/b/c ~/archive.tar
|
|
Sun 9 Mar 2008
Ten good habits to adopt are:
- Make directory trees in a single swipe.
- Change the path; do not move the archive.
- Combine your commands with control operators.
- Quote variables with caution.
- Use escape sequences to manage long input.
- Group your commands together in a list.
- Use
xargsoutside offind. - Know when
grepshould do the counting — and when it should step aside. - Match certain fields in output, not just lines.
- Stop piping
cats.
Make directory trees in a single swipe
Listing 1 illustrates one of the most common bad UNIX habits around: defining directory trees one at a time.
Listing 1. Example of bad habit #1: Defining directory trees individually
~ $ mkdir tmp ~ $ cd tmp ~/tmp $ mkdir a ~/tmp $ cd a ~/tmp/a $ mkdir b ~/tmp/a $ cd b ~/tmp/a/b/ $ mkdir c ~/tmp/a/b/ $ cd c ~/tmp/a/b/c $ |
It is so much quicker to use the -p option to mkdir and make all parent directories along with their children in a single command. But even administrators who know about this option are still caught stepping through the subdirectories as they make them on the command line. It is worth your time to conscientiously pick up the good habit:
Listing 2. Example of good habit #1: Defining directory trees with one command
~ $ mkdir -p tmp/a/b/c
|
You can use this option to make entire complex directory trees, which are great to use inside scripts; not just simple hierarchies. For example:
Listing 3. Another example of good habit #1: Defining complex directory trees with one command
~ $ mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a}
|
In the past, the only excuse to define directories individually was that your mkdir implementation did not support this option, but this is no longer true on most systems. IBM, AIX®, mkdir, GNU mkdir, and others that conform to the Single UNIX Specification now have this option.
For the few systems that still lack the capability, use the mkdirhier script (see Resources), which is a wrapper for mkdir that does the same function:
~ $ mkdirhier project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a}
|
Change the path; do not move the archive
Another bad usage pattern is moving a .tar archive file to a certain directory because it happens to be the directory you want to extract it in. You never need to do this. You can unpack any .tar archive file into any directory you like — that is what the -C option is for. Use the -C option when unpacking an archive file to specify the directory to unpack it in:
Listing 4. Example of good habit #2: Using option -C to unpack a .tar archive file
~ $ tar xvf -C tmp/a/b/c newarc.tar.gz
|
Making a habit of using -C is preferable to moving the archive file to where you want to unpack it, changing to that directory, and only then extracting its contents — especially if the archive file belongs somewhere else.
|
Combine your commands with control operators
You probably already know that in most shells, you can combine commands on a single command line by placing a semicolon (;) between them. The semicolon is a shell control operator, and while it is useful for stringing together multiple discrete commands on a single command line, it does not work for everything. For example, suppose you use a semicolon to combine two commands in which the proper execution of the second command depends entirely upon the successful completion of the first. If the first command does not exit as you expected, the second command still runs — and fails. Instead, use more appropriate control operators (some are described in this article). As long as your shell supports them, they are worth getting into the habit of using them.
Run a command only if another command returns a zero exit status
Use the && control operator to combine two commands so that the second is run only if the first command returns a zero exit status. In other words, if the first command runs successfully, the second command runs. If the first command fails, the second command does not run at all. For example:
Listing 5. Example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c && tar xvf ~/archive.tar
|
In this example, the contents of the archive are extracted into the ~/tmp/a/b/c directory unless that directory does not exist. If the directory does not exist, the tar command does not run, so nothing is extracted.
Run a command only if another command returns a non-zero exit status
Similarly, the || control operator separates two commands and runs the second command only if the first command returns a non-zero exit status. In other words, if the first command is successful, the second command does not run. If the first command fails, the second command does run. This operator is often used when testing for whether a given directory exists and, if not, it creates one:
Listing 6. Another example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c || mkdir -p tmp/a/b/c
|
You can also combine the control operators described in this section. Each works on the last command run:
Listing 7. A combined example of good habit #3: Combining commands with control operators
~ $ cd tmp/a/b/c || mkdir -p tmp/a/b/c && tar xvf -C tmp/a/b/c ~/archive.tar
|
|
Sun 9 Mar 2008
Nintendo Wii and Linux
Nintendo Wii has been a bit tougher to crack than hacker-friendly hardware like the PS3, which even has a Sony-approved Linux distro. But now the Wii hacking community has figured out how to run homebrew applications on Nintendo’s latest console, and that includes a rather unpolished “proof of concept” version of Linux that can run on the Wii. Few days ago this news came from the GameCube Linux Wiki:
24 Feb 2008: Long time, no see Although we haven’t posted any news in the last 2 years, we have silently continued our work keeping the kernel patches up to date. With the latest 2.6.24 release we have added support for the USB Gecko adapter as a console and terminal, so you can now logon into your gc-linux distro using minicom or HyperTerminal (TM). And last but not least, we have finally run natively Linux on the Nintendo Wii through Team Tweezers’ twilight-hack. We have released a small usbgecko-enabled Proof of Concept mini-distro to prove it. Did I say have fun?
![]()
Now, keep in mind, the hacking process is not simple. You need an SD card, SD card adapter for the Wii, a copy of Zelda: Twilight Princess, the ability to follow complex instructions, infinite patience, and the willingness to completely muck up your video game console if things go wrong.
Wii Technical Specification:
- CPU (Central Processing Unit): IBM ‘Broadway’ 729MHz
-

Internal Storage: 512MB Flash Memory
- USB 2.0: 2 Ports
- System Memory: 256MB
- Memory Expansion: 2 SD Memory
- GPU (Graphics Processing Unit): ATI ‘Hollywood’
- Optical Disc Drive: 8cm GameCube / 12cm Wii (DVD discs)
- Supported Resolution: up to 480p
- 12 cm Disc Capacity: 4.7GB (single) / 8.5GB (dual)
- Wii Controller Ports: Wireless (4 maximum)
- GameCube Controller Ports: 4 Ports
- Internet Connectivity: WiFi 802.11b/g
- Disc Compatibility: GameCube
- GameCube Memory Expansion: 2 Ports
Links for running Linux on Wii:
- Welcome to WiiLi
- Wii Linux Project
- Wii homebrew
Fri 7 Mar 2008
Thu 6 Mar 2008
Wed 5 Mar 2008
2006 rank: 9
Age: 42
It’s been a turbulent time for the banking giant ($89.6 billion in revenues; $240 billion market cap) and also for Krawcheck, who used to be chief financial officer. Amid problems with the stock and the ouster of Todd Thomson, Krawcheck was reassigned to his post as head of the $10 billion wealth management business. The move shrinks her profile on Wall Street, but it also proves that CEO Chuck Prince counts on her to calm troubled waters.
2006 rank: 13
Age: 49
In 2006, Media Networks’ operating income rose 12.5%, and revenues 10.8%, to $14.6 billion. Sweeney also added High School Musical to her roster of hit shows (Grey’s Anatomy, Dancing With the Stars). The Disney Channel phenomenon made it big on cable, the web, iTunes, and the stage, showing that she has a grip on multiplatform entertainment. Disney-ABC Television just signed a deal to offer its shows on AOL.
2006 rank: 12
Age: 55
MTV Networks delivers more than half of parent Viacom’s sales. Revenues in McGrath’s division rose 7% last year, to $7.2 billion, and operating income 11%. But youth culture is fickle, and MTV’s buzz has lessened since her mentor, Tom Freston, was fired in 2006. McGrath has her reputation for cutting-edge creativity riding on two projects: a social networking platform, Flux, and an investment in VBS.tv, the online video offshoot of hipster magazine Vice.
2006 rank: Return
Age: 44
Yahoo is smaller than Google, slower growing, and decidedly less fashionable. Google’s stock has risen smartly in the past year; Yahoo’s has fallen. But Decker’s career is only going up. A stock analyst who joined Yahoo as CFO in 2000, she was promoted to president in June to lead a turnaround. Warren Buffett gave her his vote of confidence: He named her to the Berkshire Hathaway board this year.
2006 rank: New
Age: 51
Greene has run VMware since founding it in 1998 with her husband, Mendel Rosenblum. She sold the company to EMC in 2004 for $625 million, then stayed on to continue running it. Still majority-owned by EMC but spun off in an August IPO, VMware is the fastest-growing and most influential enterprise software company Silicon Valley has seen in a decade – and worth a cool $26 billion.
2006 rank: 23
Age: 51
Like all the big banks, Bank of America has seen brighter days; its stock is trailing the S&P over the past year. But the situation could have been much worse. Brinkley sets the standards for market and operational risk; that BofA, which has huge retail operations, wasn’t too entangled in the subprime mess is to her credit. BofA is even trying to take advantage of the turmoil, investing $2 billion in troubled Countrywide Financial. After all, managing risks sometimes means taking them.
2006 rank: 22
Age: 40
After running GE Plastics for two years – and overseeing the first new polymer since the 1980s – Begley helped sell the unit to Saudi Basic Industries in May for $11.6 billion, a price that was considered a pleasant surprise. Now she’s running GE Enterprise Solutions, a new business focused on boosting productivity through technology and automation solutions. GE estimates that it will be an $11.6 billion operation. Begley will report directly to CEO Jeff Immelt.
2006 rank: 25
Age: 54
Miller’s division generates 14% of J.P. Morgan Chase’s $61 billion in revenues. Operating profits rose 21% last year and are heading up this year too. In the first half of 2007, Miller increased assets under custody by 32%, to $15.2 trillion; she oversees operations in 39 countries. She reports directly to CEO Jamie Dimon, her longtime mentor.
2006 rank: New
Age: 38
Sandberg’s division has helped make Google’s online ad network one of the world’s largest, and it accounts for more than half the company’s $10.6 billion in revenues. She is the youngest woman on our list.
2006 Total compensation: $9 million