text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
But these textbooks were bought by them. / But these textbooks they bought
Which version would be idiomatic? I have the second version in my English study book and was surprised by their construction. Is it idiomatic to speak like that? "But these textbooks they bought."?
All of the students take the books from the li... | common-pile/stackexchange_filtered |
How to make a variadic is_same?
How can I make a class template that returns whether any of its variadic types are equal to the first type. I want to be able to do this:
is_same<T, A, B, C>::value; // true if T is one of A, B or C
And if T is equal to any one of those types, its static value member will be true, other... | common-pile/stackexchange_filtered |
Show google calendar within my ASP.NET Core MVC 2.2 project
I just want that my users have the possibility to access their (not my!) google calendar within my application. I do NOT need any data from their google calendar. So first i tried with just a simple iframe, but google blocked this.
I tried this: https://develo... | common-pile/stackexchange_filtered |
Split on spaces except those within quotes but also allow escaped quotes
If my input string is:
Word "Two Words" Quo\"te "Quo\"ted Words"
The output should be:
Word Two Words Quo"te Quo"ted Words.
I can't seem to work in the escaped quotes in my regex.
Which programming language?
split using this pattern (?<!\\)".*?(... | common-pile/stackexchange_filtered |
ML classification, how to handle a cell that has 2 information?
So i have a situation that i couldnt get out. Im pretty new to machine learning and its community.
Im trying to make a classification model but here is my problem:
So lets say i have 2 of X (variables; text or integers) columns and 1 Y (which im trying to ... | common-pile/stackexchange_filtered |
Patent on comparing two values which are put through a hash function to determine if the same
I came across this patent titled “Similarity-based access control of data in a data processing system” (priority date: 1995-04-11).
Abstract:
Similarity of data items is determined by analyzing corresponding
segments of the d... | common-pile/stackexchange_filtered |
Find and Replace in String ArrayList
public static int preaparePatternForJFugue(ArrayList <String> arrLst) {
String contents;
for(int loopIndex2=0;loopIndex2<arrLst.size();loopIndex2++) {
contents=arrLst.get(loopIndex2);
contents=contents.replaceAll(",", "Q");
arrLst.set(loopIndex2, con... | common-pile/stackexchange_filtered |
Checking spoke tension without specialized tools
I have laced and trued my first wheel (YAY!) at home, while in the fork. It is fairly true (to the point I used to pay money for), but I am not sure if the spokes are tensioned properly (I guess it is possible to have ill-tensioned wheel which is true). How to check that... | common-pile/stackexchange_filtered |
unencrypted, password-free VNC connection
I setup conferences twice a year where users come to learn a program that we have created. I have a powerful laptop (running Debian Jessie) and a router to create a local network and I'd like to give the users access to the laptop via VNC from their computers so they all work w... | common-pile/stackexchange_filtered |
Why doesn't assignment of new values change the original dict?
d = {'a':'1', 'b':'2', 'c':'3'}
def change_d(d):
dd = {}
d = dd
print(d)
change_d(d)
print(d)
I suppose both print() should print out an empty dict, but they are different:
{}
{'a': '1', 'b': '2', 'c': '3'}
Why doesn't the assignment in the ... | common-pile/stackexchange_filtered |
Will signing into my Sandbox account mess with my main account on my Iphone
If I sign out of my main account on my iphone and sign in with my Sandbox account will it erase or mess with anything attached to my main account? I am trying to test In app purchases for my game.
will it erase or mess with anything attached ... | common-pile/stackexchange_filtered |
CMake - Install Find script for depencency together with script
I am making a CMake library around some installable SDK. So the dependency tree looks like:
Application --> MyLibrary --> OfficialSDK
This SDK is installed by some setup.exe and does not have a CMake module.
So instead I include a custom find scri... | common-pile/stackexchange_filtered |
Load Balancing VPN servers (Ubuntu)
I am trying to load balance two VPN servers, that are located quite far from one another.
I am using Ubuntu with pptpd, is there anyway to load balance those two servers? So user connects pptp to the load balancer then that routes it to one of the other two servers?
Since HAProxy o... | common-pile/stackexchange_filtered |
Convert Epoch to DateTime SQL Server
Apologies my cap broke mid title.
I'm having issues with the following:
dateadd(S, [unixtime], '1970-01-01')
to convert epoch to datetime in SQL Server, but received the following error:
Arithmetic overflow error converting expression to data type int.
Obviously it means the epoc... | common-pile/stackexchange_filtered |
What should I do when I see a non-programming question on SO?
I don't have enough rep to vote to close. Should I...
vote it down?
ignore it?
tag it notprogrammingrelated?
or something else?
Don't tag not-programming-related or similar. That's a useless tag. Either
vote down
ignore and let users that can, close i... | common-pile/stackexchange_filtered |
Python elasticsearch-dsl build match query dynamically
Using ElasticSearch 6.x and elasticsearch-dsl python package
I am trying to generate a match query with its options form, with the query element.
I have a list of fields fields = ['field_1', 'field_2'] and I am trying to build a leaf match query using the following... | common-pile/stackexchange_filtered |
How to make the bins line up in ggplot2?
I used ggplot2 to plot a histogram shown below. I set the width of the bin into 5 or 10. However, the first bin in the chart seems to be only half of the bin width. 5-2.5 and 10-5. What caused this problem and how can I solve it?
You can control how bins line up with the cente... | common-pile/stackexchange_filtered |
Is there a way of generating getter, setter functions in visual studio 2012 like in eclipse
I had looked up solutions here C# shortcut or shorthand getter setter but when I implement one of solutions
visual studio generates code like
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar ... | common-pile/stackexchange_filtered |
Why does this file_get_contents cause 400 bad request?
A URL should be properly encoded to deal with spaces when passed to file_get_contents, but there appears to be a strange inconsistency in behaviour (accidentally discovered) when not doing so that I'm curious about.
Here we see a 400 bad request when the space is n... | common-pile/stackexchange_filtered |
testing user entry on keyup and regex
In my case the requirement is like -
The first name should allow alphabets, some chars like comma, dash and ascent chars.
The code works fine when we try to paste the ascent chars or use "abctajpu" add on in firefox. But as soon as user types in ALT+0192 or any ALT key with num pa... | common-pile/stackexchange_filtered |
Let's Encrypt: Why is DNS challenge static?
To my understanding, LetsEncrypt DNS verification works by setting a static TXT record into DNS (basically just a nonce) which is then checked by the LetsEncrypt servers.
When I first heard about it I was pretty excited and expected something more sophisticated: A public key ... | common-pile/stackexchange_filtered |
Should I initialize a struct's variables within the constructor of its containing class?
I have a header file with a class called 'list' and a struct called 'node' within the private part of that class. Together, this class and struct will make up a doubly threaded linked list of winery objects (winery being it's own c... | common-pile/stackexchange_filtered |
Extend module using class syntax, not prototype?
The gm node module mentions in its documentation that you can use .prototype syntax to extend the classes functionality.
https://github.com/aheckmann/gm/wiki/Extending-gm
var gm = require("gm")
gm.prototype.sepia = function(){
this.modulate(115, 0, 100).colorize(7, 21,... | common-pile/stackexchange_filtered |
How to add a database in SQL Server Management Studio?
I have been sent a database called StudentsDB.mdf and I want to enter it into my SQL Server Management Studio databases . How to do that ?
I want to know if I copy a .mdf file from the directory where are all my databases which is C:\Program Files\Microsoft SQL Ser... | common-pile/stackexchange_filtered |
PHP ... display array (results of survey) using forloop
I am new to PHP and working on an assignment. I'm almost finished but feel like I'm beating my head against the wall with this last step.
The user chooses a survey and then answers 10 questions. After the 10th question is answered, they are redirected to the resu... | common-pile/stackexchange_filtered |
How can I output a CString variable with std::cout?
Code:
CString a = "a";
CStringArray arr;
arr.Add(a);
cout << a << endl;
cout << arr[0] << endl;
Output:
000001E46FEDD8F8
000001E46FEDD8F8
Expected output:
a
a
The output is not the string but an address.
How to output CString data instead of outputting it's addres... | common-pile/stackexchange_filtered |
Get author ID with attachment ID
I have a page, outside the loop, that display a media attachment with some basic info about it (title, uploaded date, etc). I have the attachment ID available to me via a form submitted before the page loads.
What I need to do is secure the page by making sure that only users who have u... | common-pile/stackexchange_filtered |
Perl variable in XPath expression
How can I use a Perl variable inside a XPath expression using the XML::LibXML module's findnodes() function? This is what I got:
my $variable = 1;
foreach my $node1 ($doc->findnodes('par/par1/par2[@id = $variable]'))
{
}
But it doesn’t seem to work. Thanks.
"it doesn't work" and its... | common-pile/stackexchange_filtered |
bootstrap.js:441 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
I am Using Angular bootstrap. Actually, there are two Carousel slider in same page so some time Carousel get stopped when getting this error.
Please see attached image to check error what i am getting.
The scenario is i am trying to ge... | common-pile/stackexchange_filtered |
Why does using css calc function to calculate complex expression doesn' work?
I want to use css calc to calculate the widh , but it doesn't work.
.box {
width: calc(1235px * (100vh / 375px * 667px / 100vw));
}
What doesn't work? Please have a look at https://idownvotedbecau.se/itsnotworking/ and update your questio... | common-pile/stackexchange_filtered |
update requires a valid updatecommand when passed datarow collection with modified rows
Am trying to update the access database with the values in the datagrid by the following command:
Private Sub btnUpdate_Click(ByVal source As Object, ByVal e As EventArgs) Handles btnUpdate.Click
Dim conn As New OleDbConnection(... | common-pile/stackexchange_filtered |
Postgres: Self-Referencing N:N Getting Data with Function
I want to return the ingredient_title of component_id, but keep getting the title of ingredient_id instead and can't seem to figure out the logic.
Returning array because there can be multiple components of ingredients that have the same limiting quantity.
Junct... | common-pile/stackexchange_filtered |
How sorted is an array
Suppose we have an array of integers with length of n. We need a function like f(arr, n) which returns a number between -100% and +100%. The closer the result is to +100%, the more array is in ascending order; and the closer the result is to -100%, the more array is in descending order. If array ... | common-pile/stackexchange_filtered |
Empty ps_stock in presta 1.7
Is the ps_stock table used in prestashop >1.7 (or it is just for backward compatibility or future option)? I noticed that it is empty and can't find a way to fill it. In presta 1.6 it was filled by Stock management (button Add stock). The reason I'm asking is that I use external report app ... | common-pile/stackexchange_filtered |
Adding fadeout fadein on background image of jQuery slider
I create one jQuery slider. I just want to show/hide left and right arrow on first and last thumbnail apperance, also want to animate the background image fadein/fadeout method. Here is the demo link http://jsfiddle.net/NwmLL/8/ Please help me.
To handle your ... | common-pile/stackexchange_filtered |
wpa_passphrase must be 8..63 characters
I'd like to connect to wireless network via command line in Linux.
When doing it I've stuck with this issue:
$ wpa_passphrase NETWORK_SSID NETWORK_PASSWORD
Passphrase must be 8..63 characters
The NETWORK_PASSWORD has only five characters.
Via smartphone there is no problem wit... | common-pile/stackexchange_filtered |
Java multithreading: how to wait for a method to return a valid value
I am faced with the following situation in my Java app that use Threads.
I need to stop my thread and wait until otherObject.methodFoo() returns a NOT NULL value.
Something like this... (obviously this version does not work)
synchronized(otherObject.... | common-pile/stackexchange_filtered |
Apache Storm: get Topology name inside a Bolt
How can I get the name of the current topology inside a BaseRichBolt implementation? I see that I have access to the stormConfig Map and the TopologyContext from the prepare() call, but it isn't obvious how to get the name of the running topology from either of these.
You ... | common-pile/stackexchange_filtered |
SQLCMD include all scripts in folder
In my Post Deployment Script, I would like to include all script files in a folder using a wildcard like this:
:r .\$(ReleaseName)\*.sql
Is there a way to do this? I can't find any..
Pretty sure that you can't do that. The $(ReleaseName) part will work, but I think you need ... | common-pile/stackexchange_filtered |
Fastest output to file in c and c++
I was helping someone with a question about outputting in C, and I was unable to answer this seemingly simple question I wanted to use the answer to (in my answer), that is:
What's the fastest way to output to a file in C / C++?
I've done a lot of work with prime number generation an... | common-pile/stackexchange_filtered |
Calculating Percentage within a MYSQL Group
My query calculates the total numbers of calls within SLA by priority. However now I need to work out the percentage of calls that were within SLA by priority within the same statement
However I am unsure how to do this within my current statement
`SELECT
SUM(o.withinfix) 'T... | common-pile/stackexchange_filtered |
ERROR: Trying to Tweet an image + text with Twitter API V1 and V2 endpoints
I am trying to create a bot to extract info from a source and tweet it as an image + text everyday.
I know that V1 endpoints will not work, but so far i read it still support media upload. The V2 endpoint tweets a text.
I have managed to tweet... | common-pile/stackexchange_filtered |
How to bill time working around web hosting issues?
My client's web hosting company changed some web server security rules which made the site not work properly. I spent 4 hours diagnosing the problem and emailing their tech support back and forth.
I'm thinking of billing my client for this, but it could be counterprod... | common-pile/stackexchange_filtered |
Recording m3u8 stream stop time do not work when stream is forwarded using socat
I try to record m3u8 stream containing audio only. It is online radio but listening is geographicaly restricted and in my country requests fails with HTTP 403 but on server in (non-restricted) remote country stream work. As an workaround I... | common-pile/stackexchange_filtered |
What are these things called in a bode plot
Here is a low pass filter bode plot:
In the bode plot theory, what is K called? What is ω0 called? What do these two represent for a low pass filter? Does K not represent an amplification or attenuation of the main signal regardless of the low pass filter?
A peculiar thing i... | common-pile/stackexchange_filtered |
Solving Linear Congruences With Euler Totient Function
I've been asked to solve the following congruence $x^{1667}\equiv2$ $mod$ $2500$. Am I right in saying there's no solution modulo 2500 to this congruence since even though 1667 is coprime to $\varphi(50)=20$, where $\varphi$ is the Euler totient function, the numbe... | common-pile/stackexchange_filtered |
Author page like wordpress answers
I'm newbie in wordpress. I want to implement a page like https://wordpress.stackexchange.com/users
But no idea how to implement. The user listing, info, avatar,user search everything will same. any idea about the issue???
Take a look at Members List Plugin
The Members Plugin allow... | common-pile/stackexchange_filtered |
Why doesn't SQL Server have a pure date and pure time data type?
I have a few SQL Server tables with a datetime field that really only has to contain dates... and the fact that it's a datetime object violates data integrity, because it's possible for data to be inserted with a time - which isn't really valid for this f... | common-pile/stackexchange_filtered |
SQL to identify rows with price changes, group by item
I have a table with thousands of entries for fruit items. Some fruit items sell right away, others get re-priced at a subsequent date at a lower price to clear inventory. Each item entry has a unique id / SKU but gets a new row ID when it's re-entered at a new pric... | common-pile/stackexchange_filtered |
How can I convert this linq to bool
How to convert a query to bool?
I used the "ALL (x => x)" but did not give the answer I needed.
Code Line
checkItemInventory.Where(x => listCost.Contains(x.Id));
In this case, the listcost would have 2 items, I needed to check if the checkItemInventory has these 2 items.
I apologiz... | common-pile/stackexchange_filtered |
Is it possible to inject HTML into a div through external JavaScript file
I am trying to build a html component which will have a text box where user will come and enter something. A button which will post textbox data to server & a grid component which will show all the data user have posted so far.
I want to put all... | common-pile/stackexchange_filtered |
Replace <p>-tag in the_excerpt
I want to replace the -tag around the_excerpt.
Right now html-output looks like this:
<p> ...content of the excerpt... </p>
I want to achieve this:
<h2> ...content of the excerpt... </h2>
I tried to use the following code in the content-page.php but it does not change anything.
<?php the_... | common-pile/stackexchange_filtered |
Surely residual = value less predicted, even in GLMMs
Investigating how sound the fit was from R lme4::glmer.nb(), I tried plotting
the response variable against prediction plus residual.
I found they didn't exactly match.
Can you explain why there is a mismatch?
Am I omitting some other component from the sum (e.g. ra... | common-pile/stackexchange_filtered |
Firebase user returns null metadata for already signed up users
I have been using Firebase for authentication of users in the app. FirebaseAuth.getInstance().getCurrentUser().getMetadata() returns null when user comes back to the app after the sign up. It works perfectly when user signs up for the first time, but retur... | common-pile/stackexchange_filtered |
What are the options to generate editors over existing rest api?
I'm about to choose technology for some backoffice for existing site. Domain model is exposed over HTTP as REST-like API.
I wonder whether there is any technology which can provide customizable UI with CRUD operations.
It can be built over JS+HTML (pref... | common-pile/stackexchange_filtered |
MingGW installer closes itself?
I tried installing mingw-w64 to start coding in C, after downloading the 'mingw-w64-install.exe'. I ran it, it opened the windows prompt to ask me if I want it to make changes to my device (In which I clicked yes). After that the installer opened, I clicked next, It shows "Getting reposi... | common-pile/stackexchange_filtered |
slowly scroll to top not working in javascript
I made a this function for scrolling to top in javascript :
<script type="text/javascript">
function go()
{
$("html, body").animate({scrollTop: 0}, 1000);
}
</script>
Now when I want to click the specific image for scrolling to top not working :
<p><a href="JavaScr... | common-pile/stackexchange_filtered |
Change values in equation with slider
I want to make an equation where the values adjust to my slider which I inserted with manipulate.
Well, I tried, but when I use the slider the equation starts to fall apart.
Actually this should happen
Is it possible to make an quadratic equation in mathematica where the variable... | common-pile/stackexchange_filtered |
ValueError python
Please, I'm trying to output a date, revenue and machine, writing on excel.
From the input string:
16/04
B1 = 20,00
The coding:
i = 0
for info in a:
if len(info.split('/')) == 2: #Call date
datestr = info[0:5] + "/2018"
date = datetime.datetime.strptime(datestr, '%d/%m/%Y') #Fi... | common-pile/stackexchange_filtered |
Unexpected float behaviour in C with AVR atmega8
I've been trying to figure out why I cannot get a sensible value from multiplying an unsigned int with a float value.
Doing something like 65535*0.1 works as expected but multiplying a float with a uint from memory creates mad values. I have a function that reads an ADC ... | common-pile/stackexchange_filtered |
How to create videos similar to Khan-Academy videos with a Samsung Galaxy?
I would like to know what is the best option to create videos with audio similar to those of Khan Academy with Samsung Galaxy Tablets. Some of my colleagues have Samsung Galaxy 10.1 Note and some of them have Samsung Galaxy Tab. On the other han... | common-pile/stackexchange_filtered |
Unable to access samba user restricted share from Windows 10
Server: Debian 10, SAMBA v4.9.5
Client: Windows 10 21H1
I'm trying to create two Samba shares. One is open access to any user and doesn't request a password. The shared folder is /media/NAS. The other defines a username in its settings and requests a password... | common-pile/stackexchange_filtered |
jQuery window scroll, on scoll down goes back up
Using jQuery scroll function to create a sticky header and sometimes on a specific height (i guess) when I scroll down, goes back to top of page.
Recorded this: http://take.ms/s9mGh8
This is my function:
$(window).scroll(function(e){
$('#main').toggleClass('fixed', $... | common-pile/stackexchange_filtered |
Call global function asynchoronously in C++
I am getting the following error on compiling the program :
q1.cpp: In member function ‘void Course::display(int, int, int (*)(Student))’:
q1.cpp:56:59: error: no matching function for call to ‘async(double (&)(std::vector<Student>::iterator, std::vector<Student>::iterator),... | common-pile/stackexchange_filtered |
Compare two strings and replace matches
Im very new to Java and I have a following task:
Compare string 1 to string 2 letter by letter and find those that match and replace them with *.
I am completely lost and need some assistance. Here is a bit of code I was able to put together myself.
Scanner sc = new Scanner(Sys... | common-pile/stackexchange_filtered |
Turning off single category of categorized symbology in ArcMap
I am new to ArcGIS Desktop.
I have one layer with different types of sewer: for rain water only, for waste water only and both mixed.
Every type of sewer should have his own color: rain - blue, waste water - brown, mixed - violet.
So I created a categorized... | common-pile/stackexchange_filtered |
Define the location of Java fatal error log in runtime
is there any way to define the location of the fatal error logs in Java (hs_err_*.pid.log) in the runtime?
I know from [1] that I can set the location as parameter, but I want to change it in runtime.
Philip
[1] http://java.sun.com/javase/6/webnotes/trouble/TSG-Des... | common-pile/stackexchange_filtered |
Word Outliner - How to collapse all the text that is NOT marked red?
I am using the word 2010 Outliner to write paper. As I am currently working on it, I am putting all my sources in my outline. However, some sources have to be researched further. Therefore, I am currently marking them red.
Any recommendation how to di... | common-pile/stackexchange_filtered |
Difference between Promise.resolve and empty Promise Object
What is the difference between using Promise below ways.
Way 1:
function xyz() {
return Promise.resolve();
}
Way 2.
function xyz() {
return new Promise(() => {});
}
So, in a project i was been following they switched the return value of function xyz ... | common-pile/stackexchange_filtered |
How to cover/improvise percentage in SONAR CUBE Report by REST Assured Test Cases?
How to cover SONAR CUBE Report for REST Assured Test Cases?
Is there any possible way to improve code coverage in SONAR Using REST Assured Test Cases.
Since I am using some api's & microservices I used REST assured test case.
But it is... | common-pile/stackexchange_filtered |
Ajax search bar isn't working with Laravel 8
I'm trying to add a search bar for my suppliers using ajax in my Laravel project, I had trouble with it using it in the products search bar in my front office so I tried to follow the same steps in my back office but it doesn't seem to work, no error is showing so I don't kn... | common-pile/stackexchange_filtered |
I want to msg a phone using sms but have it send the person back after the text is complete like "telprompt" but for sms
I am wondering if there is a way "sms" can take a person back to the app when they are done with their text? I know the phone method can by using "telprompt:%@" but can the sms be done that way as we... | common-pile/stackexchange_filtered |
Statistical test for odds ratio when 1. N is large and not meaningful; 2. replicates are present
I'm investigating the co-occurrence of 2 types of events (var1 and var2). The hypothesis is that var2 is more likely to occur when var1 occurs. The data can be formatted into a contingency table as shown below. We have been... | common-pile/stackexchange_filtered |
Xcode Swift 5 MacOs app empty window when archived but works when running it from Xcode
I am building an app for Mac which logs into a website based on login and password collected from textfield and secure text field, then app opens an url which is created in my app based on date range selection with use of two date p... | common-pile/stackexchange_filtered |
Node sass not compiling locally
newbie here learning how to use sass by building a dummy project. I am using command line to compile my main.scss file (which contains many imports from partials) into style.css file.
npm run compile:sass
Whenever I make changes in my sass files, the changes do not occur in CSS unless ... | common-pile/stackexchange_filtered |
Methods to properly cut a large fits file to isolate certain galaxies into smaller fits files
Currently I am working on analyzing several galaxies within a fits file image. The fits file is a 3D Hyperspectral cube, with x and y axes representing Right Ascension and Declination, and a z axis representing frequency. I al... | common-pile/stackexchange_filtered |
Django: Saving an image file from a form
I want to save the image which as been uploaded via the PaletteGenForm as such:
#Form
class PaletteGenForm(forms.Form):
im = forms.ImageField(required=True)
#View
def palette_gen_view(request):
PATH_OF_IMAGE_TO_BE_PALETTED= MEDIA_ROOT+ "/tobesaved.png"
if request.m... | common-pile/stackexchange_filtered |
Firebase retrieved documents/collections are empty with no error
My Firebase database contains 2 collections of name "collectionA" and "collectionB", and they both contain different documents. They both have rules to allow authenticated users to read and write (however I don't get permission erros anyway). The problem ... | common-pile/stackexchange_filtered |
gaussian process regression in multiple dimensions with GPflow
I would like to perform some multivariant regression using gaussian process regression as implemented in GPflow using version 2.
Installed with pip install gpflow==2.0.0rc1
Below is some example code that generates some 2D data and then attempts to fit it w... | common-pile/stackexchange_filtered |
Best login implementation in PHP/MySQL/Apache
I am building a new website where a user can login. I see three possible options:
1. classic type login:
<form action="/login.php" method="POST">
</form>
and the submit button goes to login.php and validates and redirects if success
2. ajax type login:
Same as above but... | common-pile/stackexchange_filtered |
In Angular 6, how can I create a link that adds a query parameter but doesn't change the (optional child) URL?
I have a route, let's call it Page, at the path /page with two child routes, like so:
const appRoutes: Routes = [
{ path: 'home', component: HomeComponent },
{ path: 'page', component: PageComponent,
c... | common-pile/stackexchange_filtered |
Is Wiener amalgam spaces $W^{2,1}(\mathbb R)\subset C_0(\mathbb R)$?
I have been learning Wiener amalgam spaces.
In Wiener amalgam spaces $W(X, L^2)$, I am taking $X=\mathcal{F}L^{1}=\{f\in L^{\infty}(\mathbb R):\hat{f}\in L^{1}\},$ and $m(x)=1.$
Take $f(x)= \chi_{\mathbb Q}(x), x\in \mathbb R.$ clearly, $f\in L^{2}(\m... | common-pile/stackexchange_filtered |
Fluxbox battery monitor?
I'm using fluxbox on Arch, and I'm trying to put a battery monitor in the toolbar, next to the time.
gkrellm takes up too much space, and can't be configured in the toolbar, as far as I know.
Try batterymon-clone:
Clone of BatteryMon, a simple GNOME applet to monitor battery status. This add... | common-pile/stackexchange_filtered |
Function setGradient
I'm trying to implement a code which changes the background color depending on the colors chosen by the user in a gradient way
the setGradient function isn't working or isn't called I don't know where is the mistake i revised the code many time but i couldn't figure out the problem.. plz help me :)... | common-pile/stackexchange_filtered |
How do you make Skylanders easier to play?
Are there any cheats for the Skylanders Spyro's Adventure, Skylanders Giants, or Skylanders Swap-Force?
There are no know cheats but you can drop the skill level down to Easy. My 4 year old son was able to complete Giants on this difficulty, so you'll probably not need any ... | common-pile/stackexchange_filtered |
Get access token with react-native-google-signin
I need for my application to find user contacts from gmail. So I need to use this api from google contacts api
https://www.google.com/m8/feeds/contacts/{userEmail}/full
When I send a GET request to this url I get:
{
"error": {
"code": 403,
"message": "The cal... | common-pile/stackexchange_filtered |
Show OneDrive for business on a custom page
Users can access their OneDrive library by clicking the link next to 'Newsfeed' in the Suitebar. However, I would like to show this library in my main site collection. Is there a web part for this or do I have to write custom code to pull the library from MySites?
The on-pre... | common-pile/stackexchange_filtered |
How to get intrinsic and extrinsic parameter matrix of my camera using Google ARCore
I want to use Google ARCore to get the extrinsic and intrinsic parameter matrix of my mobile phone. So far, I only see documentation about getting the intrinsic parameter matrix but I don't see anything about getting the extrinsic para... | common-pile/stackexchange_filtered |
How to publish MVC application with form authentication on IIS
I have an ASP.NET MVC application using Form Authentication, with the following configuration in the web.config file:
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
</modules>
</system.webServer>
I can successfully publi... | common-pile/stackexchange_filtered |
Set operations (union, intersection) on Swift array?
Are there any standard library calls I can use to either perform set operations on two arrays, or implement such logic myself (ideally as functionally and also efficiently as possible)?
A set can be implemented on top of a dictionary if you want to do it yourself.
... | common-pile/stackexchange_filtered |
Is using Home Cloud storage device providing synchronization/ application in Ubuntu
I am thinking to synchronize my files in a folder in ubuntu, and I am not sure whether to by WD MY CLOUD HOME or not?! So I would like to ask from experienced and experts that what do you suggest? Does WD My Could have software and appl... | common-pile/stackexchange_filtered |
How to create dependent prompts in Shiny App in R
I am tying to create an R shiny app and I would like to have two selectInput i.e. data set name and column name. Right now, I am able to get data set names in the first Input but I am not able to create dependent column selectIput (whose list will depend upon data set s... | common-pile/stackexchange_filtered |
Push forward the date values without overlaps in the given table
I have a drug table with date difference calculations.
I want to create a Nw_start and Nw_end date columns for the below given table.
The scenario defines: We have to push forward the overlapping days for each IDs consuming different drugs.
For instance:
... | common-pile/stackexchange_filtered |
Difference between setting classpath in build.xml using fileset and pathelement
I have a build file that declares the classpath as shown
<path id="compile.classpath">
<fileset dir="${basedir}/lib" includes="**"/>
<fileset dir="${jboss.home}/lib" includes="**"/>
<pathelement path ="${build... | common-pile/stackexchange_filtered |
Mongodb: Upgrade Mongo on Ubuntu Server When Instance is controlled by other ubuntu user
I inherited a project from a departed developer.
I am trying to upgrade the mongo instance we currently use. Unfortunately, when run mongod I get this error:
Mon May 18 13:25:39.475 [initandlisten] ERROR: listen(): bind() failed e... | common-pile/stackexchange_filtered |
Error in playerindex
I'm trying to port my game from XNA to SharpDX, but I can't find the solution for my problem:
namespace TomShane.Neoforce.Central
{
public class InputState
{
#region Fields
public const int MaxInputs = 4;
public readonly KeyboardState[] CurrentKeyboardStates... | common-pile/stackexchange_filtered |
Boot fails for linux 5.4.0-65-generic kernel
When booting my lenovo laptop, all I see is:
Loading Linux 5.4.0-65-generic ...
Loading initial ramdisk ...
And then in hangs there forever.
I used to be able to go into the GRUB menu and select elementary, with Linux 5.4.0-40-generic and that would boot elementaryOS 5.1 su... | common-pile/stackexchange_filtered |
Network issues in Centos 5.6 guest at esxi
I have installed esxi with some VM's.
Ubuntu server was the first and was fine. With his own external ip.
CentOS 6 was installed and configured the network with other external ip. Everything ok.
After, I installed CentOS 5.6 to try virtualization over virtualization(xen). And ... | common-pile/stackexchange_filtered |
Google Maps Places API
I'm a Javascript newbie and I can't seem to get this script working.
Managed to get the geolocation working but no places markers show when loaded.
Tried a lot of stuff can you guys help me out?
var map;
function initialize() {
var mapOptions = {
mapTypeId: google.maps.MapTyp... | common-pile/stackexchange_filtered |
compress with tar, tar : Exiting with failure status due to previous errors
I'm trying to compress files, but I use other user
Say there are two user here, user 1 "test1" and user 2 "test2"
I logged in as user 2 "test2"
Then, I wanted to compress files in the user directory "test1"
"/Home/test1/Downloads/repos/"
I'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.