text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Gaps in FASTA formatted genome?
I'm just getting interested in genetic structure and I decided to find a FASTA formatted genome (human) and I found one here. However, I'm confused. I know that A can only match up to T and C to G but it appears as though T is matching up to T, A to A, C to A, and etc. How is this possib... | common-pile/stackexchange_filtered |
Angular 17: Module used by 'node_modules/xyz' is not ESM
Application runs perfectly fine with npm start, when it is built using ng build, it gives the following errors:
▲ [WARNING] Module 'amazon-quicksight-embedding-sdk' used by './dashboard.component.ts' is not ESM
CommonJS or AMD dependencies can cause optimizati... | common-pile/stackexchange_filtered |
Swift func - Does not conform to protocol "Boolean Type"
Yes it's man vs compiler time and the compiler winning yet again!
In the func getRecordNumber I am returning a Bool and a Dictionary
func getRecordNumber(recordNumber: Int32) -> (isGot: Bool, dictLocations: Dictionary <String, Double>)
...
return (isGot, dictLoca... | common-pile/stackexchange_filtered |
Generation of realistic real-valued sequences using Wasserstein GAN fails
My goal is to generate artificial sequences of real-valued data (e.g. time series) with GANs. Starting simple I tried to generate realistic sine-waves using a Wasserstein GAN. But even on this simple task it fails to generate any useful samples.
... | common-pile/stackexchange_filtered |
Which type of memory is faster than average for server use?
I am building a server computer which will be used for SQL Server and I am planning to use like 32GB+ of RAM and putting the databases in memory. (I know all about data loss issues when power is gone). I haven't been up to date with the new types of memory st... | common-pile/stackexchange_filtered |
Set variable with time to use as random
If I set a variable as follows:
$randNum = md5(time());
and use that to create:
$tempFileName = $randNum.'_temp.'.$type;
and then, later in the script:
$newFileName = $randNum.'_new.'.$type;
Will it be generating a new random number the second time around or will $randNum valu... | common-pile/stackexchange_filtered |
Convert ListView to RecyclerView
i have a list view in my app.
I want to change it to an recycler view, but even with different tutorials i dont get it.
I was using this: https://www.spreys.com/listview-to-recyclerview/
I failed with the "getView" part here.
Here is my code of the ListActivity and LeagueArrayAdapter.
T... | common-pile/stackexchange_filtered |
Number of flops for $AA^{T}$
Suppose $A\in\mathbb{R}^{n\times n}$, it is known that a matrix-matrix multiplication between any two matrices accounts for $2n^{3}-n^{2}$ flops. Now I am not assuming anything special about $A$ that is to say consider its entries to be all non-zero in the worst case. Would computing $AA^{T... | common-pile/stackexchange_filtered |
iOS: Default Battery Percentage Level for individual services to switch off
We all know iOS switches off services one by one when the battery reaches critical level. But is there any fixed battery level to cut down individual services. For example, Bluetooth will be switched off at 20%, Mobile data at 15%, Wifi at 10%,... | common-pile/stackexchange_filtered |
Electron: Length of an array set to 0 after going outside a query
I'm starting a project, a kind of interactive text game, on Electron. I have a database with 4 tables to use ONLY at the start of the project, in order to get info of characters, places and staff like.
The problem is that, after getting outside the query... | common-pile/stackexchange_filtered |
Powerful router or access points
Why don't we use more powerful routers that have better signal reception instead of adding access points to the network?
It's not clear what you hope someone will tell you... perhaps read the NE Q checklist...
I'm not sure I really understand the question, but I think you are confused... | common-pile/stackexchange_filtered |
can you change the way get method makes links for django?
I'm using django for a website that has a searchbar setup with a simple form:
<form method="get" action="/browse">
<div class="input-group col-md-12">
<input type="text" name="searchquery" class="form-control input-lg" placeholder="Search" style="ma... | common-pile/stackexchange_filtered |
HZX D882 transistor not blocking 12V DC current
I am not too savvy with electronics so I apologize in advance for any major ignorance on my part. I am trying to use a transistor (listed in the title) as a digital switch for my Raspberry Pi 4 to control. Here is the circuit diagram.
Here is a picture of how I hooked up... | common-pile/stackexchange_filtered |
ArrayLists and Advanced Functions
I've got an ArrayList of ArrayLists of Strings that I need to process with an advanced function. I am modeling that function off of what I learned in "Learn Powershell Toolmaking in a Month of Lunches."
In order to make the functions flexible, they tell you in that book to set it up so... | common-pile/stackexchange_filtered |
Why I can't view my UDP received Image in Android Studio?
I succeeded in sending a string from Android Studio Java UDP Client to Visual Studio C# UDP Server, and a response back from the Server to the Client.
Now I am trying to send an Image back from the server instead of a string response. So on client button click, ... | common-pile/stackexchange_filtered |
Changing Locations, please help?
I have been trying to figure out how to change the location because it always thinks I am in Europe. Is there a way to change the location to what you want? For example, I want the computer to think i am in paris or if I want it to look like florida. How can I do this? If anybody ha... | common-pile/stackexchange_filtered |
is there a mathematical subset relation in java?
I want to express a mathematical subset relation in Java.
In Mathematics we have nice relations like: the integers are a subset of the real numbers.
I try to somehow express that in java with a Point class with generics:
public class Point<T extends Number> {
protected ... | common-pile/stackexchange_filtered |
Understanding oscillation frequency for SAF-C509 processor
Good day.
For the time being, I'm reversing automotive ECU which has Intel51 architecture processor - SAF-C509 by Infineon/Simens. Its command exection part has 6 states with 2 phases for each state. Hence a single machine cycle is executed within 12 semi-phase... | common-pile/stackexchange_filtered |
I want to create an output with all the Azure AD applications, which returns a)listing of all b) listing of expiring apps
This is what I have so far, but the $expirationlist doesn't return back a listing of ALL the applications expiring with the $expirationlist variable.
$date= get-date
$expirationdate= $date.AddDays(3... | common-pile/stackexchange_filtered |
Referenced dll (built from referenced projects) are locked after each build in Xamarin Forms Portable project?
I'm building my first Xamarin Forms app (I've built one before but it's a Xamarin Android app). There is one weird issue that will prevent me from debugging my app each time. The main Xamarin Forms Portable pr... | common-pile/stackexchange_filtered |
ADFS Implementation On Angular
I don't have idea on implementing adfs authentication with username and password from frontend application.. Nodejs will be backend..
Please guide me on this..
Hi Dinesh, welcome to Stack Overflow! Your question as it stands isn't really answerable on here. Generally speaking, here on SO... | common-pile/stackexchange_filtered |
2 TextWatchers for 1 EditText
I'm working on a simple android app project for myself. I found an article that made me decided to use TextWatcher. So simply, I add TextWatcher into my code. But here's the thing. I have designed 2 RadioButtons and 1 EditText. Both RadioButton will determine the format of my one and only ... | common-pile/stackexchange_filtered |
Wristbands and nausea
Acupressure wristbands are widely sold as a remedy for nausea caused by motion sickness. I have no doubt that they work for some people, because I experience exactly the opposite effect: elasticized wristbands, such as those found on sweatshirts, often make me feel extremely nauseous. There are so... | common-pile/stackexchange_filtered |
How to Format Excel Bar Chart Date Axis Tied to Pivot
In the barchart below I want to format the X-axis to be "7/21". You can see that I've formatted in my pivot chart but that didn't help. Then in the Format Axis panel at the bottom under the Number section the formatting options for Date are there but nothing happen... | common-pile/stackexchange_filtered |
How to add mouselistener on random drawn image in java?
I am building a game in Java and I need to add a mouselistener to an random drawn image in my game.
I made the image appear on random places every x seconds, when I click the image I would like to add 1 point to the scoreboard.
My code for the random image adding ... | common-pile/stackexchange_filtered |
How can I use nested loop for widget?
I understand I can code like single loop to build widget like;
final icon =["lock.png","map.png","stake.png","cheer.png","sushi.png"];
// omit
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
for(int i = 0; i < icon.length; i++) ... {
select... | common-pile/stackexchange_filtered |
Getting values of an object after iteration
I have this object i copied from my console
Object { input_name: "hi", input_type: "world", input_number: "200" }
which i had earlier put together this way
var post = {
input_name: name,
input_type: type,
input_number: number
};
console.log(post);
I am ... | common-pile/stackexchange_filtered |
Is it possible to define a Sonarqube portfolio with multiple criteria?
For our reporting purposes, I've created a few portfolios in Sonarqube. They are configured to associated projects by regular expression. However, we have now deprecated a number of projects, and would like to remove those from the portfolio, but ke... | common-pile/stackexchange_filtered |
animated sprite from texturepacker xml
new to android dev and andengine in general. trying to animate a sprite using the AndEngineTexturePackerExtension but im unsure how the tiledTextureRegion gets created for the animated sprite. below is what im trying which i have gotten from guides and other posts in this forum. I... | common-pile/stackexchange_filtered |
LaTeX incorrectly displays a URL with Cyrillic characters
Hello everyone
\documentclass[a4paper,12pt]{article}
%%% Работа с русским языком
\usepackage{cmap} % поиск в PDF
\usepackage[T2A]{fontenc} % кодировка
\usepackage[utf8]{inputenc} % кодировка исходного текста
\usepackage[engli... | common-pile/stackexchange_filtered |
git shows dropbox synced files as modified
I sync a directory with an R project among some computers using dropbox. The computers are synced. In 3 PCs (ubuntu and debian) git status shows no changes. In one debian all R scripts show as modified with git status. When I do git diff in all the files I see old mode 100644 ... | common-pile/stackexchange_filtered |
Introducing custom line spacing between chapter number and the title
The university requires that the following conditions be met for the thesis. I use sectsy package to get the required font size and am using standard report class. How to get the proper spacing between the top margin and chapter number and chapter num... | common-pile/stackexchange_filtered |
Multiple-valued analytic functions
Although our definition requires all analytic functions to be single-valued, it is possible to consider such multiple-valued functions as $\sqrt{z}$, $\log z$, or $\arccos z$, provided that they are restricted to a definite region in which it is possible to select a single-valued and... | common-pile/stackexchange_filtered |
"stray '/302' in program error" when compiling
For some weird reason, the following code doesn't compile. I get a "stray '\302' in program" error around volatile unsigned int encoderPos = 0;, and I have no idea what the issue is. I've been trying to figure this out for over 40min, and nothing works. It doesn't make any... | common-pile/stackexchange_filtered |
is there any ResponseCacheAttribute for WebAPI Core?
I'm currently working with WebAPI 2 and considering to upgrade to ASP.Net Core.
as I've reached the Http Caching topic I've noticed that asp.net core only has a ResponseCacheAttribute (which is an MVC attribute) and no parallel attribute for WebApi.
My questions are:... | common-pile/stackexchange_filtered |
I want to find out which IDs have both visit 2 and visit 4, e.g. My dataset looks like the following and the excel I have available is from 2015
I want to find out which IDs have both visit 2 and visit 4, e.g. My dataset looks like the following and the excel I have available is from 2015.This is an example of how my ... | common-pile/stackexchange_filtered |
Insert many json file inside one document in mongoDB
i have a question:
but how can i insert many json files inside one document collection?
I have a ruby script connected with mongoDB which generate json files for each ID product.
In mongo i should want a structure like this:
Id(document's name) : {
many json for sam... | common-pile/stackexchange_filtered |
Rails Query - how to compare the months of two dates?
I know rails support between query.
[Example]
Performance (have a start_date, end_date)
I want to bring in the performances by month.
First performance (2017.07.01~ 2017.08.31)
Second performance (2017.08.08~ 2017.08.20)
Third performace (2017.08.09~ 2018.08.09)
... | common-pile/stackexchange_filtered |
Definition of continuous function with $\delta-\epsilon$
The definition says: Let $(X,d_{1})$ and $(Y,d_{2})$ be a metric space. A map $f:X\rightarrow Y$ is called continuous if for every $x\in X$ and $\epsilon>0$ there exists a $\delta>0$ such that:
$d_{1}(x,y)<\delta\Rightarrow d_{2}(f(x),f(y))<\epsilon$
does it mea... | common-pile/stackexchange_filtered |
HAProxy mail forward rules
I use HAProxy as mail frontend (IMAPS) in SSL termination mode (mail clients configured to imap server <IP_ADDRESS> (haproxy host)).
Config:
frontend ft_imaps
mode tcp
bind <IP_ADDRESS>:993 ssl crt /etc/pki/tls/certs/cert.pem
default_backend bk_imaps2
log global
timeout cl... | common-pile/stackexchange_filtered |
Making the UI buttons function with a keyboard cursor
Here's what it looks so far
I've been trying to make a character select, and I'm just kinda near to the final result. The problem is that it doesnt recognizes my cursor which are sprites and gameObjects at the same time.
In this time I just want that my cursor 1 mo... | common-pile/stackexchange_filtered |
Basic math question about factorials
What is the mathematical term for this? It's something like a factorial.
I honestly don't even know how to phrase this question, so let me demonstrate it with an example:
If the count is 1 then the formula is x = 1y
If the count is 2 then the formula is x = 1y + 2y
If the count is 3... | common-pile/stackexchange_filtered |
Asynctask causes exception 'Can't create handler inside thread that has not called Looper.prepare()'
I am working on an android application.In my activity I am using the following code.
LocationResult locationResult = new LocationResult(){
@Override
public void gotLocation(Location location){
... | common-pile/stackexchange_filtered |
Which is the best OS for ForgeRock products (i.e. AM, IDM, DS and IG) to be used in Docker container?
Currently Forgerock is providing different OS for different products for docker container (below list):
AM(v6.5.2) available on Debian-9
IDM(v6.5.0) is available on CentOS 7.7.1908
DS(v6.5.2) is available on Ubuntu 1... | common-pile/stackexchange_filtered |
Best way to ensure latest F# FAKE?
What is the best way to ensure that all developers and the build server are using the latest version of FAKE?
If a build.cmd like the one from FSharp.Data is used, the developer will not be on the latest until they delete FAKE from the packages folder or just delete the whole package... | common-pile/stackexchange_filtered |
Entity Framework change tracking
Is there any way of tracking EF entities changes between contexts for ASP.NET applications?
Self-Tracking entities doesn't work well for me as it is primarily designed for WCF. And all approaches for tracking changes for POCO I have found are oriented on shared context.
No you have to... | common-pile/stackexchange_filtered |
SQL - invalid column name
I have the following query:
SELECT o.outcode AS lead_postcode, v.outcode AS venue_postcode, 6 * o.lat AS distance
FROM venue_postcodes v, uk_postcodes o
WHERE o.outcode = 'CF3'
GROUP BY v.outcode
HAVING SUM(distance)>100
ORDER BY distance
This stopped working when I added the part GROUP ... | common-pile/stackexchange_filtered |
Rails, Has and belongs to many, match all conditions
I have two models Article and Category
class Article < ApplicationRecord
has_and_belongs_to_many :categories
end
I want to get Articles that have category 1 AND category 2 associated.
Article.joins(:categories).where(categories: {id: [1,2]} )
The code above wo... | common-pile/stackexchange_filtered |
Could Magneto control Wolverine?
Whether in comics, films, or a new animated tv series, Magneto has always been shown to be exceptionally powerful, whether or not it's lifting a submarine or ripping Adamantium from bone. However, I have always wondered: could Magneto control Wolverine? I know that, on several occasions... | common-pile/stackexchange_filtered |
PendingIntent for Incoming call not getting launched for Twilio Android client
In the sample application for the Twilio android client,I am not being able to receive incoming calls.I am using node js for the server.The request is being routed between my server and twilio and even I am able to see the call status in the... | common-pile/stackexchange_filtered |
How to prove the property of an independent set that is contained in any maximum independent set of graph $G$?
Let S be an independent set that is contained in any maximum independent set of graph$G = (V,E)$, prove that every maximum independent set of $G$ contains at least one vertex $w \in N(u)-N[S]$ for each child $... | common-pile/stackexchange_filtered |
Concept about marginal probability $p(y)$to conditional probability $p(y|x)$ transformation?
I have a function like the following,
$p\left( y \right) = \int\limits_x {\int\limits_z {(Q({x^2} + y) + yz + z)dxdz} } $
Where, $Q(x) = \frac{1}{{2\pi }}\int\limits_x^\infty {{e^{ - \frac{{{t^2}}}{2}}}dt} $ and $x,y,z \in R$.... | common-pile/stackexchange_filtered |
How to make a div responsive which works in old browser too
Suppose I have images inside a div where I specify div width 100% but images size is not getting responsive.
Here is sample. just see and guide me what kind of CSS I need to add for div as a result whatever is there inside div will be responsive as per screen ... | common-pile/stackexchange_filtered |
Prevent the user from moving, resizing and rotating input field in Excel 2016
I'm using Excel 2016 and I have an Excel worksheet with an input field. Every time I click on this input field, I'm able to move it, rotate it and resize it, but I don't want the end-user to be able to do any of these things.
How can I preve... | common-pile/stackexchange_filtered |
jqXHR object removes itself and container from an array
I am storing jquery ajax objects inside an array so that I can manually cancel the call,if it has not returned, based on user triggered events. These are ajax calls that I expect to run long.
JavaScript
var ajaxCalls = [];
ajaxCalls[0] = $.ajax({...});
$("#cance... | common-pile/stackexchange_filtered |
Removing (Presumably) Extraneous Network Adapters from Device Manager (eg WAN Miniport)
Can anyone shed some light on the default items in the Network Adapters branch of the Windows Device Manager? In addition to the network card, there are always a bunch of other things that I cannot find any useful information on suc... | common-pile/stackexchange_filtered |
Spring boot STOMP websocket works locally, but not on deployed server
I have a STOMP client and Spring backend, the code works fine when local but not when deployed to server, failed to connect to server.
@Override
public void configureMessageBroker(MessageBrokerRegistry config) {
config.enableSimpleBroker("/topic"... | common-pile/stackexchange_filtered |
Put caption in the left of the figure a
how can I Put title of figure in the left of the figure as in the attached capture ?
See http://tex.stackexchange.com/questions/29143/caption-on-the-side-of-a-figure
This may be helpful:
http://tex.stackexchange.com/questions/275131/align-caption-to-the-left
Do note that float... | common-pile/stackexchange_filtered |
Another proof of the divergence of $\int_1^\infty\!\frac{\ln{f(x)}}{x^2}\mathrm{d}x$, and the asymptotic behaviour of its integrand?
Reportedly, the last problem of this contest is:
Given a positive decreasing sequence $\displaystyle{\{a_n\}}_{n\geqslant1}$ satisfying $\displaystyle\lim_{n\to\infty}a_n=0$, show that i... | common-pile/stackexchange_filtered |
Shiny app with two sliders: second slider is only selecting the endpoints, not range
I have written the following R Shiny app. The user selects farm from a drop-down menu and a single value of year from a slider. I would like the user to be able to select a range of values for month, but the second slider is only sel... | common-pile/stackexchange_filtered |
How to filter an object by data from array in JS
I have an array
const newChecked = ["recreational", "charity"]
and an object
const allActivities = [
{activity: '...', type: 'social', },
{activity: '...', type: 'social', },
{activity: '...', type: 'charity', },
{activity: '...', type: 'recreational', },
]
And... | common-pile/stackexchange_filtered |
log4j add prefix to all messages from one abstract class
I am trying to use log4j to add prefix to all log commands.
Previously I have been using @Slf4j in front of all classes, but now I need to add certain prefix to all messages, so this is no longer possible.
My class structure is as follows:
abstract class MyAbstra... | common-pile/stackexchange_filtered |
Adding new variable to dataframe equally
using RStudio, I have this :
GROUP NUM
A 45
A 78
A 79
B 45
B 47
B 99
C 28
C 78
C 54
I want to add a new variable, named AGENT, which is:
AGENT=c("John", "Maria", "Pamela")
But the problem is that, I want each of my Agent to be equally spre... | common-pile/stackexchange_filtered |
New three-tiered badge idea: Explainer →Refiner → Illuminator
The difference between a poor or meh question and a stellar question can often simply be someone understanding it and providing it a great answer. I can't begin to count the number of times I've justified re-opening a question as a moderator by saying:
Look... | common-pile/stackexchange_filtered |
Define nested object with "optional" parameters leaf key values as undefined in typescript
This is a follow up question to this.
Here the object can have optional parameters and the undefinedAllLeadNodes will like below
Input:
class Person {
name: string = 'name';
address: {street?: string, pincode?: string} = ... | common-pile/stackexchange_filtered |
Getting something more than "Error while parsing query. Please check the syntax" in SQL Query Activity
I am creating a Query Activity in the Automation Studio. The query gives the following message in red:
An error occurred while checking the query syntax. Errors: Error while
parsing query. Please check the syntax
... | common-pile/stackexchange_filtered |
Does this kitchen drain plumbing look correct?
I'm not a plumber by any means, but my kitchen renovation is already very over-budget so figured I'd attempt to connect my sink plumbing myself. I haven't glued this together, it's just dry fitted, but I wanted to see if everything looked right first or if any adjustments ... | common-pile/stackexchange_filtered |
TVirtualInterface fails with an interface that contains "function of object" property
I have the interface:
TOnIntegerValue: function: integer of object;
ITestInterface = interface(IInvokable)
['{54288E63-E6F8-4439-8466-D3D966455B8C}']
function GetOnIntegerValue: TOnIntegerValue;
procedure SetOnIntegerValue(cons... | common-pile/stackexchange_filtered |
java script validation to force user to enter # as first character in password
I have 2 text box(UserName,password),1 Submit Button.I want a java script to force user to start # as 1st character in the password textbox(Alert:"password should start with #").Any Help appreciated very much
Enforcing # as the first charac... | common-pile/stackexchange_filtered |
Android onActivityResult Query
I have two Activities A,B
From Activity A, I do open my gallery and I want that when the picture is selected from the gallery it should go on Activity B and not on Activity C.
Is this possible??
share_picture.setOnClickListener(new View.OnClickListener() {
@Override
... | common-pile/stackexchange_filtered |
How to remove door panel from Bosch dishwasher with buttons on top?
I have a Bosch dishwasher with buttons on top (SHP65T55UC) and am trying to remove the front panel from the door.
I've found several guides that all appear to say the same thing about Bosch dishwashers:
Open the door
Using a TORX bit, remove the 6 (or... | common-pile/stackexchange_filtered |
Getting Windows 10 Tablet to run a Wamp Server
I have a very basic Asus tablet (VivoTab) I just upgraded to Windows 10. I want to run an offline demo on it of my website, so my thought process is to install WAMP server and go from there. I've done it on my PC, but as you can imagine its a little different with a Tablet... | common-pile/stackexchange_filtered |
How can I use an Angular Material Datepicker with a reactive / model-driven form?
I have a reactive (model-driven) angular form with multiple form groups (formGroupName) and controls. The form-fields on this form are controlled and populated by a FormBuilder in the associate TypeScript file.
I have a text field on thi... | common-pile/stackexchange_filtered |
Filling NA values with a sequence in R data.table
I have a data table that looks something like the following. Note that the flag is 1 when vals is 0 and missing elsewhere.
dt <- data.table(vals = c(0,2,4,1,0,4,3,0,3,4))
dt[vals == 0, flag := 1]
> dt
vals flag
1: 0 1
2: 2 NA
3: 4 NA
4: 1 ... | common-pile/stackexchange_filtered |
Angular 6 : date disapear on refresh
I have textarea which allow user to submit comments, I want to grab the date on time the comment is submitted, and save to json together with comment added.
Unfortunatelly when I submit the comment , comment and date displays as expected, but when I refresh the page date is gone .
N... | common-pile/stackexchange_filtered |
NOT NULL constraint failed: forum_question.user_id (django)
I'm trying to save an object using cbv's im new to using it, and I'm trying to save an object using create view but is getting this error:
"NOT NULL constraint failed: forum_question.user_id"
I would appreciate beginner friendly explanation on how to fix this ... | common-pile/stackexchange_filtered |
Salomaa's axiomatisation of regular languages and the use of regular expression in it
I am reading the classical article of A. Salomaa where he gives two axiom systems for regular sets and proofs consistency and completeness.
As I have understood it, an axiomatic system in some logic (lets suppose predicate first order... | common-pile/stackexchange_filtered |
How to remove isolated and get a clear non overlapping nodes of connected graph with networkx
def gene_network_graph(self, edges, s, e):
G = nx.MultiDiGraph(seed = 1)
nodes = list(range(s,e))
G.add_nodes_from(nodes)
G.add_weighted_edges_from(edges)
edge_labels=dict([((u,v,),d['... | common-pile/stackexchange_filtered |
What is the time complexity of Trsm and other BLAS operations?
I am accelerating a model by replacing all its linear algebra operations with cuBlas's functions. And I want to get the time complexity or FLOPs of the model to evaluate its performance in roofline model.
There are two kinds of operation in the model: Gemm ... | common-pile/stackexchange_filtered |
I am creating a program that counts up by an increment. I am really close but I can't get the program to go up by the decided increment?
This is the code. Any suggestions are welcome but I am really trying to learn C++ for a class and not just get answers. So if you could explain how you got to the solution that would ... | common-pile/stackexchange_filtered |
How to get JS fiddle to work with simple width and height percentages
I'm trying to post a problem I ran into with percentages and I'm having a lot of trouble reducing it to the simplicist case in JS fiddle. I don't want to have to extrapolate too much from the issue but JS fiddle is forcing me to.
css:
.content-conta... | common-pile/stackexchange_filtered |
How Do we Know the Cardinality of a Set?
I recently had a discussion in a comment section here about the cardinality of the empty set. He claimed that cardinality to equal zero. I claimed that we didn't know such. My claim merely came as that people just assume the empty set to have zero cardinality. As far as I ca... | common-pile/stackexchange_filtered |
Is a black hole a perfect sphere?
I know all about how black holes form and why their gravity is so strong. However, is the gravity equally powerful in all directions? Will the event horizon appear as a perfect sphere?
One can not directly see the event horizon, but one can see radiation from the infall of material, w... | common-pile/stackexchange_filtered |
Methods of Deleting Duplicates in SQL Server with SSDT
I'm currently setting up a database which has an upload process in SSDT. It pulls data over time from an Excel sheet. My issue is that the Excel sheet is appended onto as time continues but the upload process uploads the entire sheet every time the process is run. ... | common-pile/stackexchange_filtered |
I have problem with my query using laravel
I am building a simple private chat app with laravel.
I have a messages table with a column : id/sender_id/receiver_id and body
I am trying to show chat history related to user when i select to any user but unfortunately my query is not working properly all users seeing all m... | common-pile/stackexchange_filtered |
Post data on web server with web service
Hello I am tying to save data on web server with a web service implemented in PHP.
I am trying below code to do it. I am getting response from server but the data is not getting saved to server. I have wasted 5-6 hours of the day in googling and trying code given on net. But not... | common-pile/stackexchange_filtered |
Flask/Python socketio Modules Compatibility with Flask-SocketIO 5.3.6 and Socket.IO 4.7.4
I have a very basic Flask Socket-IO project setup:
from flask import Flask, render_template
from flask_socketio import SocketIO, emit
app: Flask = Flask(__name__)
app.config['SECRET_KEY'] = 'top-secret'
app.debug = True # for de... | common-pile/stackexchange_filtered |
less-middleware does't work - "Express 500 Error: Unrecognised input"
I'm using Express framework with less-middleware and jade template engine
When I'm trying to get my css file in browser "/css/style.css" - I get the error
"Express 500 Error: Unrecognised input"
Here is basic setup in app.js
var app = express();
// ... | common-pile/stackexchange_filtered |
Number of integer solutions $(x, y)$ of $x(x+6) = y^2 + k$ for different integer values of $k$
Let $n$ be the number of pairs $(x, y)$ of integer solutions to the following equation:$$x(x+6) = y^2 + k$$
Can there be an integer $m$, $k$ can be given an integer value so that $n=m$ ?
Shouldn't $n$ depend on $k$ in the... | common-pile/stackexchange_filtered |
jQuery multiple filters by class
I am building an filter option with multiple filters option. I want to filter on classes but I can’t get it working. I manage to create multiple filters. These filters can also be combined. But if you then adjust/change one of these filters the results do not want to update.
First cha... | common-pile/stackexchange_filtered |
Is the multiplicative order of a number always equal to the order of its multiplicative inverse?
Is it true that $ord_{n}(a)=ord_{n}(\bar{a})$ $\forall n$?
Here, $\bar{a}$ refers to the multiplicative inverse of $a$ modulo $n$ and $ord_{n}(a)$ refers to the multiplicative order of $a$ modulo $n$.
Please define the not... | common-pile/stackexchange_filtered |
Mail_Queue PHP Crond - mail sends but PHP process hangs
This has been causing me a problem since I upgraded to PHP 5.3. The problem didn't happen with PHP 5.2.
I have a PHP script (which is pretty much the stock Mail_Queue script) to send messages.
I'm executing the script via cron:
php /home/public_html/send_messages.... | common-pile/stackexchange_filtered |
Javascript class import call expects exactly one argument
so I read a couple of question similar to mine but unfortunately it wasn't so similar or I just couldn't figure it out.
without further ado, this my export in Book.js
export default Book;
and my import in script.js
import Book from "./Book.js";
and link in htm... | common-pile/stackexchange_filtered |
how can I change the mod key in awesome wm from windows key to meta?
I recently got a happy hacking keyboard 2 professional that has a meta key instead of windows keys. Since I used to use the windows key to change between screens in awesome window manager (local modkey = "Mod4") how can I change that to use meta inste... | common-pile/stackexchange_filtered |
Add bank account to stripe connect custom accounts
I'm using Stripe Connect with Node.js and TypeScript on a platform that handles payments for third-party services we call "partners". We opted to use Stripe Connect's custom accounts to have full control over the user experience and all the related aspects concerning o... | common-pile/stackexchange_filtered |
Is this the proper way to hang an exterior door?
My contractor's team is building us a new detached garage.
This is how the pre-hung door is attached to the frame.
Is this acceptable? It seems like it could be easily kicked in (which is a real concern in this city).
Is this to code?
What can I suggest to have them impr... | common-pile/stackexchange_filtered |
Can't get amCharts WordPress dataloader to work
I am trying to use Data Loader from amCharts in WordPress, but I have no success. I am starting with an default Stock Chart and replacing the JS dataset structure with the one from the github site. Then I change the corresponding field values but I always get an empty sit... | common-pile/stackexchange_filtered |
Pandas extract columns and rows by ID from a distance matrix
I have a distance matrix with IDs as column and row names:
A B C D
A 0 1 2 3
B 1 0 4 5
C 2 4 0 6
D 3 5 6 0
How to efficiently extract values from a large matrix, e.g. for IDs A and C to get this matrix:
A C
A 0 ... | common-pile/stackexchange_filtered |
bad URI(is not URI?): {"message":"d64","type":"success"}
Am using httparty to send API request, I want to get output response after i sent request,
url = HTTParty.post("https://example.com/api/sendhttp.php",
:query => { :authkey => "authkeyvalue",
:mobiles ... | common-pile/stackexchange_filtered |
Combine RGB Of Different Dimension
I am newbie to Matlab Programming,
i have R , G , B values with different size(for example dimension R is 30000x1 and G is 35000x1) and want to make them same size to use cat(3,RColor , GColor, BColor); to combine them and produce image.
you cant, not unless you drop some elements or... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.