Why not using solar cells covering my Macbook
Hi,
My name is Jonathan and I was just wondering. Why is it, that nobody has combined a Macbook/solar powered combination?
Probably someone has, but I've never heard of it. Just cover the outside of the screen with enough solarcells, so
that it is really an all in one stand-alone non-grid dependaned tool. The most modern solarcells do not need direct sunlight
but can perform with just 'light'. Old or bad idea? Please tell?
Some gestures have been removed in Firefox 4+ versions.
You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
* browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
* browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
* browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
* browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
* browser.gesture.pinch.latched -> <b>false</b>
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
*Use the Filter bar at to top of the about:config page to locate a preference more easily.
*Preferences that have been modified show as bold (user set).
*Preferences can be reset to the default via the right-click context menu if they are user set
*Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)
Similar Messages
-
Why not use paper label on finished DVD project?
I also use printed paper labels for my DVD covers
why not use them?
please advise?Hi
The DVD get's unbalanced = Laser can't read track
DVD are several times more sencitive than CD (not advicable to put lables on them either)
And DVDs/CDs that are unbalanced also give more strain to the player mechanism
that eventually stops working.
Yours Bengt W -
I can not use CanaScan N670U with my Macbook Pro. I download Canoscan toolbox 4.1 from Cannon websit. It still keep saying "The scanner plug-in was not found". Please help
There is a solution (I'm running Snow Leopard on a Core2Duo iMac, but this problem arose when I was running Leopard on a G4 PowerBook too).
Problem:
You download the OS X driver for the scanner from Canon's site. I already had the CanoScan Toolbox (4.1) stored on an external drive.
You unzip the driver and run the VISE installer. After a search it finds your copy of Photoshop (and maybe even the CanoScan Toolbox), and you click to install on that/those location(s).
You get a couple of error messages, which you click through.
You restart your computer and try to run the scanner but you get an error that the driver is wrong or missing and the process will abort.
Solution:
BEFORE you restart, and with the installer package still open -
1. Copy the Into_CFMSupport_Login & Into_CMPrefs folders to
Applications : Canon Utilities
Applications : Canoscan Toolbox
and remove the prefix Into_ from each folder
2. Check whether the installer placed N067U_Library.shlb into the top level (not User level)
Library : CFMSupport
and if it didn't, move it there yourself
THEN restart, and try again. It worked for me (via Photoshop), but whether it will work for everyone, I don't know. -
now I'm reading this book "Java Threads 2nd edition" by Scott Oaks and Henry Wong. Writer provide a class called BusyFlag to simulate the mutex.
I wonder why not use notifyall() to replay notify().
public class BusyFlag {
protected Thread busyflag = null;
protected int busycount = 0;
public synchronized void getBusyFlag() {
while (tryGetBusyFlag() == false) {
try {
wait();
} catch (Exception e) {
public synchronized boolean tryGetBusyFlag() {
if (busyflag == null) {
busyflag = Thread.currentThread();
busycount = 1;
return true;
if (busyflag == Thread.currentThread()) {
busycount++;
return true;
return false;
public synchronized void freeBusyFlag() {
if (getBusyFlagOwner() == Thread.currentThread()) {
busycount--;
if (busycount == 0) {
busyflag = null;
*notify();*
public synchronized Thread getBusyFlagOwner() {
return busyflag;
}naficbm wrote:
now I'm reading this book "Java Threads 2nd edition" by Scott Oaks and Henry Wong. Writer provide a class called BusyFlag to simulate the mutex.
I wonder why not use notifyall() to replay notify().Looks like it should work with notifyall as well. -
Why not use "new" operator with strings
why we not use new when declaring a String .because in java String are treated as objects. we use new operator for creating an object in java .
and same problem wiht array when we declare array as well as initialize .here we are alse not using new for array
whyStrings aren't just treated as objects, Strings are Objects.
As for why not using new for Strings, you can, if you want.:
String str = "this is a string";
and
String str = new String("this is a string");
do the same thing (nitty-gritty low level details about literals aside). Use whatever you like, but isn't it simpler not to type new String(...) since you still need to type the actual string?
As for arrays, you can use new:
int[] ints = new int[10];
or
int[] ints = { 0, 1, 2, 3, ..., 9 };
But the difference here is you are creating an empty array in the first one, the second creates and fills the array with the specified values. But which to you often depends on what you are doing. -
Why not use interfaces for constants?
Hi,
I have been getting conflicting views about why not use interfaces for constants?
Can anyone shed some light on it?
PiyushHow so?
If the constants are only used in a single classhow
does it help to put them in a separate structute?
(Ignoring the a type safe enumeration of course.)Well, mainly for readability. Suppose that you have a
web application which has a servlet class
"RedirectServlet", which takes a variable to redirect
to a given JSP file. In the JSP files, you want to
create forms which take this servlet as their action.
You could of course put all these "redirect"
constants in the RedirectServlet itself, but then
it's kind of weird that you have to import a
servlet in your jsp file to include these constants
and to be able to write
<form action="servlet/RedirectServlet?key=<%=
RedirectServlet.HOMEPAGE %>> or so.
Instead, you could create an interface called
"RedirectConstants", and then your servlet
RedirectServlet could implement this interface. Then
your JSP can also access these constants via this
interface.
But then again, this is merely a matter of style, I
fully agree that there is never a real _need_ to put
constants in a separate structure if they're only used
in a single class.Are you claiming that your example above is a single class? -
I can not use Power nap in my macbook air 2012
I can not use Power nap in my macbook air 2012, when I install updates and shut the macbook all downloads are canceled
Is it connected to the power adapter when this happens?
-
Why not buy? 2.16GHz CoreDuo MacBook Pro
I currently use a 17-inch G4 1.33GHz PowerBook and am ready for an upgrade. I'm considering to a new Core Duo machine. My uses are modest page layout (Quark Xpress) light photo editing (Photoshop) and presentations (PowerPoint). The ability to run Windows applications directly (With Parallels) is very important; moderate travel use and desktop replacement are the other criteria. There is currently what appears to be a screaming good deal from several of the mail-order houses ($1700 after rebates) on the original 17-inch 2.16GHz MacBook Pro. This is the version that came before todays Core 2 Duo machines and will obviously be slower and less capable. But saving a grand is attractive. Is there any compelling reason NOT to go for the Core Duo machine? Will it be unable to run applications that are foeseeable? Will it be an unloved technical orphan? Why might I regret the purchase?
Thanks for all advice.
PowerBook 17" Mac OS X (10.3.9)Tony is right, BUT to be more specific the 15in Core2Dues include both Firewire 800 and 400, where as the 15in CoreDuo had just firewire 400. As for the 17in CoreDuo (the one Aces is looking at) that did have firewire 800 adn 400...
I want to also add that the programs you listed you work with are questionable to me. I mean this in regards to their native processor language, those programs are written for PowerPC chips. I am not sure if you are familiar so please let me briefly explain (I, as well as others can go into more detail if needed). Anyways, as you know, the new Apple computers such as the MBP have intel processors. Meaning the entire chip architechture is different then that of the G3, G4, G5 (all were PowerPC chips). So although Apple rewrote the Operating system to work for the new intel chips, many software vendors, such as the programs you listed (Photoshop, Powerpoint, etc...) have yet to be rewritten. Therefore it theory they would not work at all! But of course Apple needed to do something about this compatability issue or else consumers would not buy the new intel processors.
So Apple created something called Rosetta. Rosetta is an emulator that runs in the background and is always ready to translate PowerPC programs to work on the new intel platform. So, if you had your new MBP and launched photoshop, it would launch like normal. But underneath, Rosetta is enabling this PowerPC program to work on the intel. The problem with this is: a signifigant performance hit. If you ever ran Virtual PC on your powerbook to use windows, you know how slow it can be.
My point in telling you this is that software vendors, such as Adobe, are working to create intel versions of their software so that no Rosetta (thus performance hits) will occur. And since Photoshop and others are still off in the distance, like this coming spring/summer Q2-Q3, I would say why not keep using your Powerbook and wait to upgrade until every program you want to use properly works with intel. By then, you can also probably get the current Core2Due MBP for a steal. -
Should I Use solar cells to recycle excessive screen radiant energy?
I've been using my new (refurbished) G5 for a few days now and the screen is so bright, even on the lowest Display setting, that it throws a shadow on the opposite wall. I'll have to invest in some dark glasses if I can't find a way to turn the luminance down. I should recycle some of that wasted energy by installing solar cells on the other wall.
On a serious note: I've been using an iBook for the past four years and have got used to running it on very low screen settings to save power. Side by side with the G5 it's dazzling, but I don't need so much dazzle.
Any suggestions how I can turn the brightness down to almost zero?Dude, I hear you, when I first powered up my iMac it was factory set at the brightest setting. I sat in front of it for 3 days, trying to adjust my eyes but just got headaches. Finally figured out you could adjust brightness...
If you're already set at the lowest setting, then you MIGHT be able to adjust through color profiles.
System Preferences > Displays > Color > you can pick a different Display Profile or calibrate a profile... your best bet is to calibrate using 'expert mode' - skip to Target Gamma and adjust to far right... see how you like it and save with another name and use this profile...
Have fun, be careful...
Rick
iMac G5 iSight 20" - 30G iPOD in Slimming Black - Mac OS X (10.4.7) - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620 -
Why not use Jsp for control in MVC2 ?
hi
i am rajendra , i am preparing interview FAQ, so please give me my Que. Ans.
1) we are using servlet for control in MVC2 Module,then why we can not use
Jsp for control in mvc2
2) if we used jsp for control in mvc2 then what is disadvantage compare to if using servlet for control in mvc2
Please give me ans. as soon as..
Thanks.Are you preparing a FAQ for others or are you just cramming before an upcoming interview and someone gave you a set of questions? It looks more like the latter to me.
If you haven't actually written any MVC based code, you won't be able to snow the interviewer. It's better to just relax, get a good night's sleep and impress them with your willingness to learn, your fit with the team and whatever real accomplishments you have to show.
If you really want an answer to this I suggest that you try writing an MVC2 system using JSP for the controller, which is possible, and then try doing the same in a servlet, or better yet using a framework like Spring MVC or Struts to provide the servlet for you and let you concentrate on your application. -
Apache VS Netscape Why Not Use Apache....
Is this correct?
I should use Netscape as a proxy server to proxy jsp and servlet requests to
a weblogic cluster because the libproxy.so module has special functionality
in dealing with weblogic clusters.
I should NOT use Apache because it does not handle the in-memory replication
of Sessions to the weblogic cluster.
Why shouldn't I use Apache in a clustered environment?
Thanks
Michael Schreiber
Your assumption is correct. Currently there is no Apache plugin to
handle session replication for a clustered environment in 4.51. You can
use Apache's mod_proxy for simple proxying, but that will not handle
failover or load balancing. An apache plugin for clustered setups will
be available in Weblogic 5.0 (currently in public beta).
- Mike
Michael Schreiber wrote:
>
> Is this correct?
>
> I should use Netscape as a proxy server to proxy jsp and servlet requests to
> a weblogic cluster because the libproxy.so module has special functionality
> in dealing with weblogic clusters.
>
> I should NOT use Apache because it does not handle the in-memory replication
> of Sessions to the weblogic cluster.
>
> Why shouldn't I use Apache in a clustered environment?
>
> Thanks
> Michael Schreiber
-
Xletview: why not use sun's javaTV source code directly ?
xletview : one emulator for viewing MHP Xlets on a PC;
I see many difference from sun's code about the part of javaTV.
Why the author Martin Sveden need to rewrite them and not use sun's javaTV source code directly ?
Thank you for your any answer.
Sorry for my horrible english.XleView is a fine effort, but it has its limitations. I tried using it for the GunBunny demo available in the JavaME SDK 3.0 Eary Access available in
http://java.sun.com/javame/downloads/sdk30ea.jsp
and I encountered some of thost limitations. What Sveden does it several tricky manipulations in a classloader for the Xlet. In particular, he translates bytecode as he loads the Xlet's classes, changing some class names, such as changing
java.awt.Toolkit
tto
xjava.awt.Toolkit
This works up to a point. This version of Toolkit usually just turns around calls java.awt.Toolkit's corresponding routine, but he deliberately he does not implement the ubiquitous
public Image createImage(URL url)
When I downloaded his source and tried adding ths into his code, I then encountered at runtime
Uncaught error fetching image:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getConnection(URLImageSource.java:97)
at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:107)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:240)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
I think that this is some optimization within J2SE where they do not wait for the image to load and do the fetching in a separate thread. I do not know if there is some way to force the Sun's JVM to disable this optimization and I have not investigated furher, but I did email Svenden. I noticed that the current version of XleTView is 0.3.6 which is dated June 2004 and the web site http://www.xletview.org/ has had not news since 2005 .
I note that Svenden provides an elegant user interface but I advise you not try to learn the API's from his classes: he makes no effort to keep his implementation separate from the API standards so, for instance, his version of HScene is
package org.havi.ui;
public class HScene extends Container
implements HComponentOrdering, ImageObserver, MenuContainer, Serializable {
whereas the real standard is
public class HScene extends Container
implements HComponentOrdering {
I hate to critize such a fine effort, but it is best to keep an imlementation separate from the public API.
I agree that having a lightweight, simple and Java feature-complete Xlet viewer running would be very helpful, especially if BD-J gains much popularity. I have found trying to work with the vendor players described at
http://wiki.java.net/bin/view/Mobileandembedded/Blu-RayDiscHelloWorld
to be frustrating. I tried all four mentioned and I have gotten none of them to work for me yet. These are huge downloads and the "Intro Version" of Arcsoft pointed to at the SDK 3.0 Early Access page
http://www.arcsoft.com/products/totalmediatheatre/
just gives a "File not found" HTML page. This forum post mentions that perhaps it was recently taken down?
http://www.arcsoft.com/forum/forum_posts.asp?TID=1084
I have already emailed Michael Downs of Arcsoft since he is mentioned here:
http://wiki.java.net/bin/view/Mobileandembedded/BDJPCPlayers
What did work for me was to take Sun's JavaTV 1.1 Reference Implementation and PowerDVD's BDJ.jar and hack/fix a few classes to get GunBunny to work within the RI's RunXlet program. This is not trivial but I will will describe:
Download the JavaME 3.0 SDK EA and then download the correct version of PowerDVD that the SDK page points to:
http://www.brothersoft.com/powerdvd-download-50794.html
Download the RI binary and source of Java TV API 1.1
http://java.sun.com/javame/technology/javatv/index.jsp
Since I am too lazy to use anything but the latest 1.6 JRE as a runtime, I have to fix
com.sun.tv.media.util.MediaThread
to comment out its stop() method. This is becase stop() was deprecated and made final in J2SE 1.5
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#stop()
http://java.sun.com/j2se/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html
Next, I had to mae a change to Sun's JavaTV implementation to keep the GunBunny demo happy by providing a ServiceContext. The RunXlet program calls SIEmulator, but that environment does not provide a ServiceContex, so I added one back in:
com.sun.tv.receiver.SIEmulator
private static ServiceContext svcctx = null;
Add before every call to new AppSignalEvent() and add the svcctx as the second-to-last argument:
if(svcctx == null){ try { svcctx = new com.sun.tv.ServiceContextImpl(); }catch (Exception e){ e.printStackTrace(); } }
I then had to hack a few PowerDVD classes, which is evil of me. First, I had to build an empty class by the name of
sun.util.BDJPlugin
becuase some PowerDVD class extends it but it is not in its BDJ.jar and then I had to reverse-compile (evil!) and modify one of their internal classes to avoid a dependency on their native methods. What I ended up with was a hacked version of com.cl.bdj.helper.CUtil to avoid the native methods which access the registry where they query for registry settings but also provide a default value (which I return).
com.cl.bdj.helper.CUtil
private static String pGetRegistryString(long i ,String string ,String string3) {
return string3;
private static int pGetRegistryInt(long i ,String string ,int j) {
return j;
The last thing I had to do was to change com.hdccookbook.gunbunny.BaseXlet, to use the JavaTV container rather than the org.havi one:
import javax.tv.graphics.TVContainer;
import java.awt.Container;
change
// protected HScene scene;
protected Container scene;
public final void run() {
// waitForPresenting();
// scene = HSceneFactory.getInstance().getDefaultHScene();
scene = TVContainer.getRootContainer(xletContext);
In order to having working keys, I had to add the KeyListener interface to BaseXet and
run(){
addKeyListener(this);
and then add a near duplicate of the org.dvb.event.UserEvent* stuff that is already there:
public void keyPressed(KeyEvent e){
switch(e.getKeyCode()){
case KeyEvent.VK_0:
case KeyEvent.VK_1:
case KeyEvent.VK_2:
case KeyEvent.VK_3:
case KeyEvent.VK_4:
case KeyEvent.VK_5:
case KeyEvent.VK_6:
case KeyEvent.VK_7:
case KeyEvent.VK_8:
case KeyEvent.VK_9:
numberKeyPressed(e.getKeyCode() - KeyEvent.VK_0);
break;
case KeyEvent.VK_ENTER:
enterKeyPressed();
break;
case KeyEvent.VK_LEFT:
arrowLeftKeyPressed();
break;
case KeyEvent.VK_RIGHT:
arrowRightPressed();
break;
case KeyEvent.VK_UP:
arrowUpPressed();
break;
case KeyEvent.VK_DOWN:
arrowDownPressed();
break;
public void keyReleased(KeyEvent e){
// System.out.println("Released: e="+e+" code="+e.getKeyCode());
public void keyTyped(KeyEvent e) {
// System.out.println("Typed: e="+e+" code="+e.getKeyCode());
It then comes up and functions, but the rendering is not very good. Again, this is complete hack. Running the Java TV 1.1 RI in a JRE 1.6 is not supported. If you try to run any of the other examples, you will discover that the XML parsing is broken in JRE 1.6 with this message:
Parsing failed: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequence
Exception: Invalid byte 1 of 1-byte UTF-8 sequence., file: lib\JavaTVSampleFile01.xml
and you have to go and change the lines in
lib\JavaTV.properties
from
ServiceFileHandler=com.sun.tv.receiver.ReceiverFile
# ServiceFileHandler=SampleData_01
to
# ServiceFileHandler=com.sun.tv.receiver.ReceiverFile
ServiceFileHandler=SampleData_01
and build samples\db\SampleData_01.java and put it in your classpath along with all these other hacks.
Nonetheless, if you want to develop a somewhat generic Xlet that uses some BD-J features, that is how you might do it. But the moment you exercise anything else in the vendor's BDJ.jar that simply doe snot work outside of their environment or invokes one of their native methods, you are again stuck.
It would be nice if Sun would at least bother to update the JavaTV RI with the fixes I hae mentioned. Their "jmflite" implementation does not render perfecly but at least it would give the programmer something to work with without having to deal with an older JRE, etc.
Andrew
Edited by: AndrewMorrow on Oct 20, 2008 2:48 AM -
Why not use Redo log for consistent read
Oracle 11.1.0.7:
This might be a stupid question.
As I understand if a select was issued at 7:00 AM and the data that select is going to read has changed at 7:10 AM even then Oracle will return the data that existed at 7:00 AM. And for this Oracle needs the data in Undo segments.
My question is since redo also has past and current information why can't redo logs be used to retreive that information? Why is undo required when redo already has all that information.user628400 wrote:
Thanks. I get that piece but isn't it the same problem with UNDO? It's written as it expires and there is no guranteee until we specifically ask oracle to gurantee the UNDO retention? I guess I am trying to understand that UNDO was created for effeciency purposes so that there is less performance overhead as compared to reading and writing from redo.And this also you said,
>
If data was changed to 100 to 200 wouldn't both the values be there in redo logs. As I understand:
1. Insert row with value 100 at 7:00 AM and commit. 100 will be writen to redo log
2. update row to 200 at 8:00 AM and commit. 200 will be written to redo log
So in essence 100 and 200 both are there in the redo logs and if select was issued at 7:00 data can be read from redo log too. Please correct me if I am understanding it incorrectly.I guess you didnt understand the explaination that I did. Its not the old data that is kept. Its the changed vector of Undo that is kept which is useful to "recover" it when its gone but not useful as such for a select statement. Whereas in an Undo block, the actual value is kept. You must remember that its still a block only which can contain data just like your normal block which may contain a table like EMP. So its not 100,200 but the change vectors of these things which is useful to recover the transaction based on their SCN numbers and would be read in that order as well. And to read the data from Undo, its quite simple for oracle to do so using an Undo block as the transaction table which holds the entry for the transaction, knows where the old data is kept in the Undo Segment. You may have seen XIDSEQ, XIDUSN, XIDSLOT in the tranaction id which are nothing but the information that where the undo data is kept. And to read it, unlke redo, undo plays a good role.
About the expiry of Undo, you must know that only INACTIVE Undo extents are marked for expiry. The Active Extents which are having an ongoing tranaction records, are never marked for it. You can come back after a lifetime and if undo is there, your old data would be kept safe by oracle since its useful for the multiversioning. Undo Retention is to keep the old data after commit, something which you need not to do if you are on 11g and using Total Recall feature!
HTH
Aman.... -
Why not use iPhone in car as active noise canceller.
The iPhone uses noise cancellation during conversations. Why not make that available in the car through the car audio to quiet the interior at all times?
I have one of those stereos bought from Ebay, no badge, no name, and with multitude of functions,and a mic attached to my visor. Once it is paired with Iphone, all my music and calls go through the car stereo.
for applications that do not direct Audio through BT such as CoPilot (GPS navigation) I connect the Iphone through headset socket and into the stereo AUX input and works great (all sounds, voice,calls) go through it. One disadvantage of this method is that I can't listen to the radio. Well you cannot have it all. Or perhaps there is a Radio application where it plays in the background while I still use my GPS application. -
I've noticed a few posts recently that deal with how to calculate the differences between dates (example, example), and it seems like folks are shying away from DateFormat to parse dates for these calculations. Incidentally, the OPs are running into month offset problems as well when trying to calculate using Calendars.
DateFormat seems much more simple to me than all the other parsing rigmarole, but I wonder if I'm missing something. Is there a good reason to not use this technique in the listed examples, or can it be chalked up to unfamiliarity with the API?In "Literate Programming," Donald Knuth wrote "We
should forget about small efficiencies, about 97% of
the time. Premature optimization is the root of all
evil." That'll garner the remaining Dukes. Excellent words to program by, even (especially) for newbies such as I.
Maybe you are looking for
-
Hello. I have a flash slide on my site. The slide has next and previous buttons to either move to the next slide or the previous slide. Each slide is only an image. When you click a particular image it takes you to the page specific to the image you
-
I am looking for the best way for us to file share between our PC and mobil devices? We have tons of PDF files and would benefit from being able to view/edit while in the field but are not sure of the best way to do so- - iCloud drive isn't ideal be
-
Dear Friend, I got this error, and i searched for it in the forum,I could find out some solutions , but they were not useful for me, Error : "Element window MAIN is not defined for form". For this I checked Main window element name and print p
-
Perhaps this is something I overlooked, but all the photos that I synched using Apple TV were forced into a landscape orientation, even though they are displayed as portrait on my computer. Is there an easy solution? Dell Windows XP
-
I attempt to answer questions on the Bridge Forum. Several users are now asking about getting the latest DNG so they can use on their new cameras. If you have CS3 or even 4 and want the latest how do you do that? I have never done this but the web