How does objdump manage to display source code? Is there a reference to the source file in the binary? I tried running strings on the binary and couldn't find any reference to the source file listed...
Thanks.
I have data in the form of four columns. The first three columns represent time, value1, value 2. The fourth column is binary, all 0's or 1's. Is there a way to tell excel to delete time, value1 and value 2, when the corresponding binary value in column four is 0? I know this is a lot easier in C++ or matlab, but for reasons beyond my control, I must do it in excel.
What is the best way to parse (get a DOM tree of) a HTML result of XmlHttpRequest in Firefox?
EDIT:
I do not have the DOM tree, I want to acquire it.
XmlHttpRequest's "responseXML" works only when the result is actual XML, so I have only responseText to work with.
The innerHTML hack doesn't seem to work with a complete HTML document (in <html</html). - turns out it works fine.
What really surprises me is lack of some essential functionality in Finder, when one migrates from Windows to OS X. One of the things is a possibility to open an archive as a folder, i.e. staying in the directory tree and being able to drag and drop files from the archive to folders in the tree, sidebar etc.
What would you do to enable such functionality?
According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren.
I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I missing anything?
Does anyone could tell something about these file? As I know:
1. Common-Lisp and Scheme are both some lisp programming langue.
2. common-Lisp source file *.lisp can be compiled into binary file *.fasl which can be load faster than the source file.
Q:Can the Scheme source code *.scm be compiled into some binary file that will be load faster than the source code?
Thanks in advance
joe
Hello everyone, i'm looking for a way in python to run an external binary and watch it's output for: "up to date" If "up to date" isn't returned i want to run the original command again, once "up to date" is displayed i would like to be able to run another script. So far I've figured out how to run the binary with options using subprocess but thats as far as I've gotten. Thanks!
Hi,
I am developing an iphone application which needs to upload some image files to server.The images needs to be uploaded as binary data.I converted the image to NSData using
[NSData dataWithContentsOfFile:filepath];
But i dont know how to convert this NSData to Binary data.Looking for a solution
Thanks,
I am getting an error that says:
error: looser throw specifier for 'virtual CPLAT::CP_Window::~CP_Window()'
On the destructor, I have never heard of this before and some Google Searches say this might be a GCC 4 problem, which I would not be sure how to work around since I need GCC 4 to build a Universal Binary.
My Environment: OS X 10.6, XCode 3.2.2, GCC 4 to build a universal binary.
What is the issue?
It seems like there are plenty of examples of clever things being done in a lazily-evaluated language that can't be done in an environment with strict evaluation. For example infinite lists in Haskell or replacing every element in a tree with the tree's minimum value in one pass.
Are there any examples of clever things being done in a strictly-evaluated language that can't easily be done in a lazily-evaluated language?
Running a (seg)faulty native windows binary from within a cygwin shell leads to restart the binary for several times. Since I want to analyze the bug I activated windbg as the post mortem debugger (yes, as administrator), but somehow cygwin interferes and windbg does not get triggered.
OS: 64bit Windows7 (happened on WindowsXP as well), Cygwin 1.7.x
Hi,
I am using C# and I am having trouble loading large files into a binary field use byte arrays.
Basically, if I load a file that is too large, I get memory problems.
Is there a way to load a file into a binary field without using large amounts of ram, i.e. avoid loading the file into memory first?
If it helps, I am using Advantage Database Server and this is using a winforms app not a web app.
Regards
This file appears to be in a binary XML format. What is this format and how can it be parsed programmatically (as opposed to using the aapt dump tool in the SDK)?
This binary format is not discussed in the in the documentation here: http://developer.android.com/guide/topics/manifest/manifest-intro.html
Note: I want to access this information from outside the Android environment, preferably from Java.
Using Google app engine, is it possible to initialize a globally accessible singleton on app startup? I have a large static tree structure that I need to use on every request and want to initialize it beforehand. The tree structure is too large (20+MB) to be put into Memcache and I am trying to figure out what other alternatives I have.
I have constructed an XML tree structure of an XML file. I am able to trace the entire tree.
When i want to retrieve the attributes of an element, it is returning as NSXMlNode of kind NSXMLAttributeKind. How can i extract the key value pairs in the attribute node.
Hi All,
Not able to create standalone python binary package
1) The binary package works only on the machine on which it is build
2) There is always an error with respect console.py dependent on cx_freeze and wx libraries (.so files).
3) Tried the rpath trick suggested at this link http://wiki.wxpython.org/CreatingStandaloneExecutables
4) I have also experimented with GUI2exe , but still dependency problem exists.
Please let me know if there is working python script to solve these dependence problem of cx_freeze and wx._core (.so) files.
Thank you
Hi
I'm working on steganography in binary image.but I have a problem in implementation in matlab.
I want to konw that,
How can I hide a message in a binary image?
And,
How can I do it in matlab with m-file or simulation?
I have a TreeView control in a Windows Forms application that is displaying my own subclass of TreeNode. I need to display a number along with each node's text indicating its position in the tree, like 1 for the root, 1.1 for its first child, 1.2 for its second child, etc. I'm using C# with .NET 2.0
The best that I can come up with is, after the tree is built, go to each node, recursively find the parent and append the parent's sibling number to the front of the node's text until you reach the root.
Hi
When I am deserializing a hierarchy I get the following error
The input stream is not a valid binary
format. The starting contents (in
bytes) are The input stream is not a
valid binary format. The starting
contents (in bytes) are:
20-01-20-20-20-FF-FF-FF-FF-01-20-20-20-20-20-20-20
..."
Any help please?
Im trying to read image from database with javascript ajax, but i could not read the xmlhttp.responseText to the img src ,the image is saved as binary data in database, and also retrived as binary data .can any one show me how to do that?
Hi,
I'm trying to upload a file via URLConnection, but i need to read/write it as a binary file without any encoding changes. So i've tried to read byte[] array from FileInputStream, but now i have an issue. The PrintWriter object i use for outputing to the server does not allow me to do writer.write(content) (where content is of type byte[]). How can i fix this? Or is there another way to quickly copy binary data from a FileInputStream to a PrintWriter?
Thank you
I have a tree structure table with columns:
id,parent,name.
Given a tree A-B-C,
how could i get the most top parent A's ID according to C's ID?
Especially how to write SQL with "with recursive"?
Thanks!
Is postresql capable of doing a full text search, based on 'half' a word?
For example i'm trying to seach foor tree, but i tell postgres to search for 'tr'.
I can't find such a solution that is capable of doing this.
Currently i'm using this
select * from test, to_tsquery('tree') as q where vectors @@ q ;
But i like to do something like this:
select * from test, to_tsquery('tr%') as q where vectors @@ q ;
I know php scripts don't actually compile until they are run. However say I want to create a small simple program and compile it to a binary without requiring the php binary. How could I do this?
I'v seen a few IDE's out there that would do this, but either they are all for windows or the linux versions don't actually build properly.
What I would like is something like py2exe that does it in the script itself.