text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Save a custom class to Isolated Storage using a Collection I have created a custom class named ImageItem which contains a BitmapImage and string to gather the response of the CaptureImageTask. I would like to save each image and its respective path to an ObservableCollection which is bound to a listbox in my view.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15561091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bing Maps Error - Microsoft is not defined? My code below throws an error message: ReferenceError: Microsoft is not defined. What am I doing wrong?
<head>
<title>Define New OmniZone</title>
<style type='text/css'>body{margin:0;padding:0;overflow:hidden;font-family:'Segoe UI',Helvetica,Arial,Sans-Serif}</s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73355411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Request to send json with token returns token validation error When sending the request as a JSON, I get the error "Can't check the token validity." Previously, I obtained the token, which is stored in a variable. The statusCode: OK {200}.
What I observe with the error that is displayed is that the json cannot be se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75431882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to find the Report Data Pane in Visual Studio 2019 I'm unable to find the Report Data Pane in Visual Studio 2019.
I tried installing all relevant extensions and using Ctrl Alt D as per reports I have found on here but this hasn't seemed to do anything.
A: This has now been resolved, re-imaged laptop > re-in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57286304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blank value in web service for Int64 type I consume a web service that has a numeric element. The Delphi wsdl importer sets it up as Int64.
The web service allows this element to be blank. However, because it is defined as Int64, when I consume the web service in Delphi without setting a value for it, it defaults to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12434202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: install font ClickOnce but non RunAsAdmin in my Project Used Fonts,
for install fonts when ClickOnce.
string strFontsPathFile = Environment.GetEnvironmentVariable("windir")
+ @"\Fonts\" + strFileName;
File.Copy(strFontFilePath, strFontsPathFile, true);
//2)Step 2 : Install font in resource of MS-Win... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20114397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set background color for UIView I have a problem when setting the background color for a UIView. What I am doing is:
- (void) viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor clearColor];
}
but I am getting a black background color as shown below:
If I change the background to any a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15099958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Boost MPI and serialization - size of serialized object At my university I have to measure the overhead of the serialization of C++ STL types that are sent using MPI.
Measuring the time is easy, but I have a problem if I would want to measure for example how much bytes is needed to send a vector of 1000 chars and a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22455816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Slow serial connection freezes QT GUI thread I'm working on a project where I need to communicate from my system to some RS485 serial devices. The connection itself works and is in a separate thread than the QT GUI thread.
I am trying to use signals/slots to connect the GUI thread to the serial thread which is mostl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4330407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django BinaryField not rendering I have a model in which I have a BinaryField. When I go in the admin area, and try to add new city using the model form, the checkbox for the BinaryField doesn't get rendered.
models.py:
from django.db import models
# Create your models here.
class City(models.Model):
name = mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25854479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i am new to sql .Not Getting query result . Runs fine with no error private void button1_Click(object sender, EventArgs e)
{
DataTable DataTab = new DataTable();
DaSql = new SqlDataAdapter("SELECT * FROM Student where Gender = '" + textBox1.Text + "' ", conSql);
DaSql.Fill(DataTab);
DataGridQueryResu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37008697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-10"
} |
Q: How can we change a linkbutton to a hyperlink with variables? I'm not very familiar with ASPX, not enough to get my head around this.
Our developers have used this code in a gridview control which opens a new tab and sends the user to a "details" page.
<asp:LinkButton Text='<%# Bind("OrderId") %>' CommandArgument=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27980733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exception : Collection was modified; enumeration operation may not execute on form Close in setup project I created a setup project of window form application built in C# 4.0. I tested the setup in my test PC which have Vs 2010 Ultimate installed in it and its working fine in it.
I later on to test the application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14788919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How my file names have been encoded? After a long time, I come to review the contents of my HDD and see a weird file name.
I'm not sure what tool or program has changed it this way, but when I see the content of the file I could find its original name.
Anyway, I'm encountering a type of encoding and I want to find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31077075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ng-show not able to check null or empty string Am trying to show the html element based on condition. Like i have to check claim.claimToDealerCurrencyExchangeRate is empty or null. If it is empty or null then, i dont want to display the element (label and span ).
But it is not working as expected. Label & span eleme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55144521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ansible undefined variable i have role for Route53 (http://docs.ansible.com/ansible/route53_module.html) and task is:
- name: "SET DNS record"
route53:
aws_access_key: "ACCESSKEY"
aws_secret_key: "SECRET"
command: "create"
zone: "{{ dns_zone }}"
hosted_zone_id: "{{ dns_zone_id }}"
record: "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40556950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get columns values by a primary key, sqlite I was working on this project using flask, and I am trying to create a route where you can see a post's info (every post's an ID insert in a table like a primary key)
I was trying to display the row values by the primary key (id) on an HTML file. I mean something like this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72307917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Protobuf generated file doesn't recognize import path I have a proto file product.proto and I want to use it in catalog.proto. I can successfully import product.proto in catalog.proto but auto-generated catalog.pb.go is not able to reconize the path of its dependency i.e. product.pb.go. It states:
could not import ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66349677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Defining a Generic Method in a Trait When Using Algebraic Data Type in Scala I have defined an abstract data type, and i wanted to make it fairly general and scalable.
However, scala type system is giving me a nightmare.
sealed trait Tree[+A] {
def evaluateTree(): A = this match {
case Leaf(value) => value
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41065907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails Serializer Association I have a Component class that can be either a Section or Question. A Section can have many Component (i.e. Question).
I'm trying to get the serializer to send back the Component(Section) and its associated Component(Question). Right now, based on my code below, I'm getting back the Ques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51178633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python module ecdsa errors while running paramiko I am trying to install paramiko module..it fails with the below error
python ./test.py
Traceback (most recent call last):
File "./test.py", line 30, in <module>
import paramiko
File "/tmp/build-paramiko/paramiko-1.12.0/paramiko/__init__.py", line 64, in <mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20525147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Select only 1 payment from a table with customers with multiple payments I have a table called "payments" where I store all the payments of my costumers and I need to do a select to calculate the non-payment rate in a given month.
The costumers can have multiples payments in that month, but I should count him only o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41511026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache Camel aggregator in combination with onCompletion I want the onCompletion to occur after all the aggregated exchanges triggered by both completion size followed by timeout are processed. But it occurs right after the completion size is triggered with some of the exchanges waiting to be triggered by the timeou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38414576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: split cell at special character if comma found after first word hi i've got some budget data with names and titles that read "Last, First - Title" and other rows in same column position that read "anything really - ,asd;flkajsd". I'd like to split the column IF first word ends in a "," at the "-" position that follo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71036291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: BEM: What are modifiers allowed to modify? Let's say I have the following CSS for a generic list component, using BEM and SCSS:
.list {
&__item {
&:not(:last-child) {
margin-right: .3em;
}
}
}
I want to add a modifier that can make the list vertical, like so:
.list--vertical {
display: flex;
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40242985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Only update messages when there is a connection I built a site display messages, so the msgloader.js updates the messages every 10 seconds from admin. The client displays this site on a screen constantly.
The problem is that sometimes the internet connection is not so good, the display got disconnected and the msglo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11405196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I am trying to scrape a website using python request that doesn't change its link when click on load more i tried but looks its json I'm trying to scrape all the add links from a site and have I been successful in doing so. please check the link
https://www.olx.in/hyderabad_g4058526/q-note-9-pro?isSearchCall=true
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67709555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble configuring Presto's memory allocation on AWS EMR I am really hoping to use Presto in an ETL pipeline on AWS EMR, but I am having trouble configuring it to fully utilize the cluster's resources. This cluster would exist solely for this one query, and nothing more, then die. Thus, I would like to claim the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44147318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Recursive SELECT in Oracle I have two tables:
Table One
NumLig - CodPro - CodDer
901 - BSFX30 - 0140I18
898 - RSFX30 - 18
6 - MFLX - U
Table Two
NumLig - CodCmp - DerCmp - QtdUti - PerCmp
6 - MDFIB0008 - null - 1 - 2
6 - MDQDN0009 - null - 0,24 - 1
898 - MFLX - U - 0,942 - 2
898 - MDCAM0002 - 0,05 - 0
901 - RSFX - ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33650405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Is CDN and Cloud are same? Is the CDN and Cloud computing are same? If both are different, how they differ? I have googled it, when someone asked me this question. But i could not able to get any clear idea on this. So can anyone explain about this, which would be greatly useful to lot of people.
And also please ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11928903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Minify JS Files with Webpack I'm trying to use the webpack to minify all my js, .css, images and fonts files. As I am studying the Webpack, I am trying first with the JS files.
In my js folder I have the files jquery-2.2.3.min.js, bootstrap.min.js, easing.js, move-top.js and SmoothScroll.min.js.
when i try to run np... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64472864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Define a function to update a class integer property I'm having issues defining a function that controls the correct "speed" (accelerate/slow down).
I currently have my code like this:
class Train():
serial_nummer = 2021001
def __init__(self, type, buildyear):
self.type = type
self.buildyea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69452362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert the string to integer or number How can I convert the string in to the number/integer inside the transfor dataweave. I tried the below
%dw 2.0
import * from dw::util::Coercions
output application/json
---
{
"quoteId" : vars.setQuoteOppRecIds.Id,
"productCode" : payload.ServiceTypeCode,
"axSequenceNu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71666312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Requiring array of modules in Webpack I am currently trying to load a variable array of modules with Webpack.
I've found this link: webpack can not require variable ,the request of a dependency is an expression but it doesn't seem to work for me.
In my project I've got a module inside my node_modules folder. The ent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44695541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Entity Framework Core: What is the fastest way to check if a generic entity is already in the dbset and then add or update it? I load data from a CSV file, I create entities on the fly then I add them to a List<T>.
The following code takes a List<T> and adds the entities to the right DbSet.
public static void AddEnt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42485128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Regex extracting image links I've got the following Regular Expression to extract links out of an HTML document, using java.util.regex
<a\s.*?href=([^ >]+).*?<img\s.*?src=([^ ]+)(.*?>.*?<\/a>)
and suspect it to match the last link in this markup.
<font size="4">Mail : </font><a href="mailto:c.bantz@pgt-gmbh.com">... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28897927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't add component to JPanel in Swing I want to add at runtime a JLabel under the purple pane which contains already some components, say under the progress bar:
Here is the structure of the elements:
And this is my code which is issued when an event occurs (it's getting there i checked with debug) :
jPanel1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11236220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JavaFX close dialog on thread I am trying to close JavaFX custom dialog after some job is done, but It's not closing. I have tried everything what was on web. But still no success.
I am using :
import javafx.scene.control.Dialog;
Code:
dialogProgressBar.progressIndicator().show();
Service<Void> service = new S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50239346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: replace XML tags value in shell script Hi I am a xml file like this.
<parameter name="END_DATE">20181031</parameter>
I want to replace this tags value to some other value I tried like this.
dt=$(awk -F '[<>]' '/_DATE/{print $3}' test.xml)
I extracted the tags value.
I have another variable value like this.
newd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53208735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is google drive api for c# thread safe? I'm using google drive API in a multi-thread C# application. I would like to know if the Google dot net client library it's thread-safe or not.
Also I would like to know what's more right:
create a singelton service, or a new service every time.
A: If you are asking if the G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28578219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass a data in WkWebView URL in swift In my project I have a dictionary. I need to pass it to a WKWebView as a post parameter. When i try to convert String to URL it returns nil value. any advice to me?
This is my Dictionary named CartDict.
{
"address_id" : "4064",
"customer_id" : "3239",
"language_id" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60813521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Count occurrences of each unique value within a column pandas I have a dataset which looks as follows:
Station
Month
Year
A
Jan
2021
A
Feb
2021
A
Jan
2021
B
Mar
2021
B
Mar
2021
C
Apr
2021
D
Feb
2021
I am looking to write some code which can identify each unique value within a row and tell me ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74171590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Internal Server Error when submitting a page I am working a portal website. Here I have forget password page. In this forget password page will have a form with email id. When user gives his email and click on submit it will send an email.
But now actual problem is in my localhost it is working fine. But when I upl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35147151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JanusGraph + Cassandra (Generic questions) I have a few questions regarding the integration of the two tools. Not technical questions and how to setup( i will have my fun with that later ) but more on the course of the project and the direction, seeing that JanusGraph is still very young.
I am starting a new project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44805949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: write! macro does not compile in a separate method when taking reference This is my code:
use std::fs::File;
use std::io::Write;
fn main() {
let f = File::create("").unwrap();
// Compiles
write!(&f, "hi").unwrap();
write_hi(&f);
}
fn write_hi(f: &File) {
// Doesn't compile (cannot borrow `f` ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65135562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Use SnapHelper to Scroll to a Child view in a recyclerview item In my recyclerview onCreateViewholder method I create a dynamic which would have unspecified number of text views inside a linear layout
if (sessionManager.getBookScrolOrientation() == AppConstents.HORIZONTAL) {
LinearLayout linearLayout = new ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48034912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specify which app to make changes with heroku? Hello I have multiple heroku apps. Whenever I I run this command heroku buildpacks:set heroku/nodejs it applies it to the wrong heroku app. How can I specify which app to make this change to. It seems like whenever I run any command with heroku it does it to a d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66414907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functional Swift returns error Why does r1 work but r2 throw a compilation error (Cannot invoke '+' with an argument list of type '(NSArray, [Int])')?
func reduce<T1, T2>(input:[T1], initialResult: T2, f:(T2, T1) -> T2) -> T2 {
var result = initialResult
for x in input {
result = f(result, x)
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27741954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: webkitfullscreenchange event not firing, when the element contains Flash I have an element that contains a video player: that video player can either be Flash or HTML5 based. I want to be able to make that element fullscreen (I know, only works in webkit at the moment) and run some resizing scripts when it happens.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8160747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Removing Uploaded Files from Google when item Expires We're using the Google CSE (Custom Search Engine) paid service to index content on our website. The site is built of mostly PHP pages that are assembled with include files, but there are some dynamic pages that pull info from a database into a single page templat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2304959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bxslider bx-viewport height is 0 if shown later I have an angular application in which i am using bxslider plugin.
I have created bxslider directive to call the plugin and everything was working fine till i extended the functionality.
This is the code for creating directive
angular.module('sbAdminApp')
.directive('b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38918259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ignore "channel_layout" when working with multichannel audio in ffmpeg I'm working with multichannel audio files (higher-order ambisonics), that typically have at least 16 channels.
Sometimes I'm only interested in a subset of the audiochannels (e.g. the first 25 channels of a file that contains even more channels).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65109784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: RecyclerView RecyclerViewDataObserver was not registered Im working with RecyclerView, SyncAdapter and greenrobot eventbus
When my SyncAdapter finished syincing i post a message into the message bus:
EventBus.getDefault().post(new EventMessagesRefreshed());
In my target class i do the following:
@Subscribe
public v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35996703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Send photo/image to application Does anyone know if it's possible to get your application on this screen?
Or is this ability only able for Apple?
I did some searching but couldn't find anything relevant, I wasn't exactly sure what to even call this screen.
I'm new so I can't post images...but basically on an iPhone ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13829477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: is there exist some alternative of Enum.GetName(Type, Object) method in Swift? in c# is possible to get enum name of any type with method
Enum.GetName (Type, Object)
is there possible to do the same in Swift?
As example I have some enum that must have Int raw value, but also I need it's own name.
how to do this in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40411688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Integrating existing crystal report C# I externally created a Crystal Report that I now want to integrate into my C# application using Visual Studio. I added a new item(Crystal Report template) to my project and chose the "From an Existing Report" radio button. I then entered the path of where my report exists. The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35002318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C++ Remove Evenly numbered words from a string having some issues with implementing the logic for one homework problem. The platform I am using currently is Visual Studio 2013 and am a beginner. We are using the terminal (command prompt) built in with the application to get the input and output. We are currently usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35712597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Generic Repository should use Unit of Work or DbContext directly
*
*When I use Generic Repository with Entity Framework, do I need to use Unit of Work because to my knowledge UOW coordinate between multiple repositories. Or let Generic Repository work directly on the DbContext because UOW is not needed.
*Which is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14179719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wait function return value I have the following program in my book which I tried to run:
int i;
void *xpto(void *ptr) {
printf ("xpto: beggining\n");
for (; i<5; i++)
sleep(1);
printf ("xpto: end i=%d\n", i);
exit(i);
}
int main(int argc, const char * argv[]){
int a, b, c;
i = 0;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40265530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oauth2 and YouTube - what am I doing wrong? I've been working on this unsuccessfully for a long time now. The YouTube developer examples seem straightforward enough, but I always meet the same two errors:
Access is Denied (when running on IIS)
Or
redirect_uri_mismatch (When running in Visual Studio)
This is the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34212748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to put constraints on HTML form inputs?
I have a form that looks like this.
What I want to do is, I want to make sure that Minimum Age < Maximum Age
and Minimum Skill Level < Maximum Skill Level
What is a way to put constraints on the inputs?
HTML
{% extends "template.html" %}
{% set active_page = "events" %}
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49834858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: CouchDB backup into S3 in json format I am checking ways to back up CouchDB records for all databases. The docs suggest to either use replication to a new CouchDB instance or simply copy the .couch files. But .couch files cannot be read by a text editor and we want to export records to json format and put it to S3.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72387645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Correctly Cancel a TPL Task with Continuation I have a long running operation which I am putting on a background thread using TPL. What I have currently works but I am confused over where I should be handling my AggregateException during a cancellation request.
In a button click event I start my process:
priv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9682577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mysql query slow with joins upon enabling the slow_query_log in mysql. I found that the query below was one of slowest query with 15 secs or more. How can I optimize this query. All tables are Innodb and
server: Server version: 5.6 Thank you
EXPLAIN EXTENDED SELECT
ntv_staffs.fname,
ntv_staffs.id,
nt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37405208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get the output of a Timed Out command by subprocess.check_output()? I'm trying to run some commands using the python library subprocess. Some of my commands might get stuck in loops and block the python script. Therefore I'm using check_output() with a timeout argument to limit the commands in time. When t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56476535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set text dynamically to texbox in vba? Dear Fellow StackOverFlow-members,
I try to dynamically create texboxes in a userform and set default text depending on value from a tab.
First the user fill in textboxes like in the photo
When he clicks the button above, it calls the function that create textboxes in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54943065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Azure AD B2C Application won't show up as an option to add role assignment. (Graph API) I'm following this documentation:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/microsoft-graph-get-started?tabs=app-reg-ga
And I found another question answered that I thought fit my case:
https://learn.microsoft.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65728384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is such an iOS model possible to implement? I would like to do the following:
*
*Sell a game for $0.99 at launch with no feature restrictions.
*If it's less than successful, make it free, but limit some features to in-app purchase (I would do this via an update to the existing app).
*BUT, I would like users who... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9263064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add unique ID to containing div of file input thumbnail image I have thumbnail previews of a users selected images prior to upload. It will also allow a user to re-arrange the order of the images using jQuery UI. I want to track the order of the images by adding a unique ID to each thumbnails containing div, but I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42368059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Improving JavaScript path finding algorithm I'm working on an HTML/JavaScript flowchart designer similar to Visual Studio flowchart designer. One of the most fascinating features of VS flowchart designer, is its intelligent path creation algorithm, I think there should be a powerful path finding algorithm behind the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34553526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Design Pattern Prototype error for web3.js Don't know what I am doing wrong, created a javascript prototype for a web3js application I am working on. When I try calling the function in the prototype it is not seeing the function in it. Throwing "persona.testing() is not a function" when I check the consol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43360662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Page breaks on php tag The following code is written in php file and breaks page
<?php
$myrows1=cpabc_player_plan();
foreach ($myrows1 as $index=>$item1) //start foreach party plan
{
if ($item1 === reset($myrows1))
{}
?>
<?php }?>
while if I use it as
<?php
$myrows1=cpabc_player_plan();
foreach ($my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37236871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make Syntastic close just the error window I've got the (Mac)Vim Syntastic plugin installed via Janus. When I open the :Errors window to view the reason for syntax errors, it shrinks the file with the errors to one line and uses the rest of the real estate for the Errors window.
Is there a way to make it hog less ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18962146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: VSCode, typescript, eslint and prettier -> null check does not work I've tried to setup typescript linting to use prettier and while prettier works, i seem to have lost the basic typescript error checking. How can i get this back?
^ should complain about accessing .value on foo?
My tsconfig.json
{
"compilerOption... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58945203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Music and Sound Effects How to separate on and off(i mean how to mute separate ) function of Music Background and Sound Effect
AudioManager
public Sound[] sounds;
public static AudioManager instance;
void Awake()
{
if (instance == null)
instance = this;
else
{
Destroy(gameObject);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51905795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set variable while foreach loop is working I have foreach loop that copies files.
I want to set label to "Working.." while the foreach loop is copying the files.
I have tried:
label.text = "Ready";
foreach (file in files)
{
File.Copy(firstDest, secondDest);
label.text = "Working..";
}
label.text = "Ready";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57478509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way in Javascript/Angular to subscribe to a 'request sent' event hook? I'm wondering if there's a way in a Javascript/Angular application to hook into a 'request-sent' event emitted by the browser immediately after it sends off a request. The purpose is that we want to ensure/control the order of the requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69202449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting checkbox values in angularjs and passing them into another controller I am transitioning from jquery to angularjs. I am trying to develop a small app in SPA style. Left side is the menu that controls the content on the right side. Left side menu has its own controller. When the user selects a checkbox and cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30334955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.Net MVC in shared hosting environment It's a very simple question, but I wasn't able to find exact answer.
Do you need to install anything extra besides .Net Framework 3.5 and IIS7 to run ASP.Net MVC applications?
Hope it will be useful to other people too.
A: If you don't use any third party libraries, then no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1486594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When using oracle-jdk17 and gson 2.10, there is an issue that private time cannot be converted The following error occurred when using gson for conversion;
Unable to make field private final java.time.LocalDate java.time.LocalDateTime.date accessible: module java.base does not "opens java.time" to unnamed module @7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74598982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble with writing text to a .ini file I am working on a small game project in the Unity 3D engine. I am trying to write a class that will allow a settings menu to write the recorded settings to an .ini file. However, I can't seem to get myto write to the file. I think I wrote the class correctly to do it based up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23786847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to structure/implement multidimensional data / data cube I've been reading into what a data cube is and there are lots of resources saying what it is and why (OLAP/ business intelligence / aggregations on specific columns) you would use one but never how.
Most of the resources seem to be referencing relational d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46882953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: I have hbase metadata in gcs from another environment. I want to create table from this but not sure how? I have a Hbase table extract in google cloud bucket from SIT environment. I want to create a hbase table using that but I am not sure how to do it. I tried creating dummy table and pushing the data inside of it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75627484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to navigate to a route without routerLink in angular2 I am working with nebular framework, from the amazing guys at akveo.
One of the components is a context menu that creates a popup menu with it's options read from an array
items = [{ title: 'Profile' }, { title: 'Log out' }];
I want to navigate to a differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51602809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to reference friends in Open Graph? I am creating a Facebook-enabled game where the users will be able to publish 'friend passes'; where a player will be able to post (automatically) such as: 'I passed James Brown on MY_GAME'. I am using Open Graph for posting my actions. I've created an action named 'pass' and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12043046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to add label into form builder (not in twig)? I have this code, but it doesn't work:
$builder->add('name','text',array(
'label' => 'Due Date',
));
the problem i have in fosuserbundle, i have overring form
<?php
namespace Acme\UserBundle\Form\Type;
use Symfony\Component\Form\FormBuilder;
use FOS\UserBundl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9354988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PLSQL procedure error I get the below error while executing code
create or replace
function contact_restriction_function(obj_schema varchar2, obj_name varchar2)
return varchar2 is
v_contact_info_visible hr_user_access.contact_info_visible%type;
begin
-- Here you can put any business logic for filtering
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22249293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MY SQL Partitioning advice We are currently deciding on a partitioning scheme for a table in our MySQL database. We have multiple shards and we route all of a single users records to one shard. We also want to partition the table itself by userid. We are somewhat new to partitioning and would like some feedback as t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29852549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Converting IF statement to VBA with Variables I am trying to convert the following IF statement into text that will be filled into a cell through VBA:
=IF(XLOOKUP(N7,'EDL Filter'!R2:R660,'EDL Filter'!AA2:AA660)="YES","Port Specific",XLOOKUP(N7,'EDL Filter'!R2:R660,'EDL Filter'!AB2:AB660) )
I've tried splitting it u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75228831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MongoDB: Remove JSON from Array in a Document I want to remove json from an array in a document.
My document is this:
{
"_id" : ObjectId("5c2f9a15a372ef8825b18736"),
"class_section" : [
{
"class_id" : "1",
"section_id" : "A"
},
{
"class_id" : "2",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54144134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native Voice error on some Android phones In one of the devices (Redmi 8A), I have the output of
Voice.getSpeechRecognitionServices() ==> ["com.xiaomi.mibrain.speech"] and voice recognising is not working.
Voice.start() ==> undefined but
Voice.isAvailable() ==> true
Voice.isRecognizing() ==> true
but none of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62596853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use Commands to react to a ListBox I'm trying to learn Commanding and have set up a simple wpf project to use a custom command. I have a ListBox and a Button on a Window. When the ListBox has the focus and an Item is selected, I want the Button to be enabled, otherwise it should be disabled.
I define a Cus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47533919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Problems with tbb in native dll called from multi-threaded .net application? We have a native .dll that does some HPC type calculations using Threading Building Blocks 4.4 to manage parallelism. This .dll is called from a .Net desktop program that is itself multi-threaded. I'm a novice at tbb, and I was wondering ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37058663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically creating Expression Blend controls in WPF C# I have created a button in Expression Blend 4. I want to dynamically create instances of this button at run time.
The code for the button is below:
<Button Content="Button" HorizontalAlignment="Left" Height="139" Margin="46,107,0,0" VerticalAlignment="Top"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14015617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Capturing Self in a double block with ARC I recently learned this trick for when I have to reference self within a block.
__weak MyObject *safeSelf = self;
[self doWithCompletionBlock:^{
HMFInventoryBatchItemsController *strongSelf = safeSelf;
if (strongSelf) {
[strongSelf doSomethingElse];
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20125219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ and undefined reference to XML_Parser i have the following problem, i need use expat.h library, i include the library normally:
#include <expat.h>
But when i try to create a object
XML_Parser Parser = XML_ParserCreate(NULL);
Eclipse keppler return undefined reference to XML_ParserCreate . I check the library a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18540608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can i iterate Arraylist of an object in Kotlin? I have a arrayList of an object , and i cannot iterate my list forward or reward , i don't want to display my message in these case but it does .
private fun handleLivePopUp() { // vous êtes en direct
val id = presenter.programItems?.indexOf(presenter.curr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72986333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: login using ssh on multiple user accounts using the same id_rsa and id_rsa.pub i have an id_rsa and id_rsa.pub . say i have 5 users on the same machine. i want to use the same id_rsa and id_rsa.pub to ssh between users without password. is it possible ? As i figure it out if user1 wants to do ssh user2@localhost ...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6139978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How should this be done? (returing a collection of values) I am writing a weather API to connect to the NOAA's XML METARS in C# NETMF. Before, this API was written in PHP, where I was able to use an associative array to return the weather parameters. For example, the return of the getWX() function might have been
Ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2971342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Apply Masked SVG Patterns using Coord System of ObjectBoundingBox I am writing inline SVG code for a data visualization and I'm trying to apply a <mask> which I filled with a <pattern> to multiple SVG <rect> elements.
I can't find a combination of patternUnits, patternContentUnits, maskUnits and maskContentU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58979707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.