text stringlengths 15 59.8k | meta dict |
|---|---|
Q: report module for sugarcrm 6.2 Which Report module is suitable for making reports in sugarcrm 6.2 . I had installed the zucker Report Module on the local site it works properly but when i used to install them on my server it does not installed
Anyone please help
Thanks
A: KReporter certainly the best Reporting too... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I create a device context that is just a portion of another device context? I have subclassed a graphics control that takes a device context handle, HDC, as an input and uses that for drawing. My new control is just the original control centered on top of a larger image. I would like to be able to call the origi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4551280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VBA code to read word document footer I have a folder of completed word document forms and I have an excel file that reads all the answers on the forms into different worksheets in spreadsheet. The worksheet that the data is exported to depends on the filename of the word document.
This currently works fine.
However... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33232440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stopping thread Immediately I want to stop a running thread immediately. Here is my code:
Class A :
public class A() {
public void methodA() {
For (int n=0;n<100;n++) {
//Do something recursive
}
//Another for-loop here
//A resursive method here
//Another for-loo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11911118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: unexpectedly found nil while unwrapping an Optional value on return I am calling Url which will give me Json in get() function.
I am calling get() function from another class and try to return result of Json in Array format. but it shows Found null error on return statement . when I tried to print values of Json it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35762672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Attempting to load the view of a view controller while it is deallocating. CoreSpotlight I integrate CoreSpotlight in my app. I want that user will find need information in spotlight search and after user will open this information in spotlight information opens in DetailViewController. I made it, spotlight works ni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33012529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting protractor promise, variables and results synchronized Okay, I have this piece of code I'm trying, and failing, at writing. What I want to do is to make sure an index that is passed to a function is within the bounds of available elements on a page. And, if it is, pass back an element reference.
Suppose I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37442902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java, Possible to modify method declaration of super class in abstract class hierarchy? I have an abstract class UserdataUpdater which extends Updater
Updater has a method declaration
public abstract void processRow (Cluster cluster, IAppendOnlyData row);
Is there anyway to modify this method declaration inside Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12788742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android Studio resetDrmState message on MediaPlayer release and set to null I have a media player that can play 1 of 46 sounds on button click. Instead of keeping 46 media players and stopping them all when I want to play another, I decided to keep 1 and just reuse it. My whole application works perfectly fine but i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71074517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Updating mysqli with Ajax and Jquery is not working I just want to update or edit <td> with Ajax. Edit or Save Button is in a <td> and so far everything is woking.
The Alert() function also shows variable values but the Ajax portion is not running. I am not sure why the data is not updating. Any help would be apprec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48121538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: lottery system pot division I making a lottery system in my web-based application, so it is in JavaScript, but my problem is more mathematical so feel free to write snippets in other language.
I want to distribute the lottery pot over winners in a natural feeling way, example:
var pot = 1000;
var tickets = [1, 2, 3,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17887636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adding controls to a from C# 2015, this.Controls.Add(bla) method not found? public partial class MainWindow : Window
{
private void Window_Loaded(object sender, RoutedEventArgs e)
{
WebBrowser wb = new WebBrowser();
this.Controls.Add(wb);
}
}
This results in an error:
'MainWindow' does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37386108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: python - calculate the number of nodes in a Binary Tree I'm trying to write a function that uses recursion to find the number of nodes, i.e. the size of the binary tree. If the tree is empty there is no node. If it's not empty the number of nodes is 1 (the root) plus the number of nodes of the left subtree and the n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46872046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Restrict list of components when linking in property editor in IDE I have created a new designtime component, which contains a published property Handler of type TComponent and registered it into the Tool Palette.
When i place a component of this type on my form, the property editor of the IDE shows me the property ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28454634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copying from a set of cells from one column and paste them in consecutive columns in VBA Excel Macros I have got a set of values in Range 'A' and Range 'B'. I want to compare each consecutive row of Range 'A' and when the previous row is greater than the next row ; I want to copy then set of points below the compare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47991227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CDash build ID not set (CTest, CMake) I have a CDash configured to accept posts for automatic builds and tests. However, when any system attempts to post results to the CDash, the following error is produced. The result is that each result gets posted four times (presumably the original posting attempt plus the thre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5265868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I prompt the user to give the name for the writing and reading serialized file? I am making an attempt to prompt the user to create the name for the writing and reading serialized file. E.g. could I do the following:
System.out.print("What would you like to name your file?");
String fileName = scanner.nextLin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25966551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Braces around Java method I just noticed recently, while coding, that surrounding code with braces without any condition (or anything else) lets the code running correctly. For example, the following snippet:
public static void main(String[] args) {
{
System.out.println("Hello world !");
{
System.out... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38246500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Recursively reversing a string in C? I have to reverse a string in a recursive function, but I cannot use loops or strlen to find where the end of the string is. Then I have to pass the reversed string back to main and copy it to a new file. Here's what I have so far:
int reverse(char *str, char *strnew, int p)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23878979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to programmatically grant the "draw over other apps" permission in android? How can I programmatically grant the permission in Settings -> Apps -> Draw over other apps in Android? I want to use system alert window but unable to in Android Marshmallow without forcing the user to go through the Settings app and gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40355344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Django - assign m2m relationship in admin In the app I'm building some users have the role "Coder" and are assigned to "Assignments".
What I can't seem to get working is the process of an Admin assigning Coders to Assignments.
Here is the Model-Code I have so far (probably totally wrong):
class Coder(models.Model):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16118433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using JSP to paint a part of page other wise painted by Servlet I am updating an age old application that paints its page using a Servlet. I want to add something to that page and really want to stop adding to that Servlet file.
Is there a way I could paint a part of a page using JSP and all other using Servlet.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32486686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Starting and stopping Apache Camel routes from admin UI I have a Apache Camel context which is part of a large Spring application. The application has a web based admin UI. I'd like to be able to stop/start/suspend/resume the camel routes from within this UI. How can I achieve this?
Currently my Camel context is def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25136142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect activity level of microphone in flex I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone().
To detect activity level we have to set microphone.setLoopback = true;
Doe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2890906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php docker how to use file_get_contents to fetch self domain's result I have a project need to server migration, the new server deployed by docker. but in docker, the file_get_contents() cannot fetch the result from self domain. and I can't use others way (for example reqire_once) to load this file ( this project is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65436768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keep selected row in table highlighted during fireTableDataChanged is there chance to keep the selected row in a JTable higlithed druing fireTableDataChanged?
Thank you
| {
"language": "en",
"url": "https://stackoverflow.com/questions/27244406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prism 7 throws and exception when working with nested views I posted similar question few months ago Working with nested views using Prism with IsNavigationTarget which can return false, I'm still not sure what is the proper way to do it.
Imagine you have a view A, in this view A you have declared a region A, then y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63641883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSRF PHP Prevention Mechanism I have read many articles about CSRF, almost all of them have the same solution which is hidden tokens, so i wrote a code to prevent CSRF and i tried hacking my own page afterwards but it didn't work, i would like to know if my code is CSRF bulletproof, and if there is anyway around it.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18679175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: youku search JS API in english I need the youku (China youtube) API in English or an explanation how to use it.
This is the code from youtube I want to write with youku:
url: 'https://www.googleapis.com/youtube/v3/search',
data: {
'part': 'snippet',
'q': this.searchBox.val(),
'type': 'video',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36367309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ideas to upgrade Excel Income and Expense tracker Sorry for the overly lengthy explanation below but I thought it'll be helpful in getting your ideas:
A few years ago I helped a friend keep track of the income and expenses of his family run guest house (around 10 rooms). The way it works is that his guest house is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45571689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python time vs datetime The following comparison does not work, is there any way to get number of seconds passed (w.r.t localtime) since epoch from time module?
(datetime.datetime.now() - datetime.datetime.utcfromtimestamp(0)).total_seconds() - time.mktime(time.localtime()) => 3600.9646549224854
OR
(datetime.datet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32626289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read a LinkedHashMap written in file? I want to read a particular value from LinkedHashMap written in a .txt file, but is showing "java.io.StreamCorruptedException: invalid stream header: 7B495020"
For writing in LinkedHashMap i tried the method;
public void WriteBasicInfo(String name, String pass) throws IO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56144344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Permission error [winerror 5] access is denied-Selenium chrome webdriver I'm following a tutorial on using selenium and I'm having trouble getting started. Namely, when I try to run the code below, I get the error below. I have seen other users with the same problem, I have tried their solutions, they did not work.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64128761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Separate two html buttons and remove the fist button green animation There are two HTML buttons in the code below.
*
*Currently they are stuck together. I need to introduce a gap between them
*When you hover the mouse over the first (top) button, there is a green colour animation would show up around the button. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71697754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Text mining with PHP I'm doing a project for a college class I'm taking.
I'm using PHP to build a simple web app that classify tweets as "positive" (or happy) and "negative" (or sad) based on a set of dictionaries. The algorithm I'm thinking of right now is Naive Bayes classifier or decision tree.
However, I can't f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2783033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Second Spinner not receiving the proper info based on the first Spinner's selection I know there are about a million topics on this already, but hear me out.
The title says it all, when i select an item in spinner 1, spinner 2 gets a specific list of choices to pick from (which will then be used to show info). It's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15411937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to make the vim plugin "Project" and "Mini Buffer Explorer" work together? As the title says, I need to make these plugins work together well. The mini buffer explorer just automatically opens after I open the second file(press Enter in project plugin window), then Mini Buffer Explorer opens as the third window ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4704717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Make NUnit not stop at first failure I'm running a NUnit test over a list of numbers.
My code goes something like this:
numbers = GetListOfNumbers()
foreach number in numbers
Assert.IsTrue(TestNumber(number))
My problem is that NUnit will stop the test on the first number it encounters that doesn't pass the t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/923233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to stop NSTimer with another NSTimer? Note: I am using swift for this project.
I am currently working on my first project and I am trying to stop (invalidate) an NSTimer if a button was not pressed after a certain amount of time. I have found other ways of stopping my NSTimer but none saying how to stop it after... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34549166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React + GraphQL: dataArray.map is not a function I Just started learning graphQL and Apollo.
Below is the sample client side code using Apollo client.
I am providing data from nodemon express server.
console.log(data) shows the output from the server.
However i was trying to display the query result using the apollo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49745422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: doPostback() not refreshing some elements on page correctly Having the following problem:
I have an HTML button which causes a __doPostBack(button.ClientID,'texthere').
Dim button As HtmlButton
button = CType(Me.btnButton, HtmlButton)
button.Attributes.Add("onclick", "__doPostBack('" & btnButton.ClientID & "', 'btnB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25978243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VB.NET table.sort with multiple columns I have the following but need to add more columns to filter by. I am getting errors with the syntax I am trying.
Dim ldv1 As System.Data.DataView
ldv1 = tbl1.DefaultView
ldv1.Sort = (tbl1.Columns(0).ColumnName) & " Asc" <-- I want to add to this
I am trying to do something li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32265570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Temporary captured-variables in lambda functions - C++11 I was trying out something like this to pre-populate a map using a vector-list of strings.
The code is self-explanatory:
Constructor(const vector<string>& names) {
for_each(names.begin(), names.end(),
[this, counter = 1](const String& ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64524992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Postgresql - Postgis - how to filter content? I have imported a shapefile that consists of POINT data.
Here is the query:
SELECT a.name,
ST_Distance(ST_GeographyFromText(ST_AsText(a.geom)),
ST_GeographyFromText(ST_AsText(b.geom)))/1000 AS distance
FROM places a, places b
WHERE b.name='M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44797406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HANA Query: CASE WHEN, without SELECT Statment I want to understand the CASE WHEN Statment in SAP HANA Query.
It is now to write a Value in a Column, only if there is a Value in the Column before.
"$[$3.U_chsBestNr2.0]" is the Column before (i get the value of this Column with this Statement).
CASE WHEN $[$3.U_chsBe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57474305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django; 2 model/class/tables pass into one template Forgive me if I ask something foolish, I very new to coding industry
I been working on Django project to create dashboards to show case monitoring of an hydroponics greenhouse.
So I create two model;
class tank_system(models.Model):
PH = models.DecimalField(def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54760355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to filter join query with Flask and SQLAlchemy Hello I'm trying to query something like this in SQLAlcehmy, Flask and Graphene
select d."name", e."name"
from departments d
join employees e on e.department_id = d.id
where e."name" like '%M%' and d."name" = 'IT'
so, it would return all employee with name conta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75576234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: spring boot rest webservice, how to improve a clean code? i started a project on spring boot using a rest a webservice, when i shared it between my team they puted some comments :
*
*get method need to be grouped Ex : get/users & get/users/{id} will be get/users/{id}
*remove put method & just use post Ex: post/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52693297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to override routes in ng-admin? I want to change url in ng-admin state. For example, I need to add a trailing / at the URL for getting a list of users. (http://localhost/api/v1/users/ instead of http://localhost/api/v1/users)
A: The Entity and View classes offer a baseUrl() method, so it's probably not very har... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33274536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to remove a specific factor level to missing value in r? I got a factor data set df that looks like this:
df <- data.frame(attend = c("yes", "no", "no", "iap", "yes", "yes", "iap"),
sex = c("male", "female", "female", "male", "female", "male", "female"))
df$attend <- as.factor(df$attend)
df$sex <- as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68961237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: string-splitting and arrays In this program for storing high scores I want the user to input a player's name and high score in a single line, for example "eric 87".
After the user enters the last player's name and score, it should then list all at once the scores that were entered. I don't know how to do this when ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13871992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: TypeError: super() takes at least 1 argument (0 given) With this code: https://github.com/SmBe19/praw-OAuth2Util
It's receiving this error:
Traceback (most recent call last):
File "update_sidebar.py", line 6, in <module>
o = OAuth2Util.OAuth2Util(r)
File "/usr/lib/python2.7/site-packages/OAuth2Util/OAuth2Uti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34114004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CSS responsive design using em for the layout I have to design a (responsive) website, using only HTML5, CSS3, elastic design, and em as unit measurement. I dont know how to apply em on the width and height properties to make the margins of the main wrapper (i.e. div #page) equal on all sides in relation to the actu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56125297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Extract some part from filename as variable I have read some threads about extracting some parts from filename, but still cannot solve my problem.
There are some files named aa - bb.txt, cc - dd.txt, ee - ff.txt, etc.
And the last line in every file is like this:
somewordbbaa
for aa - bb.txt and for cc - dd.txt is:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29771837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What technique is used to create a div limited by the page fold? Skipping the discussion about the importance of the fold in web design, I'd like to know which technique is used to limit a specific section (could be a div, for example) exactly on the browser fold considering a responsive design. Some websites even u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30604249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to use @keyframes moving animation from current position to a fixed in CSS3? This css3 code , move a item from current position to 100px lower.
@keyframes movingtocenter
{
from {top:0%;}
to {top:100px;}
}
But i want move my object to CENTER of page.
I have many object on the one page in different locations.
and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25007133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to import actionscript 3 flash game into flash builder? I'm newbie in this area, and I would like to have an android app that can play my AcionScript game. My actonscript game consist of external sound and image.
How do I import my ActionScript file into flash builder?
Should I import my codes or my SWF file al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17037048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Inconsistent Jackson deserialization of String as LocalDateTime I am deserializing a nested collection in JOOQ via Jackson.
The error I am encountering is like this,
Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `java.time.LocalDateTime` (no Creators, like def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65362169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a list of all tables that have datatables applied? I need a list of all tables that have jQuery DataTables applied. I searched the docs and the API but I could not find an array or something like that that holds the tables.
A: You're looking for $.fn.dataTable.tables() - DataTables's static function.
It... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32524861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Limits of parallelization regarding the core number I'm developing a parallel algorithm on a Intel i5-core machine, which has two cores, four threads.
n defines the size of the matrix, on which I perform my calculations on. As you can see from the table below there is almost 50% reduction from 1 thread to 2 threads ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10057331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS html declarations with spaces If there is a simple google search for this question, I apologise now, but I'm unsure of which keywords I'm looking to use. I'm decent with CSS but I think I'm yet to utilise the full power of the language and also completely eradicate code redundancy.
I've come across this code (a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19426475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make an uploaded image permanent on a view controller in Swift? I am writing code to allow a user to upload an image on a view controller. The image can be uploaded successfully, but once you navigate away from the view controller and then come back to it, the image they uploaded is gone. How would I make t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43075606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MYSQL union order in first statement I have this query:
(SELECT * FROM items WHERE duration = 5 ORDER BY date DESC)
UNION
(SELECT * FROM items WHERE duration = 10)
The problem is the "ORDER BY" in the first query is not working.
A: Try this :
select * from (
SELECT * FROM items WHERE duration = 5
UNION... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38866494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Javascript : Problem while passing parameter to a function I am passing a parameter to a javascript function from jsp.
<a href="javascript:void(0)" title="Update"
onclick="fnUpdate(<s:property value='roleTypeUid'/>);">
Now the roleTypeUid is a String with space in between (eg. System Admin) . So it is not wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5865645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: $match aggregation is giving me None (in terms of Python) If ISO date is not present in query it will give null output $match aggregation is giving me None (in terms of Python) even though I have verified it multiple time entries are present in DB .
In Python pymongo is not recognizing the ISO while I write inside ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49949341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: use task method in overriden I would like to know whats the ideal way to call a method that returns a Task inside an override method?
For example:
public Task<string> GetName()
{
return Task.Run(() => {
return "Foo";
});
}
In one of my methods I would just simple do this:
public async Task<string> DoS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23870795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Matlab: calculate differences between datetime arrays in fractional seconds I'm reading in time data with fractional precision (hundredths of seconds):
For every entry in this datetime array, I want to determine the difference with the first entry, in seconds (with fractional precision):
times=datetime(myCellArray,'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30338073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Classic ASP HTTP Post from another server I am litte confused, i want to protect one page in classic asp from being accessed by Get Method.
Is it possible that someone can post data from another server to my page?
If Yes, how to detect that and allow only post from my server.
Thanks for help.
A: If you are current... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13344797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Segue Popover won't behave properly I'm trying to use Segue to present then dismiss a Popover view a UIBarButtonItem is clicked.
I've created a generic Segue that is not anchored to anything but the view and given it a name
I've Anchored the UIBarButtonItem in the Interface Builder to:
- (IBAction)clickedSettings:(i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8845272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to clustering based on the distance in Python pandas? I have two dataframes with two groups of stations information. One for the 15 small stations and another for the 5 main stations.
Small Station Information(15*3):
SmallStation_ID longitude latitude
0 dongsi_aq 116.417 39.929
1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49711509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to let this media query works the same in different browsers on Samsung Galaxy Note4? I have a HTML code as:
<!DOCTYPE html>
<html lang="en">
<head>
<title>test page</title>
<style>
.hint {width:510px;}
@media only screen and (max-device-width: 720px) {
.hint {width:280px}
}
@media only screen and (max-device-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31374211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paper '12mm' is not supported by 'DYMO LabelWriter DUO Label I'm working on a small project that requires printing directly to a DYMO printer using their SDK. I've made other projects before using the same method:
*
*Find DYMO
*Get .label file
*Set label variable object(s)
*Print label
However, I receive the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35704599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid column name - Python pandas I'm a beginner at coding or machine learning and I'm struggling with my code. I would like to remove random word from a column which also contain sometimes integer or float (it's a column of an email exchange), and next ask BERT to add words that match, to do a data augmentation, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74951273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 2 Component Library I am trying to create a component library that I can share with anyone via npm. I am building my component lib with webpack. When I try to install my component lib into an Angular 2 project's module, the project's module does not recognize the name of my component lib module.
In my App ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41172357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Have a few questions about caches and cache hits/misses This is a homework problem, but the homework was already due and we were already given the answers, I just have no idea how they actually came up with these answers.
It relates to caches, and I'm just getting a lot of concepts mixed up.
Here is the question:
F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23331910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to add concatenation to transfer learning?
I'm using transfer learning for semantic segmentation.
model=vgg(weights="imagenet")
new_model=Sequential()
for l,n in model.layers:
new_model.add(l)
if(n==18): break
#Upsampling
m1=model.layers[-1].output
new_model.add(Conv2DTranspose(512,(3,3),strides=(2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54525351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bash - Convert comma separated list I'm trying to write a script that works on a list of files. If I want to work on all files in the same directory then
FILES=*.ext
for i in $FILES; do
something on "$i"
done
works OK, the problem comes when I want to work on just a selection of files and not everything. How d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22742221",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to restore trash mails to original folder in Microsoft Graph API? I have tried this https://graph.microsoft.com/v1.0/me/mailFolders/deleteditems/{messageId}/restore but getting 400 Bad request.
A: As Glen said here there is no method to directly restore trash mails through Graph API. Please raise a feature requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64171975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: AlarmManager canceled when app closed but ok after reboot I've an issue with an Alarm Manager. I wan't to execute my service each hour.
Alarm Manager is launched after reboot and work well, even if the app is not open or open and closed (My PhoneStartReceiver call launchBackgroundService one time, after a completed ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39725715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: php & mysql syntax errors: possibly string? Having a problem with some code and string handling
Syntax error, unexpected end of file...
Can someone help?
<?php
require("common.php");
if(empty($_SESSION['user']))
{
header("Location: login.php");
die("Redirecting to login.php");
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22358282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Accessing hidden operator from parent namespace in C++ I want to intercept the operator << inside a namespace to add some additional formatting to basic types before printing them out. Can this be done?
namespace Foo {
std::ostream& operator<<(std::ostream& os, bool b) {
//Can I call std::operator<< here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31468907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gerrit- Git push Error (n/a (unpacker error)) while pushing to gerrit I'm android developer so I had setted up Gerrit Code Review and Github for my Team! So After lots of struggle i got my github projects added to gerrit and also got replication work, but i'm not able to push this one repo. All other repos get pushe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14200509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: if I have lists for the values in a dictionary, can I perform a conditional zip on these value lists? I have the following dict that I created :
dct = {'T': [[1, 0, 0, 0, 0], [1, 0, 0, 0, 0], [0, 1, 0, 0, 0], [0, 0, 0, 1, 0]], 'B': [[0, 1, 0, 0, 0], [0, 0, 0, 0, 1]], 'J': [[0, 0, 1, 0, 0], [0, 0, 0, 0, 1]], 'K': [0,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50869367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA Code to loop and save as PDF: keep value in first cell, renaming cells beneath I am having trouble writing a loop macro for a Client report. The main column that needs to be changed is column A, essentially a list of Client names. I am trying to have the following be looped:
*
*Starting with the first cell in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74394431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking for a certain phrase in pandas column I am trying to look for a certain phrase in pandas column using this code:
workfromhome = df.loc[df['Description'].str.contains("work from home",na=False)]
df['Work From Home'] = workfromhome
here is the description column:
About AgodaAgoda is an online travel booking p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69249741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML5 section tag meanings? I know there are tons of questions about this topic but I can't find an authoritative source for the answer.
This is the official definition and the wiki page, and there there is more documentation, but there they don't explain the correct usage if not in a very simple examples or in diff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18741090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Red5 java error on startup When I started red5 I got the following error message;
Exception in thread "main" java.lang.ClassNotFoundException: org.red5.server.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22177850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Should there be at least one assert in a unit test? If so, why? If we take for example gtest, we have the option to use asserts like ASSERT_NE or checks like EXPECT_NE. One of my colleagues pointed out that I should have at least one assert in my test preferably the condition which checks the main objective.
So, far... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49384472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change layer.border.top color? In iOS, how can I change layer.border.top color? If I change self.layer.borderColor, all the side change. But If I only want to change one side, and keep other three sides as is, what should I do?
A: how about adding a new layer?
yourView.clipsToBounds = YES;
CALayer *topBord... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31498638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP date validation similar to ASP isDate() for user submitted dates, times, or date/time pairs I am converting an ASP application to PHP and am having difficulty transcribing date validation functionality.
In ASP, I have the function isDate(), which allows me to validate a date regardless of its format. So if someo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8646642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Add and commiting a file into SVN using SVN-Kit jar Actually i want to commit source into svn. I need to add and commit new files into svn repository and am using the below code. Code works properly but not able to commit into SVN
String urls = "http://192.168.0.19/svn/cadgraf/Branch/Jobs";
final String url ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22035383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mysql crate conn.query multi-statement SQL query not returning QueryResult I'm using the mysql crate, to perform a multi-statement SQL query (put a record into a table) and return a value with a select statement. However the QueryResult returned is None. Performing this on a mysql terminal the statement works fine.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57729460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Testing println output with JUnit I am testing a simple helloWorld class.
package Codewars;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
And I have a test class as follows (based on the answer ):
import static org.junit.jupiter.api.Asse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60336350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple table Set-based insert with identity column in table1 and foreign key in table2 I am writing an Application that imports configuration data from multiple external systems. To decouple the user-data from imported data y am using an intermediate table. The following tables are simplified for the sake of the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26608539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Add custom key in fetched JSON I am making simple blog website in React and when I fetch posts I am getting user id, who posted it. with this id I am making another axios where I get user with given id and then I assign author key to my fetched posts JSON like this:
export const getPosts = async () => {
try {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65511701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I extract a single byte from within a string on iPhone? In Android, I can extract a single byte from within a string using code like the following:
byte[] arrByte = String.getBytes(); .
If I wanted to do this on the iPhone in Objective-C, how could I accomplish the same task? Additionally, how could I get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7401070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dropdown menu showing total; need it to show the selected items I have a script that shows total price for each option in dropdown menu. Now I need to show the name of selected menu with the total.
You will find the script below that shows the total price. I need it to show the name in the <option>.
Any idea how to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46719580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add different Quality in a Single video in my website? How can I add different Quality in videos. Do I have to embed it in or or any other tag . I mean I want to open a video website. Now I have to post 720p and 1080p. I have to post them separately. But I want them to be posted at once in same video . The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54447471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Will scaling down RDS instance preserve data? I have Amazon Aurora for MySQL t3.db.medium instances. I would like to scale down to t3.db.small.
If I modify the instance settings in AWS console, will my DB data be preserved? So can I scale down without service interruption? I think I should be able to do this, but I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67936173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: last item position So I have a huge string and I process it element by element. I want to know how much is left so I try to take the current position word minus the last position word to see how many are left. I tried something like this:
with codecs.open("C:\\dna_chain.txt",'r', "utf-8") as file:
for li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22147083",
"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.