text stringlengths 181 35.5k | meta dict |
|---|---|
Q:
How to save ALL Excel files every say minute / 10 seconds?
Question: How to save ALL Excel files every given time period - say every minute or every 10 seconds ?
Related: here How to save Excel file every say minute? a way to save given file is described. But if I have many files it is a problem to process like th... | {
"pile_set_name": "StackExchange"
} |
Q:
How to create databases, users and grants with terraform mysql and output the created credentials?
For a new deployment I want to create databases, users and grants on a previous created MySQL database on azure.
The following code used inside a module creates the environment as expected and I still struggle how to... | {
"pile_set_name": "StackExchange"
} |
Q:
Querying Archive Class with REST API of ArcGIS Server?
I would like to know if there is a way to access the archive class through a Map Service of ArcGIS Server.
I have a Map Service with feature class stored in a SDE GeoDatabase with Archiving and Versionning enable.
Is it possible to query the Archive Class in o... | {
"pile_set_name": "StackExchange"
} |
Q:
bootstrap selectpicker knockoutjs disable option
I have the following binding in js fiddle.
<div class="container body-content">
<div>Name : <span data-bind="text: Name"></span>
</div>The select control should be below
<select multiple data-bind="selectPicker: teamID, optionsText: 'text', optionsValue ... | {
"pile_set_name": "StackExchange"
} |
Q:
Jquery loop with condition
I'm new with jquery and I don't know how to do a loop with a condition. I want to get all the div with the same id (yeah I know id should be unique) and color the border in red. It seems that it's not doing the loop since only the first "#column3" is colored. I want that when #column3 ex... | {
"pile_set_name": "StackExchange"
} |
Q:
Is there a library in php to handle and compress mp3 files in php..?
Is there anyway in php to handle i.e compress a mp3 file using php...? Is there any library out there like ZZIPlib library (To handle .ZIP files)...?
Thanks for your suggestions...!
A:
I don't think there are any libraries that will let you com... | {
"pile_set_name": "StackExchange"
} |
Q:
Let $T$ be a Hermitian operator and $\|v\|=1$, prove $\langle T^2(v),v\rangle \ge\langle T(v),v\rangle^2$
Let $T$ be a Hermitian operator on an inner product space $V$ over the field of complex numbers, $C$ (of a finite dimension), also assume $\|v\|=1$. Prove:
$$\langle T^2(v),v\rangle \ge\langle T(v),v\rangle^2$... | {
"pile_set_name": "StackExchange"
} |
Q:
Make API query to only one Stack Exchange site
Is there a way to limit a /search or a /similar query to a specific site or sites?
A:
By definition all /search and /similar queries are made on one specific site. There is currently no way to search more than one site.
Example:
http://api.stackoverflow.com/1.1/sea... | {
"pile_set_name": "StackExchange"
} |
Q:
How to parse RxJava to receive just the data that i want?
I just want the numbers, but this is what i'm receiving at log:
[Boletim(grade=4.5), Boletim(grade=9.5)]
The Response:
public class GradeResponse {
@Inject
Retrofit retrofit;
@Inject
MainPresenter mainPresenter;
public void getGrade... | {
"pile_set_name": "StackExchange"
} |
Q:
How to make AutoFac use same instance of nested dependency per top-level object? (SignalR dependency injection per hub)
I am trying to set up my AutoFac registration in such a way that this test passes:
[Test]
public void Autofac_registration_test()
{
// Given
var builder = new ContainerBuilder();
Regi... | {
"pile_set_name": "StackExchange"
} |
Q:
ESTA Elegible after Qatar?
I am planning a week vacation at the end of august, since I am a EU citizen I would like to know if visiting Qatar, Bahrain and Dubai will make me ineligible for an ESTA and therefore for a trip to USA later
A:
The US State Department says:
Visa Waiver Program Improvement and Terroris... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I make Linux recognize a new SATA /dev/sda drive I hot swapped in without rebooting?
Hot swapping out a failed SATA /dev/sda drive worked fine, but when I went to swap in a new drive, it wasn't recognized:
[root@fs-2 ~]# tail -18 /var/log/messages
May 5 16:54:35 fs-2 kernel: ata1: exception Emask 0x10 SAct ... | {
"pile_set_name": "StackExchange"
} |
Q:
Dispatch event occurs multiple times
I'm using a dispatch event in Symfony, And I don't understand because I have the kernel.response twice.
Controller:
/**
* @Route("/evento", name="evento")
*/
public function eventoAction()
{
$dispatcher = new EventDispatcher();
$subscriber = new StoreSubriber();
$... | {
"pile_set_name": "StackExchange"
} |
Q:
Getting error "Can not retrieve link from link field" while importing
I am getting error 'Cannot retrieve link from link field while content importing using content porter'. But I am not able to figure out where exactly the problem is existing. Help!!!!!
A:
I have Figured out the issue. There was a change in str... | {
"pile_set_name": "StackExchange"
} |
Q:
Format fails to copy text properties from the format-string for adjacent %-sequences
Take a look at this example:
(format (concat "%s" (propertize "%s" 'face 'error)) "foo" "bar")
"foobar"
(format (concat "%s " (propertize "%s" 'face 'error)) "foo" "bar")
#("foo bar" 4 7 (face error))
And the documentation of fo... | {
"pile_set_name": "StackExchange"
} |
Q:
Newtonsoft.JSON Serialization Array, Object, or Null
I have some JSON that can be a List or null. How do I create a POCO for this JSON?
Here is an example array:
http://pastebin.com/qAZF2Ug9
Here is my POCO:
http://pastebin.com/hUtgyytc
How can I tell Newtonsoft.JSON to ignore the SalesLine object, if it is null?
... | {
"pile_set_name": "StackExchange"
} |
Q:
¿Se puede transformar esta fecha por PHP o MySQL?
tengo la siguiente fecha: Sat, 30 May 2020 07:25:30 +0000
¿Se puede transformar usando PHP o MySQL al siguiente formato?
Como esta:
Sat, 30 May 2020 07:25:30 +0000
Como debería estar:
2020-05-30 07:25:30
Gracias.
A:
En PHP podrías primero leer el string inicial p... | {
"pile_set_name": "StackExchange"
} |
Q:
Utilization of MOSFETs as switches, design methodology
Let's say I want to use an nMos FET in a low side switching circuit as follows:
simulate this circuit – Schematic created using CircuitLab
Datasheet for IRF530 here.
Now, during my education in EE, I have learnt some operation regions for MOSFETs and formulas... | {
"pile_set_name": "StackExchange"
} |
Q:
TypeERROR after yarn upgrade (ReactJS project)
I ran the command yarn upgrade and then I got this error next time I did yarn start, and I have no idea why? Hoping someone can tell me whats going on here? No idea what to do to solve it. Tried googling it, without much luck as to what is wrong.
TypeError [ERR_INVAL... | {
"pile_set_name": "StackExchange"
} |
Q:
"Error Code: 2014. Commands out of sync; you can't run this command now" while creating a trigger
I am trying to write a trigger that in case of inserting will do following:
1)count number of seats in the plane
2)count number of passengers that are already on this flight
3)compare these values and insert new row i... | {
"pile_set_name": "StackExchange"
} |
Q:
Rails Devise: two different after_update_path_for
I have two pages rendering the update user form of Devise. The classic one (users/edit) and a '/page' page with just a part of the full edit form. I would like to have two different after_update_path whether the form is submited to one or the other page. I tried se... | {
"pile_set_name": "StackExchange"
} |
Q:
What should I do/study in high school if I want to be a software project manager?
I'm in high school and I'm curious about what I can do now to increase my knowledge about software management. What should I know about software management to better my chances of becoming a manager? How can I get 'real-world' experi... | {
"pile_set_name": "StackExchange"
} |
Q:
How to get screen resolution in C++?
Possible Duplicate:
How to get the Monitor Screen Resolution from an hWnd?
Is there a way to get the screen resolution in C++?
I have searched MSDN but with no luck. The closest thing I found was ChangeDisplaySettingsEx() but that doesn't seem to have a way to just return the... | {
"pile_set_name": "StackExchange"
} |
Q:
How to disable Warnings of Visual Studio 2012?
I have this error:
error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
and similar errors pop up when I use other old C functions.
My questio... | {
"pile_set_name": "StackExchange"
} |
Q:
Area of overlap of two circular Gaussian functions
I am trying to write code that finds the overlap of between 3D shapes.
Each shape is defined by two intersecting normal distributions (one in the x direction, one in the y direction).
Do you have any suggestions of existing code that addresses this question or fu... | {
"pile_set_name": "StackExchange"
} |
Q:
how to change width of without affecting width
I have here 2 photos. 1 is my HTML page and the other one is my print page.
My question is, how am I going to make my print page the same as my html page? As you can see, the print page is less wide than the HTML page.
Also, I want to ask how am I going to make the... | {
"pile_set_name": "StackExchange"
} |
Q:
How to apply my own function with r::apply()
I have following dataframe
GRATE GSHAPE
1 0.04 1.0
2 0.08 0.5
3 0.12 2.0
I want to compute a new column COL by following function
myfun = function (Rmax=150, precision=0.1, grate, gshape){
s = seq(0,Rmax,precision)
R = pgamma(s, rate=grate, shape=gsh... | {
"pile_set_name": "StackExchange"
} |
Q:
Garbage collection on the JVM for anonymous variable
I have a theoretical question I can't find an answer to -
Assuming I have a singelton instance A with inner private member a and a public
setter, now let's assume I set this member from another instance of
class type B in a private method as a consequence to so... | {
"pile_set_name": "StackExchange"
} |
Q:
test phonegap BarcodeScanner plgin in xcode simulator
I am using the BarcodeScanner PhoneGap plugin to build an ios app, to allow me to scan barcodes. The build gives no errors and the simulator starts fine. In the Xcode simulator however, when I click on the scan link, I get the following error:
unable to obtain... | {
"pile_set_name": "StackExchange"
} |
Q:
Trigger is not working in SQL Server 2012 on runtime?
In SQL Server 2012,
I create two tables TABLE1 and TABLE2
After that, I created a trigger for TABLE1
Trigger name: PUSH_TABLE2
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TRIGGER [dbo].[PUSH_TABLE2]
ON [dbo].[TABLE1]
AFTER INSERT
AS
BEGIN... | {
"pile_set_name": "StackExchange"
} |
Q:
How Do I Use C# Code In HTML To Get ID Out Of A SQL Database?
So I'm trying to create a website with a database and currently just wanting to check the database connnection by printing a number from the database in the HTML code. I'm terrible at scripts so please ignore that.
The C# code:
using System;
using Syste... | {
"pile_set_name": "StackExchange"
} |
Q:
Deserialize JSON with Gson - Expected BEGIN_OBJECT but was String - Reddit's JSON
I'm trying to deserialize JSON from Reddit that you can obtain by appending .json to the url. An example would be:
http://www.reddit.com/r/pics/comments/1wvx52/.json?sort=top
However, I am getting the error message:
Exception in t... | {
"pile_set_name": "StackExchange"
} |
Q:
How to make a variables within a constructor call methods?
So I am doing an assignment that is based around the energy consumption within a house. I have created a Person constructor that emulates a person within the house. I now want to make that person perform a task which is to have a shower. I have added the t... | {
"pile_set_name": "StackExchange"
} |
Q:
Arduino Assembler programming: Nothing happens
Hi StackOverflow community,
I am trying to program my old Arduino Duemilanove Board (Atmega 168V-10PU) in Assembler. I tried it a few times before but everytime the code was not executed. So i tried to program an equivalent test program in C, and it worked. Here it is... | {
"pile_set_name": "StackExchange"
} |
Q:
iOS and Google api
I am developing an app that will make a google search from a text input entered by the user.
My question is, do i need to use the google api or is it possible to just make a URL fetch with the user text, like so:
user entered "Skype"
NSURLSessionConfiguration * config = [NSURLSessionConfigu... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I run drush migrate for specific path site
I want to use drush to run the migrate command to upgrade my drupal version 6 to 7 using Data Export Import module.
I have two site in different path.
How do I run drush migrate for the Testing website below. Drupal version is 6.
Main website
/domains/site.com/pub... | {
"pile_set_name": "StackExchange"
} |
Q:
Center element inside div (circle)
How to center element inside circle. Here is example how is now https://codepen.io/anon/pen/JNmEVB. What I need to make to center inside div. I am trying with margin: 0 auto; but nothig :(. Do you guys any ideas how to make this. I need to center counter inside circle
Html
<body>... | {
"pile_set_name": "StackExchange"
} |
Q:
Bootstrap4 Disabled button white instead of supposed color
I am using a bootstrap button on one of my page, that is disabled, and the styling seems to not be working properly
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">
<button disab... | {
"pile_set_name": "StackExchange"
} |
Q:
Can I disable an account in mysql after x failed login attempts?
I would like to disable accounts after x failed login attempts. Is it possible?
A:
Also you can use fail2ban for this goal as too easily way . In this case you just install it on you linux OS, then enable the section for [mysqld-iptables] in the /e... | {
"pile_set_name": "StackExchange"
} |
Q:
changing the computer name on a IIS 7
Are there any issues in regards to IIS that result from changing the computer name on a IIS 7 server?
A:
IIS7 (Windows 2008) Does not have the same issue with the userids that IIS6 (Windows 2003) had. You can safely rename your web server.
| {
"pile_set_name": "StackExchange"
} |
Q:
can command more read from stdin?
It's common to use the command more. more is usually used with pipe. so I think more has the ability to read from stdin. every command separated by pipe is a process, and the one before more just create pipe and dup2 the write pipe to more's stdin. but I found that if I type "more... | {
"pile_set_name": "StackExchange"
} |
Q:
Unexpected match of regex
I expect the regex pattern ab{,2}c to match only with a followed by 0, 1 or 2 bs, followed by c.
It works that way in lots of languages, for instance Python. However, in R:
grepl("ab{,2}c", c("ac", "abc", "abbc", "abbbc", "abbbbc"))
# [1] TRUE TRUE TRUE TRUE FALSE
I'm surprised by th... | {
"pile_set_name": "StackExchange"
} |
Q:
Can I use Titan XP on MacBook?
Is the Nvidia's Titan XP compatible with Apple's MacBook (mid-2017)? I have never used external GPU but it seems to be that you can use it on MacBook Pro.
However, MacBook doesn't have Thunderbolt.
Is it possible to use Titan XP on MacBook, with a connector like Thunderbolt to USB 3.... | {
"pile_set_name": "StackExchange"
} |
Q:
Adding link tags and rel="lightbox" around images Regex
How can i change this example when i just got the <image> tag and i want to add link tags around them and the rel lightbox attribute as well?
i cant figure it out. I'm just not good with regular expressions at all.
the example
$pattern ="/<a(.*?)href=('|\")(... | {
"pile_set_name": "StackExchange"
} |
Q:
Access private method or Variable in Test Class
I want to access Private Method or Variable in Test class.??
A:
Read about and use the @TestVisble annotation.
From the documentation:
Use the TestVisible annotation to allow test methods to access private
or protected members of another class outside the test c... | {
"pile_set_name": "StackExchange"
} |
Q:
Determine if the VBE is open
I'm trying to develop an 'auto run' macro to determine if the VBE is open (not necessarily the window of focus, just open). If this is TRUE then ... take some action.
If this macro is connected to a CommandButton it works but I can't get it to function anywhere in the ThisWorkbook:
Sub... | {
"pile_set_name": "StackExchange"
} |
Q:
Android Google Map Marker info to TextView
i would like to get my Marker info to textView, i am able to do that but it shows always only last one from JSON, any good ideas how to fix that?
My Plan was pretty easy, when user Clicks on Marker then it will make RealitveLayout "VISIBLE", it works so far, but my issue ... | {
"pile_set_name": "StackExchange"
} |
Q:
Teamcity build on every git commit vs build on pull request
We are setting up teamcity for our project which uses git. We have this debate on if we should trigger a build on every commit or on every pull request.
If i push a branch say A, and we have configured build on pull request on master then will the build b... | {
"pile_set_name": "StackExchange"
} |
Q:
Are complex projective spaces orientable?
I know that $\mathbb{RP}^1$ is oriented (since it is essentially the projectively extended real line), but $\mathbb{RP}^2$ is not (as the non-orientable surface of genus 1 it is arguably the simplest non-orientable surface). According to Wikipedia, for real projective spac... | {
"pile_set_name": "StackExchange"
} |
Q:
Impossible to fire CSV file download from Ajax query
I want to fire a download window from an Ajax query.
The Ajax query is launched when I click on a button on my page.
Here is the Ajax query (function called on click on the button):
function exportDetailOuvrage(idData){
$.ajax({
url : 'ouvrage.php',... | {
"pile_set_name": "StackExchange"
} |
Q:
A Problem With Deriving Ideal Gas Entropy From Multiplicity
To derive the entropy of an ideal gas via the ergodic hypothesis, we first find the density of states function:
$$g(E)=\frac{V^{N}}{h^{3N}}\frac{(2\pi m E)^{\frac{3N}{2}}}{\left(\frac{3N}{2}-1\right)!}\frac{1}{E}$$
The multiplicity is then give by $\Omega... | {
"pile_set_name": "StackExchange"
} |
Q:
MSDeploy 1-click publish not working from VS2010
We are working towards automated deployments and I was really exited about using MSdeploy to help get us there. Unfortunately, I have been having no luck with getting MS deploy to work with VS2010 and I am about to give up.
Our Win 2008 server is in the datacenter... | {
"pile_set_name": "StackExchange"
} |
Q:
Format styles based on some conditions in highcharts
I am developing a chart for an app(android/ios) . I want to style the graph based on some condition , like if the OS is android , the font size should be 14dp and if OS is iphone , it should be 9dp . I get the osname as parameter in the function , I am able to s... | {
"pile_set_name": "StackExchange"
} |
Q:
How can you access the Visual Studio solution level platform from a C# project's build event?
We have a large VS 2010 solution that is mostly C# code but there are a few native DLLs that various C# projects depend upon (including our unit testing DLL). We're in the processing of trying to support both 32-bit and ... | {
"pile_set_name": "StackExchange"
} |
Q:
polymerfire/firebase-query transaction complete event
Very new to Polymer and Polymerfire. I couldn't find an answer here so hoping I can get help here. The basic question I have is "how do I work with the data that polymerfire/firebase-query sends?" Note I'm using polymerfire version 0.9.4, and polymer is vers... | {
"pile_set_name": "StackExchange"
} |
Q:
What was said by swami Vivekananda about Hinduism in Chicago Speech?
He has given a great speech about Hinduism and makes feel proud of us on our culture and Hinduism. I have only always one thing in his that speech "All my dear Brothers and Sisters". I didn't hear anything else.
Here, I just want some brief descr... | {
"pile_set_name": "StackExchange"
} |
Q:
Qt Cryptographic Hashing
I been trying to use the Qt Encryption libraries and have been having trouble.
The ones that ship with Qt (QCryptographicHash) work well but only support
hash schemes that are insecure like md5 and SHA1, there is no SHA256 for example.
I found the Qt Cryptographic Architecture (QCA) which ... | {
"pile_set_name": "StackExchange"
} |
Q:
auto-rotating a jq.carousel using setInterval, and pausing on hover
I'm using jq.carousel and as it doesn't have an auto-rotate function built in I'm using setInterval to advance it every second by calling $carouselHome.carousel('next').
This works, but I need to add 'pause on hover'. Here's what I have so far whi... | {
"pile_set_name": "StackExchange"
} |
Q:
How to speed up this TSQL query?
I have a TSQL select query that is running "slow"
SELECT
CustomerKey
,ProductKey
,RepresentativeKey
,ReportingDateKey
,SUM(i.InvoiceQuantity) AS InvoiceQuantity
,SUM(i.InvoiceQuantityKg) AS InvoiceQuantityKg
,SUM(i.BrutoInvoiceLineAmount) AS BrutoInv... | {
"pile_set_name": "StackExchange"
} |
Q:
What does "interactive query" or "interactive analytics" mean in Presto SQL?
The Presto website (and other docs) talk about "interactive queries" on Presto. What is an "interactive query"? From the Presto Website: "Facebook uses Presto for interactive queries against several internal data stores, including their ... | {
"pile_set_name": "StackExchange"
} |
Q:
Export table to $\LaTeX$ - copy as
I have the following final expression which is a table (I am posting only a subsection of the table to illustrate the problem). I am pasting it from Mathematica without table formatting (to the bottom of the post) directly and it looks ugly, however, in table form looks as in the... | {
"pile_set_name": "StackExchange"
} |
Q:
SQL inserting value of a specific column under multple case
Suppose I have got a table which I have to insert the description of the contract under different keys of contract.
But when executing, there is a n error near then
Is there any limitation of using syntax set ?
The below is my SQL
declare @i int, @j v nv... | {
"pile_set_name": "StackExchange"
} |
Q:
Como utilizar Infinite Scroll dentro de um ion-card?
Preciso que o InfiniteScroll emita um evento ao rolar o scroll do card, e não da página.
import { Component, OnInit, ViewChild } from '@angular/core';
import { GrupoService } from 'src/app/services/grupo.service';
import { ActivatedRoute, Router } from '@angu... | {
"pile_set_name": "StackExchange"
} |
Q:
Does pthread_create start the created thread?
Does the function "pthread_create" start the thread (starts executing its function), or does it just creates it and make it wait for the right moment to start?
A:
pthread_create creates the thread (by using clone syscall internally), and return the tid (thread id, li... | {
"pile_set_name": "StackExchange"
} |
Q:
Why does sample() not work for a single number?
sample(x,n) The parameters are the vector, and how many times you wish to sample
sample(c(5,9),1) returns either 5 or 9
however,
sample(5,1) returns 1,2,3,4, or 5?
I've read the help section:
If x has length 1, is numeric (in the sense of is.numeric) and x >= 1,
... | {
"pile_set_name": "StackExchange"
} |
Q:
Again, ObservableCollection doesnt Update item
Thats my first project using MVVM , MVVM light.
I have a listbox, that gets refreshed from the PersonList Observable collection, adding and removing refresh it normal. the problem is when editing an item.
I looked for all the solutions for this problem, nothing worked... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I replace only a specific value in an XML document without changing anything else?
I've been trying to replace a specific value from an xml document in memory before creating a message log of the XML.
I've managed to do a replace, but the Regex replace method seems to replace other items as well.
I've had t... | {
"pile_set_name": "StackExchange"
} |
Q:
Generating pdf using itextsharp in asp.net c#
I want to generate pdf file as attached in the picture. i want to harcode the contents shown in the picture into a pdf file on button click.
How do i proceed, using table structure will work?I am unable to form the table stucture here.
Please help me to sort out my pro... | {
"pile_set_name": "StackExchange"
} |
Q:
What's wrong when I use ImageApplyIndexed?
I am reading a ebook called Basic image processing in Mathematica which can download free in the iBooks.
In the page 114,it introduce a function ImageApplyIndexed.
i = ConstantImage[Black, {50, 50}];
{width, height} = ImageDimensions@i;
Clear[f];
f[pixel_, pos_] :=
Mo... | {
"pile_set_name": "StackExchange"
} |
Q:
Rails and Authlogic. Show currently logged in users
I would like to have the list of currently logged in users.
This code doesn't work :
<% UserSession.all.each do |user_session| %>
<% end %>
A:
@syed-aslam has a good solution, but you could just let Authlogic do the work. Check out the module Authlogic::ActsAs... | {
"pile_set_name": "StackExchange"
} |
Q:
Avoding instanceof in Java
In my application I have a 2d array of entities to represent a grid. Each location in the grid can either be empty or occupied by an entity (in this case it's just a person or wall). Right now I use instanceof to check whether an entity is a person or a wall.
I was thinking of giving ea... | {
"pile_set_name": "StackExchange"
} |
Q:
Reduce 0-1 knapsack prob. to a SAT prob
Is there any way to reduce the 0-1 knapsack problem to a SAT problem in Conjunctive Norm Form?
A:
You could always work out the digital circuits necessary to implement adders and comparators and then turn the result of that into conjunctive normal form. You can get circuit... | {
"pile_set_name": "StackExchange"
} |
Q:
Find value in array of objects
I have an array of objects, each object contains n key/value pairs. I need to return an array of the objects which has a value matching x.
Using Underscore.js I could use _.findWhere however I don't know what key the value will be under.
I could obviously loop the array, fetch all of... | {
"pile_set_name": "StackExchange"
} |
Q:
How to fix a workspace that has been opened with "Run as Administrator" in Eclipse?
I opened Eclipse IDE with the "Run As Administrator" one day to do updates and install new software. Then I forgot, and continued to work on my project. Now, I can't work in that workspace unless I run Eclipse IDE with "Run As Ad... | {
"pile_set_name": "StackExchange"
} |
Q:
Yahoo Pipes and regex: Why does it work only for my first item?
Here is my pipe: http://pipes.yahoo.com/pipes/pipe.info?_id=a732be6cf2b7cb92cec5f9ee6ebca756
I am currently trying to get the part before the first space to my item.url and the second part will be the title.
For instance, first item is:
http://carto1.... | {
"pile_set_name": "StackExchange"
} |
Q:
How can I set a listnode value to Null without getting this error?
I just would Like to take a moment to thank Remy Lebeau for editing this post for me.
MY compiler is giving me this error:
main.cpp:93:20: error: invalid conversion from ‘int’ to ‘listnode*’ [-fpermissive]
temp -> next = NULL;
This is in the In... | {
"pile_set_name": "StackExchange"
} |
Q:
Autocompletion library in C++
I need an auto-completion routine or library in C++ for 1 million words. I guess I can find a routine on the net like Rabin–Karp. Do you know a library that does this. I don't see it in Boost.
Also, is it a crazy idea to use MySql LIKE SQL request to do that ?
Thank you
EDIT: It is t... | {
"pile_set_name": "StackExchange"
} |
Q:
Passing parameters in the Form constructor, winforms c#
I have a following inheritance hierarchy:
Class A : Form
Class B : Class A
Class A needs to be able to accept a parameter so that I can create the instance of Class B like this:
ClassB mynewFrm = new ClassB(param);
How do I define such a constructor in Clas... | {
"pile_set_name": "StackExchange"
} |
Q:
Jquery doesn't update an attribute as expected
I have an MVC App and on one of my pages as part of the display I will render one of two partials based on a user selection of a radio button. This bit all works ok, but I have a button on the main form where I need to set/reset values that will be passed to my contro... | {
"pile_set_name": "StackExchange"
} |
Q:
Closed launchd in OS X, the screen is now blank
I have a 2 year old Mac book running whatever the newer OS X is. For some reason I was playing in activity manager and deleted launchd and now I'm just looking at a blank screen and my computer won't even shut down. Please help?
A:
Hold down the power button for 10... | {
"pile_set_name": "StackExchange"
} |
Q:
How to input data into table from MySQL?
I've created a page that is supposed to pull all the domains from my database and display them in a table. Pagination is setup to show 1002 domains per page and the table should be 3 columns.
When I'm not sure what to do is towards the end where you can see "Row Test1" and... | {
"pile_set_name": "StackExchange"
} |
Q:
Am I locked to one solc version for upgradeable smart contracts?
I want to use delegatecall to make my contracts upgradeable.
Is it true that variable layout may break if I change the solc version and therefore I should use the same Solidity version for all future versions of my contract?
A:
From Solidity the do... | {
"pile_set_name": "StackExchange"
} |
Q:
Send gridview data from client side to server side at once
In an ASP.NET 2.0 web application, there is a gridview containing checkbox in first column.
When checkbox is checked either Header Checkbox or Row Checkbox, OnCheckChange event triggers on server side. In this event, the specfic row data or all rows data (... | {
"pile_set_name": "StackExchange"
} |
Q:
ListView+Viewpager Android
I am confused on implementing a design. I have a list of items which I want to show in a ListView. Now what I want to achieve is that the listview would show first 4 items and to view the next set of items, I want to enable view pager instead of vertical scrolling i.e the next set of 4 i... | {
"pile_set_name": "StackExchange"
} |
Q:
how to remove path of my command line?
When I start to enter in different folder the path is registered in my command line and I don't know how to remove it.
I am almost sure my question wasn't clear. An example is always better.
Once in home:
luiz@feynman:~$ cd Music/
luiz@feynman:~/Music$ cd Beatles/
luiz@feynm... | {
"pile_set_name": "StackExchange"
} |
Q:
Jquery how to select all element but children
I have a code like that:
<div id="mn">
<span></span>
<span> <span></span></span>
<span></span>
<span> <span></span></span>
<span></span>
</div>
when i use:
$("#mn").each(function(index, element) {
)};
it selects all span tags and span inside span ta... | {
"pile_set_name": "StackExchange"
} |
Q:
How to avoid redundant data (list fetching) in JPA One To Many mapping (Two One to Many relation in same model)?
I have three Model. BookingDetail have One To Many relation to both LookupFoodItem and LookupFacility model.In my database there is 4 LookupFacility record and 4 LookupFoodItem record. When I'm fetching... | {
"pile_set_name": "StackExchange"
} |
Q:
Reading file backward while using variable from first line
I want to read a file back ward while using a variable present in the first line (here: 2636).
My file:
nx_ 2355 ny_ 2636
0.000000 0.000000 0.000000
1.000000 68.000000 0.428139
2.000000 68.000000 0.939878
3.000000 67.000000 0.757181
4.000000 68.000000 0.00... | {
"pile_set_name": "StackExchange"
} |
Q:
Using backspace with getch() in python curses
I want the user to be able to type with each character, the way that getch() works. I also have echo() turned on because I want to print out each character that the user types. However, I also want the user to be able to hit backspace and have the key that he pressed b... | {
"pile_set_name": "StackExchange"
} |
Q:
how to update record in rails controller
am using stripe for users to subscribe. from there i collected the stripe date and save it in subscription mode. i created enum for my user model to assign different roles base on the stripe subscription id.
here is how my user model looks like
class User < ApplicationRecor... | {
"pile_set_name": "StackExchange"
} |
Q:
dSPACE ControlDesk error - No free memory available.[0.000]
When using a large sampling rate, no data could be measured (displayed yes but not plotted/stored) and I get the following error from the log file:
ControlDesk NG Platform: Error 16:19:41 0,0:No free memory available.[0.000] (0xCA,1)
dSPACE used - ... | {
"pile_set_name": "StackExchange"
} |
Q:
Optimize SQL query multiple joins with count tables
By any chance you would be able to help optimize this query without me showing you the tables?
My original table that all of these queries are derived from has the following columns and the table is named laterec-students
-----------------------------------------... | {
"pile_set_name": "StackExchange"
} |
Q:
Change the check box position
In the view I've browse file and check box currenlty the check Box is above the browse control and I want it to be in the left side of it,how should I change it?
<div class="form-group">
@Html.LabelFor(model => model.Cert, new { @class = "control-label col-md-2" })
... | {
"pile_set_name": "StackExchange"
} |
Q:
Python: drop duplicated index in pandas dataframe
I have the date as below and the Date as Index. I want to remove the duplicated Date
Stock Open High Low Close Adj Close Volume
Date
2016-05-13 AAD 5.230000 5.... | {
"pile_set_name": "StackExchange"
} |
Q:
Was Valentino the first person to be called ‘sexy’?
According Etymonline , the term sexy underwent a semantic change in the early 1920s when it was used to for the first time with the connotation of “sexually attractive” in reference to Rudolph Valentino:
Sexy:
1905, from sex (n.) + -y (2). Originally "engrossed... | {
"pile_set_name": "StackExchange"
} |
Q:
Phonagap and Cordova cli not working
My problem is a little bit weird, I installed phonegap and cordova cli step by step from the official tutorial and when I try to use phonegap create or something else on my Ubuntu 14.04, but the terminal is not write anything and then waiting for the next command.
Example#1:
ex... | {
"pile_set_name": "StackExchange"
} |
Q:
How can an engine provide more torque at the point of contact than the ground's response by static friction without slipping?
In response to the top answer here: Newtonian Mechanics - How does something like a car wheel roll?
I clearly fundamentally misunderstand something here. I can't reconcile there being an an... | {
"pile_set_name": "StackExchange"
} |
Q:
Fitting and transforming text data in training, testing, and validation sets
I'm trying to implement a simple text classifier wherein the data is split into training (70%) and testing (30%) sets, but cross validation (k=10) to be performed on the training set.
My main concern here is the basis used for transformin... | {
"pile_set_name": "StackExchange"
} |
Q:
Google script spreadsheet, email sending row based
I am trying to make a script that would make a spreadsheet, sending an email if expiry date is less than today but for each row by itself.
So I have a spreadsheet that has an expiry date, and email for each supplier and I want to send a reminder for the supplier ... | {
"pile_set_name": "StackExchange"
} |
Q:
Disable wifi adapter warning
I normally have my WIFI adapter disabled in Windows 7.
Whenever I restart or boot the machine, it pops up a warning that it is disabled. Doh, I know this. The balloon notification appears in the bottom right of the screen:
How can I disable this annoying warning (which interrupts and ... | {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.