search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉571233520

P粉571233520

Follow
student

Follow 0
fans 0
integral 0
Run single instance of an application using Mutex

In order to allow only a single instance of an application running I'm using mutex. The code is given below. Is this the right way to do it? Are there any flaws in the code? How to

2026-01-12 16:01:04Ask
C++
Sort array of objects by single key with date value

I have an array of objects with several key value pairs, and I need to sort them based on 'updated_at': [ { "updated_at" : "2012-01-01T06:25:24Z", "foo&qu

2026-01-11 09:02:04Ask
JavaScript
Why does mysqli num_rows always return 0?

I've been having trouble getting the number of rows to return using mysqli. I just get 0 back every time even though there are definitely some results. if($stmt = $mysqli->prepare("

2026-01-09 10:01:06Ask
PHP
AngularJS: How can I pass variables between controllers?

I have two Angular controllers: function Ctrl1($scope) { $scope.prop1 = "First"; } function Ctrl2($scope) { $scope.prop2 = "Second"; $scope.both = Ctrl1.prop1 + $scop

2026-01-08 20:22:14Ask
JavaScript
Qt 5.1.1: Application failed to start because platform plugin "windows" is missing

Edit: Some people started to mark my question as a duplicate. Do not forget that many similar questions existed when I asked this one (see e.g. the list below). However, none of th

2026-01-04 09:43:12Ask
C++
Entity Framework Timeouts

I am getting timeouts using the Entity Framework (EF) when using a function import that takes over 30 seconds to complete. I tried the following and have not been able to resolve thi

2026-01-01 08:01:06Ask
C++
Add 'x' number of hours to date

I currently have php returning the current date/time like so: $now = date("Y-m-d H:m:s"); What I'd like to do is have a new variable $new_time equal $now + $hours, where $hours i

2025-12-25 09:22:21Ask
PHP
How to set auto increment primary key in PostgreSQL?

I have a table in PostgreSQL with many columns, and I want to add an auto increment primary key. I tried to create a column called id of type BIGSERIAL but pgadmin responded with an

2025-12-08 11:22:15Ask
MySQL
How do I install pip on Windows?

pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way?

2025-11-28 22:01:46Ask
Python
Why is useState shared between routes with different props?

I have an application with two tabs "Apple" and "Banana". Each tab has a counter implemented using useState. constTab=({name,children=[]})=>{constid=uuid();const[count,setCount]=useState(0);constonClick=e=>{e.preventDefault();setCount(c=> c+1)

2024-03-30 21:19:56Ask
React