I have a list l: l = [22, 13, 45, 50, 98, 69, 43, 44, 1] For numbers above 45 inclusive, I would like to add 1; and for numbers less than it, 5. I tried [x+1
2026-01-19 22:23:07AskI have an ASP.NET MVC 3 application. This application requests records through jQuery. jQuery calls back to a controller action that returns results in JSON format. I have not been a
2025-12-18 19:22:06AskI have a table of food items. They have a "Position" field that represents the order they should appear in on a list (listID is the list they are on, we don't want to re-order items
2025-12-08 10:43:13AskI need to update records like updatetableabcsetmarks='15'whererollno='432423'andpcode='ABC234'; for nearly 10,000 queries. My table has 1,00,000 records. I need to update 10,000 records. It takes hours how can I speed it up. I'm using INNODB any way to speed it up.
2024-03-27 11:41:12AskAs the title says, I'm trying to get specific data from the user when they are logged in and aggregate all the data and then return the aggregated data. I tried using the $match function but no luck. What's frustrating is that I'm able to successfully return all the data in the object array. More specifically, the following code runs successfully and returns an array of objects: construns=awaitRun.find({user:req.user.id}) but this code does not, it returns an empty array: constcumulativeTotals=await
2024-03-22 12:45:30AskI use Ubuntu22.04 and php7.4. I try to use apache2 to provide a virtual host for my website. The login page can be opened. After we insert the account, the error shows couldnotfinddriveron/var/www/website/app/models/PDODb.phponline229thatlineis$this->pdo=newPDO($connectionString,$this->connect
2023-09-15 14:55:04AskIs there a way to make HTML handle \n newlines correctly? Or do I have to replace them? <divclass="text">abcdefghi</div>
2023-08-27 11:42:20AskI'm developing an application in which I create a brush chart using apexcharts. However, I would like my brush to control multiple charts, not just one, like shown in the example. Before I start using the callback function, I'd like to know if there's an easy way to achieve this via the library, for example by passing an array of targets: brush:{target:'chart2',enabled:true}, Thanks in advance,
2023-08-26 20:17:05AskI get the following error from Apache [Sat Mar 19 2011 23:10:50] [WARNING] mod_fcgid:stderr: PHP fatal error: require_once() [function.require]: Unable to open required '/common/ configs/config_templates.inc. php'(include_path='.:/usr/share/pear:/usr/share/php') is located in /
2023-08-23 19:46:43AskI have a file parts.json which is a JSON file containing an array of objects representing some vehicle spare parts
2023-07-20 12:47:05Ask



0
144
0