IAPX88 can deal with 1 mega byte memory(20 bit addressing), now my question is how we make a 20 bit address by using two 16 bit registers.please give an example.
Hi guys,
I guess no one will have a definative answer to this but considered predictions would be appriciated.
I am in the process of developing a mySQL database for a web application and my question is:
Is it more efficient to make a single query that returns a single row using AJAX
or
To request 100 - 700 rows when the user will likely only ever use the results of two or three?
Really I am asking what is heavier for the server 2-3 requests with one result or 1 request with 100 - 700 results?
Thanks,
Mark
I want to create a Chrome extension that will automatically like every post I make on Facebook. My question is, how can I detect when I post something, and if that post if mine? Is there an event that occurs or something?
(And just for the record, I know that these sorts of things are impossible when other apps post on my behalf, at least from an extension perspective. So I'm only concentrating on posts that I actually click the "post" button, or enter for, myself.)
I know that different DBMSes support different aggregate functions; for example:
MySQL's aggregates
Oracle's aggregates
I want to get the list of aggregates mandated by the SQL standard. Or, to be more precise, the lists of mandatory aggregates for SQL 1992, 1998, 2003, 2008 and 2011 - with 2011 being the most important to me.
Edit: Of course if I buy a copy of the standards I could compile these lists myself. My question is whether they're accessible somewhere online.
Hi,
this is probably a very stupid question; in a bash script, given the output of, for instance;
awk '{print $7}' temp
it gives 0.54546
I would like to give this to a variable, so I tried:
read ENE <<< $(awk '{print $7}' temp)
but I get
Syntax error: redirection unexpected
Could you tell me why, and what is the easiest way to do this assignment?
Thanks
Hello all,
I have a pretty simple UITableView who's cells contain UITextFields and I need to be able to call resignFirstResponder to hide the keyboard whenever a user touches the UITableView outside of one of the cells.
I have read this question/answer but it seems like a very rudimentary way to achieve this. I have read about a way to do it by converting the UITableView to a UIControl so that you can connect the TouchDown event.
Does anybody know the standard or preferred way to achieve this functionality?
i think i know the answer to this question, but just want to make sure before i dismiss the possibility.
is it possible with user permission for my web app to access pim data like the address book on a iphone, similar to how a web app can access the location service?
I want to make someone able to register on my site (or upgrade their current account) with one of 3 membership levels. When someone selects the membership level (or upgrades their current account) and registers, they will register under that membership level and payment will be started from there. My real question being how do I make someone able to sign up (or upgrade) an account upon registration (for new accounts) and upgrade for existing accounts and have this happen automatically so I dont have to do them all by hand?
Thanks!
Benjamin
when I try to use a "third part module" in my perl script, I got some error message like
"unknown error, compilation failed in require at ... line xxx"
nothing else and the line mentioned in the error message is exact the same line I "use the module"...
my question is: are there any good practice to handle this situation? like a list to check or something else. thanks in advance.
Consider this simple example.
Class A {
B b;
A() {
this.b = new B(this);
}
}
In this example instance A knows about instance B, and instance B knows about instance A.
My question is: how to instantiate instance A with Guice, i.e. how to make Guice take care of this complex circle dependencies?
The echo area is the line at the bottom of Emacs below the mode line:
~ ~
| |
+-----------------------+
|-U:--- mode-line |
+-----------------------+
| M-x echo-area |
+-----------------------+
Now the mode line is highly customizable while the echo area is more rigid (and unused a lot of the time). The question is pretty simple: is it possible to hide the echo area during inactivity and redisplay it once it needs your attention:
~ ~ ~ ~
| | | |
| | +-----------------------+
| | |-U:--- mode-line |
+-----------------------+ +-----------------------+
|-U:--- mode-line | | M-x echo-area |
+-----------------------+ +-----------------------+
Inactive Active
This is similar to the way Google Chrome displays URLs when you hover your mose over a link and the Firefox addon Pentadactyl where the command-line is hidden by default.
I have an XML file full of bookmarks from Google Bookmarks. (File: http://gist.github.com/324844) I want to pull the bookmark based on this path: xml_api_reply-bookmarks-bookmark-labels-label.
So, my question is How can I use SimpleXML to grab the bookmarks that have the label Inspiration? Some bookmarks may have more than one bookmark.
I have a situation where my subclass is not seeing the superclass' instance variable x. The ivar is obviously @protected by default, so why do I get a compiler error "x undeclared"?
- (CGSize)hitSize
{
// Compiler error
return size;
}
EDIT: hitSize is a property of a protocol my subclass is conforming to. The problem was that I had hitSize @synthesized, which was the culprit. The question then is why can't the synthesized getter see the ivar?
Right now I am writing a simulation program which output is formatted according to certain factors. The question is in a MVC architecture, where is the conditional formatting to be taken place? What are some strategies for implement this feature?
FYI, The platform I am using is rather bare-bone in its GUI/front-end execution. To change color and formatting, it requires a change to the formatting state (much like OpenGL).
Git newbie here, quick question. I mistakenly added files using the command "git add file". I have not yet run "git commit". Is there a way to remove these files from the commit?
Hi all
Just a stupid beginner's question, which will be quickly solved, but I am curious.
http://www.irian.at/myfacesexamples/home.jsf says:
"MyFaces - The free JavaServer™ Faces Implementation"
Errr ... is Sun's implementation not free, then?
Thanks & Cheers
Er
Trying to apply filter / attribute comparison in the Xmldocument. Obviously , the following code snippet wouldn't work because the expression can't be converted using number() function. (according to the answer of my other question).
I'm wondering if there is a way to do the DateTime string comparison in XmlDoc.
XmlNodeList test = x2PathDoc.SelectNodes("//Config
/Entity
[@TargetDateTime>
'2010-12-19T03:25:00-08:00']");
Hi,
In my iPhone application, there is a requirement to save a few log files in the phone(files are run-time generated).
Then I have to copy/transfer the files into the pc.
Can anyone suggest the best way to do this.
Pls consider this as a newbee question.
Thanks in advance..
~Dhanesh
HI,
I need to create an array of images,in which, every time i tap, a new image gets placed at "view".
and at some particular duration of time, i need to clear that array of images, so that all the images gets cleared from the view.
like on button click, i want to clear all the images which are on the view, through taps,
should be clear at once.
Hope i m clear with my question.
looking for an quick reply.
regards
shishir
The upcoming version of Photoshop a feature called Content-Aware fill.
This feature will fill a selection of an image based on the surrounding image - to the point it can generate bushes and clouds while being seamless with the surrounding image.
See http://www.youtube.com/watch?v=NH0aEp1oDOI for a preview of the Photoshop feature I'm talking about.
My question is:
How does this feature work algorithmically?
Hello there, I would appreciate it if anyone can answer my question.
Identify the implicit cast and explicit cast?
int a = 2, b = 3;
float f = 2.5;
double d = -1.2;
int int_result;
float real_result;
The question was fairly descriptive but I'll describe it further.
Basically, I have Window1, clicking a button link opens window2. Clicking a button in window2
opens window3, clicking a button in window3 should bring window2 back to the front of the screen on top of window2.
I'm not sure how this is exactly done, however I have used and played around with focus(), opener and other various methods and I cannot seem to get it to work properly.
Thanks for any help in advance!
Write an application that inputs one number consisting of FIVE digits from the user, separates the number into its individual digits and prints the digits separated from one another by three spaces each. For example, if the user types in the number 12345, the program should print
1 2 3 4 5
The following screen dump of result is for your reference.
Input a digit: 12345
Digits in 12345 = 1 2 3 4 5
How to convert binary, OCT, HEX to calculate the question?
I've noticed in recent ads that the Verizon Droid and Droid Eris have to put up acknowledgement on Lucasfilm's trademark of the word "Droid", and had to pay licensing fees to use it.
I'm wondering if an app I'm building that uses the word Droid in the naming is violating said trademark. I've noticed other apps that do it (Twitdroid), and never once considered it a problem.
The name in question would be ServiceDroid.