every c program is converted to machine code, if this binary is distributed. Since the instruction set of a computer is well known, is it possible to get back the C original program?
I need to invalidate cache in a web application when related data is updated in another application (running on the same machine). Both applications use the same database. I know there's SqlCacheDependency.
How do is it in terms of performance?
Is interprocess communication (e.g. using name pipes) an option in web applications? Does it outperform SqlCacheDependency?
Hi, i'm looking for a way to ship the python interpreter with my application (also written in python), so that it doesn't need to have python installed on the machine.
I searched google and found a bunch of results about how to embed the python interpreter in applications written in various languages, but nothing for applications writtent in python itself... I don't need to "hide" my code or make a binary like cx_freeze does, i just don't want my users to have to install python to use my app, that's all.
Thanks.
Hi,
I have a Win32 application which hosts a windowless flash activeX. When I'm trying to enter Korean keyboard input on a regular Win machine (after adding Korean support), everything works fine. However, when I trying the same thing on a "real" Korean windows (Win 7 Ultimate K), the text comes out strangely. I.e., pressing the "z" button would yield "1K".
Any ideas?
Thanks in advace
since we are having our MOSS 2007 on 32bit machine it is not possible to upgrade it to 2010 so i think to only way is to install fresh moss 2010 and then migrate the sites and webs from 2007 to 2010,
what is the best way to do this?
Hello,
Are there any real differences between them?
I want to program in java and python. And of corse be a normal user: internet, etc
Which one will give me less headaches/more satisfaction ?
And which is better for a server machine ?
Thank you
Silverlight Out-of-browser applications get installed to a seemingly random location:
AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\2333572144.www.microsoft.com
for example.
Currently, I am simply storing this path, which works perfectly well on a single machine and a single install, but how can I refer to this application between different installations?
Hi,
I am using VS2010 ultimate Beta2 and under Visual C# - Workflow - I don't see the Sequential workflow console application or state machine console application
Could someone please advise why these are missing in VS2010. I am able to see them on VS2008 -Workflow.
Thank you
I need to run some code on a Linux machine with Python 2.3.4
pre-installed. I'm not on the sudoers list for that machine, so I
built Python 2.6.4 into (a subdirectory in) my home directory. Then I
attempted to use virtualenv (for the first time), but got:
$ Python-2.6.4/python virtualenv/virtualenv.py ENV
New python executable in ENV/bin/python
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Installing setuptools.........
Complete output from command /apps/users/dspitzer/ENV/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...
" /apps/users/dspitzer/virtualen...6.egg:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 67, in <module>
ImportError: No module named md5
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
File "virtualenv/virtualenv.py", line 1488, in <module>
main()
File "virtualenv/virtualenv.py", line 529, in main
use_distribute=options.use_distribute)
File "virtualenv/virtualenv.py", line 619, in create_environment
install_setuptools(py_executable, unzip=unzip_setuptools)
File "virtualenv/virtualenv.py", line 361, in install_setuptools
_install_req(py_executable, unzip)
File "virtualenv/virtualenv.py", line 337, in _install_req
cwd=cwd)
File "virtualenv/virtualenv.py", line 590, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /apps/users/dspitzer/ENV/bin/python -c "#!python
\"\"\"Bootstrap setuptoo...
" /apps/users/dspitzer/virtualen...6.egg failed with error code 1
Should I be setting PYTHONHOME to some value? (I intentionally named
my ENV "ENV" for lack of a better name.)
Not knowing if I can ignore those errors, I tried installing nose
(0.11.1) into my ENV:
$ cd nose-0.11.1/
$ ls
AUTHORS doc/ lgpl.txt nose.egg-info/ selftest.py*
bin/ examples/ MANIFEST.in nosetests.1 setup.cfg
build/ functional_tests/ NEWS PKG-INFO setup.py
CHANGELOG install-rpm.sh* nose/ README.txt unit_tests/
$ ~/ENV/bin/python setup.py install
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from nose import __version__ as VERSION
File "/apps/users/dspitzer/nose-0.11.1/nose/__init__.py", line 1, in <module>
from nose.core import collector, main, run, run_exit, runmodule
File "/apps/users/dspitzer/nose-0.11.1/nose/core.py", line 3, in <module>
from __future__ import generators
ImportError: No module named __future__
Any advice?
Hello,
I know of the "wget" function in shell, but I'm running perl from the command line on a windows machine and I was looking for a method of sequentially downloading the web source code from a site. For example: for www.abcd.com has the extension of it's subsites as 1,2,3 etc such that www.abcd.com/1 or www.abcd.com/2 is the syntax. I would like the source to be labeled as 1.source, 2.source etc for a defined set of pages 1-100 say.
Thanks for the help,
Jake
How do I install mod_python to run with Python 2.6 on a Windows machine? I could not find an installer for Python 2.6.
I downloaded this installer for (mod_python on Python 2.5): mod_python-3.3.1.win32-py2.5-Apache2.2.exe and extracted it to get PLATLIB and SCRIPTS folders. Where do I go from here?
I'm looking for a good book on how modern microprocessors are designed and work as I would like to increase my understanding of what makes them tick. Something that covers pipelines, superscalar architectures, caches etc. A book that is suitable for a programmer with several years of experience and has done and understands assembly programming and machine language, so basically not "CPUs for Dummies" or anything such.
What books do people who design today's processors read for instance?
im trying to find a php framework to build small,multilingual sites.
do you know a php framework with support for:
1.sqlite (it will be little sites so no performance problem and good for copy-paste from development to production)
2.orm
3.i18n & l10n
4.easy search addon
5.ability to just copy-paste no need to change config for going from devel machine to production
and if you know cms with those features put it too
thank you
I have some command-line commands to execute on a Windows machine. The programs I need to run are only available on Windows.
Is there a way to easily to do something like I would do with SSH? Example of what I mean:
ssh [email protected] "remote command to execute"
...or do I have to Remote Desktop just to do this? (I'd like to run the commands programmatically from another computer rather than running them by hand.)
getting
Traceback (most recent call last):
File "C:\projects\myproject\convert.py", line 139, in
import optparse
ImportError: No module named optparse.
when executing it using jython. Same module works fine when i execute it through python.
I am usinng window7 operating system. The same modle works fine on windows XP machine with both python and Jython.
I am getting an error while updating the webservice reference.
I doubt this is beacuse of the error in the machine.config file where I set up the usage of my custom SchemaImporterExtenstion.
PLease let me know how can i solve this?
Hi,
I'm user HttpListener. I want to only process requests however that come locally, not from another machine/server.
QUESTION: How would I programmatically verify if an incoming request is local for sure?
For example would it be using some of the HttpListenerRequest members?
thanks
I have a client app that makes calls to a WCF service. This app is on a public computer that's easily accessible and anyone can easily copy the .EXE and .CONFIG of my app into another machine and start using it.
Is there a pattern where I can check if the request is coming only from an app on a computer I installed it on and not on one it has been copied to?
Thanks in advance.
How can I effectively trace the raw data sent to my socket server listening on a win32 machine? I want the trace to be specific to the port my server is listening on, so I can monitor only that traffic.
I want to see how the data exchange works on the wire.
Problem on WindowsXP (likely will happen on all Win installs), first time using Mercurial. I found the answer in an inobvious place so I'm asking/answering the question myself so others don't have to search like I did.
First time using Mercurial on machine.
Add new repoz:
c:\bla\>hg add
no problem.
Next, commit:
c:\bla\hg commit
error:
abort: no username supplied (see "hg help config")
Hi,
I have made my first webpart using WSPBuilder. When I try to deploy it using STSADM, I get an error stating access is denied. I am an admin on the machine (well it's a VM).
Also, with WSPBuilder, do I need to change the config files (I assume no as the point of the tool is to automate this)?
Thanks
I'm trying to use CMake to build a program relying on blas, I'm detecting blas using :
include (${CMAKE_ROOT}/Modules/FindBLAS.cmake)
The problem is, FindBLAS require a fortran compiler and complain with
-- Looking for BLAS... - NOT found (Fortran not enabled)
As blas is already installed on my machine (ATLAS Blas), and gfortran is also installed, how can I enable Fortran, or is there a workaround to find the blas library for C?
Hi,
I have a native app that has an .OCX file that needs to be registered for it to be used in a .NET application.
Now currently there's different versions of this .OCX on the machine. Can someone please explain how this can affect the registration of this new (updated) .OCX file registration?
And how does my .NET app know which object to create from which .OCX file?
I want to package my VS2010 web application project ready for deployment with msdeploy.
On development machine I can do this using:
MSBuild.exe "C:\path\to\WebApp.csproj" /target:package
But on my build server I get this error:
error MSB4057: The target "package" does not exist in the project.
What am I missing on the build server?