text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Message relay for JSON data in wso2ESB
I am trying to build a simple POC using wso2ESB. I've created a simple pass through proxy service with an Alfresco service http://www.alfresco.com/
The problem is I am not getting the full JSON data. I've read it has something to do with the axis2-JSON and that it causes problems ... | common-pile/stackexchange_filtered |
Slow WMI request on Windows 2008R2
Has anyone got any suggestions to speed up this WMI query? I'm updating a client application every 5 seconds to show the CPU stats. It was much quicker on Windows 2003 but takes at least 5 seconds to return an integer for 4 CPU cores:
Private Sub GetProcessorIdleTime(ByVal Server As S... | common-pile/stackexchange_filtered |
How to avoid negative solutions from sympy.solve?
I am having the very same problem asked in this question, but I can't figure out why the solution is not working.
In that question, there was an issue in sqrt function that seems to be solved, and now that problem leads to only positive results.
But in my problem, I can... | common-pile/stackexchange_filtered |
Sitecore CM and CD in the same server
We have a requirement to have the CM and CD in the same server.
But while we are trying to access the CD URL as www.xyz.com/sitecore we are landing to the sitecore admin page.
Is there a way to deny access to the admin page with CD url.
I assume that with "same server" you are ... | common-pile/stackexchange_filtered |
Reading out put of previous command in bat command file
I am very new to batch programming, I am trying to write a batch file that is a fake virus. I need to obtain the IP address from the previous command IPCONFIG into the variable VarIP. Can you help me?
My code:
echo off
echo Trying to hack your computer
ipconfi... | common-pile/stackexchange_filtered |
Turning off hostnamelookup in a shared hosting
I have a linux shared hosting account with cpanel for a drupal website. While optimizing the site (with the help of information from tools.pingdom.com), I found considerable waiting time of about 400-500 ms. Somehow, I found out about 'hostnamelookup'. But I am not able to... | common-pile/stackexchange_filtered |
Arranged/ordered checkbox for a one-to-many relationship in CoreData
In Xcode's data model inspector, when a relationship is selected, there is checkbox a between labels "Arranged" and "Ordered". CoreData works with sets, so what exactly does it mean in this context?
iOS 5 and later allows to have ordered to-many rela... | common-pile/stackexchange_filtered |
Split a list in two and preserve order
How do you efficiently split a list in 2, preserving the order of the elements?
Here's an example of input and expected output
[] should produce ([],[])
[1;] can produce ([1;], []) or ([], [1;])
[1;2;3;4;] should produce ([1; 2;], [3; 4;])
[1;2;3;4;5;] can produce ([1;2;3;], [4;5;... | common-pile/stackexchange_filtered |
CORS: what's the purpose of Simple Request?
From Mozilla's documentation, there are three CORS scenarios:
Simple requests
Preflighted request
Request with credentials
Simple Requests has some disadvantages, for example, when the client declares withCredentials, even though the server refuses, the HTTP request with th... | common-pile/stackexchange_filtered |
JQuery Select Multiple Divs with Dropdown
Long time browser, first time poster.
What I'd like to do is have a user select the number of weeks to display in a dropdown menu, and then reveal that many divs. Right now I have it setup where I can reveal one div or all, but I'd like to do it for the previous divs.
Right no... | common-pile/stackexchange_filtered |
Rails ActiveRecord, selecting distinct fields from a joined table and returning all the models
I am working on a Rails app with MySQL.
I have a tables like this:
gifts
id, basket_id, orange_id, berry_id
berries
id, action_id, name
These are their models:
class Gift < ActiveRecord::Base
belongs_to :basket
belongs_... | common-pile/stackexchange_filtered |
When would you prefer a custom/skinned user interface in a desktop application?
I'm working on an application whose UI is skin-based, but it looks a little bit old (its graphics were designed more than 5 yeas ago). It's not clear to me whether we should consider a redesign or get rid of the skin and go with the OS defa... | common-pile/stackexchange_filtered |
Unable to retrieve value from Properties file using Spring's @Value, @ConfigurationProperties annotations
I am new to Spring Boot and using Spring Annotations. I am trying to build a sample spring boot application in which I get a value for my java property using the properties file. I am trying to use @Component & @Co... | common-pile/stackexchange_filtered |
django multiple ModelForms with the same model and ForeignKeys
I am building a simple question-answer app with Django. My simplified model is:
class Question(models.Model):
question_text = models.TextField('Question', max_length=256)
class AnswerChoice(models.Model):
choice_text = models.CharField('Choice', m... | common-pile/stackexchange_filtered |
HTML Target limit function to active window
So i got a question about the Target function in HTML
I got a link <a href="red.html/variable(a,b,c,etc.)" target="red">RED</a>
all it does is, it opens a new Tab to red.html/variable, if red.html is already open in a tab it targets this tab and opens the link in the existing... | common-pile/stackexchange_filtered |
Installing MySQL-python raises compiler warnings after Mavericks
I had many python modules installed before I upgraded Mavericks and were very disappointed when I noticed that they had been removed. I installed Mavericks, and I installed the command line tools.
Then I went on trying to download and compile MySQL-python... | common-pile/stackexchange_filtered |
mockftp serverfake FakeFtpServer; check if function is called
I want to test my function indexFolder(...) that is responsible of retrieving files from a FTP. File has to be more recent than the local version to be download.
private void indexFolder(FTPClient ftp, FTPFile[] listFiles, File localFolder, FTPFolderAsse... | common-pile/stackexchange_filtered |
Why solution of recurrence $N_h = N_{h-1} + N_{h-2} + 1$ equals $N_h = F_{h+2} - 1$
Original question: Why does an AVL tree of height h has a min number of node $= F_{h+2} - 1$, where $F_h$ is the $h$th Fibonacci number?
If $N_h$ is the min number of nodes in an AVL tree with height $h$, then a recurrence relation can ... | common-pile/stackexchange_filtered |
Linux source, where are sys_umount and sys_mount system calls?
Possible Duplicate:
Understanding the linux kernel source
I am sure that I must be missing something, here. I cannot for the life of me find the source code for these system calls. I can find their numbers, and I can find their prototypes, but I cannot... | common-pile/stackexchange_filtered |
passing form input to javascript and then updating canvas
So what I'm trying to do here is to pass information from a input form of number type to javascript and then re-draw the canvas with the updated variable data.
Here's what I've got so far:
<!DOCTYPE HTML>
<html>
<head>
<script language = "JavaScript">
var canva... | common-pile/stackexchange_filtered |
Edit attribute values of XML using VB6
I need to update the attribute value of bkp_path using VB6.
XML File
<ServerDetails>
<Param src_path = "D:\Shapes\Rectangle" bkp_path = "D:\Colors\Red"/>
</ServerDetails>
I'm able to read values from XML file using
VB6 Code
Dim doc As New MSXML2.DOMDocument
Set doc = New MSXM... | common-pile/stackexchange_filtered |
Novalidate isn't working on FOS user registration form
I overwrote the FOS UserBundle registration form and added the default options: 'attr'=> array('novalidate'=>'novalidate') as answered here (which seems like the right way to go) but for some strange reason the novalidated is added to a div right after the form ins... | common-pile/stackexchange_filtered |
haskell profiling says "total time = 0.00 secs", but it's not true
I'm trying to profile my program.
I compile it like that:
ghc -rtsopts -O3 -prof -auto-all Main.hs
And run:
./Main +RTS -p
And read Main.prof:
Fri Jul 15 13:06 2011 Time and Allocation Profiling Report (Final)
Main +RTS -p -RTS
total tim... | common-pile/stackexchange_filtered |
Passing advice to mode line
I'd like to advise format-mode-line to collapse whitespace across the whole string. The following attempt does not work for me.
(advice-add 'format-mode-line :filter-return 'collapse-whitespace)
When I evaluate (format-mode-line mode-line-format), the output seems to be what I want, but the ... | common-pile/stackexchange_filtered |
Reading documents in .NET
Can I open any file formats with Word interop that Microsoft Word itself supports?
My task looks very simple, I need to read text, only text, from any type of documents commonly used (to compare the documents based on content). Is there a way I can do this easier than the above mentioned Word ... | common-pile/stackexchange_filtered |
Next.js App Router server component error handling
Given a Server Component (or Server Action) that fetches data, how can I access the full error message for server-side logging purposes?
Example:
import os from 'os';
import { PHASE_PRODUCTION_BUILD } from 'next/constants';
export const dynamic = 'force-dynamic'
asyn... | common-pile/stackexchange_filtered |
Declare empty array in javascript
update
My code that works. When page is loaded
product= [[],[]];
then the code executed after ajax call:
$('#contextreload ul').each(function(i, ul) {
product.push([]);
});
$('#contextreload ul').each(function(i, ul) {
allline=i;
$('#reloadajax'+i+' li').each(function(lk,... | common-pile/stackexchange_filtered |
Convert collection objects one type to objects another using Stream API and reference methods
I use lambda to convert objects one type to objects another
Order
@JacksonXmlRootElement(localName = "order")
public class Order {
private String customer;
@JacksonXmlProperty(localName = "orderItem")
@JacksonX... | common-pile/stackexchange_filtered |
Paypal Express Checkout Mobile Responsive with instant update
I'm using the Paypal Express Checkout NVP (Name Value Pair) API. When I add a Callback URL for instant update shipping cost the whole paypal user interface changes to an older version that isn't mobile friendly / responsive.
When I try to force the mobile UI... | common-pile/stackexchange_filtered |
Get roles of current user in Discord server
I'm trying to get the roles of the current user in a specific chat room using Discord's API (using an access_token). I've had a fair look through the docs and can't see how to do this. For example, doing a get request to https://discordapp.com/api/users/@me gives the basic us... | common-pile/stackexchange_filtered |
jquery form URL validation custom message
I have included jquery file and following HTML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
HTML:
<form action="http://www.google.com" onSubmit="return validate();">
<input type="url" required="true" name="URL" >
<inp... | common-pile/stackexchange_filtered |
Bind saved Date in Edit Form using Angular 17
I have a form where the date is entered and saved but the date is not binded when I go to edit the form.
JSON:
"checkOut": {
"runDate": "2024-07-05T09:42:00.000Z",
}
The form is:
<input type="datetime-local" [(ngModel)]="checkOut.runDate">
Date is shown by binding lik... | common-pile/stackexchange_filtered |
Swift NSUnknownKeyException - setValue:forUndefinedKey
I'm very new to swift, and I'm doing the Stanford course on iTunes U. I've been following along fine, but I've encountered an error that I'm unable to understand:
2015-06-29 18:45:35.080 calculator2[9780:4828233] *** Terminating app due to uncaught exception 'NSUn... | common-pile/stackexchange_filtered |
Interface method reference to a functional interface
I am working with Java Spring framework and JWT - Java Web Tokens. I have below class
import java.util.function.Function;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import app.com.jav... | common-pile/stackexchange_filtered |
How to create a PowerPoint viewer in Android?
I am curious how to create a simple PowerPoint presentation viewer for Android. I am focusing on the Office 2003 and 2007 formats (which means .ppt and .pptx). How do I read .ppt or .pptx files and show them like a picture slideshow on my Android app?
Well that's a loaded ... | common-pile/stackexchange_filtered |
Writing a DELETE query for 3 tables
I am trying to write a simply query that will delete an event based off its event_id. That event_id could be in 1 of 3 tables in a database however.
Leagues
Tournaments
Trainings
Each event_id is generated by a randomizer function so each id is unique.
I have tried a few different sy... | common-pile/stackexchange_filtered |
Configuring apache. Reverse proxy and alias
In file /etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyPass / http://localhost:7000/
</Vi... | common-pile/stackexchange_filtered |
Including multiple fields in a Postgres table index
I'm using Postgres 8.4 and I'm performing a search using ILIKE. Since I'm searching in 4 columns (containing text) from that table I was wondering if it's ok to create a single index for all the 4 columns and not an index for each column.
Thank you.
This is a bit of... | common-pile/stackexchange_filtered |
Python closures
def counter(x):
def _cnt():
#nonlocal x
x = x+1
print(x)
return x
return _cnt
a = counter(0)
print(a())
Above code gives the following error
UnboundLocalError: local variable 'x' referenced before assignment
Why this is not able to create a new object with valu... | common-pile/stackexchange_filtered |
JUnit/Mockito test failing for bizarre reason
I have a very simple method that I am trying to unit test:
public class MyAntTask extends org.apache.tools.ant.Task {
public void execute() {
fire();
}
public void fire() {
// Do stuff
}
}
I just want to write a unit test that confirms that... | common-pile/stackexchange_filtered |
Favorite tags/filters on Android App
I login to my SO mobile android app to browse for questions/answers for very specific tags every time. I wish there was an easy way to do that in one click: like a favorite tags or a recent tags menu/button somewhere on the home screen or feeds page. Right now I have to either searc... | common-pile/stackexchange_filtered |
Why do we have to forbid non-conforming lower and upper type bounds?
(it's a repost of my unanswered question from<EMAIL_ADDRESS>about Scala)
In the Scala Language Specification, §4.4 Type Parameters, there is a requirement:
The most general form of a first-order type parameter is @a1 ... @an ± t >: L <: U. Here, L an... | common-pile/stackexchange_filtered |
export 'MdToolbarModule' was not found in '@angular/material'
I am using "@angular/material": "^2.0.0-beta.11" in one of my pet project, and the package.json has the reference as follows,
"@angular/material": "^2.0.0-beta.11"
I have imported the necessary modules as follows,
import { MdToolbarModule, MdIconModule, MdG... | common-pile/stackexchange_filtered |
Generate a securestring password
I currently have some (PowerShell) code that does this -
$password = [System.Web.Security.Membership]::GeneratePassword(128,0)
I realise that strings are generally considered insecure. So I am curious whether there is a way to generate a random password directly into a secure string? ... | common-pile/stackexchange_filtered |
Undefined control sequence \begin{math}
I have been working to make my code working in LaTeX but I can't find any fix.
I have replaced \textit with \itshape as I have read in another topic that this could trigger the error. It's still not working.
\documentclass[11pt, letterpaper]{article}
\usepackage[utf8]{inputenc}
\... | common-pile/stackexchange_filtered |
403 IAM permission 'dialogflow.intents.list' on 'projects/None/agent' denied
import os
from fastapi import Request
from dotenv import load_dotenv
project_id = os.getenv('project_id')
import google.cloud.dialogflow_v2 as dialogflow
intents_client = dialogflow.IntentsClient()
parent = dialogflow.AgentsClient.agent_path... | common-pile/stackexchange_filtered |
How to add serial number in Excel while printing
I am printing 6 payment slips in 1 A4 paper from excel, all 6 slips has same information like Name, payment date and etc... while there is a cell called Serial number. I want to print serial number in each 6 cells of the same A4 paper.
For example on cells C4, C 10, C14 ... | common-pile/stackexchange_filtered |
What is the significance of dumping the tablespaces?
While recently running drush sql-dump on a server where there were never any error messages, I have started to get:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
It still pr... | common-pile/stackexchange_filtered |
Setup PHPStorm to debug symlinked WordPress plugin
I'm using Herbert framework to develop a WordPress plugin. It recommends to set up a separate folder on a disk and symlink it to the "/wp-content/plugins/" directory.
I created a project in PHPStorm with a original plugin directory. Then I added "wp-includes" folder as... | common-pile/stackexchange_filtered |
Let c be an integer which is not divisible by 3. Then the equation $x^3 − x = c$ has no integer solutions.
I am trying to show the following. Let $c$ be an integer which is not divisible by $3$. Then the equation $x^3 − x = c$ has no integer solutions.
My approach is to notice that if 3 does not divide c, then $c \equi... | common-pile/stackexchange_filtered |
Manipulating URIs in Python
Consider the following piece of code:
>>> from pathlib import Path
>>>
>>> str(Path("gs://a/b/c"))
'gs:/a/b/c'
As you can see, the double slash is stripped from the path. I'd like to manipulate this URI, but I would like to preserve the gs:// prefix with its two slashes.
Question 1: Is path... | common-pile/stackexchange_filtered |
Official "securing your pi" guide recommends blocking port 30 from <IP_ADDRESS> - why?
The official "securing your pi" guide from the Raspberry Pi foundation recommends installing the "uncomplicated firewall" (ufw) and adding a rule to deny access to port 30 from <IP_ADDRESS>:
sudo ufw deny from <IP_ADDRESS> port 30
T... | common-pile/stackexchange_filtered |
how to update empty value with bind parameters in php mysqli
I am creating message delete script in PHP MYSQLI. I have added zero value to update column. my script is working but I want to add zero value with bind parameters.
Here is my source code
<?php
require_once "config.php";
if (isset($_GET['to_id'])) {
$id ... | common-pile/stackexchange_filtered |
Does there exist a function $f:\mathbb{R} \to \mathbb{R}$ which is 'strongly discontinuous' at some point?
A function $f:\mathbb{R} \to \mathbb{R}$ is discontinuous at $x_0 \in \mathbb{R}$ if there exists a sequence $a_n$ such that $a_n \to x_0$ but $f(a_n) \not \to f(x_0)$.
I thought of a way of strengthening this by... | common-pile/stackexchange_filtered |
how can i get docs with unique sender in mongodb?
I'm implementing a chat system using mongodb. Currently have a chat collection which looks like the json.
When showing the conversation list to my user, I want to fetch the last text from each of the conversations. means for each sender-receiver pair, I want to fetch ex... | common-pile/stackexchange_filtered |
Coredata performance: is there a penalty for loading many individual entities?
I'm working on an app that will include a set of points drawn from CLLocationManager and draw them on a map. I'll never really have a need for each point as an individual entity, they only have meaning in the context of the path.
Instead of... | common-pile/stackexchange_filtered |
Async, callbacks, and closures
After having spent a month or two trying to learn JavaScript, especially functional programming, async, and closures, I finally get it. But I don't know if I'm writing elegant code... Specifically, I'm not sure if I'm creating too many closures, because I don't entirely grasp when context... | common-pile/stackexchange_filtered |
Swfitui Object not update when NavigationLink
All
Something is wired when use swiftui.
object is not update in closure whick assign on second view when navigate back.
code like this:
NavigationLink(destination:
DiscountsView(selectFunc: { (discount: DessertDiscount) in
... | common-pile/stackexchange_filtered |
Does this proof work to prove that the greatest area of a triangle inside a circle is when the triangle is equilateral?
Does this proof work to prove that the greatest area of a triangle inside a circle is when the triangle is equilateral? I gather it doesn't because most of the proofs I've seen use derivatives etc. If... | common-pile/stackexchange_filtered |
Input is avilable only in turbo debugger
I am tasked to right a program to check if two numbers are Amicable numbers, there is supposed to be an input by the user of 2 in size of 4 byte numbers, the program works perfectly in turbo debugger but it seems when I try to run the program as it is with dosbox it wont let me ... | common-pile/stackexchange_filtered |
How can I run git filter-branch on the root commit?
I'm trying to clean up a private project so I can publish it - removing miscellaneous files from the history, etc.
I'm trying to remove a Makefile with git filter-branch. Here's the command line I'm using:
$ git filter-branch -f --index-filter 'git update-index --remo... | common-pile/stackexchange_filtered |
Retrieve URL with non-english character
I want to open app from SMS (url schemes). For example, If someone send me text "myapp://abcd" I can open this url with safari and open application with abcd value by [url host]. But, the problem is if it is not english? For example "myapp://สวัสดี" (in thai) or "myapp://おはよう" (i... | common-pile/stackexchange_filtered |
Scroll to bottom for Table View after Reload Data
I am trying to scroll my table view to bottom after adding comments and replies. Comments are sections and replies are rows for that particular section but table view doesn't scroll at the exact bottom of the content after API call for adding comment, I have tried every... | common-pile/stackexchange_filtered |
Login to .NET app (MVC, EF) when application starts. No login form used
Thanks in advance.
I'm developing an app for my company. Thing is, my boss asked me to do an automatic login, once the application starts. He does not want a traditional login form. For this purpose, I've coded a custom module for login. My issue ... | common-pile/stackexchange_filtered |
Radar signal processing - Difference between range gate/range bin
In learning about radar signal processing, I see two different terms that sometimes seem to refer to the same thing, but sometimes different things:
Range gate
Range bin
Usually, I interpret both to simply mean "time sample", but sometimes I see range ... | common-pile/stackexchange_filtered |
DirectFB cross-compiled for iMX.53 - crash on startup
Trying to get a working directfb for use in an embedded system based on an i.MX53 processor (which is an ARM Cortex-A8 core) running Linux <IP_ADDRESS> (as supplied by Freescale).
I have installed a cross compiler on my i686 debian host system. The cross compiler c... | common-pile/stackexchange_filtered |
How to store CodeIgniter session data if data length likely to exceed BLOB size?
I have a fairly elaborate multi-page query form. Actually, my site has several for querying different data sets. As these query parameters span multiple page requests, I rely on sessions to store the accumulated query parameters. I'm conce... | common-pile/stackexchange_filtered |
Purpose of divide-by-2 (or CLK/2) on a video pixel clock generator ICs
I've been looking into some video clock generator chips and almost all of them have a divide-by-2 or CLK/2 output pin (in addition to the normal CLK out). What would be the purpose or application for such a pin? I would think a multiplier would be... | common-pile/stackexchange_filtered |
Expected number of attemps to succeed
Suppose there are five levels $\{1,2,3,4,5\}$. Let $P_s(i)$ denote the probability of success on level $i$ and $P_f(i) = 1 - P_s(i)$ the probability of failure on level $i$. If you succeed on level $i$ you proceed to level $i + 1$; if you fail you go down to level $i - 1$ (unless ... | common-pile/stackexchange_filtered |
Kasparov said human+computer beats just computer. What does human bring to the table in such teams?
Its seems to me nowadays computers simply play better, i.e. they consistently choose better moves. Where does human factor come into play, how can a human help engine to beat another engine?
Or was Kasparov simply wrong?... | common-pile/stackexchange_filtered |
copy 1d char* array as a row into 2d char* array (memcpy C behaviour in loop)
in the code below, I want to be able to input using stdin bash commands separated by new lines, and execute them sequentially using forks and execvp. right now, my code takes the line, tokenises it (for argument's sake) and then appends it to... | common-pile/stackexchange_filtered |
Using node or draw circle in tikz-3dplot
I am exploring the tikz-3dplot package for drawing objects in 3d and experienced a problem. I simply want to draw a circle and reference some of the points later, but I found there is a difference when using the draw command and using the node command:
\documentclass[tikz]{stand... | common-pile/stackexchange_filtered |
Algebra Question: order of calculation
I watched an instructor write this question 3(x-7)=6, he then solved the Parentheses to get 3x-21=6, but here is where I was lost, he then added 21 on each side to get 3x=27, then divided each side by 3 to get x=9. Now, I always thought you you did everything in this order: Parent... | common-pile/stackexchange_filtered |
Keepalived configuration for a budget cluster of 2 web server nodes on Linode
I am on a low budget - so I am running just 2 identical Linodes (Ubuntu 18.x). I don't plan to use Nodebalancer, since I need only one server to be up at a time.
I have been able to successfully configure gluster and galera. Now it is time fo... | common-pile/stackexchange_filtered |
Find source of failed mysql logins
I've been seeing the following log entry in /var/log/mysqld.log and am trying to pinpoint the source of the request:
130313 10:10:48 [Warning] Access denied for user 'admin'@'localhost' (using password: YES)
This started on Monday evening right on 8pm and continued until last night a... | common-pile/stackexchange_filtered |
PIC microcontroller: actual behaviour differs from simulator
I was encountering some quite strange differences in the behaviours of my PIC16F628a microcontroller compared to the MPLAP built-in simulator.
After a long search, it turned out to be different due to the free cells' default values.
In the simulator, when acc... | common-pile/stackexchange_filtered |
generating a set of sets that appear in every set
I have an array of arrays of things
typedef std::vector<thing> group;
std::vector<group> groups;
things could be compared like so
int comparison(thing a, thing b);
where the return value is 0, 1 or 2
0 means that the things are not alike
1 means that they are alike a... | common-pile/stackexchange_filtered |
Subcategories not displaying in select menu
I have been messing around with subcategories and created a database new categories for testing purposes.
Table newcategories
category_id (int) AUTO
name (varchar) NOT NULL
parent (int) NULL
category_desc (text) NULL
sort_order (int) NOT NULL
I entered some categories and s... | common-pile/stackexchange_filtered |
Who can I complain to about MS Product activation service
Ok, I'm fuming after having to deal with a MS Support Rep to do a product activation; and now I need to complain to someone.
Has anyone found an actual phone number or e-mail address at Microsoft I can complain too?
All I can find is their support pages and the ... | common-pile/stackexchange_filtered |
How to open separate command prompt consoles for two seperate CreateProcess() API calls
I've a caller.EXE from within which I do 2 calls of "CreateProcess() APIs like this. Both the CReateProcess() APIs are trying to launch console application EXEs.
Caller.cpp (Caller.EXE) has teh following code in it::
.................. | common-pile/stackexchange_filtered |
Hangman game image javascript only
How do I implement these images each time player failed to guess a letter and where should I put it at? When player failed to guess 1 letter, hangman 1 will display, then followed with hangman 2 then hangman 3 and so on? Here is my code. images is in the console.log
/* hangman 1
con... | common-pile/stackexchange_filtered |
Multiple background images casuses error in Safari
I'm trying to style the body element with two images.
background: url(bg2.png) repeat-x, url(bg1.png) repeat;
The problem is that Safari generates an error in the console, complaining about how it can't find the image file which is the last to be specified in the code... | common-pile/stackexchange_filtered |
Tumblr theming - show preview image for "link" post type?
When you add a "link" type post to Tumblr:
...your admin shows a small thumbnail of any image associated with that link:
However, this doesn't show on the frontend of the site:
Is there any way to pull this image through?
If you use pytumblr when you call th... | common-pile/stackexchange_filtered |
How to use a loop on a named range
I am getting a
Run-time error '424'
with my For . . . Next loop.
I have created a time sheet for my work where I only need to enter start and finish times. Then, depending on the day of the week it calculates which hours are worked as Monday to Friday (MF), Saturday-Sunday (SS) or ... | common-pile/stackexchange_filtered |
Can Socket.io emits arrive out of order? What if volatile?
I've been looking around for a definitive answer to this but I seem to keep finding contradictory answers (ex this and this).
Basically, if I
socket.emit('game_update', {n: 1});
from a node.js server and then, 20 ms later,
socket.emit('game_update', {n: 2});
... | common-pile/stackexchange_filtered |
How to assign Property of Radio button to a Checkbox
I want to assign the property of a Radio button to the checkbox, for example if i change the value of radio button the same should be effected to the checkbox.Below is the code what i have
$(this).children('TD').find('input:radio').change(function()
{
... | common-pile/stackexchange_filtered |
Dataset Locate number within range
I have this dataset with the following data :
Winner Name
Coupon Start
Coupon End
Joshua
00001
00010
Mark
00011
00020
Stephen
00021
00024
Ina
00025
00025
I can easily using Locate to find for example the winner for coupon 00011 which is Mark, but how to find the winn... | common-pile/stackexchange_filtered |
Play Framework compilation error when passing List object from controller to view
I have a function in a controller that returns a list of User model records - I am using the PlayStartApp template:
public Result getAllUsers() {
List<User> users = User.find.all();
return ok(searchusers.render(form(Login.class, u... | common-pile/stackexchange_filtered |
i want to check if the specified condition is true at least one time for the given number of bars starting from the current one in PineScript
condition = (ta.barssince(high > sma20 or high > sma50 or high > sma200) <= 3) and (ta.barssince(close < sma20 or close < sma50 or close < sma200) <= 3)
// Plotting for visualiz... | common-pile/stackexchange_filtered |
Intersection between two finite planes
I have two planes defined by three points each. These planes are "finite", meaning that the three points define their limits. These planes may or may not intersect, if so, the intersection is a finite line.
What's the smartest way to find the two end points of this intersection l... | common-pile/stackexchange_filtered |
How does the Orion communicate with Earth?
Early renders of the Orion spacecraft show a deployed high-gain antenna dish like on the Apollo CSM. The Orion that actually materialised has no such thing. What does it use instead?
The Orion module (capsule + service module) has six antennae, four on the capsule and two on ... | common-pile/stackexchange_filtered |
Plasma physics conference coffee break, MIT campus.
Mrs. Lisa Guzman
The dispersion relation clearly shows fast mode has the highest phase velocity, but I'm questioning whether that plus branch truly represents the dominant energy transport mechanism in solar wind interactions.
Susan Montgomery
You're right to probe ... | sci-datasets/scilogues |
Dividing points into zones
I have a bunch of points that I'd like to assign zones to in a grid. My points are from -100:100 along the x-axis and -42.5:42.5 along the y-axis. I want to create an overall 10x7 grid, which means the individual boxes are 20x12.143. Below is a re-prex example of the data and with gridlines i... | common-pile/stackexchange_filtered |
Is possible to install WSO2 Identity server features on WSO2 App Server?
I have tried several options to install IS on App Server and using different repositories but it always complains about some packages. What is the easy way to get the correct dependencies and repositories?
This is an example of the errors:
Cannot... | common-pile/stackexchange_filtered |
Launch activity when user taps on a notification from the lockscreen
I want to be able to tap on a notification when the device is locked and launch an activity without unlocking the device.
I added some flags to the activity in the onCreate() method that allow the activity to be displayed when the device is locked:
Wi... | common-pile/stackexchange_filtered |
Text-To-Speech in background audio task
I have a Background Audio Task in a WP8.1 project which uses the BackgroundMediaPlayer to play audio.
In my foreground app I have articles (online articles) which can be listened to. This is done via TTS (SpeechSynthesizer).
I have tried two things to implement this feature:
Cr... | common-pile/stackexchange_filtered |
Magento2 - How to add custom login/register step on the checkout
I wish to add a custom login register step step on the checkout. This step should be visible only to the non-logged-in users. How can I achieve this?
You will have to create a custom module in order to achieve this functionality. Refer the below link fro... | common-pile/stackexchange_filtered |
ASP.NET MVC the user account created in ASP.NET configuration unusable
I'm new to asp.net MVC.
I'm using VWD Express 2012,ASP.NET MVC 4 Web Application template, Razor engine to develop my web application.
This is the problem I'm having:
After enable and created role(Administrator) and user account in Project -ASP.NET... | common-pile/stackexchange_filtered |
Angular 18.0.5 not seeing the interceptor
Angular is not aknowledging the interceptor.
So basically I executed
ng generate interceptor JwtInterceptor
and setup set it up to add the token to the header :
import { HttpErrorResponse, HttpInterceptorFn } from '@angular/common/http';
import { catchError, throwError } from ... | common-pile/stackexchange_filtered |
how to center a div horizontally, vertically, and maintain 1:1 aspect ratio?
I wish to have a canvas inside of a div which is centered and regardless of its scale, maintains a 1:1 aspect ratio.
By creating a containing div with the following style rules, I am able to get the child element (the canvas) to be centered ve... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.