I have a totally safe file that is a small executable program in the .out format. Being a windows user I was unable to run it, so I used a binary viewer software to open the file as pure binary code. I'm assuming I should be able to run it now, as binary code runs everywhere regardless of OS. I was just wondering how I could do this?
If your executeable file is compiled and linked for windows, you need to rename it to: name.out -> name.exe or name.com depending on type of executeable.
Related
Sikuli involves both Java and Python.
You can find Sikuli here: http://www.sikuli.org/
Question:
Can we create an exe file from sikuli?
Having a folder that includes screen captured pieces, along with the exe file is not a problem.
Even a simple double click program on something on screen would do as a sample program and sikuli doesn't support actual code standalone, it creates files of course (including one in python)
My worktime has ended so I will be afk, so give me some time till I will reach home to reply on any questions that might arise.
You can create an executable using either, Java or Python. In case of Java, you can create an executable jar and in case of Python you can use py2exe utility.
I am going to use xml-to-json to process a large xml file. I searched several methods, but they did not work due to out of memory. Then I found a tool implemented in Haskell, but when I tried this tool according to the guide, it says command not found. Could anyone please tell me how to use this tool? Thanks in advance. here is the link of the tool: https://github.com/sinelaw/xml-to-json#readme
Update
Screenshot of error
Most probably, your executable is built but isn't in your PATH.
On many systems cabal installs things to $HOME/.local/bin. So you can try adding that to your PATH environment variable.
It looks like you're using a Mac, in which case the path to use is $HOME/Library/Haskell/bin/. This page seems to have relevant instructions on how to configure Mac OS X.
I have to understand my application's crashes from stack trace WPDEV. I followed up this link but didn't understand Step 6 "Symbol File Path". What is that?
Thanks.
Symbol files help you debug by (among other things) providing names for functions in call stacks rather than just byte offsets into a DLL. Read these pages of documentation to fully understand what a symbol file is and how helpful they can be while debugging.
The symbol file path is the local folder(s) on disk or remote symbol server URL(s) where the symbol files are retrieved from. Microsoft and other organizations typically make available a symbol server where you can download the symbol files for any library they distribute.
Windbg and Visual Studio use this path and automatically figure out which symbols to download based on the libraries that are loaded in the process being debugged. They are then (usually) cached locally to avoid downloading them repeatedly.
I have a legacy Access application. The other day it was crashing, and crashed during Compact and Repair. After a whole bunch of Googling, what I finally had to do was decompile the MDB, then recompile it, and it would run again.
So my question is, what does Decompiling an MDB do, or for that matter what does compiling an MDB do? The code is accessible to me either way, and it appears the same in the VBA code editor. So is it just something internal to MS Access MDBs?
VBA gets compiled to intermediate language (if I remember correctly it's called P-code). You don't see it. It's embedded into the file.
When you save MS-Access database as .mde or .accde only the compiled version exists in the file. There is no code you can see.
AFAIK:
There are few states to your code. Your clean text code, which gets automatically compiled to let's call it op-code which gets compiled to Packed code. And when it runs it uses VM JIT to compile it on fly to machine code.
When your code gets compiled and you make changes to your source code you loose the compiled state when you run the application and then it runs in debug mode of the auto-compiled op-codes until you compile it again.
I have a netbook running Linux and a large collection of computer books and reference material as HTML. I'd like some compact way of storing these books which can be browed without unpacking them first. This would save space and reduce wear on my small SSD.
If there was some way to convince Firefox to browse files contained in ZIP file, this would be ideal. (I know iCab (Mac) had a web archive format that worked this way.) Perhaps a Firefox plugin? A small web server that can serve directly from ZIP files? Some magic FUSE module? Does anyone have any ideas?
On my PDA (which the netbook is largely replacing) I used iSilo for this, but it's not available for Linux, its conversions are lossy and it costs money.
There is the FUSE zip thing here :
http://code.google.com/p/fuse-zip/
Gvfs should also support zip files.
Calibre might help (convert to a compressed format, manage, view e-books).
You can use OpenOffice.org to open the html pages, and then save them as OO documents. OO documents are essentially a zip files.
Another option is to use OO to save as pdf.
You can even do this from a command line using this OO macro.
Same with AbiWord - you can use it on commandline to convert.
In the AbiWord example there is shown how to convert all files in a directory to a desired format (pdf). Then you can use pdftools to merge all pages in one document.
Also, I do not know what windows manager your laptop has, but if it is KDE, konqueror (the file and web browser for KDE) opens web pages from inside a zip file w/o any problem.
Most probably Gnome's Nautilus can do this as well (I have no Gnome here to test).
Have you ever tried to open a zip file with whatever file manager you have, and then click on a web page inside it?