text stringlengths 64 81.1k | meta dict |
|---|---|
Q:
Why was Mundungus banned from the Hog's Head?
In Order of the Phoenix while the trio were in the Hogs Head for the first time plotting the start of Dumbledore's Army, it transpires that ol' Dung was lurking in the pub in a disguise, having been banned 20 years previously according to Sirius.
Firstly, why was he b... | {
"pile_set_name": "StackExchange"
} |
Q:
Using M-Test to show you can differentiate term by term.
I have the series $\sum_{n=1}^\infty \frac{\lambda^{n-1}n}{n!}=\sum_{n=1}^\infty \frac{d}{d\lambda}\big(\frac{\lambda^n}{n!} \big)$
and I would like it to be $\frac{d}{d\lambda}\big(\sum_{n=1}^\infty \frac{\lambda^n}{n!})$.
I'm trying to show that this seque... | {
"pile_set_name": "StackExchange"
} |
Q:
What's the simplest way to pass a file as an argument in a simple shell script?
The following works fine on Mac OS X:
#!/bin/bash
R CMD Sweave myfile.Rnw
pdflatex myfile.tex
open myfile.pdf
Now, I realize that these 3 lines of code are really helpful for my work – independently of some particular file. Thus I'd l... | {
"pile_set_name": "StackExchange"
} |
Q:
¿Porqué en este loop de JavaScript la impresión de la variable es desde counter y no desde counter-1?
en mi búsqueda por aprender programación por mis propios medios, me he topado con el tema de recursividad y este simple código... mi pregunta ya que la variable counter comienza desde 10 y dentro del loop While el... | {
"pile_set_name": "StackExchange"
} |
Q:
Python: My return variable is always None
So I found a strange thing that happens in python whenever I try to return an optional parameter or at least I think that is why it is happening.
Here is my code
def reverse(string, output = ""):
if string == "":
print "winner: ", output
return output
... | {
"pile_set_name": "StackExchange"
} |
Q:
TextView Not centered in app but centered in match_constraint
I've created a simple activity design using ConstraintLayout.
Whenever I try to center a textView, it does it correctly in the blueprints but never does it in the actual app. Not sure if i am doing something wrong or I'm losing my mind.
Here is the imag... | {
"pile_set_name": "StackExchange"
} |
Q:
Python Segmentation Fault?
First off, I didnt even know a memory error / segfault was possible in python. Kudos to learning something new!
I have this database I create
database = DBManager(dbEndpoint,dbUser,dbPass,dbSchema)
And then I try to use it in a thread
def stateTimeThreadStart():
database.getTable('... | {
"pile_set_name": "StackExchange"
} |
Q:
HP MSA70 / P800 Array Failure - Shows 2 drives in each slot, 13/25 drives "missing"
We have an HP MSA70 with 25 x 600GB HP SAS 10k DP drives, connected to an HP P800 controller. The drives are configured in RAID 6.
Yesterday, some kind of unknown "event" occurred and the array dropped offline. We rebooted the ... | {
"pile_set_name": "StackExchange"
} |
Q:
sql queries and inserts
I have a random question. If I were to do a sql select and while the sql server was querying my request someone else does a insert statement... could that data that was inputted in that insert statement also be retrieved from my select statement?
A:
Queries are queued, so if the SELECT oc... | {
"pile_set_name": "StackExchange"
} |
Q:
Como passar objetos entre controllers no MVC utilizando POO
Basicamente, eu preciso que ser o login for bem sucedido salvar o nome de usuário em uma variável e utilizar-lá em outro controller.
Model.php:
public function login($email, $password) {
session_start();
$sql = "SELECT * FROM users WHERE email... | {
"pile_set_name": "StackExchange"
} |
Q:
StAX and arraylist java
I'm trying to read an xml document with StAX but I have a little problem and i don't know how to fix it, I've tried to look for over internet (maybe i'm using the wrong key word for my problem :/)
so I've this XML:
<questionReponses
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmln... | {
"pile_set_name": "StackExchange"
} |
Q:
Can a existing mapreduce program be made to run from a specified offset of input file
Is there any way to run an existing mapreduce program so that it processes only from a given offset of the input file?
Eg:
If given offset is 500, the mapreduce program should start processing input file from 500th byte.
A:
It ... | {
"pile_set_name": "StackExchange"
} |
Q:
A japanese saying "一をいうと十返ってくる"
I'm currently trying to read a japanese novel and I found this expression :
一をいうと十返ってくる
It was meant to qualify a character, but I just don't get it. At first I thought it could mean "tell one and give back ten", so I thought it meant this character tends to do more than he was a... | {
"pile_set_name": "StackExchange"
} |
Q:
Doctrine2 entity default value for ManyToOne relation property
I've got a Doctrine2 Entity called "Order", which has several status properties. The allowed status' are stored in a different Entity, so there is a ManyToOne relation defined for those entities.
/**
* @ORM\Entity()
*/
class Order extends AbstractEnt... | {
"pile_set_name": "StackExchange"
} |
Q:
React typescript ref return null in conditional rendering
I want to use React refs, it works fine in static rendering, e.g:
<footer ref="ftr"></footer>
But, not in conditional rendering, e.g:
{footer ?
<footer ref="ftr"></footer>
: null}
When I called ReactDOM.findDOMNode(this.refs.ftr);, the first way re... | {
"pile_set_name": "StackExchange"
} |
Q:
Not populating tableview with structure array
I need to populate my tableView with an array of a structure. The first property of the structure is the name. This is what I tried...
var menuArray:[Restaurant] = [Restaurant]()
override func viewDidLoad() {
super.viewDidLoad()
let shake = Item(name: "Shake", car... | {
"pile_set_name": "StackExchange"
} |
Q:
How to Compile and Debug C++ in Notepad++ using Turbo C++ Compiler
I have installed NppExecute plugin in notepad++. I am not able to figure out next step to compile and debug C,C++ programs in Notepad++.
System Details: (a) Turbo C directory C:\TC (b) OS Windows 7
Please provide complete details on how to set Envi... | {
"pile_set_name": "StackExchange"
} |
Q:
bootstrap.min.css sets transparency where not wanted
I have a small chatbox at the bottom of my page which seems to be inheriting CSS style from bootstrap.min.css and that chatbox is transparent which is a nuisance because the underlying text on the page shows through and what is worse, is that hyperlinks on the p... | {
"pile_set_name": "StackExchange"
} |
Q:
Where to get flight dynamics for a flight sim model?
Once, a while ago, I tried to create a Flight Simulator X model for an aircraft that I wanted a model of, but was soon overwhelmed by having to guess so much of the flight dynamics. Is there somewhere where I could get detailed information about the flight dynam... | {
"pile_set_name": "StackExchange"
} |
Q:
Is it ok to ask questions on Stack Overflow to improve my coding skills?
I have some questions I want to ask to other (experienced) programmers on Stack Overflow.
The goal of those questions is gaining knowledge to become a better programmer.
I think it's a great idea to ask an experienced programmer I know to tak... | {
"pile_set_name": "StackExchange"
} |
Q:
Is the sum of separating vectors always separating?
If $\mathcal{R}$ is a von Neumann algebra acting on Hilbert space $H$ and $v, w \in H$ are separating vectors for $\mathcal{R}$, must $v+w$ be (either zero or) separating for $\mathcal{R}$?
[I have edited to remove the restriction to type III factors and am movin... | {
"pile_set_name": "StackExchange"
} |
Q:
CMake link directory passing when compiling shared library
Say I have C project with the following structure (simplified):
|- CMakeLists.txt <- This is root CMake
|- lib
|- <some source files>
|- CMakeLists.txt <- CMake file for building the library
|- demo
|- <some source files>
|- CMakeLists.... | {
"pile_set_name": "StackExchange"
} |
Q:
What are the challenges for recognising the handwritten characters?
This 2014 article saying that a Chinese team of physicists have trained a quantum computer to recognise handwritten characters.
Why did they have to use a quantum computer to do that?
Is it just for fun and demonstration, or is it that recognising... | {
"pile_set_name": "StackExchange"
} |
Q:
Class AB amplifier
What role does Rv play in this AB class amplifier?
A:
This is a class B amplifier: -
Your circuit is a class AB amplifier: -
Rv adjusts the bias point of the two transistors so that T1 and T2 are always conducting a little bit of current - this avoids excessive cross over distortion: -
See ... | {
"pile_set_name": "StackExchange"
} |
Q:
How to create a navbar with 2 collapse menu?
My codes are working fine on mobile view but on desktop right side Links are getting out of nav-bar. i am trying to create nav bar with Brand in center, search bar on left and links on right. and how to move hambuger bar on left and search on right side on mobile view ... | {
"pile_set_name": "StackExchange"
} |
Q:
Issue with jquery remove method on IE7?
<table class="myCustomers">
<tbody>
<tr>
<td>
<ul id="salesCustomers">
<li title="cust 1"><a id="cust_1" >customer 1</a></li>
<li title="cust 2"></li>
</ul>
</td>
</tr>
</tbody>
when i do on below on IE 7, DOM element correspo... | {
"pile_set_name": "StackExchange"
} |
Q:
Django ModelForm not showing up in template
I've been using django for a couple of days now and I'm trying to create a small app to learn the whole stuff.
I've read about the ModelForms and I wanted to use it in my app, but I can't get it to render in my template and I can't find the problem, so I was hoping you g... | {
"pile_set_name": "StackExchange"
} |
Q:
Assembly in Visual Studio 2013 not building even after enabling Microsoft Macro Assembler
I'm trying to run a pretty basic assembly file to do a little math and print the output, nothing challenging. I've followed the steps given from places such as here but my build still fails and there are errors on every sing... | {
"pile_set_name": "StackExchange"
} |
Q:
Send user to edit page without inserting the record
I currently have an Apex class that pulls the data from a record of one custom object 'property__c' and uses it to create a record of another object 'proposal__c' and then redirects the user to this new record's edit view.
However, there's a problem with this. On... | {
"pile_set_name": "StackExchange"
} |
Q:
Query returns wrong result
Possible Duplicate:
Why are my SEDE results inaccurate/obsolete/incorrect/outdated?
I've run the following query, just to see if it actually works, but I'm getting no results even though I have dozens of posts:
select
q.Id
from
Posts q
where
q.OwnerUserId = 1525840
What's going ... | {
"pile_set_name": "StackExchange"
} |
Q:
Listbox returns System.Data.DataRowView instead of values
I am doing a project for my school, where I have to make a C# Windows Forms application that lets me interact with my PostgreSQL database. I have made a listbox, which is supposed to get the names of the tables from my database, and when I select these name... | {
"pile_set_name": "StackExchange"
} |
Q:
ssh authentication failure with public/private keys
I'm setting up a Continuous Deployment pipeline on gitlab.
Unfortunately, when trying to ssh from the pipeline to the target server, the authentication fails.
I am asking the question here because I am fairly sure the problem is unix related and not gitlab.
Here ... | {
"pile_set_name": "StackExchange"
} |
Q:
Where is the Registry running
I can create a container running a registry: docker run -d -p 5000:5000 --restart=always --name registry registry:2
But docker has a default registry, I can see that the registry is at Registry: https://index.docker.io/v1/ and it must be local, but where is it - do you know?
It is cor... | {
"pile_set_name": "StackExchange"
} |
Q:
Bootstrap tree-view: Tree doesn't show up
I'm new to tree-view, I'm trying to show a basic tree but it doesn't work and I don't know where I made the mistake.
I made test.html that follow the same structure of my basic.html (I'm sparing you code of the navbar, alerts, etc). I have other js functions in functions.j... | {
"pile_set_name": "StackExchange"
} |
Q:
XML Schema for analysis in C#
Is it possible to use a XML Schema to check against the contents of a XML file?
For instance, in ASP.NET web.config, can I create a schema to check that <customErrors mode = "On">? This will ultimately be used in a C# app, the C# app should take in the XML document and the XML Schema ... | {
"pile_set_name": "StackExchange"
} |
Q:
Cell should contain example input value for user to see
I want to create automated cells in Excel which will show the type of data to be entered in that cells. I want to create cells which will show "Enter Username here", " Enter DOB here" same as that which shows in fb and Gmail login page. I don't want to save a... | {
"pile_set_name": "StackExchange"
} |
Q:
Is a low number of members in a class considered a code smell?
I am currently making a simple to-do list program using the MVC pattern, and thus have a model class for the Notebook. However, something feels "off" as it has a very low number of members.
The Notebook is composed of categories, which are composed of ... | {
"pile_set_name": "StackExchange"
} |
Q:
Is it focus or depth of field?
I was trying to shoot a group of people standing clumped but at different distances, quite close to me, think disorganized portrait. I have a Nikon d750, and was not able to get everyone into focus. If I brought the people closer to me in focus, then the background were blurred and... | {
"pile_set_name": "StackExchange"
} |
Q:
¿Cuál es el valor primitivo de [] con base en ECMAScript 2016 (versión 7)?
Para escribir una respuesta a ¿Cómo funciona el condicional if (!+[]+!+[] == 2) en JavaScript? me aventuré a utilizar https://www.ecma-international.org/ecma-262/7.0/index.html para las referencias.
En ToPrimitive se explica el procedimient... | {
"pile_set_name": "StackExchange"
} |
Q:
Modoboa 1.1.1 Deployment Errors
I tried to install modoboa follow this steps: http://modoboa.readthedocs.org/en/latest/getting_started/install.html
I installed modoboa with pip install modoboa:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
Fil... | {
"pile_set_name": "StackExchange"
} |
Q:
Do we want an xkcd tag?
xkcd is referred to often on PPCG, with at least 47 questions which are based on concepts or directly related to the xkcd webcomic.
Therefore, is it worthwhile introducing an xkcd tag to group all of these challenges together?
A:
No
Tags are meant to classify questions according to some d... | {
"pile_set_name": "StackExchange"
} |
Q:
Binding value to select in angular js across 2 controllers
Working with angularJS I am trying to figure out a way to bind the value of a select element under the scope of controller A to use it as an argument for an ng-click call [getQuizByCampID() Function] under the scope of controller B.
My first idea was to us... | {
"pile_set_name": "StackExchange"
} |
Q:
Pass values to IN operator in a Worklight SQL adapter
I have started to work with SQL adapters in Worklight, but I do not understand how can I pass values to an IN condition when invoking my adapter procedure.
A:
You will need to edit your question with your adapter's XML as well as implementation JavaScript...
... | {
"pile_set_name": "StackExchange"
} |
Q:
How to change XML from dataset into HTML UL
I'm working on a C# webforms application and have a datalayer which gathers information about the menu a customer can see, based on their customer number and order type.
I was using the ASP.NET menu control for this until the qa department asked to change the menu to exp... | {
"pile_set_name": "StackExchange"
} |
Q:
how to get result with cursor and paging using ZSCAN command with stackexchange.redis library?
I am using stackexchange.redis.
in that zscan is giving all matched value
I want to get exactly given page size result and next cursor for remaining values.
I have debugged its source code library in that i found tha... | {
"pile_set_name": "StackExchange"
} |
Q:
How to create a django User using DRF's ModelSerializer
In django, creating a User has a different and unique flow from the usual Model instance creation. You need to call create_user() which is a method of BaseUserManager.
Since django REST framework's flow is to do restore_object() and then save_object(), it's n... | {
"pile_set_name": "StackExchange"
} |
Q:
Reading a text file and moving files from it to a directory
I have a directory of images. Some of these images must be stored in a text file like 'pic1.jpg'
I need to extract this filename, pick up the matching file from the current working directory and move it to a separate folder (under the cwd).
This is the co... | {
"pile_set_name": "StackExchange"
} |
Q:
Are all I2C sensors interoperable?
I have a quadcopter flight controller (RTFQ Flip MWC) that supports I2C sensors for adding thing like a barometer, magnetometer, and GPS system. The officially supported sensor block (BMP180, HMC5883L on one board) is discontinued, as far as I can tell.
I have found other I2C ba... | {
"pile_set_name": "StackExchange"
} |
Q:
Identify slow solr queries
There are some queries that run very slow on my setup. Is there an easy way to identify and collect them (maybe through logs, or the admin console), so that I can do some performance analysis later on?
A:
yes, very easy in the logs, look at a sample line
INFO: [core0] webapp=/solr path... | {
"pile_set_name": "StackExchange"
} |
Q:
Assign values to dynamic number of sub-classes before serializing to JSON
I am integrating with a courier that requires me to pass box dimensions for each box in my consignment to their API in JSON format. I am able to set individual properties like RecipientName, but am not sure how to pass the box details for th... | {
"pile_set_name": "StackExchange"
} |
Q:
AndroidQuery ajax doesn't call php page when page contains IFRAME
I tried the following code to access my PHP page:
String url = "http://mypage.example.com/test.php?name="+data;
aq.ajax(url, String.class, new AjaxCallback<String>() {
@Override
public void callback(String url, String html, AjaxStatus statu... | {
"pile_set_name": "StackExchange"
} |
Q:
Bold Font in Linux
Re-Edit of the question for clarification: Blender only has one font and it doesn't turn bold. Any way to make easily make it bold?
So, I am using the RC1 release of 2.8 right now to make a logo for a possible client, but it looks like Blender only comes with a single font and it doesn't turn to... | {
"pile_set_name": "StackExchange"
} |
Q:
Page transitions, depending on URL
This code fades each page out, before going to the URL's destination. However, there are some instances where the user doesn't go to a new page, but goes to a PDF in the browser, or it opens the default mail application. On Safari it seems, if you go to an external site (www.twit... | {
"pile_set_name": "StackExchange"
} |
Q:
Classic vs universal Google analytics and loss of historical data
I'm keen to use some of the new features in Google Universal Analytics.
I have an old site though that I don't want to lose the historical data for. The comparisons with historical data are interesting for example.
However Google doesn't appear to ... | {
"pile_set_name": "StackExchange"
} |
Q:
How to make a field in a table reference to another table in MySQL/MariaDB?
Say I'm setting up an small database with just 2 tables: feeds and feeditems.
In one table I'd store the feedname and url, with an ID as unique key.
In the second table I'd like to store some info coming from feed items (in example: date, ... | {
"pile_set_name": "StackExchange"
} |
Q:
extjs data reader reading data from nested object of an xml reponse
I have xml file with following structure
<root>
<o1>
<p1></p1>
<p2></p2>
<p3></p3>
<o2>
<p1></p1>
<o3>
<p2></p2>
<p3></p3>
</o3>
<o2>
</o1>
</root>
I want the model to be loaded ... | {
"pile_set_name": "StackExchange"
} |
Q:
Download OS X App Store updates to update multiple Macs
I have two MacBook Airs, but I have very limited bandwidth. I would prefer to download updates once and then copy them onto all the other MacBook Airs. How can I download App Store updates once to update multiple Macs?
A:
There are two types of update.
OS X... | {
"pile_set_name": "StackExchange"
} |
Q:
MySQL replication: "Houston, We've Got a Problem"
I ran into a problem with our replication server. Essentially, we have 2 databases (database1 and database2). Master server has both. Slave has only database1. There is a
Replicate_Do_DB: database1
set in CHANGE MASTER TO configuration.
Now what happened is - we a... | {
"pile_set_name": "StackExchange"
} |
Q:
Social buttons and changing attributes using EmberJS
I'm trying to have two social buttons (facebook & twitter) on my website using EmberJS. I'm binding the URL of those buttons to an attribute url (for example).
The problem is that the attribute url is changing, and the buttons are not reloading.
I did a spin-off... | {
"pile_set_name": "StackExchange"
} |
Q:
Is there a way to get a list of the currently addedtostage events in JavaScript without jQuery?
I am wondering if there is a way to get a list of the currently addedtostage events in JavaScript without jQuery?
I want to know this because I want to remove these events later.
I looked around on stackoverflow but I c... | {
"pile_set_name": "StackExchange"
} |
Q:
Is it necessary to install Yoast for a website which is installed inside an existing WordPress installation folder?
I am setting up a new website inside an already installed WordPress website folder (e.g., www.example.com/newsite/). I am using the Yoast SEO plugin for my old website (www.example.com). Is it necess... | {
"pile_set_name": "StackExchange"
} |
Q:
Corona sdk Get Sim Card Details
I'm creating an Application using Corona sdk with Lua Language, can anyone help me with getting Sim Card details such as, mobile Number, pin no .. etc
Thank you
A:
Corona provides system.getInfo() for getting device-specific information. I dont think you can find the mobile Number... | {
"pile_set_name": "StackExchange"
} |
Q:
Scale down numbers with known max min to new max min in PHP
Let's say I have this array of numbers:
$arr = [100, 60, 30, 22, 1]
and it's based off a 1 - 100 range. And I want it based of a 1 - 5 range.
I have found this answer here: How to scale down a range of numbers with a known min and max value which details:... | {
"pile_set_name": "StackExchange"
} |
Q:
Disciplining: what to do when kid starts hiding his mischief?
We try to set well-defined/predictable and not-to-harsh consequences for mischief of our 4.5-year-old: timeouts, taking away toys, refusing to play, skipping story-time, etc., but no physical punishment, long solitary timeouts or excessive shouting. Aft... | {
"pile_set_name": "StackExchange"
} |
Q:
Multiple lock owners in SQL Server 2014
I've encountered a deadlock on SQL Server 2014, and created a deadlock report using extended events. Below is an excerpt from the report.
What does it mean for objectlock(objid="554979041") to have multiple owners (namely, process14f3f2108 and processf32b5848 (twice)). I un... | {
"pile_set_name": "StackExchange"
} |
Q:
Silverlight resource constructor always return to internal
When I modify my resource file (.resx) add text or modify, the constructor of my resource always go to internal and after that, when I run my silverlight I have an error in my binding XAML.
Is there a way to avoid this scenario? I need to go in the designe... | {
"pile_set_name": "StackExchange"
} |
Q:
How to check if file exist when downloading from FTP
I'm downloading from FTP server and I don't know exactly how to check if file already exist. What I want to do is that I retrieve filname from FTP server and then compare it with all files in folder. If file already exists then it compares next FTP filename with... | {
"pile_set_name": "StackExchange"
} |
Q:
Conditional formatting: making cells colorful
is it possible to do the following:
loc1 <- c("Aa", "Aa", "aa", "Aa")
loc2 <- c("aa", "aa", "aa", "AA")
loc3 <- c("aa", "Aa", "aa", "aa")
gen <- data.frame(loc1, loc2, loc3)
loc1g <- c(0.01, 0.5, 1, 0.75)
loc2g <- c(0.2, 0.1, 0.2, 0.6)
loc3g <- c(0.8, 0.8, 0.55, 1)
pv... | {
"pile_set_name": "StackExchange"
} |
Q:
unable to display array result
I got the following array. now I get the single records but when is their array records then it doesn't work. I tried with OR condition but it doesn't work.
$this->db->get_where('genre',array('genre_id'=>$row['genre_id']))->row()->name;
//I get Follwoing Records
Array(
[0] => Array
... | {
"pile_set_name": "StackExchange"
} |
Q:
What is the advantage of using a digital signature over simple asymmetric encryption?
If you're sending me a message, you can:
a) Encrypt the message using your private key, and I can decrypt is using your public key.
b) You can create a digital signature of your message, and then send the signature along with the... | {
"pile_set_name": "StackExchange"
} |
Q:
Free Software for Partition Manager
Free Software for the Partition Manager on Windows XP/vista?
A:
Try GParted Live. You can create a Boot CD and use that to work with partitions.
A:
Windows Vista now has a built in partition manager. You can access it like this:
Go to Control Panel / Administrative Tools... | {
"pile_set_name": "StackExchange"
} |
Q:
Pod spec lint fail validation: no known class method for selector
I'm trying to create a pod, my framework is building fine and I have no problem using it projects, but when I am trying to convert it into a pod and run pod spec lint to validate it it fails, and gives me the following error:
- ERROR | [iOS] xcodeb... | {
"pile_set_name": "StackExchange"
} |
Q:
How to measure g using a metre stick and a ball
Can I measure the value of g using only a metre stick and a ball? I am not supposed to use a stopwatch and that has been the problem.
NOTE: I do not know if a solution exists or not.
A:
No you can't. You can see this because you are only given things that can defin... | {
"pile_set_name": "StackExchange"
} |
Q:
Integration between circle and ellipse
I need to evaluate an integral over the $D=\{x^2+y^2 >1; \frac{x^2}{a^2}+\frac{y^2}{b^2}<1\}$, but I can't find the limits of integration simply by changing to polar coordinates.
Thanks
A:
In polar coordinates, the region can be represented by a whole $2\pi$ turn of $\theta... | {
"pile_set_name": "StackExchange"
} |
Q:
Execute HTTP Post automatically
I have a free script and I would like to ask if it's possible to replace or automate the search function. For example every hour. Right now I have to press the search button to find new proxies but I want to search automatically and update them in my database, maybe using a cron job... | {
"pile_set_name": "StackExchange"
} |
Q:
Default context menu for RichTextEdit?
There doesn't seem to be a default context menu (with copy, paste, etc.) for the RichTextEdit control in WinForms? I try right-clicking inside the RichTextEdit and nothing happens?
A:
Correct. The RTE control doesn't have a default context menu. But you can assign it your o... | {
"pile_set_name": "StackExchange"
} |
Q:
ASP.NET Response.Redirect( ) Error
Here is my code:
try
{
Session["CuponeNO"] = txtCode.Text;
txtCode.Text = string.Empty;
Response.Redirect("~/Membership/UserRegistration.aspx");
}
catch(Exception ex)
{
string s = ex.ToString();
lblMessage1.Text = "Error Occured!";
}
I am getting an error, even... | {
"pile_set_name": "StackExchange"
} |
Q:
Removing the default pages when adding a domain via Plesk
whenever I add a new domain into my new Plesk control panel on my dedicated server it creates a whole bunch of test files in the cgi-bin, httpdocs and httpsdocs.
There must be some setting somewhere where I can tell Plesk not to do this?
I've done a good Go... | {
"pile_set_name": "StackExchange"
} |
Q:
Pattern Lab with second package.json
I have a Pattern Lab edition-node-gulp set up and would like to use NPM to manage UI dependencies, like jQuery, D3 and others. Pattern Lab is set up so that development happens in a 'Source' folder, which is complied and moved to a 'Public' folder. The root of the Public folder... | {
"pile_set_name": "StackExchange"
} |
Q:
Get all the records that are duplicates not just the list of them Mysql
I can do
Select FieldA,FieldB,FieldC,Count(*) from TableA Group By FieldA,FieldB having count(*)>1
Which will give me a list of all the FieldA,FieldB duplicates with a count for each. What I need is all the records in that subset. If a specif... | {
"pile_set_name": "StackExchange"
} |
Q:
Is a one-yield-per-await restricted pipe possible?
I'm working with pipes-4.0.0. In that library, the number of yields to downstream a pipe makes is in general unrelated to the number of awaits from upstream.
But suppose I wanted to build a restricted pipe that enforced that one and only one yield is performed for... | {
"pile_set_name": "StackExchange"
} |
Q:
Multithreaded filestream
I'm creating a client application that connects to a server and, besides other features, logs server chat into a file, so that rule violations may be punished later.
Unfortunatelly, it became necessary to have (at least) two threads in the application: receiver loop and sender loop - timin... | {
"pile_set_name": "StackExchange"
} |
Q:
apache rewrite rules, non-www, https
I have two applications on the same server and use apache rewrite rules to redirect:
www requests to non www
http reuests to https
Everything works ok, except one case:
request www.test2.test.eu is redirect to https://www.test1.com content
How can I konfigure it properly?
Rew... | {
"pile_set_name": "StackExchange"
} |
Q:
Node JS Express Boilerplate and rendering
I am trying out node and it's Express framework via the Express boilerplate installation. It took me a while to figure out I need Redis installed (btw, if you're making a boilerplate either include all required software with it or warn about the requirement for certain sof... | {
"pile_set_name": "StackExchange"
} |
Q:
Pseudocolumn in Spark JDBC
I am using a query to fetch data from MYSQL as follows:
var df = spark.read.format("jdbc")
.option("url", "jdbc:mysql://10.0.0.192:3306/retail_db")
.option("driver" ,"com.mysql.jdbc.Driver")
.option("user", "retail_dba")
.option("password", "cloudera... | {
"pile_set_name": "StackExchange"
} |
Q:
How can I find out which apps I have already downloaded on my iPhone?
When you attempt to download an app that costs money, you will not be charged if you already bought the app. After you press buy and enter your iTunes password, it will say "You have already purchased this item. To download it again for free, se... | {
"pile_set_name": "StackExchange"
} |
Q:
union all in SQL (Postgres) mess the order
I have a query which is order by date , there is the query I have simplified it a bit but basically is :
select * from
(select start_date, to_char(end_date,'YYYY-mm-dd') as end_date from date_table
order by start_date ,end_date )
where start_date is null or end_date i... | {
"pile_set_name": "StackExchange"
} |
Q:
javafx: How to bind the Enter key to a button and fire off an event when it is clicked?
Basically, I have a okayButton that sits in a stage and when it is clicked , it performs a list of tasks. Now I want to bind the Enter key to this button such that when it is clicked OR the ENTER key is pressed, it performs a l... | {
"pile_set_name": "StackExchange"
} |
Q:
How to stop redirect when clicking Order Place button in checkout/onepage in Magento 1?
I'm new to magento. I want to stop the redirection action when you click place order. Instead of redirecting, I want to place a block under place order button. How can I do this?
Thanks in advance
A:
In onepagecheckout when y... | {
"pile_set_name": "StackExchange"
} |
Q:
How to select an element using jquery?
I am trying to select my radio button value within multiple divs but i don't know.
Also, append text within table but it doesn't work. maybe my syntax is wrong?
I've also tried appendTo() but same. nothing appears on the screen
input radio is located..
<div id="wrap">
<div i... | {
"pile_set_name": "StackExchange"
} |
Q:
How to scroll to bottom of a JSF component after update?
I have a log that needs to be tailed in real-time:
<h:panelGroup layout="block" style="width:100%; max-height: 400px; overflow: auto;" id="log" styleClass="logArea">
<h:outputText value="#{myBean.log}" style="white-space:pre;"></h:outputT... | {
"pile_set_name": "StackExchange"
} |
Q:
JavaScript Library needed for Showing/Hiding a div panel using JQuery
I have a simple fieldset and div panel, which I want to initially show. If you then click on a button/image or text I then want to hide the div panel. Let's call this "myPanel". Clicking on the button/image or text once more will then show it... | {
"pile_set_name": "StackExchange"
} |
Q:
How do you call a javascript method on a htmlwidget (jsoneditor) in shiny?
I'm trying to use jsonedit from the listviewer package in a shiny app and want to display the tree fully expanded by default. There isn't an option to do this in the jsonedit() function, but the underlying javascript object has an .expandAl... | {
"pile_set_name": "StackExchange"
} |
Q:
Script para mudar jogador (jogo da velha Jquery)
Estou tentando fazer com que o jogo da velha mude o jogador que tem a vez, consegui fazer muda-lo do 'X' para o 'O', mas quando tento retornar para o 'X' e assim por diante, ele não vai.
Segue o código que fiz até aqui:
$(document).ready(function() {
$(".botao"... | {
"pile_set_name": "StackExchange"
} |
Q:
LinkedList put into Intent extra gets recast to ArrayList when retrieving in next activity
A behaviour i'm observing w.r.t passing serializable data as intent extra is quite strange, and I just wanted to clarify whether there's something I'm not missing out on.
So the thing I was trying to do is that in ActivtyA I... | {
"pile_set_name": "StackExchange"
} |
Q:
Send Cognos Burst Reporting to multiple emails
I have a few reports that need to be sent form hourly certain intervals during the day.
I know how to schedule burst jobs and they send out fine, but i am being tasked with sending that same exact thing to "CC" that persons mananagerl1 and managerl2
Lets say part of ... | {
"pile_set_name": "StackExchange"
} |
Q:
Understanding difference in unix epoch time via Python vs. InfluxDB
I've been trying to figure out how to generate the same Unix epoch time that I see within InfluxDB next to measurement entries.
Let me start by saying I am trying to use the same date and time in all tests:
April 01, 2017 at 2:00AM CDT
If I view ... | {
"pile_set_name": "StackExchange"
} |
Q:
LINQ to Entities does not recognize the method '<>f__AnonymousType4`1[System.String] get_Item(Int32)'
please I'm working on a ASP.NET MVC project with Entity Framework, I try to use this Query but I got an error .
Query :
var R = (from A in SCHOOL_DB_Context.Con.ABS where A.STG_ABS == STG && (A.DT_ABS.Month + "/" ... | {
"pile_set_name": "StackExchange"
} |
Q:
How do I access an instance of a class that is inside an arrayList
I am doing a MOOC and am supposed to return a number that is associated with a name. The number name combo is held in an object called Phonebook that is an ArrayList. The arrayList holds information of Person, a class that I created. I need to perf... | {
"pile_set_name": "StackExchange"
} |
Q:
How to approach animations and OpenGL
There are tons of tools and instructions for making 3d models and animations in various software products. My question is: in video-game engines, when would you use a pre-rendered animation, and when would you use armature data in the model to manipulate your model in to the d... | {
"pile_set_name": "StackExchange"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.