text stringlengths 15 59.8k | meta dict |
|---|---|
Q: How to use Diff function I'm doing an algorithm and at some point I have to calculate the derivative of a function, I tried to use diff but it didn't work.
I have the function defined like this:
function y = funcionF(x)
y = x^3 - 3*x^2 -10;
end
I tried diff(funcionF) but I get this error:
Not enough input argum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68387632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vuetify 2.6.12 - Problem with v-data-table inside v-dialog In my application, when inserting a v-data-table inside a v-dialog, it is losing part of its CSS style.
Looking at the HTML, the class "v-application" and "v-application--is-ltr" are not being applied to v-dialog.
I need the same classes that are applied to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74143450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we make correlated queries with SQLAlchemy I'm trying to translate this SQL query into a Flask-SQLAlchemy call:
SELECT *
FROM "ENVOI"
WHERE "ID_ENVOI" IN (SELECT d."ID_ENVOI"
FROM "DECLANCHEMENT" d
WHERE d."STATUS" = 0
AND d."DATE" = (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38127298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: dotnet core web api running on built in Docker container and running on Kubernetes Get a better TTFB when calling a Docker Service
I am running a Web API application using DotNet core 1.1, running it inside a Docker container deployed on Kubernetes. I have the exact same API deployed on IIS (VM on Azure) (IIS VM and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47697676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect if user clicks inside a circle How can I detect when the user clicks inside the red bubble?
It should not be like a square field. The mouse must be really inside the circle:
Here's the code:
<canvas id="canvas" width="1000" height="500"></canvas>
<script>
var canvas = document.getElementById("canvas")
var ct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16792841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Using tag breaks the material UI Grid I was trying to use <div> to wrap my element which is inside the <Grid> but i noticed that this will break my <Grid> !, i tried the same thing in bootstrap grid system but this issue did not occur,
https://codesandbox.io/s/material-demo-6zet4?fontsize=14
The thing is i have to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57071229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to compare SQLite datetime to C# string using Linq I'm trying to Compare the SQLITE table value GameDate with a C# string, tempDate using a Linq statement. I'm getting an error on the "var list = db.Table()" line.
Since I can't get the Linq line to work. I have just selected all the rows of the table and use a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28995312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A pre-populated database does not work at API 28 throws "no such table" exception I use a pre-populated database in my project. I have a created .sql base and copy it at first start.The base is big 33mb.
private void copyDataBase() throws IOException {
InputStream externalDbStream = context.getAssets().open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55336900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Gradient text is not working in safari browser.It is showing white color instead of gradient text Below is the code.Gradient not working in safari after using webkits also.
.gradientText{
background: -webkit-linear-gradient(#862AA5, #CE3E81);
background: -moz-linear-gradient(#862AA5, #CE3E81);
background: -w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66602737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to properly inline for static libraries I'm re-writing a small C math library of mine that will end up as a static library for the user and would like to benefit from inlining for my vector math interface.
I have the following:
[ mymath.h ]
...
...
extern float clampf( float v, float min, float max );
...
...
[... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10291581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to set order of the nodes in Sankey Diagram Plotly So i am traying to make a cycle that gives different sankey diagram the thing is due to the plotly optimization the node are in different positions. I will like to set the standard order to be [Formal, Informal, Unemployed, Inactive]
import matplotlib.pyplot as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72749062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bug in VBA in MSProject how to check if sub project is loaded in master project? If I place watch on the tmp variable and stop on the line If Not tmp Then both show up as true, I.e. tmp is True and Not tmp is True.
Dim subProj As Subproject
For Each subProj In prj.Subprojects
Dim tmp As Boolean
tmp = subPro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37748054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Porting QT application from Linux to Windows? Greetings all,
We are developing a QT application (QT 4.6 LGPL version) in Linux platform.All the libraries we use are cross-platform.
Now we want to port it into Windows and continue develop in Windows.
My questions are:
*
*Which compiler should we use ,Can we use Mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2986754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: sIFR 3 - sifr-config.js possibly not running? Not sure what's wrong I've been messing with this for a few hours, and I just can't get the text to be replaced at all. I really can't believe it's taking so long, especially because I did this a few months ago and got it to work in minutes.
Anyway, here is my site I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1337401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asp.net MVC binding ajax data to a submit button I have ajax code that gets data from a radio button.
$("input[name='SelectedCG']").on('change', function () {
$.ajax({
url: '@Url.Action("FilterReports", "Reports")',
data: { cgName: $("input[name='SelectedCG']:checked").val() },
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37381133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to read my String correctly in html and mvc? I'm using MVC, getting a certain message this way
[HttpGet]
public virtual ActionResult Message(int ID)
{
Models.Userr.Message model = new Models.User.Message();
String getMessage = userService.getMessage(ID);
model.Message = getMess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26513123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to delete more than one relationship in neo4j using cypher? I want to remove more than one relationship but not all relationship for specific node,
I can delete single relationship or every relationship but not more than one specific relationship
match(n:Student{id:2),
(n)-[r1:STUDENT_CLASS]->(b:Class),
(n)-[r2:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73702876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Appgyver Steroids Simulator Build Submit to Facebook My app is nearing completion (HECK YEAH!) and we are needing some extended Facebook permissions. Following Facebook's instructions for submitting an app, it requires that I do a Simulator build. However, the Appgyver Facebook plugin doesn't work on the simulat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26643650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to set the required validator for an input field in jquery? I have a page which has a GridView placed in an update panel. Each row in the GridView has a update button, when clicked, a modal dialog will pop up, where you could edit the corresponding row and save the record to the database through a web service ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20353718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making a copy of an own object instead of a reference (updated post, different Q) solution
I am still getting the hang of it, and its probally logic for a lot of you. But I've updated the post with how I got it working, might some one come here by search.
declare:
var test=Element({"id" : 1, "name" : "wrapper"}).
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22095546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to define n-th parent element by pure JavaScript? As in the title,
how can i define nth parentElement in js in other way than:
var theComment = e.target.parentElement.parentElement.parentElement.parentElement;
A: You can write a loop for it:
const n = 4
let elem = e.target
for(let i = 0; i < n; i++)
elem = e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67670507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel 5.7 and ExtJS 5 app configuration I am trying for the first time to create an application with Laravel 5.7 and ExtJS 5.
There is a lot of information for Laravel / Vue and Laravel / Angular applications, but for Laravel / ExtJS it is practically non-existent (unfortunately).
I created an ExtJS app called ext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52742928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hazelcast management center - Membres unable to communicate I have this config to connect:
config.getManagementCenterConfig().setEnabled(true);
config.getManagementCenterConfig().setUrl("http://localhost:8096/hazelcast-mancenter");
Error on management center console :
2019-05-29 12:44:27 [qtp873415566-15] WARN org... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56355195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CS-CART Themeing I have been looking into using CS-CART as a shopping cart and started looking through the themes and it appears to me the only way to build a theme is to extend a default theme and use the theme editor and visual designer to construct themes. Is this the only way or is there a way to code custom the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35760989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Webview Javascript window.location and checked problems I am having 2 related problem with javascript in webview.
The first is that when I check a checkbox in the html page it will sometimes but not always display the checkbox as checked. So, to help the user I also use a label and also set the onclick event... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7498507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sort-Object - differences when using console vs .ps1 file When running .ps1 file the sizes are sorted alphabetically (mixing MB and KB).
But when running in the console directly, it correctly sorts by folder size.
Both running on the same server.
Get-MailboxFolderStatistics -identity [email protected] | Sort-Object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46806810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Authorize to Apple Music via Facebook Messenger In-App Browser We're using https://developer.apple.com/documentation/musickitjs to authorize Apple music, on Desktop it opens a new window to authorize to apple.
But It's NOT working on mobile In-App Browser (both iOS & Android), probably because on mobile messenger, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66254870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML/Javascript/CSS GUI for the development of desktop applications with python? I wonder if there's a python GUI like pyqt etc. which works purely with html and javascript for layouting desktop applications...
Do you know if there are projects like this? Does this make sense at all ;-) Or it it just me finding that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7967575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best way to make object hash in Ruby? So I have a class wherein I need to override the equality operators. This is not so hard. But the custom equality operators aren't used unless my_obj.hash is equal for two objects being compared. so we need to override hash()
I'm kind of stuck on the best way to do this. My obje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26694760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How would it be possible that adaptive cards in Microsoft Teams for Android never be cropped (using c#)? In Microsoft Teams for Windows the Adaptive Cards look like this:
And in Microsoft Teams for Android the same Adaptive Cards look this way:
I'm using LG-files (Microsoft Language Generation files) and Microsoft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62470617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: flask-sqlalchemy - change lazy in different situations Take the example in document
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(50), nullable=False)
addresses = db.relationship('Address', lazy='dynamic',
backref=db.backref('person', lazy='select'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52249870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: "binding" between factory and controller I'm trying to return a scope for binding from a factory to a controller. it would be ideal if i could pass the name so it could be dynamic. Here's what I have so far
.factory('urlWatch', function (urlFactory) {
var _this = this;
return {
listenToUrl: function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28954163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to hide and show an object on scene in three.js I have an object which is composed of spheres on my scene. And I have a hide and show button.
The flow of my program is like that. For example, when I select one of the spheres (I used raycasting for select a sphere) then click the hide button, this sphere will be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42609602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Ms dynamics crm 2013 subgrid overlap with its add button In Ms dynamics crm 2013 when we hide and show a subgrid using JavaScript visible function then subgrid's add button overlap with subgrid. Is there any way to resolve this issue.
A: You want to find the schema name of the sub grid. You can do this by opening ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21714002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are these GCC/G++ parameters? I've been using the UVa Online Judge to solve some programming challenges, and, when submitting my solutions, I'm told the judge will compile my code using the following parameters to GCC/G++ that I don't know: -lm -lcrypt -pipe -DONLINE_JUDGE.
What do they do? Thank you very much ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1512476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What is the default working directory for a jar launched from Windows Explorer? I have created a jar file of my application so that users can run it from Windows Explorer. It loads a JSON file in its own working directory for some settings (using the path ".\config.json"). However, when I run it from the jar file fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8188408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Extjs Set dirty false for form after saving I need to reset the form's dirty status to false after saving the form.
Form is configured for trackresetonload so that not set dirty for setvalue function.
I tried calling reset() but it resets the data in the form fields to its previous state(ie initial value).
Is there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24931119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeScript: add more data to enum In TypeScript, is it possible to add more stuff (properties, methods, etc.) to enum constants, like in Java?
Java example demonstrating adding of fields, methods and constructor:
public enum Planet {
MERCURY (3.303e+23, 2.4397e6),
VENUS (4.869e+24, 6.0518e6),
EARTH (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43376040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Many-to-many relationship using @EmbeddedId produces null id generated for:class I have two tables that have a many to many relationship between them:
*
*Table one: Competition
*Relationship table: Entry
*Table two: User
The entry table is using an @EmbeddedId:
@Getter @Setter
@AllArgsConstructor
@NoArgsCons... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59592921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mysql order by field with given values which has NULL in between I'm trying to sort a query by given values like this:
ORDER BY FIELD(items.stock_id, 1, 5, NULL, 3, 6)
But it seems it doesn't work and null comes first or last depending on it being descending or not.
The order is not always the same hence [1,5,NULL,3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67806575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ksh: How to pass arguments containing white space between scripts? I have two scripts (one ksh and other Perl) and one calls the other. I have to handle a scenario when someone accidentally enters a white space in file name and report it as an error (only when the file does not exist). It looks like p.sh which uses ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15233177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: cannot find protocol declaration custom protocol delegate iphone Slowly but surely getting this delegation and protocol stuff on iphone but I cannot understand this error.
I have declared my protocol in my first viewcontroller.
In the second viewcontroller i try to add it at the top after i have imported it into the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6954895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Powershell command SCCM 2012 - Get all Resource Names from device collection? I'm still learning about PowerShell and SCCM.
At the moment i'm trying to get all resource names of a device collection into an array variable. I don't know if this is possible?
Example:
Computers: Win7, Win8, CM02,....
into a variable li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47911918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling JS function from external file give error in yii2 I'm trying to call a JS function in a yii2 project but got function not define,
the JS function is inside a file named main.js which is included to the layout of the homepage, and in site/index in have another internal JS code that calls the function in main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50966013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use CircleImageView with Volley's NetworkImageView? I need to get circle images from rectangular/square images taken from network. In my application I get images with Volley's NetworkImageView. I found that fantastic library https://github.com/hdodenhof/CircleImageView but I don't understand how I can use it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30571034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to jump from the if state without executing else.? for(....)
if(condition)
printf(_);
else
printf();
what code will come here....
A: If I understand you correctly, you want to jump out of the if and the enclosing for loop when condition is true. You can achieve this using break:
for(....) {
if(co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4990884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Odd Chap Timeline Date Issue - Items Rendered in the Future on All Browsers Apart from FireFox I've got an odd situation going on here. I've got the following JSON being passed to the time line control:
[
{
"UserId": 2,
"ItemId": 3,
"ItemText": null,
"ItemDate": "2014-06-09T18:51:37",
"ItemDat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24126987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MYSQL Duplicate Data and Show Only One Data I have data like this
emp_id| name | log |
16646 | bella | 2023-01-30 07:28:54 |
9050 | mark | 2023-01-30 07:22:12 |
8612 | nandya | 2023-01-30 07:20:35 |
7965 | arya | 2023-01-30 06:21:39 |
7965 | arya | 2023-01-30 06:21:40 |
My ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75280010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mixin won't accept @content block with libsass The error I get:
DEPRECATION WARNING: Passing white, a non-string value, to unquote()
will be an error in future versions of Sass.
on line 56 of src/scss/_library.scss
events.js:85
throw er; // Unhandled 'error' event
^
Error: src\scss\_library.scss
Error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33669953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flash movie not visible in ie 6 I have a flash movie and I use this code to embed it crossbrowser
'<object id="adFoxMovie" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" align="left">
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9362428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unique constraint violation on insertion after server restart I am running a JBoss EAP 7 server with an Oracle 11g DB, and Hibernate for JPA. I have noticed something weird. When I first create the database and start the server, everything works fine. I send requests from the client and the server persists the data ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49739772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Invalid byte sequence for encoding when reading NpgsqlDataReader I am counting all the rows from a data reader, for that I am doing this:
connection = new NpgsqlConnection(CS);
connection.Open();
command = new NpgsqlCommand(cmd, connection);
dataReader = command.ExecuteReader();
while (dataReader.Read()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43899024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get Microphone Input Level Naudio I've been looking for a simple way to determine the volume/level of sound being inputted into the microphone, as soon as the data is available. I've not been able to find a simple answer.
Is there no simple way to do this, or am I just missing it?
A: What I've been using for a peak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26834223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get members of facebook group which are only my friends I need to fetch groups & friends from facebook. Also in group members I need only those who are my friends.
This gives me list of friends
FBRequestConnection startWithGraphPath:@"me/friends" parameters:nil HTTPMethod:@"GET" completionHandler:^(FBReques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20344787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use multiple postDelayed handlers Hi I am new to android delveloping and I am curently making a simple game that tests your reflection when a certain color changes, to test what I have learned so far but I cant solve a problem that came up.
Alright, first I will explain how the game works:
When you tap the sc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47242283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Unable to instantiate Action, signupFormAction, defined for 'signupForm' in namespace '/'signupFormAction. ClassNotFoundException: signupFormAction Been trying to setup a Struts2 + Sprint + Hibernate basic framework and was working on creating a sample application. Everything configured and the stack doesnt through ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5184516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't install Compare plugin in notepad++ I am trying to install compare plugin in notepad++ v7.6.2 32bit
following this tutorial
https://www.youtube.com/watch?v=qvEOX6mSbpo
I did exact same steps, except I realized when I tried to place the DLL in the plugins folder, I didn't find a plugins folder!
so I created on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56839880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Efficient way of computing Kullback–Leibler divergence in Python I have to compute the Kullback-Leibler Divergence (KLD) between thousands of discrete probability vectors. Currently I am using the following code but it's way too slow for my purposes. I was wondering if there is any faster way to compute KL Divergenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34007028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Fieldsets & legends vs sections & headings in .net Is there any real difference between these when used in an aspx web form?
A: They have semantic differences. A fieldset is designed to encapsulate a group of fields, inputs or controls. Sections and headings are more designed for actual text content (your actual co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6930113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to print a fixed length memory area which contains multiple \0? I have a memory area with fixed length.
char *p = malloc(100);
memset(p, 0 ,100);
I have some strings in this memory area, along with some \0, for example
memcpy(p, "asdf", 4);
memcpy(p + 10, "ghi", 3);
memcpy(p + 20, "1234", 3);
So, there are \0 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56352106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Shake broke position:fixed In a web site I want to shake a div which includes an image, it is fixed at the bottom of the page. I try to add shake function to it, it is shaking but position changes to left side. How can I fix it ? Let me write the code.
var css_shake={
right: '225px',
left: 'aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17388260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make function with forEach loop check 2 files, if exists return with string if not return file name I have application can download and save file in LocalFileSystem and i need run 2 file in same time , before start i need to check if those file exist or not .
i made somthing like this but i thing its stupid f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61205030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .htaccess redirect if url ends with certain extension I'm trying to do a redirect if the url ends in .asp to just 301 to the same url but with just /
So for example I would like
domain.com/category/thingy.asp to redirect to domain.com/category/thingy/
Some urls have .asp others don't.
I understand this part of it
R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41248314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to download specific labels/images from tensorflow-datasets I'm currently using the coco/2017 dataset for some use in tf.keras transferred learning
I am aware that you can download the full dataset using the code bellow:
(raw_train, raw_validation, raw_test), metadata = tfds.load(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57507455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to make audios copy right like gaana app I have been developing an app which contains audios and now I want users to download those audio and can play only through my app. By doing this we can restrict user from copying audios from one device to another because of security concerns. I have searched a lot but onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37246595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does a version control database storage engine exist? I was just wondering if a storage engine type existed that allowed you to do version control on row level contents. For instance, if I have a simple table with ID, name, value, and ID is the PK, I could see that row 354 started as (354, "zak", "test")v1 then was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2503510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: SocketError at / getaddrinfo: nodename nor servname provided, or not known padrino I am trying to use padrino to build a dashboard for my amazon environment. But when I try the following piece of code in the controller:
get :index, :map => "/" do
AWS.config(access_key_id: 'ACCESS_KEY',
secret_access_key: 'secret_acc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22588089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get HTML Source of WebElement in Selenium WebDriverJS There is a similar question out there (an older one in Python) but this one has to do with JS. Testing using Selenium in a NodeJS, Mocha environment. What I'd like to do is click on a Bootstrap dropdown and check the HTML to look for changes. I've tried the fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24293189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: figures and plotting in Matlab I have an application in Matlab where I'll be creating lots of plots. Generally, I want each new plot to appear in a a separate figure and also save the handle to the figure, so I do:
h = figure('NextPlot','new');
plot(1:13);
The above however creates one empty figure and one with the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37220565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Outlook push notification subscription error, ErrorInvalidParameter , verification failed The operation has timed out https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/api/version-2.0/notify-rest-operations#compare-streaming-and-push-notifications
I am trying to subscribe push notification fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62828937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Displaying members in teams Im trying to display the number of users in each team. I have an department object that has departmentId and with it i would want to display users.
Im displaying my users in a modal with this function.
async selectTeam(index: any) {
this.selectedTeam = this.teams[index];
this.use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67735899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to find out that keyboard down arrow key pressed, programmatically I know that when down arrow key is pressed on keyboard then we can get Keyboard Hide notification but the problem is, we get Keyboard Hide notification also when we rotate the device and keyboard hides, now how to differentiate that keyboard is h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15629418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jtable adding rows with strings and doubles Hi there i'm studing Java and i have some questions. I'm trying to populate a Jtable and sorting it:
i'm creating a model of an existing Jtable and adding it some data:
ArrayList<Cliente> lista = new ArrayList<Cliente>();
lista = FachadaLogica.cargarTablaClientes()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68539386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Splunk: 'net stop splunk' only works *sometimes* I'm trying to manage Splunk with Chef and ran across a problem when using Chef to programmatically start/stop/restart the Splunkforwarder service:
The request did not respond to the start or control request in a
timely fashion. - ControlService: The service did not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39355584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I use SFINAE to disable a function inside a class based on template type I have a template class
template<typename TLoader, typename TCreator>
class ManagerGroup {
public:
uint32_t loadFromPath(const Path &path) {
return mLoader.load(path);
}
void createFile(uint32_t handle) {
return mCreator.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73115436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calendar iframe being scrolled to when page laoded When my html page loads, the screen is automatically moved to a Calendar iframe I have installed
I've already tried scrolling="no" and it didn't work
Any way to work around this?
A: add some js to your page
document.addEventListener('DOMContentLoaded', ()=>{documen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71989749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In-class struct, how does "this" work? As stated, how does the this pointer act when called in a struct defined in a class ?
Let's say I have the following piece of code:
class A {
public:
struct {
void bar() { std::cout << this << std::endl; }
} foo;
};
int main() {
A a; a.foo.bar();
std:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40288073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Device Monitor "data" folder is empty I have tested creating, inserting and retrieving data into my apps db, and know it works through usage of Log statements.
However, I wish to expedite testing and use the Android Device Monitor. However, though the db exists and data is stored, when accessing below, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34603355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Arduino IDE is able to use avrdude to flash hex file, but command line on ubuntu is unable to Good day all,
I have an arduino pro micro (Chinese knock off version) with which I am able to flash to with the arduino IDE but I am unable to recreate the same effect with avrdude in the terminal on Ubuntu 16.04
This is wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51466401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is search speed achieved with fast data access or fast index access? From MySQL doc:
CREATE [TEMPORARY] TABLE [IF NOT EXISTS] tbl_name
(create_definition,...)
{DATA|INDEX} DIRECTORY [=] 'absolute path to directory'
My table is for search only and takes 8G of disk space (4G data + 4G index) with 80M rows
I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48695597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: In a Rails 3 model, DateTime attributes are falsly "dirty" In my Rails 3 application, I only want to write an entry in a certain log if changes are actually made to a model. So if a user doesn't change any of the fields and clicks 'Submit', then there should not be a log entry.
But it seems that no matter what, Rail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5845798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Accessing the DOM representation of a template instance that is calling a helper I am trying to access a DOM element corresponding to the particular template instance that is calling a helper function. As I read the Meteor documentation, Template.instance() should return the template instance object that called the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26749652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSO with Classic Asp I am in the process of trying to implement Single Sign On for our classic asp parts of our site that run on a separate server. I have already implemented the php SSO on our other server using simpleSAMLphp. I am attempting to use shibboleth right now for the classic asp / IIS side of things. I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51070145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google Analytics referral exclusions do not seem to work when using the Google Tag Manager script Two days ago I added 'paypal.com' to the referral exclusions on the google analytics account for my website.
My website is submitting its data to GA via google tag manager.
So far, yesterday's visits are not excluding p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32614542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my relation-object reinitialized each time it is accessed? I use Realm Swift 0.95.3. In my project I'm working with a contact (not with contacts AddressBook), which contain information about the name, last name, middle name, email, … and photograph.
I have created a subclass of Object called Contact. I under... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33586433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to retain specific parts of an element in a column and eliminate everything else in R? I have a column containing the brand and model of cars. How to keep only the brand and remove the model? In the original dataset, the brand and the mode were separated by a space. So I tried this:
carprice$CarName=gsub(pattern... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47445403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I reverse a string in java by creating a new temporary string? What's the error in the following code? I am not able to identify it shows the index 0 out of bounds exception.
public class stringBuilders{
public static void main(String[] args)
{
StringBuilder str = new StringBuilder("S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72087427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exporting Result Set to Another Table? How can you export a result set given by a query to another table using SQL Server 2005?
I'd like to accomplish this without exporting to CSV?
A: INSERT INTO TargetTable(Col1, Col2, Col3)
SELECT Col1, Col2, Col3
FROM SourceTable
A: insert into table(column1, columns, etc) se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7391075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling pagination with Blogger Api I understand the documentation regarding the nextPageToken and retrieving subsequent pages.
My question-- what is the best practice to implement a way to go to the PREVIOUS page?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/44121387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get parent id with jQuery?
$('td').click(function() {
myId = $(this).parent().attr("id");
myItem = $(this).text();
alert('u clicked ' + myId);
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<table>
<tr>
<td>Computer</td>
</tr>
<tr>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34765497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Pyinstaller - ModuleNotFoundError: No module named 'cpuinfo' I'm trying to package this script but I keep getting this error message
Traceback (most recent call last):
File "systeminfo.py", line 1, in <module>
ModuleNotFoundError: No module named 'cpuinfo'
[6308] Failed to execute script systeminfo
I tried this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66034639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What should I learn first? (For web programming) Should I learn PHP or JQuery.I have some knowledge in HTML CSS and JavaScript.
A: Modern web development is now actually divided in to two major parts
*
*Frontend (JavaScript and related things)
*Backend (PHP, NodeJS or others)
Now if you are more interested in d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35777107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unity custom UI Messagebox I am trying to make a custom messagebox to display text that characters say throughout my game. I tried to achieve this through this code:
[SerializeField] public Text PresetText;
[SerializeField] public GameObject PresetBorder;
[SerializeField] public GameObject Canvas;
private Text UITe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34725537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VS2008 keeps hanging busy when clicking design view VS2008 express web developer keeps hanging whenever I try to go to design mode. this just started a couple days ago for some reason, was fine before.
whenever i click design mode, the whole thing freezes, any clicks anywhere on the program give me a 'ding' sound un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4870020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Twig: mapping array to table I need to have such output
--------------------------------
| | id1 | id2 | id ... |
--------------------------------
| m1 | x1,x2 | x3 | x5 |
--------------------------------
| m2 | x4 | x6,x7 | ... |
--------------------------------
|m...| ... | ... | ... ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21919149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to uninstall an older PHP version from centOS7 My project is on Laravel 5.2. and as per guide it required php >= 5.5.6 but there was php 5.4 intalled and I had to upgrade php version through YUM,
But now it is giving error "PDO driver not found" and I tried YUM install php-pdo
but it's giving error that "there i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43537523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Implementing a second battleship into a one dimensional game "River Battleship" Would anybody be able to offer me a simple way to implement a second enemy battleship into a game I have designed to only have one enemy, this is my code currently :
import java.util.*; //Scanner that reads user input
public static void... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58920194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native: GiftedChat only updating chat message if I scroll to top of screen? I'm using Gifted Chat for a chat app using React Native. When I send either a text message or an image, the code executes, but the new message does not appear on the screen unless I scroll to the top of the chat screen. If I scroll to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62379571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MixPanel: Should all property names be denoted with dollar signs? The built-in default properties of MixPanel such as $browser or $city all start with dollar signs. Does this have any purpose? Should we denote custom properties with dollar signs as well or is the dollar sign meant to be the marker for a default prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74391084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Sheets importxml() scraping doesn't work with xpath copied from console I am trying to scrape content from tradingview website. Specifically the Industry of a particular ticker given in the description.
I have the xpath which I copied from the element inspector of the browser. But it doesn't seem to work and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49814399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.