text stringlengths 181 35.5k | meta dict |
|---|---|
Q:
practical applications of eigenvalues and eigenvectors
We're making a video presentation on the topic of eigenvectors and eigenvalues. Unfortunately we have only reached the theoretical part of the discussion. Any comments on practical applications would be appreciated.
A:
The problem of ranking the outcomes of ... | {
"pile_set_name": "StackExchange"
} |
Q:
Is it appropriate for assistant professors to supervise PhD students?
As pointed out in another question, the general tendency today as compared from classical times is to make junior professors (at assistant level) more and more independent. However, I wonder that assistant professors (common in the US universit... | {
"pile_set_name": "StackExchange"
} |
Q:
xcode - Capitalise Label Output
I'm pretty new to xcode - so please bear with me!
I'm outputting information from a database to UILabels with information like Name, Region, etc (all good, so far). However - there is a column of text in the database which is all in lowercase (ie flat area to the left)...
The lowerc... | {
"pile_set_name": "StackExchange"
} |
Q:
Drop Down list Issue in IOS
I have made a drop down having a button and under it is a table view in which i show list in it. There are three drop down with this respective order, but1 with table1 , but2 with table2 and but3 with table3.when we click but1 it shows list of country in table1. when we click but2 it sh... | {
"pile_set_name": "StackExchange"
} |
Q:
Issue with multiple Switches, NullPointerException
I am running into an issue that is causing a null pointer exception.
The issue is because of the way I have my OnCheckedChanged() method structured. Currently, a different Dialog view is inflated based on a string that is passed on creation. Based on this view, ... | {
"pile_set_name": "StackExchange"
} |
Q:
Scale down a larger number from 0 - 1 - 0
I'm not math savvy - but what I want to do seems to be math heavy.
I'm looking to scale down a number which ranges from 0-800 so that it is within a range of 0-1-0 (so 1 being 400). Not sure if this is possible, but my attempts at a solution have not been fruitful. Any ind... | {
"pile_set_name": "StackExchange"
} |
Q:
how to change nested if-else to when statements using Kotlin?
I have the following block of code and want to reduce it using Kotlin. How can I do that?
if (name == nameArray[0]) {
// The statement
} else if(name == nameArray[1]) {
// The statement
} else if(name == nameArray[2]) {
// The statement
} el... | {
"pile_set_name": "StackExchange"
} |
Q:
Using threads to update UI with Swift
I'm developing a software with Xcode 6 using Swift. When I press a button, my code takes some informations from the web and writes them on my NSWindow.
So imagine something like this:
@IBAction func buttonPressed(sender: AnyObject)
{
for page in listOfPages ... | {
"pile_set_name": "StackExchange"
} |
Q:
How to set univeral timezone for entire application in winforms
How can I set Universal timezone for entire application.
So that even if the timezone is changed, the application should show time as per universal timezone.
So is it possible to set entire application timezone?
A:
Unfortunately you cannot (You cou... | {
"pile_set_name": "StackExchange"
} |
Q:
Ontological status of variables
Background
This question has its origin in this post. More specifically, in giving answers to the following questions,
In what way does the collection of all sets consist of sets?
What are collections of sets actually?
It was written here that,
The answers to 1. and 2. is that yo... | {
"pile_set_name": "StackExchange"
} |
Q:
how to command line VLC to RTSP IPCAM
I wish to use VLC to stream IPCAM(s) to UBUNTU.
I found a way doing it using VLC:
Stream Media as : rtsp://192.168.3.101:554, and I choose "8000ms" of cache, and take 1:4 zoom.
How can it be done using a command line ?
A:
As part a bash script:
cvlc -vvv --network-caching $c... | {
"pile_set_name": "StackExchange"
} |
Q:
How to get number of bytes read from QTextStream
The following code I am using to find the number of read bytes from QFile. With some files it gives the correct file size, but with some files it gives me a value that is approximatively fileCSV.size()/2. I am sending two files that have same number of characters in... | {
"pile_set_name": "StackExchange"
} |
Q:
Converting YUV to YUV420 Android onPreview
a)I was wondering what is the difference between YUV and YUV420? b)I want to use the raw frames from Camera and convert them into YUV420 in real time. What is the fastest way to do this? I used bitmap factory to convert from yuv to jpg and I used onDraw() method to draw t... | {
"pile_set_name": "StackExchange"
} |
Q:
Split string with plus sign as a delimiter
I have an issue with a string containing the plus sign (+).
I want to split that string (or if there is some other way to solve my problem)
string ColumnPlusLevel = "+-J10+-J10+-J10+-J10+-J10";
string strpluslevel = "";
strpluslevel = ColumnPlusLevel;
string[] strplusle... | {
"pile_set_name": "StackExchange"
} |
Q:
Processing xml file
I have the following xml file:
row category="1" category_name="CatA" entry_id="1" entry_name="A1"
row category="1" category_name="CatA" entry_id="2" entry_name="A2"
row category="1" category_name="CatA" entry_id="3" entry_name="A3"
row category="2" category_name="CatB" entry... | {
"pile_set_name": "StackExchange"
} |
Q:
new windows 08 server, can't download using browser
by default it seems you can't download anything using the browser on the server when terminal server'ing into the box.
I need to download the java sdk to install solr, and also need to install winrar since I can't even unzip a file I uploaded from my mapped drive... | {
"pile_set_name": "StackExchange"
} |
Q:
setting specific interval time on python
I'm currently working on a Python project. The code will refresh at a specific time and fetch new records and update the database. What I'm trying to achieve is to refresh every 15 minutes or 30 minutes. The below code is good but only fetches new records once per day at 00... | {
"pile_set_name": "StackExchange"
} |
Q:
Deserialize JSON object name-value pairs as elements of an array
I'm trying to convert following string to an object,
{
"base":"TRY",
"date":"2017-01-06",
"rates":{
"EUR":0.37679,
"USD":0.51059,
"BRL":0.88513,
"CAD":0.36651,
...
}
}
I know, if I create an obje... | {
"pile_set_name": "StackExchange"
} |
Q:
Using RequireJS with XRegExp: "XRegExp is not defined"
I am using RequireJS with order.js and I need to use xregexp-all to include in RequireJS. Here is my code sample:
require(["order!xregexp-all","order!../myscript"],function(XRegExp) {console.log(XRegExp.version)});
Here is the console log that returns me the ... | {
"pile_set_name": "StackExchange"
} |
Q:
How does this syntax compile?
I was messing around with lambdas. for those that don't know, they look like this:
[] () { };
I removed the parentheses and it still compiles.
[] {};
How is this so?
A:
Quoth the standard,
If a lambda-expression does not include a lambda-declarator, it is as if the lambda-declara... | {
"pile_set_name": "StackExchange"
} |
Q:
Como ensino um usuário a votar e aceitar minha resposta?
Eu queria mostrar a alguns usuários a evitar comentar, pois têm muitas respostas que vejo diariamente mas não recebe seu devido valor pelo \ seu esforço.
Eu já passei por isso duas vezes, fiquei 1h investigando o problema e quando coloquei a resposta ele só ... | {
"pile_set_name": "StackExchange"
} |
Q:
Sheets IF Function setup and/or formatting errors
Cell C5 on the Trip Assignment Form tab is a dropdown selection list of destinations. I am trying to make sheets automatically fill in the C6 cell with the matching address (coming from a tab called Schools). When I put the below formula in I get an error or FALS... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the Time Complexity, Space complexity and Algorithm for strstr() function in C++?
I was curious about the cost of using the default, old fashioned strstr() function in C++. What is its Time and Space complexity? Which algorithm does it use?
We have other algorithms with below Worst Case Time and Space com... | {
"pile_set_name": "StackExchange"
} |
Q:
iOS: how to serialize a non-NSCoding compliant object
I already take a look around and found the closes answer here:
Correct way to save/serialize custom objects in iOS
But this is only applicable for custom objects that is user-created. My problem is serializing "SKProduct" which is a derived class that is non-... | {
"pile_set_name": "StackExchange"
} |
Q:
iOS UIDatePicker set max date
I got an issue in trying to limit the date. With setting the date like that self.datePicker.maximumDate = [NSDate date]; it is only grey the date after now but enable the user to select a date after this maximum date.
So When the picker value changed I compare the selected date if up ... | {
"pile_set_name": "StackExchange"
} |
Q:
Error in generating page number links using Codeigniter
I am creating a pagination using Codeigniter and my problem is I have an error in displaying the page number links in my URL.
example I go to page 2 my URL would be like this:
http://localhost/my_project/inbound/listing/1
if page 3
http://localhost/my_projec... | {
"pile_set_name": "StackExchange"
} |
Q:
Creating an archive - Save results or request them every time?
I'm working on a project that allows users to enter SQL queries with parameters, that SQL query will be executed over a period of time they decide (say every 2 hours for 6 months) and then get the results back to their email address.
They'll get it in ... | {
"pile_set_name": "StackExchange"
} |
Q:
SQL Selecting from two tables
I have the following two tables...
I am trying to select all the cities belonging to a country using the country name, or using the country id but displaying only the city name and country name.
I am using the following statement but is not working, this is my first time doing SQL
SE... | {
"pile_set_name": "StackExchange"
} |
Q:
Page Cycles - Right way to input data to database
I have a page that has a few textboxes and a dropdownlist.
When a logged in user opens this page the boxes are filled with data that he has input before, he can change the data and update it by pushing a update button.
There is also that dropdownlist which has a dy... | {
"pile_set_name": "StackExchange"
} |
Q:
Контрольный знак Code 128
Возможно ли реализовать расчёт контрольного знака по стандарту для штрих-кода Code 128 (для некой последовательности цифр) при помощи библиотек Python? Вывод самого изображения штрих-кода не нужен - только контрольный знак для заданного числа.
A:
Используя 0.8b1 версию pyBarcode:
>>> im... | {
"pile_set_name": "StackExchange"
} |
Q:
Bootstrap 4 Navs Drop Down List Issue
I'm developing some Navs forms for my university projects, I used bootstrap@4.0.0-beta, This is my issue, I selected Book item, navs is working on it selected Child items and again click the Organais item after repeated Navs items details, you can check it. I attached my code... | {
"pile_set_name": "StackExchange"
} |
Q:
Terminal appears with much delay when shortcut is used
When I press Ctrl+Alt+T the Terminal opens after around 30 seconds. That's pretty annoying.
If I open it with Alt+F2 and enter gnome-terminal the window appears instantly as usual.
I'm using Ubuntu 16.04 with gnome3.
Thank you for your help in advance!
A:
Te... | {
"pile_set_name": "StackExchange"
} |
Q:
Return multiple values from a range
To return a value corresponding to another cell from a range if it matches with a cell, I found Chuff's solution helpful (in
Excel - match data from one range to another and get the value from the cell to the right of the matched data ):
=iferror(vlookup(b31,$f$3:$g$12,2,0),"")... | {
"pile_set_name": "StackExchange"
} |
Q:
Robot method how to access two different objects in the class
I'm trying to write a simple code that calculates the manhattan distance between two robots. The manhattan distance is simply |x1-x2| + |y1-y2|. I have written most of the code but am not sure how to access the x,y coordinates of the second robot that I... | {
"pile_set_name": "StackExchange"
} |
Q:
Getting a month as an integer, and taking a year from that as part of a string message
I have the below code which gets the earliest date from a selection of date in the format of yyyy-mm-dd, alongside a message. I need to use the date that's been returned to populate my message by way of a declare statement using... | {
"pile_set_name": "StackExchange"
} |
Q:
Not responding to the click of the partial view
I have a parent view and a partial view in it.
The partial view is 2 pseudo buttons - thumb up and thumb down. A paragraph with classes assigned.
It is not responding to a click on either thumb. Nor is it getting into the 2 functions that should be executed on 'ready... | {
"pile_set_name": "StackExchange"
} |
Q:
WPF two panel app - reuse or create new instance of panel VM?
I have a WPF application whose main window contains two panels. The layout is pretty standard. The left panel is a a list of objects. The right panel displays information about the object selected in the left panel.
Right now I have the left panel dire... | {
"pile_set_name": "StackExchange"
} |
Q:
Set permission for user programmatically? (sharepoint)
I am using the following code to set permission for groups when I create a site:
// Assign Site Owner role to the selected users
string siteOwnerGroup = null;
string siteOwnerRole = null;
foreach (ListItem item i... | {
"pile_set_name": "StackExchange"
} |
Q:
CKEditor ReadOnly
I got a problem since I use the CKEditor (http://ckeditor.com/). The problem is that I can't find a way to make the editor ReadOnly and I can't just use a textarea since I want to keep consistency. I've already seen lots og questions like this at StackOwerflow, but none of them work or are too ol... | {
"pile_set_name": "StackExchange"
} |
Q:
Delete a git commit pushed on a remote branch
We use git and GitFlow as versioning tools, and I'm facing a problem that I am quite sure some people have already encountered.
In a feature branch, a colleague did a commit in which a lot of useless files were inserted (all binary and IDE metadata files). This commit ... | {
"pile_set_name": "StackExchange"
} |
Q:
get pure text form odt file in console
I am looking for a small linux tool that would be able to extract text from odt file.
It just needs to be human-readable and it can have problems with complicated objects etc.
It's almost a duplicate of this question but I need it to be small and have no dependencies on Open... | {
"pile_set_name": "StackExchange"
} |
Q:
Prove that there exist $135$ consecutive positive integers so that the $n$th least is divisible by a perfect $n$th power greater than $1$
Prove that there exist 135 consecutive positive integers so that the second least is divisible by a perfect square $> 1$, the third least is divisible by a perfect... | {
"pile_set_name": "StackExchange"
} |
Q:
MySQL LEFT JOIN?
I have a table cars(id, name) containing 20 rows. The other table carLog(username, car, count) contains rows which count the cars a player has bought (if there is no row if they haven't bought the car)
I want my query to return all twenty cars, and the extra join info, if they've got a row in the ... | {
"pile_set_name": "StackExchange"
} |
Q:
Json.NET returns empty objects serializing list of Android.Gms.Maps.Model.LatLng objects
While serializing MapRoute object I got JSON data like this:
"{\"RouteName\":\"route1\",\"RouteWaypoints\":[{},{},{},{},{}] }"
RouteWayPoints list are not serialized properly.
using Android.Gms.Maps.Model;
using Newtonsoft.J... | {
"pile_set_name": "StackExchange"
} |
Q:
autocomplete textbox from the database
I need my textbox to autocomplete when the user types. The value should come from the database.
I am using the textchange property of the textbox.
protected void autocomplete(object sender, EventArgs e)
{
string query = "Select area,codes from tbl_pincode";
SqlConnect... | {
"pile_set_name": "StackExchange"
} |
Q:
Mongoengine Link to Existing Collection
I'm working with Flask/Mongoengine-MongoDB for my latest web application.
I'm familiar with Pymongo, but I'm new to object-document mappers like Mongoengine.
I have a database and collection set up already, and I basically just want to query it and return the corresponding o... | {
"pile_set_name": "StackExchange"
} |
Q:
Is "as fast" a kind of abbreviation?
From Friends(Season 02, Episode 04): Transcript
the turns aren't as fast but when Snoopy falls. . . funny.
The turn is referring the movement when skating.
Is the phrase as fast is a kind of abbreviation of as fast as he need to balance himself? Or just the word has the meani... | {
"pile_set_name": "StackExchange"
} |
Q:
Error C2660: function does not take 2 arguments C++
Okay so I'm a beginner at coding in C++ and I was making this prime number finding program when I stumbled across this error. This may not be the best and i am open to feedback. The code below is in correct order and continuous.
#include "stdafx.h"
using namespa... | {
"pile_set_name": "StackExchange"
} |
Q:
Special characters in CakePHP URL
I'm developing a web application where users have profiles, and skills related to that profile. I want to develop a page where a user can see all profiles that correspond to a particular skill. For example, if I wanted to see all users with the skill of "HTML" I could use http://s... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the reason for different performance of the same implementation using icc, gcc and clang?
I have implemented a program for a[i]=a[i-1]+c and I represent it her. I use begin_rdtsc and end_rdtsc to read and store the rdtsc to measure the speedup.
The program is as follows, I use x86intrin.h
#define MAX1 512... | {
"pile_set_name": "StackExchange"
} |
Q:
Why can we "separate" variables?
Possible Duplicate:
What am I doing when I separate the variables of a differential equation?
My school textbook has a section on differential equations. One of the tricks used is the following-
$$\frac{dx}{dy}=\frac{x}{y}\implies\frac{dx}{x}=\frac{dy}{y} $$ Integration is then d... | {
"pile_set_name": "StackExchange"
} |
Q:
UISegmentedControl iOS 13 SelectedTint Default Color
I would like to match the default SelectedTintColor from the UISegmentControl to another view but I cannot find a matching color from the default system* colors provided in Attribute Inspector.
The background seems to be .quaternarySystemFill but there is no col... | {
"pile_set_name": "StackExchange"
} |
Q:
search aspx page data to find out
how to search the file and folder seach page
A:
To list Files and Folders you can use something called DirectoryInfo
EXample
void Page_Load(object s, EventArgs e)
{
DirectoryInfo di = new DirectoryInfo("c:/inetpub/wwwroot/demos");
FileInfo[] rgFiles = di.GetFiles("*.aspx");
... | {
"pile_set_name": "StackExchange"
} |
Q:
How to plot a time series graph using seaborn or plotly?
I have a time series data as follows:
Datum Menge
1/1/2018 0:00 19.5
1/1/2018 0:15 19.0
1/1/2018 0:30 19.5
1/1/2018 0:45 19.5
1/1/2018 1:00 21.0
1/1/2018 1:15 19.5
1/1/2018 1:30 20.0
1/1/2018 1:45 23.0
and the dataframe data has a shape of... | {
"pile_set_name": "StackExchange"
} |
Q:
Mysql comparison of curtime() with a constant in utf8
I don't understand why the following comparison don't work in utf8 (mysql 5.5.27 - dotdeb).
select '00:00:00' < curtime();
Can you explain how mysql evaluates this expression because I don't see any logical reasons why this is not working :
mysql> set names 'u... | {
"pile_set_name": "StackExchange"
} |
Q:
How to dump byte array to INSERT INTO SQL script (Java + PostgreSQL)
How can I populate Postgres SQL base INSERT INTO SQL script with following Java Entity class based data collection. Issue is how can I write content of the byte array as a INSERT INTO value ('content of the byte[]') on SQL script.
That mean it c... | {
"pile_set_name": "StackExchange"
} |
Q:
Can't insert date with \maketitle (using llncs.cls)
I'm just trying to write some notes on Overleaf using the llncs template (you can play with it here), but when I put \date{06 August 2016} before \maketitle, nothing appears. Currently my notes begin with
\documentclass{llncs}
\begin{document}
\title{My Notes o... | {
"pile_set_name": "StackExchange"
} |
Q:
Reusing a phone number in two (or more) Facebook accounts - Is it allowed?
I have two Facebook accounts for some personal reasons. I have my phone number registered to one of them. I want to register my phone number to also the other one for security reason, but I'm worried for fact that Facebook does not allow mu... | {
"pile_set_name": "StackExchange"
} |
Q:
Angular 2 disable form button from ts?
Using the Angular 2 Validators, if the form is invalid, the form button is disabled from the HTML itself like so:
<button class="btn btn-info" [disabled]="!signupForm.valid">Sign Up</button>
How would I use this same effect in the appropriate TS? For instance:
youshallnotpas... | {
"pile_set_name": "StackExchange"
} |
Q:
making a method to remove the zeros from an array in java
was curious on how to write a method to remove all zeros from an array. If I have the array in the main method. for example my Main Method would look something like
public static void main(String[] args) {
int[] test = {1, 0, 4, 7, 0, 2, 10, 82, 0};
Sys... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the idiomatic way of dealing with return data from a conditionally asynchronous function?
I have a function which may or may not be called as an asynchronous go-routine.
func APICall(request *HTTPRequest) *HTTPResponse
*HTTPRequest is a pointer to a struct which contains various pieces of data required in... | {
"pile_set_name": "StackExchange"
} |
Q:
New to Vue.js need help as to why the bars wont update beyond the first command
The bars won't update with the health score after the first attempt, though if you keep clicking attack eventually the game ends. I get this error on console but don't know what to do about it to fix the issue. Any help would be apprec... | {
"pile_set_name": "StackExchange"
} |
Q:
Angularjs dom load ready
I am working on angularjs. I created a scrlipt. When I started applciation on browser, appearing like this,
and a little later coming result,
<body>
<div data-ng-controller="SimpleController">
Search By Name: <input type="text" data-ng-model="searchTerm" />
<ul>
... | {
"pile_set_name": "StackExchange"
} |
Q:
can i pass php file into geoXml parser
i am having problems while fetching data from kml file.
geoXml.parse("http://localhost/maps/phpmysqlajax_genkml.kml");
error in console is
Could not convert JavaScript argument arg 0 [nsIDOMCanvasRenderingContext2D.drawImage [Break On This Error] (92 out of range 43)
and... | {
"pile_set_name": "StackExchange"
} |
Q:
Derivatives of functions satisfying Euler-ish inequality $f(x+y)\le f(x)f(y)$.
Conjecture. Let $f:\mathbb R\to\mathbb R_{>0}$ be a continuously differentiable function such that $$f(x+y)\le f(x)\cdot f(y)$$ for all reals $x,y$. Then $$f'(x)\le c_1\cdot\exp(c_2\cdot x)$$ for some constants $c_1,c_2$; and all $x\in\... | {
"pile_set_name": "StackExchange"
} |
Q:
Relation between angular resolution and aperture?
The angular resolution of a telescope is given by $\frac{1.22\lambda}{D}$.
This should mean that the smaller the aperture D, the higher the angular resolution. But it is exactly the opposite - why?
A:
The angular resolution only tells you your ability to distingu... | {
"pile_set_name": "StackExchange"
} |
Q:
Using History API for Ajax div load
In my WP site I have post content loaded into a div with ajax on a click event.
I need it now to change the url for the current post, would prefer not using hashes.
How would I implement this using my js?
JS:
jQuery(document).ready(function() {
jQuery('#main-content').o... | {
"pile_set_name": "StackExchange"
} |
Q:
Remove extra column of icons from Angular UI-Grid TreeView
I want to remove extra column of icons for expand and collapse and merge it with my main treebase column.
Plunkr Source
In the following link you can see that on a tree view it creates extra column for expansion and collapse but i want to merge it with my ... | {
"pile_set_name": "StackExchange"
} |
Q:
Mysql replication not rewriting the database name
I'm replicating two database tables in two databases in the same MySql instant.
I have my.ini as:
[mysqld]
server-id=1
log-bin
report-host=master-is-slave-host
log-bin=D:/wamp/logs/log_bin.log
relay-log=D:/wamp/logs/relaylog.log
replicate-same-server-id=1
binlog... | {
"pile_set_name": "StackExchange"
} |
Q:
VSTS History Queries
I'm looking for a way to query the VSTS history to return me all cards that have a Discussion entry within the last 2 days and have the word "public" in it. Anyone have something for me?
It's easy enough to find the word "public", but I can't figure out how to relate that to the date of that ... | {
"pile_set_name": "StackExchange"
} |
Q:
Error while trying to connect to the database server: [1045] Access denied for user
I have a MySQL database running and I created a new user called 'ssluser' with SSL REQUIRED. I'm having trouble with this user logging in from a client to a remote server.
I verified the firewall is not an issue. iptables are not r... | {
"pile_set_name": "StackExchange"
} |
Q:
Get auto generated ID right after flush() Symfony3
I have a Project entity and when creating a new project I need to be able to upload files. For this reason I have created Files entity which saves the path and projectID. My problem is that I don't know how to retrieve it after creating it. Here is what I am tryin... | {
"pile_set_name": "StackExchange"
} |
Q:
Django include static CSS JS files - path included but not read
My project base directory is, then app and static dirs as below. I am trying to load CSS and JS. These does get rendered in the html but when I try to open the js css files directly in the browser for verification to see if the page is really addresse... | {
"pile_set_name": "StackExchange"
} |
Q:
Linker error with GLFW on OS 10.10
I'm trying to compile the following
#include <GLFW/glfw3.h>
int main()
{
glfwInit();
return 0;
}
just to verify that my GLFW installation is working. I use the terminal with
clang++ -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -I/opt/local/in... | {
"pile_set_name": "StackExchange"
} |
Q:
click Server Side Button and Select/Deselect Chechboxes using JQuery
I'm having issues trigger the server side button, i want to do something similar to this but with a server side button and checkboxes. It currently isn't working and i can't figure out why?
$(function all() {
$("<%= btnSelect.ClientID %>"... | {
"pile_set_name": "StackExchange"
} |
Q:
Using sql-server datetime2 with TADOQuery.open
I want to start using datetime2 fields in SQL Server and I need to insert into the tables via ADO from Delphi XE5. I am using TADOQuery.ExecSQL to insert and everything works fine.
However most of my tables have identity columns, e.g.
id integer identity(1,1) not nul... | {
"pile_set_name": "StackExchange"
} |
Q:
Why is my simple_fields_for not iterating
I have the following (simplified) classes:
class CandidateList < ActiveRecord::Base
has_many :candidates, inverse_of: :candidate_list, dependent: :destroy
...
end
and
class Candidate < ActiveRecord::Base
belongs_to :candidate_list, inverse_of: :candidates
...
end
... | {
"pile_set_name": "StackExchange"
} |
Q:
Template apps for iPhone
Is there a good place to get starter apps for iPhone, where you choose from any of a large set of permutations?...for instance with a nav bar and a flip screen and a 3 deep table view, with Core Data support etc. I guess what I was hoping for is some kind of wizard where you can check a f... | {
"pile_set_name": "StackExchange"
} |
Q:
Puppeteer : How to install puppeteer on ec2 server
I want to install Puppeteer on ec2 server. So Do I need to install puppeteer and chromium on each machine on which I need to scrap data.
A:
You'll only need to install puppeteer. puppeteer auto-downloads a version of Chromium that works with it - everything work... | {
"pile_set_name": "StackExchange"
} |
Q:
Why doesn't PostGIS use gist index when doing a ST_DUMP(ST_UNION)?
My query:
DROP TABLE IF EXISTS tmp;
CREATE TEMP TABLE tmp AS SELECT *, ST_BUFFER(the_geom::GEOGRAPHY, 3000)::GEOMETRY AS buffer FROM af_modis_master LIMIT 20000;
CREATE INDEX idx_tmp_the_geom ON tmp USING gist(buffer);
EXPLAIN SELECT (DUMP(ST_UNIO... | {
"pile_set_name": "StackExchange"
} |
Q:
RxSwift - Button Tap using Publish Subject
So I have a button inside my ViewController which is connected to ViewModel and than whenever the button is tapped, in my coordinator I navigate to another screen. The code is like this:
VC
btnShowShopsMap.rx.tap
.bind(to: viewModel.selectShowMap)
VM
let sele... | {
"pile_set_name": "StackExchange"
} |
Q:
How to resize c# marker images?
I am trying to make a neat little bar graph with unique markers on the columns.
I used a 20x20px png image for this purpose and set it with
chart1.Series[0].Points[chart1.Series[0].Points.Count - 1].MarkerImage = imageIWanToUse;
but the marker is huge, tried to use
chart1.Series... | {
"pile_set_name": "StackExchange"
} |
Q:
How to extract a DWORD color variable into its parameters? (decimal type)
I have the example :
unsigned int dwColor = 0xAABBCCFF; //Light blue color
And its parameters from left to right are : "alpha, red, green, blue"; each parameter requires two hexadecimal values.
The maximum value of each parameter is 255; lo... | {
"pile_set_name": "StackExchange"
} |
Q:
How can I increase the number of volume levels?
Is it possible to increase the number of steps in the volume control? I'd like a finer grained control over the volume level. I have a Galaxy Nexus.
Note: I don't want to boost the volume just change the number of levels so I can find a sweet spot when listening to m... | {
"pile_set_name": "StackExchange"
} |
Q:
Are load ops deallocated from the RS when they dispatch, complete or some other time?
On modern Intel1 x86, are load uops freed from the RS (Reservation Station) at the point they dispatch2, or when they complete3, or somewhere in-between4?
1 I am also interested in AMD Zen and sequels, so feel free to include th... | {
"pile_set_name": "StackExchange"
} |
Q:
What's the female equivalent of "suitor"?
I'm looking for a word which could satisfy the usage of "suitor", except it would be used to indicate female "suitors":
E.g.:
She had a host of suitors eagerly awaiting her favour...
Now, I want a word that could fit in this sentence, except it would be about females:
H... | {
"pile_set_name": "StackExchange"
} |
Q:
How to solve TypeScript typing issue with component composition
React promotes composition over inheritance, but I
I have a React component in TypeScript that should host certain kinds of React components. For example, let's say I have a MenuBar component, and it takes an array of various MenuBarItem components i... | {
"pile_set_name": "StackExchange"
} |
Q:
Previewing the ruby elements in html.erb with Aptana
I'm making my first rails app with Aptana studios and I'm trying to preview some of the basic partials I'm making to add to the other views. The problem I have is when I run them using Firefox/IE the ruby elements of the file get printed to screen as is and are ... | {
"pile_set_name": "StackExchange"
} |
Q:
using TabControl in windows phone
I read the article about using a TabControl on Windows Phone application. I can avoid it to fire when it is first load. However, the selectionChanged fired twice when user click the tab. Would someone can help me how to fix it. Thanks in advance.
There is my TabControl:
<cc:TabCon... | {
"pile_set_name": "StackExchange"
} |
Q:
How to get all console error messages in Angular application
I'm working on a angular application, the problem is when I want to debug it on some smart TVs there is no debug mode and in the background I have some errors that cause application to crash, so, is there any way to get all error messages and print it in... | {
"pile_set_name": "StackExchange"
} |
Q:
Search key in array and return value from query result
I have run my query with CI Active Record, and these is the result:
Array (
[0] => Array ( [id_kelurahan] => 6 [id_indikator] => 8 [nilai] => 20 )
[1] => Array ( [id_kelurahan] => 6 [id_indikator] => 9 [nilai] => 20 )
)
From that results, i want to se... | {
"pile_set_name": "StackExchange"
} |
Q:
¿Porque al correr mi codigo no ejecuta ningun cambio en pantalla?
codeblocks edicion
Buenas mi problema continua con el compilador del codeblocks o la forma en la que
compila, en varios cursos de youtube he visto que no tienen este problema y ninguno
me a podido dar razon. Lo que pasa es que al momento de correr... | {
"pile_set_name": "StackExchange"
} |
Q:
Hadoop - Multiple input and join between these input files
I want to use Hadoop on multiple files (actually 2 files) as a input files.
For example:
File input 1:
user1 italy
user2 spain
user3 italy
...
File input 2:
user1 trackname1
user2 trackname2
user3 trackname1
...
I need the number of users per country, th... | {
"pile_set_name": "StackExchange"
} |
Q:
R trailing cumsum per group
I need to compute the running cumsum per group in R but the window over which to cumsum must only be the last 3 observations:
If for example I have a table with a person's name, a date and a score as follow:
Name Date Score
1 John 2017-01-01 4
2 John 2017-01-02 5
3 J... | {
"pile_set_name": "StackExchange"
} |
Q:
dart:ui:1: Error: Not found: dart:ui. flutter/dart:
When I start a debugging session (pressing F5) I receive the following messages:
dart:ui:1: Error: Not found: dart:ui.
Exited (sigterm)
There is no indication as to where the problem occurred. Output from flutter doctor -v is:
[√] Flutter (Channel beta, v0.8.2, ... | {
"pile_set_name": "StackExchange"
} |
Q:
C# WPF button click
I wounder if there is a way to check if a key is clicked?
What I want to achieve is creating something like text editor, I have finished most of the parts. Now when I press on a button, I have a function under element PreviewKeyUp and the other PreviewKeyDown ... Is there something like Preview... | {
"pile_set_name": "StackExchange"
} |
Q:
Slow Performance within While Loop when Updating MYSQL Table
The following code runs incredibly slowly when performing a WHILE LOOP using data from table product and updating another table stock_figures within the same database.
The code loops through each row in product taking the value from product_id and whole... | {
"pile_set_name": "StackExchange"
} |
Q:
Pull-ups question: look up at the bar or look straight ahead?
When doing pull-ups (not chin-ups), I find it harder to get up when I look up and my chest is sticking out and back is titled. On the other hand, these harder pull-ups feel more intense and satisfying, for the few reps that I can do. I feel pumped up ... | {
"pile_set_name": "StackExchange"
} |
Q:
Jackson JsonSchemaGenerator - How to get Schema as String
I'm sure I'm just being dense here.
I want to take an object schema, and turn it into a string representation.
Like so, but this returns null:
JsonSchemaGenerator generator = new JsonSchemaGenerator(MAPPER);
JsonSchema jsonSchema = generator.generateSchem... | {
"pile_set_name": "StackExchange"
} |
Q:
Кортежи. Python
Зачем нужны кортежи в питоне? Защита от дурака? Я, конечно, понимаю, что люди есть разные, могут творить всякую хрень. Но, если я создаю некоторый объект и подразумеваю, что менять его не собираюсь, значит я не буду его менять. Смысл для блокировки вводить новый объект?
A:
Кортежи - это неизменяе... | {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.