Data dodania Pytanie
2017-12-11 18:12 Accessing USB device information Windows »
I am trying to retrieve information from a USB device. See below my simple code. I am getting an error(see below the code). #!/usr/bin/python import ...
(0) odpowiedzi
2017-12-04 10:12 Run Batch File In postgresql in single click »
Hello Experts I have made batch file to run query in postgresql it works fine after pressing enter key 4 times without typing. 1-server, 2 database, 3...
(1) odpowiedzi
2017-11-24 16:11 How to add Engine.Razor reference in a windows service in mvc application »
I am unable to add System.Web.Razor reference in a windows service. Added below code in app.config and added the .DLL reference in references folder a...
(0) odpowiedzi
2017-11-16 14:11 npm is not recognized as an internal or external command in windows »
When I try to run npm install on windows, I get the following error. How can get rid of it? D:\Xampp\htdocs\laravelchat>npm install 'CALL "C:\Prog...
(1) odpowiedzi
2017-11-07 22:11 "Hello world" Android app with as few files as possible, no IDE, and text editor only »
In nearly all languages that I've used (Python, C, C++, etc.), it's possible to write a "hello world" application with a text editor only and run it f...
(2) odpowiedzi
2017-11-03 16:11 Cannot locate jruby during logstash installation »
I am learning something about ElasticSearch Stack and I am having a problem installing Logstash on Windows 10 (windows 10 enterprise N OS build 15063....
(0) odpowiedzi
2017-11-02 22:11 Why isn't context manager closing file descriptor? »
I'm trying to create a context manager that uses mmap which is itself is a context manager. Initially I had an dumb open file problem [Why isn't mmap ...
(1) odpowiedzi
2017-10-27 14:10 How to create a temporary list from a 2d array to calculate a median? »
I need to create a class ArrayMethods. With a • public static double median(double[][] a) method. I know that i need to create a list with all the ...
(1) odpowiedzi
2017-10-27 09:10 How to set MMX registers in a Windows exception handler to emulate unsupported 3DNow! instructions »
I'm trying to revive an old Win32 game that uses 3DNow! instruction set to make 3D rendering. On modern OSs like Win7 - Win10 instructions like FPADD...
(1) odpowiedzi
2017-10-25 05:10 Good or bad idea to prefix all classes with same abbreviation? »
So in practically all my programs I wrote I always prefixed every class I created with the same abbreviation that was in relation to the program. So f...
(1) odpowiedzi
2017-10-16 20:10 Prevent Win32 from drawing classic title bar »
I wanted to add a nice shadow to my borderless form, and the best way I found to do it with minimal performance loss is to use DwmExtendFrameIntoClien...
(1) odpowiedzi
2017-09-27 01:09 how do I define the path when running a Rake task with system command from another Rake task »
So, I have a rake task that runs as a chron task (its running on windows so this is rufus scheduler instead), this particular rake task sends data via...
(0) odpowiedzi
2017-09-25 15:09 Google chrome - how to activate google chrome and switch to specific tab window? »
On windows system, i have Python/QT GUI running. Now on button push i need to activate minimised or not minimised google chrome in front of my applica...
(1) odpowiedzi
2017-09-25 10:09 Failure to uninstall a python package from a pypy virtualenv on windows in develop mode »
TL;DR: Running python setup.py develop --uninstall from a pypy environment created using tox results in an exception: error: [Error 32] The process ca...
(2) odpowiedzi
2017-09-06 18:09 How to use psutil.Popen with unicode commands on Python 2 »
Hey I'm trying to execute the following command (using psutil.Popen with python 2.7): "C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.E...
(0) odpowiedzi
2017-09-04 23:09 PHP exec() under Apache returns null and 255 when running a script »
Ok, after having bashed my head on this for hours I decided to ask for help. I have a Windows Server 2008 running Apache 2.4 and PHP 7.1. My applicati...
(0) odpowiedzi
2017-09-04 18:09 "wrong first argument" exception in Process.spawn »
I'm trying to spawn a process like this # name I get from network (I'm using webrick) Process.spawn(name) however I end up with ArgumentError: wro...
(1) odpowiedzi
2017-09-03 23:09 running a cmd file with an accented character in its name, in Python 2 on Windows »
I have the file t2ű.cmd on Windows with an accented character in its name, and I'd like to run it from Python 2 code. Opening the file (open(u't2\u0...
(1) odpowiedzi
2017-09-03 21:09 Why do python and py commands run different python 3 versions? »
I've installed django using the pip command (pip install Django), but i can't run it using the py command, as it can't find the module. I can only ma...
(2) odpowiedzi
2017-09-03 18:09 opening a file with an accented character in its name, in Python 2 on Windows »
In a directory in Windows I have 2 files, both of them with an accented character in its name: t1û.fn and t2ű.fn; The dir command in the Command Pro...
(1) odpowiedzi
2017-09-01 17:09 Cannot get BHO working in 64 bit »
I'm working on IE11 Browser Helper Object. I got it working when I build it in x86. The problem is, I want to use the project on x64 the BHO extension...
(0) odpowiedzi
2017-08-28 06:08 How to put a Python script in the background without pythonw.exe? »
I'm fairly new to Python and I have a python script that I would like to ultimately convert to a Windows executable (which I already know how to do). ...
(1) odpowiedzi
2017-08-26 08:08 How to Append to Array Field in Python Django »
I am making an E commerce site, I want to store Cart elements in an integer Array Field. I am using PostGreSql as my database. I have created model fo...
(2) odpowiedzi
2017-08-12 08:08 Disabling an annoying debugger notification in Visual Studio 2017 »
Whenever I start debugging with heap profiling turned on in the Diagnostics tools in my Visual Studio 2017, I get the following notification(s): Thi...
(0) odpowiedzi
2017-08-08 19:08 Does using print() too much cause it to fail? »
TL;DR: The print() result is not updating in a Windows Console. Executes fine in IDLE. Program is executing even though Windows Console is not upd...
(3) odpowiedzi
2017-08-01 05:08 Can I read the CPU performance counters from a user-mode program in Windows? »
I would like to program and read the hardware performance counters offered on all recent x86 hardware. On Linux there are the various perf_events sys...
(1) odpowiedzi
2017-07-26 13:07 How to install gems in jruby on windows? »
I am using jruby 1.5.6 and want to install cancan gem. I used "jruby -S gem install cancan" but am getting :- ERROR: http://gems.rubyforge.org/ does...
(0) odpowiedzi
2017-07-24 00:07 How I can Dockerize my web api on windows »
Docker is a full development platform for creating containerized apps, and Docker for Windows is the best way to get started with Docker on Windows sy...
(1) odpowiedzi
2017-07-21 18:07 How to eager commit allocated memory in C++? »
The General Situation An application that is extremely intensive on both bandwidth, CPU usage, and GPU usage needs to transfer about 10-15GB per seco...
(1) odpowiedzi
2017-07-19 10:07 Batch file to remove a chrome extension »
I have an extension installed in Google Chrome. how can I remove (or uninstall) the extension using windows batch file? By running the batch file, the...
(0) odpowiedzi
2017-07-18 02:07 Make Windows appear to have a custom OS »
My company just bought some windows tablets to use. I have since designed a webpage that will be the OS. They want me lock out all of the windows feat...
(0) odpowiedzi
2017-07-17 23:07 Cannot install Watir on Jruby 9.1.12.0 - Windows 7 »
I am trying to install gems from a local gem repository into Jruby 9.1.12.0 and I am getting stuck on Watir which is pretty much the first one I trie...
(1) odpowiedzi
2017-07-13 16:07 Prevent Windows 10 from automatically restarting after an update programmatically »
QUESTION: Is there a programmatic way to prevent Windows 10 from automatically restarting after an update? We work on "mission-critical" software th...
(2) odpowiedzi
2017-07-06 15:07 Passing cmdline arguments that have quotes in them »
I'm trying to create a ruby script that will run the following command: UV4.exe -j0 -cr test.uvprojx -t"test" I've tried to use Open3.capture3 as: ...
(1) odpowiedzi
2017-07-04 17:07 Windows NodeJS: always get either "Error: ENOENT: no such file or directory, open" or "Error: EACCES: permission denied, open" »
Here is my code: var fs = require('fs'); var util = require('util'); var logFile = fs.createWriteStream('C:/text.txt', { flags: 'a' }); // Or 'w' to...
(1) odpowiedzi