text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Compare date and hour together I am using Amazon Redshift . In my tables I have two columns (Date and Hour) ,along with other columns with values like
requestdate requesthour
2016-10-10 1
2016-10-10 2
... ...
Now I want to compare two dates with hours (day between 2016-10-1005 && 2016-11-1109) . ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39225296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Outer margins in pairs() function I have too much whitespace around the outside of my pairs() plot. How can one control the outer margins in a pairs() plot?
Changing oma for example does nothing (i.e. par(oma=c(0,0,0,0)) makes no difference).
A: tl;dr use oma as an argument within your pairs() call.
As usual, it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33895907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make a multi-user file server system with PHP? I'm just looking a big picture idea here; I can google specifics once provided with guidelines.
I want to make a relatively simple file hosting website such as dropbox or skydrive for mainly pedagogical reasons.
Making a multi-user login and registration system w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10038752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the correct way of waiting for detached threads to finish? Look at this sample code:
void OutputElement(int e, int delay)
{
this_thread::sleep_for(chrono::milliseconds(100 * delay));
cout << e << '\n';
}
void SleepSort(int v[], uint n)
{
for (uint i = 0 ; i < n ; ++i)
{
thread t(Outpu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26444647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: sas difference between sum and +? data whatever;
infile '';
input price cost;
<statement>;
run;
In <statement>, what's the difference between using total = sum(total,cost) and total = total + cost ?
A: You'd probably have trouble with either of those if you actually including it after the input statement.
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19254475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Install node and npm using ant build.xml Could someone help to download node and ant from a URL and install them using ant build.xml?
I tried different ways. but it requires sudo privilege. but, it may/may not be available on the server. so, I need common support with normal user privilege.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/71382106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Divs in template are pushing page out of alignment I have, with advice from members here, attempted to create divs rather than a table for article layout template. I had reasonable success - the content displayed, but not correctly and it also scrambled the page - I had the comments module, which should sit below th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19079106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call versioned graph API services in Facebook .NET SDK? It seems that Facebook now wants us to call versioned endpoints of the Graph API. E.g., https://graph.facebook.com/v2.0/me...
Does the Facebook SDK for .NET make versioned calls? Do I/can I do something to specify the version?
A: Sanjeev got it, there i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28458334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Application on spark using java langage I'm new on a spark , and I want to run an application on this framework using java language. I tried the following code :
public class Alert_Arret {
private static final SparkSession sparkSession = SparkSession.builder().master("local[*]").appName("Stateful Streaming E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61733047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating an inner stroke of semi transparency on coloured squares? I am drawing different colored squares on canvas with a fixed size of 50px x 50px.
I have successfully added a transparent inner stroke of 5px to these colored squares but it seems like massive overkill the way I am doing it.
ctx.fillStyle = this.co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15059174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Regex help: My regex pattern will match invalid Dictionary I hope you guys can help me out.
I'm using C# .Net 4.0
I want validate file structure like
const string dataFileScr = @"
Start 0
{
Next = 1
Author = rk
Date = 2011-03-10
/* Description = simple */
}
PZ 11
{
IA_return()
}
GDC 7
{
Message ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5514195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to update element at the arraylist on Android I had used arraylist to recycleview like this :
product.add(new InfoProduct(R.drawable.cloth, Product_title, "0", Product_data2, lunch));
I want to overwrite R.drawable.cloth when I click it , how can I do ?!
A: productList.get(0).setDrawableId(R.drawable.new_clot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42413237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm simply trying to create a file in python3, but the standard answers are not working Simple task with answers all over the web. I just can't get any of them to work. When I run the code below on macOS, I get the following error messages:
open error: [Errno 1] Operation not permitted: 'test_60'
Path error: [Errno ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60791991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ngInfiniteScroll handler not firing with specific CSS & div structure I've purchased an Angular template to build a web app and I'm struggling to get the scroll event handler to fire using ngInfiniteScroll v1.2.0 (NOTE: the handler does fire once if I set infinte-scoll-immediate-check to true) . I've reproduced the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32273447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Make a DIV cover entire page, but WITHOUT using CSS position I want to make a div with a background-color of red to cover my entire page, but I do not want to use CSS position: absolute. Here is my example with CSS position:
<div style="width: 100%; height: 100%; position: absolute; top: 0; left: 0;"></div>
CSS pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40597692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Error: error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found I have both VS 2012 and 2013 installed in my computer and for some projects need 2012 version. using msbulid in shell command I have the following error:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31781625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Workaround for piping to an if-statement in powershell? I wanted to pipe an object to a PowerShell if-statement, but it doesn't work:
for($i = 1; $i -le 70; $i++) {
Get-AzureRmRedisCache -Name "isi$i" -ResourceGroupName "iaas101" | if ($_.ProvisioningState -eq 'Succeeded') {
Remove-AzureRmRedisCache $_ -Forc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52561839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jest: How to test get descriptor of Object I'm trying to test object and return his descriptors using jest. In my case the object contains get function. I believe my syntax is wrong here:
get: function number() {
return this.x;
},
Any ideas how to fix it?
Here the example:
let obj = {
x: 10,
get number... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64688656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Undefined class OneSignal I use Laravel 5.2 and want to use berkayk/laravel-onesignal package, and I installed this package step by step according to Guide on github.
But when I want to use this package I get "Undefined class OneSignal", also I run this artisan command in the terminal:
php artisan config:clear
php a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41607649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Not receiving emails, but Mailgun shows 100% delivery rate I'm using a CMS to send emails when a form is submitted. Its configured to use smtp.mailgun.org:587 with the username [email protected]. I'm using Google Apps for my email, so in this case the email account I'm receiving emails at is [email protected]. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36878572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I read another program's STDOUT from a Ruby program line by line? I have a small test Ruby program called "count", which counts 1..50.
#!/usr/bin/ruby
#count
for i in 1..50 do
STDOUT.puts i
sleep 1
end
I want to call it from another program, and read the outputted numbers line by line, and output them fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24499244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to modify selectWithKeyChar()'s function in JComboBox.java? I have a combo box that contains items that start with special characters (ie. À).
Currently, when using the combo box, if you press a key (ie. "a"), it selects an item that starts with the same first letter - but it wouldn't select the one that starts... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46064995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Ruby gem mechanize throwing an error : undefined method `<=>' I am using the Ruby gem mechanize to scrape some html... When I load my page and display the necessary results, the page laods fine. After a reload, I get this error when doing "search_results = @agent.submit(search_form)":
undefined method `<=>' for {emp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4073410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I assign 2 different variable to the return values from a function that return 2 values? Sorry for the very messy title. What I have is a function that returns 2 different values:
def func(name):
return value1, value2
Now I would like to assign these 2 values to variables in one line. This is what I have tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50874493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling a URL in jQuery I would like to call a URL. Currently I am using a hidden iFrame to call this URL:
var data = {File: file,NAME: 'file.txt'};
<iframe src="requestFile?'+ $.param(data) + '" style="display: none;" ></iframe>
Now I would like to use AJAX to call the file. The file just has to be called.
I tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32156050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't build apk with the last android studio when the sdk version is changed to 4.4 I am creating a project that can run on android 4.4.
When pressing 'F4' ( open module setting ), I see that the 'Compile sdk version is on API 23: Android 6.0 (Marshmallow)
But my cellPhone is with version 4.4.2, so I move the versi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33189485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Auto It Script Debugging I have a simple script that works on my PC but not on three others. I am running the script directly from SciTE on all the machines, including my own. Anyway, is there something I can turn on to see what's happening?
Script:
While True
WinSetOnTop("[TITLE:Production Floor Display]","", 1)
Sl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68930774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Knockout foreach binding inside a binding (array within an array) i have two classes; users and readings. this relates to healthcare to each user has an array of readings:
/*
* Reading class
* containts health readings
*/
function Reading(date,weight,glucose)
{
var self = this;
self.date=ko.observable(da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9900603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How To Enter Words Into This Program? He told me to put any words into this program and I can see one transform to the other, but I have no idea where to insert the words I want. I downloaded CodeBlocks because it looked like the best C++ runner according to Google but when I click run it just says I need two string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14372026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EC2 Instance not available in ECS I have created an EC2 instance via Terraform with the following configuration:
*
*EC2 instance is using the latest Amazon ECS-Optimized Amazon Linux 2 AMI.
*Instance is sitting in a private subnet, with a route to a NAT GW. Tested internet connectivity fine.
*SG rules are conf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71253531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simfony2-Twig: Render only a single part of a template I have a homepage wich dynamically loads a bunch of "posts" (similar to facebook wall).
There is the option to follow a post, but when someone clicks on the follow button, which has a counter on following people, I need to reload all the homepage to update this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20447282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to validate the Content-MD5 header (from the actual content) in a RequestInterceptor (WCF REST Starter Kit) - REST web service I'm implementing REST web services by means of the WCF REST Starter Kit.
I get the request in a System.ServiceModel.Channels.RequestContext.
Specifically: the interceptor starts this way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3162094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In a json embedded YAML file - replace only json values using Python I have a YAML file as follows:
api: v1
hostname: abc
metadata:
name: test
annotations: {
"ip" : "1.1.1.1",
"login" : "fad-login",
"vip" : "1.1.1.1",
"interface" : "port1",
"port" : "443"
}
I am trying to read this data fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72144081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: issue with fx scene builder Hey I got this error when trying to start my fx application. I'm using icons which I believe are part of an external jar (com.gluonhq.charm.glisten.control). So I downloaded the jar and put it in referenced libraries, nothing happened. Then added it as an external annotation to the fx lib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52470435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Force couchdb to reference attachments instead of duplicate in new revision I have a problem with attachments in couchdb.
Let's say I have a document with a big attachment (100 MB). It means that each time you're modifying the document (not the attachment, just one field of the document), it will duplicate the 100 M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25859323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Copying Conditional Formatting without adding to the data set I have an inventory and ordering management Sheet where I use color coding via Sheets Conditional Formatting to make some cells quickly visible as having outstanding orders. In my particular case, I am using conditional formatting based on a neighboring ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74726035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Binary Search Tree with key and value I need to implement a Binary Search Tree class as homework but I struggle making the insert function. I have looked through Google a lot to find some solutions or possibilities on how to do it but none of them has used a key and value (mostly just value) or if they used a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44184951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Three.js wrong texture on ShaderMaterial I'm trying to use a shaderMaterial to adjust the brightness and contrast on one object (the sphere for VR video)
Here is how I implement the ShaderMaterial
var geometry = new THREE.SphereGeometry( 500, 60, 40 );
var panoTexture = new THREE.VideoTexture( video );
panoTexture.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40715234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What if any, programming fundamentals are better learned in C as opposed to C++? As a person who wanted to increase his fundamental programming skills, I chose to learn C++ instead of C. Which leads me to ask: Is there any fundamental skills that I leave in C that might not be obtained by learning C++?
Related qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/946855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Magento 2 wrong product price in cart after removal of category discount In Magento 2 I have created a custom module category discount. When active its working fine for product list, details and cart view page.
But when I remove this discount it shows the original price for list and details page which is correct but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38827988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best practice for handling state change during screen rotation I've got a very simple program with a spinner and toggleButton.
When the button is toggled on I disable the spinner, and enable when I toggle off.
I've come across an issue that means the spinner is re-enabled during screen rotation.
I understand this is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16533506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: change and initialise variables in a function I was wondering if it's possible to change and initialize variables in a function without passing arguments to the function. Here is what I want to achieve:
$foo = 'Lorem';
$array = array();
foobar($foo);
function foobar(){
if (strlen($foo)== 1)
$bar = 'Ipsum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10738878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: data exchange between boost::generic_image_library and external class I know how external class data can be transformed into generic image library class, such as the following codes show:
unsigned char *dst_pixels;
dst_pixels = new unsigned char [200*500];
for(int i=0; i<500; i++)
{
for(int j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17613570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get app version from UWP (Windows 10) app A simple question : How to get app version from C# code?
I want to send email from my UWP app and add into it app version to know which version user is using.
App version is stored on Package.appxmanifest, but i didn't want to make a xml reader to get it and i hope there is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33043838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: remove text where regex pattern has trailing backslash doublequote at end of string I have a string from which I need to remove some characters that end in backslash doublequote. There are multiple matches. I have it to where it ALMOST works, except I can't get rid of the last backslash double quote (\") in each p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32640845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SiteMinder SSO not protecting ASP.NET MVC 5 site This problem may be related to the UrlRoutingModule handling all the routing and bypassing SiteMinder. Any ideas on how may I be able to make SiteMinder's webagent handle the HTTP request before MVC's default request handler?
<system.webServer>
<!-- SM Server Conf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45221757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP gzipping JSON, saving to memcache... Node.js serving - proper headers? In PHP I am doing something like:
$gzdata = gzencode(json_encode($data), 9);
$mc->set("latest", $gzdata);
So I pull my associative array from the DB, I turn it to JSON, Gzip it and store to memcache
In my Node.js I read the memcached entry a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13485794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to change color of a container border using radio buttons using JS? I have an issue, I need to create a settings dropdown menu when you can select different themes. The themes have to change the background color and border color, I have the background color working, however I'm struggling to make the border chan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57540103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javafx treeview cell factory with gridpane I have a TreeView<GridPane> and the GridPane contains multiple Nodes like Buttons and Labels. The amount of nodes inside the GridPane varies.
I need the cell factory to get the MouseEntered event but when I use the code below then no content gets displayed.
My current code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55141657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: what's the best practice in creating a service request reference number? I'll be creating a ticketing system wherein a user can post a request and then the system is suppose to return a ticket number or reference number of the request to track its status. My question is it safe to use an auto number generated from s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12120071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Encrypt passwords on Sql Server 2008 using SHA1 I have designed a Log In System using C# where the username and password is checked in SQL server 2008 before loading the main page. I wish to encrypt the stored password on the database. Is it possible to do it using C# and SHA1 algorithm?
Following is my stored proce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26256351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Python true global variables (python 3.7.0) I know you can use the global keyword. But that's not...global. It's just a way to reference another variable outside of this function. If you have one variable that you want to reference it's no big deal I guess (although still troublesome). But what if you have lots of v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60284797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to measure data stored by 1 client in a SaaS database I have a multi tenant database for my SaaS web application. I want to set a limit of 10GB data storage per Client. How do I enforce this limit in SQL Azure. I see a lot of SaaS companies putting such limits, but how to measure how much storage 1 client has co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47206555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Php checkboxes - what's missing ? i try to update ban and remove of user.
<tr>
<td>{$user4.username}</td>
<td>{$user4.email}</td>
<td>{$user4.name} {$user4.surname}</td>
{if $user4.banned}
<td><center><input type="checkbox" name="banCheckNoBan" checked value="{$user4.id}"</center></td>
{else}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9954583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Finding the input Tensors of a Tensorflow Operation I am trying to generate some kind of textual representation for the TensorFlow Computational Graph. I know that Tensorboard can provide me with the visualization. However, I need some kind of representation (adjacency matrix or adjacency list) from where I can pars... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58527671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to deal with sharing deep-linked sites URLs? I made a site which can be browsed both as non-deep linked version for non-javascript users (somesite.com?state) and a deep-link version for javascript-enabled users (somesite.com#state). Note: both of these versions give the same content except in one version, the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4845417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Server - create timeout exception in function I have a table-valued function.
Now, I need to do a test when this function (SELECT query) returns Timeout exception.
When I'm doing the test the functions works fine for me, so I was wondering if I can force Timeout exception in order to do a test.
If it can't be d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50008425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add Multiple Databases in VB.NET Is it possible to connect multiple databases to a program?
I added a database, but it was always through the "Data Source Config Wizard". My application deals with one main database, but I need to load information from other databases and add it to the main one (the user will select... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30508455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you set up .vimrc How do you set up a .vimrc file on Ubuntu?
This is not helping: http://vim.wikia.com/wiki/Open_vimrc_file
*
*Where do you create it?
*Whats the format inside?
I know the stuff I want to put in it, just don't know how.
A: .vimrc should be in your home directory. .vimrc is there to make... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11567176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Can't install pgadmin4 repository does not have file I was use command
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
But I was got this
Err:2 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/n/a p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69185413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Unable to read .txt file which stored on local storage I am trying to read file.txt file which stored on my SD Card but am unable read it on my app. I provided
"android.permission.READ_EXTERNAL_STORAGE"
permissions on manifest. Not sure where it went wrong. Please see my code below what i tried.
//Find the direc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44692166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RoR: How to show a due day instead of due date? My application contains mobile views with Gmail style divs. Each div has a subject, name and due date.
The Due date column is a normal datetime value.
What I am looking to do is to have the first entries in the view show up as days for the last 6 days and then the rest... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40427690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: authorization error azure container services I'm new to DevOps. Any help on this error is highly appreciated.
When I try to create and deploy DevOps project on Azure I'm receiving the following error.
I'm following steps in this link.
https://learn.microsoft.com/en-us/azure/devops-project/azure-devops-project-aks
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51630354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do I need to make an entirely new site if I want to use jquery mobile? I would like to make a mobile version of my website and I came across jquery mobile. I was looking at examples online, I have only seen these websites make a copy of the website and put it on a subdomain or a in a /mobile/ directory on the server... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20401547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Datatable data binding using knockoutjs I want to render data into table using datatable knockoutjs binding.
I am using the below link and code for rendering data into table. http://datatables.net/dev/knockout/
The only change I did in above example is while rendering age data I have added input box in age col for e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27707378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Test if value of double is less than maximum value of an int Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger than the maximum value for an int.
The method below is my attempt at this problem:
public static void assignInt(double d)
{
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55347233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: randomBytes vs pseudoRandomBytes In what situations is it acceptable (from a security standpoint) to use node's crypto.pseudoRandomBytes instead of the cryptographically-strong crypto.randomBytes?
I assume pseudoRandomBytes performs better at the expense of being more predictable (incorrect), but the docs don't real... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18130254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: browser waiting for server indefinitely I have an issue with a long-running page. ASP.NET page takes about 20 minutes to get generated and served to the browser.
Server successfully completes the response (according to logs and ASP.NET web trace) and I assume sends it to the browser. However, browser never recieves ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/671393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to concatenate columns without null value in sql This question is asked many time here but i am not getting the proper output as i am expecting:
I have a table in which i need to concatenate columns but i don't want NULL value in it. I want it in sql server 2008 concate function does not work in 2008.
Example:
O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45086384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Oculus SDK: Unable to run Oculus Tiny Room using OpenGL I am getting started with Oculus SDK. As a first step, I decided to try out the "OculusRoomTiny (GL)" example from the provided samples. The project compiles all right on Visual Studio 2017. However, when I run the binary, I get the following error
OpenGL sup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46682366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: npm install bootstrap vs download source code I'm trying to use Bootstrap's build tools but I'm having trouble using them when I use npm install bootstrap. When I download the files from their site, I have no problems.
When I install Bootstrap via npm (npm install bootstrap) and then run npm install inside the boots... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50684454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to control display in UIPickerView using selected state of button hi i have used UIButton and also UIpickerview,when i select value(select team) ,the value is changed(india).but
when i hold the button(india) ,the value is changed to initial value(select team).if i release the button from pressing ,the value is c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1529339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: maven compilation fails because unavailable dependency I'm trying to run java program with maven but when i compiled using the command mvn -U compile
he shows me the following error
[root@onePK-EFT1 tutorials]# mvn -U compile
[INFO] Scanning for projects...
[INFO] ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17551405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read notification while app is in background? I'm using swift 3 and trying to read notifications in didReceiveRemoteNotification
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) {
print(userInfo)
}
It's working while app is running but not printin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53259270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Can I SignUp new User with AWS cognito with Postman without using hosted UI Basically I want the below flow in the application .
I have created one user pool in the cognito and configure it.
I want to integrate cognito authentication and authorization with below flow.
*
*Register new user with by using cognito... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66220566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Expanding UIView -Iphone I'm working on an i-phone app that when you press a button a UITableView drops down. I want to push/animate the objects that are underneath the button so that they are underneath the tableview.
For each label/textfield that needs to be moved down would I need something like:
[UIView beginA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18015289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Creating a module for raising class-specific errors In my rails projects, I often use this sort of behavior in my classes and models:
class Whatever
class WhateverError < StandardError; end
def initialize(params={})
raise WhateverError.new("Bad params: #{params}") if condition
# actual class code to fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20674714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hide content in listbox item depending on a binding property in Silverlight I have xaml that lookes like this
<ListBox>
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding Name}" />
<StackPanel Orientation="Vertical" x:Name="contentPanel" >
Con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/679575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Im trying to combine date times and string in the same column of a list I have a list of names like this:
['Albert Einstein', 'Benjamin Franklin', 'J. Edgar Hoover',....]
And a list of date-times:
[datetime.date(1642, 12, 25), datetime.date(1879, 3, 14), datetime.date(1706, 1, 17),.....]
now I'm trying to add them t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60623018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQLAlchemy Datetime Differences In SQLAlchemy, you can do a query similar to:
self.session.query(JobsRunning).filter((datetime.datetime.utcnow() - JR.start_time) > datetime.timedelta(hours=3)).all()
This fails because I'm assuming that datetime.datetime.utcnow() returns a double after being subtracted with JR.start... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30538230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I change this code to show a hidden form with a menu drop down instead of a checkbox? This code is working great, but I'd like to change it so it uses a drop-down menu choice instead of a checkbox. For example, the Dropdown menu choices for "More?" would be "yes" or "no". If "yes" is selected in the menu, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8642058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ^ and $ expressed in fundamental operations in regular expressions I've read a book where it states that all fundamental operations in regular expressions are concatatenation, or(|), closure(*) and parenthesis to override default precedence. Every other operation is just a shortcut for one or more fundamental operat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56390657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create JSONObject from ArrayList to make post request? I am trying to post data into server using JSONObject as request. And I dont know how to create JSONObject from ArrayList with following type of data.
{"AnswersList":[
{
"questionID": 1,
"question": "What is yout name?",
"questionType": "STRI"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63936352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Marshalling LPWSTR * from a C function I have a sample function from a native code
HRESULT getSampleFunctionValue(_Out_ LPWSTR * argument)
This function outputs the value in argument. I need to call it from the Managed code
[DllImport("MyDLL.dll", EntryPoint = "getSampleFunctionValue", CharSet = CharSet.Unicode)]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18118978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Assign var as a selector I have a var named as sliceText which contains a text which is collected whenever user hover over the section of a visualforce chart. I'm trying to increase the size of this text with a value which gets calculated at run time and newSize var hold the same. But using jquery following syntax i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35884127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Large react-redux form app I've been working on rewriting one of the modules in my company using react, the module is a single page composable of 4-5 different forms, selections made in each form are then determine the appeareance of the next form step.
There are a lot of "static" input fields which not affecting t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38240033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery effect continues to iterate I have a div within a parent div, that is normally hidden. When you hover over the parent div the child is then visible. I am using JQuery .toggle() to get this effect. The problem is that if you MouseIn and MouseOut really fast, repeatedly over the parent, the child div is toggled... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19944194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what port tomcat7 use? how do I set AWS Security group? I run a tomcat7 in ubuntu in aws. not use apache.
and my site use default tomcat port 8080.
I don't want to open port except 8080 so I'm setting in aws security group.
inbound
8080 TCP anywhere
and outbound allTraffic.
but I try to rest call to
http://my_aws_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31208834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting size of inner region of Java SWT shell window In a Java SWT shell window, how do I set its inner size than its whole window frame size?
For instance, if I use shell.setSize(300, 250) this would make the whole window appearing as exactly 300x250. This 300x250 includes the size of the window frame.
How can I s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6004134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Android custom Drawable vs custom View I wanted to know what's the difference between creating a custom Drawable like in the Shelves project: http://code.google.com/p/shelves/ to creating a custom View?
A: Drawble only response for the draw operations, while view response for the draw and user interface like touch ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12445045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Android Timer is firing twice I am trying to update TextView content every second using Timer Class. Given below is my code. The problem is that the value is increasing by 2 not by 1. Please tell me what the problem is.
public class MainActivity extends ActionBarActivity {
public void onButtonClick (View view) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24159850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to auto-start a WCF for only specific projects? I have a WCF project which several other projects depend on, but others, like unit testing projects and other support utilities which don't need the service. It contains the following XML in the .csproj file:
<ProjectExtensions>
<VisualStudio>
<Fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66925140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rails how to display data or retrieve values after find I did a find on some model and got the following
>> @addy
=> [#<Address id: 3, street: "Some Street", houseNumber: nil, created_at: "2010-01-20 06:09:52", updated_at: "2010-01-20 06:09:52", address_id: 16>]
Now how do I retrieve the values? what if i want the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2099479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get the current size of the heap memory of a process in Linux using C/C++ system calls? I am working on a software library, which can constantly keep track of the size of the heap memory of programs written in C/C++.
What I would like to do is as follows.
void check_memory(){
heap_size = get_process_heap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47806853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JAVA HOME PATH correctly set in Environment but wrong when compiling via Node.js I received this isue: com.sun.tools.javac.Main is not on the classpath. Oerhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre7"
However, my JAVA HOME is set as follows:
C:\Program Files\Java\jdk1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21842807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: forcing overflow-x using percentage and float I have a small structure of <li> inside a container and what i'm trying to make is to force the overflow-x appear instead of overflow-y, but i can't achieve this, i presume it is beacuse of properties float and the percentage that i'm using.
is there i way where i can re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11566896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: remove all styles based on browser version I would like to know how i can remove all css styles based on checking if the browser is less than IE8.
So if it detects IE7 then remove all styles? I wonder if this is possible via some jquery?
Will this fix most IE7 issues:
<!--[if lt IE 7]>
<script src="http://ie7-js.goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10043031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is a foreach data binding not creating a $parent context? In the following code, why is the remove handler accessible without $parent?
If I use data-bind="click: $parent.remove" I get an error saying that property remove of undefined doesn't exists, but being inside a foreach loop, shouldn't I get a $parent cont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31056430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Want to update my old html css ,js site with React , $('some').owlCarousel, throws an error Type error , owlCarousel is not a function Want to update my old HTML, CSS ,js site with React.
I make the components for HTML and integrate js also, but when I am trying to import and run owl carousel in jquery, like $('some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50856035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How count objects with element value? I need your help.
I have for example such array:
var array = [{
"name": "Tony",
"year": "2010"
}, {
"name": "Helen",
"year": "2010"
}, {
"name": "Jack",
"year": "2005"
}, {
"name": "Tony",
"year": "2008"
}, {
"name": "Max",
"year": "2005... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34352799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.