Why is it that if you open up an EXE in a hex editor, you will see all sorts of things. If computers only understand binary then shouldn't there only be 2 possible symbols seen in the file? Thanks
In an interpreted language like PHP it is possible in theory to set up some sort of callback function that would be run indiscriminately after every line of code. I am wondering if such a thing exists in PHP or if such a thing could be accomplished in any way? Such a feature could be useful for diagnostics or performance tests. Does anyone know of such a mechanism in PHP?
I have to process a file everyday. This file is sent to my Email once everyday. If I can get to this email once every day and download the attachment, that had be awesome. Is it even remotely possible to do such a thing?
Thanks!
Hi there,
I wonder if it is possible to build iphone-wireless' stumbler app with Apple XCode or it is necessary to use alternative arm-apple-darwin environment to build it.
thanks
is it possible to read the datatype of a vector?
var vec:Vector.<int> = new Vector.<int>;
trace(the datatype of vec);
//ideally this would output 'int'
I have defined ! (factorial) function and registered it as arithmetic function and an operator, so that I can execute: A is 6!.
Now I'd like to define !! (factorial of odd numbers), but the same way - writing clauses, registering arithmetic_function and operator, calling A is 7!! - results in
SyntaxError: Operator expected
How should I, if possible, register !! operator ?
Yes, I realize, ! is normally the cut.
Under
(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)
peoplePicker
shouldContinueAfterSelectingPerson:(ABRecordRef)person
property:(ABPropertyID)property
identifier:(ABMultiValueIdentifier)identifier{}
is it possible to get returned the phone number or somewhat the user has clicked?
Just wondering if its possible to set a default tablespace in postgres to keep indexes. Would like the databases to live on the default tablespace for postgres, however, would like to get the indexes on a different set of disks just to keep the i/o traffic separated.
It does not appear to me that it can be done without going in and doing an ALTER index TABLESPACE command, and then the index is moved and will stay there, but the databases and indexes are part of a django app, so non-django intervention can cause some problems.
I was to have some extra information in the callback to sa_sigaction handler, it does not seems possible.
So I was wondering if you could suggest me alternatives. Basic requirements:
Function A raises an signal/event with a pointer to a struct
Handler function tackles the event.
The handler function would only be called on an event and a loop to wait for the event, as in select() , is undesirable.
TIA
I was just wondering if it would be possible to bind the list of available FontStyles and FontWeights to a ComboBox?
For example, to bind the list of fonts to a combobox you can use:
FontComboBox.ItemsSource = Fonts.SystemFontFamilies;
Can I also have something for :
FontStyleComboBox.ItemsSource = ....
FontWeightComboBox.ItemsSource = .... ?
Would it require reflection on the System.Windows.FontWeights and System.Windows.FontStyles classes or would there be an easier way than that?
Thanks
How do I disable transactions in Rails' ActiveRecord? I have a specific situation where I want them to go away I can't seem to find anything useful out there. Is it even possible?
I have a set of services in my web service. every one should be authenticated before accessing any one of service. To achieve this, i want to add a login page in web service project with form authentication. is it possible?
I am calling a command-line program from my Perl script. When these programs crash, I am prompted with a messagebox asking me if I want to notify Microsoft. Since this is an automated system it would be desirable if I could suppress that message and continue with other things in my script. Is this possible?
Anyone know how to use Get-Member to Recursively dump to a text file The entire properties|methods tree of a COM object? (The Output formatting of Get-Object is fine)
Instead of giving me only the top level as in this example;
New-Object -com AutoItX3.Control | Get-Member
I need it to recurse the entire object to return results.
If This is not possible, how would I dump the methods/properties of a sub object?
I want to make a insert into 2 tables
visits:
visit_id int | card_id int
registration:
registration_id int | type enum('in','out') | timestamp int | visit_id int
i want something like:
INSERT INTO `visits` as v ,`registration` as v
(v.`visit_id`,v.`card_id`,r.`registration_id`, r.`type`, r.`timestamp`, r.`visit_id`)
VALUES (NULL, 12131141,NULL, UNIX_TIMESTAMP(), v.`visit_id`);
I wonder if its possible
In mozilla's firefox browser is it possible to dock the dom inspector to the bottom of the current browser tab? Similar to the internet explorer developer toolbar?
When you have a circular buffer represented as an array, and you need the index to wraparound (i.e., when you reach the highest possible index and increment it), is it "better" to:
return (i++ == buffer.length) ? 0: i;
Or
return i++ % buffer.length;
Has using the modulo operator any drawbacks? Is it less readable than the first solution?
I am trying to make a little application to allow to record actions within a Flash and Silverlight application. In such manner that you can compile your interactive application in test-mode and then be able to click on elements which then passed the action to Selenium IDE which then adds this command to the testcase.
I am curious if this even possible and how I can achieve this in Firefox?
Is it possible to use a Facebook session in a Flash to authenticate on Google App Engine? I'm trying to create a Flash game and I want to use GAE as the back-end.
I would basically like to do the same as this question, but grouping by combinations of two values, rather than just one:
SELECT player_type, team, COUNT(*) FROM players GROUP BY player_type, team;
Does anyone know whether, and how, this is possible in Django? I'm using 1.2.
I'm working on a Facebook app, and I'm trying to get a friends list similar to Farmville 2.
They have a "friends who like games" list. My first thought is, I can get a list of all friends, then for each friend, see if they like any pages with type == "GAMES/TOYS". But ideally, I would like to get the list in one query (not by making one graph API or FQL request per friend).
Is this possible, and if so, how?
I have implemented one photo application in which i want to implement zoom and pinch zoom effect same as default photo application in iphone.How it possible please help me for this query.thanks in advance.
An odd question:
Just wondering if it is possible by some loophole to define a method name that ends in a colon. The purpose being things like this:
mymethod: arg1,arg2,arg3