|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
Nintendo announced its next generation Nintendo Revolution to be released in Spring 2006. The new WiFi connection service Nintendo promised might be the key to its battle between Sony and Microsoft.
Current specs for Nintendo Revolution:
Media Type - DVD-ROM
CPU Type - Intel Broadway
Processor type - Broadway
RAM installed - 512 MB
Video Card - ATI Hollywood |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
eBay's new ProStores service allows sellers to design and publish their fixed-price e-commerce site with their unique top level domain names. This service will allow seller to link their custom-build site to their eBay account and eBay's build-in popular online payment gateway Paypal. eBay will announce this new service in eBay Live! 2005 in June 23-25 San Jose, CA |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
By Jennifer LeClaire
[quote'>HP is doing its best to target SMBs. According to a small business survey commissioned by HP and conducted by Harris Interactive in March, 36 percent of small business owners surveyed plan to incorporate notebooks as part of their technology suite within the next year.HP yesterday announced it has teamed with AMD (NYSE: AMD) to address the fast-growing small and mid-size business (SMB) mobile market. The computer maker introduced the 2.4-pound HP Compaq nx6125 Notebook PC, which incorporates AMD Turion 64 mobile technology and includes biometric security features.[/quote'> |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
The order of placing token definitions matters.
example:
TOKEN:
{
<AAA : "aaa">
| <MORE_A : (["a"'>)*>
}
token AAA is more specific comparing to MORE_A, so must place before MORE_A. When token manager looks for the type of a token, it will match the regular expressions (tokens) from top to bottom (or left to right).
If we don't follow this rule, u may get unexpected result.
exmple:
"aaa" will actually match MORE_A when u have AAA after MORE_A. |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
A thread calls "synchronized static" method, it needs to lock the Class object. A thread calls "synchronized" method, it needs to lock the instance object.
When a thead is holding Class object lock, it won't block threads trying to aquire an instance object lock. When a thread is holding an instance object lock, it won't block threads trying to aquire Class object lock. |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
Native thread uses OS multi-threaded processes; kernal schedul and manage native threads. Green thread emulate multi-threaded enviromnent in user space, not kernal space. Native thread takes up one entry in process table. It may look like a process, but actually a native thread. Green thread emulate multi-threaded environment using one native process thread. It only can utilize one CPU when multi-CPUs is avalible. It has no control over how kernal is going to schedule and manage this particular native thread. All green threads behave the same in different OS in a same JVM. The implementation of green thread vary from one JVM to another. |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
singleton is a design pattern that focus on object creation. When a class is implemented using singleton, one and only one such instance can be created in a JVM. Usual implementation will be:
1. making constructor private
2. use a public static "getInstance" method to get an instance object
3. use either lazy instantiation or instantiate it statically
4. if lazy instatiation is used, must synchronized "getInstance" method.
5. the singleton object is private static instace field
In some cases you may prefer a abstract class with all static methods. |
|
|
Written by Sleepy Egg
|
|
Thursday, 23 June 2005 |
|
SleepyEgg community is now open for public! If you have any question or comment please email us at:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Enjoy and have fun! |
|
|
<< Start < Prev 151 152 153 154 155 Next > End >>
|
| Results 1541 - 1548 of 1548 |