text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Angular SPA + .Net Core API IIS URL Rewrite
On IIS, I've set up an Angular SPA with this URL http://xxx.xxx.xxx.xxx:8081. I also have a .Net Core Web Api self hosted on port 5000.
To avoid Web API exposition on internet, I would like to rewrite URL on the Angular site, let's say from http://xxx.xxx.xxx.xxx:8081/api/v2... | common-pile/stackexchange_filtered |
django-rest-auth registration/verify-email/ not working
I just download demo from official django-rest-auth site and tried to use but some API endpoint not working.
I successfully signup (register) user with restful API, i get key in response:
`{"key":"e96496ecb7fbe85d5ab60fe5d5f9a15b33a967fe"}`
and user exists (when... | common-pile/stackexchange_filtered |
Taking a list of items and displaying a value from each item as a string
I have a function that takes a list of items i.e. [item_1, item_2] etc.
Each item itself is a dictionary on another page. i.e. item_1 {key: value, etc}
I want to display the value of the key (called "name") for each item in the list.
For example ... | common-pile/stackexchange_filtered |
What are the ideals of the ring $\mathbb{Z}[x]/(2,x^3+1)$?
What are the ideals of the ring $\mathbb{Z}[x]/(2,x^3+1)$? I'm stuck at how to determine what ring this ring is isomorphic to?
Hint:
$\mathbb{Z}[x]/(2,x^3+1) \cong (\mathbb{Z}/2\mathbb{Z})[x]/(x^3+1)$
$x^3+1 = (x+1) (x^2+x+1) \bmod 2$
I understand the firs... | common-pile/stackexchange_filtered |
How to force rebuild list?
I am make random chat app use FirestoreAnimatedList (FirebaseAnimatedList for Firestore).
In general is work.
But there is flicker when show user avatar (Icons.account_circle). For example sometime it show extra Icon (wrong) and then later not show (correct).
So I think maybe is because of ... | common-pile/stackexchange_filtered |
Software Release automation
I am updating the code on a daily basis and commit all changes in each case so there is the new code available on server all the time.
What I would like to simplify is build automation and version control. Currently I build a project and edit it's name version (Project Name vx.x.x) each tim... | common-pile/stackexchange_filtered |
iPhone - CLLocationManager init returns nil
I am using a custom class to update user location. When initializing the class, I create a CLLocationManager object to be used by the class
CLLocationManager *locManager = [[CLLocationManager alloc] init];
[self setLocationManager:locManager];
The line returning a nil is CLL... | common-pile/stackexchange_filtered |
Web API Help Page with template classes
I have a ASP.NET Web API which returns a template class but I can't get the Web API Help Page to provide documentation for the return type correctly.
Let's say I have the following Model classes:
public class MyType<T>
{
/// <summary>A list of T</summary>
public List<T> MyLis... | common-pile/stackexchange_filtered |
EJB 2.0 myql connector jar is not bundled in the final jar
In my EJB 2.0 project, when I try to invoke a method(with code to make jdbc connection) from client, the ClassNotFoundException is encountered for mysql driver even I have added mysqlconnector jar.
EJB is a complex topic; and without further details such quest... | common-pile/stackexchange_filtered |
ng2-highcharts : how to trigger reflow event?
I am using ng2-highcharts and I am developing in IntelliJ and searching in my intellisense, I can't seem to find the correct object to manually trigger a reflow event for certain situations? How can I do this?
My need for reflow access in ng2-highcharts pertains to this do... | common-pile/stackexchange_filtered |
Creating model instances from raw sql
Is there any way to create model instances from raw sql in django? I have a problem with additional count queries done by django.paginator (it's veeeeery slow), which I want to replace with one query that takes filtered data with count by using raw sql with SQL_CALC_FOUND_ROWS.
Th... | common-pile/stackexchange_filtered |
Add support for other robots to CRAM?
Is there any documentation for how to add support for new robots to CRAM? I have all the tutorials and examples working with the default PR2 robot, but I'd like to use the system with a UR5.
We have the UR5 set up with MoveIt, so the necessary URDFs, SRDFs, and other config files ... | common-pile/stackexchange_filtered |
VSCode look for Go packages in different directory
I successfully used rules_go to build a gRPC service:
go_proto_library(
name = "processor_go_proto",
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "/path/to/proto/package",
proto = ":processor_proto",
deps = ["//services/shared/pro... | common-pile/stackexchange_filtered |
Launcher shows drives even when they aren't mounted
This has only happened in the last couple of days (after updates), but now my sidebar shows my two external hard disks even when they aren't mounted (or even connected for that matter). When they are connected and mounted, they are each shown twice.
For example, this ... | common-pile/stackexchange_filtered |
how to merge an array of objects to an array of objects contain object an array
is there a way to "merge" an array of objects' values?
For example, I would like to take an array like this . . .
input = [{name: 'x', data: 2},{name: 'y', data: 5},{name: 'x', data: 4},{name: 'y', data: 3}];
. . . and transform it into th... | common-pile/stackexchange_filtered |
What is the best dictionary/translator?
I want a dictionary or translator that uses or is similar to to Google translation for translating from English to Arabic, vice-versa or between any languages, so, what is the best one? It would be better if this program has an indicator or launcher quick-list.
Do you want a wid... | common-pile/stackexchange_filtered |
Subset of Rectangle Packing: minimize wasted space, fixed container size
I am doing some research on a subset of the rectangle packing problem, and while I have found many similar problems discussed on SO, I do not see this specific problem.
Given the size of a container, and a set of rectangles, minimize the amount of... | common-pile/stackexchange_filtered |
NHibernate: Convert Guid to string in query
Using NHibernate with Linq or Criterion, is it possible to do a LIKE query on a GUID column?
In T-SQL this is easy: *select * from mytable where id like '0ae%'*
NHibernate won't convert the Guid to a string though.
I found the answer - I need to use projections. Here's wha... | common-pile/stackexchange_filtered |
Solving the nonlinear optimization problem with the function Eig
I have the following equation:
Lambda=Eig(inv(M)*K)
where [M]nn is a known square matrix. [K]nn is the unknown matrix, but we know the sparsity of this matrix. K is also symmetric, and is known only if we know n elements of it (located on the diameter of... | common-pile/stackexchange_filtered |
Rotating one object to face another C++
I am trying to rotate a an object (a car) to face an object however I am having quite a bit of difficulty with it.
I've had varying success with this code, it knows when the angle is correct and will stop rotating when if it manages to face the right way but most of the time it g... | common-pile/stackexchange_filtered |
Deploying with Different SSH Keys via Github
I'm trying to deploy my app to vultr.
I have two different repository for front and back app.
I created ssh key on server and added it to deploy keys section of my backend repository on GitHub.
I can pull backend app it's ok.
But When I try to add same ssh key into my deploy... | common-pile/stackexchange_filtered |
AWS Cognito x Facebook - Web Identify Federation - App Domains
I configured Web Identify Federation between AWS Cognito and Facebook and I'm getting the following error message when I tried to authenticate:
"Can't load URL: The domain of this URL isn't included in the app's
domains. To be able to load this URL, add ... | common-pile/stackexchange_filtered |
Can't link DB user with social networks with Oauth2
I use SpringBoot Security and Spring Security Oauth2.
And i use OAuth2ClientAuthenticationProcessingFilter for login with social networks.
In this filter i use custom UserInfoTokenServices, with overrirded loadAuthentication(String accessToken)
In this method before r... | common-pile/stackexchange_filtered |
Can't get :onclick to work in rails3
I'm trying to simply change the menu tab color after someone clicks on it, but am having trouble getting rails to recognize javascript. I've searched around and tested and found that :onclick isn't even registering. In the below snippet, I'm not even getting the "made it here" in ... | common-pile/stackexchange_filtered |
Shopping cart quantity count to show up after form is submitted
I have code configured to count the quantity of items I have in my shopping cart to display in an area on my site that the customer can see how many items that they have in their cart. The problem I am having is if they click add to cart, when the form red... | common-pile/stackexchange_filtered |
You know what's fascinating about heat engines? They never actually convert all the heat into work, no matter how perfect we try to make them.
That's the thing that puzzled Clausius initially. He knew heat flowed from hot to cold naturally, but he wanted to understand why engines couldn't be 100% efficient mathematica... | sci-datasets/scilogues |
ComponentKit:CKNetworkImageComponent auto layout to the size of network image
CKNetworkImageComponent will not show if I don't set the size param. I guess when the method is called and image not returned, the size is zero.
As I call this method, I don't know the exact size of network image. But when the image returned,... | common-pile/stackexchange_filtered |
How do i set row height in a table?
I'm using the python library borb to create a PDF document.
I want to set the row height in a table. If i use
TableCell(paragraph, preferred_width=Decimal(150), preferred_height=Decimal(200))
in a FlexibleColumnWidthTable, the width-value will be used, but the height is ignored.
Is ... | common-pile/stackexchange_filtered |
Memory leak while handling exceptions
I just move to C++ from C, and currently slicing my path through exceptions.
I'm having a hard time figuring out why am I getting a memory leak in this simple program:
#include <iostream> /* I/O */
#include <exception> /* exception */
#include <cstdlib> /* stdlib */
using names... | common-pile/stackexchange_filtered |
How to test for multiple command line arguments (sys.argv
I want to test againts multiple command line arguments in a loop
> python Read_xls_files.py group1 group2 group3
No this code tests only for the first one (group1).
hlo = []
for i in range(len(sh.col_values(8))):
if sh.cell(i, 1).value == sys.argv[1]:
... | common-pile/stackexchange_filtered |
HP Printer does not scan any document in ubuntu
I am using ubuntu 11.10 for last 2 or 3 days.
I like it. Now problem is that, When I installed my printer HP F2180 on ubuntu. It prints very well in ubuntu.but, I cannot scan any type of document through this printer in ubuntu.While in my other windows PC, The printer wor... | common-pile/stackexchange_filtered |
Can "at all" be used in an affirmative sentence?
The real risk of cbdcs to the financial system may be that they eventually precipitate a new kind of run: on the idea that banks need to exist "at all".
What does 'at all' refer to here? Does it give the sentence a negative meaning?
At all is a Negative Polarity Item. I... | common-pile/stackexchange_filtered |
Viewing Windows Explorer’s complete Undo history
Background
Windows Explorer maintains a list of file operations so that you can undo them (10 operations up to XP and 32 from Vista). You can see the last operation without performing it by opening the Edit menu, and highlighting the Undo command without selecting it and... | common-pile/stackexchange_filtered |
htaccess won't rewrite url
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^product/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)/([a-zA-Z]+)/$ product.php?id=$1&srl=$2&item=$3&page=$4&title=$5#titleProduct
When I hit f5 button for refresh, the URL remains and it's not rewrited. I tried to access with the "new" rewrited li... | common-pile/stackexchange_filtered |
Calculate time difference for attendance
I have a table with the below sample output.
UserID Checktime CheckStatus
3175 2013-12-22 07:02:10.000 I
3175 2013-12-22 13:01:01.000 O
3175 2013-12-22 13:49:54.000 I
3175 2013-12-22 13:49:55.000 I
3175 2013-12-22 15:58:42.000 O
3... | common-pile/stackexchange_filtered |
How to add page breaks to visual force page rendered as pdf so that a dynamically rendered list in apex repeat tag does not strech the table lines
I have created a VF page rendered as pdf for QuoteLineItems in which I have added the list inside <apex:repeat> tags inside a html table row which again is inside another ta... | common-pile/stackexchange_filtered |
Select a wireless network in an iPad app
I'm trying to build an iPad app that has the ability to connect to a Wi-Fi network.
Essentially I want to bring up a pop-up to display a list of available networks if one is not detected.
I have downloaded Mocha Telnet lite which is able to do exactly this.
Are there any inbui... | common-pile/stackexchange_filtered |
how to write a generic GLSL shader to colorize an object
i have several objects in OpenGL and i want to mark the selected object. My idea was to use a GLSL shader to add the selected color.
How can I get the 'original' color of the pixel in the fragment shader?
I could look the color up in the texture, but when there'... | common-pile/stackexchange_filtered |
Can someone steal my code from github and publish my app?
If my entire project is stored in a public github repo what's to stop people from downloading it and publishing it on Google play before I do?
I want to use github to keep track of changes in a group Android project, I was told an active account would also benef... | common-pile/stackexchange_filtered |
AttributeError: 'NoneType' object has no attribute 'Mrc' in python using jupyter notebook
Can someone please tell me where I am going wrong? Here's my code and the error I am getting.
p.s I have given the somefile.mrc path correctly.
import numpy
import Mrc
a = Mrc.bindFile('home/smitha/deep-image-prior/data/Falcon_20... | common-pile/stackexchange_filtered |
telepresence: error: connector.Connect: kubeconfig has no context definition
Unable to connect to k8s with telepresence. I using minikube as my util to manage k8s and using telepresence to develop my code with k8s. Sometimes it will work, but sometimes I cann't connect to k8s.
The command I used.
# start the k8s
miniku... | common-pile/stackexchange_filtered |
Trying to connect to SQL server EF error: 'The keyword 'Network Library' is not supported on this platform
Full Error: System.NotSupportedException: 'The keyword 'Network Library' is not supported on this platform, prefix the 'Data Source' with the protocol desired instead ('tcp:' for a TCP connection, or 'np:' for a N... | common-pile/stackexchange_filtered |
Rotating disc and current?
I was solving the following problem:
A metal disc of radius a = 25 cm rotates with a constant
angular velocity $\omega$ = 130 rad/s about its axis. Find the potential
difference between the centre and the rim of the disc if:
(a) the external magnetic field is absent;
(b) the external uniform... | common-pile/stackexchange_filtered |
How to loop all the cell in the first tr of tbody with javascript/jquery?
i'm tried to loop all the cell in the first row in tbody table, but there is some problem with select the cell. Below my code:
$(".datatable_footer_fixed").prepend('<div class="new-foot"></div>');
var cells = document.getElementById('table').row... | common-pile/stackexchange_filtered |
Copy file to Firefox user profile with batch?
I am trying to create an active setup to copy files to all users profile after application launch.
Using this command, I am unable to copy file(s) to user profile
The problem is that although no one uses profiles, the "Default" Profile have a random prefix name (24xwe234.de... | common-pile/stackexchange_filtered |
HTML Form Currency Field - Auto Format Currency to 2 Decimal and Max Length
Good Day,
I've got a deposit field on a form that has currency auto-formatted to include 2 decimals (i.e. a user types 2500 and the field shows 25.00). However, the script I have written completely ignores the maxlength that I've included in th... | common-pile/stackexchange_filtered |
Doctrine query syntax error in multiple join
I'm trying to query the model in my Symfony2 project, and I have a little problem that I can't figure out. Check this out:
$q2 =
'SELECT
p.code,
p.desc,
SUM(d.quantity) as quantity,
SUM(d.quantity*d.prize) as euros
FROM
Product p
JOIN
Tr... | common-pile/stackexchange_filtered |
Scroll position of a jquerymobile collapsible set when expanded
I am using a jQueryMobile (v1.4.0) collapsible set / accordions to display a list of elements and its content as shown in this jsFiddle.
<div id="List" data-role="collapsible-set">
<div data-role="collapsible" data-content-theme="c">
<h3>Lorem i... | common-pile/stackexchange_filtered |
Compilation error Line 7: Extraneous input '[' expecting ID
I understand the error message but i wanted to know why wouldn't this be something possible to do in pinescript?
[ [supertrend, direction], [middle, upper, lower] ] = request.security( 'BA' , 'D' , [ ta.supertrend(3, 10), ta.bb(close, 20, 2) ])
First of all,... | common-pile/stackexchange_filtered |
Attempting to merge several CSV files, program hangs on seemingly arbitrary file
I have a bunch of CSV files with common columns but different rows. I want to merge them all into one CSV file. Here is the script I wrote to do that
import glob, os
os.chdir("./data")
fout = open("merged.csv", "a")
lout = open("merger_log... | common-pile/stackexchange_filtered |
Starting flow free game development
I'm starting the developpement of a flow free game on android.
I'm a bit confused about the architecture design.
Should I use grids/tablelayout available on android framework or just draw my own objects by specifying the position and which object to draw.
I created classes for each o... | common-pile/stackexchange_filtered |
UIImagePickerController in landscape orientation
I want the UIImagePickerController to start(and stay) in Landscape orientation code. I tried the solution as described here (UIImagePickerController in Landscape)
//Initialize picker
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.de... | common-pile/stackexchange_filtered |
How are double-precision floating-point numbers converted to single-precision floating-point format?
Converting numbers from double-precision floating-point format to single-precision floating-point format results in loss of precision. What's the algorithm used to achieve this conversion?
Are numbers greater than 3.402... | common-pile/stackexchange_filtered |
Explain why in the second example the Animal function is not the constructor of the dog object?
The problem
Look at the example #1.
I created a constructor function called Animal (I use old school way, without using classes).
Then I defined a name property and method called drink(...).
After that I created an instance ... | common-pile/stackexchange_filtered |
How to write tiff file using rasterio?
In the code below, I am trying to write a dataset. The GTiff file has data and the image is clear but when I run the below code, the result of
dataset.write(total.astype(rasterio.uint16), 1)
is a black image.
Please let me know how to read part of a tiff file and write it to a f... | common-pile/stackexchange_filtered |
Verification of all steps needed to extract MFCCs from raw audio data
I need some verification on steps required to extract MFCCs from raw audio as I'm finding that some sources outline them slightly differently.
Get raw audio frame
Run window function (eg Blackman) on raw audio data by multiplying each datapoint with... | common-pile/stackexchange_filtered |
"Invalid state transition" response when switching from test to live
I have a problem with the YouTube Livestreaming API, and it is only causing a problem on one single account.
The CMS I support has a live to YouTube function that automatically schedules and delivers a livestream from our studios to YouTube as a paral... | common-pile/stackexchange_filtered |
What is the transfer function of a transformer?
Consider transformer as a black box. We give arbitrary input voltage \$x(t)\$, what is the output \$y(t)\$?
Naive thoughts: if \$x(t)\$ is a sin-wave, \$y(t)\$ is a sin wave also, with the same frequency, but maybe different amplitude. Every signal can be decomposed into ... | common-pile/stackexchange_filtered |
How do you temporally interpolate a large RasterStack object to a higher periodicity (weekly to daily)
In R, I am trying to interpolate between stacks that were created a at weekly time interval, to a daily time interval. Interpolation method can be nearest neighbor or linear interpolation.
I have seen this can be don... | common-pile/stackexchange_filtered |
findByParentIdDeletedIsFalse like query in Spring Boot MongoRepository
I know that, in MongoRepository, there are autogenerated queries like findByParentId and findByDeletedIsFalse. I want to get a result that both ByParentId and among them only the field deleted = false ones.
I did my research but not come across with... | common-pile/stackexchange_filtered |
WCF WS-Trust binding (ws2007FederationHttpBinding) delay?
We have an BizTalk 2006 R2 solution with an federated WCF service (ws2007FederationHttpBinding). Things seem to work ok, but we experiencing some delay however.
From the WCF trace logs it seem to take about 30 - 45 sec delay to verify the security header of the ... | common-pile/stackexchange_filtered |
Regular expression to remove XML tags and their content
I have the following string and I would like to remove <bpt *>*</bpt> and <ept *>*</ept> (notice the additional tag content inside them that also needs to be removed) without using a XML parser (overhead too large for tiny strings).
The big <bpt i="1" x="1" type=... | common-pile/stackexchange_filtered |
Scala object extends nothing
I came across a piece of code in our codebase, which looked invalid to me, but compiled successfully and worked.
object Main extends {
def main(args: Array[String]): Unit = {
print("Hello World")
}
}
Hello World
Can someone explain me, what happens here?
Does Main class extend h... | common-pile/stackexchange_filtered |
Parsing NSDictionary result of grouped by fetch request in Core Data
I need to get some statistics from table using CoreData. I have used this manual to extract data using "group by" expressions.
Here is my source code:
var popularGuestNames: [String] = []
let keypathExp = NSExpression(forKeyPath: "guestName")... | common-pile/stackexchange_filtered |
How to Include a Function in a Namespace Using Namespace Aliases
The following header is a simplified version of the actual, overly convoluted code. I need to add a function, in an implementation file, to the same namespace as f(). How do I do this, considering that I cannot directly use V?.
Thank you.
// framework hea... | common-pile/stackexchange_filtered |
How can I check if the current string and previous string in Python code?
In this code I want to compare the previous message with the current message. So I created a variable to save the previous message. I wanted to create it as a static variable then manipulate it inside the code. but the outside the x function if I... | common-pile/stackexchange_filtered |
How to keep footer at the bottom with background at 100%?
I'm trying to figure out how to add a footer at the bottom of my webpage but it doesn't seem to "stick" at the bottom, I don't know if it's my background image at 100% that is causing the problem, so I kind of need help here keeping the footer at the bottom, tha... | common-pile/stackexchange_filtered |
How to check JsonAraay is null or not?
I would like to check JsonArray existTeamMemberships is null or not? I would like to use IF statement next to this code to check JsonArray has null or not?How could check this?
JsonArray existTeamMemberships = (JsonArray) userQueryResponse.getResults().get(0).getAsJsonObject().g... | common-pile/stackexchange_filtered |
uncaught exception of type NSException with AlamoFireImage when url isn't an image
I am using AlamofireImage to display images in a UITableViewCell
typealias boolAndAnyCompletion = (_ success: Bool, _ value: Any?) -> Void
class ImageHelper {
func fetchImage(url:String, completion: @escaping boolAndAnyCompletion) ... | common-pile/stackexchange_filtered |
Raster calculations in R
I have two rasters, one with land use data (raster A) classified in discrete values that represent different classes (1,2,3,4,5...18). The other one (raster B) contains data that can represent precipitation, temperature, humidity, etc. In both rasters, each pixel has a different value.
Both ras... | common-pile/stackexchange_filtered |
Difference in pronunciation between "щ" and "шь"?
I understand that the difference between "щ" and "ш" is (roughly) the difference between "shya-" and "sha-". But how do you differentiate "щ" and "шь"? For example, I always differentiated, for example "н" and "нь" as "na-" and "nya-". By that logic, to me, "щ" and "ш... | common-pile/stackexchange_filtered |
Running calculations on multi-dimensional arrays?
This is probably a real simple question but I'm looking for the most memory efficient way of finding out data on a particular multi-dimensional array.
An example of the array:
[0] => Array(
[fin] => 2
[calc] => 23.34
[pos] => 6665
)
[1] => Array(
[fin] =... | common-pile/stackexchange_filtered |
Persisting OneToMany relationship Using JPA without Join table
I have the following tableS:
`notification_job_execution`
(`jobId`,
`createdDate`,
`messageBody`)
`notification_task_execution`
(`taskId`,
`jobId`,
`status`,
`createdDate`)
Havin oneToMany relationshop (notification_job_execution ,notification_task_execut... | common-pile/stackexchange_filtered |
BeautifulSoup: something similar to .head() function in Pandas
I have the following BeautifulSoup object:
from bs4 import BeautifulSoup
import requests
import re
url = 'https://www.adviserinfo.sec.gov/IAPD/content/viewform/adv/Sections/iapd_AdvPrivateFundReportingSection.aspx?ORG_PK=161227&FLNG_PK=05C43A1A0008018C0264... | common-pile/stackexchange_filtered |
How to create an index for a 'TEXT' column in a MySQL database by means of JPA/Hibernate
I need to create an index for a 'TEXT' column in a MySQL database. I can't do it using this annotation
@Table(name = "table1", indexes = @Index(name = "ix_table1_column1", columnList = "column1"))
as MySQL can only index the first... | common-pile/stackexchange_filtered |
Php access variable
In PHP i have array variable from another function like this
$v->params:
(
[{"username":"myusername","email":"myemail@gmail_com","phone":"0123456789","password":"abc123","fullname":"myfullname","register_ip":"127_0_0_1","country":"Qu\u1ed1c_Gia","birthday":"N\u0103m_sinh","gender":"male","bank_c... | common-pile/stackexchange_filtered |
Is there a benefit to using @Url.Content("~")
I'm new to MVC4/razor2, and I think understand the general benefit of using @Url.Content and @Url.Action- if my routing or virtual directory changes, magic-url-strings are correctly rendered.
I'm looking at some legacy Javascript-with-razor code in a view that is peppered w... | common-pile/stackexchange_filtered |
How to save route table after restarting on Fedora 18
experts,
I need change route table on Fedora 18, using commands like this:
ip route add <IP_ADDRESS>/8 via <IP_ADDRESS> dev em1
and then, "route -n", found it had taken affect.
But after restarting the machine, the route table was lost.
My question is:
How can I s... | common-pile/stackexchange_filtered |
Do you know any examples of a PAC design pattern?
Can anyone point to any websites or web applications that are using the Presentation-Abstraction-Control design pattern rather than MVC? Desktop applications are easy to find like this (e.g.; GIMP) but I'm looking for something on the web.
There are more sites using PA... | common-pile/stackexchange_filtered |
Visual Studio for Mac trying to find .NET Full Framework in build properties
Visual Studio for Mac (Version 8.8.7 (build 18)) is unable to upgrade netcoreapp3.1 asp.net mvc project to .net5.0 target framework. It throws below error:
/usr/local/share/dotnet/sdk/3.1.405/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDe... | common-pile/stackexchange_filtered |
Symmetric matrix decomposition with orthonormal basis of non-eigenvectors
I like to understand the following transformation found in documentation for deriving Kalman filter.
Abstract Formulation: Given 2 symmetric matrices $A$ ,$B$ $\in$ $\mathbb R^{3,3}$ with $A \ne B$ and a set of orthonormal Eigenvectors ($u_1$, $... | common-pile/stackexchange_filtered |
Why is ob_flush() inside drupal_page_footer() causing a 404 and then redirect to same page?
I've scoured google and this site but I can't find an answer that applies.
I have inherited a drupal 7 site and all the previous developer's bugs. On a certain subset of pages I'm seeing the following behavior:
Navigate to s... | common-pile/stackexchange_filtered |
How to assign value from multiple selects to a variable in javascript
I have the js code below that dynamically adds another "select" element when a button is pressed. The question is how do I assign each select value to a variable?
This works fine for the first select
var y=document.forms["myForm"]["badge[]"].value;
... | common-pile/stackexchange_filtered |
vue-router 4 redirects default url to page not found
I am migrating my vue application vue 2 to vue 3 by following vue migration official documentation. I have updated vue-router package. After updating router.js if i am running the application in my local by default it is routing to 404 page not found component.
Previ... | common-pile/stackexchange_filtered |
The Validity of my question
I had posted a question 4 days ago regarding Black Magic
My Question:- How should one know if he is under Black Magic\evil spirits?
I have asked the symptoms one will have when he is under Black magic as per Scriptures
Isn't this question valid? I have got downvotes and someone had voted to ... | common-pile/stackexchange_filtered |
Form "required" attribute in form input field not causing anything to happen
I'm Andrew from Italy,
I'm trying to adapt a script I've found on line. It's a script that creates an HTML form and uploads answers in a spreadsheet.
This is the tutorial from wich I've started:
GS CODE:
var dropBoxId = "XXXXXXXXXXXXXXXX"; //... | common-pile/stackexchange_filtered |
Java try catch in constructor
I wrote this class that returns the fiscal year:
public class Fiscal {
private Calendar calendar;
public FiscalDate(String date) {
try {
DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date formattedDate = formatter.parse(date);
this.calendarDate = ... | common-pile/stackexchange_filtered |
How to run update/remove operations without transaction in spring jpa
I have a non-web application that will run in background, during its run period I don't need any transactions. I must ensure that every jdbc operation should be automatically committed immediately, but spring jpa doesn't allow that happened.
How coul... | common-pile/stackexchange_filtered |
Purpose of Particular Java Variable
I'm taking an AP Computer Science course and have a brief question about the purpose of a particular variable in Java program. Below is my own slight adaption of a certain program in my textbook...
public class Nineteen {
public static void main(String[] args) {
... | common-pile/stackexchange_filtered |
Element not Floating Left
This is bothering the crap out of me and I can't see what's not allowing it to float left.
I've set a margin-left of 120px to the header text (450 Set, 230 Set, etc.) and did a float left to the link element with the image inside of it.
Here's the link to the site where it's happening: http://... | common-pile/stackexchange_filtered |
How to completely uninstall MATLAB?
Recently, I installed MATLAB from the Ubuntu Software and uninstalled afterwards. However, when I do a software update via Software Updater, it shows me the following and disallow me to continue the update process. How can I completely remove the MATLAB software?
I have tried the fo... | common-pile/stackexchange_filtered |
OpenCV data of two mats are the same but values when retrieved with Mat::at are corrupted
I serialize and then deserialize a Mat using custom functions. When you compare the uchar* Mat.data of two functions they are the same but when I try to check values directly using Mat.at<> after third element, element values are ... | common-pile/stackexchange_filtered |
Using Buzz.js audio starts from last where i stopped instead of start from beginning. (ipad1)
I am using buzz.js library for html. I have a HTML list element where every list element has a specific audio. i want to play audio on click event of list and also on next and previous buttons. so i wrote below code for that, ... | common-pile/stackexchange_filtered |
Can a XmlHttpRequest take more time in IE than in Chrome?
I'm using a Web App (which is really big) so there are some parts of the application that I really don't know how they work.
I am a front end developer and I'm consuming a REST API implemented with .NET Web Api (as far as I know)
The request is simple - I use ke... | common-pile/stackexchange_filtered |
How to prevent the index.html from being cached
I have Spring-boot application with React frontend. All is bundled together to a single *.jar file with gradle.
My production bundle of my React frontend is located in src/main/resources/static folder. In production *.jar file is located in BOOT-INF/classes/static folder.... | common-pile/stackexchange_filtered |
SFINAE to detect operation when it is forbidden to call with temporary
It is possible to use the following pattern to detect whether or not x can be applied to T
template<class T, class Enable = void>
struct CanDoX: std::false_type{};
template<class T>
struct CanDoX<T, std::void_t<decltype(x(std::declval<T>()))>>:std:... | common-pile/stackexchange_filtered |
How to exclude certain strings from join
Using mysql 5.7, I'd like to query article table for rows which have the most similar tag columns:
CREATE TABLE `article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
`body` longtext CHARACTER SET ... | common-pile/stackexchange_filtered |
how to use XCTestcase in static objc library
I'm trying to add a XCTestCase to a static library written in ObjC. But I get this errors
'XCTest/XCTest.h' file not found
Cannot find interface declaration for 'XCTestCase', superclass of 'MotwinTests'
I didn't understand why the XCTestCase is not found in my static librar... | common-pile/stackexchange_filtered |
Weird Compiler Error in Parser Code
Parser.h
enum { PLUS, MINUS, DIVIDE, MULTIPLY, NUMBER, END } type;
int token;
/* parsing functions */
void parse_token (void);
Parser.c
void get_token (void)
{
token++;
parse_token(); /* LINE 11 */
}
void parse_token (void) /* LINE 14 */
{
if ( strchr ("12... | common-pile/stackexchange_filtered |
RESTful cakephp API - Different returning JSON - Browser vs AJAX
I have setup my first API based system using cakephp. I have set it up so within the browser for example: domain.com/cms/blogs returns the JSON as follows:
[{"id":"2","name":"Sample News Item 002","slug":
etc
HOWEVER as soon as I call this same URL via ... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.