text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Firebase Query Array Angular Using "in" I am facing a problem right now. I really don't understand where is my fault.
I try to query with library @angular/fire
Following is my query code:
return this.firestore.collection('Transaksi', ref => ref
.where('travel', '==', travel)
.where('waktu', 'in', [1, 5]) //this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62032381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: in regx, is it possible to accurately extract a json scalar value? wish to extract a scalar value from json.
*
*know JSON uses double quotes.
*know datatype of scalar: string, number, date, boolean.
*know scalar will be on first level, ie, not an attribute of an embedded object
{ "want": "string" } => "string"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11047424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simple Ray Tracing with Lambertian Shading, Confusion I didn't see another post with a problem similar to mine, so hopefully this is not redundant.
I've been reading a book on the fundamentals of computer graphics (third edition) and I've been implementing a basic ray tracing program based on the principles I've lea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50057825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The type returned from the numeric index must be a subtype of the type returned from the string index In http://www.typescriptlang.org/Handbook#interfaces-array-types
what does it means that
"with the restriction that the type returned from the numeric index must be a subtype of the type returned from the string ind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33626047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Bootstrap making span width should not exceed image size I have a requirement to show image with a text together on same column where they both share same width. By default, text size will exceed image size if text is big enough. I manage to solve the issue by giving max-width style to span with some javascript code... | {
"language": "la",
"url": "https://stackoverflow.com/questions/66294875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OS X design decisions. Terminate the app on last window close? Unlike Windows, GNOME and most other GUI's, OS X application programs do not all terminate if the main window (or all the windows) of that application are closed.
For example, fire up Firefox, Safari, Word, or most document based apps. Either click the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5480114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: EF 6 - How to correctly perform parallel queries When creating a report I have to execute 3 queries that involve separated entities of the same context. Because they are quite heavy ones I decided to use the .ToListAsync(); in order to have them run in parallel, but, to my surprise, I get a exception out of it...
Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41749896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Displaying data from web api into tables with ajax I have a web api in the url "http://jendela.data.kemdikbud.go.id/api/index.php/ccarisanggar/searchGet", and I intend to display with jquery ajax and inserted into the table, I've been trying to find a tutorial but it's hard to get it
A: By Jquery you can do this wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45275638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Manifest merger failed with multiple errors, see logs" error in android studio I'm new to kotlin, I'm practicing the basics. Anytime I run a simple code it refuses it run and I get a
Execution failed for task ':app:processDebugAndroidTestManifest'.
> Manifest merger failed with multiple errors, see logs
error.
I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70075760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How is the pentaho community server installed on linux? Where can I find the pentaho community files, how is it installed, and how do I access the user console?
A: Pentaho files are found at:
https://sourceforge.net/projects/pentaho/files
The server is in the 'Business Intelligence Server' folder.
Download the zip ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45425314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache Spark - how to see how many nodes are being used during a job run? I am using Scala Spark 2.4 and want to know the usage of the queue.
How to display how many nodes from a big cluster (100+ nodes) are being utilized for any particular job that is running?
Thanks.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/66546465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swift Error: exc_bad_instruction (code=exc_i386_invop subcode=0x0) I've looked on the site for the answer to my problem, but I could not find a solution that would work for me. I am getting the error code every time I run my application on the Iphone 5 simulator. But I do not get the error on Iphone 6 and up. Why is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40186462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iterator got by applying begin() on getter method doesn't allow to access to first elements of pointed list I have a object's pointer *myObject with a getter method:
vector<string> getList();
When I create my iterator to run throught my list variable returned by getList() like this:
vector<string>::const_iterator i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23311165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run other code while awaiting This is probably a stupid question, but my current project is stuck until I figure it out.
Say I have this function.
async function AtoB() {
try{
await ACheck();
let quantity = (ABalance - (1 / ABuy));
quantity = parseFloat(quantity.toFixed(4));
exchange.crea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49310133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Magento get salesrule id from product_id (or entity_id) We are using Magento Enterprise 1.10 and I need a way to get the salesrule_id for each product on category pages as well as product detailed pages. This is pretty easy when you're using the cart.
Basically all I want to do is something like this --> Pseudo quer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13595296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Query a specific time-range and alert at specific time of the day I need to run a rule at 2 am, querying logs from 0 to 2 am, and alert if matches are found.
So far all the rules I created are frequency rules, but I don't know how to achieve the specific time range for the query, and a specific time for the alert, c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37855146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I handle multipart/form-data POST requests in my java servlet? I'm having a very hard time dealing with multipart/form-data requests with my java application server. From what I have found out, the servlet 3.0 specification provides methods such as HttpServletRequest.getParts(), which would be ideal for pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3510788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Why is the insantiation of this singleton class giving different values Why do these two statement give different outcomes...
*
*print(Database().id == Database().id) (which gives False)
*but it gives True this way
d1 = Database()
d2 = Database()
print(d1.id == d2.id)
here's the entire code:
import random
clas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70543564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why do I get this error? 'NoneType' object has no attribute 'shape' in opencv I'm working on real-time clothing detection. so i borrowed the code from GitHub like this:https://github.com/rajkbharali/Real-time-clothes-detection
but (H, W) = frame.shape[:2]:following error in last line.
Where should I fix it?
from tim... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64045677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Implementing channels in haskell -- Tackling the awkward squad
In the paper Tackling the awkward squad, Simon Peyton Jones has provided a "possible implementation" of a Channel.
type Channel a = (MVar (Stream a) , -- Read end
MVar (Stream a) ) -- Write end (the hole)
type Stream a = MVar (Item a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27850363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to use a homescreen widget button to shutdown a service? I have a button whose WidgetProvider kicks off a service with a
PendingIntent. That works just fine. How do I similarly attach an
event handler to the button so that when it is pressed a second time,
it shuts the service down? Is there an appropriate patte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4543833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: override error android studio I'm doing an Android development course using Android Studio but I'm getting a @Override error in one of the examples that I tried to copy/repeat.
Here the code where I get the error
Handler handler = new Handler(){
@Override //here I get an error, that is not overriding a class
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34753850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show images in dropdownlist options? I need to have a dropdownlist whose options contains text followed by a small image.
Suppose I have a dropdownlist of fruits. I want to show the options as :
Option 1 : small Image of mango then text Mango
Option 2 : small Image of orange then text Orange
.................... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1720360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I upload videos into my youtube account without oAuth consent screen using YT data API v3 I want to upload local videos into my youtube account through my web app without oAuth consent screen. I am using node js as server and react js as frontend.
A: You need to understand the difference between private and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69416856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to count the number of columns in Excel table using VBA? Dim housetypes, elements, NumRowsElements, NumColumnsHousetypes
elements = Range("c10:c19")
housetypes = Range("d9:n9")
NumRowsElements = UBound(elements)
NumColumnsHousetypes = UBound(housetypes)
MsgBox ("NumRowsElements is " & NumRowsElements & " NumC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69978058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongo Bulk Insert Spring I am working on understanding Mongo's bulk insert method. I want to insert records that have a unique index, and the duplicates simply get skipped over. I understand I will need an unorded bulk insert, but am having issues with the implementation. I already have logic that has been implement... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71593554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mod Rewrite Clean URL's How can I transform:
*
*http://example.com/about.php
*http://example.com/hello/deep.php
*http://example.com/hello/world/deeper.php
Dynamically, into URLs like:
*
*http://example.com/about/
*http://example.com/hello/deep/
*http://example.com/hello/world/deeper/
A: see http://gist.gi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1982825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When classifying images to folders Error Comes Failed to get device properties, error code: 30 Keras examples
data_226000_227000.h5_286.png
D:/Icorve Project/Learn Neural Networks/Looking Straight/data_226000_227000.h5_286.png
(531, 413)
(531, 413, 3)
(180, 140, 1)
[INFO] loading network...
2020-01-07 09:24:19.3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59622030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Matplotlib: How to plot with only NAN values? How can I plot a timeseries with timestamps on the x-axis and "data" that contains only NAN on the y-axis using matplotlib?
The goal is to get an empty plot with timestamps on the x-axis and an empty y-axis. Why do I want to have an empty plot? Well, I am creating plots ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60952177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get reproducible result when running Keras with Tensorflow backend Every time I run LSTM network with Keras in jupyter notebook, I got a different result, and I have googled a lot, and I have tried some different solutions, but none of they are work, here are some solutions I tried:
*
*set numpy random see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45230448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Tensorflow keras layers.Multiply() TypeError: 'NoneType' object is not subscriptable I'm a beginning on Keras. I'm trying to convert the following R script into Python
1 library ( keras )
2 # we fit j =0 with feature matrix dat .X , claims dat$C1 and volumes dat$C0
3 dat .Y <- as . matrix ( dat$C1 / sqrt ( dat$C0 ))... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67992740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using One Model inside another model in Django I am Developing a E-commerce Application with Django
So what I was thinking is getting the category of the Product in a separate Model and list them down in another using choice field in CharField.
So Here is the code for this
This is the model for getting the Categorie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68411280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a '.exe' file made through python run on another device with python language not installed? See, I made a python program with about 7 libraries being used and I converted it into a '.exe' file. So, I wondered if I could run this same file on another device with python not installed.
Is it possible?
Please let me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65235193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compiling the "at" command for my mips toolchain While cross compiling with the following command :-
./configure CC=/data/designs/pweth-s-t1501/trunk/software/embedded/ar9341/linux/build/gcc-4.3.3/build_mips/staging_dir/usr/bin/mips-linux-uclibc-gcc --host=mips-linux
During the course of the compilation I am getting... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17895621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SqlDataReader returns last row I am developing an online examination system, but I'm having difficulties trying to read questions from the database to be displayed on an aspx on page load. Please help me out... I only get the last row displayed not all the rows !
I know that the values gets over ridden but how to so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36678967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add padding based on partial sum I have four given variables:
*
*group size
*total of groups
*partial sum
*1-D tensor
and I want to add zeros when the sum within a group reached the partial sum. For example:
groupsize = 4
totalgroups = 3
partialsum = 15
d1tensor = torch.tensor([ 3, 12, 5, 5, 5, 4, 11])
Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72477827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Core plot. Lables overlapped Hi I have a core plot graphic. By default it looks fine, but if I resize it, lables on x axis are overlapped.
I have dates on x axis, how can I change days to weeks? please see screenshot.
Is it some event which heppen on resize?
A: The default axis labeling policy puts the ticks a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6770693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Should bower_components be included into the project? I'm working on an ASP.NET MVC 5 project that was initially using Nuget for static content like Bootstrap, jQuery etc. I have now switched to bower as it is the way to go and is also integrated with visual studio.
I noticed that when installing bower packages, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44023808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I shift column values forward if the previous value is in a list of excluded values? I have some TSQL code that produces a de-normalized flat file from nicely organized relational tables. The code completes quickly, and the data isn't overwhelming, so chances are any suggestions would help. I don't have to w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24040050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic dictionary feature in NMT V3 I have heard that it should be possible to add a dynamic dictionary, holding a set of terms or word list when you train your model. This should be possible in the Translation Hob today.
How to do this using V3 or NMT in portal.customtranslator.azure.ai using custom translator pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50948081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress/Woocommerce Sessions Good afternoon, I have built a website for me client using Wordpress/Woocommerce. the site works great but one problem is that the basket/session doesn't clear after the order is finished. It looks to me that WooCommerce doesn't even have the feature as standard. Working with the Wooco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24265809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SQLite3 - One cell has different type than other cells in column I have a SQLite3 db. I use SQLite Browser and Python to work with this db. I have a column description which is a text column on the tabe. I've changed the text in one row using Sqlite3 Browser. From then, I'm getting error in python script.
UnicodeDe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38302563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to separate text using substring I was wondering how can I separate a column containing the following:
BURGER, Petrus (CHV 494081)
Into 3 columns:
FirstName, LastName, ID
A: SELECT
a[2] AS FirstName,
a[1] AS LastName,
a[3] AS ID
FROM (
SELECT regexp_matches(column_name, '(.+), (.+) \((.+)\)'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35516102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Firebase data structure: Attending school on date I am currently looking into my first application using Firebase as the backend.
I have 2 models, School and User. Each user can sign up for a date to attend the school, so I also need a Date.
A SQL table would look like this:
schools: id, name
users: id, name, email
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26699191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: JQuery stops working I have he following JQuery on my page and there is a form on it. After I select a name from the autocomplete function, it disables the mask and datepicker function.
Is there anything wrong on the code?
$().ready(function () {
$("#name").autocomplete({
source: "names.php",
wid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21685524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot install a j-text-utils-0.3.3.jar - no main manifest attribute I'm trying to install j-text-utils to make a table. When I click on the jar file, nothing happens. So I tried make a .bat file and run the file from cmd. However, this shows up:
no main manifest attribute, in j-text-utils-0.3.3.jar
I searched arou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56696438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Julia immutable struct with mutable list Here's some broken code:
struct NumberedList
index::Int64
values::Vector{Int64}
NumberedList(i) = new(i, Int64[])
end
function set_values!(list::NumberedList, new_values::Vector{Int64})
list.values = new_values
end
# ---
mylist = NumberedList(1)
set_values!(mylist,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69156101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: call API in R to evaluate each row in data frame I am using this api called rosette_api_key and it works so great. However, it seems to only work by passing one variable at the time.
As per below, variable "h" is a sentence I want to get sentiment analysis on.
library(rosette)
var.name <- "rosette_api_key"
var.val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40196173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highlight very simple code tag in wordpress? In a self hosted wordpress blog, I'm trying to hightlight this code : [xml], inline.
If I put this :
[code language="ps" light="true"][xml][/code]
It outputs as 1
Which html source is :
<div class="line number1 index0 alt2">
<code class="powershell plain">1</code>
</... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24079113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tensorflow back_prop ValueError: setting an array element with a sequence I'm getting this value error:ValueError: setting an array element with a sequence, when doing back_prop in tensorflow. I'm using large IMDB dataset and glove 50d pre-trained vectors. I have tried everything converting multi-dimensional list in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38838456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UnauthorizedAccessException in visual studio design view I am having a problem with the design view of visual studio where I will get an error when I try to load a Telerik reference specifically Telerik controls for windows 8 when I load that I get the exception when I remove it the exception goes away.
all this hap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21145837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Restore On Premises SSAS Database to Azure I've set up an SSAS server on Azure and configured it to connect to an Azure storage account for backups.
Using the Azure Storage Explorer, I've also uploaded a backed-up SSAS database to this same storage account, and I'm trying to restore this backed up db to my SSAS ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45162018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to correctly implement a multi-window application in C#? I have a C# Winforms application which supports multiple windows, similar to a browser.
At the moment, when the user launches a new window, I just find the process name and launch the process again. This seems like a bit of a hack, and it comes with the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24164909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to delete completed kubernetes pod? I have a bunch of pods in kubernetes which are completed (successfully or unsuccessfully) and I'd like to clean up the output of kubectl get pods. Here's what I see when I run kubectl get pods:
NAME READY STATUS RESTARTS ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55072235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Is there a framewok / API I could use to export iPhone-SDK's ABRecordRef instances to vCard? I'm looking at source code from Funambol, but the dependencies are so huge, I'm rethinking of using them, not to mention the code is based on OC++. Can anyone help me out on this?
Thanks.
A: No, afraid not.
You can either t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/484738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Config file location and binaries and build systems like autoconf Most build systems, like autoconf/automake, allow the user to specify a target directory to install the various files needed to run a program. Usually this includes binaries, configuration files, auxilliary scripts, etc.
At the same time, many execut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26853947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Create a .txt file if doesn't exist, and if it does append a new line I would like to create a .txt file and write to it, and if the file already exists I just want to append some more lines:
string path = @"E:\AppServ\Example.txt";
if (!File.Exists(path))
{
File.Create(path);
TextWriter tw = new StreamWrite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9907682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "182"
} |
Q: C#: Read and modify settings in another application's app.config file I have a number of applications running which communicate with each other but none of these applications have their own user interface. I have a system console application which acts as a user interface for the system (i.e. the set of application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13931171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Intro class C# for loop issue I'm working on the following two problems for my intro level C# course. I've completed problem 3, but am having trouble with problem 4. The issue is that the total is not coming out correct, as it is not adding the first combo value entered and I'm not quite sure where I went wrong. I w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39669077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: php regex error preg_match(): Unknown modifier '[' Iam very new to Php Regex, but somehow learned bit and tried as below, but getting error as : PHP Warning: preg_match(): Unknown modifier '[' in /home/3ZZyLt/prog.php on line 4
Here is the whole code with output: https://ideone.com/fTIyUK
Same code from above link:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30511756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to force field type to range in Grocery Crud? I need a range input to get an integer between 100 and 500 in Grocery Crud. Currently it's a normal text input field, and field_type() method doesn't have the range option. Is there a solution to add Bootstrap range instead?
A: For a simple way, you can use type num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59682387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: initializing scope using ng-init is not binding in directive Hi I am trying to bind a value to a directive using '@' which is defined in the ng-init event. but this doesn't comes into my directive and it returns undefined. When does this property actually resolves is it in Compile, link? Also, why is it returning un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25861293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Heroku Error R14 (Memory quota exceeded) running Node app The description gives me a pretty clear idea, what the error depends on. But I am not sure how to fix it. Do I have to pay for Heroku or can the issue be solved on the free version.
The script is very simple.
I am collecting a lot of 3rd party API's, into one... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64941135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extract part of sql query (numbers) using regex I need to extract part of sql query (saved in file) - numbers in section IN. But sql query also has other numbers (but not in section IN) What pattern should i use?
Pattern '(\d+)' extract more numbers that i need (from other part of sql query).
" IN ('7',
'9',
'11',
'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65306542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to collect a Verbose stream from a parent-child powershell script from .NET? I have: C#.NET using the PowerShell() object, calling one powershell script, which calls another.
C#->Powershell(parent)->Powershell(child). [capture verbose: parent works, child does not].
My code CORRECTLY grabs/streams Verbose from t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20695102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Studio 4.1.1 won't launch on MacOS Big Sur I had an outdated Android Studio app and after updating to the latest version the app won't launch.
Clicking on opening the app shows the launch screen and after that saying "No android SDK found", pressing next and continue to update shows "Nothing to do, SDK is up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64843168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails: Clarifying purpose of precompile:assets I'm trying to understand what exactly precompiling:assets does, because I've realized that for my last project my CSS would never update when I pushed my app to heroku unless I typed bundle exec rake assets:precompile, but this only started happening towards the end, so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13435983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Workbook.save - "the following features cannot be saved in macro-free workbooks..." My sub opens up a .xlsm file in a new Excel instance, makes changes to the file, and saves the changes.
However, despite the fact that the file being opened is .xlsm, upon workbook.save I get the alert message "the following features... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31602750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Play Framework Return Partial View I am using Play Framework and, using AJAX, would like to return a partial view to the calling script to render. I come from the world of ASP.NET MVC so this is a very simple concept there, but I don't see a place for it in Play.
An example of what I would like to do:
Main.html
<ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9519445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How many timers can I create in C on Windows? I am working with a table (struct) that stores entries of received messages. I need to monitor a specific operation for each entry periodically, which is why I thought of creating a timer for each created entry to monitor how long this entry has been in the table, and ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51061992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Android mixed language text - BidiFormatter on String with RTL and LTR text I have a ListView with custom View where I have a TextView :
<TextView
android:id="@+id/textViewItemTitle"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:gravity="r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20473657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: bootstrap 3 navbar active li background I have a bootstrap navbar in this fiddle and its dropdown is visible on hover the mouse as
$('.navbar .dropdown').hover(function () {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown(300);
}, function () {
$(this).find('.dropdown-menu').fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37583836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling STX-ETX frame with Netty Have to implement the following TCP/IP protocol implementation with Netty:
Message structure:
The messages are embedded in an STX-ETX frame:
STX MESSAGE ETX
0x02 7b20224d... 0x03
An `escaping` of STX and ETX within the message is not necessary since it is in JSON for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64090053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deploy small change to google app engine I want to deploy a change in my app.yaml file to google app engine. Is there a simple way to do this without redeploying the whole app? Is there a way of changing the app.yaml file on the google cloud directly? Or just deploying one file from my Windows directory?
My app is w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47679360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can a SQLAlchemy query use MySQL's REGEXP operator? How can this SQL query:
SELECT * from table where field REGEXP 'apple|banna|pear';
be written using SQLAlchemy?
My base query looks like this:
query = session.query(TableFruitsDTO)
A: The SQLAlchemy docs describe how to use the MySQL REGEXP operator. Since ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27228635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: toggle menu with javascript One of the theme I am using on wordpress use toggle menu if the parent menu have child menu under.
This is the current js code
var navItemDropdown = $('#nav li .dropdown');
navItemDropdown.each(function(){
thisDropdown = $(this);
$(this).parent().prepend('<span class="sub-nav-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19783538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can we make ListHeaderComponent as sticky header in SectionList? Description
i am using horizontal tab bar inside ListHeaderComponent and I want make ListHeaderComponent as a sticky header in SectionList. we can make stickyheader in flatlist by stickyHeaderIndices={[0]} but it does not work in SectionList
React ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63215635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: (HTML5) Can't load my image For some reason, despite using the right syntax(to my knowledge) and having the image file in the same folder as my HTML document, when I load the document, the image I programmed to load does not appear on the page. What could be the issue here?
Here, my HTML file is clearly in the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34953390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: First selected item value from checkbox collection My html code is as below.
<table id="rooms">
<tbody>
<%
var rooms = Model.AvailableRooms.ToList();
%>
<tr>
<%
foreach (var r in rooms)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18191891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Put json data from jquery into Thymeleaf I am using google book api for ISBN and I am able to get data. Now I want to attach that data into a form. I am not able to that.
This is my Jquery Code
$(document).ready(function(){
$('#submitCode').click(function(){
var x;
var isbn = $('#isbn').val();
var ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41081978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uneven Results Doing A Sort / Orderby on Amazon SimpleDB I've been getting really uneven results trying to request a numerically sorted list of records from Amazon SimpleDB.
I am zero padding my numbers to get them selected lexigraphically, but still no luck. These two queries are giving the same result, for exampl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2249263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Handling user registrations Using only Django without the need to be redirected to other template This is my view
class UserRegistrationView(FormView):
template_name = "register/register_form.html"
form_class = None
extra_fields_form_page_slug = ""
email_template = "register/account_activation_email.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68226188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Data return is undefined vue.js? i have a problem i don't understand why i can't recover my recette.
My route at node is ok i have my good res ut at vue my code don't work my res is undefined.
What I am trying to do is to filter my recipes by retrieving only the recipes which have as category recipe 1. I made a rout... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65675218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: iOS project can't run when AIR SDK upgraded to 3.6 That is very simple flash iOS project with FB 4.7, AIR SDK 3.6, and running on iPad2(5.1.1).
When I debug with the default AIR SDK 3.4 of FB 4.7, the project is running ok. But, when I upgrade the AIR SDK to 3.6 according the help of Adobe. The FB 4.7 debuger can't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15356152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add some known objects to ace editors syntax checker? we're using the ACE editor to write javascript code that's interpreted on the server side. So the server has a JavaScript interface and can execute submitted code to accomplish some task from the outside.
The server implements some new objects that are not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28434455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: junit and ant issue. Cannot start test When I am running a junit test from ant I always get:
D:\metrike>ant test
Buildfile: build.xml
init:
compile:
test:
[junit] Running jmt.test.TestCodeBase
[junit] Testsuite: jmt.test.TestCodeBase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0,046 se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3803380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Prevent new WordPress users from logging in until manually "activated"? I'm developing a plugin for WordPress which has 3 groups of users. I need to disable some users and prevent them from login. what I mean isn't preventing them to access the backend. I want to prevent them from is log in. For example, when th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43223557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I have a test unit in the same source file? This question is Ruby related.
Suppose I want to have the test unit for my class in the same file as it's definition. Is it possible to do so? For example, if I'd pass a "--test" argument when I run the file, I'd want it to run the test unit. Otherwise, execute nor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4013587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SettingWithCopyWarning while assigning value_counts() I am trying to assign certain values to a column in a dataframe within a Python function.
df = df[(df['date'] <= max_date) & (df['date'] > min_date) | (df['x_date'] <= max_date) & (df['x_date'] > min_date)]
numbers = len(df)
df["patients"] = value_cou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72802477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access htdocs folder when xampp can't open in mac Big Sur? I just found that I couldn't open Xampp after upgrading to Big Sur.
My question is: How do I access htdocs folder?
I'm afraid that it will override the htdocs folder if I install the latest version of Xampp.
A: did you check the hide folder named ".b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67989730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why don't I need to specify "typename" before a dependent type in C++20? This bit of code compiled in C++20 (using gcc 10.1) without using the typename keyword before the dependent type std::vector<T>::iterator. Why does it compile?
#include <vector>
template<typename T>
std::vector<T>::iterator // Why does this no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61990971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "74"
} |
Q: Log sqlite selected values I have select query like this
String innerSelectQuery = "SELECT * FROM " + TABLE_NAME_EVENT_TYPE_MASTER + " WHERE EventTypeKey = '" + cursor.getInt(2) + "'";
Cursor innerCursor = db.rawQuery(innerSelectQuery, null);
if (innerCursor.moveToFirst()) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45031692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Algorithm for finding end of a list (SAP GUI) I'm writing a script that adds elements to a list in a SAP GUI screen. Now, it seems that when using SAP GUI, nothing "exists" unless it is actually on screen, so the first step involves finding the end of the list.
I accomplished this by scrolling though each element, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40112096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Memory leak in background process on Heroku I was wondering if anyone can advise me on how to track down a memory leak / issue on a background process on Heroku.
I have one dyno worker running with a delayed_job queue, processing all sorts of different processes. From time to time, I'm getting a sudden jump in the m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18255254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Dynamic ASC and DESC I have the following SQL statement where order by clause is passed dynamically .
How can I pass 'order by asc and desc' dynamically to SQL?
SELECT table1.prod_id,table2.prod_name from table1 left outer join table2
ON table1.prod1 = table2.prod_id
ORDER BY CASE WH... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27015623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: paypal chained payment ipn not returning notification I am using the following code for PayPal chained payment
require_once ("paypalplatform.php");
$amount=100;
$amt1=($amount * 10 )/100;
$amt2=$amount-$amt1;
$actionType = "PAY";
$cancelUrl = "http://test.com/test";
$returnUrl = "http://t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14237809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does python allow calling of an instance variable name from an instance method? I want to know if there is a way in python to call the name of an instance variable? For example, if I define a class
>>>class A(object):
... def get_instance_name(self):
... return # The name of the instance variable
>>>obj = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17620589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import module with same package as existing one I have the following directory structure:
/some/dir
┣ mainmodule
┃ ┣ __init__.py
┃ ┗ module.py
┗ submodules
┣ __init__.py
┗ module
┣ __init__.py
┣ submodule_1.py
┣... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58991987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Overloading (c)begin/(c)end I tried to overload (c)begin/(c)end functions for a class so as to be able to call C++11 range-based for loop.
It works in most of the cases, but I don't manage to understand and solve one :
for (auto const& point : fProjectData->getPoints()){ ... }
This line returns error:
Error C2662:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31581880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Alter hive table add or drop column I have orc table in hive I want to drop column from this table
ALTER TABLE table_name drop col_name;
but I am getting the following exception
Error occurred executing hive query: OK FAILED: ParseException line 1:35 mismatched input 'user_id1' expecting PARTITION near 'drop' in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34198114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.