text string | meta dict |
|---|---|
Q: Why doesn't my Rust code with dependent types compile? Why doesn't my Rust code compile?
pub struct BinaryFormatWithoutFieldUid<'a, T>(pub &'a T);
pub struct BinaryFormatWithoutLength<'a, T>(pub &'a T);
pub trait Serialize {}
impl<'a, T> Serialize for BinaryFormatWithoutFieldUid<'a, T>
where BinaryFormatWitho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DevOps Separate Output Files Based On Project So in my DevOps I have multiple projects, and I am choosing to build two of the projects, so I'm passing the path to those two projects like so:
But the issue is that the pipeline is placing all the files for both projects under the drop folder. Instead I want it to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use a copy constructor to create a deep-copy of an Object array's contents without implementing cloneable() or arraycopy()? I need to create a copy of an array's contents, which are made up of various Objects of different types. However, I cannot use explicit casting to check the type of the Object, nor use t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing protected members from class implementation in TypeScript I'm getting this error when trying to implement a protected member in TypeScript.
Is there a way to avoid it? Or am I doing something the wrong way here?
It seems that TypeScript does not recognize implementations of a class as its subclass, like it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the difference between "riscv64-unknown-elf-gcc" and "riscv64-linux-gnu-gcc" I want to develop a tiny OS on risc-v, and when I downloaded the risc-v cross-compiler, I found out that there are two modes of compiler, "riscv64-unknown-elf-gcc" and "riscv64-linux-gnu-gcc".
I would like to know the difference betw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If I have a build error when I save, vscode will switch focus to the Problems panel. How do I turn this off? As the subject says. Every time I save a file and there is a build error, it will change focus from the source that I'm working on and it drives me crazy. Is there a way to turn this off? I have the habit of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RxJava2 get exception when using Observable.fromIterable Sometime, I've got an exception in my application. I'm using Observable.fromIterable to call parallel with a list callback Object.
Observable.fromIterable(callBackArray)
.map {
it.invoke()
true
}
.onErrorResu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Did Microsoft abandon Teams on Linux? I noticed yesterday for the first time, today again, that the Microsoft download for Teams uses a link that no longer works and results in a "Nginx 404 not found" error message.
Did Microsoft finally abandon its attempt to offer MS Teams on Linux? I have worked with Teams on Lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: new to python, not getting output in python editor. help pls enter image description here
hi i am new to python and i installed python3 and pycharm on my macbook air m1. installed pandas, numpy, matplotlib libraries for data science learning. just trying to print hello world but it returns this long output which is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Autocomplete can't send id data in edit mode I have a line of code to add data and change data in one form, but here if I use the add data mode, the data that is output by Autocomplete is in accordance with what is in the api to display the data list but when I use the mode to change data, the data sent by Autocompl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I wanna get matched elements in array created by JSON_ARRAYAGG SELECT
h.id,
h.name,
h.address,
JSON_OBJECT(
"lat", h.latitude,
"lng", h.longitude) coordinate,
h.price,
h.guest_max guestMax,
h.bedrooms,
h.beds,
h.bathrooms,
h.thumbnail_url thumbNailUrl,
h.user_id,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How could I check the cached data is fresh when using cache Interface? I've wondered how can I check my cached data is fresh when I used cache Interface of browser and JS.
I heard that a solution like this
*
*define "lastFetchedTime" variable and set the time when I'm fetching
*Compare current time and "lastFetch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why not use only channel data in WebRTC TURN client? In WebRTC TURN client, the two process (create permission and channel bind request) is as follows:
(1) create permission in TurnEntry constructor:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/p2p/base/turn_port.cc;l=1757
TurnEntry::T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Method Channel Lifetime I'm wondering if the following code is memory safe:
Future<String> getValueFromNative() async{
const channel = MethodChannel("channelName");
var result = await channel.invokeMethod("myMethod");
return result;
}
I wonder if I will be leaking memory if I create a new m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable a textbox inside Repeater control when any of the DropDownList values also inside Repeater, is selected I have a textbox and dropdownlist controls inside a repeater control.
The textbox is called txt_watersizes and the dropdownlist is called ddlWater.
The dropdownlist currently has three values although this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use more than one docker-compose replicas in Nginx I'm quite new to docker-compose and nginx. I'm trying to understand how I can have more than 1 replica under deploy attribute in docker-compose.yml when using with Nginx as web server.
docker-compose.yml (simplified):
version: '3.8'
services:
app:
de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rust not using correct version I'm trying to follow a simple tutorial for getting started in Solana.
When I run anchor build, I get an error that is based on my rust version. However, this is not the version that my terminal says I am using. How do I get consistency between these two?
% rustc --version
rustc 1.69.0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i create a 4 column layout in PySimpleGUI? I need to generate a section of a form with 4 columns. Since the sg.Table element doesn't accept other elements as content, I'm not sure how to achieve a side by side layout. I've been using PySimpleGUI for awhile, and I really like it. Studying the docs and playing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strip error when using toZod package on TRPC inferred type toZod is a utility for defining Zod schemas that agree with a TypeScript type. It basically gives you auto-suggested properties for your schema by supplying toZod with a type. If your type ever changes, it will show an error notifying you that you need to ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open a new UI from a global method in Flutter? I have a Flutter app that uses FlutterBackgroundService (pub) to perform some background tasks. I want to open a new UI when a certain event occurs in the onStart(ServiceInstance service) method of the FlutterBackgroundService. However, I am unable to use BuildCo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating expiration date of key vault secrets using terraform I am trying to update the expiration date of all the secrets available in the Key Vault. I have written below terraform script and kind of stuck at a point.
main.tf file
data "azurerm_key_vault" "key_vault_data" {
name = var.name
resource_group_name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Backspace, delete, enter and right arrow keys are not working after upgrade Ubuntu from 20.04 to 22.04 After upgrading some characters are not working. For example backspace writes number 42 instead of erasing character. Similar is with delete and enter keys. My laptop is Acer Aspire A715 72G. External USB keyboard ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stockfish engine in flutter I started a project about chess and I wanted to let the user play with the computer (AI), I searched a lot about an engine to use it as an AI, I found a stockfish engine but I can't find anything about how to use it into your flutter project.
so how to use it into my flutter project (step... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it bad practice to render a React component through the return value of a regular javascript function? I'm not sure if I worded the question correctly but basically I have a bunch of React components but only one can be rendered at a time. I thought the cleanest way to do this was to have a map that maps the comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: redirect to home page automatically when i empty cart (on cart page) - woocommerce I was able to find a similar question on stackoverflow but I'm not able to figure out to change "shop" to the home page.
This is what I desire:
*
*Add product to cart and browse website
*Visit cart and empty cart
*Automatic redire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I shuffle an array of videos to play until the last video is finished and then reshuffle in JS? I have an array of mp4 videos that I need to display randomly with no repeats in a website header. After the last video plays, it should reshuffle and start over. The sequence needs to begin on page load. Each v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Explanation on this haskell code which takes a list of uncurried elements and curries them I am trying to analyze this haskell code, if anyone familiar w/ haskell could provide some insight on what is going on with this code, I would greatly appreciate it.
curryList :: ([a] -> d) -> (a -> [a] -> d)
curryList unCurri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android SlidingPaneLayout closePane() no longer working I recently updated a project that I completed a couple of years ago. The application has a fragment and a sliding pane with a list of items, pressing on which triggers a certain action and closes the pane. The pane is also closed once the fragment is open.
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Artnet Poll Reply packet not being acknowledged I hope someone can help me here. I used the information available here: https://art-net.org.uk/how-it-works/discovery-packets/artpollreply/
and created a function for sending an artnet poll reply when a request is received.
My computer's ip address in this test is 19... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django and SQL Q What is the meaning of the following?
This is a Django project
sql = 'select * from tb_music where songlx = "{0}" ORDER BY RAND( ) limit 0,1'.format(key)
What is the meaning of the following?
This is a Django project
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75611117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: CEN/XFS: How can I get the details of hardware error from description of results in WFS_SYSE_HARDWARE_ERROR I am trying to get hardware error details from description of results in WFS_SYSE_HARDWARE_ERROR for a device.
typedef struct _wfs_hwerror {
LPSTR lpszLogicalName;
LPSTR lpszPhysicalName;
LPSTR lpszWo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Testing Vuetify v-checkbox with Vue test utils 2 - wrapper.setValue() cannot be called on V-CHECKBOX I am trying call setValue on a Vuetify checkbox in a Jest test.
it('checks "Select All" when all items are selected', async () => {
const checkboxes = wrapper.findAll('.enable-item-checkbox');
const c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding Media Query to Parallax Background I designed a "parallax background on scroll" effect, and I'm having trouble get it so it is responsive to the screen.
Media queries weren't responding, and using different sizing CSS properties on different images and divs didn't work either. Here's a Github repository link ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to match RefMut? I'm not very skilled with rust RefCell
and i want to know how to solve the following error.
I would be very grateful if someone could answer my question.
use std::rc::Rc;
use std::cell::RefCell;
enum Node {
Branch { name: String },
Leaf { name: String },
}
fn test_match(node: &Rc<RefC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ssl module is not available in Python 3.10 even though OpenSSL v1.1.1 was installed on Amazon Linux 2 1. Background
I just started to use Amazon Web Service and made an EC2 instance on Amazon Linux 2. Python 3.7 is installed on it but I want to use Python 3.10. So I decided to uninstall existing Python 3.7 and then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel 9 with Jetstream - Making a CRUD from a form with mass assignment, into an entity with a multivalued attribute I'm developing an application for publishing and consulting real estate rents, using Laravel 9 with Jetstream.
Since I'm pretty new to Laravel, I'm following a tutorial in Youtube (in Spanish) which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python crashes every time I start Rstudio? Every time I start up RStudio, the error message below pops up. There is no issue using R itself afterward, but it is quite annoying and since it might cause problem in the future, I want to fix it. I tried uninstall-reinstalling both R and RStudio, which did not work. Plea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a function that I can call so that the Direct3D12 device doesn't get removed for taking too long? I am currently building a Direct3D12 game engine in C++ and I'm currently implementing PBR. I attempted to compute an irradiance map for ambient lighting but I keep getting a TDR delay. I do not yet understand ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using custom date formats on Tempus Dominus with laravel In order to handle dates I needed to install an npm package called tempusDominus, which needs to be extended in order to support custom date formats. However when I follow the documentation (Accounting for laravel's quirks) I should have it written like this i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hover function using HTML and CSS on Squarespace note: Sorry guys, I'm absolutely new to this. Thank you for letting me know what you find are the mistakes on this post. I'll try to do better next time. :)
I'm having a problem with a hover effect I made for a design client on Squarespace. (I don't know how to code, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to connect Looker Studio to an Azure SQL database I am trying to connect Looker Studio to an Azure SQL database, which has been frustrating.
First, there is no dedicated Azure SQL connector, so I use the Microsoft SQL Server connector.
I have entered the required fields (for both the BASIC and JDBC URL methods)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The type of the member [foo] of the declaring type [bar] is unknown GraphQL/Hot Chocolate (again) Greetings and thanks in advance. I am using .net6, GraphQL/Hot Chocolate/ChilliCream and have started my first test/GraphQL application. I wish to use some of the non-standard GraphQL types, uint for example. When th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Duplicate records after multiple table join in SQL I have a table called main_table and it has the following records
cust_id
start_date
end_date
10001
2022-12-01
2022-12-30
10001
2023-01-03
2023-02-01
I have another table called penalty_a_type and it has the following records
cust_id
start_date
end... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Escaping passwords in Azure Databricks jdbc connection I am trying to pass through a password which has a lot of punctuation in it via widgets in azure databricks. This process gets called from Azure Data Factory which appears to be passing in variables fine. This is how I pass things in and configure the relevant ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP exiting when adding base 64 image in image src, but works when loading it via javascript I'm fetching raw images from an external resource and converting the data to base64 to add it as src attribute- it crashes. But when I output it anywhere else, the function proceeds normally.
Here is the code where it breaks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I disable Gradle's IDLE countdown when a task is finished? I've noticed that when I execute a task with the Gradle wrapper, it just sits there for exactly 15 seconds after the task has completed and the build is finished. I'm using it as part of a bigger shell script and it's causing the whole thing to take a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use WSO2 IS? I tried to configure but I can't login.
It said 'OAuth2 realm="WSO2 API Manager", error="invalid token", error_description="The access token expired"' & Authorization: Bearer null
Resident Identity Provider Configuration
WSO2 carbon log
WSO2 API configuration
Thank you very much.
This is my confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Converting any file to binary 1 and 0 and then back to original file without corruption in python I need a bit help here, don't ask me why it is a wild idea but I want to convert any file into pure binary code 1 and 0 and then back to the original file. The requirement is that when converted the binary code need to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to read_csv correctly for dataFrame with Int64 Array? The following is a simplied version of the issue.
df = pd.DataFrame(data={'key': [1,1,2,2], 'val': [3,4,5,5]})
df['val'] = df['val'].astype('Int64') # read_csv can't read Int64 array properly by default
df = df.groupby('key')['val'].agg(['unique'])
display(df... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to get data related to date using laravel I want to make query that if i have no date into request so otherwise data should be shown of current date please help me thanks.
Controller
VehicleTask::where('vehicle_id', $this->driver)
->whereDate('date', Carbon::now()->format('Y-m-d'))
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Strange behavior of futures::future::join_all. Wasn't that suppose to run in parallel? I'm building an application in Rust using ethers_rs library. I wanted to do some parallel requests and tried with the futures::join_all. The code is:
let now = Instant::now();
token_one.get_balance(&pair_address).await;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Power prior in R2jags In a fixed power prior model, the model is set up as:
Suppose that the event follows a Bernoulli distribution with probability p_i, what I want is to raise the Bernoulli likelihood to the power of w in jags:
mod1<-function(){
for(i in 1 : N) {
y[i] ~ dbern(p[i])^w #<-------------------
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to search for multiple times when running a query in BigQuery? I'm extremely new to SQL! Honestly, other than online coursework for other focuses and surfing the internet, I'm extremely new to all of this. I've been working on the Google Data Analytics Career Certificate and am working on the capsto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter: Unable to make field private final java.lang.String java.io.File.path accessible after upgrading to Electric Eel I updated my Android Studio to Electric Eel and when I ran my app, it made me define a JAVA_HOME environment variable. I downloaded JDK 17 and set the variable, but now when I run my app I get th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: preg_match_all is not working or showing result {"popUp":false,"token":"NS2938f08ubjk765vhjJBKJB78vhjeec1_m1_7"}
This is curl response in JSON, and i want to extract token from this JSON response.
i used preg_match_all function but its showing null
here is my code
preg_match_all('/^"token":"\s*([^;]*)/mi', $result,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is upgrading node version with n not working on mac? First I followed this, and I managed to get the newest version installed. However, I didn't get to switch to it
installed : v19.7.0 to /usr/local/bin/node
active : v10.24.1 at /Users/xxx/.nvm/versions/node/v10.24.1/bin/node
So I tried to do the switc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access resources from the server I have published an ASP.NET Core 5 Web API on Windows Server 2019 with IIS and I can't get access to my generated QRs, out of the server you can access with www.page.com/api/files/QRs.png but I need to make a report rdlc with that image but in the source of the image I have se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exporting http server to another module in nodejs I'm building an application through socket.io which uses a http server created in bin\www (this is a .js file where the app starts listening)
server = http.createServer(app)
I need to be able to use this server in another module say socket/socket.op.js
But when I try... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python constructor that initialize its parameters based on values from another python file I have a class A and its constructor takes many variables. In my project, these variables are identified from another python file, B.
file B looks like this:
p1 = 4
p2 = 1
...
pN = 'dd'
#and a bunch of other variables.
Class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send data to essbase through the dodeca excel addin on the excel ribbon Looking to automate the data loading process where the macro will select the range of the data and send it to Essbase, currently being manually done by pressing the send button on the excel ribbon post set up of the active essbase connection thr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL query not returning when I know there are records to return Here is my table:
create TABLE posts (
id INTEGER PRIMARY KEY,
post_type TEXT NOT NULL,
content TEXT NOT NULL,
sender TEXT NOT NULL,
receipient TEXT,
is_visible BOOLEAN,
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
invisible... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: python pandas extracting an element from .str.split() I want to extract rows from a dataframe where the middle part of a string is "BB" (see code)
import pandas as pd
data = {'col1': ['AA.BB.CC', 'AA.EE.CC']}
df = pd.DataFrame(data)
print(df)
df['col2'], df['col3'], df['col4'] = df['col1'].str.split('.', expand=Tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Restore certificates to fix curl error 60 A while ago, I had to install some ssl certificates on my Windows laptop (used only for work). Ever since, I noticed some odd issues when using curl.
curl https://www.google.com ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chromium not deleting Cache I think I might have misconfigured my webserver at some point to serve wrong caching policies, but now I cannot get them removed.
When I access my site, it keeps showing the old content, only CTRL+F5 does the trick. But that is only a temporary fix, after reloading normally again, it show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why constraints does not work in Testcontainers? I am trying to use testcontainers in my spring boot app.
I also use liquibase and i have simple code there:
create table calendar
(
date date primary key,
is_weekend boolean not null,
is_pre_holiday boolean not null,
check( not (is_weekend and is_pre_h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using require within a custom nodejs module I'm struggling to understand why this basic code is not working.
If I write a custom module. It's in a folder called MonkeyContacts/ Inside the folder there are 3 js files and an index.js. My plan was to put 1 function per file and constants in another.
| MonkeyContacts
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get parameter from Bloc without using Blocprovider/Bloccomsumer...? I have defined a bloc named "AppBloc" that manage user login/logout activity of user:
class AppBloc extends Bloc<AppEvent, AppState> {
AppBloc()
: super(
const AppStateLoggedOut(
isLoading: false,
),... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use WooCommerce class when it's not loaded yet I have a form and I use this official method to handle the data:
https://developer.wordpress.org/reference/hooks/admin_post_action/
But in my callback function, it doesn't work if I call the WooCommerce class like this:
WC () -> cart -> get_total ()
The error message is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Time taken by the loop what's the time complexity of this program and how it is calculated. As per my understanding I think program time complexity is O(n^3).
for(int i = 0; i < n; i ++)
{
for(int j = 0; j<n; j++)
{
}
for(int k = 0; k<n; k++)
{
}
}
I tried figuring out but so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to check upgrades for third party dependencies in a Gradle libs.versions.toml how to check upgrades for third party dependencies in a Gradle libs.versions.toml
Earlier when we opened the build.gradle file and checked for the problems section we could check if new version is available for the availabe updates,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to solve problem concurrency data (2 or more client) updating data at the same time without using triggers in DB So I have a case where there are 2 or more users who access data and update the data simultaneously. Because of this, some data is overwritten or lost. How do we solve this in the backend without usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular Firebase startAfter for paginated queries not working as expected I have been looking at other posts regarding this topic, mainly for React and reading on how to use paginated queries but am struggling to understand what I am missing. I want to do an infinite scroll using ngx-infinite-scroll. What I want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate percent change of a pandas dataframe across groups with a custom period? I am trying to compute the percent change in a a column of a pandas dataframe. I can get it to work when I don't specify periods, but I would like to specify the number of periods to consider. It has to work across groups is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why am I unable to find the HTML code of some JAVA project in my local repository, when I try to copy some HTML code from the browser(front - end)? I am trying to add some functionality to already existing text field (HTML) in my company's project. When I try to find the required element from the browser, copy the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: CS50 Runoff Pset This is Harvard's CS50 course. Pset 3 "Runoff": https://cs50.harvard.edu/x/2023/psets/3/runoff/
I'm facing issues with the functions 'find_min', 'is_tie' and 'eliminate'.
I've seen a couple solutions online but don't quite understand why I should be changing my code.
*
*'find_min'
Having already ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Too large to import. Remove rows or columns and try again I was unable to open my CSV file of 133Mb in google sheets. First, I must open the file to remove the rows or columns. So if anyone helps me, it will be so great.
I tried opening the file, but it is not opening. I expect how to open that 130 MB file in google... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to have main site serving content from microsite? I have 2 website in 2 different servers,
*
*http://www.example.com is the mainsite (dotnet)
*http://help.example.com is a microsite (wordpress)
RewriteEngine On
RewriteRule ^ index.php [L]
RewriteRule ^/help(.*)$ http://help.faceoff.com/ [L]
With ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Cardinality become 1 when I show index? Initially, the database monitoring platform had slow sql alerts.
SELECT * FROM t1 WHERE deduct_status = 1 AND bill_date = '2023-02-15' AND type IN (1, 2) AND gs_id IN (794872, 794873, 794874, 794875, 532720, 794868, 794869, 794870, 794871, 794864);
I first queried th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Constructor overriding in PHP According to this answer, we need the same signature for the parent and child constructors.
But I tried the following code, and it is working fine. I am finding it difficult to understand this.
<?php
class Person{
var $name;
function __construct( string $name){
$this->n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Covariance issue when returning Task from a method In .NET 6, I have an interface and a type:
internal interface IProvider
{
}
public class TProvider : IProvider
{
}
I want to use a covariant T in another interface like this:
internal interface IFactory<out T>
{
Task<T> Create();
}
But on the line Task<T> Cre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is Back-Face 'Double'? I created a mesh and ensured that every triangle was the formed with right hand rule.
In this case it's a sphere where all the polygons are 'outward' facing.
I 'might' have a bug in my code where a triangle was flipped.
I load the mesh into meshlab and am trying different back-face method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Could reduce max_result_window improve query performance? Can reducing the value of index.max_result_window improve query performance? For example, reducing it from 10000 to 1000.
curl -XPUT 'http://localhost:9200/company/_settings' -H 'Content-Type: application/json' -d'
> {
> "index" : {
> "max_result_window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to only allow paste action in inputTextField in react native and disable cut/copy actions from context menu I want to only allow paste action upon long press on text selection in inputTextField but I don't want to allow cut and copy action.
There is one attribute contextMenuHidden but it also blocks paste action... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: document.querySelector returns null for existing element I am trying to extract company name from specific website but even element exist in the html queryselector returning null
I have tried using DOMContentLoaded, adding script at the bottom of the HTML and adding defer to the script but still it is not working
do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Kotlin scope functions be used to write test? Can a scope function be used instead of calling functions individually on the assertThat(...)
fun cashCardSerializationTest() {
val cashCard = CashCard(99L, 123.45)
assertThat(json.write(cashCard)).isStrictlyEqualToJson("expected.json")
a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Downloading All Office 365 Mail with Microsoft Graph I have the following C# Code that retrieves email from Office 365 using Microsoft Graph. The Microsoft Graph NuGet Package is version 5.0.0. I am using .NET 6.0 This code will only return the first 10 messages. I know I need to do a paged query but after referring... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: After splash screen, redirect to Login screen in react native Im newbie to react native mobile development.
I have this problem that, after splash screen, it will redirect to my bottom tab navigation with 5 tabs.
But my expected output is after splash screen, it will redirect/navigate to LOGIN SCREEN, in that LOGIN ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redmine Plugin - requires restart after every code change ( Ruby on rails ) On the Redmine plugin, whenever I do some changes and save it, it requires a restart to showcase the changes. Particularly I'm working right now on init.rb which shows the effects on localhost:9292/admin/plugins.
How can I change it to whene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wolfssl-5.5.3 can not use mp_int i have configured using commond ./configure --enable-debug --disable-shared CFLAGS="-DWOLFSSL_PUBLIC_MP" && make && sudo make install referring to enter link description here
1: https://github.com/wolfSSL/wolfssl-examples/blob/master/ecc/ecc-params.c,but it didnot work,maybe is it th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Distinct values in groups in psql I want to get all the values that are distinct in that group. For eg:
Group | Value
1 | a
1 | b
1 | a
1 | c
2 | a
2 | b
2 | b
3 | a
Desired Result: (format may vary)
Group | Value
1 | a
1 | b
1 | c
2 | a
2 | b
3 | a
OR
Group ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my onload event in Javascript not working This snippet supposes to load the script after the body has loaded but this code is not displaying anything on the p-tag as it supposes to do.
<!DOCTYPE html>
<html>
<body id="myBody">
<h1>HTML DOM Events</h1>
<h2>The onload Event</h2>
<p id="demo"></p>
<script>
doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any multivendor chat html template? Is there an html template to speed up the implementation of a multivendor chat on a marketplace site?
I'm trying to create a chat html code for a multi vendor marketplace site, but the tutorials I see to do it are a bit confusing, for the basic knowledge I have, some comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: What is the alternative of of ant design in Material UI? Alternative of
Trying to find a component in MUI that can wrap the whole webpage.
A: It's the "< Container / >" component. It provides a fixed width for the content and can be used to wrap the entire webpage.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75611256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to implement HashSet.GetOrAdd(T) extension method in .NET 6 or .NET 7 using CollectionsMarshal On dotnet runtime Github repo there was a proposal for adding HashSet.GetOrAdd(T) - similar to
public static T GetOrAdd<T>(this HashSet<T> hashSet, T equalValue)
{
if (hashSet.TryGetValue(equalValue, out var actual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WordPress site fails to update any plugin I have a small WordPress website with latest version of WP 6.1.
I update all plugin regularly and since yesterday i am not able to update any plugin as updates fails each time with below error
After this website gets stuck in Maintenance mode for about 10 minutes, which i f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I automatically identify a person previously manually labeled in one camera, across different camera zones using Python? I have a scenario where a person detected in camera 1 will be manually identified by a labeler. However, if the same person appears in different camera zones, I want to automatically ident... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is OpenMP in XGBoost automatically executed in Windows? I was trying XGBoost in R, and I found an argument nthread specifying how many threads will be used to run the model (seems like parallelized computations). I guess this will improve the speed of computations. According to the official R document found in CRAN ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do I need to create AWS account to use Databricks I want to learn more about AWS Databricks. So if i take community version of Databricks do I need an extra AWS account or will it come along with it? Is the community version available for 14 days?
A: You can take a look at this doc from databricks -https://docs.dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Regex for strings that contain at least one number and one letter and allows non-alphanumeric I'm looking for a regex that checks for at least one number and one letter, I've searched on SO and haven't found one that matches the requirement exactly, for example, the one below checks for at least one number and one l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Encrypt/Decrypt using AES encryption with a Rijndael cipher, ECB, NoPadding in JavaScript I need to integrate with a third-party REST API. The body of my request (as well as the response) need to be encrypted using AES encryption using an AES key that was communicated to us. There are a few requirements:
*
*Use a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75611268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |