text string | meta dict |
|---|---|
Q: Create and save dynamic number of matrices in c? I would like to create random number of arrays in C with rows and columns and number given by input.
ES:
n: number of matrices to create
r: rows
c: columns.
How do I create the n matrices?
Matrix 1:
2 3 4
5 6 8
Matrix 2:
4 7 8
11 56 2
76 7 18
How do I save arrays i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Join entity in many to many not being persisted after applying "@Transient" to the corresponding entities and the join entity the main idea of my setup is to manage the many to many relationship via repositories. That is why, in the following setup, all the relations are annotated as @Transient, since those sets sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a hidden column to display filter values in the dropdown? I am using datatables from my project and it works great. However I am running into a problem with column filtering.
Position column has too long values.
Using select.append( ''+d.substring(0,15)+'' ); doesn't work as I want the text to be differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lookup key pair value based of previously found key in Python I hope that title makes sense.
I'm trying to filter through a list generated from an API call to get the selected matching record and place that in a dynamic label.
Currently, I am able to use the requests module to make an API call to a Airtable sheet I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WebAPI returning invalid response for BadRequest I have a simple API.
[HttpGet]
[Route("problem")]
public ActionResult Prob()
{
_logger.Debug($"HealthController.Accept");
return Problem("WTF?", statusCode: (int)HttpStatusCode.BadRequest);
}
When I call it with Postman, I get the following:
{
"type": "h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: (typescript) extending class type is not assignable to base class type I am pretty new to typescript. I want to create a map, that stores a class reference under the name component. It should allow any classes that extend the abstract class Component. I dont want to store a reference to a class instance but rather t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Send a photo together first menu in python-telegram-bot, like a banner to present the options '''I am trying to insert a photo in the options menu together the text in the first message sent for user, but I am not getting. I have tryied many ways but without success. '''
#MY CODE:
from telegram.ext import Applicatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send HTML email with Namecheap Privateemail I have an HTML code and I am able to open it with the web browser. When I copy the HTML email from the browser to Gmail, everything is fine. When I do the same in privateemail, the rendering is not the same and colors are lost (only black and white) Also the size of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: error "no more rows available" while Inserting in an empty table I am trying to insert a row into sqlite database, using sqlite3.h.
the query statement run without any error but no row is added to table anyway.
this is the code:
int add_to_db(char* text, int type){
sqlite3* db;
char* err_msg = 0;
int rc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rust example of shared widgets with super traits This is not a question but a working example. I asked questions previously (some with replies, thanks) and I finally managed to get what I want. Following the paradigm of the Draw example in the book, I have written an example where the screen is a vector of widgets (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting ld error after compiling c++ code g++ compiler on my mac normally worked until i installed anaconda now after executing:
g++ a.cpp -o a
this error shows up:
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libSystem.tbd' for architecture a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636793",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Fatal error: Uncaught ValueError: Path cannot be empty in I want to upload photo from file, it is working good if i try to save to
image/photo.jpg
my file is in this folder named "index.php"
but when i want to save this file to 2 folder back like
../../img/testimonial/photo.jpg
it is giving this error
Fatal error: U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Django ORM sort by column, descending, drop dublicates and give the top 5 I want to query the top 5 products of a table but they must be unique on the product column, when they have the same value for the column sodium. So its basically sort values by column sodium, show result descending then drop dublicates based ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WIN10 Edge Browser access to GCP VM web server resulted in HTTP ERROR 500 Web URL:
ERROR 500:
CONSOLE:
APACHE LOG:
What I did was: I created a php webpage at /var/www/html by sudo nano /var/www/html/index.php.This webpage is basically connecting to a Cloud SQL database, fetch back the data and display them in ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: bad data format for unit Uni with delphi 11.2 and ios arm simulation I am compiling an app from delphi 11.2 using PA server with Target being IOS ARM Similator 64 bit and ipad 10th generation.
The issue I encountered is below:
[DCC Fatal Error] Common.Database.FireDAC.SIPOSConnection.pas(17): F2048 Bad unit format: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to create and then get instance of Audioplayer by Id in just_audio flutter package? There is a same method in audioplayers package ( final player = AudioPlayer(playerId: 'my_unique_playerId');
Is there some similar in just_audio?
I need to get it in different parts of the application and it would be c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am trying to use regex for unstructured data however tab delimiter isnt working as expeced Python code to to string conacatenate of unstrucctured data in text file
Tried using sed command it didnt work
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Visual Studio Code Rust-Analyzer does not see the test folder When I write integration tests in Visual studio code, rust-analyser does not perceive the tests folder, although the cargo test works as it should
I tried to search Google, but I just found that rust analyzer doesn't work well with integration tests
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type of the result using DeepFace.analyze() when I use DeepFace.analyze the type of the output variable is ''list'' instead of ''dict''.
I don't know where the problem is exactly, you can see my code below
import cv2 ## pip install opencv-python
from deepface import DeepFace ## pip install deepface
img=cv2.imread(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regular expressions for unicode numbers I want to validate some numbers with Regular expressions in flutter.
The Regular expression looks like this: RegExp(r"(09)(1[0-9]|3[0-9]|2[0-2])([0-9]{7})") and it works fine for numbers like 0123456789 but if user enter this kind of number ١, it is not working.
There are al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read api documentation in `python` I come from a Java background where typically documentation of an API includes arguments. For instance the method java.io.File.createNewFile() is documented like so:
public boolean createNewFile()
throws IOException
....method description goes here...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fetch previous, current and next record where it meets certain condition I am trying to solve an issue where I need to find the previous,current and next record where the query matches certain condition. In the example image below I am interested in only records where pattern_id=23587462 (can be multiple), and it th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: failed to fetch an image or build from source error whn deploying Rails site on fly.io I have a rails site that's working fine locally. I've tried to deploy it on fy.io and these are the steps that I've taken.
*
*Run fly auth login
*Run fly launch
*Left the following prompt blank, Choose an app name (leave bla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nested Loops with IF Statment in CMD I am trying to download files using the command prompt.
This user @user4317867 helped me to write commands for loops. The command worked with just a flow of one season the command is:
for /L %i in (1,1,24) do curl -O "the URL of the file to download"
Now I want to download a mov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: No package libnautilus-extension to build ubuntu-wipe from source Ubuntu MATE 22.10 As the nautilus-wipe tool cannot be installed on MATE 22.10, I tried to configure/build from source script on MATE 22.10 results in the following error:
No package 'libnautilus-extension' found
Configure log:
nautilus-wipe-0.3.1$ ./c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use tensorflow_federated in Google Colab? I tried everything, even the below commands, but nothing is working!
!pip install tensorflow==1.14
!pip install tensorflow-federated==0.4.0
# The latest version of tensorflow-federated is not working with the colab python version.
!pip install --quiet --upgrade nest-a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: solnet problem in response for making Token : Blockhash not found I use Solnet to communicate with solana,
I got this error in response of transaction :
Transaction simulation failed: Blockhash not found
I did it without any problem in solana-cli.
I thought problem is in GetRecentBlockHash or GetLatestBlockHash bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Relation Algebra to SQL I'm trying to translate from relational algebra to SQL, but I don't know how to do double INNER JOIN.
π did ((π cid ((σ (name='Linda')(Driver)) ⨝ (Res))) ⨝ (Res)) - π did (σ (name='Linda')(Driver))
It should be like:
SELECT Res.did
FROM (SELECT Res.cid
FROM Driver INNER JOIN Res ON Driver.di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Repeat Animation without using Web APIs (setInterval) So I have an animation using React Native Reanimated that repeats every 3 seconds and updates the SharedValue. I have implemented it as shown below using setInterval.
const SomeThreshold = 5;
useEffect(() => {
progress.value = 0;
const interval = setInterva... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: indexedDB item store was not created I created this indexedDB database but the item store was not created and I couldn't find solutions
const IDBRequest = indexedDB.open("MyDatabase", 1);
IDBRequest.addEventListener("upgradeneeded",()=>{
const db = IDBRequest.result;
db.createObjectStore("nombres",{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass data from react native to node.js (express) How to pass data from react native to node.js (express)?
I'm working on a react native and nodejs (express) but can't figure out how to exchange data between them.
A: Perhaps you want to make an endpoint to node.js server for example post /postdata and make a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generate TXT without last white line I need to generate txt without the last line in white.
The next code usually use, but the result is with the last white line:
'path to the text file (MAKE SURE TO CHANGE IT)
'myFile = "C:\Users\amorante\Downloads\ValidacionesSunatEdufarma\" & j & ".txt"
myFile = varRuta & j & ".... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Count seconds with setInterval() each second I'm totally stuck with this one. I displayed 4 countries with real time data using forEach() method, but I want to render time every second. If I put setInterval() on renderCityTimeData() function, it render all row of data. If I put setInterval() in html template literal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stop infinite loop in MVEL? Let's say I have an MVEL expression that is causing an infinite loop. Is there any API in the MVEL library that allows me to set a timeout for executing the expression?
Sample expression:-
Serializable compiled = MVEL.compileExpression("while(true)\n" + "System.out.println(\"Hello\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to count cells in a row based on its value AND another cell in a different row's value? I have a google spreadsheet and I want to count the total number of cells where the value in Row 4 is "unpaid" and the value in row 3 is "walk*". Please see the image below.
I have tried a few things. Looking at other ques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create an Hexagon with line left and right in html I'm trying to develop an object in html similar to the one in the attached photo, the object should insert it in a div inside an html page, aligned in the center. The hexagon should be a fixed size and shape identical to the one in the image with a gradient border, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insert into multiple tables from single select I'm attempting to perform a migration to split a "questions" table into two tables: "campaigns" and "campaign_actions" where the campaign contains the question title and the campaign action references the question id via a question_id column and then newly created campa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PyTorch, Bert model: optimizer zero_grad() error I am relatively new to Python, and I am following a tutorial(https://towardsdatascience.com/named-entity-recognition-with-bert-in-pytorch-a454405e0b6a) regarding bert training for a task that I need.
The tutorial is relatively new, of May 2022.
I am using python 3.10.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gem::LoadError: can't activate selenium-webdriver (>= 4.0.0) RSpec Rails 7 I'm getting a weird issue where selenium-webdriver is not respecting the selected version number for the gem and its causing my specs to fail, overall. I can't seem to stop it, even after uninstalling the gems and reinstalling them with the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass Custom Headers in a Chrome Extension Fetch API Call I'm trying to do a simple fetch API call, but every time I do the call the browser is deleting the headers that I am passing through. The website gives me a 415 for i I am just trying to pass the content type and the secret. I removed some bits of the code for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does the IBM Db2 Python driver support JDBC batch functions? I want to write a Flask API that executes batch workloads from my process to a database. I can do it in Java. I am looking for the equivalent of PreparedStatement.addBatch(), PreparedStatement.executeBatch(), & PreparedStatement.clearBatch() within the i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Clip segments to the area of a polygon I have this graphic:
Some segments go outside the outer hexagon or inside the inner hexagon. I would like to clip those segments to the area bounded by these two hexagons. How could I do with R?
If all segments belonged to a polygon, I could use a package to compute the inters... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding API usage limits - Specs / ToS / etc.? (Specifically Nutritionix.com) I am a pretty amateur developer and would like to play around with some Free APIs.
I found Nutritionix.com which offers a free API Key.
At the directed site [1], it mentions: Up to 2 Active Users for the free API Key
*
*"An active user i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting an "not configured as an allowed type for this instance of ObjectSerializer" serialization error I'm working on an integration project. I get an error while inserting the entity to the mongodb.
The error message return this string below :
MongoDB.Bson.BsonSerializationException: 'An error occurred while ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does anyone used Django-postman for implementing private chat? I am newbie to programming as well as in Django framework, recently I am creating a website that user can chat 1 to 1 "private chat" I found lot of tutorials, like creating Django chat with django-channels every on of them are creating with chatroom, I l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mysql table for forum posts: can size be a problem? Seeking general thoughts/advise, and links to books/resources are greatly appreciated!
I am building a forum where for each topic there are posts, replies to posts, replies to the replies and so on for many levels... much like a commenting section. At the moment, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I need to send an api request to each cell of column A google apss script I am now using the manual method to send each request from column A
All I need is to send the same request to all cells of the same column, and the url must contain a variable for this cell
function aramex() {
sheet=SpreadsheetApp.getActiveSpr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we delete a PR [Purchase Requisition] Button in IBM Maximo ? Can we use any kinds of scripts or java to delete it? Deleting a PR button using scripts or java.
I have tried to delete it using the Application Layer.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: It is showing "Collected 0 items" while i am using correct naming convention screenshot
I am creating hybrid framework from scratch, i am trying to run my both test cases, i have install all necessary package, but when i am running my test_login.py file using command pytest -v -s TestCases/test_Login.py
it is not sh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can NodeJS use JavaScript Bootstrap 5 I can't use JavaScript Bootstrap 5 in my NodeJS Project. I already try to import the JavaScript files, but they don't run to my NodeJS project. I also get errors to "The script from “http://localhost:8000/example.js” was loaded even though its MIME type (“text/plain”) is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Are there any references to why html click() method runs synchronously? I found that MDN says dispatchEvent() runs synchronously when introducing dispatchEvent(), but haven't found any formal document like MDN or HTML Standard mentions that html click() method runs synchronously or synthetic event runs synchronously... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React useState set Value based on provided Key dynamically I am currently trying to create a simple useForm Hook in React and am currently working on setting the Data dynamically for a State which is stored inside a useState Hook.
Setting the Data is working fine now but I also want to be able to save it as an Objec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hash Router only loads Home Page, not other Routed Pages I want to deploy my site on gh-pages. For this I need to switch from BrowerRouter to HashRouter.
Nothing seems to work, and I always get homepage displayed. App.js and index.js code in the images.
Any help?
enter image description here
enter image description ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How can I fix this Matlab IntLinProg Unbounded Error? I am trying to run this linear optimization problem but I am getting the Intlinprog stopped because the root LP problem is unbounded error and I cannot figure out why.
`
f = [-22; -14; -16; -19; -15; -10; -15; -12; -10; -13; -10; -7; -10; -11; -13; -13; -21; -13;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How display circleMarker data using several colors? How display circleMarker data using several colors according to magnitude value. For example this map (https://cartonumerique.blogspot.com/2023/02/seismes-en-Turquie-et-Syrie.html)?
Here is my map function and my map script.
#views.py
def data(request):
all_even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why discord.py error shard ID None heartbeat? I encounter a difficulty on my discord robot which allows me to start a python script informing me of the news.
Here is the error message I am encountering:
Shard ID None heartbeat blocked for more than 10 seconds
The purpose of my command of my discord.py script is to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to decouple the security layer of Jhipster? It would be great to have the ability to decouple the security layer from Jhipster. This could be done from the wizzard command "jhispter" or from the web https://start.jhipster.tech/
There are scenarios where security (authentication and authorization) is delegated to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Collapsing longitudinal data into time periods by identifier with dplyr I have the following example data where there are daily observations for columns X, Y, Z, and C:
structure(list(ID = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
3, 3), day = c(1, 2, 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Do Loop for Coalesce SAS SQL for TWO left join I have this code in this code there are many repeating of Coalesce function I want to it in DO loop
proc sql;
create table Policy_details as
select t1.* , COALESCE(t2.NOOF_MEMBERS_INSURED, t3.NOOF_MEMBERS_INSURED) as NOOF_MEMBERS_INSURED ,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: decision tree fail when adding error cost in c5.0 I get this error only when adding error matrix to the formula:
Call:
C5.0.default(x = heart_train, y = heart_train_results, trials = 1, costs = error_cost)
C5.0 [Release 2.07 GPL Edition] Sat Mar 4 17:43:23 2023
Class specified by attribute `outcome'
Read 820 ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sort 1 column in the python matrix in ascending order by bubble? I can't sort 1 column in ascending order, can you help?
def sort():
for i in range(n-1):
for j in range(n-i-1):
if j==0:
if A[i][j]>A[i+1][j]:
w=A[i][j]
A[i][j]=A[i+1][j]
A[i+1][... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to get a nema 17 stepper motor spinning with an arduino uno and drv8825 stepper driver Over the past 2 days I have tried to get a NEMA 17 motor to spin using the Arduino Uno and drv8825 stepper motor driver with no success with these two wiring examples: [enter image description here](https://i.stack.imgur.com/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to find minimum first and last hour for each shift in Excel I want to find first and last time for each shift of the day:
Shift
Start Hour
End Hour
Day Shift
7:00
15:00
Day Shift
15:00
22:00
Night Shift
23:00
02:00
Night Shift
02:00
06:00
Shift
First Hour
Last Hour
Day Shift
7:00
22:00
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there good naming conventions to get around long variable names, without having to rely on comments for better readability? Basically I always try my best to avoid comments whenever possible. I watched many videos from Uncle Bob and regarding the things he wants to express, there are many things I agree to.
He o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to scrape the categories belonging to the datasets with BeautifulSoup? I webscraped a site which has an url such as this: https://takipcimerkezi.net/services
I tried to get every information of the table except "aciklama"
This is my code :
from bs4 import BeautifulSoup
import requests
import pandas as pd
import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a probabilistic model for sports odds Firstly, this is quite an abstract question so apologies if that’s unhelpful.
I run a small data analytics site providing insights and data on a sport and want to progress to creating some kind of odds for winning an event.
I have a fairly large trove of data on pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ModuleNotFoundError: No module named 'importlib.util' in I am trying to install a project I downloaded from github:
jlinkels@schrans-pc:/tmp/subsai/src/subsai$ pip3 install -I git+file:///tmp/subsai
Collecting git+file:/tmp/subsai
Cloning file:///tmp/subsai to /tmp/pip-req-build-8znnvukr
Running command git clon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to make this nested forms been submitted with one click using htmx and django So I have web page that contains many nested forms where I can add dynamically many forms by clicking a button and this form are import from other HTML templates to the main web page that can also duplicate many forms within... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to use IOS API to get Mac os version of my App working? I am building iOS and MacOS app. Both share Swift code base. Seems like Mapbox does not support MacOS.
So currently I am using Mapbox GL JS as a web view.
What I found is if I use my styles in Mapbox Ios Preview App, navigations are super smooth ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Adding a penalty of sparsity of the data to the loss function in GAN I have implemented a GAN to generate graphs (basically I am generating the adjacency matrix).
The implementation of the training GAN:
def find_sparsity(graph):
return graph.edge_index.shape[1] / (graph.num_nodes ** 2)
def train_gan(loader, disc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating OAuth2RestTemplate Resource with Proxy I'm trying to create an Client that is using OAuth2 but also needs to travers thru a proxy. Currently I'm getting the error Failed to instantiate [org.springframework.web.client.RestTemplate]: Factory method 'restTemplate' threw exception; nested exception is java.lang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use my Mysql server in Wampserver - 3.3.0 after getting locked out of users - Access denied for user 'root'@'localhost'. Account is locked After creating a new user in my Wampserver 3.3.0 MySql server type, with the user as MYSQL and password as MYSQL, I locked the default user of the MySql server and logg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Chrome devtools - can I load a CDN file from console Can I load a CDN file from Chrome devtools console?
Background:
*
*I get this question when I am experimenting with web3 javascript from console.
*This question is about the console usage.
I have a web3 java script below.
You don't need to read the whole scrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can some one use turtle package to draw a glass of beer? enter image description here
like one of them.
I hope you can give me the python code to generate this image.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to set header key and value with go packages : shurcooL/graphql or hasura/go-graphql-client? So I want to query datas from Graphql server via Go with either shurcool or hasura go client (Go packages), but the datas server required something like 'x-hasura-admin-secret' key and value includes inside a request hea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why Notice: Undefined index on php programming I want to display the results from register that I created to the database but it doesn't work
code:
`<?php
$koneksi = mysqli_connect("localhost", "root","", "register");
$nama = $_POST['nama'];
$umur = $_POST['umur'];
$email = $_POST['email'];
$jeniskelamin = $_POST['... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the problem in this unity c# code? using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Password : MonoBehaviour
{
public float PasswordNumber;
void Start()
{
}
void Update()
{
if PasswordNumber = ("1111");
{
Conso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Any reason as to why this isn't fetching the firestore data and displaying it on said page? Using the nextjs 13 app dir I'm currentl trying to fetch the firestore data from firebase on Nextjs using the new App directory. But it seem to be defaulting to "the community does not exist...." page instead.
Can't seem to b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I send a variable from an Electron html file to a javascript file? Im trying to get a number input from a form on the html document, and then send it to the javascript document and console.log it. Even while trying to debug and trying multiple versions it still wont work.
HTML DOC:
<form id="searchForm" onsu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pull out the Contacts whose associated account has highest annual revenue? I want to pull out all those contacts whose associated Account have highest annual revenue and I use below SOQL query
select name, account.AnnualRevenue from contact where account.AnnualRevenue=(select MAX(account.AnnualRevenue) from c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get all rows from csv file where 2 columns have the same variable I have a csv file representing soccergames of about 1700 teams (but every team has different series) and containing 11 columns and 2 columns of them have the same variable (ID number of the team). example of the page. The ID's are the same in ... | {
"language": "de",
"url": "https://stackoverflow.com/questions/75636914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Teaching the model on more than one dataframe/dataset I am trying to write a thesis on oil pipe leakage detection. The aim is to predict the size and location of the leak. My problem is that I can only run single simulations using a software called OLGA for a specific size/location and record the data for different ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Spring batch summary after one group is finished I am trying to implement a batch job where we are processing data for multiple student departments. We are reading data from DB & writing it to a file and once a particular department execution is done we need to print the summary of students in that department. In th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: New Ubuntu Server 22.04 install freezing on boot due to Nouveau/NVIDIA driver issues I'm trying to do a clean install of Ubuntu Server 22.04 into a host that has 2 NVIDIA A6000 GPUs. My goal is to install the NVIDIA proprietary drivers and CUDA.
However, while the clean installation works fine, the moment I install ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any way to search the source code of a website for an img tag in JavaScript I need to be able to search the source code of a website (https://www.example.com) for an img tag that of which the source link begins with https://assets.amuniversal.com in the source code using JavaScript. So far I've had no succe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: I'm trying to add words to an array from a text input but it is coming back as an "Uncaught TypeError" This is the error message - "<a class='gotoLine' href='#76:28'>76:28</a> Uncaught TypeError: document.getElementId is not a function"
I have two text inputs being combined before being inserted into an array
This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SSRS Report Convertion if (not isnull({Command.for_each_param_1}) or instr(1,{Command.test_expression},"TOPNISSUE") > 0)
and
{Command.units} <> "Num Bkts"
then True
else False
instr(1,{Command.test_expression},"TOPNISSUE")-->This is Crystal Formula I need to be convernt in SSRS Expression
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: mask mode with Hashcat I'm trying to connect to my meter by using some open-source software, all the meter supports the dlms-cosem standard. but the problem is the meter disconnected due to security check not passed.
after some research about the issue, i finally get to find the equation set to encrypt data(F [ StoC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: VBA Excel Xlookup refer to table column I have a code for my ComboBox2 which works properly. Now I want to change values in combobox2 and based on that in the textbox6 get a number which is in a column (Total) which is the 6th column of the table (Table1) in another sheet (sheet2).
Private Sub combobox2_Change()
Di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between a = b and a = np.array(b) in the case that both of them are ndarray? I have 2 case in here,
Case 1:
import numpy as np
a = np.array([1,2])
def add(x, num):
x[0] += num
x[1] += num
return x
b = np.array(a)
c = a
b = add(b, 1)
c = np.vstack((c,b))
print(c)
The result ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select value inside the box Suppose we have one box that contain 4 values then we create 4 botton to select each box value using buttons
Four button ( left right up down) and box contains similar format like button .
A: I think you are asking this:
<input type="text" name="city" list="cityname">
<datalist id="c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Qwidget window is suddenly crashes after showing up This problem arises whenever I make any QWidget window, it'll just close after showing up.
I'm don't have much experience with PySide6 or qt framework so can't figure out how to resolve this problem.
import sys
class AnotherWindow(QWidget):
"""
This "win... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to create a program that trim videos with python I am trying to create a program that can trim videos with ability to use browse for choosing input and output locations and also can edit/trim the video with a slider to make it easy but I have a problem and I searched alot for a solution.
import tkinter as tk
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When exploring a user in GA4 User Explorer, how can I view the parameters passes through that event? In user explorer in GA4, I see default page_view, scroll, session_start events but they don't show the details like page_path etc. when I click into them. I am new to GA4 and tried searching online to understand how ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Iterative algorithm with Spark We have a usecase where in a Spark job
*
*We iterate over partitions of an external table
*
*Load data of this partition (alomost same data vol in each partition)
*Do tranformation(self joins, no udfs) on the data
*save data to external location
*repeat
In the process we do n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure ADF - HTTP : Table from list I'm new with ADF.
I use a HTTP request (ex: myapi/users) to return a list of user id in a dataset delimitedtext:
[6,15,21,30,26]
I try to convert this list in a table:
Id
6
15
21
30
26
in order to launch a API REST request to return details of each users
with a foreach capacity for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript: Returning promises to indicate asynchronous function completion I am writing some Node JS code which is essentially some schedule driven logic.
The start times for when a set of functions should be dispatched are defined in a database somewhere, and the main Node JS function is responsible for calling fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why is Stack complaining about the parent directory being owned by someone else? Background: I want to develop a website with the back-end being an Haskell API (using the Yesod library) and I'm using Docker with three different services: one for the database, one for the API and one for the front-end.
Problem: I kee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to have matter modules and services in android emulator I have selected pixel 6 in as android emulator. It doesn't contain matter modules and services. (Verifying from steps in https://developers.home.google.com/matter/verify-services).
How can I have matter modules and services in android emulator.
Thanks.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75636943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Peer dependencies issue in eslint-config-next (with Typescript) I create a new project with Next.js using pnpm, and i got this error for typescript depencencies missing from pnpm:
WARN Issues with peer dependencies found
.
└─┬ eslint-config-next 13.2.3
├── ✕ missing peer typescript@>=3.3.1
└─┬ @typescript-esli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75636945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |