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:04AskI 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:04AskI'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:06AskI 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:14AskEdit: 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:12AskI 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:06AskI 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:21AskI 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:15Askpip 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:46AskI 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



0
122
0