text stringlengths 15 59.8k | meta dict |
|---|---|
Q: WPF bind IsEnabled property to List's size I want to bind the IsEnabled property (of a ribbon button) to a lists size. So when lists size is > 0 then IsEnabled is set to true else (if 0) it's set to false. How do you do that?
A: Bind to the lists Count property and create your own ValueConverter to convert from an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6302776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Nativescript UI not updating when adding or removing css classes programmatically I am facing problems in updating UI when adding or deleting classes to elements on page.
I am trying to make an alternative to nativescript-dom plugin which is now not working on ns6.
main-page.ts
import { TOGGLECLASS, checkChildren } ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59819144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access app.config in a blueprint? I am trying to access access application configuration inside a blueprint authorisation.py which in a package api. I am initializing the blueprint in __init__.py which is used in authorisation.py.
__init__.py
from flask import Blueprint
api_blueprint = Blueprint("xxx.api", __... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18214612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "162"
} |
Q: Android Wifi verbose logging parameters Ive enabled the dev options on my android phone, and enabled wifi verbose logging which shows meta data on yhe wifi menu. Im just curious, as couldnt find any answers in the android documentation or else where online.
Parameters shown under each SSID
Could some one explain wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75488380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: getting input values by id I can't get data in id custId. I want to get user ip by JavaScript and its working, but how can I include that info in the email body?
I tried with this but failed
var ip = document.querySelector('input[id="custId"]').value;
but when all info is submitted it comes blank null. Other forms ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66909199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Displaying OLAP data in Sharepoint 2010 Is there any way to display the data of an OLAP cube in Sharepoint 2010? a Webpart?... I need to do it without excel services.
Thnks
A: In SharePoint Server Enterprise you can use Performance Point functionality. MSDN best practices. It's not straightforward but possible. Oth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23851420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In ASPNetCore 2.2, Startup.cs, the Configure property only has {get}, yet it is assigned a reference. Why is this? ASPNetCore 2.2:
In Startup.cs, the Configure property only has {get}, yet it is assigned a reference.
I tried this in a normal .net framework app console, (a very simple "class1" object), and this was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56736822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CUDA C - how to use Texture2D for double precision floating point I want to use texture 2D memory for double precision. I want to read from texture to shared memory and convert int2 to double, and then transfer back to host memory But I am getting only first row as desired and all other row's value is 2.00000000.
#i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33739373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Change chalk color in RISE chalkboard I am using RISE in a jupyter notebook with python and enjoying the chalkboard feature. But when using a dark theme the default blue color is hard to see.
I have been trying many (even weird) things and I only could change the color to black (that is even worse with dark themes) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61069015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: protobuf.serializer.serialize equivalnce in C++ I am writing adapter class (library function) which will take different kind of PB messages as the input in the form of std::Map and serialize this map write in to the file then vice versa.
Example:
message user_defined_type
{
optional int Val1 = 1;
optional ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26038556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php7 how to check, that only int values in html form this code accepts numbers, e.g. 13.5, 15.6 etc...
I need that checked if this is a number only int, e.g. 13, 14 ... etc.
if (is_numeric($r_haslo) == false) {
$wszystko_ok = false;
$_SESSION['e_haslo'] = "<i class=\"fas fa-user-times\"></i> Podaj tylko cyfr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50847168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to Set Left and Right Margins to Absolute 0 I have to create a document with absolute 0 margins in left and right sides. The problem is word is forcing to left at lest 0.41cm for margins. can you please let me know how I can make them zero?
A: This works for me in word 2010, definitely try hitting ignore.
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18773933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails assets pipelines + git submodules I am trying to use Skeleton with Ruby on Rails. What I want to do is to put the Skeleton directory in the vendor directory as a git submodule in order to have something similar to this:
...
vendor/
...
Skeleton/
...
stylesheets/
robots.txt
I tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9402062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inserting into Table with Clustered Columnstore Index I have a trigger on a table (T1) which when it gets updated writes a new row to another table (T2). T2 is on a linked server and has a CCI on it as this table will be pretty big
When the trigger fires I get this message:
Cursors are not supported on a table whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39747551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nasm: ELF format cannot produce non-PC-relative PLT references I'm experiencing an error with nasm compiler. Inside nasm's source code the error originates here.
I' trying to build an relocatable object file that can resolve a specific symbol during run time linkage (not build time linkage).
Minimal code:
EXTERN sta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68410211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Install PHP 7.1 on MacOS Sierra I am using homebrew. I installed php 7.1. I added
LoadModule php7_module /usr/local/opt/php71/libexec/apache2/libphp7.so
to httpd.conf file. And also i added
<IfModule php7_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41670197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Chai-as-promised not extracting text value I have a simple page object method :
page.prototype.copyLink = function() {
this.visit("https://myWebsite.com");
this.login(); // once logged in, presented with list of elements
return {
firstCampaign: this.find('#el-1').getText(), //returns a promise
secondCa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47145257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NSTimer is not firing I had everything working fine also the timers where running. But when i ran into weird problems i had to restructure my cocos2d scene.
Now i am not able to fire the NSTimers anymore, the BonusTimetimer below is not even fired once.
Thanks in advance, below is the code.
BonusTimeTimer = [NSTime... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17259824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSON pipe in Angular prints a blank string for "undefined" values When using the json pipe in Angular it prints a blank for undefined values.
<pre>{{undefined | json}}</pre>
Outputs the following to the DOM
<pre></pre>
This is not consistent with the JSON stringify function.
console.log(JSON.stringify(undefined));... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57500268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Get records from one table excluding records from another I'm trying to select records from the master table where they match records in the new table, but excluding records where the new table matches the old table. The urn field is a common denominator between them all.
My query is this:
SELECT *
FROM `master`
JOI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41120325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to programmatically identify where n would fit in this sequence? I have a number I want to conform to the closest value in the following sequence:
2, 5, 9, 12, 15, 19, 22, 25, 29, 32, 35, 39, 42...
If 10 is passed, it would become 12, 13 would become 15, 17 would become 19.
How would I approach this in a functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7935439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I get Sails.js logging to use multiple Winston transports with different log levels? After searching the Sails.js docs, GitHub issues, Google group, and here on SO, I still can't figure out what I'm doing wrong...
I want to use Winston to log with 3 different transports, at 3 different log levels:
*
*warn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28097925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Xamarin ListView isn't showing data I have a problem in which my ListView isn't showing any data. I'm trying to load ImageUrls (as text) in my ListView. My view (in .xaml) contains the following code in the StackLayout:
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49651536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Multiple MKMapView 's causes EXC_BAD_ACCESS My app has a need to implement a map in two seperate UIViewController's, the problem is that once one of the maps has been rendered, trying to open the second causes a EXC_BAD_ACCESS error that shows at the declaration of AppDelegate, I have tried using Zombies and it show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32404649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R: How to get sample from data frame using several conditions I have an extensive data set and am trying the get a sample meeting several conditions.
I want my sample to show only observations where variable (type) is a, b, or c additionally showing only observations where variable (time) is between years 2010 unti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60486940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Printing the error in try catch block in powershell Here is my script which returns a boolean
param($fileName, $path, $contextMenuItem, $automationDLLPath)
function CloseWindowsExplorer()
{
(New-Object -comObject Shell.Application).Windows() | foreach-object {$_.quit()}
}
Try
{
Import-Module $automationDLLPath... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20619661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to customize node js lib and include it in project I want to override some scripts in downloadable library, but it so big that I can't include it in source code of project. Is it a good practice in node js to customize npm library and include it into main project. How to specify it lib in project?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/69446368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Alexa skill how to retrieve apl value I'm sorry if it's a dumby question I'm new developing Alexa skill and using APL.
After triggered an intent, Alexa show a countdown timer to the user, it's possible after another intent is triggered to retrieve the value from the countdown or after the countdown is finished to tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73560184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent duplicate subscriptions with Stripe Checkout Consider the following course of events:
*
*A user selects one of multiple subscription options on my website and clicks the "pay" button.
*They're redirected to the Stripe Checkout page but don't complete the payment yet.
*They somehow manage to get back to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67422947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Images are not displayed in Google Assistant rich response only on Android devices I have a servlet with a valid HTTPS certificate that serves up a PNG datastream. When I add a URL link to it in a Basic Card response, the image is displayed in Google Assistant simulator (in my PC browser), on iPhone and iPad. Howeve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62426332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Clear text authentication in ETL tools I am trying to implement some ETL processes by testing Pentaho & Talend. We are using a MySQL database, where we connect with a Clear Text Authentication.
https://dev.mysql.com/doc/refman/5.5/en/cleartext-authentication-plugin.html
I cannot find any plugin or module for neither... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43469270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I view the all inherited url-resolution rules affecting a given directory? I work on two sites hosted on the same server, using the same CMS configurations and identical .htaccess files in their respective document roots. One site is letting me use the CMS's clean-url mode, and the other isn't. Site #2 funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2596412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HttpServletResponse contained in servlet filter does not perform redirect I am using Spring 4.0.6 in a servlet application. I have an abstract base controller with some general methods for all my controllers to use.
One of these methods is a redirect. I want to have a method with signature
redirect(String path)
To ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24969135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert Rows to Columns in Sql Server 2012 I have a table like this :
MNUM EXP_TYP ExpenseLabel AMOUNT
572711 2 Taxes 7080
572711 3 Insurance 3730
572711 4 Electric 7800
572711 5 WaterIncome 6000
572711 7 Trash 2400
572711 8 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28703857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: type transfer int to str Question:
Given a string containing uppercase alphabets and integer digits (from 0 to 9), write a function to return the alphabets in the order followed by the sum of digits.
My Code:
import re
class Solution:
def rearrange(self, str):
# Write your code here
if str ==... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49681941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Zooming with VLCJ Is there any way to zoom in a video with VLCJ like VLC has this feature. I think it is called magnify or interactive zoom.
It is under Tools >> Effects and filters >> Video >> Geometry >> Magnify
I use vlcj with javafx 9, rendering frames to a canvas with an EmbeddedMediaPlayer.
I also try to add t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60146011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Apache HTTPClient not processing new line characters I am writing a small app that retrieves some html from a web server based on some variables in the http POST. The HTML data that comes back has a <pre> section in it with some words that are spaced out nicely using newline and tab characters but my app does not re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7898863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creating a function reference that has value parameters not references I'm not sure exactly how to describe what I want. I want to define a function with the parameters being a local VALUE not a reference.
say I have list of objects I want to create
for(i = 0; i < 10; i++){
var div = document.createElement("div")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2451343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What are the types of jquery selectors? I'm having a problem with this question and didn't have any good source, can you please help me ? What are the selectors?
A: These are the jquery selectors (as of jQuery 1.10 and jQuery 2.0):
*
*All Selector ("*")
Selects all elements.
*:animated Selector
Select all ele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21081694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: oh-my-posh module is working slowly inside git directories I am using oh-my-posh for PowerShell and it is extremely slow inside git repos. In regular directories, if I press enter, a new line appears instantly. However, if I press enter inside git repos it takes 1-2 seconds for a new line to appear. Here's my profil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68618489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sqlalchemy.exc.NoReferencedTableError I am creating a simple blog in Flask. I have created 2 models for Users and Posts. The code for the main.py file is given below.
from flask import Flask
from flask import render_template
from flask import url_for
from forms import RegistrationForm, LoginForm
from flask import fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60592263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python: can't open file '//ML_project.py': [Errno 2] No such file or directory in Docker Here is the content in my Dockerfile. I am trying to containerise a python script (ML_project.py).
FROM continuumio/miniconda3:latest
COPY ML_Project.py .
RUN pip install fxcmpy
CMD ["python", "ML_project.py"]
My dockerfile ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74478598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Components with uppercase function names are rendered multiple times in React Hooks I've been developing with Hooks for a long time, But I met a situation where I was confused.
Let me briefly describe this strange problem with a particular case.
I created a very simple functional component called Test:
// test.js
ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62167440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Array permutations in multidimensional array keeping the keys PHP For two days I've been running crazy trying to accomplish this, maybe you can enlighten me. This is for a horse betting permutation. Every time a user plays, I get a multidimensional array (2 levels). The first level contains the race ID, the the seco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5967587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SUMIF SQL MS Access SELECT [doc type], [Open Amount],
[customer number],
COUNT([customer number]) As CountCustomerNumber,
SUM(IIF([Open Amount]>'0', [Open Amount], 0)) AS sum_open_amount_pos,
SUM(IIF([Open Amount]<'0', [Open Amount], 0)) As sum_open_amount_neg
FROM
(
SELECT d.[customer num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67888928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Navigationview Set SelectedItem for sub-menu item in UWP app I trying to set default selected item for navigationview by
DashboardMenuItem.IsExpanded = true;
Microsoft.UI.Xaml.Controls.NavigationViewItem selectedItem =(Microsoft.UI.Xaml.Controls.NavigationViewItem)DashboardMenuItem.MenuItems[0];
NavView.SelectedIte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65017337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Background disappears when expanding an element CSS? When I add a new element in (using JavaScript event listener to set display from none to grid) the background of the body behind and around the element (which is set to 80% width) goes solid white. If I remove html tag from the following code it fixes it but then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65400297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Upgrading NC30 M16 C Compiler: va_arg issue In my NC30 M16C compiler version 5, I had the following macros used by previous programmer. We use this macros in the "printf()", "sprintf()" etc functions.
typedef unsigned char * va_list;
#define va_start( args, first ) args = (va_list) ( (unsigned short) &first + sizeof... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11786859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Angular 4.3 HttpClient - How to use HttpHeaders and interceptor properly? I need to send headers to my HttpRequest.
I already searched here and I have already tried with a few answers I have found, but none of them worked.
The headers are not being sent to api and if I inspect the clonedRequest object, it does not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45890655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: this between square brackets I'm new to C++ and while learning and documenting about the subject, I stumbled accross something that intrigued me :
[this](type argument)
{
// code
}
What does [this] stand for in this function ?
Here's the whole function in which I found this :
void do_accept()
{
acceptor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25153622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keyboard is moving view little too up I made simple solution, textfield is pressed, open keyboard and move view up. But the problem is, it is moving it a little too hight and covering first textField. I do not want to make scrollView for this. is there any other solutions?
Like this I do what I described above:
Noti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39902485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'ClientFilter' validation failed: client view is too loose . each client should include one project only I am trying to do same operations that I do with perforce GUI using command line.
When I tried to do p4 edit on any file, it said Client '<host-name>' unknown - use 'client' command to create it.
So, I tried p4 c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53680860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What's the best way to keep adding new points to glBufferData? I am making an experiment with OpenGL to find what's the best/most efficient way to very frequently add new data to glBufferData.
To do this, I wrote a small 2D paint program and simply keep adding points when I move the mouse.
The whole function looks l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25919618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ERROR TypeError: Cannot read property 'group_status' of undefined in console I am getting this error in console and this error increasing continously, I am using two way binding with ngModel with interface. I have attached the screens of my code.
screens:
This is the component part where getting basicinfo from serve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48437922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mysqldump - select table if it contains a specific string I have a pretty big local WordPress Multisite installation, and this is mirrored on a live server, so I can develop a site locally and upload it for a client to see (it's sub-domain based). I have written a custom shell script to upload the database from my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25485571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do conditional formatting on Chart axis values? I have a chart where I want to format values based on a cell selected type: "Percentage" or "Number".
If "Percentage" is selected I want to display chart values like "0.00%", else I want to display values: "# ##0"
I found only a way to have only one number forma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69090317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails + Activerecord: How to show records with "ranking ASC" first, then show the rest of the records "name ASC"? I have 2 columns in my awards table: ranking (integer) and name (string). I want to create a scope that shows all the records with the ranking column filled in in ascending order (1, 2, 3...), and then t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22772284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing multiple values for Laravel components from the view resources/views/index.blade.php
<x-card title="Products" body="Add or manage products" btn-add-id="addProduct" />
app/view/component/card.php
public $title;
public $body;
public $btn_add_id;
public $btn_manage_id;
public function __c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71822239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highcharts - categorial data values represented by distinct dots? In highcharts, I have a bunch of simple, standartized categorial data. See fiddle here.
series: [{
name: 'sample element 1',
data: [3, 3, 2]
}, {
name: 'sample element 2',
data: [1, 4, 3]
}, {
na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26340983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using audioplayers to play a single note from a button I am doing an outdated tutorial on the audioplayers package and just trying to play a single note from when the button is pressed. I am not able to get it to work, can someone please help
import 'package:flutter/material.dart';
import 'package:audioplayers/audi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72914661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IoT project with raspberry-pi3 and Bluemix. Error : TwilioRestClient has been removed from this version of the library I'm doing a Internet of Thing(IoT) project, and I follow a sample from below sources. But I fail at last step when I push to start this app.
https://www.ibm.com/blogs/bluemix/2015/04/tutorial-using-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47300110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does Weblogic 9.2 support Sun Jdk 1.6? Does anyone have experience running Weblogic 9.2 on JDK 1.6? I am having trouble finding that information on Oracle site. In the Supported Configurations page they just mention Sun 32/64bit JDK but I haven't found any references to specific java version.
I would like to upgrade... | {
"language": "en",
"url": "https://stackoverflow.com/questions/617597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Developing a "Flash Briefing" on Google Home I publish a flash briefing skill on Amazon's Alexa. It is a brief news update on a specific topic. I provide the information to Alexa via a json file that is updated every 10 minutes.
I'd like to publish something similar on Google Home devices. However, when I look at Di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49040001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Load array havng lacs of records on server startup in php When we are starting the PHP server online,if at that time we want to load an array having lot of records in the web application before any users visit the homepage.Because loading a big array will take a lot of time when users visit the site online.So i want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22904739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use Spotify iOS SDK in India I am creating an streaming app and want to use the Spotify iOS SDK for the streaming purpose. But, the services of Spotify are not available in India. I have the Spotify premium account (based in US). The development will be held in India.
My question is, can I use the Spotify iOS SDK in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30500063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Creating a timetable using JavaScript I am trying to create a web page where user can create his own schedule. User can enter the values of lines and columns in some input to build a table in which the user will write his schedule. I use this javascript code:
var p = document.getElementById('paragraph');
var tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70694503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does this NSMutableArray lose a member when it initializes an NSMutableDictionary? There must be something I don't understand about dictionaries. I have the following code:
NSArray *keys=[[NSArray alloc] initWithObjects:@"first person singular", @"second person singular", @"third person singular", @"first perso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12974884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sqlite wont save data added I'm making an app, which needs a sqlite database. I can add data and view it, but on each restart of the app, closing, reopening the data get deleted. Why is that?
DB Handler:
package com.spxc.wakeuptext.sql;
import java.util.ArrayList;
import java.util.List;
import android.content.Cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18561630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove products from a JSON-formatted list? (using an ID) here is an example of the JSON generated from values retrieved from my database:
{
"product": [
{
"id": "1",
"title": "producta",
"size": "50",
"weight": "1000",
"quantity": "1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9305932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pandas Similar Function to COUNTIFS Sample Data
Please see Sample Data image. I'm trying to replicate the COUNTIFS functionality within Python / Pandas but I'm having troubles finding the correct solution.
=COUNTIFS(B:B,"BD*",A:A,A2,C:C,">"&C2)
B is the Type column, A is the Reference column, and C is the Doc Condi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74620537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Colorama required for Flask or Click? I'm trying to do the Flask "Hello World" tutorial and when I do the 'flask run' command on terminal I get the following traceback:
PS C:\Users\boymeetscode\PycharmProjects\beerRPG> flask run
Traceback (most recent call last):
File "C:\Users\boymeetscode\miniconda3\envs\beer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69421726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calling type-bound procedure for an array of derrived types in Fortran Let's assume that I have a derived type Coordinates with its type-bound procedure swap:
module myTypes
implicit none
public :: Coordinates
type Coordinates
real :: x,y
contains
procedure :: swap ! Error here
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43592606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: In Python, how to format string while saving in a file Is it possible to format strings while saving in a file, similar when printing to a console?
f = open('test.txt', 'w')
f.write('{0:10} {1:10}').format('one', 'two')
f.close()
A: Yes it is. I think that one of your closing parenthesis was not where you meant it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31235217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Cloud Platform, ML Engine, "No module named absl" I am trying to train an object detector using TensorFlow following the following tutorial: https://cloud.google.com/blog/products/gcp/training-an-object-detector-using-cloud-machine-learning-engine
The tutorial asks to use object_detection.train, however this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51703508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: create J2me launcher Hi I have to create J2me launcher in which when I run the emulator then icon is displayed when I click on it, then it will redirect me to the website which I have given. I have researched it on internet but I cannot find any solution Please if anyone can help me please help me and it there are a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11591037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: counting the vowels, without using raw input and the string 's' is defined.My result a infinite loop, whats wrong in it k=0
if (s[-1] == "a" or s[-1] == "e" or s[-1] == "i" or s[-1] == "o" or s[-1] == "u"):
k=1
else:
K=0
t=len(s)-1
while t>=0:
if (s[t-1:t] == "a" or s[t-1:t] == "e" or s[t-1:t] == "i" or s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30986482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to synchronize between cuda kernel function? I have two cuda kernel functions like this
a<<<BLK_SIZE,THR_SIZE>>>(params,...);
b<<<BLK_SIZE,THR_SIZE>>>(params,...);
After function a started, I want to wait until a finishes and then start function b.
so I inserted cudaThreadSynchronize() between a and b like this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9902158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the image from a facebook photo comment? Either API or FQL, I am trying to get the photo submitted as comment in a photo post.
To make clearer here is what I am saying
*
*I post a photo on my page timeline.
*people now post comments on the said photo
*either text comment or attaching photo in each co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19156246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to access a dynamically created control's value in a gridview in ASP.NET I can't figure out how to access the value of a control in a dynamically-created gridview. Thhe problem is that I don't know the name of the control. If I knew the name of the control I could do just do this :
string dropDownListText =((Dro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10434579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ServiceStack Clients and Ambiguous Routes I have a service stack service we'll call Orders that has the standard GET routes
*
*/orders - Gets All Customers
*/orders/{Ids} - Gets Specific customers
This works all fine and dandy, but I thought I'd add another route
*
*/orders/customers/{CustomerId} -Gets orde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20590550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Exception safety in the composite pattern I used the composite pattern to represent devices, which I would like to shut down before killing their power (calling their dtor).
I ran into a problem trying to group the devices, especially regarding their state.
How would I proceed in the following scenario:
class IDevic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63945051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print value after enabledelayedexpansion Setting a variable in a "setlocal enabledelayedexpansion" works with
set HASGCC=0
for /f "delims=" %%i in (...) do (
setlocal enabledelayedexpansion
set HASGCC=1
endlocal
)
but sadly a echo after doesn't result in the correct value ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70287216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redirect to another controller/action in anther application I have to build an ASP.NET MVC 3 application that can redirect to other ASP.NET MVC 3 applications by calling their controller/action. I was thinking of just building the URL. I would have to know the controller/action names and the host. I was thinking of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8514758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ModuleNotFoundError: No module named 'win32crypt' I'm trying to run a Python module for a school project and I am getting this error ModuleNotFoundError: No module named 'win32crypt' at line import win32crypt.
I've search the website for solution and encountered a post that states pywin32 is required. So I installe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54653817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS code for pinterest layout style My challenge is trying to make the listing grid view looking like pinterest similar layout.
I've already made a little code with it... but it's not enough.
the rows below don't fit each other.
#content .category_grid_view li.featured { position:relative; -moz-border-radius:3px; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18968132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SSIS :: How to implement SCD type 2 in SSIS without using SCD Wizard. When incoming dataset has multiple records for the same Business Key In SSIS, if an incoming dataset has multiple records for the same Business Key, how do I load it to the dimensions table with SCD type 2 without using the SCD Wizard.
Sample data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56071054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Reindex a dataframe using tickers from another dataframe I read csv files into dataframe using
from glob import glob
import pandas as pd
def read_file(f):
df = pd.read_csv(f)
df['ticker'] = f.split('.')[0]
return df
df = pd.concat([read_file(f) for f in glob('*.csv')])
df = df.set_index(['Date','ticke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68365598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IDEA+Gradle: exclude sources from tree and compilation? In IDEA 2019 I have created a Gradle project and added the following lines to the build.gradle file:
plugins {
id 'java'
}
sourceSets {
main {
java {
srcDir "../src"
include "com/example/abc/**"
exclude "com/e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56776543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add custom scroll bar for textbox and listbox in c# winforms Can some explain thoroughly or share your source code on how to change textbox / listbox scroll bar to custom scroll bar on c# winforms.
Cause textbox and listbox doesnt have a scroll attribute like on panel. Thanks! Cant find a source code here to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46780138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R on MacOS Error: vector memory exhausted (limit reached?) I'm trying to run an R script (in particular, I am using the "getLineages" function from the Bioconductor package, Slingshot.
I'm wondering why the error "vector memory exhausted (limit reached?)" is showing up when I use this function, as it doesn't seem to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51295402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "103"
} |
Q: How can I get the path of a file from an OpenFileDialog and pass it to a PDFReader? (C#) OpenFileDialog ofd = new OpenFileDialog();
private void button1_Click(object sender, EventArgs e)
{
ofd.Filter = "PDF|*.pdf";
if (ofd.ShowDialog() == DialogResult.OK)
{
richTextBox1.Text = ofd.SafeFileNam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51985221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Match string begins and ends with consonant In order to matches any string that begins and ends with a consonant, while no consonants in between, I know that r'^[b-df-hj-np-tv-z][^b-df-hj-np-tv-z]*[b-df-hj-np-tv-z]$' works. But I would like to know, what is the problem with r'^[^aeiou\s][aeiou]*[^aeiou\s]$'? It seem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74001362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which of the different type of mobile apps has the worst access to native APIs ? and WHY? my question is which of the different type of mobile apps has the worst access to native APIs ? and WHY?, the option is:Native Apps\Mobile Web Apps\Hybrid Apps.
And please give me a reason, thanks !!!
A: Mobile Web Apps. U are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24362542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: is it possible to convert uploadcollection's object into a xstring? Using the sapui5 uploadcollection to upload files in the frontend and then sending them through ajax with a post request...
I need to know how to convert te returned object from the uploadcollection control into a xstring, so then I can send that xs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53676404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do we know we reached the last message in the kafka topic using KafkaMessageListenerContainer I am running consumer using KafkaMessageListenerContainer.I need to stop the consumer on the topic's last message.How can i identify particular message is the last message in the topic.
A: You can get it with the follo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65786747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Passing multiple line value from JCL instream to Cobol variable 88 Example:
01 VAR1 PIC 9(05).
88 WS-VAR1 VALUE 1000 1001 1002 1003
1004 1009 2000 2002 3000 4000 4009
5000 5001 6000 7000 8000 2332 8484.
How can we pass value from JCL as instream to a Cobol prog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52088593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to solve NoClassDefFoundError in cucumber test i am using eclipse as a IDE and Selenium web driver. i am trying to run test in cucumber-JVM.
when i am run test it show me "NoClassDefFoundError ". can anyone help me to solve my problem. all relevant jar files are build in to project file.
A: Add cucumber-jvm-dep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18513603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iOS: Building a slideshow with fullscreen images I want to build a slideshow in which you slide images (displayed in fullscreen modality). I was planning to use UIViews and add gesture recognizers.. but I was wondering if there is something already done I can reuse, or any tip.
I would like to have the same effect y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6372389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iOS: Adding Qt to an existing Xcode project I want to use some Qt core functionality in an existing iOS 7 Xcode project (similar to this). I do not need Slots or Signals.
Is there a way to import the Qt libraries, and use them in the existing Xcode project?
Regards.
A: Hi have you tried QT for iOS?
QT for iOS
| {
"language": "en",
"url": "https://stackoverflow.com/questions/24636022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Show selected options as the bootstrap dropdown menu in Html & JavaScript Is it possible to create a multi-select checkbox dropdown like this in Bootstrap, HTML and JavaScript.
I have tried I couldn't able to achieve it. I'm new to JavaScript as well However I'm just exploring the JS and make it to work but this se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69704667",
"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.