text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Foreach loop vs if/elseif in nested hashtable using Powershell My goal is to create a PowerShell script that monitors host hardware health and alerts (via exit codes) if a component status is not "GREEN". The following information is pulled from the software API as a hashtable by default.
For readability purposes, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51155364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angularjs $routeProvider service not working with view I am trying to create a simple angularjs application to implement $routeProvider service.
In my index.html page I provided a div with ngView directive as <div ng-view></div> which would display contents of login.html page in /pages directory.
I followed tutorial... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35634220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to fix "image not being saved into my database(i.e image model field)"? I am building a Portfolio web app with Django.
I am unable to save an image into my database in my web app.
Also, to replace an existing image in the database does not work.
Note: I don't get any error message from Django. The web app will t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54461240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automated Tests Don't show up in Session FrontEnd. Unreal Engine Sorry for bothering you guys but i have been having problems in trying to make some tests to show up in the automated test framework. I wrote two basic tests (c++) just to see what would happen in a plugin but i can't see them, when i open the session ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58466806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: no python keywords in autocomplete suggestions using QScintilla and PyQt I was expecting autocomplete suggestions of Python keywords (i.e. for, range, lambda) and hoping for autocomplete suggestions with standard library modules and functions (i.e. sys, os.path, etc.) when setting up an api with the QsciLexerPython ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46697404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mixing Angular.js and Bootstrap 3 - where are the incompatibilites? This is a conceptual question. I am considering adding AngularJS to my next project, for which I've already elected using Twitter Bootstrap 3 for UI controls. I see some possible friction in other stackoverflow questions, between the two frameworks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19350661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: I GET array from API but when i try show it in the table it show me empty array (noob ReactJs) I created a Be api I that exist a Get request to get all the tasks from this API ,
{
"tasks": [
{
"_id": "5f0b19c11f072e0984459ff5",
"title": "some Edited random stuff ",
"description": "some E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62923926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ExtJS: try to be "pure" or mix with HTML? When creating a new application using ExtJS, is it preferable to use as little HTML as possible, i.e. just the minimal boilerplate HTML file that loads CSS and Javascript files, and do most of the stuff in JavaScript, using ExtJS' layouts, controls etc.; or is it preferable ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2243757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Python: Why does right shift >> round down and where should it be used? I've never used the >> and << operators, not because I've never needed them, but because I don't know if I could have used them, or where I should have.
100 >> 3 outputs 12 instead of 12.5. Why is this. Perhaps learning where to best use right s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2314181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: CSS : Drop down navigation menu visited In the following code, when I'm hovering dropdown #1 item #1 the hover effect of dropdown #1 item #1 goes off, where I need to make it stay until I'm out of that menu item and sub items of it.
http://jsfiddle.net/kLDrG/
HTML Page
<!DOCTYPE html>
<html>
<head>
<link rel="style... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24807455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to prevent file loaded in memory entirely while checking its size using CommonsMultipartFile ? (java, spring) I have a form object that is being filled correctly automagically by Spring. Within this form object I have a field:
CommonsMultipartFile file;
The user can upload a file and the form object contains th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5029259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to let default values come from the database? Why does the user object still have Nothing for createdAt and updatedAt? Why are those fields not getting assigned by the database?
share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
User
email String
createdAt UTCTime Maybe default=CURRENT_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35231697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Displaying another table field in GridView based on ID of record in another table I currently have an SQL Table called Attendance and another table called Student. The attendance Table has the fields: AttendanceID, Date, Present, StudentID and Module ID. My student table has the fields StudentID and Name. One page i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5816566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP: Count and sum associative array I have the following array which contains 10k records or so
Array
(
[0] => Array
(
[0] => 111
[1] => 14/02/2020
[2] => 36
)
[6] => Array
(
[0] => 222
[1] => 29/12/2019
[2] => ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61303650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: encoding vertex positions into textures, positions dont match and index is always zero I am trying to make a tool to encode vertex positions into a texture. The tool takes a sequence of Wavefront obj files and exports 2 textures. I am, for the most part, following this guide. I am using C# and Veldrid for my program... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69340483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to emulate GL_TEXTURE_EXTERNAL_OES texture? I have a OpenGL ES 2.0 QNX application that uses camera input, makes some processing and renders something to screen.
All my shaders take GL_TEXTURE_EXTERNAL_OES texture from the camera as input and it's format is YUV422.
I want to test my application on the target pla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51500335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to fix an app that is modifying or disabling SELinux on the device to resubmit to Google Play yesterday I wanted to submit my app and after like a minute I got the following message from Google:
Hello Google Play Developer,
I reviewed your app, com.., and had to
reject it because it violates the malicious beh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35770792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JSHint error: myApp is not defined (W117) Why i have this error with jshint ..? :
JSHint: 'myApp' is not defined. (W117)
My app.js:
myApp = angular.module('autoApp', ['ngRoute', 'uiGmapgoogle-maps', 'ngTable', 'ngAnimate', 'ngTouch'])
.config(function ($routeProvider) {
$routeProvider
.whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29096355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How To Format Timestamp I have col1 in myTable which is varchar, and I have to insert here timestamp eg:- 09-MAY-11 10.23.12.0000 AM.
Now please tell me:
*
*How to insert into myTable with taking sysdate in above format...
*How to retrieve data from col1 in tha same timestamp format..
A: INSERT:
insert into my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5960401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: React-Table :Custom-pagination design I create custom pagination in my react-table, I add the page number which you can see in below description now I want to add the forward-slash after each page number I tried something but its look like very different from my needs..so give the appropriate way to do that
thank... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57709021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to create an application of AudioRecorder test in which audio is recorded by the system as well as from the environment How to create an application of AudioRecorder test in which audio is recorded by the system as well as from the environment I mean system automatically record his voice as well as the user voic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74875254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows 7 reinstallation and Visual Studio Express 2010/Community 2013 registration key I have to reinstall my Windows 7. Do I have to obtain a new registration key for my Visual Studio Express 2010/Community 2013 or I can use my old key from previous installation?
Best Regards,
Jacek
A: I do know that express is a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28078079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript load theme on page change Hello everyone I have written a script to change a site theme trough JS and global vars, as follows:
var theme = "dark";
var themeProperties = ['--bodybgcolor', '--breadcrumbbg', '--navbarbg', '--txtcolor', '--linkcolor', '--linkvisited', '--linkhovercolor', '--navlinkcolor', '--... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75177943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in datatable select statement in c# I have a SELECT statement I'm running on a data table. The problem is that it gives me the error "the expression contains an invalid string constant". I know it has to do with the single quote at the end of my query but i cannot think of why its not working. Here is the code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6665469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JTextArea & JPanel different classes one window...is it possible? So i have two classes:
public class TimeServer extends JPanel implements TimeVariables
{
public TimeServer()
{
JTextArea serverLog = new JTextArea();
// Create a scroll pane to hold text area
JScrollPane scrollPane = new JScrollPane(ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21370687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting issue with fetching details in mysql Here is my table having tax details:
Image of records in table
I would like to fetch details of a tax record when I have an integer (say, 2500) between the start_range_cost and end_range_cost.
My current SQL using 3000 as an example:
SELECT * FROM `hotel_tax_details`
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50209360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS not loading in WKWebView I am trying to create a simple WebView app using UITabBarViewController. The CSS does not load when I use Tab Bar. If I use a simple View Controller, the CSS loads. There are no other changes to the code.
let request: NSMutableURLRequest = NSMutableURLRequest(url: myUrl)
if (webView... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55097448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Difference between string and string? in c# In c#, the string type is inherently nullable, right? This morning I was working with the Environment.GetEnvironmentVariable() method, and noticed it returns type string?. Is the ? added to the return type redundant, and just there to indicate that it returns null when the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70290104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NSItemProvider with type identifier "com.apple.pkpass" I am building a share extension for iOS and would like to accept Passbook passes. I have the share extension working in that:
NSItemProvider *itemProvider = inputItem.attachments.firstObject;
[itemProvider hasItemConformingToTypeIdentifier:@"com.apple.pkpass"];
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30447936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do i solve this problem java.lang.NoClassDefFoundError: sun/security/ssl/HandshakeStateManager? I'm currently working on a webservice using Netbeans 11.3 on a local Glassfish-server version 5.1.0
JDK/JRE version 1.8.0_221
When trying to post by using the webservice i receive the following error msg:
java.lang.No... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65669116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is this pointer incrementing by 0x10 not 0x04? In the code below, when writing to the memory why does this line of code:
temp = ((int*) mem_allocate + i);
not increment the memory locations in consecutive 4 bytes? The memory locations resulted due to this are:
0x20000818
0x20000828
0x20000848
...
and so on.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51443140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Remove NaN from 2D numpy array For example, if I have the 2D array as follows.
[[1,2,3,NAN],
[4,5,NAN,NAN],
[6,NAN,NAN,NAN]
]
The desired result is
[[1,2,3],
[4,5],
[6]
]
How should I transform?
I find using
x = x[~numpy.isnan(x)] can only generate [1,2,3,4,5,6], which has been squeezed into one dimensional ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51316245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Floating box css I have a Joomla site with K2 component. And I have a bad look "issue". Please see the image:
Css box foating problem
Here is a part from the css file what I think that it applies to here:
/* --- Item groups --- */
div.itemList {}
div#itemListLeading {}
div#itemListPrimary {}
div#itemListSecondary {}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15040449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I deconcatenate or unconcatenate a string value in a pandas dataframe? im new to python and want to understand how to work with dataframes
I have a dataframe-
desc13month
Out[45]:
OutputValues CntOutputValues
0 12-99-Annual (AE) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64246761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JTS + reading geodata: Number of points must be 0 or >3 I'm trying to read some geodate from file. I'm using the geotools package in java.
I have the geodata available as kml, gml and.shp, those are pretty big files.
Those come from an external bron and are formatted correctly.
When I want to read tools, GeoTools us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27605270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate does not find the hibernate.cfg.xml I made a java project with gradle, so simple, it is a task manager, i have a Person class and a Task class, i want to use hibernate but, hibernate doesn't load the hibernate.cfg.xml, i tried many solutions, but anything has worked.
I have a HibernateUtil.java writen like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26062057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating a Simple 1D CNN in PyTorch with Multiple Channels The dimensionality of the PyTorch inputs are not what the model expects, and I am not sure why.
To my understanding...
in_channels is first the number of 1D inputs we would like to pass to the model, and is the previous out_channel for all subsequent layers.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55720464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Regarding a clean React-Native elements app, getting: 'loose' mode configuration must be the same for Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: /Users/neil/rne/src/index.tsx: 'loose' mode configuration must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-propo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73178551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Limitations of parallelizing heterogeneous tasks I was reading Java Concurrency in Practice and a paragraph came across which said something like this:-
Under 6.3.4 Limitations of parallelizing heterogeneous tasks
A further problem with dividing heterogeneous tasks among multiple workers
is that the tasks may have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33143229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Node js url being requested multiple times I am new to Node js. I am trying to import a save a large CSV file into mongoDB using node js. My method name is 'saveCSVintoDB'. I am using csvtojson converter in this method to parse the file. As the file has more than 1 million records, the converter takes around 2 mins ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28273052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use assemby reference like an Project reference in Visual Studio? I have a C# project with some referenced dll's. To inspect the whole Project it would be nice to replace the referenced dll's against the existing project references temporarily.
The benefits were "the search in the whole solution" and "Go to Definiti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13508605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When building the library matio, the configure script throws the error "C compiler cannot create executables" For building the library matio, I first need to execute a configure script and afterwards run make. The configure script however throws the following error:
configure: error: in `/home/user/matio-master'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53801845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to reply to specific comment using django recursive relationship and react js Model is
class Comment(models.Model):
profile = models.ForeignKey(Profile,on_delete=models.CASCADE)
account = models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE)
content = models.TextField(max_length=160)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60545488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PIP permission denied on Mac OSX even with --user I've recently come to know the terrors of using pip with sudo to install packages. Instead, it is recommended using the --user flag. The problem is that even with the user flag I can't install ANYTHING with PIP, accusing of permission denied. Anyone ever had this pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42652461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Render an user interface in memory let's say I have hwnd handle and would like to add some GUI controls in memory. I also receive all user input via events.
So, is it possible to use wxwidgets to add a user interface to an image which will be drawn onto the a Window ( using such hwnd handle ). If so, does wxwidget ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11623038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to automatically install self signed certificate in IE Trusted Root Certification Authorities store I created a self signed certificate but the browser tells me "This CA Root Certificate is not trusted. To enable trust, install this certificate in the Trusted Root Certification Authorities store".
I did by going... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5252800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Synchronization in Java - Vector vs ArrayList I am attempting to understand the difference between the Vector and ArrayList classes in terms of thread-safety. Vector is supposedly internally synchronized. Is it synchronized by each element, or as a whole? (I could imagine the case where multiple threads could access... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22540075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error Failed to execute aapt, when compiling project in React-Native I have this error since Monday, no modifications have been made since last week. And on Monday I started giving problems.
*
*Glade: 2.14.1
*React-Native: 0.49.3
*compileSdkVersion 25
*targetSdkVersion 22
A: This has nothing to do with Rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50647948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TYPO3 Hook for preview for multiple languages I have a TYPO3 installation with multiple languages.
Now I want to create a function that if i.e. a french editor, with french settings, goes to the View (or preview of a page) that he gets the french version and not the default language.
My first idea was to use the Pag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55529523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make ROC Curves with survey objects I'm trying to build a ROC curve with data from a survey object from surveyr. But the pROC function cannot coerce a survey object back to a data frame for the analyses and it doen't work with the survey object
if (!require("pacman")) install.packages("pacman")
pacman::p_loa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70710042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Plotting a Lognormal Distribution I am trying to plot a lognormal distribution so I can compare it with a histogram of my sample data using the code below but my plot does not look right. Is there something with my code that I am not doing correctly?
The C array has a length of 17576
import matplotlib.pyplot as pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11957798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linux echo byte array to serial port I would like to echo an array of bytes from the linux terminal to serial port. Have already seen this Sending bytes to serial port from UNIX command line? and from that deduced the command will be something like the following:
printf '%b' '\x9c8684a4624000a0b2668a84400003f0030100... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32529106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to deal with ASP.NET Core 2.0 Chunked Web Api Call with EF Core I've got an Angular 6 application that makes calls to Web API controllers that use EF Core. By default, EF Core will not load foreign entities (lazy loading maybe?), so following suggestions, I used the following code to include such entities:
var m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51253152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Application to FTP files from windows server I have an ASP.NET MVC website which clients post files to as part of an order process. These files can be up to 200MB. I have a need to transfer these files to another server via FTP. I don't really want to burden IIS with this. So was thinking of writing c# app to handle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15145384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook Graph API, Development of Facebook page post targeting( make visible only specified country/city ) So I have developed APP with FB Graph API. This app writes posts on specified Facebook page. I decided that I need attach target of country and city to posts. So I have written code like this:
if( count( $Data... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18684614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular Forms: "No value accessor for ..." Using the AngularDart Material package. Could really use some help on this error:
"No value accessor for (username) or you may be missing formDirectives in your directives list."
Minimal setup (formDirectives is specified in directives list):
login.html
<form (ngSubmit)="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51297778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: My website Google page rank is always showing zero even after doing SEO Please guide me to get my site in Google ranking as after doing some SEO still Google page rank is zero.
A: SEO is a wide field and PageRank one of possibly thousands of signals in Googles ranking algorithms: PageRank works by counting the numb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20656606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python Regex to Check Long List of Strings Match a Pattern I would like to test a string:
BASE[A-Z] + SINGLE CHAR {F,G,H,J,K,M,N,Q,U,V,X,Z} + SINGLE NUMERIC [0-9]
The 'BASE' is at least one character long.
eg. 'ESZ6' -> True, 'ESSP6' -> False
I appreciate I can do:
import re
prog = re.compile('[A-Z]+[FGHJKMNQUVXZ]{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34817015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create an excel output file from Biztalk as resulting of a query from SQL I have a query in SQL Server that returns me 5 columns with some data.
I want to create a BizTalk application that saves me the result of my query in an Excel file.
I will create a SP for polling, using wcf adapter to do the communication betw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13051071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: VBA Not detecting Spaces Present in Text for Determining Hierarchy I am VBA writing code to clean up data that has its hierarchy indicated by the number of spaces at the beginning of item name within a column but they are all in the same column (see Below).
Project B
Implementation
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72688663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AES encryption under contiki on CC2650 I am currently trying to add AES encryption to an existing beacon-demo that uses the TI cc2650 sensortag. I am using the AES API provided by contiki under core/lib.
My main looks like this:
static const uint8_t AES_key[16] = { 0xC0 , 0xC1 , 0xC2 , 0xC3 ,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46173613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: rectilinear polygon intersection I am looking for / trying to develop an optimal algorithm for rectilinear polygon intersection with rectangles. The polygons I am testing do not have holes.
Answers like those given here and here are for very general polygons, and the solutions are understandably quite complex.
Hopi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6083264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Change display property and id attribute I have 2 sections:
<section class="notes animate" id="need" style="background:#fff; height:900px; padding-top:70px;">
<!--stuff --->
</section>
<section class="focus" id="need" style="display:none;">
<!--stuff --->
</section>
I want to display the second section when wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41220485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Clicking register causes android app to crash Clicking on register makes the app crash when the email and password fields are empty, but when the name field is empty it works properly what seems to be the problem?
xml file:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52143542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex pattern to match & extract variables from math/algebraic expression I’m trying to write a regex/method that extracts Variables from an input String that represents “math/algebraic expression” and a special pattern that looks like this “PROPERTY(AnyOtherAplhaNumeric)” which can also be a variable.
My definitio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11252091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use Case on join SQL query i have a query to select with case
select
so.name,
rp.name,
CASE WHEN sp.delivery_type = 'direct' THEN true ELSE false END as is_direct,
CASE WHEN sp.origin ilike 'Return%' THEN true ELSE false END as is_from_return_doc,
jsonb_agg(
json_build_object(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65004511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Animating items in a ListView inside a stream builder I was working on a flutter project which involved searching items from a SQL database and then displaying them inside a StreamBuilder. I wanted to add an animation when new items are added by using a package called "flutter_staggered_animations" but since every t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65269822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: JavaScript jQuery find value SyntaxError: missing : after property id I am getting the error Error: SyntaxError: missing : after property id on this line below, and I cannot work out why.
I have a form with an ID of dform, I have a radio button with a name of del_standard_use_b_as_s and i'd like to get the value of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13193370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android crashes on start My app was working fine, until it crashed once and can't run again only on android. IOS is working fine.
build doesn't catch any error, but when I start it on android studio I get these error log.
enter image description here
E/unknown:ReactNative: ReactInstanceManager.createReactContext: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69825411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I get empty months while grouping records by last 12 month in EF Core 5 I have code snippet below for grouping records for last 12 months and it works properly but I just noticed that empty months is not included. Where did I go wrong?
Thanks in advance
public IQueryable<DashboardGrouping> DashboardStats()
{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70589893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UNION with different data types in db2 server I have built a query which contains UNION ALL, but the two parts of it
have not the same data type. I mean, i have to display one column but the
format of the two columns, from where i get the data have differences.
So, if i get an example :
select a,b
from c
union all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1472196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I retrieve links inside from a page and show on Rails page? I have been given ASP and HTML files which contain HTML and some JavaScript code. I have to write a Rails application which will retrieve links from those pages and show them in Rails views.
I am stuck. Will Nokogiri help?
A: Yes, it will.
# open ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43223528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: KnockoutJS: Determining when changes to "ko.observableCollection" have finished rendering/updating the view I have an example in which I render a list of items using KnockoutJS.
Every time a new item is added or removed to the ko.observableCollection a function is automatically triggered to reset all the item positi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20808589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Speeding up the code using numpy I'm new to python, and I have this code for calculating the potential inside a 1x1 box using fourier series, but a part of it is going way too slow (marked in the code below).
If someone could help me with this, I suspect I could've done something with the numpy library, but I'm not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26488550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cmake: boost dependencies and visual studio (or any platform with automatic link features) What is the recommended way to setup cmake boost dependencies with code that aims to be compiled with visual studio (or any other platform that features by default automatic linking on boost)?
The problems comes at the link pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26817921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: handle screen rotation with 3 fragments, every one with 3 different layouts I stuck in a little bit problem. I have situation like this:
Login activity with one layout.
Three Fragment every one with three different layouts, (Phone portrait, landscape, Tablet landscape)
For better image, Fragments function is: login,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38032760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AutoMapper and Windows Phone 7 Basics:
*
*Visual Studio 2010
*WP7 SDK 7.1 RC
*AutoMapper added to project via NuGet
*Ask for more!
Problem:
I'm getting the following error at runtime:
Could not load type 'AutoMapper.Mapper' from assembly 'AutoMapper, Version=1.1.0.188, Culture=neutral, PublicKeyToken=BE96C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7253995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: error when accessing worklight server deployed on tomcat I deploy the war file and adapter file to the tomcat,everything is fine,but when I try access the worklight server,the request is
[http://10.30.3.11:8080/nantian/apps/services/api/attendance/android/query]
and the logcat appear this error
[http://10.30.3.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15893587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Store Boost Factor of Field in Index in lucene I am using lucene to search in the address book like product. I want to boost the search results according to some specific criteria. (e.g. Match in location field should have greater relevance than match in name of entity.) This is fixed criteria for my case.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7304261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sql query for joining three tables I have three tables
Users
ID || login || name || crypted_password || salt
2 || teacher1|| teacher1 || #@@EDGCH || SDWH@##
Role(main)
id||name
3 ||teacher
Role_users
id || role_id || user_id
2 || 3 || 2
now from these three tables i want to fetch crypted... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21398891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rewrite Rule Not Redirecting To The Specified File Recently I started working with .htaccess file to redirect API call to a specific file. However, even though my .htaccess file is working (tested it with just text on top of the file and I get "Internal Server Error") my rule is not working. Instead, Index.php is al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65899394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to provide collection name in nodejs/mongoose/ for $out I have a field called pin_count which has a count of another field called pins but due to broken logic the count of both fields mismatched, so I am writing migration script using migrate-mongo and below is what I did. But not sure why it's not working.
I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43733952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot get meteor.js to return mongo collection So I am trying to return a mongoDB database value to a template in my Meteor.js project. The code that I am using is below.
Template.ResourceManager.helpers({
BoosterOneFuel : function(){
return resources.findOne({system : "booster1"}).fuel;
}
});
However, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30090423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Spring MVC Frame work , How to iterate a list and create pins in bingmap? I'm using API version 8 and while running this code , I can able to get
only one pin which has data in first object in the list.
Here List has objects from object we have Latitude , Longitude , Title and Description.
Iteration is done s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37813229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenGL Red Book 8th - First Example gives black box (Ubuntu) After getting the first example program compiled from the 8th edition OpenGL Programming Guide after many alterations suggested by many sites, I am the proud owner of a black box - a vast improvement from the hours before, but it's embarrassing to admit th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17588737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to convert a WebView into an ImageView? i have a WebView of an html page which shows only one image
http://www.google.fr/intl/en_com/images/srpr/logo1w.png
webView = (WebView) findViewById(R.id.webView);
webView.loadUrl("http://www.google.fr/intl/en_com/images/srpr/logo1w.png");
is there a simple way to turn it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6747701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drawing rectangle underneath PIXI.Text In a word game I am trying to draw score as white numbers above a blue (or red) rectangle:
For example, in the above screenshot it is the number "13".
Here is my entire class Score.js (with currently hardcoded WIDTH and HEIGHT):
"use strict";
function Score(color) {
P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39055897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Entity Framework SetInitializer and Seed Data Having difficulty figuring out why my database will not seed:
Here is what I have in my Global.asax code:
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
WebApiConfig.Register(GlobalConfiguration.Configuration);
Filt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27363174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JsDoc group multiple @typedef into one configuration file I have a project where I have to define multiple jsDoc's @typedef for describing multiple custom object types required by functions in the project.
I'm wondering if I could group all these @typedef together into a single module/configuration file and referenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46158068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to run multiple methods parallely and get outputs from each of them in java I want to run three different methods in parallel to improve the performance in Java. Also I need to get the outputs from all the three of them. Below is the sample which I have tried. here, I'm not sure how to retrieve the returned stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63433545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do i add fabricjs-canvas objects in json format to a indexed array in php? I'm trying to make a database system to handle the saved fabricjs canvases. For every thing to work i need the canvas objects
json=canvas.toDatalessJSON; // in javascript
...to be saved in php as .json file in a indexed array system that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39335362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Removing tuples that have the same pair of values from a list I want to remove all the tuples that have the same pair of values, e.g. [(1,1), (2,3), (2,2), (3,4)] I want [(2, 3), (3, 4)]. I am working in Haskell. This is what I tried:
unique [] = []
unique (x:xs) = if (fst x) == (snd x) then unique (xs) else x:[]
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54391239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: not a valid identifier - bash script error while execution I'm getting following error while I try to capture process ids in my shell script.....
$bash ./restartjbossserver.sh
./restartjbossserver.sh: line 10: `i=$(ps -ef | grep "jboss" | grep -v "grep" | awk '{print $2}')': not a valid identifier
And this is my sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34065120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two function in a event on React-Native How to put two function in a event like onValueChange?
I tried with
onValueChange={(selected) => this.setState({selected}),this.state.eventOnChange}>
A: What about:
onValueChange={(selected) => {
this.setState({selected});
this.state.eventOnChange();
}}
A: Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36161344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why shell for expression cannot parse xargs parameter correctly I have a black list to save tag id list, e.g. 1-3,7-9, actually it represents 1,2,3,7,8,9. And could expand it by below shell
for i in {1..3,7..9}; do for j in {$i}; do echo -n "$j,"; done; done
1,2,3,7,8,9
but first I should convert - to ..
echo -n "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41294406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exclude .csproj from VisualStudio 2012 .sln when using Mono Compiler I want to build my VisualStudio 2012 solution (.sln) with Mono, but it cannot compile projects that rely on VisualStudio-specific assemblies. E.g.
xbuild ServerResource.sln
...
HypervResourceControllerTest.cs(18,17): error CS0234: The type or name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18144563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What is -c and nrow doing in this function? What is the purpose of -c and nrow in this function?
bdf <- by(bdf, bdf$Serial_number, function(SN, k) {
SN[-c(1:k, (nrow(SN)-k+1):nrow(SN)),]
}, k = 10)
by() splits the data frame bdf by the second argument Serial_number and appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45306125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a dijit/Dialog for a specific HTML Div and use Div's elements as its content? Learning from http://dojotoolkit.org/reference-guide/1.9/dijit/Dialog.html, I know how to create dijit/Dialog widget programmatically and dynamically. But now I need to update the implementation of a form within our applicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19760766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a Rails gem for management of a "multi-visit pass" scenario? I'm a Rails noob. I'm looking to implement an application where users can purchase a multi-visit pass, then spend the credits week-by-week.
For example, register and login, then purchase 10 visits at a gym - the system should list 10 remaining vis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28939773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Evaluate Matlab symbolic function I have a problem with symbolic functions. I am creating function of my own whose first argument is a string. Then I am converting that string to symbolic function:
f = syms(func)
Lets say my string is sin(x). So now I want to calculate it using subs.
a = subs(f, 1)
The result is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20032441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.