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,637,119 | 2 | null | 75,633,619 | 0 | null | It's hard to say without seeing the whole page but one issue I see with your current locator is that you will return both SPANs in the posted HTML instead of just the first that contains "+2.5". You can further focus your CSS selector to just get the first span adding `:first-of-type`.
```
driver.find_elements(By.CSS_S... | null | CC BY-SA 4.0 | null | 2023-03-04T16:44:46.313 | 2023-03-04T16:44:46.313 | null | null | 2,386,774 | null |
75,637,123 | 2 | null | 55,455,127 | 0 | null | In case anyone gets here that is using kotlin native (as the title says) the solution is to add an import:
```
import kotlin.system.getTimeMillis;
```
Thanks,
| null | CC BY-SA 4.0 | null | 2023-03-04T16:45:23.407 | 2023-03-04T16:45:23.407 | null | null | 1,305,332 | null |
75,637,118 | 1 | null | null | 0 | 38 | I have a bash script that should to download some phrases from the URL ([https://api.wordpress.org/secret-key/1.1/salt/](https://api.wordpress.org/secret-key/1.1/salt/) ) and replace it in specific line of file in path `/srv/www/wordpress/wp-config.php` ; and I wrote the code below but it didn't work properly. i mean ... | a bash script to scrap and download some data | CC BY-SA 4.0 | null | 2023-03-04T16:44:13.653 | 2023-03-04T19:00:41.547 | 2023-03-04T18:06:36.740 | 21,332,454 | 21,332,454 | [
"bash"
] |
75,637,122 | 2 | null | 75,614,775 | 0 | null | As [Czoellner](https://stackoverflow.com/users/3146213/czoellner) says in the comments, you can configure the decimal precision for some fields in the technical settings (Settings/technical/Database Structure/Decimal Accuracy) using debug mode.
You can set the precision for:
- - - - - -
The one for quantities is "Prod... | null | CC BY-SA 4.0 | null | 2023-03-04T16:45:02.273 | 2023-03-04T16:45:02.273 | null | null | 8,379,001 | null |
75,637,112 | 2 | null | 75,635,570 | 0 | null | I assume you must be setting the a different animation in the `update` function or so.
Just track if the is alive. if the is dead, prevent starting a different animation on the sprite.
`if/else``update`
```
document.body.style = 'margin:0;';
var config = {
width: 536,
height: 183,
physics: { default: '... | null | CC BY-SA 4.0 | null | 2023-03-04T16:43:21.527 | 2023-03-04T17:25:21.203 | 2023-03-04T17:25:21.203 | 1,679,286 | 1,679,286 | null |
75,637,120 | 2 | null | 75,602,558 | 0 | null | I just figure out the cause of the error. I should add the prefix in the query.
```
import logging
import rdflib
import time
logging.basicConfig()
logger = logging.getLogger('logger')
logger.warning('The system may break down')
start_time = time.time()
g = rdflib.Graph()
g.parse ('/gdrive/MyDrive/Quran Corpus/quran_... | null | CC BY-SA 4.0 | null | 2023-03-04T16:44:51.887 | 2023-03-04T16:44:51.887 | null | null | 20,235,419 | null |
75,637,127 | 2 | null | 75,636,923 | 0 | null | You need to put quotes around your inputs' id attributes.
| null | CC BY-SA 4.0 | null | 2023-03-04T16:46:01.293 | 2023-03-04T16:46:01.293 | null | null | 1,214,951 | null |
75,637,083 | 1 | null | null | 1 | 7 | I'm using angular material v15.2.1 and created a table with `ng generate @angular/material:table clubsTable`.
The data to be displayed in the table are retrieved asynchronously.
The problem is: When loading the page, the table with the columns is shown correctly, at first zero rows are displayed, in the lower right cor... | Angular MatTable doesn't re-render table when data array changes | CC BY-SA 4.0 | null | 2023-03-04T16:39:50.013 | 2023-03-04T16:39:50.013 | null | null | 21,332,366 | [
"javascript",
"html",
"angular",
"typescript",
"angular-material"
] |
75,637,124 | 2 | null | 75,636,176 | 0 | null |
1. By default, a value or transition bin definition can specify 4-state values. When a bin definition includes an X or Z, it indicates that the bin count should only be incremented when the sampled value has an X or Z in the same bit positions, i.e., the comparison is done using ===.
2. A wildcard bin definition cause... | null | CC BY-SA 4.0 | null | 2023-03-04T16:45:46.610 | 2023-03-04T16:45:46.610 | null | null | 14,395,049 | null |
75,637,130 | 2 | null | 75,636,176 | 1 | null | Your problem is with the use of an enumerated type without declaring 'x as a valid state for that `enum`. You would need to write something like
```
typedef enum logic [2:0] { X='x, A=0,B,C,D} alpha;
module main;
alpha y;
alpha values[$]= '{A,B,C};
covergroup cg;
option.per_i... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:10.913 | 2023-03-04T16:46:10.913 | null | null | 2,755,607 | null |
75,637,129 | 1 | null | null | -1 | 36 | I am trying to read a file `input.txt` but my `while()` loop seems to be ending in an infinite state while reading the file. How can I resolve this issue ? The code that I used is this :
```
import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
public class Read {
... | Can't get the last line of file while reading a file using Java | CC BY-SA 4.0 | null | 2023-03-04T16:46:07.487 | 2023-03-04T16:52:26.923 | 2023-03-04T16:52:26.923 | 19,221,835 | 19,221,835 | [
"java",
"exception",
"file-read",
"java-17"
] |
75,637,126 | 1 | null | null | 0 | 6 | I am trying to use http client to download random images from the following api [https://api.lorem.space/image/game?w=200&h=300](https://api.lorem.space/image/game?w=200&h=300). When I try to obtain an image I get the following error in the browser
> Access to fetch at 'https://cdn.lorem.space/images/burger/.cache/200x... | Blazor (Wasm) http client download image from external api | CC BY-SA 4.0 | null | 2023-03-04T16:45:58.020 | 2023-03-04T16:45:58.020 | null | null | 3,139,317 | [
"blazor-webassembly"
] |
75,637,132 | 2 | null | 13,411,544 | 0 | null | If you find the to delete `column_name` from `df` data frame, here we go:
```
df = df[df.columns.drop('column_name')]
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:46:13.197 | 2023-03-04T16:46:13.197 | null | null | 12,715,723 | null |
75,637,134 | 2 | null | 75,637,116 | 2 | null | It looks like [OutputDebugStringW function](https://learn.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-outputdebugstringw) is selected as `OutputDebugString` in your environment.
A simple fix is using [OutputDebugStringA function](https://learn.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-ou... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:39.243 | 2023-03-04T16:46:39.243 | null | null | 4,062,354 | null |
75,637,128 | 2 | null | 75,608,936 | 0 | null | This doesn't really sound like a subclass of `int` in the sense that it has a substantially different interface to `int`. It can't (or shouldn't) really be used in place of an `int`. It sounds more like it's implemented in term of `int`. So perhaps you should do that instead?
You're right that `__cinit__` doesn't do wh... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:03.453 | 2023-03-04T16:46:03.453 | null | null | 4,657,412 | null |
75,637,136 | 2 | null | 3,735,378 | 0 | null | In my case: A complex Excel with a graphic simulation using shapes which move. In order to speed up, I wished to update the display only each 10th optimization step. Therefore, every 10th step, I had to switch it back on, followed by a doevents - but I ran into the problems described above. - Now, which is odd: Simply ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:54.437 | 2023-03-04T16:46:54.437 | null | null | 21,063,970 | null |
75,637,121 | 1 | null | null | 0 | 17 | I've now built a Bayesian network with pomeganate, and output the results for one of the nodes I want while fixing the values of several of them, as follows:
{
"class" : "Distribution",
"dtype" : "str",
"name" : "DiscreteDistribution",
"parameters" : [
{
"2" : 0.20000000000000015,
"1" : 0.3999999999999998,
"3" : 0.4
}
... | About the output of pomegranate | CC BY-SA 4.0 | null | 2023-03-04T16:44:58.130 | 2023-03-04T16:44:58.130 | null | null | 21,332,478 | [
"python"
] |
75,637,139 | 1 | null | null | -1 | 12 | When using `icon.pack_forget()` with `icon.place()`, the icon label isn't able to hide. I need the label to hide and unhide whenever I like with the position saved
```
from tkinter import *
root = Tk()
root.geometry("400x400")
root.title("test")
iconimg = PhotoImage(file="icon.png")
icon = Label(root, image=iconimg)
ic... | Python Tkinter pack_forget() incompatible with place() function | CC BY-SA 4.0 | null | 2023-03-04T16:47:26.033 | 2023-03-04T18:08:51.243 | null | null | 16,026,812 | [
"python",
"tkinter"
] |
75,637,133 | 1 | null | null | 0 | 6 | Network:
```
Input sequence -> BiLSTM---------> BiLSTM --------> Dense with softmax
Output shapes: (None, 5, 256) (None, 5, 128) (None, 5, 11)
```
Here is my CTC loss:
```
def calculate_ctc_loss(y_true, y_pred):
batch_length = tf.cast(tf.shape(y_true)[0], dtype="int64")
input_length = tf.cast(tf.sha... | Padding time dimension in softmax output for CTC loss | CC BY-SA 4.0 | null | 2023-03-04T16:46:33.337 | 2023-03-04T17:23:24.767 | 2023-03-04T17:23:24.767 | 8,382,707 | 8,382,707 | [
"python",
"tensorflow",
"keras",
"loss-function",
"ctc"
] |
75,637,137 | 1 | null | null | -1 | 10 | I am migrating my subscription logic to new StoreKit2 APIs and I am using APIs below. These APIs provides verified transactions and subscription states.
However, I am worried about validity of these APIs because they are clients-side code. I cannot find any text which mentions about this topic.
Should I trust the .veri... | Does Apple StoreKit2 client APIs are susceptible to wrong device clock or jailbreak? | CC BY-SA 4.0 | null | 2023-03-04T16:47:12.307 | 2023-03-04T16:47:12.307 | null | null | 3,658,767 | [
"ios",
"storekit2"
] |
75,637,144 | 1 | 75,637,155 | null | 0 | 22 | Please see:
=IMPORTRANGE("https://docs.google.com/spreadsheets/dilKgPz3xoPUhPjTLK3Tq0YcE5xxir4pHZ4", "My Balance!C21")
So this is giving result as 30000
But I want to append minus sign, so expected result should be -30000
| How to minus amount with this condition? | CC BY-SA 4.0 | null | 2023-03-04T16:48:53.447 | 2023-03-04T16:50:11.237 | null | null | 19,428,652 | [
"google-sheets"
] |
75,637,131 | 2 | null | 75,636,849 | 0 | null | is the most effective way you can improve performance of queries. The trick is to avoid a query finding the rows it needs without examining many rows that are not what it needs. You might like my presentation How to Design Indexes, Really or the video.
can affect optimization too. Use the smallest data type that supp... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:11.600 | 2023-03-04T16:46:11.600 | null | null | 20,860 | null |
75,637,135 | 2 | null | 75,635,508 | 0 | null | So I managed to just make it so it hovers over the element and then clicks it.
here is what I did.
```
Actions action = new Actions(driver);
action.MoveToElement(driver.FindElement(By.XPath(".//*[@chid=\"6\"]"))).Click().Perform();
```
and this is the full code now!
```
using System;
using System.Collections;
using Sy... | null | CC BY-SA 4.0 | null | 2023-03-04T16:46:50.070 | 2023-03-04T16:46:50.070 | null | null | 21,331,086 | null |
75,637,138 | 2 | null | 24,919,002 | 0 | null | This is an old question but still relevant as of March 4th, 2023.
So for those like me encountering this issue here is my solution.
In short, in chrome use [storage.session, not storage.local](https://developer.chrome.com/docs/extensions/reference/storage/#storage-areas).
`storage.session` is available from [chrome 102... | null | CC BY-SA 4.0 | null | 2023-03-04T16:47:19.343 | 2023-03-04T16:47:19.343 | null | null | 2,199,605 | null |
75,637,143 | 1 | null | null | 0 | 6 | I am using an epub reader for my website and I provide it the URL of the location where my file is located in the server but it fails to open it and in the console, I get a CORS policy error. Where as the images from the same location loads perfectly in the app.
If I open that link directly, the file gets downloaded im... | Getting XMLHttpRequest at from origin has been blocked by CORS policy error for epub files but not for jpeg images | CC BY-SA 4.0 | null | 2023-03-04T16:48:45.060 | 2023-03-04T16:48:45.060 | null | null | 5,432,742 | [
"node.js",
"cors",
"xmlhttprequest",
"epub"
] |
75,637,140 | 2 | null | 75,633,155 | 0 | null | Since Autofac holds references to disposable things so that it can do the disposing, if you resolve 1000 IDisposable items from the container directly, there's no way to let garbage collection clean them up without disposing the whole container.
This is particularly bad if you're not thinking about that and, say, have... | null | CC BY-SA 4.0 | null | 2023-03-04T16:47:32.273 | 2023-03-04T16:47:32.273 | null | null | 8,116 | null |
75,637,094 | 1 | null | null | 0 | 43 | I am building a website where the user enters a matrix of numbers from 0 to 9, where numbers up to 1 to 9 indicate the number of moves required to pass through the cell, and 0 the wall that cannot be passed through. The user can also enter a starting point and an ending point. After clicking submit, I want to take the ... | How to pass user input from HTML/JS to PHP and display the output using JS? | CC BY-SA 4.0 | null | 2023-03-04T16:40:58.980 | 2023-03-05T05:27:59.683 | 2023-03-05T05:27:59.683 | 18,898,202 | 18,898,202 | [
"javascript",
"php",
"html"
] |
75,637,141 | 1 | null | null | 0 | 11 | I bought a new computer and installed windows 11. I installed it on my computer by following the Windows Native part on the Tensorflow site step by step. I verified the GPU setup and it returned me this:
```
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]
```
So as far as I understand, the installat... | spyder kernel error: an error ocurred while starting the kernel | CC BY-SA 4.0 | null | 2023-03-04T16:48:00.040 | 2023-03-04T17:17:57.700 | 2023-03-04T17:17:57.700 | 20,185,574 | 21,332,379 | [
"tensorflow",
"kernel",
"spyder"
] |
75,637,146 | 1 | null | null | 1 | 21 | I tried to save files using Javascript but unfortunately I have a problem...
I can save file but my code always create a new file but I wanna create file In start and then overwrite it how can i do?
```
function get() {
saved =1;
const link = document.createElement("a");
const content = docum... | How to overwrite a file in Javascript | CC BY-SA 4.0 | null | 2023-03-04T16:49:06.560 | 2023-03-04T16:49:06.560 | null | null | 21,332,479 | [
"javascript"
] |
75,637,150 | 2 | null | 5,074,803 | 0 | null | You can use only request.GET.get() method
urls.py:
```
path('some_path', views.func),
```
views.py:
```
def func(request):
some_key = request.GET.get('some_key', None)
...
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:49:38.173 | 2023-03-04T16:49:38.173 | null | null | 17,291,959 | null |
75,637,148 | 2 | null | 75,636,592 | 0 | null | A student has many grades and belongs to one group. If a student has at least one grade below 5, you want to change their group. So, you want to lookup a student's grades. For a lookup we use `EXISTS` or `IN`.
The update statement would look something like this:
```
update students
set group_id = 123
where exists
(
s... | null | CC BY-SA 4.0 | null | 2023-03-04T16:49:19.100 | 2023-03-04T16:49:19.100 | null | null | 2,270,762 | null |
75,637,147 | 1 | null | null | 0 | 25 | this is my first question ever on stackoverflow, so here we go:
I am dealing with the following two lines of VBA for Excel code:
The code of both lines is identical except for the EVALUATE function in the second line of code.
The first one delivers a perfectly good result, the second line delivers an "#VALUE!" error.
`... | How can I make the following formula work with the VBA EVALUATE function? | CC BY-SA 4.0 | null | 2023-03-04T16:49:06.917 | 2023-03-04T16:49:06.917 | null | null | 21,332,438 | [
"excel",
"vba",
"excel-formula",
"evaluate"
] |
75,637,152 | 2 | null | 75,637,060 | 2 | null | Your `userString` is a claim value, that is most likely a string. Maybe `Eric`, maybe `7cf7f915-aa34-4399-a2cd-5a7867163c0c`. Since you did not provide us with a concrete value, we don't know whats really in it.
What we do know is, that it is not a number represented as a string. For example `"13"`.
So you need to chec... | null | CC BY-SA 4.0 | null | 2023-03-04T16:49:53.403 | 2023-03-04T16:49:53.403 | null | null | 1,249,641 | null |
75,637,155 | 2 | null | 75,637,144 | 1 | null | Simply place a minus sign in front of the function:
```
=-IMPORTRANGE("https://docs.google.com/spreadsheets/dilKgPz3xoPUhPjTLK3Tq0YcE5xxir4pHZ4", "My Balance!C21")
```
| null | CC BY-SA 4.0 | null | 2023-03-04T16:50:11.237 | 2023-03-04T16:50:11.237 | null | null | 16,127,735 | null |
75,637,145 | 1 | null | null | 0 | 7 |
`What is the differences between local tile(getAllVideoTiles) and remote tile(getAllRemoteVideoTiles)?`
`How can I show all attendee video tile with their name?`
`How can I add the attendee's name? Where should I pass it? createAttendee or createMeeting API?`
`How can I identify the Host?`
`How can I add in-meeting re... | Chime SDK to display all video tile and real time attendee list display using Vue JS | CC BY-SA 4.0 | null | 2023-03-04T16:49:01.187 | 2023-03-04T16:49:01.187 | null | null | 5,794,521 | [
"vue.js",
"aws-sdk",
"aws-sdk-js",
"aws-chime-sdk",
"amazon-chime"
] |
75,637,149 | 1 | null | null | 0 | 9 | So I enter in my API, Secret and Pass using this code:
```
import base64
import datetime as dt
import hmac
import requests
APIKEY = "xxxxx"
APISECRET = "xxxx"
PASS = "xxxx"
BASE_URL = 'https://aws.okex.com'
def send_signed_request(http_method, url_path, payload={}):
'''
See https://stackoverflow.com/questions... | okex api invalid authority | CC BY-SA 4.0 | null | 2023-03-04T16:49:32.290 | 2023-03-04T16:50:53.010 | 2023-03-04T16:50:53.010 | 21,332,493 | 21,332,493 | [
"python",
"api"
] |
75,637,151 | 2 | null | 75,628,777 | 0 | null | Since version 1.4.0 of Pandas, there is a new experimental engine for [read_csv](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html), relying on the Arrow library’s CSV multithreaded parser instead of the default C parser.
Also, you should avoid concatenating inside the for-loop and append to a list inst... | null | CC BY-SA 4.0 | null | 2023-03-04T16:49:49.390 | 2023-03-04T16:49:49.390 | null | null | 11,246,056 | null |
75,637,158 | 1 | null | null | 1 | 14 | While I am running the loop for scraping the page, I got the error like this
```
NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div/div[3]/div[2]/div"} (Session info: chrome=110.0.5481.177)
```
And I saw the webpage, and that one does not have any text, wh... | Webscraping error in Python: How can I write "don't scrape it if the page in the loop does not have a text" | CC BY-SA 4.0 | null | 2023-03-04T16:51:10.773 | 2023-03-04T17:00:56.143 | null | null | 13,812,451 | [
"python",
"web-scraping"
] |
75,637,165 | 2 | null | 75,635,416 | 0 | null | I found a fix to this problem. I don't know the exact reason why it didn't work but I need to use '-mm' as well while executing a command. For example:
'su -mm ls /data/data'
It fixed the problem.
| null | CC BY-SA 4.0 | null | 2023-03-04T16:52:33.883 | 2023-03-04T16:52:33.883 | null | null | 16,161,851 | null |
75,637,154 | 2 | null | 75,636,813 | 1 | null | This is a working solution if the ss2k is unique and take on considération if the machine_id should be the same for pervious current and next record for the selected pattern_id :
```
with cte as (
select *, lag(ss2k) over (Order by id) as source,
lead(ss2k) over (Order by id) as Loss
from mytable
),
cte2 as (
s... | null | CC BY-SA 4.0 | null | 2023-03-04T16:50:09.103 | 2023-03-04T23:29:03.740 | 2023-03-04T23:29:03.740 | 4,286,884 | 4,286,884 | null |
75,637,163 | 1 | null | null | -2 | 9 | I have an online app running Python and Flask that provide files to users.
The files are built on demand, that is, when the user place the request, the app will build the file and deliver to the user. The building of the file usually takes a few seconds, that is fine, but there are some large files that may need over 2... | Python with Flask: How to keep the connection alive while the user is waiting (preventing a timeout error for user)? | CC BY-SA 4.0 | null | 2023-03-04T16:52:09.407 | 2023-03-04T16:52:09.407 | null | null | 14,073,103 | [
"python",
"flask",
"queue",
"connection",
"keep-alive"
] |
75,637,156 | 1 | null | null | 0 | 37 | I have a dataframe like this:
```
df = pd.DataFrame({
'org':['a','a','a','a','b','b'],
'product_version':['bpm','bpm','bpm','bpm','ppp','ppp'],
'release_date':['2022-07','2022-07','2022-07','2022-07','2022-08','2022-08'],
'date_avail':['no','no','no','yes','no','no'],
'status':['green','green','yellow','yello... | sub count of column values after group by pandas | CC BY-SA 4.0 | null | 2023-03-04T16:50:18.940 | 2023-03-05T00:18:51.097 | null | null | 8,176,763 | [
"python",
"pandas"
] |
75,637,166 | 2 | null | 75,636,880 | 0 | null | In Excel 2019 you should be able to use Minifs and Maxifs for the day shift:
```
=MINIFS(B2:B5,A2:A5,F2)
```
and
```
=MAXIFS(C2:C5,A2:A5,F2)
```
but as you say the night shift would need adjustment and you couldn't use Maxifs or Minifs because they don't work with arrays e.g.
```
=MOD(MIN(IF(A2:A5=F3,B2:B5+(B2:B5<0.5... | null | CC BY-SA 4.0 | null | 2023-03-04T16:52:38.113 | 2023-03-04T18:14:15.973 | 2023-03-04T18:14:15.973 | 3,894,917 | 3,894,917 | null |
75,637,167 | 2 | null | 75,635,935 | 0 | null | I think this depends on the application environment and requirements. If you are writing a desktop app with the data stored locally (e.g. Sqlite), or if the data is very seldom updated, or if database queries are very slow for some reason, then you could reasonably keep your in-memory copy up to date and not re-query ... | null | CC BY-SA 4.0 | null | 2023-03-04T16:52:43.617 | 2023-03-04T16:52:43.617 | null | null | 6,090,828 | null |
75,637,164 | 1 | null | null | 0 | 26 | I am doing a Empirical Finance assignment in R. The assignment is about CAPM. So far, I have calculated the sample mean and variance-covariance matrix of the Dow Jones 30 index from January 1st 2000 until December 31st 2022. Furthermore, I have computed the theoretically optimal efficient frontier as well as the effici... | Getting simulated data into a DataFrame | CC BY-SA 4.0 | null | 2023-03-04T16:52:21.737 | 2023-03-04T21:00:25.203 | 2023-03-04T21:00:25.203 | 19,775,847 | 19,775,847 | [
"r",
"dataframe",
"plot",
"simulation",
"finance"
] |
75,637,168 | 1 | null | null | 0 | 14 | I'm making a recommendation bot with aiogram. I need to ask a name of movie or anime from user and when launch different functions:
```
@dp.message_handler(commands=['anime'])
async def anime_handler(message: types.Message):
await message.answer('Write the name of the anime, based on which I could give you a recommen... | Empty message handlers mess | CC BY-SA 4.0 | null | 2023-03-04T16:52:57.127 | 2023-03-04T16:52:57.127 | null | null | 21,290,969 | [
"telegram",
"aiogram",
"message-handlers"
] |
75,637,157 | 2 | null | 38,188,449 | 0 | null |
```
import os
import tkinter as tk
from tkinter import ttk
class Filexplorer:
def __init__(self, root, dir):
self.root = root
self.root.title("RifloSnake")
self.tree = ttk.Treeview(self.root)
self.tree.pack(side="left", fill="y")
self.root.bind("<Return>", self.open)
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:50:44.860 | 2023-03-04T17:14:34.690 | 2023-03-04T17:14:34.690 | 20,959,773 | 20,959,773 | null |
75,637,161 | 1 | null | null | 0 | 29 | I want to transfer variable from first ViewController to the second one.
ViewController1:
```
class First_VC: UIViewController {
...
@IBAction func touch(_ sender: UIButton) {
if let indexPath = table.indexPath(for: sender.superview!.superview as! UITableViewCell) {
let cell = table.cellFor... | Prepare and Perform segue throws different values | CC BY-SA 4.0 | null | 2023-03-04T16:51:31.670 | 2023-03-04T22:23:17.710 | 2023-03-04T19:25:11.433 | 20,110,493 | 20,110,493 | [
"swift",
"segue"
] |
75,637,174 | 1 | null | null | -3 | 16 | I am building a simple portfolio static website purely with HTML and bootstrap only. I cannot use a single line of JavaScript(it's kind of a challenge).
So for the contact me form I want to use POST URL which needs to be confidential for some reasons and the code will be public on Github. So I am looking for an environ... | Environment variable in HTML without JS | CC BY-SA 4.0 | null | 2023-03-04T16:54:12.593 | 2023-03-04T16:54:12.593 | null | null | 17,796,286 | [
"javascript",
"html",
"forms",
"environment-variables"
] |
75,637,171 | 2 | null | 75,637,064 | 0 | null | > Would someone have some insight on how to deal with this?
There's nothing to deal with. The point of using a profiler of any kind is to find where the slowdown is happening. The raw performance of instrumented code is to finding the bottlenecks, because the goal is to find the bottlenecks in the version. How fast t... | null | CC BY-SA 4.0 | null | 2023-03-04T16:53:12.397 | 2023-03-04T16:53:12.397 | null | null | 734,069 | null |
75,637,170 | 1 | 75,637,794 | null | 1 | 27 | PowerShell has a [Write-Progress cmdlet](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/write-progress?view=powershell-7.3) that would update the Terminal icon to indicate progress.
I would like to do the same in Bash (and exec powershell)
I think it is doable from the link
> PowerShe... | How do I use an ANSI sequence to signify progress in Windows Terminal using Bash? | CC BY-SA 4.0 | null | 2023-03-04T16:53:05.813 | 2023-03-04T18:32:51.480 | null | null | 242,042 | [
"bash",
"powershell",
"windows-terminal"
] |
75,637,181 | 1 | null | null | 0 | 5 | I need to make specific pages in a pdf "invalid", by editing the content streams.
Does someone have a guide/info on how to do it?
Thanks!
| How to edit content stream of pdf and introduce "invalid" instructions to particular pages? | CC BY-SA 4.0 | null | 2023-03-04T16:55:28.053 | 2023-03-04T16:55:28.053 | null | null | 16,720,609 | [
"pdf"
] |
75,637,172 | 1 | null | null | -1 | 10 | I have a list with N entries from which a would like to form a query that looks something like this.
```
SELECT some_column
FROM table
WHERE name EQUALS queryEntry_1.name AND value EQUALS queryEntry_1.value
OR name EQUALS queryEntry_2.name AND value EQUALS queryEntry_2.value
.
.
... | Forming queries with N parameters using exposed | CC BY-SA 4.0 | null | 2023-03-04T16:53:23.727 | 2023-03-04T18:01:03.607 | null | null | 7,387,744 | [
"sql",
"kotlin",
"ktor",
"kotlin-exposed"
] |
75,637,183 | 2 | null | 75,637,079 | 0 | null | To remove the place order button if there are no available shipping methods or payment you can do like this.
```
add_filter( 'woocommerce_order_button_html', 'remove_place_order_button' );
function remove_place_order_button( $button_html ) {
if ( ! WC()->cart->needs_shipping() || ! WC()->cart->needs_payment() ) {
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:55:33.477 | 2023-03-04T18:27:21.250 | 2023-03-04T18:27:21.250 | 389,985 | 389,985 | null |
75,637,178 | 2 | null | 75,629,345 | 0 | null | First make sure to read this guid carefully from apple [Adjusting Your Layout with Keyboard Layout Guide](https://developer.apple.com/documentation/uikit/keyboards_and_input/adjusting_your_layout_with_keyboard_layout_guide)
i added a view underneath the status bar and the navigation bar has the same color as the naviga... | null | CC BY-SA 4.0 | null | 2023-03-04T16:54:46.100 | 2023-03-04T16:54:46.100 | null | null | 10,701,774 | null |
75,637,160 | 1 | null | null | 0 | 42 | Everything worked fine until at one point I downloaded updates from the git repository. After running I get the message "react scripts" are not internal or external command executed by a program or batch file.
I tried `npm start`, but that gives the following error:
```
PS C:\Users\ganie\OneDrive\Рабочий стол\start\dri... | "react scripts" are not internal or external command executed by a program or batch file | CC BY-SA 4.0 | null | 2023-03-04T16:51:28.577 | 2023-03-04T22:08:58.470 | 2023-03-04T22:08:58.470 | 740,553 | 20,914,598 | [
"javascript",
"reactjs",
"npm"
] |
75,637,169 | 2 | null | 75,636,576 | 1 | null | First off – @Tranbi is correct. You should not use regular expressions for this. It is much easier to understand and maintain using the method that they have provided.
With that disclaimer out of the way – it to do this using the pattern matching provided by modern extensions to PCRE and company, available in the `reg... | null | CC BY-SA 4.0 | null | 2023-03-04T16:53:00.990 | 2023-03-04T16:53:00.990 | null | null | 21,146,235 | null |
75,637,179 | 1 | null | null | 0 | 15 | I was programming a system in my fragment shader and I finished it. When I had ran my code it came out with two errors which in the output displayed this:
Fragment shader failed to compile with the following errors:
ERROR: 0:36: error(#202) No matching overloaded function found: normalize
ERROR: 0:36: error(#160) Canno... | Fragment shader with 2 compilation errors | CC BY-SA 4.0 | null | 2023-03-04T16:54:48.917 | 2023-03-04T16:54:48.917 | null | null | 19,778,529 | [
"java",
"lwjgl",
"game-development"
] |
75,637,190 | 1 | null | null | -2 | 31 | I've added this code which i used it inside the html file
```
<?php
for ($i = 1; $i <= 145; $i++) {
echo '<a class="alnk" data-src="vidscrs/' . $i . '.mp4">Part ' . $i . '</a>' . PHP_EOL;
}
?>
```
this actually highlights the opening php tag when i runned it it shows thi... | Why this PHP Code is not working In HTML file | CC BY-SA 4.0 | null | 2023-03-04T16:56:47.867 | 2023-03-04T16:56:47.867 | null | null | 19,249,759 | [
"php",
"html",
"css"
] |
75,637,185 | 1 | 75,637,977 | null | 0 | 23 | I'd like to create an interactive version of a histogram with bars colored according to whether they are above/below a threshold value but I'm struggling to implement what is pretty straightforward in `ggplot2` in `highcharter`. Any advice or ideas are welcome!
```
# load libraries
library(highcharter)
library(ggplot2)... | Color bars of highcharter histogram above/below threshold | CC BY-SA 4.0 | null | 2023-03-04T16:55:47.273 | 2023-03-04T19:00:12.377 | null | null | 8,644,356 | [
"r",
"visualization",
"r-highcharter"
] |
75,637,184 | 1 | 75,637,267 | null | 0 | 17 | I have big json with movies. This json have 2 arrays "genres" and "movies". Part of json looks like this:
```
{
"genres": [
"Comedy",
"Fantasy",
"Crime",
"Drama",
"Music",
"Adventure",
"History",
"Thriller",
"Animation",
],
"movies": [
... | How many genres present in json file? | CC BY-SA 4.0 | null | 2023-03-04T16:55:38.843 | 2023-03-04T17:27:31.313 | null | null | 19,344,652 | [
"reactjs",
"json",
"components"
] |
75,637,173 | 1 | null | null | 0 | 21 | I would like to use tool for code & memory analysis.
I am trying to use it in , the .elf file is and is compiled in another job using , ok with that.
In the Valgrind job, I am trying to use different (which all are ), but I see similar errors when running Valgrind. I have been facing architecture issues because the... | Valgrind analysis in 32-bit elf file on 64-bit Linux Docker machine | CC BY-SA 4.0 | null | 2023-03-04T16:54:08.350 | 2023-03-04T19:18:29.173 | 2023-03-04T17:19:08.170 | 6,544,498 | 6,544,498 | [
"linux",
"gitlab",
"valgrind",
"esp8266",
"docker-image"
] |
75,637,182 | 1 | null | null | 0 | 9 | I have the following use case:
I have a Django REST + Vuejs application in which users log in using Google OAuth 2.
Once they've logged in, there are some actions that they might perform which require them to grant my application extra permissions, i.e. more scopes than they originally gave permission for when logging ... | Obtaining a refresh token from gapi auth2 | CC BY-SA 4.0 | null | 2023-03-04T16:55:30.240 | 2023-03-04T16:55:30.240 | null | null | 12,424,975 | [
"django",
"vue.js",
"oauth-2.0",
"google-api-python-client",
"google-api-js-client"
] |
75,637,188 | 2 | null | 75,637,032 | 0 | null | The main question is:
> Have I seen this item before?
The index is a proper approach to answer this question, as [Array#filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) has access to the index and [Array#indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScri... | null | CC BY-SA 4.0 | null | 2023-03-04T16:56:18.630 | 2023-03-04T16:56:18.630 | null | null | 1,447,675 | null |
75,637,191 | 1 | null | null | 0 | 9 | I am extremely new to framework7, though i have a strong background in HTML,CSS and C#. I recently found a framework7 template based a mobile app, which i wanted to take forward based on my requirement.
Can we integrate the Framework7 with ASP.Net MVC (with WebAPI) or we need to work with JS only to get things working ... | Can we integrate Framework7 app with ASP.Net MVC? | CC BY-SA 4.0 | null | 2023-03-04T16:57:07.000 | 2023-03-04T16:57:07.000 | null | null | 576,050 | [
"javascript",
"asp.net-mvc",
"html-framework-7"
] |
75,637,192 | 1 | null | null | 0 | 33 | Could someone help me with Correlated subquery in `WHERE NOT EXISTS` clause using below example of exercise, cause I am not sure how to write this subquery and how would this work in INGRES database.
Let's say we have pension plan members who set aside funds to save for retirement.
Money is being converted into units... | Correlated subquery in WHERE clause | CC BY-SA 4.0 | null | 2023-03-04T16:57:07.723 | 2023-03-04T16:59:24.593 | 2023-03-04T16:59:24.593 | 724,039 | 21,259,706 | [
"sql",
"correlated-subquery",
"ingres"
] |
75,637,187 | 1 | null | null | 0 | 27 |
```
<div class="footer footer-content">
<div class="content-logo login">
<span><img src="${url.resourcesPath}/img/logoSample1.png" alt="Logo" /></span>
</div>
</div>
```
```
div.footer {
width: 100vw;
height: 65vh;
margin: 0px;
padding: 0px;
background-size: 100% 100%;
}
... | fit footer image for all screen size | CC BY-SA 4.0 | null | 2023-03-04T16:56:16.830 | 2023-03-04T20:39:52.363 | null | null | 7,165,917 | [
"javascript",
"html",
"css"
] |
75,637,197 | 1 | null | null | 0 | 10 | I am trying to record a video from my camera while an arview is running and I was wondering how I could do this, as documentation on doing this with an arview is sparse to none. I only need the actual camera feed, not the content that my arview is presenting on top.
I know I can get a CVPixelBuffer for each frame of th... | Record and save video from ARKit arView.session.currentFrame?.capturedImage | CC BY-SA 4.0 | null | 2023-03-04T16:57:30.990 | 2023-03-04T16:57:30.990 | null | null | 21,245,748 | [
"swift",
"swiftui",
"avfoundation",
"arkit"
] |
75,637,195 | 1 | null | null | -1 | 16 | I've configured Spring Authorization server 1.0 which issues JWT tokens using Authorization_Code Grant PKCE. While I test it using Postman (pls see the screenshot), Refresh Token is missing from it. Authorization server is configured as below,
Edit: After doing some more analysis I found out that if I use client authen... | Refresh Token is missing from JWT token | CC BY-SA 4.0 | null | 2023-03-04T16:57:20.637 | 2023-03-04T18:09:41.787 | 2023-03-04T18:09:41.787 | 1,498,826 | 1,498,826 | [
"spring-boot",
"spring-security-oauth2"
] |
75,637,199 | 1 | null | null | -5 | 23 | Working as young DevOps engineer for about two years now, I mostly spend my focus (among other things) on shell scripting, Python and Node.js, but I don't know any of them well enough. I mostly use them to write scripts that automate certain tasks, which is very easy to do in any language.
On the other hand, I have the... | Python vs Node.js for DevOps | CC BY-SA 4.0 | null | 2023-03-04T16:57:57.533 | 2023-03-04T16:57:57.533 | null | null | 21,332,393 | [
"python",
"node.js",
"go",
"devops"
] |
75,637,198 | 2 | null | 50,093,144 | 0 | null | The cleanest solution to the do the below command and this issue will go away:
```
npm uninstall mysql
npm install mysql2
```
And then use it normally in your code:
```
var mysql = require('mysql2');
var con = mysql.createConnection({
host: "localhost",
user: "root",
password: "password"
... | null | CC BY-SA 4.0 | null | 2023-03-04T16:57:45.257 | 2023-03-04T16:57:45.257 | null | null | 5,362,583 | null |
75,637,201 | 2 | null | 75,637,160 | 0 | null | Your problem looks like related with node modules since you are saying it was working fine. Delete `node_modules` and do `npm install` , it should fix the problem
| null | CC BY-SA 4.0 | null | 2023-03-04T16:58:43.430 | 2023-03-04T16:58:43.430 | null | null | 13,544,849 | null |
75,637,196 | 2 | null | 75,575,785 | 0 | null | So I've mostly got this working now, figured I'd document my findings since there's very little on the web about this topic.
The first issue is that when using CMakePresets.json, when IDE's such as VSCode or Visual Studio open your project, they're going to configure the build environment based on the properties in the... | null | CC BY-SA 4.0 | null | 2023-03-04T16:57:30.860 | 2023-03-04T16:57:30.860 | null | null | 802,093 | null |
75,637,200 | 1 | null | null | 0 | 46 | I am creating a weather forecast, and I want to get 7 days forecast with the correct weather from external API.
I return a component and iterate all the data from the weather API to the WEEK_DAYS to show given days but it's not displaying anything.
```
import React, { useState } from "react";
import "./forecast.css";
... | I want to get days of a week from an array | CC BY-SA 4.0 | null | 2023-03-04T16:58:06.543 | 2023-03-04T19:25:09.663 | 2023-03-04T19:25:09.663 | 20,088,324 | 21,152,241 | [
"javascript",
"reactjs",
"api"
] |
75,637,193 | 1 | null | null | 0 | 8 | I would greatly appreciate your help because I am stuck with the following problem.
In Flutter, I use the Flutter_Stripe package to implement a payment module.
Hereunder you will find my Flutter function :
```
Future<void> initPayment({required String email, required int montant, required String nomOrga}) async{
tr... | Flutter Stripe PaymentIntent status : requires_payment_method | CC BY-SA 4.0 | null | 2023-03-04T16:57:11.667 | 2023-03-04T16:57:11.667 | null | null | 11,617,809 | [
"node.js",
"flutter",
"stripe-payments"
] |
75,637,205 | 1 | null | null | 0 | 8 | I'm using rails-on-services/apartment this is a Multitenancy for Rails and ActiveRecord
my setup is every time I create a Tenant the gem automatically creates a specific schema for the new tenant.
every time I run the `rails sunspot:reindex` the record will not appear in the search level. but in `ActiveRecord`(ex.Clien... | Rails sunspot reindexing specific schema | CC BY-SA 4.0 | null | 2023-03-04T17:00:02.560 | 2023-03-04T17:00:02.560 | null | null | 4,282,244 | [
"ruby-on-rails",
"ruby",
"sunspot",
"sunspot-solr",
"apartment-gem"
] |
75,637,194 | 1 | null | null | 0 | 10 | I am building an app with . It works fine in development mode but does not work in production mode. I have added the folder inside the public and you can see my production error in the in the code.
My folder structure
[](https://i.stack.imgur.com/kZ8Ux.png)
My main.js code -
```
const { app, BrowserWindow, globalSh... | Electron React 404 not found in production | CC BY-SA 4.0 | null | 2023-03-04T16:57:17.733 | 2023-03-04T17:20:32.487 | 2023-03-04T17:20:32.487 | 16,751,581 | 16,751,581 | [
"javascript",
"reactjs",
"electron",
"electron-builder",
"electron-react"
] |
75,637,208 | 1 | null | null | 0 | 14 | I found that every 37 to 42 minutes, without fail, a page on my website is getting loaded with a faulty company ID variable set that does not exist in my database.
I've set it to pull user info for diagnostics each time there is an error.
- - - - -
Does anyone have any ideas? This is driving me crazy!
| Every 40 minutes, a browser accesses in an incorrect variable | CC BY-SA 4.0 | null | 2023-03-04T17:00:46.723 | 2023-03-04T17:08:57.777 | 2023-03-04T17:08:57.777 | 18,076,173 | 18,076,173 | [
"php",
"error-handling"
] |
75,637,202 | 1 | null | null | 0 | 17 | So I wanted to look into CI and wrote a github workflow to publish my image to dockerhub with the latest tag when pushing a commit and with release when I publish a release. So far so good, it seemed to be working, everything ran successfuly. But it never actually reached dockerhub, the image is just nowhere to found.
... | GitHub Action Is not pushing image to dockerhub | CC BY-SA 4.0 | null | 2023-03-04T16:58:48.847 | 2023-03-04T16:58:48.847 | null | null | 18,272,893 | [
"docker",
"github",
"continuous-integration",
"github-actions"
] |
75,637,211 | 1 | 75,637,366 | null | 1 | 17 | I need to create a init function, which needs to run before the scheduler starts. I am using the schedule package.
Is there an easy way to add an init function, which runs before the scheduler starts.
```
import schedule
def call_me():
print("I am invoked")
schedule.every(1).seconds.do(call_me)
while True:
sched... | python schedule package with init function | CC BY-SA 4.0 | null | 2023-03-04T17:00:53.977 | 2023-03-04T17:25:45.827 | null | null | 15,491,774 | [
"python",
"schedule"
] |
75,637,206 | 2 | null | 75,635,499 | 0 | null | Here is a solution that builds resulting dicts in a traversal (runs on Python 3.8):
```
def getpaths(root, key=""):
if not isinstance(root, dict): # It's a leaf value for which we received the key
yield { key[:-1] if key.endswith("s") else key : root }
elif len(root) < 2: # It's a leaf that includes ... | null | CC BY-SA 4.0 | null | 2023-03-04T17:00:40.090 | 2023-03-04T17:00:40.090 | null | null | 5,459,839 | null |
75,637,212 | 2 | null | 75,637,158 | 0 | null | The easiest way would be to just wrap this piece of code in try statement:
```
try:
element = driver.find_element_by_xpath("/html/body/div/div[3]/div[2]/div")
except:
print("No text.")
```
| null | CC BY-SA 4.0 | null | 2023-03-04T17:00:56.143 | 2023-03-04T17:00:56.143 | null | null | 15,355,202 | null |
75,637,189 | 1 | 75,637,268 | null | 0 | 18 | So I have created a simple Darkmode/Light mode toggle switch and used shared preferences and provider to maintain the state. My issue is, when I open the side menu (which has the toggle switch) and I set it to dark mode, the bool value gets saved in via shared preff and then I exit the Side Menu. Now, if I again open t... | Flutter Switch button not updating visually | CC BY-SA 4.0 | null | 2023-03-04T16:56:21.093 | 2023-03-04T17:26:20.353 | null | null | 5,232,341 | [
"flutter"
] |
75,637,213 | 2 | null | 64,792,926 | 0 | null | Since the addition of LAMBDA this is possible without GAS. I have created an example sheet here: [INDIRECT with ARRAYFORMULA Example](https://docs.google.com/spreadsheets/d/1vNugmEdK_9MN_xJS0H2EF92htKx4kimQkpWR7g2WOX0/edit#gid=0)
| null | CC BY-SA 4.0 | null | 2023-03-04T17:00:57.203 | 2023-03-04T17:00:57.203 | null | null | 11,621,880 | null |
75,637,210 | 1 | 75,637,232 | null | -1 | 32 | This is working
```
class a:
def __init__(self,ka,sif):
self.ka = ka
self.sif = sif
def b(self):
pass
c = a("d","e")
c
print(c.ka,c.sif)
```
but
This is not working
```
class a:
def __init__(self):
pass
def b(self,ka,sif):
self.ka = ka
self.sif = sif
c ... | Why can I set properties during instantiation through __init__, but not through another method? | CC BY-SA 4.0 | null | 2023-03-04T17:00:53.947 | 2023-03-04T17:28:47.677 | 2023-03-04T17:08:36.603 | 14,122 | 21,332,533 | [
"python",
"function",
"class"
] |
75,637,217 | 2 | null | 75,623,822 | 0 | null | From my experience with GitLab, its platform is faster. Normally, through webhooks it will show only `running`, `success`, or `failed` status.
The behavior could change with custom runners, where a runner with low resources can slow down the process and show a status like `preparing` or `pending`.
Also, if a pipeline h... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:31.790 | 2023-03-04T17:02:31.790 | null | null | 6,689,024 | null |
75,637,214 | 2 | null | 70,400,523 | 0 | null | I believe you could use:
```
$ docker network disconnect <network> <container>
```
to disconnect problematic container (if you know its name) from the network, as per: [https://docs.docker.com/network/bridge/#disconnect-a-container-from-a-user-defined-bridge](https://docs.docker.com/network/bridge/#disconnect-a-contai... | null | CC BY-SA 4.0 | null | 2023-03-04T17:00:57.257 | 2023-03-04T17:00:57.257 | null | null | 2,024,692 | null |
75,637,216 | 2 | null | 75,633,252 | 0 | null | What exactly do you plan to do with those files? If you want to go over each file and display it, then you don't need to involve any functions for determining the file name - the `File` already does that with method `name()`. Just do what you want to do in the main `loop()` and you're done.
```
void loop()
{
File r... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:23.227 | 2023-03-04T17:15:32.267 | 2023-03-04T17:15:32.267 | 9,989,141 | 9,989,141 | null |
75,637,203 | 1 | null | null | 0 | 7 | I would like to be able to have a modal point to a different image than the one shown on the main site. For example, I have a row of images that are cropped to the same size on a page for a clean look, but when the user clicks on the image I would like the full image (uncropped version) to appear.
I've started with th... | Show different image in modal than one that is clicked | CC BY-SA 4.0 | null | 2023-03-04T16:58:55.483 | 2023-03-04T16:58:55.483 | null | null | 21,329,288 | [
"image",
"modal-dialog"
] |
75,637,215 | 2 | null | 75,637,156 | 1 | null | You can use the `agg` method in a grouped dataframe to compute multiple aggregation functions for each group. Assuming the only possible colors are green and yellow, it would be something like this:
```
grouped = df.groupby(['org', 'product_version', 'release_date'])
result = grouped.agg(
total=('org', 'count'),
... | null | CC BY-SA 4.0 | null | 2023-03-04T17:01:49.233 | 2023-03-04T17:01:49.233 | null | null | 5,256,945 | null |
75,637,219 | 2 | null | 75,636,860 | 0 | null | oh man, you are doing wrong change your Input component like following
name of input and state of input should be same "userName"
```
<input
type="text"
name="userName"
value={data.userName || ''}
placeholder={t('texts.user-name')}
onChange={handleChange} // or onChange={(e)=>handleChange(e)}
required/>
```
then chang... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:40.350 | 2023-03-04T17:02:40.350 | null | null | 20,587,701 | null |
75,637,222 | 2 | null | 70,490,059 | 0 | null | write a program to manage bank account transactions our program should be able to perform credit and debit actions with proper validations that are
1. maximum account balance can not be more than 500000
2. user can only debit 50000 per day
the output of program must show
1. action performed
2. amount deducted or ad... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:54.913 | 2023-03-04T17:02:54.913 | null | null | 21,332,589 | null |
75,637,221 | 2 | null | 48,394,438 | 0 | null | Do this in your .html file :
And now design the form below the above div tag (in.html file): Try this one:
```
<input type="date" formControlName="dateOfBirth" />
<div *ngIf="form.get('dateOfBirth').errors?.invalidDateOfBirth">
Please enter a valid date of birth (minimum age is 18).
</div>
```
In your .ts file:
```
... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:54.903 | 2023-03-04T17:02:54.903 | null | null | 16,053,101 | null |
75,637,225 | 1 | null | null | 0 | 4 | I am trying to connect my React app to firebase but it is showing an error I have never seen before . It would be great if anyone helps me out.
Here is the code:
```
import { initializeApp } from 'firebase/app';
import { getFirestore} from 'firebase/firestore/lite';
// TODO: Add SDKs for Firebase products that you want... | Attempted import error: 'getDefaultEmulatorHostnameAndPort' is not exported from '@firebase/util' | CC BY-SA 4.0 | null | 2023-03-04T17:03:03.337 | 2023-03-04T17:03:03.337 | null | null | 13,704,407 | [
"reactjs",
"firebase",
"firebase-realtime-database"
] |
75,637,223 | 1 | null | null | 0 | 5 | I'm aware this isn't a direct code-relevant question, so if this question does not belong here, please accept my apology and point me in the diretion where it's more fitting.
I'm having a project in mind where you type in a last.fm profile name + an artist and the web-page returns the amount of scrobbles the user has w... | last.fm - get amount of artist scrobbles from any profile | CC BY-SA 4.0 | null | 2023-03-04T17:02:56.437 | 2023-03-04T17:02:56.437 | null | null | 2,026,507 | [
"parsing",
"last.fm"
] |
75,637,226 | 1 | null | null | -1 | 11 | i'm a user of videojs and i would like to change the design of my videolauncher and i can't group buttons and choose their location.
I have been try to change the localisation with some code but it still not working. I have been asked Chat GPT and search on internet but i don't have a solution. Can you help me please ?... | How to group buttons in videojs and choose their location? | CC BY-SA 4.0 | null | 2023-03-04T17:03:06.107 | 2023-03-04T17:03:06.107 | null | null | 21,332,553 | [
"html",
"video.js",
"video-player"
] |
75,637,228 | 1 | null | null | -2 | 9 | I have a custom dataset consisting of pictures(800x800), 3 points are marked on each picture.
I convert pictures into an array of pixels(this is an example of one of the pictures):
`[[90. 89. 89. ... 74. 66. 65.] [93. 93. 96. ... 66. 75. 71.] [94. 96. 88. ... 64. 75. 64.] ... [ 0. 0. 0. ... 20. 15. 17.] [ 0. 1. 0. ... ... | Neural Network, Keypoints detection(dataset format and architecture) | CC BY-SA 4.0 | null | 2023-03-04T17:03:15.147 | 2023-03-04T17:07:19.313 | 2023-03-04T17:07:19.313 | 21,332,380 | 21,332,380 | [
"python",
"keras",
"deep-learning",
"computer-vision",
"keypoint"
] |
75,637,218 | 2 | null | 13,741,950 | 0 | null | Not sure about the difference of NSData vs. Data,
but I use a subclass AVDataAsset that installed a AVAssetResourceLoaderDelegate to solve the problem like @iamacomputer suggested like below:
```
class AVDataAsset: AVURLAsset, AVAssetResourceLoaderDelegate {
private let myUrl: URL
private var mediaData = Dat... | null | CC BY-SA 4.0 | null | 2023-03-04T17:02:38.707 | 2023-03-04T17:02:38.707 | null | null | 11,655,730 | null |
75,637,230 | 2 | null | 75,606,127 | 0 | null | As this [answer](https://stackoverflow.com/questions/37903462/aws-cli-listing-s3-buckets-gives-signaturedoesnotmatch-error-using-iam-user-cred) explains and the error message explains, it is to do with your AWS credentials. AWS CLI tries to retrieve credentials first from the environment variables and second from the p... | null | CC BY-SA 4.0 | null | 2023-03-04T17:03:54.603 | 2023-03-04T17:03:54.603 | null | null | 8,632,096 | null |
75,637,231 | 2 | null | 68,190,081 | 0 | null |
1. Create build.yaml file next to pubspec.yaml file.
2. Set a desire folder name (in this example the folder name is generated):
```
targets:
$default:
builders:
freezed|freezed:
enabled: true
options:
build_extensions:
'^lib/{{}}.dart': 'lib/generated/{{}}.g.dart'
`... | null | CC BY-SA 4.0 | null | 2023-03-04T17:04:06.110 | 2023-03-04T17:04:06.110 | null | null | 3,035,524 | null |