text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
How to deploy next.js 9 to AWS Lambda without using Serverless Components
I would like to simply deploy my Next.js 9 to AWS Lambdas using just API Gateway in front and make a proxy to the static path pointing to S3, but the only available option (without having to write all the stuff from the scratch) is https://github... | common-pile/stackexchange_filtered |
QGIS TimeManager with multiple features at one time?
Since the data I have to deal with is really large, it is not practical to separate every feature into one line in the CSV file.
Is there any way to animate them as a whole layer?
I have approximately 26000 features in one layer for each time interval, and 300 time... | common-pile/stackexchange_filtered |
Rails 2.2.2 issue: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
I am working on Rails 2.2.2 application. For this I installed rvm with Ruby version 1.9.3p551. There is no Gemfile for this application. So as mentioned in the environment.rb file I created a Gemfile with rails and sqlite3. While ru... | common-pile/stackexchange_filtered |
Is comparing to a pointer one element past the end of an array well-defined?
I learned by this question that incrementing a NULL pointer or incrementing past the end of an array isn't well-defined behavior:
int* pointer = 0;
pointer++;
int a[3];
int* pointer2 = &a[0];
pointer2 += 4;
But what If the pointer pointing ... | common-pile/stackexchange_filtered |
search xml elements with if statement in C#
I have different xml files and would like to get one specific value from each xml.
what i'm trying to do is to search some of the elements in the xml and then when there is specific value or reference, then get the value of this reference.
for example one xml has this:
<text... | common-pile/stackexchange_filtered |
Search behavior Individual/Household
I have a individual contact called: "John Wayne".
He is connected to a household called "John and Margret Wayne".
When I search now for "John Wayne" in the simple search an in the advanced search, it only returns the household. Is this a normal behavior? Our NGO workers get super ... | common-pile/stackexchange_filtered |
Storing coordinates in HashSet
I am trying to store coordinates in a HashSet and checking whether a coordinate exist inside my set.
HashSet<int[]> hSet = new HashSet<>();
hSet.add(new int[] {1, 2});
hSet.add(new int[] {3, 4});
System.out.println(hSet.contains(new int[] {1, 2}));
>>> false
I am rather ... | common-pile/stackexchange_filtered |
Hide List Content Type via CSOM
How to programmatically (using CSOM/JSOM) uncheck the Visible checkbox for a content type:
so that the content type (Document Set above) is not anymore visible in FILES > New Document:
In order to verify that the solution would work:
Do the change
Manually add the content type back an... | common-pile/stackexchange_filtered |
Redux - How to await getting the state from useSelector
What is the best way to await the data coming from useSelector. What I mean by this is that I have a async action which is being dispatched using redux-thunk or to be precise createAsyncThunk. Everything works really fine with dispatch but the problem I am having ... | common-pile/stackexchange_filtered |
boost ASIO server segmentation fault
I created a server using Boost ASIO. It builds fine but as soon as I run it, it gives segmentation fault. Can't really figure out this behaviour.
Also, I read that this may be due to me not initialising the io_service object explicitly. If, that's the case then how do I modify this ... | common-pile/stackexchange_filtered |
some people abroad cannot access my website
I get signals that people outside my country (nl) can not access my website. they say they see the Apache placeholder. It is just in some cases.
Is there something wrong with my dns?
m.skiweather.eu<IP_ADDRESS>A
skiweather.eu<IP_ADDRESS>A
mail.skiweather.eu<IP_ADDRESS>A
... | common-pile/stackexchange_filtered |
Exception in Install4j when creating an 32 bit Installer with bundled JRE
Using Apache ANT I create a JRE bundle of a 32 bit JRE 1.8.202 using createbundle.exe:
<property name="CREATEBUNDLE" value="${install4j.path}/bin/createbundle.exe" />
<exec executable="${CREATEBUNDLE}">
<arg value="-o" />
<arg value="${install4j... | common-pile/stackexchange_filtered |
debugPrint works in release version in flutter
in flutter when I run the app in release mode the debugPrint statements print data which I don't want to appear any ideas why this is happening ?
https://stackoverflow.com/q/76931009/12349734
debugPrint will print values in release mode. Its purpose is not to avoid print... | common-pile/stackexchange_filtered |
Retrieve related table and select fields from primary table using Laravel Artisan
In the following code, The Users table has a related table phoneNumbers. When I retrieve a list of all users like this,
return Person::with('phoneNumbers')->get();
everything works fine. However, when I attempt to specify a list of colum... | common-pile/stackexchange_filtered |
Parralex scroll is not working in Mobile and tabs ( Laravel )
I am having parallax website in laravel, it working fine in desktop version but when i open the website in Devices. Its effect is not working. Zoomed images are shown but page scrolling is not working.
| common-pile/stackexchange_filtered |
Why is the amu of chlorine-35 less than 35?
My book says that a proton weighs 1.0073u, a neutron weighs 1.0087u, and an electron weighs 0.00055u.
Now, why is the mass of chlorine-35 equal to 34.969? Are there not 17 protons, 18 neutrons, and 17 electrons? I calculated it and it sums to around 35.29. Where did I go wron... | common-pile/stackexchange_filtered |
discord.py message.channel.send not working
I am making a blackjack game using discord.py, I am changing the value of Ace from 11 to 1 instead but no message is being sent to the channel and I am not getting any errors.
def ask_A(self):
num_A = []
for c in range(0, len(self.deck)):
if self.deck[c].get_v... | common-pile/stackexchange_filtered |
Does this non-negative function, with no stationary points, have only descent directions close to a constraint set?
Suppose $P: \mathbb{R}^n \rightarrow \mathbb{R}_{\ge 0} $ is a differentiable map, with $P(x) = 0 \ \forall x \in \mathcal{X}$ and $P(x) > 0 \ \forall x \in \mathcal{X}^c$. Further, suppose $P$ has no sta... | common-pile/stackexchange_filtered |
list is showing incorrect entry using MVVM and sqlite
im using sqlite with mvvm..but when i click add new and submit comming back to listing page it is not updated record in list.but when i kill app again come to list page it is showing record with duplicate entries of same record.i dont know where my code is getting w... | common-pile/stackexchange_filtered |
Can we define name as array in submit button?
Can we define name of a submit button as list of array??. If yes then if S1 was clicked the values of the text input should be transfer to one of the input box provided in new div and if S2 was clicked then value should be go below the previous input box. and number of inpu... | common-pile/stackexchange_filtered |
What should a literary writer read?
Everyone knows that a writer should read, but the question is what?
The question I would like to ask here is: what books should a literary writer have read? What are the critical reference points that anyone in the game needs to have exposure to? What are perhaps lesser known works t... | common-pile/stackexchange_filtered |
babel-node no longer working in different directory
import credentials from '../config/credentials'
^^^^^^
SyntaxError: Unexpected reserved word
Yesterday babel-node was working fine. Today, in my testing directory, it no longer works. Oddly enough, it runs my app which uses ES6 no problem.
Version: 5.6.14
No idea wh... | common-pile/stackexchange_filtered |
Parallax effect on tile map layers
i am using three layers of tiled map and i want to give parallax effect on these layers.
my code is:
CCTMXTiledMap *city = CCTMXTiledMap::create("City.tmx");
CCTMXLayer* ForegroundLayer = city->layerNamed("ForeGround");
CCTMXLayer* BackgroundLayer1 = city->layerNamed("Back... | common-pile/stackexchange_filtered |
How to use a declarative pattern on Observables that watch the network?
I have been trying to learn about the declarative pattern/approach in rxjs, which from my understanding it to not use .subscribe() directly in the typescript itself and use the async pipe instead.
I have a class that holds data about an image, and ... | common-pile/stackexchange_filtered |
How to remove all other users access from Shared workbook by using VBA?
I have shared workbook (Office 2016 ) ,
when I need to remove all other users from user access list
, I did manually and it takes long time.
Now, I found the below code to do that, but the problem in code is trying to remove me from this list
and t... | common-pile/stackexchange_filtered |
Ways to deal with es6 module paths and dependencies
What are some ways to deal with es6 modules and dependencies?
In particular I have 1 library i'd like to split into 3 modules. Let's call the library "salad" and uses "utensils" and "ingredients". Right now all 3 parts are part of the same library but I'd like to sepa... | common-pile/stackexchange_filtered |
JPA Unidirectional @OnetoMany fails
I have couple of failure cases for Unidirectional JPA2 @OnetoMany relationship
below is the code snippet
@Entity
@Table(name="CUSTOMER")
@Access(AccessType.FIELD)
public class Customer {
@OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY)
@JoinColumn(name="CUSTO... | common-pile/stackexchange_filtered |
Structure parting a variable
I am trying to part a int16_t variable inside a structure. This structure is persisted in disk and loaded back across reboot.
the old structure is
struct details
{
int a;
int16_t var1;
int16_t b;
} details_t
The new one i changed is
struct details
{
int a;
int16_t var1:15;
... | common-pile/stackexchange_filtered |
One large machine or cluster of small machines for Jmeter load generator in load testing?
I want to simulate up to 100,000 requests per second and I know that tools like Jmeter and Locust can run in distributed mode to generate load.
But since there are cloud VMs with up to 64 vCPUs and 240GB of RAM on a single VM, i... | common-pile/stackexchange_filtered |
How to style mentions tag in react using rc-mentions
Example Text:- HI This is @Shubham
In above sentence i want to color @Shubham green and other text black only. can anyone help me with that?
Please provide enough code so others can better understand or reproduce the problem.
This is rc-mentions not react-mentions
| common-pile/stackexchange_filtered |
Moon's Proof of Matrix-Tree Theorem
I'm reading the following proof of the matrix-tree theorem:
https://www.sciencedirect.com/science/article/pii/0012365X9200059Z
in particular, his Theorem 3.1.
I was not able to validate the last part:
The last lines about equation (3.5)
How do I show the identity $(-1)^{\nu(D)-|W|}=\... | common-pile/stackexchange_filtered |
Namespace vanilla JavaScript events like in jQuery
In jQuery, when you set an event, you are able to namespace it. This means (if you want) you can have multiple resize window events, for example, and be able to unbind them individually without unbinding all events on that selector.
Example of jQuery namespacing:
$(win... | common-pile/stackexchange_filtered |
Injective Functions into Free Modules
As a follow-up to this question, I am trying to prove the following:
If $F$ be a free $R$-module on a set $S$ via the function $i:S \longrightarrow F$ then $i$ is necessarily injective.
Attempted Proof:
This means that for every $R$-module $X$ and every function $f:S \longrightarro... | common-pile/stackexchange_filtered |
Angular Universal (SSR) cache don't update
Good,
I have a web with Angular Universal on an Apache server executed through PM2.
When making changes, I generate the new version of the web, upload the files to the hosting and restart the pm2 task
But when accessing the web the changes are not shown. For them to be display... | common-pile/stackexchange_filtered |
What is Ubuntu's equivalent of an exe file?
Sometimes I want to install a program when offline. But apt-get downloads as you install.
Is there a way to install a program, like you would install a .exe, on Ubuntu?
Yes you can. Instead of a .exe file it is a .deb file.
@Tim please explain how to do? I am a newbie as me... | common-pile/stackexchange_filtered |
Recursion and return statements
I'm fairly new to Python and recursive functions as a whole, so pardon my ignorance.
I am trying to implement a binary search tree in Python and have the following insert method (taken out of a class):
def insert(self, key, root=None):
'''Inserts a node in the tree'''
if root == ... | common-pile/stackexchange_filtered |
How can I get all files in directory and then display them in an image gallery?
I have the code bellow...in short it is mean't to generate a list of all files in a directory and then for every file in the list it would add a new gallery element to the page.
<!DOCTYPE html>
<html>
<head>
<title></title>
<styl... | common-pile/stackexchange_filtered |
Traefik in microk8s allways 404 trought HTTPS
I deployed a microk8s single node cluster on a simple & small VPS.
At the moment I running without cert SSL (Traefik cert by default).
The http:80 version of ingress is working correctly, I can browse the webpages at the correct ingress from HTTP, but when I try to run in h... | common-pile/stackexchange_filtered |
How best to show message that browser does not support HTML5 <range> element?
The element, which is not supported in IE below 9, is displayed as a default text-field in IE8. For my application, which also has intended text fields as well as other user controls, this is worse than displaying nothing or showing a “litt... | common-pile/stackexchange_filtered |
Aggregate, Collate and Transpose rows into columns
I have the following table
Id Letter
1001 A
1001 H
1001 H
1001 H
1001 B
1001 H
1001 H
1001 H
1001 H
1001 H
1001 H
1001 A
1001 H
1001 H
1001 H
1001 B
1001 A
1001 H
1001 H
1001 H
1001 ... | common-pile/stackexchange_filtered |
iOS segue twice screen
I have simple app. My tableViews contains some words; I post data in post screen and I want to get back to the first tableView screen. I have use a segue for this. The problem is that each time after posting, clicking the post button opens a new tableView over the post screen. I want to return ... | common-pile/stackexchange_filtered |
How to see if a result from the database matches my values in the array
Hi guys i have been trying to rap my head around this for some time now. What I'm trying to achieve is get some data from my database, store it in a variable and compare it to a value that is stored in my array.
Problem is it keeps returning the w... | common-pile/stackexchange_filtered |
Transformation from one basis to another
I have a 3D point $X_1$ in basis $1$. The origin of basis $1$, $O_1$, has a translation of 't' with respect the origin of basis $2$, $O_2$. Also basis $1$ has a relative rotation with basis $2$, given by the rotation matrix $R$.
How do I go about converting $X_1$ from basis $1$... | common-pile/stackexchange_filtered |
How to open specific activity via ID
I have a project with matches. In the project, I use the room database. I have three records in my database that have an ID and contain the fields imgTeamOne, imgTeamTwo, titleTeamOne, titleTeamTwo, itemDate. I have prepared a certain activity for each of the match (ActivityDetailOn... | common-pile/stackexchange_filtered |
How the terminal can run programs and show its output?
I'm slowly creating a mental model of how linux works, and I've tried to simplify the most, my model of how linux works. Let's assume that the kernel boots and inits the only software it's gonna run: the terminal. Let's assume that this terminal has the capabilitie... | common-pile/stackexchange_filtered |
Delete a Class Instance
I'm trying to delete an instance of a class.
I have a <button> tag with an event listener a class method remove:
<msg-item>
<span>username: {{this.username}}</span>
<p>message: {{this.message}}</p>
<button ng-click="$ctrl.remove()">delete</button>
<msg-item>
<msg-item>
<span>use... | common-pile/stackexchange_filtered |
How to get reference to unnamed array from json
I am getting this back from the server:
{"Message":"The request is invalid.","ModelState":{"":["Name<EMAIL_ADDRESS>is already taken.","Email<EMAIL_ADDRESS>is already taken."]}}
How do I reference the first item of the array in JS? The debugger tells me that ModelState i... | common-pile/stackexchange_filtered |
Exactness of $A\to A\amalg B\underset{(0,1)}\leftrightarrows B$
In a pointed category, the sequence $A\overset{(1,0)}\to A\times B\overset{(0,1)}\leftrightarrows B$ is always exact.
However, the "dual" sequence $A\to A\amalg B\underset{(0,1)}\leftrightarrows B$ is generally far from exact. Its exactness hints at a comm... | common-pile/stackexchange_filtered |
Multiply arrays to make matrix gives unexpected result
Suppose I have this code:
dim = 3
eye = [[0] * dim] * dim
and it is a list of list, I checked
[[0, 0, 0], [0, 0, 0], [0, 0, 0]]
Now, if I do this, I get:
eye[1][2] = 1
eye
[[0, 0, 1], [0, 0, 1], [0, 0, 1]]
However, if I manually put in this expression, the abov... | common-pile/stackexchange_filtered |
Fokker-Planck confusion
So, I understand that solving the Fokker-Planck / Kolmogorov Forward equation gives the time-dependent probability density $p(x,t)$ in 1-D let's say.
My question is, how do you use this? Let's say, I wanted to find the probability of a particle being at a position $x = a$, at time $t = \tau$, ho... | common-pile/stackexchange_filtered |
Differences between 'instrument' vs 'instrumentality', when used in the same sentence?
Source: (Page number unprinted), Chapter 2, Acing Your First Year of Law School ..., by Shana Connell Noyes, Henry S. Noyes
Delair v. McAdoo, Supreme Court of Pennsylvania, Nov 23 1936.
[Author:] KEPHART, Chief Justice.
... Any ... | common-pile/stackexchange_filtered |
Setting up an s3 event notification for an existing bucket to SQS using cdk is trying to create an unknown lambda function
I am trying to setup an s3 event notification for an existing S3 bucket using aws cdk.
Below is the code.
bucket = s3.Bucket.from_bucket_name(self, "S3Bucket", f"some-{stack_settings.aws_account_id... | common-pile/stackexchange_filtered |
How to clear interval in functional component if interval is set in a function?
I know that starting an interval in useEffect is easy to be cleared like this:
useEffect(() => {
const interval = setInterval(some function, time);
return () => clearInterval(interval)
})
But what if i have to set an interval inside ... | common-pile/stackexchange_filtered |
git diff-tree shows no output
I have read that the following command allows you to see all changed files of the last commit:
git diff-tree --no-commit-id --diff-filter=d --name-only -r $(Build.SourceVersion)
Unfortunately I have no luck, the command does not show anything.
How is that possible? I am currently on a bra... | common-pile/stackexchange_filtered |
Solving a logic puzzle via Prolog
So I have a knowledge base of these three tables
% order(customer_name, item_name, quantity).
% customer(name, credit_rating).
% item(name, quantity_in_stock).
I am supposed to find all valid orders. Valid orders are defined as valid customers with a good credit rating (rating above 5... | common-pile/stackexchange_filtered |
Count Waveform Periods and Calculate Frequency
I have some oscillating time v displacement excel data from an actuator that I need to analyze and my goal is to be able to count the cycles using the amount of times the displacement value crosses 0. Almost like counting the period of a sine wave. The problem I am having ... | common-pile/stackexchange_filtered |
Cannot find command after reboot even though chmod +x was successful?
Dealing with a weird problem on CentOS trying to add the Play! framework to my path. Just earlier I successfully did a chmod +x play on Play! and I could run commands.
Then I rebooted and it completely fails. All attempts to retry chmod fail. I'm doi... | common-pile/stackexchange_filtered |
Wix msi updated property value not working during installation
Working with Wix in Visual Studio. I have a public property defined in Product node of wxs file.
<Property Id="MYPROP" Value="123456789"/>
The property value is passed as commandline argument to a deferred custom action executable. I'm able to receive it in... | common-pile/stackexchange_filtered |
Docker-compose volumes not being mounted
I have a simple ASP.net Core project that I run in a docker container using docker-compose. I am trying to mount a host directory in order to save some files, for example log files.
My Dockerfile looks like this:
FROM microsoft/dotnet:2.1-aspnetcore-runtime AS base
WORKDIR /app
... | common-pile/stackexchange_filtered |
Android - add item into calendar
is there some working sample of code of adding item into phone's calendar in Android? I want to add events with name, place, time and date.
Thanks
| common-pile/stackexchange_filtered |
Prime factors of $\sum_{k=1}^{30}k^{k^k}$
I checked the prime factors of
$$\sum_{k=1}^{30}k^{k^k}$$
and did not find any upto $10^8$
Are there any useful restrictions to accelerate the search ?
This is an interesting question on it's own, but could you tell us how did this come up?
I just searched the smallest prime... | common-pile/stackexchange_filtered |
Converting button events etc to ASP.NET MVC
Given an asp.net webform page which does something like
asp.net
<asp:textbox id="txtA" runat="server" />
<asp:textbox id="txtB" runat="server" />
<asp:button id="btnAddTogether" runat="server" text="Go" onclick="btn_Click"/>
<asp:textbox id="txtResult" runat="server" />
... | common-pile/stackexchange_filtered |
How to know if a facebook friend has a significant other but does not want to disclose?
I am trying to use facebook api to get my friends' relationship status:
FB.api("/me/friends", {
fields: "id, name, relationship_status, significant_other, picture.type(large)"
}, function (response) {
if (response.da... | common-pile/stackexchange_filtered |
How to extract annotations from CVAT XML file generated using SAM model into mask files in Python
I'm new to CV. I have an annotation XML file generated using the CVAT semi-automated SAM model.
May I know how I can load the XML file and extract the object I am interested in as a mask in jupyter notebook environment? I ... | common-pile/stackexchange_filtered |
File not exists in Docker container
I have a docker container running and the file structure looks as below.
My work directory is '/app' and I have copied all files into it from my local system. Basically, I want to run Apache Bench with SSL support and hence I have copied these 3 files as well into the workdir.
abs.... | common-pile/stackexchange_filtered |
Move UIImage horizontally with animation
I want to move UIImageView horizontally from left to right and right to left.
I designed this as below.
UIView (green color)
Arrow Image (Leading of UIView, Center vertically of UIView, Fix Height, Width)
UILabel (Center Horizontally & center Vertically of UIView)
Button (Leadi... | common-pile/stackexchange_filtered |
Python - WebScraping using Request module-URL throws an error -403- forbidden
I'm trying to get the data from https://www.ecfr.gov/cgi-bin/ECFR?page=browse
using requests module in python
Somehow I'm getting HTTP 403-forbidden.
header = {
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image... | common-pile/stackexchange_filtered |
CSS3 :target issue
I have 2 "links" which has to get a color when i click on them. But they need also be in a h1 tag.
Like this:
<div id="content" class="work">
<h1 style="border-bottom:1px solid #CCC;"><a id="link-grafisk-design" href="#grafisk-design">Grafisk design</a></h1>
<h1 style="border-bottom:1px soli... | common-pile/stackexchange_filtered |
How much should I tell the DM about my PC's plans?
The campaign just reached a turning point: an NPC we believed to be an ally betrayed us PCs and gained the power of a god. My PC and another PC were put into a stasis for 3 years while the former ally razed most of the continent. After we were freed, we met up with our... | common-pile/stackexchange_filtered |
Change the text of textbox through javascript/jquery
I want to change the value of textbox through javascript.
I have a user control from which I call a js file. There is a textbox in the usercontrol and then in the js file i pass that textbox value. After the button(it is in user control) is clicked, the js file does ... | common-pile/stackexchange_filtered |
Sending messages from background thread to main thread in a number crunching application
I have a number crunching application in Delphi that uses one or more background threads to process numerical data. These background threads run several parallel processes each simultaneously. From these threads I use the WM_COPYDA... | common-pile/stackexchange_filtered |
Generate one cubemap PNG from six individual PNGs
I hope this is the right community to ask. With which free tools could I create a cubemap PNG from six individual PNGs, each being the texture of a cube's side?
The cubemap would have to have a resolution of 512x512 pixels (= a square) so that I can load it into Blend... | common-pile/stackexchange_filtered |
MacVim mode() does not return 'c' for Command mode when pressing ':'
mode() won't return anything when I go into Command mode. I use this for StatusLine info:
set statusline+=%{mode()} as a test to see what mode() returns.
pressing c or C and my StatusLine stays as NORMAL. Is this a bug or am I doing something wrong? ... | common-pile/stackexchange_filtered |
What are all the argument prefixes?
I just received the following warning from my syntax checker:
'&' interpreted as argument prefix
The warning came in response to something like array.all? &:blank? where parenthesis would have been nice.
This got me thinking, what other argument prefixes are there? Searching on Googl... | common-pile/stackexchange_filtered |
Convert a CanvasRenderingContext variable for a javascript API
I have a javascript API that takes a canvas context as an argument
The following
var context2dJs = new js.JsObject.fromBrowserObject(canvas.getContext('2d'));
throws Exception: Uncaught Error: object must be an Node, ArrayBuffer, Blob, ImageData, or IDBKe... | common-pile/stackexchange_filtered |
Integral with linear function, Normal PDF, Normal CDF
I am trying to calculate the following integral:
$$\int_a^\infty x \Phi(cx+d) \phi\left(\frac{x-\mu}{\sigma}\right) dx,$$
where $\Phi$, $\phi$ denote the CDF and PDF of the standard Normal $N(0,1)$.
I found this table of integrals but it includes only the indefinite... | common-pile/stackexchange_filtered |
How to download a file from URL using Dockerfile
I'm writing a docker file to install a certain library. The first step it does is download the library from a URL. I'm not sure if it's possible in docker.
I need to install the library on RedHat System.
http://service.sap.com/download is the URL I need to download the ... | common-pile/stackexchange_filtered |
Arduino, potentiometer goes crazy
I am executing a block of code every certain period of time. The time is indicated by the value of the potentiometer. Everything works well. But in some parts of the potentiometer it is as if the value were 0 or a very low number that makes the code block run continuously.
Here the pie... | common-pile/stackexchange_filtered |
Building QGIS 1.8.0?
I am very new to QGIS (and the entire Linux thing). I am trying to build QGIS 1.8 on ubuntu 12.04LTS. I specifically need to use the 1.8 version of QGIS.
When running the "make" command, I see the following:
e@pe-ThinkPad-Edge-E320:~/dev/cpp/Quantum-GIS1.8/build-master$ make
-- Quantum GIS version:... | common-pile/stackexchange_filtered |
Quadratic equation with parameters
If $a$, $b$, $c$ are real numbers such that $2a + 3b + 6c = 0$, prove that $ax^2+bx +c=0$ has a solution in the interval $[0, 1]$.
This should use high school maths or a little bit more then that.
Ok i just don't understand why you chose $f(1/2)$.
If you want to respond the answer, ... | common-pile/stackexchange_filtered |
ubuntu 18.10: pdf thumbnails does'nt work
Although evince-thumbnailer is already installed and everything seems to be fine, no pdf thumbnails have appeared in Nautilus.
I tried two fresh installs in two different machines and one more in a virtual box machine and the funny thing is that if you boot in a live cd mode t... | common-pile/stackexchange_filtered |
Joomla 2.5 module permissions
I simply want to make a module visible dependent on whether a user belongs to a custom set of groups - including NOT visible if (s)he belongs to a particular group(s). For example, adverts show for public and registered but not a custom "premium" group. A shoutbox should appear for registe... | common-pile/stackexchange_filtered |
The CNN model keeps overfitting on our EEG dataset. We're getting 97% accuracy on training but only 72% on validation.
That's classic overfitting. Are you using both spatial and temporal features or just one approach?
Right now I'm feeding all 64 channels directly into a single CNN. Maybe that's too much information ... | sci-datasets/scilogues |
How can I pass in a string and use that as a variable name?
I have a variable such as:
var startX = 20
var startY = 30
I want to call a function such as:
onClick="myFunction('startX')"
or
onClick="myFunction('startY')"
myFunction(passedVar){
}
So passedVar = 'startX' or 'startY' and I then need to reference the vari... | common-pile/stackexchange_filtered |
How do I stop cmd from appearing when i run exe file (python 3, gui)
So recently I made a script, and I also finished gui and managed to merge those two together. Now i wish when I start the exe file that cmd doesn't appear but instead only GUI? Any idea on how to manage this? So far my searching didn't yield any satis... | common-pile/stackexchange_filtered |
Print line ArrayList
When I try to use print line to see my array list, the way it's getting printed is not how I want it to be. What do I need to change to receive just the name?
This is how I am adding a new contact:
public class ContactGroup
{
ArrayList<Contact> contactList= new ArrayList<Contact>();
Public void ad... | common-pile/stackexchange_filtered |
WPF - Rotate Transform Transition
I am relativly new to WPF and I have a question concerning transitions in WPF:
How do I create and use them? My google search result are mostly about animations not transitions.
My goal is to create something like this:
Imagine I have a shape:
<Rectangle Width="100" Height="200" Name=... | common-pile/stackexchange_filtered |
How to add some days in a Datetime attribute in c#?
I want to retrieve a list based on this LINQ query in C#,
var brief = (from i in _context.Detailed
orderby i.BriefSubmittedOn descending
select i).ToList();
This is the View:
@foreach (var item in Model.brie... | common-pile/stackexchange_filtered |
CTE over id, status, and date causing results to square
I have a table defined as
CREATE TABLE ItemDetail (
ItemNumber bigint not null,
SiteId int not null,
Status int not null,
ScanDate datetime not null,
)
What I am trying to do is get counts by site, by status, ... | common-pile/stackexchange_filtered |
Eager loading returning ID instead of model
I have an issue with Eager Loading using the below code.
Issue is with the Status model
$ticket = Ticket::where('id', $id)->with(['customer', 'status', 'notes' => function($query) {
$query->orderBy('updated_at', 'desc');
}])->first();
If I do,
return response()->json($ti... | common-pile/stackexchange_filtered |
Why isn't there a space in the middle of my pyramid?
So I am trying to solve https://cs50.harvard.edu/x/2021/psets/1/mario/more/ this problem set from cs50.
It's taken me way too long to get this far (5-6 hours WITH help from youtube).
#include <cs50.h>
#include <stdio.h>
int get_positive_int(void);
int main(void)
{
... | common-pile/stackexchange_filtered |
Text overlapping with too much text on hover
I have tried a few things but seem to be getting nowhere, I can move the text by changing the 'position' tag, but this seems to result in the text kinda vanishing into the boxes edge and being oddly spaced.. I am guessing I have coded this up that its fine on less text, but... | common-pile/stackexchange_filtered |
How do I solve this / express this question properly?
I put everything on a google document since I don't know how to use LaTeX or whatever. Here's the doc. I would prefer if you looked at the doc, but I've done my best to translate it onto here the best I can. Here it is.
$$\sum_{x=1}^{10} \frac yx = \text{Positive In... | common-pile/stackexchange_filtered |
Burpees get fit plan
I am a software developer who spends a fair amount of time stuck in one position, sometimes not moving more than 5 hours straight if I have to concentrate on something.
Depending on the time of the year I do a lot of MTB biking, keep walking and generally avoid being sedentary. I do some stretching... | common-pile/stackexchange_filtered |
JLabel not updating
so thanks for looking at my question,Well anyways im trying to make a cookie clicker clone (if you could call it that) where you click the button and the JPanel updates, unfortunately the JPanel doesn't update and I just cant find an answer anywhere else, Any help is valuable help, thank you! Here i... | common-pile/stackexchange_filtered |
CakePHP-3.0 insert data from one table into 2 other tables
In my app, I have a table (stored in a read-only database):
Machines(ID, NAME, SERIAL_NUMBER, IP, MAC), in upper case.
and 2 tables in my CakePHP database:
Assets(id, name, serial_number)
AssetsAssignations(id, asset_id, ip, mac, is_machine)
I created a pag... | common-pile/stackexchange_filtered |
Correlation heatmap for a data frame split by a factor in R
I would like to generate a heatmap/correlation map in R. I have explored various packages, such as corrplot, ggcorrplot and pheatmap, but I found it difficult to get where I wanted.
As an example, using mtcars, I would like to generate a heatmap like below. Sp... | common-pile/stackexchange_filtered |
How do I properly implement async/await for image data migration?
I'm writing a console app to do some data migration between a legacy system and a new version. Each record has associated images stored on one web server and I'm downloading/altering/uploading each image to Azure (and also recording some data about each ... | common-pile/stackexchange_filtered |
Fabric says 'no route to host', even though I can access it over SSH
I'm having some issues uploading a file to a server with Fabric. I get the following output:
Fatal error: Low level socket error connecting to host ssh.example.com: No route to host
Aborting.
The weird thing is, when I connect manually using ssh (sa... | common-pile/stackexchange_filtered |
How to set to true / false based on react props
const [effective_date_status, setEffectiveDateStatus] = React.useState(false)
I'm sending props value from parent to child. I want to set effective_date_status to false if props value is 0 & I want to set to true if props value is 1.
Can anyone help me with this issue.
... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.