text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Kerberos key fails with AutoFS
Our Kubuntu computers are configured to automatically connect to their network drive via AutoFS. When we upgrade machines to Kubuntu 18.04 LTS this AutoFS connection no longer works. It is still working fine in Kubuntu 14.04 LTS and Kubuntu 16.04 LTS.
I have run autoFS (automount) in debu... | common-pile/stackexchange_filtered |
return same uid and email for all users in mybb
Hi i have a class login for check username and password of MYBB from external script its seems work but with small problem. for different users the result return same uid and email for all users (the first uid and email in mybb_users table). pleas how to fix that. thank y... | common-pile/stackexchange_filtered |
Bootstrap: Make a buttons width 33% and when the window is too small 100%
I have three buttons and I want them to be on the same line, take all the space and every button has to be the same size.
And as soon as the window is too small to show every button at at least 170px width, I want every button to have their own l... | common-pile/stackexchange_filtered |
MatchIt with more than one unit
I want to use MatchIt on a data set with one treated unit and N number of control units. (control and treated does not matter for me, I can call the N samples treated and the unique one as control.)
I want to sort the N samples according to their distance from the control units.
Simply I... | common-pile/stackexchange_filtered |
How can I get the DisplayString field from Debugger.GetExpression?
Background
I'm writing a Visual Studio Extension in C# that executes code in the Immediate Window while debugging another application. The expression returns a value that can be a int, a string literal, a class, etc. The application that I'm debugging i... | common-pile/stackexchange_filtered |
Node-sass won't work when using the --watch flag
I am having a problem when using the "--watch" or "-w" flag when running node-sass. I've installed node-sass as a devDependency and specified a script for me to run node-sass. The thing is that when I run the script without any flags everything works fine and the SCSS co... | common-pile/stackexchange_filtered |
Delayed response when changing label text (Swift)
My issue is that when imageFound == false, it prints out the "No Results!!!" immediately, but it takes like 15 seconds for the labels text to change. I do not know why this is lagging but I need help trying i=to put it down into the range of 5 seconds or less.
Code is ... | common-pile/stackexchange_filtered |
iOS/Obj-C - Fire local notification without timer?
I want to setup some local notifications in my iOS app, however every tutorial I seem to find on implementing these seems to only allow me to fire a notification based on a timer (see sample code below)? Is it possible to fire a local notification for example when new ... | common-pile/stackexchange_filtered |
Fake forking your own repo for maintainability purpose
I am not sure how to precisely describe the issue so I will use an example, say i have the following:
RepoA - original repo with some base code, libs, framework, folder structure, etc
RepoB - ideally a fork/branch... but can't fork your own repos and I want a sepa... | common-pile/stackexchange_filtered |
Scales changes in Orchestration
There is a common technic used in orchestration across all genres of music. Sometimes in the second verse or before the singer is about to repeat another part in the song there is a move usually up in scale that brings a sense of a fresh beginning. I've heard some orchestrators come back... | common-pile/stackexchange_filtered |
Setting up a unmanaged dedicated web server on CentOS 5.6
I just bought my webserver with iweb and to be quite honest, I don't know how to setup a dedicated webserver properly.
I have been able to install httpd, php, mysql but it doesn't seem complete. Also, if I want to install the latest versions of php 5.3.6 using y... | common-pile/stackexchange_filtered |
Checking for if is_off in template tag but ischange is not detecting change
I'm trying to hide a comment in a field if the employee is off. I have added my if tag to the field itself but in the ifchange loop it doesn't see the change and add a comment in the field if the employee is on. I've move this above the ifchang... | common-pile/stackexchange_filtered |
ruby metaprogramming get container class of instance variable from instance method
Imagine we have three classes:
class SomeClass
def container_class
# ...
end
end
class Container
attr_accessor :property
end
class Container2
attr_accessor :lalala
end
# now I create instances
p = SomeClass.new
c = Cont... | common-pile/stackexchange_filtered |
Updating records in a table using GetCount and an Update Cursor
What I have is a buffer which is then used to select a number of point features which intersect the polygon. I would like to take that number and add the value to a table. The row where the value will need to be located corresponds with the name of the ori... | common-pile/stackexchange_filtered |
Excel Formula (If last 8 characters of cell are greater than....)
I need to find a formula for Excel (eventually will be a string in C#) that looks at the last 8 characters in a cell (last 8 of 17) and displays a result if those 8 numbers are greater than eg 11111111.
So if A1 contains XXXXXXXXX11111112 B1 would show t... | common-pile/stackexchange_filtered |
PHP fast clustering elements stored in an array
I have an array consisting of 1.5 millions pairs of elements (separated by ' '):
$array {
[0] => "element1 element2"
[1] => "element2 element3"
[2] => "element8 element4"
[3] => "element8 element5"
[4] => "element4 element5"
[5] => "element6 elemen... | common-pile/stackexchange_filtered |
The best way for an App to recognize Bots (Googelbot/Yahoo Slurp)
I have a (Rails) site and I want the search engines to crawl and index it. However, I also have some actions that I want to log as having happened - and these actions can be triggered by logged in users as well as users not logged in. Now, to ensure that... | common-pile/stackexchange_filtered |
How to get the user status in Microsoft Graph?
Is it possible to get this user status from the Office 365 Admin Center like, blocked, unlicensed or E1 for example, in Microsoft Graph?
I tried several requests but nothing works.
You can use the AccountEnabled attribute to find out if the user is blocked or not.
Make t... | common-pile/stackexchange_filtered |
SQL Selecting Matching Data from Another Table where matching columns have the same data
So I'm making a database of orders and I want to create a list of options for a dropdown box for an order form, but the list needs to be derived from a list of Services in another table, but it needs to match a preceeding Catagory ... | common-pile/stackexchange_filtered |
Everywhere vs. Anywhere
Nowadays all merchants of Westeros sell dragonglass. So you can find it ____ .
A.Everywhere
B.Anywhere
Which fits better A, B or both ?
I know A is true, but B also makes sense to me.
Both options could be correct.
Usually, "anywhere" refers to a place that you are unsure of or one that doesn’... | common-pile/stackexchange_filtered |
C++ : Unable to print the text formatted as expected
I'm trying to print this LIST but it's driving me insane.
So this is the output that I wanted to get :
Veranstaltungen:
1: Freitag 08:00 - 09:30 SU Informatik III Kevin Kaufmann H3
2: Freitag 10:00 - 11:30 Ueb Informatik III Kevin Kaufmann D 114
... | common-pile/stackexchange_filtered |
Python Flask - Does not return output if the file extension is xls
I have a small Flask project that gets some inputs from the user and extracts some data from the database based on the input back to the user and returns an output file.
The code works just fine if the file format is csv. However when the file format i... | common-pile/stackexchange_filtered |
Lucene.net - How to search alternate index keys or alternate word combinations?
In my Lucene index I have the following keys
id
fullText
user
date
I've got the fullText search working pretty good using the following method.
Public Function ReadIndex(ByVal q As String, ByVal page As Integer?) As Domain.Pocos.Luc... | common-pile/stackexchange_filtered |
How to create an ssh connection Terminal shortcut on Mac OS X?
It sucks to open Terminal each time and write a complete SSH command. How can I create an SSH connection Terminal shortcut on Mac OS X 10.6.8 (Snow Leopard)?
I also have a custom port to connect to.
The most *NIX-y answer is to use SSH's features to your a... | common-pile/stackexchange_filtered |
Create Picture Library in sharepoint app?
I want to create Picture Library in sharepoint app that is deploy it on online site.
You want to create library in App only? or on the host web? also which app you are creating? SharePoint Hosted or Provider hosted? please include this information in your question so that we c... | common-pile/stackexchange_filtered |
Mutex granularity
I have a question regarding threads. It is known that basically when we call for mutex(lock) that means that thread keeps on executing the part of code uninterrupted by other threads until it meets mutex(unlock). (At least that's what they say in the book) So my question is if it is actually possible ... | common-pile/stackexchange_filtered |
Angular material CDK drag and drop is way too slow in IE and Edge?
CDK drag and drop is way too slow in IE and Edge. only 1 sec after dragging, the placeholder and preview are appearing. Moving across the drop ranges is also lagging. But in Firefox and chrome it works perfect.
I have a loop of large data, 50-100 header... | common-pile/stackexchange_filtered |
Weird "hidden answer" in $2\tan(2x)=3\text{cot}(x)$
The question is
Find the solutions to the equation $$2\tan(2x)=3\cot(x) , \space 0<x<180$$
I started by applying the tan double angle formula and recipricoal identity for cot
$$2* \frac{2\tan(x)}{1-\tan^2(x)}=\frac{3}{\tan(x)}$$
$$\implies 7\tan^2(x)=3 \therefore x=... | common-pile/stackexchange_filtered |
Solutions for serving large downloads to prevent interruption from sleep or hibernate?
I'm serving downloads on apache using X-SendFile within PHP. It works great, but the problem I'm anticipating is when users download large >18GB files they may run into issues where their PC's power saving options might interrupt the... | common-pile/stackexchange_filtered |
Make text Blink in AndEngine GlES2.0
WHAT I WANT: I want my text to appear character by character and when entire text is visible, I want entire text to blink.
WHAT I HAVE DONE:
Text displayText = new TickerText(WIDTH / 2 - ((displayTxt.length() / 2)
* FONT_SIZE_LARGE) / 2 - FONT_SIZE_LARGE, HEIGHT / 2, mPlokFontL... | common-pile/stackexchange_filtered |
UIWebView show partial website
I need to load an URL, but want to show only the contents inside a certain div and hide everything else on the website.
How can I do that?
In you Webview you can inject JS. Like this you will be able to hide the content you want :)
Here's a link to help you : https://gist.github.com/irac... | common-pile/stackexchange_filtered |
how to change link from image url using php
i want to get image from google plus, url image like here
https://lh3.googleusercontent.com/-Sjhjjjjjj/........./s200-c/201gjghjphotoo1.jpg
how to can replace s200-c to s0 for full size
my code but not work
$file = preg_replace("/.+\\/\\/(\\d+).+/", "s0", $file);
The PHP ... | common-pile/stackexchange_filtered |
How to access persistent data path in Android programmatically?
I'm trying to access installed application persistent folders which is located at /data/data/*
I'm only getting my app folder using this getFilesDir().getAbsolutePath().
Is there any way to get all apps persistent folder?
if device is rooted you will need... | common-pile/stackexchange_filtered |
How do i get access Token in web request vb.net
I have some confusion with web request and newtonsoft.json, I was trying to convert stream reader to newtonsoft.json and get access token value from api. How do i get one value from stream reader to newtonsoft.json.
request example:
{
"username":"abc",
"password":"a... | common-pile/stackexchange_filtered |
AWS CodePipeline Failed
I keep getting a permissions error with Codepipeline, even though I've setup IAM roles for this service which should provide access to all other services in AWS
The provided role does not have permissions to perform this action. Underlying error: Access Denied (Service: Amazon S3; Status Code: ... | common-pile/stackexchange_filtered |
How to remove item from array using localStorage.removeItem?
I'm using localStorage.setItem and localStorage.getItem to store data (devices, in my case) from an API to persist through page resets. When a device is clicked on, it gets stored into a shopping bag. When the user clicks a device in the bag, I want it to be ... | common-pile/stackexchange_filtered |
Weird output for echo and print_r
I haver discovered some weird behavior and cannot explain what is going on:
$e = 3;
echo "with array " . print_r($e);
gives:
3with array 1
why?
And what do you expect?
echo "with array " . print_r($e,1);
Execute print_r($e) displays 3 and returns a boolean true, which is then conc... | common-pile/stackexchange_filtered |
What questions are relevant to 2011 Black Hat Briefings?
In response to Promoting IT Security at the Black Hat Conference
Please list a question that is relevent for one or more Black Hat Briefings.
Descriptions for each talk can be found at Black Hat ® Technical Security Conference: USA 2011
Faces Of Facebook-Or, How... | common-pile/stackexchange_filtered |
Wendell Phillips Quote that "Revolutions Never Go Backwards"
What did Wendell Phillips mean when he said, "Revolutions never go backwards."? I believe that Abraham Lincoln also used this quote as a means of promoting the Republican Party and anti-slavery sentiment for the election of 1860.
Seems unlikely, since anti-s... | common-pile/stackexchange_filtered |
Creating Random Images
I have an assignment, where I have to create a JavaScript based application (which I've done already)< but my problem now is that I've got to use two text boxes, one is to enter your name and the other is to enter your surname. Once you entered that, and click on the submit button, I need a rando... | common-pile/stackexchange_filtered |
Can I Create a Single HighCharts Graph from Multiple Data Sources (Multiple GoogleSheets in this case)
I’m trying to use data from multiple GoogleSheets to produce a single HighChart graph.
I’d like to do this without moving all the data into one area of a single spreadsheet, particularly as I want to use the drilldown... | common-pile/stackexchange_filtered |
Layout, one ViewGroup takes the 60% of the height, and the other one fills the rest
I've bounced around quite a bit and haven't been able to find a solution that matches what i'm trying to do.
I have 2 RelativeLayouts inside a LinearLayout.
I would like the first RelativeLayout to take up 60% of the screen.
I would lik... | common-pile/stackexchange_filtered |
Combining information from multiple lists
I have multiple string[] that are defined like this:
var allEntities = new[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" }
var entitiesWithPriority = new[] { "c", "d", "g" }
var entitiesWithIssue = new [] { "d", "h", "i" }
var entitiesWith... = new [] { ... }
Now I'd like to... | common-pile/stackexchange_filtered |
Applying 2D Image Convolution in Frequency Domain with Replicate Border Conditions in MATLAB
I have created a function that filters an image (250x250) with a gaussian blur kernel (5x5) using FFT and IFFT. I am trying to get my filtered image to equal exactly the filtered image created by the 'imfilter' function using t... | common-pile/stackexchange_filtered |
Separable prefix position in questions
"Was würden Sie mit auf die Reise nehmen?" I found this sentence on VHS website. But reverse translating gives me, "Was würden Sie auf die Reise mitnehmen?" The position of "mit" in the second sentence seems the correct one to me. Are both correct?
See also: https://german.stacke... | common-pile/stackexchange_filtered |
Assembly Language - Multiplying
I have created variables:
Y sword 8
Z sword 20
T sword 68
B sword ?
And I have to evaluate the following, B = 4T - (8 + Z) + Y
I am really not familiar with how to do this. Can someone please help me understand?
What CPU are you writing the code for?
I'm not sure what you mean. I'm ju... | common-pile/stackexchange_filtered |
UITableViewCell image update in one cell automatically/annoyingly gets to other cells too
Am a newbie to iOS programming (but I've done my homework ... going through books on iOS and google tutorials). Am trying to do this:
User inputs some text in a text field, & chooses an emoticon.
I then add the user-input-text t... | common-pile/stackexchange_filtered |
How to get correct intellisense with useClass provider
I've created a class that extends native angular service, and used class provider to override it.
Extended service
@Injectable()
export class ExtendedFormBuilder extends FormBuilder {
control(
formState: any,
validator: any = null,
asyncValidator: any... | common-pile/stackexchange_filtered |
How to create .py to .exe of a pandas code?
I have written some code that takes 2 excel files and merges them into a new one, called "output.xlsx".
The code is for another person that does not code, so I tried to convert it to .exe with pyinstaller:pyinstaller --onefile 130919.py, tried it without --onefile too.
The pr... | common-pile/stackexchange_filtered |
Removing column based on the content of the cells
I need to delete the whole column in a DataGridView based on a certain condition. My DataGridView columns consists of numbers (1,2 and 3) the condition would be to delete all columns that does not contain (1,2 and 3). For Example if the column has only (1 and 3) it shou... | common-pile/stackexchange_filtered |
Unable to locate element from webdriver whereas IDE locates it
Please find the code below :
<table class="cctable" width="100%" border="0" cellspacing="0" cellpadding="2" tabindex="0" summary="Content">
<thead id="Header">
<tbody>
<tr style="height:1px">
<tr style="height:1px">
<tr style="height:1px">
<tr style="height... | common-pile/stackexchange_filtered |
Can supervisord show a tail of stderr in its web interface?
Can supervisord show a tail of a proccess' stderr in its built-in web interface?
Only stdout appears immediately available.
Although the web interface doesn't link to it, you can switch channels on the logtail; the default is stdout but you can also ask for t... | common-pile/stackexchange_filtered |
Selenium finds but won't click button
I'm trying to automate submission of LinkedIn's advanced search form (https://www.linkedin.com/vsearch/f?adv=true&trk=federated_advs). It only loads properly once you're logged into your account.
Here's the HTML for the search button:
<div class="form-controls">
<input type="su... | common-pile/stackexchange_filtered |
Find shortest cyclic path on a cylinder represented by 3d triangular mesh
Suppose I have a 3d triangular mesh with the topology of a finite cylinder.
Let C be a vertex on that mesh.
How can I find the shortest path from C to itself that goes around the cylinder? (I don't know the proper terminology).
I suppose that if ... | common-pile/stackexchange_filtered |
vb.net storing "i" amount of textbox values in an array
My program has the ability to add textboxes during run time. The amount of textboxes on the form at run time is stored in the variable i. I need to create an array that stores all of the values from each of the textboxes in a place in the array up to the value of ... | common-pile/stackexchange_filtered |
Windows Store App - Executing a single task when launched from a secondary tile
I have a Windows Store App that creates a secondary tile. When the tile is clicked, I want the app to perform, what is effectively, an off-line function (that is, I don't want to go back into the app, but want the app to do something and t... | common-pile/stackexchange_filtered |
User Defined Table Type not working with Linq
I have created some User Defined Table Types in database(SQL Server2008) and using that kind of types as parameter in some stored procedures, when i dragged that stored procedures in dbml file(visual studio 2010) via server explorer by which database has been connected and ... | common-pile/stackexchange_filtered |
Expressing quantifier free $\mathcal{L}_{PA}$-formulae $\varphi(y,\vec{x})$ with polynomials
I'm stuck at the following exercise:
I want to show that for every quantifier-free formula in the language of $\mathsf{PA}$ there are polynomials $P(y,\vec{x}),Q(y,\vec{x})$ such that for all $\vec{n} = n_1,...,n_k \in\mathbb{N... | common-pile/stackexchange_filtered |
NTFS Disk with error in S.M.A.R.T
I have a NTFS disk where I store my data, after a problem with a bad IDE/SATA adapter (who was shutting down my disk) the S.M.A.R.T is showing errors.
I want to know what more I need to do to check and fix any error at this disk.
I've used fsck to check the disk but its not verbosely t... | common-pile/stackexchange_filtered |
Check time range data..How?
how to get Time range data..
001:Sunday:08:00
002:Sunday:08:10
003:Sunday:08:15
004:Sunday:08:20
005:Sunday:09:20
006:Sunday:10:00
007:Sunday:13:00
for example i want to get 08:00 to 09:00 result
how to get it
(data has been written in a text file)(String type data)
You should explain wh... | common-pile/stackexchange_filtered |
How to prevent sending requests with token for others
I have an ASP.NET Web API project. I'm using JWT Token and it have user mail in it. I noticed something, If someone have token after login can send request for other user.
I have a few endpoints like that
[HttpPost]
public async Task<IActionResult> Post(stri... | common-pile/stackexchange_filtered |
Advantages/Disadvantages to exploded WAR files
An answer to a question I read today suggested deploying an application as an exploded (unzipped) WAR. It got me thinking.
Every deployment I've ever done to a JBoss/Tomcat has been with a a WAR/EAR file. At least as far as I can remember.
Have I been making a mistake all ... | common-pile/stackexchange_filtered |
Fixing a bad JSON grammar
I've just started learning about parsing, and I wrote this simple parser in Haskell (using parsec) to read JSON and construct a simple tree for it. I am using the grammar in RFC 4627.
However, when I try parsing the string {"x":1 }, I'm getting the output:
parse error at (line 1, column 8):
un... | common-pile/stackexchange_filtered |
Typescript annoying warning on react props
Once I started to use Typescript in React I notice one thing I don't like which is to the need to declare every props to a component. Before this we can use {...props} but now I have to declare in interface every single native props like ref, placeholder, defaultValue etc.
int... | common-pile/stackexchange_filtered |
Intel and GLSL - Failed to compile fragment shader
I'm running into a rather strange GLSL compilation error while using Intel HD Graphics 3000.
ERROR: 0:130: 'switch' : no matching overloaded function found (using
implicit conversion)
ERROR: 0:131: '{' : syntax error parse error
12 uniform int pixel_format;
.... | common-pile/stackexchange_filtered |
Prove fixed point theorem for the reals without using the Intermediate value property?
The question is as following:
Prove the following ‘fixed point theorem’: For every continuous function $f:[0,1]→[0,1]$ there exists $x\in[0,1]$ such that $f(x)=x$
Now I know there is an easy proof using the intermediate value theorem... | common-pile/stackexchange_filtered |
Underfull \hbox (badness 10000) in a tabularx table
I'm encountering the Underfull \hbox (badness 10000) error when using the below provided code. By testing the code, I've noticed that the error vanishes when reducing the first column to a single word per cell. However, I require more than one word in the first column... | common-pile/stackexchange_filtered |
prediction based on updating data
I'm currently working on an online advertisement optimzier project.
Let's assume that only thing I can change is CPC(cost per click).
I don't have much data, as the data is updated only once a day.
I want to get the prediction of net_income by CPC and want to let the program to suggest... | common-pile/stackexchange_filtered |
Find the Closest Vector to a Given Vector from a Given Set Defined by Set of Multiplications
Let $x=\left(x_t\right)_{t=1}^n$ be a vector such that
$$
x_t = \prod_{i=1}^t u_i, \tag{1}
$$
where each parameters $u_i$ can take any of two value
$$
u_i \in \left\{a,b \right\} = \left\{ 1.3, 0.8 \right\}.
$$
Each vector $x$ ... | common-pile/stackexchange_filtered |
Taking screenshot programmatically in mac only for application window
I have to add the ability to take screenshots to my OSX apps, but the Apple demo is only giving me the whole screen image, I just want to only my application window image.
My code is:
NSInteger displaysIndex = 0;
if(displays != nil)
{
free(displa... | common-pile/stackexchange_filtered |
How to add css class on validation error to list item
In my application I have ListView with textField which is validating when user submit button. When there is error it will show error message. Problem is there is a lot of rows so user can not recognize bad row easily. So is there some way how to add css class to thi... | common-pile/stackexchange_filtered |
How to get the count of nested ng-repeat items
How can I hide nested ng-repeat blocks if they return no values once filtered? "[if no items in filtered set hide]"
<div ng-repeat="thisCategory in Categories">
<div class="panel panel-default" ng-hide="filterResult[$index].length == 0">
... | common-pile/stackexchange_filtered |
Font awesome disappearing in wordpress site
As of today my font-awesome icons started disappearing on my website. I updated the theme ( upside theme - kopathemes ) and WordPress to latest 4.7;
So far this happens in Chrome. Firefox displays everything correctly.
What to do ?
It's look working in my chrome 66, where ... | common-pile/stackexchange_filtered |
Fade out one image and fade in another with css animations
I have two images I'd like to alternate between. I'd like to have one image fade out completely, then have the second image fade in. I'd like the two images to cycle like the infinitely.
Welcome to Stack Overflow. You might want to refer to https://stackoverfl... | common-pile/stackexchange_filtered |
Gradle unzip archive with .git folders inside
Using Gradle 2.11 and JVM 1.8.0_77.
The Gradle copy task for ziptrees doesn't seem to like dot folders inside zip-trees, as it ignores the .git folder entirely:
Archive.zip:
archive/someFile
archive/.manifest
archive/.git/objects/93/
archive/.git/objects/93/c426c3ffd836bfc0... | common-pile/stackexchange_filtered |
How to align this implications?
I prepared my notes on algebra and I faced this :
Here the first implication is not in the correct position by comparing to others, so I want to know how to align this implications ? The only problem here is the first implication. How to align this implications equally for a good look?
... | common-pile/stackexchange_filtered |
Creating a new tag on a question that wasn't asked by me
Just a little question about tagging.
If I create a new tag by editing a question wasn't asked by me, the tag is considered as created by the question's owner or created by me?
My question is related to the Taxonomist badge.
I have created a new tag on questions... | common-pile/stackexchange_filtered |
Iterated expectation Confusion
I am trying to show that $E(XY)=E[X$$[E(Y|X)]$
Bu the law of iterated expectation $E(XY)=E[$$E[XY|X]]$
I am not sure as to how to proceed from here
As it is stated now, your version of the law of the iterated expectation makes little sense. You should just condition on $X$, not $X=x$.
@... | common-pile/stackexchange_filtered |
Repeating loop in C++
Below is the code for a simple menu in C++. For some reason, if you give it garbage input it will react properly ("Please try your selection again"). However it will then go through the loop one more time giving the error message again, and then finally go back to functioning like normal.
EDIT
Th... | common-pile/stackexchange_filtered |
Why does typeof JSON.parse returns string
Brief Explanation
I'm using bottle.py as a simple web server and I'm rendering a javascript, passing it a python dictionary, then in the javascript file I want to add another field to the object and make a post request with the result.
However when i log the typeof datain likeP... | common-pile/stackexchange_filtered |
Set time or sending limit for PHP mailing script
I have a simple php registration form that captures a name and email address. After registering, I have a confirmation email set to go to the registrant and one to go to the admin.
I've had an issue where the user only registered once, but some issue caused the email to ... | common-pile/stackexchange_filtered |
Better way to create a Dataset?
I'd like to create a Dataset from an array, where each column's heading becomes the key for all elements in that column. I can accomplish this using nested Table commands, but was wondering if there is a more elegant way that directly leverages the syntax developed for Datasets. E.g., c... | common-pile/stackexchange_filtered |
create dict from list using nested list comprehension
I have a list like:
data = ['a:b', 'c:d', 'e:f', 'g:h']
from which i have to create dict.
xx = [i.split(":") for i in data]
d = {k:v for k,v in xx}
this way it works but when i tried to put it in a single line, error comes, too many value to unpack.
d = {k:v for i ... | common-pile/stackexchange_filtered |
JW Player RTMP Works Embedded, Self Hosted Not
Stream working with embed, but not self hosted
https://s3.amazonaws.com/jwtestrtmp/embedded.html
https://s3.amazonaws.com/jwtestrtmp/selfhosted.html
<div id="myElement">Loading the player</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElemen... | common-pile/stackexchange_filtered |
Arguments in for loop
I am new to programming and had this random question crossed my mind while learning for loop:
import pandas as pd
name = ['Amy','Luke','Anderson']
occupation = ['Data Scientist','Lawyer','Teacher']
df = pd.DataFrame({'name':name, 'occupation':occupation})
for a, b in df.iterrows():
print(b['n... | common-pile/stackexchange_filtered |
My code doesn't work - tizen.power.request("SCREEN", "SCREEN_NORMAL");
I'm making TIZEN Gear application on TIZEN Studio.
It needs turn on it's screen when background function catch new alarm.
there's tizen.power.request("SCREEN", "SCREEN_NORMAL"); on official site and any other users said but it's not working on my co... | common-pile/stackexchange_filtered |
inline-block element containing text in Outlook (responsive emailing)
AFAIK there is no support to display CSS property on Outlook (not even on Outlook 2013), but I would like to know if there is an already by-default display:inline-block styled tag (element) where I can put text inside.
I need to put 2 blocks side-by-... | common-pile/stackexchange_filtered |
Insert line in nginx configuration file ansible inside http {}
I am writing an ansible script to deploy django in centos 7. My problem is with nginx.
I have created /etc/nginx/sites-available and /etc/nginx/sites-enabled directories and have to include sites-available in /etc/nginx/nginx.conf file at the bottom if htt... | common-pile/stackexchange_filtered |
c- Karp-Rabin rolling hash - skip and append parts
I need a little help with a particular part of my Karp-Rabin algo.
What I am trying to do is to implement both the version with fixed sliding window and with separate append and skip parts. Sliding window works perfectly fine. The problem occurs when I try to split the... | common-pile/stackexchange_filtered |
Cannot output scope properties
enter image description here
Hi, I have "loc" properties in scope, but I cannot output to console "loc" Array
in directive:
return {
scope:{
loc:'='
},
template: '<div id="gmaps"></div>',
link: function(scope, element, attrs) {
var... | common-pile/stackexchange_filtered |
The specified option 'clr enabled' is not supported by Azure SQL Edge
I'm a .NET developer and new to mac (m1 pro). I use docker and pull the azure-sql-edge image. When I try to create a table with a geometry column or insert a value in the geometry type column that was generated by code first solution, I encounter the... | common-pile/stackexchange_filtered |
Get Method ID from all transactions in a block
I ask for your help! How do I get the Method ID for each transaction in a block.
I can get the following information
block = w3.eth.get_block('latest', True)
print(list(block))
['difficulty', 'proofOfAuthorityData', 'gasLimit', 'gasUsed', 'hash', 'logsBloom', 'miner', 'mix... | common-pile/stackexchange_filtered |
Why doesn't separate continuity imply continuity?
Suppose $f: U \rightarrow R$ for some open subset $U$ of $R^2$ is continuous in each variable ie. $f(- , y)$ continuous for each fixed y, and $f(x , -)$ continuous for each fixed x.
I know the counterexample that $f = \frac{xy}{x^2 +y^2} $ for $(x,y) \neq (0,0)$ , $f =... | common-pile/stackexchange_filtered |
Screen scraping a mainframe screen in C# *without* 3rd-party utilities
I'm looking to screen scrape a 3270 mainframe application in C#, but I've got to do so without Attachmate or other 3rd party plugins. Are there free managed libraries to do so in C#?
Are you just talking about screen caps? Why no 3rd party applicat... | common-pile/stackexchange_filtered |
Alternative to ROW_NUMBER() OVER (PARTITION BY x ORDER BY z)
There are plenty of questions on here regarding poor performance with ROW_NUMBER() OVER (PARTITION BY XXX ORDER BY YYY) but ive not been able to apply any of the answers to my scenario.
This is either a lack of understanding on my part or my scenario is not s... | common-pile/stackexchange_filtered |
http javaScript set attribute default to all tags
I am pretty new to HTML and just trying to figure things out...
I am trying to set an attribute for the tag, more specifically the target attribute so that all links in web page would open in a different tab...
I have encountered the jQuery functions and tried to impl... | common-pile/stackexchange_filtered |
User control that can hover and can be attached to form in vb.net
When I moves window on screen, user control is not moving.Is there any way we can add the control to the window except we create control at run time in form window. I have shared the code below.
I've created a custom CustomBox using links link1 and link2... | common-pile/stackexchange_filtered |
How to retrieve data from additional columns in a pivot table and also be able to update it in laravel 5.2
I was working on making a group functionality for my website which uses a many to many relationship between groups and users.
My User model looks like this:
public function groups(){
return $this->belongsToMa... | common-pile/stackexchange_filtered |
ResourceNotFound: convex_decomposition when installing Guided Policy Search library
I am attempting to install the guided policy search ros package for the pr2, but I keep running into this error when I attempt to build. I think it is because I am missing some python dependencies, but it doesn't appear to list which de... | common-pile/stackexchange_filtered |
ERR_CONNECTION_RESET on Chrome
I am facing strange Issue while doing the HTTP ajax post on Chrome. The below is the chrome event log where connection reset occurred on Chrome which then tries to re-post and it got succeeded.
Looking at timeline of both IIS and Chrome It looks IIS receives the request and
closed wh... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.