Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,633,751 | 1 | null | null | 0 | 24 | I have the photo in which I wanted to get the co-ordinate of text and highlight the text.

Text to highlight and get co-ordinate = ''
I try to get the co-ordinate by providing the first and last word but didn't get the required solution
```
import regex as re
import pyt... | find the co-ordinate and highlight the required text in image in python | CC BY-SA 4.0 | null | 2023-03-04T05:02:26.427 | 2023-03-04T16:07:37.967 | 2023-03-04T16:07:37.967 | 18,200,580 | 21,329,773 | [
"python",
"image-processing",
"nlp",
"computer-vision",
"data-science"
] |
75,633,690 | 1 | 75,634,296 | null | 1 | 23 | I need to extract "rule-number and hits.value" from the below JSON data but I'm unable to fetch complete data using a single command.
When I use below jq command it only gives me the output of 3rd rule.
```
jq --raw-output '.rulebase[] | .rulebase[] | "\(."rule-number"),\(.hits.value)"' text
```
```
jq: error: Cann... | Jq parsing to extract rule-number and hits.value | CC BY-SA 4.0 | null | 2023-03-04T04:41:37.947 | 2023-03-04T07:35:35.190 | null | null | 18,313,400 | [
"json",
"jq"
] |
75,633,759 | 2 | null | 72,781,528 | 0 | null | I believe you switched to the latest npm version ^9.x.
Solution: The script does not require the path to tsc. Just replace 'node_modules/.bin/tsc' with 'tsc'.
When you perform a `npm run <script>`, npm run adds node_modules/.bin to the PATH provided to scripts
[https://docs.npmjs.com/cli/v9/commands/npm-run-script?v=tr... | null | CC BY-SA 4.0 | null | 2023-03-04T05:05:54.300 | 2023-03-04T05:05:54.300 | null | null | 10,843,664 | null |
75,633,755 | 1 | null | null | 0 | 5 | I have a list of shapely polygons, `polygons`. I want to export them all to an esri shapefile layer. Here is the first feature in the list of polygons:
```
POLYGON ((484 169, 485 169, 485 170, 486 170, 486 171, 487 171, 487 170, 488 170, 488 169, 490 169, 490 170, 492 170, 492 172, 494 172, 494 178, 493 178, 493 179, 4... | export list of shapely.geometry.polygons as esri shapefile | CC BY-SA 4.0 | null | 2023-03-04T05:04:14.343 | 2023-03-04T05:07:48.997 | 2023-03-04T05:07:48.997 | 7,306,868 | 17,274,113 | [
"python",
"polygon",
"shapefile",
"osgeo"
] |
75,633,764 | 2 | null | 75,584,605 | 0 | null | Midi is not an audio file that you can play. Midi is simply data. Midi says "Play the sound file associated with the note C4" if there is no sound file loaded at C4 the computer plays no sound. Run your midi file through a virtual instrument in garage band. Bounce that out (export the song) to a .WAV file and use that.... | null | CC BY-SA 4.0 | null | 2023-03-04T05:06:40.777 | 2023-03-04T05:06:40.777 | null | null | 21,329,844 | null |
75,633,765 | 2 | null | 44,974,792 | -2 | null | Please use wharedate before get method
| null | CC BY-SA 4.0 | null | 2023-03-04T05:07:03.240 | 2023-03-04T05:07:03.240 | null | null | 21,329,840 | null |
75,633,753 | 1 | null | null | 0 | 13 | i embedded my website in flutter app using flutter_inappwebview, now it showing me some error.
the endwith and addCrossOriginResourcePolicy(CrossOriginResourcePolicy are underline red.
the onFileChooser and also showing error message.
i changed my sdkversion and i also have uploaded my dependency which they didn't ... | Flutter flutter_inappwebview showing some error in upload file code | CC BY-SA 4.0 | null | 2023-03-04T05:03:07.620 | 2023-03-04T05:10:21.247 | 2023-03-04T05:10:21.247 | 11,563,594 | 11,563,594 | [
"flutter",
"dart",
"android-webview"
] |
75,633,762 | 1 | 75,633,845 | null | 1 | 32 | i am getting an error when i press my cmdbutton,
When i debug it it highlights arr(nr, i) = arr(r, i)
[](https://i.stack.imgur.com/FLqu4.png)
this is my code
```
Private Sub CommandButton1_Click()
Dim r%, nr%, arr, lr&, i%
arr = Worksheets("DROP").Range("L4:T100")
For r = 1 To UBound(arr)
If arr(r, 1) <> ""... | Run-time error '9' Subscript out of range | CC BY-SA 4.0 | null | 2023-03-04T05:06:28.667 | 2023-03-04T06:42:36.367 | 2023-03-04T05:06:44.810 | 8,422,953 | 21,200,370 | [
"excel",
"vba"
] |
75,633,763 | 1 | null | null | 0 | 8 | This is the code I got in my course, which takes grayscale images from MNIST and normalizes them.
```
from torchvision import datasets, transforms
# Difine a transform to normalize the data
transform = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.5), (0.5)),])
# Download and load the training dat... | Can we normalize an image with CMYK color scheme? | CC BY-SA 4.0 | null | 2023-03-04T05:06:30.813 | 2023-03-04T11:45:09.363 | 2023-03-04T11:45:09.363 | 286,934 | 7,233,886 | [
"python",
"torchvision"
] |
75,633,770 | 1 | null | null | 0 | 12 | After printing in the report, I want to update the data of a table with column 'Print' to 'Y', otherwise print 'N'.
After printing in the report, I want to update the data of a table with column 'Print' to 'Y', otherwise print 'N'.
| How to Add Item Toolbar In ReportView C# | CC BY-SA 4.0 | null | 2023-03-04T05:07:29.503 | 2023-03-04T05:07:29.503 | null | null | 17,187,819 | [
"winforms"
] |
75,633,767 | 2 | null | 75,633,687 | 0 | null | ```
In your update.php view, make sure that you are including the version attribute as a hidden input field:
public function actionUpdate($id){
$model = RecordModel::findOne($id);
try {
if ($model->load(Yii::$app->request->post())){
$model->text = Yii::$app->request->post('RecordModel')['t... | null | CC BY-SA 4.0 | null | 2023-03-04T05:07:18.843 | 2023-03-04T09:32:53.373 | 2023-03-04T09:32:53.373 | 20,127,612 | 20,127,612 | null |
75,633,773 | 2 | null | 75,633,740 | 0 | null | I can see you are accessing temp->next where previously you have assigned temp = head. However head is never given a value in your main program - so you are accessing a null pointer hence the segmentation fault. GDB should pick this up as you step through the program, did you try that?
| null | CC BY-SA 4.0 | null | 2023-03-04T05:09:04.257 | 2023-03-04T05:09:04.257 | null | null | 16,998,520 | null |
75,633,772 | 1 | null | null | -1 | 7 |
[enter image description here](https://i.stack.imgur.com/vOQPO.png)
all check are passed but i having a warring witch i am not able to resolve is there any way to resolve it
Also i am having zero coverage of spec on SonarQube while 100% on local machine
I trying to push my code to builder.ai but its failing the test.
| Having issue on builder.ai project Pre-Certification Checklist Analysis | CC BY-SA 4.0 | null | 2023-03-04T05:07:51.407 | 2023-03-04T05:07:51.407 | null | null | 21,132,490 | [
"ruby-on-rails",
"builder",
"sonarqube-scan"
] |
75,633,774 | 2 | null | 75,562,787 | -1 | null | use `discord-player@5.3.0` instead `discord-player@5.4.0`, it works for me.
This is my dependencies :)
```
"dependencies": {
"@discordjs/opus": "^0.9.0",
"body-parser": "^1.20.2",
"discord-player": "^5.3.0",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
"express": "^4.18.... | null | CC BY-SA 4.0 | null | 2023-03-04T05:09:10.233 | 2023-03-04T05:09:10.233 | null | null | 21,329,842 | null |
75,633,758 | 1 | 75,634,087 | null | 1 | 35 | I encounter a problem that the whole community has:
when I switch from 11 to 17, (for me the `3.3.2` version) fails with:
`java.lang.IllegalAccessError: class org.apache.spark.storage.StorageUtils$ (in unnamed module @0xe25b2fe) cannot access class sun.nio.ch.DirectBuffer (in module java.base) because module java.ba... | Does a way exist through jar, manifest... to setup --add-exports, --add-opens directives definitively, to avoid passing them on command line? | CC BY-SA 4.0 | null | 2023-03-04T05:04:56.093 | 2023-03-04T06:39:07.690 | 2023-03-04T05:12:12.783 | 2,827,181 | 2,827,181 | [
"java",
"bash",
"maven",
"apache-spark",
"java-17"
] |
75,633,766 | 1 | null | null | -1 | 83 | In a Spring Boot app, I have 2 entities related to each other as shown below:
```
class Product {
private int id;
private int typeId;
private String name;
}
```
```
class Type {
private int id;
private String name;
}
```
I need to retrieve count of the products by typeId and for this purpose I ... | Java Stream : How to get count of records by type? | CC BY-SA 4.0 | null | 2023-03-04T05:07:09.047 | 2023-03-05T04:23:42.093 | 2023-03-05T04:23:42.093 | 1,553,851 | 21,263,160 | [
"java",
"spring",
"spring-boot",
"java-stream"
] |
75,633,776 | 1 | null | null | -4 | 28 | ```
var str = "<John> Doe";
alert(str); //and it just displays " Doe"
```
It seems the '<' and '>' characters around "John" make it disappear.
| In javascript, is there some special function for '<'' and '>' characters in a string? | CC BY-SA 4.0 | null | 2023-03-04T05:09:19.423 | 2023-03-04T05:31:58.910 | 2023-03-04T05:31:58.910 | 17,941,850 | 17,941,850 | [
"javascript"
] |
75,633,780 | 2 | null | 75,629,835 | 0 | null | Add import statement for sklearn in the flask file. You are unpickling a sklearn model but the flask package doesnot know sklearn therefore you also have to add import sklearn to the import section
| null | CC BY-SA 4.0 | null | 2023-03-04T05:10:20.523 | 2023-03-04T05:10:20.523 | null | null | 19,724,552 | null |
75,633,760 | 1 | null | null | 1 | 34 | The website is live and its hosted on remote server(aws ec2) but when I try to login to the django admin its giving error.
## Error while login to django admin
[](https://i.stack.imgur.com/9MSAH.png)
I have gone through previous SO post but they didn't help me to fix:
- [https://stackoverflow.com/questions/29573163/... | When login in to django server getting Forbidden (CSRF cookie not set.): /admin/login/ | CC BY-SA 4.0 | null | 2023-03-04T05:06:02.507 | 2023-03-04T13:51:45.363 | 2023-03-04T13:51:45.363 | 8,234,870 | 8,234,870 | [
"python",
"django",
"csrf",
"django-csrf"
] |
75,633,778 | 1 | null | null | 0 | 30 | [enter image description here](https://i.stack.imgur.com/1NMH6.png)
The "PID" is in the DataFrame tbh. The screen capture shows the problem and my code lines.
I tried to restart my kernel, but the error still occurred... > - <
| How to fix this KeyError? KeyError: 'PID' (Python language) | CC BY-SA 4.0 | null | 2023-03-04T05:09:41.520 | 2023-03-04T05:58:14.893 | 2023-03-04T05:10:44.743 | 21,294,372 | 21,294,372 | [
"python",
"dataframe",
"keyerror"
] |
75,633,777 | 2 | null | 55,503,083 | 0 | null | This is how I'm doing it:
```
class MyAppState extends ChangeNotifier {
WebSocketChannel? channel;
bool webSocketConnected = false;
int webSocketReconnectAttempts = 0;
MyAppState() {
connect();
}
void onMessage(message) {
webSocketConnected = true;
webSocketReconnectAttempts = 0;
notifyLis... | null | CC BY-SA 4.0 | null | 2023-03-04T05:09:26.120 | 2023-03-04T05:09:26.120 | null | null | 7,370,877 | null |
75,633,783 | 1 | null | null | -2 | 12 | I have a small mvc application with login and other pages .
My problem is if run my application from controller code iam not getting output but if run from view page iam getting output, how can I solve this problem
I need the output when I run application from controller page aslo
| Mvc web application | CC BY-SA 4.0 | null | 2023-03-04T05:10:59.600 | 2023-03-04T05:10:59.600 | null | null | 20,579,032 | [
"c#",
"visual-studio-2019"
] |
75,633,771 | 1 | null | null | 0 | 13 | currently using Firebase Phone Number Auth, worked well in debug mode in pc, including iPhone and android emulator.
when I "`flutter build apk`" and put it into my smartphone, the apps prompt
"Missing valid app identifier,

what I had done:
1. I had i... | Flutter Firebase Phone Auth .apk Missing valid app identifier, neither SafetyNet nor reCAPTCHA checks succeed | CC BY-SA 4.0 | null | 2023-03-04T05:07:41.163 | 2023-03-04T05:07:41.163 | null | null | 14,192,211 | [
"flutter",
"firebase",
"recaptcha",
"safetynet"
] |
75,633,781 | 1 | null | null | -1 | 31 | Wondering how to write a regex in Notepad++ to eliminate the following lines of text from a file.
```
<div class="navigation">
<div class="alignleft">« <a href="/2008/11/28/107/" rel="prev">Subject Matter for Consideration</a>
</div>
<div class="alignright">
<a href="/2009/01/18/109/" rel="next">Book Revi... | How to use RegEx in Notepad++ to remove multiple lines from files | CC BY-SA 4.0 | null | 2023-03-04T05:10:20.833 | 2023-03-04T17:34:10.377 | null | null | 5,491,559 | [
"regex",
"notepad++"
] |
75,633,782 | 2 | null | 75,619,365 | 0 | null | Based on your question, it appears that you're experiencing an issue with FusionEzee. In order to provide you with a solution, I would need more information about the issue you're experiencing. However I will explain how the scheduler feature works in FusionEzee.
The scheduler feature in FusionEzee lets users to set up... | null | CC BY-SA 4.0 | null | 2023-03-04T05:10:27.353 | 2023-03-04T05:26:56.093 | 2023-03-04T05:26:56.093 | 11,195,373 | 11,195,373 | null |
75,633,786 | 1 | null | null | 0 | 22 | I am building a flutter package that consumes a few packages internally, such as the [Markdown](https://pub.dev/packages/flutter_markdown) package. I want to take in as input the markdown data into a widget that will render it, something like this:
```
class MyMarkdownWidget {
final String markdown;
final MarkdownS... | Is it ok to expose objects from third-party package in my own package? | CC BY-SA 4.0 | null | 2023-03-04T05:12:12.403 | 2023-03-04T05:12:12.403 | null | null | 8,710,943 | [
"flutter",
"dart",
"dart-pub"
] |
75,633,789 | 2 | null | 219,434 | 0 | null | ```
--worked for me in sql 5.731
--use db;
SELECT
ROUTINE_SCHEMA,
ROUTINE_NAME
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_TYPE = 'PROCEDURE';
```
| null | CC BY-SA 4.0 | null | 2023-03-04T05:13:05.683 | 2023-03-04T05:18:30.063 | 2023-03-04T05:18:30.063 | 15,052,977 | 15,052,977 | null |
75,633,784 | 2 | null | 75,633,641 | 0 | null | > How to Explicitly lock a MySQL TableIs there a better way to Lock the table, read, update and Unlock ?
You can do it using [LOCK TABLES](https://dev.mysql.com/doc/refman/8.0/en/lock-tables.html) statement.
This statement can be used to acquire different types of locks on one or more tables, such as read locks, write ... | null | CC BY-SA 4.0 | null | 2023-03-04T05:11:37.797 | 2023-03-04T12:00:54.380 | 2023-03-04T12:00:54.380 | 4,473,648 | 4,473,648 | null |
75,633,788 | 2 | null | 75,609,260 | 0 | null | I suggest to create a temporary table to store the distinct values for the column FIELD and the do a left outer join on the original table for the each of the values on the column TYPE, from there you can do a CASE WHEN or ISNULL expression for each field based on type.
```
DECLARE @Fields TABLE (Field NVARCHAR(255))
I... | null | CC BY-SA 4.0 | null | 2023-03-04T05:12:23.347 | 2023-03-04T06:15:09.283 | 2023-03-04T06:15:09.283 | 7,700,805 | 7,700,805 | null |
75,633,795 | 2 | null | 44,862,062 | 0 | null | Try upgrading the grade plugin, then increase your compileSDKtarget version, then apply the Kotlin migration.
Lastly, Build your app
These steps worked for me.
| null | CC BY-SA 4.0 | null | 2023-03-04T05:15:31.723 | 2023-03-04T05:15:31.723 | null | null | 14,103,420 | null |
75,633,787 | 2 | null | 75,627,636 | 0 | null | Since your difference time is calculated by extract `end date` to the `MAX(date)` - which its value is same date as `end date` or the last working date before `end date`, so difference days value could not be calculated correctly.
You could achieve your desired result by using below query.
1. Generating date series fr... | null | CC BY-SA 4.0 | null | 2023-03-04T05:12:15.087 | 2023-03-04T05:21:16.933 | 2023-03-04T05:21:16.933 | 7,430,869 | 7,430,869 | null |
75,633,791 | 1 | null | null | 0 | 18 | I've been scouring the web for hours and can't seem to fix this, even when I manually re-encode the text.txt as utf-8 or change its contents. My code is super simple. Running it in codespaces using langchain and openai:
---
```
from langchain.document_loaders import TextLoader
from langchain.indexes import Vectorsto... | Issue with LangChain and OpenAI - Unstoppable UnicodeEncodeError | CC BY-SA 4.0 | null | 2023-03-04T05:13:46.020 | 2023-03-04T06:11:43.600 | 2023-03-04T06:11:43.600 | 1,686,136 | 1,686,136 | [
"openai-api",
"codespaces"
] |
75,633,790 | 2 | null | 75,633,641 | 0 | null | You shouldn't lock the table especially for this long running process. It's going to be prone to errors.
You need
1. A queue holding an identifier for each row, run a job for each item in the queue. In case a job fails you can re-run it. Just go through the queue 1 by 1 so you don't have a 40 hour process. You now hav... | null | CC BY-SA 4.0 | null | 2023-03-04T05:13:39.177 | 2023-03-04T05:13:39.177 | null | null | 4,123,372 | null |
75,633,793 | 2 | null | 19,802,336 | 0 | null | The `textView` property on `UITableViewHeaderFooterView` is now deprecated. Documentation suggests that the correct way to change the font size is by using `UIListContentConfiguration`.
```
override func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) {
guard let vie... | null | CC BY-SA 4.0 | null | 2023-03-04T05:15:22.433 | 2023-03-04T23:28:44.383 | 2023-03-04T23:28:44.383 | 10,736,184 | 10,736,184 | null |
75,633,775 | 2 | null | 75,633,586 | 0 | null | initial ts version:
```
interface items {
appliancesType: string;
createdAt: string;
}
interface resItems {
appliancesType: string;
createdAt: string;
count: number;
}
const appliances111: Array<items> = [
{
"appliancesType": "Oven",
"createdAt": "2022-09-06"
}, {
"... | null | CC BY-SA 4.0 | null | 2023-03-04T05:09:18.723 | 2023-03-04T05:09:18.723 | null | null | 19,861,361 | null |
75,633,702 | 1 | null | null | 0 | 13 | here are the below queries which are not giving me the results even though the value exists
```
GET /My_index_here/_search
{
"query": {
"bool": {
"must": [
{
"nested": {
"path": "positions",
"query": {
"bool": {
"must": [
... | My Elastic Search query is not giving results, even though the value exist | CC BY-SA 4.0 | null | 2023-03-04T04:45:12.677 | 2023-03-04T07:15:15.710 | null | null | 21,155,469 | [
"elasticsearch",
"kibana",
"elastic-stack"
] |
75,633,794 | 2 | null | 60,201,481 | 0 | null |
# Here is an example with three methods.
You can choose the best one.
```
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class ExampleScript : MonoBehaviour
{
/// <summary>
/// Method one, Worked on most cases.
/// </summary>
private void RefreshLayoutByMethodOne()
{
... | null | CC BY-SA 4.0 | null | 2023-03-04T05:15:26.433 | 2023-03-04T05:15:26.433 | null | null | 5,254,103 | null |
75,633,800 | 2 | null | 75,633,658 | 1 | null | You can use `pyautogui` for the clicking part, and a simple loop for the locations.
```
import pyautogui
def clickarea(start:tuple, end:tuple, diff:int) -> None:
#segregate x and y values
xloc, yloc = zip(start, end)
for x in range(*xloc, diff):
for y in range(*yloc, diff):
print(f'... | null | CC BY-SA 4.0 | null | 2023-03-04T05:17:22.127 | 2023-03-04T05:27:15.357 | 2023-03-04T05:27:15.357 | 10,292,330 | 10,292,330 | null |
75,633,799 | 2 | null | 75,626,431 | 0 | null | The variable `msp` references to the modelspace, which contains the graphical entities of the DXF document working space.
The query returns all entities from the modelspace matching the specified conditions in a list-like container. In this case, all TEXT and MTEXT entities with the attribute `layer` set to "Sew Lines"... | null | CC BY-SA 4.0 | null | 2023-03-04T05:17:18.467 | 2023-03-04T08:18:39.887 | 2023-03-04T08:18:39.887 | 6,162,864 | 6,162,864 | null |
75,633,803 | 2 | null | 75,633,456 | 0 | null | Use flexbox to center of the header.
Click [here](https://www.w3schools.com/css/css3_flexbox.asp).
| null | CC BY-SA 4.0 | null | 2023-03-04T05:17:56.993 | 2023-03-04T05:17:56.993 | null | null | 18,500,781 | null |
75,633,802 | 2 | null | 75,633,587 | 2 | null | It's not possible.
> ASP.NET MVC apps [are hosted in IIS](https://learn.microsoft.com/en-us/dotnet/architecture/porting-existing-aspnet-apps/hosting-differences)
| null | CC BY-SA 4.0 | null | 2023-03-04T05:17:53.040 | 2023-03-04T05:17:53.040 | null | null | 101,087 | null |
75,633,797 | 1 | null | null | 0 | 6 | I'm currently working on a python script to perform CRUD operations with datasets and resources using the CKAN API: [https://docs.ckan.org/en/2.9/api/index.html#making-an-api-request](https://docs.ckan.org/en/2.9/api/index.html#making-an-api-request).
I'm able to create databases and also upload resources (eg a csv fil... | CKAN not loading resource view | CC BY-SA 4.0 | null | 2023-03-04T05:16:00.787 | 2023-03-04T09:02:31.070 | 2023-03-04T09:02:31.070 | 2,395,282 | 19,140,627 | [
"python",
"backend",
"ckan"
] |
75,633,798 | 1 | null | null | 0 | 26 | I'm working on the simple bootstrap table and I'm using checkboxes like this.
[](https://i.stack.imgur.com/2rNKT.png)
The checked values are saved in the state but the checkbox is still unchecked thats my issue.
[](https://i.stack.imgur.com/H1Ev1.png)
Now when I click on the checkbox I'm sorting the values in a state, ... | Multi Checkbox are not getting checked | CC BY-SA 4.0 | null | 2023-03-04T05:17:18.227 | 2023-03-04T05:51:02.777 | 2023-03-04T05:51:02.777 | 18,512,567 | 18,512,567 | [
"javascript",
"html",
"css",
"reactjs",
"debugging"
] |
75,633,806 | 2 | null | 75,632,904 | 0 | null | Figured it out. I needed to update my distributionUrl in my `android/gradle/wrapper/gradle-wrapper.properties` to `distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip`, which is up from `7.4.2`. I failed to understand that this represented the versioning of the Gradle Android Studio plugin ins... | null | CC BY-SA 4.0 | null | 2023-03-04T05:18:38.780 | 2023-03-04T05:18:38.780 | null | null | 3,992,091 | null |
75,633,796 | 1 | null | null | 0 | 7 | I am trying to implement exoplayer on button click will play next video in concate list
but it only play the first video but not the other four what i am doing wrong
```
next_button.setOnClickListener(v ->
{
releasePlayer();
DefaultDataSourceFactory defaultDataSourceFactory = new Default... | How to play 5 videos in row on button press using exoplayer ConcatenatingMediaSource | CC BY-SA 4.0 | null | 2023-03-04T05:15:33.830 | 2023-03-04T05:15:33.830 | null | null | 18,963,519 | [
"android-studio",
"exoplayer",
"media-source",
"exoplayer-media-item"
] |
75,633,804 | 1 | null | null | 0 | 12 | This is the _app.tsx file
```
export default function App({ Component, pageProps }: AppProps) {
return (
<SessionProvider session={pageProps.session}>
<JotaiProvider>
<Component {...pageProps} />
</JotaiProvider>
</SessionProvider>
)
}
```
And this is my jotai store
```
const updateNewJobFetchingSt... | Why jotai atom is not correctly updated inside the return block of Nextjs application? | CC BY-SA 4.0 | null | 2023-03-04T05:18:08.567 | 2023-03-04T05:18:08.567 | null | null | 12,198,876 | [
"reactjs",
"next.js",
"jotai"
] |
75,633,805 | 2 | null | 75,633,541 | 2 | null | As you probably know `StartExecutionCallback` is a for a function [wrapper] object, accepting `const StartExecutionCallbackInfo&` as an argument, and returning a `v8::MaybeLocal<v8::Value>`.
Using `StartExecutionCallback{}` creates an of that type, but it's an instance that does not in fact contain any callable (i.e.... | null | CC BY-SA 4.0 | null | 2023-03-04T05:18:30.190 | 2023-03-04T05:50:58.437 | 2023-03-04T05:50:58.437 | 18,519,921 | 18,519,921 | null |
75,633,801 | 2 | null | 13,962,147 | 1 | null | At the moment (`ruby-3.2.1`) you can't define singleton methods for integers, floats, symbols and frozen strings (I also confirmed it with `ruby-2.6.10`):
```
v = Object.new
v = nil
v = false
v = true
v = 'string'
v = 1 #=> TypeError: can't define singleton
v = 1000000000000000000000 #=> TypeErro... | null | CC BY-SA 4.0 | null | 2023-03-04T05:17:29.290 | 2023-03-04T05:39:05.203 | 2023-03-04T05:39:05.203 | 52,499 | 52,499 | null |
75,633,808 | 2 | null | 75,631,926 | 0 | null | You can check if your android version 33 or not by using this function:
```
fun isAndroid33(): Boolean {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU
}
```
| null | CC BY-SA 4.0 | null | 2023-03-04T05:19:29.587 | 2023-03-04T05:19:29.587 | null | null | 12,153,321 | null |
75,633,809 | 2 | null | 75,633,330 | 0 | null | It's possible that your program is not able to access the network interfaces because it is running in a sandboxed environment that doesn't have the necessary permissions. One thing you could try is to explicitly specify the network interface you want to capture packets on, using the PcapLiveDeviceList::getInstance().ge... | null | CC BY-SA 4.0 | null | 2023-03-04T05:19:30.747 | 2023-03-04T05:19:30.747 | null | null | 21,243,402 | null |
75,633,810 | 1 | null | null | 0 | 15 | How do I remove recent projects in Embarcadero C++Builder 10.4?
I tried regedit, removing files; all to no avail.
| How do I remove recent projects from Embarcadero C++Builder? | CC BY-SA 4.0 | null | 2023-03-04T05:19:40.743 | 2023-03-04T20:17:13.853 | 2023-03-04T20:17:13.853 | 65,863 | 21,329,829 | [
"c++builder",
"c++builder-10.4-sydney"
] |
75,633,814 | 1 | null | null | 0 | 39 | I want Data From Both Queries One After Another
```
->when($todayDate, function ($query) use ($todayDate) {
$query->whereDate('startdate', '>=', $todayDate)->orderBy('batches.startdate', 'desc');
})->when($todayDate, function ($query) use ($todayDate) {
$query->whereDate('startdate', '<=', $todayDate)->or... | Multiple Order By On Same Column in Laravel ,Does Any Way Exist? | CC BY-SA 4.0 | null | 2023-03-04T05:22:28.010 | 2023-03-04T08:59:06.627 | 2023-03-04T07:43:55.440 | 487,813 | 21,208,930 | [
"laravel",
"eloquent"
] |
75,633,816 | 2 | null | 75,633,746 | -1 | null | to Titlecase:
function toTitleCase(str: string) {
return str.toLowerCase().split(' ').map((el) => el[0].toUpperCase() + el.slice(1)).join(' ');
}
| null | CC BY-SA 4.0 | null | 2023-03-04T05:22:52.913 | 2023-03-04T05:24:08.710 | 2023-03-04T05:24:08.710 | 21,329,819 | 21,329,819 | null |
75,633,813 | 1 | null | null | 0 | 42 | here is a code that mimic a distribution and make a stacked histogram plot
```
import numpy as np
import matplotlib.pyplot as plt
f1f2=[(i**6-int(i**6))/5 for i in np.random.exponential(0.8, size=100)]
widz=[i*(1/max(f1f2)) for i in f1f2]
pos=[i for i in range(100)]
f1=[np.random.uniform()*i for i in f1f2]
f2=[s-i fo... | matplotlib trick to have unequal space beween each integer on x axis | CC BY-SA 4.0 | null | 2023-03-04T05:22:15.153 | 2023-03-04T16:41:18.560 | null | null | 3,353,101 | [
"python",
"matplotlib"
] |
75,633,811 | 1 | null | null | 0 | 19 | I am having a challenge to write a measure for the following.
I have a table called products and each row is a different sales. I can work out the number of sales for each product but my challenge is the following.
From this table I am after a measure that will tell me from this table the % products with more than 1000... | Power BI dax measure issue | CC BY-SA 4.0 | null | 2023-03-04T05:21:10.477 | 2023-03-04T20:09:08.160 | 2023-03-04T20:09:08.160 | 16,528,000 | 21,329,847 | [
"powerbi",
"dax"
] |
75,633,821 | 1 | null | null | -2 | 14 | getting bad request error
{
"error": "invalid_grant"
}It shows something like these
one click of the send button shows access and refresh token i want these
| Getting error after click on the the send button also not getting accesstoken and refreh token | CC BY-SA 4.0 | null | 2023-03-04T05:24:33.793 | 2023-03-04T17:31:38.117 | null | null | 21,329,861 | [
"postman",
"docusignapi",
"stack-overflow",
"docusignconnect",
"docusignapextoolkit"
] |
75,633,817 | 1 | null | null | -3 | 14 | I have an issue.
I am doing a school project to do, I am in charge of back-end/front-end software, I am currently making a interactive list of values that can get removed and added, like little cache tabs,
It is for a software named Rimi, Short for "Remind Me", working from an alarm-clock type
system and the info for t... | Inputs changing on parent altering (HTML5) | CC BY-SA 4.0 | null | 2023-03-04T05:23:10.647 | 2023-03-04T05:23:10.647 | null | null | 20,895,333 | [
"javascript",
"html"
] |
75,633,812 | 1 | null | null | 0 | 30 |
I have a function which first sends users to a new page and then renders information on it. The Issue is that using "window.Open()" reloads the page and prevents the rest of the function from running
"window.open()" will open up the page but will not refresh it once it gets opened up.
```
const ControlNavigationLink... | window.open() Preventing the rest of the function running | CC BY-SA 4.0 | null | 2023-03-04T05:21:51.653 | 2023-03-04T18:49:55.440 | null | null | 18,042,263 | [
"javascript",
"window.open",
"reloading"
] |
75,633,819 | 1 | null | null | 0 | 5 | I'm building a site that makes use of Nextjs and Contentlayer to render a bunch of MDX files.
I basically followed [this tutorial](https://www.contentlayer.dev/docs/getting-started) to get it set up, except I'm going with MDX instead of plain markdown.
I'm using Contentlayer because [the standard way of supporting MDX ... | How to use MDX custom elements in contentlayer | CC BY-SA 4.0 | null | 2023-03-04T05:23:54.390 | 2023-03-04T05:23:54.390 | null | null | 742,082 | [
"next.js",
"mdx",
"remarkjs",
"rehypejs",
"contentlayer"
] |
75,633,820 | 1 | null | null | -2 | 17 | I've built an appointment planner in PHP JavaScript which is functioning well.
However, there is the possibility of double bookings when multiple vistots have reached the page containing the appointment planner at more or less the same time.
Obviously in this case they all have the same options as for picking a free ti... | How to check for possible double bookings in a PHP JavaScript appointment planner? | CC BY-SA 4.0 | null | 2023-03-04T05:24:33.067 | 2023-03-04T05:24:33.067 | null | null | 16,517,038 | [
"javascript",
"php",
"appointment"
] |
75,633,807 | 1 | 75,635,031 | null | 1 | 67 | Running into an `rant_category() got an unexpected keyword argument 'slug'` on my django project. Basically, I just need to get the slug of the `#category` in my app to show it in the url.
Here's my code:
`views.py`
```
class RantListView(ListView):
model = Rant
context_object_name = "rants"
template_name =... | rant_category() got an unexpected keyword argument 'slug' | CC BY-SA 4.0 | null | 2023-03-04T05:19:24.380 | 2023-03-04T10:22:35.140 | 2023-03-04T09:59:25.310 | 17,562,044 | 11,630,148 | [
"python",
"django",
"django-models",
"django-views",
"django-templates"
] |
75,633,826 | 2 | null | 75,625,015 | 0 | null | This is wrong
```
await this.driver.executeScript(`arguments[${i}].click();`, panelsCloseBtns[i]);
```
it should always be arguments[0] because you're only passing one argument.
You're clicking all of them at the same time though, which might cause problems
| null | CC BY-SA 4.0 | null | 2023-03-04T05:25:28.747 | 2023-03-04T05:25:28.747 | null | null | 966,023 | null |
75,633,824 | 1 | null | null | 0 | 8 | Actual Query:
```
select COALESCE(sum(infra_evt_count),0)
+COALESCE(sum(infra_res_count),0)
+COALESCE(sum(user_req_count),0)
+COALESCE(sum(user_res_count) ,0)
from dashboard.application_incident_summary_t
where date between '2023-01-23' and '2023-01-29'
and app_id = 7
```
```
@Query(value = "SE... | convert the postgres query to jpa native query | CC BY-SA 4.0 | null | 2023-03-04T05:25:13.487 | 2023-03-04T05:25:13.487 | null | null | 20,865,735 | [
"postgresql",
"jpa",
"spring-data-jpa",
"jpql"
] |
75,633,818 | 1 | 75,634,122 | null | 1 | 22 | How to correctly pass data to onSubmit function `data` property?
When i click + i see the numbers changing but when clicking Submit button it does not pass data to `onSubmit` function, this can seen in console.log it's always 0
```
import { useState } from 'react';
import { InputAdornment, TextField } from '@mui/mater... | React hook form passing value to onSubmit | CC BY-SA 4.0 | null | 2023-03-04T05:23:17.220 | 2023-03-04T06:49:40.350 | null | null | 10,513,206 | [
"reactjs",
"react-hook-form"
] |
75,633,829 | 1 | null | null | 0 | 12 | I saw when you want to download a package, a hint is shown, you press the tab and you don’t need to completely write the command, how to do this in powershell?
[](https://i.stack.imgur.com/VjV5O.png)
| How to make package hints in powershell when you want to download a package | CC BY-SA 4.0 | null | 2023-03-04T05:26:39.400 | 2023-03-04T05:26:39.400 | null | null | 19,700,193 | [
"powershell",
"npm"
] |
75,633,815 | 1 | null | null | 0 | 16 | How can we use `tanStackQuery` client in my react app to get the bloglist. Could someone please advise !
```
import React, { useState, useEffect, useCallback } from 'react';
import { useQuery, UseQueryOptions } from '@tanstack/react-query'
const [popularResults, setPopularResults] = useState([]);
useEffect((... | How can we use tanStackQuery client in my react app to get the bloglist | CC BY-SA 4.0 | null | 2023-03-04T05:22:33.400 | 2023-03-04T05:22:33.400 | null | null | 4,826,215 | [
"reactjs",
"react-hooks",
"tanstackreact-query"
] |
75,633,823 | 1 | null | null | 0 | 27 | I am working on a Django Application where registered users can be added Deposit by staff users, and I want to know whether a user has been added Deposit in the current month. And also check in HTML on a Button url whether the user has a deposit or Not then decide how whether to display the Button.
I have tried with th... | Django filter Two Models for ID | CC BY-SA 4.0 | null | 2023-03-04T05:25:11.727 | 2023-03-04T06:20:53.973 | null | null | 15,239,717 | [
"python",
"django"
] |
75,633,825 | 1 | 75,633,994 | null | 0 | 13 | I am attempting to set up a simple Rails application using GCP Cloudbuild, and am running into a error message that indicates a failure to decrypt a variable due to the kms key not being found.
Currently, when running the build `gcloud builds submit --config cloudbuild.yaml`, I get the following error:
```
ERROR: build... | Cloudbuild unable to decrypt using key 404 | CC BY-SA 4.0 | null | 2023-03-04T05:25:15.437 | 2023-03-04T06:12:26.987 | null | null | 21,177,570 | [
"google-cloud-platform",
"google-cloud-build",
"cloudbuild.yaml"
] |
75,633,828 | 1 | null | null | 0 | 12 | So I've Imported all necessary modules:
```
import { MatSelectModule } from "@angular/material/select";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { MatFormFieldModule } from "@angular/material/form-field";
```
And Created such sample code:
```
<mat-form-field appearance="fill">
<mat... | I have a question about Mat-Select Angular | CC BY-SA 4.0 | null | 2023-03-04T05:26:20.593 | 2023-03-04T07:22:45.977 | 2023-03-04T07:22:45.977 | 15,645,034 | 15,645,034 | [
"angular",
"angular-material",
"angular-forms",
"angular-module",
"mat-select"
] |
75,633,836 | 1 | null | null | -2 | 9 | Anyone know when Open PDF 1.3.31 will be released?
I am running into this bug which has a fix scheduled to be in that release:
[Bug 823](https://github.com/LibrePDF/OpenPDF/pull/823)
| Release date for openpdf 1.3.31? | CC BY-SA 4.0 | null | 2023-03-04T05:28:24.460 | 2023-03-04T05:28:24.460 | null | null | 17,852,207 | [
"openpdf"
] |
75,633,834 | 1 | null | null | 1 | 13 | i can add folders in gitignore with [] names i have folder wit this names
```
[exampel] / [example2] / folder / file.lua
```
in github desktop when i want to gitignore this file
right click and gitignore this file
github add this to gitignore
```
+\[exampel\]/\[example2\]/folder /json/data.json
```
i want manually a... | i can add folders in gitignore with [] names | CC BY-SA 4.0 | null | 2023-03-04T05:27:38.913 | 2023-03-04T05:37:18.153 | null | null | 21,329,868 | [
"github",
"gitignore",
"github-desktop"
] |
75,633,831 | 2 | null | 75,633,798 | 0 | null | It seems like the issue is related to the onChange event being triggered twice when you double-click on the checkbox. One possible solution is to check for the clickCount property on the event object to detect if it's a double-click event.
```
const handelAddSelectOrders = (e, data) => {
e.preventDefault();
const ... | null | CC BY-SA 4.0 | null | 2023-03-04T05:27:03.690 | 2023-03-04T05:27:03.690 | null | null | 18,733,262 | null |
75,633,837 | 2 | null | 75,632,372 | 0 | null | There is no such switch -jar.
itself is a command for creating jar archives.
To run a jar that contains a main class use the command with any associate paths to the jar file if required.
Executing from your prompt or terminal it is easiest to (change working directory) into the folder containing the jar file and sim... | null | CC BY-SA 4.0 | null | 2023-03-04T05:28:48.980 | 2023-03-04T05:28:48.980 | null | null | 5,354,987 | null |
75,633,839 | 1 | null | null | -1 | 26 | I'm trying to build an application where there are two types of users, Staffs and Customers. I need the staff data and customer data to be separate. What is the best approach on creating the tables? Do I need to create one table for all the user types or separate tables for staffs and customer.
Haven't started to build... | ASP.NET Core Identity multiple user types | CC BY-SA 4.0 | null | 2023-03-04T05:29:45.090 | 2023-03-04T07:37:33.520 | 2023-03-04T07:37:33.520 | 13,302 | 20,270,997 | [
"c#",
"asp.net-core",
"asp.net-core-identity"
] |
75,633,833 | 1 | 75,633,890 | null | 1 | 28 | I'm working with the following Time Zone code:
```
using System.Globalization;
DateTime sourceDt = Convert.ToDateTime("2023-09-05T08:00:00");
DateTime sourceUtc = sourceDt.ToUniversalTime();
var tz = TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time");
var tzTime = TimeZoneInfo.ConvertTimeFromUtc(sourceUtc,... | How to Specify Source Time Zone When converting between two Time Zones | CC BY-SA 4.0 | null | 2023-03-04T05:27:25.283 | 2023-03-04T05:56:03.213 | null | null | 7,201,774 | [
"c#",
"timezone"
] |
75,633,830 | 1 | 75,634,053 | null | 1 | 34 | I am trying to send a post request from python to my nodeJS server. I can successfully do it from client-side js to nodeJS server using the fetch API but how can I achieve this with python? What I tried below is sending the post request successfully but the data/body attached to it is not reaching the server. What am I... | POST request from python to nodeJS server | CC BY-SA 4.0 | null | 2023-03-04T05:26:43.863 | 2023-03-04T06:47:52.923 | 2023-03-04T05:49:29.227 | 16,009,435 | 16,009,435 | [
"python",
"node.js"
] |
75,633,841 | 1 | null | null | 0 | 13 | I'm new to the programming field and would like to seek assistance or guidance in the necessary steps in integrating the Emotiv Cortex V3 Unity plugin that can be found on Emotiv's github to my Unity3D platform.
After reading the README locating in Emotiv's repo, I'm still extremely lost on what to do to integrate them... | Seeking assistance to the integration of Emotiv Cortex V3 Unity Plugin to Unity3D platform | CC BY-SA 4.0 | null | 2023-03-04T05:30:21.160 | 2023-03-04T05:31:19.343 | 2023-03-04T05:31:19.343 | 21,329,896 | 21,329,896 | [
"c#",
"api",
"unity3d",
"integration"
] |
75,633,832 | 2 | null | 75,633,651 | 2 | null | At least one of us is confused.
```
mat <- matrix(c(4,2,7,6),2)
```
## correct answers
```
inv1 <- solve(mat)
## or
inv2 <- matrix(c(mat[4],-mat[2], -mat[3], mat[1]), 2)/det(mat)
all.equal(inv1, inv2) ## TRUE
all.equal(inv1 %*% mat, diag(2)) ## TRUE
```
```
inv1
[,1] [,2]
[1,] 0.6 -0.7
[2,] -0.2 0.4
```
`... | null | CC BY-SA 4.0 | null | 2023-03-04T05:27:25.310 | 2023-03-04T05:38:33.017 | 2023-03-04T05:38:33.017 | 190,277 | 190,277 | null |
75,633,843 | 1 | null | null | -1 | 8 | I am trying to send serial data to a USB connected ELM327 interface. Port setup is correct since when I unplug then plug the interface to my UBUNTU system the initial message from the interface is displayed correctly. However any ELM commands I send is replied with a "?" which in ELM protocol means it did not understan... | GTKTerm and ELM327 interface not communicating | CC BY-SA 4.0 | null | 2023-03-04T05:30:46.727 | 2023-03-04T05:30:46.727 | null | null | 15,656,509 | [
"minicom"
] |
75,633,844 | 1 | null | null | 0 | 15 | I was looking for a way to share data between my browser and a windows worker service.
I want to have a shared storage place where a blazor wasm application writes a simple GUID and a c# windows worker service read it.
both worker service and blazor wasm are runinng on the same machine.
How can I do it?
| Shared Storage Between Browser and Windows Worker Service | CC BY-SA 4.0 | null | 2023-03-04T05:31:17.840 | 2023-03-04T05:31:17.840 | null | null | 2,451,499 | [
"c#",
"windows-services",
"blazor-webassembly"
] |
75,633,822 | 1 | null | null | 0 | 38 | I have two select statements with union and I wanna show the result in multiple columns or side by side.
I try this:
```
SELECT COUNT(emp.id) num1,dep.departmentname
from tblemployees emp
JOIN tbldepartments dep on dep.id = emp.OriginalDepartment
WHERE
emp.OriginalDepartment IN (208,168,209,189,157)
and emp.JobType in ... | How to show results of union query side by side? | CC BY-SA 4.0 | null | 2023-03-04T05:25:06.430 | 2023-03-04T16:32:56.117 | 2023-03-04T07:12:31.067 | 285,587 | 20,718,455 | [
"mysql"
] |
75,633,846 | 2 | null | 58,366,411 | 0 | null | change security groups inbound rules
Custom TCP in port range 8080 and source 0.0.0.0/0
| null | CC BY-SA 4.0 | null | 2023-03-04T05:31:57.527 | 2023-03-04T05:31:57.527 | null | null | 13,760,719 | null |
75,633,842 | 2 | null | 75,615,863 | 0 | null | You could also use the visitor command. For the provided sample it is completely over engineering, but for more complex situations it could be useful:
```
public abstract class Animal
{
protected bool ate = false;
public abstract void Speak();
public void Eat()
{
this.ate = true;
}
publ... | null | CC BY-SA 4.0 | null | 2023-03-04T05:30:42.950 | 2023-03-04T05:30:42.950 | null | null | 1,889,102 | null |
75,633,840 | 1 | 75,633,852 | null | 0 | 21 | I am adding options to a select tag from a dictionary using jQuery and now I want to set title attribute of each element according to the keys of the dictionary. Can anyone tell me the solution for doing so.
JQuery
```
function addOptions(){
var dict = {
key1: "val1",
key2: "val2",
key3: "val3",
key... | Change id of child elements from a list using jQuery | CC BY-SA 4.0 | null | 2023-03-04T05:29:54.003 | 2023-03-04T05:56:09.963 | null | null | 16,136,572 | [
"javascript",
"html",
"jquery"
] |
75,633,847 | 2 | null | 75,633,814 | 0 | null | ```
`$todayDate = now()->toDateString();
$upcoming = DB::table('table_name')
->when($todayDate, function ($query) use ($todayDate) {
$query->whereDate('startdate', '>=', $todayDate)
->orderBy('batches.startdate', 'desc');
});
$past = DB::table('table_name')
->when($todayDate, function ($query) use ($today... | null | CC BY-SA 4.0 | null | 2023-03-04T05:32:57.273 | 2023-03-04T05:36:38.943 | 2023-03-04T05:36:38.943 | 21,329,928 | 21,329,928 | null |
75,633,852 | 2 | null | 75,633,840 | 1 | null | for this you can use the addOptions func like this. This can set the title attribute of each option element with the keys of the dictionary
```
function addOptions(){
var dict = {
key1: "val1",
key2: "val2",
key3: "val3",
key4: "val4"
}
$.each(dict, function(val, text){
$('#mySelect').append($(... | null | CC BY-SA 4.0 | null | 2023-03-04T05:34:11.720 | 2023-03-04T05:34:11.720 | null | null | 11,823,237 | null |
75,633,854 | 1 | 75,633,932 | null | 0 | 14 | I want to directly work in the AWS RDS Server (MYSQL).
All I can find is to use mysql client.
But I literally want to work on the RDS server like
```
SSH user@{rds ip}
```
How can I do this?
| How to go to AWS RDS instance for some work in the directory of RDS server | CC BY-SA 4.0 | null | 2023-03-04T05:34:47.227 | 2023-03-04T05:54:41.570 | 2023-03-04T05:52:40.860 | 174,777 | 19,311,744 | [
"amazon-web-services",
"amazon-ec2",
"amazon-rds"
] |
75,633,845 | 2 | null | 75,633,762 | 0 | null |
## Copy Values If Column Not Blank
- `UBound(arr, 2)`-
```
Private Sub CommandButton1_Click()
Const SRC_NAME As String = "DROP"
Const SRC_RANGE As String = "L4:T100"
Const DST_NAME As String = "MASTER"
Const DST_COLUMN As String = "B"
Dim wb As Workbook: Set wb = ThisWorkbook ' wo... | null | CC BY-SA 4.0 | null | 2023-03-04T05:31:23.993 | 2023-03-04T05:55:49.387 | 2023-03-04T05:55:49.387 | 9,814,069 | 9,814,069 | null |
75,633,855 | 1 | null | null | 1 | 17 | ```
type Order struct{
Id uint `json:"id"`
Items []Item
Total float64
CustomerID int32
Address Address
CreatedAt time.Time
UpdatedAt time.Time
Status orderstatus
}
```
query := `INSERT INTO orders(items, total, address, customer_id, status, created_at) VALUES(@orde... | can't scan into dest[2]: cannot scan int4 (OID 23) in binary format into *models.User | CC BY-SA 4.0 | null | 2023-03-04T05:34:59.500 | 2023-03-04T05:46:56.430 | 2023-03-04T05:46:56.430 | 8,259,172 | 8,259,172 | [
"go",
"pgx"
] |
75,633,835 | 1 | null | null | 0 | 31 | I am trying to create a PLSQL package, SQL_LOGGING_PKG, that contains an "execute_sql" public procedure that executes a SQL string that is passed to it using dynamic SQL. The intent is for the procedure to log the SQL before it is executed and then, after the SQL completes, update the log record with the number of reco... | Oracle UPDATE statment targets 4 columns but only 2 get updated. Why? | CC BY-SA 4.0 | null | 2023-03-04T05:28:04.120 | 2023-03-04T15:15:22.917 | 2023-03-04T05:33:14.500 | 109,676 | 109,676 | [
"oracle",
"plsql"
] |
75,633,856 | 1 | null | null | 1 | 17 | I currently use Pushwoosh for my push notifications in my web-app, which I've successfully set up.
I'm in the process of converting the web-app to a PWA, and want to set up my own service worker so that I can control caching and a few other things.
The Pushwoosh service worker needs to be in the root level. From what I... | How to have a service worker for a PWA if your 3rd party push notifications supplier already has a service worker? | CC BY-SA 4.0 | null | 2023-03-04T05:35:47.290 | 2023-03-04T06:32:36.270 | 2023-03-04T06:32:36.270 | 952,170 | 952,170 | [
"service-worker"
] |
75,633,849 | 2 | null | 75,613,899 | 0 | null | register test cases manually and do not use google tests auto-discovery. registering test cases manually [doc](https://google.github.io/googletest/advanced.html#registering-tests-programmatically) is available
The TEST macros handle the vast majority of all use cases, but there are few where runtime registration logic ... | null | CC BY-SA 4.0 | null | 2023-03-04T05:33:35.553 | 2023-03-04T05:33:35.553 | null | null | 7,291,068 | null |
75,633,861 | 2 | null | 75,633,812 | 0 | null | Try removing the "_self", from the window.open method.
| null | CC BY-SA 4.0 | null | 2023-03-04T05:36:20.247 | 2023-03-04T05:36:20.247 | null | null | 19,123,720 | null |
75,633,857 | 1 | null | null | -1 | 12 | I'm trying to set minimum width for my columns dynamically when window resizes! The example on Kendo website using Classes works fine. But the ones using Hooks is not. Can someone help me figure out what am I missing/the example missing?
Here's the one working (Classes): [https://stackblitz.com/edit/react-wwto1g?file=a... | How can I fix this React Hook example to have the same functionality as this one written in Classes? | CC BY-SA 4.0 | null | 2023-03-04T05:35:54.267 | 2023-03-05T02:12:44.117 | 2023-03-05T02:12:44.117 | 2,071,697 | 17,460,932 | [
"reactjs",
"react-hooks",
"kendo-ui",
"kendo-grid"
] |
75,633,858 | 1 | 75,634,261 | null | 0 | 15 | Why does my cycle findall once.
More precisely, it outputs only one record from the base
it picks me the first entry and that's it
```
const task = cron.schedule('* * * * *', async () => {
try {
let u_sers = await User.findAll();
for (let i = 0; u_sers.length; i++) {
}
con... | for sequelize js findall | CC BY-SA 4.0 | null | 2023-03-04T05:35:55.247 | 2023-03-04T07:27:12.027 | null | null | 21,329,933 | [
"javascript",
"for-loop",
"sequelize.js"
] |
75,633,851 | 1 | 75,633,922 | null | 2 | 113 | Due to precision limitations in floating point numbers, the order in which numbers are summed can affect the result.
```
>>> 0.3 + 0.4 + 2.8
3.5
>>> 2.8 + 0.4 + 0.3
3.4999999999999996
```
This small error can become a bigger problem if the results are then rounded.
```
>>> round(0.3 + 0.4 + 2.8)
4
>>> round(2.8 + 0.4 ... | Is there an efficient way to determine if a sum of floats will be order invariant? | CC BY-SA 4.0 | null | 2023-03-04T05:33:51.333 | 2023-03-04T21:47:30.590 | 2023-03-04T06:22:51.937 | 5,694,144 | 5,694,144 | [
"python",
"algorithm",
"math"
] |
75,633,864 | 1 | null | null | -1 | 11 | I have made a bootable flash for linux mint 21.1. My windows 10 is installed on UEFI part of bios and i want to install linux on legacy part. I changed the setting and installed linux on legacy, and it worked. but when i changed bios to UEFI in order to load windows, again the boot manager of linux mint appeared and no... | Installing linux mint damages windows boot | CC BY-SA 4.0 | null | 2023-03-04T05:37:14.443 | 2023-03-04T05:37:14.443 | null | null | 18,972,785 | [
"linux",
"windows"
] |
75,633,865 | 2 | null | 75,633,834 | 0 | null | you can use a backslash before the square brackets to escape them. For example, to ignore the "example" folder with square brackets in its name, you can add the following line to your gitignore file:
```
\[example\]/
```
If you want to ignore all folders with square brackets in their names, you can use this:
```
*\[*/... | null | CC BY-SA 4.0 | null | 2023-03-04T05:37:18.153 | 2023-03-04T05:37:18.153 | null | null | 11,823,237 | null |
75,633,859 | 1 | null | null | 0 | 8 | I have a spherical projection of the sky texture made in WebGL which takes CameraAngleX, CameraAngleY and CameraZoom parameters to calculate the coordinates by ray direction function:
```
vec3 GetRayDirection(vec2 uv, vec3 ro, float zoom) {
vec3 cf = normalize(-ro);
vec3 cr = normalize( cross( vec3(0,1,0), cf ));... | Spherical Coordinates to Cartesian conversion according to the viewing angle (FOV, zoom) | CC BY-SA 4.0 | null | 2023-03-04T05:35:57.537 | 2023-03-04T05:35:57.537 | null | null | 18,889,112 | [
"camera",
"coordinates",
"projection",
"angle",
"360-panorama"
] |
75,633,853 | 1 | 75,634,543 | null | 0 | 16 | Spark version=3.0with python
I am using pyspark and want to read a XML. There are multiple extension tags and I need only the first tag. Extension is of type array. IF I explode I am getting multiple rows with nulls. I need only below tags
```
<extension>
<docClass>USCOURTS</docClass>
<accessId>USCOURTS-txsb-2_05-bk-21... | Extract first "extension" tag in nested xml using pyspark | CC BY-SA 4.0 | null | 2023-03-04T05:34:16.740 | 2023-03-04T08:41:16.437 | null | null | 17,867,413 | [
"xml",
"apache-spark",
"pyspark",
"apache-spark-sql"
] |