text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Webrtc connection failed when microphone permission granted I'm trying to establish the webrtc connection between the browser and docker container with Janus gateway with the video room plugin.
Everything works fine when I create the RTCPeerConnection from the browser with permissions to media not set or denied.
How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74503015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where would a sortedSet go in this UML diagram? I am self guiding myself through a Python Data Structures book and came across this problem for one of the exercises regarding the chapter regarding inheritance. I am very puzzled.
The problem:
A sorted set behaves just like a set, but allows the user to visit its item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75442773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: shell-write command problem - How to add a "key" to a plist file via terminal? (iphone,mobileterminal) I wanted to run this command in mobileterminal (iphone):
write "/myPlist.plist" TestKey "TestStringForKey"
but it says: 'write' command not found
The plist EXISTS!
What am I doing wrong?
Is there any other way?
ED... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5901180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Must I declare own wxFrame class? I'm creating simple c++ application with user interface. I have written own classes with needed mechanics, and now I must display some of its components using wxWidgets. MyApp contains objects of that classes, but they are also needed in MyFrame when handling events. It would be muc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55704151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: "Shadowbox is not defined" error which suggests that Shadowbox.init(shadowbox_conf)? I am having a problem where i am getting the error "Shadowbox is not defined" and it suggests that Shadowbox.init(shadowbox_conf) is the problem.
I believe that this issue started occurring when I updated from wordpress 3.3.0 to 3.3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8781509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I filter data returned by the BigQuery connector for Spark? I have adapted the instructions at Use the BigQuery connector with Spark to extract data from a private BigQuery object using PySpark. I am running the code on Dataproc. The object in question is a view that has a cardinality >500million rows. When I is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53206807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS Box-model seems to be broken in Chrome 15 (latest stable release) I thought the days of checking box-model issues between modern browsers were long gone...
I have been having problems getting Chrom[e|ium] to display my website correctly, and I've managed to create this really simple example of what's going wrong... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8402548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to retry Django Celery task on Exception when Internal Server Error is raised? I am trying to use Celery to send anywhere from 1 to about 25 consecutive requests to a third-party API. The measure of success is whether I get a URL back in the response payload: response_json["data"]["url"]. Celery or not, sometime... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71975002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Syntax Issue while Declaring select statement into a variable If I run the select statement its working fine but if I defined into a variable then I am getting syntax error.
Declare @a varchar(2550)
SET @a='
SELECT 'ALTER DATABASE ' + CAST(DB_NAME() AS VARCHAR(50)) + ' MODIFY FILE ( NAME = ' +
QUOTENAM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64459391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to dynamically hide/show widgets? I want to dynamically hide/show widget like so:
Default:
|-------|
| |
| text |
| editor|
|-------|
With webkit preview:
|-------|-------|
| | |
| text | web |
| editor| widget|
|-------|-------|
With okular preview:
|-------|-------|
| | |
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9306379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Summarize the data using two Python data Frames I have two data frames. I would like to do some analysis by using these two tables. I thought of using Joins but it didn't work. Hence reaching out for help. Let me elaborate the problem with the help of data. This data is not complete data, just for understanding purp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67837520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sort Multi-dimensional array by value dynamically with PHP This Stackoverflow answer is 95% of the way there: https://stackoverflow.com/a/10484863. I just need to pass another variable into the function which I believe uses closure.
I want to pass the variable sort:
$sort = get_category_name();
into:
function comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19352063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unexpected search results when querying for files based on mimeType - Google Drive API v3 + Javascript I am trying to search Google Drive for Excel files using the Javascript API (v3). Some Excel files seem to have a mime type of 'application/vnd.ms-excel' and some have a mime type of 'application/vnd.openxmlformats... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40283817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript primitives: same memory location, new memory location, or engine-dependent? 10 var x = 5;
11 x = 10;
Does the memory location of the variable x change in line 11 from line 10 OR does the JavaScript engine just overwrites the memory space originally allocated to x in line 10 and place the value 10 t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36135871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PETSc C macro within struct In PETSc, a number of common-use structures such as Vec, Mat, IS, etc. are defined similarly, as in the 4 snippets below.
Questions:
*
*when and how is PETSCHEADER expanded? I am writing the foreign interface from another language, and was wondering whether I have to wrap the macro in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30243958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter with jQuery by input range A few days ago, I asked on this forum about filter with jQuery. Some people helped me but now I need to do filter no by checkboxes, but with input type="range".
Is it possible?
My code looks like:
JSFIDDLE
My code.
$(document).ready(function () {
$('input.szukajnapraw').on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30126765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't (Style)Application.Current.Resources["FrameBorder"] let me access a resource in my ResourceDirectory I created a resource in the file FrameRes.xaml like this:
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53457854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Can anybody help explain what happens here with Java thread interruption? These are the 3 classes I have:
public class ChildThread extends Thread {
@Override
public void run() {
while (true) {
System.out.println("Child thread is running.");
if (Thread.currentThread().isInterru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48848624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mutate F# [] Record This code shows how to make a function mutate its input - one of the things we come to F# to avoid.
type Age = { mutable n : int }
let printInside a = printfn "Inside = %d" a.n
let inside a =
a.n <- a.n + 1
a.n
let a = {n = 1}
printInside a //a = 1
inside a
printInside a //a = 2
That b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53235635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML input button with onclick with custom onStart function not working I have created a button with an onclick function which loads particular elements after clicking on the button.
For some reason, suddenly the button cannot be clicked and the function has now become undefined.
After running the same code on js f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47562990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to access model attributes in view through thymeleaf and spring boot I'm having hardtime to access model attribute values in the view using thymeleaf.
<h4>Employees per Project</h4>
<table class="table table-bordered table-striped">
<thead class="thead-dark">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74913894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call LostFocus event of another control from the other control Calling the LostFocus event of control from other control
Example. : I want to call LostFocus event of Button1 button from the Gotfocus event of Button2 button.
code is :-
private void button2_GotFocus(object sender, RoutedEventArgs e)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21301669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nav Bar not showing after camera image capture I have been updating an app that I had some else build for me. In the updating, I am instituting storyboard segues, among other things, and have got the app almost complete. One little niggling issue is when I take an picture with the camera and the image is presented i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33144321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parsing Soap XML I have a XML like this:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SampleResp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8802109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery : XMLHttp Requests : Is this use of synchronous ajax bad? I know that in general the goal should be to avoid async: false. However, in this situation, I want to understand whether it's worth tying things together to make it work, or if it is okay:
On my site's registration page, I have a JS/jQuery validation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14490770",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Crystal Reports Record Selection and Summary Field conflict I am really new to Crystal Reports and I am looking for any suggestions on how to approach the following issue:
I currently have a report that uses a record selection to limit the results by date. I would like to include in this same report a summary a tot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17958053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Logical constraints in CPLEX I am a beginner at using CPLEX and I have come across a problem with creating logical constraints (if ... then ...). I use IBM ILOG CPLEX Optimization Studio version 12.7. According to the the manual, it should be able to handle logical constraints by using "=>" (e.g., "if x>0 then y>=2"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43251134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create a Flash Movieclip via a web interface? Forgive me if this is not the correct place to ask such a question.
Basically, I am looking for a way to allow someone to easily (at least, easier then diving into Flash) create a basic Flash animation (movieclip) with some placed image assets and text, all via a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14258455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FCM messages are not delivered when the device is started and it has a password On android, the messages do not arrive after I restart my device and have a password, if he has no password he receives the message
I would like to understand this situation, whether it is for security or really is a sdk failure
| {
"language": "en",
"url": "https://stackoverflow.com/questions/61322949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: need to add a col conditionally I have one table which I want to join with another. I would create a commmand in Crystal reports to get this output and change the names in the formulas easily.
I need something like this: only I need the sum from the second tbl.
Select
*
from
rapklib.shpfrt a
left out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30201845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disqus Comment System [Wordpress] - Change the word "Comment" i have installed Disqus comment system on one of my wordpress blogs, but i want the comment numbers to show as 0 instead of 0 Comments or 12 instead of 12 Comments. Previously there used to be an Appearance section in Disqus admin that used to have an opt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12126869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trouble with for loops in Python 3: getting the index in string2 of an element from string1 I am trying to write a program that will take a file and encode it using the Viginère cipher. I've run into a little bump with indices. I've defined my strings text and alphabet like this:
import string
alphabet = string.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30627204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Count by ratio and then group by MSQL I have a table like
ID Name
1 ABC
1 DEF
1 VVV
1 BBB
1 BCD
2 ZZZ
2 BAA
3 AAA
3 BBB
3 BBC
I want to get the ratio of all the names that start with A to All the names that start with B group by ID.
So the output should be
ID Ratio
1 0.5
2 0
3 0.33
.
SELECT (ID, (SELECT COU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12082475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drawer is not opening in react-native I am using drawer navigation in material top navigation.
This is my drawer navigation code
import { createDrawerNavigator, createStackNavigator } from "react-navigation";
import { UserProfileComponent } from "../components/standalone/userProfile/userProfile.component";
import {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56770617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Launch PowerShell as administrator in current directory New to PowerShell.
I need to launch PowerShell as Administrator in the current directory.
From what I have heard about the amazing abilities of PowerShell, I expect I should be able to do this without a registry hack?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/69649599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Glide for Android: How to include GIFs from Google Drive? I am trying to include GIFs in my android application. My GIFs are shared as a document on Google Drive with public access enabled. Currently, I'm trying to use Glide to include the GIFs.
Glide.with(parent.getContext())
.asGif()
.load... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72863884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hadoop Name node recovery in CDH3 cluster I am using CDH3 Cloudera Pseudo distributed mode cluster.It was working fine before. but currently i am not able to do any hadoop commands,hive queries,pig scripts.
Looks like the namenode gets corrupted.
I tried sudo jps and found that namenode daemon is not running.
It ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24423916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recover simulated affine transformation for matched asift features (Morel's implementation) Has anyone tried to recover the simulated affine transformation for the ASIFT feature detector? (From the author's implementation). In the original paper the simulated affine is clearly recovered by the equation 2.2 but I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13800578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to endian swap many structures in C++ I have a lot of C++ struct that look kind of like this:
typedef struct {
UINT32 foo : 5;
UINT32 spare0 : 27;
double bar;
} data;
or this
typedef struct {
double foo;
double bar;
} data2;
I'm currently endian swapping all structures by each fiel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42476816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mysql: Counting occurences in a table, return as a single row I have a table listing some organizations, and some details, as the country they are in.
I need to count the number of organizations in each country, and I managed that with this query:
SELECT COUNTRY, COUNT(*) AS ORGANIZATIONS FROM ORGANIZATION GROUP BY ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24927773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deleting file from internal storage in Android I was saving file to internal storage now I want to delete it. The problem is, I don't remember the name of that file so I can't use this myContext.deleteFile(fileName); approach. How to get the name of that file and delete it?
A: When you use file methods from Context... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40786560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python 3 not rendering html on browser If I run this script on terminal, it outputs the html template. But on browser after serving it using python3 -m http.server 8000, it just display the exact script (not rendering). I've installed packages on requirements.txt and interpreter set to Python 3.x, am I missing somet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72985401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Register to GCM in background what I'm trying to do is run some scripts let say "in background" and display external page.
I have my activity
public class MyApp extends DroidGap
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
super.loadUrl(C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15794825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot import python package installed with apt-get On ubuntu (specifically the python:3.7.3-stretch base dockerimage), I run:
$ pip install pandas
$ python -c 'import pandas'
$
And that works fine.
Then, I try to install the package pygrib (which isn't installable with pip), via apt-get, python3-grib. I try:
$ apt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59097045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete contents of textbox and automatically deleting another I have 2 input box fields, one linked to an autocomplete and the other is hidden
I have an action on select that takes the id of the selected item into the hidden field.
code:
$('#id_emp_name').autocomplete({
source: '/mycompany/employees.json',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7537198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to load configurations at Vue JS app start I want to load some configuration from an API call before any page load happens. For this I added my api call function in main.js but it returns promise and page get loaded before my global api completes. I want to load the global configuration first as my backend servi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51882640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I set up gulp to run identically in Visual Studio 2017 and msbuild without having to change my build scripts? I'm struggling to get set up with gulp in Visual Studio 2017. I'm not sure where I'm going wrong but there are a few things I'm confused about and I can't really find any online resources that are of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43188670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Clean up Array of words I have a function that strips html and places the words in an array and then uses array_count_values. Im trying to report the number of occurences of each word. The array outputed is very messy. I tried to clean it up, and I'm getting nowhere. I want to remove telephone numbers, and for some ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12516137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any form designer available for Google Android I am a new comer in Android development, I have downloaded and installed the Android SDK, but not find any GUI or Form designer, can any one know about some Form designer in for Android, Thanks in advance.
A: As d. correctly mentioned the built-in designer doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1755860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Python Calling Current Directrory I am using fasitai library and when ı tried the loading model ı want to take model from current directory.
learn = load_learner('This arg. have to my current directory','model.pkl')
I tried os.get_cwd() and ' ./ ' but they aren't worked. Thanks
A: I found the solution
learn = lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56036119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: RoR NameError - Ruby on Rails MySQL NameError in GenresController#index
uninitialized constant GenresController
RAILS_ROOT: C:/Users/Will/Desktop/INSTAN~1/rails_apps/talewiki
I've created a table called Genres and when I try to connect to it via local host I get the above error.
Any ideas?
A: With all the questions... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2913290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to intercept exe files launch from windows explorer? i want to be notified when when user trys to open a file from the explorer.
How could this be done?
I tired hooking some winapi in the explorer.exe with no hope.
I also want to intercept this call and cancel it.
A: You might want to have a look at a similar q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35542332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: React Typescript ESLint "extends" parsing error I have a react typescript code that looks like the following in Button.tsx:
import * as React from 'react';
type ButtonOwnProps<E extends React.ElementType = React.ElementType> = {
children?: React.ReactNode;
variant?: 'contained' | 'outlined';
as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68231145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to filter a RecyclerView using Kotlin? I just started to use kotlin and room database, in my fragment i have a RecyclerView and an EditText which i would use as search for the RecyclerView. The RecyclerView's adapter is inside my ViewModel observable and i've actually set a TextWatcher to my EditText but as the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65805427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Injecting javascript into page via url I'm trying to run a javascript code via url to change values of the form in the page.
Here is the content of the HTML page.
<html>
<body>
<form method='post'>
Name: <input type='text' id='name' value='' /><br />
Family: <input type='text' id='family' value='' /><br />
Email: <i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39674244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the advantage of dynamic memory control? For example, I want to make a stack. I can do it in that way, using the dynymic memory control, with new and delete opereations:
#include <iostream>
using namespace std;
struct List
{
int x;
List *Next,*Head;
};
void Add(int x, List *&MyList)
{
List... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28915865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot open new project or old project in Visual Studio 2012
Recently I have installed VS 2012 and SQL Server Management Studio. When I try to open the New Project, I'm getting this error:
Web application projects are currently configured to use IIS Express. To switch back to using the Visual Studio Development se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46326697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use for loop to calculate moving average with a window size of 10 using 5th column I have a data.csv file containing 5 columns. now I want to use for loop to calculate moving average with a window size of 10 using 5th column in R.
for(i in 1: length[ , 5]-9) {
data$Mean [i] <- mean (data[i,5]:data[(i+9... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48368865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bluetooth Low Energy Android - Search in Background I would like to know whether it is possible to check in the background if someone enters or leaves the a beacon Region?
In iOS for example you can use the methods didEnterRegion or didExitRegion to send notifications from the background.
Is there any native possi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19638118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Data Clensing in SQL Server I've got a table in the following format:
Name Address1 Address2 Address3
Joe NULL 1 A Road London
Bob 2 A Lane NULL London
I'd like to run an update to move all the values left where there are nulls so that I end up with:
Name Address1 Address2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5565458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to filter out different classes into an array How will I take product with same category into a string or an array?
<ul>
<li class="product_cat-category-1"></li>
<li class="product_cat-category-3"></li>
<li class="product_cat-category-2"></li>
<li class="product_cat-category-5"></li>
<li class="product... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72663844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: NLog structuring logging masking Suppose we are writing the following structured log message
logger.Info("User's Password is {Password}", "1234567890");
I would like to mask a password property because it is a sensitive data. I found this issue but I think it is a very difficult way.
For example, I have found the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61330333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wix installer creating registry entry based on user input So, basically what I have is Wix installer, which is modified and I am currently stuck at a problem with registry entry. During install the Installer has a custom dialogue, where user has to choose/insert second path. Which will be stored in the Registry. But... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34291935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript - .length gives me 0 length Array is initialized
var Collect = [];
So I have a promise arguments so that I'll have a asynchronous in execution since retrieving data from firebase which then push in the array Collect takes a bit of time. Here's my code:
function loadTables(){
var promise = getDataFire... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48408665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to select specific substring length based on a filter I have multiple CSV files with different names, containing today's date, customer number, and then the extension. For example:
2019-01-23 XYZF-105.csv
2019-01-23 ABCD-205.csv
2019-01-23 Different nonstandard name.csv
2019-01-23 ##ABCD-305(Trial).csv
I would ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54336573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why pl sql assignment operator throws error while reading from sql query? set serveroutput on;
declare
v_emp_first_name US_EMPLOYEES.FIRST_NAME%TYPE;
BEGIN
select us_employees.first_name into v_emp_first_name from us_employees where email = '[email protected]';
dbms_output.put_line('v_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65591504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't run code in Android studio due to VT-x disabled When i try to run my code in android studio i got an error"Intel HAXM is required to run this AVD. VT-x is disabled in BIOS. Enable VT-x in your BIOS security settings (refer to documentation for your computer)." . I did every thing i could but i couldn't fix it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38538947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Web Scraping w/Mechanize and/or BeautifulSoup4 on ASP pages Hello I am a programming n00b and am desperately trying to get some code to work.
I can't really find any good tutorials on ASP scraping/filling in fields and submitting then working with the content.
Here is my code so far:
import mechanize
import re
url ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27760424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the specific requirement to use Dagger2 in any android application? What are the actual benefits of using dagger2 in an android application? I read the dagger 2 documentation but still not able to find that in what condition I should use dagger2 in my application and what are the benefits of its implementati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42179524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why does resizing the window behave differently from resizing the "responsive box" in chrome developer tools? Yesterday I observed some really strange behaviour and wrote a looooong question on it. As @tacoshy correctly pointed out, the question lacked focus. I will therefore, in this post, focus on one single quest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72706577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: "Lock on the Kernel Object" on windows can make the entire system unresponsive? There's this WIN32 process, which someone says:
The servide takes a lock on the kernel
object and does not release. After a
while the machine becomes irresponsive
and has to restarted. Restanting only
the service won't fix the i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1004637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using Parsec with restrictions on parsed result I'm trying to come up with a clever way of parsing assembly code. For example, if the registers are numbered from 0 to 31, I want to accept $31 but not $32.
I would like to do these while I parse the source code, because 1) I want to use the position information. 2) I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18080773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using a list of conditions to filter a DataFrame in Pandas I wish to have a function which takes a list of conditions, of any length, and places an ampersand between all the conditions. Example code below.
df = pd.DataFrame(columns=['Sample', 'DP','GQ', 'AB'],
data=[
['HG_12_34', 200, 35, 0.4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43160733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL Datetime as time query I would like the below select statement to be show as time rather than datetime. I'm aware that a cast as solution is likely however given I am trying to Cast as a "grouped by time", I am not finding a solution.
SELECT
DATEADD(hour, DATEDIFF(hour, 0,dbo.tbReceiptLine.Time), 0) AS Hourly,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18225487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Build asset folder empty : android Studio, using Gradle I have created a simple app in android studio, where I have placed a font under
src/main/assets/fonts/fontName.ttf
When running a build/clean etc. the asset folder in the build stays empty. (build/exploded-aar/com.android.support/appcompat-v7/19.1.0/assets)
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23216700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amazon MWS (PHP) - How does the request work I am trying to pull a report in PHP for active listings.
I've made progress, however, I cannot understand how this works and there is nothing out there that can explain it.
For example, in the Samples provided from the PHP library, I see quite a few XML files. When you r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18346288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: clickhouse 1 node out of 3 not syncing I have a 3-node clickhouse cluster, almost identical to the setup in https://github.com/tetafro/clickhouse-cluster.
I ran the CREATE TABLE statement on the 3 nodes, as follows:
CREATE TABLE replica_test.hits_shard
(
`WatchID` UInt64,
`JavaEnable` UInt8,
`Title` String,
`Go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72378864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure SQL Database DTU percentage Reach 100% on particular function My scenario is I have a button name(publish) at admin side use for publish agreement and after publish it visible to user-side. Recently I saw when I publish agreement
DTU percent reach almost 100% and I tested rest of all functionality DTU not goe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41584085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: curl_multi_fdset returns always 1 What I want to do: download multiple files at the same time.
Issue: curl_multi_fdset always return 1.
Issue 2: I don't really understand how fd_set work. I am new to C and the doc is quite confusing.
Sources: I used this example and this progress bar.
My full .cpp: Github
So the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53836844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I move both files and folders to the specified directory? There is a code that moves files from one directory to another, but it doesn't move folders.
import os,glob
import shutil
inpath = str5
outpath = str6
os.chdir(inpath)
for file in glob.glob("*.*"):
shutil.move(inpath+'/'+file,outpath)
How to ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70505242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Applescript Finder Selection "Stuck" I've been using the code below for awhile to auto-magically scale images down through the various wallpaper sizes that I want. This morning, it ceased working and is giving some of the most bizarre behavior I've ever seen.
If I reboot my box, the script works as expected the firs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6164731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Combining two datasets to match each - R I have two datasets like this:
*
*Population by country
Country Population
America value
Argentina value
Australia value
Brazil value
Japan value
...
*Landmass by country
Country Landmass
Argentina value
Mexico value
Uruguay val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68744939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Solve a system of equations depending on a set of parameters with Mathematica Using Mathematica, I want to solve a system of nonlinear equations like
f(x,y;m)=0
g(x,y;m)=0
where m is an external parameter on which the equations depends on.
As the equations are very hard, what I do is to explicitly fix m, above all,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15309473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use of jTDS to connect to SQL Server 2012 throws IOException; MS SQL Driver works The following code using jTDS driver (1.3.1):
DriverManager.getConnection("jdbc:jtds:sqlserver://anIpAddress;databaseName=aDatabase", "user", "pass")
results in:
java.sql.SQLException: I/O Error: DB server closed connection.
at ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36726133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Integrate REST Web Services with Spring Integration I have implemented Restful web services using spring technologies. Now, I need to integrate these services to work together on the same context using spring integration.
How To make web services methods as endpoints ? How can I realize the coreography of web servi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31718634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Disable gridview controls using jquery in aspx form I have a form in which there is a CheckBox and a gridview. When I uncheck the CheckBox I want controls in my Gridview to be disabled. here is my gridview aspx:
<div id="gridVersion" runat="server">
<ac:Gri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10203419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot deploy Next.js to Netlify. Deploy failed due to an error in @netlify/plugin-nextjs plugin I can run npm run build with no problems at all, but whenever I try and deploy my Next.js project to Netlify I get an odd error stating Deploy failed due to an error in @netlify/plugin-nextjs plugin
After doing some rese... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69831067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Change NSTabViewController NSSegmentedControl In 10.10 Apple introduced some updates on AppKit with Storyboards and a few classes. One of those is NSTabViewController.
In the WWDC Session 212 the presenter showed some properties of the class.
Supposedly, the default NSSegmentedControl could be modified, or, setting... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26790657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to build and Install TAGLIB in Codeblocks I am struggling to create a program which embeds song lyrics in *.mp3 files using C++ programming for my ongoing project. After searching, I found a library named "TAGLIB" that can process ID3v2.3 standard metadata.
According to the LIBTAG installation guide, I ran CMAK... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52026669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove c__DisplayClass from code coverage I'm getting c__DisplayClass files appearing in my code coverage analysis that appear to be auto generated code from closures (see this link).
My question is, HOW do you remove this auto generated code from code coverage results?
A: After some research, I've discovered you c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31568270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: calling non exported functions from dll using c++ console app i have a dll with COM METHOD functions i want to call
i know the prototype and parameters of each fun. and also return type
can anyone help me in calling these functions in details please because i am a beginner in this part
i use vs2010
thanks in advanc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5998884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP to WebService I want to connect to a webservice.
I have the following code to test connecting to the service;
$soapURL = 'http://xxx.xxx.xx.xx4/wsdl/wsdl' ;
$soapParameters = Array('login' => "xxx", 'password' => "1234") ;
$client = new SoapClient($soapURL, $soapParameters);
var_dump($client->__getFunctions());
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35204569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails 3.2 force_ssl except on landing page I want to enforce SSL on all routes except my landing page. I tried setting force_ssl in all my controllers, and for the controller that contains root, I did:
force_ssl :except => :index
However, after I deployed this to my staging app on Heroku, my app is still enforcing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10877976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dynamically load coordinates to google map from database as I go through with my studies on web dev and ajax; i came across with this template that has a map(google map) on it. the script for loading the map is placed on an external .js file here is the code.
function LoadMapProperty() {
var locations = new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28801991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Hibernate,Primary key consist from auto generated id and foreign key as pk Welecome, i pretty new in hibernate and i have problem.
Above I insert code example.
Order should consist 2 primary keys id(own.auto generated pk) and other pk(also as fk from Client table) id of client whose make order. Everything work fine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19072137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I was working on my application but suddenly i got table does not exist in all my tables Hey guy i was working on my app but suddenly i got an error says table does not exist in engine.
When i went to see in my database i found out that all my tables are not working for w/e reason but as you can see (in the picture... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59011578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UIDocumentInteractionController change file name for Sharing iam using the following code to show the sharing options for PDF
self.documentController = UIDocumentInteractionController(url: url)
self.documentController.name = "Test name" // not working
self.documentController.presentOptionsMenu(from: self... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60320294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Last month's last date using Javascript I have a textbox in which I show only month and year. So when I have June 2013, and when I look for First half, then I want the previous month's date to 14th of June.
So in Javascript I was simply using
var currentmonth=doucument.getElementbyId("textbox");
var currentdate="01... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16917289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Discrepancy in the user roles(authorities) in the access token obtained from grant_type=password and grant_type=refresh_token I have a situation:
Step 1: Obtained access token (grant_type=password) (A1) and also a refresh token.(RT1)
Step 2: Accessed resource (R) using the token (A1) - Success
Step 3:Revoked user ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52073349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: useEffect hook not firing on orientation change I am trying to change the height of a container, when in mobile landscape mode only. I am playing around in the developer tools to swap the orientation of a mobile device but it only works on the first render. I am new to react hooks so not sure if I am implementing it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58398109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.