text stringlengths 181 35.5k | meta dict |
|---|---|
Q:
How do I get the pcap lib on Ubuntu?
I have a programming assignment where I need to use the pcap lib.
#define _BSD_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pcap.h> // <-- missing include
#include <netinet/ip.h>
#include <netinet/tcp.h>
void logpacket( unsigned char* payload, s... | {
"pile_set_name": "StackExchange"
} |
Q:
yii afterfind pass array to view
Inside my Model i have this code, this is partial code
protected function afterFind ()
{
$car= Car::model()->findAll("car_id = '{$this->model_id}'");
foreach($car as $cars) {
$val['car_name'][] = $cars->car_name;
$val['car_value'][] = $cars->car_value;
}... | {
"pile_set_name": "StackExchange"
} |
Q:
About list sorting and delegates & lambda expressions Func stuff
List<bool> test = new List<bool>();
test.Sort(new Func<bool, bool, int>((b1, b2) => 1));
What Am I missing?
Error 2 Argument 1: cannot convert from 'System.Func' to 'System.Collections.Generic.IComparer'
Error 1 The best overloaded method match... | {
"pile_set_name": "StackExchange"
} |
Q:
Rows To Columns in SQL SERVER USING PIVOT Command (Replacing NULL Values To 0 & Display SUM Of ALL VALUES)
I want to display rows to columns in Sql Server. I have seen the other questions but those columns are hardcoded in the pivot but my columns will be dynamic. What I have achieved till now. As shown in the s... | {
"pile_set_name": "StackExchange"
} |
Q:
how to group dictionaries using itemgetter
I have a list of dictionaries like this:
students = [
{'name': 'alex','class': 'A'},
{'name': 'richard','class': 'A'},
{'name': 'john','class': 'C'},
{'name': 'harry','class': 'B'},
{'name': 'rudolf','class': 'B'},
{'name': 'charlie','class': 'E'},... | {
"pile_set_name": "StackExchange"
} |
Q:
Jquery and Asynchronous Methods in popup.html
I'm playing around with building chrome extensions. I'm currently testing out the popup.html functionality when you click on the icon in the tool bar.
However I'm having a difficult time trying to wrap my head around using jquery in conjunction with the asynchronous me... | {
"pile_set_name": "StackExchange"
} |
Q:
Create a Scriptable Object Instance through a Constructor
I have a Character Scriptable Object and I have several methods in it. Like GetDate,GetAge (which I am not showing here). I have created a Constructor there, but I don't know how to create an instance of that ScriptableObject through the Constructor. That's... | {
"pile_set_name": "StackExchange"
} |
Q:
Attempting to use an array within an array to store and retrieve data. Having some isses
I have a loop iterating through various users (the counter is simply determining how many users to parse through). In every iteration a user's id and distance are stored in Array $friendObj. Then I want to add the $friendObj a... | {
"pile_set_name": "StackExchange"
} |
Q:
Jquery - Toggle Input text after checkbox
I have this code which works perfectly, It can toggle an input when checkbox is checked.
https://jsfiddle.net/majmo6r4/
But, if one day I want to add more checkboxes, I have to duplicate my code and that's not what I want. I want to improve my code in order to have the sam... | {
"pile_set_name": "StackExchange"
} |
Q:
Possible values of current_session_context_class property in hibernate and uses
I wanted to know all possible values that can be used with current_session_context_class property in cfg.xml file? I have an idea of thread value that makes the session context to relate per thread, like propertyname="current_session_... | {
"pile_set_name": "StackExchange"
} |
Q:
Jest did not exit one second after the test run has completed when using supertest and mongoose
I am using jest to test my node.js endpoints with supertest.
However after running my test jest does not exit, instead it returns the following and hangs:
Jest did not exit one second after the test run has completed.
... | {
"pile_set_name": "StackExchange"
} |
Q:
Update database based on dropdownlist selection?
I have a table called SisStatus, which contains two columns "StatusID" and "Status", it contains four rows, "Normal", "Withdrawn", "Temporally Withdrawn", and "Suspended".
I have pulled this table and displayed it into a drop down list with the following code:-
ASP... | {
"pile_set_name": "StackExchange"
} |
Q:
TortoiseSVN Login not working after Windows AD Password Change
We are using VisualSVN as Subversion Server with Windows AD as authentification.
Yesterday I changed my Windows AD password.
I connected to the VisualSVN-Webserver which worked fine with the new password.
But I couldn't log in to the server using Torto... | {
"pile_set_name": "StackExchange"
} |
Q:
Google Drive API javascript
I'm trying to use the Google drive to list files.
Using the answer in https://stackoverflow.com/a/11280257 I found a problem that I can't discover the reason.
var clientId = '*********.apps.googleusercontent.com';
var apiKey = '##########';
var scopes = 'https://www.googleapis.com/auth/... | {
"pile_set_name": "StackExchange"
} |
Q:
Need my mobile application to connect my website, will this method be better than using an API?
I want my mobile app to connect to my website to get/post data from and to the database, respectively.
I was looking up RESTful APIs (which I don't really understand how the file writing and retrieving gets data from th... | {
"pile_set_name": "StackExchange"
} |
Q:
Logging in from settings username and password preferences
I have an app that uses webView. In the home screen of a website I want to login using username and password entered by the user in the app's settings option. Currently I have this code which I saw in solution to a similar question asked on this forum. But... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I create a network from connected links
I have a bundle of links in 'some' networks. I need to find out which ones are connected to each other i.e. I need to find out which links are not connected to the 'main' network.
I have been working on a flood fill recursive method, which effectively goes from link t... | {
"pile_set_name": "StackExchange"
} |
Q:
JPanel does not fill containing JFrame
Hi so I'm writing an simple physics engine to understand object collisions and Java graphics a bit better, and so far I have successfully written the code to add the JPanel to the JFrame and allow them to show up somewhat the correct size, but when I view the actually program... | {
"pile_set_name": "StackExchange"
} |
Q:
1000Base-T Server NIC speed slows down to 100Base-T when sending data to a 100Base-T device
I am conducting experiments to explore how data transmission is being influenced by the network speeds of the receivers. Here is my setup,
I have an Ubuntu server A connected to a Gigabit switch with 2 other clients (B and ... | {
"pile_set_name": "StackExchange"
} |
Q:
R Shiny/Shinydashboard: Hiding the last part of a string in a table
I have a data table that contains some very wide columns and I want to add a scrolling-bar to make it more presentable. So far I have found examples using a scrolling-bar for the entire table - but ideally I would like to have a scrolling-bar for ... | {
"pile_set_name": "StackExchange"
} |
Q:
Submit form when Enter is pressed
I have an aspx page with many buttons and i have a search button whose event i want to be triggered when user press enter.
How can i do this?
A:
You set the forms default button:
<form id="Form1"
defaultbutton="SubmitButton"
runat="server">
A:
Make it the default butto... | {
"pile_set_name": "StackExchange"
} |
Q:
User Monitoring in Rails
We have an app with an extensive admin section. We got a little trigger happy with features (as you do) and are looking for some quick and easy way to monitor "who uses what".
Ideally a simple gem that will allow us to track controller/actions on a per user basis to build up a picture of ... | {
"pile_set_name": "StackExchange"
} |
Q:
Okay, the sandbox didn't work. We still have a quality problem; let's figure out how to address it
As of today, the riddle sandbox is no longer mandatory. The close reason related to it has been deactivated, and the requirement has been removed from the sandbox text. It was an experiment to see if it would be sust... | {
"pile_set_name": "StackExchange"
} |
Q:
Detect route change in an Angular service
I'm trying to create a service to check if a certain route needs a user to be logged in to access the page. I have a working code but I want to place the $scope.$on('routeChangeStart) function inside the service. I want to place it in a service because I want to use it in ... | {
"pile_set_name": "StackExchange"
} |
Q:
Is $ x^n-y^n$ is a product of coprime factors?
In the expression: $x^n-y^n$, if $n>2$ and $x,y$ are relatively prime, are the factors $x-y$ and $ x^{n-1}+x^{n-2}y+.....$ always coprime? Why? Please exclude the cases where $x-y=\pm 1$ and $\pm 2$. I know it is for $x=2$. Please any input will be greatly appreciated... | {
"pile_set_name": "StackExchange"
} |
Q:
How important are Design Patterns really?
How important are Design Patterns really?
I think the earlier generation of programmers didn't use Design Patterns that much (people who graduated in the 80s and before mid 90s). Do the recent graduate know it in general and use it a lot more?
A:
We used design patter... | {
"pile_set_name": "StackExchange"
} |
Q:
Elasticsearch 5 create in memory node for testing
I'm migrating to Elasticsearch 5 from 2 and we have integration tests which run on build servers which do not have ES nodes available. We have used the NodeBuilder from the previous version of ES to create in memory nodes on demand, but I can't find how to do the s... | {
"pile_set_name": "StackExchange"
} |
Q:
Calculating percent change between groups using Dplyr - Stock Data
Simply trying to calculate the percent change across a given time period for each stock. My current code using dplyr is as follows:
stocks_df %>%
filter(Date > now() - days(2)) %>%
group_by(Stock) %>%
mutate(period_return = (Close - first(Close))/ ... | {
"pile_set_name": "StackExchange"
} |
Q:
How to call ".done" after the ajax call in Backbone fetch calls
Instead of throwing an error, the RESTful API that I call returns 200 success with a "fault" object as part of the return data when there's an error server side. I can't change the API. To handle this (without Backbone) all ajax calls are wrapped in a... | {
"pile_set_name": "StackExchange"
} |
Q:
How to translate "tutorial"?
I'd like to help translate the Django Girls tutorial to Esperanto. That tutorial is a written step-by-step instruction guiding readers/learners through almost everything needed to build a functional blogging software. Besides the instructions themselves, the tutorial contains some expl... | {
"pile_set_name": "StackExchange"
} |
Q:
Open multiple website in a single window in different tabs
I want to open no. of urls and I want to open 1st url in new window and after that others in same window but in new tabs.
I am using c# and its a window application
I use a code provided by Firefox but it is not opening new tab. It opens new window.
here ... | {
"pile_set_name": "StackExchange"
} |
Q:
opencv installation on ubuntu 11.10
I'm trying to install OpenCV on Ubuntu11.10 using the terminal. But it gives me the following error. I've not been able to resolve it. Notice the last four lines.
$sudo apt-get install opencv
Reading package lists... Done
Building dependency tree
Reading state infor... | {
"pile_set_name": "StackExchange"
} |
Q:
Dynamic Inline form in angular using material
I am trying to build a dynamic form with the help of angular material. The requirement is the I need two input columns in one row and the number of input values can be dynamic. Is there any way such that I can build this form using ng-repeat with two input box in one r... | {
"pile_set_name": "StackExchange"
} |
Q:
MouseMotionListener is not working with Canvas
This is my code so far, what I want to do is to add a new Object every time the mouse is moved, but the system is not even accessing the MouseEvent class after hours of thinking, I still am not able to figure the problem. Please Help!!
My main class:
package testing... | {
"pile_set_name": "StackExchange"
} |
Q:
PKPA to Supercede TLS/AES etc?
I wont give the name of the company, but here's a quote from a white paper they published:
Our innovative Polymorphic Key Progression Algorithm (PKPA) technology is designed to overcome the flaws and inadequacies associated with today’s encryption algorithms.
I know enough about c... | {
"pile_set_name": "StackExchange"
} |
Q:
Difficulty in deciding correct data structure
Two objects are interacting (Object Alpha, Object Beta)
Each contain a point (x,y) which will be used to make comparisons, among other things.
Object Alpha's point (x,y) attribute is dynamic and will change.
Object Beta's point (x,y) attribute is final.
I need to const... | {
"pile_set_name": "StackExchange"
} |
Q:
Wix: How to write to 32bit registers on 64 bit machine
I was looking for solution for some time but without success. I must admitt that I am begginer with wix. I have got one project (WPF + caliburn, using Visual Studio 2015) beeing compiled separately for x86 and x64. I use x64 machine to create both MSIs. Unfort... | {
"pile_set_name": "StackExchange"
} |
Q:
SetIntersection size without allocation
Given 2 sets (C++) is there a convenient way to get the size of the intersection without any alocations (as std::set_intersection does)
Sure, I could copy the implementation minus the assignment but I always rather not re-invent the wheel
int count = 0;
while (first1!=last1 ... | {
"pile_set_name": "StackExchange"
} |
Q:
Issue with datepicker in ios xcode project objective c off by a day
I have a program that works fine with datepicker except when I go forward to print days in which I will be alive. It skips a day so goes 0 on birthday 0 next day and then one. When I go backwards for days alive it goes 0 1 2 ect. Can anyone help w... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I trim the bottom of an image?
I'm trying to cut off the bottom of a image so the next row of images an fit. I've tried to trim the bottom but it hasn't worked. I want to bottom edge to be in line with the image next to it.
Here is the current page: My Page
img.left {
padding: 0 12px 0 0;
height: auto;
f... | {
"pile_set_name": "StackExchange"
} |
Q:
Am I likely to need multiple pairs of boots on the Appalachian Trail?
Reading up on a hiking boot size question, I came across this review from Silver Spring, Maryland for a wide hiking boot.
This boot has a "lifespan" of 400 miles. Is that typical of a hiking boot? Since the Appalachian Trail (AT) is over 2,000... | {
"pile_set_name": "StackExchange"
} |
Q:
Why don't membrane proteins move?
I understand that based on their tertiary structure, intrinsic proteins have hydrophobic non-polar R-groups on their surface and that they 'interact with the hydrophobic core of the cell membrane to keep them in place'.
But how does the hydrophobicity of both the protein and the ... | {
"pile_set_name": "StackExchange"
} |
Q:
How to find database name of \data\base postgres folders?
I have a large folder of 70 GB in my postgres installation under:
D:\Program Files\PostgreSQL\9.5\data\base\130205
Question: how could I find out which database is based on that folder?
I have like 10 databases running on the same server, and most of them h... | {
"pile_set_name": "StackExchange"
} |
Q:
Can't link known file extensions to custom editor classifier
I am working on an editor classifier extension for classic Visual Basic source files (module- and class files). The project has been created using the editor classifier project template from the Visual Studio 2012 SDK. The wizard created three code files... | {
"pile_set_name": "StackExchange"
} |
Q:
How could the person in Luke 9:49 cast out demons without Jesus' mandate?
Luke 9:49 (ESV):
John answered, “Master, we saw someone casting out demons in your name, and we tried to stop him, because he does not follow with us.”
The 12 (and later the 70) only started healing people and casting out demons AFTER Jesu... | {
"pile_set_name": "StackExchange"
} |
Q:
Integrals of $\int^\infty _2 \frac{x}{x^3 -2\sin x}dx$
How do I calculate the convergence of $\int^\infty_2\frac{x}{x^3 -2\sin x}dx$ ?
I know in generally, integration of (n-dimentional polynomial)/(n+2-dimentional polynomial) will be converge.
A:
$$\left|\int^2_\infty \frac{x}{x^3 -2\sin x}dx\right| \leq \int_... | {
"pile_set_name": "StackExchange"
} |
Q:
Proving Plancherel's theorem using Cauchy integral formula
Plancherel's theorem says that
$f(x) = \frac{1}{2\pi} \int^\infty_{-\infty} F(k) e^{ikx} dk$
where
$F(k) = \int^\infty_{-\infty} f(x)e^{-ikx}dx$.
I'm wondering if we can prove this using Cauchy's integral formula somehow like this.
$f(x) = \frac{1}{2\pi} \... | {
"pile_set_name": "StackExchange"
} |
Q:
Linear regression. Lowering response maintaining equal independent variable.
I have put some data together and modelled the behaviour of the response ($y$) as function of three independent variables $x_1$, $x_2$ and $x_3$. A simple multi-linear regression. The model looks like:
$y = k + a*x_1 + b*x_2 + c*x_3 + e$... | {
"pile_set_name": "StackExchange"
} |
Q:
Can I have Gmail overwrite a known email with my contact info when a name is not supplied?
I have to admit I was a little confused when I asked this question, as I thought that it was my Gmail where names and email addresses were connected.
But of course, it's not the local Gmail client that attaches a name to an ... | {
"pile_set_name": "StackExchange"
} |
Q:
iOs: How to change color of "more" back button when having more than 5 tabs
I have an application with 6 tabs, so the system automatically generates the first 4 tabs and a fifth tab called "Altro" ("More" in italian) that contains the previous fifth and sixth tab content.
This is ok. The problem is that i don't kn... | {
"pile_set_name": "StackExchange"
} |
Q:
Does my "hollow list" structure exist already?
I came up with an implementation in c for arrays which can be extremely large yet only use an amount of memory proportional to how much data you have written to it. What I want to know is if there is a name for this kind of list or structure. Here is my code in C for ... | {
"pile_set_name": "StackExchange"
} |
Q:
Derive asymptotic behavior of inverse of the normal cdf with respect to 2^n
I have a normal distribution $\mu = 0$ and $\sigma = 0.58n$ where $n > 0 $ and I am trying to derive the asymptotic behavior of the following equation:
$$\Phi\left(\frac{x}{0.58n}\right)\;=\;2^{1-n}$$
Follows:
$$
\DeclareMathOperator\inver... | {
"pile_set_name": "StackExchange"
} |
Q:
MariaDB Galera Cluster, Force Sync
I have three servers in a multi-master Galera cluster. I've imported some old databases recently, and noticed that the tables were being created across all three, but the data wasn't being replicated. It turns out I wasn't paying attention, and these old databases were all usin... | {
"pile_set_name": "StackExchange"
} |
Q:
number of distinct object types in a list
I am using C#, Silverlight, Visual Studio for Windows Phone 7.
I currently have a List that contains the generic UIElement, and I can put things like TextBlock or Grid or StackPanel into the List.
For example:
List<UIElement> UIList= new List<UIelement>();
UIList.Add(someU... | {
"pile_set_name": "StackExchange"
} |
Q:
What is this argument of AGGREGATE function doing in my formula?
I need to understand this part ($B$1:$B$15<>"") in the following formula used to represent a column of data with blank cells removed:
=IFERROR(INDEX($B$1:$B$15,AGGREGATE(15,6,(ROW($B$1:$B$15)-ROW($B$1)+1)/($B$1:$B$15<>""),ROWS(C$1:C1))),"")
This fo... | {
"pile_set_name": "StackExchange"
} |
Q:
Getting "application not configured for implicit grants" error trying to setup website
I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new site, hoping that it would Ju... | {
"pile_set_name": "StackExchange"
} |
Q:
How to go to implementation by vsvim + r#
I want to use r# and vsvim to go to implementation in visual studio. Like command "gd", but maybe "gi".
Can i do it?
A:
Yes, you can.
Assuming that you already have a vsvimrc customization file, you just need to add:
map gi :vsc Edit.GoToImplementation<CR>
FYI my full vs... | {
"pile_set_name": "StackExchange"
} |
Q:
Is there a quick way to report database metadata in SQL Server 2005?
Are there any system stored procs to report the stats and metadata of a database itself in SQL Server 2005?
What I need is a quick way to output a list of tables, the size of each table, the number of rows in each table and so on. Stored procs fo... | {
"pile_set_name": "StackExchange"
} |
Q:
HTML encoding escaping problems
I'm doing an Android app in which I make a query to a webservice, get a JsonObject and after getting the desired String I find strings like: est&aacute;
I've tried this two:
StringEscapeUtils.escapeHTML4(text);
With the result of transforming &aacute into &amp;aacute
Ht... | {
"pile_set_name": "StackExchange"
} |
Q:
White screen when I fetch data from MySQL on PHP into an Array
I'm taking values from MySQL(PHPMyAdmin) to PHP and after that, I send them to an echo for taking those values on Ionic. I don't know why but when I add a specific value (Bio field from MySQL) inside the array and execute the .php file thows me a white... | {
"pile_set_name": "StackExchange"
} |
Q:
change route in scroll reactjs
I have a question, but I do not even know how to solve it, I'm looking for if I scroll down, show me the following routes and scroll up to show me the previous routes
I hope some guide
class Routes extends Component {
render() {
return (
<Router history={browserHistory}>
... | {
"pile_set_name": "StackExchange"
} |
Q:
How can I validate unique field with struts framework and hibernate?
I am new in struts2 and hibernate. I want to validate mobile no with data base for uniqueness. How can I validate a unique field with struts framework and hibernate?
A:
Add the validation.
You want to validate to no store some field in DB.
// ... | {
"pile_set_name": "StackExchange"
} |
Q:
leaflet javascript - how to clearTimeout a setTimeout on a marker?
I am adding markers like this to my map:
map.addLayer(l), setTimeout(function() {
map.removeLayer(l)
}, 1e4),
which removes after 10 seconds each marker again. Now I would like to achieve that when the user clicks during those 10 seconds o... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I only select images using reddit json?
I am trying to get a list of images from a specific reddit and send them to the user randomly. Is there a way to only get the json that lists a url?
I try to just get to this path down below, but it ends up throwing an error sense it is a nested array
"kind": "Listi... | {
"pile_set_name": "StackExchange"
} |
Q:
Select with Contains parameter not working with null
With my select below, if blank string is passed in I get the following error: Null or empty full-text predicate
in my DBAdapter when fetching rows from the database. If I provide a value, such as Well, I do not get results when I should as Well is in the r.[Desc... | {
"pile_set_name": "StackExchange"
} |
Q:
Black Screen with UIViewControllerAnimatedTransitioning
I have created a transition and it is working fine except that I get sometime black corners in the simulator. Additionally in iPad Pro I get a completely black screen if I run the simulator in full resolution. The resized resolutions work fine. Do you have an... | {
"pile_set_name": "StackExchange"
} |
Q:
Navigate through form with arrow keys
I have a html form, which is created like a table (with rows and columns). Basically it looks like excel.
And now I would like to navigate just like in excel with the arrow keys. Is that possible?
<table>
<tr>
<td/>
<td/>
</tr>
<tr>
<td/>
<t... | {
"pile_set_name": "StackExchange"
} |
Q:
Proving Cauchy-Schwarz with Arithmetic Geometric mean
I understand common proofs for Cauchy-Schwarz, but not sure about the first step in this one, which is proof 4 from here
Let $A = \sqrt{a_1^2 + a_2^2 + \dots + a_n^2}$ and $B = \sqrt{b_1^2 + b_2^2 + \dots + b_n^2}$. By the arithmetic-geometric means inequality ... | {
"pile_set_name": "StackExchange"
} |
Q:
What is a profiler measuring and how is that different from TTFB?
I am using the magento profiler and it gives a reading of how long it took for the PHP code to run, I think.
What I have found that the TTFB - time to first byte value is much higher (sometimes double) than the profiler time.
What else is forming pa... | {
"pile_set_name": "StackExchange"
} |
Q:
Microsoft Access - Using the In Clause in a Query over a Network
So right now, we have a setup where ui.mdb and database.mdb are two separate access files. I am querying the database using the IN clause (ie "SELECT * FROM USERS IN 'DB\example_db.mdb'") and it works great on my local machine. The problem is that pe... | {
"pile_set_name": "StackExchange"
} |
Q:
Android ViewPager ZoomOut animation
I have a ViewPager that look like this:
I need the previews on the sides to ZoomOut when you swipe and only maintain the size of the center view, something like this:
I already tried some examples with ViewPager.PageTransformer() but those examples are always with a fade anima... | {
"pile_set_name": "StackExchange"
} |
Q:
Could the Russian fleet go via northern route to Port Arthur instead of via Cape of Good Hope?
Was there a route via the north of Russia that Admiral Rozhestvensky could have passed (maybe during the summer months) instead of the seven month odyssey of going through Cape of Good Hope around Africa and then through... | {
"pile_set_name": "StackExchange"
} |
Q:
Simple neural network "calibration" (python)
I'm getting started with neural networks and this kind of stuff, I understood how a perceptron works and the logic behind feed-forward and backpropagation mechanisms and I am now trying to write a simple multi-layer network with 3 neurons (2 in a hidden layer and 1 as o... | {
"pile_set_name": "StackExchange"
} |
Q:
Sprite-Kit: Two different gravity vectors in one scene?
I'd like to have two objects in one scene, one which is pulled downwards, and one which is pulled upwards, but I can only specify one gravity vector which is applied to all objects in the physics world.
If there is no way to do this with gravity, how do I bes... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I add css to a line like document.write(text[0]);
I've already tried this:
document.write(<div class="line01"> + text[0] + </div>);
A:
That looks ok as far as the CSS goes, but the elements to output should be in a string:
Change this:
document.write(<div class="line01"> + text[0] + </div>);
To this:
doc... | {
"pile_set_name": "StackExchange"
} |
Q:
Suitability of Mathematica as platform for engineering calculations and programs
I am considering using Mathematica with Wolfram Workbench as a standard platform for calculations and programs in a large engineering department. I am looking for a solution that would provide better validation, documentation and revi... | {
"pile_set_name": "StackExchange"
} |
Q:
Can I use QUdpSockets wo polling or custom classes in Qt?
Here is a short UDP server example in Qt below which does work but what I don't like is that I'm polling to see if new data is available. I've come across some examples of a readyRead() but they all seem to introduce a qt class. Do I need to use a qt class ... | {
"pile_set_name": "StackExchange"
} |
Q:
Storing a web project (in my case joomla) on SVN - how to do this properly
I have made a joomla component that I want to put on SVN. The problem is that Joomla components have bits and pieces scattered all over the place. What is the best way to handle this with SVN considering I still want to be able to version... | {
"pile_set_name": "StackExchange"
} |
Q:
How To Implement Responsive Grid Ui in Bootstrap 3
I am facing problem during creating following UI:
How can I implement this kind of design?
A:
Since Bootstrap 3 is "mobile-first", start with your desired layout for the smallest device ("screen 4") using the xs classes, and then go up from there.
Here is an e... | {
"pile_set_name": "StackExchange"
} |
Q:
Why is the external JavaScript file not responding to AngularJS?
This angularJS file does not display the value of the expression as" Full Name: John Doe"; instead it displays "Full Name: {{firstName + " " + lastName}}". What might I have missed?
<!DOCTYPE html>
<html>
<head>
<script src= "http://ajax.googleapis.... | {
"pile_set_name": "StackExchange"
} |
Q:
Datomic Pro bin/run no suitable driver found
I'm trying to run Datomic Pro with the following command:
./bin/run -m datomic.peer-server -h localhost -p 8998 -a myaccesskey,mysecret -d demo,"datomic:sql://jdbc:mysql://localhost:3306/datomic?user=datomic&password=datomic"
But every time I run that command it throws... | {
"pile_set_name": "StackExchange"
} |
Q:
Fadeout validation error messages in WooCommerce checkout page
When placing an order, WooCommerce does validate all required user fields inputs. If not, the checkout-errors messages appear like if the first name is missing and so on.
I want those error validation messages to fade out after a given time.
So, I i... | {
"pile_set_name": "StackExchange"
} |
Q:
pass event and object to function in react
I'm new to react trying to implement Redux I'm trying to update state when a text-input gets updated. I'm able to extract the e.target.value but it also needs to be aware of what object was changed
For example my data might be something like:
{ name: 'Penny', namePlural: ... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I return to previous areas in Hidden Folks?
I accidentally advanced to the next level in Hidden Folks before finding every target in the area.
How can I return to previous areas to find people I missed?
A:
You can return to any level from the main menu.
On the bottom bar, scroll all the way to the left, o... | {
"pile_set_name": "StackExchange"
} |
Q:
.NET: When are large heap objects garbage collected?
I have a program that requests HTML from a webservice, modifies the HTML to highlight search terms and then displays the HTML in a WebBrowser component. Sometimes the HTML I receive will be quite large causing my "Mem Usage" and "VM Size", as displayed in task m... | {
"pile_set_name": "StackExchange"
} |
Q:
.Net 2.0 List Issue
Getting an error, hopefully that can be fixed.
I have a Strongly typed list (or at least I am attempting to use one rather...) It only contains 2 properties... NodeName (string), NodeValue(string)
The error I am getting is when trying to add to said list:
_Results.Add(New Calculator01.ResultTy... | {
"pile_set_name": "StackExchange"
} |
Q:
Задание ссылки в customizer.php для WP темы
Пытаюсь в настройках WP темы вывести сслыку для кнопки.
В customizer.php создаю секцию и параметры:
// Button Text & Link
$wp_customize->add_section( 'button-custom' , array(
'title' => esc_html__( 'Button', 'my_cat' ),
'priority' => 20,
'descript... | {
"pile_set_name": "StackExchange"
} |
Q:
Unable to pass variable from one function to another function in php
This is what I'm tying to do.
(When I refer to state and city. I literally mean US states and cities, New York, Texas etc...)
In order for me to display similar dealers on every dealership page I'm going to have to use the state and city variable... | {
"pile_set_name": "StackExchange"
} |
Q:
apply multiple selected true to option jquery
<select id="testd" name="testd[]" multiple="" style="min-height: 100px;">
<option value="16">test1</option>
<option value="21">test2</option>
<option value="27">test3</option>
<option value="24">test4</option>
</select>
how to apply seleted true to mul... | {
"pile_set_name": "StackExchange"
} |
Q:
GWT RequestFactory - Using a new setter on a proxy object causes IllegalArgumentException
I have a request factory proxy object and the "old" setter methods I can use without a problem. Now I added a new field and a setter for that field (on the backend object). I also defined the method in my proxy object.
But if... | {
"pile_set_name": "StackExchange"
} |
Q:
Varistor S10K30 for 24-40VDC input?
I was put in charge of redesigning a motor control circuit which accepts 24-40V DC on its input.
As a side note: As far as i know, the existing circuit has been working fine for several years. The redesign aims to make the production cheaper and replace all obsolete THT parts wi... | {
"pile_set_name": "StackExchange"
} |
Q:
2018 Federal Income Tax Deduction for Owner Occupied Rental Property
I live in a 3 bedroom condo in California and decided to rent out 2 of the bedrooms and live in one.
The mortgage is $1M and interest is $4000 per month
HOA is $600 per month
Property tax is $1000 per month
Rental income is $3000 per month
I k... | {
"pile_set_name": "StackExchange"
} |
Q:
What lens should I buy to get better pictures of a one-year old running around a dimly-lit house?
I'm an amateur photographer with a Canon Rebel XS, and I'm trying to figure out what type of lens I should buy to take better photos of my one year old when she is running around in our dimly lit house. I seem to find... | {
"pile_set_name": "StackExchange"
} |
Q:
Encryption / Decryption PHP classes
What is the best encryption / decryption class / functions that can encrypt an array of data or objects and return it as a hash serialized string?
Then, on decryption, the serialized strings can be decrypted back to its original form of values containing objects or array values.... | {
"pile_set_name": "StackExchange"
} |
Q:
Distinct() on Class, anonymus type and SelectListItem
I want to select all categories from a webservice. The webservice does not have a method for that, so I have to get all products, then select all categories that these products are in. When I recieve the data from the webservice, I make WebServiceProduct (ID, N... | {
"pile_set_name": "StackExchange"
} |
Q:
external hard drive can not copy the data capacity of more than 6GB
I recently bought an external hard drive with 500GB capacity. hard drive is still in new condition and vacant. but when I would copy a file larger than 6GB hard drive can not copy the file. if I copy the file size of less than 6BG, the file can be... | {
"pile_set_name": "StackExchange"
} |
Q:
How would I be able to assign a random integer to a variable?
I have been trying to assign a random number to a variable, such as health or luck but it never seems to work as when I print the variable it just says it's not defined. I would greatly appreciate any help with this. Thank you very much.
from random imp... | {
"pile_set_name": "StackExchange"
} |
Q:
Vector SAT MATH 2
If the magnitudes of vectors a and b are 5 and 12, respectively, then the magnitude of vector (b-a) could NOT be:
a) 5
b) 7
c) 10
d) 12
e) 17
The answer is 5. But I am not sure which theorem I should use to go about this problem. Triangle inequality theorem? Help is appreciated!
A:
By triangle ... | {
"pile_set_name": "StackExchange"
} |
Q:
What sort of datatype is PRIntn for the file strcase.c
Background
I am reworking a plugin for ettercap and hope to find useful information about handling HTTP-RESPONSE´s in the firefox source code.
Question
So I have found this file named
strcase.c
in the directory
nsprpub/lib/libc/src
from mozilla-beta.
So ... | {
"pile_set_name": "StackExchange"
} |
Q:
Cassandra or Hadoop Hive or MYSQL?
I am Developing a Web Crawler,Which is Good for storing data? Cassandra or Hadoop Hive or MySQL?and why?i am having 1TB of Data from past 6 Months in my MySQL DB,i need to index them and i need to get the out put in my search ASAP,and as i think,it will store more amount of DATA,... | {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.