Can I show file copy progress using FileInfo.CopyTo() in .NET?

I've created a copy utility in c# (.NET 2.0 Framework) that copies files, directories and recursive sub directories etc. The program has a GUI that shows the current file being copied, the current...

PyQt: How to update progress without freezing the GUI?

Questions: What is the best practice for keeping track of a thread's progress without locking the GUI ("Not Responding")? Generally, what are the best practices for threading as it applies to...

Untar multipart tarball on Windows

I have a series of files named filename.part0.tar, filename.part1.tar, … filename.part8.tar. I guess tar can create multiple volumes when archiving, but I can't seem to find a way to unarchive...

GUI-based or Web-based JSON editor that works like property explorer

Background: This is a request for something that may not exist yet, but I've been meaning to build one for a long time. First I will ask if anyone has seen anything like it yet. Suppose you have...

How to log the memory consumption on Linux?

Is there any ready-to-use solution to log the memory consumption from the start of the system? I'd like to log the data to simple text file or some database so I can analyze it later. I'm working...

Using Visual Studio project properties effectively for multiple projects and configurations

I have always used Visual Studios built in GUI support for configuring my projects, often using property sheets so that several projects will use a common set. One of my main gripes with this is...

Java Wait for thread to finish

I have a thread downloading data and I want to wait until the download is finished before I load the data. Is there a standard way of doing this? More Info: I have a Download class that gets data...

How can I perform a diff that ignores all comments?

I have a large codebase that was forked from the original project and I'm trying to track down all the differences from the original. A lot of the file edits consist of commented out debugging...

Stage only those files containing a specific change in Git

I want to upgrade to a newer version of a CMS whose development is tracked in Git. Since the CMS update is in the new year, every file gets the copyright date bumped from 2011 to 2012. I could...

Google Apps Script Spreadsheet Comment Automation

Today I have a question about Google Apps Scripts, specifically for Spreadsheets. I've already looked at the documentation here (yes, documentation on a Sheet within a Spreadsheet), but I haven't...

Git push hangs when pushing to Github?

Git push hangs everytime I try to push to github. I am using Cygwin and Windows 7. Git functions fine locally tracking branches, providing status, setting global user.name and user.email and...

Hide/Show Password in a JTextFIeld (Java Swing)

So I've been working on a Password Strength Checker and the way it works is that the user enters some random text into a textfield and then instantaneous visual feedback (breakdown of points) is...

Is it possible to have a class with more than one superclass?

I am creating an incredibly primitive blackjack game for my high school programming class using Swing, therefore, all my resource classes extend JPanel. I created the following resource...

railway booking program in python

I'm working on this project in python where I'm trying to code a system that allows the user to book, cancel, print train tickets and also save everything they've done to a separate file that the...

TKinter- is StringVar.trace called when the StringVar is added to a widget?

I have a Tkinter-using program which uses a number of StringVars to track data over multiple windows. I had been using myStringVar.trace('w', lambda *args: update()) to detect when the user...

JIRA API - Python Lib - Create_Issue - Option id 'null' is not valid

So my issue is with the Python Library for the JIRA API. We are using JIRA as a asset management database (Yes I know its normal used by dev's and we use it for that as well but this was a case...

No display name and no $DISPLAY environment variable using tkinter on raspberry Pi B+ from boot shell script

my first post so apologies if I do anything wrong. I have written a python script using tkinter on python3 that runs totally fine from within IDLE3. I wanted this script to run when i started up...

Swing Timer stopwatch in Java

Can someone provide me an example of a Swing Timer stopwatch GUI in Java using a constantly-updating JLabel? I am not familiar with using @Override, so please don't suggest code with that in it...

csv loader failed to load reason wrong number of values .Read 10,expected 8 ,read token [EOL] ,line 17

I am trying to convert a CSV to ARFF using Weka's CSVLoader from the GUI. In the options I set the enclosure character for strings to be , . I get the following...

Finding all calls to windows api from a programming perspective

I'm looking to develop a program that detects calls to certain Windows API functions and simply records the calling process, call count, and hopefully their arguments, to later mark them as benign...

Create Swift code from Storyboard

I would like track changes of the GUI development in GIT. On the other hand I like to use the storyboard to develop GUIs. Is there a way to generate Swift code from the Storyboards XIB file, that...

Display coordinates in pyqtgraph?

I'm attempting to develop a GUI that allows for tracking mouse coordinates in the PlotWidget, and displaying in a label elsewhere in the main window. I have attempted several times to emulate the...

How to create a processing library from pde files

I have this nice set of processing .pde files that together would make a good library. I don't want to use Eclipse or some other GUI editor. I'm ok with Ant if need be. To create a processing...

How to create pull request from command line?

When I'm done with my work, I add, commit and push the changes to the remote branch tracked by the curernt one. So the commands are as follows. checkout donkey add . commit --message push Now,...

Python and SQL - Best practice for managing changing Customer Data in a Order?

At the moment I practice with Python and SQL a lot, and for now I am trying to create a Order Workflow with the Data saved inside an SQL Database for testing. For example my Customer Table looks...

How to modularize property creation in PySide

I am largely following the instructions here for using properties and I could just use the Person object given there as the backend, but that is not very useful. I am trying to figure out how to...

NetBeans doesn't recognize that dependency is a local project - how to fix?

I have two pairs of projects that I develop in NetBeans, both of which have a GUI project, and a library project, where the GUI project depends on the library one. In one of them, NetBeans...

VS Code 'git mv' to preserve file history?

Is there any way in VS Code to change a file's name so that the file history is preserved in git, and it doesn't think the tracked file's been deleted? I'm hoping for a GUI implementation of the...

Proper sudoers user / session setup for xrdp and systemd-modules-load / auditd fails in a WSL2 openSUSE-Leap-15.2 environment

I've managed it to successfully run xrdp in an openSUSE-Leap-15.2 WSL 2 Linux subsystem on my Windows 10 64 PC. My Linux knowledge is not that great. I use KDE (startplasma-x11) as desktop for...

Only releases with status draft may be created on draft app. How do I tell Azure DevOps to mark a release as "draft"?

I have developed a skeleton Android App in Android Studio the Build pipeline in Azure DevOps An Internal Testing track for this app on my Google Dev Console Uploaded MANUALLY via the GUI of...

Relevant tags